@itwin/core-i18n 4.0.0-dev.23 → 4.0.0-dev.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,13 +17,13 @@
17
17
  /** @packageDocumentation
18
18
  * @module Localization
19
19
  */
20
- function cov_2187bgb6ju() {
21
- var path = "D:\\vsts_b\\2\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "43040a19b88cf3c399c311849f7c2894172f203b";
20
+ function cov_2awov3utze() {
21
+ var path = "D:\\vsts_a\\10\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
+ var hash = "cd04f38979b5037cd357a87096753d0063275552";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
26
- path: "D:\\vsts_b\\2\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
26
+ path: "D:\\vsts_a\\10\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
27
27
  statementMap: {
28
28
  "0": {
29
29
  start: {
@@ -117,751 +117,751 @@ function cov_2187bgb6ju() {
117
117
  },
118
118
  "9": {
119
119
  start: {
120
- line: 26,
120
+ line: 25,
121
121
  column: 8
122
122
  },
123
123
  end: {
124
- line: 26,
124
+ line: 25,
125
125
  column: 37
126
126
  }
127
127
  },
128
128
  "10": {
129
129
  start: {
130
- line: 27,
130
+ line: 26,
131
131
  column: 8
132
132
  },
133
133
  end: {
134
- line: 27,
134
+ line: 26,
135
135
  column: 58
136
136
  }
137
137
  },
138
138
  "11": {
139
139
  start: {
140
- line: 28,
140
+ line: 27,
141
141
  column: 8
142
142
  },
143
143
  end: {
144
- line: 32,
144
+ line: 31,
145
145
  column: 10
146
146
  }
147
147
  },
148
148
  "12": {
149
149
  start: {
150
- line: 33,
150
+ line: 32,
151
151
  column: 8
152
152
  },
153
153
  end: {
154
- line: 38,
154
+ line: 37,
155
155
  column: 10
156
156
  }
157
157
  },
158
158
  "13": {
159
159
  start: {
160
- line: 39,
160
+ line: 38,
161
161
  column: 8
162
162
  },
163
163
  end: {
164
- line: 46,
164
+ line: 45,
165
165
  column: 10
166
166
  }
167
167
  },
168
168
  "14": {
169
169
  start: {
170
- line: 47,
170
+ line: 46,
171
171
  column: 8
172
172
  },
173
173
  end: {
174
- line: 50,
174
+ line: 49,
175
175
  column: 36
176
176
  }
177
177
  },
178
178
  "15": {
179
179
  start: {
180
- line: 55,
180
+ line: 53,
181
181
  column: 31
182
182
  },
183
183
  end: {
184
- line: 55,
184
+ line: 53,
185
185
  column: 66
186
186
  }
187
187
  },
188
188
  "16": {
189
189
  start: {
190
- line: 56,
190
+ line: 54,
191
191
  column: 35
192
192
  },
193
193
  end: {
194
- line: 56,
194
+ line: 54,
195
195
  column: 78
196
196
  }
197
197
  },
198
198
  "17": {
199
199
  start: {
200
- line: 57,
200
+ line: 55,
201
201
  column: 33
202
202
  },
203
203
  end: {
204
- line: 57,
205
- column: 114
204
+ line: 55,
205
+ column: 77
206
206
  }
207
207
  },
208
208
  "18": {
209
209
  start: {
210
- line: 58,
210
+ line: 56,
211
211
  column: 8
212
212
  },
213
213
  end: {
214
- line: 59,
214
+ line: 57,
215
215
  column: 53
216
216
  }
217
217
  },
218
218
  "19": {
219
219
  start: {
220
- line: 59,
220
+ line: 57,
221
221
  column: 12
222
222
  },
223
223
  end: {
224
- line: 59,
224
+ line: 57,
225
225
  column: 53
226
226
  }
227
227
  },
228
228
  "20": {
229
229
  start: {
230
- line: 60,
230
+ line: 58,
231
231
  column: 28
232
232
  },
233
233
  end: {
234
- line: 64,
234
+ line: 62,
235
235
  column: 9
236
236
  }
237
237
  },
238
238
  "21": {
239
239
  start: {
240
- line: 66,
240
+ line: 64,
241
241
  column: 8
242
242
  },
243
243
  end: {
244
- line: 67,
244
+ line: 65,
245
245
  column: 37
246
246
  }
247
247
  },
248
248
  "22": {
249
249
  start: {
250
- line: 67,
250
+ line: 65,
251
251
  column: 12
252
252
  },
253
253
  end: {
254
- line: 67,
254
+ line: 65,
255
255
  column: 37
256
256
  }
257
257
  },
258
258
  "23": {
259
259
  start: {
260
- line: 68,
260
+ line: 66,
261
261
  column: 28
262
262
  },
263
263
  end: {
264
- line: 68,
264
+ line: 66,
265
265
  column: 58
266
266
  }
267
267
  },
268
268
  "24": {
269
269
  start: {
270
- line: 69,
270
+ line: 67,
271
271
  column: 8
272
272
  },
273
273
  end: {
274
- line: 70,
274
+ line: 68,
275
275
  column: 50
276
276
  }
277
277
  },
278
278
  "25": {
279
279
  start: {
280
- line: 70,
280
+ line: 68,
281
281
  column: 12
282
282
  },
283
283
  end: {
284
- line: 70,
284
+ line: 68,
285
285
  column: 50
286
286
  }
287
287
  },
288
288
  "26": {
289
289
  start: {
290
- line: 71,
290
+ line: 69,
291
291
  column: 8
292
292
  },
293
293
  end: {
294
- line: 71,
294
+ line: 69,
295
295
  column: 27
296
296
  }
297
297
  },
298
298
  "27": {
299
299
  start: {
300
- line: 90,
300
+ line: 88,
301
301
  column: 8
302
302
  },
303
303
  end: {
304
- line: 90,
304
+ line: 88,
305
305
  column: 91
306
306
  }
307
307
  },
308
308
  "28": {
309
309
  start: {
310
- line: 90,
310
+ line: 88,
311
311
  column: 61
312
312
  },
313
313
  end: {
314
- line: 90,
314
+ line: 88,
315
315
  column: 89
316
316
  }
317
317
  },
318
318
  "29": {
319
319
  start: {
320
- line: 106,
320
+ line: 104,
321
321
  column: 8
322
322
  },
323
323
  end: {
324
- line: 108,
324
+ line: 106,
325
325
  column: 9
326
326
  }
327
327
  },
328
328
  "30": {
329
329
  start: {
330
- line: 107,
330
+ line: 105,
331
331
  column: 12
332
332
  },
333
333
  end: {
334
- line: 107,
334
+ line: 105,
335
335
  column: 116
336
336
  }
337
337
  },
338
338
  "31": {
339
339
  start: {
340
- line: 109,
340
+ line: 107,
341
341
  column: 22
342
342
  },
343
343
  end: {
344
- line: 109,
344
+ line: 107,
345
345
  column: 50
346
346
  }
347
347
  },
348
348
  "32": {
349
349
  start: {
350
- line: 110,
350
+ line: 108,
351
351
  column: 8
352
352
  },
353
353
  end: {
354
- line: 112,
354
+ line: 110,
355
355
  column: 9
356
356
  }
357
357
  },
358
358
  "33": {
359
359
  start: {
360
- line: 111,
360
+ line: 109,
361
361
  column: 12
362
362
  },
363
363
  end: {
364
- line: 111,
364
+ line: 109,
365
365
  column: 67
366
366
  }
367
367
  },
368
368
  "34": {
369
369
  start: {
370
- line: 113,
370
+ line: 111,
371
371
  column: 8
372
372
  },
373
373
  end: {
374
- line: 113,
374
+ line: 111,
375
375
  column: 21
376
376
  }
377
377
  },
378
378
  "35": {
379
379
  start: {
380
- line: 124,
380
+ line: 122,
381
381
  column: 22
382
382
  },
383
383
  end: {
384
- line: 124,
384
+ line: 122,
385
385
  column: 24
386
386
  }
387
387
  },
388
388
  "36": {
389
389
  start: {
390
- line: 125,
390
+ line: 123,
391
391
  column: 8
392
392
  },
393
393
  end: {
394
- line: 132,
394
+ line: 130,
395
395
  column: 9
396
396
  }
397
397
  },
398
398
  "37": {
399
399
  start: {
400
- line: 126,
400
+ line: 124,
401
401
  column: 12
402
402
  },
403
403
  end: {
404
- line: 126,
404
+ line: 124,
405
405
  column: 44
406
406
  }
407
407
  },
408
408
  "38": {
409
409
  start: {
410
- line: 129,
410
+ line: 127,
411
411
  column: 12
412
412
  },
413
413
  end: {
414
- line: 131,
414
+ line: 129,
415
415
  column: 15
416
416
  }
417
417
  },
418
418
  "39": {
419
419
  start: {
420
- line: 130,
420
+ line: 128,
421
421
  column: 16
422
422
  },
423
423
  end: {
424
- line: 130,
424
+ line: 128,
425
425
  column: 48
426
426
  }
427
427
  },
428
428
  "40": {
429
429
  start: {
430
- line: 133,
430
+ line: 131,
431
431
  column: 8
432
432
  },
433
433
  end: {
434
- line: 133,
434
+ line: 131,
435
435
  column: 57
436
436
  }
437
437
  },
438
438
  "41": {
439
439
  start: {
440
- line: 143,
440
+ line: 141,
441
441
  column: 8
442
442
  },
443
443
  end: {
444
- line: 145,
444
+ line: 143,
445
445
  column: 9
446
446
  }
447
447
  },
448
448
  "42": {
449
449
  start: {
450
- line: 144,
450
+ line: 142,
451
451
  column: 12
452
452
  },
453
453
  end: {
454
- line: 144,
454
+ line: 142,
455
455
  column: 116
456
456
  }
457
457
  },
458
458
  "43": {
459
459
  start: {
460
- line: 146,
460
+ line: 144,
461
461
  column: 8
462
462
  },
463
463
  end: {
464
- line: 149,
464
+ line: 147,
465
465
  column: 10
466
466
  }
467
467
  },
468
468
  "44": {
469
469
  start: {
470
- line: 150,
470
+ line: 148,
471
471
  column: 19
472
472
  },
473
473
  end: {
474
- line: 150,
474
+ line: 148,
475
475
  column: 58
476
476
  }
477
477
  },
478
478
  "45": {
479
479
  start: {
480
- line: 151,
480
+ line: 149,
481
481
  column: 20
482
482
  },
483
483
  end: {
484
- line: 151,
484
+ line: 149,
485
485
  column: 36
486
486
  }
487
487
  },
488
488
  "46": {
489
489
  start: {
490
- line: 152,
490
+ line: 150,
491
491
  column: 8
492
492
  },
493
493
  end: {
494
- line: 153,
494
+ line: 151,
495
495
  column: 60
496
496
  }
497
497
  },
498
498
  "47": {
499
499
  start: {
500
- line: 153,
500
+ line: 151,
501
501
  column: 12
502
502
  },
503
503
  end: {
504
- line: 153,
504
+ line: 151,
505
505
  column: 60
506
506
  }
507
507
  },
508
508
  "48": {
509
509
  start: {
510
- line: 154,
510
+ line: 152,
511
511
  column: 8
512
512
  },
513
513
  end: {
514
- line: 154,
514
+ line: 152,
515
515
  column: 19
516
516
  }
517
517
  },
518
518
  "49": {
519
519
  start: {
520
- line: 161,
520
+ line: 159,
521
521
  column: 8
522
522
  },
523
523
  end: {
524
- line: 161,
524
+ line: 159,
525
525
  column: 42
526
526
  }
527
527
  },
528
528
  "50": {
529
529
  start: {
530
- line: 165,
530
+ line: 163,
531
531
  column: 8
532
532
  },
533
533
  end: {
534
- line: 165,
534
+ line: 163,
535
535
  column: 38
536
536
  }
537
537
  },
538
538
  "51": {
539
539
  start: {
540
- line: 169,
540
+ line: 167,
541
541
  column: 8
542
542
  },
543
543
  end: {
544
- line: 169,
544
+ line: 167,
545
545
  column: 53
546
546
  }
547
547
  },
548
548
  "52": {
549
549
  start: {
550
- line: 180,
550
+ line: 178,
551
551
  column: 25
552
552
  },
553
553
  end: {
554
- line: 180,
554
+ line: 178,
555
555
  column: 51
556
556
  }
557
557
  },
558
558
  "53": {
559
559
  start: {
560
- line: 181,
560
+ line: 179,
561
561
  column: 8
562
562
  },
563
563
  end: {
564
- line: 182,
564
+ line: 180,
565
565
  column: 28
566
566
  }
567
567
  },
568
568
  "54": {
569
569
  start: {
570
- line: 182,
570
+ line: 180,
571
571
  column: 12
572
572
  },
573
573
  end: {
574
- line: 182,
574
+ line: 180,
575
575
  column: 28
576
576
  }
577
577
  },
578
578
  "55": {
579
579
  start: {
580
- line: 183,
580
+ line: 181,
581
581
  column: 31
582
582
  },
583
583
  end: {
584
- line: 208,
584
+ line: 206,
585
585
  column: 10
586
586
  }
587
587
  },
588
588
  "56": {
589
589
  start: {
590
- line: 185,
590
+ line: 183,
591
591
  column: 12
592
592
  },
593
593
  end: {
594
- line: 207,
594
+ line: 205,
595
595
  column: 15
596
596
  }
597
597
  },
598
598
  "57": {
599
599
  start: {
600
- line: 186,
600
+ line: 184,
601
601
  column: 16
602
602
  },
603
603
  end: {
604
- line: 187,
604
+ line: 185,
605
605
  column: 37
606
606
  }
607
607
  },
608
608
  "58": {
609
609
  start: {
610
- line: 187,
610
+ line: 185,
611
611
  column: 20
612
612
  },
613
613
  end: {
614
- line: 187,
614
+ line: 185,
615
615
  column: 37
616
616
  }
617
617
  },
618
618
  "59": {
619
619
  start: {
620
- line: 193,
620
+ line: 191,
621
621
  column: 30
622
622
  },
623
623
  end: {
624
- line: 193,
624
+ line: 191,
625
625
  column: 91
626
626
  }
627
627
  },
628
628
  "60": {
629
629
  start: {
630
- line: 193,
630
+ line: 191,
631
631
  column: 73
632
632
  },
633
633
  end: {
634
- line: 193,
634
+ line: 191,
635
635
  column: 90
636
636
  }
637
637
  },
638
638
  "61": {
639
639
  start: {
640
- line: 194,
640
+ line: 192,
641
641
  column: 16
642
642
  },
643
643
  end: {
644
- line: 202,
644
+ line: 200,
645
645
  column: 17
646
646
  }
647
647
  },
648
648
  "62": {
649
649
  start: {
650
- line: 195,
650
+ line: 193,
651
651
  column: 20
652
652
  },
653
653
  end: {
654
- line: 198,
654
+ line: 196,
655
655
  column: 21
656
656
  }
657
657
  },
658
658
  "63": {
659
659
  start: {
660
- line: 196,
660
+ line: 194,
661
661
  column: 24
662
662
  },
663
663
  end: {
664
- line: 197,
664
+ line: 195,
665
665
  column: 102
666
666
  }
667
667
  },
668
668
  "64": {
669
669
  start: {
670
- line: 197,
670
+ line: 195,
671
671
  column: 28
672
672
  },
673
673
  end: {
674
- line: 197,
674
+ line: 195,
675
675
  column: 102
676
676
  }
677
677
  },
678
678
  "65": {
679
679
  start: {
680
- line: 197,
680
+ line: 195,
681
681
  column: 69
682
682
  },
683
683
  end: {
684
- line: 197,
684
+ line: 195,
685
685
  column: 100
686
686
  }
687
687
  },
688
688
  "66": {
689
689
  start: {
690
- line: 201,
690
+ line: 199,
691
691
  column: 20
692
692
  },
693
693
  end: {
694
- line: 201,
694
+ line: 199,
695
695
  column: 33
696
696
  }
697
697
  },
698
698
  "67": {
699
699
  start: {
700
- line: 204,
700
+ line: 202,
701
701
  column: 16
702
702
  },
703
703
  end: {
704
- line: 205,
704
+ line: 203,
705
705
  column: 113
706
706
  }
707
707
  },
708
708
  "68": {
709
709
  start: {
710
- line: 205,
710
+ line: 203,
711
711
  column: 20
712
712
  },
713
713
  end: {
714
- line: 205,
714
+ line: 203,
715
715
  column: 113
716
716
  }
717
717
  },
718
718
  "69": {
719
719
  start: {
720
- line: 206,
720
+ line: 204,
721
721
  column: 16
722
722
  },
723
723
  end: {
724
- line: 206,
724
+ line: 204,
725
725
  column: 26
726
726
  }
727
727
  },
728
728
  "70": {
729
729
  start: {
730
- line: 209,
730
+ line: 207,
731
731
  column: 8
732
732
  },
733
733
  end: {
734
- line: 209,
734
+ line: 207,
735
735
  column: 51
736
736
  }
737
737
  },
738
738
  "71": {
739
739
  start: {
740
- line: 210,
740
+ line: 208,
741
741
  column: 8
742
742
  },
743
743
  end: {
744
- line: 210,
744
+ line: 208,
745
745
  column: 30
746
746
  }
747
747
  },
748
748
  "72": {
749
749
  start: {
750
- line: 214,
750
+ line: 212,
751
751
  column: 8
752
752
  },
753
753
  end: {
754
- line: 214,
754
+ line: 212,
755
755
  column: 38
756
756
  }
757
757
  },
758
758
  "73": {
759
759
  start: {
760
- line: 217,
760
+ line: 215,
761
761
  column: 0
762
762
  },
763
763
  end: {
764
- line: 217,
764
+ line: 215,
765
765
  column: 46
766
766
  }
767
767
  },
768
768
  "74": {
769
769
  start: {
770
- line: 219,
770
+ line: 217,
771
771
  column: 16
772
772
  },
773
773
  end: {
774
- line: 219,
774
+ line: 217,
775
775
  column: 83
776
776
  }
777
777
  },
778
778
  "75": {
779
779
  start: {
780
- line: 220,
780
+ line: 218,
781
781
  column: 17
782
782
  },
783
783
  end: {
784
- line: 220,
784
+ line: 218,
785
785
  column: 87
786
786
  }
787
787
  },
788
788
  "76": {
789
789
  start: {
790
- line: 221,
790
+ line: 219,
791
791
  column: 18
792
792
  },
793
793
  end: {
794
- line: 221,
794
+ line: 219,
795
795
  column: 86
796
796
  }
797
797
  },
798
798
  "77": {
799
799
  start: {
800
- line: 223,
800
+ line: 221,
801
801
  column: 22
802
802
  },
803
803
  end: {
804
- line: 223,
804
+ line: 221,
805
805
  column: 29
806
806
  }
807
807
  },
808
808
  "78": {
809
809
  start: {
810
- line: 224,
810
+ line: 222,
811
811
  column: 8
812
812
  },
813
813
  end: {
814
- line: 227,
814
+ line: 225,
815
815
  column: 9
816
816
  }
817
817
  },
818
818
  "79": {
819
819
  start: {
820
- line: 224,
820
+ line: 222,
821
821
  column: 21
822
822
  },
823
823
  end: {
824
- line: 224,
824
+ line: 222,
825
825
  column: 22
826
826
  }
827
827
  },
828
828
  "80": {
829
829
  start: {
830
- line: 225,
830
+ line: 223,
831
831
  column: 12
832
832
  },
833
833
  end: {
834
- line: 226,
834
+ line: 224,
835
835
  column: 44
836
836
  }
837
837
  },
838
838
  "81": {
839
839
  start: {
840
- line: 226,
840
+ line: 224,
841
841
  column: 16
842
842
  },
843
843
  end: {
844
- line: 226,
844
+ line: 224,
845
845
  column: 44
846
846
  }
847
847
  },
848
848
  "82": {
849
849
  start: {
850
- line: 228,
850
+ line: 226,
851
851
  column: 8
852
852
  },
853
853
  end: {
854
- line: 228,
854
+ line: 226,
855
855
  column: 23
856
856
  }
857
857
  },
858
858
  "83": {
859
859
  start: {
860
- line: 231,
860
+ line: 229,
861
861
  column: 0
862
862
  },
863
863
  end: {
864
- line: 231,
864
+ line: 229,
865
865
  column: 34
866
866
  }
867
867
  }
@@ -909,7 +909,7 @@ function cov_2187bgb6ju() {
909
909
  column: 25
910
910
  },
911
911
  end: {
912
- line: 51,
912
+ line: 50,
913
913
  column: 5
914
914
  }
915
915
  },
@@ -919,481 +919,481 @@ function cov_2187bgb6ju() {
919
919
  name: "(anonymous_2)",
920
920
  decl: {
921
921
  start: {
922
- line: 52,
922
+ line: 51,
923
923
  column: 4
924
924
  },
925
925
  end: {
926
- line: 52,
926
+ line: 51,
927
927
  column: 5
928
928
  }
929
929
  },
930
930
  loc: {
931
931
  start: {
932
- line: 52,
932
+ line: 51,
933
933
  column: 33
934
934
  },
935
935
  end: {
936
- line: 72,
936
+ line: 70,
937
937
  column: 5
938
938
  }
939
939
  },
940
- line: 52
940
+ line: 51
941
941
  },
942
942
  "3": {
943
943
  name: "(anonymous_3)",
944
944
  decl: {
945
945
  start: {
946
- line: 89,
946
+ line: 87,
947
947
  column: 4
948
948
  },
949
949
  end: {
950
- line: 89,
950
+ line: 87,
951
951
  column: 5
952
952
  }
953
953
  },
954
954
  loc: {
955
955
  start: {
956
- line: 89,
956
+ line: 87,
957
957
  column: 27
958
958
  },
959
959
  end: {
960
- line: 91,
960
+ line: 89,
961
961
  column: 5
962
962
  }
963
963
  },
964
- line: 89
964
+ line: 87
965
965
  },
966
966
  "4": {
967
967
  name: "(anonymous_4)",
968
968
  decl: {
969
969
  start: {
970
- line: 90,
970
+ line: 88,
971
971
  column: 44
972
972
  },
973
973
  end: {
974
- line: 90,
974
+ line: 88,
975
975
  column: 45
976
976
  }
977
977
  },
978
978
  loc: {
979
979
  start: {
980
- line: 90,
980
+ line: 88,
981
981
  column: 61
982
982
  },
983
983
  end: {
984
- line: 90,
984
+ line: 88,
985
985
  column: 89
986
986
  }
987
987
  },
988
- line: 90
988
+ line: 88
989
989
  },
990
990
  "5": {
991
991
  name: "(anonymous_5)",
992
992
  decl: {
993
993
  start: {
994
- line: 105,
994
+ line: 103,
995
995
  column: 4
996
996
  },
997
997
  end: {
998
- line: 105,
998
+ line: 103,
999
999
  column: 5
1000
1000
  }
1001
1001
  },
1002
1002
  loc: {
1003
1003
  start: {
1004
- line: 105,
1004
+ line: 103,
1005
1005
  column: 37
1006
1006
  },
1007
1007
  end: {
1008
- line: 114,
1008
+ line: 112,
1009
1009
  column: 5
1010
1010
  }
1011
1011
  },
1012
- line: 105
1012
+ line: 103
1013
1013
  },
1014
1014
  "6": {
1015
1015
  name: "(anonymous_6)",
1016
1016
  decl: {
1017
1017
  start: {
1018
- line: 123,
1018
+ line: 121,
1019
1019
  column: 4
1020
1020
  },
1021
1021
  end: {
1022
- line: 123,
1022
+ line: 121,
1023
1023
  column: 5
1024
1024
  }
1025
1025
  },
1026
1026
  loc: {
1027
1027
  start: {
1028
- line: 123,
1028
+ line: 121,
1029
1029
  column: 61
1030
1030
  },
1031
1031
  end: {
1032
- line: 134,
1032
+ line: 132,
1033
1033
  column: 5
1034
1034
  }
1035
1035
  },
1036
- line: 123
1036
+ line: 121
1037
1037
  },
1038
1038
  "7": {
1039
1039
  name: "(anonymous_7)",
1040
1040
  decl: {
1041
1041
  start: {
1042
- line: 129,
1042
+ line: 127,
1043
1043
  column: 30
1044
1044
  },
1045
1045
  end: {
1046
- line: 129,
1046
+ line: 127,
1047
1047
  column: 31
1048
1048
  }
1049
1049
  },
1050
1050
  loc: {
1051
1051
  start: {
1052
- line: 129,
1052
+ line: 127,
1053
1053
  column: 42
1054
1054
  },
1055
1055
  end: {
1056
- line: 131,
1056
+ line: 129,
1057
1057
  column: 13
1058
1058
  }
1059
1059
  },
1060
- line: 129
1060
+ line: 127
1061
1061
  },
1062
1062
  "8": {
1063
1063
  name: "(anonymous_8)",
1064
1064
  decl: {
1065
1065
  start: {
1066
- line: 142,
1066
+ line: 140,
1067
1067
  column: 4
1068
1068
  },
1069
1069
  end: {
1070
- line: 142,
1070
+ line: 140,
1071
1071
  column: 5
1072
1072
  }
1073
1073
  },
1074
1074
  loc: {
1075
1075
  start: {
1076
- line: 142,
1076
+ line: 140,
1077
1077
  column: 46
1078
1078
  },
1079
1079
  end: {
1080
- line: 155,
1080
+ line: 153,
1081
1081
  column: 5
1082
1082
  }
1083
1083
  },
1084
- line: 142
1084
+ line: 140
1085
1085
  },
1086
1086
  "9": {
1087
1087
  name: "(anonymous_9)",
1088
1088
  decl: {
1089
1089
  start: {
1090
- line: 160,
1090
+ line: 158,
1091
1091
  column: 4
1092
1092
  },
1093
1093
  end: {
1094
- line: 160,
1094
+ line: 158,
1095
1095
  column: 5
1096
1096
  }
1097
1097
  },
1098
1098
  loc: {
1099
1099
  start: {
1100
- line: 160,
1100
+ line: 158,
1101
1101
  column: 30
1102
1102
  },
1103
1103
  end: {
1104
- line: 162,
1104
+ line: 160,
1105
1105
  column: 5
1106
1106
  }
1107
1107
  },
1108
- line: 160
1108
+ line: 158
1109
1109
  },
1110
1110
  "10": {
1111
1111
  name: "(anonymous_10)",
1112
1112
  decl: {
1113
1113
  start: {
1114
- line: 164,
1114
+ line: 162,
1115
1115
  column: 4
1116
1116
  },
1117
1117
  end: {
1118
- line: 164,
1118
+ line: 162,
1119
1119
  column: 5
1120
1120
  }
1121
1121
  },
1122
1122
  loc: {
1123
1123
  start: {
1124
- line: 164,
1124
+ line: 162,
1125
1125
  column: 22
1126
1126
  },
1127
1127
  end: {
1128
- line: 166,
1128
+ line: 164,
1129
1129
  column: 5
1130
1130
  }
1131
1131
  },
1132
- line: 164
1132
+ line: 162
1133
1133
  },
1134
1134
  "11": {
1135
1135
  name: "(anonymous_11)",
1136
1136
  decl: {
1137
1137
  start: {
1138
- line: 168,
1138
+ line: 166,
1139
1139
  column: 4
1140
1140
  },
1141
1141
  end: {
1142
- line: 168,
1142
+ line: 166,
1143
1143
  column: 5
1144
1144
  }
1145
1145
  },
1146
1146
  loc: {
1147
1147
  start: {
1148
- line: 168,
1148
+ line: 166,
1149
1149
  column: 35
1150
1150
  },
1151
1151
  end: {
1152
- line: 170,
1152
+ line: 168,
1153
1153
  column: 5
1154
1154
  }
1155
1155
  },
1156
- line: 168
1156
+ line: 166
1157
1157
  },
1158
1158
  "12": {
1159
1159
  name: "(anonymous_12)",
1160
1160
  decl: {
1161
1161
  start: {
1162
- line: 179,
1162
+ line: 177,
1163
1163
  column: 4
1164
1164
  },
1165
1165
  end: {
1166
- line: 179,
1166
+ line: 177,
1167
1167
  column: 5
1168
1168
  }
1169
1169
  },
1170
1170
  loc: {
1171
1171
  start: {
1172
- line: 179,
1172
+ line: 177,
1173
1173
  column: 34
1174
1174
  },
1175
1175
  end: {
1176
- line: 211,
1176
+ line: 209,
1177
1177
  column: 5
1178
1178
  }
1179
1179
  },
1180
- line: 179
1180
+ line: 177
1181
1181
  },
1182
1182
  "13": {
1183
1183
  name: "(anonymous_13)",
1184
1184
  decl: {
1185
1185
  start: {
1186
- line: 183,
1186
+ line: 181,
1187
1187
  column: 43
1188
1188
  },
1189
1189
  end: {
1190
- line: 183,
1190
+ line: 181,
1191
1191
  column: 44
1192
1192
  }
1193
1193
  },
1194
1194
  loc: {
1195
1195
  start: {
1196
- line: 183,
1196
+ line: 181,
1197
1197
  column: 56
1198
1198
  },
1199
1199
  end: {
1200
- line: 208,
1200
+ line: 206,
1201
1201
  column: 9
1202
1202
  }
1203
1203
  },
1204
- line: 183
1204
+ line: 181
1205
1205
  },
1206
1206
  "14": {
1207
1207
  name: "(anonymous_14)",
1208
1208
  decl: {
1209
1209
  start: {
1210
- line: 185,
1210
+ line: 183,
1211
1211
  column: 46
1212
1212
  },
1213
1213
  end: {
1214
- line: 185,
1214
+ line: 183,
1215
1215
  column: 47
1216
1216
  }
1217
1217
  },
1218
1218
  loc: {
1219
1219
  start: {
1220
- line: 185,
1220
+ line: 183,
1221
1221
  column: 55
1222
1222
  },
1223
1223
  end: {
1224
- line: 207,
1224
+ line: 205,
1225
1225
  column: 13
1226
1226
  }
1227
1227
  },
1228
- line: 185
1228
+ line: 183
1229
1229
  },
1230
1230
  "15": {
1231
1231
  name: "(anonymous_15)",
1232
1232
  decl: {
1233
1233
  start: {
1234
- line: 193,
1234
+ line: 191,
1235
1235
  column: 57
1236
1236
  },
1237
1237
  end: {
1238
- line: 193,
1238
+ line: 191,
1239
1239
  column: 58
1240
1240
  }
1241
1241
  },
1242
1242
  loc: {
1243
1243
  start: {
1244
- line: 193,
1244
+ line: 191,
1245
1245
  column: 73
1246
1246
  },
1247
1247
  end: {
1248
- line: 193,
1248
+ line: 191,
1249
1249
  column: 90
1250
1250
  }
1251
1251
  },
1252
- line: 193
1252
+ line: 191
1253
1253
  },
1254
1254
  "16": {
1255
1255
  name: "(anonymous_16)",
1256
1256
  decl: {
1257
1257
  start: {
1258
- line: 197,
1258
+ line: 195,
1259
1259
  column: 53
1260
1260
  },
1261
1261
  end: {
1262
- line: 197,
1262
+ line: 195,
1263
1263
  column: 54
1264
1264
  }
1265
1265
  },
1266
1266
  loc: {
1267
1267
  start: {
1268
- line: 197,
1268
+ line: 195,
1269
1269
  column: 69
1270
1270
  },
1271
1271
  end: {
1272
- line: 197,
1272
+ line: 195,
1273
1273
  column: 100
1274
1274
  }
1275
1275
  },
1276
- line: 197
1276
+ line: 195
1277
1277
  },
1278
1278
  "17": {
1279
1279
  name: "(anonymous_17)",
1280
1280
  decl: {
1281
1281
  start: {
1282
- line: 213,
1282
+ line: 211,
1283
1283
  column: 4
1284
1284
  },
1285
1285
  end: {
1286
- line: 213,
1286
+ line: 211,
1287
1287
  column: 5
1288
1288
  }
1289
1289
  },
1290
1290
  loc: {
1291
1291
  start: {
1292
- line: 213,
1292
+ line: 211,
1293
1293
  column: 30
1294
1294
  },
1295
1295
  end: {
1296
- line: 215,
1296
+ line: 213,
1297
1297
  column: 5
1298
1298
  }
1299
1299
  },
1300
- line: 213
1300
+ line: 211
1301
1301
  },
1302
1302
  "18": {
1303
1303
  name: "(anonymous_18)",
1304
1304
  decl: {
1305
1305
  start: {
1306
- line: 219,
1306
+ line: 217,
1307
1307
  column: 4
1308
1308
  },
1309
1309
  end: {
1310
- line: 219,
1310
+ line: 217,
1311
1311
  column: 5
1312
1312
  }
1313
1313
  },
1314
1314
  loc: {
1315
1315
  start: {
1316
- line: 219,
1316
+ line: 217,
1317
1317
  column: 14
1318
1318
  },
1319
1319
  end: {
1320
- line: 219,
1320
+ line: 217,
1321
1321
  column: 85
1322
1322
  }
1323
1323
  },
1324
- line: 219
1324
+ line: 217
1325
1325
  },
1326
1326
  "19": {
1327
1327
  name: "(anonymous_19)",
1328
1328
  decl: {
1329
1329
  start: {
1330
- line: 220,
1330
+ line: 218,
1331
1331
  column: 4
1332
1332
  },
1333
1333
  end: {
1334
- line: 220,
1334
+ line: 218,
1335
1335
  column: 5
1336
1336
  }
1337
1337
  },
1338
1338
  loc: {
1339
1339
  start: {
1340
- line: 220,
1340
+ line: 218,
1341
1341
  column: 15
1342
1342
  },
1343
1343
  end: {
1344
- line: 220,
1344
+ line: 218,
1345
1345
  column: 89
1346
1346
  }
1347
1347
  },
1348
- line: 220
1348
+ line: 218
1349
1349
  },
1350
1350
  "20": {
1351
1351
  name: "(anonymous_20)",
1352
1352
  decl: {
1353
1353
  start: {
1354
- line: 221,
1354
+ line: 219,
1355
1355
  column: 4
1356
1356
  },
1357
1357
  end: {
1358
- line: 221,
1358
+ line: 219,
1359
1359
  column: 5
1360
1360
  }
1361
1361
  },
1362
1362
  loc: {
1363
1363
  start: {
1364
- line: 221,
1364
+ line: 219,
1365
1365
  column: 16
1366
1366
  },
1367
1367
  end: {
1368
- line: 221,
1368
+ line: 219,
1369
1369
  column: 88
1370
1370
  }
1371
1371
  },
1372
- line: 221
1372
+ line: 219
1373
1373
  },
1374
1374
  "21": {
1375
1375
  name: "(anonymous_21)",
1376
1376
  decl: {
1377
1377
  start: {
1378
- line: 222,
1378
+ line: 220,
1379
1379
  column: 4
1380
1380
  },
1381
1381
  end: {
1382
- line: 222,
1382
+ line: 220,
1383
1383
  column: 5
1384
1384
  }
1385
1385
  },
1386
1386
  loc: {
1387
1387
  start: {
1388
- line: 222,
1388
+ line: 220,
1389
1389
  column: 27
1390
1390
  },
1391
1391
  end: {
1392
- line: 229,
1392
+ line: 227,
1393
1393
  column: 5
1394
1394
  }
1395
1395
  },
1396
- line: 222
1396
+ line: 220
1397
1397
  }
1398
1398
  },
1399
1399
  branchMap: {
@@ -1508,367 +1508,70 @@ function cov_2187bgb6ju() {
1508
1508
  "3": {
1509
1509
  loc: {
1510
1510
  start: {
1511
- line: 29,
1511
+ line: 28,
1512
1512
  column: 22
1513
1513
  },
1514
1514
  end: {
1515
- line: 29,
1516
- column: 161
1515
+ line: 28,
1516
+ column: 75
1517
1517
  }
1518
1518
  },
1519
- type: "cond-expr",
1519
+ type: "binary-expr",
1520
1520
  locations: [{
1521
1521
  start: {
1522
- line: 29,
1523
- column: 127
1524
- },
1525
- end: {
1526
- line: 29,
1527
- column: 129
1528
- }
1529
- }, {
1530
- start: {
1531
- line: 29,
1532
- column: 132
1533
- },
1534
- end: {
1535
- line: 29,
1536
- column: 161
1537
- }
1538
- }],
1539
- line: 29
1540
- },
1541
- "4": {
1542
- loc: {
1543
- start: {
1544
- line: 29,
1545
- column: 22
1546
- },
1547
- end: {
1548
- line: 29,
1549
- column: 124
1550
- }
1551
- },
1552
- type: "binary-expr",
1553
- locations: [{
1554
- start: {
1555
- line: 29,
1522
+ line: 28,
1556
1523
  column: 22
1557
1524
  },
1558
1525
  end: {
1559
- line: 29,
1560
- column: 107
1526
+ line: 28,
1527
+ column: 42
1561
1528
  }
1562
1529
  }, {
1563
1530
  start: {
1564
- line: 29,
1565
- column: 111
1566
- },
1567
- end: {
1568
- line: 29,
1569
- column: 124
1570
- }
1571
- }],
1572
- line: 29
1573
- },
1574
- "5": {
1575
- loc: {
1576
- start: {
1577
- line: 29,
1578
- column: 28
1579
- },
1580
- end: {
1581
- line: 29,
1582
- column: 97
1583
- }
1584
- },
1585
- type: "cond-expr",
1586
- locations: [{
1587
- start: {
1588
- line: 29,
1589
- column: 69
1531
+ line: 28,
1532
+ column: 46
1590
1533
  },
1591
1534
  end: {
1592
- line: 29,
1535
+ line: 28,
1593
1536
  column: 75
1594
1537
  }
1595
- }, {
1596
- start: {
1597
- line: 29,
1598
- column: 78
1599
- },
1600
- end: {
1601
- line: 29,
1602
- column: 97
1603
- }
1604
- }],
1605
- line: 29
1606
- },
1607
- "6": {
1608
- loc: {
1609
- start: {
1610
- line: 29,
1611
- column: 28
1612
- },
1613
- end: {
1614
- line: 29,
1615
- column: 66
1616
- }
1617
- },
1618
- type: "binary-expr",
1619
- locations: [{
1620
- start: {
1621
- line: 29,
1622
- column: 28
1623
- },
1624
- end: {
1625
- line: 29,
1626
- column: 44
1627
- }
1628
- }, {
1629
- start: {
1630
- line: 29,
1631
- column: 48
1632
- },
1633
- end: {
1634
- line: 29,
1635
- column: 66
1636
- }
1637
- }],
1638
- line: 29
1639
- },
1640
- "7": {
1641
- loc: {
1642
- start: {
1643
- line: 31,
1644
- column: 15
1645
- },
1646
- end: {
1647
- line: 31,
1648
- column: 91
1649
- }
1650
- },
1651
- type: "cond-expr",
1652
- locations: [{
1653
- start: {
1654
- line: 31,
1655
- column: 56
1656
- },
1657
- end: {
1658
- line: 31,
1659
- column: 62
1660
- }
1661
- }, {
1662
- start: {
1663
- line: 31,
1664
- column: 65
1665
- },
1666
- end: {
1667
- line: 31,
1668
- column: 91
1669
- }
1670
- }],
1671
- line: 31
1672
- },
1673
- "8": {
1674
- loc: {
1675
- start: {
1676
- line: 31,
1677
- column: 15
1678
- },
1679
- end: {
1680
- line: 31,
1681
- column: 53
1682
- }
1683
- },
1684
- type: "binary-expr",
1685
- locations: [{
1686
- start: {
1687
- line: 31,
1688
- column: 15
1689
- },
1690
- end: {
1691
- line: 31,
1692
- column: 31
1693
- }
1694
- }, {
1695
- start: {
1696
- line: 31,
1697
- column: 35
1698
- },
1699
- end: {
1700
- line: 31,
1701
- column: 53
1702
- }
1703
- }],
1704
- line: 31
1705
- },
1706
- "9": {
1707
- loc: {
1708
- start: {
1709
- line: 37,
1710
- column: 15
1711
- },
1712
- end: {
1713
- line: 37,
1714
- column: 88
1715
- }
1716
- },
1717
- type: "cond-expr",
1718
- locations: [{
1719
- start: {
1720
- line: 37,
1721
- column: 56
1722
- },
1723
- end: {
1724
- line: 37,
1725
- column: 62
1726
- }
1727
- }, {
1728
- start: {
1729
- line: 37,
1730
- column: 65
1731
- },
1732
- end: {
1733
- line: 37,
1734
- column: 88
1735
- }
1736
- }],
1737
- line: 37
1738
- },
1739
- "10": {
1740
- loc: {
1741
- start: {
1742
- line: 37,
1743
- column: 15
1744
- },
1745
- end: {
1746
- line: 37,
1747
- column: 53
1748
- }
1749
- },
1750
- type: "binary-expr",
1751
- locations: [{
1752
- start: {
1753
- line: 37,
1754
- column: 15
1755
- },
1756
- end: {
1757
- line: 37,
1758
- column: 31
1759
- }
1760
- }, {
1761
- start: {
1762
- line: 37,
1763
- column: 35
1764
- },
1765
- end: {
1766
- line: 37,
1767
- column: 53
1768
- }
1769
- }],
1770
- line: 37
1771
- },
1772
- "11": {
1773
- loc: {
1774
- start: {
1775
- line: 45,
1776
- column: 15
1777
- },
1778
- end: {
1779
- line: 45,
1780
- column: 84
1781
- }
1782
- },
1783
- type: "cond-expr",
1784
- locations: [{
1785
- start: {
1786
- line: 45,
1787
- column: 56
1788
- },
1789
- end: {
1790
- line: 45,
1791
- column: 62
1792
- }
1793
- }, {
1794
- start: {
1795
- line: 45,
1796
- column: 65
1797
- },
1798
- end: {
1799
- line: 45,
1800
- column: 84
1801
- }
1802
1538
  }],
1803
- line: 45
1539
+ line: 28
1804
1540
  },
1805
- "12": {
1541
+ "4": {
1806
1542
  loc: {
1807
1543
  start: {
1808
- line: 45,
1809
- column: 15
1544
+ line: 47,
1545
+ column: 17
1810
1546
  },
1811
1547
  end: {
1812
- line: 45,
1813
- column: 53
1548
+ line: 47,
1549
+ column: 86
1814
1550
  }
1815
1551
  },
1816
1552
  type: "binary-expr",
1817
1553
  locations: [{
1818
1554
  start: {
1819
- line: 45,
1820
- column: 15
1821
- },
1822
- end: {
1823
- line: 45,
1824
- column: 31
1825
- }
1826
- }, {
1827
- start: {
1828
- line: 45,
1829
- column: 35
1830
- },
1831
- end: {
1832
- line: 45,
1833
- column: 53
1834
- }
1835
- }],
1836
- line: 45
1837
- },
1838
- "13": {
1839
- loc: {
1840
- start: {
1841
- line: 48,
1555
+ line: 47,
1842
1556
  column: 17
1843
1557
  },
1844
1558
  end: {
1845
- line: 48,
1846
- column: 172
1847
- }
1848
- },
1849
- type: "cond-expr",
1850
- locations: [{
1851
- start: {
1852
- line: 48,
1853
- column: 125
1854
- },
1855
- end: {
1856
- line: 48,
1857
- column: 127
1559
+ line: 47,
1560
+ column: 40
1858
1561
  }
1859
1562
  }, {
1860
1563
  start: {
1861
- line: 48,
1862
- column: 130
1564
+ line: 47,
1565
+ column: 44
1863
1566
  },
1864
1567
  end: {
1865
- line: 48,
1866
- column: 172
1568
+ line: 47,
1569
+ column: 86
1867
1570
  }
1868
1571
  }],
1869
- line: 48
1572
+ line: 47
1870
1573
  },
1871
- "14": {
1574
+ "5": {
1872
1575
  loc: {
1873
1576
  start: {
1874
1577
  line: 48,
@@ -1876,612 +1579,117 @@ function cov_2187bgb6ju() {
1876
1579
  },
1877
1580
  end: {
1878
1581
  line: 48,
1879
- column: 122
1582
+ column: 73
1880
1583
  }
1881
1584
  },
1882
1585
  type: "binary-expr",
1883
1586
  locations: [{
1884
1587
  start: {
1885
- line: 48,
1886
- column: 17
1887
- },
1888
- end: {
1889
- line: 48,
1890
- column: 105
1891
- }
1892
- }, {
1893
- start: {
1894
- line: 48,
1895
- column: 109
1896
- },
1897
- end: {
1898
- line: 48,
1899
- column: 122
1900
- }
1901
- }],
1902
- line: 48
1903
- },
1904
- "15": {
1905
- loc: {
1906
- start: {
1907
- line: 48,
1908
- column: 23
1909
- },
1910
- end: {
1911
- line: 48,
1912
- column: 95
1913
- }
1914
- },
1915
- type: "cond-expr",
1916
- locations: [{
1917
- start: {
1918
- line: 48,
1919
- column: 64
1920
- },
1921
- end: {
1922
- line: 48,
1923
- column: 70
1924
- }
1925
- }, {
1926
- start: {
1927
- line: 48,
1928
- column: 73
1929
- },
1930
- end: {
1931
- line: 48,
1932
- column: 95
1933
- }
1934
- }],
1935
- line: 48
1936
- },
1937
- "16": {
1938
- loc: {
1939
- start: {
1940
- line: 48,
1941
- column: 23
1942
- },
1943
- end: {
1944
- line: 48,
1945
- column: 61
1946
- }
1947
- },
1948
- type: "binary-expr",
1949
- locations: [{
1950
- start: {
1951
- line: 48,
1952
- column: 23
1953
- },
1954
- end: {
1955
- line: 48,
1956
- column: 39
1957
- }
1958
- }, {
1959
- start: {
1960
- line: 48,
1961
- column: 43
1962
- },
1963
- end: {
1964
- line: 48,
1965
- column: 61
1966
- }
1967
- }],
1968
- line: 48
1969
- },
1970
- "17": {
1971
- loc: {
1972
- start: {
1973
- line: 49,
1974
- column: 17
1975
- },
1976
- end: {
1977
- line: 49,
1978
- column: 159
1979
- }
1980
- },
1981
- type: "cond-expr",
1982
- locations: [{
1983
- start: {
1984
- line: 49,
1985
- column: 124
1986
- },
1987
- end: {
1988
- line: 49,
1989
- column: 126
1990
- }
1991
- }, {
1992
- start: {
1993
- line: 49,
1994
- column: 129
1995
- },
1996
- end: {
1997
- line: 49,
1998
- column: 159
1999
- }
2000
- }],
2001
- line: 49
2002
- },
2003
- "18": {
2004
- loc: {
2005
- start: {
2006
- line: 49,
2007
- column: 17
2008
- },
2009
- end: {
2010
- line: 49,
2011
- column: 121
2012
- }
2013
- },
2014
- type: "binary-expr",
2015
- locations: [{
2016
- start: {
2017
- line: 49,
2018
- column: 17
2019
- },
2020
- end: {
2021
- line: 49,
2022
- column: 104
2023
- }
2024
- }, {
2025
- start: {
2026
- line: 49,
2027
- column: 108
2028
- },
2029
- end: {
2030
- line: 49,
2031
- column: 121
2032
- }
2033
- }],
2034
- line: 49
2035
- },
2036
- "19": {
2037
- loc: {
2038
- start: {
2039
- line: 49,
2040
- column: 23
2041
- },
2042
- end: {
2043
- line: 49,
2044
- column: 94
2045
- }
2046
- },
2047
- type: "cond-expr",
2048
- locations: [{
2049
- start: {
2050
- line: 49,
2051
- column: 64
2052
- },
2053
- end: {
2054
- line: 49,
2055
- column: 70
2056
- }
2057
- }, {
2058
- start: {
2059
- line: 49,
2060
- column: 73
2061
- },
2062
- end: {
2063
- line: 49,
2064
- column: 94
2065
- }
2066
- }],
2067
- line: 49
2068
- },
2069
- "20": {
2070
- loc: {
2071
- start: {
2072
- line: 49,
2073
- column: 23
2074
- },
2075
- end: {
2076
- line: 49,
2077
- column: 61
2078
- }
2079
- },
2080
- type: "binary-expr",
2081
- locations: [{
2082
- start: {
2083
- line: 49,
2084
- column: 23
2085
- },
2086
- end: {
2087
- line: 49,
2088
- column: 39
2089
- }
2090
- }, {
2091
- start: {
2092
- line: 49,
2093
- column: 43
2094
- },
2095
- end: {
2096
- line: 49,
2097
- column: 61
2098
- }
2099
- }],
2100
- line: 49
2101
- },
2102
- "21": {
2103
- loc: {
2104
- start: {
2105
- line: 55,
2106
- column: 32
2107
- },
2108
- end: {
2109
- line: 55,
2110
- column: 58
2111
- }
2112
- },
2113
- type: "binary-expr",
2114
- locations: [{
2115
- start: {
2116
- line: 55,
2117
- column: 32
2118
- },
2119
- end: {
2120
- line: 55,
2121
- column: 52
2122
- }
2123
- }, {
2124
- start: {
2125
- line: 55,
2126
- column: 56
2127
- },
2128
- end: {
2129
- line: 55,
2130
- column: 58
2131
- }
2132
- }],
2133
- line: 55
2134
- },
2135
- "22": {
2136
- loc: {
2137
- start: {
2138
- line: 57,
2139
- column: 33
2140
- },
2141
- end: {
2142
- line: 57,
2143
- column: 114
2144
- }
2145
- },
2146
- type: "cond-expr",
2147
- locations: [{
2148
- start: {
2149
- line: 57,
2150
- column: 96
2151
- },
2152
- end: {
2153
- line: 57,
2154
- column: 98
2155
- }
2156
- }, {
2157
- start: {
2158
- line: 57,
2159
- column: 101
2160
- },
2161
- end: {
2162
- line: 57,
2163
- column: 114
2164
- }
2165
- }],
2166
- line: 57
2167
- },
2168
- "23": {
2169
- loc: {
2170
- start: {
2171
- line: 57,
2172
- column: 33
2173
- },
2174
- end: {
2175
- line: 57,
2176
- column: 93
2177
- }
2178
- },
2179
- type: "binary-expr",
2180
- locations: [{
2181
- start: {
2182
- line: 57,
2183
- column: 33
2184
- },
2185
- end: {
2186
- line: 57,
2187
- column: 76
2188
- }
2189
- }, {
2190
- start: {
2191
- line: 57,
2192
- column: 80
2193
- },
2194
- end: {
2195
- line: 57,
2196
- column: 93
2197
- }
2198
- }],
2199
- line: 57
2200
- },
2201
- "24": {
2202
- loc: {
2203
- start: {
2204
- line: 58,
2205
- column: 8
2206
- },
2207
- end: {
2208
- line: 59,
2209
- column: 53
2210
- }
2211
- },
2212
- type: "if",
2213
- locations: [{
2214
- start: {
2215
- line: 58,
2216
- column: 8
2217
- },
2218
- end: {
2219
- line: 59,
2220
- column: 53
2221
- }
2222
- }, {
2223
- start: {
2224
- line: undefined,
2225
- column: undefined
2226
- },
2227
- end: {
2228
- line: undefined,
2229
- column: undefined
2230
- }
2231
- }],
2232
- line: 58
2233
- },
2234
- "25": {
2235
- loc: {
2236
- start: {
2237
- line: 66,
2238
- column: 8
2239
- },
2240
- end: {
2241
- line: 67,
2242
- column: 37
2243
- }
2244
- },
2245
- type: "if",
2246
- locations: [{
2247
- start: {
2248
- line: 66,
2249
- column: 8
2250
- },
2251
- end: {
2252
- line: 67,
2253
- column: 37
2254
- }
2255
- }, {
2256
- start: {
2257
- line: undefined,
2258
- column: undefined
2259
- },
2260
- end: {
2261
- line: undefined,
2262
- column: undefined
2263
- }
2264
- }],
2265
- line: 66
2266
- },
2267
- "26": {
2268
- loc: {
2269
- start: {
2270
- line: 106,
2271
- column: 8
2272
- },
2273
- end: {
2274
- line: 108,
2275
- column: 9
2276
- }
2277
- },
2278
- type: "if",
2279
- locations: [{
2280
- start: {
2281
- line: 106,
2282
- column: 8
2283
- },
2284
- end: {
2285
- line: 108,
2286
- column: 9
2287
- }
2288
- }, {
2289
- start: {
2290
- line: undefined,
2291
- column: undefined
2292
- },
2293
- end: {
2294
- line: undefined,
2295
- column: undefined
2296
- }
2297
- }],
2298
- line: 106
2299
- },
2300
- "27": {
2301
- loc: {
2302
- start: {
2303
- line: 106,
2304
- column: 12
2305
- },
2306
- end: {
2307
- line: 106,
2308
- column: 162
2309
- }
2310
- },
2311
- type: "binary-expr",
2312
- locations: [{
2313
- start: {
2314
- line: 106,
2315
- column: 13
2316
- },
2317
- end: {
2318
- line: 106,
2319
- column: 84
2320
- }
2321
- }, {
2322
- start: {
2323
- line: 106,
2324
- column: 90
2325
- },
2326
- end: {
2327
- line: 106,
2328
- column: 161
2329
- }
2330
- }],
2331
- line: 106
2332
- },
2333
- "28": {
2334
- loc: {
2335
- start: {
2336
- line: 106,
2337
- column: 13
2338
- },
2339
- end: {
2340
- line: 106,
2341
- column: 84
2342
- }
2343
- },
2344
- type: "cond-expr",
2345
- locations: [{
2346
- start: {
2347
- line: 106,
2348
- column: 54
2349
- },
2350
- end: {
2351
- line: 106,
2352
- column: 60
2353
- }
2354
- }, {
2355
- start: {
2356
- line: 106,
2357
- column: 63
2358
- },
2359
- end: {
2360
- line: 106,
2361
- column: 84
2362
- }
2363
- }],
2364
- line: 106
2365
- },
2366
- "29": {
2367
- loc: {
2368
- start: {
2369
- line: 106,
2370
- column: 13
2371
- },
2372
- end: {
2373
- line: 106,
2374
- column: 51
2375
- }
2376
- },
2377
- type: "binary-expr",
2378
- locations: [{
2379
- start: {
2380
- line: 106,
2381
- column: 13
1588
+ line: 48,
1589
+ column: 17
2382
1590
  },
2383
1591
  end: {
2384
- line: 106,
2385
- column: 29
1592
+ line: 48,
1593
+ column: 39
2386
1594
  }
2387
1595
  }, {
2388
1596
  start: {
2389
- line: 106,
2390
- column: 33
1597
+ line: 48,
1598
+ column: 43
2391
1599
  },
2392
1600
  end: {
2393
- line: 106,
2394
- column: 51
1601
+ line: 48,
1602
+ column: 73
2395
1603
  }
2396
1604
  }],
2397
- line: 106
1605
+ line: 48
2398
1606
  },
2399
- "30": {
1607
+ "6": {
2400
1608
  loc: {
2401
1609
  start: {
2402
- line: 106,
2403
- column: 90
1610
+ line: 53,
1611
+ column: 32
2404
1612
  },
2405
1613
  end: {
2406
- line: 106,
2407
- column: 161
1614
+ line: 53,
1615
+ column: 58
2408
1616
  }
2409
1617
  },
2410
- type: "cond-expr",
1618
+ type: "binary-expr",
2411
1619
  locations: [{
2412
1620
  start: {
2413
- line: 106,
2414
- column: 131
1621
+ line: 53,
1622
+ column: 32
2415
1623
  },
2416
1624
  end: {
2417
- line: 106,
2418
- column: 137
1625
+ line: 53,
1626
+ column: 52
2419
1627
  }
2420
1628
  }, {
2421
1629
  start: {
2422
- line: 106,
2423
- column: 140
1630
+ line: 53,
1631
+ column: 56
2424
1632
  },
2425
1633
  end: {
2426
- line: 106,
2427
- column: 161
1634
+ line: 53,
1635
+ column: 58
2428
1636
  }
2429
1637
  }],
2430
- line: 106
1638
+ line: 53
2431
1639
  },
2432
- "31": {
1640
+ "7": {
2433
1641
  loc: {
2434
1642
  start: {
2435
- line: 106,
2436
- column: 90
1643
+ line: 55,
1644
+ column: 33
2437
1645
  },
2438
1646
  end: {
2439
- line: 106,
2440
- column: 128
1647
+ line: 55,
1648
+ column: 77
2441
1649
  }
2442
1650
  },
2443
1651
  type: "binary-expr",
2444
1652
  locations: [{
2445
1653
  start: {
2446
- line: 106,
2447
- column: 90
1654
+ line: 55,
1655
+ column: 33
2448
1656
  },
2449
1657
  end: {
2450
- line: 106,
2451
- column: 106
1658
+ line: 55,
1659
+ column: 60
2452
1660
  }
2453
1661
  }, {
2454
1662
  start: {
2455
- line: 106,
2456
- column: 110
1663
+ line: 55,
1664
+ column: 64
2457
1665
  },
2458
1666
  end: {
2459
- line: 106,
2460
- column: 128
1667
+ line: 55,
1668
+ column: 77
2461
1669
  }
2462
1670
  }],
2463
- line: 106
1671
+ line: 55
2464
1672
  },
2465
- "32": {
1673
+ "8": {
2466
1674
  loc: {
2467
1675
  start: {
2468
- line: 110,
1676
+ line: 56,
2469
1677
  column: 8
2470
1678
  },
2471
1679
  end: {
2472
- line: 112,
2473
- column: 9
1680
+ line: 57,
1681
+ column: 53
2474
1682
  }
2475
1683
  },
2476
1684
  type: "if",
2477
1685
  locations: [{
2478
1686
  start: {
2479
- line: 110,
1687
+ line: 56,
2480
1688
  column: 8
2481
1689
  },
2482
1690
  end: {
2483
- line: 112,
2484
- column: 9
1691
+ line: 57,
1692
+ column: 53
2485
1693
  }
2486
1694
  }, {
2487
1695
  start: {
@@ -2493,60 +1701,60 @@ function cov_2187bgb6ju() {
2493
1701
  column: undefined
2494
1702
  }
2495
1703
  }],
2496
- line: 110
1704
+ line: 56
2497
1705
  },
2498
- "33": {
1706
+ "9": {
2499
1707
  loc: {
2500
1708
  start: {
2501
- line: 125,
1709
+ line: 64,
2502
1710
  column: 8
2503
1711
  },
2504
1712
  end: {
2505
- line: 132,
2506
- column: 9
1713
+ line: 65,
1714
+ column: 37
2507
1715
  }
2508
1716
  },
2509
1717
  type: "if",
2510
1718
  locations: [{
2511
1719
  start: {
2512
- line: 125,
1720
+ line: 64,
2513
1721
  column: 8
2514
1722
  },
2515
1723
  end: {
2516
- line: 132,
2517
- column: 9
1724
+ line: 65,
1725
+ column: 37
2518
1726
  }
2519
1727
  }, {
2520
1728
  start: {
2521
- line: 128,
2522
- column: 13
1729
+ line: undefined,
1730
+ column: undefined
2523
1731
  },
2524
1732
  end: {
2525
- line: 132,
2526
- column: 9
1733
+ line: undefined,
1734
+ column: undefined
2527
1735
  }
2528
1736
  }],
2529
- line: 125
1737
+ line: 64
2530
1738
  },
2531
- "34": {
1739
+ "10": {
2532
1740
  loc: {
2533
1741
  start: {
2534
- line: 143,
1742
+ line: 104,
2535
1743
  column: 8
2536
1744
  },
2537
1745
  end: {
2538
- line: 145,
1746
+ line: 106,
2539
1747
  column: 9
2540
1748
  }
2541
1749
  },
2542
1750
  type: "if",
2543
1751
  locations: [{
2544
1752
  start: {
2545
- line: 143,
1753
+ line: 104,
2546
1754
  column: 8
2547
1755
  },
2548
1756
  end: {
2549
- line: 145,
1757
+ line: 106,
2550
1758
  column: 9
2551
1759
  }
2552
1760
  }, {
@@ -2559,192 +1767,192 @@ function cov_2187bgb6ju() {
2559
1767
  column: undefined
2560
1768
  }
2561
1769
  }],
2562
- line: 143
1770
+ line: 104
2563
1771
  },
2564
- "35": {
1772
+ "11": {
2565
1773
  loc: {
2566
1774
  start: {
2567
- line: 143,
1775
+ line: 104,
2568
1776
  column: 12
2569
1777
  },
2570
1778
  end: {
2571
- line: 143,
2572
- column: 162
1779
+ line: 104,
1780
+ column: 60
2573
1781
  }
2574
1782
  },
2575
1783
  type: "binary-expr",
2576
1784
  locations: [{
2577
1785
  start: {
2578
- line: 143,
2579
- column: 13
1786
+ line: 104,
1787
+ column: 12
2580
1788
  },
2581
1789
  end: {
2582
- line: 143,
2583
- column: 84
1790
+ line: 104,
1791
+ column: 34
2584
1792
  }
2585
1793
  }, {
2586
1794
  start: {
2587
- line: 143,
2588
- column: 90
1795
+ line: 104,
1796
+ column: 38
2589
1797
  },
2590
1798
  end: {
2591
- line: 143,
2592
- column: 161
1799
+ line: 104,
1800
+ column: 60
2593
1801
  }
2594
1802
  }],
2595
- line: 143
1803
+ line: 104
2596
1804
  },
2597
- "36": {
1805
+ "12": {
2598
1806
  loc: {
2599
1807
  start: {
2600
- line: 143,
2601
- column: 13
1808
+ line: 108,
1809
+ column: 8
2602
1810
  },
2603
1811
  end: {
2604
- line: 143,
2605
- column: 84
1812
+ line: 110,
1813
+ column: 9
2606
1814
  }
2607
1815
  },
2608
- type: "cond-expr",
1816
+ type: "if",
2609
1817
  locations: [{
2610
1818
  start: {
2611
- line: 143,
2612
- column: 54
1819
+ line: 108,
1820
+ column: 8
2613
1821
  },
2614
1822
  end: {
2615
- line: 143,
2616
- column: 60
1823
+ line: 110,
1824
+ column: 9
2617
1825
  }
2618
1826
  }, {
2619
1827
  start: {
2620
- line: 143,
2621
- column: 63
1828
+ line: undefined,
1829
+ column: undefined
2622
1830
  },
2623
1831
  end: {
2624
- line: 143,
2625
- column: 84
1832
+ line: undefined,
1833
+ column: undefined
2626
1834
  }
2627
1835
  }],
2628
- line: 143
1836
+ line: 108
2629
1837
  },
2630
- "37": {
1838
+ "13": {
2631
1839
  loc: {
2632
1840
  start: {
2633
- line: 143,
2634
- column: 13
1841
+ line: 123,
1842
+ column: 8
2635
1843
  },
2636
1844
  end: {
2637
- line: 143,
2638
- column: 51
1845
+ line: 130,
1846
+ column: 9
2639
1847
  }
2640
1848
  },
2641
- type: "binary-expr",
1849
+ type: "if",
2642
1850
  locations: [{
2643
1851
  start: {
2644
- line: 143,
2645
- column: 13
1852
+ line: 123,
1853
+ column: 8
2646
1854
  },
2647
1855
  end: {
2648
- line: 143,
2649
- column: 29
1856
+ line: 130,
1857
+ column: 9
2650
1858
  }
2651
1859
  }, {
2652
1860
  start: {
2653
- line: 143,
2654
- column: 33
1861
+ line: 126,
1862
+ column: 13
2655
1863
  },
2656
1864
  end: {
2657
- line: 143,
2658
- column: 51
1865
+ line: 130,
1866
+ column: 9
2659
1867
  }
2660
1868
  }],
2661
- line: 143
1869
+ line: 123
2662
1870
  },
2663
- "38": {
1871
+ "14": {
2664
1872
  loc: {
2665
1873
  start: {
2666
- line: 143,
2667
- column: 90
1874
+ line: 141,
1875
+ column: 8
2668
1876
  },
2669
1877
  end: {
2670
1878
  line: 143,
2671
- column: 161
1879
+ column: 9
2672
1880
  }
2673
1881
  },
2674
- type: "cond-expr",
1882
+ type: "if",
2675
1883
  locations: [{
2676
1884
  start: {
2677
- line: 143,
2678
- column: 131
1885
+ line: 141,
1886
+ column: 8
2679
1887
  },
2680
1888
  end: {
2681
1889
  line: 143,
2682
- column: 137
1890
+ column: 9
2683
1891
  }
2684
1892
  }, {
2685
1893
  start: {
2686
- line: 143,
2687
- column: 140
1894
+ line: undefined,
1895
+ column: undefined
2688
1896
  },
2689
1897
  end: {
2690
- line: 143,
2691
- column: 161
1898
+ line: undefined,
1899
+ column: undefined
2692
1900
  }
2693
1901
  }],
2694
- line: 143
1902
+ line: 141
2695
1903
  },
2696
- "39": {
1904
+ "15": {
2697
1905
  loc: {
2698
1906
  start: {
2699
- line: 143,
2700
- column: 90
1907
+ line: 141,
1908
+ column: 12
2701
1909
  },
2702
1910
  end: {
2703
- line: 143,
2704
- column: 128
1911
+ line: 141,
1912
+ column: 60
2705
1913
  }
2706
1914
  },
2707
1915
  type: "binary-expr",
2708
1916
  locations: [{
2709
1917
  start: {
2710
- line: 143,
2711
- column: 90
1918
+ line: 141,
1919
+ column: 12
2712
1920
  },
2713
1921
  end: {
2714
- line: 143,
2715
- column: 106
1922
+ line: 141,
1923
+ column: 34
2716
1924
  }
2717
1925
  }, {
2718
1926
  start: {
2719
- line: 143,
2720
- column: 110
1927
+ line: 141,
1928
+ column: 38
2721
1929
  },
2722
1930
  end: {
2723
- line: 143,
2724
- column: 128
1931
+ line: 141,
1932
+ column: 60
2725
1933
  }
2726
1934
  }],
2727
- line: 143
1935
+ line: 141
2728
1936
  },
2729
- "40": {
1937
+ "16": {
2730
1938
  loc: {
2731
1939
  start: {
2732
- line: 152,
1940
+ line: 150,
2733
1941
  column: 8
2734
1942
  },
2735
1943
  end: {
2736
- line: 153,
1944
+ line: 151,
2737
1945
  column: 60
2738
1946
  }
2739
1947
  },
2740
1948
  type: "if",
2741
1949
  locations: [{
2742
1950
  start: {
2743
- line: 152,
1951
+ line: 150,
2744
1952
  column: 8
2745
1953
  },
2746
1954
  end: {
2747
- line: 153,
1955
+ line: 151,
2748
1956
  column: 60
2749
1957
  }
2750
1958
  }, {
@@ -2757,27 +1965,27 @@ function cov_2187bgb6ju() {
2757
1965
  column: undefined
2758
1966
  }
2759
1967
  }],
2760
- line: 152
1968
+ line: 150
2761
1969
  },
2762
- "41": {
1970
+ "17": {
2763
1971
  loc: {
2764
1972
  start: {
2765
- line: 181,
1973
+ line: 179,
2766
1974
  column: 8
2767
1975
  },
2768
1976
  end: {
2769
- line: 182,
1977
+ line: 180,
2770
1978
  column: 28
2771
1979
  }
2772
1980
  },
2773
1981
  type: "if",
2774
1982
  locations: [{
2775
1983
  start: {
2776
- line: 181,
1984
+ line: 179,
2777
1985
  column: 8
2778
1986
  },
2779
1987
  end: {
2780
- line: 182,
1988
+ line: 180,
2781
1989
  column: 28
2782
1990
  }
2783
1991
  }, {
@@ -2790,27 +1998,27 @@ function cov_2187bgb6ju() {
2790
1998
  column: undefined
2791
1999
  }
2792
2000
  }],
2793
- line: 181
2001
+ line: 179
2794
2002
  },
2795
- "42": {
2003
+ "18": {
2796
2004
  loc: {
2797
2005
  start: {
2798
- line: 186,
2006
+ line: 184,
2799
2007
  column: 16
2800
2008
  },
2801
2009
  end: {
2802
- line: 187,
2010
+ line: 185,
2803
2011
  column: 37
2804
2012
  }
2805
2013
  },
2806
2014
  type: "if",
2807
2015
  locations: [{
2808
2016
  start: {
2809
- line: 186,
2017
+ line: 184,
2810
2018
  column: 16
2811
2019
  },
2812
2020
  end: {
2813
- line: 187,
2021
+ line: 185,
2814
2022
  column: 37
2815
2023
  }
2816
2024
  }, {
@@ -2823,27 +2031,27 @@ function cov_2187bgb6ju() {
2823
2031
  column: undefined
2824
2032
  }
2825
2033
  }],
2826
- line: 186
2034
+ line: 184
2827
2035
  },
2828
- "43": {
2036
+ "19": {
2829
2037
  loc: {
2830
2038
  start: {
2831
- line: 196,
2039
+ line: 194,
2832
2040
  column: 24
2833
2041
  },
2834
2042
  end: {
2835
- line: 197,
2043
+ line: 195,
2836
2044
  column: 102
2837
2045
  }
2838
2046
  },
2839
2047
  type: "if",
2840
2048
  locations: [{
2841
2049
  start: {
2842
- line: 196,
2050
+ line: 194,
2843
2051
  column: 24
2844
2052
  },
2845
2053
  end: {
2846
- line: 197,
2054
+ line: 195,
2847
2055
  column: 102
2848
2056
  }
2849
2057
  }, {
@@ -2856,27 +2064,27 @@ function cov_2187bgb6ju() {
2856
2064
  column: undefined
2857
2065
  }
2858
2066
  }],
2859
- line: 196
2067
+ line: 194
2860
2068
  },
2861
- "44": {
2069
+ "20": {
2862
2070
  loc: {
2863
2071
  start: {
2864
- line: 204,
2072
+ line: 202,
2865
2073
  column: 16
2866
2074
  },
2867
2075
  end: {
2868
- line: 205,
2076
+ line: 203,
2869
2077
  column: 113
2870
2078
  }
2871
2079
  },
2872
2080
  type: "if",
2873
2081
  locations: [{
2874
2082
  start: {
2875
- line: 204,
2083
+ line: 202,
2876
2084
  column: 16
2877
2085
  },
2878
2086
  end: {
2879
- line: 205,
2087
+ line: 203,
2880
2088
  column: 113
2881
2089
  }
2882
2090
  }, {
@@ -2889,27 +2097,27 @@ function cov_2187bgb6ju() {
2889
2097
  column: undefined
2890
2098
  }
2891
2099
  }],
2892
- line: 204
2100
+ line: 202
2893
2101
  },
2894
- "45": {
2102
+ "21": {
2895
2103
  loc: {
2896
2104
  start: {
2897
- line: 225,
2105
+ line: 223,
2898
2106
  column: 12
2899
2107
  },
2900
2108
  end: {
2901
- line: 226,
2109
+ line: 224,
2902
2110
  column: 44
2903
2111
  }
2904
2112
  },
2905
2113
  type: "if",
2906
2114
  locations: [{
2907
2115
  start: {
2908
- line: 225,
2116
+ line: 223,
2909
2117
  column: 12
2910
2118
  },
2911
2119
  end: {
2912
- line: 226,
2120
+ line: 224,
2913
2121
  column: 44
2914
2122
  }
2915
2123
  }, {
@@ -2922,7 +2130,7 @@ function cov_2187bgb6ju() {
2922
2130
  column: undefined
2923
2131
  }
2924
2132
  }],
2925
- line: 225
2133
+ line: 223
2926
2134
  }
2927
2135
  },
2928
2136
  s: {
@@ -3057,42 +2265,18 @@ function cov_2187bgb6ju() {
3057
2265
  "18": [0, 0],
3058
2266
  "19": [0, 0],
3059
2267
  "20": [0, 0],
3060
- "21": [0, 0],
3061
- "22": [0, 0],
3062
- "23": [0, 0],
3063
- "24": [0, 0],
3064
- "25": [0, 0],
3065
- "26": [0, 0],
3066
- "27": [0, 0],
3067
- "28": [0, 0],
3068
- "29": [0, 0],
3069
- "30": [0, 0],
3070
- "31": [0, 0],
3071
- "32": [0, 0],
3072
- "33": [0, 0],
3073
- "34": [0, 0],
3074
- "35": [0, 0],
3075
- "36": [0, 0],
3076
- "37": [0, 0],
3077
- "38": [0, 0],
3078
- "39": [0, 0],
3079
- "40": [0, 0],
3080
- "41": [0, 0],
3081
- "42": [0, 0],
3082
- "43": [0, 0],
3083
- "44": [0, 0],
3084
- "45": [0, 0]
2268
+ "21": [0, 0]
3085
2269
  },
3086
2270
  inputSourceMap: {
3087
2271
  version: 3,
3088
2272
  file: "ITwinLocalization.js",
3089
- sources: ["D:\\vsts_b\\2\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2273
+ sources: ["D:\\vsts_a\\10\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
3090
2274
  names: [],
3091
- mappings: ";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;AAEH,sDAA2E;AAC3E,wGAAmG;AACnG,gFAA+D;AAC/D,sDAA6C;AAG7C,MAAM,mBAAmB,GAAW,CAAC,CAAC,CAAC,8GAA8G;AAcrJ;;;GAGG;AACH,MAAa,iBAAiB;IAO5B,YAAmB,OAA6B;;QAF/B,gBAAW,GAAG,IAAI,GAA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Q,CAAC",
3092
2276
  sourcesContent: ["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Localization\n */\n\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport type { Localization } from \"@itwin/core-common\";\n\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\n\n/** Options for ITwinLocalization\n * @public\n */\nexport interface LocalizationOptions {\n urlTemplate?: string;\n backendPlugin?: Module;\n detectorPlugin?: Module;\n initOptions?: InitOptions;\n backendHttpOptions?: BackendOptions;\n detectorOptions?: DetectorOptions;\n}\n\n/** Supplies localizations for iTwin.js\n * @note this class uses the [i18next](https://www.i18next.com/) package.\n * @public\n */\nexport class ITwinLocalization implements Localization {\n public i18next: i18n;\n private readonly _initOptions: InitOptions;\n private readonly _backendOptions: BackendOptions;\n private readonly _detectionOptions: DetectorOptions;\n private readonly _namespaces = new Map<string, Promise<void>>();\n\n public constructor(options?: LocalizationOptions) {\n this.i18next = i18next.createInstance();\n\n this._backendOptions = {\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\n crossDomain: true,\n ...options?.backendHttpOptions,\n };\n\n this._detectionOptions = {\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\n lookupQuerystring: \"lng\",\n caches: [],\n ...options?.detectorOptions,\n };\n\n this._initOptions = {\n interpolation: { escapeValue: true },\n fallbackLng: \"en\",\n maxRetries: DEFAULT_MAX_RETRIES,\n backend: this._backendOptions,\n detection: this._detectionOptions,\n ...options?.initOptions,\n };\n\n this.i18next\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\n .use(options?.backendPlugin ?? Backend)\n .use(TranslationLogger);\n }\n\n public async initialize(namespaces: string[]): Promise<void> {\n\n // Also consider namespaces passed into constructor\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\n\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\n if (defaultNamespace)\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\n\n const initOptions: InitOptions = {\n ...this._initOptions,\n defaultNS: defaultNamespace,\n ns: [...combinedNamespaces],\n };\n\n // if in a development environment, set debugging\n if (process.env.NODE_ENV === \"development\")\n initOptions.debug = true;\n\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\n\n for (const ns of namespaces)\n this._namespaces.set(ns, initPromise);\n\n return initPromise;\n }\n\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\n * For example:\n * ``` ts\n * \"MyKeys\": {\n * \"Key1\": \"First value\",\n * \"Key2\": \"Second value\"\n * }\n * ```\n *\n * ``` ts\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\n * ```\n * @param line The input line, potentially containing %{keys}.\n * @returns The line with all %{keys} translated\n * @public\n */\n public getLocalizedKeys(line: string): string {\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\n }\n\n /** Return the translated value of a key.\n * @param key - the key that matches a property in the JSON localization file.\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\n * followed by a colon, followed by the property in the JSON file.\n * For example:\n * ``` ts\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\n * ```\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @public\n */\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n const value = this.i18next.t(key, options);\n\n if (typeof value !== \"string\") {\n throw new Error(\"Translation key(s) string not found\");\n }\n\n return value;\n }\n\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\n let fullKey: string | string[] = \"\";\n\n if (typeof key === \"string\") {\n fullKey = `${namespace}:${key}`;\n } else {\n fullKey = key.map((subKey: string) => {\n return `${namespace}:${subKey}`;\n });\n }\n\n return this.getLocalizedString(fullKey, options);\n }\n\n /** Gets the English translation.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n options = {\n ...options,\n ns: namespace, // ensure namespace argument is used\n };\n\n const en = this.i18next.getFixedT(\"en\", namespace);\n const str = en(key, options);\n if (typeof str !== \"string\")\n throw new Error(\"Translation key(s) not found\");\n\n return str;\n }\n\n /** Get the promise for an already registered Namespace.\n * @param name - the name of the namespace\n * @public\n */\n public getNamespacePromise(name: string): Promise<void> | undefined {\n return this._namespaces.get(name);\n }\n\n /** @internal */\n public getLanguageList(): readonly string[] {\n return this.i18next.languages;\n }\n\n /** override the language detected in the browser */\n public async changeLanguage(language: string) {\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\n }\n\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\n * @public\n */\n public async registerNamespace(name: string): Promise<void> {\n const existing = this._namespaces.get(name);\n if (existing !== undefined)\n return existing;\n\n const theReadPromise = new Promise<void>((resolve) => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.i18next.loadNamespaces(name, (err) => {\n if (!err)\n return resolve();\n\n // Here we got a non-null err object.\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\n\n try {\n for (const thisError of err) {\n if (typeof thisError === \"string\")\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\n }\n } catch (e) {\n locales = [];\n }\n // if we removed every locale from the array, it wasn't loaded.\n if (locales.length === 0)\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\n\n resolve();\n });\n });\n this._namespaces.set(name, theReadPromise);\n return theReadPromise;\n }\n\n /** @internal */\n public unregisterNamespace(name: string): void {\n this._namespaces.delete(name);\n }\n}\n\nclass TranslationLogger {\n public static readonly type = \"logger\";\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\n private createLogMessage(args: string[]) {\n let message = args[0];\n for (let i = 1; i < args.length; ++i) {\n if (typeof args[i] === \"string\")\n message += `\\n ${args[i]}`;\n }\n return message;\n }\n}\n"]
3093
2277
  },
3094
2278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
3095
- hash: "43040a19b88cf3c399c311849f7c2894172f203b"
2279
+ hash: "cd04f38979b5037cd357a87096753d0063275552"
3096
2280
  };
3097
2281
  var coverage = global[gcv] || (global[gcv] = {});
3098
2282
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -3101,57 +2285,56 @@ function cov_2187bgb6ju() {
3101
2285
  var actualCoverage = coverage[path];
3102
2286
  {
3103
2287
  // @ts-ignore
3104
- cov_2187bgb6ju = function () {
2288
+ cov_2awov3utze = function () {
3105
2289
  return actualCoverage;
3106
2290
  };
3107
2291
  }
3108
2292
  return actualCoverage;
3109
2293
  }
3110
- cov_2187bgb6ju();
3111
- var __importDefault = (cov_2187bgb6ju().s[0]++, (cov_2187bgb6ju().b[0][0]++, this) && (cov_2187bgb6ju().b[0][1]++, this.__importDefault) || (cov_2187bgb6ju().b[0][2]++, function (mod) {
3112
- cov_2187bgb6ju().f[0]++;
3113
- cov_2187bgb6ju().s[1]++;
3114
- return (cov_2187bgb6ju().b[2][0]++, mod) && (cov_2187bgb6ju().b[2][1]++, mod.__esModule) ? (cov_2187bgb6ju().b[1][0]++, mod) : (cov_2187bgb6ju().b[1][1]++, {
2294
+ cov_2awov3utze();
2295
+ var __importDefault = (cov_2awov3utze().s[0]++, (cov_2awov3utze().b[0][0]++, this) && (cov_2awov3utze().b[0][1]++, this.__importDefault) || (cov_2awov3utze().b[0][2]++, function (mod) {
2296
+ cov_2awov3utze().f[0]++;
2297
+ cov_2awov3utze().s[1]++;
2298
+ return (cov_2awov3utze().b[2][0]++, mod) && (cov_2awov3utze().b[2][1]++, mod.__esModule) ? (cov_2awov3utze().b[1][0]++, mod) : (cov_2awov3utze().b[1][1]++, {
3115
2299
  "default": mod
3116
2300
  });
3117
2301
  }));
3118
- cov_2187bgb6ju().s[2]++;
2302
+ cov_2awov3utze().s[2]++;
3119
2303
  Object.defineProperty(exports, "__esModule", ({
3120
2304
  value: true
3121
2305
  }));
3122
- cov_2187bgb6ju().s[3]++;
2306
+ cov_2awov3utze().s[3]++;
3123
2307
  exports.ITwinLocalization = void 0;
3124
- const i18next_1 = (cov_2187bgb6ju().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
3125
- const i18next_browser_languagedetector_1 = (cov_2187bgb6ju().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
3126
- const i18next_http_backend_1 = (cov_2187bgb6ju().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
3127
- const core_bentley_1 = (cov_2187bgb6ju().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
3128
- const DEFAULT_MAX_RETRIES = (cov_2187bgb6ju().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2308
+ const i18next_1 = (cov_2awov3utze().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
2309
+ const i18next_browser_languagedetector_1 = (cov_2awov3utze().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
2310
+ const i18next_http_backend_1 = (cov_2awov3utze().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
2311
+ const core_bentley_1 = (cov_2awov3utze().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
+ const DEFAULT_MAX_RETRIES = (cov_2awov3utze().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
3129
2313
  /** Supplies localizations for iTwin.js
3130
2314
  * @note this class uses the [i18next](https://www.i18next.com/) package.
3131
2315
  * @public
3132
2316
  */
3133
2317
  class ITwinLocalization {
3134
2318
  constructor(options) {
3135
- cov_2187bgb6ju().f[1]++;
3136
- var _a, _b, _c;
3137
- cov_2187bgb6ju().s[9]++;
2319
+ cov_2awov3utze().f[1]++;
2320
+ cov_2awov3utze().s[9]++;
3138
2321
  this._namespaces = new Map();
3139
- cov_2187bgb6ju().s[10]++;
2322
+ cov_2awov3utze().s[10]++;
3140
2323
  this.i18next = i18next_1.default.createInstance();
3141
- cov_2187bgb6ju().s[11]++;
2324
+ cov_2awov3utze().s[11]++;
3142
2325
  this._backendOptions = {
3143
- loadPath: (cov_2187bgb6ju().b[4][0]++, (_a = (cov_2187bgb6ju().b[6][0]++, options === null) || (cov_2187bgb6ju().b[6][1]++, options === void 0) ? (cov_2187bgb6ju().b[5][0]++, void 0) : (cov_2187bgb6ju().b[5][1]++, options.urlTemplate)) !== null) && (cov_2187bgb6ju().b[4][1]++, _a !== void 0) ? (cov_2187bgb6ju().b[3][0]++, _a) : (cov_2187bgb6ju().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2326
+ loadPath: (cov_2awov3utze().b[3][0]++, options?.urlTemplate) ?? (cov_2awov3utze().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
3144
2327
  crossDomain: true,
3145
- ...((cov_2187bgb6ju().b[8][0]++, options === null) || (cov_2187bgb6ju().b[8][1]++, options === void 0) ? (cov_2187bgb6ju().b[7][0]++, void 0) : (cov_2187bgb6ju().b[7][1]++, options.backendHttpOptions))
2328
+ ...options?.backendHttpOptions
3146
2329
  };
3147
- cov_2187bgb6ju().s[12]++;
2330
+ cov_2awov3utze().s[12]++;
3148
2331
  this._detectionOptions = {
3149
2332
  order: ["querystring", "navigator", "htmlTag"],
3150
2333
  lookupQuerystring: "lng",
3151
2334
  caches: [],
3152
- ...((cov_2187bgb6ju().b[10][0]++, options === null) || (cov_2187bgb6ju().b[10][1]++, options === void 0) ? (cov_2187bgb6ju().b[9][0]++, void 0) : (cov_2187bgb6ju().b[9][1]++, options.detectorOptions))
2335
+ ...options?.detectorOptions
3153
2336
  };
3154
- cov_2187bgb6ju().s[13]++;
2337
+ cov_2awov3utze().s[13]++;
3155
2338
  this._initOptions = {
3156
2339
  interpolation: {
3157
2340
  escapeValue: true
@@ -3160,43 +2343,42 @@ class ITwinLocalization {
3160
2343
  maxRetries: DEFAULT_MAX_RETRIES,
3161
2344
  backend: this._backendOptions,
3162
2345
  detection: this._detectionOptions,
3163
- ...((cov_2187bgb6ju().b[12][0]++, options === null) || (cov_2187bgb6ju().b[12][1]++, options === void 0) ? (cov_2187bgb6ju().b[11][0]++, void 0) : (cov_2187bgb6ju().b[11][1]++, options.initOptions))
2346
+ ...options?.initOptions
3164
2347
  };
3165
- cov_2187bgb6ju().s[14]++;
3166
- this.i18next.use((cov_2187bgb6ju().b[14][0]++, (_b = (cov_2187bgb6ju().b[16][0]++, options === null) || (cov_2187bgb6ju().b[16][1]++, options === void 0) ? (cov_2187bgb6ju().b[15][0]++, void 0) : (cov_2187bgb6ju().b[15][1]++, options.detectorPlugin)) !== null) && (cov_2187bgb6ju().b[14][1]++, _b !== void 0) ? (cov_2187bgb6ju().b[13][0]++, _b) : (cov_2187bgb6ju().b[13][1]++, i18next_browser_languagedetector_1.default)).use((cov_2187bgb6ju().b[18][0]++, (_c = (cov_2187bgb6ju().b[20][0]++, options === null) || (cov_2187bgb6ju().b[20][1]++, options === void 0) ? (cov_2187bgb6ju().b[19][0]++, void 0) : (cov_2187bgb6ju().b[19][1]++, options.backendPlugin)) !== null) && (cov_2187bgb6ju().b[18][1]++, _c !== void 0) ? (cov_2187bgb6ju().b[17][0]++, _c) : (cov_2187bgb6ju().b[17][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2348
+ cov_2awov3utze().s[14]++;
2349
+ this.i18next.use((cov_2awov3utze().b[4][0]++, options?.detectorPlugin) ?? (cov_2awov3utze().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_2awov3utze().b[5][0]++, options?.backendPlugin) ?? (cov_2awov3utze().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
3167
2350
  }
3168
2351
  async initialize(namespaces) {
3169
- cov_2187bgb6ju().f[2]++;
3170
- var _a;
2352
+ cov_2awov3utze().f[2]++;
3171
2353
  // Also consider namespaces passed into constructor
3172
- const initNamespaces = (cov_2187bgb6ju().s[15]++, [(cov_2187bgb6ju().b[21][0]++, this._initOptions.ns) || (cov_2187bgb6ju().b[21][1]++, [])].flat());
3173
- const combinedNamespaces = (cov_2187bgb6ju().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
3174
- const defaultNamespace = (cov_2187bgb6ju().s[17]++, (cov_2187bgb6ju().b[23][0]++, (_a = this._initOptions.defaultNS) !== null) && (cov_2187bgb6ju().b[23][1]++, _a !== void 0) ? (cov_2187bgb6ju().b[22][0]++, _a) : (cov_2187bgb6ju().b[22][1]++, namespaces[0]));
3175
- cov_2187bgb6ju().s[18]++;
2354
+ const initNamespaces = (cov_2awov3utze().s[15]++, [(cov_2awov3utze().b[6][0]++, this._initOptions.ns) || (cov_2awov3utze().b[6][1]++, [])].flat());
2355
+ const combinedNamespaces = (cov_2awov3utze().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
+ const defaultNamespace = (cov_2awov3utze().s[17]++, (cov_2awov3utze().b[7][0]++, this._initOptions.defaultNS) ?? (cov_2awov3utze().b[7][1]++, namespaces[0]));
2357
+ cov_2awov3utze().s[18]++;
3176
2358
  if (defaultNamespace) {
3177
- cov_2187bgb6ju().b[24][0]++;
3178
- cov_2187bgb6ju().s[19]++;
2359
+ cov_2awov3utze().b[8][0]++;
2360
+ cov_2awov3utze().s[19]++;
3179
2361
  combinedNamespaces.add(defaultNamespace);
3180
2362
  } else {
3181
- cov_2187bgb6ju().b[24][1]++;
2363
+ cov_2awov3utze().b[8][1]++;
3182
2364
  } // Make sure default namespace is in namespaces list
3183
- const initOptions = (cov_2187bgb6ju().s[20]++, {
2365
+ const initOptions = (cov_2awov3utze().s[20]++, {
3184
2366
  ...this._initOptions,
3185
2367
  defaultNS: defaultNamespace,
3186
2368
  ns: [...combinedNamespaces]
3187
2369
  });
3188
2370
  // if in a development environment, set debugging
3189
- cov_2187bgb6ju().s[21]++;
2371
+ cov_2awov3utze().s[21]++;
3190
2372
  if (false) {} else {
3191
- cov_2187bgb6ju().b[25][1]++;
2373
+ cov_2awov3utze().b[9][1]++;
3192
2374
  }
3193
- const initPromise = (cov_2187bgb6ju().s[23]++, this.i18next.init(initOptions));
3194
- cov_2187bgb6ju().s[24]++;
2375
+ const initPromise = (cov_2awov3utze().s[23]++, this.i18next.init(initOptions));
2376
+ cov_2awov3utze().s[24]++;
3195
2377
  for (const ns of namespaces) {
3196
- cov_2187bgb6ju().s[25]++;
2378
+ cov_2awov3utze().s[25]++;
3197
2379
  this._namespaces.set(ns, initPromise);
3198
2380
  }
3199
- cov_2187bgb6ju().s[26]++;
2381
+ cov_2awov3utze().s[26]++;
3200
2382
  return initPromise;
3201
2383
  }
3202
2384
  /** Replace all instances of `%{key}` within a string with the translations of those keys.
@@ -3216,11 +2398,11 @@ class ITwinLocalization {
3216
2398
  * @public
3217
2399
  */
3218
2400
  getLocalizedKeys(line) {
3219
- cov_2187bgb6ju().f[3]++;
3220
- cov_2187bgb6ju().s[27]++;
2401
+ cov_2awov3utze().f[3]++;
2402
+ cov_2awov3utze().s[27]++;
3221
2403
  return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
3222
- cov_2187bgb6ju().f[4]++;
3223
- cov_2187bgb6ju().s[28]++;
2404
+ cov_2awov3utze().f[4]++;
2405
+ cov_2awov3utze().s[28]++;
3224
2406
  return this.getLocalizedString(tag);
3225
2407
  });
3226
2408
  }
@@ -3238,25 +2420,25 @@ class ITwinLocalization {
3238
2420
  * @public
3239
2421
  */
3240
2422
  getLocalizedString(key, options) {
3241
- cov_2187bgb6ju().f[5]++;
3242
- cov_2187bgb6ju().s[29]++;
3243
- if ((cov_2187bgb6ju().b[27][0]++, (cov_2187bgb6ju().b[29][0]++, options === null) || (cov_2187bgb6ju().b[29][1]++, options === void 0) ? (cov_2187bgb6ju().b[28][0]++, void 0) : (cov_2187bgb6ju().b[28][1]++, options.returnDetails)) || (cov_2187bgb6ju().b[27][1]++, (cov_2187bgb6ju().b[31][0]++, options === null) || (cov_2187bgb6ju().b[31][1]++, options === void 0) ? (cov_2187bgb6ju().b[30][0]++, void 0) : (cov_2187bgb6ju().b[30][1]++, options.returnObjects))) {
3244
- cov_2187bgb6ju().b[26][0]++;
3245
- cov_2187bgb6ju().s[30]++;
2423
+ cov_2awov3utze().f[5]++;
2424
+ cov_2awov3utze().s[29]++;
2425
+ if ((cov_2awov3utze().b[11][0]++, options?.returnDetails) || (cov_2awov3utze().b[11][1]++, options?.returnObjects)) {
2426
+ cov_2awov3utze().b[10][0]++;
2427
+ cov_2awov3utze().s[30]++;
3246
2428
  throw new Error("Translation key must map to a string, but the given options will result in an object");
3247
2429
  } else {
3248
- cov_2187bgb6ju().b[26][1]++;
2430
+ cov_2awov3utze().b[10][1]++;
3249
2431
  }
3250
- const value = (cov_2187bgb6ju().s[31]++, this.i18next.t(key, options));
3251
- cov_2187bgb6ju().s[32]++;
2432
+ const value = (cov_2awov3utze().s[31]++, this.i18next.t(key, options));
2433
+ cov_2awov3utze().s[32]++;
3252
2434
  if (typeof value !== "string") {
3253
- cov_2187bgb6ju().b[32][0]++;
3254
- cov_2187bgb6ju().s[33]++;
2435
+ cov_2awov3utze().b[12][0]++;
2436
+ cov_2awov3utze().s[33]++;
3255
2437
  throw new Error("Translation key(s) string not found");
3256
2438
  } else {
3257
- cov_2187bgb6ju().b[32][1]++;
2439
+ cov_2awov3utze().b[12][1]++;
3258
2440
  }
3259
- cov_2187bgb6ju().s[34]++;
2441
+ cov_2awov3utze().s[34]++;
3260
2442
  return value;
3261
2443
  }
3262
2444
  /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
@@ -3268,23 +2450,23 @@ class ITwinLocalization {
3268
2450
  * @internal
3269
2451
  */
3270
2452
  getLocalizedStringWithNamespace(namespace, key, options) {
3271
- cov_2187bgb6ju().f[6]++;
3272
- let fullKey = (cov_2187bgb6ju().s[35]++, "");
3273
- cov_2187bgb6ju().s[36]++;
2453
+ cov_2awov3utze().f[6]++;
2454
+ let fullKey = (cov_2awov3utze().s[35]++, "");
2455
+ cov_2awov3utze().s[36]++;
3274
2456
  if (typeof key === "string") {
3275
- cov_2187bgb6ju().b[33][0]++;
3276
- cov_2187bgb6ju().s[37]++;
2457
+ cov_2awov3utze().b[13][0]++;
2458
+ cov_2awov3utze().s[37]++;
3277
2459
  fullKey = `${namespace}:${key}`;
3278
2460
  } else {
3279
- cov_2187bgb6ju().b[33][1]++;
3280
- cov_2187bgb6ju().s[38]++;
2461
+ cov_2awov3utze().b[13][1]++;
2462
+ cov_2awov3utze().s[38]++;
3281
2463
  fullKey = key.map(subKey => {
3282
- cov_2187bgb6ju().f[7]++;
3283
- cov_2187bgb6ju().s[39]++;
2464
+ cov_2awov3utze().f[7]++;
2465
+ cov_2awov3utze().s[39]++;
3284
2466
  return `${namespace}:${subKey}`;
3285
2467
  });
3286
2468
  }
3287
- cov_2187bgb6ju().s[40]++;
2469
+ cov_2awov3utze().s[40]++;
3288
2470
  return this.getLocalizedString(fullKey, options);
3289
2471
  }
3290
2472
  /** Gets the English translation.
@@ -3295,32 +2477,32 @@ class ITwinLocalization {
3295
2477
  * @internal
3296
2478
  */
3297
2479
  getEnglishString(namespace, key, options) {
3298
- cov_2187bgb6ju().f[8]++;
3299
- cov_2187bgb6ju().s[41]++;
3300
- if ((cov_2187bgb6ju().b[35][0]++, (cov_2187bgb6ju().b[37][0]++, options === null) || (cov_2187bgb6ju().b[37][1]++, options === void 0) ? (cov_2187bgb6ju().b[36][0]++, void 0) : (cov_2187bgb6ju().b[36][1]++, options.returnDetails)) || (cov_2187bgb6ju().b[35][1]++, (cov_2187bgb6ju().b[39][0]++, options === null) || (cov_2187bgb6ju().b[39][1]++, options === void 0) ? (cov_2187bgb6ju().b[38][0]++, void 0) : (cov_2187bgb6ju().b[38][1]++, options.returnObjects))) {
3301
- cov_2187bgb6ju().b[34][0]++;
3302
- cov_2187bgb6ju().s[42]++;
2480
+ cov_2awov3utze().f[8]++;
2481
+ cov_2awov3utze().s[41]++;
2482
+ if ((cov_2awov3utze().b[15][0]++, options?.returnDetails) || (cov_2awov3utze().b[15][1]++, options?.returnObjects)) {
2483
+ cov_2awov3utze().b[14][0]++;
2484
+ cov_2awov3utze().s[42]++;
3303
2485
  throw new Error("Translation key must map to a string, but the given options will result in an object");
3304
2486
  } else {
3305
- cov_2187bgb6ju().b[34][1]++;
2487
+ cov_2awov3utze().b[14][1]++;
3306
2488
  }
3307
- cov_2187bgb6ju().s[43]++;
2489
+ cov_2awov3utze().s[43]++;
3308
2490
  options = {
3309
2491
  ...options,
3310
2492
  ns: namespace // ensure namespace argument is used
3311
2493
  };
3312
2494
 
3313
- const en = (cov_2187bgb6ju().s[44]++, this.i18next.getFixedT("en", namespace));
3314
- const str = (cov_2187bgb6ju().s[45]++, en(key, options));
3315
- cov_2187bgb6ju().s[46]++;
2495
+ const en = (cov_2awov3utze().s[44]++, this.i18next.getFixedT("en", namespace));
2496
+ const str = (cov_2awov3utze().s[45]++, en(key, options));
2497
+ cov_2awov3utze().s[46]++;
3316
2498
  if (typeof str !== "string") {
3317
- cov_2187bgb6ju().b[40][0]++;
3318
- cov_2187bgb6ju().s[47]++;
2499
+ cov_2awov3utze().b[16][0]++;
2500
+ cov_2awov3utze().s[47]++;
3319
2501
  throw new Error("Translation key(s) not found");
3320
2502
  } else {
3321
- cov_2187bgb6ju().b[40][1]++;
2503
+ cov_2awov3utze().b[16][1]++;
3322
2504
  }
3323
- cov_2187bgb6ju().s[48]++;
2505
+ cov_2awov3utze().s[48]++;
3324
2506
  return str;
3325
2507
  }
3326
2508
  /** Get the promise for an already registered Namespace.
@@ -3328,20 +2510,20 @@ class ITwinLocalization {
3328
2510
  * @public
3329
2511
  */
3330
2512
  getNamespacePromise(name) {
3331
- cov_2187bgb6ju().f[9]++;
3332
- cov_2187bgb6ju().s[49]++;
2513
+ cov_2awov3utze().f[9]++;
2514
+ cov_2awov3utze().s[49]++;
3333
2515
  return this._namespaces.get(name);
3334
2516
  }
3335
2517
  /** @internal */
3336
2518
  getLanguageList() {
3337
- cov_2187bgb6ju().f[10]++;
3338
- cov_2187bgb6ju().s[50]++;
2519
+ cov_2awov3utze().f[10]++;
2520
+ cov_2awov3utze().s[50]++;
3339
2521
  return this.i18next.languages;
3340
2522
  }
3341
2523
  /** override the language detected in the browser */
3342
2524
  async changeLanguage(language) {
3343
- cov_2187bgb6ju().f[11]++;
3344
- cov_2187bgb6ju().s[51]++;
2525
+ cov_2awov3utze().f[11]++;
2526
+ cov_2awov3utze().s[51]++;
3345
2527
  return this.i18next.changeLanguage(language);
3346
2528
  }
3347
2529
  /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
@@ -3353,123 +2535,123 @@ class ITwinLocalization {
3353
2535
  * @public
3354
2536
  */
3355
2537
  async registerNamespace(name) {
3356
- cov_2187bgb6ju().f[12]++;
3357
- const existing = (cov_2187bgb6ju().s[52]++, this._namespaces.get(name));
3358
- cov_2187bgb6ju().s[53]++;
2538
+ cov_2awov3utze().f[12]++;
2539
+ const existing = (cov_2awov3utze().s[52]++, this._namespaces.get(name));
2540
+ cov_2awov3utze().s[53]++;
3359
2541
  if (existing !== undefined) {
3360
- cov_2187bgb6ju().b[41][0]++;
3361
- cov_2187bgb6ju().s[54]++;
2542
+ cov_2awov3utze().b[17][0]++;
2543
+ cov_2awov3utze().s[54]++;
3362
2544
  return existing;
3363
2545
  } else {
3364
- cov_2187bgb6ju().b[41][1]++;
2546
+ cov_2awov3utze().b[17][1]++;
3365
2547
  }
3366
- const theReadPromise = (cov_2187bgb6ju().s[55]++, new Promise(resolve => {
3367
- cov_2187bgb6ju().f[13]++;
3368
- cov_2187bgb6ju().s[56]++;
2548
+ const theReadPromise = (cov_2awov3utze().s[55]++, new Promise(resolve => {
2549
+ cov_2awov3utze().f[13]++;
2550
+ cov_2awov3utze().s[56]++;
3369
2551
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
3370
2552
  this.i18next.loadNamespaces(name, err => {
3371
- cov_2187bgb6ju().f[14]++;
3372
- cov_2187bgb6ju().s[57]++;
2553
+ cov_2awov3utze().f[14]++;
2554
+ cov_2awov3utze().s[57]++;
3373
2555
  if (!err) {
3374
- cov_2187bgb6ju().b[42][0]++;
3375
- cov_2187bgb6ju().s[58]++;
2556
+ cov_2awov3utze().b[18][0]++;
2557
+ cov_2awov3utze().s[58]++;
3376
2558
  return resolve();
3377
2559
  } else {
3378
- cov_2187bgb6ju().b[42][1]++;
2560
+ cov_2awov3utze().b[18][1]++;
3379
2561
  }
3380
2562
  // Here we got a non-null err object.
3381
2563
  // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
3382
2564
  // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
3383
2565
  // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
3384
2566
  // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.
3385
- let locales = (cov_2187bgb6ju().s[59]++, this.getLanguageList().map(thisLocale => {
3386
- cov_2187bgb6ju().f[15]++;
3387
- cov_2187bgb6ju().s[60]++;
2567
+ let locales = (cov_2awov3utze().s[59]++, this.getLanguageList().map(thisLocale => {
2568
+ cov_2awov3utze().f[15]++;
2569
+ cov_2awov3utze().s[60]++;
3388
2570
  return `/${thisLocale}/`;
3389
2571
  }));
3390
- cov_2187bgb6ju().s[61]++;
2572
+ cov_2awov3utze().s[61]++;
3391
2573
  try {
3392
- cov_2187bgb6ju().s[62]++;
2574
+ cov_2awov3utze().s[62]++;
3393
2575
  for (const thisError of err) {
3394
- cov_2187bgb6ju().s[63]++;
2576
+ cov_2awov3utze().s[63]++;
3395
2577
  if (typeof thisError === "string") {
3396
- cov_2187bgb6ju().b[43][0]++;
3397
- cov_2187bgb6ju().s[64]++;
2578
+ cov_2awov3utze().b[19][0]++;
2579
+ cov_2awov3utze().s[64]++;
3398
2580
  locales = locales.filter(thisLocale => {
3399
- cov_2187bgb6ju().f[16]++;
3400
- cov_2187bgb6ju().s[65]++;
2581
+ cov_2awov3utze().f[16]++;
2582
+ cov_2awov3utze().s[65]++;
3401
2583
  return !thisError.includes(thisLocale);
3402
2584
  });
3403
2585
  } else {
3404
- cov_2187bgb6ju().b[43][1]++;
2586
+ cov_2awov3utze().b[19][1]++;
3405
2587
  }
3406
2588
  }
3407
2589
  } catch (e) {
3408
- cov_2187bgb6ju().s[66]++;
2590
+ cov_2awov3utze().s[66]++;
3409
2591
  locales = [];
3410
2592
  }
3411
2593
  // if we removed every locale from the array, it wasn't loaded.
3412
- cov_2187bgb6ju().s[67]++;
2594
+ cov_2awov3utze().s[67]++;
3413
2595
  if (locales.length === 0) {
3414
- cov_2187bgb6ju().b[44][0]++;
3415
- cov_2187bgb6ju().s[68]++;
2596
+ cov_2awov3utze().b[20][0]++;
2597
+ cov_2awov3utze().s[68]++;
3416
2598
  core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
3417
2599
  } else {
3418
- cov_2187bgb6ju().b[44][1]++;
2600
+ cov_2awov3utze().b[20][1]++;
3419
2601
  }
3420
- cov_2187bgb6ju().s[69]++;
2602
+ cov_2awov3utze().s[69]++;
3421
2603
  resolve();
3422
2604
  });
3423
2605
  }));
3424
- cov_2187bgb6ju().s[70]++;
2606
+ cov_2awov3utze().s[70]++;
3425
2607
  this._namespaces.set(name, theReadPromise);
3426
- cov_2187bgb6ju().s[71]++;
2608
+ cov_2awov3utze().s[71]++;
3427
2609
  return theReadPromise;
3428
2610
  }
3429
2611
  /** @internal */
3430
2612
  unregisterNamespace(name) {
3431
- cov_2187bgb6ju().f[17]++;
3432
- cov_2187bgb6ju().s[72]++;
2613
+ cov_2awov3utze().f[17]++;
2614
+ cov_2awov3utze().s[72]++;
3433
2615
  this._namespaces.delete(name);
3434
2616
  }
3435
2617
  }
3436
- cov_2187bgb6ju().s[73]++;
2618
+ cov_2awov3utze().s[73]++;
3437
2619
  exports.ITwinLocalization = ITwinLocalization;
3438
2620
  class TranslationLogger {
3439
2621
  log(args) {
3440
- cov_2187bgb6ju().f[18]++;
3441
- cov_2187bgb6ju().s[74]++;
2622
+ cov_2awov3utze().f[18]++;
2623
+ cov_2awov3utze().s[74]++;
3442
2624
  core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
3443
2625
  }
3444
2626
  warn(args) {
3445
- cov_2187bgb6ju().f[19]++;
3446
- cov_2187bgb6ju().s[75]++;
2627
+ cov_2awov3utze().f[19]++;
2628
+ cov_2awov3utze().s[75]++;
3447
2629
  core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
3448
2630
  }
3449
2631
  error(args) {
3450
- cov_2187bgb6ju().f[20]++;
3451
- cov_2187bgb6ju().s[76]++;
2632
+ cov_2awov3utze().f[20]++;
2633
+ cov_2awov3utze().s[76]++;
3452
2634
  core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
3453
2635
  }
3454
2636
  createLogMessage(args) {
3455
- cov_2187bgb6ju().f[21]++;
3456
- let message = (cov_2187bgb6ju().s[77]++, args[0]);
3457
- cov_2187bgb6ju().s[78]++;
3458
- for (let i = (cov_2187bgb6ju().s[79]++, 1); i < args.length; ++i) {
3459
- cov_2187bgb6ju().s[80]++;
2637
+ cov_2awov3utze().f[21]++;
2638
+ let message = (cov_2awov3utze().s[77]++, args[0]);
2639
+ cov_2awov3utze().s[78]++;
2640
+ for (let i = (cov_2awov3utze().s[79]++, 1); i < args.length; ++i) {
2641
+ cov_2awov3utze().s[80]++;
3460
2642
  if (typeof args[i] === "string") {
3461
- cov_2187bgb6ju().b[45][0]++;
3462
- cov_2187bgb6ju().s[81]++;
2643
+ cov_2awov3utze().b[21][0]++;
2644
+ cov_2awov3utze().s[81]++;
3463
2645
  message += `\n ${args[i]}`;
3464
2646
  } else {
3465
- cov_2187bgb6ju().b[45][1]++;
2647
+ cov_2awov3utze().b[21][1]++;
3466
2648
  }
3467
2649
  }
3468
- cov_2187bgb6ju().s[82]++;
2650
+ cov_2awov3utze().s[82]++;
3469
2651
  return message;
3470
2652
  }
3471
2653
  }
3472
- cov_2187bgb6ju().s[83]++;
2654
+ cov_2awov3utze().s[83]++;
3473
2655
  TranslationLogger.type = "logger";
3474
2656
 
3475
2657
  /***/ }),
@@ -14296,8 +13478,8 @@ module.exports = getFuncName;
14296
13478
  "use strict";
14297
13479
 
14298
13480
 
14299
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js");
14300
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js");
13481
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13482
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js");
14301
13483
 
14302
13484
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14303
13485
 
@@ -14729,15 +13911,15 @@ module.exports = Browser;
14729
13911
  "use strict";
14730
13912
 
14731
13913
 
14732
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js");
14733
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js");
14734
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js");
14735
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
14736
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js");
14737
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
14738
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
14739
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js");
14740
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js");
13914
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js");
13915
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13916
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js");
13917
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13918
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js");
13919
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13920
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13921
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13922
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js");
14741
13923
 
14742
13924
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14743
13925
 
@@ -19255,7 +18437,7 @@ function assert(condition, message) {
19255
18437
  condition = condition();
19256
18438
  if (condition)
19257
18439
  return;
19258
- message = message !== null && message !== void 0 ? message : "Programmer Error";
18440
+ message = message ?? "Programmer Error";
19259
18441
  if ("string" !== typeof message)
19260
18442
  message = message();
19261
18443
  throw new Error(`Assert: ${message}`);
@@ -19604,6 +18786,8 @@ var DbResult;
19604
18786
  DbResult[DbResult["BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes"] = 352321546] = "BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes";
19605
18787
  /** Recommended that the schemas found in the database be upgraded */
19606
18788
  DbResult[DbResult["BE_SQLITE_ERROR_SchemaUpgradeRecommended"] = 369098762] = "BE_SQLITE_ERROR_SchemaUpgradeRecommended";
18789
+ /** schema update require data transform */
18790
+ DbResult[DbResult["BE_SQLITE_ERROR_DataTransformRequired"] = 385875978] = "BE_SQLITE_ERROR_DataTransformRequired";
19607
18791
  DbResult[DbResult["BE_SQLITE_LOCKED_SHAREDCACHE"] = 262] = "BE_SQLITE_LOCKED_SHAREDCACHE";
19608
18792
  DbResult[DbResult["BE_SQLITE_BUSY_RECOVERY"] = 261] = "BE_SQLITE_BUSY_RECOVERY";
19609
18793
  DbResult[DbResult["BE_SQLITE_CANTOPEN_NOTEMPDIR"] = 270] = "BE_SQLITE_CANTOPEN_NOTEMPDIR";
@@ -20124,6 +19308,7 @@ class BentleyError extends Error {
20124
19308
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SHMMAP: return "BE_SQLITE_IOERR_SHMMAP";
20125
19309
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_SEEK: return "BE_SQLITE_IOERR_SEEK";
20126
19310
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_IOERR_DELETE_NOENT: return "BE_SQLITE_IOERR_DELETE_NOENT";
19311
+ case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_DataTransformRequired: return "Schema update require to transform data";
20127
19312
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_FileExists: return "File Exists";
20128
19313
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_AlreadyOpen: return "Already Open";
20129
19314
  case _BeSQLite__WEBPACK_IMPORTED_MODULE_0__.DbResult.BE_SQLITE_ERROR_NoPropertyTable: return "No Property Table";
@@ -20977,7 +20162,7 @@ var CompressedId64Set;
20977
20162
  * @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
20978
20163
  */
20979
20164
  function decompressSet(compressedIds, out) {
20980
- const set = out !== null && out !== void 0 ? out : new Set();
20165
+ const set = out ?? new Set();
20981
20166
  for (const id of iterable(compressedIds))
20982
20167
  set.add(id);
20983
20168
  return set;
@@ -20994,7 +20179,7 @@ var CompressedId64Set;
20994
20179
  * @see [[CompressedId64Set.iterable]] to efficiently iterate the Ids.
20995
20180
  */
20996
20181
  function decompressArray(compressedIds, out) {
20997
- const arr = out !== null && out !== void 0 ? out : [];
20182
+ const arr = out ?? [];
20998
20183
  for (const id of iterable(compressedIds))
20999
20184
  arr.push(id);
21000
20185
  return arr;
@@ -21026,7 +20211,7 @@ class MutableCompressedId64Set {
21026
20211
  constructor(ids) {
21027
20212
  this._inserted = new OrderedId64Array();
21028
20213
  this._deleted = new OrderedId64Array();
21029
- this._ids = ids !== null && ids !== void 0 ? ids : "";
20214
+ this._ids = ids ?? "";
21030
20215
  }
21031
20216
  /** Obtain the compact string representation of the contents of this set. If any insertions or removals are pending, they will be applied and the string recomputed. */
21032
20217
  get ids() {
@@ -21060,7 +20245,7 @@ class MutableCompressedId64Set {
21060
20245
  /** Remove all Ids from the set, then add the specified Ids. */
21061
20246
  reset(ids) {
21062
20247
  this.clear();
21063
- this._ids = ids !== null && ids !== void 0 ? ids : "";
20248
+ this._ids = ids ?? "";
21064
20249
  }
21065
20250
  /** Obtain an iterator over the Ids in this set. The Ids are returned in ascending order based on their unsigned 64-bit integer values. */
21066
20251
  [Symbol.iterator]() {
@@ -22834,17 +22019,15 @@ class Logger {
22834
22019
  }
22835
22020
  /** Set the least severe level at which messages should be displayed by default. Call setLevel to override this default setting for specific categories. */
22836
22021
  static setLevelDefault(minLevel) {
22837
- var _a;
22838
22022
  this._minLevel = minLevel;
22839
- (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
22023
+ this.logLevelChangedFn?.();
22840
22024
  }
22841
22025
  /** Set the minimum logging level for the specified category. The minimum level is least severe level at which messages in the
22842
22026
  * specified category should be displayed.
22843
22027
  */
22844
22028
  static setLevel(category, minLevel) {
22845
- var _a;
22846
22029
  Logger._categoryFilter.set(category, minLevel);
22847
- (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
22030
+ this.logLevelChangedFn?.();
22848
22031
  }
22849
22032
  /** Interpret a string as the name of a LogLevel */
22850
22033
  static parseLogLevel(str) {
@@ -23134,7 +22317,7 @@ class PromiseWithAbandon {
23134
22317
  /** Create a Promise that is chained to the underlying Promise, but is connected to the abandon method. */
23135
22318
  async init(msg) {
23136
22319
  return new Promise((resolve, reject) => {
23137
- this.abandon = (message) => reject(new AbandonedError(message !== null && message !== void 0 ? message : msg));
22320
+ this.abandon = (message) => reject(new AbandonedError(message ?? msg));
23138
22321
  this._resolve = resolve;
23139
22322
  });
23140
22323
  }
@@ -24971,17 +24154,16 @@ class Tracing {
24971
24154
  ? Tracing._openTelemetry.context.active()
24972
24155
  : Tracing._openTelemetry.trace.setSpanContext(Tracing._openTelemetry.context.active(), parentContext);
24973
24156
  return Tracing._openTelemetry.context.with(Tracing._openTelemetry.trace.setSpan(parent, Tracing._tracer.startSpan(name, options, Tracing._openTelemetry.context.active())), async () => {
24974
- var _a, _b, _c, _d;
24975
24157
  try {
24976
24158
  return await fn();
24977
24159
  }
24978
24160
  catch (err) {
24979
24161
  if (err instanceof Error) // ignore non-Error throws, such as RpcControlResponse
24980
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttribute("error", true);
24162
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttribute("error", true);
24981
24163
  throw err;
24982
24164
  }
24983
24165
  finally {
24984
- (_d = (_c = Tracing._openTelemetry) === null || _c === void 0 ? void 0 : _c.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _d === void 0 ? void 0 : _d.end();
24166
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.end();
24985
24167
  }
24986
24168
  });
24987
24169
  }
@@ -25000,9 +24182,8 @@ class Tracing {
25000
24182
  }
25001
24183
  static withOpenTelemetry(base, isError = false) {
25002
24184
  return (category, message, metaData) => {
25003
- var _a, _b;
25004
24185
  try {
25005
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
24186
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
25006
24187
  }
25007
24188
  catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
25008
24189
  base(category, message, metaData);
@@ -25012,8 +24193,7 @@ class Tracing {
25012
24193
  * @param attributes The attributes to set
25013
24194
  */
25014
24195
  static setAttributes(attributes) {
25015
- var _a, _b;
25016
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttributes(attributes);
24196
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttributes(attributes);
25017
24197
  }
25018
24198
  }
25019
24199
 
@@ -25174,10 +24354,9 @@ __webpack_require__.r(__webpack_exports__);
25174
24354
  class TypedArrayBuilder {
25175
24355
  /** Constructs a new builder from the specified options, with a [[length]] of zero. */
25176
24356
  constructor(constructor, options) {
25177
- var _a, _b;
25178
24357
  this._constructor = constructor;
25179
- this._data = new constructor((_a = options === null || options === void 0 ? void 0 : options.initialCapacity) !== null && _a !== void 0 ? _a : 0);
25180
- this.growthFactor = Math.max(1.0, (_b = options === null || options === void 0 ? void 0 : options.growthFactor) !== null && _b !== void 0 ? _b : 1.5);
24358
+ this._data = new constructor(options?.initialCapacity ?? 0);
24359
+ this.growthFactor = Math.max(1.0, options?.growthFactor ?? 1.5);
25181
24360
  this._length = 0;
25182
24361
  }
25183
24362
  /** The number of elements currently in the array. */
@@ -25305,8 +24484,7 @@ class Uint32ArrayBuilder extends TypedArrayBuilder {
25305
24484
  */
25306
24485
  class UintArrayBuilder extends TypedArrayBuilder {
25307
24486
  constructor(options) {
25308
- var _a;
25309
- super((_a = options === null || options === void 0 ? void 0 : options.initialType) !== null && _a !== void 0 ? _a : Uint8Array, options);
24487
+ super(options?.initialType ?? Uint8Array, options);
25310
24488
  }
25311
24489
  /** The number of bytes (1, 2, or 4) currently allocated per element by the underlying array.
25312
24490
  * This may change as larger values are added to the array.
@@ -25809,10 +24987,10 @@ function partitionArray(array, criterion) {
25809
24987
 
25810
24988
  /***/ }),
25811
24989
 
25812
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
25813
- /*!***************************************************************************************************************************!*\
25814
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
25815
- \***************************************************************************************************************************/
24990
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24991
+ /*!**************************************************************************************************************************!*\
24992
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24993
+ \**************************************************************************************************************************/
25816
24994
  /***/ ((module) => {
25817
24995
 
25818
24996
  function _arrayLikeToArray(arr, len) {
@@ -25824,10 +25002,10 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
25824
25002
 
25825
25003
  /***/ }),
25826
25004
 
25827
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25828
- /*!*************************************************************************************************************************!*\
25829
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25830
- \*************************************************************************************************************************/
25005
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25006
+ /*!************************************************************************************************************************!*\
25007
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25008
+ \************************************************************************************************************************/
25831
25009
  /***/ ((module) => {
25832
25010
 
25833
25011
  function _arrayWithHoles(arr) {
@@ -25837,10 +25015,10 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
25837
25015
 
25838
25016
  /***/ }),
25839
25017
 
25840
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25841
- /*!********************************************************************************************************************************!*\
25842
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25843
- \********************************************************************************************************************************/
25018
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25019
+ /*!*******************************************************************************************************************************!*\
25020
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25021
+ \*******************************************************************************************************************************/
25844
25022
  /***/ ((module) => {
25845
25023
 
25846
25024
  function _assertThisInitialized(self) {
@@ -25853,10 +25031,10 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
25853
25031
 
25854
25032
  /***/ }),
25855
25033
 
25856
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js":
25857
- /*!*************************************************************************************************************************!*\
25858
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25859
- \*************************************************************************************************************************/
25034
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
25035
+ /*!************************************************************************************************************************!*\
25036
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25037
+ \************************************************************************************************************************/
25860
25038
  /***/ ((module) => {
25861
25039
 
25862
25040
  function _classCallCheck(instance, Constructor) {
@@ -25868,13 +25046,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
25868
25046
 
25869
25047
  /***/ }),
25870
25048
 
25871
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js":
25872
- /*!**********************************************************************************************************************!*\
25873
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/createClass.js ***!
25874
- \**********************************************************************************************************************/
25049
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js":
25050
+ /*!*********************************************************************************************************************!*\
25051
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/createClass.js ***!
25052
+ \*********************************************************************************************************************/
25875
25053
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25876
25054
 
25877
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25055
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25878
25056
  function _defineProperties(target, props) {
25879
25057
  for (var i = 0; i < props.length; i++) {
25880
25058
  var descriptor = props[i];
@@ -25896,13 +25074,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
25896
25074
 
25897
25075
  /***/ }),
25898
25076
 
25899
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js":
25900
- /*!*************************************************************************************************************************!*\
25901
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25902
- \*************************************************************************************************************************/
25077
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js":
25078
+ /*!************************************************************************************************************************!*\
25079
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25080
+ \************************************************************************************************************************/
25903
25081
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25904
25082
 
25905
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25083
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25906
25084
  function _defineProperty(obj, key, value) {
25907
25085
  key = toPropertyKey(key);
25908
25086
  if (key in obj) {
@@ -25921,10 +25099,10 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
25921
25099
 
25922
25100
  /***/ }),
25923
25101
 
25924
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25925
- /*!*************************************************************************************************************************!*\
25926
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25927
- \*************************************************************************************************************************/
25102
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25103
+ /*!************************************************************************************************************************!*\
25104
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25105
+ \************************************************************************************************************************/
25928
25106
  /***/ ((module) => {
25929
25107
 
25930
25108
  function _getPrototypeOf(o) {
@@ -25937,13 +25115,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
25937
25115
 
25938
25116
  /***/ }),
25939
25117
 
25940
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js":
25941
- /*!*******************************************************************************************************************!*\
25942
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/inherits.js ***!
25943
- \*******************************************************************************************************************/
25118
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js":
25119
+ /*!******************************************************************************************************************!*\
25120
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/inherits.js ***!
25121
+ \******************************************************************************************************************/
25944
25122
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25945
25123
 
25946
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25124
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25947
25125
  function _inherits(subClass, superClass) {
25948
25126
  if (typeof superClass !== "function" && superClass !== null) {
25949
25127
  throw new TypeError("Super expression must either be null or a function");
@@ -25964,10 +25142,10 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
25964
25142
 
25965
25143
  /***/ }),
25966
25144
 
25967
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js":
25968
- /*!**************************************************************************************************************************!*\
25969
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25970
- \**************************************************************************************************************************/
25145
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
25146
+ /*!*************************************************************************************************************************!*\
25147
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25148
+ \*************************************************************************************************************************/
25971
25149
  /***/ ((module) => {
25972
25150
 
25973
25151
  function _iterableToArray(iter) {
@@ -25977,10 +25155,10 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
25977
25155
 
25978
25156
  /***/ }),
25979
25157
 
25980
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25981
- /*!**************************************************************************************************************************!*\
25982
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25983
- \**************************************************************************************************************************/
25158
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25159
+ /*!*************************************************************************************************************************!*\
25160
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25161
+ \*************************************************************************************************************************/
25984
25162
  /***/ ((module) => {
25985
25163
 
25986
25164
  function _nonIterableRest() {
@@ -25990,14 +25168,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25990
25168
 
25991
25169
  /***/ }),
25992
25170
 
25993
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25994
- /*!************************************************************************************************************************************!*\
25995
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25996
- \************************************************************************************************************************************/
25171
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25172
+ /*!***********************************************************************************************************************************!*\
25173
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25174
+ \***********************************************************************************************************************************/
25997
25175
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25998
25176
 
25999
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
26000
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25177
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25178
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
26001
25179
  function _possibleConstructorReturn(self, call) {
26002
25180
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
26003
25181
  return call;
@@ -26010,10 +25188,10 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
26010
25188
 
26011
25189
  /***/ }),
26012
25190
 
26013
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
26014
- /*!*************************************************************************************************************************!*\
26015
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
26016
- \*************************************************************************************************************************/
25191
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25192
+ /*!************************************************************************************************************************!*\
25193
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25194
+ \************************************************************************************************************************/
26017
25195
  /***/ ((module) => {
26018
25196
 
26019
25197
  function _setPrototypeOf(o, p) {
@@ -26027,16 +25205,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
26027
25205
 
26028
25206
  /***/ }),
26029
25207
 
26030
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js":
26031
- /*!******************************************************************************************************************!*\
26032
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toArray.js ***!
26033
- \******************************************************************************************************************/
25208
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js":
25209
+ /*!*****************************************************************************************************************!*\
25210
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25211
+ \*****************************************************************************************************************/
26034
25212
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26035
25213
 
26036
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
26037
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/iterableToArray.js");
26038
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
26039
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25214
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25215
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25216
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25217
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
26040
25218
  function _toArray(arr) {
26041
25219
  return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
26042
25220
  }
@@ -26044,13 +25222,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
26044
25222
 
26045
25223
  /***/ }),
26046
25224
 
26047
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js":
26048
- /*!**********************************************************************************************************************!*\
26049
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
26050
- \**********************************************************************************************************************/
25225
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25226
+ /*!*********************************************************************************************************************!*\
25227
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25228
+ \*********************************************************************************************************************/
26051
25229
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26052
25230
 
26053
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25231
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
26054
25232
  function _toPrimitive(input, hint) {
26055
25233
  if (_typeof(input) !== "object" || input === null) return input;
26056
25234
  var prim = input[Symbol.toPrimitive];
@@ -26065,14 +25243,14 @@ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports[
26065
25243
 
26066
25244
  /***/ }),
26067
25245
 
26068
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js":
26069
- /*!************************************************************************************************************************!*\
26070
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
26071
- \************************************************************************************************************************/
25246
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25247
+ /*!***********************************************************************************************************************!*\
25248
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25249
+ \***********************************************************************************************************************/
26072
25250
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26073
25251
 
26074
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
26075
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/toPrimitive.js");
25252
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25253
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
26076
25254
  function _toPropertyKey(arg) {
26077
25255
  var key = toPrimitive(arg, "string");
26078
25256
  return _typeof(key) === "symbol" ? key : String(key);
@@ -26081,10 +25259,10 @@ module.exports = _toPropertyKey, module.exports.__esModule = true, module.export
26081
25259
 
26082
25260
  /***/ }),
26083
25261
 
26084
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js":
26085
- /*!*****************************************************************************************************************!*\
26086
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/typeof.js ***!
26087
- \*****************************************************************************************************************/
25262
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js":
25263
+ /*!****************************************************************************************************************!*\
25264
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25265
+ \****************************************************************************************************************/
26088
25266
  /***/ ((module) => {
26089
25267
 
26090
25268
  function _typeof(obj) {
@@ -26100,13 +25278,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
26100
25278
 
26101
25279
  /***/ }),
26102
25280
 
26103
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
26104
- /*!*************************************************************************************************************************************!*\
26105
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
26106
- \*************************************************************************************************************************************/
25281
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25282
+ /*!************************************************************************************************************************************!*\
25283
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25284
+ \************************************************************************************************************************************/
26107
25285
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26108
25286
 
26109
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25287
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.21.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
26110
25288
  function _unsupportedIterableToArray(o, minLen) {
26111
25289
  if (!o) return;
26112
25290
  if (typeof o === "string") return arrayLikeToArray(o, minLen);
@@ -26682,17 +25860,15 @@ describe("ITwinLocalization", () => {
26682
25860
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, undefined);
26683
25861
  });
26684
25862
  it("initialize with single namespace", async () => {
26685
- var _a;
26686
25863
  await itwinLocalization.initialize(["Test"]);
26687
25864
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Test");
26688
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Test"));
25865
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
26689
25866
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
26690
25867
  });
26691
25868
  it("initialize with two namespaces recognizes both namespaces", async () => {
26692
- var _a, _b;
26693
25869
  await itwinLocalization.initialize(["Default", "Test"]);
26694
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
26695
- chai_1.assert.isTrue((_b = itwinLocalization.i18next.options.ns) === null || _b === void 0 ? void 0 : _b.includes("Test"));
25870
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
25871
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Test"));
26696
25872
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
26697
25873
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Test:FirstTrivial"), "First level string (test)");
26698
25874
  });
@@ -26702,10 +25878,9 @@ describe("ITwinLocalization", () => {
26702
25878
  chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
26703
25879
  });
26704
25880
  it("initialize with duplicate namespace values does not break anything", async () => {
26705
- var _a;
26706
25881
  await itwinLocalization.initialize(["Default", "Default"]);
26707
25882
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
26708
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
25883
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
26709
25884
  chai_1.assert.equal(itwinLocalization.getLocalizedString("FirstTrivial"), "First level string (default)");
26710
25885
  chai_1.assert.equal(itwinLocalization.getLocalizedString("Default:FirstTrivial"), "First level string (default)");
26711
25886
  });
@@ -26731,14 +25906,12 @@ describe("ITwinLocalization", () => {
26731
25906
  chai_1.assert.equal(itwinLocalization.i18next.options.defaultNS, "Default");
26732
25907
  });
26733
25908
  it("default namespace is in list of all namespaces initalized with empty array", async () => {
26734
- var _a;
26735
25909
  await itwinLocalization.initialize([]);
26736
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
25910
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
26737
25911
  });
26738
25912
  it("default namespace is in list of all namespaces", async () => {
26739
- var _a;
26740
25913
  await itwinLocalization.initialize(["Test"]);
26741
- chai_1.assert.isTrue((_a = itwinLocalization.i18next.options.ns) === null || _a === void 0 ? void 0 : _a.includes("Default"));
25914
+ chai_1.assert.isTrue(itwinLocalization.i18next.options.ns?.includes("Default"));
26742
25915
  });
26743
25916
  });
26744
25917
  });