@micro-lc/preview 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +23 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -0
- package/package.json +8 -8
- package/website/assets/index-de9f10b5.js +13 -0
- package/website/development/assets/{index-d5aaa491.js → index-dafdc2d8.js} +493 -418
- package/website/development/index.html +2 -1
- package/website/development/manifest.json +1 -1
- package/website/index.html +2 -1
- package/website/manifest.json +1 -1
- package/website/assets/index-b0a6eac8.js +0 -15
@@ -278,13 +278,14 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
278
278
|
});
|
279
279
|
let supportsJsonAssertions = false;
|
280
280
|
let supportsCssAssertions = false;
|
281
|
-
|
282
|
-
let
|
281
|
+
const supports = hasDocument && HTMLScriptElement.supports;
|
282
|
+
let supportsImportMaps = supports && supports.name === "supports" && supports("importmap");
|
283
|
+
let supportsImportMeta = supportsDynamicImport;
|
283
284
|
const importMetaCheck = "import.meta";
|
284
285
|
const cssModulesCheck = `import"x"assert{type:"css"}`;
|
285
286
|
const jsonModulesCheck = `import"x"assert{type:"json"}`;
|
286
|
-
|
287
|
-
if (!supportsDynamicImport
|
287
|
+
let featureDetectionPromise = Promise.resolve(dynamicImportCheck).then(() => {
|
288
|
+
if (!supportsDynamicImport)
|
288
289
|
return;
|
289
290
|
if (!hasDocument)
|
290
291
|
return Promise.all([
|
@@ -296,18 +297,27 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
296
297
|
const iframe = document.createElement("iframe");
|
297
298
|
iframe.style.display = "none";
|
298
299
|
iframe.setAttribute("nonce", nonce);
|
299
|
-
function cb({ data
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
300
|
+
function cb({ data }) {
|
301
|
+
const isFeatureDetectionMessage = Array.isArray(data) && data[0] === "esms";
|
302
|
+
if (!isFeatureDetectionMessage) {
|
303
|
+
return;
|
304
|
+
}
|
305
|
+
supportsImportMaps = data[1];
|
306
|
+
supportsImportMeta = data[2];
|
307
|
+
supportsCssAssertions = data[3];
|
308
|
+
supportsJsonAssertions = data[4];
|
304
309
|
resolve2();
|
305
310
|
document.head.removeChild(iframe);
|
306
311
|
window.removeEventListener("message", cb, false);
|
307
312
|
}
|
308
313
|
window.addEventListener("message", cb, false);
|
309
|
-
const importMapTest = `<script nonce=${nonce || ""}>b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"${nonce}",innerText:\`{"imports":{"x":"\${b('')}"}}\`}));Promise.all([${supportsImportMaps ? "true,true" : `'x',b('${importMetaCheck}')`}, ${cssModulesEnabled ? `b('${cssModulesCheck}'.replace('x',b('','text/css')))` : "false"}, ${jsonModulesEnabled ? `b('${jsonModulesCheck}'.replace('x',b('{}','text/json')))` : "false"}].map(x =>typeof x==='string'?import(x).then(x =>!!x,()=>false):x)).then(a=>parent.postMessage(a,'*'))<${""}/script>`;
|
310
|
-
|
314
|
+
const importMapTest = `<script nonce=${nonce || ""}>b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"${nonce}",innerText:\`{"imports":{"x":"\${b('')}"}}\`}));Promise.all([${supportsImportMaps ? "true,true" : `'x',b('${importMetaCheck}')`}, ${cssModulesEnabled ? `b('${cssModulesCheck}'.replace('x',b('','text/css')))` : "false"}, ${jsonModulesEnabled ? `b('${jsonModulesCheck}'.replace('x',b('{}','text/json')))` : "false"}].map(x =>typeof x==='string'?import(x).then(x =>!!x,()=>false):x)).then(a=>parent.postMessage(['esms'].concat(a),'*'))<${""}/script>`;
|
315
|
+
let readyForOnload = false, onloadCalledWhileNotReady = false;
|
316
|
+
function doOnload() {
|
317
|
+
if (!readyForOnload) {
|
318
|
+
onloadCalledWhileNotReady = true;
|
319
|
+
return;
|
320
|
+
}
|
311
321
|
const doc = iframe.contentDocument;
|
312
322
|
if (doc && doc.head.childNodes.length === 0) {
|
313
323
|
const s3 = doc.createElement("script");
|
@@ -316,12 +326,16 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
316
326
|
s3.innerHTML = importMapTest.slice(15 + (nonce ? nonce.length : 0), -9);
|
317
327
|
doc.head.appendChild(s3);
|
318
328
|
}
|
319
|
-
}
|
329
|
+
}
|
330
|
+
iframe.onload = doOnload;
|
320
331
|
document.head.appendChild(iframe);
|
332
|
+
readyForOnload = true;
|
321
333
|
if ("srcdoc" in iframe)
|
322
334
|
iframe.srcdoc = importMapTest;
|
323
335
|
else
|
324
336
|
iframe.contentDocument.write(importMapTest);
|
337
|
+
if (onloadCalledWhileNotReady)
|
338
|
+
doOnload();
|
325
339
|
});
|
326
340
|
});
|
327
341
|
let e2, a2, r2, i2 = 2 << 19;
|
@@ -348,9 +362,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
348
362
|
a2 = new ArrayBuffer(i2), s2(t2, new Uint16Array(a2, 16, 105)), e2 = function(e3, a3, r3) {
|
349
363
|
;
|
350
364
|
var i3 = new e3.Int8Array(r3), s3 = new e3.Int16Array(r3), t3 = new e3.Int32Array(r3), c3 = new e3.Uint8Array(r3), f3 = new e3.Uint16Array(r3), n3 = 1024;
|
351
|
-
function
|
352
|
-
var e4 = 0, a4 = 0, r4 = 0, c4 = 0,
|
353
|
-
|
365
|
+
function b2() {
|
366
|
+
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, b3 = 0, u5 = 0, w4 = 0;
|
367
|
+
w4 = n3;
|
354
368
|
n3 = n3 + 10240 | 0;
|
355
369
|
i3[795] = 1;
|
356
370
|
s3[395] = 0;
|
@@ -359,8 +373,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
359
373
|
i3[796] = 0;
|
360
374
|
t3[66] = 0;
|
361
375
|
i3[794] = 0;
|
362
|
-
t3[68] =
|
363
|
-
t3[69] =
|
376
|
+
t3[68] = w4 + 2048;
|
377
|
+
t3[69] = w4;
|
364
378
|
i3[797] = 0;
|
365
379
|
e4 = (t3[3] | 0) + -2 | 0;
|
366
380
|
t3[70] = e4;
|
@@ -371,7 +385,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
371
385
|
r4 = e4 + 2 | 0;
|
372
386
|
t3[70] = r4;
|
373
387
|
if (e4 >>> 0 >= a4 >>> 0) {
|
374
|
-
|
388
|
+
b3 = 18;
|
375
389
|
break;
|
376
390
|
}
|
377
391
|
a:
|
@@ -386,22 +400,22 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
386
400
|
break;
|
387
401
|
case 101: {
|
388
402
|
if ((((s3[396] | 0) == 0 ? H2(r4) | 0 : 0) ? (m2(e4 + 4 | 0, 16, 10) | 0) == 0 : 0) ? (l4(), (i3[795] | 0) == 0) : 0) {
|
389
|
-
|
403
|
+
b3 = 9;
|
390
404
|
break e;
|
391
405
|
} else
|
392
|
-
|
406
|
+
b3 = 17;
|
393
407
|
break;
|
394
408
|
}
|
395
409
|
case 105: {
|
396
410
|
if (H2(r4) | 0 ? (m2(e4 + 4 | 0, 26, 10) | 0) == 0 : 0) {
|
397
411
|
k4();
|
398
|
-
|
412
|
+
b3 = 17;
|
399
413
|
} else
|
400
|
-
|
414
|
+
b3 = 17;
|
401
415
|
break;
|
402
416
|
}
|
403
417
|
case 59: {
|
404
|
-
|
418
|
+
b3 = 17;
|
405
419
|
break;
|
406
420
|
}
|
407
421
|
case 47:
|
@@ -415,46 +429,46 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
415
429
|
break a;
|
416
430
|
}
|
417
431
|
default: {
|
418
|
-
|
432
|
+
b3 = 16;
|
419
433
|
break e;
|
420
434
|
}
|
421
435
|
}
|
422
436
|
default: {
|
423
|
-
|
437
|
+
b3 = 16;
|
424
438
|
break e;
|
425
439
|
}
|
426
440
|
}
|
427
441
|
} while (0);
|
428
|
-
if ((
|
429
|
-
|
442
|
+
if ((b3 | 0) == 17) {
|
443
|
+
b3 = 0;
|
430
444
|
t3[67] = t3[70];
|
431
445
|
}
|
432
446
|
e4 = t3[70] | 0;
|
433
447
|
a4 = t3[71] | 0;
|
434
448
|
}
|
435
|
-
if ((
|
449
|
+
if ((b3 | 0) == 9) {
|
436
450
|
e4 = t3[70] | 0;
|
437
451
|
t3[67] = e4;
|
438
|
-
|
439
|
-
} else if ((
|
452
|
+
b3 = 19;
|
453
|
+
} else if ((b3 | 0) == 16) {
|
440
454
|
i3[795] = 0;
|
441
455
|
t3[70] = e4;
|
442
|
-
|
443
|
-
} else if ((
|
456
|
+
b3 = 19;
|
457
|
+
} else if ((b3 | 0) == 18)
|
444
458
|
if (!(i3[794] | 0)) {
|
445
459
|
e4 = r4;
|
446
|
-
|
460
|
+
b3 = 19;
|
447
461
|
} else
|
448
462
|
e4 = 0;
|
449
463
|
do {
|
450
|
-
if ((
|
464
|
+
if ((b3 | 0) == 19) {
|
451
465
|
e:
|
452
466
|
while (1) {
|
453
467
|
a4 = e4 + 2 | 0;
|
454
468
|
t3[70] = a4;
|
455
469
|
c4 = a4;
|
456
470
|
if (e4 >>> 0 >= (t3[71] | 0) >>> 0) {
|
457
|
-
|
471
|
+
b3 = 82;
|
458
472
|
break;
|
459
473
|
}
|
460
474
|
a:
|
@@ -470,64 +484,64 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
470
484
|
case 101: {
|
471
485
|
if (((s3[396] | 0) == 0 ? H2(a4) | 0 : 0) ? (m2(e4 + 4 | 0, 16, 10) | 0) == 0 : 0) {
|
472
486
|
l4();
|
473
|
-
|
487
|
+
b3 = 81;
|
474
488
|
} else
|
475
|
-
|
489
|
+
b3 = 81;
|
476
490
|
break;
|
477
491
|
}
|
478
492
|
case 105: {
|
479
493
|
if (H2(a4) | 0 ? (m2(e4 + 4 | 0, 26, 10) | 0) == 0 : 0) {
|
480
494
|
k4();
|
481
|
-
|
495
|
+
b3 = 81;
|
482
496
|
} else
|
483
|
-
|
497
|
+
b3 = 81;
|
484
498
|
break;
|
485
499
|
}
|
486
500
|
case 99: {
|
487
501
|
if ((H2(a4) | 0 ? (m2(e4 + 4 | 0, 36, 8) | 0) == 0 : 0) ? V2(s3[e4 + 12 >> 1] | 0) | 0 : 0) {
|
488
502
|
i3[797] = 1;
|
489
|
-
|
503
|
+
b3 = 81;
|
490
504
|
} else
|
491
|
-
|
505
|
+
b3 = 81;
|
492
506
|
break;
|
493
507
|
}
|
494
508
|
case 40: {
|
495
509
|
c4 = t3[68] | 0;
|
496
510
|
a4 = s3[396] | 0;
|
497
|
-
|
498
|
-
t3[c4 + (
|
511
|
+
b3 = a4 & 65535;
|
512
|
+
t3[c4 + (b3 << 3) >> 2] = 1;
|
499
513
|
r4 = t3[67] | 0;
|
500
514
|
s3[396] = a4 + 1 << 16 >> 16;
|
501
|
-
t3[c4 + (
|
502
|
-
|
515
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = r4;
|
516
|
+
b3 = 81;
|
503
517
|
break;
|
504
518
|
}
|
505
519
|
case 41: {
|
506
520
|
a4 = s3[396] | 0;
|
507
521
|
if (!(a4 << 16 >> 16)) {
|
508
|
-
|
522
|
+
b3 = 36;
|
509
523
|
break e;
|
510
524
|
}
|
511
525
|
a4 = a4 + -1 << 16 >> 16;
|
512
526
|
s3[396] = a4;
|
513
527
|
r4 = s3[395] | 0;
|
514
|
-
if (r4 << 16 >> 16 != 0 ? (
|
515
|
-
a4 =
|
528
|
+
if (r4 << 16 >> 16 != 0 ? (u5 = t3[(t3[69] | 0) + ((r4 & 65535) + -1 << 2) >> 2] | 0, (t3[u5 + 20 >> 2] | 0) == (t3[(t3[68] | 0) + ((a4 & 65535) << 3) + 4 >> 2] | 0)) : 0) {
|
529
|
+
a4 = u5 + 4 | 0;
|
516
530
|
if (!(t3[a4 >> 2] | 0))
|
517
531
|
t3[a4 >> 2] = c4;
|
518
|
-
t3[
|
532
|
+
t3[u5 + 12 >> 2] = e4 + 4;
|
519
533
|
s3[395] = r4 + -1 << 16 >> 16;
|
520
|
-
|
534
|
+
b3 = 81;
|
521
535
|
} else
|
522
|
-
|
536
|
+
b3 = 81;
|
523
537
|
break;
|
524
538
|
}
|
525
539
|
case 123: {
|
526
|
-
|
540
|
+
b3 = t3[67] | 0;
|
527
541
|
c4 = t3[61] | 0;
|
528
|
-
e4 =
|
542
|
+
e4 = b3;
|
529
543
|
do {
|
530
|
-
if ((s3[
|
544
|
+
if ((s3[b3 >> 1] | 0) == 41 & (c4 | 0) != 0 ? (t3[c4 + 4 >> 2] | 0) == (b3 | 0) : 0) {
|
531
545
|
a4 = t3[62] | 0;
|
532
546
|
t3[61] = a4;
|
533
547
|
if (!a4) {
|
@@ -541,38 +555,38 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
541
555
|
} while (0);
|
542
556
|
c4 = t3[68] | 0;
|
543
557
|
r4 = s3[396] | 0;
|
544
|
-
|
545
|
-
t3[c4 + (
|
558
|
+
b3 = r4 & 65535;
|
559
|
+
t3[c4 + (b3 << 3) >> 2] = (i3[797] | 0) == 0 ? 2 : 6;
|
546
560
|
s3[396] = r4 + 1 << 16 >> 16;
|
547
|
-
t3[c4 + (
|
561
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = e4;
|
548
562
|
i3[797] = 0;
|
549
|
-
|
563
|
+
b3 = 81;
|
550
564
|
break;
|
551
565
|
}
|
552
566
|
case 125: {
|
553
567
|
e4 = s3[396] | 0;
|
554
568
|
if (!(e4 << 16 >> 16)) {
|
555
|
-
|
569
|
+
b3 = 49;
|
556
570
|
break e;
|
557
571
|
}
|
558
572
|
c4 = t3[68] | 0;
|
559
|
-
|
560
|
-
s3[396] =
|
561
|
-
if ((t3[c4 + ((
|
573
|
+
b3 = e4 + -1 << 16 >> 16;
|
574
|
+
s3[396] = b3;
|
575
|
+
if ((t3[c4 + ((b3 & 65535) << 3) >> 2] | 0) == 4) {
|
562
576
|
h3();
|
563
|
-
|
577
|
+
b3 = 81;
|
564
578
|
} else
|
565
|
-
|
579
|
+
b3 = 81;
|
566
580
|
break;
|
567
581
|
}
|
568
582
|
case 39: {
|
569
583
|
d3(39);
|
570
|
-
|
584
|
+
b3 = 81;
|
571
585
|
break;
|
572
586
|
}
|
573
587
|
case 34: {
|
574
588
|
d3(34);
|
575
|
-
|
589
|
+
b3 = 81;
|
576
590
|
break;
|
577
591
|
}
|
578
592
|
case 47:
|
@@ -594,70 +608,70 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
594
608
|
switch (c4 << 16 >> 16) {
|
595
609
|
case 41:
|
596
610
|
if (D(t3[(t3[68] | 0) + (f3[396] << 3) + 4 >> 2] | 0) | 0) {
|
597
|
-
|
611
|
+
b3 = 69;
|
598
612
|
break r;
|
599
613
|
} else {
|
600
|
-
|
614
|
+
b3 = 66;
|
601
615
|
break r;
|
602
616
|
}
|
603
617
|
case 125:
|
604
618
|
break;
|
605
619
|
default: {
|
606
|
-
|
620
|
+
b3 = 66;
|
607
621
|
break r;
|
608
622
|
}
|
609
623
|
}
|
610
624
|
a4 = t3[68] | 0;
|
611
625
|
r4 = f3[396] | 0;
|
612
626
|
if (!(p3(t3[a4 + (r4 << 3) + 4 >> 2] | 0) | 0) ? (t3[a4 + (r4 << 3) >> 2] | 0) != 6 : 0)
|
613
|
-
|
627
|
+
b3 = 66;
|
614
628
|
else
|
615
|
-
|
629
|
+
b3 = 69;
|
616
630
|
} else
|
617
631
|
switch (c4 << 16 >> 16) {
|
618
632
|
case 46:
|
619
633
|
if (((s3[e4 + -2 >> 1] | 0) + -48 & 65535) < 10) {
|
620
|
-
|
634
|
+
b3 = 66;
|
621
635
|
break r;
|
622
636
|
} else {
|
623
|
-
|
637
|
+
b3 = 69;
|
624
638
|
break r;
|
625
639
|
}
|
626
640
|
case 43:
|
627
641
|
if ((s3[e4 + -2 >> 1] | 0) == 43) {
|
628
|
-
|
642
|
+
b3 = 66;
|
629
643
|
break r;
|
630
644
|
} else {
|
631
|
-
|
645
|
+
b3 = 69;
|
632
646
|
break r;
|
633
647
|
}
|
634
648
|
case 45:
|
635
649
|
if ((s3[e4 + -2 >> 1] | 0) == 45) {
|
636
|
-
|
650
|
+
b3 = 66;
|
637
651
|
break r;
|
638
652
|
} else {
|
639
|
-
|
653
|
+
b3 = 69;
|
640
654
|
break r;
|
641
655
|
}
|
642
656
|
default: {
|
643
|
-
|
657
|
+
b3 = 69;
|
644
658
|
break r;
|
645
659
|
}
|
646
660
|
}
|
647
661
|
} while (0);
|
648
662
|
r:
|
649
663
|
do {
|
650
|
-
if ((
|
651
|
-
|
652
|
-
if (!(
|
664
|
+
if ((b3 | 0) == 66) {
|
665
|
+
b3 = 0;
|
666
|
+
if (!(o3(e4) | 0)) {
|
653
667
|
switch (c4 << 16 >> 16) {
|
654
668
|
case 0: {
|
655
|
-
|
669
|
+
b3 = 69;
|
656
670
|
break r;
|
657
671
|
}
|
658
672
|
case 47: {
|
659
673
|
if (i3[796] | 0) {
|
660
|
-
|
674
|
+
b3 = 69;
|
661
675
|
break r;
|
662
676
|
}
|
663
677
|
break;
|
@@ -681,73 +695,73 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
681
695
|
e4 = e4 + -2 | 0;
|
682
696
|
t3[67] = e4;
|
683
697
|
} while (F(s3[e4 >> 1] | 0) | 0);
|
684
|
-
if (
|
698
|
+
if (j2(e4) | 0) {
|
685
699
|
g2();
|
686
700
|
i3[796] = 0;
|
687
|
-
|
701
|
+
b3 = 81;
|
688
702
|
break a;
|
689
703
|
} else
|
690
704
|
e4 = 1;
|
691
705
|
} else
|
692
706
|
e4 = 1;
|
693
707
|
} else
|
694
|
-
|
708
|
+
b3 = 69;
|
695
709
|
}
|
696
710
|
} while (0);
|
697
|
-
if ((
|
711
|
+
if ((b3 | 0) == 69) {
|
698
712
|
g2();
|
699
713
|
e4 = 0;
|
700
714
|
}
|
701
715
|
i3[796] = e4;
|
702
|
-
|
716
|
+
b3 = 81;
|
703
717
|
break a;
|
704
718
|
}
|
705
719
|
}
|
706
720
|
case 96: {
|
707
721
|
c4 = t3[68] | 0;
|
708
722
|
r4 = s3[396] | 0;
|
709
|
-
|
710
|
-
t3[c4 + (
|
723
|
+
b3 = r4 & 65535;
|
724
|
+
t3[c4 + (b3 << 3) + 4 >> 2] = t3[67];
|
711
725
|
s3[396] = r4 + 1 << 16 >> 16;
|
712
|
-
t3[c4 + (
|
726
|
+
t3[c4 + (b3 << 3) >> 2] = 3;
|
713
727
|
h3();
|
714
|
-
|
728
|
+
b3 = 81;
|
715
729
|
break;
|
716
730
|
}
|
717
731
|
default:
|
718
|
-
|
732
|
+
b3 = 81;
|
719
733
|
}
|
720
734
|
} while (0);
|
721
|
-
if ((
|
722
|
-
|
735
|
+
if ((b3 | 0) == 81) {
|
736
|
+
b3 = 0;
|
723
737
|
t3[67] = t3[70];
|
724
738
|
}
|
725
739
|
e4 = t3[70] | 0;
|
726
740
|
}
|
727
|
-
if ((
|
741
|
+
if ((b3 | 0) == 36) {
|
728
742
|
T2();
|
729
743
|
e4 = 0;
|
730
744
|
break;
|
731
|
-
} else if ((
|
745
|
+
} else if ((b3 | 0) == 49) {
|
732
746
|
T2();
|
733
747
|
e4 = 0;
|
734
748
|
break;
|
735
|
-
} else if ((
|
749
|
+
} else if ((b3 | 0) == 82) {
|
736
750
|
e4 = (i3[794] | 0) == 0 ? (s3[395] | s3[396]) << 16 >> 16 == 0 : 0;
|
737
751
|
break;
|
738
752
|
}
|
739
753
|
}
|
740
754
|
} while (0);
|
741
|
-
n3 =
|
755
|
+
n3 = w4;
|
742
756
|
return e4 | 0;
|
743
757
|
}
|
744
758
|
function l4() {
|
745
|
-
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, f4 = 0, n4 = 0,
|
759
|
+
var e4 = 0, a4 = 0, r4 = 0, c4 = 0, f4 = 0, n4 = 0, b3 = 0, l5 = 0, k5 = 0, o4 = 0, h4 = 0, A3 = 0, C3 = 0, g3 = 0;
|
746
760
|
l5 = t3[70] | 0;
|
747
761
|
k5 = t3[63] | 0;
|
748
762
|
g3 = l5 + 12 | 0;
|
749
763
|
t3[70] = g3;
|
750
|
-
r4 =
|
764
|
+
r4 = w3(1) | 0;
|
751
765
|
e4 = t3[70] | 0;
|
752
766
|
if (!((e4 | 0) == (g3 | 0) ? !(I2(r4) | 0) : 0))
|
753
767
|
C3 = 3;
|
@@ -759,7 +773,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
759
773
|
switch (r4 << 16 >> 16) {
|
760
774
|
case 123: {
|
761
775
|
t3[70] = e4 + 2;
|
762
|
-
e4 =
|
776
|
+
e4 = w3(1) | 0;
|
763
777
|
r4 = t3[70] | 0;
|
764
778
|
while (1) {
|
765
779
|
if (W(e4) | 0) {
|
@@ -770,11 +784,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
770
784
|
q(e4) | 0;
|
771
785
|
e4 = t3[70] | 0;
|
772
786
|
}
|
773
|
-
|
787
|
+
w3(1) | 0;
|
774
788
|
e4 = v2(r4, e4) | 0;
|
775
789
|
if (e4 << 16 >> 16 == 44) {
|
776
790
|
t3[70] = (t3[70] | 0) + 2;
|
777
|
-
e4 =
|
791
|
+
e4 = w3(1) | 0;
|
778
792
|
}
|
779
793
|
a4 = r4;
|
780
794
|
r4 = t3[70] | 0;
|
@@ -805,7 +819,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
805
819
|
}
|
806
820
|
case 42: {
|
807
821
|
t3[70] = e4 + 2;
|
808
|
-
|
822
|
+
w3(1) | 0;
|
809
823
|
g3 = t3[70] | 0;
|
810
824
|
v2(g3, g3) | 0;
|
811
825
|
break;
|
@@ -816,12 +830,12 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
816
830
|
case 100: {
|
817
831
|
l5 = e4 + 14 | 0;
|
818
832
|
t3[70] = l5;
|
819
|
-
switch ((
|
833
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
820
834
|
case 97: {
|
821
835
|
a4 = t3[70] | 0;
|
822
836
|
if ((m2(a4 + 2 | 0, 56, 8) | 0) == 0 ? (f4 = a4 + 10 | 0, F(s3[f4 >> 1] | 0) | 0) : 0) {
|
823
837
|
t3[70] = f4;
|
824
|
-
|
838
|
+
w3(0) | 0;
|
825
839
|
C3 = 22;
|
826
840
|
}
|
827
841
|
break;
|
@@ -832,7 +846,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
832
846
|
}
|
833
847
|
case 99: {
|
834
848
|
a4 = t3[70] | 0;
|
835
|
-
if (((m2(a4 + 2 | 0, 36, 8) | 0) == 0 ? (c4 = a4 + 10 | 0, g3 = s3[c4 >> 1] | 0, V2(g3) | 0 | g3 << 16 >> 16 == 123) : 0) ? (t3[70] = c4, n4 =
|
849
|
+
if (((m2(a4 + 2 | 0, 36, 8) | 0) == 0 ? (c4 = a4 + 10 | 0, g3 = s3[c4 >> 1] | 0, V2(g3) | 0 | g3 << 16 >> 16 == 123) : 0) ? (t3[70] = c4, n4 = w3(1) | 0, n4 << 16 >> 16 != 123) : 0) {
|
836
850
|
A3 = n4;
|
837
851
|
C3 = 31;
|
838
852
|
}
|
@@ -843,8 +857,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
843
857
|
}
|
844
858
|
r:
|
845
859
|
do {
|
846
|
-
if ((C3 | 0) == 22 ? (
|
847
|
-
r4 =
|
860
|
+
if ((C3 | 0) == 22 ? (b3 = t3[70] | 0, (m2(b3 + 2 | 0, 64, 14) | 0) == 0) : 0) {
|
861
|
+
r4 = b3 + 16 | 0;
|
848
862
|
a4 = s3[r4 >> 1] | 0;
|
849
863
|
if (!(V2(a4) | 0))
|
850
864
|
switch (a4 << 16 >> 16) {
|
@@ -855,10 +869,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
855
869
|
break r;
|
856
870
|
}
|
857
871
|
t3[70] = r4;
|
858
|
-
a4 =
|
872
|
+
a4 = w3(1) | 0;
|
859
873
|
if (a4 << 16 >> 16 == 42) {
|
860
874
|
t3[70] = (t3[70] | 0) + 2;
|
861
|
-
a4 =
|
875
|
+
a4 = w3(1) | 0;
|
862
876
|
}
|
863
877
|
if (a4 << 16 >> 16 != 40) {
|
864
878
|
A3 = a4;
|
@@ -866,8 +880,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
866
880
|
}
|
867
881
|
}
|
868
882
|
} while (0);
|
869
|
-
if ((C3 | 0) == 31 ? (
|
870
|
-
$2(e4, l5,
|
883
|
+
if ((C3 | 0) == 31 ? (o4 = t3[70] | 0, q(A3) | 0, h4 = t3[70] | 0, h4 >>> 0 > o4 >>> 0) : 0) {
|
884
|
+
$2(e4, l5, o4, h4);
|
871
885
|
t3[70] = (t3[70] | 0) + -2;
|
872
886
|
break e;
|
873
887
|
}
|
@@ -877,7 +891,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
877
891
|
}
|
878
892
|
case 97: {
|
879
893
|
t3[70] = e4 + 10;
|
880
|
-
|
894
|
+
w3(0) | 0;
|
881
895
|
e4 = t3[70] | 0;
|
882
896
|
C3 = 35;
|
883
897
|
break;
|
@@ -889,7 +903,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
889
903
|
case 99: {
|
890
904
|
if ((m2(e4 + 2 | 0, 36, 8) | 0) == 0 ? (a4 = e4 + 10 | 0, E2(s3[a4 >> 1] | 0) | 0) : 0) {
|
891
905
|
t3[70] = a4;
|
892
|
-
g3 =
|
906
|
+
g3 = w3(1) | 0;
|
893
907
|
C3 = t3[70] | 0;
|
894
908
|
q(g3) | 0;
|
895
909
|
g3 = t3[70] | 0;
|
@@ -909,10 +923,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
909
923
|
}
|
910
924
|
if ((C3 | 0) == 35) {
|
911
925
|
t3[70] = e4 + 16;
|
912
|
-
e4 =
|
926
|
+
e4 = w3(1) | 0;
|
913
927
|
if (e4 << 16 >> 16 == 42) {
|
914
928
|
t3[70] = (t3[70] | 0) + 2;
|
915
|
-
e4 =
|
929
|
+
e4 = w3(1) | 0;
|
916
930
|
}
|
917
931
|
C3 = t3[70] | 0;
|
918
932
|
q(e4) | 0;
|
@@ -927,7 +941,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
927
941
|
r:
|
928
942
|
while (1) {
|
929
943
|
t3[70] = e4 + 2;
|
930
|
-
g3 =
|
944
|
+
g3 = w3(1) | 0;
|
931
945
|
e4 = t3[70] | 0;
|
932
946
|
switch ((q(g3) | 0) << 16 >> 16) {
|
933
947
|
case 91:
|
@@ -940,7 +954,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
940
954
|
if ((a4 | 0) == (e4 | 0))
|
941
955
|
break e;
|
942
956
|
$2(e4, a4, e4, a4);
|
943
|
-
if ((
|
957
|
+
if ((w3(1) | 0) << 16 >> 16 != 44)
|
944
958
|
break;
|
945
959
|
e4 = t3[70] | 0;
|
946
960
|
}
|
@@ -949,11 +963,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
949
963
|
}
|
950
964
|
}
|
951
965
|
} while (0);
|
952
|
-
g3 = (
|
966
|
+
g3 = (w3(1) | 0) << 16 >> 16 == 102;
|
953
967
|
e4 = t3[70] | 0;
|
954
968
|
if (g3 ? (m2(e4 + 2 | 0, 50, 6) | 0) == 0 : 0) {
|
955
969
|
t3[70] = e4 + 8;
|
956
|
-
|
970
|
+
u4(l5, w3(1) | 0);
|
957
971
|
e4 = (k5 | 0) == 0 ? 232 : k5 + 16 | 0;
|
958
972
|
while (1) {
|
959
973
|
e4 = t3[e4 >> 2] | 0;
|
@@ -976,7 +990,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
976
990
|
t3[70] = e4;
|
977
991
|
e:
|
978
992
|
do {
|
979
|
-
switch ((
|
993
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
980
994
|
case 40: {
|
981
995
|
a4 = t3[68] | 0;
|
982
996
|
n4 = s3[396] | 0;
|
@@ -987,7 +1001,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
987
1001
|
t3[a4 + (r4 << 3) + 4 >> 2] = e4;
|
988
1002
|
if ((s3[t3[67] >> 1] | 0) != 46) {
|
989
1003
|
t3[70] = e4 + 2;
|
990
|
-
n4 =
|
1004
|
+
n4 = w3(1) | 0;
|
991
1005
|
A2(f4, t3[70] | 0, 0, e4);
|
992
1006
|
a4 = t3[61] | 0;
|
993
1007
|
r4 = t3[69] | 0;
|
@@ -1010,10 +1024,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1010
1024
|
}
|
1011
1025
|
e4 = (t3[70] | 0) + 2 | 0;
|
1012
1026
|
t3[70] = e4;
|
1013
|
-
switch ((
|
1027
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1014
1028
|
case 44: {
|
1015
1029
|
t3[70] = (t3[70] | 0) + 2;
|
1016
|
-
|
1030
|
+
w3(1) | 0;
|
1017
1031
|
f4 = t3[61] | 0;
|
1018
1032
|
t3[f4 + 4 >> 2] = e4;
|
1019
1033
|
n4 = t3[70] | 0;
|
@@ -1041,7 +1055,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1041
1055
|
}
|
1042
1056
|
case 46: {
|
1043
1057
|
t3[70] = (t3[70] | 0) + 2;
|
1044
|
-
if ((
|
1058
|
+
if ((w3(1) | 0) << 16 >> 16 == 109 ? (a4 = t3[70] | 0, (m2(a4 + 2 | 0, 44, 6) | 0) == 0) : 0) {
|
1045
1059
|
e4 = t3[67] | 0;
|
1046
1060
|
if (!(G(e4) | 0) ? (s3[e4 >> 1] | 0) == 46 : 0)
|
1047
1061
|
break e;
|
@@ -1064,7 +1078,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1064
1078
|
while (1) {
|
1065
1079
|
if (e4 >>> 0 >= (t3[71] | 0) >>> 0)
|
1066
1080
|
break;
|
1067
|
-
e4 =
|
1081
|
+
e4 = w3(1) | 0;
|
1068
1082
|
if (!(W(e4) | 0)) {
|
1069
1083
|
if (e4 << 16 >> 16 == 125) {
|
1070
1084
|
c4 = 33;
|
@@ -1077,16 +1091,16 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1077
1091
|
}
|
1078
1092
|
if ((c4 | 0) == 33)
|
1079
1093
|
t3[70] = (t3[70] | 0) + 2;
|
1080
|
-
n4 = (
|
1094
|
+
n4 = (w3(1) | 0) << 16 >> 16 == 102;
|
1081
1095
|
e4 = t3[70] | 0;
|
1082
1096
|
if (n4 ? m2(e4 + 2 | 0, 50, 6) | 0 : 0) {
|
1083
1097
|
T2();
|
1084
1098
|
break e;
|
1085
1099
|
}
|
1086
1100
|
t3[70] = e4 + 8;
|
1087
|
-
e4 =
|
1101
|
+
e4 = w3(1) | 0;
|
1088
1102
|
if (W(e4) | 0) {
|
1089
|
-
|
1103
|
+
u4(f4, e4);
|
1090
1104
|
break e;
|
1091
1105
|
} else {
|
1092
1106
|
T2();
|
@@ -1123,7 +1137,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1123
1137
|
a4 = n4;
|
1124
1138
|
}
|
1125
1139
|
if ((c4 | 0) == 23) {
|
1126
|
-
|
1140
|
+
u4(f4, r4);
|
1127
1141
|
break;
|
1128
1142
|
} else if ((c4 | 0) == 25) {
|
1129
1143
|
T2();
|
@@ -1133,7 +1147,130 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1133
1147
|
} while (0);
|
1134
1148
|
return;
|
1135
1149
|
}
|
1136
|
-
function u4(e4) {
|
1150
|
+
function u4(e4, a4) {
|
1151
|
+
e4 = e4 | 0;
|
1152
|
+
a4 = a4 | 0;
|
1153
|
+
var r4 = 0, i4 = 0;
|
1154
|
+
r4 = (t3[70] | 0) + 2 | 0;
|
1155
|
+
switch (a4 << 16 >> 16) {
|
1156
|
+
case 39: {
|
1157
|
+
d3(39);
|
1158
|
+
i4 = 5;
|
1159
|
+
break;
|
1160
|
+
}
|
1161
|
+
case 34: {
|
1162
|
+
d3(34);
|
1163
|
+
i4 = 5;
|
1164
|
+
break;
|
1165
|
+
}
|
1166
|
+
default:
|
1167
|
+
T2();
|
1168
|
+
}
|
1169
|
+
do {
|
1170
|
+
if ((i4 | 0) == 5) {
|
1171
|
+
A2(e4, r4, t3[70] | 0, 1);
|
1172
|
+
t3[70] = (t3[70] | 0) + 2;
|
1173
|
+
a4 = w3(0) | 0;
|
1174
|
+
e4 = a4 << 16 >> 16 == 97;
|
1175
|
+
if (e4) {
|
1176
|
+
r4 = t3[70] | 0;
|
1177
|
+
if (m2(r4 + 2 | 0, 78, 10) | 0)
|
1178
|
+
i4 = 11;
|
1179
|
+
} else {
|
1180
|
+
r4 = t3[70] | 0;
|
1181
|
+
if (!(((a4 << 16 >> 16 == 119 ? (s3[r4 + 2 >> 1] | 0) == 105 : 0) ? (s3[r4 + 4 >> 1] | 0) == 116 : 0) ? (s3[r4 + 6 >> 1] | 0) == 104 : 0))
|
1182
|
+
i4 = 11;
|
1183
|
+
}
|
1184
|
+
if ((i4 | 0) == 11) {
|
1185
|
+
t3[70] = r4 + -2;
|
1186
|
+
break;
|
1187
|
+
}
|
1188
|
+
t3[70] = r4 + ((e4 ? 6 : 4) << 1);
|
1189
|
+
if ((w3(1) | 0) << 16 >> 16 != 123) {
|
1190
|
+
t3[70] = r4;
|
1191
|
+
break;
|
1192
|
+
}
|
1193
|
+
e4 = t3[70] | 0;
|
1194
|
+
a4 = e4;
|
1195
|
+
e:
|
1196
|
+
while (1) {
|
1197
|
+
t3[70] = a4 + 2;
|
1198
|
+
a4 = w3(1) | 0;
|
1199
|
+
switch (a4 << 16 >> 16) {
|
1200
|
+
case 39: {
|
1201
|
+
d3(39);
|
1202
|
+
t3[70] = (t3[70] | 0) + 2;
|
1203
|
+
a4 = w3(1) | 0;
|
1204
|
+
break;
|
1205
|
+
}
|
1206
|
+
case 34: {
|
1207
|
+
d3(34);
|
1208
|
+
t3[70] = (t3[70] | 0) + 2;
|
1209
|
+
a4 = w3(1) | 0;
|
1210
|
+
break;
|
1211
|
+
}
|
1212
|
+
default:
|
1213
|
+
a4 = q(a4) | 0;
|
1214
|
+
}
|
1215
|
+
if (a4 << 16 >> 16 != 58) {
|
1216
|
+
i4 = 20;
|
1217
|
+
break;
|
1218
|
+
}
|
1219
|
+
t3[70] = (t3[70] | 0) + 2;
|
1220
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1221
|
+
case 39: {
|
1222
|
+
d3(39);
|
1223
|
+
break;
|
1224
|
+
}
|
1225
|
+
case 34: {
|
1226
|
+
d3(34);
|
1227
|
+
break;
|
1228
|
+
}
|
1229
|
+
default: {
|
1230
|
+
i4 = 24;
|
1231
|
+
break e;
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
t3[70] = (t3[70] | 0) + 2;
|
1235
|
+
switch ((w3(1) | 0) << 16 >> 16) {
|
1236
|
+
case 125: {
|
1237
|
+
i4 = 29;
|
1238
|
+
break e;
|
1239
|
+
}
|
1240
|
+
case 44:
|
1241
|
+
break;
|
1242
|
+
default: {
|
1243
|
+
i4 = 28;
|
1244
|
+
break e;
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
t3[70] = (t3[70] | 0) + 2;
|
1248
|
+
if ((w3(1) | 0) << 16 >> 16 == 125) {
|
1249
|
+
i4 = 29;
|
1250
|
+
break;
|
1251
|
+
}
|
1252
|
+
a4 = t3[70] | 0;
|
1253
|
+
}
|
1254
|
+
if ((i4 | 0) == 20) {
|
1255
|
+
t3[70] = r4;
|
1256
|
+
break;
|
1257
|
+
} else if ((i4 | 0) == 24) {
|
1258
|
+
t3[70] = r4;
|
1259
|
+
break;
|
1260
|
+
} else if ((i4 | 0) == 28) {
|
1261
|
+
t3[70] = r4;
|
1262
|
+
break;
|
1263
|
+
} else if ((i4 | 0) == 29) {
|
1264
|
+
i4 = t3[61] | 0;
|
1265
|
+
t3[i4 + 16 >> 2] = e4;
|
1266
|
+
t3[i4 + 12 >> 2] = (t3[70] | 0) + 2;
|
1267
|
+
break;
|
1268
|
+
}
|
1269
|
+
}
|
1270
|
+
} while (0);
|
1271
|
+
return;
|
1272
|
+
}
|
1273
|
+
function o3(e4) {
|
1137
1274
|
e4 = e4 | 0;
|
1138
1275
|
e:
|
1139
1276
|
do {
|
@@ -1158,11 +1295,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1158
1295
|
case 115:
|
1159
1296
|
switch (s3[e4 + -4 >> 1] | 0) {
|
1160
1297
|
case 108: {
|
1161
|
-
e4 =
|
1298
|
+
e4 = B2(e4 + -6 | 0, 101) | 0;
|
1162
1299
|
break e;
|
1163
1300
|
}
|
1164
1301
|
case 97: {
|
1165
|
-
e4 =
|
1302
|
+
e4 = B2(e4 + -6 | 0, 99) | 0;
|
1166
1303
|
break e;
|
1167
1304
|
}
|
1168
1305
|
default: {
|
@@ -1209,14 +1346,14 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1209
1346
|
}
|
1210
1347
|
case 110: {
|
1211
1348
|
e4 = e4 + -2 | 0;
|
1212
|
-
if (
|
1349
|
+
if (B2(e4, 105) | 0)
|
1213
1350
|
e4 = 1;
|
1214
1351
|
else
|
1215
1352
|
e4 = O(e4, 142, 5) | 0;
|
1216
1353
|
break;
|
1217
1354
|
}
|
1218
1355
|
case 111: {
|
1219
|
-
e4 =
|
1356
|
+
e4 = B2(e4 + -2 | 0, 100) | 0;
|
1220
1357
|
break;
|
1221
1358
|
}
|
1222
1359
|
case 114: {
|
@@ -1230,7 +1367,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1230
1367
|
case 119:
|
1231
1368
|
switch (s3[e4 + -2 >> 1] | 0) {
|
1232
1369
|
case 101: {
|
1233
|
-
e4 =
|
1370
|
+
e4 = B2(e4 + -4 | 0, 110) | 0;
|
1234
1371
|
break e;
|
1235
1372
|
}
|
1236
1373
|
case 111: {
|
@@ -1248,119 +1385,6 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1248
1385
|
} while (0);
|
1249
1386
|
return e4 | 0;
|
1250
1387
|
}
|
1251
|
-
function o3(e4, a4) {
|
1252
|
-
e4 = e4 | 0;
|
1253
|
-
a4 = a4 | 0;
|
1254
|
-
var r4 = 0, i4 = 0;
|
1255
|
-
r4 = (t3[70] | 0) + 2 | 0;
|
1256
|
-
switch (a4 << 16 >> 16) {
|
1257
|
-
case 39: {
|
1258
|
-
d3(39);
|
1259
|
-
i4 = 5;
|
1260
|
-
break;
|
1261
|
-
}
|
1262
|
-
case 34: {
|
1263
|
-
d3(34);
|
1264
|
-
i4 = 5;
|
1265
|
-
break;
|
1266
|
-
}
|
1267
|
-
default:
|
1268
|
-
T2();
|
1269
|
-
}
|
1270
|
-
do {
|
1271
|
-
if ((i4 | 0) == 5) {
|
1272
|
-
A2(e4, r4, t3[70] | 0, 1);
|
1273
|
-
t3[70] = (t3[70] | 0) + 2;
|
1274
|
-
i4 = (w2(0) | 0) << 16 >> 16 == 97;
|
1275
|
-
a4 = t3[70] | 0;
|
1276
|
-
if (i4 ? (m2(a4 + 2 | 0, 78, 10) | 0) == 0 : 0) {
|
1277
|
-
t3[70] = a4 + 12;
|
1278
|
-
if ((w2(1) | 0) << 16 >> 16 != 123) {
|
1279
|
-
t3[70] = a4;
|
1280
|
-
break;
|
1281
|
-
}
|
1282
|
-
e4 = t3[70] | 0;
|
1283
|
-
r4 = e4;
|
1284
|
-
e:
|
1285
|
-
while (1) {
|
1286
|
-
t3[70] = r4 + 2;
|
1287
|
-
r4 = w2(1) | 0;
|
1288
|
-
switch (r4 << 16 >> 16) {
|
1289
|
-
case 39: {
|
1290
|
-
d3(39);
|
1291
|
-
t3[70] = (t3[70] | 0) + 2;
|
1292
|
-
r4 = w2(1) | 0;
|
1293
|
-
break;
|
1294
|
-
}
|
1295
|
-
case 34: {
|
1296
|
-
d3(34);
|
1297
|
-
t3[70] = (t3[70] | 0) + 2;
|
1298
|
-
r4 = w2(1) | 0;
|
1299
|
-
break;
|
1300
|
-
}
|
1301
|
-
default:
|
1302
|
-
r4 = q(r4) | 0;
|
1303
|
-
}
|
1304
|
-
if (r4 << 16 >> 16 != 58) {
|
1305
|
-
i4 = 16;
|
1306
|
-
break;
|
1307
|
-
}
|
1308
|
-
t3[70] = (t3[70] | 0) + 2;
|
1309
|
-
switch ((w2(1) | 0) << 16 >> 16) {
|
1310
|
-
case 39: {
|
1311
|
-
d3(39);
|
1312
|
-
break;
|
1313
|
-
}
|
1314
|
-
case 34: {
|
1315
|
-
d3(34);
|
1316
|
-
break;
|
1317
|
-
}
|
1318
|
-
default: {
|
1319
|
-
i4 = 20;
|
1320
|
-
break e;
|
1321
|
-
}
|
1322
|
-
}
|
1323
|
-
t3[70] = (t3[70] | 0) + 2;
|
1324
|
-
switch ((w2(1) | 0) << 16 >> 16) {
|
1325
|
-
case 125: {
|
1326
|
-
i4 = 25;
|
1327
|
-
break e;
|
1328
|
-
}
|
1329
|
-
case 44:
|
1330
|
-
break;
|
1331
|
-
default: {
|
1332
|
-
i4 = 24;
|
1333
|
-
break e;
|
1334
|
-
}
|
1335
|
-
}
|
1336
|
-
t3[70] = (t3[70] | 0) + 2;
|
1337
|
-
if ((w2(1) | 0) << 16 >> 16 == 125) {
|
1338
|
-
i4 = 25;
|
1339
|
-
break;
|
1340
|
-
}
|
1341
|
-
r4 = t3[70] | 0;
|
1342
|
-
}
|
1343
|
-
if ((i4 | 0) == 16) {
|
1344
|
-
t3[70] = a4;
|
1345
|
-
break;
|
1346
|
-
} else if ((i4 | 0) == 20) {
|
1347
|
-
t3[70] = a4;
|
1348
|
-
break;
|
1349
|
-
} else if ((i4 | 0) == 24) {
|
1350
|
-
t3[70] = a4;
|
1351
|
-
break;
|
1352
|
-
} else if ((i4 | 0) == 25) {
|
1353
|
-
i4 = t3[61] | 0;
|
1354
|
-
t3[i4 + 16 >> 2] = e4;
|
1355
|
-
t3[i4 + 12 >> 2] = (t3[70] | 0) + 2;
|
1356
|
-
break;
|
1357
|
-
}
|
1358
|
-
}
|
1359
|
-
t3[70] = a4 + -2;
|
1360
|
-
}
|
1361
|
-
} while (0);
|
1362
|
-
return;
|
1363
|
-
}
|
1364
1388
|
function h3() {
|
1365
1389
|
var e4 = 0, a4 = 0, r4 = 0, i4 = 0;
|
1366
1390
|
a4 = t3[71] | 0;
|
@@ -1415,7 +1439,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1415
1439
|
}
|
1416
1440
|
return;
|
1417
1441
|
}
|
1418
|
-
function
|
1442
|
+
function w3(e4) {
|
1419
1443
|
e4 = e4 | 0;
|
1420
1444
|
var a4 = 0, r4 = 0, i4 = 0;
|
1421
1445
|
r4 = t3[70] | 0;
|
@@ -1479,7 +1503,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1479
1503
|
a4 = (s3[a4 >> 1] | 0) == 10 ? a4 : r4;
|
1480
1504
|
} else
|
1481
1505
|
a4 = r4;
|
1482
|
-
} else if (
|
1506
|
+
} else if (Z(r4) | 0) {
|
1483
1507
|
a4 = 9;
|
1484
1508
|
break;
|
1485
1509
|
} else
|
@@ -1503,7 +1527,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1503
1527
|
f4 = f4 ? 0 : a4;
|
1504
1528
|
if (i4 << 16 >> 16 == 97) {
|
1505
1529
|
t3[70] = r4 + 4;
|
1506
|
-
r4 =
|
1530
|
+
r4 = w3(1) | 0;
|
1507
1531
|
e4 = t3[70] | 0;
|
1508
1532
|
if (W(r4) | 0) {
|
1509
1533
|
d3(r4);
|
@@ -1513,7 +1537,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1513
1537
|
q(r4) | 0;
|
1514
1538
|
a4 = t3[70] | 0;
|
1515
1539
|
}
|
1516
|
-
i4 =
|
1540
|
+
i4 = w3(1) | 0;
|
1517
1541
|
r4 = t3[70] | 0;
|
1518
1542
|
}
|
1519
1543
|
if ((r4 | 0) != (e4 | 0))
|
@@ -1661,7 +1685,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1661
1685
|
if (c4 >>> 0 >= r4 >>> 0)
|
1662
1686
|
break;
|
1663
1687
|
i4 = s3[a4 >> 1] | 0;
|
1664
|
-
if (!e4 ?
|
1688
|
+
if (!e4 ? Z(i4) | 0 : 0)
|
1665
1689
|
break;
|
1666
1690
|
if (i4 << 16 >> 16 == 42 ? (s3[c4 + 4 >> 1] | 0) == 47 : 0) {
|
1667
1691
|
f4 = 8;
|
@@ -1843,7 +1867,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1843
1867
|
t3[s4 + 16 >> 2] = 0;
|
1844
1868
|
return;
|
1845
1869
|
}
|
1846
|
-
function
|
1870
|
+
function j2(e4) {
|
1847
1871
|
e4 = e4 | 0;
|
1848
1872
|
switch (s3[e4 >> 1] | 0) {
|
1849
1873
|
case 107: {
|
@@ -1862,7 +1886,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
1862
1886
|
}
|
1863
1887
|
return e4 | 0;
|
1864
1888
|
}
|
1865
|
-
function
|
1889
|
+
function B2(e4, a4) {
|
1866
1890
|
e4 = e4 | 0;
|
1867
1891
|
a4 = a4 | 0;
|
1868
1892
|
var r4 = 0;
|
@@ -2009,7 +2033,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2009
2033
|
e4 = e4 - (t3[3] | 0) >> 1;
|
2010
2034
|
return e4 | 0;
|
2011
2035
|
}
|
2012
|
-
function
|
2036
|
+
function L2() {
|
2013
2037
|
var e4 = 0;
|
2014
2038
|
e4 = t3[(t3[60] | 0) + 8 >> 2] | 0;
|
2015
2039
|
if (!e4)
|
@@ -2070,7 +2094,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2070
2094
|
function Y() {
|
2071
2095
|
return (t3[(t3[60] | 0) + 4 >> 2] | 0) - (t3[3] | 0) >> 1 | 0;
|
2072
2096
|
}
|
2073
|
-
function
|
2097
|
+
function Z(e4) {
|
2074
2098
|
e4 = e4 | 0;
|
2075
2099
|
return e4 << 16 >> 16 == 13 | e4 << 16 >> 16 == 10 | 0;
|
2076
2100
|
}
|
@@ -2099,24 +2123,24 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2099
2123
|
n3 = e4 + 992 + 15 & -16;
|
2100
2124
|
return 992;
|
2101
2125
|
}
|
2102
|
-
return { su: te, ai: M2, e: se, ee: Y, ele: J, els:
|
2126
|
+
return { su: te, ai: M2, e: se, ee: Y, ele: J, els: L2, es: ee, f: ie, id: z2, ie: N2, ip: ae, is: _2, p: b2, re: R2, ri: Q, sa: S2, se: K, ses: re, ss: X };
|
2103
2127
|
}("undefined" != typeof self ? self : commonjsGlobal, {}, a2), r2 = e2.su(i2 - (2 << 17));
|
2104
2128
|
}
|
2105
2129
|
const h2 = c$1.length + 1;
|
2106
2130
|
e2.ses(r2), e2.sa(h2 - 1), s2(c$1, new Uint16Array(a2, r2, h2)), e2.p() || (n2 = e2.e(), o2());
|
2107
|
-
const
|
2131
|
+
const w2 = [], d2 = [];
|
2108
2132
|
for (; e2.ri(); ) {
|
2109
2133
|
const a3 = e2.is(), r3 = e2.ie(), i3 = e2.ai(), s3 = e2.id(), t3 = e2.ss(), f3 = e2.se();
|
2110
2134
|
let n3;
|
2111
|
-
e2.ip() && (n3 =
|
2135
|
+
e2.ip() && (n3 = b(-1 === s3 ? a3 : a3 + 1, c$1.charCodeAt(-1 === s3 ? a3 - 1 : a3))), w2.push({ n: n3, s: a3, e: r3, ss: t3, se: f3, d: s3, a: i3 });
|
2112
2136
|
}
|
2113
2137
|
for (; e2.re(); ) {
|
2114
2138
|
const a3 = e2.es(), r3 = e2.ee(), i3 = e2.els(), s3 = e2.ele(), t3 = c$1.charCodeAt(a3), f3 = i3 >= 0 ? c$1.charCodeAt(i3) : -1;
|
2115
|
-
d2.push({ s: a3, e: r3, ls: i3, le: s3, n: 34 === t3 || 39 === t3 ?
|
2139
|
+
d2.push({ s: a3, e: r3, ls: i3, le: s3, n: 34 === t3 || 39 === t3 ? b(a3 + 1, t3) : c$1.slice(a3, r3), ln: i3 < 0 ? void 0 : 34 === f3 || 39 === f3 ? b(i3 + 1, f3) : c$1.slice(i3, s3) });
|
2116
2140
|
}
|
2117
|
-
return [
|
2141
|
+
return [w2, d2, !!e2.f()];
|
2118
2142
|
}
|
2119
|
-
function
|
2143
|
+
function b(e3, a3) {
|
2120
2144
|
n2 = e3;
|
2121
2145
|
let r3 = "", i3 = n2;
|
2122
2146
|
for (; ; ) {
|
@@ -2139,9 +2163,10 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2139
2163
|
return String.fromCharCode(k2(2));
|
2140
2164
|
case 117:
|
2141
2165
|
return function() {
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2166
|
+
const e4 = c$1.charCodeAt(n2);
|
2167
|
+
let a3;
|
2168
|
+
123 === e4 ? (++n2, a3 = k2(c$1.indexOf("}", n2) - n2), ++n2, a3 > 1114111 && o2()) : a3 = k2(4);
|
2169
|
+
return a3 <= 65535 ? String.fromCharCode(a3) : (a3 -= 65536, String.fromCharCode(55296 + (a3 >> 10), 56320 + (1023 & a3)));
|
2145
2170
|
}();
|
2146
2171
|
case 116:
|
2147
2172
|
return " ";
|
@@ -2260,11 +2285,11 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2260
2285
|
let importMap = { imports: {}, scopes: {} };
|
2261
2286
|
let baselinePassthrough;
|
2262
2287
|
const initPromise = featureDetectionPromise.then(() => {
|
2263
|
-
baselinePassthrough = esmsInitOptions.polyfillEnable !== true && supportsDynamicImport && supportsImportMeta && supportsImportMaps && (!jsonModulesEnabled || supportsJsonAssertions) && (!cssModulesEnabled || supportsCssAssertions) && !importMapSrcOrLazy
|
2288
|
+
baselinePassthrough = esmsInitOptions.polyfillEnable !== true && supportsDynamicImport && supportsImportMeta && supportsImportMaps && (!jsonModulesEnabled || supportsJsonAssertions) && (!cssModulesEnabled || supportsCssAssertions) && !importMapSrcOrLazy;
|
2264
2289
|
if (hasDocument) {
|
2265
2290
|
if (!supportsImportMaps) {
|
2266
|
-
const
|
2267
|
-
HTMLScriptElement.supports = (type) => type === "importmap" ||
|
2291
|
+
const supports2 = HTMLScriptElement.supports || ((type) => type === "classic" || type === "module");
|
2292
|
+
HTMLScriptElement.supports = (type) => type === "importmap" || supports2(type);
|
2268
2293
|
}
|
2269
2294
|
if (shimMode || !baselinePassthrough) {
|
2270
2295
|
new MutationObserver((mutations) => {
|
@@ -2323,7 +2348,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2323
2348
|
lastLoad = void 0;
|
2324
2349
|
resolveDeps(load, seen2);
|
2325
2350
|
await lastStaticLoadPromise2;
|
2326
|
-
if (source && !shimMode && !load.n
|
2351
|
+
if (source && !shimMode && !load.n) {
|
2327
2352
|
if (nativelyLoaded)
|
2328
2353
|
return;
|
2329
2354
|
if (revokeBlobURLs)
|
@@ -2541,8 +2566,8 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2541
2566
|
load.n = true;
|
2542
2567
|
if (d2 !== -1 || !n3)
|
2543
2568
|
return;
|
2544
|
-
const { r: r3, b:
|
2545
|
-
if (
|
2569
|
+
const { r: r3, b: b2 } = await resolve(n3, load.r || load.u);
|
2570
|
+
if (b2 && (!supportsImportMaps || importMapSrcOrLazy))
|
2546
2571
|
load.n = true;
|
2547
2572
|
if (d2 !== -1)
|
2548
2573
|
return;
|
@@ -2582,8 +2607,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2582
2607
|
let lastStaticLoadPromise = Promise.resolve();
|
2583
2608
|
let domContentLoadedCnt = 1;
|
2584
2609
|
function domContentLoadedCheck() {
|
2585
|
-
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough))
|
2610
|
+
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough)) {
|
2586
2611
|
document.dispatchEvent(new Event("DOMContentLoaded"));
|
2612
|
+
}
|
2587
2613
|
}
|
2588
2614
|
if (hasDocument) {
|
2589
2615
|
document.addEventListener("DOMContentLoaded", async () => {
|
@@ -2593,8 +2619,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2593
2619
|
}
|
2594
2620
|
let readyStateCompleteCnt = 1;
|
2595
2621
|
function readyStateCompleteCheck() {
|
2596
|
-
if (--readyStateCompleteCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough))
|
2622
|
+
if (--readyStateCompleteCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselinePassthrough)) {
|
2597
2623
|
document.dispatchEvent(new Event("readystatechange"));
|
2624
|
+
}
|
2598
2625
|
}
|
2599
2626
|
const hasNext = (script) => script.nextSibling || script.parentNode && hasNext(script.parentNode);
|
2600
2627
|
const epCheck = (script, ready) => script.ep || !ready && (!script.src && !script.innerHTML || !hasNext(script)) || script.getAttribute("noshim") !== null || !(script.ep = true);
|
@@ -2629,8 +2656,9 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2629
2656
|
if (isDomContentLoadedScript)
|
2630
2657
|
domContentLoadedCnt++;
|
2631
2658
|
const loadPromise = topLevelLoad(script.src || baseUrl, getFetchOpts(script), !script.src && script.innerHTML, !shimMode, isBlockingReadyScript && lastStaticLoadPromise).then(() => {
|
2632
|
-
if (shimMode)
|
2659
|
+
if (shimMode) {
|
2633
2660
|
script.dispatchEvent(new Event("load"));
|
2661
|
+
}
|
2634
2662
|
}).catch(throwError);
|
2635
2663
|
if (isBlockingReadyScript)
|
2636
2664
|
lastStaticLoadPromise = loadPromise.then(readyStateCompleteCheck);
|
@@ -2647,24 +2675,24 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
|
|
2647
2675
|
fetchCache[link.href] = fetchModule(link.href, getFetchOpts(link));
|
2648
2676
|
}
|
2649
2677
|
})();
|
2650
|
-
var extendStatics = function(d2,
|
2651
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3,
|
2652
|
-
d3.__proto__ =
|
2653
|
-
} || function(d3,
|
2654
|
-
for (var p2 in
|
2655
|
-
if (Object.prototype.hasOwnProperty.call(
|
2656
|
-
d3[p2] =
|
2678
|
+
var extendStatics = function(d2, b) {
|
2679
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b2) {
|
2680
|
+
d3.__proto__ = b2;
|
2681
|
+
} || function(d3, b2) {
|
2682
|
+
for (var p2 in b2)
|
2683
|
+
if (Object.prototype.hasOwnProperty.call(b2, p2))
|
2684
|
+
d3[p2] = b2[p2];
|
2657
2685
|
};
|
2658
|
-
return extendStatics(d2,
|
2686
|
+
return extendStatics(d2, b);
|
2659
2687
|
};
|
2660
|
-
function __extends(d2,
|
2661
|
-
if (typeof
|
2662
|
-
throw new TypeError("Class extends value " + String(
|
2663
|
-
extendStatics(d2,
|
2688
|
+
function __extends(d2, b) {
|
2689
|
+
if (typeof b !== "function" && b !== null)
|
2690
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
2691
|
+
extendStatics(d2, b);
|
2664
2692
|
function __() {
|
2665
2693
|
this.constructor = d2;
|
2666
2694
|
}
|
2667
|
-
d2.prototype =
|
2695
|
+
d2.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
2668
2696
|
}
|
2669
2697
|
function __awaiter(thisArg, _arguments, P2, generator) {
|
2670
2698
|
function adopt(value) {
|
@@ -2828,8 +2856,8 @@ function __asyncGenerator(thisArg, _arguments, generator) {
|
|
2828
2856
|
function verb(n2) {
|
2829
2857
|
if (g2[n2])
|
2830
2858
|
i2[n2] = function(v2) {
|
2831
|
-
return new Promise(function(a2,
|
2832
|
-
q.push([n2, v2, a2,
|
2859
|
+
return new Promise(function(a2, b) {
|
2860
|
+
q.push([n2, v2, a2, b]) > 1 || resume(n2, v2);
|
2833
2861
|
});
|
2834
2862
|
};
|
2835
2863
|
}
|
@@ -4312,8 +4340,8 @@ function mergeMap(project, resultSelector, concurrent) {
|
|
4312
4340
|
}
|
4313
4341
|
if (isFunction(resultSelector)) {
|
4314
4342
|
return mergeMap(function(a2, i2) {
|
4315
|
-
return map(function(
|
4316
|
-
return resultSelector(a2,
|
4343
|
+
return map(function(b, ii) {
|
4344
|
+
return resultSelector(a2, b, i2, ii);
|
4317
4345
|
})(innerFrom(project(a2, i2)));
|
4318
4346
|
}, concurrent);
|
4319
4347
|
} else if (typeof resultSelector === "number") {
|
@@ -4438,6 +4466,9 @@ function bufferTime(bufferTimeSpan) {
|
|
4438
4466
|
source.subscribe(bufferTimeSubscriber);
|
4439
4467
|
});
|
4440
4468
|
}
|
4469
|
+
function concatMap(project, resultSelector) {
|
4470
|
+
return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);
|
4471
|
+
}
|
4441
4472
|
function take(count) {
|
4442
4473
|
return count <= 0 ? function() {
|
4443
4474
|
return EMPTY;
|
@@ -4465,6 +4496,35 @@ function pairwise() {
|
|
4465
4496
|
}));
|
4466
4497
|
});
|
4467
4498
|
}
|
4499
|
+
function tap(observerOrNext, error2, complete) {
|
4500
|
+
var tapObserver = isFunction(observerOrNext) || error2 || complete ? { next: observerOrNext, error: error2, complete } : observerOrNext;
|
4501
|
+
return tapObserver ? operate(function(source, subscriber) {
|
4502
|
+
var _a2;
|
4503
|
+
(_a2 = tapObserver.subscribe) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver);
|
4504
|
+
var isUnsub = true;
|
4505
|
+
source.subscribe(createOperatorSubscriber(subscriber, function(value) {
|
4506
|
+
var _a3;
|
4507
|
+
(_a3 = tapObserver.next) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, value);
|
4508
|
+
subscriber.next(value);
|
4509
|
+
}, function() {
|
4510
|
+
var _a3;
|
4511
|
+
isUnsub = false;
|
4512
|
+
(_a3 = tapObserver.complete) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
|
4513
|
+
subscriber.complete();
|
4514
|
+
}, function(err) {
|
4515
|
+
var _a3;
|
4516
|
+
isUnsub = false;
|
4517
|
+
(_a3 = tapObserver.error) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, err);
|
4518
|
+
subscriber.error(err);
|
4519
|
+
}, function() {
|
4520
|
+
var _a3, _b;
|
4521
|
+
if (isUnsub) {
|
4522
|
+
(_a3 = tapObserver.unsubscribe) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
|
4523
|
+
}
|
4524
|
+
(_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);
|
4525
|
+
}));
|
4526
|
+
}) : identity;
|
4527
|
+
}
|
4468
4528
|
const DEFAULT_LANGUAGE = "en";
|
4469
4529
|
const localizeText = (input, lang = DEFAULT_LANGUAGE) => {
|
4470
4530
|
if (typeof input === "string") {
|
@@ -4503,8 +4563,8 @@ const getElement = (document2, context, nth = 0) => {
|
|
4503
4563
|
function getElementBySelector(selector) {
|
4504
4564
|
return document.querySelector(selector);
|
4505
4565
|
}
|
4506
|
-
const unfocus = (element,
|
4507
|
-
const originalStyle =
|
4566
|
+
const unfocus = (element, mapping) => {
|
4567
|
+
const originalStyle = mapping.get(element);
|
4508
4568
|
if (originalStyle) {
|
4509
4569
|
const { css, rest, subscription } = originalStyle;
|
4510
4570
|
rest.forEach((el) => {
|
@@ -4516,53 +4576,70 @@ const unfocus = (element, map2) => {
|
|
4516
4576
|
Object.assign(el.style, css[idx]);
|
4517
4577
|
});
|
4518
4578
|
}
|
4519
|
-
|
4579
|
+
mapping.delete(element);
|
4520
4580
|
};
|
4581
|
+
const noUndefined = (input) => input !== void 0;
|
4521
4582
|
function focus(document2, obs$, mode$) {
|
4522
4583
|
const stylesMap = /* @__PURE__ */ new Map();
|
4523
4584
|
const getBySelector = getElementBySelector.bind(document2);
|
4524
|
-
const subscription = obs$.pipe(
|
4525
|
-
|
4526
|
-
|
4527
|
-
|
4528
|
-
if (
|
4529
|
-
|
4530
|
-
|
4585
|
+
const subscription = obs$.pipe(
|
4586
|
+
pairwise(),
|
4587
|
+
tap(([current]) => {
|
4588
|
+
var _a2;
|
4589
|
+
if (current !== void 0) {
|
4590
|
+
const prev = getElement(document2, current);
|
4591
|
+
if (prev !== null) {
|
4592
|
+
(_a2 = prev.__unfocus_handler) == null ? void 0 : _a2.call(prev);
|
4593
|
+
unfocus(prev, stylesMap);
|
4594
|
+
}
|
4531
4595
|
}
|
4532
|
-
}
|
4533
|
-
|
4596
|
+
}),
|
4597
|
+
map(([, next]) => next),
|
4598
|
+
filter(noUndefined),
|
4599
|
+
map((next) => {
|
4534
4600
|
const [first, ...rest] = next.selectors;
|
4535
4601
|
const otherElements = rest.reduce((arr, selector) => {
|
4536
|
-
var
|
4602
|
+
var _a2;
|
4537
4603
|
const el = getBySelector(selector);
|
4538
4604
|
if (el) {
|
4539
4605
|
arr.push(el);
|
4540
|
-
(
|
4606
|
+
const result = (_a2 = el.__focus_handler) == null ? void 0 : _a2.call(el);
|
4607
|
+
if (result && "then" in result) {
|
4608
|
+
result.catch(noop);
|
4609
|
+
}
|
4541
4610
|
}
|
4542
4611
|
return arr;
|
4543
4612
|
}, []);
|
4544
|
-
|
4545
|
-
|
4546
|
-
|
4547
|
-
|
4548
|
-
|
4549
|
-
|
4550
|
-
|
4551
|
-
|
4552
|
-
|
4553
|
-
|
4554
|
-
|
4555
|
-
|
4556
|
-
|
4557
|
-
|
4558
|
-
|
4559
|
-
|
4560
|
-
|
4561
|
-
|
4562
|
-
|
4563
|
-
|
4564
|
-
|
4565
|
-
|
4613
|
+
return { first, next, otherElements };
|
4614
|
+
}),
|
4615
|
+
map((next) => ({ ...next, firstElement: getBySelector(next.first) })),
|
4616
|
+
filter((next) => next.firstElement !== null),
|
4617
|
+
map((next) => {
|
4618
|
+
var _a2, _b;
|
4619
|
+
return { ...next, focus: (_b = (_a2 = next.firstElement).__focus_handler) == null ? void 0 : _b.call(_a2) };
|
4620
|
+
}),
|
4621
|
+
concatMap(({ focus: focusPromise, ...rest }) => {
|
4622
|
+
const promise = focusPromise && "then" in focusPromise ? focusPromise : Promise.resolve(focusPromise != null ? focusPromise : rest.firstElement);
|
4623
|
+
return promise.then((focusElement) => ({ focus: focusElement, ...rest })).catch(() => ({ focus: void 0, ...rest }));
|
4624
|
+
})
|
4625
|
+
).subscribe(({ otherElements, next, firstElement, focus: focusContext }) => {
|
4626
|
+
const cssKeys = Object.keys(next.style);
|
4627
|
+
const stylePendingChanges = new Subscription();
|
4628
|
+
const elementToFocus = toArray$1(focusContext != null ? focusContext : firstElement).filter(Boolean);
|
4629
|
+
const initialStyles = { css: [], elementToFocus, rest: otherElements, subscription: stylePendingChanges };
|
4630
|
+
const styles = cssKeys.reduce((acc, key) => {
|
4631
|
+
elementToFocus.forEach((el, idx) => {
|
4632
|
+
var _a2;
|
4633
|
+
acc.css[idx] = Object.assign((_a2 = acc.css[idx]) != null ? _a2 : {}, { [key]: el.style[key] });
|
4634
|
+
});
|
4635
|
+
return acc;
|
4636
|
+
}, initialStyles);
|
4637
|
+
stylePendingChanges.add(mode$.pipe(filter((val) => val === "select"), take(1)).subscribe(() => {
|
4638
|
+
elementToFocus.forEach((el) => {
|
4639
|
+
Object.assign(el.style, next.style);
|
4640
|
+
});
|
4641
|
+
}));
|
4642
|
+
stylesMap.set(firstElement, styles);
|
4566
4643
|
});
|
4567
4644
|
return () => subscription.unsubscribe();
|
4568
4645
|
}
|
@@ -4704,6 +4781,7 @@ const keys = {
|
|
4704
4781
|
"new-configuration": 0,
|
4705
4782
|
notification: 0,
|
4706
4783
|
options: 0,
|
4784
|
+
"request-resource": 0,
|
4707
4785
|
"tag-info": 0,
|
4708
4786
|
update: 0,
|
4709
4787
|
updated: 0
|
@@ -4796,86 +4874,83 @@ class PostChannel {
|
|
4796
4874
|
}
|
4797
4875
|
}
|
4798
4876
|
var t;
|
4799
|
-
const i = window, s = i.trustedTypes, e = s ? s.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o = `lit$${(Math.random() + "").slice(9)}$`,
|
4800
|
-
\f\r](?:(
|
4801
|
-
|
4802
|
-
|
4803
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), m = /'/g, p = /"/g, $ = /^(?:script|style|textarea|title)$/i, g = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), y = g(1), x = Symbol.for("lit-noChange"), b = Symbol.for("lit-nothing"), T = /* @__PURE__ */ new WeakMap(), A = h.createTreeWalker(h, 129, null, false), E = (t2, i2) => {
|
4804
|
-
const s2 = t2.length - 1, n2 = [];
|
4805
|
-
let h2, r2 = 2 === i2 ? "<svg>" : "", d2 = v;
|
4877
|
+
const i = window, s = i.trustedTypes, e = s ? s.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, o = "$lit$", n = `lit$${(Math.random() + "").slice(9)}$`, l = "?" + n, h = `<${l}>`, r = document, d = () => r.createComment(""), u = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, c = Array.isArray, v = (t2) => c(t2) || "function" == typeof (null == t2 ? void 0 : t2[Symbol.iterator]), a = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^
|
4878
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, w = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = w(1), T = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), E = /* @__PURE__ */ new WeakMap(), C = r.createTreeWalker(r, 129, null, false), P = (t2, i2) => {
|
4879
|
+
const s2 = t2.length - 1, l2 = [];
|
4880
|
+
let r2, d2 = 2 === i2 ? "<svg>" : "", u2 = f;
|
4806
4881
|
for (let i3 = 0; i3 < s2; i3++) {
|
4807
4882
|
const s3 = t2[i3];
|
4808
|
-
let e2,
|
4809
|
-
for (;
|
4810
|
-
|
4811
|
-
const
|
4812
|
-
|
4883
|
+
let e2, c3, v2 = -1, a2 = 0;
|
4884
|
+
for (; a2 < s3.length && (u2.lastIndex = a2, c3 = u2.exec(s3), null !== c3); )
|
4885
|
+
a2 = u2.lastIndex, u2 === f ? "!--" === c3[1] ? u2 = _ : void 0 !== c3[1] ? u2 = m : void 0 !== c3[2] ? (y.test(c3[2]) && (r2 = RegExp("</" + c3[2], "g")), u2 = p) : void 0 !== c3[3] && (u2 = p) : u2 === p ? ">" === c3[0] ? (u2 = null != r2 ? r2 : f, v2 = -1) : void 0 === c3[1] ? v2 = -2 : (v2 = u2.lastIndex - c3[2].length, e2 = c3[1], u2 = void 0 === c3[3] ? p : '"' === c3[3] ? $ : g) : u2 === $ || u2 === g ? u2 = p : u2 === _ || u2 === m ? u2 = f : (u2 = p, r2 = void 0);
|
4886
|
+
const w2 = u2 === p && t2[i3 + 1].startsWith("/>") ? " " : "";
|
4887
|
+
d2 += u2 === f ? s3 + h : v2 >= 0 ? (l2.push(e2), s3.slice(0, v2) + o + s3.slice(v2) + n + w2) : s3 + n + (-2 === v2 ? (l2.push(void 0), i3) : w2);
|
4813
4888
|
}
|
4814
|
-
const
|
4889
|
+
const c2 = d2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : "");
|
4815
4890
|
if (!Array.isArray(t2) || !t2.hasOwnProperty("raw"))
|
4816
4891
|
throw Error("invalid template strings array");
|
4817
|
-
return [void 0 !== e ? e.createHTML(
|
4892
|
+
return [void 0 !== e ? e.createHTML(c2) : c2, l2];
|
4818
4893
|
};
|
4819
|
-
class
|
4894
|
+
class V {
|
4820
4895
|
constructor({ strings: t2, _$litType$: i2 }, e2) {
|
4821
|
-
let
|
4896
|
+
let h2;
|
4822
4897
|
this.parts = [];
|
4823
|
-
let
|
4824
|
-
const
|
4825
|
-
if (this.el =
|
4898
|
+
let r2 = 0, u2 = 0;
|
4899
|
+
const c2 = t2.length - 1, v2 = this.parts, [a2, f2] = P(t2, i2);
|
4900
|
+
if (this.el = V.createElement(a2, e2), C.currentNode = this.el.content, 2 === i2) {
|
4826
4901
|
const t3 = this.el.content, i3 = t3.firstChild;
|
4827
4902
|
i3.remove(), t3.append(...i3.childNodes);
|
4828
4903
|
}
|
4829
|
-
for (; null !== (
|
4830
|
-
if (1 ===
|
4831
|
-
if (
|
4904
|
+
for (; null !== (h2 = C.nextNode()) && v2.length < c2; ) {
|
4905
|
+
if (1 === h2.nodeType) {
|
4906
|
+
if (h2.hasAttributes()) {
|
4832
4907
|
const t3 = [];
|
4833
|
-
for (const i3 of
|
4834
|
-
if (i3.endsWith(
|
4835
|
-
const s2 =
|
4908
|
+
for (const i3 of h2.getAttributeNames())
|
4909
|
+
if (i3.endsWith(o) || i3.startsWith(n)) {
|
4910
|
+
const s2 = f2[u2++];
|
4836
4911
|
if (t3.push(i3), void 0 !== s2) {
|
4837
|
-
const t4 =
|
4838
|
-
|
4912
|
+
const t4 = h2.getAttribute(s2.toLowerCase() + o).split(n), i4 = /([.?@])?(.*)/.exec(s2);
|
4913
|
+
v2.push({ type: 1, index: r2, name: i4[2], strings: t4, ctor: "." === i4[1] ? k : "?" === i4[1] ? I : "@" === i4[1] ? L : R });
|
4839
4914
|
} else
|
4840
|
-
|
4915
|
+
v2.push({ type: 6, index: r2 });
|
4841
4916
|
}
|
4842
4917
|
for (const i3 of t3)
|
4843
|
-
|
4918
|
+
h2.removeAttribute(i3);
|
4844
4919
|
}
|
4845
|
-
if (
|
4846
|
-
const t3 =
|
4920
|
+
if (y.test(h2.tagName)) {
|
4921
|
+
const t3 = h2.textContent.split(n), i3 = t3.length - 1;
|
4847
4922
|
if (i3 > 0) {
|
4848
|
-
|
4923
|
+
h2.textContent = s ? s.emptyScript : "";
|
4849
4924
|
for (let s2 = 0; s2 < i3; s2++)
|
4850
|
-
|
4851
|
-
|
4925
|
+
h2.append(t3[s2], d()), C.nextNode(), v2.push({ type: 2, index: ++r2 });
|
4926
|
+
h2.append(t3[i3], d());
|
4852
4927
|
}
|
4853
4928
|
}
|
4854
|
-
} else if (8 ===
|
4855
|
-
if (
|
4856
|
-
|
4929
|
+
} else if (8 === h2.nodeType)
|
4930
|
+
if (h2.data === l)
|
4931
|
+
v2.push({ type: 2, index: r2 });
|
4857
4932
|
else {
|
4858
4933
|
let t3 = -1;
|
4859
|
-
for (; -1 !== (t3 =
|
4860
|
-
|
4934
|
+
for (; -1 !== (t3 = h2.data.indexOf(n, t3 + 1)); )
|
4935
|
+
v2.push({ type: 7, index: r2 }), t3 += n.length - 1;
|
4861
4936
|
}
|
4862
|
-
|
4937
|
+
r2++;
|
4863
4938
|
}
|
4864
4939
|
}
|
4865
4940
|
static createElement(t2, i2) {
|
4866
|
-
const s2 =
|
4941
|
+
const s2 = r.createElement("template");
|
4867
4942
|
return s2.innerHTML = t2, s2;
|
4868
4943
|
}
|
4869
4944
|
}
|
4870
|
-
function
|
4945
|
+
function N(t2, i2, s2 = t2, e2) {
|
4871
4946
|
var o2, n2, l2, h2;
|
4872
|
-
if (i2 ===
|
4947
|
+
if (i2 === T)
|
4873
4948
|
return i2;
|
4874
4949
|
let r2 = void 0 !== e2 ? null === (o2 = s2._$Co) || void 0 === o2 ? void 0 : o2[e2] : s2._$Cl;
|
4875
|
-
const
|
4876
|
-
return (null == r2 ? void 0 : r2.constructor) !==
|
4950
|
+
const d2 = u(i2) ? void 0 : i2._$litDirective$;
|
4951
|
+
return (null == r2 ? void 0 : r2.constructor) !== d2 && (null === (n2 = null == r2 ? void 0 : r2._$AO) || void 0 === n2 || n2.call(r2, false), void 0 === d2 ? r2 = void 0 : (r2 = new d2(t2), r2._$AT(t2, s2, e2)), void 0 !== e2 ? (null !== (l2 = (h2 = s2)._$Co) && void 0 !== l2 ? l2 : h2._$Co = [])[e2] = r2 : s2._$Cl = r2), void 0 !== r2 && (i2 = N(t2, r2._$AS(t2, i2.values), r2, e2)), i2;
|
4877
4952
|
}
|
4878
|
-
class
|
4953
|
+
class S {
|
4879
4954
|
constructor(t2, i2) {
|
4880
4955
|
this.u = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
|
4881
4956
|
}
|
@@ -4887,15 +4962,15 @@ class V {
|
|
4887
4962
|
}
|
4888
4963
|
v(t2) {
|
4889
4964
|
var i2;
|
4890
|
-
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 :
|
4891
|
-
|
4892
|
-
let n2 =
|
4965
|
+
const { el: { content: s2 }, parts: e2 } = this._$AD, o2 = (null !== (i2 = null == t2 ? void 0 : t2.creationScope) && void 0 !== i2 ? i2 : r).importNode(s2, true);
|
4966
|
+
C.currentNode = o2;
|
4967
|
+
let n2 = C.nextNode(), l2 = 0, h2 = 0, d2 = e2[0];
|
4893
4968
|
for (; void 0 !== d2; ) {
|
4894
4969
|
if (l2 === d2.index) {
|
4895
4970
|
let i3;
|
4896
|
-
2 === d2.type ? i3 = new
|
4971
|
+
2 === d2.type ? i3 = new M(n2, n2.nextSibling, this, t2) : 1 === d2.type ? i3 = new d2.ctor(n2, d2.name, d2.strings, this, t2) : 6 === d2.type && (i3 = new z(n2, this, t2)), this.u.push(i3), d2 = e2[++h2];
|
4897
4972
|
}
|
4898
|
-
l2 !== (null == d2 ? void 0 : d2.index) && (n2 =
|
4973
|
+
l2 !== (null == d2 ? void 0 : d2.index) && (n2 = C.nextNode(), l2++);
|
4899
4974
|
}
|
4900
4975
|
return o2;
|
4901
4976
|
}
|
@@ -4905,10 +4980,10 @@ class V {
|
|
4905
4980
|
void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
|
4906
4981
|
}
|
4907
4982
|
}
|
4908
|
-
class
|
4983
|
+
class M {
|
4909
4984
|
constructor(t2, i2, s2, e2) {
|
4910
4985
|
var o2;
|
4911
|
-
this.type = 2, this._$AH =
|
4986
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cm = null === (o2 = null == e2 ? void 0 : e2.isConnected) || void 0 === o2 || o2;
|
4912
4987
|
}
|
4913
4988
|
get _$AU() {
|
4914
4989
|
var t2, i2;
|
@@ -4917,7 +4992,7 @@ class N {
|
|
4917
4992
|
get parentNode() {
|
4918
4993
|
let t2 = this._$AA.parentNode;
|
4919
4994
|
const i2 = this._$AM;
|
4920
|
-
return void 0 !== i2 && 11 === t2.nodeType && (t2 = i2.parentNode), t2;
|
4995
|
+
return void 0 !== i2 && 11 === (null == t2 ? void 0 : t2.nodeType) && (t2 = i2.parentNode), t2;
|
4921
4996
|
}
|
4922
4997
|
get startNode() {
|
4923
4998
|
return this._$AA;
|
@@ -4926,37 +5001,37 @@ class N {
|
|
4926
5001
|
return this._$AB;
|
4927
5002
|
}
|
4928
5003
|
_$AI(t2, i2 = this) {
|
4929
|
-
t2 =
|
5004
|
+
t2 = N(this, t2, i2), u(t2) ? t2 === A || null == t2 || "" === t2 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t2 !== this._$AH && t2 !== T && this.g(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : v(t2) ? this.k(t2) : this.g(t2);
|
4930
5005
|
}
|
4931
|
-
|
4932
|
-
return this._$AA.parentNode.insertBefore(t2,
|
5006
|
+
S(t2) {
|
5007
|
+
return this._$AA.parentNode.insertBefore(t2, this._$AB);
|
4933
5008
|
}
|
4934
5009
|
T(t2) {
|
4935
|
-
this._$AH !== t2 && (this._$AR(), this._$AH = this.
|
5010
|
+
this._$AH !== t2 && (this._$AR(), this._$AH = this.S(t2));
|
4936
5011
|
}
|
4937
5012
|
g(t2) {
|
4938
|
-
this._$AH !==
|
5013
|
+
this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r.createTextNode(t2)), this._$AH = t2;
|
4939
5014
|
}
|
4940
5015
|
$(t2) {
|
4941
5016
|
var i2;
|
4942
|
-
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el =
|
5017
|
+
const { values: s2, _$litType$: e2 } = t2, o2 = "number" == typeof e2 ? this._$AC(t2) : (void 0 === e2.el && (e2.el = V.createElement(e2.h, this.options)), e2);
|
4943
5018
|
if ((null === (i2 = this._$AH) || void 0 === i2 ? void 0 : i2._$AD) === o2)
|
4944
5019
|
this._$AH.p(s2);
|
4945
5020
|
else {
|
4946
|
-
const t3 = new
|
5021
|
+
const t3 = new S(o2, this), i3 = t3.v(this.options);
|
4947
5022
|
t3.p(s2), this.T(i3), this._$AH = t3;
|
4948
5023
|
}
|
4949
5024
|
}
|
4950
5025
|
_$AC(t2) {
|
4951
|
-
let i2 =
|
4952
|
-
return void 0 === i2 &&
|
5026
|
+
let i2 = E.get(t2.strings);
|
5027
|
+
return void 0 === i2 && E.set(t2.strings, i2 = new V(t2)), i2;
|
4953
5028
|
}
|
4954
5029
|
k(t2) {
|
4955
|
-
|
5030
|
+
c(this._$AH) || (this._$AH = [], this._$AR());
|
4956
5031
|
const i2 = this._$AH;
|
4957
5032
|
let s2, e2 = 0;
|
4958
5033
|
for (const o2 of t2)
|
4959
|
-
e2 === i2.length ? i2.push(s2 = new
|
5034
|
+
e2 === i2.length ? i2.push(s2 = new M(this.S(d()), this.S(d()), this, this.options)) : s2 = i2[e2], s2._$AI(o2), e2++;
|
4960
5035
|
e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
|
4961
5036
|
}
|
4962
5037
|
_$AR(t2 = this._$AA.nextSibling, i2) {
|
@@ -4971,9 +5046,9 @@ class N {
|
|
4971
5046
|
void 0 === this._$AM && (this._$Cm = t2, null === (i2 = this._$AP) || void 0 === i2 || i2.call(this, t2));
|
4972
5047
|
}
|
4973
5048
|
}
|
4974
|
-
class
|
5049
|
+
class R {
|
4975
5050
|
constructor(t2, i2, s2, e2, o2) {
|
4976
|
-
this.type = 1, this._$AH =
|
5051
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = o2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = A;
|
4977
5052
|
}
|
4978
5053
|
get tagName() {
|
4979
5054
|
return this.element.tagName;
|
@@ -4985,45 +5060,45 @@ class S {
|
|
4985
5060
|
const o2 = this.strings;
|
4986
5061
|
let n2 = false;
|
4987
5062
|
if (void 0 === o2)
|
4988
|
-
t2 =
|
5063
|
+
t2 = N(this, t2, i2, 0), n2 = !u(t2) || t2 !== this._$AH && t2 !== T, n2 && (this._$AH = t2);
|
4989
5064
|
else {
|
4990
5065
|
const e3 = t2;
|
4991
5066
|
let l2, h2;
|
4992
5067
|
for (t2 = o2[0], l2 = 0; l2 < o2.length - 1; l2++)
|
4993
|
-
h2 =
|
5068
|
+
h2 = N(this, e3[s2 + l2], i2, l2), h2 === T && (h2 = this._$AH[l2]), n2 || (n2 = !u(h2) || h2 !== this._$AH[l2]), h2 === A ? t2 = A : t2 !== A && (t2 += (null != h2 ? h2 : "") + o2[l2 + 1]), this._$AH[l2] = h2;
|
4994
5069
|
}
|
4995
5070
|
n2 && !e2 && this.j(t2);
|
4996
5071
|
}
|
4997
5072
|
j(t2) {
|
4998
|
-
t2 ===
|
5073
|
+
t2 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t2 ? t2 : "");
|
4999
5074
|
}
|
5000
5075
|
}
|
5001
|
-
class
|
5076
|
+
class k extends R {
|
5002
5077
|
constructor() {
|
5003
5078
|
super(...arguments), this.type = 3;
|
5004
5079
|
}
|
5005
5080
|
j(t2) {
|
5006
|
-
this.element[this.name] = t2 ===
|
5081
|
+
this.element[this.name] = t2 === A ? void 0 : t2;
|
5007
5082
|
}
|
5008
5083
|
}
|
5009
|
-
const
|
5010
|
-
class
|
5084
|
+
const H = s ? s.emptyScript : "";
|
5085
|
+
class I extends R {
|
5011
5086
|
constructor() {
|
5012
5087
|
super(...arguments), this.type = 4;
|
5013
5088
|
}
|
5014
5089
|
j(t2) {
|
5015
|
-
t2 && t2 !==
|
5090
|
+
t2 && t2 !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
|
5016
5091
|
}
|
5017
5092
|
}
|
5018
|
-
class
|
5093
|
+
class L extends R {
|
5019
5094
|
constructor(t2, i2, s2, e2, o2) {
|
5020
5095
|
super(t2, i2, s2, e2, o2), this.type = 5;
|
5021
5096
|
}
|
5022
5097
|
_$AI(t2, i2 = this) {
|
5023
5098
|
var s2;
|
5024
|
-
if ((t2 = null !== (s2 =
|
5099
|
+
if ((t2 = null !== (s2 = N(this, t2, i2, 0)) && void 0 !== s2 ? s2 : A) === T)
|
5025
5100
|
return;
|
5026
|
-
const e2 = this._$AH, o2 = t2 ===
|
5101
|
+
const e2 = this._$AH, o2 = t2 === A && e2 !== A || t2.capture !== e2.capture || t2.once !== e2.once || t2.passive !== e2.passive, n2 = t2 !== A && (e2 === A || o2);
|
5027
5102
|
o2 && this.element.removeEventListener(this.name, this, e2), n2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
|
5028
5103
|
}
|
5029
5104
|
handleEvent(t2) {
|
@@ -5031,7 +5106,7 @@ class H extends S {
|
|
5031
5106
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s2 = null === (i2 = this.options) || void 0 === i2 ? void 0 : i2.host) && void 0 !== s2 ? s2 : this.element, t2) : this._$AH.handleEvent(t2);
|
5032
5107
|
}
|
5033
5108
|
}
|
5034
|
-
class
|
5109
|
+
class z {
|
5035
5110
|
constructor(t2, i2, s2) {
|
5036
5111
|
this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
|
5037
5112
|
}
|
@@ -5039,18 +5114,18 @@ class I {
|
|
5039
5114
|
return this._$AM._$AU;
|
5040
5115
|
}
|
5041
5116
|
_$AI(t2) {
|
5042
|
-
|
5117
|
+
N(this, t2);
|
5043
5118
|
}
|
5044
5119
|
}
|
5045
|
-
const
|
5046
|
-
null ==
|
5047
|
-
const
|
5120
|
+
const j = i.litHtmlPolyfillSupport;
|
5121
|
+
null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
|
5122
|
+
const B = (t2, i2, s2) => {
|
5048
5123
|
var e2, o2;
|
5049
5124
|
const n2 = null !== (e2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== e2 ? e2 : i2;
|
5050
5125
|
let l2 = n2._$litPart$;
|
5051
5126
|
if (void 0 === l2) {
|
5052
5127
|
const t3 = null !== (o2 = null == s2 ? void 0 : s2.renderBefore) && void 0 !== o2 ? o2 : null;
|
5053
|
-
n2._$litPart$ = l2 = new
|
5128
|
+
n2._$litPart$ = l2 = new M(i2.insertBefore(d(), t3), t3, void 0, null != s2 ? s2 : {});
|
5054
5129
|
}
|
5055
5130
|
return l2._$AI(t2), l2;
|
5056
5131
|
};
|
@@ -5455,8 +5530,8 @@ async function createComposerContext(content, { extraProperties, context = {} }
|
|
5455
5530
|
const htmlBuffer = jsonToHtml(content, extra);
|
5456
5531
|
const template = await lexer(htmlBuffer);
|
5457
5532
|
const variables = interpolate(template.variables, context);
|
5458
|
-
const htmlTemplate =
|
5459
|
-
return (container, options) =>
|
5533
|
+
const htmlTemplate = x(template.literals, ...variables);
|
5534
|
+
return (container, options) => B(htmlTemplate, container, options);
|
5460
5535
|
}
|
5461
5536
|
async function premount(config2, proxyWindow = window, reporter2 = console.error) {
|
5462
5537
|
var _a2;
|
@@ -6046,7 +6121,7 @@ function appendOverlay(self2, mode$) {
|
|
6046
6121
|
overlay.style.position = "fixed";
|
6047
6122
|
overlay.style.width = "100vw";
|
6048
6123
|
overlay.style.height = "100%";
|
6049
|
-
overlay.style.backgroundColor = "rgba(
|
6124
|
+
overlay.style.backgroundColor = "rgba(0, 0, 0, 0.05)";
|
6050
6125
|
overlay.style.zIndex = `${OVERLAY_Z_INDEX}`;
|
6051
6126
|
const isVisible = () => overlay.style.display === visibleOverlayDisplay;
|
6052
6127
|
const swap = () => isVisible() ? overlay.style.display = "none" : overlay.style.display = visibleOverlayDisplay;
|