@nil-/xit 0.4.14 → 0.4.16
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.
- package/assets/bundler.js +8 -1
- package/assets/index.js +2 -1
- package/assets/svelte/index.js +134 -134
- package/assets/svelte/internal/client.js +60 -60
- package/assets/svelte/motion.js +136 -168
- package/assets/svelte/reactivity.js +481 -0
- package/assets/svelte/store.js +2 -1
- package/components/loaders/Helpers.d.ts +14 -14
- package/components/loaders/Reactive.svelte +14 -14
- package/components/loaders/ReadOnly.svelte +15 -15
- package/package.json +1 -1
- package/test/Main.svelte +23 -14
- package/test/Main.svelte.d.ts +6 -2
|
@@ -5,8 +5,8 @@ var vt = (e) => {
|
|
|
5
5
|
var ar = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
6
6
|
var M = (e, t, r) => ar(e, typeof t != "symbol" ? t + "" : t, r), Fe = (e, t, r) => t.has(e) || vt("Cannot " + r);
|
|
7
7
|
var E = (e, t, r) => (Fe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), j = (e, t, r) => t.has(e) ? vt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), ce = (e, t, r, i) => (Fe(e, t, "write to private field"), i ? i.call(e, r) : t.set(e, r), r), _t = (e, t, r) => (Fe(e, t, "access private method"), r);
|
|
8
|
-
import { A as Lt, u as O,
|
|
9
|
-
import {
|
|
8
|
+
import { A as Lt, u as O, m as sr, p as Pt, q as g, H as Mt, v as Le, w as Dt, F as H, b as re, x as fr, y as U, E as le, g as T, z as k, B as Te, C as me, D as N, G as se, S as ie, I as ur, J as lr, K as fe, L as Pe, M as or, N as cr, O as dr, P as vr, U as ue, Q as qt, R as ht, T as B, V as bt, W as $e, X as q, Y as P, Z as he, _ as X, h as J, d as Z, $ as Ne, a0 as W, a1 as z, a2 as Bt, a3 as xt, a4 as _r, c as C, a5 as Q, a6 as ee, a7 as Ht, a8 as zt, a9 as hr, aa as Ye, ab as Ft, i as Y, ac as rt, ad as it, ae as Me, af as De, ag as br, ah as $r, ai as pr, aj as gr, ak as wr, al as Yt, am as mr, an as yr, ao as Ar, ap as Er, aq as Qe, ar as Sr, as as Tr, at as Nr, au as x, av as Ut, s as Cr, aw as kr, ax as Ir, ay as Or, az as Rr, aA as Lr, aB as Pr, aC as Mr, aD as Dr, aE as qr, aF as Br, f as nt, aG as xr, aH as Hr, aI as zr, aJ as Fr, aK as Yr, aL as ne, n as K, aM as Ur, aN as Vr, aO as Kr, aP as at, aQ as R, aR as ye, aS as Vt, aT as Gr, aU as Wr, aV as $t, aW as Xr, r as pt, aX as Kt, a as qe, aY as Ce, aZ as Jr, a_ as Gt, a$ as Zr, b0 as Qr, b1 as jr, b2 as ei, b3 as gt, b4 as ti, b5 as ri, b6 as ii, b7 as ni, b8 as Ue, b9 as ai, ba as si, bb as fi, bc as ui, bd as li, be as oi, bf as ci, bg as ke, j as di, bh as vi, bi as _i } from "../index.js";
|
|
9
|
+
import { bp as Ba, bN as xa, bv as Ha, bM as za, k as Fa, bR as Ya, e as Ua, bZ as Va, bq as Ka, bL as Ga, bS as Wa, bO as Xa, bw as Ja, bx as Za, by as Qa, bz as ja, bo as es, bt as ts, bT as rs, bK as is, bD as ns, bE as as, bF as ss, bk as fs, bX as us, bB as ls, bj as os, bs as cs, br as ds, bu as vs, bJ as _s, bI as hs, bP as bs, bm as $s, bG as ps, bY as gs, bA as ws, t as ms, bl as ys, bH as As, bU as Es, bV as Ss, bW as Ts, bQ as Ns, bC as Cs, bn as ks } from "../index.js";
|
|
10
10
|
import { l as hi } from "../motion.js";
|
|
11
11
|
import { r as Os } from "../motion.js";
|
|
12
12
|
import { s as bi, g as $i } from "../store.js";
|
|
@@ -99,7 +99,7 @@ function nn(e, t) {
|
|
|
99
99
|
for (var c in a) delete a[c];
|
|
100
100
|
me(s);
|
|
101
101
|
}
|
|
102
|
-
s =
|
|
102
|
+
s = k(() => {
|
|
103
103
|
f && Te(!1), Object.defineProperties(
|
|
104
104
|
a,
|
|
105
105
|
Object.getOwnPropertyDescriptors(
|
|
@@ -205,7 +205,7 @@ function on(e, t, r, i, n) {
|
|
|
205
205
|
function b($, m) {
|
|
206
206
|
v = !0, m && (J(w), Z(w), Ne(s));
|
|
207
207
|
try {
|
|
208
|
-
$ === Ve && r && (l ? W(l) : l =
|
|
208
|
+
$ === Ve && r && (l ? W(l) : l = k(() => r(a))), $ === Ae && i && (u ? W(u) : u = k(() => i(a, d))), $ === Ke && n && (c ? W(c) : c = k(() => n(a, o))), $ !== Ve && l && z(l, () => l = null), $ !== Ae && u && z(u, () => u = null), $ !== Ke && c && z(c, () => c = null);
|
|
209
209
|
} finally {
|
|
210
210
|
m && (Ne(null), Z(null), J(null), Bt());
|
|
211
211
|
}
|
|
@@ -223,7 +223,7 @@ function on(e, t, r, i, n) {
|
|
|
223
223
|
if (m === f && (he(o, A), b(Ke, !0), !n))
|
|
224
224
|
throw o.v;
|
|
225
225
|
}
|
|
226
|
-
), g ? r && (l =
|
|
226
|
+
), g ? r && (l = k(() => r(a))) : X(() => {
|
|
227
227
|
v || b(Ve, !0);
|
|
228
228
|
});
|
|
229
229
|
} else
|
|
@@ -248,9 +248,9 @@ function cn(e, t, [r, i] = [0, 0]) {
|
|
|
248
248
|
const w = i > r;
|
|
249
249
|
!!f === w && (n = $e(), q(n), P(!1), b = !0, i = -1);
|
|
250
250
|
}
|
|
251
|
-
f ? (a ? W(a) : v && (a =
|
|
251
|
+
f ? (a ? W(a) : v && (a = k(() => v(n))), s && z(s, () => {
|
|
252
252
|
s = null;
|
|
253
|
-
})) : (s ? W(s) : v && (s =
|
|
253
|
+
})) : (s ? W(s) : v && (s = k(() => v(n, [r + 1, i]))), a && z(a, () => {
|
|
254
254
|
a = null;
|
|
255
255
|
})), b && P(!0);
|
|
256
256
|
};
|
|
@@ -262,7 +262,7 @@ function dn(e, t, r) {
|
|
|
262
262
|
g && B();
|
|
263
263
|
var i = e, n = ue, a, s = _r;
|
|
264
264
|
U(() => {
|
|
265
|
-
s(n, n = t()) && (a && z(a), a =
|
|
265
|
+
s(n, n = t()) && (a && z(a), a = k(() => r(i)));
|
|
266
266
|
}), g && (i = N);
|
|
267
267
|
}
|
|
268
268
|
function vn(e, t) {
|
|
@@ -359,7 +359,7 @@ function hn(e, t, r, i, n, a = null) {
|
|
|
359
359
|
}
|
|
360
360
|
b > 0 && q($e());
|
|
361
361
|
}
|
|
362
|
-
g || wi(v, f, s, n, t, i, r), a !== null && (b === 0 ? c ? W(c) : c =
|
|
362
|
+
g || wi(v, f, s, n, t, i, r), a !== null && (b === 0 ? c ? W(c) : c = k(() => a(s)) : c !== null && z(c, () => {
|
|
363
363
|
c = null;
|
|
364
364
|
})), w && P(!0), T(o);
|
|
365
365
|
}), g && (s = N);
|
|
@@ -372,12 +372,12 @@ function wi(e, t, r, i, n, a, s) {
|
|
|
372
372
|
A = e[p], h = a(A, p), _ = c.get(h), _ !== void 0 && ((ut = _.a) == null || ut.measure(), (w ?? (w = /* @__PURE__ */ new Set())).add(_));
|
|
373
373
|
for (p = 0; p < u; p += 1) {
|
|
374
374
|
if (A = e[p], h = a(A, p), _ = c.get(h), _ === void 0) {
|
|
375
|
-
var
|
|
375
|
+
var I = o ? (
|
|
376
376
|
/** @type {TemplateNode} */
|
|
377
377
|
o.e.nodes_start
|
|
378
378
|
) : r;
|
|
379
379
|
b = Xt(
|
|
380
|
-
|
|
380
|
+
I,
|
|
381
381
|
t,
|
|
382
382
|
b,
|
|
383
383
|
b === null ? t.first : b.next,
|
|
@@ -455,7 +455,7 @@ function Xt(e, t, r, i, n, a, s, f, l, u) {
|
|
|
455
455
|
};
|
|
456
456
|
te = w;
|
|
457
457
|
try {
|
|
458
|
-
return w.e =
|
|
458
|
+
return w.e = k(() => f(e, v, b, u), g), w.e.prev = r && r.e, w.e.next = i && i.e, r === null ? t.first = w : (r.next = w, r.e.next = w.e), i !== null && (i.prev = w, i.e.prev = w.e), w;
|
|
459
459
|
} finally {
|
|
460
460
|
te = c;
|
|
461
461
|
}
|
|
@@ -545,7 +545,7 @@ function gn(e, t, r) {
|
|
|
545
545
|
g && B();
|
|
546
546
|
var i = e, n, a;
|
|
547
547
|
U(() => {
|
|
548
|
-
n !== (n = t()) && (a && (z(a), a = null), n && (a =
|
|
548
|
+
n !== (n = t()) && (a && (z(a), a = null), n && (a = k(() => r(i, n))));
|
|
549
549
|
}, le), g && (i = N);
|
|
550
550
|
}
|
|
551
551
|
function wn(e, t, r, i, n, a) {
|
|
@@ -565,7 +565,7 @@ function wn(e, t, r, i, n, a) {
|
|
|
565
565
|
var w = te;
|
|
566
566
|
yt(o), d && (v === null ? z(d, () => {
|
|
567
567
|
d = null, l = null;
|
|
568
|
-
}) : v === l ? W(d) : (me(d), Te(!1))), v && v !== l && (d =
|
|
568
|
+
}) : v === l ? W(d) : (me(d), Te(!1))), v && v !== l && (d = k(() => {
|
|
569
569
|
if (u = g ? (
|
|
570
570
|
/** @type {Element} */
|
|
571
571
|
u
|
|
@@ -624,7 +624,7 @@ function yn(e, t, r) {
|
|
|
624
624
|
function yi(e, t) {
|
|
625
625
|
var r = void 0, i;
|
|
626
626
|
U(() => {
|
|
627
|
-
r !== (r = t()) && (i && (me(i), i = null), r && (i =
|
|
627
|
+
r !== (r = t()) && (i && (me(i), i = null), r && (i = k(() => {
|
|
628
628
|
x(() => (
|
|
629
629
|
/** @type {(node: Element) => void} */
|
|
630
630
|
r(e)
|
|
@@ -729,7 +729,7 @@ function Ci(e, t) {
|
|
|
729
729
|
}
|
|
730
730
|
return e == null ? null : String(e);
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function ki(e, t, r, i, n, a) {
|
|
733
733
|
var s = e.__className;
|
|
734
734
|
if (g || s !== r || s === void 0) {
|
|
735
735
|
var f = Ni(r, i, a);
|
|
@@ -747,7 +747,7 @@ function We(e, t = {}, r, i) {
|
|
|
747
747
|
t[n] !== a && (r[n] == null ? e.style.removeProperty(n) : e.style.setProperty(n, a, i));
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ii(e, t, r, i) {
|
|
751
751
|
var n = e.__style;
|
|
752
752
|
if (g || n !== t) {
|
|
753
753
|
var a = Ci(t, i);
|
|
@@ -798,12 +798,12 @@ function Cn(e, t) {
|
|
|
798
798
|
}
|
|
799
799
|
function pe(e, t, r, i) {
|
|
800
800
|
var n = xe(e);
|
|
801
|
-
g && (n[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || n[t] !== (n[t] = r) && (t === "loading" && (e[
|
|
801
|
+
g && (n[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || n[t] !== (n[t] = r) && (t === "loading" && (e[kr] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && st(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function kn(e, t, r) {
|
|
804
804
|
e.setAttributeNS("http://www.w3.org/1999/xlink", t, r);
|
|
805
805
|
}
|
|
806
|
-
function
|
|
806
|
+
function In(e, t, r) {
|
|
807
807
|
var i = nt, n = Y;
|
|
808
808
|
let a = g;
|
|
809
809
|
g && P(!1), Z(null), J(null);
|
|
@@ -835,11 +835,11 @@ function On(e, t, r, i, n = !1) {
|
|
|
835
835
|
}
|
|
836
836
|
if (h === "class") {
|
|
837
837
|
var v = e.namespaceURI === "http://www.w3.org/1999/xhtml";
|
|
838
|
-
|
|
838
|
+
ki(e, v, _, i, t == null ? void 0 : t[de], r[de]), u[h] = _, u[de] = r[de];
|
|
839
839
|
continue;
|
|
840
840
|
}
|
|
841
841
|
if (h === "style") {
|
|
842
|
-
|
|
842
|
+
Ii(e, _, t == null ? void 0 : t[ve], r[ve]), u[h] = _, u[ve] = r[ve];
|
|
843
843
|
continue;
|
|
844
844
|
}
|
|
845
845
|
var b = u[h];
|
|
@@ -848,12 +848,12 @@ function On(e, t, r, i, n = !1) {
|
|
|
848
848
|
var w = h[0] + h[1];
|
|
849
849
|
if (w !== "$$")
|
|
850
850
|
if (w === "on") {
|
|
851
|
-
const p = {},
|
|
851
|
+
const p = {}, I = "$$" + h;
|
|
852
852
|
let y = h.slice(2);
|
|
853
853
|
var $ = xr(y);
|
|
854
|
-
if (
|
|
854
|
+
if (Ir(y) && (y = y.slice(0, -7), p.capture = !0), !$ && b) {
|
|
855
855
|
if (_ != null) continue;
|
|
856
|
-
e.removeEventListener(y, u[
|
|
856
|
+
e.removeEventListener(y, u[I], p), u[I] = null;
|
|
857
857
|
}
|
|
858
858
|
if (_ != null)
|
|
859
859
|
if ($)
|
|
@@ -862,7 +862,7 @@ function On(e, t, r, i, n = !1) {
|
|
|
862
862
|
let S = function(L) {
|
|
863
863
|
u[h].call(this, L);
|
|
864
864
|
};
|
|
865
|
-
u[
|
|
865
|
+
u[I] = Or(y, e, S, p);
|
|
866
866
|
}
|
|
867
867
|
else $ && (e[`__${y}`] = void 0);
|
|
868
868
|
} else if (h === "style")
|
|
@@ -891,13 +891,13 @@ function On(e, t, r, i, n = !1) {
|
|
|
891
891
|
/** @type {HTMLInputElement} */
|
|
892
892
|
e
|
|
893
893
|
);
|
|
894
|
-
const
|
|
894
|
+
const I = t === void 0;
|
|
895
895
|
if (m === "value") {
|
|
896
896
|
let y = p.defaultValue;
|
|
897
|
-
p.removeAttribute(m), p.defaultValue = y, p.value = p.__value =
|
|
897
|
+
p.removeAttribute(m), p.defaultValue = y, p.value = p.__value = I ? y : null;
|
|
898
898
|
} else {
|
|
899
899
|
let y = p.defaultChecked;
|
|
900
|
-
p.removeAttribute(m), p.defaultChecked = y, p.checked =
|
|
900
|
+
p.removeAttribute(m), p.defaultChecked = y, p.checked = I ? y : !1;
|
|
901
901
|
}
|
|
902
902
|
} else
|
|
903
903
|
e.removeAttribute(h);
|
|
@@ -972,7 +972,7 @@ function Rn(e, t, r) {
|
|
|
972
972
|
apply() {
|
|
973
973
|
if (s == null || s.abort(), a = this.element.getBoundingClientRect(), n.left !== a.left || n.right !== a.right || n.top !== a.top || n.bottom !== a.bottom) {
|
|
974
974
|
const l = t()(this.element, { from: n, to: a }, r == null ? void 0 : r());
|
|
975
|
-
s =
|
|
975
|
+
s = Ie(this.element, l, void 0, 1, () => {
|
|
976
976
|
s == null || s.abort(), s = void 0;
|
|
977
977
|
});
|
|
978
978
|
}
|
|
@@ -1032,7 +1032,7 @@ function Ln(e, t, r, i) {
|
|
|
1032
1032
|
v == null || v.abort(), (h = v == null ? void 0 : v.reset) == null || h.call(v);
|
|
1033
1033
|
return;
|
|
1034
1034
|
}
|
|
1035
|
-
a || o == null || o.abort(), Ee(t, "introstart"), o =
|
|
1035
|
+
a || o == null || o.abort(), Ee(t, "introstart"), o = Ie(t, b(), v, 1, () => {
|
|
1036
1036
|
Ee(t, "introend"), o == null || o.abort(), o = u = void 0, t.style.overflow = d;
|
|
1037
1037
|
});
|
|
1038
1038
|
},
|
|
@@ -1041,7 +1041,7 @@ function Ln(e, t, r, i) {
|
|
|
1041
1041
|
h == null || h(), u = void 0;
|
|
1042
1042
|
return;
|
|
1043
1043
|
}
|
|
1044
|
-
t.inert = !0, Ee(t, "outrostart"), v =
|
|
1044
|
+
t.inert = !0, Ee(t, "outrostart"), v = Ie(t, b(), o, 0, () => {
|
|
1045
1045
|
Ee(t, "outroend"), h == null || h();
|
|
1046
1046
|
});
|
|
1047
1047
|
},
|
|
@@ -1068,14 +1068,14 @@ function Ln(e, t, r, i) {
|
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function Ie(e, t, r, i, n) {
|
|
1072
1072
|
var a = i === 1;
|
|
1073
1073
|
if (ne(t)) {
|
|
1074
1074
|
var s, f = !1;
|
|
1075
1075
|
return X(() => {
|
|
1076
1076
|
if (!f) {
|
|
1077
1077
|
var $ = t({ direction: a ? "in" : "out" });
|
|
1078
|
-
s =
|
|
1078
|
+
s = Ie(e, $, r, i, n);
|
|
1079
1079
|
}
|
|
1080
1080
|
}), {
|
|
1081
1081
|
abort: () => {
|
|
@@ -1110,8 +1110,8 @@ function ke(e, t, r, i, n) {
|
|
|
1110
1110
|
if (A > 0) {
|
|
1111
1111
|
var _ = !1;
|
|
1112
1112
|
if (u)
|
|
1113
|
-
for (var p = Math.ceil(A / 16.666666666666668),
|
|
1114
|
-
var y = $ + m * d(
|
|
1113
|
+
for (var p = Math.ceil(A / 16.666666666666668), I = 0; I <= p; I += 1) {
|
|
1114
|
+
var y = $ + m * d(I / p), S = Nt(u(y, 1 - y));
|
|
1115
1115
|
h.push(S), _ || (_ = S.overflow === "hidden");
|
|
1116
1116
|
}
|
|
1117
1117
|
_ && (e.style.overflow = "hidden"), b = () => {
|
|
@@ -1456,7 +1456,7 @@ function ea(e, t, r) {
|
|
|
1456
1456
|
var i = er.observe(e, () => r(e[t]));
|
|
1457
1457
|
x(() => (O(() => r(e[t])), i));
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function kt(e, t) {
|
|
1460
1460
|
return e === t || (e == null ? void 0 : e[ie]) === t;
|
|
1461
1461
|
}
|
|
1462
1462
|
function ta(e = {}, t, r, i) {
|
|
@@ -1464,11 +1464,11 @@ function ta(e = {}, t, r, i) {
|
|
|
1464
1464
|
var n, a;
|
|
1465
1465
|
return C(() => {
|
|
1466
1466
|
n = a, a = (i == null ? void 0 : i()) || [], O(() => {
|
|
1467
|
-
e !== r(...a) && (t(e, ...a), n &&
|
|
1467
|
+
e !== r(...a) && (t(e, ...a), n && kt(r(...n), e) && t(null, ...n));
|
|
1468
1468
|
});
|
|
1469
1469
|
}), () => {
|
|
1470
1470
|
X(() => {
|
|
1471
|
-
a &&
|
|
1471
|
+
a && kt(r(...a), e) && t(null, ...a);
|
|
1472
1472
|
});
|
|
1473
1473
|
};
|
|
1474
1474
|
}), e;
|
|
@@ -1595,7 +1595,7 @@ function va(e = !1) {
|
|
|
1595
1595
|
i = () => T(s);
|
|
1596
1596
|
}
|
|
1597
1597
|
r.b.length && Wr(() => {
|
|
1598
|
-
|
|
1598
|
+
It(t, i), pt(r.b);
|
|
1599
1599
|
}), $t(() => {
|
|
1600
1600
|
const n = O(() => r.m.map(Xr));
|
|
1601
1601
|
return () => {
|
|
@@ -1603,10 +1603,10 @@ function va(e = !1) {
|
|
|
1603
1603
|
typeof a == "function" && a();
|
|
1604
1604
|
};
|
|
1605
1605
|
}), r.a.length && $t(() => {
|
|
1606
|
-
|
|
1606
|
+
It(t, i), pt(r.a);
|
|
1607
1607
|
});
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function It(e, t) {
|
|
1610
1610
|
if (e.l.s)
|
|
1611
1611
|
for (const r of e.l.s) T(r);
|
|
1612
1612
|
t();
|
|
@@ -1771,7 +1771,7 @@ const Hi = {
|
|
|
1771
1771
|
return Reflect.ownKeys(e.props).filter((t) => !e.exclude.includes(t));
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
|
-
function
|
|
1774
|
+
function ka(e, t) {
|
|
1775
1775
|
return new Proxy({ props: e, exclude: t, special: {}, version: re(0) }, Hi);
|
|
1776
1776
|
}
|
|
1777
1777
|
const zi = {
|
|
@@ -1821,7 +1821,7 @@ const zi = {
|
|
|
1821
1821
|
return t;
|
|
1822
1822
|
}
|
|
1823
1823
|
};
|
|
1824
|
-
function
|
|
1824
|
+
function Ia(...e) {
|
|
1825
1825
|
return new Proxy({ props: e }, zi);
|
|
1826
1826
|
}
|
|
1827
1827
|
function Ot(e) {
|
|
@@ -1829,14 +1829,14 @@ function Ot(e) {
|
|
|
1829
1829
|
return ((t = e.ctx) == null ? void 0 : t.d) ?? !1;
|
|
1830
1830
|
}
|
|
1831
1831
|
function Fi(e, t, r, i) {
|
|
1832
|
-
var
|
|
1832
|
+
var I;
|
|
1833
1833
|
var n = (r & ei) !== 0, a = !0, s = (r & jr) !== 0, f = (r & ti) !== 0, l = !1, u;
|
|
1834
1834
|
s ? [u, l] = tr(() => (
|
|
1835
1835
|
/** @type {V} */
|
|
1836
1836
|
e[t]
|
|
1837
1837
|
)) : u = /** @type {V} */
|
|
1838
1838
|
e[t];
|
|
1839
|
-
var c = ie in e || Pe in e, d = s && (((
|
|
1839
|
+
var c = ie in e || Pe in e, d = s && (((I = fe(e, t)) == null ? void 0 : I.set) ?? (c && t in e && ((y) => e[t] = y))) || void 0, o = (
|
|
1840
1840
|
/** @type {V} */
|
|
1841
1841
|
i
|
|
1842
1842
|
), v = !0, b = !1, w = () => (b = !0, v && (v = !1, f ? o = O(
|
|
@@ -1900,14 +1900,14 @@ function Oa(e, t, r) {
|
|
|
1900
1900
|
throw l;
|
|
1901
1901
|
var d = () => {
|
|
1902
1902
|
z(n), Rt(a, () => {
|
|
1903
|
-
f = !1, n =
|
|
1903
|
+
f = !1, n = k(() => r(i)), Ue();
|
|
1904
1904
|
});
|
|
1905
1905
|
};
|
|
1906
1906
|
u == null || u(l, d), n ? me(n) : g && (q(s), ni(), q($e())), c && X(() => {
|
|
1907
1907
|
Rt(a, () => {
|
|
1908
1908
|
f = !0;
|
|
1909
1909
|
try {
|
|
1910
|
-
n =
|
|
1910
|
+
n = k(() => {
|
|
1911
1911
|
c(
|
|
1912
1912
|
i,
|
|
1913
1913
|
() => l,
|
|
@@ -1920,7 +1920,7 @@ function Oa(e, t, r) {
|
|
|
1920
1920
|
Ue(), f = !1;
|
|
1921
1921
|
});
|
|
1922
1922
|
});
|
|
1923
|
-
}, g && B(), n =
|
|
1923
|
+
}, g && B(), n = k(() => r(i)), Ue();
|
|
1924
1924
|
}, le | ii), g && (i = N);
|
|
1925
1925
|
}
|
|
1926
1926
|
function Ra(e, t) {
|
|
@@ -2121,7 +2121,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
|
2121
2121
|
C(() => {
|
|
2122
2122
|
var n;
|
|
2123
2123
|
this.$$r = !0;
|
|
2124
|
-
for (const a of
|
|
2124
|
+
for (const a of ke(this.$$c)) {
|
|
2125
2125
|
if (!((n = this.$$p_d[a]) != null && n.reflect)) continue;
|
|
2126
2126
|
this.$$d[a] = this.$$c[a];
|
|
2127
2127
|
const s = Se(
|
|
@@ -2163,7 +2163,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
|
|
2163
2163
|
* @param {string} attribute_name
|
|
2164
2164
|
*/
|
|
2165
2165
|
$$g_p(t) {
|
|
2166
|
-
return
|
|
2166
|
+
return ke(this.$$p_d).find(
|
|
2167
2167
|
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
2168
2168
|
) || t;
|
|
2169
2169
|
}
|
|
@@ -2214,12 +2214,12 @@ function Pa(e, t, r, i, n, a) {
|
|
|
2214
2214
|
super(e, r, n), this.$$p_d = t;
|
|
2215
2215
|
}
|
|
2216
2216
|
static get observedAttributes() {
|
|
2217
|
-
return
|
|
2217
|
+
return ke(t).map(
|
|
2218
2218
|
(f) => (t[f].attribute || f).toLowerCase()
|
|
2219
2219
|
);
|
|
2220
2220
|
}
|
|
2221
2221
|
};
|
|
2222
|
-
return
|
|
2222
|
+
return ke(t).forEach((f) => {
|
|
2223
2223
|
Ce(s.prototype, f, {
|
|
2224
2224
|
get() {
|
|
2225
2225
|
return this.$$c && f in this.$$c ? this.$$c[f] : this.$$d[f];
|
|
@@ -2354,7 +2354,7 @@ export {
|
|
|
2354
2354
|
fn as legacy_api,
|
|
2355
2355
|
ns as legacy_pre_effect,
|
|
2356
2356
|
as as legacy_pre_effect_reset,
|
|
2357
|
-
|
|
2357
|
+
ka as legacy_rest_props,
|
|
2358
2358
|
Ma as log_if_contains_state,
|
|
2359
2359
|
Sa as mark_store_binding,
|
|
2360
2360
|
Me as mutable_source,
|
|
@@ -2385,21 +2385,21 @@ export {
|
|
|
2385
2385
|
pe as set_attribute,
|
|
2386
2386
|
On as set_attributes,
|
|
2387
2387
|
Tn as set_checked,
|
|
2388
|
-
|
|
2389
|
-
|
|
2388
|
+
ki as set_class,
|
|
2389
|
+
In as set_custom_element_data,
|
|
2390
2390
|
Nn as set_default_checked,
|
|
2391
2391
|
Cn as set_default_value,
|
|
2392
2392
|
Oi as set_selected,
|
|
2393
|
-
|
|
2393
|
+
Ii as set_style,
|
|
2394
2394
|
hs as set_text,
|
|
2395
2395
|
Sn as set_value,
|
|
2396
|
-
|
|
2396
|
+
kn as set_xlink_attribute,
|
|
2397
2397
|
ma as setup_stores,
|
|
2398
2398
|
bs as sibling,
|
|
2399
2399
|
$n as slot,
|
|
2400
2400
|
qt as snapshot,
|
|
2401
2401
|
$s as snippet,
|
|
2402
|
-
|
|
2402
|
+
Ia as spread_props,
|
|
2403
2403
|
ps as state,
|
|
2404
2404
|
ca as stopImmediatePropagation,
|
|
2405
2405
|
la as stopPropagation,
|
|
@@ -2432,5 +2432,5 @@ export {
|
|
|
2432
2432
|
Ts as validate_void_dynamic_element,
|
|
2433
2433
|
Ns as window,
|
|
2434
2434
|
Cs as with_script,
|
|
2435
|
-
|
|
2435
|
+
ks as wrap_snippet
|
|
2436
2436
|
};
|