@builder.io/sdk-react 2.0.2-0 → 2.0.2-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.
- package/lib/browser/blocks-exports.cjs +1 -1
- package/lib/browser/blocks-exports.mjs +7 -4
- package/lib/edge/{blocks-32559998.cjs → blocks-03bf455b.cjs} +7 -7
- package/lib/edge/{blocks-ab38d130.js → blocks-10f68d94.js} +107 -104
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +1 -1
- package/lib/edge/{columns-fef78a25.cjs → columns-080edf58.cjs} +1 -1
- package/lib/edge/{columns-d0c6c772.js → columns-6bfc17df.js} +1 -1
- package/lib/edge/{content-variants-ccd386ed.cjs → content-variants-65794f41.cjs} +1 -1
- package/lib/edge/{content-variants-95b6e700.js → content-variants-d855ce6c.js} +4 -4
- package/lib/edge/{form-a156cc1d.cjs → form-23561b33.cjs} +1 -1
- package/lib/edge/{form-d460bf8a.js → form-f4cd948c.js} +1 -1
- package/lib/edge/{slot-5441ba3a.cjs → slot-22940ad6.cjs} +1 -1
- package/lib/edge/{slot-dea3a8f3.js → slot-881129c3.js} +1 -1
- package/lib/edge/{tabs-0240dafd.cjs → tabs-dc23d0fa.cjs} +1 -1
- package/lib/edge/{tabs-8a95f30b.js → tabs-f0ca75e4.js} +1 -1
- package/lib/node/blocks-exports.cjs +1 -1
- package/lib/node/blocks-exports.mjs +7 -4
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Nt = (e, t, r) => (
|
|
1
|
+
var kn = Object.defineProperty;
|
|
2
|
+
var En = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var Nt = (e, t, r) => (En(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { jsx as P, Fragment as z, jsxs as Mt } from "react/jsx-runtime";
|
|
5
|
-
import { createContext as
|
|
6
|
-
import { BuilderContext as
|
|
7
|
-
import { isEditing as Bt, isBrowser as Dt, getUserAttributes as jn, logger as Wt, checkIsDefined as ot, fastClone as
|
|
5
|
+
import { createContext as Cn, useState as _t, useEffect as Rr, useContext as Mr } from "react";
|
|
6
|
+
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
+
import { isEditing as Bt, isBrowser as Dt, getUserAttributes as jn, logger as Wt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr, isPreviewing as On } from "./server-entry-771d1637.js";
|
|
8
8
|
import { getClassPropName as An } from "./get-class-prop-name-1928cf9f.js";
|
|
9
9
|
import { DynamicRenderer as In } from "./dynamic-renderer-8b343325.js";
|
|
10
|
-
const
|
|
10
|
+
const Hr = (e, t, r) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
12
12
|
return e;
|
|
13
13
|
const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
14
14
|
return n.slice(0, -1).reduce((o, s, a) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(n[a + 1])) >> 0 === +n[a + 1] ? [] : {}, e)[n[n.length - 1]] = r, e;
|
|
15
|
-
},
|
|
15
|
+
}, Kr = ({
|
|
16
16
|
builder: e,
|
|
17
17
|
context: t,
|
|
18
18
|
event: r,
|
|
@@ -31,7 +31,7 @@ const Xr = (e, t, r) => {
|
|
|
31
31
|
getUserAttributes: () => jn()
|
|
32
32
|
}), Tn = (e, {
|
|
33
33
|
isExpression: t = !0
|
|
34
|
-
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Pn =
|
|
34
|
+
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Pn = Cn({ registeredComponents: {} });
|
|
35
35
|
function Nn(e) {
|
|
36
36
|
var t;
|
|
37
37
|
return {
|
|
@@ -48,11 +48,11 @@ const Rn = ({
|
|
|
48
48
|
rootSetState: s,
|
|
49
49
|
rootState: a
|
|
50
50
|
}) => {
|
|
51
|
-
const p =
|
|
51
|
+
const p = Kr({
|
|
52
52
|
builder: t,
|
|
53
53
|
context: r,
|
|
54
54
|
event: n,
|
|
55
|
-
state:
|
|
55
|
+
state: Jr({
|
|
56
56
|
rootState: a,
|
|
57
57
|
localState: o,
|
|
58
58
|
rootSetState: s
|
|
@@ -60,7 +60,7 @@ const Rn = ({
|
|
|
60
60
|
});
|
|
61
61
|
return new Function(...p.map(([g]) => g), e)(...p.map(([, g]) => g));
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function Jr({
|
|
64
64
|
rootState: e,
|
|
65
65
|
localState: t,
|
|
66
66
|
rootSetState: r
|
|
@@ -70,7 +70,7 @@ function Kr({
|
|
|
70
70
|
if (t && o in t)
|
|
71
71
|
return t[o];
|
|
72
72
|
const s = n[o];
|
|
73
|
-
return typeof s == "object" && s !== null ?
|
|
73
|
+
return typeof s == "object" && s !== null ? Jr({
|
|
74
74
|
rootState: s,
|
|
75
75
|
localState: void 0,
|
|
76
76
|
rootSetState: r ? (a) => {
|
|
@@ -87,7 +87,7 @@ function Kr({
|
|
|
87
87
|
}
|
|
88
88
|
var T, Mn = function(e) {
|
|
89
89
|
function t(i) {
|
|
90
|
-
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
90
|
+
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && xn.test(String.fromCharCode(i));
|
|
91
91
|
}
|
|
92
92
|
function r(i) {
|
|
93
93
|
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Nr.test(String.fromCharCode(i));
|
|
@@ -150,7 +150,7 @@ var T, Mn = function(e) {
|
|
|
150
150
|
break;
|
|
151
151
|
else if (i === 160)
|
|
152
152
|
++c;
|
|
153
|
-
else if (5760 <= i &&
|
|
153
|
+
else if (5760 <= i && wn.test(String.fromCharCode(i)))
|
|
154
154
|
++c;
|
|
155
155
|
else
|
|
156
156
|
break;
|
|
@@ -263,26 +263,26 @@ var T, Mn = function(e) {
|
|
|
263
263
|
return;
|
|
264
264
|
case 37:
|
|
265
265
|
case 42:
|
|
266
|
-
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(
|
|
266
|
+
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(yn, 1);
|
|
267
267
|
return;
|
|
268
268
|
case 124:
|
|
269
269
|
case 38:
|
|
270
|
-
l = d.charCodeAt(c + 1), l === i ? I(i === 124 ? br : Tr, 2) : l === 61 ? I(ye, 2) : I(i === 124 ?
|
|
270
|
+
l = d.charCodeAt(c + 1), l === i ? I(i === 124 ? br : Tr, 2) : l === 61 ? I(ye, 2) : I(i === 124 ? un : fn, 1);
|
|
271
271
|
return;
|
|
272
272
|
case 94:
|
|
273
|
-
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(
|
|
273
|
+
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(cn, 1);
|
|
274
274
|
return;
|
|
275
275
|
case 43:
|
|
276
276
|
case 45:
|
|
277
|
-
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && tt.test(d.slice(fe, c)) ? (c += 3, p(), g(), C()) : I(
|
|
277
|
+
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && tt.test(d.slice(fe, c)) ? (c += 3, p(), g(), C()) : I(ln, 2) : l === 61 ? I(ye, 2) : I(dn, 1);
|
|
278
278
|
return;
|
|
279
279
|
case 60:
|
|
280
280
|
case 62:
|
|
281
|
-
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ? I(ye, u + 1) : I(
|
|
281
|
+
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ? I(ye, u + 1) : I(gn, u)) : l === 33 && i === 60 && d.charCodeAt(c + 2) === 45 && d.charCodeAt(c + 3) === 45 ? (c += 4, p(), g(), C()) : (l === 61 && (u = d.charCodeAt(c + 2) === 61 ? 3 : 2), I(hn, u));
|
|
282
282
|
return;
|
|
283
283
|
case 61:
|
|
284
284
|
case 33:
|
|
285
|
-
d.charCodeAt(c + 1) === 61 ? I(
|
|
285
|
+
d.charCodeAt(c + 1) === 61 ? I(pn, d.charCodeAt(c + 2) === 61 ? 3 : 2) : I(i === 61 ? Ar : Ir, 1);
|
|
286
286
|
return;
|
|
287
287
|
case 126:
|
|
288
288
|
return I(Ir, 1);
|
|
@@ -367,7 +367,7 @@ var T, Mn = function(e) {
|
|
|
367
367
|
}
|
|
368
368
|
function H() {
|
|
369
369
|
var i = R(), l = we;
|
|
370
|
-
!Se &&
|
|
370
|
+
!Se && mn(i) && (l = an[i]), a(l, i);
|
|
371
371
|
}
|
|
372
372
|
function k() {
|
|
373
373
|
wt = U, fe = me, xt = mt, C();
|
|
@@ -445,7 +445,7 @@ var T, Mn = function(e) {
|
|
|
445
445
|
case dr:
|
|
446
446
|
return Ne || j.Ib || n(U, "'return' outside of function"), k(), N(oe) || Ye() ? l.K = null : (l.K = $(), ge()), E(l, "ReturnStatement");
|
|
447
447
|
case jt:
|
|
448
|
-
for (k(), l.Qb = Ie(), l.tb = [], M(Me), B.push(
|
|
448
|
+
for (k(), l.Qb = Ie(), l.tb = [], M(Me), B.push(Sn); x !== xe; )
|
|
449
449
|
x === Et || x === ur ? (i = x === Et, f && E(f, "SwitchCase"), l.tb.push(f = _()), f.da = [], k(), i ? f.test = $() : (u && n(wt, "Multiple default clauses"), u = !0, f.test = null), M(Be)) : (f || ee(), f.da.push(Z()));
|
|
450
450
|
return f && E(f, "SwitchCase"), k(), B.pop(), E(l, "SwitchStatement");
|
|
451
451
|
case yr:
|
|
@@ -596,7 +596,7 @@ var T, Mn = function(e) {
|
|
|
596
596
|
case Ct:
|
|
597
597
|
return i = _(), k(), gt(i, !1);
|
|
598
598
|
case wr:
|
|
599
|
-
return i = _(), k(), i.callee = Te(ze(), !0), i.arguments = N(ne) ? dt(Q, !1) :
|
|
599
|
+
return i = _(), k(), i.callee = Te(ze(), !0), i.arguments = N(ne) ? dt(Q, !1) : sn, E(i, "NewExpression");
|
|
600
600
|
}
|
|
601
601
|
ee();
|
|
602
602
|
}
|
|
@@ -627,7 +627,7 @@ var T, Mn = function(e) {
|
|
|
627
627
|
}
|
|
628
628
|
function te(i) {
|
|
629
629
|
var l = _();
|
|
630
|
-
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb &&
|
|
630
|
+
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb && vn(Y) || K && Pr(Y)) && d.slice(U, me).indexOf("\\") === -1 && n(U, "The keyword '" + Y + "' is reserved"), l.name = Y) : i && x.l ? l.name = x.l : ee(), Pe = !1, k(), E(l, "Identifier");
|
|
631
631
|
}
|
|
632
632
|
e.version = "0.5.0";
|
|
633
633
|
var j, d = "", ve, yt;
|
|
@@ -650,7 +650,7 @@ var T, Mn = function(e) {
|
|
|
650
650
|
dc: null,
|
|
651
651
|
sourceFile: null,
|
|
652
652
|
vb: null
|
|
653
|
-
}, c = 0, U = 0, me = 0, vt, mt, x, Y, Pe, de, re, wt = 0, fe = 0, xt, Ne, B, K,
|
|
653
|
+
}, c = 0, U = 0, me = 0, vt, mt, x, Y, Pe, de, re, wt = 0, fe = 0, xt, Ne, B, K, sn = [], Re = {
|
|
654
654
|
type: "num"
|
|
655
655
|
}, ir = {
|
|
656
656
|
type: "regexp"
|
|
@@ -723,7 +723,7 @@ var T, Mn = function(e) {
|
|
|
723
723
|
l: "in",
|
|
724
724
|
L: 7,
|
|
725
725
|
m: !0
|
|
726
|
-
},
|
|
726
|
+
}, an = {
|
|
727
727
|
break: kt,
|
|
728
728
|
case: Et,
|
|
729
729
|
catch: sr,
|
|
@@ -807,7 +807,7 @@ var T, Mn = function(e) {
|
|
|
807
807
|
}, ye = {
|
|
808
808
|
Cb: !0,
|
|
809
809
|
m: !0
|
|
810
|
-
},
|
|
810
|
+
}, ln = {
|
|
811
811
|
cc: !0,
|
|
812
812
|
prefix: !0,
|
|
813
813
|
$b: !0
|
|
@@ -820,34 +820,34 @@ var T, Mn = function(e) {
|
|
|
820
820
|
}, Tr = {
|
|
821
821
|
L: 2,
|
|
822
822
|
m: !0
|
|
823
|
-
},
|
|
823
|
+
}, un = {
|
|
824
824
|
L: 3,
|
|
825
825
|
m: !0
|
|
826
|
-
},
|
|
826
|
+
}, cn = {
|
|
827
827
|
L: 4,
|
|
828
828
|
m: !0
|
|
829
|
-
},
|
|
829
|
+
}, fn = {
|
|
830
830
|
L: 5,
|
|
831
831
|
m: !0
|
|
832
|
-
},
|
|
832
|
+
}, pn = {
|
|
833
833
|
L: 6,
|
|
834
834
|
m: !0
|
|
835
|
-
},
|
|
835
|
+
}, hn = {
|
|
836
836
|
L: 7,
|
|
837
837
|
m: !0
|
|
838
|
-
},
|
|
838
|
+
}, gn = {
|
|
839
839
|
L: 8,
|
|
840
840
|
m: !0
|
|
841
|
-
},
|
|
841
|
+
}, dn = {
|
|
842
842
|
L: 9,
|
|
843
843
|
prefix: !0,
|
|
844
844
|
m: !0
|
|
845
|
-
},
|
|
845
|
+
}, yn = {
|
|
846
846
|
L: 10,
|
|
847
847
|
m: !0
|
|
848
|
-
},
|
|
848
|
+
}, vn = o("class enum extends super const export import"), Pr = o("implements interface let package private protected public static yield"), et = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), xn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), tt = /[\n\r\u2028\u2029]/, rt = /\r\n|[\n\r\u2028\u2029]/g, Se, Tt = {
|
|
849
849
|
kind: "loop"
|
|
850
|
-
},
|
|
850
|
+
}, Sn = {
|
|
851
851
|
kind: "switch"
|
|
852
852
|
};
|
|
853
853
|
}, Ut = Ut = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
@@ -870,7 +870,7 @@ function h(e, t) {
|
|
|
870
870
|
this.N = Lt(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
871
871
|
`), "polyfills"), this.ba = void 0, it(this.ra), s = new m(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = n, s = new m(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var Br = {
|
|
874
874
|
C: !0,
|
|
875
875
|
kc: 5
|
|
876
876
|
}, $t = {
|
|
@@ -889,11 +889,11 @@ var Mr = {
|
|
|
889
889
|
configurable: !1,
|
|
890
890
|
enumerable: !1,
|
|
891
891
|
writable: !1
|
|
892
|
-
},
|
|
892
|
+
}, Dr = {
|
|
893
893
|
configurable: !1,
|
|
894
894
|
enumerable: !0,
|
|
895
895
|
writable: !0
|
|
896
|
-
},
|
|
896
|
+
}, Yr = {
|
|
897
897
|
STEP_ERROR: !0
|
|
898
898
|
}, Ae = {
|
|
899
899
|
SCOPE_REFERENCE: !0
|
|
@@ -901,7 +901,7 @@ var Mr = {
|
|
|
901
901
|
VALUE_IN_DESCRIPTOR: !0
|
|
902
902
|
}, Ee = {
|
|
903
903
|
REGEXP_TIMEOUT: !0
|
|
904
|
-
},
|
|
904
|
+
}, Ur = [], ae = null, We = null, he = typeof globalThis == "undefined" ? void 0 : globalThis, Bn = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
905
905
|
function Gt(e) {
|
|
906
906
|
var t = e >>> 0;
|
|
907
907
|
return t === Number(e) ? t : NaN;
|
|
@@ -928,8 +928,8 @@ T.Kb = 0;
|
|
|
928
928
|
T.ic = 0;
|
|
929
929
|
function je(e, t) {
|
|
930
930
|
var r = {}, n;
|
|
931
|
-
for (n in
|
|
932
|
-
r[n] =
|
|
931
|
+
for (n in Br)
|
|
932
|
+
r[n] = Br[n];
|
|
933
933
|
return r.sourceFile = t, he.j.parse(e, r);
|
|
934
934
|
}
|
|
935
935
|
T.Jb = function(e) {
|
|
@@ -952,7 +952,7 @@ T.lb = function() {
|
|
|
952
952
|
if (r = this.ca[0], !r || r.time > Date.now())
|
|
953
953
|
r = null;
|
|
954
954
|
else {
|
|
955
|
-
this.ca.shift(), 0 <= r.interval &&
|
|
955
|
+
this.ca.shift(), 0 <= r.interval && Qr(this, r, r.interval);
|
|
956
956
|
var n = new m(r.node, r.scope);
|
|
957
957
|
r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
|
|
958
958
|
}
|
|
@@ -965,7 +965,7 @@ T.lb = function() {
|
|
|
965
965
|
try {
|
|
966
966
|
var s = this.rb[n.type](e, r, n);
|
|
967
967
|
} catch (a) {
|
|
968
|
-
if (a !==
|
|
968
|
+
if (a !== Yr)
|
|
969
969
|
throw this.value !== a && (this.value = void 0), a;
|
|
970
970
|
} finally {
|
|
971
971
|
We = o;
|
|
@@ -1000,13 +1000,13 @@ function Dn(e, t) {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
}(n[o][0]), e.g(t, n[o][1], e.i(r, !1), v);
|
|
1002
1002
|
r = function(s) {
|
|
1003
|
-
return
|
|
1003
|
+
return Fr(e, !1, arguments);
|
|
1004
1004
|
}, e.g(t, "setTimeout", e.i(r, !1), v), r = function(s) {
|
|
1005
|
-
return
|
|
1005
|
+
return Fr(e, !0, arguments);
|
|
1006
1006
|
}, e.g(t, "setInterval", e.i(r, !1), v), r = function(s) {
|
|
1007
|
-
|
|
1007
|
+
Lr(e, s);
|
|
1008
1008
|
}, e.g(t, "clearTimeout", e.i(r, !1), v), r = function(s) {
|
|
1009
|
-
|
|
1009
|
+
Lr(e, s);
|
|
1010
1010
|
}, e.g(t, "clearInterval", e.i(r, !1), v), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1011
1011
|
}
|
|
1012
1012
|
T.Wb = 0;
|
|
@@ -1031,7 +1031,7 @@ function Un(e, t) {
|
|
|
1031
1031
|
e.O = e.i(n, !0), e.g(t, "Function", e.O, v), e.g(e.O, "prototype", e.Z, v), e.g(e.Z, "constructor", e.O, v), e.Z.Ta = function() {
|
|
1032
1032
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function", n = function(o, s) {
|
|
1033
1033
|
var a = e.o[e.o.length - 1];
|
|
1034
|
-
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F =
|
|
1034
|
+
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Zr(e, s) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1035
1035
|
}, L(e, e.O, "apply", n), n = function(o) {
|
|
1036
1036
|
var s = e.o[e.o.length - 1];
|
|
1037
1037
|
s.U = this, s.B = o, s.F = [];
|
|
@@ -1329,7 +1329,7 @@ function Kn(e, t) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
return e.Ia(o);
|
|
1331
1331
|
}, e.g(r, "parse", e.i(t, !1)), t = function(n, o, s) {
|
|
1332
|
-
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1332
|
+
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Zr(e, o), o = o.filter(function(p) {
|
|
1333
1333
|
return typeof p == "string" || typeof p == "number";
|
|
1334
1334
|
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0), n = e.R(n);
|
|
1335
1335
|
try {
|
|
@@ -1515,7 +1515,7 @@ function se(e, t) {
|
|
|
1515
1515
|
e.g(r, n[o], t[n[o]]);
|
|
1516
1516
|
return r;
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1518
|
+
function Zr(e, t) {
|
|
1519
1519
|
var r = [], n;
|
|
1520
1520
|
for (n in t.h)
|
|
1521
1521
|
r[n] = e.G(t, n);
|
|
@@ -1653,12 +1653,12 @@ function Lt(e, t, r) {
|
|
|
1653
1653
|
var o = t.body && t.body[0];
|
|
1654
1654
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (n = !0);
|
|
1655
1655
|
}
|
|
1656
|
-
return o = e.s(null), n = new
|
|
1656
|
+
return o = e.s(null), n = new qr(r, n, o), r || Dn(e, n.object), Xe(e, t, n), n;
|
|
1657
1657
|
}
|
|
1658
1658
|
function Jt(e, t, r) {
|
|
1659
1659
|
if (!t)
|
|
1660
1660
|
throw Error("parentScope required");
|
|
1661
|
-
return e = r || e.s(null), new
|
|
1661
|
+
return e = r || e.s(null), new qr(t, t.S, e);
|
|
1662
1662
|
}
|
|
1663
1663
|
function Yt(e, t) {
|
|
1664
1664
|
for (var r = Kt(e); r && r !== e.N; ) {
|
|
@@ -1670,7 +1670,7 @@ function Yt(e, t) {
|
|
|
1670
1670
|
return e.G(r.object, t);
|
|
1671
1671
|
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function zr(e, t, r) {
|
|
1674
1674
|
for (var n = Kt(e), o = n.S; n && n !== e.N; ) {
|
|
1675
1675
|
if (t in n.object.h) {
|
|
1676
1676
|
try {
|
|
@@ -1732,7 +1732,7 @@ function Xe(e, t, r) {
|
|
|
1732
1732
|
t.jb = n;
|
|
1733
1733
|
}
|
|
1734
1734
|
for (a in n)
|
|
1735
|
-
n[a] === !0 ? e.g(r.object, a, void 0,
|
|
1735
|
+
n[a] === !0 ? e.g(r.object, a, void 0, Dr) : e.g(r.object, a, Ht(e, n[a], r), Dr);
|
|
1736
1736
|
return n;
|
|
1737
1737
|
}
|
|
1738
1738
|
function ue(e) {
|
|
@@ -1742,10 +1742,10 @@ function Zt(e, t) {
|
|
|
1742
1742
|
return t[0] === Ae ? Yt(e, t[1]) : e.G(t[0], t[1]);
|
|
1743
1743
|
}
|
|
1744
1744
|
function zt(e, t, r) {
|
|
1745
|
-
return t[0] === Ae ?
|
|
1745
|
+
return t[0] === Ae ? zr(e, t[1], r) : e.g(t[0], t[1], r);
|
|
1746
1746
|
}
|
|
1747
1747
|
function w(e, t, r) {
|
|
1748
|
-
throw e.N ? (r !== void 0 && t instanceof A && (t = e.Aa(t), Ft(e, t, r)), He(e, 4, t),
|
|
1748
|
+
throw e.N ? (r !== void 0 && t instanceof A && (t = e.Aa(t), Ft(e, t, r)), He(e, 4, t), Yr) : r === void 0 ? t : r;
|
|
1749
1749
|
}
|
|
1750
1750
|
function He(e, t, r, n) {
|
|
1751
1751
|
if (t === 0)
|
|
@@ -1823,7 +1823,7 @@ function V(e, t) {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
return "???";
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1826
|
+
function Fr(e, t, r) {
|
|
1827
1827
|
var n = e.o[e.o.length - 1], o = Array.from(r), s = o.shift();
|
|
1828
1828
|
r = Math.max(Number(o.shift() || 0), 0);
|
|
1829
1829
|
var a = e.ya();
|
|
@@ -1838,14 +1838,14 @@ function Ur(e, t, r) {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
a.type = "EvalProgram_", a.body = g.body, n = n.node.arguments[0], it(a, n ? n.start : void 0, n ? n.end : void 0), n = e.N, o.length = 0;
|
|
1840
1840
|
}
|
|
1841
|
-
return t = new Jn(p, o, n, a, t ? r : -1),
|
|
1841
|
+
return t = new Jn(p, o, n, a, t ? r : -1), Qr(e, t, r), t.Db;
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function Qr(e, t, r) {
|
|
1844
1844
|
t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, o) {
|
|
1845
1845
|
return n.time - o.time;
|
|
1846
1846
|
});
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function Lr(e, t) {
|
|
1849
1849
|
for (var r = 0; r < e.ca.length; r++)
|
|
1850
1850
|
if (e.ca[r].Db == t) {
|
|
1851
1851
|
e.ca.splice(r, 1);
|
|
@@ -1881,7 +1881,7 @@ T.ec = function(e) {
|
|
|
1881
1881
|
function m(e, t) {
|
|
1882
1882
|
this.node = e, this.scope = t;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function qr(e, t, r) {
|
|
1885
1885
|
this.Va = e, this.S = t, this.object = r;
|
|
1886
1886
|
}
|
|
1887
1887
|
function A(e) {
|
|
@@ -1897,7 +1897,7 @@ T.toString = function() {
|
|
|
1897
1897
|
if (!(this instanceof A))
|
|
1898
1898
|
return String(this);
|
|
1899
1899
|
if (this.H === "Array") {
|
|
1900
|
-
var e =
|
|
1900
|
+
var e = Ur;
|
|
1901
1901
|
e.push(this);
|
|
1902
1902
|
try {
|
|
1903
1903
|
var t = [], r = this.h.length, n = !1;
|
|
@@ -1913,7 +1913,7 @@ T.toString = function() {
|
|
|
1913
1913
|
return t.join(",");
|
|
1914
1914
|
}
|
|
1915
1915
|
if (this.H === "Error") {
|
|
1916
|
-
if (e =
|
|
1916
|
+
if (e = Ur, e.indexOf(this) !== -1)
|
|
1917
1917
|
return "[object Error]";
|
|
1918
1918
|
r = this;
|
|
1919
1919
|
do
|
|
@@ -2466,7 +2466,7 @@ h.prototype.stepUpdateExpression = function(e, t, r) {
|
|
|
2466
2466
|
h.prototype.stepVariableDeclaration = function(e, t, r) {
|
|
2467
2467
|
r = r.fa;
|
|
2468
2468
|
var n = t.A || 0, o = r[n];
|
|
2469
|
-
for (t.Bb && o && (
|
|
2469
|
+
for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o = r[++n]); o; ) {
|
|
2470
2470
|
if (o.ua)
|
|
2471
2471
|
return t.A = n, t.Bb = !0, t.Pa = o.id.name, new m(o.ua, t.scope);
|
|
2472
2472
|
o = r[++n];
|
|
@@ -2506,7 +2506,7 @@ const Zn = (e) => e.split(`
|
|
|
2506
2506
|
${p}
|
|
2507
2507
|
`;
|
|
2508
2508
|
}).filter(Boolean).join(`
|
|
2509
|
-
`),
|
|
2509
|
+
`), _r = (e) => e + "JSON", zn = ({
|
|
2510
2510
|
builder: e,
|
|
2511
2511
|
context: t,
|
|
2512
2512
|
event: r,
|
|
@@ -2518,13 +2518,13 @@ const Zn = (e) => e.split(`
|
|
|
2518
2518
|
const p = {
|
|
2519
2519
|
...n,
|
|
2520
2520
|
...o
|
|
2521
|
-
}, g =
|
|
2521
|
+
}, g = Kr({
|
|
2522
2522
|
builder: e,
|
|
2523
2523
|
context: t,
|
|
2524
2524
|
event: r,
|
|
2525
2525
|
state: p
|
|
2526
2526
|
}), y = g.map(([R]) => {
|
|
2527
|
-
const H =
|
|
2527
|
+
const H = _r(R);
|
|
2528
2528
|
return `var ${R} = ${H} === undefined ? undefined : JSON.parse(${H});`;
|
|
2529
2529
|
}).join(`
|
|
2530
2530
|
`), C = Zn(a);
|
|
@@ -2540,12 +2540,12 @@ function theFunction() {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
theFunction();
|
|
2542
2542
|
`, J = (R, H) => {
|
|
2543
|
-
const k =
|
|
2543
|
+
const k = Hr(p, R, H);
|
|
2544
2544
|
s == null || s(k);
|
|
2545
2545
|
}, b = function(R, H) {
|
|
2546
2546
|
g.forEach(([k, q]) => {
|
|
2547
2547
|
const Je = JSON.stringify(q);
|
|
2548
|
-
R.setProperty(H,
|
|
2548
|
+
R.setProperty(H, _r(k), Je);
|
|
2549
2549
|
}), R.setProperty(H, "setRootState", R.createNativeFunction(J));
|
|
2550
2550
|
}, O = new h(I, b);
|
|
2551
2551
|
return O.run(), O.pseudoToNative(O.value);
|
|
@@ -2631,7 +2631,7 @@ const to = ({
|
|
|
2631
2631
|
}) => {
|
|
2632
2632
|
if (!e.bindings)
|
|
2633
2633
|
return e;
|
|
2634
|
-
const s =
|
|
2634
|
+
const s = Vr(e), a = {
|
|
2635
2635
|
...s,
|
|
2636
2636
|
properties: {
|
|
2637
2637
|
...s.properties
|
|
@@ -2649,7 +2649,7 @@ const to = ({
|
|
|
2649
2649
|
context: t,
|
|
2650
2650
|
enableCache: !0
|
|
2651
2651
|
});
|
|
2652
|
-
|
|
2652
|
+
Hr(a, p, y);
|
|
2653
2653
|
}
|
|
2654
2654
|
return a;
|
|
2655
2655
|
};
|
|
@@ -2704,10 +2704,10 @@ function oo(e) {
|
|
|
2704
2704
|
break;
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function en(e) {
|
|
2708
2708
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2709
2709
|
}
|
|
2710
|
-
function
|
|
2710
|
+
function tn(e, t) {
|
|
2711
2711
|
const r = io(e), n = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, a = [o, s];
|
|
2712
2712
|
for (const p of a)
|
|
2713
2713
|
for (const g of r)
|
|
@@ -2723,11 +2723,11 @@ function io(e) {
|
|
|
2723
2723
|
function so(e) {
|
|
2724
2724
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2725
2725
|
if (!t.length) {
|
|
2726
|
-
|
|
2726
|
+
en(e.elementId || e.id || "");
|
|
2727
2727
|
return;
|
|
2728
2728
|
}
|
|
2729
2729
|
Array.from(t).forEach((r) => {
|
|
2730
|
-
|
|
2730
|
+
tn(e, r), r.style.transition = "none", r.style.transitionDelay = "0", Ge(r.style, e.steps[0].styles), setTimeout(() => {
|
|
2731
2731
|
r.style.transition = `all ${e.duration}s ${at(e.easing)}`, e.delay && (r.style.transitionDelay = e.delay + "s"), Ge(r.style, e.steps[1].styles), setTimeout(() => {
|
|
2732
2732
|
r.style.transition = "", r.style.transitionDelay = "";
|
|
2733
2733
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
@@ -2737,11 +2737,11 @@ function so(e) {
|
|
|
2737
2737
|
function ao(e) {
|
|
2738
2738
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2739
2739
|
if (!t.length) {
|
|
2740
|
-
|
|
2740
|
+
en(e.elementId || e.id || "");
|
|
2741
2741
|
return;
|
|
2742
2742
|
}
|
|
2743
2743
|
Array.from(t).forEach((r) => {
|
|
2744
|
-
|
|
2744
|
+
tn(e, r);
|
|
2745
2745
|
let n = !1, o = !1;
|
|
2746
2746
|
function s() {
|
|
2747
2747
|
!n && p(r) ? (n = !0, o = !0, setTimeout(() => {
|
|
@@ -2769,10 +2769,10 @@ function ao(e) {
|
|
|
2769
2769
|
}), s();
|
|
2770
2770
|
});
|
|
2771
2771
|
}
|
|
2772
|
-
const
|
|
2772
|
+
const rn = (e) => Object.entries(e).map(([r, n]) => {
|
|
2773
2773
|
if (typeof n == "string")
|
|
2774
2774
|
return `${at(r)}: ${n};`;
|
|
2775
|
-
}).filter(ot), lo = (e) =>
|
|
2775
|
+
}).filter(ot), lo = (e) => rn(e).join(`
|
|
2776
2776
|
`), nt = ({
|
|
2777
2777
|
mediaQuery: e,
|
|
2778
2778
|
className: t,
|
|
@@ -2799,12 +2799,12 @@ const co = ({
|
|
|
2799
2799
|
block: e
|
|
2800
2800
|
}));
|
|
2801
2801
|
function fo(e) {
|
|
2802
|
-
switch (
|
|
2802
|
+
switch (Xr) {
|
|
2803
2803
|
case "svelte":
|
|
2804
2804
|
case "vue":
|
|
2805
2805
|
case "solid":
|
|
2806
2806
|
case "angular":
|
|
2807
|
-
return
|
|
2807
|
+
return rn(e).join(" ");
|
|
2808
2808
|
case "qwik":
|
|
2809
2809
|
case "reactNative":
|
|
2810
2810
|
case "react":
|
|
@@ -2880,7 +2880,7 @@ const po = ({
|
|
|
2880
2880
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderContext ? {
|
|
2881
2881
|
builderContext: t
|
|
2882
2882
|
} : {};
|
|
2883
|
-
},
|
|
2883
|
+
}, nn = {
|
|
2884
2884
|
small: {
|
|
2885
2885
|
min: 320,
|
|
2886
2886
|
default: 321,
|
|
@@ -2896,11 +2896,11 @@ const po = ({
|
|
|
2896
2896
|
default: 991,
|
|
2897
2897
|
max: 1200
|
|
2898
2898
|
}
|
|
2899
|
-
},
|
|
2899
|
+
}, Wr = (e, t = nn) => `@media (max-width: ${t[e].max}px)`, wo = ({
|
|
2900
2900
|
small: e,
|
|
2901
2901
|
medium: t
|
|
2902
2902
|
}) => {
|
|
2903
|
-
const r =
|
|
2903
|
+
const r = Vr(nn);
|
|
2904
2904
|
if (!e || !t)
|
|
2905
2905
|
return r;
|
|
2906
2906
|
const n = Math.floor(e / 2);
|
|
@@ -2951,14 +2951,14 @@ function So(e) {
|
|
|
2951
2951
|
}) : "", J = g ? nt({
|
|
2952
2952
|
className: C,
|
|
2953
2953
|
styles: g,
|
|
2954
|
-
mediaQuery:
|
|
2954
|
+
mediaQuery: Wr(
|
|
2955
2955
|
"medium",
|
|
2956
2956
|
a
|
|
2957
2957
|
)
|
|
2958
2958
|
}) : "", b = y ? nt({
|
|
2959
2959
|
className: C,
|
|
2960
2960
|
styles: y,
|
|
2961
|
-
mediaQuery:
|
|
2961
|
+
mediaQuery: Wr(
|
|
2962
2962
|
"small",
|
|
2963
2963
|
a
|
|
2964
2964
|
)
|
|
@@ -3006,7 +3006,7 @@ const Eo = (e) => `on${ko(e)}`, Co = (e, t) => (r) => qt({
|
|
|
3006
3006
|
isExpression: !1,
|
|
3007
3007
|
enableCache: !0
|
|
3008
3008
|
});
|
|
3009
|
-
function
|
|
3009
|
+
function on(e) {
|
|
3010
3010
|
var n;
|
|
3011
3011
|
const t = {}, r = (n = e.block.actions) != null ? n : {};
|
|
3012
3012
|
for (const o in r) {
|
|
@@ -3015,7 +3015,7 @@ function nn(e) {
|
|
|
3015
3015
|
const s = r[o];
|
|
3016
3016
|
let a = Eo(o);
|
|
3017
3017
|
if (e.stripPrefix)
|
|
3018
|
-
switch (
|
|
3018
|
+
switch (Xr) {
|
|
3019
3019
|
case "vue":
|
|
3020
3020
|
a = a.replace("v-on:", "");
|
|
3021
3021
|
break;
|
|
@@ -3065,7 +3065,7 @@ function Ao(e) {
|
|
|
3065
3065
|
block: e.block,
|
|
3066
3066
|
context: e.context
|
|
3067
3067
|
}),
|
|
3068
|
-
actionAttributes:
|
|
3068
|
+
actionAttributes: on({
|
|
3069
3069
|
block: e.block,
|
|
3070
3070
|
rootState: e.context.rootState,
|
|
3071
3071
|
rootSetState: e.context.rootSetState,
|
|
@@ -3084,7 +3084,7 @@ function Io(e) {
|
|
|
3084
3084
|
block: e.block,
|
|
3085
3085
|
context: e.context
|
|
3086
3086
|
}),
|
|
3087
|
-
...
|
|
3087
|
+
...on({
|
|
3088
3088
|
block: e.block,
|
|
3089
3089
|
rootState: e.context.rootState,
|
|
3090
3090
|
rootSetState: e.context.rootSetState,
|
|
@@ -3125,7 +3125,7 @@ const bo = ({
|
|
|
3125
3125
|
includeBlockProps: o
|
|
3126
3126
|
} : p;
|
|
3127
3127
|
};
|
|
3128
|
-
function
|
|
3128
|
+
function $r(e) {
|
|
3129
3129
|
var n;
|
|
3130
3130
|
const [t, r] = _t(
|
|
3131
3131
|
() => e.isInteractive ? Io : e.componentRef
|
|
@@ -3158,7 +3158,7 @@ function Wr(e) {
|
|
|
3158
3158
|
}
|
|
3159
3159
|
function To(e) {
|
|
3160
3160
|
const [t, r] = _t(() => e.repeatContext);
|
|
3161
|
-
return /* @__PURE__ */ P(
|
|
3161
|
+
return /* @__PURE__ */ P(Gr.Provider, { value: t, children: /* @__PURE__ */ P(
|
|
3162
3162
|
lt,
|
|
3163
3163
|
{
|
|
3164
3164
|
block: e.block,
|
|
@@ -3184,11 +3184,12 @@ function lt(e) {
|
|
|
3184
3184
|
});
|
|
3185
3185
|
}
|
|
3186
3186
|
const [n, o] = _t(() => ({
|
|
3187
|
-
value: null
|
|
3187
|
+
value: null,
|
|
3188
|
+
update: !1
|
|
3188
3189
|
}));
|
|
3189
3190
|
function s() {
|
|
3190
3191
|
var O;
|
|
3191
|
-
if (n.value && !On())
|
|
3192
|
+
if (n.value && !n.update && !On())
|
|
3192
3193
|
return n.value;
|
|
3193
3194
|
const b = (O = e.block.repeat) != null && O.collection ? e.block : ro({
|
|
3194
3195
|
block: e.block,
|
|
@@ -3198,7 +3199,7 @@ function lt(e) {
|
|
|
3198
3199
|
context: e.context.context,
|
|
3199
3200
|
shouldEvaluateBindings: !0
|
|
3200
3201
|
});
|
|
3201
|
-
return n.value = b, b;
|
|
3202
|
+
return n.value = b, n.update = !1, b;
|
|
3202
3203
|
}
|
|
3203
3204
|
function a() {
|
|
3204
3205
|
var O;
|
|
@@ -3238,7 +3239,7 @@ function lt(e) {
|
|
|
3238
3239
|
isInteractive: !((R = t == null ? void 0 : t()) != null && R.isRSC)
|
|
3239
3240
|
};
|
|
3240
3241
|
}
|
|
3241
|
-
return
|
|
3242
|
+
return Rr(() => {
|
|
3242
3243
|
const b = s().id, O = s().animations;
|
|
3243
3244
|
O && b && oo(
|
|
3244
3245
|
O.map((D) => ({
|
|
@@ -3246,10 +3247,12 @@ function lt(e) {
|
|
|
3246
3247
|
elementId: b
|
|
3247
3248
|
}))
|
|
3248
3249
|
);
|
|
3249
|
-
}, []),
|
|
3250
|
+
}, []), Rr(() => {
|
|
3251
|
+
n.update = !0;
|
|
3252
|
+
}), /* @__PURE__ */ P(z, { children: p() ? /* @__PURE__ */ Mt(z, { children: [
|
|
3250
3253
|
/* @__PURE__ */ P(So, { block: s(), context: e.context }),
|
|
3251
3254
|
(C = t == null ? void 0 : t()) != null && C.noWrap ? /* @__PURE__ */ P(z, { children: /* @__PURE__ */ P(
|
|
3252
|
-
|
|
3255
|
+
$r,
|
|
3253
3256
|
{
|
|
3254
3257
|
componentRef: y().componentRef,
|
|
3255
3258
|
componentOptions: y().componentOptions,
|
|
@@ -3278,7 +3281,7 @@ function lt(e) {
|
|
|
3278
3281
|
context: e.context,
|
|
3279
3282
|
children: [
|
|
3280
3283
|
/* @__PURE__ */ P(
|
|
3281
|
-
|
|
3284
|
+
$r,
|
|
3282
3285
|
{
|
|
3283
3286
|
componentRef: y().componentRef,
|
|
3284
3287
|
componentOptions: y().componentOptions,
|
|
@@ -3361,7 +3364,7 @@ function Po(e) {
|
|
|
3361
3364
|
}
|
|
3362
3365
|
function No(e) {
|
|
3363
3366
|
var n, o, s;
|
|
3364
|
-
const t =
|
|
3367
|
+
const t = Mr(Gr), r = Mr(Pn);
|
|
3365
3368
|
return /* @__PURE__ */ P(
|
|
3366
3369
|
Po,
|
|
3367
3370
|
{
|
|
@@ -3397,6 +3400,6 @@ export {
|
|
|
3397
3400
|
qt as evaluate,
|
|
3398
3401
|
wo as getSizesForBreakpoints,
|
|
3399
3402
|
fo as mapStyleObjToStrIfNeeded,
|
|
3400
|
-
|
|
3403
|
+
Hr as set,
|
|
3401
3404
|
so as triggerAnimation
|
|
3402
3405
|
};
|