@sesamy/sesamy-components 2.34.0 → 2.34.1
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.
|
@@ -4,8 +4,8 @@ var is = (t) => {
|
|
|
4
4
|
};
|
|
5
5
|
var ad = (t, e, r) => e in t ? nd(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
6
|
var et = (t, e, r) => ad(t, typeof e != "symbol" ? e + "" : e, r), Xo = (t, e, r) => e.has(t) || is("Cannot " + r);
|
|
7
|
-
var
|
|
8
|
-
const vl = "2.34.
|
|
7
|
+
var _ = (t, e, r) => (Xo(t, e, "read from private field"), r ? r.call(t) : e.get(t)), we = (t, e, r) => e.has(t) ? is("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), me = (t, e, r, n) => (Xo(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), Pe = (t, e, r) => (Xo(t, e, "access private method"), r);
|
|
8
|
+
const vl = "2.34.1";
|
|
9
9
|
var ul;
|
|
10
10
|
typeof window < "u" && ((ul = window.__svelte ?? (window.__svelte = {})).v ?? (ul.v = /* @__PURE__ */ new Set())).add("5");
|
|
11
11
|
const od = 1, id = 2, ml = 4, sd = 8, ld = 16, cd = 1, dd = 2, ud = 4, fd = 8, hd = 16, vd = 4, pl = 1, md = 2, gl = "[", $o = "[!", ss = "[?", Di = "]", Cn = {}, ft = Symbol("uninitialized"), bl = "http://www.w3.org/1999/xhtml", _l = "http://www.w3.org/2000/svg", pd = "http://www.w3.org/1998/Math/MathML", gd = "@attach", yl = !1;
|
|
@@ -594,7 +594,7 @@ const Do = class Do {
|
|
|
594
594
|
* @param {Effect} effect
|
|
595
595
|
*/
|
|
596
596
|
skip_effect(e) {
|
|
597
|
-
|
|
597
|
+
_(this, xr).has(e) || _(this, xr).set(e, { d: [], m: [] }), _(this, ea).delete(e);
|
|
598
598
|
}
|
|
599
599
|
/**
|
|
600
600
|
* Remove an effect from the #skipped_branches map and reschedule
|
|
@@ -603,15 +603,15 @@ const Do = class Do {
|
|
|
603
603
|
* @param {(e: Effect) => void} callback
|
|
604
604
|
*/
|
|
605
605
|
unskip_effect(e, r = (n) => this.schedule(n)) {
|
|
606
|
-
var n =
|
|
606
|
+
var n = _(this, xr).get(e);
|
|
607
607
|
if (n) {
|
|
608
|
-
|
|
608
|
+
_(this, xr).delete(e);
|
|
609
609
|
for (var a of n.d)
|
|
610
610
|
it(a, pt), r(a);
|
|
611
611
|
for (a of n.m)
|
|
612
612
|
it(a, nr), r(a);
|
|
613
613
|
}
|
|
614
|
-
|
|
614
|
+
_(this, ea).add(e);
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
* Associate a change to a given source with the current
|
|
@@ -638,26 +638,26 @@ const Do = class Do {
|
|
|
638
638
|
}
|
|
639
639
|
discard() {
|
|
640
640
|
var e;
|
|
641
|
-
for (const r of
|
|
642
|
-
|
|
641
|
+
for (const r of _(this, Jn)) r(this);
|
|
642
|
+
_(this, Jn).clear();
|
|
643
643
|
for (const r of this.async_deriveds.values())
|
|
644
644
|
r.reject(_a);
|
|
645
|
-
Pe(this, Ke, wa).call(this), (e =
|
|
645
|
+
Pe(this, Ke, wa).call(this), (e = _(this, Qn)) == null || e.resolve();
|
|
646
646
|
}
|
|
647
647
|
/**
|
|
648
648
|
* @param {Effect} effect
|
|
649
649
|
*/
|
|
650
650
|
register_created_effect(e) {
|
|
651
|
-
|
|
651
|
+
_(this, Oa).push(e);
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* @param {boolean} blocking
|
|
655
655
|
* @param {Effect} effect
|
|
656
656
|
*/
|
|
657
657
|
increment(e, r) {
|
|
658
|
-
if (me(this, Xn,
|
|
659
|
-
let n =
|
|
660
|
-
|
|
658
|
+
if (me(this, Xn, _(this, Xn) + 1), e) {
|
|
659
|
+
let n = _(this, Or).get(r) ?? 0;
|
|
660
|
+
_(this, Or).set(r, n + 1);
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
663
|
/**
|
|
@@ -665,11 +665,11 @@ const Do = class Do {
|
|
|
665
665
|
* @param {Effect} effect
|
|
666
666
|
*/
|
|
667
667
|
decrement(e, r) {
|
|
668
|
-
if (me(this, Xn,
|
|
669
|
-
let n =
|
|
670
|
-
n === 1 ?
|
|
668
|
+
if (me(this, Xn, _(this, Xn) - 1), e) {
|
|
669
|
+
let n = _(this, Or).get(r) ?? 0;
|
|
670
|
+
n === 1 ? _(this, Or).delete(r) : _(this, Or).set(r, n - 1);
|
|
671
671
|
}
|
|
672
|
-
|
|
672
|
+
_(this, bn) || (me(this, bn, !0), Ot(() => {
|
|
673
673
|
me(this, bn, !1), this.linked && this.flush();
|
|
674
674
|
}));
|
|
675
675
|
}
|
|
@@ -679,27 +679,27 @@ const Do = class Do {
|
|
|
679
679
|
*/
|
|
680
680
|
transfer_effects(e, r) {
|
|
681
681
|
for (const n of e)
|
|
682
|
-
|
|
682
|
+
_(this, Fr).add(n);
|
|
683
683
|
for (const n of r)
|
|
684
|
-
|
|
684
|
+
_(this, hr).add(n);
|
|
685
685
|
e.clear(), r.clear();
|
|
686
686
|
}
|
|
687
687
|
/** @param {(batch: Batch) => void} fn */
|
|
688
688
|
oncommit(e) {
|
|
689
|
-
|
|
689
|
+
_(this, Kn).add(e);
|
|
690
690
|
}
|
|
691
691
|
/** @param {(batch: Batch) => void} fn */
|
|
692
692
|
ondiscard(e) {
|
|
693
|
-
|
|
693
|
+
_(this, Jn).add(e);
|
|
694
694
|
}
|
|
695
695
|
settled() {
|
|
696
|
-
return (
|
|
696
|
+
return (_(this, Qn) ?? me(this, Qn, xl())).promise;
|
|
697
697
|
}
|
|
698
698
|
static ensure() {
|
|
699
699
|
if (se === null) {
|
|
700
700
|
const e = se = new Do();
|
|
701
701
|
!ei && !qn && Ot(() => {
|
|
702
|
-
|
|
702
|
+
_(e, Yn) || e.flush();
|
|
703
703
|
});
|
|
704
704
|
}
|
|
705
705
|
return se;
|
|
@@ -731,14 +731,14 @@ const Do = class Do {
|
|
|
731
731
|
r.f ^= mt;
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
|
-
|
|
734
|
+
_(this, Rt).push(r);
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
Yn = new WeakMap(), en = new WeakMap(), gn = new WeakMap(), Kn = new WeakMap(), Jn = new WeakMap(), Xn = new WeakMap(), Or = new WeakMap(), Qn = new WeakMap(), Rt = new WeakMap(), Oa = new WeakMap(), Fr = new WeakMap(), hr = new WeakMap(), xr = new WeakMap(), ea = new WeakMap(), bn = new WeakMap(), Ke = new WeakSet(), gi = function() {
|
|
738
738
|
if (this.is_fork) return !0;
|
|
739
|
-
for (const n of
|
|
739
|
+
for (const n of _(this, Or).keys()) {
|
|
740
740
|
for (var e = n, r = !1; e.parent !== null; ) {
|
|
741
|
-
if (
|
|
741
|
+
if (_(this, xr).has(e)) {
|
|
742
742
|
r = !0;
|
|
743
743
|
break;
|
|
744
744
|
}
|
|
@@ -751,11 +751,11 @@ Yn = new WeakMap(), en = new WeakMap(), gn = new WeakMap(), Kn = new WeakMap(),
|
|
|
751
751
|
}, ya = function() {
|
|
752
752
|
var l, d, u, h;
|
|
753
753
|
me(this, Yn, !0), us++ > 1e3 && (Pe(this, Ke, wa).call(this), Xd());
|
|
754
|
-
for (const f of
|
|
755
|
-
|
|
756
|
-
for (const f of
|
|
754
|
+
for (const f of _(this, Fr))
|
|
755
|
+
_(this, hr).delete(f), it(f, pt), this.schedule(f);
|
|
756
|
+
for (const f of _(this, hr))
|
|
757
757
|
it(f, nr), this.schedule(f);
|
|
758
|
-
const e =
|
|
758
|
+
const e = _(this, Rt);
|
|
759
759
|
me(this, Rt, []), this.apply();
|
|
760
760
|
var r = Hn = [], n = [], a = po = [];
|
|
761
761
|
for (const f of e)
|
|
@@ -771,7 +771,7 @@ Yn = new WeakMap(), en = new WeakMap(), gn = new WeakMap(), Kn = new WeakMap(),
|
|
|
771
771
|
}
|
|
772
772
|
if (Hn = null, po = null, Pe(this, Ke, gi).call(this)) {
|
|
773
773
|
Pe(this, Ke, Gn).call(this, n), Pe(this, Ke, Gn).call(this, r);
|
|
774
|
-
for (const [f, m] of
|
|
774
|
+
for (const [f, m] of _(this, xr))
|
|
775
775
|
Hl(f, m);
|
|
776
776
|
a.length > 0 && /** @type {unknown} */
|
|
777
777
|
Pe(l = se, Ke, ya).call(l);
|
|
@@ -782,18 +782,18 @@ Yn = new WeakMap(), en = new WeakMap(), gn = new WeakMap(), Kn = new WeakMap(),
|
|
|
782
782
|
Pe(this, Ke, Gn).call(this, n), Pe(this, Ke, Gn).call(this, r), Pe(d = i, Ke, jl).call(d, this);
|
|
783
783
|
return;
|
|
784
784
|
}
|
|
785
|
-
|
|
786
|
-
for (const f of
|
|
787
|
-
|
|
785
|
+
_(this, Fr).clear(), _(this, hr).clear();
|
|
786
|
+
for (const f of _(this, Kn)) f(this);
|
|
787
|
+
_(this, Kn).clear(), La = this, fs(n), fs(r), La = null, (u = _(this, Qn)) == null || u.resolve();
|
|
788
788
|
var s = (
|
|
789
789
|
/** @type {Batch | null} */
|
|
790
790
|
/** @type {unknown} */
|
|
791
791
|
se
|
|
792
792
|
);
|
|
793
|
-
if (
|
|
793
|
+
if (_(this, Xn) === 0 && (_(this, Rt).length === 0 || s !== null) && Pe(this, Ke, wa).call(this), _(this, Rt).length > 0)
|
|
794
794
|
if (s !== null) {
|
|
795
795
|
const f = s;
|
|
796
|
-
|
|
796
|
+
_(f, Rt).push(..._(this, Rt).filter((m) => !_(f, Rt).includes(m)));
|
|
797
797
|
} else
|
|
798
798
|
s = this;
|
|
799
799
|
s !== null && (zr.clear(), Pe(h = s, Ke, ya).call(h));
|
|
@@ -807,9 +807,9 @@ Yn = new WeakMap(), en = new WeakMap(), gn = new WeakMap(), Kn = new WeakMap(),
|
|
|
807
807
|
bi = function(e, r, n) {
|
|
808
808
|
e.f ^= mt;
|
|
809
809
|
for (var a = e.first; a !== null; ) {
|
|
810
|
-
var o = a.f, i = (o & (ir | Pr)) !== 0, s = i && (o & mt) !== 0, l = s || (o & Pt) !== 0 ||
|
|
810
|
+
var o = a.f, i = (o & (ir | Pr)) !== 0, s = i && (o & mt) !== 0, l = s || (o & Pt) !== 0 || _(this, xr).has(a);
|
|
811
811
|
if (!l && a.fn !== null) {
|
|
812
|
-
i ? a.f ^= mt : (o & ra) !== 0 ? r.push(a) : da(a) && ((o & tr) !== 0 &&
|
|
812
|
+
i ? a.f ^= mt : (o & ra) !== 0 ? r.push(a) : da(a) && ((o & tr) !== 0 && _(this, hr).add(a), Sn(a));
|
|
813
813
|
var d = a.first;
|
|
814
814
|
if (d !== null) {
|
|
815
815
|
a = d;
|
|
@@ -826,13 +826,13 @@ bi = function(e, r, n) {
|
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
}, $l = function() {
|
|
829
|
-
for (var e =
|
|
829
|
+
for (var e = _(this, en); e !== null; ) {
|
|
830
830
|
if (!e.is_fork) {
|
|
831
831
|
for (const [r, [, n]] of this.current)
|
|
832
832
|
if (e.current.has(r) && !n)
|
|
833
833
|
return e;
|
|
834
834
|
}
|
|
835
|
-
e =
|
|
835
|
+
e = _(e, en);
|
|
836
836
|
}
|
|
837
837
|
return null;
|
|
838
838
|
}, /**
|
|
@@ -846,7 +846,7 @@ jl = function(e) {
|
|
|
846
846
|
const i = this.async_deriveds.get(a);
|
|
847
847
|
i && o.promise.then(i.resolve).catch(i.reject);
|
|
848
848
|
}
|
|
849
|
-
e.async_deriveds.clear(), this.transfer_effects(
|
|
849
|
+
e.async_deriveds.clear(), this.transfer_effects(_(e, Fr), _(e, hr));
|
|
850
850
|
const r = (a) => {
|
|
851
851
|
var o = a.reactions;
|
|
852
852
|
if (o !== null && !((a.f & yt) !== 0 && (a.f & (pt | nr)) === 0))
|
|
@@ -862,7 +862,7 @@ jl = function(e) {
|
|
|
862
862
|
/** @type {Effect} */
|
|
863
863
|
l
|
|
864
864
|
);
|
|
865
|
-
i & (Bn | tr) && !this.async_deriveds.has(s) && (
|
|
865
|
+
i & (Bn | tr) && !this.async_deriveds.has(s) && (_(this, hr).delete(s), it(s, pt), this.schedule(s));
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
};
|
|
@@ -874,10 +874,10 @@ jl = function(e) {
|
|
|
874
874
|
*/
|
|
875
875
|
Gn = function(e) {
|
|
876
876
|
for (var r = 0; r < e.length; r += 1)
|
|
877
|
-
Ml(e[r],
|
|
877
|
+
Ml(e[r], _(this, Fr), _(this, hr));
|
|
878
878
|
}, Jd = function() {
|
|
879
879
|
var h;
|
|
880
|
-
for (let f = Qo; f !== null; f =
|
|
880
|
+
for (let f = Qo; f !== null; f = _(f, gn)) {
|
|
881
881
|
var e = f.id < this.id, r = [];
|
|
882
882
|
for (const [m, [v, g]] of this.current) {
|
|
883
883
|
if (f.current.has(m)) {
|
|
@@ -901,13 +901,13 @@ Gn = function(e) {
|
|
|
901
901
|
(m) => !/** @type {[any, boolean]} */
|
|
902
902
|
f.current.get(m)[1]
|
|
903
903
|
);
|
|
904
|
-
if (!(!
|
|
904
|
+
if (!(!_(f, Yn) || a.length === 0)) {
|
|
905
905
|
var o = a.filter((m) => !this.current.has(m));
|
|
906
906
|
if (o.length === 0)
|
|
907
907
|
e && f.discard();
|
|
908
908
|
else if (r.length > 0) {
|
|
909
909
|
if (e)
|
|
910
|
-
for (const m of
|
|
910
|
+
for (const m of _(this, ea))
|
|
911
911
|
f.unskip_effect(m, (v) => {
|
|
912
912
|
var g;
|
|
913
913
|
(v.f & (tr | Bn)) !== 0 ? f.schedule(v) : Pe(g = f, Ke, Gn).call(g, [v]);
|
|
@@ -922,11 +922,11 @@ Gn = function(e) {
|
|
|
922
922
|
return g ? g[0] !== v[0] || g[1] !== v[1] : !0;
|
|
923
923
|
}).map(([m]) => m);
|
|
924
924
|
if (d.length > 0)
|
|
925
|
-
for (const m of
|
|
926
|
-
(m.f & ($t | Pt | Eo)) === 0 && Bi(m, d, s) && ((m.f & (Bn | tr)) !== 0 ? (it(m, pt), f.schedule(m)) :
|
|
927
|
-
if (
|
|
925
|
+
for (const m of _(this, Oa))
|
|
926
|
+
(m.f & ($t | Pt | Eo)) === 0 && Bi(m, d, s) && ((m.f & (Bn | tr)) !== 0 ? (it(m, pt), f.schedule(m)) : _(f, Fr).add(m));
|
|
927
|
+
if (_(f, Rt).length > 0 && !_(f, bn)) {
|
|
928
928
|
f.apply();
|
|
929
|
-
for (var u of
|
|
929
|
+
for (var u of _(f, Rt))
|
|
930
930
|
Pe(h = f, Ke, bi).call(h, u, [], []);
|
|
931
931
|
me(f, Rt, []);
|
|
932
932
|
}
|
|
@@ -936,7 +936,7 @@ Gn = function(e) {
|
|
|
936
936
|
}
|
|
937
937
|
}, wa = function() {
|
|
938
938
|
if (this.linked) {
|
|
939
|
-
var e =
|
|
939
|
+
var e = _(this, en), r = _(this, gn);
|
|
940
940
|
e === null ? Qo = r : me(e, gn, r), r === null ? Rn = e : me(r, en, e), this.linked = !1;
|
|
941
941
|
}
|
|
942
942
|
};
|
|
@@ -2295,7 +2295,7 @@ class Su {
|
|
|
2295
2295
|
* @type {Source<number> | null}
|
|
2296
2296
|
*/
|
|
2297
2297
|
we(this, $r, null);
|
|
2298
|
-
we(this, Oo, ku(() => (me(this, $r, Zr(
|
|
2298
|
+
we(this, Oo, ku(() => (me(this, $r, Zr(_(this, yn))), () => {
|
|
2299
2299
|
me(this, $r, null);
|
|
2300
2300
|
})));
|
|
2301
2301
|
var o;
|
|
@@ -2310,7 +2310,7 @@ class Su {
|
|
|
2310
2310
|
if (le) {
|
|
2311
2311
|
const i = (
|
|
2312
2312
|
/** @type {Comment} */
|
|
2313
|
-
|
|
2313
|
+
_(this, Fa)
|
|
2314
2314
|
);
|
|
2315
2315
|
Ir();
|
|
2316
2316
|
const s = i.data === $o;
|
|
@@ -2327,7 +2327,7 @@ class Su {
|
|
|
2327
2327
|
* @param {Effect} effect
|
|
2328
2328
|
*/
|
|
2329
2329
|
defer_effect(e) {
|
|
2330
|
-
Ml(e,
|
|
2330
|
+
Ml(e, _(this, $a), _(this, ja));
|
|
2331
2331
|
}
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Returns `false` if the effect exists inside a boundary whose pending snippet is shown
|
|
@@ -2337,7 +2337,7 @@ class Su {
|
|
|
2337
2337
|
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
2338
2338
|
}
|
|
2339
2339
|
has_pending_snippet() {
|
|
2340
|
-
return !!
|
|
2340
|
+
return !!_(this, Xt).pending;
|
|
2341
2341
|
}
|
|
2342
2342
|
/**
|
|
2343
2343
|
* Update the source that powers `$effect.pending()` inside this boundary,
|
|
@@ -2347,28 +2347,28 @@ class Su {
|
|
|
2347
2347
|
* @param {Batch} batch
|
|
2348
2348
|
*/
|
|
2349
2349
|
update_pending_count(e, r) {
|
|
2350
|
-
Pe(this, Je, Li).call(this, e, r), me(this, yn,
|
|
2351
|
-
me(this, ta, !1),
|
|
2350
|
+
Pe(this, Je, Li).call(this, e, r), me(this, yn, _(this, yn) + e), !(!_(this, $r) || _(this, ta)) && (me(this, ta, !0), Ot(() => {
|
|
2351
|
+
me(this, ta, !1), _(this, $r) && Vr(_(this, $r), _(this, yn));
|
|
2352
2352
|
}));
|
|
2353
2353
|
}
|
|
2354
2354
|
get_effect_pending() {
|
|
2355
|
-
return
|
|
2355
|
+
return _(this, Oo).call(this), c(
|
|
2356
2356
|
/** @type {Source<number>} */
|
|
2357
|
-
|
|
2357
|
+
_(this, $r)
|
|
2358
2358
|
);
|
|
2359
2359
|
}
|
|
2360
2360
|
/** @param {unknown} error */
|
|
2361
2361
|
error(e) {
|
|
2362
|
-
if (!
|
|
2362
|
+
if (!_(this, Xt).onerror && !_(this, Xt).failed)
|
|
2363
2363
|
throw e;
|
|
2364
|
-
se != null && se.is_fork ? (
|
|
2364
|
+
se != null && se.is_fork ? (_(this, Ht) && se.skip_effect(_(this, Ht)), _(this, At) && se.skip_effect(_(this, At)), _(this, Ut) && se.skip_effect(_(this, Ut)), se.oncommit(() => {
|
|
2365
2365
|
Pe(this, Je, Si).call(this, e);
|
|
2366
2366
|
})) : Pe(this, Je, Si).call(this, e);
|
|
2367
2367
|
}
|
|
2368
2368
|
}
|
|
2369
2369
|
Gt = new WeakMap(), Fa = new WeakMap(), Xt = new WeakMap(), _n = new WeakMap(), Et = new WeakMap(), Ht = new WeakMap(), At = new WeakMap(), Ut = new WeakMap(), kr = new WeakMap(), yn = new WeakMap(), tn = new WeakMap(), ta = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), $r = new WeakMap(), Oo = new WeakMap(), Je = new WeakSet(), pc = function() {
|
|
2370
2370
|
try {
|
|
2371
|
-
me(this, Ht, Nt(() =>
|
|
2371
|
+
me(this, Ht, Nt(() => _(this, _n).call(this, _(this, Gt))));
|
|
2372
2372
|
} catch (e) {
|
|
2373
2373
|
this.error(e);
|
|
2374
2374
|
}
|
|
@@ -2376,10 +2376,10 @@ Gt = new WeakMap(), Fa = new WeakMap(), Xt = new WeakMap(), _n = new WeakMap(),
|
|
|
2376
2376
|
* @param {unknown} error The deserialized error from the server's hydration comment
|
|
2377
2377
|
*/
|
|
2378
2378
|
gc = function(e) {
|
|
2379
|
-
const r =
|
|
2379
|
+
const r = _(this, Xt).failed, { reset: n, invoke_onerror: a } = Pe(this, Je, ki).call(this, e);
|
|
2380
2380
|
Ot(a), r && me(this, Ut, Nt(() => {
|
|
2381
2381
|
r(
|
|
2382
|
-
|
|
2382
|
+
_(this, Gt),
|
|
2383
2383
|
() => e,
|
|
2384
2384
|
() => n
|
|
2385
2385
|
);
|
|
@@ -2397,7 +2397,7 @@ ki = function(e) {
|
|
|
2397
2397
|
Ed();
|
|
2398
2398
|
return;
|
|
2399
2399
|
}
|
|
2400
|
-
r = !0, n && jd(),
|
|
2400
|
+
r = !0, n && jd(), _(this, Ut) !== null && xn(_(this, Ut), () => {
|
|
2401
2401
|
me(this, Ut, null);
|
|
2402
2402
|
}), Pe(this, Je, bo).call(this, () => {
|
|
2403
2403
|
Pe(this, Je, Ci).call(this);
|
|
@@ -2406,27 +2406,27 @@ ki = function(e) {
|
|
|
2406
2406
|
return { reset: a, invoke_onerror: () => {
|
|
2407
2407
|
var i, s;
|
|
2408
2408
|
try {
|
|
2409
|
-
n = !0, (s = (i =
|
|
2409
|
+
n = !0, (s = (i = _(this, Xt)).onerror) == null || s.call(i, e, a), n = !1;
|
|
2410
2410
|
} catch (l) {
|
|
2411
|
-
Lr(l,
|
|
2411
|
+
Lr(l, _(this, Et) && _(this, Et).parent);
|
|
2412
2412
|
}
|
|
2413
2413
|
} };
|
|
2414
2414
|
}, bc = function() {
|
|
2415
|
-
const e =
|
|
2416
|
-
e && (this.is_pending = !0, me(this, At, Nt(() => e(
|
|
2415
|
+
const e = _(this, Xt).pending;
|
|
2416
|
+
e && (this.is_pending = !0, me(this, At, Nt(() => e(_(this, Gt)))), Ot(() => {
|
|
2417
2417
|
var r = me(this, kr, document.createDocumentFragment()), n = St(), a = !1;
|
|
2418
2418
|
if (r.append(n), me(this, Ht, Pe(this, Je, bo).call(this, () => {
|
|
2419
2419
|
try {
|
|
2420
|
-
return Nt(() =>
|
|
2420
|
+
return Nt(() => _(this, _n).call(this, n));
|
|
2421
2421
|
} catch (o) {
|
|
2422
2422
|
try {
|
|
2423
2423
|
this.error(o), a = !0;
|
|
2424
2424
|
} catch (i) {
|
|
2425
|
-
Lr(i,
|
|
2425
|
+
Lr(i, _(this, Et).parent);
|
|
2426
2426
|
}
|
|
2427
2427
|
return null;
|
|
2428
2428
|
}
|
|
2429
|
-
})),
|
|
2429
|
+
})), _(this, Ht) === null) {
|
|
2430
2430
|
me(this, kr, null), a && Pe(this, Je, xa).call(
|
|
2431
2431
|
this,
|
|
2432
2432
|
/** @type {Batch} */
|
|
@@ -2434,9 +2434,9 @@ ki = function(e) {
|
|
|
2434
2434
|
);
|
|
2435
2435
|
return;
|
|
2436
2436
|
}
|
|
2437
|
-
|
|
2437
|
+
_(this, tn) === 0 && (_(this, Gt).before(r), me(this, kr, null), xn(
|
|
2438
2438
|
/** @type {Effect} */
|
|
2439
|
-
|
|
2439
|
+
_(this, At),
|
|
2440
2440
|
() => {
|
|
2441
2441
|
me(this, At, null);
|
|
2442
2442
|
}
|
|
@@ -2449,15 +2449,15 @@ ki = function(e) {
|
|
|
2449
2449
|
}, Ci = function() {
|
|
2450
2450
|
try {
|
|
2451
2451
|
if (this.is_pending = this.has_pending_snippet(), me(this, tn, 0), me(this, yn, 0), me(this, Ht, Nt(() => {
|
|
2452
|
-
|
|
2453
|
-
})),
|
|
2452
|
+
_(this, _n).call(this, _(this, Gt));
|
|
2453
|
+
})), _(this, tn) > 0) {
|
|
2454
2454
|
var e = me(this, kr, document.createDocumentFragment());
|
|
2455
|
-
Yi(
|
|
2455
|
+
Yi(_(this, Ht), e);
|
|
2456
2456
|
const r = (
|
|
2457
2457
|
/** @type {(anchor: Node) => void} */
|
|
2458
|
-
|
|
2458
|
+
_(this, Xt).pending
|
|
2459
2459
|
);
|
|
2460
|
-
me(this, At, Nt(() => r(
|
|
2460
|
+
me(this, At, Nt(() => r(_(this, Gt))));
|
|
2461
2461
|
} else
|
|
2462
2462
|
Pe(this, Je, xa).call(
|
|
2463
2463
|
this,
|
|
@@ -2471,14 +2471,14 @@ ki = function(e) {
|
|
|
2471
2471
|
* @param {Batch} batch
|
|
2472
2472
|
*/
|
|
2473
2473
|
xa = function(e) {
|
|
2474
|
-
this.is_pending = !1, e.transfer_effects(
|
|
2474
|
+
this.is_pending = !1, e.transfer_effects(_(this, $a), _(this, ja));
|
|
2475
2475
|
}, /**
|
|
2476
2476
|
* @template T
|
|
2477
2477
|
* @param {() => T} fn
|
|
2478
2478
|
*/
|
|
2479
2479
|
bo = function(e) {
|
|
2480
2480
|
var r = xe, n = Ne, a = tt;
|
|
2481
|
-
lr(
|
|
2481
|
+
lr(_(this, Et)), sr(_(this, Et)), na(_(this, Et).ctx);
|
|
2482
2482
|
try {
|
|
2483
2483
|
return Wr.ensure(), e();
|
|
2484
2484
|
} finally {
|
|
@@ -2496,18 +2496,18 @@ Li = function(e, r) {
|
|
|
2496
2496
|
this.parent && Pe(n = this.parent, Je, Li).call(n, e, r);
|
|
2497
2497
|
return;
|
|
2498
2498
|
}
|
|
2499
|
-
me(this, tn,
|
|
2499
|
+
me(this, tn, _(this, tn) + e), _(this, tn) === 0 && (Pe(this, Je, xa).call(this, r), _(this, At) && xn(_(this, At), () => {
|
|
2500
2500
|
me(this, At, null);
|
|
2501
|
-
}),
|
|
2501
|
+
}), _(this, kr) && (_(this, Gt).before(_(this, kr)), me(this, kr, null)));
|
|
2502
2502
|
}, /**
|
|
2503
2503
|
* @param {unknown} error
|
|
2504
2504
|
*/
|
|
2505
2505
|
Si = function(e) {
|
|
2506
|
-
|
|
2506
|
+
_(this, Ht) && (wt(_(this, Ht)), me(this, Ht, null)), _(this, At) && (wt(_(this, At)), me(this, At, null)), _(this, Ut) && (wt(_(this, Ut)), me(this, Ut, null)), le && (ht(
|
|
2507
2507
|
/** @type {TemplateNode} */
|
|
2508
|
-
|
|
2508
|
+
_(this, Fa)
|
|
2509
2509
|
), Ct(), ht(za()));
|
|
2510
|
-
let r =
|
|
2510
|
+
let r = _(this, Xt).failed;
|
|
2511
2511
|
const n = (a) => {
|
|
2512
2512
|
const { reset: o, invoke_onerror: i } = Pe(this, Je, ki).call(this, a);
|
|
2513
2513
|
i(), r && me(this, Ut, Pe(this, Je, bo).call(this, () => {
|
|
@@ -2518,7 +2518,7 @@ Si = function(e) {
|
|
|
2518
2518
|
xe
|
|
2519
2519
|
);
|
|
2520
2520
|
s.b = this, s.f |= hi, r(
|
|
2521
|
-
|
|
2521
|
+
_(this, Gt),
|
|
2522
2522
|
() => a,
|
|
2523
2523
|
() => o
|
|
2524
2524
|
);
|
|
@@ -2527,7 +2527,7 @@ Si = function(e) {
|
|
|
2527
2527
|
return Lr(
|
|
2528
2528
|
s,
|
|
2529
2529
|
/** @type {Effect} */
|
|
2530
|
-
|
|
2530
|
+
_(this, Et).parent
|
|
2531
2531
|
), null;
|
|
2532
2532
|
}
|
|
2533
2533
|
}));
|
|
@@ -2537,14 +2537,14 @@ Si = function(e) {
|
|
|
2537
2537
|
try {
|
|
2538
2538
|
a = this.transform_error(e);
|
|
2539
2539
|
} catch (o) {
|
|
2540
|
-
Lr(o,
|
|
2540
|
+
Lr(o, _(this, Et) && _(this, Et).parent);
|
|
2541
2541
|
return;
|
|
2542
2542
|
}
|
|
2543
2543
|
a !== null && typeof a == "object" && typeof /** @type {any} */
|
|
2544
2544
|
a.then == "function" ? a.then(
|
|
2545
2545
|
n,
|
|
2546
2546
|
/** @param {unknown} e */
|
|
2547
|
-
(o) => Lr(o,
|
|
2547
|
+
(o) => Lr(o, _(this, Et) && _(this, Et).parent)
|
|
2548
2548
|
) : n(a);
|
|
2549
2549
|
});
|
|
2550
2550
|
};
|
|
@@ -2698,34 +2698,34 @@ class qo {
|
|
|
2698
2698
|
* @param {Batch} batch
|
|
2699
2699
|
*/
|
|
2700
2700
|
we(this, Ha, (e) => {
|
|
2701
|
-
if (
|
|
2701
|
+
if (_(this, vr).has(e)) {
|
|
2702
2702
|
var r = (
|
|
2703
2703
|
/** @type {Key} */
|
|
2704
|
-
|
|
2705
|
-
), n =
|
|
2704
|
+
_(this, vr).get(e)
|
|
2705
|
+
), n = _(this, Cr).get(r);
|
|
2706
2706
|
if (n)
|
|
2707
|
-
To(n),
|
|
2707
|
+
To(n), _(this, wn).delete(r);
|
|
2708
2708
|
else {
|
|
2709
|
-
var a =
|
|
2710
|
-
a && (To(a.effect),
|
|
2709
|
+
var a = _(this, Vt).get(r);
|
|
2710
|
+
a && (To(a.effect), _(this, Cr).set(r, a.effect), _(this, Vt).delete(r), a.fragment.lastChild.remove(), this.anchor.before(a.fragment), n = a.effect);
|
|
2711
2711
|
}
|
|
2712
|
-
for (const [o, i] of
|
|
2713
|
-
if (
|
|
2712
|
+
for (const [o, i] of _(this, vr)) {
|
|
2713
|
+
if (_(this, vr).delete(o), o === e)
|
|
2714
2714
|
break;
|
|
2715
|
-
const s =
|
|
2716
|
-
s && (wt(s.effect),
|
|
2715
|
+
const s = _(this, Vt).get(i);
|
|
2716
|
+
s && (wt(s.effect), _(this, Vt).delete(i));
|
|
2717
2717
|
}
|
|
2718
|
-
for (const [o, i] of
|
|
2719
|
-
if (o === r ||
|
|
2718
|
+
for (const [o, i] of _(this, Cr)) {
|
|
2719
|
+
if (o === r || _(this, wn).has(o)) continue;
|
|
2720
2720
|
const s = () => {
|
|
2721
|
-
if (Array.from(
|
|
2721
|
+
if (Array.from(_(this, vr).values()).includes(o)) {
|
|
2722
2722
|
var d = document.createDocumentFragment();
|
|
2723
|
-
Yi(i, d), d.append(St()),
|
|
2723
|
+
Yi(i, d), d.append(St()), _(this, Vt).set(o, { effect: i, fragment: d });
|
|
2724
2724
|
} else
|
|
2725
2725
|
wt(i);
|
|
2726
|
-
|
|
2726
|
+
_(this, wn).delete(o), _(this, Cr).delete(o);
|
|
2727
2727
|
};
|
|
2728
|
-
|
|
2728
|
+
_(this, Ga) || !n ? (_(this, wn).add(o), xn(i, s, !1)) : s();
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
2731
|
});
|
|
@@ -2733,10 +2733,10 @@ class qo {
|
|
|
2733
2733
|
* @param {Batch} batch
|
|
2734
2734
|
*/
|
|
2735
2735
|
we(this, Fo, (e) => {
|
|
2736
|
-
|
|
2737
|
-
const r = Array.from(
|
|
2738
|
-
for (const [n, a] of
|
|
2739
|
-
r.includes(n) || (wt(a.effect),
|
|
2736
|
+
_(this, vr).delete(e);
|
|
2737
|
+
const r = Array.from(_(this, vr).values());
|
|
2738
|
+
for (const [n, a] of _(this, Vt))
|
|
2739
|
+
r.includes(n) || (wt(a.effect), _(this, Vt).delete(n));
|
|
2740
2740
|
});
|
|
2741
2741
|
this.anchor = e, me(this, Ga, r);
|
|
2742
2742
|
}
|
|
@@ -2750,26 +2750,26 @@ class qo {
|
|
|
2750
2750
|
/** @type {Batch} */
|
|
2751
2751
|
se
|
|
2752
2752
|
), a = Jl();
|
|
2753
|
-
if (r && !
|
|
2753
|
+
if (r && !_(this, Cr).has(e) && !_(this, Vt).has(e))
|
|
2754
2754
|
if (a) {
|
|
2755
2755
|
var o = document.createDocumentFragment(), i = St();
|
|
2756
|
-
o.append(i),
|
|
2756
|
+
o.append(i), _(this, Vt).set(e, {
|
|
2757
2757
|
effect: Nt(() => r(i)),
|
|
2758
2758
|
fragment: o
|
|
2759
2759
|
});
|
|
2760
2760
|
} else
|
|
2761
|
-
|
|
2761
|
+
_(this, Cr).set(
|
|
2762
2762
|
e,
|
|
2763
2763
|
Nt(() => r(this.anchor))
|
|
2764
2764
|
);
|
|
2765
|
-
if (
|
|
2766
|
-
for (const [s, l] of
|
|
2765
|
+
if (_(this, vr).set(n, e), a) {
|
|
2766
|
+
for (const [s, l] of _(this, Cr))
|
|
2767
2767
|
s === e ? n.unskip_effect(l) : n.skip_effect(l);
|
|
2768
|
-
for (const [s, l] of
|
|
2768
|
+
for (const [s, l] of _(this, Vt))
|
|
2769
2769
|
s === e ? n.unskip_effect(l.effect) : n.skip_effect(l.effect);
|
|
2770
|
-
n.oncommit(
|
|
2770
|
+
n.oncommit(_(this, Ha)), n.ondiscard(_(this, Fo));
|
|
2771
2771
|
} else
|
|
2772
|
-
le && (this.anchor = _e),
|
|
2772
|
+
le && (this.anchor = _e), _(this, Ha).call(this, n);
|
|
2773
2773
|
}
|
|
2774
2774
|
}
|
|
2775
2775
|
vr = new WeakMap(), Cr = new WeakMap(), Vt = new WeakMap(), wn = new WeakMap(), Ga = new WeakMap(), Ha = new WeakMap(), Fo = new WeakMap();
|
|
@@ -2974,12 +2974,12 @@ function an(t, e, r, n, a, o = null) {
|
|
|
2974
2974
|
for (var w = /* @__PURE__ */ new Set(), k = (
|
|
2975
2975
|
/** @type {Batch} */
|
|
2976
2976
|
se
|
|
2977
|
-
),
|
|
2977
|
+
), b = Jl(), p = 0; p < $; p += 1) {
|
|
2978
2978
|
le && _e.nodeType === oa && /** @type {Comment} */
|
|
2979
2979
|
_e.data === Di && (i = /** @type {Comment} */
|
|
2980
2980
|
_e, I = !0, Mt(!1));
|
|
2981
2981
|
var S = f[p], U = n(S, p), O = v ? null : s.get(U);
|
|
2982
|
-
O ? (O.v && Vr(O.v, S), O.i && Vr(O.i, p),
|
|
2982
|
+
O ? (O.v && Vr(O.v, S), O.i && Vr(O.i, p), b && k.unskip_effect(O.e)) : (O = Iu(
|
|
2983
2983
|
s,
|
|
2984
2984
|
v ? i : ys ?? (ys = St()),
|
|
2985
2985
|
S,
|
|
@@ -2991,7 +2991,7 @@ function an(t, e, r, n, a, o = null) {
|
|
|
2991
2991
|
), v || (O.e.f |= Sr), s.set(U, O)), w.add(U);
|
|
2992
2992
|
}
|
|
2993
2993
|
if ($ === 0 && o && !u && (v ? u = Nt(() => o(i)) : (u = Nt(() => o(ys ?? (ys = St()))), u.f |= Sr)), $ > w.size && Td(), le && $ > 0 && ht(za()), !v)
|
|
2994
|
-
if (m.set(k, w),
|
|
2994
|
+
if (m.set(k, w), b) {
|
|
2995
2995
|
for (const [oe, Ie] of s)
|
|
2996
2996
|
w.has(oe) || k.skip_effect(Ie.e);
|
|
2997
2997
|
k.oncommit(g), k.ondiscard(y);
|
|
@@ -3060,13 +3060,13 @@ function Pu(t, e, r, n, a) {
|
|
|
3060
3060
|
(y.f & Pt) === 0 && k.push(y);
|
|
3061
3061
|
for (; l !== null; )
|
|
3062
3062
|
(l.f & Pt) === 0 && l !== t.fallback && k.push(l), l = ha(l.next);
|
|
3063
|
-
var
|
|
3064
|
-
if (
|
|
3063
|
+
var b = k.length;
|
|
3064
|
+
if (b > 0) {
|
|
3065
3065
|
var p = (n & ml) !== 0 && i === 0 ? r : null;
|
|
3066
3066
|
if (o) {
|
|
3067
|
-
for (C = 0; C <
|
|
3067
|
+
for (C = 0; C < b; C += 1)
|
|
3068
3068
|
(ve = (ke = k[C].nodes) == null ? void 0 : ke.a) == null || ve.measure();
|
|
3069
|
-
for (C = 0; C <
|
|
3069
|
+
for (C = 0; C < b; C += 1)
|
|
3070
3070
|
(ue = (ge = k[C].nodes) == null ? void 0 : ge.a) == null || ue.fix();
|
|
3071
3071
|
}
|
|
3072
3072
|
Mu(t, k, p);
|
|
@@ -3351,7 +3351,7 @@ function zi(t, e, r, n, a, o) {
|
|
|
3351
3351
|
var M = !1;
|
|
3352
3352
|
if (u)
|
|
3353
3353
|
for (var w = Math.ceil($ / 16.666666666666668), k = 0; k <= w; k += 1) {
|
|
3354
|
-
var
|
|
3354
|
+
var b = C + T * f(k / w), p = ws(u(b, 1 - b));
|
|
3355
3355
|
I.push(p), M || (M = p.overflow === "hidden");
|
|
3356
3356
|
}
|
|
3357
3357
|
M && (t.style.overflow = "hidden"), v = () => {
|
|
@@ -3724,12 +3724,12 @@ function Ju(t, e, r, n, a = !1, o = !1) {
|
|
|
3724
3724
|
var T = w[0] + w[1];
|
|
3725
3725
|
if (T !== "$$")
|
|
3726
3726
|
if (T === "on") {
|
|
3727
|
-
const
|
|
3727
|
+
const b = {}, p = "$$" + w;
|
|
3728
3728
|
let S = w.slice(2);
|
|
3729
3729
|
var $ = pu(S);
|
|
3730
|
-
if (vu(S) && (S = S.slice(0, -7),
|
|
3730
|
+
if (vu(S) && (S = S.slice(0, -7), b.capture = !0), !$ && C) {
|
|
3731
3731
|
if (k != null) continue;
|
|
3732
|
-
t.removeEventListener(S, u[p],
|
|
3732
|
+
t.removeEventListener(S, u[p], b), u[p] = null;
|
|
3733
3733
|
}
|
|
3734
3734
|
if ($)
|
|
3735
3735
|
ar(S, t, k), Kr([S]);
|
|
@@ -3737,7 +3737,7 @@ function Ju(t, e, r, n, a = !1, o = !1) {
|
|
|
3737
3737
|
let U = function(O) {
|
|
3738
3738
|
u[w].call(this, O);
|
|
3739
3739
|
};
|
|
3740
|
-
u[p] = vc(S, t, U,
|
|
3740
|
+
u[p] = vc(S, t, U, b);
|
|
3741
3741
|
}
|
|
3742
3742
|
} else if (w === "style")
|
|
3743
3743
|
Ae(t, w, k);
|
|
@@ -3762,17 +3762,17 @@ function Ju(t, e, r, n, a = !1, o = !1) {
|
|
|
3762
3762
|
if (f && I === "defaultValue") continue;
|
|
3763
3763
|
if (k == null && !s && !M)
|
|
3764
3764
|
if (i[w] = null, I === "value" || I === "checked") {
|
|
3765
|
-
let
|
|
3765
|
+
let b = (
|
|
3766
3766
|
/** @type {HTMLInputElement} */
|
|
3767
3767
|
t
|
|
3768
3768
|
);
|
|
3769
3769
|
const p = e === void 0;
|
|
3770
3770
|
if (I === "value") {
|
|
3771
|
-
let S =
|
|
3772
|
-
|
|
3771
|
+
let S = b.defaultValue;
|
|
3772
|
+
b.removeAttribute(I), b.defaultValue = S, b.value = b.__value = p ? S : null;
|
|
3773
3773
|
} else {
|
|
3774
|
-
let S =
|
|
3775
|
-
|
|
3774
|
+
let S = b.defaultChecked;
|
|
3775
|
+
b.removeAttribute(I), b.defaultChecked = S, b.checked = p ? S : !1;
|
|
3776
3776
|
}
|
|
3777
3777
|
} else
|
|
3778
3778
|
t.removeAttribute(w);
|
|
@@ -4142,27 +4142,27 @@ class r1 {
|
|
|
4142
4142
|
recover: e.recover,
|
|
4143
4143
|
transformError: e.transformError
|
|
4144
4144
|
})), (!((o = e == null ? void 0 : e.props) != null && o.$$host) || e.sync === !1) && vt(), me(this, jr, a.$$events);
|
|
4145
|
-
for (const i of Object.keys(
|
|
4145
|
+
for (const i of Object.keys(_(this, Qt)))
|
|
4146
4146
|
i === "$set" || i === "$destroy" || i === "$on" || Aa(this, i, {
|
|
4147
4147
|
get() {
|
|
4148
|
-
return
|
|
4148
|
+
return _(this, Qt)[i];
|
|
4149
4149
|
},
|
|
4150
4150
|
/** @param {any} value */
|
|
4151
4151
|
set(s) {
|
|
4152
|
-
|
|
4152
|
+
_(this, Qt)[i] = s;
|
|
4153
4153
|
},
|
|
4154
4154
|
enumerable: !0
|
|
4155
4155
|
});
|
|
4156
|
-
|
|
4156
|
+
_(this, Qt).$set = /** @param {Record<string, any>} next */
|
|
4157
4157
|
(i) => {
|
|
4158
4158
|
Object.assign(a, i);
|
|
4159
|
-
},
|
|
4160
|
-
Au(
|
|
4159
|
+
}, _(this, Qt).$destroy = () => {
|
|
4160
|
+
Au(_(this, Qt));
|
|
4161
4161
|
};
|
|
4162
4162
|
}
|
|
4163
4163
|
/** @param {Record<string, any>} props */
|
|
4164
4164
|
$set(e) {
|
|
4165
|
-
|
|
4165
|
+
_(this, Qt).$set(e);
|
|
4166
4166
|
}
|
|
4167
4167
|
/**
|
|
4168
4168
|
* @param {string} event
|
|
@@ -4170,17 +4170,17 @@ class r1 {
|
|
|
4170
4170
|
* @returns {any}
|
|
4171
4171
|
*/
|
|
4172
4172
|
$on(e, r) {
|
|
4173
|
-
|
|
4173
|
+
_(this, jr)[e] = _(this, jr)[e] || [];
|
|
4174
4174
|
const n = (...a) => r.call(this, ...a);
|
|
4175
|
-
return
|
|
4176
|
-
|
|
4175
|
+
return _(this, jr)[e].push(n), () => {
|
|
4176
|
+
_(this, jr)[e] = _(this, jr)[e].filter(
|
|
4177
4177
|
/** @param {any} fn */
|
|
4178
4178
|
(a) => a !== n
|
|
4179
4179
|
);
|
|
4180
4180
|
};
|
|
4181
4181
|
}
|
|
4182
4182
|
$destroy() {
|
|
4183
|
-
|
|
4183
|
+
_(this, Qt).$destroy();
|
|
4184
4184
|
}
|
|
4185
4185
|
}
|
|
4186
4186
|
jr = new WeakMap(), Qt = new WeakMap();
|
|
@@ -5327,8 +5327,8 @@ const vp = (t, e) => {
|
|
|
5327
5327
|
if (C) {
|
|
5328
5328
|
const k = g.substring(0, y);
|
|
5329
5329
|
T = n(k);
|
|
5330
|
-
const
|
|
5331
|
-
|
|
5330
|
+
const b = T && i[T] ? n(g) : void 0;
|
|
5331
|
+
b && b !== T && (T = b, C = !1);
|
|
5332
5332
|
} else
|
|
5333
5333
|
T = n(g);
|
|
5334
5334
|
if (!T) {
|
|
@@ -5348,8 +5348,8 @@ const vp = (t, e) => {
|
|
|
5348
5348
|
s.push(M);
|
|
5349
5349
|
const w = a(T, C);
|
|
5350
5350
|
for (let k = 0; k < w.length; ++k) {
|
|
5351
|
-
const
|
|
5352
|
-
s.push(I +
|
|
5351
|
+
const b = w[k];
|
|
5352
|
+
s.push(I + b);
|
|
5353
5353
|
}
|
|
5354
5354
|
d = h + (d.length > 0 ? " " + d : d);
|
|
5355
5355
|
}
|
|
@@ -5412,9 +5412,9 @@ const vp = (t, e) => {
|
|
|
5412
5412
|
"bottom-left",
|
|
5413
5413
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
5414
5414
|
"left-bottom"
|
|
5415
|
-
], M = () => [...I(), X, J], w = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"],
|
|
5415
|
+
], M = () => [...I(), X, J], w = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], b = () => [X, J, l], p = () => [Qr, "full", "auto", ...b()], S = () => [wr, "none", "subgrid", X, J], U = () => ["auto", {
|
|
5416
5416
|
span: ["full", wr, X, J]
|
|
5417
|
-
}, wr, X, J], O = () => [wr, "auto", X, J], oe = () => ["auto", "min", "max", "fr", X, J], Ie = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ke = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ve = () => ["auto", ...
|
|
5417
|
+
}, wr, X, J], O = () => [wr, "auto", X, J], oe = () => ["auto", "min", "max", "fr", X, J], Ie = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ke = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], ve = () => ["auto", ...b()], ge = () => [Qr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], ue = () => [Qr, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...b()], ne = () => [Qr, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...b()], F = () => [t, X, J], Be = () => [...I(), Ns, Rs, {
|
|
5418
5418
|
position: [X, J]
|
|
5419
5419
|
}], Se = () => ["no-repeat", {
|
|
5420
5420
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -5435,7 +5435,7 @@ const vp = (t, e) => {
|
|
|
5435
5435
|
v,
|
|
5436
5436
|
X,
|
|
5437
5437
|
J
|
|
5438
|
-
], Le = () => ["none", Ee, X, J], G = () => ["none", Ee, X, J], be = () => [Ee, X, J], Oe = () => [Qr, "full", ...
|
|
5438
|
+
], Le = () => ["none", Ee, X, J], G = () => ["none", Ee, X, J], be = () => [Ee, X, J], Oe = () => [Qr, "full", ...b()];
|
|
5439
5439
|
return {
|
|
5440
5440
|
cacheSize: 500,
|
|
5441
5441
|
theme: {
|
|
@@ -5729,7 +5729,7 @@ const vp = (t, e) => {
|
|
|
5729
5729
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
5730
5730
|
*/
|
|
5731
5731
|
basis: [{
|
|
5732
|
-
basis: [Qr, "full", "auto", s, ...
|
|
5732
|
+
basis: [Qr, "full", "auto", s, ...b()]
|
|
5733
5733
|
}],
|
|
5734
5734
|
/**
|
|
5735
5735
|
* Flex Direction
|
|
@@ -5855,21 +5855,21 @@ const vp = (t, e) => {
|
|
|
5855
5855
|
* @see https://tailwindcss.com/docs/gap
|
|
5856
5856
|
*/
|
|
5857
5857
|
gap: [{
|
|
5858
|
-
gap:
|
|
5858
|
+
gap: b()
|
|
5859
5859
|
}],
|
|
5860
5860
|
/**
|
|
5861
5861
|
* Gap X
|
|
5862
5862
|
* @see https://tailwindcss.com/docs/gap
|
|
5863
5863
|
*/
|
|
5864
5864
|
"gap-x": [{
|
|
5865
|
-
"gap-x":
|
|
5865
|
+
"gap-x": b()
|
|
5866
5866
|
}],
|
|
5867
5867
|
/**
|
|
5868
5868
|
* Gap Y
|
|
5869
5869
|
* @see https://tailwindcss.com/docs/gap
|
|
5870
5870
|
*/
|
|
5871
5871
|
"gap-y": [{
|
|
5872
|
-
"gap-y":
|
|
5872
|
+
"gap-y": b()
|
|
5873
5873
|
}],
|
|
5874
5874
|
/**
|
|
5875
5875
|
* Justify Content
|
|
@@ -5944,77 +5944,77 @@ const vp = (t, e) => {
|
|
|
5944
5944
|
* @see https://tailwindcss.com/docs/padding
|
|
5945
5945
|
*/
|
|
5946
5946
|
p: [{
|
|
5947
|
-
p:
|
|
5947
|
+
p: b()
|
|
5948
5948
|
}],
|
|
5949
5949
|
/**
|
|
5950
5950
|
* Padding Inline
|
|
5951
5951
|
* @see https://tailwindcss.com/docs/padding
|
|
5952
5952
|
*/
|
|
5953
5953
|
px: [{
|
|
5954
|
-
px:
|
|
5954
|
+
px: b()
|
|
5955
5955
|
}],
|
|
5956
5956
|
/**
|
|
5957
5957
|
* Padding Block
|
|
5958
5958
|
* @see https://tailwindcss.com/docs/padding
|
|
5959
5959
|
*/
|
|
5960
5960
|
py: [{
|
|
5961
|
-
py:
|
|
5961
|
+
py: b()
|
|
5962
5962
|
}],
|
|
5963
5963
|
/**
|
|
5964
5964
|
* Padding Inline Start
|
|
5965
5965
|
* @see https://tailwindcss.com/docs/padding
|
|
5966
5966
|
*/
|
|
5967
5967
|
ps: [{
|
|
5968
|
-
ps:
|
|
5968
|
+
ps: b()
|
|
5969
5969
|
}],
|
|
5970
5970
|
/**
|
|
5971
5971
|
* Padding Inline End
|
|
5972
5972
|
* @see https://tailwindcss.com/docs/padding
|
|
5973
5973
|
*/
|
|
5974
5974
|
pe: [{
|
|
5975
|
-
pe:
|
|
5975
|
+
pe: b()
|
|
5976
5976
|
}],
|
|
5977
5977
|
/**
|
|
5978
5978
|
* Padding Block Start
|
|
5979
5979
|
* @see https://tailwindcss.com/docs/padding
|
|
5980
5980
|
*/
|
|
5981
5981
|
pbs: [{
|
|
5982
|
-
pbs:
|
|
5982
|
+
pbs: b()
|
|
5983
5983
|
}],
|
|
5984
5984
|
/**
|
|
5985
5985
|
* Padding Block End
|
|
5986
5986
|
* @see https://tailwindcss.com/docs/padding
|
|
5987
5987
|
*/
|
|
5988
5988
|
pbe: [{
|
|
5989
|
-
pbe:
|
|
5989
|
+
pbe: b()
|
|
5990
5990
|
}],
|
|
5991
5991
|
/**
|
|
5992
5992
|
* Padding Top
|
|
5993
5993
|
* @see https://tailwindcss.com/docs/padding
|
|
5994
5994
|
*/
|
|
5995
5995
|
pt: [{
|
|
5996
|
-
pt:
|
|
5996
|
+
pt: b()
|
|
5997
5997
|
}],
|
|
5998
5998
|
/**
|
|
5999
5999
|
* Padding Right
|
|
6000
6000
|
* @see https://tailwindcss.com/docs/padding
|
|
6001
6001
|
*/
|
|
6002
6002
|
pr: [{
|
|
6003
|
-
pr:
|
|
6003
|
+
pr: b()
|
|
6004
6004
|
}],
|
|
6005
6005
|
/**
|
|
6006
6006
|
* Padding Bottom
|
|
6007
6007
|
* @see https://tailwindcss.com/docs/padding
|
|
6008
6008
|
*/
|
|
6009
6009
|
pb: [{
|
|
6010
|
-
pb:
|
|
6010
|
+
pb: b()
|
|
6011
6011
|
}],
|
|
6012
6012
|
/**
|
|
6013
6013
|
* Padding Left
|
|
6014
6014
|
* @see https://tailwindcss.com/docs/padding
|
|
6015
6015
|
*/
|
|
6016
6016
|
pl: [{
|
|
6017
|
-
pl:
|
|
6017
|
+
pl: b()
|
|
6018
6018
|
}],
|
|
6019
6019
|
/**
|
|
6020
6020
|
* Margin
|
|
@@ -6098,7 +6098,7 @@ const vp = (t, e) => {
|
|
|
6098
6098
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6099
6099
|
*/
|
|
6100
6100
|
"space-x": [{
|
|
6101
|
-
"space-x":
|
|
6101
|
+
"space-x": b()
|
|
6102
6102
|
}],
|
|
6103
6103
|
/**
|
|
6104
6104
|
* Space Between X Reverse
|
|
@@ -6110,7 +6110,7 @@ const vp = (t, e) => {
|
|
|
6110
6110
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6111
6111
|
*/
|
|
6112
6112
|
"space-y": [{
|
|
6113
|
-
"space-y":
|
|
6113
|
+
"space-y": b()
|
|
6114
6114
|
}],
|
|
6115
6115
|
/**
|
|
6116
6116
|
* Space Between Y Reverse
|
|
@@ -6328,7 +6328,7 @@ const vp = (t, e) => {
|
|
|
6328
6328
|
leading: [
|
|
6329
6329
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
6330
6330
|
o,
|
|
6331
|
-
...
|
|
6331
|
+
...b()
|
|
6332
6332
|
]
|
|
6333
6333
|
}],
|
|
6334
6334
|
/**
|
|
@@ -6429,7 +6429,7 @@ const vp = (t, e) => {
|
|
|
6429
6429
|
* @see https://tailwindcss.com/docs/text-indent
|
|
6430
6430
|
*/
|
|
6431
6431
|
indent: [{
|
|
6432
|
-
indent:
|
|
6432
|
+
indent: b()
|
|
6433
6433
|
}],
|
|
6434
6434
|
/**
|
|
6435
6435
|
* Tab Size
|
|
@@ -7428,21 +7428,21 @@ const vp = (t, e) => {
|
|
|
7428
7428
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7429
7429
|
*/
|
|
7430
7430
|
"border-spacing": [{
|
|
7431
|
-
"border-spacing":
|
|
7431
|
+
"border-spacing": b()
|
|
7432
7432
|
}],
|
|
7433
7433
|
/**
|
|
7434
7434
|
* Border Spacing X
|
|
7435
7435
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7436
7436
|
*/
|
|
7437
7437
|
"border-spacing-x": [{
|
|
7438
|
-
"border-spacing-x":
|
|
7438
|
+
"border-spacing-x": b()
|
|
7439
7439
|
}],
|
|
7440
7440
|
/**
|
|
7441
7441
|
* Border Spacing Y
|
|
7442
7442
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7443
7443
|
*/
|
|
7444
7444
|
"border-spacing-y": [{
|
|
7445
|
-
"border-spacing-y":
|
|
7445
|
+
"border-spacing-y": b()
|
|
7446
7446
|
}],
|
|
7447
7447
|
/**
|
|
7448
7448
|
* Table Layout
|
|
@@ -7769,154 +7769,154 @@ const vp = (t, e) => {
|
|
|
7769
7769
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7770
7770
|
*/
|
|
7771
7771
|
"scroll-m": [{
|
|
7772
|
-
"scroll-m":
|
|
7772
|
+
"scroll-m": b()
|
|
7773
7773
|
}],
|
|
7774
7774
|
/**
|
|
7775
7775
|
* Scroll Margin Inline
|
|
7776
7776
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7777
7777
|
*/
|
|
7778
7778
|
"scroll-mx": [{
|
|
7779
|
-
"scroll-mx":
|
|
7779
|
+
"scroll-mx": b()
|
|
7780
7780
|
}],
|
|
7781
7781
|
/**
|
|
7782
7782
|
* Scroll Margin Block
|
|
7783
7783
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7784
7784
|
*/
|
|
7785
7785
|
"scroll-my": [{
|
|
7786
|
-
"scroll-my":
|
|
7786
|
+
"scroll-my": b()
|
|
7787
7787
|
}],
|
|
7788
7788
|
/**
|
|
7789
7789
|
* Scroll Margin Inline Start
|
|
7790
7790
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7791
7791
|
*/
|
|
7792
7792
|
"scroll-ms": [{
|
|
7793
|
-
"scroll-ms":
|
|
7793
|
+
"scroll-ms": b()
|
|
7794
7794
|
}],
|
|
7795
7795
|
/**
|
|
7796
7796
|
* Scroll Margin Inline End
|
|
7797
7797
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7798
7798
|
*/
|
|
7799
7799
|
"scroll-me": [{
|
|
7800
|
-
"scroll-me":
|
|
7800
|
+
"scroll-me": b()
|
|
7801
7801
|
}],
|
|
7802
7802
|
/**
|
|
7803
7803
|
* Scroll Margin Block Start
|
|
7804
7804
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7805
7805
|
*/
|
|
7806
7806
|
"scroll-mbs": [{
|
|
7807
|
-
"scroll-mbs":
|
|
7807
|
+
"scroll-mbs": b()
|
|
7808
7808
|
}],
|
|
7809
7809
|
/**
|
|
7810
7810
|
* Scroll Margin Block End
|
|
7811
7811
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7812
7812
|
*/
|
|
7813
7813
|
"scroll-mbe": [{
|
|
7814
|
-
"scroll-mbe":
|
|
7814
|
+
"scroll-mbe": b()
|
|
7815
7815
|
}],
|
|
7816
7816
|
/**
|
|
7817
7817
|
* Scroll Margin Top
|
|
7818
7818
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7819
7819
|
*/
|
|
7820
7820
|
"scroll-mt": [{
|
|
7821
|
-
"scroll-mt":
|
|
7821
|
+
"scroll-mt": b()
|
|
7822
7822
|
}],
|
|
7823
7823
|
/**
|
|
7824
7824
|
* Scroll Margin Right
|
|
7825
7825
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7826
7826
|
*/
|
|
7827
7827
|
"scroll-mr": [{
|
|
7828
|
-
"scroll-mr":
|
|
7828
|
+
"scroll-mr": b()
|
|
7829
7829
|
}],
|
|
7830
7830
|
/**
|
|
7831
7831
|
* Scroll Margin Bottom
|
|
7832
7832
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7833
7833
|
*/
|
|
7834
7834
|
"scroll-mb": [{
|
|
7835
|
-
"scroll-mb":
|
|
7835
|
+
"scroll-mb": b()
|
|
7836
7836
|
}],
|
|
7837
7837
|
/**
|
|
7838
7838
|
* Scroll Margin Left
|
|
7839
7839
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
7840
7840
|
*/
|
|
7841
7841
|
"scroll-ml": [{
|
|
7842
|
-
"scroll-ml":
|
|
7842
|
+
"scroll-ml": b()
|
|
7843
7843
|
}],
|
|
7844
7844
|
/**
|
|
7845
7845
|
* Scroll Padding
|
|
7846
7846
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7847
7847
|
*/
|
|
7848
7848
|
"scroll-p": [{
|
|
7849
|
-
"scroll-p":
|
|
7849
|
+
"scroll-p": b()
|
|
7850
7850
|
}],
|
|
7851
7851
|
/**
|
|
7852
7852
|
* Scroll Padding Inline
|
|
7853
7853
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7854
7854
|
*/
|
|
7855
7855
|
"scroll-px": [{
|
|
7856
|
-
"scroll-px":
|
|
7856
|
+
"scroll-px": b()
|
|
7857
7857
|
}],
|
|
7858
7858
|
/**
|
|
7859
7859
|
* Scroll Padding Block
|
|
7860
7860
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7861
7861
|
*/
|
|
7862
7862
|
"scroll-py": [{
|
|
7863
|
-
"scroll-py":
|
|
7863
|
+
"scroll-py": b()
|
|
7864
7864
|
}],
|
|
7865
7865
|
/**
|
|
7866
7866
|
* Scroll Padding Inline Start
|
|
7867
7867
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7868
7868
|
*/
|
|
7869
7869
|
"scroll-ps": [{
|
|
7870
|
-
"scroll-ps":
|
|
7870
|
+
"scroll-ps": b()
|
|
7871
7871
|
}],
|
|
7872
7872
|
/**
|
|
7873
7873
|
* Scroll Padding Inline End
|
|
7874
7874
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7875
7875
|
*/
|
|
7876
7876
|
"scroll-pe": [{
|
|
7877
|
-
"scroll-pe":
|
|
7877
|
+
"scroll-pe": b()
|
|
7878
7878
|
}],
|
|
7879
7879
|
/**
|
|
7880
7880
|
* Scroll Padding Block Start
|
|
7881
7881
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7882
7882
|
*/
|
|
7883
7883
|
"scroll-pbs": [{
|
|
7884
|
-
"scroll-pbs":
|
|
7884
|
+
"scroll-pbs": b()
|
|
7885
7885
|
}],
|
|
7886
7886
|
/**
|
|
7887
7887
|
* Scroll Padding Block End
|
|
7888
7888
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7889
7889
|
*/
|
|
7890
7890
|
"scroll-pbe": [{
|
|
7891
|
-
"scroll-pbe":
|
|
7891
|
+
"scroll-pbe": b()
|
|
7892
7892
|
}],
|
|
7893
7893
|
/**
|
|
7894
7894
|
* Scroll Padding Top
|
|
7895
7895
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7896
7896
|
*/
|
|
7897
7897
|
"scroll-pt": [{
|
|
7898
|
-
"scroll-pt":
|
|
7898
|
+
"scroll-pt": b()
|
|
7899
7899
|
}],
|
|
7900
7900
|
/**
|
|
7901
7901
|
* Scroll Padding Right
|
|
7902
7902
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7903
7903
|
*/
|
|
7904
7904
|
"scroll-pr": [{
|
|
7905
|
-
"scroll-pr":
|
|
7905
|
+
"scroll-pr": b()
|
|
7906
7906
|
}],
|
|
7907
7907
|
/**
|
|
7908
7908
|
* Scroll Padding Bottom
|
|
7909
7909
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7910
7910
|
*/
|
|
7911
7911
|
"scroll-pb": [{
|
|
7912
|
-
"scroll-pb":
|
|
7912
|
+
"scroll-pb": b()
|
|
7913
7913
|
}],
|
|
7914
7914
|
/**
|
|
7915
7915
|
* Scroll Padding Left
|
|
7916
7916
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
7917
7917
|
*/
|
|
7918
7918
|
"scroll-pl": [{
|
|
7919
|
-
"scroll-pl":
|
|
7919
|
+
"scroll-pl": b()
|
|
7920
7920
|
}],
|
|
7921
7921
|
/**
|
|
7922
7922
|
* Scroll Snap Align
|
|
@@ -8288,21 +8288,21 @@ function yg(t, e) {
|
|
|
8288
8288
|
}, v = (k) => {
|
|
8289
8289
|
k.persisted && m();
|
|
8290
8290
|
}, g = (k) => {
|
|
8291
|
-
const
|
|
8292
|
-
return { sub: typeof
|
|
8291
|
+
const b = k ?? {};
|
|
8292
|
+
return { sub: typeof b.sub == "string" ? b.sub : "", ...b };
|
|
8293
8293
|
}, y = async (k) => {
|
|
8294
|
-
const
|
|
8295
|
-
if (d = k,
|
|
8294
|
+
const b = bg(d, k);
|
|
8295
|
+
if (d = k, b === "login") {
|
|
8296
8296
|
const p = u ? await u.auth.getUser().catch(() => null) : null;
|
|
8297
8297
|
Mr(e.$$host, "sesamy:login-success", { userinfo: g(p) });
|
|
8298
|
-
} else
|
|
8298
|
+
} else b === "logout" && Mr(e.$$host, "sesamy:logout", {});
|
|
8299
8299
|
}, C = () => {
|
|
8300
8300
|
y("authenticated");
|
|
8301
8301
|
}, T = () => {
|
|
8302
8302
|
y("unauthenticated");
|
|
8303
8303
|
}, $ = (k) => {
|
|
8304
|
-
const
|
|
8305
|
-
|
|
8304
|
+
const b = k.target, p = e.$$host.querySelector('[slot="popup-menu"]');
|
|
8305
|
+
b !== e.$$host && !e.$$host.contains(b) && b !== p && !(p && p.contains(b)) && R(i, !1);
|
|
8306
8306
|
};
|
|
8307
8307
|
Wo(() => {
|
|
8308
8308
|
window.addEventListener(Ft.AUTHENTICATED, C), window.addEventListener(Ft.LOGOUT, T), window.addEventListener("pageshow", v), document.addEventListener("pointerdown", $);
|
|
@@ -8313,19 +8313,19 @@ function yg(t, e) {
|
|
|
8313
8313
|
R(o, !0), h && clearTimeout(h), h = setTimeout(m, f);
|
|
8314
8314
|
try {
|
|
8315
8315
|
await k.auth.login({ appState: { source: "login-component" } });
|
|
8316
|
-
} catch (
|
|
8316
|
+
} catch (b) {
|
|
8317
8317
|
m();
|
|
8318
|
-
const p =
|
|
8318
|
+
const p = b instanceof Error ? b : void 0, S = p && p.code || ((p == null ? void 0 : p.name) ?? "login_failed");
|
|
8319
8319
|
Mr(e.$$host, "sesamy:login-error", {
|
|
8320
|
-
error: { code: S, message: (p == null ? void 0 : p.message) ?? String(
|
|
8321
|
-
}), console.error("Login failed:",
|
|
8320
|
+
error: { code: S, message: (p == null ? void 0 : p.message) ?? String(b), cause: b }
|
|
8321
|
+
}), console.error("Login failed:", b);
|
|
8322
8322
|
}
|
|
8323
8323
|
}, M = async (k) => {
|
|
8324
8324
|
u = k;
|
|
8325
8325
|
try {
|
|
8326
8326
|
n(await k.auth.isAuthenticated()), d = n() ? "authenticated" : "unauthenticated", n() && (R(s, await k.auth.getUser(), !0), R(l, await k.generateLink({ target: "account" }), !0));
|
|
8327
|
-
} catch (
|
|
8328
|
-
console.error("Error checking login status:",
|
|
8327
|
+
} catch (b) {
|
|
8328
|
+
console.error("Error checking login status:", b);
|
|
8329
8329
|
}
|
|
8330
8330
|
};
|
|
8331
8331
|
var w = {
|
|
@@ -8351,8 +8351,8 @@ function yg(t, e) {
|
|
|
8351
8351
|
return fa(t, {
|
|
8352
8352
|
children: Ho,
|
|
8353
8353
|
$$slots: {
|
|
8354
|
-
default: (k,
|
|
8355
|
-
const p = /* @__PURE__ */ Z(() =>
|
|
8354
|
+
default: (k, b) => {
|
|
8355
|
+
const p = /* @__PURE__ */ Z(() => b.api), S = /* @__PURE__ */ Z(() => b.t);
|
|
8356
8356
|
var U = Ye(), O = V(U);
|
|
8357
8357
|
nn(
|
|
8358
8358
|
O,
|
|
@@ -8699,14 +8699,14 @@ function Zc(t, e) {
|
|
|
8699
8699
|
}
|
|
8700
8700
|
var k = A(M);
|
|
8701
8701
|
{
|
|
8702
|
-
var
|
|
8702
|
+
var b = (p) => {
|
|
8703
8703
|
var S = qg();
|
|
8704
8704
|
H(() => {
|
|
8705
8705
|
Ae(S, "width", a()), Ae(S, "height", o());
|
|
8706
8706
|
}), x(p, S);
|
|
8707
8707
|
};
|
|
8708
8708
|
q(k, (p) => {
|
|
8709
|
-
c(r) === "mastercard" && p(
|
|
8709
|
+
c(r) === "mastercard" && p(b);
|
|
8710
8710
|
});
|
|
8711
8711
|
}
|
|
8712
8712
|
x(t, s), Ue();
|
|
@@ -9047,10 +9047,10 @@ function w4(t, e) {
|
|
|
9047
9047
|
var T = Ye(), $ = V(T);
|
|
9048
9048
|
{
|
|
9049
9049
|
var I = (w) => {
|
|
9050
|
-
var k = m4(),
|
|
9050
|
+
var k = m4(), b = K(k);
|
|
9051
9051
|
{
|
|
9052
9052
|
let p = /* @__PURE__ */ Z(() => ie("border bg-white dark:bg-black/25 border-gray-300 rounded-lg relative h-full", c(v).tag && "border-primary mt-0 border-2"));
|
|
9053
|
-
Tt(
|
|
9053
|
+
Tt(b, {
|
|
9054
9054
|
get class() {
|
|
9055
9055
|
return c(p);
|
|
9056
9056
|
},
|
|
@@ -9234,17 +9234,17 @@ function w4(t, e) {
|
|
|
9234
9234
|
}
|
|
9235
9235
|
B(k), x(w, k);
|
|
9236
9236
|
}, M = (w) => {
|
|
9237
|
-
var k = so(),
|
|
9237
|
+
var k = so(), b = V(k);
|
|
9238
9238
|
{
|
|
9239
9239
|
var p = (U) => {
|
|
9240
9240
|
var O = p4();
|
|
9241
9241
|
H((oe) => Ge(O, 1, oe), [() => Ve(ie("w-full border-primary opacity-25"))]), x(U, O);
|
|
9242
9242
|
};
|
|
9243
|
-
q(
|
|
9243
|
+
q(b, (U) => {
|
|
9244
9244
|
m && U(p);
|
|
9245
9245
|
});
|
|
9246
9246
|
}
|
|
9247
|
-
var S = A(
|
|
9247
|
+
var S = A(b, 2);
|
|
9248
9248
|
Io(S, {
|
|
9249
9249
|
get id() {
|
|
9250
9250
|
return c(v).id;
|
|
@@ -10277,8 +10277,8 @@ var t6 = /* @__PURE__ */ N('<div class="w-full rounded-md border border-gray-200
|
|
|
10277
10277
|
function r6(t, e) {
|
|
10278
10278
|
He(e, !0);
|
|
10279
10279
|
let r = te(e, "year", 15, ""), n = te(e, "month", 15, ""), a = te(e, "day", 15, ""), o = te(e, "hasError", 3, !1), i, s, l;
|
|
10280
|
-
const d = (M, w, k) => (
|
|
10281
|
-
const p =
|
|
10280
|
+
const d = (M, w, k) => (b) => {
|
|
10281
|
+
const p = b.target, S = p.value.replace(/[^0-9]/g, ""), U = w ? S.slice(0, w) : S;
|
|
10282
10282
|
p.value = U, M(U), w && k && U.length === w && setTimeout(
|
|
10283
10283
|
() => {
|
|
10284
10284
|
const O = k();
|
|
@@ -10289,8 +10289,8 @@ function r6(t, e) {
|
|
|
10289
10289
|
}, u = (M) => (w) => {
|
|
10290
10290
|
w.key === "Backspace" && w.target.value === "" && M && setTimeout(
|
|
10291
10291
|
() => {
|
|
10292
|
-
const
|
|
10293
|
-
|
|
10292
|
+
const b = M();
|
|
10293
|
+
b && b.focus && b.focus();
|
|
10294
10294
|
},
|
|
10295
10295
|
0
|
|
10296
10296
|
);
|
|
@@ -10306,7 +10306,7 @@ function r6(t, e) {
|
|
|
10306
10306
|
};
|
|
10307
10307
|
var v = t6(), g = K(v), y = De(g, !0), C = A(g, 2), T = K(C);
|
|
10308
10308
|
{
|
|
10309
|
-
let M = /* @__PURE__ */ Z(() => d(h, 4, () => s)), w = /* @__PURE__ */ Z(u), k = /* @__PURE__ */ Z(() => e.t("year")),
|
|
10309
|
+
let M = /* @__PURE__ */ Z(() => d(h, 4, () => s)), w = /* @__PURE__ */ Z(u), k = /* @__PURE__ */ Z(() => e.t("year")), b = /* @__PURE__ */ Z(() => (/* @__PURE__ */ new Date()).getFullYear());
|
|
10310
10310
|
_o(
|
|
10311
10311
|
er(T, {
|
|
10312
10312
|
get oninput() {
|
|
@@ -10326,7 +10326,7 @@ function r6(t, e) {
|
|
|
10326
10326
|
},
|
|
10327
10327
|
min: "1900",
|
|
10328
10328
|
get max() {
|
|
10329
|
-
return c(
|
|
10329
|
+
return c(b);
|
|
10330
10330
|
},
|
|
10331
10331
|
autocomplete: "bday-year",
|
|
10332
10332
|
class: "rounded-none rounded-bl-md w-[calc(100%+1px)]",
|
|
@@ -10368,11 +10368,11 @@ function r6(t, e) {
|
|
|
10368
10368
|
get value() {
|
|
10369
10369
|
return n();
|
|
10370
10370
|
},
|
|
10371
|
-
set value(
|
|
10372
|
-
n(
|
|
10371
|
+
set value(b) {
|
|
10372
|
+
n(b);
|
|
10373
10373
|
}
|
|
10374
10374
|
}),
|
|
10375
|
-
(
|
|
10375
|
+
(b) => s = b,
|
|
10376
10376
|
() => s
|
|
10377
10377
|
);
|
|
10378
10378
|
}
|
|
@@ -10403,11 +10403,11 @@ function r6(t, e) {
|
|
|
10403
10403
|
get value() {
|
|
10404
10404
|
return a();
|
|
10405
10405
|
},
|
|
10406
|
-
set value(
|
|
10407
|
-
a(
|
|
10406
|
+
set value(b) {
|
|
10407
|
+
a(b);
|
|
10408
10408
|
}
|
|
10409
10409
|
}),
|
|
10410
|
-
(
|
|
10410
|
+
(b) => l = b,
|
|
10411
10411
|
() => l
|
|
10412
10412
|
);
|
|
10413
10413
|
}
|
|
@@ -10786,10 +10786,10 @@ function h6(t, e) {
|
|
|
10786
10786
|
Lc(I), B(g);
|
|
10787
10787
|
var w = A(g, 2);
|
|
10788
10788
|
Ki(w);
|
|
10789
|
-
var k = A(w, 2),
|
|
10789
|
+
var k = A(w, 2), b = De(k, !0);
|
|
10790
10790
|
B(v), H(
|
|
10791
10791
|
(p, S, U, O, oe, Ie) => {
|
|
10792
|
-
Ge(v, 1, p), ee(T, `+${S ?? ""}`), Ae(I, "aria-label", U), M !== (M = a()) && (I.value = (I.__value = M) ?? "", Ia(I, M)), Yu(w, c(s)), Ae(w, "name", e.name), Ge(w, 1, O), Ge(k, 1, oe), ee(
|
|
10792
|
+
Ge(v, 1, p), ee(T, `+${S ?? ""}`), Ae(I, "aria-label", U), M !== (M = a()) && (I.value = (I.__value = M) ?? "", Ia(I, M)), Yu(w, c(s)), Ae(w, "name", e.name), Ge(w, 1, O), Ge(k, 1, oe), ee(b, Ie);
|
|
10793
10793
|
},
|
|
10794
10794
|
[
|
|
10795
10795
|
() => Ve(ie("relative w-full gap-2 column-left", i() && "z-20")),
|
|
@@ -10834,7 +10834,7 @@ function E6(t, e) {
|
|
|
10834
10834
|
E.length ? E.reduce((Ze, [nt, Qe]) => ({ ...Ze, [nt]: Qe }), {}) : void 0,
|
|
10835
10835
|
!0
|
|
10836
10836
|
);
|
|
10837
|
-
}, k = (E) => R(g, E, !0),
|
|
10837
|
+
}, k = (E) => R(g, E, !0), b = () => {
|
|
10838
10838
|
R(v, void 0), clearTimeout(C), C = setTimeout(
|
|
10839
10839
|
() => {
|
|
10840
10840
|
var E;
|
|
@@ -10981,7 +10981,7 @@ function E6(t, e) {
|
|
|
10981
10981
|
return (Te = c(v)) == null ? void 0 : Te.email;
|
|
10982
10982
|
});
|
|
10983
10983
|
er(W, {
|
|
10984
|
-
onkeyup:
|
|
10984
|
+
onkeyup: b,
|
|
10985
10985
|
name: "email",
|
|
10986
10986
|
compact: !0,
|
|
10987
10987
|
get placeholder() {
|
|
@@ -11470,7 +11470,7 @@ function nl(t, e) {
|
|
|
11470
11470
|
mainColor: M,
|
|
11471
11471
|
showLoginButton: w,
|
|
11472
11472
|
features: k,
|
|
11473
|
-
footerPaymentMethods:
|
|
11473
|
+
footerPaymentMethods: b,
|
|
11474
11474
|
logoUrl: p,
|
|
11475
11475
|
vendorId: S,
|
|
11476
11476
|
settings: {
|
|
@@ -11883,7 +11883,7 @@ function nl(t, e) {
|
|
|
11883
11883
|
class: "gap-2",
|
|
11884
11884
|
children: ($e, st) => {
|
|
11885
11885
|
var xt = Ye(), br = V(xt);
|
|
11886
|
-
an(br, 17, () =>
|
|
11886
|
+
an(br, 17, () => b, Ja, (_r, Kt) => {
|
|
11887
11887
|
Ea(_r, {
|
|
11888
11888
|
get name() {
|
|
11889
11889
|
return c(Kt);
|
|
@@ -11938,23 +11938,23 @@ function B6(t, e) {
|
|
|
11938
11938
|
const $ = () => {
|
|
11939
11939
|
clearTimeout(d), d = setTimeout(
|
|
11940
11940
|
() => {
|
|
11941
|
-
var
|
|
11942
|
-
R(u, ((
|
|
11941
|
+
var b;
|
|
11942
|
+
R(u, ((b = ns.run({ email: c(h) })) == null ? void 0 : b.full) || "", !0);
|
|
11943
11943
|
},
|
|
11944
11944
|
400
|
|
11945
11945
|
);
|
|
11946
11946
|
}, I = async () => {
|
|
11947
11947
|
var p;
|
|
11948
|
-
let
|
|
11948
|
+
let b = !1;
|
|
11949
11949
|
try {
|
|
11950
|
-
|
|
11950
|
+
b = await e.api.auth.isAuthenticated();
|
|
11951
11951
|
} catch (S) {
|
|
11952
11952
|
console.error("Auth check failed:", S);
|
|
11953
11953
|
}
|
|
11954
|
-
return
|
|
11955
|
-
}, M = async (
|
|
11954
|
+
return b || ((p = e.onShown) == null || p.call(e), e.host && Mr(e.host, "sesamy:paywall-shown", { reason: "unauthenticated" })), b;
|
|
11955
|
+
}, M = async (b, p) => {
|
|
11956
11956
|
var S;
|
|
11957
|
-
|
|
11957
|
+
b.preventDefault();
|
|
11958
11958
|
try {
|
|
11959
11959
|
await p.auth.login({
|
|
11960
11960
|
authorizationParams: {
|
|
@@ -11968,7 +11968,7 @@ function B6(t, e) {
|
|
|
11968
11968
|
}
|
|
11969
11969
|
};
|
|
11970
11970
|
var w = Ye(), k = V(w);
|
|
11971
|
-
nn(k, I, null, (
|
|
11971
|
+
nn(k, I, null, (b, p) => {
|
|
11972
11972
|
var S = Ye(), U = V(S);
|
|
11973
11973
|
{
|
|
11974
11974
|
var O = (oe) => {
|
|
@@ -12141,7 +12141,7 @@ function B6(t, e) {
|
|
|
12141
12141
|
c(p) || oe(O);
|
|
12142
12142
|
});
|
|
12143
12143
|
}
|
|
12144
|
-
x(
|
|
12144
|
+
x(b, S);
|
|
12145
12145
|
}), x(t, w), Ue();
|
|
12146
12146
|
}
|
|
12147
12147
|
Kr(["click"]);
|
|
@@ -12175,7 +12175,7 @@ function e5(t, e) {
|
|
|
12175
12175
|
useDefaultLogo: M,
|
|
12176
12176
|
styling: w,
|
|
12177
12177
|
redirectUrl: k,
|
|
12178
|
-
redirectLabel:
|
|
12178
|
+
redirectLabel: b
|
|
12179
12179
|
}
|
|
12180
12180
|
} = e.paywall;
|
|
12181
12181
|
const p = f.find(({ selected: de }) => de) || f[0], S = Array.isArray(p == null ? void 0 : p.features) && p.features.length > 0 ? p.features : Array.isArray(C) ? C : [];
|
|
@@ -12232,7 +12232,7 @@ function e5(t, e) {
|
|
|
12232
12232
|
email: j,
|
|
12233
12233
|
requestedDiscountCodes: p.discountCode ? [p.discountCode] : void 0,
|
|
12234
12234
|
redirectUrl: Xc(p.redirectUrl, k, n == null ? void 0 : n["redirect-url"]),
|
|
12235
|
-
redirectLabel: Qc(p.redirectLabel,
|
|
12235
|
+
redirectLabel: Qc(p.redirectLabel, b, n == null ? void 0 : n["redirect-label"]),
|
|
12236
12236
|
price: p.price,
|
|
12237
12237
|
currency: v,
|
|
12238
12238
|
attribution: {
|
|
@@ -12544,23 +12544,23 @@ function a5(t, e) {
|
|
|
12544
12544
|
});
|
|
12545
12545
|
let a = /* @__PURE__ */ ce({ status: "pending" }), o = null, i = 0, s = !1, l;
|
|
12546
12546
|
function d(w) {
|
|
12547
|
-
var
|
|
12547
|
+
var b;
|
|
12548
12548
|
const k = e.$$host;
|
|
12549
|
-
return k.getAttribute("publisher-content-id") || ((
|
|
12549
|
+
return k.getAttribute("publisher-content-id") || ((b = w.content.get(k)) == null ? void 0 : b.id) || void 0;
|
|
12550
12550
|
}
|
|
12551
12551
|
function u(w, k) {
|
|
12552
|
-
var
|
|
12553
|
-
return w === null || k === null ? w === k : ((
|
|
12552
|
+
var b, p, S, U, O, oe;
|
|
12553
|
+
return w === null || k === null ? w === k : ((b = w.paywall) == null ? void 0 : b.id) === ((p = k.paywall) == null ? void 0 : p.id) && ((S = w.paywall) == null ? void 0 : S.decisionId) === ((U = k.paywall) == null ? void 0 : U.decisionId) && ((O = w.paywall) == null ? void 0 : O.strategyId) === ((oe = k.paywall) == null ? void 0 : oe.strategyId) && w.template === k.template && w.accessDenied === k.accessDenied;
|
|
12554
12554
|
}
|
|
12555
12555
|
function h(w) {
|
|
12556
12556
|
o = w;
|
|
12557
12557
|
const k = ++i;
|
|
12558
12558
|
M(w).then(
|
|
12559
|
-
(
|
|
12560
|
-
k === i && (c(a).status === "done" && u(c(a).result,
|
|
12559
|
+
(b) => {
|
|
12560
|
+
k === i && (c(a).status === "done" && u(c(a).result, b) || R(a, { status: "done", result: b }));
|
|
12561
12561
|
},
|
|
12562
|
-
(
|
|
12563
|
-
k === i && R(a, { status: "error", error:
|
|
12562
|
+
(b) => {
|
|
12563
|
+
k === i && R(a, { status: "error", error: b });
|
|
12564
12564
|
}
|
|
12565
12565
|
);
|
|
12566
12566
|
}
|
|
@@ -12573,8 +12573,8 @@ function a5(t, e) {
|
|
|
12573
12573
|
};
|
|
12574
12574
|
window.addEventListener(Ft.AUTHENTICATED, v), window.addEventListener(Ft.LOGOUT, v), window.addEventListener("online", v);
|
|
12575
12575
|
const g = (w) => {
|
|
12576
|
-
var
|
|
12577
|
-
const k = (
|
|
12576
|
+
var b;
|
|
12577
|
+
const k = (b = w.detail) == null ? void 0 : b.publisherContentId;
|
|
12578
12578
|
!k || !o || k !== d(o) || (l = k, s && h(o));
|
|
12579
12579
|
};
|
|
12580
12580
|
window.addEventListener(Ri.CONTENT_GRANTED, g);
|
|
@@ -12592,8 +12592,8 @@ function a5(t, e) {
|
|
|
12592
12592
|
}
|
|
12593
12593
|
async function M(w) {
|
|
12594
12594
|
var ge, ue;
|
|
12595
|
-
const k = e.$$host,
|
|
12596
|
-
s = (
|
|
12595
|
+
const k = e.$$host, b = w.content.get(k);
|
|
12596
|
+
s = (b == null ? void 0 : b.legacyContentAccess) === !1 && (b == null ? void 0 : b.accessLevel) !== "public" && typeof w.content.hasAccess == "function";
|
|
12597
12597
|
let p = !1;
|
|
12598
12598
|
if (s) {
|
|
12599
12599
|
let ne;
|
|
@@ -12624,7 +12624,7 @@ function a5(t, e) {
|
|
|
12624
12624
|
children: Ho,
|
|
12625
12625
|
$$slots: {
|
|
12626
12626
|
default: (w, k) => {
|
|
12627
|
-
const
|
|
12627
|
+
const b = /* @__PURE__ */ Z(() => k.api), p = /* @__PURE__ */ Z(() => k.t), S = /* @__PURE__ */ Z(() => e.$$host);
|
|
12628
12628
|
Ct();
|
|
12629
12629
|
var U = sl(), O = V(U), oe = A(O);
|
|
12630
12630
|
{
|
|
@@ -12637,7 +12637,7 @@ function a5(t, e) {
|
|
|
12637
12637
|
Hr(
|
|
12638
12638
|
{
|
|
12639
12639
|
get api() {
|
|
12640
|
-
return c(
|
|
12640
|
+
return c(b);
|
|
12641
12641
|
},
|
|
12642
12642
|
get t() {
|
|
12643
12643
|
return c(p);
|
|
@@ -12658,7 +12658,7 @@ function a5(t, e) {
|
|
|
12658
12658
|
nl(ye, Hr(
|
|
12659
12659
|
{
|
|
12660
12660
|
get api() {
|
|
12661
|
-
return c(
|
|
12661
|
+
return c(b);
|
|
12662
12662
|
},
|
|
12663
12663
|
get accessDenied() {
|
|
12664
12664
|
return c(ue).accessDenied;
|
|
@@ -12682,7 +12682,7 @@ function a5(t, e) {
|
|
|
12682
12682
|
{
|
|
12683
12683
|
horizontal: !0,
|
|
12684
12684
|
get api() {
|
|
12685
|
-
return c(
|
|
12685
|
+
return c(b);
|
|
12686
12686
|
},
|
|
12687
12687
|
get accessDenied() {
|
|
12688
12688
|
return c(ue).accessDenied;
|
|
@@ -12705,7 +12705,7 @@ function a5(t, e) {
|
|
|
12705
12705
|
e5(ye, Hr(
|
|
12706
12706
|
{
|
|
12707
12707
|
get api() {
|
|
12708
|
-
return c(
|
|
12708
|
+
return c(b);
|
|
12709
12709
|
},
|
|
12710
12710
|
get accessDenied() {
|
|
12711
12711
|
return c(ue).accessDenied;
|
|
@@ -12728,7 +12728,7 @@ function a5(t, e) {
|
|
|
12728
12728
|
B6(ye, Hr(
|
|
12729
12729
|
{
|
|
12730
12730
|
get api() {
|
|
12731
|
-
return c(
|
|
12731
|
+
return c(b);
|
|
12732
12732
|
},
|
|
12733
12733
|
get t() {
|
|
12734
12734
|
return c(p);
|
|
@@ -12750,7 +12750,7 @@ function a5(t, e) {
|
|
|
12750
12750
|
});
|
|
12751
12751
|
}
|
|
12752
12752
|
H((ye) => ee(de, `${ye ?? ""} `), [
|
|
12753
|
-
() => c(
|
|
12753
|
+
() => c(b).log(`sesamy-paywall with template ${c(ue).template}`)
|
|
12754
12754
|
]), x(Se, pe);
|
|
12755
12755
|
};
|
|
12756
12756
|
q(F, (Se) => {
|
|
@@ -12766,7 +12766,7 @@ function a5(t, e) {
|
|
|
12766
12766
|
c(a).status === "pending" ? ge(Ie) : c(a).status === "done" ? ge(ke, 1) : c(a).status === "error" && ge(ve, 2);
|
|
12767
12767
|
});
|
|
12768
12768
|
}
|
|
12769
|
-
H((ge) => ee(O, `${ge ?? ""} `), [() => m(c(
|
|
12769
|
+
H((ge) => ee(O, `${ge ?? ""} `), [() => m(c(b)) ?? ""]), x(w, U);
|
|
12770
12770
|
}
|
|
12771
12771
|
}
|
|
12772
12772
|
}), Ue();
|
|
@@ -12876,7 +12876,7 @@ function dl(t, e) {
|
|
|
12876
12876
|
var v5 = /* @__PURE__ */ N(" <!>", 1);
|
|
12877
12877
|
function m5(t, e) {
|
|
12878
12878
|
He(e, !0);
|
|
12879
|
-
let r = te(e, "item-src", 7, ""), n = te(e, "access-level", 7), a = te(e, "publisher-content-id", 7), o = te(e, "lock-mode", 7, "embed"), i = te(e, "locked-content-selector", 7), s = null, l = !1, d = !1, u = /* @__PURE__ */ ce("unknown"), h = null, f = null, m = !1, v = null, g = -1, y = -1, C = No.length, T = !1, $ = null, I = 0, M = -1, w = 0, k = 0,
|
|
12879
|
+
let r = te(e, "item-src", 7, ""), n = te(e, "access-level", 7), a = te(e, "publisher-content-id", 7), o = te(e, "lock-mode", 7, "embed"), i = te(e, "locked-content-selector", 7), s = null, l = !1, d = !1, u = /* @__PURE__ */ ce("unknown"), h = null, f = null, m = !1, v = null, g = -1, y = -1, C = No.length, T = !1, $ = null, I = 0, M = -1, w = 0, k = 0, b = null, p = 0, S = 0, U = !1, O = !1, oe = null;
|
|
12880
12880
|
function Ie() {
|
|
12881
12881
|
const z = e.$$host;
|
|
12882
12882
|
if (!z || s) return;
|
|
@@ -12966,15 +12966,15 @@ function m5(t, e) {
|
|
|
12966
12966
|
k++, p++, S || (S = Date.now()), Y(z, L, P), D && pe(z, P);
|
|
12967
12967
|
}
|
|
12968
12968
|
function Se() {
|
|
12969
|
-
|
|
12969
|
+
b !== null && (clearTimeout(b), b = null);
|
|
12970
12970
|
}
|
|
12971
12971
|
function pe(z, L) {
|
|
12972
12972
|
Se();
|
|
12973
12973
|
const P = l5(k - 1);
|
|
12974
|
-
z.log(`Access unresolved (${L ?? "unknown"}); checking again in ${P}ms`),
|
|
12974
|
+
z.log(`Access unresolved (${L ?? "unknown"}); checking again in ${P}ms`), b = setTimeout(
|
|
12975
12975
|
() => {
|
|
12976
12976
|
var D;
|
|
12977
|
-
|
|
12977
|
+
b = null, (D = e.$$host) != null && D.isConnected && ne(z);
|
|
12978
12978
|
},
|
|
12979
12979
|
P
|
|
12980
12980
|
);
|