@builder.io/sdk-react 4.2.1 → 4.2.3
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 +37 -37
- package/lib/browser/blocks-exports.mjs +1238 -1168
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/server-entry-0817de95.cjs +2 -0
- package/lib/browser/{server-entry-5e98a993.js → server-entry-331e2fd4.js} +248 -246
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-4bab42b1.cjs → accordion-1559ca68.cjs} +1 -1
- package/lib/edge/{accordion-a8a363e4.js → accordion-3e9ee224.js} +1 -1
- package/lib/edge/{blocks-d07d0261.cjs → blocks-4f20c19a.cjs} +14 -14
- package/lib/edge/{blocks-e1f5b0d0.js → blocks-b9be7dc1.js} +749 -736
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-6734c0bb.cjs → button-0a632d4f.cjs} +1 -1
- package/lib/edge/{button-bbcadacf.js → button-ba852235.js} +2 -2
- package/lib/edge/{columns-821cba14.cjs → columns-66170ac9.cjs} +1 -1
- package/lib/edge/{columns-cf3081c6.js → columns-ee2fba7b.js} +3 -3
- package/lib/edge/content-variants-4f54d98a.cjs +302 -0
- package/lib/edge/{content-variants-a704e35c.js → content-variants-c013569a.js} +489 -444
- package/lib/edge/{custom-code-f6c30129.js → custom-code-38e2c9d5.js} +1 -1
- package/lib/edge/{custom-code-8fcaa31e.cjs → custom-code-48579935.cjs} +1 -1
- package/lib/edge/{embed-3c0b5564.js → embed-1ce0435c.js} +1 -1
- package/lib/edge/{embed-666d3cc4.cjs → embed-9a7f29ff.cjs} +1 -1
- package/lib/edge/form-d9b6dea6.cjs +1 -0
- package/lib/edge/{form-8b068721.js → form-f558f5d4.js} +24 -21
- package/lib/edge/{get-class-prop-name-d6d821d6.js → get-class-prop-name-35ccd32a.js} +1 -1
- package/lib/edge/{get-class-prop-name-2869a960.cjs → get-class-prop-name-d2be9a48.cjs} +1 -1
- package/lib/edge/image-cce92f6c.cjs +17 -0
- package/lib/edge/image-d87761af.js +123 -0
- package/lib/edge/img-a1e0f10e.js +33 -0
- package/lib/edge/img-b21eb075.cjs +1 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-665ef328.js → input-5c0d3350.js} +1 -1
- package/lib/edge/{input-d31d6451.cjs → input-6854bc85.cjs} +1 -1
- package/lib/edge/{personalization-container-e784836e.js → personalization-container-adf9e0bd.js} +4 -4
- package/lib/edge/{personalization-container-d12566e8.cjs → personalization-container-f7fdc090.cjs} +1 -1
- package/lib/edge/{select-c3085265.cjs → select-6c4637ae.cjs} +1 -1
- package/lib/edge/{select-5fe49bd4.js → select-713e73f6.js} +1 -1
- package/lib/edge/server-entry-0bef3cb1.cjs +2 -0
- package/lib/{node/server-entry-48724189.js → edge/server-entry-71badd34.js} +307 -307
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-cbbbb02e.cjs → slot-59a86f46.cjs} +1 -1
- package/lib/edge/{slot-a17ee2d7.js → slot-a3c27352.js} +3 -3
- package/lib/edge/symbol-3d81a9de.cjs +1 -0
- package/lib/edge/{symbol-9f960685.js → symbol-86e5a3f0.js} +26 -23
- package/lib/edge/tabs-0d914e5c.cjs +1 -0
- package/lib/edge/{tabs-26ac5b2f.js → tabs-60f8bb61.js} +24 -23
- package/lib/node/blocks-exports.cjs +38 -38
- package/lib/node/blocks-exports.mjs +1375 -1305
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/server-entry-05b0f263.cjs +2 -0
- package/lib/{edge/server-entry-c9d5300f.js → node/server-entry-68823bb0.js} +346 -342
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-a7aba6d2.js → setIvm-bb3d0e32.js} +1 -1
- package/lib/node/{setIvm-3b6199a0.cjs → setIvm-bec8f1ed.cjs} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-fdc70f22.js → should-force-browser-runtime-in-node-a4c71d14.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-cbe0ef14.cjs → should-force-browser-runtime-in-node-bbbdf124.cjs} +1 -1
- package/package.json +1 -1
- package/types/blocks/img/img.d.ts +2 -0
- package/types/blocks/symbol/symbol.types.d.ts +1 -2
- package/types/components/awaiter.d.ts +1 -11
- package/types/components/awaiter.types.d.ts +7 -0
- package/types/components/block/components/live-edit-block-styles.d.ts +8 -0
- package/types/components/block/components/style-wrapper.d.ts +9 -0
- package/types/components/live-edit.d.ts +9 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/helpers/find-block.d.ts +18 -0
- package/types/helpers/subscribe-to-editor.d.ts +3 -2
- package/lib/browser/server-entry-4cf669a1.cjs +0 -2
- package/lib/edge/content-variants-ec180883.cjs +0 -302
- package/lib/edge/form-51f639ab.cjs +0 -1
- package/lib/edge/image-209835f4.js +0 -94
- package/lib/edge/image-87a4e006.cjs +0 -17
- package/lib/edge/image.helpers-3e926d47.js +0 -33
- package/lib/edge/image.helpers-dba8a869.cjs +0 -1
- package/lib/edge/img-b04b9b6d.cjs +0 -1
- package/lib/edge/img-dfbd4080.js +0 -28
- package/lib/edge/server-entry-acf5ce7d.cjs +0 -2
- package/lib/edge/symbol-b56b5675.cjs +0 -1
- package/lib/edge/tabs-bf6643d7.cjs +0 -1
- package/lib/node/server-entry-562c0663.cjs +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { createContext as
|
|
3
|
-
import { BuilderContext as
|
|
4
|
-
import { isEditing as
|
|
5
|
-
import { getClassPropName as
|
|
6
|
-
import { DynamicRenderer as
|
|
7
|
-
const
|
|
1
|
+
import { jsx as O, Fragment as L, jsxs as it } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as On, useEffect as pe, useState as he, useContext as Lt, useRef as jn } from "react";
|
|
3
|
+
import { BuilderContext as Xt } from "./blocks-exports.mjs";
|
|
4
|
+
import { isEditing as Ft, isBrowser as Wt, getUserAttributes as An, checkIsDefined as st, logger as Jr, TARGET as lt, isPreviewing as In } from "./server-entry-71badd34.js";
|
|
5
|
+
import { getClassPropName as Tn } from "./get-class-prop-name-35ccd32a.js";
|
|
6
|
+
import { DynamicRenderer as Pn } from "./dynamic-renderer-8b343325.js";
|
|
7
|
+
const bn = On({ registeredComponents: {} }), Nn = (e, t, n) => {
|
|
8
8
|
const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, s) => o != null ? o[s] : o, e);
|
|
9
9
|
return r === void 0 || r === e ? n : r;
|
|
10
|
-
},
|
|
10
|
+
}, Kr = ({
|
|
11
11
|
builder: e,
|
|
12
12
|
context: t,
|
|
13
13
|
event: n,
|
|
@@ -19,15 +19,15 @@ const Pn = Cn({ registeredComponents: {} }), bn = (e, t, n) => {
|
|
|
19
19
|
builder: e,
|
|
20
20
|
context: t,
|
|
21
21
|
event: n
|
|
22
|
-
}),
|
|
23
|
-
isEditing:
|
|
24
|
-
isBrowser:
|
|
25
|
-
isServer: !
|
|
26
|
-
getUserAttributes: () =>
|
|
27
|
-
}),
|
|
22
|
+
}), Rn = () => ({
|
|
23
|
+
isEditing: Ft(),
|
|
24
|
+
isBrowser: Wt(),
|
|
25
|
+
isServer: !Wt(),
|
|
26
|
+
getUserAttributes: () => An()
|
|
27
|
+
}), Bn = (e, {
|
|
28
28
|
isExpression: t = !0
|
|
29
29
|
}) => /* 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;
|
|
30
|
-
function
|
|
30
|
+
function Jt({
|
|
31
31
|
rootState: e,
|
|
32
32
|
localState: t,
|
|
33
33
|
rootSetState: n
|
|
@@ -37,7 +37,7 @@ function Xt({
|
|
|
37
37
|
if (t && o in t)
|
|
38
38
|
return t[o];
|
|
39
39
|
const s = r[o];
|
|
40
|
-
return typeof s == "object" && s !== null ?
|
|
40
|
+
return typeof s == "object" && s !== null ? Jt({
|
|
41
41
|
rootState: s,
|
|
42
42
|
localState: void 0,
|
|
43
43
|
rootSetState: n ? (a) => {
|
|
@@ -52,7 +52,7 @@ function Xt({
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
const
|
|
55
|
+
const Mn = ({
|
|
56
56
|
code: e,
|
|
57
57
|
builder: t,
|
|
58
58
|
context: n,
|
|
@@ -61,11 +61,11 @@ const Bn = ({
|
|
|
61
61
|
rootSetState: s,
|
|
62
62
|
rootState: a
|
|
63
63
|
}) => {
|
|
64
|
-
const f =
|
|
64
|
+
const f = Kr({
|
|
65
65
|
builder: t,
|
|
66
66
|
context: n,
|
|
67
67
|
event: r,
|
|
68
|
-
state:
|
|
68
|
+
state: Jt({
|
|
69
69
|
rootState: a,
|
|
70
70
|
localState: o,
|
|
71
71
|
rootSetState: s
|
|
@@ -73,19 +73,19 @@ const Bn = ({
|
|
|
73
73
|
});
|
|
74
74
|
return new Function(...f.map(([d]) => d), e)(...f.map(([, d]) => d));
|
|
75
75
|
};
|
|
76
|
-
var b,
|
|
76
|
+
var b, Dn = function(e) {
|
|
77
77
|
function t(i) {
|
|
78
|
-
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
78
|
+
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && kn.test(String.fromCharCode(i));
|
|
79
79
|
}
|
|
80
80
|
function n(i) {
|
|
81
|
-
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
81
|
+
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Dr.test(String.fromCharCode(i));
|
|
82
82
|
}
|
|
83
83
|
function r(i, l) {
|
|
84
84
|
for (var u = g, p = 1, E = 0; ; ) {
|
|
85
85
|
ot.lastIndex = E;
|
|
86
|
-
var
|
|
87
|
-
if (
|
|
88
|
-
++p, E =
|
|
86
|
+
var F = ot.exec(u);
|
|
87
|
+
if (F && F.index < i)
|
|
88
|
+
++p, E = F.index + F[0].length;
|
|
89
89
|
else
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
@@ -103,25 +103,25 @@ var b, Mn = function(e) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
function s() {
|
|
106
|
-
this.line =
|
|
106
|
+
this.line = ye, this.ab = c - re;
|
|
107
107
|
}
|
|
108
108
|
function a(i, l) {
|
|
109
|
-
|
|
109
|
+
we = c, C.C && (kt = new s()), S = i, d(), Y = l, Re = i.m;
|
|
110
110
|
}
|
|
111
111
|
function f() {
|
|
112
|
-
for (var i = c, l = C.va && C.C && new s(), u = g.charCodeAt(c += 2); c <
|
|
112
|
+
for (var i = c, l = C.va && C.C && new s(), u = g.charCodeAt(c += 2); c < ve && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
|
|
113
113
|
++c, u = g.charCodeAt(c);
|
|
114
114
|
C.va && C.va(!1, g.slice(i + 2, c), i, c, l, C.C && new s());
|
|
115
115
|
}
|
|
116
116
|
function d() {
|
|
117
|
-
for (; c <
|
|
117
|
+
for (; c < ve; ) {
|
|
118
118
|
var i = g.charCodeAt(c);
|
|
119
119
|
if (i === 32)
|
|
120
120
|
++c;
|
|
121
121
|
else if (i === 13)
|
|
122
|
-
++c, i = g.charCodeAt(c), i === 10 && ++c, C.C && (++
|
|
122
|
+
++c, i = g.charCodeAt(c), i === 10 && ++c, C.C && (++ye, re = c);
|
|
123
123
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
124
|
-
++c, C.C && (++
|
|
124
|
+
++c, C.C && (++ye, re = c);
|
|
125
125
|
else if (8 < i && 14 > i)
|
|
126
126
|
++c;
|
|
127
127
|
else if (i === 47)
|
|
@@ -130,7 +130,7 @@ var b, Mn = function(e) {
|
|
|
130
130
|
var l = C.va && C.C && new s(), u = c, p = g.indexOf("*/", c += 2);
|
|
131
131
|
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2, C.C)
|
|
132
132
|
for (ot.lastIndex = u; (i = ot.exec(g)) && i.index < c; )
|
|
133
|
-
++
|
|
133
|
+
++ye, re = i.index + i[0].length;
|
|
134
134
|
C.va && C.va(!0, g.slice(u + 2, p), u, c, l, C.C && new s());
|
|
135
135
|
} else if (i === 47)
|
|
136
136
|
f();
|
|
@@ -138,7 +138,7 @@ var b, Mn = function(e) {
|
|
|
138
138
|
break;
|
|
139
139
|
else if (i === 160)
|
|
140
140
|
++c;
|
|
141
|
-
else if (5760 <= i &&
|
|
141
|
+
else if (5760 <= i && En.test(String.fromCharCode(i)))
|
|
142
142
|
++c;
|
|
143
143
|
else
|
|
144
144
|
break;
|
|
@@ -147,7 +147,7 @@ var b, Mn = function(e) {
|
|
|
147
147
|
function v(i) {
|
|
148
148
|
switch (i) {
|
|
149
149
|
case 46:
|
|
150
|
-
i = g.charCodeAt(c + 1), 48 <= i && 57 >= i ?
|
|
150
|
+
i = g.charCodeAt(c + 1), 48 <= i && 57 >= i ? P(!0) : (++c, a(Ir));
|
|
151
151
|
return;
|
|
152
152
|
case 40:
|
|
153
153
|
return ++c, a(ne);
|
|
@@ -164,14 +164,14 @@ var b, Mn = function(e) {
|
|
|
164
164
|
case 123:
|
|
165
165
|
return ++c, a(De);
|
|
166
166
|
case 125:
|
|
167
|
-
return ++c, a(
|
|
167
|
+
return ++c, a(Se);
|
|
168
168
|
case 58:
|
|
169
169
|
return ++c, a(_e);
|
|
170
170
|
case 63:
|
|
171
|
-
return ++c, a(
|
|
171
|
+
return ++c, a(Tr);
|
|
172
172
|
case 48:
|
|
173
173
|
if (i = g.charCodeAt(c + 1), i === 120 || i === 88) {
|
|
174
|
-
c += 2, i =
|
|
174
|
+
c += 2, i = H(16), i === null && r(U + 2, "Expected hexadecimal number"), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), a(Me, i);
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
177
|
case 49:
|
|
@@ -183,12 +183,12 @@ var b, Mn = function(e) {
|
|
|
183
183
|
case 55:
|
|
184
184
|
case 56:
|
|
185
185
|
case 57:
|
|
186
|
-
return
|
|
186
|
+
return P(!1);
|
|
187
187
|
case 34:
|
|
188
188
|
case 39:
|
|
189
189
|
c++;
|
|
190
190
|
for (var l = ""; ; ) {
|
|
191
|
-
c >=
|
|
191
|
+
c >= ve && r(U, "Unterminated string constant");
|
|
192
192
|
var u = g.charCodeAt(c);
|
|
193
193
|
if (u === i) {
|
|
194
194
|
++c, a(et, l);
|
|
@@ -211,13 +211,13 @@ var b, Mn = function(e) {
|
|
|
211
211
|
l += "\r";
|
|
212
212
|
break;
|
|
213
213
|
case 120:
|
|
214
|
-
l += String.fromCharCode(
|
|
214
|
+
l += String.fromCharCode(j(2));
|
|
215
215
|
break;
|
|
216
216
|
case 117:
|
|
217
|
-
l += String.fromCharCode(
|
|
217
|
+
l += String.fromCharCode(j(4));
|
|
218
218
|
break;
|
|
219
219
|
case 85:
|
|
220
|
-
l += String.fromCharCode(
|
|
220
|
+
l += String.fromCharCode(j(8));
|
|
221
221
|
break;
|
|
222
222
|
case 116:
|
|
223
223
|
l += " ";
|
|
@@ -237,7 +237,7 @@ var b, Mn = function(e) {
|
|
|
237
237
|
case 13:
|
|
238
238
|
g.charCodeAt(c) === 10 && ++c;
|
|
239
239
|
case 10:
|
|
240
|
-
C.C && (re = c, ++
|
|
240
|
+
C.C && (re = c, ++ye);
|
|
241
241
|
break;
|
|
242
242
|
default:
|
|
243
243
|
l += String.fromCharCode(u);
|
|
@@ -247,56 +247,56 @@ var b, Mn = function(e) {
|
|
|
247
247
|
}
|
|
248
248
|
return;
|
|
249
249
|
case 47:
|
|
250
|
-
i = g.charCodeAt(c + 1), Re ? (++c,
|
|
250
|
+
i = g.charCodeAt(c + 1), Re ? (++c, G()) : i === 61 ? I(me, 2) : I(Pr, 1);
|
|
251
251
|
return;
|
|
252
252
|
case 37:
|
|
253
253
|
case 42:
|
|
254
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
254
|
+
g.charCodeAt(c + 1) === 61 ? I(me, 2) : I(wn, 1);
|
|
255
255
|
return;
|
|
256
256
|
case 124:
|
|
257
257
|
case 38:
|
|
258
|
-
l = g.charCodeAt(c + 1), l === i ?
|
|
258
|
+
l = g.charCodeAt(c + 1), l === i ? I(i === 124 ? Rr : Br, 2) : l === 61 ? I(me, 2) : I(i === 124 ? pn : dn, 1);
|
|
259
259
|
return;
|
|
260
260
|
case 94:
|
|
261
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
261
|
+
g.charCodeAt(c + 1) === 61 ? I(me, 2) : I(hn, 1);
|
|
262
262
|
return;
|
|
263
263
|
case 43:
|
|
264
264
|
case 45:
|
|
265
|
-
l = g.charCodeAt(c + 1), l === i ? l === 45 && g.charCodeAt(c + 2) === 62 && nt.test(g.slice(ce, c)) ? (c += 3, f(), d(),
|
|
265
|
+
l = g.charCodeAt(c + 1), l === i ? l === 45 && g.charCodeAt(c + 2) === 62 && nt.test(g.slice(ce, c)) ? (c += 3, f(), d(), T()) : I(fn, 2) : l === 61 ? I(me, 2) : I(vn, 1);
|
|
266
266
|
return;
|
|
267
267
|
case 60:
|
|
268
268
|
case 62:
|
|
269
|
-
l = g.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + u) === 61 ?
|
|
269
|
+
l = g.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + u) === 61 ? I(me, u + 1) : I(mn, u)) : l === 33 && i === 60 && g.charCodeAt(c + 2) === 45 && g.charCodeAt(c + 3) === 45 ? (c += 4, f(), d(), T()) : (l === 61 && (u = g.charCodeAt(c + 2) === 61 ? 3 : 2), I(yn, u));
|
|
270
270
|
return;
|
|
271
271
|
case 61:
|
|
272
272
|
case 33:
|
|
273
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
273
|
+
g.charCodeAt(c + 1) === 61 ? I(gn, g.charCodeAt(c + 2) === 61 ? 3 : 2) : I(i === 61 ? br : Nr, 1);
|
|
274
274
|
return;
|
|
275
275
|
case 126:
|
|
276
|
-
return
|
|
276
|
+
return I(Nr, 1);
|
|
277
277
|
}
|
|
278
278
|
return !1;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function T(i) {
|
|
281
281
|
if (i ? c = U + 1 : U = c, C.C && (Et = new s()), i)
|
|
282
|
-
return
|
|
283
|
-
if (c >=
|
|
282
|
+
return G();
|
|
283
|
+
if (c >= ve)
|
|
284
284
|
return a(jt);
|
|
285
285
|
if (i = g.charCodeAt(c), n(i) || i === 92)
|
|
286
286
|
return _();
|
|
287
287
|
if (v(i) === !1) {
|
|
288
|
-
if (i = String.fromCharCode(i), i === "\\" ||
|
|
288
|
+
if (i = String.fromCharCode(i), i === "\\" || Dr.test(i))
|
|
289
289
|
return _();
|
|
290
290
|
r(c, "Unexpected character '" + i + "'");
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function I(i, l) {
|
|
294
294
|
var u = g.slice(c, c + l);
|
|
295
295
|
c += l, a(i, u);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function G() {
|
|
298
298
|
for (var i, l, u = c; ; ) {
|
|
299
|
-
c >=
|
|
299
|
+
c >= ve && r(u, "Unterminated regexp");
|
|
300
300
|
var p = g.charAt(c);
|
|
301
301
|
if (nt.test(p) && r(u, "Unterminated regexp"), i)
|
|
302
302
|
i = !1;
|
|
@@ -314,13 +314,13 @@ var b, Mn = function(e) {
|
|
|
314
314
|
i = g.slice(u, c), ++c, (l = R()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
|
|
315
315
|
try {
|
|
316
316
|
var E = new RegExp(i, l);
|
|
317
|
-
} catch (
|
|
318
|
-
throw
|
|
317
|
+
} catch (F) {
|
|
318
|
+
throw F instanceof SyntaxError && r(u, F.message), F;
|
|
319
319
|
}
|
|
320
|
-
a(
|
|
320
|
+
a(ur, E);
|
|
321
321
|
}
|
|
322
|
-
function
|
|
323
|
-
for (var u = c, p = 0, E = l === void 0 ? 1 / 0 : l,
|
|
322
|
+
function H(i, l) {
|
|
323
|
+
for (var u = c, p = 0, E = l === void 0 ? 1 / 0 : l, F = 0; F < E; ++F) {
|
|
324
324
|
var X = g.charCodeAt(c);
|
|
325
325
|
if (X = 97 <= X ? X - 97 + 10 : 65 <= X ? X - 65 + 10 : 48 <= X && 57 >= X ? X - 48 : 1 / 0, X >= i)
|
|
326
326
|
break;
|
|
@@ -328,44 +328,44 @@ var b, Mn = function(e) {
|
|
|
328
328
|
}
|
|
329
329
|
return c === u || l !== void 0 && c - u !== l ? null : p;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function P(i) {
|
|
332
332
|
var l = c, u = !1, p = g.charCodeAt(c) === 48;
|
|
333
|
-
i ||
|
|
333
|
+
i || H(10) !== null || r(l, "Invalid number"), g.charCodeAt(c) === 46 && (++c, H(10), u = !0), i = g.charCodeAt(c), (i === 69 || i === 101) && (i = g.charCodeAt(++c), i !== 43 && i !== 45 || ++c, H(10) === null && r(l, "Invalid number"), u = !0), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), i = g.slice(l, c);
|
|
334
334
|
var E;
|
|
335
335
|
u ? E = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || z ? r(l, "Invalid number") : E = parseInt(i, 8) : E = parseInt(i, 10), a(Me, E);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
return i =
|
|
337
|
+
function j(i) {
|
|
338
|
+
return i = H(16, i), i === null && r(U, "Bad character escape sequence"), i;
|
|
339
339
|
}
|
|
340
340
|
function R() {
|
|
341
|
-
|
|
341
|
+
Ee = !1;
|
|
342
342
|
for (var i, l = !0, u = c; ; ) {
|
|
343
343
|
var p = g.charCodeAt(c);
|
|
344
344
|
if (t(p))
|
|
345
|
-
|
|
345
|
+
Ee && (i += g.charAt(c)), ++c;
|
|
346
346
|
else if (p === 92) {
|
|
347
|
-
|
|
347
|
+
Ee || (i = g.slice(u, c)), Ee = !0, g.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, p = j(4);
|
|
348
348
|
var E = String.fromCharCode(p);
|
|
349
349
|
E || r(c - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(c - 4, "Invalid Unicode escape"), i += E;
|
|
350
350
|
} else
|
|
351
351
|
break;
|
|
352
352
|
l = !1;
|
|
353
353
|
}
|
|
354
|
-
return
|
|
354
|
+
return Ee ? i : g.slice(u, c);
|
|
355
355
|
}
|
|
356
356
|
function _() {
|
|
357
|
-
var i = R(), l =
|
|
358
|
-
!
|
|
357
|
+
var i = R(), l = xe;
|
|
358
|
+
!Ee && Sn(i) && (l = cn[i]), a(l, i);
|
|
359
359
|
}
|
|
360
360
|
function k() {
|
|
361
|
-
Ct = U, ce =
|
|
361
|
+
Ct = U, ce = we, Ot = kt, T();
|
|
362
362
|
}
|
|
363
363
|
function ue(i) {
|
|
364
364
|
if (z = i, c = U, C.C)
|
|
365
365
|
for (; c < re; )
|
|
366
366
|
re = g.lastIndexOf(`
|
|
367
|
-
`, re - 2) + 1, --
|
|
368
|
-
d(),
|
|
367
|
+
`, re - 2) + 1, --ye;
|
|
368
|
+
d(), T();
|
|
369
369
|
}
|
|
370
370
|
function Ie() {
|
|
371
371
|
this.type = null, this.start = U, this.end = null;
|
|
@@ -391,9 +391,9 @@ var b, Mn = function(e) {
|
|
|
391
391
|
return S === i ? (k(), !0) : !1;
|
|
392
392
|
}
|
|
393
393
|
function Ze() {
|
|
394
|
-
return !C.fc && (S === jt || S ===
|
|
394
|
+
return !C.fc && (S === jt || S === Se || nt.test(g.slice(ce, U)));
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function ge() {
|
|
397
397
|
N(oe) || Ze() || ee();
|
|
398
398
|
}
|
|
399
399
|
function M(i) {
|
|
@@ -406,52 +406,52 @@ var b, Mn = function(e) {
|
|
|
406
406
|
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), z && i.type === "Identifier" && rt(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
|
|
407
407
|
}
|
|
408
408
|
function Q() {
|
|
409
|
-
(S ===
|
|
409
|
+
(S === Pr || S === me && Y === "/=") && T(!0);
|
|
410
410
|
var i = S, l = B();
|
|
411
411
|
switch (i) {
|
|
412
412
|
case At:
|
|
413
|
-
case
|
|
413
|
+
case fr:
|
|
414
414
|
k();
|
|
415
415
|
var u = i === At;
|
|
416
|
-
N(oe) || Ze() ? l.label = null : S !==
|
|
416
|
+
N(oe) || Ze() ? l.label = null : S !== xe ? ee() : (l.label = te(), ge());
|
|
417
417
|
for (var p = 0; p < D.length; ++p) {
|
|
418
418
|
var E = D[p];
|
|
419
419
|
if ((l.label === null || E.name === l.label.name) && (E.kind !== null && (u || E.kind === "loop") || l.label && u))
|
|
420
420
|
break;
|
|
421
421
|
}
|
|
422
422
|
return p === D.length && r(l.start, "Unsyntactic " + i.l), x(l, u ? "BreakStatement" : "ContinueStatement");
|
|
423
|
-
case cr:
|
|
424
|
-
return k(), de(), x(l, "DebuggerStatement");
|
|
425
423
|
case pr:
|
|
426
|
-
return k(),
|
|
427
|
-
case
|
|
428
|
-
return k(), D.push(Mt),
|
|
424
|
+
return k(), ge(), x(l, "DebuggerStatement");
|
|
425
|
+
case dr:
|
|
426
|
+
return k(), D.push(Mt), l.body = Q(), D.pop(), M(Nt), l.test = Pe(), ge(), x(l, "DoWhileStatement");
|
|
427
|
+
case mr:
|
|
428
|
+
return k(), D.push(Mt), M(ne), S === oe ? gt(l, null) : S === bt ? (i = B(), k(), ar(i, !0), x(i, "VariableDeclaration"), i.fa.length === 1 && N(tt) ? sr(l, i) : gt(l, i)) : (i = V(!1, !0), N(tt) ? (Qe(i), sr(l, i)) : gt(l, i));
|
|
429
429
|
case Tt:
|
|
430
430
|
return k(), wt(l, !0);
|
|
431
|
-
case yr:
|
|
432
|
-
return k(), l.test = Pe(), l.da = Q(), l.alternate = N(hr) ? Q() : null, x(l, "IfStatement");
|
|
433
|
-
case mr:
|
|
434
|
-
return Be || C.Ib || r(U, "'return' outside of function"), k(), N(oe) || Ze() ? l.K = null : (l.K = $(), de()), x(l, "ReturnStatement");
|
|
435
|
-
case Pt:
|
|
436
|
-
for (k(), l.Qb = Pe(), l.tb = [], M(De), D.push(kn); S !== xe; )
|
|
437
|
-
S === It || S === fr ? (i = S === It, p && x(p, "SwitchCase"), l.tb.push(p = B()), p.da = [], k(), i ? p.test = $() : (u && r(Ct, "Multiple default clauses"), u = !0, p.test = null), M(_e)) : (p || ee(), p.da.push(Q()));
|
|
438
|
-
return p && x(p, "SwitchCase"), k(), D.pop(), x(l, "SwitchStatement");
|
|
439
431
|
case vr:
|
|
440
|
-
return k(),
|
|
432
|
+
return k(), l.test = Pe(), l.da = Q(), l.alternate = N(gr) ? Q() : null, x(l, "IfStatement");
|
|
441
433
|
case wr:
|
|
442
|
-
return
|
|
434
|
+
return Be || C.Ib || r(U, "'return' outside of function"), k(), N(oe) || Ze() ? l.K = null : (l.K = V(), ge()), x(l, "ReturnStatement");
|
|
435
|
+
case Pt:
|
|
436
|
+
for (k(), l.Qb = Pe(), l.tb = [], M(De), D.push(Cn); S !== Se; )
|
|
437
|
+
S === It || S === hr ? (i = S === It, p && x(p, "SwitchCase"), l.tb.push(p = B()), p.da = [], k(), i ? p.test = V() : (u && r(Ct, "Multiple default clauses"), u = !0, p.test = null), M(_e)) : (p || ee(), p.da.push(Q()));
|
|
438
|
+
return p && x(p, "SwitchCase"), k(), D.pop(), x(l, "SwitchStatement");
|
|
439
|
+
case xr:
|
|
440
|
+
return k(), nt.test(g.slice(ce, U)) && r(ce, "Illegal newline after throw"), l.K = V(), ge(), x(l, "ThrowStatement");
|
|
441
|
+
case Sr:
|
|
442
|
+
return k(), l.block = be(), l.Ea = null, S === cr && (i = B(), k(), M(ne), i.Ua = te(), z && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), M(q), i.body = be(), l.Ea = x(i, "CatchClause")), l.fb = N(yr) ? be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
|
|
443
443
|
case bt:
|
|
444
|
-
return k(),
|
|
444
|
+
return k(), ar(l), ge(), x(l, "VariableDeclaration");
|
|
445
445
|
case Nt:
|
|
446
446
|
return k(), l.test = Pe(), D.push(Mt), l.body = Q(), D.pop(), x(l, "WhileStatement");
|
|
447
|
-
case
|
|
447
|
+
case Er:
|
|
448
448
|
return z && r(U, "'with' in strict mode"), k(), l.object = Pe(), l.body = Q(), x(l, "WithStatement");
|
|
449
449
|
case De:
|
|
450
450
|
return be();
|
|
451
451
|
case oe:
|
|
452
452
|
return k(), x(l, "EmptyStatement");
|
|
453
453
|
default:
|
|
454
|
-
if (u = Y, E =
|
|
454
|
+
if (u = Y, E = V(), i === xe && E.type === "Identifier" && N(_e)) {
|
|
455
455
|
for (p = 0; p < D.length; ++p)
|
|
456
456
|
D[p].name === u && r(E.start, "Label '" + u + "' is already declared");
|
|
457
457
|
return D.push({
|
|
@@ -459,40 +459,40 @@ var b, Mn = function(e) {
|
|
|
459
459
|
kind: S.W ? "loop" : S === Pt ? "switch" : null
|
|
460
460
|
}), l.body = Q(), D.pop(), l.label = E, x(l, "LabeledStatement");
|
|
461
461
|
}
|
|
462
|
-
return l.la = E,
|
|
462
|
+
return l.la = E, ge(), x(l, "ExpressionStatement");
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
function Pe() {
|
|
466
466
|
M(ne);
|
|
467
|
-
var i =
|
|
467
|
+
var i = V();
|
|
468
468
|
return M(q), i;
|
|
469
469
|
}
|
|
470
470
|
function be(i) {
|
|
471
471
|
var l = B(), u = !0, p = !1;
|
|
472
|
-
for (l.body = [], M(De); !N(
|
|
472
|
+
for (l.body = [], M(De); !N(Se); ) {
|
|
473
473
|
var E = Q();
|
|
474
474
|
if (l.body.push(E), u && i && dt(E)) {
|
|
475
|
-
var
|
|
475
|
+
var F = p;
|
|
476
476
|
ue(p = !0);
|
|
477
477
|
}
|
|
478
478
|
u = !1;
|
|
479
479
|
}
|
|
480
|
-
return p && !
|
|
480
|
+
return p && !F && ue(!1), x(l, "BlockStatement");
|
|
481
481
|
}
|
|
482
482
|
function gt(i, l) {
|
|
483
|
-
return i.ua = l, M(oe), i.test = S === oe ? null :
|
|
483
|
+
return i.ua = l, M(oe), i.test = S === oe ? null : V(), M(oe), i.update = S === q ? null : V(), M(q), i.body = Q(), D.pop(), x(i, "ForStatement");
|
|
484
484
|
}
|
|
485
|
-
function
|
|
486
|
-
return i.left = l, i.right =
|
|
485
|
+
function sr(i, l) {
|
|
486
|
+
return i.left = l, i.right = V(), M(q), i.body = Q(), D.pop(), x(i, "ForInStatement");
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function ar(i, l) {
|
|
489
489
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
490
490
|
var u = B();
|
|
491
|
-
if (u.id = te(), z && rt(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = N(
|
|
491
|
+
if (u.id = te(), z && rt(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = N(br) ? V(!0, l) : null, i.fa.push(x(u, "VariableDeclarator")), !N(fe))
|
|
492
492
|
break;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function V(i, l) {
|
|
496
496
|
var u = yt(l);
|
|
497
497
|
if (!i && S === fe) {
|
|
498
498
|
for (i = Z(u), i.xb = [u]; N(fe); )
|
|
@@ -503,9 +503,9 @@ var b, Mn = function(e) {
|
|
|
503
503
|
}
|
|
504
504
|
function yt(i) {
|
|
505
505
|
var l = mt(vt(), -1, i);
|
|
506
|
-
if (N(
|
|
506
|
+
if (N(Tr)) {
|
|
507
507
|
var u = Z(l);
|
|
508
|
-
u.test = l, u.da =
|
|
508
|
+
u.test = l, u.da = V(!0), M(_e), u.alternate = V(!0, i), l = x(u, "ConditionalExpression");
|
|
509
509
|
}
|
|
510
510
|
return S.Cb ? (u = Z(l), u.operator = Y, u.left = l, k(), u.right = yt(i), Qe(l), x(u, "AssignmentExpression")) : l;
|
|
511
511
|
}
|
|
@@ -513,7 +513,7 @@ var b, Mn = function(e) {
|
|
|
513
513
|
var p = S.L;
|
|
514
514
|
if (p !== null && (!u || S !== tt) && p > l) {
|
|
515
515
|
var E = Z(i);
|
|
516
|
-
return E.left = i, E.operator = Y, i = S, k(), E.right = mt(vt(), p, u), p = x(E, i ===
|
|
516
|
+
return E.left = i, E.operator = Y, i = S, k(), E.right = mt(vt(), p, u), p = x(E, i === Rr || i === Br ? "LogicalExpression" : "BinaryExpression"), mt(p, l, u);
|
|
517
517
|
}
|
|
518
518
|
return i;
|
|
519
519
|
}
|
|
@@ -527,55 +527,55 @@ var b, Mn = function(e) {
|
|
|
527
527
|
return l;
|
|
528
528
|
}
|
|
529
529
|
function Ne(i, l) {
|
|
530
|
-
if (N(
|
|
530
|
+
if (N(Ir)) {
|
|
531
531
|
var u = Z(i);
|
|
532
532
|
return u.object = i, u.Wa = te(!0), u.bb = !1, Ne(x(u, "MemberExpression"), l);
|
|
533
533
|
}
|
|
534
|
-
return N(Rt) ? (u = Z(i), u.object = i, u.Wa =
|
|
534
|
+
return N(Rt) ? (u = Z(i), u.object = i, u.Wa = V(), u.bb = !0, M(Bt), Ne(x(u, "MemberExpression"), l)) : !l && N(ne) ? (u = Z(i), u.callee = i, u.arguments = xt(q, !1), Ne(x(u, "CallExpression"), l)) : i;
|
|
535
535
|
}
|
|
536
536
|
function qe() {
|
|
537
537
|
switch (S) {
|
|
538
|
-
case
|
|
538
|
+
case Cr:
|
|
539
539
|
var i = B();
|
|
540
540
|
return k(), x(i, "ThisExpression");
|
|
541
|
-
case
|
|
541
|
+
case xe:
|
|
542
542
|
return te();
|
|
543
543
|
case Me:
|
|
544
544
|
case et:
|
|
545
|
-
case
|
|
546
|
-
return i = B(), i.value = Y, i.raw = g.slice(U,
|
|
547
|
-
case kr:
|
|
548
|
-
case Cr:
|
|
545
|
+
case ur:
|
|
546
|
+
return i = B(), i.value = Y, i.raw = g.slice(U, we), k(), x(i, "Literal");
|
|
549
547
|
case Or:
|
|
548
|
+
case jr:
|
|
549
|
+
case Ar:
|
|
550
550
|
return i = B(), i.value = S.$a, i.raw = S.l, k(), x(i, "Literal");
|
|
551
551
|
case ne:
|
|
552
552
|
i = Et;
|
|
553
553
|
var l = U;
|
|
554
554
|
k();
|
|
555
|
-
var u =
|
|
556
|
-
return u.start = l, u.end =
|
|
555
|
+
var u = V();
|
|
556
|
+
return u.start = l, u.end = we, C.C && (u.X.start = i, u.X.end = kt), C.Xa && (u.j = [l, we]), M(q), u;
|
|
557
557
|
case Rt:
|
|
558
558
|
return i = B(), k(), i.elements = xt(Bt, !0, !0), x(i, "ArrayExpression");
|
|
559
559
|
case De:
|
|
560
|
-
for (i = B(), l = !0, u = !1, i.h = [], k(); !N(
|
|
560
|
+
for (i = B(), l = !0, u = !1, i.h = [], k(); !N(Se); ) {
|
|
561
561
|
if (l)
|
|
562
562
|
l = !1;
|
|
563
|
-
else if (M(fe), C.sb && N(
|
|
563
|
+
else if (M(fe), C.sb && N(Se))
|
|
564
564
|
break;
|
|
565
565
|
var p = {
|
|
566
566
|
key: S === Me || S === et ? qe() : te(!0)
|
|
567
567
|
}, E = !1;
|
|
568
568
|
if (N(_e)) {
|
|
569
|
-
p.value =
|
|
570
|
-
var
|
|
569
|
+
p.value = V(!0);
|
|
570
|
+
var F = p.kind = "init";
|
|
571
571
|
} else
|
|
572
|
-
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ee() : (E = u = !0,
|
|
572
|
+
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ee() : (E = u = !0, F = p.kind = p.key.name, p.key = S === Me || S === et ? qe() : te(!0), S !== ne && ee(), p.value = wt(B(), !1));
|
|
573
573
|
if (p.key.type === "Identifier" && (z || u))
|
|
574
574
|
for (var X = 0; X < i.h.length; ++X) {
|
|
575
|
-
var
|
|
576
|
-
if (
|
|
577
|
-
var Dt =
|
|
578
|
-
Dt && !z &&
|
|
575
|
+
var ke = i.h[X];
|
|
576
|
+
if (ke.key.name === p.key.name) {
|
|
577
|
+
var Dt = F === ke.kind || E && ke.kind === "init" || F === "init" && (ke.kind === "get" || ke.kind === "set");
|
|
578
|
+
Dt && !z && F === "init" && ke.kind === "init" && (Dt = !1), Dt && r(p.key.start, "Redefinition of property");
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
i.h.push(p);
|
|
@@ -583,13 +583,13 @@ var b, Mn = function(e) {
|
|
|
583
583
|
return x(i, "ObjectExpression");
|
|
584
584
|
case Tt:
|
|
585
585
|
return i = B(), k(), wt(i, !1);
|
|
586
|
-
case
|
|
587
|
-
return i = B(), k(), i.callee = Ne(qe(), !0), i.arguments = N(ne) ? xt(q, !1) :
|
|
586
|
+
case kr:
|
|
587
|
+
return i = B(), k(), i.callee = Ne(qe(), !0), i.arguments = N(ne) ? xt(q, !1) : un, x(i, "NewExpression");
|
|
588
588
|
}
|
|
589
589
|
ee();
|
|
590
590
|
}
|
|
591
591
|
function wt(i, l) {
|
|
592
|
-
S ===
|
|
592
|
+
S === xe ? i.id = te() : l ? ee() : i.id = null, i.oa = [];
|
|
593
593
|
var u = !0;
|
|
594
594
|
for (M(ne); !N(q); )
|
|
595
595
|
u ? u = !1 : M(fe), i.oa.push(te());
|
|
@@ -597,7 +597,7 @@ var b, Mn = function(e) {
|
|
|
597
597
|
var p = D;
|
|
598
598
|
if (Be = !0, D = [], i.body = be(!0), Be = u, D = p, z || i.body.body.length && dt(i.body.body[0])) {
|
|
599
599
|
for (u = i.id ? -1 : 0; u < i.oa.length; ++u)
|
|
600
|
-
if (p = 0 > u ? i.id : i.oa[u], (
|
|
600
|
+
if (p = 0 > u ? i.id : i.oa[u], (Mr(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= u)
|
|
601
601
|
for (var E = 0; E < u; ++E)
|
|
602
602
|
p.name === i.oa[E].name && r(p.start, "Argument name clash in strict mode");
|
|
603
603
|
}
|
|
@@ -609,25 +609,25 @@ var b, Mn = function(e) {
|
|
|
609
609
|
E = !1;
|
|
610
610
|
else if (M(fe), l && C.sb && N(i))
|
|
611
611
|
break;
|
|
612
|
-
p.push(u && S === fe ? null :
|
|
612
|
+
p.push(u && S === fe ? null : V(!0));
|
|
613
613
|
}
|
|
614
614
|
return p;
|
|
615
615
|
}
|
|
616
616
|
function te(i) {
|
|
617
617
|
var l = B();
|
|
618
|
-
return i && C.yb === "everywhere" && (i = !1), S ===
|
|
618
|
+
return i && C.yb === "everywhere" && (i = !1), S === xe ? (!i && (C.yb && xn(Y) || z && Mr(Y)) && g.slice(U, we).indexOf("\\") === -1 && r(U, "The keyword '" + Y + "' is reserved"), l.name = Y) : i && S.l ? l.name = S.l : ee(), Re = !1, k(), x(l, "Identifier");
|
|
619
619
|
}
|
|
620
620
|
e.version = "0.5.0";
|
|
621
|
-
var C, g = "",
|
|
621
|
+
var C, g = "", ve, St;
|
|
622
622
|
e.parse = function(i, l) {
|
|
623
|
-
g = String(i),
|
|
624
|
-
for (var u in
|
|
625
|
-
Object.prototype.hasOwnProperty.call(C, u) || (C[u] =
|
|
626
|
-
for (St = C.sourceFile,
|
|
623
|
+
g = String(i), ve = g.length, C = l || {};
|
|
624
|
+
for (var u in lr)
|
|
625
|
+
Object.prototype.hasOwnProperty.call(C, u) || (C[u] = lr[u]);
|
|
626
|
+
for (St = C.sourceFile, ye = 1, c = re = 0, Re = !0, d(), u = C.dc, Ct = ce = c, C.C && (Ot = new s()), Be = z = !1, D = [], T(), i = u || B(), l = !0, u || (i.body = []); S !== jt; )
|
|
627
627
|
u = Q(), i.body.push(u), l && dt(u) && ue(!0), l = !1;
|
|
628
628
|
return x(i, "Program");
|
|
629
629
|
};
|
|
630
|
-
var
|
|
630
|
+
var lr = {
|
|
631
631
|
fc: !1,
|
|
632
632
|
sb: !0,
|
|
633
633
|
yb: !1,
|
|
@@ -638,13 +638,13 @@ var b, Mn = function(e) {
|
|
|
638
638
|
dc: null,
|
|
639
639
|
sourceFile: null,
|
|
640
640
|
vb: null
|
|
641
|
-
}, c = 0, U = 0,
|
|
641
|
+
}, c = 0, U = 0, we = 0, Et, kt, S, Y, Re, ye, re, Ct = 0, ce = 0, Ot, Be, D, z, un = [], Me = {
|
|
642
642
|
type: "num"
|
|
643
|
-
},
|
|
643
|
+
}, ur = {
|
|
644
644
|
type: "regexp"
|
|
645
645
|
}, et = {
|
|
646
646
|
type: "string"
|
|
647
|
-
},
|
|
647
|
+
}, xe = {
|
|
648
648
|
type: "name"
|
|
649
649
|
}, jt = {
|
|
650
650
|
type: "eof"
|
|
@@ -653,95 +653,95 @@ var b, Mn = function(e) {
|
|
|
653
653
|
}, It = {
|
|
654
654
|
l: "case",
|
|
655
655
|
m: !0
|
|
656
|
-
},
|
|
656
|
+
}, cr = {
|
|
657
657
|
l: "catch"
|
|
658
|
-
},
|
|
658
|
+
}, fr = {
|
|
659
659
|
l: "continue"
|
|
660
|
-
},
|
|
660
|
+
}, pr = {
|
|
661
661
|
l: "debugger"
|
|
662
|
-
},
|
|
662
|
+
}, hr = {
|
|
663
663
|
l: "default"
|
|
664
|
-
},
|
|
664
|
+
}, dr = {
|
|
665
665
|
l: "do",
|
|
666
666
|
W: !0
|
|
667
|
-
},
|
|
667
|
+
}, gr = {
|
|
668
668
|
l: "else",
|
|
669
669
|
m: !0
|
|
670
|
-
},
|
|
670
|
+
}, yr = {
|
|
671
671
|
l: "finally"
|
|
672
|
-
},
|
|
672
|
+
}, mr = {
|
|
673
673
|
l: "for",
|
|
674
674
|
W: !0
|
|
675
675
|
}, Tt = {
|
|
676
676
|
l: "function"
|
|
677
|
-
},
|
|
677
|
+
}, vr = {
|
|
678
678
|
l: "if"
|
|
679
|
-
},
|
|
679
|
+
}, wr = {
|
|
680
680
|
l: "return",
|
|
681
681
|
m: !0
|
|
682
682
|
}, Pt = {
|
|
683
683
|
l: "switch"
|
|
684
|
-
},
|
|
684
|
+
}, xr = {
|
|
685
685
|
l: "throw",
|
|
686
686
|
m: !0
|
|
687
|
-
},
|
|
687
|
+
}, Sr = {
|
|
688
688
|
l: "try"
|
|
689
689
|
}, bt = {
|
|
690
690
|
l: "var"
|
|
691
691
|
}, Nt = {
|
|
692
692
|
l: "while",
|
|
693
693
|
W: !0
|
|
694
|
-
},
|
|
694
|
+
}, Er = {
|
|
695
695
|
l: "with"
|
|
696
|
-
},
|
|
696
|
+
}, kr = {
|
|
697
697
|
l: "new",
|
|
698
698
|
m: !0
|
|
699
|
-
},
|
|
699
|
+
}, Cr = {
|
|
700
700
|
l: "this"
|
|
701
|
-
},
|
|
701
|
+
}, Or = {
|
|
702
702
|
l: "null",
|
|
703
703
|
$a: null
|
|
704
|
-
},
|
|
704
|
+
}, jr = {
|
|
705
705
|
l: "true",
|
|
706
706
|
$a: !0
|
|
707
|
-
},
|
|
707
|
+
}, Ar = {
|
|
708
708
|
l: "false",
|
|
709
709
|
$a: !1
|
|
710
710
|
}, tt = {
|
|
711
711
|
l: "in",
|
|
712
712
|
L: 7,
|
|
713
713
|
m: !0
|
|
714
|
-
},
|
|
714
|
+
}, cn = {
|
|
715
715
|
break: At,
|
|
716
716
|
case: It,
|
|
717
|
-
catch:
|
|
718
|
-
continue:
|
|
719
|
-
debugger:
|
|
720
|
-
default:
|
|
721
|
-
do:
|
|
722
|
-
else:
|
|
723
|
-
finally:
|
|
724
|
-
for:
|
|
717
|
+
catch: cr,
|
|
718
|
+
continue: fr,
|
|
719
|
+
debugger: pr,
|
|
720
|
+
default: hr,
|
|
721
|
+
do: dr,
|
|
722
|
+
else: gr,
|
|
723
|
+
finally: yr,
|
|
724
|
+
for: mr,
|
|
725
725
|
function: Tt,
|
|
726
|
-
if:
|
|
727
|
-
return:
|
|
726
|
+
if: vr,
|
|
727
|
+
return: wr,
|
|
728
728
|
switch: Pt,
|
|
729
|
-
throw:
|
|
730
|
-
try:
|
|
729
|
+
throw: xr,
|
|
730
|
+
try: Sr,
|
|
731
731
|
var: bt,
|
|
732
732
|
while: Nt,
|
|
733
|
-
with:
|
|
734
|
-
null:
|
|
735
|
-
true:
|
|
736
|
-
false:
|
|
737
|
-
new:
|
|
733
|
+
with: Er,
|
|
734
|
+
null: Or,
|
|
735
|
+
true: jr,
|
|
736
|
+
false: Ar,
|
|
737
|
+
new: kr,
|
|
738
738
|
in: tt,
|
|
739
739
|
instanceof: {
|
|
740
740
|
l: "instanceof",
|
|
741
741
|
L: 7,
|
|
742
742
|
m: !0
|
|
743
743
|
},
|
|
744
|
-
this:
|
|
744
|
+
this: Cr,
|
|
745
745
|
typeof: {
|
|
746
746
|
l: "typeof",
|
|
747
747
|
prefix: !0,
|
|
@@ -765,7 +765,7 @@ var b, Mn = function(e) {
|
|
|
765
765
|
}, De = {
|
|
766
766
|
type: "{",
|
|
767
767
|
m: !0
|
|
768
|
-
},
|
|
768
|
+
}, Se = {
|
|
769
769
|
type: "}"
|
|
770
770
|
}, ne = {
|
|
771
771
|
type: "(",
|
|
@@ -781,65 +781,65 @@ var b, Mn = function(e) {
|
|
|
781
781
|
}, _e = {
|
|
782
782
|
type: ":",
|
|
783
783
|
m: !0
|
|
784
|
-
},
|
|
784
|
+
}, Ir = {
|
|
785
785
|
type: "."
|
|
786
|
-
},
|
|
786
|
+
}, Tr = {
|
|
787
787
|
type: "?",
|
|
788
788
|
m: !0
|
|
789
|
-
},
|
|
789
|
+
}, Pr = {
|
|
790
790
|
L: 10,
|
|
791
791
|
m: !0
|
|
792
|
-
},
|
|
792
|
+
}, br = {
|
|
793
793
|
Cb: !0,
|
|
794
794
|
m: !0
|
|
795
|
-
},
|
|
795
|
+
}, me = {
|
|
796
796
|
Cb: !0,
|
|
797
797
|
m: !0
|
|
798
|
-
},
|
|
798
|
+
}, fn = {
|
|
799
799
|
cc: !0,
|
|
800
800
|
prefix: !0,
|
|
801
801
|
$b: !0
|
|
802
|
-
},
|
|
802
|
+
}, Nr = {
|
|
803
803
|
prefix: !0,
|
|
804
804
|
m: !0
|
|
805
|
-
},
|
|
805
|
+
}, Rr = {
|
|
806
806
|
L: 1,
|
|
807
807
|
m: !0
|
|
808
|
-
},
|
|
808
|
+
}, Br = {
|
|
809
809
|
L: 2,
|
|
810
810
|
m: !0
|
|
811
|
-
},
|
|
811
|
+
}, pn = {
|
|
812
812
|
L: 3,
|
|
813
813
|
m: !0
|
|
814
|
-
},
|
|
814
|
+
}, hn = {
|
|
815
815
|
L: 4,
|
|
816
816
|
m: !0
|
|
817
|
-
},
|
|
817
|
+
}, dn = {
|
|
818
818
|
L: 5,
|
|
819
819
|
m: !0
|
|
820
|
-
},
|
|
820
|
+
}, gn = {
|
|
821
821
|
L: 6,
|
|
822
822
|
m: !0
|
|
823
|
-
},
|
|
823
|
+
}, yn = {
|
|
824
824
|
L: 7,
|
|
825
825
|
m: !0
|
|
826
|
-
},
|
|
826
|
+
}, mn = {
|
|
827
827
|
L: 8,
|
|
828
828
|
m: !0
|
|
829
|
-
},
|
|
829
|
+
}, vn = {
|
|
830
830
|
L: 9,
|
|
831
831
|
prefix: !0,
|
|
832
832
|
m: !0
|
|
833
|
-
},
|
|
833
|
+
}, wn = {
|
|
834
834
|
L: 10,
|
|
835
835
|
m: !0
|
|
836
|
-
},
|
|
836
|
+
}, xn = o("class enum extends super const export import"), Mr = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), Sn = 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"), En = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Dr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), kn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), nt = /[\n\r\u2028\u2029]/, ot = /\r\n|[\n\r\u2028\u2029]/g, Ee, Mt = {
|
|
837
837
|
kind: "loop"
|
|
838
|
-
},
|
|
838
|
+
}, Cn = {
|
|
839
839
|
kind: "switch"
|
|
840
840
|
};
|
|
841
|
-
},
|
|
842
|
-
|
|
841
|
+
}, Gt = Gt = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
842
|
+
Dn(Gt.j || (Gt.j = {}));
|
|
843
843
|
function h(e, t) {
|
|
844
844
|
typeof e == "string" && (e = Oe(e, "code"));
|
|
845
845
|
var n = e.constructor;
|
|
@@ -855,13 +855,13 @@ function h(e, t) {
|
|
|
855
855
|
var s, a;
|
|
856
856
|
for (a in this)
|
|
857
857
|
typeof this[a] == "function" && (s = a.match(e)) && (this.rb[s[1]] = this[a].bind(this));
|
|
858
|
-
this.N =
|
|
858
|
+
this.N = Vt(this, this.ra, null), this.Na = this.N.object, this.ra = Oe(this.ba.join(`
|
|
859
859
|
`), "polyfills"), this.ba = void 0, ut(this.ra), s = new m(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new m(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
860
860
|
}
|
|
861
|
-
var
|
|
861
|
+
var _r = {
|
|
862
862
|
C: !0,
|
|
863
863
|
kc: 5
|
|
864
|
-
},
|
|
864
|
+
}, Kt = {
|
|
865
865
|
configurable: !0,
|
|
866
866
|
enumerable: !0,
|
|
867
867
|
writable: !1
|
|
@@ -877,24 +877,24 @@ var Dr = {
|
|
|
877
877
|
configurable: !1,
|
|
878
878
|
enumerable: !1,
|
|
879
879
|
writable: !1
|
|
880
|
-
},
|
|
880
|
+
}, Ur = {
|
|
881
881
|
configurable: !1,
|
|
882
882
|
enumerable: !0,
|
|
883
883
|
writable: !0
|
|
884
|
-
},
|
|
884
|
+
}, zr = {
|
|
885
885
|
STEP_ERROR: !0
|
|
886
886
|
}, Ae = {
|
|
887
887
|
SCOPE_REFERENCE: !0
|
|
888
888
|
}, Je = {
|
|
889
889
|
VALUE_IN_DESCRIPTOR: !0
|
|
890
|
-
},
|
|
890
|
+
}, Ce = {
|
|
891
891
|
REGEXP_TIMEOUT: !0
|
|
892
|
-
},
|
|
893
|
-
function
|
|
892
|
+
}, Lr = [], se = null, Ve = null, de = typeof globalThis == "undefined" ? void 0 : globalThis, _n = ["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();", "};"];
|
|
893
|
+
function zt(e) {
|
|
894
894
|
var t = e >>> 0;
|
|
895
895
|
return t === Number(e) ? t : NaN;
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function He(e) {
|
|
898
898
|
var t = e >>> 0;
|
|
899
899
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
900
900
|
}
|
|
@@ -916,9 +916,9 @@ b.Kb = 0;
|
|
|
916
916
|
b.ic = 0;
|
|
917
917
|
function Oe(e, t) {
|
|
918
918
|
var n = {}, r;
|
|
919
|
-
for (r in
|
|
920
|
-
n[r] =
|
|
921
|
-
return n.sourceFile = t,
|
|
919
|
+
for (r in _r)
|
|
920
|
+
n[r] = _r[r];
|
|
921
|
+
return n.sourceFile = t, de.j.parse(e, n);
|
|
922
922
|
}
|
|
923
923
|
b.Jb = function(e) {
|
|
924
924
|
var t = this.o[0];
|
|
@@ -940,7 +940,7 @@ b.lb = function() {
|
|
|
940
940
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
941
941
|
n = null;
|
|
942
942
|
else {
|
|
943
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
943
|
+
this.ca.shift(), 0 <= n.interval && Qr(this, n, n.interval);
|
|
944
944
|
var r = new m(n.node, n.scope);
|
|
945
945
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
946
946
|
}
|
|
@@ -953,7 +953,7 @@ b.lb = function() {
|
|
|
953
953
|
try {
|
|
954
954
|
var s = this.rb[r.type](e, n, r);
|
|
955
955
|
} catch (a) {
|
|
956
|
-
if (a !==
|
|
956
|
+
if (a !== zr)
|
|
957
957
|
throw this.value !== a && (this.value = void 0), a;
|
|
958
958
|
} finally {
|
|
959
959
|
Ve = o;
|
|
@@ -971,8 +971,8 @@ b.Eb = function() {
|
|
|
971
971
|
;
|
|
972
972
|
return this.za;
|
|
973
973
|
};
|
|
974
|
-
function
|
|
975
|
-
e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t,
|
|
974
|
+
function Un(e, t) {
|
|
975
|
+
e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Kt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Ln(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Wn(e, t), Gn(e, t), $n(e, t), Vn(e, t), Hn(e, t), Xn(e, t), Jn(e, t), Kn(e, t), zn(e, t);
|
|
976
976
|
var n = e.i(function() {
|
|
977
977
|
throw EvalError("Can't happen");
|
|
978
978
|
}, !1);
|
|
@@ -988,17 +988,17 @@ function _n(e, t) {
|
|
|
988
988
|
};
|
|
989
989
|
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
|
|
990
990
|
n = function(s) {
|
|
991
|
-
return
|
|
991
|
+
return Fr(e, !1, arguments);
|
|
992
992
|
}, e.g(t, "setTimeout", e.i(n, !1), y), n = function(s) {
|
|
993
|
-
return
|
|
993
|
+
return Fr(e, !0, arguments);
|
|
994
994
|
}, e.g(t, "setInterval", e.i(n, !1), y), n = function(s) {
|
|
995
|
-
|
|
995
|
+
Wr(e, s);
|
|
996
996
|
}, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(s) {
|
|
997
|
-
|
|
997
|
+
Wr(e, s);
|
|
998
998
|
}, e.g(t, "clearInterval", e.i(n, !1), y), 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);
|
|
999
999
|
}
|
|
1000
1000
|
b.Wb = 0;
|
|
1001
|
-
function
|
|
1001
|
+
function Ln(e, t) {
|
|
1002
1002
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
|
|
1003
1003
|
var s = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1004
1004
|
if (a) {
|
|
@@ -1011,50 +1011,50 @@ function Un(e, t) {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
try {
|
|
1013
1013
|
var v = Oe("(function(" + a + ") {" + s + "})", "function" + e.Wb++);
|
|
1014
|
-
} catch (
|
|
1015
|
-
w(e, e.T, "Invalid code: " +
|
|
1014
|
+
} catch (T) {
|
|
1015
|
+
w(e, e.T, "Invalid code: " + T.message);
|
|
1016
1016
|
}
|
|
1017
|
-
return v.body.length !== 1 && w(e, e.T, "Invalid code in function body"),
|
|
1017
|
+
return v.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Qt(e, v.body[0].la, e.N, "anonymous");
|
|
1018
1018
|
};
|
|
1019
1019
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
|
|
1020
1020
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, K), e.Z.H = "Function", r = function(o, s) {
|
|
1021
1021
|
var a = e.o[e.o.length - 1];
|
|
1022
|
-
a.U = this, a.B = o, a.F = [], s != null && (s instanceof
|
|
1023
|
-
},
|
|
1022
|
+
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Yr(e, s) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1023
|
+
}, W(e, e.O, "apply", r), r = function(o) {
|
|
1024
1024
|
var s = e.o[e.o.length - 1];
|
|
1025
1025
|
s.U = this, s.B = o, s.F = [];
|
|
1026
1026
|
for (var a = 1; a < arguments.length; a++)
|
|
1027
1027
|
s.F.push(arguments[a]);
|
|
1028
1028
|
s.eb = !1;
|
|
1029
|
-
},
|
|
1029
|
+
}, W(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
|
|
1030
1030
|
return String(this);
|
|
1031
|
-
},
|
|
1031
|
+
}, W(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
|
|
1032
1032
|
return this.valueOf();
|
|
1033
|
-
},
|
|
1033
|
+
}, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function Fn(e, t) {
|
|
1036
1036
|
function n(o) {
|
|
1037
1037
|
o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
|
|
1038
1038
|
}
|
|
1039
1039
|
var r = function(o) {
|
|
1040
1040
|
if (o == null)
|
|
1041
1041
|
return le(e) ? this : e.s(e.M);
|
|
1042
|
-
if (!(o instanceof
|
|
1042
|
+
if (!(o instanceof A)) {
|
|
1043
1043
|
var s = e.s(ae(e, o));
|
|
1044
1044
|
return s.data = o, s;
|
|
1045
1045
|
}
|
|
1046
1046
|
return o;
|
|
1047
1047
|
};
|
|
1048
1048
|
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, y), e.g(e.M, "constructor", e.v, y), e.g(t, "Object", e.v, y), r = function(o) {
|
|
1049
|
-
return n(o), ie(e, Object.getOwnPropertyNames(o instanceof
|
|
1049
|
+
return n(o), ie(e, Object.getOwnPropertyNames(o instanceof A ? o.h : o));
|
|
1050
1050
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
|
|
1051
|
-
return n(o), o instanceof
|
|
1051
|
+
return n(o), o instanceof A && (o = o.h), ie(e, Object.keys(o));
|
|
1052
1052
|
}, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
|
|
1053
|
-
return o === null ? e.s(null) : (o instanceof
|
|
1053
|
+
return o === null ? e.s(null) : (o instanceof A || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1054
1054
|
}, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, s, a) {
|
|
1055
|
-
return s = String(s), o instanceof
|
|
1055
|
+
return s = String(s), o instanceof A || w(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof A || w(e, e.j, "Property description must be an object"), !o.preventExtensions || s in o.h || w(e, e.j, "Can't define property '" + s + "', object is not extensible"), e.g(o, s, Je, a.h), o;
|
|
1056
1056
|
}, e.g(e.v, "defineProperty", e.i(r, !1), y), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, s) {
|
|
1057
|
-
if (o instanceof
|
|
1057
|
+
if (o instanceof A || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), s = String(s), s in o.h) {
|
|
1058
1058
|
var a = Object.getOwnPropertyDescriptor(o.h, s), f = o.V[s];
|
|
1059
1059
|
return o = o.Y[s], s = e.s(e.M), f || o ? (e.g(s, "get", f), e.g(s, "set", o)) : (e.g(s, "value", a.value), e.g(s, "writable", a.writable)), e.g(s, "configurable", a.configurable), e.g(s, "enumerable", a.enumerable), s;
|
|
1060
1060
|
}
|
|
@@ -1063,25 +1063,25 @@ function Ln(e, t) {
|
|
|
1063
1063
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
|
|
1064
1064
|
return !!o && !o.preventExtensions;
|
|
1065
1065
|
}, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
|
|
1066
|
-
return o instanceof
|
|
1067
|
-
}, e.g(e.v, "preventExtensions", e.i(r, !1), y),
|
|
1068
|
-
return n(this), this instanceof
|
|
1069
|
-
},
|
|
1070
|
-
return n(this), this instanceof
|
|
1071
|
-
},
|
|
1066
|
+
return o instanceof A && (o.preventExtensions = !0), o;
|
|
1067
|
+
}, e.g(e.v, "preventExtensions", e.i(r, !1), y), W(e, e.v, "toString", A.prototype.toString), W(e, e.v, "toLocaleString", A.prototype.toString), W(e, e.v, "valueOf", A.prototype.valueOf), r = function(o) {
|
|
1068
|
+
return n(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1069
|
+
}, W(e, e.v, "hasOwnProperty", r), r = function(o) {
|
|
1070
|
+
return n(this), this instanceof A ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1071
|
+
}, W(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1072
1072
|
for (; ; ) {
|
|
1073
1073
|
if (o = ae(e, o), !o)
|
|
1074
1074
|
return !1;
|
|
1075
1075
|
if (o === this)
|
|
1076
1076
|
return !0;
|
|
1077
1077
|
}
|
|
1078
|
-
},
|
|
1078
|
+
}, W(e, e.v, "isPrototypeOf", r);
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function Wn(e, t) {
|
|
1081
1081
|
var n = function(r) {
|
|
1082
1082
|
var o = le(e) ? this : je(e), s = arguments[0];
|
|
1083
1083
|
if (arguments.length === 1 && typeof s == "number")
|
|
1084
|
-
isNaN(
|
|
1084
|
+
isNaN(zt(s)) && w(e, e.ob, "Invalid array length: " + s), o.h.length = s;
|
|
1085
1085
|
else {
|
|
1086
1086
|
for (s = 0; s < arguments.length; s++)
|
|
1087
1087
|
o.h[s] = arguments[s];
|
|
@@ -1097,12 +1097,12 @@ function Fn(e, t) {
|
|
|
1097
1097
|
writable: !0
|
|
1098
1098
|
}), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Gn(e, t) {
|
|
1101
1101
|
var n = function(r) {
|
|
1102
|
-
return r = arguments.length ?
|
|
1102
|
+
return r = arguments.length ? de.String(r) : "", le(e) ? (this.data = r, this) : r;
|
|
1103
1103
|
};
|
|
1104
1104
|
for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1105
|
-
|
|
1105
|
+
W(e, e.J, t[n], String.prototype[t[n]]);
|
|
1106
1106
|
n = function(r, o, s) {
|
|
1107
1107
|
o = e.R(o), s = e.R(s);
|
|
1108
1108
|
try {
|
|
@@ -1110,15 +1110,15 @@ function Wn(e, t) {
|
|
|
1110
1110
|
} catch (a) {
|
|
1111
1111
|
w(e, e.D, "localeCompare: " + a.message);
|
|
1112
1112
|
}
|
|
1113
|
-
},
|
|
1113
|
+
}, W(e, e.J, "localeCompare", n), n = function(r, o, s) {
|
|
1114
1114
|
var a = String(this);
|
|
1115
|
-
if (o = o ? Number(o) : void 0,
|
|
1115
|
+
if (o = o ? Number(o) : void 0, $(e, r, e.I) && (r = r.data, We(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1116
1116
|
if (se)
|
|
1117
1117
|
r = Fe(e, "string.split(separator, limit)", {
|
|
1118
1118
|
string: a,
|
|
1119
1119
|
separator: r,
|
|
1120
1120
|
limit: o
|
|
1121
|
-
}, r, s), r !==
|
|
1121
|
+
}, r, s), r !== Ce && s(ie(e, r));
|
|
1122
1122
|
else {
|
|
1123
1123
|
var f = e.ha(), d = Ge(e, r, f, s);
|
|
1124
1124
|
f.onmessage = function(v) {
|
|
@@ -1130,12 +1130,12 @@ function Wn(e, t) {
|
|
|
1130
1130
|
r = a.split(r, o), s(ie(e, r));
|
|
1131
1131
|
}, $e(e, e.J, "split", n), n = function(r, o) {
|
|
1132
1132
|
var s = String(this);
|
|
1133
|
-
if (r =
|
|
1133
|
+
if (r = $(e, r, e.I) ? r.data : new RegExp(r), We(e, r, o), e.REGEXP_MODE === 2)
|
|
1134
1134
|
if (se)
|
|
1135
1135
|
r = Fe(e, "string.match(regexp)", {
|
|
1136
1136
|
string: s,
|
|
1137
1137
|
regexp: r
|
|
1138
|
-
}, r, o), r !==
|
|
1138
|
+
}, r, o), r !== Ce && o(r && ie(e, r));
|
|
1139
1139
|
else {
|
|
1140
1140
|
var a = e.ha(), f = Ge(e, r, a, o);
|
|
1141
1141
|
a.onmessage = function(d) {
|
|
@@ -1146,12 +1146,12 @@ function Wn(e, t) {
|
|
|
1146
1146
|
r = s.match(r), o(r && ie(e, r));
|
|
1147
1147
|
}, $e(e, e.J, "match", n), n = function(r, o) {
|
|
1148
1148
|
var s = String(this);
|
|
1149
|
-
if (
|
|
1149
|
+
if ($(e, r, e.I) ? r = r.data : r = new RegExp(r), We(e, r, o), e.REGEXP_MODE === 2)
|
|
1150
1150
|
if (se)
|
|
1151
1151
|
r = Fe(e, "string.search(regexp)", {
|
|
1152
1152
|
string: s,
|
|
1153
1153
|
regexp: r
|
|
1154
|
-
}, r, o), r !==
|
|
1154
|
+
}, r, o), r !== Ce && o(r);
|
|
1155
1155
|
else {
|
|
1156
1156
|
var a = e.ha(), f = Ge(e, r, a, o);
|
|
1157
1157
|
a.onmessage = function(d) {
|
|
@@ -1162,13 +1162,13 @@ function Wn(e, t) {
|
|
|
1162
1162
|
o(s.search(r));
|
|
1163
1163
|
}, $e(e, e.J, "search", n), n = function(r, o, s) {
|
|
1164
1164
|
var a = String(this);
|
|
1165
|
-
if (o = String(o),
|
|
1165
|
+
if (o = String(o), $(e, r, e.I) && (r = r.data, We(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1166
1166
|
if (se)
|
|
1167
1167
|
r = Fe(e, "string.replace(substr, newSubstr)", {
|
|
1168
1168
|
string: a,
|
|
1169
1169
|
substr: r,
|
|
1170
1170
|
newSubstr: o
|
|
1171
|
-
}, r, s), r !==
|
|
1171
|
+
}, r, s), r !== Ce && s(r);
|
|
1172
1172
|
else {
|
|
1173
1173
|
var f = e.ha(), d = Ge(e, r, f, s);
|
|
1174
1174
|
f.onmessage = function(v) {
|
|
@@ -1180,14 +1180,14 @@ function Wn(e, t) {
|
|
|
1180
1180
|
s(a.replace(r, o));
|
|
1181
1181
|
}, $e(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function $n(e, t) {
|
|
1184
1184
|
e.mb = e.i(function(n) {
|
|
1185
|
-
return n =
|
|
1185
|
+
return n = de.Boolean(n), le(e) ? (this.data = n, this) : n;
|
|
1186
1186
|
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Vn(e, t) {
|
|
1189
1189
|
var n = function(r) {
|
|
1190
|
-
return r = arguments.length ?
|
|
1190
|
+
return r = arguments.length ? de.Number(r) : 0, le(e) ? (this.data = r, this) : r;
|
|
1191
1191
|
};
|
|
1192
1192
|
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1193
1193
|
e.g(e.aa, t[n], Number[t[n]], Le);
|
|
@@ -1197,39 +1197,39 @@ function $n(e, t) {
|
|
|
1197
1197
|
} catch (o) {
|
|
1198
1198
|
w(e, e.D, o.message);
|
|
1199
1199
|
}
|
|
1200
|
-
},
|
|
1200
|
+
}, W(e, e.aa, "toExponential", n), n = function(r) {
|
|
1201
1201
|
try {
|
|
1202
1202
|
return Number(this).toFixed(r);
|
|
1203
1203
|
} catch (o) {
|
|
1204
1204
|
w(e, e.D, o.message);
|
|
1205
1205
|
}
|
|
1206
|
-
},
|
|
1206
|
+
}, W(e, e.aa, "toFixed", n), n = function(r) {
|
|
1207
1207
|
try {
|
|
1208
1208
|
return Number(this).toPrecision(r);
|
|
1209
1209
|
} catch (o) {
|
|
1210
1210
|
w(e, e.D, o.message);
|
|
1211
1211
|
}
|
|
1212
|
-
},
|
|
1212
|
+
}, W(e, e.aa, "toPrecision", n), n = function(r) {
|
|
1213
1213
|
try {
|
|
1214
1214
|
return Number(this).toString(r);
|
|
1215
1215
|
} catch (o) {
|
|
1216
1216
|
w(e, e.D, o.message);
|
|
1217
1217
|
}
|
|
1218
|
-
},
|
|
1218
|
+
}, W(e, e.aa, "toString", n), n = function(r, o) {
|
|
1219
1219
|
r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
|
|
1220
1220
|
try {
|
|
1221
1221
|
return Number(this).toLocaleString(r, o);
|
|
1222
1222
|
} catch (s) {
|
|
1223
1223
|
w(e, e.D, "toLocaleString: " + s.message);
|
|
1224
1224
|
}
|
|
1225
|
-
},
|
|
1225
|
+
}, W(e, e.aa, "toLocaleString", n);
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function Hn(e, t) {
|
|
1228
1228
|
var n = function(o, s) {
|
|
1229
1229
|
if (!le(e))
|
|
1230
|
-
return
|
|
1230
|
+
return de.Date();
|
|
1231
1231
|
var a = [null].concat(Array.from(arguments));
|
|
1232
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1232
|
+
return this.data = new (Function.prototype.bind.apply(de.Date, a))(), this;
|
|
1233
1233
|
};
|
|
1234
1234
|
e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1235
1235
|
for (var r = 0; r < t.length; r++)
|
|
@@ -1241,30 +1241,30 @@ function Vn(e, t) {
|
|
|
1241
1241
|
f[d] = e.R(arguments[d]);
|
|
1242
1242
|
return a[o].apply(a, f);
|
|
1243
1243
|
};
|
|
1244
|
-
}(t[r]),
|
|
1244
|
+
}(t[r]), W(e, e.$, t[r], n);
|
|
1245
1245
|
}
|
|
1246
1246
|
function Xn(e, t) {
|
|
1247
1247
|
var n = function(r, o) {
|
|
1248
1248
|
if (le(e))
|
|
1249
1249
|
var s = this;
|
|
1250
1250
|
else {
|
|
1251
|
-
if (o === void 0 &&
|
|
1251
|
+
if (o === void 0 && $(e, r, e.I))
|
|
1252
1252
|
return r;
|
|
1253
1253
|
s = e.s(e.Ma);
|
|
1254
1254
|
}
|
|
1255
1255
|
r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
|
|
1256
1256
|
try {
|
|
1257
|
-
var a = new
|
|
1257
|
+
var a = new de.RegExp(r, o);
|
|
1258
1258
|
} catch (f) {
|
|
1259
1259
|
w(e, e.T, f.message);
|
|
1260
1260
|
}
|
|
1261
|
-
return
|
|
1261
|
+
return Yt(e, s, a), s;
|
|
1262
1262
|
};
|
|
1263
1263
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, K), e.g(e.I.h.prototype, "ignoreCase", void 0, K), e.g(e.I.h.prototype, "multiline", void 0, K), e.g(e.I.h.prototype, "source", "(?:)", K), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1264
|
-
function s(
|
|
1265
|
-
if (
|
|
1266
|
-
var
|
|
1267
|
-
return e.g(
|
|
1264
|
+
function s(T) {
|
|
1265
|
+
if (T) {
|
|
1266
|
+
var I = ie(e, T);
|
|
1267
|
+
return e.g(I, "index", T.index), e.g(I, "input", T.input), I;
|
|
1268
1268
|
}
|
|
1269
1269
|
return null;
|
|
1270
1270
|
}
|
|
@@ -1274,31 +1274,31 @@ function Xn(e, t) {
|
|
|
1274
1274
|
r = Fe(e, "regexp.exec(string)", {
|
|
1275
1275
|
string: r,
|
|
1276
1276
|
regexp: a
|
|
1277
|
-
}, a, o), r !==
|
|
1277
|
+
}, a, o), r !== Ce && (e.g(this, "lastIndex", a.lastIndex), o(s(r)));
|
|
1278
1278
|
else {
|
|
1279
1279
|
var f = e.ha(), d = Ge(e, a, f, o), v = this;
|
|
1280
|
-
f.onmessage = function(
|
|
1281
|
-
clearTimeout(d), e.g(v, "lastIndex",
|
|
1280
|
+
f.onmessage = function(T) {
|
|
1281
|
+
clearTimeout(d), e.g(v, "lastIndex", T.data[1]), o(s(T.data[0]));
|
|
1282
1282
|
}, f.postMessage(["exec", a, a.lastIndex, r]);
|
|
1283
1283
|
}
|
|
1284
1284
|
else
|
|
1285
1285
|
r = a.exec(r), e.g(this, "lastIndex", a.lastIndex), o(s(r));
|
|
1286
1286
|
}, $e(e, e.I, "exec", n);
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function Jn(e, t) {
|
|
1289
1289
|
function n(r) {
|
|
1290
1290
|
var o = e.i(function(s) {
|
|
1291
1291
|
var a = le(e) ? this : e.Aa(o);
|
|
1292
|
-
return
|
|
1292
|
+
return $t(e, a, s), a;
|
|
1293
1293
|
}, !0);
|
|
1294
1294
|
return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1295
1295
|
}
|
|
1296
1296
|
e.D = e.i(function(r) {
|
|
1297
1297
|
var o = le(e) ? this : e.Aa(e.D);
|
|
1298
|
-
return
|
|
1298
|
+
return $t(e, o, r), o;
|
|
1299
1299
|
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1301
|
+
function Kn(e, t) {
|
|
1302
1302
|
var n = e.s(e.M);
|
|
1303
1303
|
e.g(t, "Math", n, y);
|
|
1304
1304
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
@@ -1307,7 +1307,7 @@ function Jn(e, t) {
|
|
|
1307
1307
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1308
1308
|
e.g(n, r[t], e.i(Math[r[t]], !1), y);
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function zn(e, t) {
|
|
1311
1311
|
var n = e.s(e.M);
|
|
1312
1312
|
e.g(t, "JSON", n, y), t = function(r) {
|
|
1313
1313
|
try {
|
|
@@ -1317,7 +1317,7 @@ function Kn(e, t) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
return e.Ia(o);
|
|
1319
1319
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, s) {
|
|
1320
|
-
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1320
|
+
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Yr(e, o), o = o.filter(function(f) {
|
|
1321
1321
|
return typeof f == "string" || typeof f == "number";
|
|
1322
1322
|
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0), r = e.R(r);
|
|
1323
1323
|
try {
|
|
@@ -1328,7 +1328,7 @@ function Kn(e, t) {
|
|
|
1328
1328
|
return a;
|
|
1329
1329
|
}, e.g(n, "stringify", e.i(t, !1));
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1331
|
+
function $(e, t, n) {
|
|
1332
1332
|
if (t == null || !n)
|
|
1333
1333
|
return !1;
|
|
1334
1334
|
if (n = n.h.prototype, t === n)
|
|
@@ -1340,10 +1340,10 @@ function G(e, t, n) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
return !1;
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1343
|
+
function Yt(e, t, n) {
|
|
1344
1344
|
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, K), e.g(t, "global", n.global, K), e.g(t, "ignoreCase", n.ignoreCase, K), e.g(t, "multiline", n.multiline, K);
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function $t(e, t, n) {
|
|
1347
1347
|
n && e.g(t, "message", String(n), y), n = [];
|
|
1348
1348
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1349
1349
|
var o = e.o[r], s = o.node;
|
|
@@ -1362,7 +1362,7 @@ function Gt(e, t, n) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
b.ha = function() {
|
|
1364
1364
|
var e = this.ha.Mb;
|
|
1365
|
-
return e || (e = new Blob([
|
|
1365
|
+
return e || (e = new Blob([_n.join(`
|
|
1366
1366
|
`)], {
|
|
1367
1367
|
type: "application/javascript"
|
|
1368
1368
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
@@ -1376,7 +1376,7 @@ function Fe(e, t, n, r, o) {
|
|
|
1376
1376
|
} catch {
|
|
1377
1377
|
o(null), w(e, e.D, "RegExp Timeout: " + r);
|
|
1378
1378
|
}
|
|
1379
|
-
return
|
|
1379
|
+
return Ce;
|
|
1380
1380
|
}
|
|
1381
1381
|
function We(e, t, n) {
|
|
1382
1382
|
if (e.REGEXP_MODE === 0)
|
|
@@ -1412,7 +1412,7 @@ b.Aa = function(e) {
|
|
|
1412
1412
|
b.s = function(e) {
|
|
1413
1413
|
if (typeof e != "object")
|
|
1414
1414
|
throw Error("Non object prototype");
|
|
1415
|
-
return e = new
|
|
1415
|
+
return e = new A(e), $(this, e, this.D) && (e.H = "Error"), e;
|
|
1416
1416
|
};
|
|
1417
1417
|
function je(e) {
|
|
1418
1418
|
var t = e.s(e.La);
|
|
@@ -1422,29 +1422,29 @@ function je(e) {
|
|
|
1422
1422
|
writable: !0
|
|
1423
1423
|
}), t.H = "Array", t;
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function Zt(e, t, n) {
|
|
1426
1426
|
var r = e.s(e.Z);
|
|
1427
1427
|
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, K), r.H = "Function", r;
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1430
|
-
var o =
|
|
1429
|
+
function Qt(e, t, n, r) {
|
|
1430
|
+
var o = Zt(e, t.oa.length, !0);
|
|
1431
1431
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", K), o;
|
|
1432
1432
|
}
|
|
1433
1433
|
b.i = function(e, t) {
|
|
1434
|
-
return t =
|
|
1434
|
+
return t = Zt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, K), t;
|
|
1435
1435
|
};
|
|
1436
1436
|
b.ub = function(e) {
|
|
1437
|
-
var t =
|
|
1437
|
+
var t = Zt(this, e.length, !0);
|
|
1438
1438
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, K), t;
|
|
1439
1439
|
};
|
|
1440
1440
|
b.Ia = function(e) {
|
|
1441
|
-
if (e instanceof
|
|
1441
|
+
if (e instanceof A)
|
|
1442
1442
|
throw Error("Object is already pseudo");
|
|
1443
1443
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
1444
1444
|
return e;
|
|
1445
1445
|
if (e instanceof RegExp) {
|
|
1446
1446
|
var t = this.s(this.Ma);
|
|
1447
|
-
return
|
|
1447
|
+
return Yt(this, t, e), t;
|
|
1448
1448
|
}
|
|
1449
1449
|
if (e instanceof Date)
|
|
1450
1450
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1471,11 +1471,11 @@ b.Ia = function(e) {
|
|
|
1471
1471
|
b.R = function(e, t) {
|
|
1472
1472
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1473
1473
|
return e;
|
|
1474
|
-
if (!(e instanceof
|
|
1474
|
+
if (!(e instanceof A))
|
|
1475
1475
|
throw Error("Object is not pseudo");
|
|
1476
|
-
if (
|
|
1476
|
+
if ($(this, e, this.I))
|
|
1477
1477
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
1478
|
-
if (
|
|
1478
|
+
if ($(this, e, this.$))
|
|
1479
1479
|
return new Date(e.data.valueOf());
|
|
1480
1480
|
t = t || {
|
|
1481
1481
|
hb: [],
|
|
@@ -1484,7 +1484,7 @@ b.R = function(e, t) {
|
|
|
1484
1484
|
var n = t.hb.indexOf(e);
|
|
1485
1485
|
if (n !== -1)
|
|
1486
1486
|
return t.Sa[n];
|
|
1487
|
-
if (t.hb.push(e),
|
|
1487
|
+
if (t.hb.push(e), $(this, e, this.qa)) {
|
|
1488
1488
|
n = [], t.Sa.push(n);
|
|
1489
1489
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1490
1490
|
ct(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
@@ -1503,11 +1503,11 @@ function ie(e, t) {
|
|
|
1503
1503
|
e.g(n, r[o], t[r[o]]);
|
|
1504
1504
|
return n;
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1506
|
+
function Yr(e, t) {
|
|
1507
1507
|
var n = [], r;
|
|
1508
1508
|
for (r in t.h)
|
|
1509
1509
|
n[r] = e.G(t, r);
|
|
1510
|
-
return n.length =
|
|
1510
|
+
return n.length = zt(e.G(t, "length")) || 0, n;
|
|
1511
1511
|
}
|
|
1512
1512
|
function ae(e, t) {
|
|
1513
1513
|
switch (typeof t) {
|
|
@@ -1523,13 +1523,13 @@ function ae(e, t) {
|
|
|
1523
1523
|
b.G = function(e, t) {
|
|
1524
1524
|
if (this.P)
|
|
1525
1525
|
throw Error("Getter not supported in that context");
|
|
1526
|
-
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof
|
|
1526
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1527
1527
|
throw TypeError("Expecting native value or pseudo object");
|
|
1528
1528
|
if (t === "length") {
|
|
1529
|
-
if (
|
|
1529
|
+
if ($(this, e, this.J))
|
|
1530
1530
|
return String(e).length;
|
|
1531
|
-
} else if (64 > t.charCodeAt(0) &&
|
|
1532
|
-
var n =
|
|
1531
|
+
} else if (64 > t.charCodeAt(0) && $(this, e, this.J)) {
|
|
1532
|
+
var n = He(t);
|
|
1533
1533
|
if (!isNaN(n) && n < String(e).length)
|
|
1534
1534
|
return String(e)[n];
|
|
1535
1535
|
}
|
|
@@ -1539,12 +1539,12 @@ b.G = function(e, t) {
|
|
|
1539
1539
|
while (e = ae(this, e));
|
|
1540
1540
|
};
|
|
1541
1541
|
function ct(e, t, n) {
|
|
1542
|
-
if (!(t instanceof
|
|
1542
|
+
if (!(t instanceof A))
|
|
1543
1543
|
throw TypeError("Primitive data type has no properties");
|
|
1544
|
-
if (n = String(n), n === "length" &&
|
|
1544
|
+
if (n = String(n), n === "length" && $(e, t, e.J))
|
|
1545
1545
|
return !0;
|
|
1546
|
-
if (
|
|
1547
|
-
var r =
|
|
1546
|
+
if ($(e, t, e.J)) {
|
|
1547
|
+
var r = He(n);
|
|
1548
1548
|
if (!isNaN(r) && r < String(t).length)
|
|
1549
1549
|
return !0;
|
|
1550
1550
|
}
|
|
@@ -1557,13 +1557,13 @@ function ct(e, t, n) {
|
|
|
1557
1557
|
b.g = function(e, t, n, r) {
|
|
1558
1558
|
if (this.Ka)
|
|
1559
1559
|
throw Error("Setter not supported in that context");
|
|
1560
|
-
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof
|
|
1560
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1561
1561
|
throw TypeError("Expecting native value or pseudo object");
|
|
1562
1562
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1563
|
-
var o = !this.o ||
|
|
1564
|
-
if (e instanceof
|
|
1565
|
-
if (
|
|
1566
|
-
var s =
|
|
1563
|
+
var o = !this.o || qt(this).S;
|
|
1564
|
+
if (e instanceof A) {
|
|
1565
|
+
if ($(this, e, this.J)) {
|
|
1566
|
+
var s = He(t);
|
|
1567
1567
|
if (t === "length" || !isNaN(s) && s < String(e).length) {
|
|
1568
1568
|
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1569
1569
|
return;
|
|
@@ -1576,13 +1576,13 @@ b.g = function(e, t, n, r) {
|
|
|
1576
1576
|
return;
|
|
1577
1577
|
n = r.value;
|
|
1578
1578
|
}
|
|
1579
|
-
if (n =
|
|
1579
|
+
if (n = zt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < s)
|
|
1580
1580
|
for (a in e.h) {
|
|
1581
|
-
var a =
|
|
1581
|
+
var a = He(a);
|
|
1582
1582
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
1583
1583
|
}
|
|
1584
1584
|
} else
|
|
1585
|
-
isNaN(a =
|
|
1585
|
+
isNaN(a = He(t)) || (e.h.length = Math.max(s, a + 1));
|
|
1586
1586
|
if (!e.preventExtensions || t in e.h)
|
|
1587
1587
|
if (r) {
|
|
1588
1588
|
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== Je && (o.value = n, delete e.V[t], delete e.Y[t]);
|
|
@@ -1622,18 +1622,18 @@ b.g.ac = function() {
|
|
|
1622
1622
|
b.g.bc = function() {
|
|
1623
1623
|
throw Error("Placeholder setter");
|
|
1624
1624
|
};
|
|
1625
|
-
function
|
|
1625
|
+
function W(e, t, n, r) {
|
|
1626
1626
|
e.g(t.h.prototype, n, e.i(r, !1), y);
|
|
1627
1627
|
}
|
|
1628
1628
|
function $e(e, t, n, r) {
|
|
1629
1629
|
e.g(t.h.prototype, n, e.ub(r), y);
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function qt(e) {
|
|
1632
1632
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1633
1633
|
throw Error("No scope found");
|
|
1634
1634
|
return e;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function Vt(e, t, n) {
|
|
1637
1637
|
var r = !1;
|
|
1638
1638
|
if (n && n.S)
|
|
1639
1639
|
r = !0;
|
|
@@ -1641,15 +1641,15 @@ function $t(e, t, n) {
|
|
|
1641
1641
|
var o = t.body && t.body[0];
|
|
1642
1642
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
1643
1643
|
}
|
|
1644
|
-
return o = e.s(null), r = new
|
|
1644
|
+
return o = e.s(null), r = new qr(n, r, o), n || Un(e, r.object), Ke(e, t, r), r;
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function er(e, t, n) {
|
|
1647
1647
|
if (!t)
|
|
1648
1648
|
throw Error("parentScope required");
|
|
1649
|
-
return e = n || e.s(null), new
|
|
1649
|
+
return e = n || e.s(null), new qr(t, t.S, e);
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1652
|
-
for (var n =
|
|
1651
|
+
function tr(e, t) {
|
|
1652
|
+
for (var n = qt(e); n && n !== e.N; ) {
|
|
1653
1653
|
if (t in n.object.h)
|
|
1654
1654
|
return n.object.h[t];
|
|
1655
1655
|
n = n.Va;
|
|
@@ -1658,8 +1658,8 @@ function qt(e, t) {
|
|
|
1658
1658
|
return e.G(n.object, t);
|
|
1659
1659
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1662
|
-
for (var r =
|
|
1661
|
+
function Zr(e, t, n) {
|
|
1662
|
+
for (var r = qt(e), o = r.S; r && r !== e.N; ) {
|
|
1663
1663
|
if (t in r.object.h) {
|
|
1664
1664
|
try {
|
|
1665
1665
|
r.object.h[t] = n;
|
|
@@ -1720,20 +1720,20 @@ function Ke(e, t, n) {
|
|
|
1720
1720
|
t.jb = r;
|
|
1721
1721
|
}
|
|
1722
1722
|
for (a in r)
|
|
1723
|
-
r[a] === !0 ? e.g(n.object, a, void 0,
|
|
1723
|
+
r[a] === !0 ? e.g(n.object, a, void 0, Ur) : e.g(n.object, a, Qt(e, r[a], n), Ur);
|
|
1724
1724
|
return r;
|
|
1725
1725
|
}
|
|
1726
1726
|
function le(e) {
|
|
1727
1727
|
return e.o[e.o.length - 1].isConstructor;
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1730
|
-
return t[0] === Ae ?
|
|
1729
|
+
function rr(e, t) {
|
|
1730
|
+
return t[0] === Ae ? tr(e, t[1]) : e.G(t[0], t[1]);
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1733
|
-
return t[0] === Ae ?
|
|
1732
|
+
function nr(e, t, n) {
|
|
1733
|
+
return t[0] === Ae ? Zr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1734
1734
|
}
|
|
1735
1735
|
function w(e, t, n) {
|
|
1736
|
-
throw e.N ? (n !== void 0 && t instanceof
|
|
1736
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), $t(e, t, n)), ze(e, 4, t), zr) : n === void 0 ? t : n;
|
|
1737
1737
|
}
|
|
1738
1738
|
function ze(e, t, n, r) {
|
|
1739
1739
|
if (t === 0)
|
|
@@ -1771,7 +1771,7 @@ function ze(e, t, n, r) {
|
|
|
1771
1771
|
} else if (t === 2 && (r ? s.labels && s.labels.indexOf(r) !== -1 : s.W))
|
|
1772
1772
|
return;
|
|
1773
1773
|
}
|
|
1774
|
-
throw
|
|
1774
|
+
throw $(e, n, e.D) ? (t = {
|
|
1775
1775
|
EvalError,
|
|
1776
1776
|
RangeError,
|
|
1777
1777
|
ReferenceError,
|
|
@@ -1780,42 +1780,42 @@ function ze(e, t, n, r) {
|
|
|
1780
1780
|
URIError
|
|
1781
1781
|
}, r = String(e.G(n, "name")), o = e.G(n, "message").valueOf(), t = (t[r] || Error)(o), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
|
|
1782
1782
|
}
|
|
1783
|
-
function
|
|
1783
|
+
function J(e, t) {
|
|
1784
1784
|
switch (t.type) {
|
|
1785
1785
|
case "ArrayExpression":
|
|
1786
1786
|
return "[...]";
|
|
1787
1787
|
case "BinaryExpression":
|
|
1788
1788
|
case "LogicalExpression":
|
|
1789
|
-
return
|
|
1789
|
+
return J(e, t.left) + " " + t.operator + " " + J(e, t.right);
|
|
1790
1790
|
case "CallExpression":
|
|
1791
|
-
return
|
|
1791
|
+
return J(e, t.callee) + "(...)";
|
|
1792
1792
|
case "ConditionalExpression":
|
|
1793
|
-
return
|
|
1793
|
+
return J(e, t.test) + " ? " + J(e, t.da) + " : " + J(e, t.alternate);
|
|
1794
1794
|
case "Identifier":
|
|
1795
1795
|
return t.name;
|
|
1796
1796
|
case "Literal":
|
|
1797
1797
|
return t.raw;
|
|
1798
1798
|
case "MemberExpression":
|
|
1799
|
-
var n =
|
|
1800
|
-
return e =
|
|
1799
|
+
var n = J(e, t.object);
|
|
1800
|
+
return e = J(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
|
|
1801
1801
|
case "NewExpression":
|
|
1802
|
-
return "new " +
|
|
1802
|
+
return "new " + J(e, t.callee) + "(...)";
|
|
1803
1803
|
case "ObjectExpression":
|
|
1804
1804
|
return "{...}";
|
|
1805
1805
|
case "ThisExpression":
|
|
1806
1806
|
return "this";
|
|
1807
1807
|
case "UnaryExpression":
|
|
1808
|
-
return t.operator + " " +
|
|
1808
|
+
return t.operator + " " + J(e, t.K);
|
|
1809
1809
|
case "UpdateExpression":
|
|
1810
|
-
return n =
|
|
1810
|
+
return n = J(e, t.K), t.prefix ? t.operator + n : n + t.operator;
|
|
1811
1811
|
}
|
|
1812
1812
|
return "???";
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function Fr(e, t, n) {
|
|
1815
1815
|
var r = e.o[e.o.length - 1], o = Array.from(n), s = o.shift();
|
|
1816
1816
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
1817
1817
|
var a = e.ya();
|
|
1818
|
-
if (s instanceof
|
|
1818
|
+
if (s instanceof A && s.H === "Function") {
|
|
1819
1819
|
var f = s;
|
|
1820
1820
|
a.type = "CallExpression", r = r.scope;
|
|
1821
1821
|
} else {
|
|
@@ -1826,14 +1826,14 @@ function Lr(e, t, n) {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
a.type = "EvalProgram_", a.body = d.body, r = r.node.arguments[0], ut(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
1828
1828
|
}
|
|
1829
|
-
return t = new
|
|
1829
|
+
return t = new Yn(f, o, r, a, t ? n : -1), Qr(e, t, n), t.Db;
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function Qr(e, t, n) {
|
|
1832
1832
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
|
|
1833
1833
|
return r.time - o.time;
|
|
1834
1834
|
});
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1836
|
+
function Wr(e, t) {
|
|
1837
1837
|
for (var n = 0; n < e.ca.length; n++)
|
|
1838
1838
|
if (e.ca[n].Db == t) {
|
|
1839
1839
|
e.ca.splice(n, 1);
|
|
@@ -1847,7 +1847,7 @@ function Ye(e, t, n) {
|
|
|
1847
1847
|
var r = e.ya();
|
|
1848
1848
|
return r.type = "CallExpression", e = new m(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function or(e, t, n, r) {
|
|
1851
1851
|
if (!e.Ka)
|
|
1852
1852
|
throw Error("Unexpected call to createSetter");
|
|
1853
1853
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
@@ -1855,7 +1855,7 @@ function rr(e, t, n, r) {
|
|
|
1855
1855
|
return o.type = "CallExpression", e = new m(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1856
1856
|
}
|
|
1857
1857
|
function _t(e, t) {
|
|
1858
|
-
return t == null ? e.Na : t instanceof
|
|
1858
|
+
return t == null ? e.Na : t instanceof A ? t : (e = e.s(ae(e, t)), e.data = t, e);
|
|
1859
1859
|
}
|
|
1860
1860
|
b.Xb = function() {
|
|
1861
1861
|
return this.N;
|
|
@@ -1869,30 +1869,30 @@ b.ec = function(e) {
|
|
|
1869
1869
|
function m(e, t) {
|
|
1870
1870
|
this.node = e, this.scope = t;
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1872
|
+
function qr(e, t, n) {
|
|
1873
1873
|
this.Va = e, this.S = t, this.object = n;
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1875
|
+
function A(e) {
|
|
1876
1876
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
1877
1877
|
}
|
|
1878
|
-
b =
|
|
1878
|
+
b = A.prototype;
|
|
1879
1879
|
b.xa = null;
|
|
1880
1880
|
b.H = "Object";
|
|
1881
1881
|
b.data = null;
|
|
1882
1882
|
b.toString = function() {
|
|
1883
1883
|
if (!Ve)
|
|
1884
1884
|
return "[object Interpreter.Object]";
|
|
1885
|
-
if (!(this instanceof
|
|
1885
|
+
if (!(this instanceof A))
|
|
1886
1886
|
return String(this);
|
|
1887
1887
|
if (this.H === "Array") {
|
|
1888
|
-
var e =
|
|
1888
|
+
var e = Lr;
|
|
1889
1889
|
e.push(this);
|
|
1890
1890
|
try {
|
|
1891
1891
|
var t = [], n = this.h.length, r = !1;
|
|
1892
1892
|
1024 < n && (n = 1e3, r = !0);
|
|
1893
1893
|
for (var o = 0; o < n; o++) {
|
|
1894
1894
|
var s = this.h[o];
|
|
1895
|
-
t[o] = s instanceof
|
|
1895
|
+
t[o] = s instanceof A && e.indexOf(s) !== -1 ? "..." : s;
|
|
1896
1896
|
}
|
|
1897
1897
|
r && t.push("...");
|
|
1898
1898
|
} finally {
|
|
@@ -1901,7 +1901,7 @@ b.toString = function() {
|
|
|
1901
1901
|
return t.join(",");
|
|
1902
1902
|
}
|
|
1903
1903
|
if (this.H === "Error") {
|
|
1904
|
-
if (e =
|
|
1904
|
+
if (e = Lr, e.indexOf(this) !== -1)
|
|
1905
1905
|
return "[object Error]";
|
|
1906
1906
|
n = this;
|
|
1907
1907
|
do
|
|
@@ -1930,10 +1930,10 @@ b.toString = function() {
|
|
|
1930
1930
|
b.valueOf = function() {
|
|
1931
1931
|
return !Ve || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1932
1932
|
};
|
|
1933
|
-
function
|
|
1934
|
-
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++
|
|
1933
|
+
function Yn(e, t, n, r, o) {
|
|
1934
|
+
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Zn, this.time = 0;
|
|
1935
1935
|
}
|
|
1936
|
-
var
|
|
1936
|
+
var Zn = 0;
|
|
1937
1937
|
h.prototype.stepArrayExpression = function(e, t, n) {
|
|
1938
1938
|
n = n.elements;
|
|
1939
1939
|
var r = t.A || 0;
|
|
@@ -1948,7 +1948,7 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
1948
1948
|
if (!t.ja)
|
|
1949
1949
|
return t.ja = !0, t = new m(n.left, t.scope), t.sa = !0, t;
|
|
1950
1950
|
if (!t.Da)
|
|
1951
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
1951
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = rr(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Ye(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new m(n.right, t.scope));
|
|
1952
1952
|
if (t.ta)
|
|
1953
1953
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1954
1954
|
else {
|
|
@@ -1993,8 +1993,8 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
1993
1993
|
default:
|
|
1994
1994
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
1995
1995
|
}
|
|
1996
|
-
if (n =
|
|
1997
|
-
return t.ta = !0, t.ib = r,
|
|
1996
|
+
if (n = nr(this, t.Fa, r))
|
|
1997
|
+
return t.ta = !0, t.ib = r, or(this, n, t.Fa, r);
|
|
1998
1998
|
e.pop(), e[e.length - 1].value = r;
|
|
1999
1999
|
}
|
|
2000
2000
|
};
|
|
@@ -2064,10 +2064,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2064
2064
|
n = r >>> t;
|
|
2065
2065
|
break;
|
|
2066
2066
|
case "in":
|
|
2067
|
-
t instanceof
|
|
2067
|
+
t instanceof A || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = ct(this, t, r);
|
|
2068
2068
|
break;
|
|
2069
2069
|
case "instanceof":
|
|
2070
|
-
|
|
2070
|
+
$(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof A ? $(this, r, t) : !1;
|
|
2071
2071
|
break;
|
|
2072
2072
|
default:
|
|
2073
2073
|
throw SyntaxError("Unknown binary operator: " + n.operator);
|
|
@@ -2094,7 +2094,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2094
2094
|
t.ia = 2;
|
|
2095
2095
|
var o = t.value;
|
|
2096
2096
|
if (Array.isArray(o)) {
|
|
2097
|
-
if (t.U =
|
|
2097
|
+
if (t.U = rr(this, o), o[0] === Ae ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2098
2098
|
return t.ia = 1, Ye(this, o, t.value);
|
|
2099
2099
|
} else
|
|
2100
2100
|
t.U = o;
|
|
@@ -2104,7 +2104,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2104
2104
|
if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
|
|
2105
2105
|
return new m(n.arguments[t.A++], t.scope);
|
|
2106
2106
|
if (n.type === "NewExpression") {
|
|
2107
|
-
if (o instanceof
|
|
2107
|
+
if (o instanceof A && !o.Ab || w(this, this.j, J(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2108
2108
|
t.B = je(this);
|
|
2109
2109
|
else {
|
|
2110
2110
|
var s = o.h.prototype;
|
|
@@ -2117,12 +2117,12 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2117
2117
|
if (t.eb)
|
|
2118
2118
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2119
2119
|
else {
|
|
2120
|
-
if (t.eb = !0, o instanceof
|
|
2121
|
-
for (n =
|
|
2120
|
+
if (t.eb = !0, o instanceof A || w(this, this.j, J(this, n.callee) + " is not a function"), e = o.node) {
|
|
2121
|
+
for (n = Vt(this, e.body, o.Va), r = je(this), o = 0; o < t.F.length; o++)
|
|
2122
2122
|
this.g(r, o, t.F[o]);
|
|
2123
2123
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2124
2124
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2125
|
-
return n.S || (t.B = _t(this, t.B)), this.g(n.object, "this", t.B,
|
|
2125
|
+
return n.S || (t.B = _t(this, t.B)), this.g(n.object, "this", t.B, Kt), t.value = void 0, new m(e.body, n);
|
|
2126
2126
|
}
|
|
2127
2127
|
if (o.eval)
|
|
2128
2128
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2133,7 +2133,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2133
2133
|
} catch (f) {
|
|
2134
2134
|
w(this, this.T, "Invalid code: " + f.message);
|
|
2135
2135
|
}
|
|
2136
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n =
|
|
2136
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Vt(this, r, n) : Ke(this, r, n), this.value = void 0, new m(o, n);
|
|
2137
2137
|
}
|
|
2138
2138
|
else if (o.Ta)
|
|
2139
2139
|
t.scope.S || (t.B = _t(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
@@ -2143,7 +2143,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2143
2143
|
t.value = f, a.za = !1;
|
|
2144
2144
|
}), this.za = !0, t.scope.S || (t.B = _t(this, t.B)), o.Za.apply(t.B, r);
|
|
2145
2145
|
} else
|
|
2146
|
-
w(this, this.j,
|
|
2146
|
+
w(this, this.j, J(this, n.callee) + " is not callable");
|
|
2147
2147
|
}
|
|
2148
2148
|
};
|
|
2149
2149
|
h.prototype.stepConditionalExpression = function(e, t, n) {
|
|
@@ -2195,7 +2195,7 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2195
2195
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
2196
2196
|
e:
|
|
2197
2197
|
for (; ; ) {
|
|
2198
|
-
if (t.u instanceof
|
|
2198
|
+
if (t.u instanceof A)
|
|
2199
2199
|
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
|
|
2200
2200
|
var r = t.wa.shift();
|
|
2201
2201
|
if (r === void 0)
|
|
@@ -2222,8 +2222,8 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2222
2222
|
t.pa = [Ae, e.fa[0].id.name];
|
|
2223
2223
|
else
|
|
2224
2224
|
return t.pa = null, t = new m(e, t.scope), t.sa = !0, t;
|
|
2225
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2226
|
-
return
|
|
2225
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = nr(this, t.pa, e)))
|
|
2226
|
+
return or(this, r, t.pa, e);
|
|
2227
2227
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2228
2228
|
return new m(n.body, t.scope);
|
|
2229
2229
|
};
|
|
@@ -2252,13 +2252,13 @@ h.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2252
2252
|
e.pop();
|
|
2253
2253
|
};
|
|
2254
2254
|
h.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2255
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
2255
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = er(this, e)), t.value = Qt(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Kt);
|
|
2256
2256
|
};
|
|
2257
2257
|
h.prototype.stepIdentifier = function(e, t, n) {
|
|
2258
2258
|
if (e.pop(), t.sa)
|
|
2259
2259
|
e[e.length - 1].value = [Ae, n.name];
|
|
2260
2260
|
else {
|
|
2261
|
-
if (t =
|
|
2261
|
+
if (t = tr(this, n.name), this.P)
|
|
2262
2262
|
return Ye(this, t, this.Na);
|
|
2263
2263
|
e[e.length - 1].value = t;
|
|
2264
2264
|
}
|
|
@@ -2268,7 +2268,7 @@ h.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2268
2268
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new m(n.body, t.scope), t.labels = e, t;
|
|
2269
2269
|
};
|
|
2270
2270
|
h.prototype.stepLiteral = function(e, t, n) {
|
|
2271
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2271
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Yt(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2272
2272
|
};
|
|
2273
2273
|
h.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2274
2274
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2371,7 +2371,7 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2371
2371
|
}
|
|
2372
2372
|
};
|
|
2373
2373
|
h.prototype.stepThisExpression = function(e) {
|
|
2374
|
-
e.pop(), e[e.length - 1].value =
|
|
2374
|
+
e.pop(), e[e.length - 1].value = tr(this, "this");
|
|
2375
2375
|
};
|
|
2376
2376
|
h.prototype.stepThrowStatement = function(e, t, n) {
|
|
2377
2377
|
if (t.ka)
|
|
@@ -2383,7 +2383,7 @@ h.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2383
2383
|
if (!t.Rb)
|
|
2384
2384
|
return t.Rb = !0, new m(n.block, t.scope);
|
|
2385
2385
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2386
|
-
return t.Tb = !0, e =
|
|
2386
|
+
return t.Tb = !0, e = er(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new m(n.Ea.body, e);
|
|
2387
2387
|
if (!t.Sb && n.fb)
|
|
2388
2388
|
return t.Sb = !0, new m(n.fb, t.scope);
|
|
2389
2389
|
e.pop(), t.ea && ze(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2433,7 +2433,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2433
2433
|
if (!t.ja)
|
|
2434
2434
|
return t.ja = !0, e = new m(n.K, t.scope), e.sa = !0, e;
|
|
2435
2435
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2436
|
-
var r =
|
|
2436
|
+
var r = rr(this, t.Ga);
|
|
2437
2437
|
if (t.ma = r, this.P)
|
|
2438
2438
|
return t.Ba = !0, Ye(this, r, t.Ga);
|
|
2439
2439
|
}
|
|
@@ -2446,15 +2446,15 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2446
2446
|
o = r - 1;
|
|
2447
2447
|
else
|
|
2448
2448
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2449
|
-
if (n = n.prefix ? o : r, r =
|
|
2450
|
-
return t.ta = !0, t.ib = n,
|
|
2449
|
+
if (n = n.prefix ? o : r, r = nr(this, t.Ga, o))
|
|
2450
|
+
return t.ta = !0, t.ib = n, or(this, r, t.Ga, o);
|
|
2451
2451
|
e.pop(), e[e.length - 1].value = n;
|
|
2452
2452
|
}
|
|
2453
2453
|
};
|
|
2454
2454
|
h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2455
2455
|
n = n.fa;
|
|
2456
2456
|
var r = t.A || 0, o = n[r];
|
|
2457
|
-
for (t.Bb && o && (
|
|
2457
|
+
for (t.Bb && o && (Zr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
|
|
2458
2458
|
if (o.ua)
|
|
2459
2459
|
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new m(o.ua, t.scope);
|
|
2460
2460
|
o = n[++r];
|
|
@@ -2462,10 +2462,10 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
|
2462
2462
|
e.pop();
|
|
2463
2463
|
};
|
|
2464
2464
|
h.prototype.stepWithStatement = function(e, t, n) {
|
|
2465
|
-
return t.Ca ? (e.pop(), e =
|
|
2465
|
+
return t.Ca ? (e.pop(), e = er(this, t.scope, t.value), new m(n.body, e)) : (t.Ca = !0, new m(n.object, t.scope));
|
|
2466
2466
|
};
|
|
2467
2467
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2468
|
-
|
|
2468
|
+
de.Interpreter = h;
|
|
2469
2469
|
h.prototype.step = h.prototype.lb;
|
|
2470
2470
|
h.prototype.run = h.prototype.Eb;
|
|
2471
2471
|
h.prototype.appendCode = h.prototype.Jb;
|
|
@@ -2481,7 +2481,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
|
|
|
2481
2481
|
h.prototype.getStateStack = h.prototype.Yb;
|
|
2482
2482
|
h.prototype.setStateStack = h.prototype.ec;
|
|
2483
2483
|
h.VALUE_IN_DESCRIPTOR = Je;
|
|
2484
|
-
function
|
|
2484
|
+
function Qn() {
|
|
2485
2485
|
const e = h.prototype.getProperty, t = h.prototype.setProperty;
|
|
2486
2486
|
function n(a, f) {
|
|
2487
2487
|
if (a == null || !a._connected)
|
|
@@ -2506,11 +2506,11 @@ function Zn() {
|
|
|
2506
2506
|
return f._connected = a, f;
|
|
2507
2507
|
};
|
|
2508
2508
|
}
|
|
2509
|
-
|
|
2510
|
-
const
|
|
2509
|
+
Qn();
|
|
2510
|
+
const qn = (e) => e.replace(/^.*?function main\(\)/, `
|
|
2511
2511
|
var __awaiter = function (e, t, n, r) {return r()},
|
|
2512
2512
|
__generator = function (e, t) { return t() };
|
|
2513
|
-
function main()`).replace(/\?\./g, "."),
|
|
2513
|
+
function main()`).replace(/\?\./g, "."), Gr = (e) => e + "JSON", eo = ({
|
|
2514
2514
|
builder: e,
|
|
2515
2515
|
context: t,
|
|
2516
2516
|
event: n,
|
|
@@ -2519,58 +2519,58 @@ function main()`).replace(/\?\./g, "."), Wr = (e) => e + "JSON", qn = ({
|
|
|
2519
2519
|
rootSetState: s,
|
|
2520
2520
|
code: a
|
|
2521
2521
|
}) => {
|
|
2522
|
-
const f =
|
|
2522
|
+
const f = Jt({
|
|
2523
2523
|
rootState: r,
|
|
2524
2524
|
localState: o,
|
|
2525
2525
|
rootSetState: s
|
|
2526
|
-
}), d =
|
|
2526
|
+
}), d = Kr({
|
|
2527
2527
|
builder: e,
|
|
2528
2528
|
context: t,
|
|
2529
2529
|
event: n,
|
|
2530
2530
|
state: f
|
|
2531
|
-
}), v = d.map(([
|
|
2532
|
-
const R =
|
|
2533
|
-
return
|
|
2531
|
+
}), v = d.map(([j]) => {
|
|
2532
|
+
const R = Gr(j);
|
|
2533
|
+
return j === "state" ? "" : `var ${j} = ${R} === undefined ? undefined : JSON.parse(${R});`;
|
|
2534
2534
|
}).join(`
|
|
2535
|
-
`),
|
|
2536
|
-
if (
|
|
2535
|
+
`), T = qn(a);
|
|
2536
|
+
if (T === "")
|
|
2537
2537
|
return;
|
|
2538
|
-
const
|
|
2538
|
+
const I = `
|
|
2539
2539
|
function theFunction() {
|
|
2540
2540
|
${v}
|
|
2541
2541
|
|
|
2542
|
-
${
|
|
2542
|
+
${T}
|
|
2543
2543
|
}
|
|
2544
2544
|
theFunction();
|
|
2545
|
-
`,
|
|
2545
|
+
`, G = function(j, R) {
|
|
2546
2546
|
d.forEach(([_, k]) => {
|
|
2547
2547
|
if (_ === "state")
|
|
2548
|
-
|
|
2548
|
+
j.setProperty(R, _, j.createConnectedObject(k), j.READONLY_DESCRIPTOR);
|
|
2549
2549
|
else {
|
|
2550
2550
|
const ue = JSON.stringify(k);
|
|
2551
|
-
|
|
2551
|
+
j.setProperty(R, Gr(_), ue);
|
|
2552
2552
|
}
|
|
2553
2553
|
});
|
|
2554
|
-
},
|
|
2555
|
-
return
|
|
2554
|
+
}, H = new h(I, G);
|
|
2555
|
+
return H.run(), H.pseudoToNative(H.value);
|
|
2556
2556
|
};
|
|
2557
|
-
function
|
|
2557
|
+
function to() {
|
|
2558
2558
|
var e;
|
|
2559
2559
|
return typeof process != "undefined" && st((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2560
2560
|
}
|
|
2561
|
-
const
|
|
2561
|
+
const ro = ({
|
|
2562
2562
|
shouldLogWarning: e
|
|
2563
2563
|
}) => {
|
|
2564
2564
|
var o;
|
|
2565
|
-
if (!
|
|
2565
|
+
if (!to())
|
|
2566
2566
|
return !1;
|
|
2567
2567
|
const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
|
|
2568
|
-
return t && n && !r ? (e &&
|
|
2569
|
-
},
|
|
2568
|
+
return t && n && !r ? (e && Jr.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
2569
|
+
}, no = (e) => Wt() || ro({
|
|
2570
2570
|
shouldLogWarning: !0
|
|
2571
|
-
}) ?
|
|
2571
|
+
}) ? Mn(e) : eo(e), oo = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, io = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, so = (e) => {
|
|
2572
2572
|
var t, n, r, o, s, a;
|
|
2573
|
-
return ((r = (n = (t =
|
|
2573
|
+
return ((r = (n = (t = oo.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((a = (s = (o = io.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : s.getPath) == null ? void 0 : a.slice(1));
|
|
2574
2574
|
};
|
|
2575
2575
|
function ft({
|
|
2576
2576
|
code: e,
|
|
@@ -2583,17 +2583,17 @@ function ft({
|
|
|
2583
2583
|
}) {
|
|
2584
2584
|
if (e.trim() === "")
|
|
2585
2585
|
return;
|
|
2586
|
-
const f =
|
|
2586
|
+
const f = so(e.trim());
|
|
2587
2587
|
if (f)
|
|
2588
|
-
return
|
|
2588
|
+
return Nn({
|
|
2589
2589
|
...r,
|
|
2590
2590
|
...n
|
|
2591
2591
|
}, f);
|
|
2592
2592
|
const d = {
|
|
2593
|
-
code:
|
|
2593
|
+
code: Bn(e, {
|
|
2594
2594
|
isExpression: a
|
|
2595
2595
|
}),
|
|
2596
|
-
builder:
|
|
2596
|
+
builder: Rn(),
|
|
2597
2597
|
context: t,
|
|
2598
2598
|
event: s,
|
|
2599
2599
|
rootSetState: o,
|
|
@@ -2601,23 +2601,23 @@ function ft({
|
|
|
2601
2601
|
localState: n
|
|
2602
2602
|
};
|
|
2603
2603
|
try {
|
|
2604
|
-
return
|
|
2604
|
+
return no(d);
|
|
2605
2605
|
} catch (v) {
|
|
2606
|
-
|
|
2606
|
+
Jr.error("Failed code evaluation: " + v.message, {
|
|
2607
2607
|
code: e
|
|
2608
2608
|
});
|
|
2609
2609
|
return;
|
|
2610
2610
|
}
|
|
2611
2611
|
}
|
|
2612
|
-
function
|
|
2612
|
+
function ao(e, t) {
|
|
2613
2613
|
var n;
|
|
2614
2614
|
return {
|
|
2615
2615
|
...(n = e.component) == null ? void 0 : n.options,
|
|
2616
2616
|
...e.options,
|
|
2617
|
-
...
|
|
2617
|
+
...lo(e, t)
|
|
2618
2618
|
};
|
|
2619
2619
|
}
|
|
2620
|
-
const
|
|
2620
|
+
const lo = (e, t) => {
|
|
2621
2621
|
var n, r;
|
|
2622
2622
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
|
|
2623
2623
|
return {
|
|
@@ -2631,7 +2631,7 @@ const ao = (e, t) => {
|
|
|
2631
2631
|
}))
|
|
2632
2632
|
};
|
|
2633
2633
|
};
|
|
2634
|
-
function
|
|
2634
|
+
function uo(e, ...t) {
|
|
2635
2635
|
const n = Object.assign({}, e);
|
|
2636
2636
|
for (const r of t)
|
|
2637
2637
|
delete n[r];
|
|
@@ -2654,51 +2654,51 @@ function at(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
|
|
|
2654
2654
|
}), at(a, t, e, s, o);
|
|
2655
2655
|
}));
|
|
2656
2656
|
}
|
|
2657
|
-
function
|
|
2657
|
+
function en(e) {
|
|
2658
2658
|
return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
|
|
2659
2659
|
}
|
|
2660
|
-
function
|
|
2660
|
+
function co(e) {
|
|
2661
2661
|
if (!e || !Object.getOwnPropertyNames(e).length)
|
|
2662
2662
|
return !1;
|
|
2663
2663
|
let t = !1;
|
|
2664
2664
|
return at(e, (n) => {
|
|
2665
|
-
if (
|
|
2665
|
+
if (en(n)) {
|
|
2666
2666
|
t = !0;
|
|
2667
2667
|
return;
|
|
2668
2668
|
}
|
|
2669
2669
|
}), t;
|
|
2670
2670
|
}
|
|
2671
|
-
function
|
|
2671
|
+
function fo(e, t) {
|
|
2672
2672
|
return !e || !Object.getOwnPropertyNames(e).length ? {} : (at(e, (n, r) => {
|
|
2673
2673
|
var o;
|
|
2674
|
-
|
|
2674
|
+
en(n) && r((o = n[t]) != null ? o : void 0);
|
|
2675
2675
|
}), e);
|
|
2676
2676
|
}
|
|
2677
|
-
function
|
|
2677
|
+
function po(e, t) {
|
|
2678
2678
|
var n, r;
|
|
2679
|
-
return (n = e.component) != null && n.options &&
|
|
2679
|
+
return (n = e.component) != null && n.options && co((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = fo(e.component.options, t != null ? t : "Default")), e;
|
|
2680
2680
|
}
|
|
2681
|
-
const
|
|
2681
|
+
const tn = (e) => JSON.parse(JSON.stringify(e)), ho = (e, t, n) => {
|
|
2682
2682
|
if (Object(e) !== e)
|
|
2683
2683
|
return e;
|
|
2684
2684
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
2685
2685
|
return r.slice(0, -1).reduce((o, s, a) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
|
|
2686
2686
|
};
|
|
2687
|
-
function
|
|
2687
|
+
function Ht(e) {
|
|
2688
2688
|
if (e === null || typeof e != "object")
|
|
2689
2689
|
return e;
|
|
2690
2690
|
if (Array.isArray(e))
|
|
2691
|
-
return e.map((n) =>
|
|
2691
|
+
return e.map((n) => Ht(n));
|
|
2692
2692
|
if (e["@type"] === "@builder.io/sdk:Element")
|
|
2693
2693
|
return e;
|
|
2694
2694
|
const t = {};
|
|
2695
2695
|
for (const n in e)
|
|
2696
|
-
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] =
|
|
2696
|
+
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Ht(e[n]));
|
|
2697
2697
|
return t;
|
|
2698
2698
|
}
|
|
2699
|
-
const
|
|
2700
|
-
if (
|
|
2701
|
-
const t =
|
|
2699
|
+
const go = ["svelte", "vue", "angular", "qwik", "solid"].includes(lt), yo = (e) => {
|
|
2700
|
+
if (go) {
|
|
2701
|
+
const t = tn(e);
|
|
2702
2702
|
return {
|
|
2703
2703
|
...t,
|
|
2704
2704
|
properties: {
|
|
@@ -2709,7 +2709,7 @@ const ho = ["svelte", "vue", "angular", "qwik", "solid"].includes(lt), go = (e)
|
|
|
2709
2709
|
}
|
|
2710
2710
|
};
|
|
2711
2711
|
} else {
|
|
2712
|
-
const t =
|
|
2712
|
+
const t = Ht(uo(e, "children", "meta"));
|
|
2713
2713
|
return {
|
|
2714
2714
|
...t,
|
|
2715
2715
|
properties: {
|
|
@@ -2722,7 +2722,7 @@ const ho = ["svelte", "vue", "angular", "qwik", "solid"].includes(lt), go = (e)
|
|
|
2722
2722
|
meta: e.meta
|
|
2723
2723
|
};
|
|
2724
2724
|
}
|
|
2725
|
-
},
|
|
2725
|
+
}, mo = ({
|
|
2726
2726
|
block: e,
|
|
2727
2727
|
context: t,
|
|
2728
2728
|
localState: n,
|
|
@@ -2731,7 +2731,7 @@ const ho = ["svelte", "vue", "angular", "qwik", "solid"].includes(lt), go = (e)
|
|
|
2731
2731
|
}) => {
|
|
2732
2732
|
if (!e.bindings)
|
|
2733
2733
|
return e;
|
|
2734
|
-
const s =
|
|
2734
|
+
const s = yo(e);
|
|
2735
2735
|
for (const a in e.bindings) {
|
|
2736
2736
|
const f = e.bindings[a], d = ft({
|
|
2737
2737
|
code: f,
|
|
@@ -2740,11 +2740,11 @@ const ho = ["svelte", "vue", "angular", "qwik", "solid"].includes(lt), go = (e)
|
|
|
2740
2740
|
rootSetState: o,
|
|
2741
2741
|
context: t
|
|
2742
2742
|
});
|
|
2743
|
-
|
|
2743
|
+
ho(s, a, d);
|
|
2744
2744
|
}
|
|
2745
2745
|
return s;
|
|
2746
2746
|
};
|
|
2747
|
-
function
|
|
2747
|
+
function vo({
|
|
2748
2748
|
block: e,
|
|
2749
2749
|
context: t,
|
|
2750
2750
|
localState: n,
|
|
@@ -2752,16 +2752,16 @@ function mo({
|
|
|
2752
2752
|
rootSetState: o
|
|
2753
2753
|
}) {
|
|
2754
2754
|
let s = e;
|
|
2755
|
-
return s =
|
|
2755
|
+
return s = mo({
|
|
2756
2756
|
block: s,
|
|
2757
2757
|
localState: n,
|
|
2758
2758
|
rootState: r,
|
|
2759
2759
|
rootSetState: o,
|
|
2760
2760
|
context: t
|
|
2761
|
-
}), s =
|
|
2761
|
+
}), s = po(s, r.locale), s;
|
|
2762
2762
|
}
|
|
2763
2763
|
const pt = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
2764
|
-
function
|
|
2764
|
+
function wo(e, t, n = {}) {
|
|
2765
2765
|
let r, o, s, a = null, f = 0;
|
|
2766
2766
|
const d = function() {
|
|
2767
2767
|
f = n.leading === !1 ? 0 : Date.now(), a = null, s = e.apply(r, o), a || (r = o = null);
|
|
@@ -2769,11 +2769,11 @@ function vo(e, t, n = {}) {
|
|
|
2769
2769
|
return function() {
|
|
2770
2770
|
const v = Date.now();
|
|
2771
2771
|
!f && n.leading === !1 && (f = v);
|
|
2772
|
-
const
|
|
2773
|
-
return r = this, o = arguments,
|
|
2772
|
+
const T = t - (v - f);
|
|
2773
|
+
return r = this, o = arguments, T <= 0 || T > t ? (a && (clearTimeout(a), a = null), f = v, s = e.apply(r, o), a || (r = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(d, T)), s;
|
|
2774
2774
|
};
|
|
2775
2775
|
}
|
|
2776
|
-
function
|
|
2776
|
+
function Xe(e, ...t) {
|
|
2777
2777
|
const n = Object(e);
|
|
2778
2778
|
for (let r = 1; r < arguments.length; r++) {
|
|
2779
2779
|
const o = arguments[r];
|
|
@@ -2783,73 +2783,73 @@ function He(e, ...t) {
|
|
|
2783
2783
|
}
|
|
2784
2784
|
return n;
|
|
2785
2785
|
}
|
|
2786
|
-
function
|
|
2786
|
+
function xo(e) {
|
|
2787
2787
|
for (const t of e)
|
|
2788
2788
|
switch (t.trigger) {
|
|
2789
2789
|
case "pageLoad":
|
|
2790
|
-
|
|
2790
|
+
Eo(t);
|
|
2791
2791
|
break;
|
|
2792
2792
|
case "scrollInView":
|
|
2793
|
-
|
|
2793
|
+
ko(t);
|
|
2794
2794
|
break;
|
|
2795
2795
|
}
|
|
2796
2796
|
}
|
|
2797
|
-
function
|
|
2797
|
+
function rn(e) {
|
|
2798
2798
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2799
2799
|
}
|
|
2800
|
-
function
|
|
2801
|
-
const n =
|
|
2800
|
+
function nn(e, t) {
|
|
2801
|
+
const n = So(e), r = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, a = [o, s];
|
|
2802
2802
|
for (const f of a)
|
|
2803
2803
|
for (const d of n)
|
|
2804
2804
|
d in f || (f[d] = r[d]);
|
|
2805
2805
|
}
|
|
2806
|
-
function
|
|
2806
|
+
function So(e) {
|
|
2807
2807
|
const t = [];
|
|
2808
2808
|
for (const n of e.steps)
|
|
2809
2809
|
for (const r in n.styles)
|
|
2810
2810
|
t.indexOf(r) === -1 && t.push(r);
|
|
2811
2811
|
return t;
|
|
2812
2812
|
}
|
|
2813
|
-
function
|
|
2813
|
+
function Eo(e) {
|
|
2814
2814
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2815
2815
|
if (!t.length) {
|
|
2816
|
-
|
|
2816
|
+
rn(e.elementId || e.id || "");
|
|
2817
2817
|
return;
|
|
2818
2818
|
}
|
|
2819
2819
|
Array.from(t).forEach((n) => {
|
|
2820
|
-
|
|
2821
|
-
n.style.transition = `all ${e.duration}s ${pt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"),
|
|
2820
|
+
nn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Xe(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2821
|
+
n.style.transition = `all ${e.duration}s ${pt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Xe(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2822
2822
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
2823
2823
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2824
2824
|
});
|
|
2825
2825
|
});
|
|
2826
2826
|
}
|
|
2827
|
-
function
|
|
2827
|
+
function ko(e) {
|
|
2828
2828
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2829
2829
|
if (!t.length) {
|
|
2830
|
-
|
|
2830
|
+
rn(e.elementId || e.id || "");
|
|
2831
2831
|
return;
|
|
2832
2832
|
}
|
|
2833
2833
|
Array.from(t).forEach((n) => {
|
|
2834
|
-
|
|
2834
|
+
nn(e, n);
|
|
2835
2835
|
let r = !1, o = !1;
|
|
2836
2836
|
function s() {
|
|
2837
2837
|
!r && f(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
2838
|
-
|
|
2838
|
+
Xe(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
|
|
2839
2839
|
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
2840
2840
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
2841
|
-
})) : e.repeat && r && !o && !f(n) && (r = !1,
|
|
2841
|
+
})) : e.repeat && r && !o && !f(n) && (r = !1, Xe(n.style, e.steps[0].styles));
|
|
2842
2842
|
}
|
|
2843
|
-
const a =
|
|
2843
|
+
const a = wo(s, 200, {
|
|
2844
2844
|
leading: !1
|
|
2845
2845
|
});
|
|
2846
|
-
function f(
|
|
2847
|
-
const
|
|
2848
|
-
return
|
|
2846
|
+
function f(T) {
|
|
2847
|
+
const I = T.getBoundingClientRect(), G = window.innerHeight, P = (e.thresholdPercent || 0) / 100 * G;
|
|
2848
|
+
return I.bottom > P && I.top < G - P;
|
|
2849
2849
|
}
|
|
2850
2850
|
const d = e.steps[0].styles;
|
|
2851
2851
|
function v() {
|
|
2852
|
-
|
|
2852
|
+
Xe(n.style, d);
|
|
2853
2853
|
}
|
|
2854
2854
|
v(), setTimeout(() => {
|
|
2855
2855
|
n.style.transition = `all ${e.duration}s ${pt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
@@ -2859,42 +2859,42 @@ function Eo(e) {
|
|
|
2859
2859
|
}), s();
|
|
2860
2860
|
});
|
|
2861
2861
|
}
|
|
2862
|
-
const
|
|
2862
|
+
const on = (e) => Object.entries(e).map(([n, r]) => {
|
|
2863
2863
|
if (typeof r == "string")
|
|
2864
2864
|
return `${pt(n)}: ${r};`;
|
|
2865
|
-
}).filter(st),
|
|
2865
|
+
}).filter(st), Co = (e) => on(e).join(`
|
|
2866
2866
|
`), Ue = ({
|
|
2867
2867
|
mediaQuery: e,
|
|
2868
2868
|
className: t,
|
|
2869
2869
|
styles: n
|
|
2870
2870
|
}) => {
|
|
2871
2871
|
const r = `.${t} {
|
|
2872
|
-
${
|
|
2872
|
+
${Co(n)}
|
|
2873
2873
|
}`;
|
|
2874
2874
|
return e ? `${e} {
|
|
2875
2875
|
${r}
|
|
2876
2876
|
}` : r;
|
|
2877
2877
|
};
|
|
2878
|
-
function
|
|
2878
|
+
function Oo({
|
|
2879
2879
|
style: e
|
|
2880
2880
|
}) {
|
|
2881
2881
|
return e;
|
|
2882
2882
|
}
|
|
2883
|
-
const
|
|
2883
|
+
const jo = ({
|
|
2884
2884
|
block: e,
|
|
2885
2885
|
context: t
|
|
2886
|
-
}) =>
|
|
2886
|
+
}) => Ao(Oo({
|
|
2887
2887
|
style: e.style || {},
|
|
2888
2888
|
context: t,
|
|
2889
2889
|
block: e
|
|
2890
2890
|
}));
|
|
2891
|
-
function
|
|
2891
|
+
function Ao(e) {
|
|
2892
2892
|
switch (lt) {
|
|
2893
2893
|
case "svelte":
|
|
2894
2894
|
case "vue":
|
|
2895
2895
|
case "solid":
|
|
2896
2896
|
case "angular":
|
|
2897
|
-
return
|
|
2897
|
+
return on(e).join(" ");
|
|
2898
2898
|
case "qwik":
|
|
2899
2899
|
case "reactNative":
|
|
2900
2900
|
case "react":
|
|
@@ -2902,7 +2902,7 @@ function jo(e) {
|
|
|
2902
2902
|
return e;
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
|
-
const
|
|
2905
|
+
const sn = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Io = ({
|
|
2906
2906
|
block: e,
|
|
2907
2907
|
registeredComponents: t,
|
|
2908
2908
|
model: n
|
|
@@ -2912,14 +2912,14 @@ const on = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
2912
2912
|
if (!r)
|
|
2913
2913
|
return null;
|
|
2914
2914
|
const o = t[r];
|
|
2915
|
-
if (!o ||
|
|
2915
|
+
if (!o || sn(o, n)) {
|
|
2916
2916
|
console.warn(`
|
|
2917
2917
|
Could not find a registered component named "${r}".
|
|
2918
2918
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2919
2919
|
return;
|
|
2920
2920
|
} else
|
|
2921
2921
|
return o;
|
|
2922
|
-
},
|
|
2922
|
+
}, To = ({
|
|
2923
2923
|
block: e,
|
|
2924
2924
|
context: t
|
|
2925
2925
|
}) => {
|
|
@@ -2952,168 +2952,31 @@ const on = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
2952
2952
|
},
|
|
2953
2953
|
block: r
|
|
2954
2954
|
}));
|
|
2955
|
-
},
|
|
2955
|
+
}, Po = (e, t) => {
|
|
2956
2956
|
var n;
|
|
2957
2957
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
2958
2958
|
builderLinkComponent: t
|
|
2959
2959
|
} : {};
|
|
2960
|
-
},
|
|
2960
|
+
}, bo = (e, t, n) => {
|
|
2961
2961
|
var r;
|
|
2962
2962
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
|
|
2963
|
-
builderComponents: Object.fromEntries(Object.entries(t).filter(([s, a]) => !
|
|
2963
|
+
builderComponents: Object.fromEntries(Object.entries(t).filter(([s, a]) => !sn(a, n)))
|
|
2964
2964
|
} : {};
|
|
2965
|
-
},
|
|
2965
|
+
}, No = (e, t) => {
|
|
2966
2966
|
var n;
|
|
2967
2967
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
2968
2968
|
builderBlock: t
|
|
2969
2969
|
} : {};
|
|
2970
|
-
},
|
|
2970
|
+
}, Ro = (e, t) => {
|
|
2971
2971
|
var n;
|
|
2972
2972
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
2973
2973
|
builderContext: t
|
|
2974
2974
|
} : {};
|
|
2975
|
-
},
|
|
2976
|
-
xsmall: {
|
|
2977
|
-
min: 0,
|
|
2978
|
-
default: 160,
|
|
2979
|
-
max: 320
|
|
2980
|
-
},
|
|
2981
|
-
small: {
|
|
2982
|
-
min: 321,
|
|
2983
|
-
default: 321,
|
|
2984
|
-
max: 640
|
|
2985
|
-
},
|
|
2986
|
-
medium: {
|
|
2987
|
-
min: 641,
|
|
2988
|
-
default: 642,
|
|
2989
|
-
max: 991
|
|
2990
|
-
},
|
|
2991
|
-
large: {
|
|
2992
|
-
min: 990,
|
|
2993
|
-
default: 991,
|
|
2994
|
-
max: 1200
|
|
2995
|
-
}
|
|
2996
|
-
}, Ut = (e, t = sn) => `@media (max-width: ${t[e].max}px)`, Ro = (e) => {
|
|
2997
|
-
const t = en(sn);
|
|
2998
|
-
if (!e)
|
|
2999
|
-
return t;
|
|
3000
|
-
const {
|
|
3001
|
-
xsmall: n,
|
|
3002
|
-
small: r,
|
|
3003
|
-
medium: o
|
|
3004
|
-
} = e;
|
|
3005
|
-
if (n) {
|
|
3006
|
-
const d = Math.floor(n / 2);
|
|
3007
|
-
t.xsmall = {
|
|
3008
|
-
max: n,
|
|
3009
|
-
min: d,
|
|
3010
|
-
default: d + 1
|
|
3011
|
-
};
|
|
3012
|
-
}
|
|
3013
|
-
if (!r || !o)
|
|
3014
|
-
return t;
|
|
3015
|
-
const s = n ? t.xsmall.max + 1 : Math.floor(r / 2);
|
|
3016
|
-
t.small = {
|
|
3017
|
-
max: r,
|
|
3018
|
-
min: s,
|
|
3019
|
-
default: s + 1
|
|
3020
|
-
};
|
|
3021
|
-
const a = t.small.max + 1;
|
|
3022
|
-
t.medium = {
|
|
3023
|
-
max: o,
|
|
3024
|
-
min: a,
|
|
3025
|
-
default: a + 1
|
|
3026
|
-
};
|
|
3027
|
-
const f = t.medium.max + 1;
|
|
3028
|
-
return t.large = {
|
|
3029
|
-
max: 2e3,
|
|
3030
|
-
// TODO: decide upper limit
|
|
3031
|
-
min: f,
|
|
3032
|
-
default: f + 1
|
|
3033
|
-
}, t;
|
|
3034
|
-
};
|
|
2975
|
+
}, $r = (e) => e.toString();
|
|
3035
2976
|
function Bo(e) {
|
|
3036
|
-
return /* @__PURE__ */ P(
|
|
3037
|
-
"style",
|
|
3038
|
-
{
|
|
3039
|
-
dangerouslySetInnerHTML: { __html: e.styles },
|
|
3040
|
-
"data-id": e.id,
|
|
3041
|
-
nonce: e.nonce
|
|
3042
|
-
}
|
|
3043
|
-
);
|
|
3044
|
-
}
|
|
3045
|
-
function Mo(e) {
|
|
3046
|
-
function t() {
|
|
3047
|
-
const r = e.block;
|
|
3048
|
-
return st(r.hide) ? !r.hide : st(r.show) ? r.show : !0;
|
|
3049
|
-
}
|
|
3050
|
-
function n() {
|
|
3051
|
-
var ue, Ie, Te, B, Z;
|
|
3052
|
-
const r = e.block, o = r.responsiveStyles, s = e.context.content, a = Ro(
|
|
3053
|
-
((ue = s == null ? void 0 : s.meta) == null ? void 0 : ue.breakpoints) || {}
|
|
3054
|
-
), f = !!((Te = (Ie = s == null ? void 0 : s.meta) == null ? void 0 : Ie.breakpoints) != null && Te.xsmall), d = o == null ? void 0 : o.large, v = o == null ? void 0 : o.medium, I = o == null ? void 0 : o.small, A = o == null ? void 0 : o.xsmall, W = r.id;
|
|
3055
|
-
if (!W)
|
|
3056
|
-
return "";
|
|
3057
|
-
const V = d ? Ue({
|
|
3058
|
-
className: W,
|
|
3059
|
-
styles: d
|
|
3060
|
-
}) : "", T = v ? Ue({
|
|
3061
|
-
className: W,
|
|
3062
|
-
styles: v,
|
|
3063
|
-
mediaQuery: Ut(
|
|
3064
|
-
"medium",
|
|
3065
|
-
a
|
|
3066
|
-
)
|
|
3067
|
-
}) : "", O = I ? Ue({
|
|
3068
|
-
className: W,
|
|
3069
|
-
styles: I,
|
|
3070
|
-
mediaQuery: Ut(
|
|
3071
|
-
"small",
|
|
3072
|
-
a
|
|
3073
|
-
)
|
|
3074
|
-
}) : "", R = A && f ? Ue({
|
|
3075
|
-
className: W,
|
|
3076
|
-
styles: A,
|
|
3077
|
-
mediaQuery: Ut(
|
|
3078
|
-
"xsmall",
|
|
3079
|
-
a
|
|
3080
|
-
)
|
|
3081
|
-
}) : "", _ = r.animations && r.animations.find((x) => x.trigger === "hover");
|
|
3082
|
-
let k = "";
|
|
3083
|
-
if (_) {
|
|
3084
|
-
const x = ((Z = (B = _.steps) == null ? void 0 : B[1]) == null ? void 0 : Z.styles) || {};
|
|
3085
|
-
k = Ue({
|
|
3086
|
-
className: `${W}:hover`,
|
|
3087
|
-
styles: {
|
|
3088
|
-
...x,
|
|
3089
|
-
transition: `all ${_.duration}s ${pt(
|
|
3090
|
-
_.easing
|
|
3091
|
-
)}`,
|
|
3092
|
-
transitionDelay: _.delay ? `${_.delay}s` : "0s"
|
|
3093
|
-
}
|
|
3094
|
-
}) || "";
|
|
3095
|
-
}
|
|
3096
|
-
return [
|
|
3097
|
-
V,
|
|
3098
|
-
T,
|
|
3099
|
-
O,
|
|
3100
|
-
R,
|
|
3101
|
-
k
|
|
3102
|
-
].join(" ");
|
|
3103
|
-
}
|
|
3104
|
-
return /* @__PURE__ */ P(J, { children: n() && t() ? /* @__PURE__ */ P(J, { children: /* @__PURE__ */ P(
|
|
3105
|
-
Bo,
|
|
3106
|
-
{
|
|
3107
|
-
id: "builderio-block",
|
|
3108
|
-
styles: n(),
|
|
3109
|
-
nonce: e.context.nonce
|
|
3110
|
-
}
|
|
3111
|
-
) }) : null });
|
|
3112
|
-
}
|
|
3113
|
-
function Do(e) {
|
|
3114
2977
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3115
2978
|
}
|
|
3116
|
-
const
|
|
2979
|
+
const Mo = (e) => `on${Bo(e)}`, Do = (e, t) => (n) => ft({
|
|
3117
2980
|
code: e,
|
|
3118
2981
|
context: t.context,
|
|
3119
2982
|
localState: t.localState,
|
|
@@ -3129,7 +2992,7 @@ function an(e) {
|
|
|
3129
2992
|
if (!n.hasOwnProperty(o))
|
|
3130
2993
|
continue;
|
|
3131
2994
|
const s = n[o];
|
|
3132
|
-
let a =
|
|
2995
|
+
let a = Mo(o);
|
|
3133
2996
|
if (e.stripPrefix)
|
|
3134
2997
|
switch (lt) {
|
|
3135
2998
|
case "vue":
|
|
@@ -3139,45 +3002,45 @@ function an(e) {
|
|
|
3139
3002
|
a = a.replace("on:", "");
|
|
3140
3003
|
break;
|
|
3141
3004
|
}
|
|
3142
|
-
t[a] =
|
|
3005
|
+
t[a] = Do(s, e);
|
|
3143
3006
|
}
|
|
3144
3007
|
return t;
|
|
3145
3008
|
}
|
|
3146
|
-
function
|
|
3009
|
+
function _o({
|
|
3147
3010
|
properties: e
|
|
3148
3011
|
}) {
|
|
3149
3012
|
return e;
|
|
3150
3013
|
}
|
|
3151
|
-
const
|
|
3014
|
+
const Uo = (e) => ({
|
|
3152
3015
|
href: e.href
|
|
3153
3016
|
});
|
|
3154
|
-
function
|
|
3017
|
+
function ir({
|
|
3155
3018
|
block: e,
|
|
3156
3019
|
context: t
|
|
3157
3020
|
}) {
|
|
3158
3021
|
var r;
|
|
3159
3022
|
const n = {
|
|
3160
|
-
...
|
|
3023
|
+
...Uo(e),
|
|
3161
3024
|
...e.properties,
|
|
3162
3025
|
"builder-id": e.id,
|
|
3163
|
-
style:
|
|
3026
|
+
style: jo({
|
|
3164
3027
|
block: e,
|
|
3165
3028
|
context: t
|
|
3166
3029
|
}),
|
|
3167
|
-
[
|
|
3030
|
+
[Tn()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
3168
3031
|
};
|
|
3169
|
-
return
|
|
3032
|
+
return _o({
|
|
3170
3033
|
properties: n,
|
|
3171
3034
|
context: t,
|
|
3172
3035
|
block: e
|
|
3173
3036
|
});
|
|
3174
3037
|
}
|
|
3175
|
-
function
|
|
3176
|
-
return /* @__PURE__ */
|
|
3177
|
-
|
|
3038
|
+
function Lo(e) {
|
|
3039
|
+
return /* @__PURE__ */ O(
|
|
3040
|
+
Pn,
|
|
3178
3041
|
{
|
|
3179
3042
|
TagName: e.Wrapper,
|
|
3180
|
-
attributes:
|
|
3043
|
+
attributes: ir({
|
|
3181
3044
|
block: e.block,
|
|
3182
3045
|
context: e.context
|
|
3183
3046
|
}),
|
|
@@ -3193,16 +3056,16 @@ function Wo(e) {
|
|
|
3193
3056
|
}
|
|
3194
3057
|
);
|
|
3195
3058
|
}
|
|
3196
|
-
function
|
|
3059
|
+
function Fo(e) {
|
|
3197
3060
|
return pe(() => {
|
|
3198
|
-
}, []), /* @__PURE__ */
|
|
3061
|
+
}, []), /* @__PURE__ */ O(L, { children: e.children });
|
|
3199
3062
|
}
|
|
3200
|
-
function
|
|
3063
|
+
function Wo(e) {
|
|
3201
3064
|
var r, o;
|
|
3202
|
-
|
|
3065
|
+
he(() => 0);
|
|
3203
3066
|
function t() {
|
|
3204
3067
|
return e.includeBlockProps ? {
|
|
3205
|
-
...
|
|
3068
|
+
...ir({
|
|
3206
3069
|
block: e.block,
|
|
3207
3070
|
context: e.context
|
|
3208
3071
|
}),
|
|
@@ -3219,8 +3082,8 @@ function $o(e) {
|
|
|
3219
3082
|
return e.wrapperProps;
|
|
3220
3083
|
}
|
|
3221
3084
|
return pe(() => {
|
|
3222
|
-
}, [e.wrapperProps, (o = (r = e.block) == null ? void 0 : r.component) == null ? void 0 : o.options]), /* @__PURE__ */
|
|
3223
|
-
|
|
3085
|
+
}, [e.wrapperProps, (o = (r = e.block) == null ? void 0 : r.component) == null ? void 0 : o.options]), /* @__PURE__ */ O(L, { children: e.Wrapper.load ? /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(
|
|
3086
|
+
Fo,
|
|
3224
3087
|
{
|
|
3225
3088
|
load: e.Wrapper.load,
|
|
3226
3089
|
fallback: e.Wrapper.fallback,
|
|
@@ -3228,9 +3091,9 @@ function $o(e) {
|
|
|
3228
3091
|
attributes: t(),
|
|
3229
3092
|
children: e.children
|
|
3230
3093
|
}
|
|
3231
|
-
) }) : /* @__PURE__ */
|
|
3094
|
+
) }) : /* @__PURE__ */ O(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
|
|
3232
3095
|
}
|
|
3233
|
-
const
|
|
3096
|
+
const Go = ({
|
|
3234
3097
|
componentOptions: e,
|
|
3235
3098
|
builderBlock: t,
|
|
3236
3099
|
context: n,
|
|
@@ -3246,7 +3109,7 @@ const Vo = ({
|
|
|
3246
3109
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
3247
3110
|
*/
|
|
3248
3111
|
...o ? {
|
|
3249
|
-
attributes:
|
|
3112
|
+
attributes: ir({
|
|
3250
3113
|
block: t,
|
|
3251
3114
|
context: a
|
|
3252
3115
|
})
|
|
@@ -3260,17 +3123,16 @@ const Vo = ({
|
|
|
3260
3123
|
includeBlockProps: o
|
|
3261
3124
|
} : f;
|
|
3262
3125
|
};
|
|
3263
|
-
function
|
|
3126
|
+
function Vr(e) {
|
|
3264
3127
|
var r;
|
|
3265
|
-
|
|
3266
|
-
const [t, n] =
|
|
3267
|
-
() => e.isInteractive ?
|
|
3128
|
+
he(() => !1);
|
|
3129
|
+
const [t, n] = he(
|
|
3130
|
+
() => e.isInteractive ? Wo : e.componentRef
|
|
3268
3131
|
);
|
|
3269
|
-
return
|
|
3270
|
-
}, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ P(J, { children: e.componentRef ? /* @__PURE__ */ P(J, { children: /* @__PURE__ */ P(
|
|
3132
|
+
return /* @__PURE__ */ O(L, { children: e.componentRef ? /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(
|
|
3271
3133
|
t,
|
|
3272
3134
|
{
|
|
3273
|
-
...
|
|
3135
|
+
...Go({
|
|
3274
3136
|
componentOptions: e.componentOptions,
|
|
3275
3137
|
builderBlock: e.builderBlock,
|
|
3276
3138
|
context: e.context,
|
|
@@ -3280,7 +3142,7 @@ function $r(e) {
|
|
|
3280
3142
|
isInteractive: e.isInteractive,
|
|
3281
3143
|
contextValue: e.context
|
|
3282
3144
|
}),
|
|
3283
|
-
children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */
|
|
3145
|
+
children: e.componentRef ? /* @__PURE__ */ O(L, { children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ O(
|
|
3284
3146
|
ht,
|
|
3285
3147
|
{
|
|
3286
3148
|
block: o,
|
|
@@ -3289,15 +3151,15 @@ function $r(e) {
|
|
|
3289
3151
|
linkComponent: e.linkComponent
|
|
3290
3152
|
},
|
|
3291
3153
|
o.id
|
|
3292
|
-
))
|
|
3154
|
+
)) }) : null
|
|
3293
3155
|
}
|
|
3294
3156
|
) }) : null });
|
|
3295
3157
|
}
|
|
3296
|
-
function
|
|
3297
|
-
const [t, n] =
|
|
3158
|
+
function Hr(e) {
|
|
3159
|
+
const [t, n] = he(() => e.repeatContext);
|
|
3298
3160
|
return pe(() => {
|
|
3299
3161
|
n(e.repeatContext);
|
|
3300
|
-
}, [e.repeatContext]), /* @__PURE__ */
|
|
3162
|
+
}, [e.repeatContext]), /* @__PURE__ */ O(Xt.Provider, { value: t, children: /* @__PURE__ */ O(
|
|
3301
3163
|
ht,
|
|
3302
3164
|
{
|
|
3303
3165
|
block: e.block,
|
|
@@ -3307,64 +3169,208 @@ function Vr(e) {
|
|
|
3307
3169
|
}
|
|
3308
3170
|
) });
|
|
3309
3171
|
}
|
|
3172
|
+
const ln = {
|
|
3173
|
+
xsmall: {
|
|
3174
|
+
min: 0,
|
|
3175
|
+
default: 160,
|
|
3176
|
+
max: 320
|
|
3177
|
+
},
|
|
3178
|
+
small: {
|
|
3179
|
+
min: 321,
|
|
3180
|
+
default: 321,
|
|
3181
|
+
max: 640
|
|
3182
|
+
},
|
|
3183
|
+
medium: {
|
|
3184
|
+
min: 641,
|
|
3185
|
+
default: 642,
|
|
3186
|
+
max: 991
|
|
3187
|
+
},
|
|
3188
|
+
large: {
|
|
3189
|
+
min: 990,
|
|
3190
|
+
default: 991,
|
|
3191
|
+
max: 1200
|
|
3192
|
+
}
|
|
3193
|
+
}, Ut = (e, t = ln) => `@media (max-width: ${t[e].max}px)`, $o = (e) => {
|
|
3194
|
+
const t = tn(ln);
|
|
3195
|
+
if (!e)
|
|
3196
|
+
return t;
|
|
3197
|
+
const {
|
|
3198
|
+
xsmall: n,
|
|
3199
|
+
small: r,
|
|
3200
|
+
medium: o
|
|
3201
|
+
} = e;
|
|
3202
|
+
if (n) {
|
|
3203
|
+
const d = Math.floor(n / 2);
|
|
3204
|
+
t.xsmall = {
|
|
3205
|
+
max: n,
|
|
3206
|
+
min: d,
|
|
3207
|
+
default: d + 1
|
|
3208
|
+
};
|
|
3209
|
+
}
|
|
3210
|
+
if (!r || !o)
|
|
3211
|
+
return t;
|
|
3212
|
+
const s = n ? t.xsmall.max + 1 : Math.floor(r / 2);
|
|
3213
|
+
t.small = {
|
|
3214
|
+
max: r,
|
|
3215
|
+
min: s,
|
|
3216
|
+
default: s + 1
|
|
3217
|
+
};
|
|
3218
|
+
const a = t.small.max + 1;
|
|
3219
|
+
t.medium = {
|
|
3220
|
+
max: o,
|
|
3221
|
+
min: a,
|
|
3222
|
+
default: a + 1
|
|
3223
|
+
};
|
|
3224
|
+
const f = t.medium.max + 1;
|
|
3225
|
+
return t.large = {
|
|
3226
|
+
max: 2e3,
|
|
3227
|
+
// TODO: decide upper limit
|
|
3228
|
+
min: f,
|
|
3229
|
+
default: f + 1
|
|
3230
|
+
}, t;
|
|
3231
|
+
};
|
|
3232
|
+
function Vo(e) {
|
|
3233
|
+
return /* @__PURE__ */ O(
|
|
3234
|
+
"style",
|
|
3235
|
+
{
|
|
3236
|
+
dangerouslySetInnerHTML: { __html: e.styles },
|
|
3237
|
+
"data-id": e.id,
|
|
3238
|
+
nonce: e.nonce
|
|
3239
|
+
}
|
|
3240
|
+
);
|
|
3241
|
+
}
|
|
3242
|
+
function Xr(e) {
|
|
3243
|
+
function t() {
|
|
3244
|
+
const r = e.block;
|
|
3245
|
+
return st(r.hide) ? !r.hide : st(r.show) ? r.show : !0;
|
|
3246
|
+
}
|
|
3247
|
+
function n() {
|
|
3248
|
+
var ue, Ie, Te, B, Z;
|
|
3249
|
+
const r = e.block, o = r.responsiveStyles, s = e.context.content, a = $o(
|
|
3250
|
+
((ue = s == null ? void 0 : s.meta) == null ? void 0 : ue.breakpoints) || {}
|
|
3251
|
+
), f = !!((Te = (Ie = s == null ? void 0 : s.meta) == null ? void 0 : Ie.breakpoints) != null && Te.xsmall), d = o == null ? void 0 : o.large, v = o == null ? void 0 : o.medium, T = o == null ? void 0 : o.small, I = o == null ? void 0 : o.xsmall, G = r.id;
|
|
3252
|
+
if (!G)
|
|
3253
|
+
return "";
|
|
3254
|
+
const H = d ? Ue({
|
|
3255
|
+
className: G,
|
|
3256
|
+
styles: d
|
|
3257
|
+
}) : "", P = v ? Ue({
|
|
3258
|
+
className: G,
|
|
3259
|
+
styles: v,
|
|
3260
|
+
mediaQuery: Ut(
|
|
3261
|
+
"medium",
|
|
3262
|
+
a
|
|
3263
|
+
)
|
|
3264
|
+
}) : "", j = T ? Ue({
|
|
3265
|
+
className: G,
|
|
3266
|
+
styles: T,
|
|
3267
|
+
mediaQuery: Ut(
|
|
3268
|
+
"small",
|
|
3269
|
+
a
|
|
3270
|
+
)
|
|
3271
|
+
}) : "", R = I && f ? Ue({
|
|
3272
|
+
className: G,
|
|
3273
|
+
styles: I,
|
|
3274
|
+
mediaQuery: Ut(
|
|
3275
|
+
"xsmall",
|
|
3276
|
+
a
|
|
3277
|
+
)
|
|
3278
|
+
}) : "", _ = r.animations && r.animations.find((x) => x.trigger === "hover");
|
|
3279
|
+
let k = "";
|
|
3280
|
+
if (_) {
|
|
3281
|
+
const x = ((Z = (B = _.steps) == null ? void 0 : B[1]) == null ? void 0 : Z.styles) || {};
|
|
3282
|
+
k = Ue({
|
|
3283
|
+
className: `${G}:hover`,
|
|
3284
|
+
styles: {
|
|
3285
|
+
...x,
|
|
3286
|
+
transition: `all ${_.duration}s ${pt(
|
|
3287
|
+
_.easing
|
|
3288
|
+
)}`,
|
|
3289
|
+
transitionDelay: _.delay ? `${_.delay}s` : "0s"
|
|
3290
|
+
}
|
|
3291
|
+
}) || "";
|
|
3292
|
+
}
|
|
3293
|
+
return [
|
|
3294
|
+
H,
|
|
3295
|
+
P,
|
|
3296
|
+
j,
|
|
3297
|
+
R,
|
|
3298
|
+
k
|
|
3299
|
+
].join(" ");
|
|
3300
|
+
}
|
|
3301
|
+
return /* @__PURE__ */ O(L, { children: n() && t() ? /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(
|
|
3302
|
+
Vo,
|
|
3303
|
+
{
|
|
3304
|
+
id: "builderio-block",
|
|
3305
|
+
styles: n(),
|
|
3306
|
+
nonce: e.context.nonce
|
|
3307
|
+
}
|
|
3308
|
+
) }) : null });
|
|
3309
|
+
}
|
|
3310
|
+
function Ho(e) {
|
|
3311
|
+
he(() => !1);
|
|
3312
|
+
const [t, n] = he(() => !1);
|
|
3313
|
+
return Lt(Xt), pe(() => {
|
|
3314
|
+
}, []), /* @__PURE__ */ O(L, { children: t ? /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(Xr, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ O(L, { children: /* @__PURE__ */ O(Xr, { block: e.block, context: e.context }) }) });
|
|
3315
|
+
}
|
|
3310
3316
|
function ht(e) {
|
|
3311
|
-
var
|
|
3317
|
+
var T, I, G, H;
|
|
3312
3318
|
function t() {
|
|
3313
|
-
return
|
|
3319
|
+
return To({
|
|
3314
3320
|
block: e.block,
|
|
3315
3321
|
context: e.context
|
|
3316
3322
|
});
|
|
3317
3323
|
}
|
|
3318
|
-
const [n, r] =
|
|
3324
|
+
const [n, r] = he(() => ({
|
|
3319
3325
|
value: null,
|
|
3320
3326
|
update: !1
|
|
3321
3327
|
}));
|
|
3322
3328
|
function o() {
|
|
3323
|
-
var
|
|
3324
|
-
if (n.value && !n.update && !
|
|
3329
|
+
var j;
|
|
3330
|
+
if (n.value && !n.update && !In())
|
|
3325
3331
|
return n.value;
|
|
3326
|
-
const
|
|
3332
|
+
const P = (j = e.block.repeat) != null && j.collection ? e.block : vo({
|
|
3327
3333
|
block: e.block,
|
|
3328
3334
|
localState: e.context.localState,
|
|
3329
3335
|
rootState: e.context.rootState,
|
|
3330
3336
|
rootSetState: e.context.rootSetState,
|
|
3331
3337
|
context: e.context.context
|
|
3332
3338
|
});
|
|
3333
|
-
return n.value =
|
|
3339
|
+
return n.value = P, n.update = !1, P;
|
|
3334
3340
|
}
|
|
3335
3341
|
function s() {
|
|
3336
|
-
return
|
|
3342
|
+
return Io({
|
|
3337
3343
|
block: o(),
|
|
3338
3344
|
registeredComponents: e.registeredComponents,
|
|
3339
3345
|
model: e.context.model
|
|
3340
3346
|
});
|
|
3341
3347
|
}
|
|
3342
3348
|
function a() {
|
|
3343
|
-
var
|
|
3344
|
-
return e.block.tagName === "a" || ((
|
|
3349
|
+
var j;
|
|
3350
|
+
return e.block.tagName === "a" || ((j = o().properties) == null ? void 0 : j.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3345
3351
|
}
|
|
3346
3352
|
function f() {
|
|
3347
3353
|
var R, _;
|
|
3348
3354
|
if ((R = e.block.repeat) != null && R.collection)
|
|
3349
3355
|
return !!((_ = t == null ? void 0 : t()) != null && _.length);
|
|
3350
|
-
const
|
|
3351
|
-
return ("show" in o() ? o().show : !0) && !
|
|
3356
|
+
const P = "hide" in o() ? o().hide : !1;
|
|
3357
|
+
return ("show" in o() ? o().show : !0) && !P;
|
|
3352
3358
|
}
|
|
3353
3359
|
function d() {
|
|
3354
|
-
var
|
|
3355
|
-
return !((
|
|
3360
|
+
var j, R;
|
|
3361
|
+
return !((j = s == null ? void 0 : s()) != null && j.component) && !t() ? (R = o().children) != null ? R : [] : [];
|
|
3356
3362
|
}
|
|
3357
3363
|
function v() {
|
|
3358
|
-
var
|
|
3364
|
+
var P, j, R, _;
|
|
3359
3365
|
return {
|
|
3360
|
-
blockChildren: (
|
|
3361
|
-
componentRef: (
|
|
3366
|
+
blockChildren: (P = o().children) != null ? P : [],
|
|
3367
|
+
componentRef: (j = s == null ? void 0 : s()) == null ? void 0 : j.component,
|
|
3362
3368
|
componentOptions: {
|
|
3363
|
-
...
|
|
3364
|
-
...
|
|
3365
|
-
...
|
|
3366
|
-
...
|
|
3367
|
-
...
|
|
3369
|
+
...ao(o(), e.context),
|
|
3370
|
+
...No(s(), o()),
|
|
3371
|
+
...Ro(s(), e.context),
|
|
3372
|
+
...Po(s(), e.linkComponent),
|
|
3373
|
+
...bo(
|
|
3368
3374
|
s(),
|
|
3369
3375
|
e.registeredComponents,
|
|
3370
3376
|
e.context.model
|
|
@@ -3379,28 +3385,35 @@ function ht(e) {
|
|
|
3379
3385
|
};
|
|
3380
3386
|
}
|
|
3381
3387
|
return pe(() => {
|
|
3382
|
-
const
|
|
3383
|
-
|
|
3384
|
-
|
|
3388
|
+
const P = o().id, j = o().animations;
|
|
3389
|
+
j && P && xo(
|
|
3390
|
+
j.map((R) => ({
|
|
3385
3391
|
...R,
|
|
3386
|
-
elementId:
|
|
3392
|
+
elementId: P
|
|
3387
3393
|
}))
|
|
3388
3394
|
);
|
|
3389
3395
|
}, []), pe(() => {
|
|
3390
3396
|
n.update = !0;
|
|
3391
|
-
}), /* @__PURE__ */
|
|
3392
|
-
/* @__PURE__ */
|
|
3393
|
-
|
|
3394
|
-
Vr,
|
|
3397
|
+
}), /* @__PURE__ */ O(L, { children: f() ? /* @__PURE__ */ it(L, { children: [
|
|
3398
|
+
/* @__PURE__ */ O(
|
|
3399
|
+
Ho,
|
|
3395
3400
|
{
|
|
3396
|
-
|
|
3397
|
-
|
|
3401
|
+
block: o(),
|
|
3402
|
+
context: e.context,
|
|
3403
|
+
id: e.block.id
|
|
3404
|
+
}
|
|
3405
|
+
),
|
|
3406
|
+
(T = s == null ? void 0 : s()) != null && T.noWrap ? t() ? /* @__PURE__ */ O(L, { children: (H = t()) == null ? void 0 : H.map((P, j) => /* @__PURE__ */ O(
|
|
3407
|
+
Hr,
|
|
3408
|
+
{
|
|
3409
|
+
repeatContext: P.context,
|
|
3410
|
+
block: P.block,
|
|
3398
3411
|
registeredComponents: e.registeredComponents,
|
|
3399
3412
|
linkComponent: e.linkComponent
|
|
3400
3413
|
},
|
|
3401
|
-
|
|
3402
|
-
)) }) : /* @__PURE__ */
|
|
3403
|
-
|
|
3414
|
+
$r(j)
|
|
3415
|
+
)) }) : /* @__PURE__ */ O(
|
|
3416
|
+
Vr,
|
|
3404
3417
|
{
|
|
3405
3418
|
componentRef: v().componentRef,
|
|
3406
3419
|
componentOptions: v().componentOptions,
|
|
@@ -3412,24 +3425,24 @@ function ht(e) {
|
|
|
3412
3425
|
includeBlockProps: v().includeBlockProps,
|
|
3413
3426
|
isInteractive: v().isInteractive
|
|
3414
3427
|
}
|
|
3415
|
-
) : /* @__PURE__ */
|
|
3416
|
-
|
|
3428
|
+
) : /* @__PURE__ */ O(L, { children: t() ? /* @__PURE__ */ O(L, { children: (G = t()) == null ? void 0 : G.map((P, j) => /* @__PURE__ */ O(
|
|
3429
|
+
Hr,
|
|
3417
3430
|
{
|
|
3418
|
-
repeatContext:
|
|
3419
|
-
block:
|
|
3431
|
+
repeatContext: P.context,
|
|
3432
|
+
block: P.block,
|
|
3420
3433
|
registeredComponents: e.registeredComponents,
|
|
3421
3434
|
linkComponent: e.linkComponent
|
|
3422
3435
|
},
|
|
3423
|
-
|
|
3436
|
+
$r(j)
|
|
3424
3437
|
)) }) : /* @__PURE__ */ it(
|
|
3425
|
-
|
|
3438
|
+
Lo,
|
|
3426
3439
|
{
|
|
3427
3440
|
Wrapper: a(),
|
|
3428
3441
|
block: o(),
|
|
3429
3442
|
context: e.context,
|
|
3430
3443
|
children: [
|
|
3431
|
-
/* @__PURE__ */
|
|
3432
|
-
|
|
3444
|
+
/* @__PURE__ */ O(
|
|
3445
|
+
Vr,
|
|
3433
3446
|
{
|
|
3434
3447
|
componentRef: v().componentRef,
|
|
3435
3448
|
componentOptions: v().componentOptions,
|
|
@@ -3442,15 +3455,15 @@ function ht(e) {
|
|
|
3442
3455
|
isInteractive: v().isInteractive
|
|
3443
3456
|
}
|
|
3444
3457
|
),
|
|
3445
|
-
(
|
|
3458
|
+
(I = d()) == null ? void 0 : I.map((P) => /* @__PURE__ */ O(
|
|
3446
3459
|
ht,
|
|
3447
3460
|
{
|
|
3448
|
-
block:
|
|
3461
|
+
block: P,
|
|
3449
3462
|
registeredComponents: e.registeredComponents,
|
|
3450
3463
|
linkComponent: e.linkComponent,
|
|
3451
3464
|
context: e.context
|
|
3452
3465
|
},
|
|
3453
|
-
|
|
3466
|
+
P.id
|
|
3454
3467
|
))
|
|
3455
3468
|
]
|
|
3456
3469
|
}
|
|
@@ -3458,8 +3471,8 @@ function ht(e) {
|
|
|
3458
3471
|
] }) : null });
|
|
3459
3472
|
}
|
|
3460
3473
|
function Xo(e) {
|
|
3461
|
-
const t =
|
|
3462
|
-
|
|
3474
|
+
const t = jn(null);
|
|
3475
|
+
he(() => !1);
|
|
3463
3476
|
function n() {
|
|
3464
3477
|
var a;
|
|
3465
3478
|
return [
|
|
@@ -3476,7 +3489,7 @@ function Xo(e) {
|
|
|
3476
3489
|
}
|
|
3477
3490
|
function o() {
|
|
3478
3491
|
var a, f;
|
|
3479
|
-
|
|
3492
|
+
Ft() && !((a = e.blocks) != null && a.length) && ((f = window.parent) == null || f.postMessage(
|
|
3480
3493
|
{
|
|
3481
3494
|
type: "builder.clickEmptyBlocks",
|
|
3482
3495
|
data: {
|
|
@@ -3489,7 +3502,7 @@ function Xo(e) {
|
|
|
3489
3502
|
}
|
|
3490
3503
|
function s() {
|
|
3491
3504
|
var a, f;
|
|
3492
|
-
|
|
3505
|
+
Ft() && !((a = e.blocks) != null && a.length) && ((f = window.parent) == null || f.postMessage(
|
|
3493
3506
|
{
|
|
3494
3507
|
type: "builder.hoverEmptyBlocks",
|
|
3495
3508
|
data: {
|
|
@@ -3502,17 +3515,17 @@ function Xo(e) {
|
|
|
3502
3515
|
}
|
|
3503
3516
|
return pe(() => {
|
|
3504
3517
|
}, []), pe(() => {
|
|
3505
|
-
}, [e.blocks]), /* @__PURE__ */ it(
|
|
3506
|
-
/* @__PURE__ */
|
|
3518
|
+
}, [e.blocks]), /* @__PURE__ */ it(L, { children: [
|
|
3519
|
+
/* @__PURE__ */ O("style", { children: `.props-blocks-wrapper-b46bf284 {
|
|
3507
3520
|
display: flex;
|
|
3508
3521
|
flex-direction: column;
|
|
3509
3522
|
align-items: stretch;
|
|
3510
3523
|
}` }),
|
|
3511
|
-
/* @__PURE__ */
|
|
3524
|
+
/* @__PURE__ */ O(
|
|
3512
3525
|
e.BlocksWrapper,
|
|
3513
3526
|
{
|
|
3514
3527
|
ref: t,
|
|
3515
|
-
className: n() + " props-blocks-wrapper-
|
|
3528
|
+
className: n() + " props-blocks-wrapper-b46bf284",
|
|
3516
3529
|
"builder-path": r(),
|
|
3517
3530
|
"builder-parent-id": e.parent,
|
|
3518
3531
|
style: e.styleProp,
|
|
@@ -3525,9 +3538,9 @@ function Xo(e) {
|
|
|
3525
3538
|
)
|
|
3526
3539
|
] });
|
|
3527
3540
|
}
|
|
3528
|
-
function
|
|
3541
|
+
function Jo(e) {
|
|
3529
3542
|
var r, o, s;
|
|
3530
|
-
const t =
|
|
3543
|
+
const t = Lt(Xt), n = Lt(bn);
|
|
3531
3544
|
return /* @__PURE__ */ it(
|
|
3532
3545
|
Xo,
|
|
3533
3546
|
{
|
|
@@ -3540,7 +3553,7 @@ function Ho(e) {
|
|
|
3540
3553
|
BlocksWrapper: ((o = e.context) == null ? void 0 : o.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
|
|
3541
3554
|
children: [
|
|
3542
3555
|
e.children,
|
|
3543
|
-
e.blocks ? /* @__PURE__ */
|
|
3556
|
+
e.blocks ? /* @__PURE__ */ O(L, { children: (s = e.blocks) == null ? void 0 : s.map((a) => /* @__PURE__ */ O(
|
|
3544
3557
|
ht,
|
|
3545
3558
|
{
|
|
3546
3559
|
block: a,
|
|
@@ -3554,20 +3567,20 @@ function Ho(e) {
|
|
|
3554
3567
|
}
|
|
3555
3568
|
);
|
|
3556
3569
|
}
|
|
3557
|
-
const
|
|
3570
|
+
const ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3558
3571
|
__proto__: null,
|
|
3559
|
-
default:
|
|
3572
|
+
default: Jo
|
|
3560
3573
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3561
3574
|
export {
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3575
|
+
Jo as Blocks,
|
|
3576
|
+
bn as ComponentsContext,
|
|
3577
|
+
Vo as InlinedStyles,
|
|
3578
|
+
ei as blocks,
|
|
3566
3579
|
ft as evaluate,
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3580
|
+
tn as fastClone,
|
|
3581
|
+
Nn as get,
|
|
3582
|
+
$o as getSizesForBreakpoints,
|
|
3583
|
+
Ao as mapStyleObjToStrIfNeeded,
|
|
3584
|
+
ho as set,
|
|
3585
|
+
Eo as triggerAnimation
|
|
3573
3586
|
};
|