@itwin/core-i18n 5.0.0-dev.6 → 5.0.0-dev.62

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_2l9mmpbx71() {
21
- var path = "D:\\vsts_a\\4\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "0adce4b58c455e3eeb519a164fd78fbe91c31815";
20
+ function cov_ogldeftyv() {
21
+ var path = "C:\\agent\\_work\\1\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
+ var hash = "dc42415b822dd4de30f4e9da695d0e05d9c36eef";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
26
- path: "D:\\vsts_a\\4\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
26
+ path: "C:\\agent\\_work\\1\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
27
27
  statementMap: {
28
28
  "0": {
29
29
  start: {
@@ -117,753 +117,693 @@ function cov_2l9mmpbx71() {
117
117
  },
118
118
  "9": {
119
119
  start: {
120
- line: 25,
121
- column: 8
120
+ line: 28,
121
+ column: 18
122
122
  },
123
123
  end: {
124
- line: 25,
125
- column: 37
124
+ line: 28,
125
+ column: 27
126
126
  }
127
127
  },
128
128
  "10": {
129
129
  start: {
130
- line: 26,
130
+ line: 30,
131
131
  column: 8
132
132
  },
133
133
  end: {
134
- line: 26,
134
+ line: 30,
135
135
  column: 58
136
136
  }
137
137
  },
138
138
  "11": {
139
139
  start: {
140
- line: 27,
140
+ line: 31,
141
141
  column: 8
142
142
  },
143
143
  end: {
144
- line: 31,
144
+ line: 35,
145
145
  column: 10
146
146
  }
147
147
  },
148
148
  "12": {
149
149
  start: {
150
- line: 32,
150
+ line: 36,
151
151
  column: 8
152
152
  },
153
153
  end: {
154
- line: 37,
154
+ line: 41,
155
155
  column: 10
156
156
  }
157
157
  },
158
158
  "13": {
159
159
  start: {
160
- line: 38,
160
+ line: 42,
161
161
  column: 8
162
162
  },
163
163
  end: {
164
- line: 45,
164
+ line: 49,
165
165
  column: 10
166
166
  }
167
167
  },
168
168
  "14": {
169
169
  start: {
170
- line: 46,
170
+ line: 50,
171
171
  column: 8
172
172
  },
173
173
  end: {
174
- line: 49,
174
+ line: 53,
175
175
  column: 36
176
176
  }
177
177
  },
178
178
  "15": {
179
179
  start: {
180
- line: 53,
180
+ line: 57,
181
181
  column: 31
182
182
  },
183
183
  end: {
184
- line: 53,
184
+ line: 57,
185
185
  column: 66
186
186
  }
187
187
  },
188
188
  "16": {
189
189
  start: {
190
- line: 54,
190
+ line: 58,
191
191
  column: 35
192
192
  },
193
193
  end: {
194
- line: 54,
194
+ line: 58,
195
195
  column: 78
196
196
  }
197
197
  },
198
198
  "17": {
199
199
  start: {
200
- line: 55,
200
+ line: 59,
201
201
  column: 33
202
202
  },
203
203
  end: {
204
- line: 55,
204
+ line: 59,
205
205
  column: 77
206
206
  }
207
207
  },
208
208
  "18": {
209
209
  start: {
210
- line: 56,
210
+ line: 60,
211
211
  column: 8
212
212
  },
213
213
  end: {
214
- line: 57,
214
+ line: 61,
215
215
  column: 53
216
216
  }
217
217
  },
218
218
  "19": {
219
219
  start: {
220
- line: 57,
220
+ line: 61,
221
221
  column: 12
222
222
  },
223
223
  end: {
224
- line: 57,
224
+ line: 61,
225
225
  column: 53
226
226
  }
227
227
  },
228
228
  "20": {
229
229
  start: {
230
- line: 58,
230
+ line: 62,
231
231
  column: 28
232
232
  },
233
233
  end: {
234
- line: 62,
234
+ line: 66,
235
235
  column: 9
236
236
  }
237
237
  },
238
238
  "21": {
239
239
  start: {
240
- line: 64,
240
+ line: 68,
241
241
  column: 8
242
242
  },
243
243
  end: {
244
- line: 65,
244
+ line: 69,
245
245
  column: 37
246
246
  }
247
247
  },
248
248
  "22": {
249
249
  start: {
250
- line: 65,
250
+ line: 69,
251
251
  column: 12
252
252
  },
253
253
  end: {
254
- line: 65,
254
+ line: 69,
255
255
  column: 37
256
256
  }
257
257
  },
258
258
  "23": {
259
259
  start: {
260
- line: 66,
260
+ line: 70,
261
261
  column: 28
262
262
  },
263
263
  end: {
264
- line: 66,
264
+ line: 70,
265
265
  column: 58
266
266
  }
267
267
  },
268
268
  "24": {
269
269
  start: {
270
- line: 67,
270
+ line: 71,
271
271
  column: 8
272
272
  },
273
273
  end: {
274
- line: 68,
274
+ line: 72,
275
275
  column: 50
276
276
  }
277
277
  },
278
278
  "25": {
279
279
  start: {
280
- line: 68,
280
+ line: 72,
281
281
  column: 12
282
282
  },
283
283
  end: {
284
- line: 68,
284
+ line: 72,
285
285
  column: 50
286
286
  }
287
287
  },
288
288
  "26": {
289
289
  start: {
290
- line: 69,
290
+ line: 73,
291
291
  column: 8
292
292
  },
293
293
  end: {
294
- line: 69,
294
+ line: 73,
295
295
  column: 27
296
296
  }
297
297
  },
298
298
  "27": {
299
299
  start: {
300
- line: 88,
300
+ line: 92,
301
301
  column: 8
302
302
  },
303
303
  end: {
304
- line: 88,
304
+ line: 92,
305
305
  column: 91
306
306
  }
307
307
  },
308
308
  "28": {
309
309
  start: {
310
- line: 88,
310
+ line: 92,
311
311
  column: 61
312
312
  },
313
313
  end: {
314
- line: 88,
314
+ line: 92,
315
315
  column: 89
316
316
  }
317
317
  },
318
318
  "29": {
319
319
  start: {
320
- line: 104,
320
+ line: 108,
321
321
  column: 8
322
322
  },
323
323
  end: {
324
- line: 106,
324
+ line: 110,
325
325
  column: 9
326
326
  }
327
327
  },
328
328
  "30": {
329
329
  start: {
330
- line: 105,
330
+ line: 109,
331
331
  column: 12
332
332
  },
333
333
  end: {
334
- line: 105,
334
+ line: 109,
335
335
  column: 116
336
336
  }
337
337
  },
338
338
  "31": {
339
339
  start: {
340
- line: 107,
340
+ line: 111,
341
341
  column: 22
342
342
  },
343
343
  end: {
344
- line: 107,
344
+ line: 111,
345
345
  column: 50
346
346
  }
347
347
  },
348
348
  "32": {
349
349
  start: {
350
- line: 108,
350
+ line: 112,
351
351
  column: 8
352
352
  },
353
353
  end: {
354
- line: 110,
354
+ line: 114,
355
355
  column: 9
356
356
  }
357
357
  },
358
358
  "33": {
359
359
  start: {
360
- line: 109,
360
+ line: 113,
361
361
  column: 12
362
362
  },
363
363
  end: {
364
- line: 109,
364
+ line: 113,
365
365
  column: 67
366
366
  }
367
367
  },
368
368
  "34": {
369
369
  start: {
370
- line: 111,
370
+ line: 115,
371
371
  column: 8
372
372
  },
373
373
  end: {
374
- line: 111,
374
+ line: 115,
375
375
  column: 21
376
376
  }
377
377
  },
378
378
  "35": {
379
379
  start: {
380
- line: 122,
381
- column: 22
382
- },
383
- end: {
384
- line: 122,
385
- column: 24
386
- }
387
- },
388
- "36": {
389
- start: {
390
- line: 123,
380
+ line: 125,
391
381
  column: 8
392
382
  },
393
383
  end: {
394
- line: 130,
395
- column: 9
396
- }
397
- },
398
- "37": {
399
- start: {
400
- line: 124,
401
- column: 12
402
- },
403
- end: {
404
- line: 124,
405
- column: 44
406
- }
407
- },
408
- "38": {
409
- start: {
410
384
  line: 127,
411
- column: 12
412
- },
413
- end: {
414
- line: 129,
415
- column: 15
416
- }
417
- },
418
- "39": {
419
- start: {
420
- line: 128,
421
- column: 16
422
- },
423
- end: {
424
- line: 128,
425
- column: 48
426
- }
427
- },
428
- "40": {
429
- start: {
430
- line: 131,
431
- column: 8
432
- },
433
- end: {
434
- line: 131,
435
- column: 57
436
- }
437
- },
438
- "41": {
439
- start: {
440
- line: 141,
441
- column: 8
442
- },
443
- end: {
444
- line: 143,
445
385
  column: 9
446
386
  }
447
387
  },
448
- "42": {
388
+ "36": {
449
389
  start: {
450
- line: 142,
390
+ line: 126,
451
391
  column: 12
452
392
  },
453
393
  end: {
454
- line: 142,
394
+ line: 126,
455
395
  column: 116
456
396
  }
457
397
  },
458
- "43": {
398
+ "37": {
459
399
  start: {
460
- line: 144,
400
+ line: 128,
461
401
  column: 8
462
402
  },
463
403
  end: {
464
- line: 147,
404
+ line: 131,
465
405
  column: 10
466
406
  }
467
407
  },
468
- "44": {
408
+ "38": {
469
409
  start: {
470
- line: 148,
410
+ line: 132,
471
411
  column: 19
472
412
  },
473
413
  end: {
474
- line: 148,
414
+ line: 132,
475
415
  column: 58
476
416
  }
477
417
  },
478
- "45": {
418
+ "39": {
479
419
  start: {
480
- line: 149,
420
+ line: 133,
481
421
  column: 20
482
422
  },
483
423
  end: {
484
- line: 149,
424
+ line: 133,
485
425
  column: 36
486
426
  }
487
427
  },
488
- "46": {
428
+ "40": {
489
429
  start: {
490
- line: 150,
430
+ line: 134,
491
431
  column: 8
492
432
  },
493
433
  end: {
494
- line: 151,
434
+ line: 135,
495
435
  column: 60
496
436
  }
497
437
  },
498
- "47": {
438
+ "41": {
499
439
  start: {
500
- line: 151,
440
+ line: 135,
501
441
  column: 12
502
442
  },
503
443
  end: {
504
- line: 151,
444
+ line: 135,
505
445
  column: 60
506
446
  }
507
447
  },
508
- "48": {
448
+ "42": {
509
449
  start: {
510
- line: 152,
450
+ line: 136,
511
451
  column: 8
512
452
  },
513
453
  end: {
514
- line: 152,
454
+ line: 136,
515
455
  column: 19
516
456
  }
517
457
  },
518
- "49": {
458
+ "43": {
519
459
  start: {
520
- line: 159,
460
+ line: 143,
521
461
  column: 8
522
462
  },
523
463
  end: {
524
- line: 159,
464
+ line: 143,
525
465
  column: 42
526
466
  }
527
467
  },
528
- "50": {
468
+ "44": {
529
469
  start: {
530
- line: 163,
470
+ line: 147,
531
471
  column: 8
532
472
  },
533
473
  end: {
534
- line: 163,
474
+ line: 147,
535
475
  column: 38
536
476
  }
537
477
  },
538
- "51": {
478
+ "45": {
539
479
  start: {
540
- line: 167,
480
+ line: 151,
541
481
  column: 8
542
482
  },
543
483
  end: {
544
- line: 167,
484
+ line: 151,
545
485
  column: 53
546
486
  }
547
487
  },
548
- "52": {
488
+ "46": {
549
489
  start: {
550
- line: 178,
490
+ line: 162,
551
491
  column: 25
552
492
  },
553
493
  end: {
554
- line: 178,
494
+ line: 162,
555
495
  column: 51
556
496
  }
557
497
  },
558
- "53": {
498
+ "47": {
559
499
  start: {
560
- line: 179,
500
+ line: 163,
561
501
  column: 8
562
502
  },
563
503
  end: {
564
- line: 180,
504
+ line: 164,
565
505
  column: 28
566
506
  }
567
507
  },
568
- "54": {
508
+ "48": {
569
509
  start: {
570
- line: 180,
510
+ line: 164,
571
511
  column: 12
572
512
  },
573
513
  end: {
574
- line: 180,
514
+ line: 164,
575
515
  column: 28
576
516
  }
577
517
  },
578
- "55": {
518
+ "49": {
579
519
  start: {
580
- line: 181,
520
+ line: 165,
581
521
  column: 31
582
522
  },
583
523
  end: {
584
- line: 206,
524
+ line: 190,
585
525
  column: 10
586
526
  }
587
527
  },
588
- "56": {
528
+ "50": {
589
529
  start: {
590
- line: 183,
530
+ line: 167,
591
531
  column: 12
592
532
  },
593
533
  end: {
594
- line: 205,
534
+ line: 189,
595
535
  column: 15
596
536
  }
597
537
  },
598
- "57": {
538
+ "51": {
599
539
  start: {
600
- line: 184,
540
+ line: 168,
601
541
  column: 16
602
542
  },
603
543
  end: {
604
- line: 185,
544
+ line: 169,
605
545
  column: 37
606
546
  }
607
547
  },
608
- "58": {
548
+ "52": {
609
549
  start: {
610
- line: 185,
550
+ line: 169,
611
551
  column: 20
612
552
  },
613
553
  end: {
614
- line: 185,
554
+ line: 169,
615
555
  column: 37
616
556
  }
617
557
  },
618
- "59": {
558
+ "53": {
619
559
  start: {
620
- line: 191,
560
+ line: 175,
621
561
  column: 30
622
562
  },
623
563
  end: {
624
- line: 191,
564
+ line: 175,
625
565
  column: 91
626
566
  }
627
567
  },
628
- "60": {
568
+ "54": {
629
569
  start: {
630
- line: 191,
570
+ line: 175,
631
571
  column: 73
632
572
  },
633
573
  end: {
634
- line: 191,
574
+ line: 175,
635
575
  column: 90
636
576
  }
637
577
  },
638
- "61": {
578
+ "55": {
639
579
  start: {
640
- line: 192,
580
+ line: 176,
641
581
  column: 16
642
582
  },
643
583
  end: {
644
- line: 200,
584
+ line: 184,
645
585
  column: 17
646
586
  }
647
587
  },
648
- "62": {
588
+ "56": {
649
589
  start: {
650
- line: 193,
590
+ line: 177,
651
591
  column: 20
652
592
  },
653
593
  end: {
654
- line: 196,
594
+ line: 180,
655
595
  column: 21
656
596
  }
657
597
  },
658
- "63": {
598
+ "57": {
659
599
  start: {
660
- line: 194,
600
+ line: 178,
661
601
  column: 24
662
602
  },
663
603
  end: {
664
- line: 195,
604
+ line: 179,
665
605
  column: 102
666
606
  }
667
607
  },
668
- "64": {
608
+ "58": {
669
609
  start: {
670
- line: 195,
610
+ line: 179,
671
611
  column: 28
672
612
  },
673
613
  end: {
674
- line: 195,
614
+ line: 179,
675
615
  column: 102
676
616
  }
677
617
  },
678
- "65": {
618
+ "59": {
679
619
  start: {
680
- line: 195,
620
+ line: 179,
681
621
  column: 69
682
622
  },
683
623
  end: {
684
- line: 195,
624
+ line: 179,
685
625
  column: 100
686
626
  }
687
627
  },
688
- "66": {
628
+ "60": {
689
629
  start: {
690
- line: 199,
630
+ line: 183,
691
631
  column: 20
692
632
  },
693
633
  end: {
694
- line: 199,
634
+ line: 183,
695
635
  column: 33
696
636
  }
697
637
  },
698
- "67": {
638
+ "61": {
699
639
  start: {
700
- line: 202,
640
+ line: 186,
701
641
  column: 16
702
642
  },
703
643
  end: {
704
- line: 203,
644
+ line: 187,
705
645
  column: 113
706
646
  }
707
647
  },
708
- "68": {
648
+ "62": {
709
649
  start: {
710
- line: 203,
650
+ line: 187,
711
651
  column: 20
712
652
  },
713
653
  end: {
714
- line: 203,
654
+ line: 187,
715
655
  column: 113
716
656
  }
717
657
  },
718
- "69": {
658
+ "63": {
719
659
  start: {
720
- line: 204,
660
+ line: 188,
721
661
  column: 16
722
662
  },
723
663
  end: {
724
- line: 204,
664
+ line: 188,
725
665
  column: 26
726
666
  }
727
667
  },
728
- "70": {
668
+ "64": {
729
669
  start: {
730
- line: 207,
670
+ line: 191,
731
671
  column: 8
732
672
  },
733
673
  end: {
734
- line: 207,
674
+ line: 191,
735
675
  column: 51
736
676
  }
737
677
  },
738
- "71": {
678
+ "65": {
739
679
  start: {
740
- line: 208,
680
+ line: 192,
741
681
  column: 8
742
682
  },
743
683
  end: {
744
- line: 208,
684
+ line: 192,
745
685
  column: 30
746
686
  }
747
687
  },
748
- "72": {
688
+ "66": {
749
689
  start: {
750
- line: 212,
690
+ line: 196,
751
691
  column: 8
752
692
  },
753
693
  end: {
754
- line: 212,
694
+ line: 196,
755
695
  column: 38
756
696
  }
757
697
  },
758
- "73": {
698
+ "67": {
759
699
  start: {
760
- line: 215,
700
+ line: 199,
761
701
  column: 0
762
702
  },
763
703
  end: {
764
- line: 215,
704
+ line: 199,
765
705
  column: 46
766
706
  }
767
707
  },
768
- "74": {
708
+ "68": {
769
709
  start: {
770
- line: 217,
710
+ line: 201,
711
+ column: 18
712
+ },
713
+ end: {
714
+ line: 201,
715
+ column: 26
716
+ }
717
+ },
718
+ "69": {
719
+ start: {
720
+ line: 202,
771
721
  column: 16
772
722
  },
773
723
  end: {
774
- line: 217,
724
+ line: 202,
775
725
  column: 83
776
726
  }
777
727
  },
778
- "75": {
728
+ "70": {
779
729
  start: {
780
- line: 218,
730
+ line: 203,
781
731
  column: 17
782
732
  },
783
733
  end: {
784
- line: 218,
734
+ line: 203,
785
735
  column: 87
786
736
  }
787
737
  },
788
- "76": {
738
+ "71": {
789
739
  start: {
790
- line: 219,
740
+ line: 204,
791
741
  column: 18
792
742
  },
793
743
  end: {
794
- line: 219,
744
+ line: 204,
795
745
  column: 86
796
746
  }
797
747
  },
798
- "77": {
748
+ "72": {
799
749
  start: {
800
- line: 221,
750
+ line: 206,
801
751
  column: 22
802
752
  },
803
753
  end: {
804
- line: 221,
754
+ line: 206,
805
755
  column: 29
806
756
  }
807
757
  },
808
- "78": {
758
+ "73": {
809
759
  start: {
810
- line: 222,
760
+ line: 207,
811
761
  column: 8
812
762
  },
813
763
  end: {
814
- line: 225,
764
+ line: 210,
815
765
  column: 9
816
766
  }
817
767
  },
818
- "79": {
768
+ "74": {
819
769
  start: {
820
- line: 222,
770
+ line: 207,
821
771
  column: 21
822
772
  },
823
773
  end: {
824
- line: 222,
774
+ line: 207,
825
775
  column: 22
826
776
  }
827
777
  },
828
- "80": {
778
+ "75": {
829
779
  start: {
830
- line: 223,
780
+ line: 208,
831
781
  column: 12
832
782
  },
833
783
  end: {
834
- line: 224,
784
+ line: 209,
835
785
  column: 44
836
786
  }
837
787
  },
838
- "81": {
788
+ "76": {
839
789
  start: {
840
- line: 224,
790
+ line: 209,
841
791
  column: 16
842
792
  },
843
793
  end: {
844
- line: 224,
794
+ line: 209,
845
795
  column: 44
846
796
  }
847
797
  },
848
- "82": {
798
+ "77": {
849
799
  start: {
850
- line: 226,
800
+ line: 211,
851
801
  column: 8
852
802
  },
853
803
  end: {
854
- line: 226,
804
+ line: 211,
855
805
  column: 23
856
806
  }
857
- },
858
- "83": {
859
- start: {
860
- line: 229,
861
- column: 0
862
- },
863
- end: {
864
- line: 229,
865
- column: 34
866
- }
867
807
  }
868
808
  },
869
809
  fnMap: {
@@ -895,505 +835,457 @@ function cov_2l9mmpbx71() {
895
835
  name: "(anonymous_1)",
896
836
  decl: {
897
837
  start: {
898
- line: 24,
838
+ line: 29,
899
839
  column: 4
900
840
  },
901
841
  end: {
902
- line: 24,
842
+ line: 29,
903
843
  column: 5
904
844
  }
905
845
  },
906
846
  loc: {
907
847
  start: {
908
- line: 24,
848
+ line: 29,
909
849
  column: 25
910
850
  },
911
851
  end: {
912
- line: 50,
852
+ line: 54,
913
853
  column: 5
914
854
  }
915
855
  },
916
- line: 24
856
+ line: 29
917
857
  },
918
858
  "2": {
919
859
  name: "(anonymous_2)",
920
860
  decl: {
921
861
  start: {
922
- line: 51,
862
+ line: 55,
923
863
  column: 4
924
864
  },
925
865
  end: {
926
- line: 51,
866
+ line: 55,
927
867
  column: 5
928
868
  }
929
869
  },
930
870
  loc: {
931
871
  start: {
932
- line: 51,
872
+ line: 55,
933
873
  column: 33
934
874
  },
935
875
  end: {
936
- line: 70,
876
+ line: 74,
937
877
  column: 5
938
878
  }
939
879
  },
940
- line: 51
880
+ line: 55
941
881
  },
942
882
  "3": {
943
883
  name: "(anonymous_3)",
944
884
  decl: {
945
885
  start: {
946
- line: 87,
886
+ line: 91,
947
887
  column: 4
948
888
  },
949
889
  end: {
950
- line: 87,
890
+ line: 91,
951
891
  column: 5
952
892
  }
953
893
  },
954
894
  loc: {
955
895
  start: {
956
- line: 87,
896
+ line: 91,
957
897
  column: 27
958
898
  },
959
899
  end: {
960
- line: 89,
900
+ line: 93,
961
901
  column: 5
962
902
  }
963
903
  },
964
- line: 87
904
+ line: 91
965
905
  },
966
906
  "4": {
967
907
  name: "(anonymous_4)",
968
908
  decl: {
969
909
  start: {
970
- line: 88,
910
+ line: 92,
971
911
  column: 44
972
912
  },
973
913
  end: {
974
- line: 88,
914
+ line: 92,
975
915
  column: 45
976
916
  }
977
917
  },
978
918
  loc: {
979
919
  start: {
980
- line: 88,
920
+ line: 92,
981
921
  column: 61
982
922
  },
983
923
  end: {
984
- line: 88,
924
+ line: 92,
985
925
  column: 89
986
926
  }
987
927
  },
988
- line: 88
928
+ line: 92
989
929
  },
990
930
  "5": {
991
931
  name: "(anonymous_5)",
992
932
  decl: {
993
933
  start: {
994
- line: 103,
934
+ line: 107,
995
935
  column: 4
996
936
  },
997
937
  end: {
998
- line: 103,
938
+ line: 107,
999
939
  column: 5
1000
940
  }
1001
941
  },
1002
942
  loc: {
1003
943
  start: {
1004
- line: 103,
944
+ line: 107,
1005
945
  column: 37
1006
946
  },
1007
947
  end: {
1008
- line: 112,
948
+ line: 116,
1009
949
  column: 5
1010
950
  }
1011
951
  },
1012
- line: 103
952
+ line: 107
1013
953
  },
1014
954
  "6": {
1015
955
  name: "(anonymous_6)",
1016
956
  decl: {
1017
957
  start: {
1018
- line: 121,
958
+ line: 124,
1019
959
  column: 4
1020
960
  },
1021
961
  end: {
1022
- line: 121,
962
+ line: 124,
1023
963
  column: 5
1024
964
  }
1025
965
  },
1026
966
  loc: {
1027
967
  start: {
1028
- line: 121,
1029
- column: 61
968
+ line: 124,
969
+ column: 46
1030
970
  },
1031
971
  end: {
1032
- line: 132,
972
+ line: 137,
1033
973
  column: 5
1034
974
  }
1035
975
  },
1036
- line: 121
976
+ line: 124
1037
977
  },
1038
978
  "7": {
1039
979
  name: "(anonymous_7)",
1040
980
  decl: {
1041
981
  start: {
1042
- line: 127,
1043
- column: 30
1044
- },
1045
- end: {
1046
- line: 127,
1047
- column: 31
1048
- }
1049
- },
1050
- loc: {
1051
- start: {
1052
- line: 127,
1053
- column: 42
1054
- },
1055
- end: {
1056
- line: 129,
1057
- column: 13
1058
- }
1059
- },
1060
- line: 127
1061
- },
1062
- "8": {
1063
- name: "(anonymous_8)",
1064
- decl: {
1065
- start: {
1066
- line: 140,
982
+ line: 142,
1067
983
  column: 4
1068
984
  },
1069
985
  end: {
1070
- line: 140,
986
+ line: 142,
1071
987
  column: 5
1072
988
  }
1073
989
  },
1074
990
  loc: {
1075
991
  start: {
1076
- line: 140,
1077
- column: 46
1078
- },
1079
- end: {
1080
- line: 153,
1081
- column: 5
1082
- }
1083
- },
1084
- line: 140
1085
- },
1086
- "9": {
1087
- name: "(anonymous_9)",
1088
- decl: {
1089
- start: {
1090
- line: 158,
1091
- column: 4
1092
- },
1093
- end: {
1094
- line: 158,
1095
- column: 5
1096
- }
1097
- },
1098
- loc: {
1099
- start: {
1100
- line: 158,
992
+ line: 142,
1101
993
  column: 30
1102
994
  },
1103
995
  end: {
1104
- line: 160,
996
+ line: 144,
1105
997
  column: 5
1106
998
  }
1107
999
  },
1108
- line: 158
1000
+ line: 142
1109
1001
  },
1110
- "10": {
1111
- name: "(anonymous_10)",
1002
+ "8": {
1003
+ name: "(anonymous_8)",
1112
1004
  decl: {
1113
1005
  start: {
1114
- line: 162,
1006
+ line: 146,
1115
1007
  column: 4
1116
1008
  },
1117
1009
  end: {
1118
- line: 162,
1010
+ line: 146,
1119
1011
  column: 5
1120
1012
  }
1121
1013
  },
1122
1014
  loc: {
1123
1015
  start: {
1124
- line: 162,
1016
+ line: 146,
1125
1017
  column: 22
1126
1018
  },
1127
1019
  end: {
1128
- line: 164,
1020
+ line: 148,
1129
1021
  column: 5
1130
1022
  }
1131
1023
  },
1132
- line: 162
1024
+ line: 146
1133
1025
  },
1134
- "11": {
1135
- name: "(anonymous_11)",
1026
+ "9": {
1027
+ name: "(anonymous_9)",
1136
1028
  decl: {
1137
1029
  start: {
1138
- line: 166,
1030
+ line: 150,
1139
1031
  column: 4
1140
1032
  },
1141
1033
  end: {
1142
- line: 166,
1034
+ line: 150,
1143
1035
  column: 5
1144
1036
  }
1145
1037
  },
1146
1038
  loc: {
1147
1039
  start: {
1148
- line: 166,
1040
+ line: 150,
1149
1041
  column: 35
1150
1042
  },
1151
1043
  end: {
1152
- line: 168,
1044
+ line: 152,
1153
1045
  column: 5
1154
1046
  }
1155
1047
  },
1156
- line: 166
1157
- },
1158
- "12": {
1159
- name: "(anonymous_12)",
1048
+ line: 150
1049
+ },
1050
+ "10": {
1051
+ name: "(anonymous_10)",
1160
1052
  decl: {
1161
1053
  start: {
1162
- line: 177,
1054
+ line: 161,
1163
1055
  column: 4
1164
1056
  },
1165
1057
  end: {
1166
- line: 177,
1058
+ line: 161,
1167
1059
  column: 5
1168
1060
  }
1169
1061
  },
1170
1062
  loc: {
1171
1063
  start: {
1172
- line: 177,
1064
+ line: 161,
1173
1065
  column: 34
1174
1066
  },
1175
1067
  end: {
1176
- line: 209,
1068
+ line: 193,
1177
1069
  column: 5
1178
1070
  }
1179
1071
  },
1180
- line: 177
1072
+ line: 161
1181
1073
  },
1182
- "13": {
1183
- name: "(anonymous_13)",
1074
+ "11": {
1075
+ name: "(anonymous_11)",
1184
1076
  decl: {
1185
1077
  start: {
1186
- line: 181,
1078
+ line: 165,
1187
1079
  column: 43
1188
1080
  },
1189
1081
  end: {
1190
- line: 181,
1082
+ line: 165,
1191
1083
  column: 44
1192
1084
  }
1193
1085
  },
1194
1086
  loc: {
1195
1087
  start: {
1196
- line: 181,
1088
+ line: 165,
1197
1089
  column: 56
1198
1090
  },
1199
1091
  end: {
1200
- line: 206,
1092
+ line: 190,
1201
1093
  column: 9
1202
1094
  }
1203
1095
  },
1204
- line: 181
1096
+ line: 165
1205
1097
  },
1206
- "14": {
1207
- name: "(anonymous_14)",
1098
+ "12": {
1099
+ name: "(anonymous_12)",
1208
1100
  decl: {
1209
1101
  start: {
1210
- line: 183,
1102
+ line: 167,
1211
1103
  column: 46
1212
1104
  },
1213
1105
  end: {
1214
- line: 183,
1106
+ line: 167,
1215
1107
  column: 47
1216
1108
  }
1217
1109
  },
1218
1110
  loc: {
1219
1111
  start: {
1220
- line: 183,
1112
+ line: 167,
1221
1113
  column: 55
1222
1114
  },
1223
1115
  end: {
1224
- line: 205,
1116
+ line: 189,
1225
1117
  column: 13
1226
1118
  }
1227
1119
  },
1228
- line: 183
1120
+ line: 167
1229
1121
  },
1230
- "15": {
1231
- name: "(anonymous_15)",
1122
+ "13": {
1123
+ name: "(anonymous_13)",
1232
1124
  decl: {
1233
1125
  start: {
1234
- line: 191,
1126
+ line: 175,
1235
1127
  column: 57
1236
1128
  },
1237
1129
  end: {
1238
- line: 191,
1130
+ line: 175,
1239
1131
  column: 58
1240
1132
  }
1241
1133
  },
1242
1134
  loc: {
1243
1135
  start: {
1244
- line: 191,
1136
+ line: 175,
1245
1137
  column: 73
1246
1138
  },
1247
1139
  end: {
1248
- line: 191,
1140
+ line: 175,
1249
1141
  column: 90
1250
1142
  }
1251
1143
  },
1252
- line: 191
1144
+ line: 175
1253
1145
  },
1254
- "16": {
1255
- name: "(anonymous_16)",
1146
+ "14": {
1147
+ name: "(anonymous_14)",
1256
1148
  decl: {
1257
1149
  start: {
1258
- line: 195,
1150
+ line: 179,
1259
1151
  column: 53
1260
1152
  },
1261
1153
  end: {
1262
- line: 195,
1154
+ line: 179,
1263
1155
  column: 54
1264
1156
  }
1265
1157
  },
1266
1158
  loc: {
1267
1159
  start: {
1268
- line: 195,
1160
+ line: 179,
1269
1161
  column: 69
1270
1162
  },
1271
1163
  end: {
1272
- line: 195,
1164
+ line: 179,
1273
1165
  column: 100
1274
1166
  }
1275
1167
  },
1276
- line: 195
1168
+ line: 179
1277
1169
  },
1278
- "17": {
1279
- name: "(anonymous_17)",
1170
+ "15": {
1171
+ name: "(anonymous_15)",
1280
1172
  decl: {
1281
1173
  start: {
1282
- line: 211,
1174
+ line: 195,
1283
1175
  column: 4
1284
1176
  },
1285
1177
  end: {
1286
- line: 211,
1178
+ line: 195,
1287
1179
  column: 5
1288
1180
  }
1289
1181
  },
1290
1182
  loc: {
1291
1183
  start: {
1292
- line: 211,
1184
+ line: 195,
1293
1185
  column: 30
1294
1186
  },
1295
1187
  end: {
1296
- line: 213,
1188
+ line: 197,
1297
1189
  column: 5
1298
1190
  }
1299
1191
  },
1300
- line: 211
1192
+ line: 195
1301
1193
  },
1302
- "18": {
1303
- name: "(anonymous_18)",
1194
+ "16": {
1195
+ name: "(anonymous_16)",
1304
1196
  decl: {
1305
1197
  start: {
1306
- line: 217,
1198
+ line: 202,
1307
1199
  column: 4
1308
1200
  },
1309
1201
  end: {
1310
- line: 217,
1202
+ line: 202,
1311
1203
  column: 5
1312
1204
  }
1313
1205
  },
1314
1206
  loc: {
1315
1207
  start: {
1316
- line: 217,
1208
+ line: 202,
1317
1209
  column: 14
1318
1210
  },
1319
1211
  end: {
1320
- line: 217,
1212
+ line: 202,
1321
1213
  column: 85
1322
1214
  }
1323
1215
  },
1324
- line: 217
1216
+ line: 202
1325
1217
  },
1326
- "19": {
1327
- name: "(anonymous_19)",
1218
+ "17": {
1219
+ name: "(anonymous_17)",
1328
1220
  decl: {
1329
1221
  start: {
1330
- line: 218,
1222
+ line: 203,
1331
1223
  column: 4
1332
1224
  },
1333
1225
  end: {
1334
- line: 218,
1226
+ line: 203,
1335
1227
  column: 5
1336
1228
  }
1337
1229
  },
1338
1230
  loc: {
1339
1231
  start: {
1340
- line: 218,
1232
+ line: 203,
1341
1233
  column: 15
1342
1234
  },
1343
1235
  end: {
1344
- line: 218,
1236
+ line: 203,
1345
1237
  column: 89
1346
1238
  }
1347
1239
  },
1348
- line: 218
1240
+ line: 203
1349
1241
  },
1350
- "20": {
1351
- name: "(anonymous_20)",
1242
+ "18": {
1243
+ name: "(anonymous_18)",
1352
1244
  decl: {
1353
1245
  start: {
1354
- line: 219,
1246
+ line: 204,
1355
1247
  column: 4
1356
1248
  },
1357
1249
  end: {
1358
- line: 219,
1250
+ line: 204,
1359
1251
  column: 5
1360
1252
  }
1361
1253
  },
1362
1254
  loc: {
1363
1255
  start: {
1364
- line: 219,
1256
+ line: 204,
1365
1257
  column: 16
1366
1258
  },
1367
1259
  end: {
1368
- line: 219,
1260
+ line: 204,
1369
1261
  column: 88
1370
1262
  }
1371
1263
  },
1372
- line: 219
1264
+ line: 204
1373
1265
  },
1374
- "21": {
1375
- name: "(anonymous_21)",
1266
+ "19": {
1267
+ name: "(anonymous_19)",
1376
1268
  decl: {
1377
1269
  start: {
1378
- line: 220,
1270
+ line: 205,
1379
1271
  column: 4
1380
1272
  },
1381
1273
  end: {
1382
- line: 220,
1274
+ line: 205,
1383
1275
  column: 5
1384
1276
  }
1385
1277
  },
1386
1278
  loc: {
1387
1279
  start: {
1388
- line: 220,
1280
+ line: 205,
1389
1281
  column: 27
1390
1282
  },
1391
1283
  end: {
1392
- line: 227,
1284
+ line: 212,
1393
1285
  column: 5
1394
1286
  }
1395
1287
  },
1396
- line: 220
1288
+ line: 205
1397
1289
  }
1398
1290
  },
1399
1291
  branchMap: {
@@ -1508,187 +1400,187 @@ function cov_2l9mmpbx71() {
1508
1400
  "3": {
1509
1401
  loc: {
1510
1402
  start: {
1511
- line: 28,
1403
+ line: 32,
1512
1404
  column: 22
1513
1405
  },
1514
1406
  end: {
1515
- line: 28,
1407
+ line: 32,
1516
1408
  column: 75
1517
1409
  }
1518
1410
  },
1519
1411
  type: "binary-expr",
1520
1412
  locations: [{
1521
1413
  start: {
1522
- line: 28,
1414
+ line: 32,
1523
1415
  column: 22
1524
1416
  },
1525
1417
  end: {
1526
- line: 28,
1418
+ line: 32,
1527
1419
  column: 42
1528
1420
  }
1529
1421
  }, {
1530
1422
  start: {
1531
- line: 28,
1423
+ line: 32,
1532
1424
  column: 46
1533
1425
  },
1534
1426
  end: {
1535
- line: 28,
1427
+ line: 32,
1536
1428
  column: 75
1537
1429
  }
1538
1430
  }],
1539
- line: 28
1431
+ line: 32
1540
1432
  },
1541
1433
  "4": {
1542
1434
  loc: {
1543
1435
  start: {
1544
- line: 47,
1436
+ line: 51,
1545
1437
  column: 17
1546
1438
  },
1547
1439
  end: {
1548
- line: 47,
1440
+ line: 51,
1549
1441
  column: 86
1550
1442
  }
1551
1443
  },
1552
1444
  type: "binary-expr",
1553
1445
  locations: [{
1554
1446
  start: {
1555
- line: 47,
1447
+ line: 51,
1556
1448
  column: 17
1557
1449
  },
1558
1450
  end: {
1559
- line: 47,
1451
+ line: 51,
1560
1452
  column: 40
1561
1453
  }
1562
1454
  }, {
1563
1455
  start: {
1564
- line: 47,
1456
+ line: 51,
1565
1457
  column: 44
1566
1458
  },
1567
1459
  end: {
1568
- line: 47,
1460
+ line: 51,
1569
1461
  column: 86
1570
1462
  }
1571
1463
  }],
1572
- line: 47
1464
+ line: 51
1573
1465
  },
1574
1466
  "5": {
1575
1467
  loc: {
1576
1468
  start: {
1577
- line: 48,
1469
+ line: 52,
1578
1470
  column: 17
1579
1471
  },
1580
1472
  end: {
1581
- line: 48,
1473
+ line: 52,
1582
1474
  column: 73
1583
1475
  }
1584
1476
  },
1585
1477
  type: "binary-expr",
1586
1478
  locations: [{
1587
1479
  start: {
1588
- line: 48,
1480
+ line: 52,
1589
1481
  column: 17
1590
1482
  },
1591
1483
  end: {
1592
- line: 48,
1484
+ line: 52,
1593
1485
  column: 39
1594
1486
  }
1595
1487
  }, {
1596
1488
  start: {
1597
- line: 48,
1489
+ line: 52,
1598
1490
  column: 43
1599
1491
  },
1600
1492
  end: {
1601
- line: 48,
1493
+ line: 52,
1602
1494
  column: 73
1603
1495
  }
1604
1496
  }],
1605
- line: 48
1497
+ line: 52
1606
1498
  },
1607
1499
  "6": {
1608
1500
  loc: {
1609
1501
  start: {
1610
- line: 53,
1502
+ line: 57,
1611
1503
  column: 32
1612
1504
  },
1613
1505
  end: {
1614
- line: 53,
1506
+ line: 57,
1615
1507
  column: 58
1616
1508
  }
1617
1509
  },
1618
1510
  type: "binary-expr",
1619
1511
  locations: [{
1620
1512
  start: {
1621
- line: 53,
1513
+ line: 57,
1622
1514
  column: 32
1623
1515
  },
1624
1516
  end: {
1625
- line: 53,
1517
+ line: 57,
1626
1518
  column: 52
1627
1519
  }
1628
1520
  }, {
1629
1521
  start: {
1630
- line: 53,
1522
+ line: 57,
1631
1523
  column: 56
1632
1524
  },
1633
1525
  end: {
1634
- line: 53,
1526
+ line: 57,
1635
1527
  column: 58
1636
1528
  }
1637
1529
  }],
1638
- line: 53
1530
+ line: 57
1639
1531
  },
1640
1532
  "7": {
1641
1533
  loc: {
1642
1534
  start: {
1643
- line: 55,
1535
+ line: 59,
1644
1536
  column: 33
1645
1537
  },
1646
1538
  end: {
1647
- line: 55,
1539
+ line: 59,
1648
1540
  column: 77
1649
1541
  }
1650
1542
  },
1651
1543
  type: "binary-expr",
1652
1544
  locations: [{
1653
1545
  start: {
1654
- line: 55,
1546
+ line: 59,
1655
1547
  column: 33
1656
1548
  },
1657
1549
  end: {
1658
- line: 55,
1550
+ line: 59,
1659
1551
  column: 60
1660
1552
  }
1661
1553
  }, {
1662
1554
  start: {
1663
- line: 55,
1555
+ line: 59,
1664
1556
  column: 64
1665
1557
  },
1666
1558
  end: {
1667
- line: 55,
1559
+ line: 59,
1668
1560
  column: 77
1669
1561
  }
1670
1562
  }],
1671
- line: 55
1563
+ line: 59
1672
1564
  },
1673
1565
  "8": {
1674
1566
  loc: {
1675
1567
  start: {
1676
- line: 56,
1568
+ line: 60,
1677
1569
  column: 8
1678
1570
  },
1679
1571
  end: {
1680
- line: 57,
1572
+ line: 61,
1681
1573
  column: 53
1682
1574
  }
1683
1575
  },
1684
1576
  type: "if",
1685
1577
  locations: [{
1686
1578
  start: {
1687
- line: 56,
1579
+ line: 60,
1688
1580
  column: 8
1689
1581
  },
1690
1582
  end: {
1691
- line: 57,
1583
+ line: 61,
1692
1584
  column: 53
1693
1585
  }
1694
1586
  }, {
@@ -1701,27 +1593,27 @@ function cov_2l9mmpbx71() {
1701
1593
  column: undefined
1702
1594
  }
1703
1595
  }],
1704
- line: 56
1596
+ line: 60
1705
1597
  },
1706
1598
  "9": {
1707
1599
  loc: {
1708
1600
  start: {
1709
- line: 64,
1601
+ line: 68,
1710
1602
  column: 8
1711
1603
  },
1712
1604
  end: {
1713
- line: 65,
1605
+ line: 69,
1714
1606
  column: 37
1715
1607
  }
1716
1608
  },
1717
1609
  type: "if",
1718
1610
  locations: [{
1719
1611
  start: {
1720
- line: 64,
1612
+ line: 68,
1721
1613
  column: 8
1722
1614
  },
1723
1615
  end: {
1724
- line: 65,
1616
+ line: 69,
1725
1617
  column: 37
1726
1618
  }
1727
1619
  }, {
@@ -1734,27 +1626,27 @@ function cov_2l9mmpbx71() {
1734
1626
  column: undefined
1735
1627
  }
1736
1628
  }],
1737
- line: 64
1629
+ line: 68
1738
1630
  },
1739
1631
  "10": {
1740
1632
  loc: {
1741
1633
  start: {
1742
- line: 104,
1634
+ line: 108,
1743
1635
  column: 8
1744
1636
  },
1745
1637
  end: {
1746
- line: 106,
1638
+ line: 110,
1747
1639
  column: 9
1748
1640
  }
1749
1641
  },
1750
1642
  type: "if",
1751
1643
  locations: [{
1752
1644
  start: {
1753
- line: 104,
1645
+ line: 108,
1754
1646
  column: 8
1755
1647
  },
1756
1648
  end: {
1757
- line: 106,
1649
+ line: 110,
1758
1650
  column: 9
1759
1651
  }
1760
1652
  }, {
@@ -1767,60 +1659,60 @@ function cov_2l9mmpbx71() {
1767
1659
  column: undefined
1768
1660
  }
1769
1661
  }],
1770
- line: 104
1662
+ line: 108
1771
1663
  },
1772
1664
  "11": {
1773
1665
  loc: {
1774
1666
  start: {
1775
- line: 104,
1667
+ line: 108,
1776
1668
  column: 12
1777
1669
  },
1778
1670
  end: {
1779
- line: 104,
1671
+ line: 108,
1780
1672
  column: 60
1781
1673
  }
1782
1674
  },
1783
1675
  type: "binary-expr",
1784
1676
  locations: [{
1785
1677
  start: {
1786
- line: 104,
1678
+ line: 108,
1787
1679
  column: 12
1788
1680
  },
1789
1681
  end: {
1790
- line: 104,
1682
+ line: 108,
1791
1683
  column: 34
1792
1684
  }
1793
1685
  }, {
1794
1686
  start: {
1795
- line: 104,
1687
+ line: 108,
1796
1688
  column: 38
1797
1689
  },
1798
1690
  end: {
1799
- line: 104,
1691
+ line: 108,
1800
1692
  column: 60
1801
1693
  }
1802
1694
  }],
1803
- line: 104
1695
+ line: 108
1804
1696
  },
1805
1697
  "12": {
1806
1698
  loc: {
1807
1699
  start: {
1808
- line: 108,
1700
+ line: 112,
1809
1701
  column: 8
1810
1702
  },
1811
1703
  end: {
1812
- line: 110,
1704
+ line: 114,
1813
1705
  column: 9
1814
1706
  }
1815
1707
  },
1816
1708
  type: "if",
1817
1709
  locations: [{
1818
1710
  start: {
1819
- line: 108,
1711
+ line: 112,
1820
1712
  column: 8
1821
1713
  },
1822
1714
  end: {
1823
- line: 110,
1715
+ line: 114,
1824
1716
  column: 9
1825
1717
  }
1826
1718
  }, {
@@ -1833,60 +1725,27 @@ function cov_2l9mmpbx71() {
1833
1725
  column: undefined
1834
1726
  }
1835
1727
  }],
1836
- line: 108
1728
+ line: 112
1837
1729
  },
1838
1730
  "13": {
1839
1731
  loc: {
1840
1732
  start: {
1841
- line: 123,
1842
- column: 8
1843
- },
1844
- end: {
1845
- line: 130,
1846
- column: 9
1847
- }
1848
- },
1849
- type: "if",
1850
- locations: [{
1851
- start: {
1852
- line: 123,
1853
- column: 8
1854
- },
1855
- end: {
1856
- line: 130,
1857
- column: 9
1858
- }
1859
- }, {
1860
- start: {
1861
- line: 126,
1862
- column: 13
1863
- },
1864
- end: {
1865
- line: 130,
1866
- column: 9
1867
- }
1868
- }],
1869
- line: 123
1870
- },
1871
- "14": {
1872
- loc: {
1873
- start: {
1874
- line: 141,
1733
+ line: 125,
1875
1734
  column: 8
1876
1735
  },
1877
1736
  end: {
1878
- line: 143,
1737
+ line: 127,
1879
1738
  column: 9
1880
1739
  }
1881
1740
  },
1882
1741
  type: "if",
1883
1742
  locations: [{
1884
1743
  start: {
1885
- line: 141,
1744
+ line: 125,
1886
1745
  column: 8
1887
1746
  },
1888
1747
  end: {
1889
- line: 143,
1748
+ line: 127,
1890
1749
  column: 9
1891
1750
  }
1892
1751
  }, {
@@ -1899,60 +1758,60 @@ function cov_2l9mmpbx71() {
1899
1758
  column: undefined
1900
1759
  }
1901
1760
  }],
1902
- line: 141
1761
+ line: 125
1903
1762
  },
1904
- "15": {
1763
+ "14": {
1905
1764
  loc: {
1906
1765
  start: {
1907
- line: 141,
1766
+ line: 125,
1908
1767
  column: 12
1909
1768
  },
1910
1769
  end: {
1911
- line: 141,
1770
+ line: 125,
1912
1771
  column: 60
1913
1772
  }
1914
1773
  },
1915
1774
  type: "binary-expr",
1916
1775
  locations: [{
1917
1776
  start: {
1918
- line: 141,
1777
+ line: 125,
1919
1778
  column: 12
1920
1779
  },
1921
1780
  end: {
1922
- line: 141,
1781
+ line: 125,
1923
1782
  column: 34
1924
1783
  }
1925
1784
  }, {
1926
1785
  start: {
1927
- line: 141,
1786
+ line: 125,
1928
1787
  column: 38
1929
1788
  },
1930
1789
  end: {
1931
- line: 141,
1790
+ line: 125,
1932
1791
  column: 60
1933
1792
  }
1934
1793
  }],
1935
- line: 141
1794
+ line: 125
1936
1795
  },
1937
- "16": {
1796
+ "15": {
1938
1797
  loc: {
1939
1798
  start: {
1940
- line: 150,
1799
+ line: 134,
1941
1800
  column: 8
1942
1801
  },
1943
1802
  end: {
1944
- line: 151,
1803
+ line: 135,
1945
1804
  column: 60
1946
1805
  }
1947
1806
  },
1948
1807
  type: "if",
1949
1808
  locations: [{
1950
1809
  start: {
1951
- line: 150,
1810
+ line: 134,
1952
1811
  column: 8
1953
1812
  },
1954
1813
  end: {
1955
- line: 151,
1814
+ line: 135,
1956
1815
  column: 60
1957
1816
  }
1958
1817
  }, {
@@ -1965,27 +1824,27 @@ function cov_2l9mmpbx71() {
1965
1824
  column: undefined
1966
1825
  }
1967
1826
  }],
1968
- line: 150
1827
+ line: 134
1969
1828
  },
1970
- "17": {
1829
+ "16": {
1971
1830
  loc: {
1972
1831
  start: {
1973
- line: 179,
1832
+ line: 163,
1974
1833
  column: 8
1975
1834
  },
1976
1835
  end: {
1977
- line: 180,
1836
+ line: 164,
1978
1837
  column: 28
1979
1838
  }
1980
1839
  },
1981
1840
  type: "if",
1982
1841
  locations: [{
1983
1842
  start: {
1984
- line: 179,
1843
+ line: 163,
1985
1844
  column: 8
1986
1845
  },
1987
1846
  end: {
1988
- line: 180,
1847
+ line: 164,
1989
1848
  column: 28
1990
1849
  }
1991
1850
  }, {
@@ -1998,27 +1857,27 @@ function cov_2l9mmpbx71() {
1998
1857
  column: undefined
1999
1858
  }
2000
1859
  }],
2001
- line: 179
1860
+ line: 163
2002
1861
  },
2003
- "18": {
1862
+ "17": {
2004
1863
  loc: {
2005
1864
  start: {
2006
- line: 184,
1865
+ line: 168,
2007
1866
  column: 16
2008
1867
  },
2009
1868
  end: {
2010
- line: 185,
1869
+ line: 169,
2011
1870
  column: 37
2012
1871
  }
2013
1872
  },
2014
1873
  type: "if",
2015
1874
  locations: [{
2016
1875
  start: {
2017
- line: 184,
1876
+ line: 168,
2018
1877
  column: 16
2019
1878
  },
2020
1879
  end: {
2021
- line: 185,
1880
+ line: 169,
2022
1881
  column: 37
2023
1882
  }
2024
1883
  }, {
@@ -2031,27 +1890,27 @@ function cov_2l9mmpbx71() {
2031
1890
  column: undefined
2032
1891
  }
2033
1892
  }],
2034
- line: 184
1893
+ line: 168
2035
1894
  },
2036
- "19": {
1895
+ "18": {
2037
1896
  loc: {
2038
1897
  start: {
2039
- line: 194,
1898
+ line: 178,
2040
1899
  column: 24
2041
1900
  },
2042
1901
  end: {
2043
- line: 195,
1902
+ line: 179,
2044
1903
  column: 102
2045
1904
  }
2046
1905
  },
2047
1906
  type: "if",
2048
1907
  locations: [{
2049
1908
  start: {
2050
- line: 194,
1909
+ line: 178,
2051
1910
  column: 24
2052
1911
  },
2053
1912
  end: {
2054
- line: 195,
1913
+ line: 179,
2055
1914
  column: 102
2056
1915
  }
2057
1916
  }, {
@@ -2064,27 +1923,27 @@ function cov_2l9mmpbx71() {
2064
1923
  column: undefined
2065
1924
  }
2066
1925
  }],
2067
- line: 194
1926
+ line: 178
2068
1927
  },
2069
- "20": {
1928
+ "19": {
2070
1929
  loc: {
2071
1930
  start: {
2072
- line: 202,
1931
+ line: 186,
2073
1932
  column: 16
2074
1933
  },
2075
1934
  end: {
2076
- line: 203,
1935
+ line: 187,
2077
1936
  column: 113
2078
1937
  }
2079
1938
  },
2080
1939
  type: "if",
2081
1940
  locations: [{
2082
1941
  start: {
2083
- line: 202,
1942
+ line: 186,
2084
1943
  column: 16
2085
1944
  },
2086
1945
  end: {
2087
- line: 203,
1946
+ line: 187,
2088
1947
  column: 113
2089
1948
  }
2090
1949
  }, {
@@ -2097,27 +1956,27 @@ function cov_2l9mmpbx71() {
2097
1956
  column: undefined
2098
1957
  }
2099
1958
  }],
2100
- line: 202
1959
+ line: 186
2101
1960
  },
2102
- "21": {
1961
+ "20": {
2103
1962
  loc: {
2104
1963
  start: {
2105
- line: 223,
1964
+ line: 208,
2106
1965
  column: 12
2107
1966
  },
2108
1967
  end: {
2109
- line: 224,
1968
+ line: 209,
2110
1969
  column: 44
2111
1970
  }
2112
1971
  },
2113
1972
  type: "if",
2114
1973
  locations: [{
2115
1974
  start: {
2116
- line: 223,
1975
+ line: 208,
2117
1976
  column: 12
2118
1977
  },
2119
1978
  end: {
2120
- line: 224,
1979
+ line: 209,
2121
1980
  column: 44
2122
1981
  }
2123
1982
  }, {
@@ -2130,7 +1989,7 @@ function cov_2l9mmpbx71() {
2130
1989
  column: undefined
2131
1990
  }
2132
1991
  }],
2133
- line: 223
1992
+ line: 208
2134
1993
  }
2135
1994
  },
2136
1995
  s: {
@@ -2211,13 +2070,7 @@ function cov_2l9mmpbx71() {
2211
2070
  "74": 0,
2212
2071
  "75": 0,
2213
2072
  "76": 0,
2214
- "77": 0,
2215
- "78": 0,
2216
- "79": 0,
2217
- "80": 0,
2218
- "81": 0,
2219
- "82": 0,
2220
- "83": 0
2073
+ "77": 0
2221
2074
  },
2222
2075
  f: {
2223
2076
  "0": 0,
@@ -2239,9 +2092,7 @@ function cov_2l9mmpbx71() {
2239
2092
  "16": 0,
2240
2093
  "17": 0,
2241
2094
  "18": 0,
2242
- "19": 0,
2243
- "20": 0,
2244
- "21": 0
2095
+ "19": 0
2245
2096
  },
2246
2097
  b: {
2247
2098
  "0": [0, 0, 0],
@@ -2264,19 +2115,18 @@ function cov_2l9mmpbx71() {
2264
2115
  "17": [0, 0],
2265
2116
  "18": [0, 0],
2266
2117
  "19": [0, 0],
2267
- "20": [0, 0],
2268
- "21": [0, 0]
2118
+ "20": [0, 0]
2269
2119
  },
2270
2120
  inputSourceMap: {
2271
2121
  version: 3,
2272
2122
  file: "ITwinLocalization.js",
2273
- sources: ["D:\\vsts_a\\4\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2123
+ sources: ["C:\\agent\\_work\\1\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2274
2124
  names: [],
2275
- mappings: "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",
2276
- sourcesContent: ["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Localization\r\n */\r\n\r\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\r\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\r\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport type { Localization } from \"@itwin/core-common\";\r\n\r\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\r\n\r\n/** Options for ITwinLocalization\r\n * @public\r\n */\r\nexport interface LocalizationOptions {\r\n urlTemplate?: string;\r\n backendPlugin?: Module;\r\n detectorPlugin?: Module;\r\n initOptions?: InitOptions;\r\n backendHttpOptions?: BackendOptions;\r\n detectorOptions?: DetectorOptions;\r\n}\r\n\r\n/** Supplies localizations for iTwin.js\r\n * @note this class uses the [i18next](https://www.i18next.com/) package.\r\n * @public\r\n */\r\nexport class ITwinLocalization implements Localization {\r\n public i18next: i18n;\r\n private readonly _initOptions: InitOptions;\r\n private readonly _backendOptions: BackendOptions;\r\n private readonly _detectionOptions: DetectorOptions;\r\n private readonly _namespaces = new Map<string, Promise<void>>();\r\n\r\n public constructor(options?: LocalizationOptions) {\r\n this.i18next = i18next.createInstance();\r\n\r\n this._backendOptions = {\r\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\r\n crossDomain: true,\r\n ...options?.backendHttpOptions,\r\n };\r\n\r\n this._detectionOptions = {\r\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\r\n lookupQuerystring: \"lng\",\r\n caches: [],\r\n ...options?.detectorOptions,\r\n };\r\n\r\n this._initOptions = {\r\n interpolation: { escapeValue: true },\r\n fallbackLng: \"en\",\r\n maxRetries: DEFAULT_MAX_RETRIES,\r\n backend: this._backendOptions,\r\n detection: this._detectionOptions,\r\n ...options?.initOptions,\r\n };\r\n\r\n this.i18next\r\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\r\n .use(options?.backendPlugin ?? Backend)\r\n .use(TranslationLogger);\r\n }\r\n\r\n public async initialize(namespaces: string[]): Promise<void> {\r\n\r\n // Also consider namespaces passed into constructor\r\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\r\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\r\n\r\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\r\n if (defaultNamespace)\r\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\r\n\r\n const initOptions: InitOptions = {\r\n ...this._initOptions,\r\n defaultNS: defaultNamespace,\r\n ns: [...combinedNamespaces],\r\n };\r\n\r\n // if in a development environment, set debugging\r\n if (process.env.NODE_ENV === \"development\")\r\n initOptions.debug = true;\r\n\r\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\r\n\r\n for (const ns of namespaces)\r\n this._namespaces.set(ns, initPromise);\r\n\r\n return initPromise;\r\n }\r\n\r\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\r\n * For example:\r\n * ``` ts\r\n * \"MyKeys\": {\r\n * \"Key1\": \"First value\",\r\n * \"Key2\": \"Second value\"\r\n * }\r\n * ```\r\n *\r\n * ``` ts\r\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\r\n * ```\r\n * @param line The input line, potentially containing %{keys}.\r\n * @returns The line with all %{keys} translated\r\n * @public\r\n */\r\n public getLocalizedKeys(line: string): string {\r\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\r\n }\r\n\r\n /** Return the translated value of a key.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\r\n * followed by a colon, followed by the property in the JSON file.\r\n * For example:\r\n * ``` ts\r\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\r\n * ```\r\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @public\r\n */\r\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n const value = this.i18next.t(key, options);\r\n\r\n if (typeof value !== \"string\") {\r\n throw new Error(\"Translation key(s) string not found\");\r\n }\r\n\r\n return value;\r\n }\r\n\r\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\r\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n let fullKey: string | string[] = \"\";\r\n\r\n if (typeof key === \"string\") {\r\n fullKey = `${namespace}:${key}`;\r\n } else {\r\n fullKey = key.map((subKey: string) => {\r\n return `${namespace}:${subKey}`;\r\n });\r\n }\r\n\r\n return this.getLocalizedString(fullKey, options);\r\n }\r\n\r\n /** Gets the English translation.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n options = {\r\n ...options,\r\n ns: namespace, // ensure namespace argument is used\r\n };\r\n\r\n const en = this.i18next.getFixedT(\"en\", namespace);\r\n const str = en(key, options);\r\n if (typeof str !== \"string\")\r\n throw new Error(\"Translation key(s) not found\");\r\n\r\n return str;\r\n }\r\n\r\n /** Get the promise for an already registered Namespace.\r\n * @param name - the name of the namespace\r\n * @public\r\n */\r\n public getNamespacePromise(name: string): Promise<void> | undefined {\r\n return this._namespaces.get(name);\r\n }\r\n\r\n /** @internal */\r\n public getLanguageList(): readonly string[] {\r\n return this.i18next.languages;\r\n }\r\n\r\n /** override the language detected in the browser */\r\n public async changeLanguage(language: string) {\r\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\r\n }\r\n\r\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\r\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\r\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\r\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\r\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\r\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\r\n * @public\r\n */\r\n public async registerNamespace(name: string): Promise<void> {\r\n const existing = this._namespaces.get(name);\r\n if (existing !== undefined)\r\n return existing;\r\n\r\n const theReadPromise = new Promise<void>((resolve) => {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.i18next.loadNamespaces(name, (err) => {\r\n if (!err)\r\n return resolve();\r\n\r\n // Here we got a non-null err object.\r\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\r\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\r\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\r\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.\r\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\r\n\r\n try {\r\n for (const thisError of err) {\r\n if (typeof thisError === \"string\")\r\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\r\n }\r\n } catch {\r\n locales = [];\r\n }\r\n // if we removed every locale from the array, it wasn't loaded.\r\n if (locales.length === 0)\r\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\r\n\r\n resolve();\r\n });\r\n });\r\n this._namespaces.set(name, theReadPromise);\r\n return theReadPromise;\r\n }\r\n\r\n /** @internal */\r\n public unregisterNamespace(name: string): void {\r\n this._namespaces.delete(name);\r\n }\r\n}\r\n\r\nclass TranslationLogger {\r\n public static readonly type = \"logger\";\r\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\r\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\r\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\r\n private createLogMessage(args: string[]) {\r\n let message = args[0];\r\n for (let i = 1; i < args.length; ++i) {\r\n if (typeof args[i] === \"string\")\r\n message += `\\n ${args[i]}`;\r\n }\r\n return message;\r\n }\r\n}\r\n"]
2125
+ mappings: "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",
2126
+ 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 /** 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 {\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"]
2277
2127
  },
2278
2128
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2279
- hash: "0adce4b58c455e3eeb519a164fd78fbe91c31815"
2129
+ hash: "dc42415b822dd4de30f4e9da695d0e05d9c36eef"
2280
2130
  };
2281
2131
  var coverage = global[gcv] || (global[gcv] = {});
2282
2132
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2285,56 +2135,59 @@ function cov_2l9mmpbx71() {
2285
2135
  var actualCoverage = coverage[path];
2286
2136
  {
2287
2137
  // @ts-ignore
2288
- cov_2l9mmpbx71 = function () {
2138
+ cov_ogldeftyv = function () {
2289
2139
  return actualCoverage;
2290
2140
  };
2291
2141
  }
2292
2142
  return actualCoverage;
2293
2143
  }
2294
- cov_2l9mmpbx71();
2295
- var __importDefault = (cov_2l9mmpbx71().s[0]++, (cov_2l9mmpbx71().b[0][0]++, this) && (cov_2l9mmpbx71().b[0][1]++, this.__importDefault) || (cov_2l9mmpbx71().b[0][2]++, function (mod) {
2296
- cov_2l9mmpbx71().f[0]++;
2297
- cov_2l9mmpbx71().s[1]++;
2298
- return (cov_2l9mmpbx71().b[2][0]++, mod) && (cov_2l9mmpbx71().b[2][1]++, mod.__esModule) ? (cov_2l9mmpbx71().b[1][0]++, mod) : (cov_2l9mmpbx71().b[1][1]++, {
2144
+ cov_ogldeftyv();
2145
+ var __importDefault = (cov_ogldeftyv().s[0]++, (cov_ogldeftyv().b[0][0]++, this) && (cov_ogldeftyv().b[0][1]++, this.__importDefault) || (cov_ogldeftyv().b[0][2]++, function (mod) {
2146
+ cov_ogldeftyv().f[0]++;
2147
+ cov_ogldeftyv().s[1]++;
2148
+ return (cov_ogldeftyv().b[2][0]++, mod) && (cov_ogldeftyv().b[2][1]++, mod.__esModule) ? (cov_ogldeftyv().b[1][0]++, mod) : (cov_ogldeftyv().b[1][1]++, {
2299
2149
  "default": mod
2300
2150
  });
2301
2151
  }));
2302
- cov_2l9mmpbx71().s[2]++;
2152
+ cov_ogldeftyv().s[2]++;
2303
2153
  Object.defineProperty(exports, "__esModule", ({
2304
2154
  value: true
2305
2155
  }));
2306
- cov_2l9mmpbx71().s[3]++;
2156
+ cov_ogldeftyv().s[3]++;
2307
2157
  exports.ITwinLocalization = void 0;
2308
- const i18next_1 = (cov_2l9mmpbx71().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js")));
2309
- const i18next_browser_languagedetector_1 = (cov_2l9mmpbx71().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js")));
2310
- const i18next_http_backend_1 = (cov_2l9mmpbx71().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js")));
2311
- const core_bentley_1 = (cov_2l9mmpbx71().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
- const DEFAULT_MAX_RETRIES = (cov_2l9mmpbx71().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2158
+ const i18next_1 = (cov_ogldeftyv().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js")));
2159
+ const i18next_browser_languagedetector_1 = (cov_ogldeftyv().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js")));
2160
+ const i18next_http_backend_1 = (cov_ogldeftyv().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js")));
2161
+ const core_bentley_1 = (cov_ogldeftyv().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2162
+ const DEFAULT_MAX_RETRIES = (cov_ogldeftyv().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2313
2163
  /** Supplies localizations for iTwin.js
2314
2164
  * @note this class uses the [i18next](https://www.i18next.com/) package.
2315
2165
  * @public
2316
2166
  */
2317
2167
  class ITwinLocalization {
2168
+ i18next;
2169
+ _initOptions;
2170
+ _backendOptions;
2171
+ _detectionOptions;
2172
+ _namespaces = (cov_ogldeftyv().s[9]++, new Map());
2318
2173
  constructor(options) {
2319
- cov_2l9mmpbx71().f[1]++;
2320
- cov_2l9mmpbx71().s[9]++;
2321
- this._namespaces = new Map();
2322
- cov_2l9mmpbx71().s[10]++;
2174
+ cov_ogldeftyv().f[1]++;
2175
+ cov_ogldeftyv().s[10]++;
2323
2176
  this.i18next = i18next_1.default.createInstance();
2324
- cov_2l9mmpbx71().s[11]++;
2177
+ cov_ogldeftyv().s[11]++;
2325
2178
  this._backendOptions = {
2326
- loadPath: (cov_2l9mmpbx71().b[3][0]++, options?.urlTemplate) ?? (cov_2l9mmpbx71().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2179
+ loadPath: (cov_ogldeftyv().b[3][0]++, options?.urlTemplate) ?? (cov_ogldeftyv().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2327
2180
  crossDomain: true,
2328
2181
  ...options?.backendHttpOptions
2329
2182
  };
2330
- cov_2l9mmpbx71().s[12]++;
2183
+ cov_ogldeftyv().s[12]++;
2331
2184
  this._detectionOptions = {
2332
2185
  order: ["querystring", "navigator", "htmlTag"],
2333
2186
  lookupQuerystring: "lng",
2334
2187
  caches: [],
2335
2188
  ...options?.detectorOptions
2336
2189
  };
2337
- cov_2l9mmpbx71().s[13]++;
2190
+ cov_ogldeftyv().s[13]++;
2338
2191
  this._initOptions = {
2339
2192
  interpolation: {
2340
2193
  escapeValue: true
@@ -2345,40 +2198,40 @@ class ITwinLocalization {
2345
2198
  detection: this._detectionOptions,
2346
2199
  ...options?.initOptions
2347
2200
  };
2348
- cov_2l9mmpbx71().s[14]++;
2349
- this.i18next.use((cov_2l9mmpbx71().b[4][0]++, options?.detectorPlugin) ?? (cov_2l9mmpbx71().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_2l9mmpbx71().b[5][0]++, options?.backendPlugin) ?? (cov_2l9mmpbx71().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2201
+ cov_ogldeftyv().s[14]++;
2202
+ this.i18next.use((cov_ogldeftyv().b[4][0]++, options?.detectorPlugin) ?? (cov_ogldeftyv().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_ogldeftyv().b[5][0]++, options?.backendPlugin) ?? (cov_ogldeftyv().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2350
2203
  }
2351
2204
  async initialize(namespaces) {
2352
- cov_2l9mmpbx71().f[2]++;
2205
+ cov_ogldeftyv().f[2]++;
2353
2206
  // Also consider namespaces passed into constructor
2354
- const initNamespaces = (cov_2l9mmpbx71().s[15]++, [(cov_2l9mmpbx71().b[6][0]++, this._initOptions.ns) || (cov_2l9mmpbx71().b[6][1]++, [])].flat());
2355
- const combinedNamespaces = (cov_2l9mmpbx71().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
- const defaultNamespace = (cov_2l9mmpbx71().s[17]++, (cov_2l9mmpbx71().b[7][0]++, this._initOptions.defaultNS) ?? (cov_2l9mmpbx71().b[7][1]++, namespaces[0]));
2357
- cov_2l9mmpbx71().s[18]++;
2207
+ const initNamespaces = (cov_ogldeftyv().s[15]++, [(cov_ogldeftyv().b[6][0]++, this._initOptions.ns) || (cov_ogldeftyv().b[6][1]++, [])].flat());
2208
+ const combinedNamespaces = (cov_ogldeftyv().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2209
+ const defaultNamespace = (cov_ogldeftyv().s[17]++, (cov_ogldeftyv().b[7][0]++, this._initOptions.defaultNS) ?? (cov_ogldeftyv().b[7][1]++, namespaces[0]));
2210
+ cov_ogldeftyv().s[18]++;
2358
2211
  if (defaultNamespace) {
2359
- cov_2l9mmpbx71().b[8][0]++;
2360
- cov_2l9mmpbx71().s[19]++;
2212
+ cov_ogldeftyv().b[8][0]++;
2213
+ cov_ogldeftyv().s[19]++;
2361
2214
  combinedNamespaces.add(defaultNamespace);
2362
2215
  } else {
2363
- cov_2l9mmpbx71().b[8][1]++;
2216
+ cov_ogldeftyv().b[8][1]++;
2364
2217
  } // Make sure default namespace is in namespaces list
2365
- const initOptions = (cov_2l9mmpbx71().s[20]++, {
2218
+ const initOptions = (cov_ogldeftyv().s[20]++, {
2366
2219
  ...this._initOptions,
2367
2220
  defaultNS: defaultNamespace,
2368
2221
  ns: [...combinedNamespaces]
2369
2222
  });
2370
2223
  // if in a development environment, set debugging
2371
- cov_2l9mmpbx71().s[21]++;
2224
+ cov_ogldeftyv().s[21]++;
2372
2225
  if (false) {} else {
2373
- cov_2l9mmpbx71().b[9][1]++;
2226
+ cov_ogldeftyv().b[9][1]++;
2374
2227
  }
2375
- const initPromise = (cov_2l9mmpbx71().s[23]++, this.i18next.init(initOptions));
2376
- cov_2l9mmpbx71().s[24]++;
2228
+ const initPromise = (cov_ogldeftyv().s[23]++, this.i18next.init(initOptions));
2229
+ cov_ogldeftyv().s[24]++;
2377
2230
  for (const ns of namespaces) {
2378
- cov_2l9mmpbx71().s[25]++;
2231
+ cov_ogldeftyv().s[25]++;
2379
2232
  this._namespaces.set(ns, initPromise);
2380
2233
  }
2381
- cov_2l9mmpbx71().s[26]++;
2234
+ cov_ogldeftyv().s[26]++;
2382
2235
  return initPromise;
2383
2236
  }
2384
2237
  /** Replace all instances of `%{key}` within a string with the translations of those keys.
@@ -2398,11 +2251,11 @@ class ITwinLocalization {
2398
2251
  * @public
2399
2252
  */
2400
2253
  getLocalizedKeys(line) {
2401
- cov_2l9mmpbx71().f[3]++;
2402
- cov_2l9mmpbx71().s[27]++;
2254
+ cov_ogldeftyv().f[3]++;
2255
+ cov_ogldeftyv().s[27]++;
2403
2256
  return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
2404
- cov_2l9mmpbx71().f[4]++;
2405
- cov_2l9mmpbx71().s[28]++;
2257
+ cov_ogldeftyv().f[4]++;
2258
+ cov_ogldeftyv().s[28]++;
2406
2259
  return this.getLocalizedString(tag);
2407
2260
  });
2408
2261
  }
@@ -2420,55 +2273,27 @@ class ITwinLocalization {
2420
2273
  * @public
2421
2274
  */
2422
2275
  getLocalizedString(key, options) {
2423
- cov_2l9mmpbx71().f[5]++;
2424
- cov_2l9mmpbx71().s[29]++;
2425
- if ((cov_2l9mmpbx71().b[11][0]++, options?.returnDetails) || (cov_2l9mmpbx71().b[11][1]++, options?.returnObjects)) {
2426
- cov_2l9mmpbx71().b[10][0]++;
2427
- cov_2l9mmpbx71().s[30]++;
2276
+ cov_ogldeftyv().f[5]++;
2277
+ cov_ogldeftyv().s[29]++;
2278
+ if ((cov_ogldeftyv().b[11][0]++, options?.returnDetails) || (cov_ogldeftyv().b[11][1]++, options?.returnObjects)) {
2279
+ cov_ogldeftyv().b[10][0]++;
2280
+ cov_ogldeftyv().s[30]++;
2428
2281
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2429
2282
  } else {
2430
- cov_2l9mmpbx71().b[10][1]++;
2283
+ cov_ogldeftyv().b[10][1]++;
2431
2284
  }
2432
- const value = (cov_2l9mmpbx71().s[31]++, this.i18next.t(key, options));
2433
- cov_2l9mmpbx71().s[32]++;
2285
+ const value = (cov_ogldeftyv().s[31]++, this.i18next.t(key, options));
2286
+ cov_ogldeftyv().s[32]++;
2434
2287
  if (typeof value !== "string") {
2435
- cov_2l9mmpbx71().b[12][0]++;
2436
- cov_2l9mmpbx71().s[33]++;
2288
+ cov_ogldeftyv().b[12][0]++;
2289
+ cov_ogldeftyv().s[33]++;
2437
2290
  throw new Error("Translation key(s) string not found");
2438
2291
  } else {
2439
- cov_2l9mmpbx71().b[12][1]++;
2292
+ cov_ogldeftyv().b[12][1]++;
2440
2293
  }
2441
- cov_2l9mmpbx71().s[34]++;
2294
+ cov_ogldeftyv().s[34]++;
2442
2295
  return value;
2443
2296
  }
2444
- /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
2445
- * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.
2446
- * @param namespace - the namespace that identifies the particular localization file that contains the property.
2447
- * @param key - the key that matches a property in the JSON localization file.
2448
- * @returns The string corresponding to the first key that resolves.
2449
- * @throws Error if no keys resolve to a string.
2450
- * @internal
2451
- */
2452
- getLocalizedStringWithNamespace(namespace, key, options) {
2453
- cov_2l9mmpbx71().f[6]++;
2454
- let fullKey = (cov_2l9mmpbx71().s[35]++, "");
2455
- cov_2l9mmpbx71().s[36]++;
2456
- if (typeof key === "string") {
2457
- cov_2l9mmpbx71().b[13][0]++;
2458
- cov_2l9mmpbx71().s[37]++;
2459
- fullKey = `${namespace}:${key}`;
2460
- } else {
2461
- cov_2l9mmpbx71().b[13][1]++;
2462
- cov_2l9mmpbx71().s[38]++;
2463
- fullKey = key.map(subKey => {
2464
- cov_2l9mmpbx71().f[7]++;
2465
- cov_2l9mmpbx71().s[39]++;
2466
- return `${namespace}:${subKey}`;
2467
- });
2468
- }
2469
- cov_2l9mmpbx71().s[40]++;
2470
- return this.getLocalizedString(fullKey, options);
2471
- }
2472
2297
  /** Gets the English translation.
2473
2298
  * @param namespace - the namespace that identifies the particular localization file that contains the property.
2474
2299
  * @param key - the key that matches a property in the JSON localization file.
@@ -2477,31 +2302,31 @@ class ITwinLocalization {
2477
2302
  * @internal
2478
2303
  */
2479
2304
  getEnglishString(namespace, key, options) {
2480
- cov_2l9mmpbx71().f[8]++;
2481
- cov_2l9mmpbx71().s[41]++;
2482
- if ((cov_2l9mmpbx71().b[15][0]++, options?.returnDetails) || (cov_2l9mmpbx71().b[15][1]++, options?.returnObjects)) {
2483
- cov_2l9mmpbx71().b[14][0]++;
2484
- cov_2l9mmpbx71().s[42]++;
2305
+ cov_ogldeftyv().f[6]++;
2306
+ cov_ogldeftyv().s[35]++;
2307
+ if ((cov_ogldeftyv().b[14][0]++, options?.returnDetails) || (cov_ogldeftyv().b[14][1]++, options?.returnObjects)) {
2308
+ cov_ogldeftyv().b[13][0]++;
2309
+ cov_ogldeftyv().s[36]++;
2485
2310
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2486
2311
  } else {
2487
- cov_2l9mmpbx71().b[14][1]++;
2312
+ cov_ogldeftyv().b[13][1]++;
2488
2313
  }
2489
- cov_2l9mmpbx71().s[43]++;
2314
+ cov_ogldeftyv().s[37]++;
2490
2315
  options = {
2491
2316
  ...options,
2492
2317
  ns: namespace // ensure namespace argument is used
2493
2318
  };
2494
- const en = (cov_2l9mmpbx71().s[44]++, this.i18next.getFixedT("en", namespace));
2495
- const str = (cov_2l9mmpbx71().s[45]++, en(key, options));
2496
- cov_2l9mmpbx71().s[46]++;
2319
+ const en = (cov_ogldeftyv().s[38]++, this.i18next.getFixedT("en", namespace));
2320
+ const str = (cov_ogldeftyv().s[39]++, en(key, options));
2321
+ cov_ogldeftyv().s[40]++;
2497
2322
  if (typeof str !== "string") {
2498
- cov_2l9mmpbx71().b[16][0]++;
2499
- cov_2l9mmpbx71().s[47]++;
2323
+ cov_ogldeftyv().b[15][0]++;
2324
+ cov_ogldeftyv().s[41]++;
2500
2325
  throw new Error("Translation key(s) not found");
2501
2326
  } else {
2502
- cov_2l9mmpbx71().b[16][1]++;
2327
+ cov_ogldeftyv().b[15][1]++;
2503
2328
  }
2504
- cov_2l9mmpbx71().s[48]++;
2329
+ cov_ogldeftyv().s[42]++;
2505
2330
  return str;
2506
2331
  }
2507
2332
  /** Get the promise for an already registered Namespace.
@@ -2509,20 +2334,20 @@ class ITwinLocalization {
2509
2334
  * @public
2510
2335
  */
2511
2336
  getNamespacePromise(name) {
2512
- cov_2l9mmpbx71().f[9]++;
2513
- cov_2l9mmpbx71().s[49]++;
2337
+ cov_ogldeftyv().f[7]++;
2338
+ cov_ogldeftyv().s[43]++;
2514
2339
  return this._namespaces.get(name);
2515
2340
  }
2516
2341
  /** @internal */
2517
2342
  getLanguageList() {
2518
- cov_2l9mmpbx71().f[10]++;
2519
- cov_2l9mmpbx71().s[50]++;
2343
+ cov_ogldeftyv().f[8]++;
2344
+ cov_ogldeftyv().s[44]++;
2520
2345
  return this.i18next.languages;
2521
2346
  }
2522
2347
  /** override the language detected in the browser */
2523
2348
  async changeLanguage(language) {
2524
- cov_2l9mmpbx71().f[11]++;
2525
- cov_2l9mmpbx71().s[51]++;
2349
+ cov_ogldeftyv().f[9]++;
2350
+ cov_ogldeftyv().s[45]++;
2526
2351
  return this.i18next.changeLanguage(language);
2527
2352
  }
2528
2353
  /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
@@ -2534,124 +2359,123 @@ class ITwinLocalization {
2534
2359
  * @public
2535
2360
  */
2536
2361
  async registerNamespace(name) {
2537
- cov_2l9mmpbx71().f[12]++;
2538
- const existing = (cov_2l9mmpbx71().s[52]++, this._namespaces.get(name));
2539
- cov_2l9mmpbx71().s[53]++;
2362
+ cov_ogldeftyv().f[10]++;
2363
+ const existing = (cov_ogldeftyv().s[46]++, this._namespaces.get(name));
2364
+ cov_ogldeftyv().s[47]++;
2540
2365
  if (existing !== undefined) {
2541
- cov_2l9mmpbx71().b[17][0]++;
2542
- cov_2l9mmpbx71().s[54]++;
2366
+ cov_ogldeftyv().b[16][0]++;
2367
+ cov_ogldeftyv().s[48]++;
2543
2368
  return existing;
2544
2369
  } else {
2545
- cov_2l9mmpbx71().b[17][1]++;
2370
+ cov_ogldeftyv().b[16][1]++;
2546
2371
  }
2547
- const theReadPromise = (cov_2l9mmpbx71().s[55]++, new Promise(resolve => {
2548
- cov_2l9mmpbx71().f[13]++;
2549
- cov_2l9mmpbx71().s[56]++;
2372
+ const theReadPromise = (cov_ogldeftyv().s[49]++, new Promise(resolve => {
2373
+ cov_ogldeftyv().f[11]++;
2374
+ cov_ogldeftyv().s[50]++;
2550
2375
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
2551
2376
  this.i18next.loadNamespaces(name, err => {
2552
- cov_2l9mmpbx71().f[14]++;
2553
- cov_2l9mmpbx71().s[57]++;
2377
+ cov_ogldeftyv().f[12]++;
2378
+ cov_ogldeftyv().s[51]++;
2554
2379
  if (!err) {
2555
- cov_2l9mmpbx71().b[18][0]++;
2556
- cov_2l9mmpbx71().s[58]++;
2380
+ cov_ogldeftyv().b[17][0]++;
2381
+ cov_ogldeftyv().s[52]++;
2557
2382
  return resolve();
2558
2383
  } else {
2559
- cov_2l9mmpbx71().b[18][1]++;
2384
+ cov_ogldeftyv().b[17][1]++;
2560
2385
  }
2561
2386
  // Here we got a non-null err object.
2562
2387
  // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
2563
2388
  // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
2564
2389
  // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
2565
2390
  // 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.
2566
- let locales = (cov_2l9mmpbx71().s[59]++, this.getLanguageList().map(thisLocale => {
2567
- cov_2l9mmpbx71().f[15]++;
2568
- cov_2l9mmpbx71().s[60]++;
2391
+ let locales = (cov_ogldeftyv().s[53]++, this.getLanguageList().map(thisLocale => {
2392
+ cov_ogldeftyv().f[13]++;
2393
+ cov_ogldeftyv().s[54]++;
2569
2394
  return `/${thisLocale}/`;
2570
2395
  }));
2571
- cov_2l9mmpbx71().s[61]++;
2396
+ cov_ogldeftyv().s[55]++;
2572
2397
  try {
2573
- cov_2l9mmpbx71().s[62]++;
2398
+ cov_ogldeftyv().s[56]++;
2574
2399
  for (const thisError of err) {
2575
- cov_2l9mmpbx71().s[63]++;
2400
+ cov_ogldeftyv().s[57]++;
2576
2401
  if (typeof thisError === "string") {
2577
- cov_2l9mmpbx71().b[19][0]++;
2578
- cov_2l9mmpbx71().s[64]++;
2402
+ cov_ogldeftyv().b[18][0]++;
2403
+ cov_ogldeftyv().s[58]++;
2579
2404
  locales = locales.filter(thisLocale => {
2580
- cov_2l9mmpbx71().f[16]++;
2581
- cov_2l9mmpbx71().s[65]++;
2405
+ cov_ogldeftyv().f[14]++;
2406
+ cov_ogldeftyv().s[59]++;
2582
2407
  return !thisError.includes(thisLocale);
2583
2408
  });
2584
2409
  } else {
2585
- cov_2l9mmpbx71().b[19][1]++;
2410
+ cov_ogldeftyv().b[18][1]++;
2586
2411
  }
2587
2412
  }
2588
2413
  } catch {
2589
- cov_2l9mmpbx71().s[66]++;
2414
+ cov_ogldeftyv().s[60]++;
2590
2415
  locales = [];
2591
2416
  }
2592
2417
  // if we removed every locale from the array, it wasn't loaded.
2593
- cov_2l9mmpbx71().s[67]++;
2418
+ cov_ogldeftyv().s[61]++;
2594
2419
  if (locales.length === 0) {
2595
- cov_2l9mmpbx71().b[20][0]++;
2596
- cov_2l9mmpbx71().s[68]++;
2420
+ cov_ogldeftyv().b[19][0]++;
2421
+ cov_ogldeftyv().s[62]++;
2597
2422
  core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
2598
2423
  } else {
2599
- cov_2l9mmpbx71().b[20][1]++;
2424
+ cov_ogldeftyv().b[19][1]++;
2600
2425
  }
2601
- cov_2l9mmpbx71().s[69]++;
2426
+ cov_ogldeftyv().s[63]++;
2602
2427
  resolve();
2603
2428
  });
2604
2429
  }));
2605
- cov_2l9mmpbx71().s[70]++;
2430
+ cov_ogldeftyv().s[64]++;
2606
2431
  this._namespaces.set(name, theReadPromise);
2607
- cov_2l9mmpbx71().s[71]++;
2432
+ cov_ogldeftyv().s[65]++;
2608
2433
  return theReadPromise;
2609
2434
  }
2610
2435
  /** @internal */
2611
2436
  unregisterNamespace(name) {
2612
- cov_2l9mmpbx71().f[17]++;
2613
- cov_2l9mmpbx71().s[72]++;
2437
+ cov_ogldeftyv().f[15]++;
2438
+ cov_ogldeftyv().s[66]++;
2614
2439
  this._namespaces.delete(name);
2615
2440
  }
2616
2441
  }
2617
- cov_2l9mmpbx71().s[73]++;
2442
+ cov_ogldeftyv().s[67]++;
2618
2443
  exports.ITwinLocalization = ITwinLocalization;
2619
2444
  class TranslationLogger {
2445
+ static type = (cov_ogldeftyv().s[68]++, "logger");
2620
2446
  log(args) {
2621
- cov_2l9mmpbx71().f[18]++;
2622
- cov_2l9mmpbx71().s[74]++;
2447
+ cov_ogldeftyv().f[16]++;
2448
+ cov_ogldeftyv().s[69]++;
2623
2449
  core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
2624
2450
  }
2625
2451
  warn(args) {
2626
- cov_2l9mmpbx71().f[19]++;
2627
- cov_2l9mmpbx71().s[75]++;
2452
+ cov_ogldeftyv().f[17]++;
2453
+ cov_ogldeftyv().s[70]++;
2628
2454
  core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
2629
2455
  }
2630
2456
  error(args) {
2631
- cov_2l9mmpbx71().f[20]++;
2632
- cov_2l9mmpbx71().s[76]++;
2457
+ cov_ogldeftyv().f[18]++;
2458
+ cov_ogldeftyv().s[71]++;
2633
2459
  core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
2634
2460
  }
2635
2461
  createLogMessage(args) {
2636
- cov_2l9mmpbx71().f[21]++;
2637
- let message = (cov_2l9mmpbx71().s[77]++, args[0]);
2638
- cov_2l9mmpbx71().s[78]++;
2639
- for (let i = (cov_2l9mmpbx71().s[79]++, 1); i < args.length; ++i) {
2640
- cov_2l9mmpbx71().s[80]++;
2462
+ cov_ogldeftyv().f[19]++;
2463
+ let message = (cov_ogldeftyv().s[72]++, args[0]);
2464
+ cov_ogldeftyv().s[73]++;
2465
+ for (let i = (cov_ogldeftyv().s[74]++, 1); i < args.length; ++i) {
2466
+ cov_ogldeftyv().s[75]++;
2641
2467
  if (typeof args[i] === "string") {
2642
- cov_2l9mmpbx71().b[21][0]++;
2643
- cov_2l9mmpbx71().s[81]++;
2468
+ cov_ogldeftyv().b[20][0]++;
2469
+ cov_ogldeftyv().s[76]++;
2644
2470
  message += `\n ${args[i]}`;
2645
2471
  } else {
2646
- cov_2l9mmpbx71().b[21][1]++;
2472
+ cov_ogldeftyv().b[20][1]++;
2647
2473
  }
2648
2474
  }
2649
- cov_2l9mmpbx71().s[82]++;
2475
+ cov_ogldeftyv().s[77]++;
2650
2476
  return message;
2651
2477
  }
2652
2478
  }
2653
- cov_2l9mmpbx71().s[83]++;
2654
- TranslationLogger.type = "logger";
2655
2479
 
2656
2480
  /***/ }),
2657
2481
 
@@ -13469,8 +13293,8 @@ __webpack_require__.r(__webpack_exports__);
13469
13293
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13470
13294
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13471
13295
  /* harmony export */ });
13472
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13473
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13296
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13297
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13474
13298
 
13475
13299
 
13476
13300
 
@@ -13898,15 +13722,15 @@ Browser.type = 'languageDetector';
13898
13722
  "use strict";
13899
13723
 
13900
13724
 
13901
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js");
13902
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13903
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js");
13904
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13905
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js");
13906
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13907
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13908
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13909
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js");
13725
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js");
13726
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13727
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js");
13728
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13729
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js");
13730
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13731
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13732
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13733
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js");
13910
13734
 
13911
13735
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13912
13736
 
@@ -18093,7 +17917,7 @@ __webpack_require__.r(__webpack_exports__);
18093
17917
  "use strict";
18094
17918
  __webpack_require__.r(__webpack_exports__);
18095
17919
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18096
- /* harmony export */ "assert": () => (/* binding */ assert)
17920
+ /* harmony export */ assert: () => (/* binding */ assert)
18097
17921
  /* harmony export */ });
18098
17922
  /*---------------------------------------------------------------------------------------------
18099
17923
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18149,9 +17973,9 @@ function assert(condition, message) {
18149
17973
  "use strict";
18150
17974
  __webpack_require__.r(__webpack_exports__);
18151
17975
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18152
- /* harmony export */ "BeEvent": () => (/* binding */ BeEvent),
18153
- /* harmony export */ "BeEventList": () => (/* binding */ BeEventList),
18154
- /* harmony export */ "BeUiEvent": () => (/* binding */ BeUiEvent)
17976
+ /* harmony export */ BeEvent: () => (/* binding */ BeEvent),
17977
+ /* harmony export */ BeEventList: () => (/* binding */ BeEventList),
17978
+ /* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
18155
17979
  /* harmony export */ });
18156
17980
  /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
18157
17981
  /*---------------------------------------------------------------------------------------------
@@ -18169,10 +17993,8 @@ __webpack_require__.r(__webpack_exports__);
18169
17993
  * @public
18170
17994
  */
18171
17995
  class BeEvent {
18172
- constructor() {
18173
- this._listeners = [];
18174
- this._insideRaiseEvent = false;
18175
- }
17996
+ _listeners = [];
17997
+ _insideRaiseEvent = false;
18176
17998
  /** The number of listeners currently subscribed to the event. */
18177
17999
  get numberOfListeners() { return this._listeners.length; }
18178
18000
  /**
@@ -18281,9 +18103,7 @@ class BeUiEvent extends BeEvent {
18281
18103
  * @public
18282
18104
  */
18283
18105
  class BeEventList {
18284
- constructor() {
18285
- this._events = {};
18286
- }
18106
+ _events = {};
18287
18107
  /**
18288
18108
  * Gets the event associated with the specified name, creating the event if it does not already exist.
18289
18109
  * @param name The name of the event.
@@ -18317,9 +18137,9 @@ class BeEventList {
18317
18137
  "use strict";
18318
18138
  __webpack_require__.r(__webpack_exports__);
18319
18139
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18320
- /* harmony export */ "DbOpcode": () => (/* binding */ DbOpcode),
18321
- /* harmony export */ "DbResult": () => (/* binding */ DbResult),
18322
- /* harmony export */ "OpenMode": () => (/* binding */ OpenMode)
18140
+ /* harmony export */ DbOpcode: () => (/* binding */ DbOpcode),
18141
+ /* harmony export */ DbResult: () => (/* binding */ DbResult),
18142
+ /* harmony export */ OpenMode: () => (/* binding */ OpenMode)
18323
18143
  /* harmony export */ });
18324
18144
  /*---------------------------------------------------------------------------------------------
18325
18145
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18514,16 +18334,16 @@ var DbResult;
18514
18334
  "use strict";
18515
18335
  __webpack_require__.r(__webpack_exports__);
18516
18336
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18517
- /* harmony export */ "BentleyError": () => (/* binding */ BentleyError),
18518
- /* harmony export */ "BentleyStatus": () => (/* binding */ BentleyStatus),
18519
- /* harmony export */ "BriefcaseStatus": () => (/* binding */ BriefcaseStatus),
18520
- /* harmony export */ "ChangeSetStatus": () => (/* binding */ ChangeSetStatus),
18521
- /* harmony export */ "GeoServiceStatus": () => (/* binding */ GeoServiceStatus),
18522
- /* harmony export */ "HttpStatus": () => (/* binding */ HttpStatus),
18523
- /* harmony export */ "IModelHubStatus": () => (/* binding */ IModelHubStatus),
18524
- /* harmony export */ "IModelStatus": () => (/* binding */ IModelStatus),
18525
- /* harmony export */ "RealityDataStatus": () => (/* binding */ RealityDataStatus),
18526
- /* harmony export */ "RpcInterfaceStatus": () => (/* binding */ RpcInterfaceStatus)
18337
+ /* harmony export */ BentleyError: () => (/* binding */ BentleyError),
18338
+ /* harmony export */ BentleyStatus: () => (/* binding */ BentleyStatus),
18339
+ /* harmony export */ BriefcaseStatus: () => (/* binding */ BriefcaseStatus),
18340
+ /* harmony export */ ChangeSetStatus: () => (/* binding */ ChangeSetStatus),
18341
+ /* harmony export */ GeoServiceStatus: () => (/* binding */ GeoServiceStatus),
18342
+ /* harmony export */ HttpStatus: () => (/* binding */ HttpStatus),
18343
+ /* harmony export */ IModelHubStatus: () => (/* binding */ IModelHubStatus),
18344
+ /* harmony export */ IModelStatus: () => (/* binding */ IModelStatus),
18345
+ /* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
18346
+ /* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
18527
18347
  /* harmony export */ });
18528
18348
  /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
18529
18349
  /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
@@ -18829,6 +18649,8 @@ function isObject(obj) {
18829
18649
  * @public
18830
18650
  */
18831
18651
  class BentleyError extends Error {
18652
+ errorNumber;
18653
+ _metaData;
18832
18654
  /**
18833
18655
  * @param errorNumber The a number that identifies of the problem.
18834
18656
  * @param message message that describes the problem (should not be localized).
@@ -19204,7 +19026,7 @@ class BentleyError extends Error {
19204
19026
  "use strict";
19205
19027
  __webpack_require__.r(__webpack_exports__);
19206
19028
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19207
- /* harmony export */ "BentleyLoggerCategory": () => (/* binding */ BentleyLoggerCategory)
19029
+ /* harmony export */ BentleyLoggerCategory: () => (/* binding */ BentleyLoggerCategory)
19208
19030
  /* harmony export */ });
19209
19031
  /*---------------------------------------------------------------------------------------------
19210
19032
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19235,7 +19057,7 @@ var BentleyLoggerCategory;
19235
19057
  "use strict";
19236
19058
  __webpack_require__.r(__webpack_exports__);
19237
19059
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19238
- /* harmony export */ "ByteStream": () => (/* binding */ ByteStream)
19060
+ /* harmony export */ ByteStream: () => (/* binding */ ByteStream)
19239
19061
  /* harmony export */ });
19240
19062
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19241
19063
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -19256,6 +19078,9 @@ __webpack_require__.r(__webpack_exports__);
19256
19078
  * @public
19257
19079
  */
19258
19080
  class ByteStream {
19081
+ _view;
19082
+ _byteOffset;
19083
+ _curPos = 0;
19259
19084
  /** Construct a new ByteStream with the read position set to the beginning.
19260
19085
  * @param buffer The underlying buffer from which data is to be extracted.
19261
19086
  * @param subView If defined, specifies the subset of the underlying buffer's data to use.
@@ -19267,11 +19092,9 @@ class ByteStream {
19267
19092
  * ArrayBuffer. If `bytes` represents only a **sub-range** of the underlying buffer's data, the results will be unexpected unless the optional `subView`
19268
19093
  * argument is supplied, with correct offset and length.
19269
19094
  *
19270
- * For both of the above reasons, prefer to use [[fromUint8Array]].
19271
- * @deprecated in 3.x. Use [[fromUint8Array]] or [[fromArrayBuffer]].
19095
+ * For both of the above reasons, this constructor is private, and [[fromUint8Array]] or [[fromArrayBuffer]] should be used to create a ByteStream.
19272
19096
  */
19273
19097
  constructor(buffer, subView) {
19274
- this._curPos = 0;
19275
19098
  if (undefined !== subView) {
19276
19099
  this._view = new DataView(buffer, subView.byteOffset, subView.byteLength);
19277
19100
  this._byteOffset = subView.byteOffset;
@@ -19283,17 +19106,18 @@ class ByteStream {
19283
19106
  }
19284
19107
  /** Construct a new ByteStream for the range of bytes represented by `bytes`, which may be a subset of the range of bytes
19285
19108
  * represented by the underlying ArrayBuffer. The read position will be set to the beginning of the range of bytes.
19109
+ * @param bytes The Uint8Array from which data is to be extracted.
19286
19110
  */
19287
19111
  static fromUint8Array(bytes) {
19288
19112
  const { byteOffset, byteLength } = bytes;
19289
- return new ByteStream(bytes.buffer, { byteOffset, byteLength }); // eslint-disable-line @typescript-eslint/no-deprecated
19113
+ return new ByteStream(bytes.buffer, { byteOffset, byteLength });
19290
19114
  }
19291
19115
  /** Construct a new ByteStream with the read position set to the beginning.
19292
19116
  * @param buffer The underlying buffer from which data is to be extracted.
19293
19117
  * @param subView If defined, specifies the subset of the underlying buffer's data to use.
19294
19118
  */
19295
19119
  static fromArrayBuffer(buffer, subView) {
19296
- return new ByteStream(buffer, subView); // eslint-disable-line @typescript-eslint/no-deprecated
19120
+ return new ByteStream(buffer, subView);
19297
19121
  }
19298
19122
  /** The number of bytes in this stream */
19299
19123
  get length() {
@@ -19351,22 +19175,6 @@ class ByteStream {
19351
19175
  readId64() { return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.readUint32(), this.readUint32()); }
19352
19176
  /** Read an unsigned 24-bit integer from the current read position and advance by 3 bytes. */
19353
19177
  readUint24() { return this.readUint8() | (this.readUint8() << 8) | (this.readUint8() << 16); }
19354
- /** @deprecated in 3.x. use [[readUint8]]. */
19355
- get nextUint8() { return this.readUint8(); }
19356
- /** @deprecated in 3.x. use [[readUint16]]. */
19357
- get nextUint16() { return this.readUint16(); }
19358
- /** @deprecated in 3.x. use [[readUint32]]. */
19359
- get nextUint32() { return this.readUint32(); }
19360
- /** @deprecated in 3.x. use [[readInt32]]. */
19361
- get nextInt32() { return this.readInt32(); }
19362
- /** @deprecated in 3.x. use [[readFloat32]]. */
19363
- get nextFloat32() { return this.readFloat32(); }
19364
- /** @deprecated in 3.x. use [[readFloat64]]. */
19365
- get nextFloat64() { return this.readFloat64(); }
19366
- /** @deprecated in 3.x. use [[readId64]]. */
19367
- get nextId64() { return this.readId64(); }
19368
- /** @deprecated in 3.x. use [[readUint32]]. */
19369
- get nextUint24() { return this.readUint24(); }
19370
19178
  /** Read the specified number of bytes beginning at the current read position into a Uint8Array and advance by the specified number of byte.
19371
19179
  * @param numBytes The number of bytes to read.
19372
19180
  */
@@ -19407,8 +19215,8 @@ class ByteStream {
19407
19215
  "use strict";
19408
19216
  __webpack_require__.r(__webpack_exports__);
19409
19217
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19410
- /* harmony export */ "isProperSubclassOf": () => (/* binding */ isProperSubclassOf),
19411
- /* harmony export */ "isSubclassOf": () => (/* binding */ isSubclassOf)
19218
+ /* harmony export */ isProperSubclassOf: () => (/* binding */ isProperSubclassOf),
19219
+ /* harmony export */ isSubclassOf: () => (/* binding */ isSubclassOf)
19412
19220
  /* harmony export */ });
19413
19221
  /*---------------------------------------------------------------------------------------------
19414
19222
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19450,15 +19258,15 @@ function isSubclassOf(subclass, superclass) {
19450
19258
  "use strict";
19451
19259
  __webpack_require__.r(__webpack_exports__);
19452
19260
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19453
- /* harmony export */ "areEqualPossiblyUndefined": () => (/* binding */ areEqualPossiblyUndefined),
19454
- /* harmony export */ "compareBooleans": () => (/* binding */ compareBooleans),
19455
- /* harmony export */ "compareBooleansOrUndefined": () => (/* binding */ compareBooleansOrUndefined),
19456
- /* harmony export */ "compareNumbers": () => (/* binding */ compareNumbers),
19457
- /* harmony export */ "compareNumbersOrUndefined": () => (/* binding */ compareNumbersOrUndefined),
19458
- /* harmony export */ "comparePossiblyUndefined": () => (/* binding */ comparePossiblyUndefined),
19459
- /* harmony export */ "compareStrings": () => (/* binding */ compareStrings),
19460
- /* harmony export */ "compareStringsOrUndefined": () => (/* binding */ compareStringsOrUndefined),
19461
- /* harmony export */ "compareWithTolerance": () => (/* binding */ compareWithTolerance)
19261
+ /* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
19262
+ /* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
19263
+ /* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
19264
+ /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
19265
+ /* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
19266
+ /* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
19267
+ /* harmony export */ compareStrings: () => (/* binding */ compareStrings),
19268
+ /* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
19269
+ /* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
19462
19270
  /* harmony export */ });
19463
19271
  /*---------------------------------------------------------------------------------------------
19464
19272
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19536,9 +19344,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
19536
19344
  "use strict";
19537
19345
  __webpack_require__.r(__webpack_exports__);
19538
19346
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19539
- /* harmony export */ "CompressedId64Set": () => (/* binding */ CompressedId64Set),
19540
- /* harmony export */ "MutableCompressedId64Set": () => (/* binding */ MutableCompressedId64Set),
19541
- /* harmony export */ "OrderedId64Array": () => (/* binding */ OrderedId64Array)
19347
+ /* harmony export */ CompressedId64Set: () => (/* binding */ CompressedId64Set),
19348
+ /* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
19349
+ /* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
19542
19350
  /* harmony export */ });
19543
19351
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19544
19352
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -19664,6 +19472,9 @@ var CompressedId64Set;
19664
19472
  CompressedId64Set.compressIds = compressIds;
19665
19473
  /** This exists strictly for the purposes of compressed sets of 64-bit Ids, to avoid the overhead of BigInt for handling 64-bit integers. */
19666
19474
  class Uint64 {
19475
+ lower;
19476
+ upper;
19477
+ static _base = 0x100000000;
19667
19478
  static assertUint32(num) {
19668
19479
  (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num >= 0);
19669
19480
  (0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(num < Uint64._base);
@@ -19725,7 +19536,6 @@ var CompressedId64Set;
19725
19536
  return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.lower, this.upper);
19726
19537
  }
19727
19538
  }
19728
- Uint64._base = 0x100000000;
19729
19539
  /** Supplies an iterator over the [[Id64String]]s in a [[CompressedId64Set]].
19730
19540
  * The Ids are iterated in ascending order based on their unsigned 64-bit integer values.
19731
19541
  */
@@ -19869,10 +19679,11 @@ class OrderedId64Array extends _SortedArray__WEBPACK_IMPORTED_MODULE_3__.SortedA
19869
19679
  * @public
19870
19680
  */
19871
19681
  class MutableCompressedId64Set {
19682
+ _ids;
19683
+ _inserted = new OrderedId64Array();
19684
+ _deleted = new OrderedId64Array();
19872
19685
  /** Construct a new set, optionally initialized to contain the Ids represented by `ids`. */
19873
19686
  constructor(ids) {
19874
- this._inserted = new OrderedId64Array();
19875
- this._deleted = new OrderedId64Array();
19876
19687
  this._ids = ids ?? "";
19877
19688
  }
19878
19689
  /** 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. */
@@ -19980,7 +19791,7 @@ class MutableCompressedId64Set {
19980
19791
  "use strict";
19981
19792
  __webpack_require__.r(__webpack_exports__);
19982
19793
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19983
- /* harmony export */ "Dictionary": () => (/* binding */ Dictionary)
19794
+ /* harmony export */ Dictionary: () => (/* binding */ Dictionary)
19984
19795
  /* harmony export */ });
19985
19796
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
19986
19797
  /*---------------------------------------------------------------------------------------------
@@ -19992,8 +19803,10 @@ __webpack_require__.r(__webpack_exports__);
19992
19803
  */
19993
19804
 
19994
19805
  class DictionaryIterator {
19806
+ _keys;
19807
+ _values;
19808
+ _curIndex = -1;
19995
19809
  constructor(keys, values) {
19996
- this._curIndex = -1;
19997
19810
  this._keys = keys;
19998
19811
  this._values = values;
19999
19812
  }
@@ -20028,6 +19841,11 @@ class DictionaryIterator {
20028
19841
  * @public
20029
19842
  */
20030
19843
  class Dictionary {
19844
+ _keys = [];
19845
+ _compareKeys;
19846
+ _cloneKey;
19847
+ _values = [];
19848
+ _cloneValue;
20031
19849
  /**
20032
19850
  * Construct a new Dictionary<K, V>.
20033
19851
  * @param compareKeys The function used to compare keys within the dictionary.
@@ -20035,8 +19853,6 @@ class Dictionary {
20035
19853
  * @param cloneValue The function invoked to clone a value for insertion into the dictionary. The default implementation simply returns its input.
20036
19854
  */
20037
19855
  constructor(compareKeys, cloneKey = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone, cloneValue = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
20038
- this._keys = [];
20039
- this._values = [];
20040
19856
  this._compareKeys = compareKeys;
20041
19857
  this._cloneKey = cloneKey;
20042
19858
  this._cloneValue = cloneValue;
@@ -20195,11 +20011,12 @@ class Dictionary {
20195
20011
  "use strict";
20196
20012
  __webpack_require__.r(__webpack_exports__);
20197
20013
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20198
- /* harmony export */ "DisposableList": () => (/* binding */ DisposableList),
20199
- /* harmony export */ "dispose": () => (/* binding */ dispose),
20200
- /* harmony export */ "disposeArray": () => (/* binding */ disposeArray),
20201
- /* harmony export */ "isIDisposable": () => (/* binding */ isIDisposable),
20202
- /* harmony export */ "using": () => (/* binding */ using)
20014
+ /* harmony export */ DisposableList: () => (/* binding */ DisposableList),
20015
+ /* harmony export */ dispose: () => (/* binding */ dispose),
20016
+ /* harmony export */ disposeArray: () => (/* binding */ disposeArray),
20017
+ /* harmony export */ isDisposable: () => (/* binding */ isDisposable),
20018
+ /* harmony export */ isIDisposable: () => (/* binding */ isIDisposable),
20019
+ /* harmony export */ using: () => (/* binding */ using)
20203
20020
  /* harmony export */ });
20204
20021
  /*---------------------------------------------------------------------------------------------
20205
20022
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -20208,46 +20025,42 @@ __webpack_require__.r(__webpack_exports__);
20208
20025
  /** @packageDocumentation
20209
20026
  * @module Utils
20210
20027
  */
20028
+ /* eslint-disable @typescript-eslint/no-deprecated */
20029
+ Symbol.dispose ??= Symbol("Symbol.dispose");
20030
+ Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
20211
20031
  /**
20212
20032
  * A type guard that checks whether the given argument implements `IDisposable` interface
20033
+ * @deprecated in 5.0 Use isDisposable instead.
20213
20034
  * @public
20214
20035
  */
20215
20036
  function isIDisposable(obj) {
20216
20037
  return !!obj && (obj instanceof Object) && !!obj.dispose && (typeof obj.dispose === "function");
20217
20038
  }
20218
- /** Convenience function for disposing of a disposable object that may be undefined.
20219
- * This is primarily used to simplify implementations of [[IDisposable.dispose]].
20220
- * As a simple example:
20221
- * ```ts
20222
- * class Disposable implements IDisposable {
20223
- * public member1?: DisposableType1;
20224
- * public member2?: DisposableType2;
20225
- *
20226
- * public dispose() {
20227
- * this.member1 = dispose(this.member1); // If member1 is defined, dispose of it and set it to undefined.
20228
- * this.member2 = dispose(this.member2); // Likewise for member2.
20229
- * }
20230
- * }
20231
- * ```
20232
- * @param disposable The object to be disposed of.
20233
- * @returns undefined
20039
+ /**
20040
+ * A type guard that checks whether the given argument implements `Disposable` interface
20234
20041
  * @public
20235
20042
  */
20043
+ function isDisposable(obj) {
20044
+ return !!obj && (obj instanceof Object) && !!obj[Symbol.dispose] && (typeof obj[Symbol.dispose] === "function");
20045
+ }
20236
20046
  function dispose(disposable) {
20237
- if (undefined !== disposable)
20238
- disposable.dispose();
20047
+ if (undefined !== disposable) {
20048
+ if (Symbol.dispose in disposable)
20049
+ disposable[Symbol.dispose]();
20050
+ else
20051
+ disposable.dispose();
20052
+ }
20239
20053
  return undefined;
20240
20054
  }
20241
- /** Disposes of and empties a list of disposable objects.
20242
- * @param list The list of disposable objects.
20243
- * @returns undefined
20244
- * @public
20245
- */
20246
20055
  function disposeArray(list) {
20247
20056
  if (undefined === list)
20248
20057
  return undefined;
20249
- for (const entry of list)
20250
- dispose(entry);
20058
+ for (const entry of list) {
20059
+ if (Symbol.dispose in entry)
20060
+ entry[Symbol.dispose]();
20061
+ else
20062
+ entry.dispose();
20063
+ }
20251
20064
  list.length = 0;
20252
20065
  return undefined;
20253
20066
  }
@@ -20256,6 +20069,7 @@ function disposeArray(list) {
20256
20069
  * of this function is equal to return value of func. If func throws, this function also throws (after
20257
20070
  * disposing the resource).
20258
20071
  * @public
20072
+ * @deprecated in 5.0 Use `using` declarations instead.
20259
20073
  */
20260
20074
  function using(resources, func) {
20261
20075
  if (!Array.isArray(resources))
@@ -20276,6 +20090,7 @@ function using(resources, func) {
20276
20090
  }
20277
20091
  }
20278
20092
  class FuncDisposable {
20093
+ _disposeFunc;
20279
20094
  constructor(disposeFunc) { this._disposeFunc = disposeFunc; }
20280
20095
  dispose() { this._disposeFunc(); }
20281
20096
  }
@@ -20283,6 +20098,7 @@ class FuncDisposable {
20283
20098
  * @public
20284
20099
  */
20285
20100
  class DisposableList {
20101
+ _disposables;
20286
20102
  /** Creates a disposable list. */
20287
20103
  constructor(disposables = []) {
20288
20104
  this._disposables = [];
@@ -20325,9 +20141,9 @@ class DisposableList {
20325
20141
  "use strict";
20326
20142
  __webpack_require__.r(__webpack_exports__);
20327
20143
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20328
- /* harmony export */ "Guid": () => (/* binding */ Guid),
20329
- /* harmony export */ "Id64": () => (/* binding */ Id64),
20330
- /* harmony export */ "TransientIdSequence": () => (/* binding */ TransientIdSequence)
20144
+ /* harmony export */ Guid: () => (/* binding */ Guid),
20145
+ /* harmony export */ Id64: () => (/* binding */ Id64),
20146
+ /* harmony export */ TransientIdSequence: () => (/* binding */ TransientIdSequence)
20331
20147
  /* harmony export */ });
20332
20148
  /*---------------------------------------------------------------------------------------------
20333
20149
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -20748,11 +20564,11 @@ var Id64;
20748
20564
  * @public
20749
20565
  */
20750
20566
  class Uint32Set {
20567
+ _map = new Map();
20751
20568
  /** Construct a new Uint32Set.
20752
20569
  * @param ids If supplied, all of the specified Ids will be added to the new set.
20753
20570
  */
20754
20571
  constructor(ids) {
20755
- this._map = new Map();
20756
20572
  if (undefined !== ids)
20757
20573
  this.addIds(ids);
20758
20574
  }
@@ -20813,8 +20629,11 @@ var Id64;
20813
20629
  /** Remove an Id from the set. */
20814
20630
  delete(low, high) {
20815
20631
  const set = this._map.get(high);
20816
- if (undefined !== set)
20632
+ if (undefined !== set) {
20817
20633
  set.delete(low);
20634
+ if (set.size === 0)
20635
+ this._map.delete(high);
20636
+ }
20818
20637
  }
20819
20638
  /** Returns true if the set contains the specified Id. */
20820
20639
  has(low, high) {
@@ -20863,9 +20682,7 @@ var Id64;
20863
20682
  * @public
20864
20683
  */
20865
20684
  class Uint32Map {
20866
- constructor() {
20867
- this._map = new Map();
20868
- }
20685
+ _map = new Map();
20869
20686
  /** Remove all entries from the map. */
20870
20687
  clear() { this._map.clear(); }
20871
20688
  /** Find an entry in the map by Id. */
@@ -20916,6 +20733,9 @@ function validateLocalId(num) {
20916
20733
  * @public
20917
20734
  */
20918
20735
  class TransientIdSequence {
20736
+ /** The starting local Id provided to the constructor. The sequence begins at `initialLocalId + 1`. */
20737
+ initialLocalId;
20738
+ _localId;
20919
20739
  /** Constructor.
20920
20740
  * @param initialLocalId The starting local Id. The local Id of the first [[Id64String]] generated by [[getNext]] will be `initialLocalId + 1`.
20921
20741
  */
@@ -20931,12 +20751,6 @@ class TransientIdSequence {
20931
20751
  get currentLocalId() {
20932
20752
  return this._localId;
20933
20753
  }
20934
- /** Generate and return the next transient Id64String in the sequence.
20935
- * @deprecated in 3.x. Use [[getNext]].
20936
- */
20937
- get next() {
20938
- return this.getNext();
20939
- }
20940
20754
  /** Generate and return the next transient Id64String in the sequence. */
20941
20755
  getNext() {
20942
20756
  return Id64.fromLocalAndBriefcaseIds(++this._localId, 0xffffff);
@@ -21068,8 +20882,8 @@ var Guid;
21068
20882
  "use strict";
21069
20883
  __webpack_require__.r(__webpack_exports__);
21070
20884
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21071
- /* harmony export */ "IndexMap": () => (/* binding */ IndexMap),
21072
- /* harmony export */ "IndexedValue": () => (/* binding */ IndexedValue)
20885
+ /* harmony export */ IndexMap: () => (/* binding */ IndexMap),
20886
+ /* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
21073
20887
  /* harmony export */ });
21074
20888
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
21075
20889
  /*---------------------------------------------------------------------------------------------
@@ -21084,6 +20898,8 @@ __webpack_require__.r(__webpack_exports__);
21084
20898
  * @public
21085
20899
  */
21086
20900
  class IndexedValue {
20901
+ value;
20902
+ index;
21087
20903
  constructor(value, index) {
21088
20904
  this.value = value;
21089
20905
  this.index = index;
@@ -21096,6 +20912,10 @@ class IndexedValue {
21096
20912
  * @public
21097
20913
  */
21098
20914
  class IndexMap {
20915
+ _array = [];
20916
+ _compareValues;
20917
+ _clone;
20918
+ _maximumSize;
21099
20919
  /**
21100
20920
  * Construct a new IndexMap<T>.
21101
20921
  * @param compare The function used to compare elements within the map.
@@ -21103,7 +20923,6 @@ class IndexMap {
21103
20923
  * @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
21104
20924
  */
21105
20925
  constructor(compare, maximumSize = Number.MAX_SAFE_INTEGER, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
21106
- this._array = [];
21107
20926
  this._compareValues = compare;
21108
20927
  this._clone = clone;
21109
20928
  this._maximumSize = maximumSize;
@@ -21191,7 +21010,7 @@ __webpack_require__.r(__webpack_exports__);
21191
21010
  "use strict";
21192
21011
  __webpack_require__.r(__webpack_exports__);
21193
21012
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21194
- /* harmony export */ "JsonUtils": () => (/* binding */ JsonUtils)
21013
+ /* harmony export */ JsonUtils: () => (/* binding */ JsonUtils)
21195
21014
  /* harmony export */ });
21196
21015
  /*---------------------------------------------------------------------------------------------
21197
21016
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -21354,10 +21173,10 @@ var JsonUtils;
21354
21173
  "use strict";
21355
21174
  __webpack_require__.r(__webpack_exports__);
21356
21175
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21357
- /* harmony export */ "Entry": () => (/* binding */ Entry),
21358
- /* harmony export */ "LRUCache": () => (/* binding */ LRUCache),
21359
- /* harmony export */ "LRUDictionary": () => (/* binding */ LRUDictionary),
21360
- /* harmony export */ "LRUMap": () => (/* binding */ LRUMap)
21176
+ /* harmony export */ Entry: () => (/* binding */ Entry),
21177
+ /* harmony export */ LRUCache: () => (/* binding */ LRUCache),
21178
+ /* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
21179
+ /* harmony export */ LRUMap: () => (/* binding */ LRUMap)
21361
21180
  /* harmony export */ });
21362
21181
  /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
21363
21182
  /*---------------------------------------------------------------------------------------------
@@ -21377,12 +21196,17 @@ __webpack_require__.r(__webpack_exports__);
21377
21196
  * @public
21378
21197
  */
21379
21198
  class Entry {
21199
+ key;
21200
+ value;
21201
+ newer;
21202
+ older;
21380
21203
  constructor(key, value) {
21381
21204
  this.key = key;
21382
21205
  this.value = value;
21383
21206
  }
21384
21207
  }
21385
21208
  class EntryIterator {
21209
+ _entry;
21386
21210
  constructor(oldestEntry) {
21387
21211
  this._entry = oldestEntry;
21388
21212
  }
@@ -21396,6 +21220,7 @@ class EntryIterator {
21396
21220
  }
21397
21221
  }
21398
21222
  class KeyIterator {
21223
+ _entry;
21399
21224
  constructor(oldestEntry) {
21400
21225
  this._entry = oldestEntry;
21401
21226
  }
@@ -21408,6 +21233,7 @@ class KeyIterator {
21408
21233
  }
21409
21234
  }
21410
21235
  class ValueIterator {
21236
+ _entry;
21411
21237
  constructor(oldestEntry) {
21412
21238
  this._entry = oldestEntry;
21413
21239
  }
@@ -21440,6 +21266,15 @@ class ValueIterator {
21440
21266
  * @public
21441
21267
  */
21442
21268
  class LRUCache {
21269
+ _container;
21270
+ /** Current number of items */
21271
+ size;
21272
+ /** Maximum number of items this cache can hold */
21273
+ limit;
21274
+ /** Least recently-used entry. Invalidated when cache is modified. */
21275
+ oldest;
21276
+ /** Most recently-used entry. Invalidated when cache is modified. */
21277
+ newest;
21443
21278
  /**
21444
21279
  * Construct a new LRUCache to hold up to `limit` entries.
21445
21280
  */
@@ -21699,14 +21534,13 @@ class LRUDictionary extends LRUCache {
21699
21534
  "use strict";
21700
21535
  __webpack_require__.r(__webpack_exports__);
21701
21536
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21702
- /* harmony export */ "LogLevel": () => (/* binding */ LogLevel),
21703
- /* harmony export */ "Logger": () => (/* binding */ Logger),
21704
- /* harmony export */ "PerfLogger": () => (/* binding */ PerfLogger)
21537
+ /* harmony export */ LogLevel: () => (/* binding */ LogLevel),
21538
+ /* harmony export */ Logger: () => (/* binding */ Logger),
21539
+ /* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
21705
21540
  /* harmony export */ });
21706
21541
  /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
21707
21542
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
21708
21543
  /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
21709
- /* harmony import */ var _internal_staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./internal/staticLoggerMetadata */ "../bentley/lib/esm/internal/staticLoggerMetadata.js");
21710
21544
  /*---------------------------------------------------------------------------------------------
21711
21545
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
21712
21546
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -21717,7 +21551,6 @@ __webpack_require__.r(__webpack_exports__);
21717
21551
 
21718
21552
 
21719
21553
 
21720
-
21721
21554
  /** Use to categorize logging messages by severity.
21722
21555
  * @public
21723
21556
  */
@@ -21739,6 +21572,12 @@ var LogLevel;
21739
21572
  * @public
21740
21573
  */
21741
21574
  class Logger {
21575
+ static _logError;
21576
+ static _logWarning;
21577
+ static _logInfo;
21578
+ static _logTrace;
21579
+ static _onLogLevelChanged;
21580
+ static _staticMetaData = new Map();
21742
21581
  /** An event raised whenever [[setLevel]] or [[setLevelDefault]] is called. */
21743
21582
  static get onLogLevelChanged() {
21744
21583
  // We have to lazily initialize because it's static and BeEvent imports UnexpectedErrors which imports Logger which wants to instantiate BeEvent.
@@ -21747,6 +21586,7 @@ class Logger {
21747
21586
  }
21748
21587
  return Logger._onLogLevelChanged;
21749
21588
  }
21589
+ static _categoryFilter = {};
21750
21590
  /** Maps category names to the least severe level at which messages in that category should be displayed,
21751
21591
  * or `undefined` if a minimum has not been defined.
21752
21592
  * @see [[setLevel]] to change the minimum logging level for a category.
@@ -21755,6 +21595,7 @@ class Logger {
21755
21595
  // NOTE: this property is accessed by native code.
21756
21596
  return this._categoryFilter;
21757
21597
  }
21598
+ static _minLevel;
21758
21599
  /** The least severe level at which messages should be displayed by default.
21759
21600
  * @see [[setLevelDefault]] to change this default.
21760
21601
  * @see [[setLevel]] to override this default for specific categories.
@@ -21763,6 +21604,14 @@ class Logger {
21763
21604
  // NOTE: this property is accessed by native code. */
21764
21605
  return this._minLevel;
21765
21606
  }
21607
+ /** Should the call stack be included when an exception is logged? */
21608
+ static logExceptionCallstacks = false;
21609
+ /** Contains metadata that should be included with every logged message.
21610
+ * @beta
21611
+ */
21612
+ static get staticMetaData() {
21613
+ return this._staticMetaData;
21614
+ }
21766
21615
  /** Initialize the logger streams. Should be called at application initialization time. */
21767
21616
  static initialize(logError, logWarning, logInfo, logTrace) {
21768
21617
  Logger._logError = logError;
@@ -21780,7 +21629,7 @@ class Logger {
21780
21629
  /** merge the supplied metadata with all static metadata into one object */
21781
21630
  static getMetaData(metaData) {
21782
21631
  const metaObj = {};
21783
- for (const meta of _internal_staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_3__.staticLoggerMetadata) {
21632
+ for (const meta of this._staticMetaData) {
21784
21633
  const val = _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(meta[1]);
21785
21634
  if (val)
21786
21635
  Object.assign(metaObj, val);
@@ -21942,9 +21791,6 @@ class Logger {
21942
21791
  Logger._logTrace(category, message, metaData);
21943
21792
  }
21944
21793
  }
21945
- Logger._categoryFilter = {};
21946
- /** Should the call stack be included when an exception is logged? */
21947
- Logger.logExceptionCallstacks = false;
21948
21794
  /** Simple performance diagnostics utility.
21949
21795
  * It measures the time from construction to disposal. On disposal it logs the routine name along with
21950
21796
  * the duration in milliseconds.
@@ -21955,6 +21801,10 @@ Logger.logExceptionCallstacks = false;
21955
21801
  * @public
21956
21802
  */
21957
21803
  class PerfLogger {
21804
+ static _severity = LogLevel.Info;
21805
+ _operation;
21806
+ _metaData;
21807
+ _startTimeStamp;
21958
21808
  constructor(operation, metaData) {
21959
21809
  this._operation = operation;
21960
21810
  this._metaData = metaData;
@@ -21976,11 +21826,14 @@ class PerfLogger {
21976
21826
  };
21977
21827
  });
21978
21828
  }
21979
- dispose() {
21829
+ [Symbol.dispose]() {
21980
21830
  this.logMessage();
21981
21831
  }
21832
+ /** @deprecated in 5.0 Use [Symbol.dispose] instead. */
21833
+ dispose() {
21834
+ this[Symbol.dispose]();
21835
+ }
21982
21836
  }
21983
- PerfLogger._severity = LogLevel.Info;
21984
21837
 
21985
21838
 
21986
21839
  /***/ }),
@@ -21994,7 +21847,7 @@ PerfLogger._severity = LogLevel.Info;
21994
21847
  "use strict";
21995
21848
  __webpack_require__.r(__webpack_exports__);
21996
21849
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21997
- /* harmony export */ "ObservableSet": () => (/* binding */ ObservableSet)
21850
+ /* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
21998
21851
  /* harmony export */ });
21999
21852
  /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
22000
21853
  /*---------------------------------------------------------------------------------------------
@@ -22009,18 +21862,18 @@ __webpack_require__.r(__webpack_exports__);
22009
21862
  * @public
22010
21863
  */
22011
21864
  class ObservableSet extends Set {
21865
+ /** Emitted after `item` is added to this set. */
21866
+ onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
21867
+ /** Emitted after `item` is deleted from this set. */
21868
+ onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
21869
+ /** Emitted after this set's contents are cleared. */
21870
+ onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
22012
21871
  /** Construct a new ObservableSet.
22013
21872
  * @param elements Optional elements with which to populate the new set.
22014
21873
  */
22015
21874
  constructor(elements) {
22016
21875
  // NB: Set constructor will invoke add(). Do not override until initialized.
22017
21876
  super(elements);
22018
- /** Emitted after `item` is added to this set. */
22019
- this.onAdded = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
22020
- /** Emitted after `item` is deleted from this set. */
22021
- this.onDeleted = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
22022
- /** Emitted after this set's contents are cleared. */
22023
- this.onCleared = new _BeEvent__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
22024
21877
  this.add = (item) => {
22025
21878
  const prevSize = this.size;
22026
21879
  const ret = super.add(item);
@@ -22061,8 +21914,8 @@ class ObservableSet extends Set {
22061
21914
  "use strict";
22062
21915
  __webpack_require__.r(__webpack_exports__);
22063
21916
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22064
- /* harmony export */ "AbandonedError": () => (/* binding */ AbandonedError),
22065
- /* harmony export */ "OneAtATimeAction": () => (/* binding */ OneAtATimeAction)
21917
+ /* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
21918
+ /* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
22066
21919
  /* harmony export */ });
22067
21920
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
22068
21921
  /*---------------------------------------------------------------------------------------------
@@ -22083,6 +21936,11 @@ class AbandonedError extends Error {
22083
21936
  * Promises involved that are chained together. That makes this class less efficient than just using a Promise directly.
22084
21937
  */
22085
21938
  class PromiseWithAbandon {
21939
+ _run;
21940
+ _args;
21941
+ /** Method to abandon the Promise created by [[init]] while it is outstanding. The promise will be rejected. */
21942
+ abandon;
21943
+ _resolve;
22086
21944
  /** Create a PromiseWithAbandon. After this call you must call [[init]] to create the underlying Promise.
22087
21945
  * @param _run The method that creates the underlying Promise.
22088
21946
  * @param _args An array of args to be passed to run when [[start]] is called.
@@ -22120,6 +21978,10 @@ class PromiseWithAbandon {
22120
21978
  * @beta
22121
21979
  */
22122
21980
  class OneAtATimeAction {
21981
+ _active;
21982
+ _pending;
21983
+ _run;
21984
+ msg;
22123
21985
  /** Ctor for OneAtATimePromise.
22124
21986
  * @param run The method that performs an action that creates the Promise.
22125
21987
  */
@@ -22167,7 +22029,7 @@ class OneAtATimeAction {
22167
22029
  "use strict";
22168
22030
  __webpack_require__.r(__webpack_exports__);
22169
22031
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22170
- /* harmony export */ "OrderedId64Iterable": () => (/* binding */ OrderedId64Iterable)
22032
+ /* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
22171
22033
  /* harmony export */ });
22172
22034
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
22173
22035
  /*---------------------------------------------------------------------------------------------
@@ -22415,8 +22277,8 @@ var OrderedId64Iterable;
22415
22277
  "use strict";
22416
22278
  __webpack_require__.r(__webpack_exports__);
22417
22279
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22418
- /* harmony export */ "OrderedSet": () => (/* binding */ OrderedSet),
22419
- /* harmony export */ "ReadonlyOrderedSet": () => (/* binding */ ReadonlyOrderedSet)
22280
+ /* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
22281
+ /* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
22420
22282
  /* harmony export */ });
22421
22283
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22422
22284
  /*---------------------------------------------------------------------------------------------
@@ -22433,6 +22295,7 @@ __webpack_require__.r(__webpack_exports__);
22433
22295
  * @public
22434
22296
  */
22435
22297
  class ReadonlyOrderedSet {
22298
+ _array;
22436
22299
  /** Construct a new ReadonlyOrderedSet<T>.
22437
22300
  * @param compare The function used to compare elements within the set, determining their ordering.
22438
22301
  * @param clone The function invoked to clone a new element for insertion into the set. The default implementation simply returns its input.
@@ -22491,7 +22354,7 @@ class OrderedSet extends ReadonlyOrderedSet {
22491
22354
  "use strict";
22492
22355
  __webpack_require__.r(__webpack_exports__);
22493
22356
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22494
- /* harmony export */ "PriorityQueue": () => (/* binding */ PriorityQueue)
22357
+ /* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
22495
22358
  /* harmony export */ });
22496
22359
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22497
22360
  /*---------------------------------------------------------------------------------------------
@@ -22508,6 +22371,9 @@ __webpack_require__.r(__webpack_exports__);
22508
22371
  * @public
22509
22372
  */
22510
22373
  class PriorityQueue {
22374
+ _array = [];
22375
+ _compare;
22376
+ _clone;
22511
22377
  /**
22512
22378
  * Constructor
22513
22379
  * @param compare The function used to compare values in the queue. If `compare(x, y)` returns a negative value, then x is placed before y in the queue.
@@ -22515,7 +22381,6 @@ class PriorityQueue {
22515
22381
  * @note If the criterion which control the result of the `compare` function changes, then [[PriorityQueue.sort]] should be used to reorder the queue according to the new criterion.
22516
22382
  */
22517
22383
  constructor(compare, clone = _SortedArray__WEBPACK_IMPORTED_MODULE_0__.shallowClone) {
22518
- this._array = [];
22519
22384
  this._compare = compare;
22520
22385
  this._clone = clone;
22521
22386
  }
@@ -22643,7 +22508,7 @@ class PriorityQueue {
22643
22508
  "use strict";
22644
22509
  __webpack_require__.r(__webpack_exports__);
22645
22510
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22646
- /* harmony export */ "ProcessDetector": () => (/* binding */ ProcessDetector)
22511
+ /* harmony export */ ProcessDetector: () => (/* binding */ ProcessDetector)
22647
22512
  /* harmony export */ });
22648
22513
  /*---------------------------------------------------------------------------------------------
22649
22514
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -22725,11 +22590,11 @@ class ProcessDetector {
22725
22590
  "use strict";
22726
22591
  __webpack_require__.r(__webpack_exports__);
22727
22592
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22728
- /* harmony export */ "DuplicatePolicy": () => (/* binding */ DuplicatePolicy),
22729
- /* harmony export */ "ReadonlySortedArray": () => (/* binding */ ReadonlySortedArray),
22730
- /* harmony export */ "SortedArray": () => (/* binding */ SortedArray),
22731
- /* harmony export */ "lowerBound": () => (/* binding */ lowerBound),
22732
- /* harmony export */ "shallowClone": () => (/* binding */ shallowClone)
22593
+ /* harmony export */ DuplicatePolicy: () => (/* binding */ DuplicatePolicy),
22594
+ /* harmony export */ ReadonlySortedArray: () => (/* binding */ ReadonlySortedArray),
22595
+ /* harmony export */ SortedArray: () => (/* binding */ SortedArray),
22596
+ /* harmony export */ lowerBound: () => (/* binding */ lowerBound),
22597
+ /* harmony export */ shallowClone: () => (/* binding */ shallowClone)
22733
22598
  /* harmony export */ });
22734
22599
  /*---------------------------------------------------------------------------------------------
22735
22600
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -22813,6 +22678,10 @@ var DuplicatePolicy;
22813
22678
  * @public
22814
22679
  */
22815
22680
  class ReadonlySortedArray {
22681
+ _array = [];
22682
+ _compare;
22683
+ _clone;
22684
+ _duplicatePolicy;
22816
22685
  /**
22817
22686
  * Construct a new ReadonlySortedArray<T>.
22818
22687
  * @param compare The function used to compare elements within the array.
@@ -22820,7 +22689,6 @@ class ReadonlySortedArray {
22820
22689
  * @param clone The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input.
22821
22690
  */
22822
22691
  constructor(compare, duplicatePolicy = false, clone = shallowClone) {
22823
- this._array = [];
22824
22692
  this._compare = compare;
22825
22693
  this._clone = clone;
22826
22694
  if (typeof duplicatePolicy === "boolean")
@@ -23052,9 +22920,9 @@ class SortedArray extends ReadonlySortedArray {
23052
22920
  "use strict";
23053
22921
  __webpack_require__.r(__webpack_exports__);
23054
22922
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23055
- /* harmony export */ "ErrorCategory": () => (/* binding */ ErrorCategory),
23056
- /* harmony export */ "StatusCategory": () => (/* binding */ StatusCategory),
23057
- /* harmony export */ "SuccessCategory": () => (/* binding */ SuccessCategory)
22923
+ /* harmony export */ ErrorCategory: () => (/* binding */ ErrorCategory),
22924
+ /* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
22925
+ /* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
23058
22926
  /* harmony export */ });
23059
22927
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
23060
22928
  /* harmony import */ var _internal_RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./internal/RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
@@ -23071,6 +22939,7 @@ __webpack_require__.r(__webpack_exports__);
23071
22939
  * @alpha
23072
22940
  */
23073
22941
  class StatusCategory {
22942
+ static handlers = new Set();
23074
22943
  static for(error) {
23075
22944
  for (const handler of this.handlers) {
23076
22945
  const category = handler(error);
@@ -23084,179 +22953,115 @@ class StatusCategory {
23084
22953
  return new UnknownError();
23085
22954
  }
23086
22955
  }
23087
- StatusCategory.handlers = new Set();
23088
22956
  /***
23089
22957
  * A success status.
23090
22958
  * @alpha
23091
22959
  */
23092
22960
  class SuccessCategory extends StatusCategory {
23093
- constructor() {
23094
- super(...arguments);
23095
- this.error = false;
23096
- }
22961
+ error = false;
23097
22962
  }
23098
22963
  /**
23099
22964
  * An error status.
23100
22965
  * @alpha
23101
22966
  */
23102
22967
  class ErrorCategory extends StatusCategory {
23103
- constructor() {
23104
- super(...arguments);
23105
- this.error = true;
23106
- }
22968
+ error = true;
23107
22969
  }
23108
22970
  var HTTP;
23109
22971
  (function (HTTP) {
23110
22972
  class OK extends SuccessCategory {
23111
- constructor() {
23112
- super(...arguments);
23113
- this.name = "OK";
23114
- this.code = 200;
23115
- }
22973
+ name = "OK";
22974
+ code = 200;
23116
22975
  }
23117
22976
  HTTP.OK = OK;
23118
22977
  class Accepted extends SuccessCategory {
23119
- constructor() {
23120
- super(...arguments);
23121
- this.name = "Accepted";
23122
- this.code = 202;
23123
- }
22978
+ name = "Accepted";
22979
+ code = 202;
23124
22980
  }
23125
22981
  HTTP.Accepted = Accepted;
23126
22982
  class NoContent extends SuccessCategory {
23127
- constructor() {
23128
- super(...arguments);
23129
- this.name = "NoContent";
23130
- this.code = 204;
23131
- }
22983
+ name = "NoContent";
22984
+ code = 204;
23132
22985
  }
23133
22986
  HTTP.NoContent = NoContent;
23134
22987
  class BadRequest extends ErrorCategory {
23135
- constructor() {
23136
- super(...arguments);
23137
- this.name = "BadRequest";
23138
- this.code = 400;
23139
- }
22988
+ name = "BadRequest";
22989
+ code = 400;
23140
22990
  }
23141
22991
  HTTP.BadRequest = BadRequest;
23142
22992
  class Unauthorized extends ErrorCategory {
23143
- constructor() {
23144
- super(...arguments);
23145
- this.name = "Unauthorized";
23146
- this.code = 401;
23147
- }
22993
+ name = "Unauthorized";
22994
+ code = 401;
23148
22995
  }
23149
22996
  HTTP.Unauthorized = Unauthorized;
23150
22997
  class Forbidden extends ErrorCategory {
23151
- constructor() {
23152
- super(...arguments);
23153
- this.name = "Forbidden";
23154
- this.code = 403;
23155
- }
22998
+ name = "Forbidden";
22999
+ code = 403;
23156
23000
  }
23157
23001
  HTTP.Forbidden = Forbidden;
23158
23002
  class NotFound extends ErrorCategory {
23159
- constructor() {
23160
- super(...arguments);
23161
- this.name = "NotFound";
23162
- this.code = 404;
23163
- }
23003
+ name = "NotFound";
23004
+ code = 404;
23164
23005
  }
23165
23006
  HTTP.NotFound = NotFound;
23166
23007
  class RequestTimeout extends ErrorCategory {
23167
- constructor() {
23168
- super(...arguments);
23169
- this.name = "RequestTimeout";
23170
- this.code = 408;
23171
- }
23008
+ name = "RequestTimeout";
23009
+ code = 408;
23172
23010
  }
23173
23011
  HTTP.RequestTimeout = RequestTimeout;
23174
23012
  class Conflict extends ErrorCategory {
23175
- constructor() {
23176
- super(...arguments);
23177
- this.name = "Conflict";
23178
- this.code = 409;
23179
- }
23013
+ name = "Conflict";
23014
+ code = 409;
23180
23015
  }
23181
23016
  HTTP.Conflict = Conflict;
23182
23017
  class Gone extends ErrorCategory {
23183
- constructor() {
23184
- super(...arguments);
23185
- this.name = "Gone";
23186
- this.code = 410;
23187
- }
23018
+ name = "Gone";
23019
+ code = 410;
23188
23020
  }
23189
23021
  HTTP.Gone = Gone;
23190
23022
  class PreconditionFailed extends ErrorCategory {
23191
- constructor() {
23192
- super(...arguments);
23193
- this.name = "PreconditionFailed";
23194
- this.code = 412;
23195
- }
23023
+ name = "PreconditionFailed";
23024
+ code = 412;
23196
23025
  }
23197
23026
  HTTP.PreconditionFailed = PreconditionFailed;
23198
23027
  class ExpectationFailed extends ErrorCategory {
23199
- constructor() {
23200
- super(...arguments);
23201
- this.name = "ExpectationFailed";
23202
- this.code = 417;
23203
- }
23028
+ name = "ExpectationFailed";
23029
+ code = 417;
23204
23030
  }
23205
23031
  HTTP.ExpectationFailed = ExpectationFailed;
23206
23032
  class MisdirectedRequest extends ErrorCategory {
23207
- constructor() {
23208
- super(...arguments);
23209
- this.name = "MisdirectedRequest";
23210
- this.code = 421;
23211
- }
23033
+ name = "MisdirectedRequest";
23034
+ code = 421;
23212
23035
  }
23213
23036
  HTTP.MisdirectedRequest = MisdirectedRequest;
23214
23037
  class UnprocessableEntity extends ErrorCategory {
23215
- constructor() {
23216
- super(...arguments);
23217
- this.name = "UnprocessableEntity";
23218
- this.code = 422;
23219
- }
23038
+ name = "UnprocessableEntity";
23039
+ code = 422;
23220
23040
  }
23221
23041
  HTTP.UnprocessableEntity = UnprocessableEntity;
23222
23042
  class UpgradeRequired extends ErrorCategory {
23223
- constructor() {
23224
- super(...arguments);
23225
- this.name = "UpgradeRequired";
23226
- this.code = 426;
23227
- }
23043
+ name = "UpgradeRequired";
23044
+ code = 426;
23228
23045
  }
23229
23046
  HTTP.UpgradeRequired = UpgradeRequired;
23230
23047
  class PreconditionRequired extends ErrorCategory {
23231
- constructor() {
23232
- super(...arguments);
23233
- this.name = "PreconditionRequired";
23234
- this.code = 428;
23235
- }
23048
+ name = "PreconditionRequired";
23049
+ code = 428;
23236
23050
  }
23237
23051
  HTTP.PreconditionRequired = PreconditionRequired;
23238
23052
  class TooManyRequests extends ErrorCategory {
23239
- constructor() {
23240
- super(...arguments);
23241
- this.name = "TooManyRequests";
23242
- this.code = 429;
23243
- }
23053
+ name = "TooManyRequests";
23054
+ code = 429;
23244
23055
  }
23245
23056
  HTTP.TooManyRequests = TooManyRequests;
23246
23057
  class InternalServerError extends ErrorCategory {
23247
- constructor() {
23248
- super(...arguments);
23249
- this.name = "InternalServerError";
23250
- this.code = 500;
23251
- }
23058
+ name = "InternalServerError";
23059
+ code = 500;
23252
23060
  }
23253
23061
  HTTP.InternalServerError = InternalServerError;
23254
23062
  class NotImplemented extends ErrorCategory {
23255
- constructor() {
23256
- super(...arguments);
23257
- this.name = "NotImplemented";
23258
- this.code = 501;
23259
- }
23063
+ name = "NotImplemented";
23064
+ code = 501;
23260
23065
  }
23261
23066
  HTTP.NotImplemented = NotImplemented;
23262
23067
  })(HTTP || (HTTP = {}));
@@ -23532,8 +23337,8 @@ function lookupHttpStatusCategory(statusCode) {
23532
23337
  "use strict";
23533
23338
  __webpack_require__.r(__webpack_exports__);
23534
23339
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23535
- /* harmony export */ "base64StringToUint8Array": () => (/* binding */ base64StringToUint8Array),
23536
- /* harmony export */ "utf8ToString": () => (/* binding */ utf8ToString)
23340
+ /* harmony export */ base64StringToUint8Array: () => (/* binding */ base64StringToUint8Array),
23341
+ /* harmony export */ utf8ToString: () => (/* binding */ utf8ToString)
23537
23342
  /* harmony export */ });
23538
23343
  /*---------------------------------------------------------------------------------------------
23539
23344
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23575,9 +23380,9 @@ function base64StringToUint8Array(base64) {
23575
23380
  "use strict";
23576
23381
  __webpack_require__.r(__webpack_exports__);
23577
23382
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23578
- /* harmony export */ "BeDuration": () => (/* binding */ BeDuration),
23579
- /* harmony export */ "BeTimePoint": () => (/* binding */ BeTimePoint),
23580
- /* harmony export */ "StopWatch": () => (/* binding */ StopWatch)
23383
+ /* harmony export */ BeDuration: () => (/* binding */ BeDuration),
23384
+ /* harmony export */ BeTimePoint: () => (/* binding */ BeTimePoint),
23385
+ /* harmony export */ StopWatch: () => (/* binding */ StopWatch)
23581
23386
  /* harmony export */ });
23582
23387
  /*---------------------------------------------------------------------------------------------
23583
23388
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23591,6 +23396,7 @@ __webpack_require__.r(__webpack_exports__);
23591
23396
  * @public
23592
23397
  */
23593
23398
  class BeDuration {
23399
+ _milliseconds;
23594
23400
  constructor(milliseconds = 0) { this._milliseconds = milliseconds; }
23595
23401
  /** The duration in milliseconds */
23596
23402
  get milliseconds() { return this._milliseconds; }
@@ -23657,6 +23463,7 @@ class BeDuration {
23657
23463
  * @public
23658
23464
  */
23659
23465
  class BeTimePoint {
23466
+ _milliseconds;
23660
23467
  /** the time in milliseconds, of this BeTimePoint (relative to January 1, 1970 00:00:00 UTC.) */
23661
23468
  get milliseconds() { return this._milliseconds; }
23662
23469
  constructor(milliseconds) { this._milliseconds = milliseconds; }
@@ -23695,6 +23502,9 @@ class BeTimePoint {
23695
23502
  * @public
23696
23503
  */
23697
23504
  class StopWatch {
23505
+ description;
23506
+ _start;
23507
+ _stop;
23698
23508
  /** Get the elapsed time since start() on a running timer. */
23699
23509
  get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
23700
23510
  /** Get the elapsed time, in seconds, since start() on a running timer. */
@@ -23738,8 +23548,8 @@ class StopWatch {
23738
23548
  "use strict";
23739
23549
  __webpack_require__.r(__webpack_exports__);
23740
23550
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23741
- /* harmony export */ "SpanKind": () => (/* binding */ SpanKind),
23742
- /* harmony export */ "Tracing": () => (/* binding */ Tracing)
23551
+ /* harmony export */ SpanKind: () => (/* binding */ SpanKind),
23552
+ /* harmony export */ Tracing: () => (/* binding */ Tracing)
23743
23553
  /* harmony export */ });
23744
23554
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
23745
23555
  /*---------------------------------------------------------------------------------------------
@@ -23817,6 +23627,8 @@ function flattenObject(obj) {
23817
23627
  * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
23818
23628
  */
23819
23629
  class Tracing {
23630
+ static _tracer;
23631
+ static _openTelemetry;
23820
23632
  /**
23821
23633
  * If OpenTelemetry tracing is enabled, creates a new span and runs the provided function in it.
23822
23634
  * If OpenTelemetry tracing is _not_ enabled, runs the provided function.
@@ -23916,7 +23728,7 @@ class Tracing {
23916
23728
  "use strict";
23917
23729
  __webpack_require__.r(__webpack_exports__);
23918
23730
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23919
- /* harmony export */ "TupleKeyedMap": () => (/* binding */ TupleKeyedMap)
23731
+ /* harmony export */ TupleKeyedMap: () => (/* binding */ TupleKeyedMap)
23920
23732
  /* harmony export */ });
23921
23733
  /*---------------------------------------------------------------------------------------------
23922
23734
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23946,10 +23758,9 @@ __webpack_require__.r(__webpack_exports__);
23946
23758
  * @public
23947
23759
  */
23948
23760
  class TupleKeyedMap {
23761
+ _map = new Map();
23949
23762
  // argument types match those of Map
23950
23763
  constructor(entries) {
23951
- this._map = new Map();
23952
- this._size = 0;
23953
23764
  if (entries)
23954
23765
  for (const [k, v] of entries) {
23955
23766
  this.set(k, v);
@@ -24009,6 +23820,7 @@ class TupleKeyedMap {
24009
23820
  }
24010
23821
  yield* impl(this._map, []);
24011
23822
  }
23823
+ _size = 0;
24012
23824
  get size() {
24013
23825
  return this._size;
24014
23826
  }
@@ -24029,11 +23841,11 @@ class TupleKeyedMap {
24029
23841
  "use strict";
24030
23842
  __webpack_require__.r(__webpack_exports__);
24031
23843
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24032
- /* harmony export */ "TypedArrayBuilder": () => (/* binding */ TypedArrayBuilder),
24033
- /* harmony export */ "Uint16ArrayBuilder": () => (/* binding */ Uint16ArrayBuilder),
24034
- /* harmony export */ "Uint32ArrayBuilder": () => (/* binding */ Uint32ArrayBuilder),
24035
- /* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder),
24036
- /* harmony export */ "UintArrayBuilder": () => (/* binding */ UintArrayBuilder)
23844
+ /* harmony export */ TypedArrayBuilder: () => (/* binding */ TypedArrayBuilder),
23845
+ /* harmony export */ Uint16ArrayBuilder: () => (/* binding */ Uint16ArrayBuilder),
23846
+ /* harmony export */ Uint32ArrayBuilder: () => (/* binding */ Uint32ArrayBuilder),
23847
+ /* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
23848
+ /* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
24037
23849
  /* harmony export */ });
24038
23850
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
24039
23851
  /*---------------------------------------------------------------------------------------------
@@ -24059,6 +23871,14 @@ __webpack_require__.r(__webpack_exports__);
24059
23871
  * @public
24060
23872
  */
24061
23873
  class TypedArrayBuilder {
23874
+ /** The constructor for the specific type of array being populated. */
23875
+ _constructor;
23876
+ /** The underlying typed array, to be reallocated and copied when its capacity is exceeded. */
23877
+ _data;
23878
+ /** The number of elements added to the array so far. */
23879
+ _length;
23880
+ /** Multiplier applied to required capacity by [[ensureCapacity]]. */
23881
+ growthFactor;
24062
23882
  /** Constructs a new builder from the specified options, with a [[length]] of zero. */
24063
23883
  constructor(constructor, options) {
24064
23884
  this._constructor = constructor;
@@ -24247,7 +24067,7 @@ class UintArrayBuilder extends TypedArrayBuilder {
24247
24067
  "use strict";
24248
24068
  __webpack_require__.r(__webpack_exports__);
24249
24069
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24250
- /* harmony export */ "UnexpectedErrors": () => (/* binding */ UnexpectedErrors)
24070
+ /* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
24251
24071
  /* harmony export */ });
24252
24072
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
24253
24073
  /*---------------------------------------------------------------------------------------------
@@ -24257,7 +24077,6 @@ __webpack_require__.r(__webpack_exports__);
24257
24077
  /** @packageDocumentation
24258
24078
  * @module Errors
24259
24079
  */
24260
- var _a;
24261
24080
 
24262
24081
  /**
24263
24082
  * Utility for handling/reporting unexpected runtime errors. This class establishes a global handler for
@@ -24267,6 +24086,16 @@ var _a;
24267
24086
  * @public
24268
24087
  */
24269
24088
  class UnexpectedErrors {
24089
+ /** handler for re-throwing exceptions directly */
24090
+ static reThrowImmediate = (e) => { throw e; };
24091
+ /** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
24092
+ static reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
24093
+ /** handler for logging exception to console */
24094
+ static consoleLog = (e) => console.error(e); // eslint-disable-line no-console
24095
+ /** handler for logging exception with [[Logger]] */
24096
+ static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
24097
+ static _telemetry = [];
24098
+ static _handler = this.errorLog; // default to error logging
24270
24099
  constructor() { } // this is a singleton
24271
24100
  /** Add a "telemetry tracker" for unexpected errors. Useful for tracking/reporting errors without changing handler.
24272
24101
  * @returns a method to remove the tracker
@@ -24303,17 +24132,6 @@ class UnexpectedErrors {
24303
24132
  return oldHandler;
24304
24133
  }
24305
24134
  }
24306
- _a = UnexpectedErrors;
24307
- /** handler for re-throwing exceptions directly */
24308
- UnexpectedErrors.reThrowImmediate = (e) => { throw e; };
24309
- /** handler for re-throwing exceptions from an asynchronous interval (so the current call stack is not aborted) */
24310
- UnexpectedErrors.reThrowDeferred = (e) => setTimeout(() => { throw e; }, 0);
24311
- /** handler for logging exception to console */
24312
- UnexpectedErrors.consoleLog = (e) => console.error(e); // eslint-disable-line no-console
24313
- /** handler for logging exception with [[Logger]] */
24314
- UnexpectedErrors.errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logException("unhandled", e);
24315
- UnexpectedErrors._telemetry = [];
24316
- UnexpectedErrors._handler = _a.errorLog; // default to error logging
24317
24135
 
24318
24136
 
24319
24137
  /***/ }),
@@ -24327,9 +24145,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
24327
24145
  "use strict";
24328
24146
  __webpack_require__.r(__webpack_exports__);
24329
24147
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24330
- /* harmony export */ "asInstanceOf": () => (/* binding */ asInstanceOf),
24331
- /* harmony export */ "isInstanceOf": () => (/* binding */ isInstanceOf),
24332
- /* harmony export */ "omit": () => (/* binding */ omit)
24148
+ /* harmony export */ asInstanceOf: () => (/* binding */ asInstanceOf),
24149
+ /* harmony export */ isInstanceOf: () => (/* binding */ isInstanceOf),
24150
+ /* harmony export */ omit: () => (/* binding */ omit)
24333
24151
  /* harmony export */ });
24334
24152
  /*---------------------------------------------------------------------------------------------
24335
24153
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24378,7 +24196,7 @@ function omit(t, keys) {
24378
24196
  "use strict";
24379
24197
  __webpack_require__.r(__webpack_exports__);
24380
24198
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24381
- /* harmony export */ "YieldManager": () => (/* binding */ YieldManager)
24199
+ /* harmony export */ YieldManager: () => (/* binding */ YieldManager)
24382
24200
  /* harmony export */ });
24383
24201
  /*---------------------------------------------------------------------------------------------
24384
24202
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24399,11 +24217,13 @@ const defaultYieldManagerOptions = {
24399
24217
  * @public
24400
24218
  */
24401
24219
  class YieldManager {
24220
+ /** Options controlling the yield behavior. */
24221
+ options;
24222
+ _counter = 0;
24402
24223
  /** Constructor.
24403
24224
  * @param options Options customizing the yield behavior. Omitted properties are assigned their default values.
24404
24225
  */
24405
24226
  constructor(options = {}) {
24406
- this._counter = 0;
24407
24227
  this.options = { ...defaultYieldManagerOptions, ...options };
24408
24228
  }
24409
24229
  /** Increment the iteration counter, yielding control and resetting the counter if [[options.iterationsBeforeYield]] is exceeded. */
@@ -24430,99 +24250,99 @@ class YieldManager {
24430
24250
  "use strict";
24431
24251
  __webpack_require__.r(__webpack_exports__);
24432
24252
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24433
- /* harmony export */ "AbandonedError": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24434
- /* harmony export */ "BeDuration": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24435
- /* harmony export */ "BeEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24436
- /* harmony export */ "BeEventList": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24437
- /* harmony export */ "BeTimePoint": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24438
- /* harmony export */ "BeUiEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24439
- /* harmony export */ "BentleyError": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24440
- /* harmony export */ "BentleyLoggerCategory": () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24441
- /* harmony export */ "BentleyStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24442
- /* harmony export */ "BriefcaseStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24443
- /* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24444
- /* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24445
- /* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24446
- /* harmony export */ "DbChangeStage": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbChangeStage),
24447
- /* harmony export */ "DbConflictCause": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictCause),
24448
- /* harmony export */ "DbConflictResolution": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictResolution),
24449
- /* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24450
- /* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24451
- /* harmony export */ "DbValueType": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbValueType),
24452
- /* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24453
- /* harmony export */ "DisposableList": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24454
- /* harmony export */ "DuplicatePolicy": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24455
- /* harmony export */ "Entry": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24456
- /* harmony export */ "ErrorCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24457
- /* harmony export */ "GeoServiceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24458
- /* harmony export */ "Guid": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24459
- /* harmony export */ "HttpStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24460
- /* harmony export */ "IModelHubStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24461
- /* harmony export */ "IModelStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24462
- /* harmony export */ "Id64": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24463
- /* harmony export */ "IndexMap": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24464
- /* harmony export */ "IndexedValue": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24465
- /* harmony export */ "JsonUtils": () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24466
- /* harmony export */ "LRUCache": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24467
- /* harmony export */ "LRUDictionary": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24468
- /* harmony export */ "LRUMap": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24469
- /* harmony export */ "LogLevel": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24470
- /* harmony export */ "Logger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24471
- /* harmony export */ "MutableCompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24472
- /* harmony export */ "ObservableSet": () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24473
- /* harmony export */ "OneAtATimeAction": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24474
- /* harmony export */ "OpenMode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24475
- /* harmony export */ "OrderedId64Array": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24476
- /* harmony export */ "OrderedId64Iterable": () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24477
- /* harmony export */ "OrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24478
- /* harmony export */ "PerfLogger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24479
- /* harmony export */ "PriorityQueue": () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24480
- /* harmony export */ "ProcessDetector": () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24481
- /* harmony export */ "ReadonlyOrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24482
- /* harmony export */ "ReadonlySortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24483
- /* harmony export */ "RealityDataStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24484
- /* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.RepositoryStatus),
24485
- /* harmony export */ "RpcInterfaceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24486
- /* harmony export */ "SortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24487
- /* harmony export */ "SpanKind": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24488
- /* harmony export */ "StatusCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24489
- /* harmony export */ "StopWatch": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24490
- /* harmony export */ "SuccessCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24491
- /* harmony export */ "Tracing": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24492
- /* harmony export */ "TransientIdSequence": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24493
- /* harmony export */ "TupleKeyedMap": () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24494
- /* harmony export */ "TypedArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24495
- /* harmony export */ "Uint16ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24496
- /* harmony export */ "Uint32ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24497
- /* harmony export */ "Uint8ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24498
- /* harmony export */ "UintArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24499
- /* harmony export */ "UnexpectedErrors": () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24500
- /* harmony export */ "YieldManager": () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24501
- /* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24502
- /* harmony export */ "asInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24503
- /* harmony export */ "assert": () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24504
- /* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24505
- /* harmony export */ "compareBooleans": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24506
- /* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24507
- /* harmony export */ "compareNumbers": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24508
- /* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24509
- /* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24510
- /* harmony export */ "compareStrings": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24511
- /* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24512
- /* harmony export */ "compareWithTolerance": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24513
- /* harmony export */ "dispose": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24514
- /* harmony export */ "disposeArray": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24515
- /* harmony export */ "isIDisposable": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24516
- /* harmony export */ "isInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24517
- /* harmony export */ "isProperSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24518
- /* harmony export */ "isSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24519
- /* harmony export */ "lowerBound": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24520
- /* harmony export */ "omit": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24521
- /* harmony export */ "partitionArray": () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24522
- /* harmony export */ "shallowClone": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24523
- /* harmony export */ "staticLoggerMetadata": () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.staticLoggerMetadata),
24524
- /* harmony export */ "using": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24525
- /* harmony export */ "utf8ToString": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString)
24253
+ /* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24254
+ /* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24255
+ /* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24256
+ /* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24257
+ /* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24258
+ /* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24259
+ /* harmony export */ BentleyError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24260
+ /* harmony export */ BentleyLoggerCategory: () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24261
+ /* harmony export */ BentleyStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24262
+ /* harmony export */ BriefcaseStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24263
+ /* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24264
+ /* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24265
+ /* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24266
+ /* harmony export */ DbChangeStage: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbChangeStage),
24267
+ /* harmony export */ DbConflictCause: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictCause),
24268
+ /* harmony export */ DbConflictResolution: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbConflictResolution),
24269
+ /* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24270
+ /* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24271
+ /* harmony export */ DbValueType: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.DbValueType),
24272
+ /* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24273
+ /* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24274
+ /* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24275
+ /* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24276
+ /* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24277
+ /* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24278
+ /* harmony export */ Guid: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24279
+ /* harmony export */ HttpStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24280
+ /* harmony export */ IModelHubStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24281
+ /* harmony export */ IModelStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24282
+ /* harmony export */ Id64: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24283
+ /* harmony export */ IndexMap: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24284
+ /* harmony export */ IndexedValue: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24285
+ /* harmony export */ JsonUtils: () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24286
+ /* harmony export */ LRUCache: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24287
+ /* harmony export */ LRUDictionary: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24288
+ /* harmony export */ LRUMap: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24289
+ /* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24290
+ /* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24291
+ /* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24292
+ /* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24293
+ /* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24294
+ /* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24295
+ /* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24296
+ /* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24297
+ /* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24298
+ /* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24299
+ /* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24300
+ /* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24301
+ /* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24302
+ /* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24303
+ /* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24304
+ /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _internal_cross_package__WEBPACK_IMPORTED_MODULE_35__.RepositoryStatus),
24305
+ /* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24306
+ /* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24307
+ /* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24308
+ /* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24309
+ /* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24310
+ /* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24311
+ /* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24312
+ /* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24313
+ /* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24314
+ /* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24315
+ /* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24316
+ /* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24317
+ /* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24318
+ /* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24319
+ /* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24320
+ /* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24321
+ /* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24322
+ /* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24323
+ /* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24324
+ /* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24325
+ /* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24326
+ /* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24327
+ /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24328
+ /* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24329
+ /* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24330
+ /* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24331
+ /* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24332
+ /* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24333
+ /* harmony export */ dispose: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24334
+ /* harmony export */ disposeArray: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24335
+ /* harmony export */ isDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isDisposable),
24336
+ /* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24337
+ /* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24338
+ /* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24339
+ /* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24340
+ /* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24341
+ /* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24342
+ /* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24343
+ /* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24344
+ /* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24345
+ /* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString)
24526
24346
  /* harmony export */ });
24527
24347
  /* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
24528
24348
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
@@ -24653,10 +24473,10 @@ __webpack_require__.r(__webpack_exports__);
24653
24473
  "use strict";
24654
24474
  __webpack_require__.r(__webpack_exports__);
24655
24475
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24656
- /* harmony export */ "DbChangeStage": () => (/* binding */ DbChangeStage),
24657
- /* harmony export */ "DbConflictCause": () => (/* binding */ DbConflictCause),
24658
- /* harmony export */ "DbConflictResolution": () => (/* binding */ DbConflictResolution),
24659
- /* harmony export */ "DbValueType": () => (/* binding */ DbValueType)
24476
+ /* harmony export */ DbChangeStage: () => (/* binding */ DbChangeStage),
24477
+ /* harmony export */ DbConflictCause: () => (/* binding */ DbConflictCause),
24478
+ /* harmony export */ DbConflictResolution: () => (/* binding */ DbConflictResolution),
24479
+ /* harmony export */ DbValueType: () => (/* binding */ DbValueType)
24660
24480
  /* harmony export */ });
24661
24481
  /*---------------------------------------------------------------------------------------------
24662
24482
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24714,7 +24534,7 @@ var DbConflictResolution;
24714
24534
  "use strict";
24715
24535
  __webpack_require__.r(__webpack_exports__);
24716
24536
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24717
- /* harmony export */ "RepositoryStatus": () => (/* binding */ RepositoryStatus)
24537
+ /* harmony export */ RepositoryStatus: () => (/* binding */ RepositoryStatus)
24718
24538
  /* harmony export */ });
24719
24539
  /*---------------------------------------------------------------------------------------------
24720
24540
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24773,16 +24593,14 @@ var RepositoryStatus;
24773
24593
  "use strict";
24774
24594
  __webpack_require__.r(__webpack_exports__);
24775
24595
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24776
- /* harmony export */ "DbChangeStage": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbChangeStage),
24777
- /* harmony export */ "DbConflictCause": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbConflictCause),
24778
- /* harmony export */ "DbConflictResolution": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbConflictResolution),
24779
- /* harmony export */ "DbValueType": () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__.DbValueType),
24780
- /* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__.RepositoryStatus),
24781
- /* harmony export */ "staticLoggerMetadata": () => (/* reexport safe */ _staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_0__.staticLoggerMetadata)
24596
+ /* harmony export */ DbChangeStage: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbChangeStage),
24597
+ /* harmony export */ DbConflictCause: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictCause),
24598
+ /* harmony export */ DbConflictResolution: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbConflictResolution),
24599
+ /* harmony export */ DbValueType: () => (/* reexport safe */ _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__.DbValueType),
24600
+ /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__.RepositoryStatus)
24782
24601
  /* harmony export */ });
24783
- /* harmony import */ var _staticLoggerMetadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./staticLoggerMetadata */ "../bentley/lib/esm/internal/staticLoggerMetadata.js");
24784
- /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
24785
- /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
24602
+ /* harmony import */ var _RepositoryStatus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RepositoryStatus */ "../bentley/lib/esm/internal/RepositoryStatus.js");
24603
+ /* harmony import */ var _BeSQLiteInternal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BeSQLiteInternal */ "../bentley/lib/esm/internal/BeSQLiteInternal.js");
24786
24604
  /*---------------------------------------------------------------------------------------------
24787
24605
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
24788
24606
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -24791,35 +24609,6 @@ __webpack_require__.r(__webpack_exports__);
24791
24609
 
24792
24610
 
24793
24611
 
24794
-
24795
- /***/ }),
24796
-
24797
- /***/ "../bentley/lib/esm/internal/staticLoggerMetadata.js":
24798
- /*!***********************************************************!*\
24799
- !*** ../bentley/lib/esm/internal/staticLoggerMetadata.js ***!
24800
- \***********************************************************/
24801
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
24802
-
24803
- "use strict";
24804
- __webpack_require__.r(__webpack_exports__);
24805
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24806
- /* harmony export */ "staticLoggerMetadata": () => (/* binding */ staticLoggerMetadata)
24807
- /* harmony export */ });
24808
- /*---------------------------------------------------------------------------------------------
24809
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
24810
- * See LICENSE.md in the project root for license terms and full copyright notice.
24811
- *--------------------------------------------------------------------------------------------*/
24812
- /** @packageDocumentation
24813
- * @module Logging
24814
- */
24815
- /** All static metadata is combined with per-call metadata and stringified in every log message.
24816
- * Static metadata can either be an object or a function that returns an object.
24817
- * Use a key to identify entries in the map so the can be removed individually.
24818
- * @internal
24819
- */
24820
- const staticLoggerMetadata = new Map();
24821
-
24822
-
24823
24612
  /***/ }),
24824
24613
 
24825
24614
  /***/ "../bentley/lib/esm/partitionArray.js":
@@ -24831,7 +24620,7 @@ const staticLoggerMetadata = new Map();
24831
24620
  "use strict";
24832
24621
  __webpack_require__.r(__webpack_exports__);
24833
24622
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24834
- /* harmony export */ "partitionArray": () => (/* binding */ partitionArray)
24623
+ /* harmony export */ partitionArray: () => (/* binding */ partitionArray)
24835
24624
  /* harmony export */ });
24836
24625
  /*---------------------------------------------------------------------------------------------
24837
24626
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24886,9 +24675,9 @@ function partitionArray(array, criterion) {
24886
24675
 
24887
24676
  /***/ }),
24888
24677
 
24889
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24678
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24890
24679
  /*!**************************************************************************************************************************!*\
24891
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24680
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24892
24681
  \**************************************************************************************************************************/
24893
24682
  /***/ ((module) => {
24894
24683
 
@@ -24901,9 +24690,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
24901
24690
 
24902
24691
  /***/ }),
24903
24692
 
24904
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24693
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24905
24694
  /*!************************************************************************************************************************!*\
24906
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
24695
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
24907
24696
  \************************************************************************************************************************/
24908
24697
  /***/ ((module) => {
24909
24698
 
@@ -24914,9 +24703,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
24914
24703
 
24915
24704
  /***/ }),
24916
24705
 
24917
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
24706
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
24918
24707
  /*!*******************************************************************************************************************************!*\
24919
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
24708
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
24920
24709
  \*******************************************************************************************************************************/
24921
24710
  /***/ ((module) => {
24922
24711
 
@@ -24928,9 +24717,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
24928
24717
 
24929
24718
  /***/ }),
24930
24719
 
24931
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
24720
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
24932
24721
  /*!************************************************************************************************************************!*\
24933
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
24722
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
24934
24723
  \************************************************************************************************************************/
24935
24724
  /***/ ((module) => {
24936
24725
 
@@ -24941,13 +24730,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
24941
24730
 
24942
24731
  /***/ }),
24943
24732
 
24944
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js":
24733
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js":
24945
24734
  /*!*********************************************************************************************************************!*\
24946
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js ***!
24735
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/createClass.js ***!
24947
24736
  \*********************************************************************************************************************/
24948
24737
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24949
24738
 
24950
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24739
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24951
24740
  function _defineProperties(e, r) {
24952
24741
  for (var t = 0; t < r.length; t++) {
24953
24742
  var o = r[t];
@@ -24963,13 +24752,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
24963
24752
 
24964
24753
  /***/ }),
24965
24754
 
24966
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js":
24755
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js":
24967
24756
  /*!************************************************************************************************************************!*\
24968
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
24757
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
24969
24758
  \************************************************************************************************************************/
24970
24759
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24971
24760
 
24972
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24761
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24973
24762
  function _defineProperty(e, r, t) {
24974
24763
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
24975
24764
  value: t,
@@ -24982,28 +24771,28 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
24982
24771
 
24983
24772
  /***/ }),
24984
24773
 
24985
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
24774
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
24986
24775
  /*!************************************************************************************************************************!*\
24987
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
24776
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
24988
24777
  \************************************************************************************************************************/
24989
24778
  /***/ ((module) => {
24990
24779
 
24991
24780
  function _getPrototypeOf(t) {
24992
- return (module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
24781
+ return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
24993
24782
  return t.__proto__ || Object.getPrototypeOf(t);
24994
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _getPrototypeOf(t);
24783
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t);
24995
24784
  }
24996
24785
  module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
24997
24786
 
24998
24787
  /***/ }),
24999
24788
 
25000
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js":
24789
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js":
25001
24790
  /*!******************************************************************************************************************!*\
25002
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js ***!
24791
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/inherits.js ***!
25003
24792
  \******************************************************************************************************************/
25004
24793
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25005
24794
 
25006
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
24795
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25007
24796
  function _inherits(t, e) {
25008
24797
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
25009
24798
  t.prototype = Object.create(e && e.prototype, {
@@ -25020,9 +24809,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
25020
24809
 
25021
24810
  /***/ }),
25022
24811
 
25023
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
24812
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
25024
24813
  /*!*************************************************************************************************************************!*\
25025
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
24814
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25026
24815
  \*************************************************************************************************************************/
25027
24816
  /***/ ((module) => {
25028
24817
 
@@ -25033,9 +24822,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
25033
24822
 
25034
24823
  /***/ }),
25035
24824
 
25036
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
24825
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25037
24826
  /*!*************************************************************************************************************************!*\
25038
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
24827
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25039
24828
  \*************************************************************************************************************************/
25040
24829
  /***/ ((module) => {
25041
24830
 
@@ -25046,14 +24835,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25046
24835
 
25047
24836
  /***/ }),
25048
24837
 
25049
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
24838
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25050
24839
  /*!***********************************************************************************************************************************!*\
25051
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
24840
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25052
24841
  \***********************************************************************************************************************************/
25053
24842
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25054
24843
 
25055
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25056
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
24844
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
24845
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25057
24846
  function _possibleConstructorReturn(t, e) {
25058
24847
  if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
25059
24848
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
@@ -25063,31 +24852,31 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
25063
24852
 
25064
24853
  /***/ }),
25065
24854
 
25066
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
24855
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25067
24856
  /*!************************************************************************************************************************!*\
25068
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
24857
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25069
24858
  \************************************************************************************************************************/
25070
24859
  /***/ ((module) => {
25071
24860
 
25072
24861
  function _setPrototypeOf(t, e) {
25073
- return (module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
24862
+ return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
25074
24863
  return t.__proto__ = e, t;
25075
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _setPrototypeOf(t, e);
24864
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e);
25076
24865
  }
25077
24866
  module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
25078
24867
 
25079
24868
  /***/ }),
25080
24869
 
25081
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js":
24870
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js":
25082
24871
  /*!*****************************************************************************************************************!*\
25083
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js ***!
24872
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25084
24873
  \*****************************************************************************************************************/
25085
24874
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25086
24875
 
25087
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25088
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25089
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25090
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
24876
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
24877
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
24878
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
24879
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25091
24880
  function _toArray(r) {
25092
24881
  return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
25093
24882
  }
@@ -25095,13 +24884,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
25095
24884
 
25096
24885
  /***/ }),
25097
24886
 
25098
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
24887
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25099
24888
  /*!*********************************************************************************************************************!*\
25100
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
24889
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25101
24890
  \*********************************************************************************************************************/
25102
24891
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25103
24892
 
25104
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
24893
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25105
24894
  function toPrimitive(t, r) {
25106
24895
  if ("object" != _typeof(t) || !t) return t;
25107
24896
  var e = t[Symbol.toPrimitive];
@@ -25116,14 +24905,14 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
25116
24905
 
25117
24906
  /***/ }),
25118
24907
 
25119
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
24908
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25120
24909
  /*!***********************************************************************************************************************!*\
25121
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
24910
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25122
24911
  \***********************************************************************************************************************/
25123
24912
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25124
24913
 
25125
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25126
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
24914
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
24915
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
25127
24916
  function toPropertyKey(t) {
25128
24917
  var i = toPrimitive(t, "string");
25129
24918
  return "symbol" == _typeof(i) ? i : i + "";
@@ -25132,32 +24921,32 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
25132
24921
 
25133
24922
  /***/ }),
25134
24923
 
25135
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js":
24924
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js":
25136
24925
  /*!****************************************************************************************************************!*\
25137
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js ***!
24926
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25138
24927
  \****************************************************************************************************************/
25139
24928
  /***/ ((module) => {
25140
24929
 
25141
24930
  function _typeof(o) {
25142
24931
  "@babel/helpers - typeof";
25143
24932
 
25144
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
24933
+ return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
25145
24934
  return typeof o;
25146
24935
  } : function (o) {
25147
24936
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
25148
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
24937
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
25149
24938
  }
25150
24939
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
25151
24940
 
25152
24941
  /***/ }),
25153
24942
 
25154
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
24943
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25155
24944
  /*!************************************************************************************************************************************!*\
25156
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
24945
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25157
24946
  \************************************************************************************************************************************/
25158
24947
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25159
24948
 
25160
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
24949
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25161
24950
  function _unsupportedIterableToArray(r, a) {
25162
24951
  if (r) {
25163
24952
  if ("string" == typeof r) return arrayLikeToArray(r, a);
@@ -25676,9 +25465,9 @@ function makePromise(maybePromise) {
25676
25465
 
25677
25466
  /***/ }),
25678
25467
 
25679
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25468
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25680
25469
  /*!****************************************************************************************************************************!*\
25681
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25470
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25682
25471
  \****************************************************************************************************************************/
25683
25472
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25684
25473
 
@@ -25694,9 +25483,9 @@ function _classCallCheck(a, n) {
25694
25483
 
25695
25484
  /***/ }),
25696
25485
 
25697
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25486
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25698
25487
  /*!*************************************************************************************************************************!*\
25699
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25488
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25700
25489
  \*************************************************************************************************************************/
25701
25490
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25702
25491
 
@@ -25705,7 +25494,7 @@ __webpack_require__.r(__webpack_exports__);
25705
25494
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25706
25495
  /* harmony export */ "default": () => (/* binding */ _createClass)
25707
25496
  /* harmony export */ });
25708
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25497
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25709
25498
 
25710
25499
  function _defineProperties(e, r) {
25711
25500
  for (var t = 0; t < r.length; t++) {
@@ -25722,9 +25511,9 @@ function _createClass(e, r, t) {
25722
25511
 
25723
25512
  /***/ }),
25724
25513
 
25725
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25514
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25726
25515
  /*!*************************************************************************************************************************!*\
25727
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25516
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25728
25517
  \*************************************************************************************************************************/
25729
25518
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25730
25519
 
@@ -25733,7 +25522,7 @@ __webpack_require__.r(__webpack_exports__);
25733
25522
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25734
25523
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
25735
25524
  /* harmony export */ });
25736
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25525
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25737
25526
 
25738
25527
  function toPrimitive(t, r) {
25739
25528
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -25749,9 +25538,9 @@ function toPrimitive(t, r) {
25749
25538
 
25750
25539
  /***/ }),
25751
25540
 
25752
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25541
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25753
25542
  /*!***************************************************************************************************************************!*\
25754
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25543
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25755
25544
  \***************************************************************************************************************************/
25756
25545
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25757
25546
 
@@ -25760,8 +25549,8 @@ __webpack_require__.r(__webpack_exports__);
25760
25549
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25761
25550
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
25762
25551
  /* harmony export */ });
25763
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25764
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25552
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25553
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25765
25554
 
25766
25555
 
25767
25556
  function toPropertyKey(t) {
@@ -25772,9 +25561,9 @@ function toPropertyKey(t) {
25772
25561
 
25773
25562
  /***/ }),
25774
25563
 
25775
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
25564
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
25776
25565
  /*!********************************************************************************************************************!*\
25777
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25566
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25778
25567
  \********************************************************************************************************************/
25779
25568
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25780
25569
 
@@ -25865,7 +25654,7 @@ function _typeof(o) {
25865
25654
  /******/
25866
25655
  /************************************************************************/
25867
25656
  var __webpack_exports__ = {};
25868
- // This entry need to be wrapped in an IIFE because it need to be in strict mode.
25657
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
25869
25658
  (() => {
25870
25659
  "use strict";
25871
25660
  var exports = __webpack_exports__;