-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathparser.test.ts
More file actions
778 lines (703 loc) · 22 KB
/
parser.test.ts
File metadata and controls
778 lines (703 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
// parser.test.ts
import { describe, expect, it } from 'vitest';
import { ParseError } from './errors.js';
import { parseTemporal } from './parser.js';
describe('parseTemporal', () => {
describe('date parsing', () => {
it('should parse year only', () => {
const ast = parseTemporal('2025');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025 },
annotations: [],
});
});
it('should parse year-month', () => {
const ast = parseTemporal('2025-01');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1 },
annotations: [],
});
});
it('should parse full date', () => {
const ast = parseTemporal('2025-01-07');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
annotations: [],
});
});
});
describe('time parsing', () => {
it('should parse date with time HH:MM', () => {
const ast = parseTemporal('2025-01-07T10:30');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 30 },
annotations: [],
});
});
it('should parse date with time HH:MM:SS', () => {
const ast = parseTemporal('2025-01-07T10:30:45');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 30, second: 45 },
annotations: [],
});
});
it('should parse fractional seconds', () => {
const ast = parseTemporal('2025-01-07T10:30:45.123');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 30, second: 45, fraction: '123' },
annotations: [],
});
});
it('should parse fractional seconds with different precision', () => {
const ast = parseTemporal('2025-01-07T10:30:45.123456789');
expect(ast).toMatchObject({
kind: 'DateTime',
time: { fraction: '123456789' },
});
});
it('should parse fractional seconds with comma (European format)', () => {
const ast = parseTemporal('2025-01-07T10:30:45,123');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 30, second: 45, fraction: '123' },
annotations: [],
});
});
it('should parse fractional seconds with comma and high precision', () => {
const ast = parseTemporal('2025-01-07T10:30:45,123456789');
expect(ast).toMatchObject({
kind: 'DateTime',
time: { fraction: '123456789' },
});
});
});
describe('timezone parsing', () => {
it('should parse Z timezone', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
});
});
it('should parse positive offset +HH:MM', () => {
const ast = parseTemporal('2025-01-07T10:00:00+08:00');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'NumericOffset', sign: '+', hours: 8, minutes: 0, raw: '+08:00' },
});
});
it('should parse negative offset -HH:MM', () => {
const ast = parseTemporal('2025-01-07T10:00:00-05:30');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'NumericOffset', sign: '-', hours: 5, minutes: 30, raw: '-05:30' },
});
});
it('should parse compact offset +HHMM', () => {
const ast = parseTemporal('2025-01-07T10:00:00+0530');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'NumericOffset', sign: '+', hours: 5, minutes: 30, raw: '+0530' },
});
});
it('should parse short offset +HH', () => {
const ast = parseTemporal('2025-01-07T10:00:00+09');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'NumericOffset', sign: '+', hours: 9, minutes: 0, raw: '+09' },
});
});
it('should parse named timezone in brackets', () => {
// When no offset is present, first bracketed IANA name becomes the timeZone
const ast = parseTemporal('2025-01-07T10:00:00[Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
});
});
it('should parse offset with named timezone in brackets (IXDTF format)', () => {
// IXDTF format: offset field + timeZone field both populated
// This is cleaner and more consistent than the old approach
const ast = parseTemporal('2025-01-07T10:00:00+08:00[Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 0, second: 0 },
offset: { kind: 'NumericOffset', sign: '+', hours: 8, minutes: 0, raw: '+08:00' },
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
});
});
it('should parse Etc/ timezone', () => {
const ast = parseTemporal('2025-01-07T10:00:00[Etc/UTC]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Etc/UTC', critical: false },
});
});
});
describe('annotation parsing', () => {
it('should parse single annotation', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[u-ca=gregory]');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
annotations: [
{
kind: 'Annotation',
raw: 'u-ca=gregory',
critical: false,
pairs: { 'u-ca': 'gregory' },
},
],
});
});
it('should parse multiple annotations', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[u-ca=iso8601][u-tz=UTC]');
expect(ast).toMatchObject({
kind: 'DateTime',
annotations: [
{
kind: 'Annotation',
raw: 'u-ca=iso8601',
critical: false,
pairs: { 'u-ca': 'iso8601' },
},
{
kind: 'Annotation',
raw: 'u-tz=UTC',
critical: false,
pairs: { 'u-tz': 'UTC' },
},
],
});
});
it('should parse annotation with multiple key-value pairs', () => {
const ast = parseTemporal('2025-01-07[key1=val1,key2=val2]');
expect(ast).toMatchObject({
kind: 'DateTime',
annotations: [
{
critical: false,
pairs: { key1: 'val1', key2: 'val2' },
},
],
});
});
it('should parse annotation with flag (no value)', () => {
const ast = parseTemporal('2025-01-07[critical]');
expect(ast).toMatchObject({
kind: 'DateTime',
annotations: [
{
critical: false,
pairs: { critical: true },
},
],
});
});
it('should prefer named timezone over annotation for slash-containing brackets', () => {
const ast = parseTemporal('2025-01-07T10:00:00[Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
annotations: [],
});
});
it('should treat bracket as annotation if timezone already set', () => {
// Second timezone-like bracket becomes annotation (only first one becomes timeZone)
const ast = parseTemporal('2025-01-07T10:00:00[Asia/Singapore][America/New_York]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
annotations: [
{
raw: 'America/New_York',
critical: false,
},
],
});
});
it('should parse critical flag in annotation', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[!u-ca=gregory]');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
annotations: [
{
kind: 'Annotation',
raw: '!u-ca=gregory',
critical: true,
pairs: { 'u-ca': 'gregory' },
},
],
});
});
it('should parse multiple annotations with mixed critical flags', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[!u-ca=gregory][u-tz=UTC]');
expect(ast).toMatchObject({
kind: 'DateTime',
annotations: [
{
raw: '!u-ca=gregory',
critical: true,
pairs: { 'u-ca': 'gregory' },
},
{
raw: 'u-tz=UTC',
critical: false,
pairs: { 'u-tz': 'UTC' },
},
],
});
});
it('should preserve critical flag for timezones', () => {
// Critical timezones are rare but we preserve the flag
const ast = parseTemporal('2025-01-07T10:00:00[!Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: {
id: 'Asia/Singapore',
critical: true,
},
annotations: [],
});
});
});
describe('duration parsing', () => {
it('should parse years', () => {
const ast = parseTemporal('P1Y');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
raw: 'P1Y',
annotations: [],
});
});
it('should parse months', () => {
const ast = parseTemporal('P2M');
expect(ast).toMatchObject({
kind: 'Duration',
months: 2,
raw: 'P2M',
});
});
it('should parse weeks', () => {
const ast = parseTemporal('P3W');
expect(ast).toMatchObject({
kind: 'Duration',
weeks: 3,
raw: 'P3W',
});
});
it('should parse days', () => {
const ast = parseTemporal('P10D');
expect(ast).toMatchObject({
kind: 'Duration',
days: 10,
raw: 'P10D',
});
});
it('should parse combined date parts', () => {
const ast = parseTemporal('P1Y2M3D');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
months: 2,
days: 3,
raw: 'P1Y2M3D',
});
});
it('should parse hours', () => {
const ast = parseTemporal('PT2H');
expect(ast).toMatchObject({
kind: 'Duration',
hours: 2,
raw: 'PT2H',
});
});
it('should parse minutes in time part', () => {
const ast = parseTemporal('PT30M');
expect(ast).toMatchObject({
kind: 'Duration',
minutes: 30,
raw: 'PT30M',
});
});
it('should parse seconds', () => {
const ast = parseTemporal('PT45S');
expect(ast).toMatchObject({
kind: 'Duration',
seconds: 45,
raw: 'PT45S',
});
});
it('should parse fractional seconds', () => {
const ast = parseTemporal('PT1.5S');
expect(ast).toMatchObject({
kind: 'Duration',
seconds: 1,
secondsFraction: '5',
raw: 'PT1.5S',
});
});
it('should parse fractional seconds with comma (European format)', () => {
const ast = parseTemporal('PT1,5S');
expect(ast).toMatchObject({
kind: 'Duration',
seconds: 1,
secondsFraction: '5',
raw: 'PT1,5S',
});
});
it('should parse combined time parts', () => {
const ast = parseTemporal('PT2H30M45S');
expect(ast).toMatchObject({
kind: 'Duration',
hours: 2,
minutes: 30,
seconds: 45,
raw: 'PT2H30M45S',
});
});
it('should parse date and time parts', () => {
const ast = parseTemporal('P10DT2H30M');
expect(ast).toMatchObject({
kind: 'Duration',
days: 10,
hours: 2,
minutes: 30,
raw: 'P10DT2H30M',
});
});
it('should parse full duration', () => {
const ast = parseTemporal('P1Y2M3DT4H5M6S');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
months: 2,
days: 3,
hours: 4,
minutes: 5,
seconds: 6,
raw: 'P1Y2M3DT4H5M6S',
});
});
it('should accumulate duplicate units', () => {
const ast = parseTemporal('P1Y2Y');
expect(ast).toMatchObject({
kind: 'Duration',
years: 3, // 1 + 2
});
});
it('should parse duration with annotations', () => {
const ast = parseTemporal('P1Y[critical]');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
annotations: [
{
critical: false,
pairs: { critical: true },
},
],
});
});
it('should parse duration with critical annotation', () => {
const ast = parseTemporal('P1Y[!important]');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
annotations: [
{
raw: '!important',
critical: true,
pairs: { important: true },
},
],
});
});
});
describe('range parsing', () => {
it('should parse date range', () => {
const ast = parseTemporal('2025-01-01/2025-01-31');
expect(ast).toMatchObject({
kind: 'Range',
start: {
kind: 'DateTime',
date: { year: 2025, month: 1, day: 1 },
},
end: {
kind: 'DateTime',
date: { year: 2025, month: 1, day: 31 },
},
});
});
it('should parse open-start range', () => {
const ast = parseTemporal('/2025-12-31');
expect(ast).toMatchObject({
kind: 'Range',
start: null,
end: {
kind: 'DateTime',
date: { year: 2025, month: 12, day: 31 },
},
});
});
it('should parse open-end range', () => {
const ast = parseTemporal('2025-01-01/');
expect(ast).toMatchObject({
kind: 'Range',
start: {
kind: 'DateTime',
date: { year: 2025, month: 1, day: 1 },
},
end: null,
});
});
it('should parse date to duration range', () => {
const ast = parseTemporal('2025-01-01/P1M');
expect(ast).toMatchObject({
kind: 'Range',
start: { kind: 'DateTime' },
end: { kind: 'Duration', months: 1 },
});
});
it('should parse duration to date range', () => {
const ast = parseTemporal('P1M/2025-01-31');
expect(ast).toMatchObject({
kind: 'Range',
start: { kind: 'Duration', months: 1 },
end: { kind: 'DateTime' },
});
});
it('should parse datetime range with timezones', () => {
const ast = parseTemporal('2025-01-01T00:00:00Z/2025-01-31T23:59:59Z');
expect(ast).toMatchObject({
kind: 'Range',
start: {
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
},
end: {
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
},
});
});
});
describe('error handling', () => {
it('should throw on empty input', () => {
expect(() => parseTemporal('')).toThrow(ParseError);
});
it('should throw on invalid duration start', () => {
expect(() => parseTemporal('X1Y')).toThrow(ParseError);
});
it('should throw on invalid duration unit in date part', () => {
expect(() => parseTemporal('P1H')).toThrow(ParseError);
});
it('should throw on invalid duration unit in time part', () => {
expect(() => parseTemporal('PT1Y')).toThrow(ParseError);
});
it('should throw on missing time separator colon', () => {
expect(() => parseTemporal('2025-01-07T1000')).toThrow(ParseError);
});
it('should throw on incomplete time', () => {
expect(() => parseTemporal('2025-01-07T10:')).toThrow(ParseError);
});
it('should throw on unterminated bracket', () => {
// Lexer throws LexError for unterminated brackets
expect(() => parseTemporal('2025-01-07[u-ca=gregory')).toThrow();
});
it('should throw on unexpected token', () => {
expect(() => parseTemporal('2025-01-07 extra')).toThrow(ParseError);
});
it('should include position in error', () => {
try {
parseTemporal('2025-01-07T10:');
expect.fail('Should have thrown');
} catch (e) {
expect(e).toBeInstanceOf(ParseError);
expect((e as ParseError).position).toBeGreaterThanOrEqual(0);
}
});
});
describe('complex examples', () => {
it('should parse ISO 8601 datetime with offset and calendar', () => {
const ast = parseTemporal('2025-01-07T10:00:00+08:00[u-ca=iso8601]');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
time: { hour: 10, minute: 0, second: 0 },
offset: { kind: 'NumericOffset', sign: '+', hours: 8, minutes: 0, raw: '+08:00' },
annotations: [
{
critical: false,
pairs: { 'u-ca': 'iso8601' },
},
],
});
});
it('should parse datetime with named timezone and multiple annotations', () => {
const ast = parseTemporal('2025-01-07T10:00:00[Asia/Singapore][u-ca=hebrew]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
annotations: [
{
critical: false,
pairs: { 'u-ca': 'hebrew' },
},
],
});
});
it('should parse datetime with Z and timezone annotation', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[u-tz=Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
annotations: [
{
critical: false,
pairs: { 'u-tz': 'Asia/Singapore' },
},
],
});
});
it('should parse complex duration', () => {
const ast = parseTemporal('P1Y2M10DT2H30M15.5S');
expect(ast).toMatchObject({
kind: 'Duration',
years: 1,
months: 2,
days: 10,
hours: 2,
minutes: 30,
seconds: 15,
secondsFraction: '5',
raw: 'P1Y2M10DT2H30M15.5S',
});
});
it('should parse range with different formats', () => {
const ast = parseTemporal('2025-01-01T00:00:00Z/P1M');
expect(ast).toMatchObject({
kind: 'Range',
start: {
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
},
end: {
kind: 'Duration',
months: 1,
},
});
});
});
describe('edge cases', () => {
it('should parse year 0001', () => {
const ast = parseTemporal('0001-01-01');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 1, month: 1, day: 1 },
});
});
it('should parse large year', () => {
const ast = parseTemporal('9999-12-31');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 9999, month: 12, day: 31 },
});
});
it('should parse time with leading zeros', () => {
const ast = parseTemporal('2025-01-07T00:00:00');
expect(ast).toMatchObject({
kind: 'DateTime',
time: { hour: 0, minute: 0, second: 0 },
});
});
it('should parse minimal duration P', () => {
// Note: P alone is technically invalid but parser is permissive
const ast = parseTemporal('P0D');
expect(ast).toMatchObject({
kind: 'Duration',
days: 0,
});
});
it('should handle whitespace in input', () => {
const ast = parseTemporal('2025 - 01 - 07');
expect(ast).toMatchObject({
kind: 'DateTime',
date: { year: 2025, month: 1, day: 7 },
});
});
});
describe('demo examples', () => {
it('should parse date range', () => {
const ast = parseTemporal('2025-01-01/2025-01-31');
expect(ast).toMatchObject({
kind: 'Range',
start: { kind: 'DateTime', date: { year: 2025, month: 1, day: 1 } },
end: { kind: 'DateTime', date: { year: 2025, month: 1, day: 31 } },
});
});
it('should parse open-start range', () => {
const ast = parseTemporal('/2025-12-31');
expect(ast).toMatchObject({
kind: 'Range',
start: null,
end: { kind: 'DateTime', date: { year: 2025, month: 12, day: 31 } },
});
});
it('should parse datetime with Z and calendar', () => {
const ast = parseTemporal('2025-01-07T10:00:00Z[u-ca=gregory]');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'UtcOffset' },
annotations: [{ pairs: { 'u-ca': 'gregory' } }],
});
});
it('should parse datetime with offset and multiple annotations', () => {
const ast = parseTemporal('2025-01-07T10:00:00+08:00[u-ca=iso8601][u-tz=Asia/Singapore]');
expect(ast).toMatchObject({
kind: 'DateTime',
offset: { kind: 'NumericOffset', sign: '+', hours: 8, minutes: 0, raw: '+08:00' },
annotations: [{ pairs: { 'u-ca': 'iso8601' } }, { pairs: { 'u-tz': 'Asia/Singapore' } }],
});
});
it('should parse datetime with named timezone and annotation', () => {
const ast = parseTemporal('2025-01-07T10:00:00[Asia/Singapore][u-ca=hebrew]');
expect(ast).toMatchObject({
kind: 'DateTime',
timeZone: { kind: 'IanaTimeZone', id: 'Asia/Singapore', critical: false },
annotations: [{ pairs: { 'u-ca': 'hebrew' } }],
});
});
it('should parse date to duration range', () => {
const ast = parseTemporal('2025-01-01/P1M');
expect(ast).toMatchObject({
kind: 'Range',
start: { kind: 'DateTime' },
end: { kind: 'Duration', months: 1 },
});
});
it('should parse complex duration', () => {
const ast = parseTemporal('P10DT2H30M');
expect(ast).toMatchObject({
kind: 'Duration',
days: 10,
hours: 2,
minutes: 30,
raw: 'P10DT2H30M',
});
});
});
});