@builder.io/sdk-react 0.7.3 → 0.7.4
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/index.cjs +117 -25
- package/lib/browser/index.mjs +835 -767
- package/lib/edge/index.cjs +121 -29
- package/lib/edge/index.mjs +1112 -1044
- package/lib/node/index.cjs +106 -14
- package/lib/node/index.mjs +492 -424
- package/package.json +8 -1
- package/types/blocks/video/video.d.ts +4 -0
- package/types/components/content/content.types.d.ts +0 -4
- package/types/components/content-variants/helpers.d.ts +3 -3
- package/types/components/content-variants/inlined-fns.d.ts +14 -0
- package/types/constants/sdk-version.d.ts +1 -1
package/lib/edge/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as Z, Fragment as
|
|
3
|
-
import { createContext as cr, useState as
|
|
4
|
-
import { i as
|
|
5
|
-
import { _ as Uo, h as Bo, f as _o, g as
|
|
6
|
-
function
|
|
7
|
-
return /* @__PURE__ */ Z(
|
|
8
|
-
e.link ? /* @__PURE__ */
|
|
2
|
+
import { jsxs as Z, Fragment as P, jsx as p } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as cr, useState as $, useContext as Hn, createElement as ur, useRef as Jt, useEffect as ee } from "react";
|
|
4
|
+
import { i as Ee, j as Ie, k as Wr, l as Fe, m as qt, n as Ht, T as tt, r as Hr, o as dt, p as Kn, a as Kr, c as Gr, b as dr, q as zr, u as Gn, v as zn, w as Xr } from "./server-entry-0aebe4be.mjs";
|
|
5
|
+
import { _ as Uo, h as Bo, f as _o, g as Do, e as Vo, d as Lo, s as $o, t as Wo } from "./server-entry-0aebe4be.mjs";
|
|
6
|
+
function Yr(e) {
|
|
7
|
+
return /* @__PURE__ */ Z(P, { children: [
|
|
8
|
+
e.link ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
9
9
|
"a",
|
|
10
10
|
{
|
|
11
11
|
...e.attributes,
|
|
@@ -14,7 +14,7 @@ function Jr(e) {
|
|
|
14
14
|
role: "button",
|
|
15
15
|
children: e.text
|
|
16
16
|
}
|
|
17
|
-
) }) : /* @__PURE__ */
|
|
17
|
+
) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
18
18
|
"button",
|
|
19
19
|
{
|
|
20
20
|
...e.attributes,
|
|
@@ -23,7 +23,7 @@ function Jr(e) {
|
|
|
23
23
|
children: e.text
|
|
24
24
|
}
|
|
25
25
|
) }),
|
|
26
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ p("style", { children: `.button-5294b10c {
|
|
27
27
|
all: unset;
|
|
28
28
|
}` })
|
|
29
29
|
] });
|
|
@@ -40,7 +40,7 @@ const Zt = cr({
|
|
|
40
40
|
componentInfos: {},
|
|
41
41
|
inheritedStyles: {}
|
|
42
42
|
}), fr = cr({ registeredComponents: {} });
|
|
43
|
-
function
|
|
43
|
+
function Jr(e) {
|
|
44
44
|
var t;
|
|
45
45
|
return {
|
|
46
46
|
...(t = e.component) == null ? void 0 : t.options,
|
|
@@ -64,9 +64,9 @@ const hr = ({
|
|
|
64
64
|
context: t,
|
|
65
65
|
event: r
|
|
66
66
|
}), qr = () => ({
|
|
67
|
-
isEditing:
|
|
68
|
-
isBrowser:
|
|
69
|
-
isServer: !
|
|
67
|
+
isEditing: Ee(),
|
|
68
|
+
isBrowser: Ie(),
|
|
69
|
+
isServer: !Ie(),
|
|
70
70
|
getUserAttributes: () => Wr()
|
|
71
71
|
}), Zr = (e, {
|
|
72
72
|
isExpression: t = !0
|
|
@@ -105,25 +105,25 @@ const pr = (e, t, r) => {
|
|
|
105
105
|
const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
106
106
|
return n.slice(0, -1).reduce((i, a, s) => Object(i[a]) === i[a] ? i[a] : i[a] = Math.abs(Number(n[s + 1])) >> 0 === +n[s + 1] ? [] : {}, e)[n[n.length - 1]] = r, e;
|
|
107
107
|
};
|
|
108
|
-
var
|
|
108
|
+
var B, ti = function(e) {
|
|
109
109
|
function t(o) {
|
|
110
|
-
return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o &&
|
|
110
|
+
return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Lr.test(String.fromCharCode(o));
|
|
111
111
|
}
|
|
112
112
|
function r(o) {
|
|
113
113
|
return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wn.test(String.fromCharCode(o));
|
|
114
114
|
}
|
|
115
115
|
function n(o, l) {
|
|
116
|
-
for (var c =
|
|
117
|
-
ct.lastIndex =
|
|
118
|
-
var
|
|
119
|
-
if (
|
|
120
|
-
++h,
|
|
116
|
+
for (var c = x, h = 1, A = 0; ; ) {
|
|
117
|
+
ct.lastIndex = A;
|
|
118
|
+
var Y = ct.exec(c);
|
|
119
|
+
if (Y && Y.index < o)
|
|
120
|
+
++h, A = Y.index + Y[0].length;
|
|
121
121
|
else
|
|
122
122
|
break;
|
|
123
123
|
}
|
|
124
124
|
throw c = {
|
|
125
125
|
line: h,
|
|
126
|
-
ab: o -
|
|
126
|
+
ab: o - A
|
|
127
127
|
}, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = o, l.X = c, l.o = d, l;
|
|
128
128
|
}
|
|
129
129
|
function i(o) {
|
|
@@ -135,51 +135,51 @@ var $, ti = function(e) {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
function a() {
|
|
138
|
-
this.line =
|
|
138
|
+
this.line = ke, this.ab = d - de;
|
|
139
139
|
}
|
|
140
140
|
function s(o, l) {
|
|
141
|
-
|
|
141
|
+
Ae = d, O.C && (It = new a()), j = o, f(), le = l, Ve = o.m;
|
|
142
142
|
}
|
|
143
143
|
function u() {
|
|
144
|
-
for (var o = d, l =
|
|
145
|
-
++d, c =
|
|
146
|
-
|
|
144
|
+
for (var o = d, l = O.va && O.C && new a(), c = x.charCodeAt(d += 2); d < je && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
145
|
+
++d, c = x.charCodeAt(d);
|
|
146
|
+
O.va && O.va(!1, x.slice(o + 2, d), o, d, l, O.C && new a());
|
|
147
147
|
}
|
|
148
148
|
function f() {
|
|
149
|
-
for (; d <
|
|
150
|
-
var o =
|
|
149
|
+
for (; d < je; ) {
|
|
150
|
+
var o = x.charCodeAt(d);
|
|
151
151
|
if (o === 32)
|
|
152
152
|
++d;
|
|
153
153
|
else if (o === 13)
|
|
154
|
-
++d, o =
|
|
154
|
+
++d, o = x.charCodeAt(d), o === 10 && ++d, O.C && (++ke, de = d);
|
|
155
155
|
else if (o === 10 || o === 8232 || o === 8233)
|
|
156
|
-
++d,
|
|
156
|
+
++d, O.C && (++ke, de = d);
|
|
157
157
|
else if (8 < o && 14 > o)
|
|
158
158
|
++d;
|
|
159
159
|
else if (o === 47)
|
|
160
|
-
if (o =
|
|
160
|
+
if (o = x.charCodeAt(d + 1), o === 42) {
|
|
161
161
|
o = void 0;
|
|
162
|
-
var l =
|
|
163
|
-
if (h === -1 && n(d - 2, "Unterminated comment"), d = h + 2,
|
|
164
|
-
for (ct.lastIndex = c; (o = ct.exec(
|
|
165
|
-
++
|
|
166
|
-
|
|
162
|
+
var l = O.va && O.C && new a(), c = d, h = x.indexOf("*/", d += 2);
|
|
163
|
+
if (h === -1 && n(d - 2, "Unterminated comment"), d = h + 2, O.C)
|
|
164
|
+
for (ct.lastIndex = c; (o = ct.exec(x)) && o.index < d; )
|
|
165
|
+
++ke, de = o.index + o[0].length;
|
|
166
|
+
O.va && O.va(!0, x.slice(c + 2, h), c, d, l, O.C && new a());
|
|
167
167
|
} else if (o === 47)
|
|
168
168
|
u();
|
|
169
169
|
else
|
|
170
170
|
break;
|
|
171
171
|
else if (o === 160)
|
|
172
172
|
++d;
|
|
173
|
-
else if (5760 <= o &&
|
|
173
|
+
else if (5760 <= o && Vr.test(String.fromCharCode(o)))
|
|
174
174
|
++d;
|
|
175
175
|
else
|
|
176
176
|
break;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function g(o) {
|
|
180
180
|
switch (o) {
|
|
181
181
|
case 46:
|
|
182
|
-
o =
|
|
182
|
+
o = x.charCodeAt(d + 1), 48 <= o && 57 >= o ? R(!0) : (++d, s(Fn));
|
|
183
183
|
return;
|
|
184
184
|
case 40:
|
|
185
185
|
return ++d, s(fe);
|
|
@@ -188,7 +188,7 @@ var $, ti = function(e) {
|
|
|
188
188
|
case 59:
|
|
189
189
|
return ++d, s(he);
|
|
190
190
|
case 44:
|
|
191
|
-
return ++d, s(
|
|
191
|
+
return ++d, s(be);
|
|
192
192
|
case 91:
|
|
193
193
|
return ++d, s(Ut);
|
|
194
194
|
case 93:
|
|
@@ -196,14 +196,14 @@ var $, ti = function(e) {
|
|
|
196
196
|
case 123:
|
|
197
197
|
return ++d, s(We);
|
|
198
198
|
case 125:
|
|
199
|
-
return ++d, s(
|
|
199
|
+
return ++d, s(Oe);
|
|
200
200
|
case 58:
|
|
201
201
|
return ++d, s(He);
|
|
202
202
|
case 63:
|
|
203
203
|
return ++d, s(Un);
|
|
204
204
|
case 48:
|
|
205
|
-
if (o =
|
|
206
|
-
d += 2, o =
|
|
205
|
+
if (o = x.charCodeAt(d + 1), o === 120 || o === 88) {
|
|
206
|
+
d += 2, o = W(16), o === null && n(X + 2, "Expected hexadecimal number"), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), s($e, o);
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
209
|
case 49:
|
|
@@ -215,20 +215,20 @@ var $, ti = function(e) {
|
|
|
215
215
|
case 55:
|
|
216
216
|
case 56:
|
|
217
217
|
case 57:
|
|
218
|
-
return
|
|
218
|
+
return R(!1);
|
|
219
219
|
case 34:
|
|
220
220
|
case 39:
|
|
221
221
|
d++;
|
|
222
222
|
for (var l = ""; ; ) {
|
|
223
|
-
d >=
|
|
224
|
-
var c =
|
|
223
|
+
d >= je && n(X, "Unterminated string constant");
|
|
224
|
+
var c = x.charCodeAt(d);
|
|
225
225
|
if (c === o) {
|
|
226
226
|
++d, s(ot, l);
|
|
227
227
|
break;
|
|
228
228
|
}
|
|
229
229
|
if (c === 92) {
|
|
230
|
-
c =
|
|
231
|
-
var h = /^[0-7]+/.exec(
|
|
230
|
+
c = x.charCodeAt(++d);
|
|
231
|
+
var h = /^[0-7]+/.exec(x.slice(d, d + 3));
|
|
232
232
|
for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
|
|
233
233
|
h = h.slice(0, -1);
|
|
234
234
|
if (h === "0" && (h = null), ++d, h)
|
|
@@ -243,13 +243,13 @@ var $, ti = function(e) {
|
|
|
243
243
|
l += "\r";
|
|
244
244
|
break;
|
|
245
245
|
case 120:
|
|
246
|
-
l += String.fromCharCode(
|
|
246
|
+
l += String.fromCharCode(M(2));
|
|
247
247
|
break;
|
|
248
248
|
case 117:
|
|
249
|
-
l += String.fromCharCode(
|
|
249
|
+
l += String.fromCharCode(M(4));
|
|
250
250
|
break;
|
|
251
251
|
case 85:
|
|
252
|
-
l += String.fromCharCode(
|
|
252
|
+
l += String.fromCharCode(M(8));
|
|
253
253
|
break;
|
|
254
254
|
case 116:
|
|
255
255
|
l += " ";
|
|
@@ -267,69 +267,69 @@ var $, ti = function(e) {
|
|
|
267
267
|
l += "\0";
|
|
268
268
|
break;
|
|
269
269
|
case 13:
|
|
270
|
-
|
|
270
|
+
x.charCodeAt(d) === 10 && ++d;
|
|
271
271
|
case 10:
|
|
272
|
-
|
|
272
|
+
O.C && (de = d, ++ke);
|
|
273
273
|
break;
|
|
274
274
|
default:
|
|
275
275
|
l += String.fromCharCode(c);
|
|
276
276
|
}
|
|
277
277
|
} else
|
|
278
|
-
c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || n(
|
|
278
|
+
c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || n(X, "Unterminated string constant"), l += String.fromCharCode(c), ++d;
|
|
279
279
|
}
|
|
280
280
|
return;
|
|
281
281
|
case 47:
|
|
282
|
-
o =
|
|
282
|
+
o = x.charCodeAt(d + 1), Ve ? (++d, _()) : o === 61 ? b(Ce, 2) : b(Bn, 1);
|
|
283
283
|
return;
|
|
284
284
|
case 37:
|
|
285
285
|
case 42:
|
|
286
|
-
|
|
286
|
+
x.charCodeAt(d + 1) === 61 ? b(Ce, 2) : b(Br, 1);
|
|
287
287
|
return;
|
|
288
288
|
case 124:
|
|
289
289
|
case 38:
|
|
290
|
-
l =
|
|
290
|
+
l = x.charCodeAt(d + 1), l === o ? b(o === 124 ? Vn : Ln, 2) : l === 61 ? b(Ce, 2) : b(o === 124 ? Rr : Pr, 1);
|
|
291
291
|
return;
|
|
292
292
|
case 94:
|
|
293
|
-
|
|
293
|
+
x.charCodeAt(d + 1) === 61 ? b(Ce, 2) : b(Or, 1);
|
|
294
294
|
return;
|
|
295
295
|
case 43:
|
|
296
296
|
case 45:
|
|
297
|
-
l =
|
|
297
|
+
l = x.charCodeAt(d + 1), l === o ? l === 45 && x.charCodeAt(d + 2) === 62 && lt.test(x.slice(xe, d)) ? (d += 3, u(), f(), v()) : b(Ar, 2) : l === 61 ? b(Ce, 2) : b(Ur, 1);
|
|
298
298
|
return;
|
|
299
299
|
case 60:
|
|
300
300
|
case 62:
|
|
301
|
-
l =
|
|
301
|
+
l = x.charCodeAt(d + 1), c = 1, l === o ? (c = o === 62 && x.charCodeAt(d + 2) === 62 ? 3 : 2, x.charCodeAt(d + c) === 61 ? b(Ce, c + 1) : b(Fr, c)) : l === 33 && o === 60 && x.charCodeAt(d + 2) === 45 && x.charCodeAt(d + 3) === 45 ? (d += 4, u(), f(), v()) : (l === 61 && (c = x.charCodeAt(d + 2) === 61 ? 3 : 2), b(Mr, c));
|
|
302
302
|
return;
|
|
303
303
|
case 61:
|
|
304
304
|
case 33:
|
|
305
|
-
|
|
305
|
+
x.charCodeAt(d + 1) === 61 ? b(Nr, x.charCodeAt(d + 2) === 61 ? 3 : 2) : b(o === 61 ? _n : Dn, 1);
|
|
306
306
|
return;
|
|
307
307
|
case 126:
|
|
308
|
-
return
|
|
308
|
+
return b(Dn, 1);
|
|
309
309
|
}
|
|
310
310
|
return !1;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
if (o ? d =
|
|
314
|
-
return
|
|
315
|
-
if (d >=
|
|
312
|
+
function v(o) {
|
|
313
|
+
if (o ? d = X + 1 : X = d, O.C && (Et = new a()), o)
|
|
314
|
+
return _();
|
|
315
|
+
if (d >= je)
|
|
316
316
|
return s(At);
|
|
317
|
-
if (o =
|
|
318
|
-
return
|
|
319
|
-
if (
|
|
317
|
+
if (o = x.charCodeAt(d), r(o) || o === 92)
|
|
318
|
+
return G();
|
|
319
|
+
if (g(o) === !1) {
|
|
320
320
|
if (o = String.fromCharCode(o), o === "\\" || Wn.test(o))
|
|
321
|
-
return
|
|
321
|
+
return G();
|
|
322
322
|
n(d, "Unexpected character '" + o + "'");
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
var c =
|
|
325
|
+
function b(o, l) {
|
|
326
|
+
var c = x.slice(d, d + l);
|
|
327
327
|
d += l, s(o, c);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function _() {
|
|
330
330
|
for (var o, l, c = d; ; ) {
|
|
331
|
-
d >=
|
|
332
|
-
var h =
|
|
331
|
+
d >= je && n(c, "Unterminated regexp");
|
|
332
|
+
var h = x.charAt(d);
|
|
333
333
|
if (lt.test(h) && n(c, "Unterminated regexp"), o)
|
|
334
334
|
o = !1;
|
|
335
335
|
else {
|
|
@@ -343,321 +343,321 @@ var $, ti = function(e) {
|
|
|
343
343
|
}
|
|
344
344
|
++d;
|
|
345
345
|
}
|
|
346
|
-
o =
|
|
346
|
+
o = x.slice(c, d), ++d, (l = H()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
|
|
347
347
|
try {
|
|
348
|
-
var
|
|
349
|
-
} catch (
|
|
350
|
-
throw
|
|
348
|
+
var A = new RegExp(o, l);
|
|
349
|
+
} catch (Y) {
|
|
350
|
+
throw Y instanceof SyntaxError && n(c, Y.message), Y;
|
|
351
351
|
}
|
|
352
|
-
s(gn,
|
|
352
|
+
s(gn, A);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
355
|
-
for (var c = d, h = 0,
|
|
356
|
-
var
|
|
357
|
-
if (
|
|
354
|
+
function W(o, l) {
|
|
355
|
+
for (var c = d, h = 0, A = l === void 0 ? 1 / 0 : l, Y = 0; Y < A; ++Y) {
|
|
356
|
+
var ne = x.charCodeAt(d);
|
|
357
|
+
if (ne = 97 <= ne ? ne - 97 + 10 : 65 <= ne ? ne - 65 + 10 : 48 <= ne && 57 >= ne ? ne - 48 : 1 / 0, ne >= o)
|
|
358
358
|
break;
|
|
359
|
-
++d, h = h * o +
|
|
359
|
+
++d, h = h * o + ne;
|
|
360
360
|
}
|
|
361
361
|
return d === c || l !== void 0 && d - c !== l ? null : h;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
var l = d, c = !1, h =
|
|
365
|
-
o ||
|
|
366
|
-
var
|
|
367
|
-
c ?
|
|
363
|
+
function R(o) {
|
|
364
|
+
var l = d, c = !1, h = x.charCodeAt(d) === 48;
|
|
365
|
+
o || W(10) !== null || n(l, "Invalid number"), x.charCodeAt(d) === 46 && (++d, W(10), c = !0), o = x.charCodeAt(d), (o === 69 || o === 101) && (o = x.charCodeAt(++d), o !== 43 && o !== 45 || ++d, W(10) === null && n(l, "Invalid number"), c = !0), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), o = x.slice(l, d);
|
|
366
|
+
var A;
|
|
367
|
+
c ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || oe ? n(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s($e, A);
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
return o =
|
|
369
|
+
function M(o) {
|
|
370
|
+
return o = W(16, o), o === null && n(X, "Bad character escape sequence"), o;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
|
|
372
|
+
function H() {
|
|
373
|
+
Pe = !1;
|
|
374
374
|
for (var o, l = !0, c = d; ; ) {
|
|
375
|
-
var h =
|
|
375
|
+
var h = x.charCodeAt(d);
|
|
376
376
|
if (t(h))
|
|
377
|
-
|
|
377
|
+
Pe && (o += x.charAt(d)), ++d;
|
|
378
378
|
else if (h === 92) {
|
|
379
|
-
|
|
380
|
-
var
|
|
381
|
-
|
|
379
|
+
Pe || (o = x.slice(c, d)), Pe = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = M(4);
|
|
380
|
+
var A = String.fromCharCode(h);
|
|
381
|
+
A || n(d - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(d - 4, "Invalid Unicode escape"), o += A;
|
|
382
382
|
} else
|
|
383
383
|
break;
|
|
384
384
|
l = !1;
|
|
385
385
|
}
|
|
386
|
-
return
|
|
386
|
+
return Pe ? o : x.slice(c, d);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
var o =
|
|
390
|
-
!
|
|
388
|
+
function G() {
|
|
389
|
+
var o = H(), l = Re;
|
|
390
|
+
!Pe && Dr(o) && (l = jr[o]), s(l, o);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
393
|
-
Tt =
|
|
392
|
+
function y() {
|
|
393
|
+
Tt = X, xe = Ae, jt = It, v();
|
|
394
394
|
}
|
|
395
395
|
function K(o) {
|
|
396
|
-
if (oe = o, d =
|
|
396
|
+
if (oe = o, d = X, O.C)
|
|
397
397
|
for (; d < de; )
|
|
398
|
-
de =
|
|
399
|
-
`, de - 2) + 1, --
|
|
400
|
-
f(),
|
|
398
|
+
de = x.lastIndexOf(`
|
|
399
|
+
`, de - 2) + 1, --ke;
|
|
400
|
+
f(), v();
|
|
401
401
|
}
|
|
402
402
|
function ae() {
|
|
403
|
-
this.type = null, this.start =
|
|
403
|
+
this.type = null, this.start = X, this.end = null;
|
|
404
404
|
}
|
|
405
405
|
function se() {
|
|
406
406
|
this.start = Et, this.end = null, Ct && (this.source = Ct);
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function L() {
|
|
409
409
|
var o = new ae();
|
|
410
|
-
return
|
|
410
|
+
return O.C && (o.X = new se()), O.vb && (o.sourceFile = O.vb), O.Xa && (o.j = [X, 0]), o;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function te(o) {
|
|
413
413
|
var l = new ae();
|
|
414
|
-
return l.start = o.start,
|
|
414
|
+
return l.start = o.start, O.C && (l.X = new se(), l.X.start = o.X.start), O.Xa && (l.j = [o.j[0], 0]), l;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
return o.type = l, o.end =
|
|
416
|
+
function E(o, l) {
|
|
417
|
+
return o.type = l, o.end = xe, O.C && (o.X.end = jt), O.Xa && (o.j[1] = xe), o;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function Te(o) {
|
|
420
420
|
return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
return
|
|
422
|
+
function D(o) {
|
|
423
|
+
return j === o ? (y(), !0) : !1;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
return !
|
|
425
|
+
function T() {
|
|
426
|
+
return !O.fc && (j === At || j === Oe || lt.test(x.slice(xe, X)));
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
|
|
428
|
+
function I() {
|
|
429
|
+
D(he) || T() || N();
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
|
|
431
|
+
function C(o) {
|
|
432
|
+
j === o ? y() : N();
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
n(
|
|
434
|
+
function N() {
|
|
435
|
+
n(X, "Unexpected token");
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function V(o) {
|
|
438
438
|
o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), oe && o.type === "Identifier" && st(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
|
|
439
439
|
}
|
|
440
|
-
function
|
|
441
|
-
(
|
|
442
|
-
var o =
|
|
440
|
+
function U() {
|
|
441
|
+
(j === Bn || j === Ce && le === "/=") && v(!0);
|
|
442
|
+
var o = j, l = L();
|
|
443
443
|
switch (o) {
|
|
444
444
|
case Rt:
|
|
445
|
-
case
|
|
446
|
-
|
|
445
|
+
case yn:
|
|
446
|
+
y();
|
|
447
447
|
var c = o === Rt;
|
|
448
|
-
|
|
449
|
-
for (var h = 0; h <
|
|
450
|
-
var
|
|
451
|
-
if ((l.label === null ||
|
|
448
|
+
D(he) || T() ? l.label = null : j !== Re ? N() : (l.label = ue(), I());
|
|
449
|
+
for (var h = 0; h < z.length; ++h) {
|
|
450
|
+
var A = z[h];
|
|
451
|
+
if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
|
|
452
452
|
break;
|
|
453
453
|
}
|
|
454
|
-
return h ===
|
|
454
|
+
return h === z.length && n(l.start, "Unsyntactic " + o.l), E(l, c ? "BreakStatement" : "ContinueStatement");
|
|
455
455
|
case xn:
|
|
456
|
-
return
|
|
456
|
+
return y(), I(), E(l, "DebuggerStatement");
|
|
457
457
|
case Sn:
|
|
458
|
-
return
|
|
458
|
+
return y(), z.push(_t), l.body = U(), z.pop(), C(Ft), l.test = ye(), I(), E(l, "DoWhileStatement");
|
|
459
459
|
case Cn:
|
|
460
|
-
return
|
|
460
|
+
return y(), z.push(_t), C(fe), j === he ? yt(l, null) : j === Mt ? (o = L(), y(), pn(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && D(at) ? hn(l, o) : yt(l, o)) : (o = Q(!1, !0), D(at) ? (V(o), hn(l, o)) : yt(l, o));
|
|
461
461
|
case Pt:
|
|
462
|
-
return
|
|
462
|
+
return y(), wt(l, !0);
|
|
463
463
|
case En:
|
|
464
|
-
return
|
|
464
|
+
return y(), l.test = ye(), l.da = U(), l.alternate = D(wn) ? U() : null, E(l, "IfStatement");
|
|
465
465
|
case In:
|
|
466
|
-
return
|
|
466
|
+
return Le || O.Ib || n(X, "'return' outside of function"), y(), D(he) || T() ? l.K = null : (l.K = Q(), I()), E(l, "ReturnStatement");
|
|
467
467
|
case Nt:
|
|
468
|
-
for (
|
|
469
|
-
|
|
470
|
-
return h &&
|
|
468
|
+
for (y(), l.Qb = ye(), l.tb = [], C(We), z.push($r); j !== Oe; )
|
|
469
|
+
j === Ot || j === bn ? (o = j === Ot, h && E(h, "SwitchCase"), l.tb.push(h = L()), h.da = [], y(), o ? h.test = Q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), C(He)) : (h || N(), h.da.push(U()));
|
|
470
|
+
return h && E(h, "SwitchCase"), y(), z.pop(), E(l, "SwitchStatement");
|
|
471
471
|
case Tn:
|
|
472
|
-
return
|
|
472
|
+
return y(), lt.test(x.slice(xe, X)) && n(xe, "Illegal newline after throw"), l.K = Q(), I(), E(l, "ThrowStatement");
|
|
473
473
|
case jn:
|
|
474
|
-
return
|
|
474
|
+
return y(), l.block = we(), l.Ea = null, j === vn && (o = L(), y(), C(fe), o.Ua = ue(), oe && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), C(ce), o.body = we(), l.Ea = E(o, "CatchClause")), l.fb = D(kn) ? we() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
475
475
|
case Mt:
|
|
476
|
-
return
|
|
476
|
+
return y(), pn(l), I(), E(l, "VariableDeclaration");
|
|
477
477
|
case Ft:
|
|
478
|
-
return
|
|
478
|
+
return y(), l.test = ye(), z.push(_t), l.body = U(), z.pop(), E(l, "WhileStatement");
|
|
479
479
|
case An:
|
|
480
|
-
return oe && n(
|
|
480
|
+
return oe && n(X, "'with' in strict mode"), y(), l.object = ye(), l.body = U(), E(l, "WithStatement");
|
|
481
481
|
case We:
|
|
482
|
-
return
|
|
482
|
+
return we();
|
|
483
483
|
case he:
|
|
484
|
-
return
|
|
484
|
+
return y(), E(l, "EmptyStatement");
|
|
485
485
|
default:
|
|
486
|
-
if (c = le,
|
|
487
|
-
for (h = 0; h <
|
|
488
|
-
|
|
489
|
-
return
|
|
486
|
+
if (c = le, A = Q(), o === Re && A.type === "Identifier" && D(He)) {
|
|
487
|
+
for (h = 0; h < z.length; ++h)
|
|
488
|
+
z[h].name === c && n(A.start, "Label '" + c + "' is already declared");
|
|
489
|
+
return z.push({
|
|
490
490
|
name: c,
|
|
491
|
-
kind:
|
|
492
|
-
}), l.body =
|
|
491
|
+
kind: j.W ? "loop" : j === Nt ? "switch" : null
|
|
492
|
+
}), l.body = U(), z.pop(), l.label = A, E(l, "LabeledStatement");
|
|
493
493
|
}
|
|
494
|
-
return l.la =
|
|
494
|
+
return l.la = A, I(), E(l, "ExpressionStatement");
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
|
|
499
|
-
var o =
|
|
500
|
-
return
|
|
501
|
-
}
|
|
502
|
-
function
|
|
503
|
-
var l =
|
|
504
|
-
for (l.body = [],
|
|
505
|
-
var
|
|
506
|
-
if (l.body.push(
|
|
507
|
-
var
|
|
497
|
+
function ye() {
|
|
498
|
+
C(fe);
|
|
499
|
+
var o = Q();
|
|
500
|
+
return C(ce), o;
|
|
501
|
+
}
|
|
502
|
+
function we(o) {
|
|
503
|
+
var l = L(), c = !0, h = !1;
|
|
504
|
+
for (l.body = [], C(We); !D(Oe); ) {
|
|
505
|
+
var A = U();
|
|
506
|
+
if (l.body.push(A), c && o && Te(A)) {
|
|
507
|
+
var Y = h;
|
|
508
508
|
K(h = !0);
|
|
509
509
|
}
|
|
510
510
|
c = !1;
|
|
511
511
|
}
|
|
512
|
-
return h && !
|
|
512
|
+
return h && !Y && K(!1), E(l, "BlockStatement");
|
|
513
513
|
}
|
|
514
|
-
function
|
|
515
|
-
return o.ua = l,
|
|
514
|
+
function yt(o, l) {
|
|
515
|
+
return o.ua = l, C(he), o.test = j === he ? null : Q(), C(he), o.update = j === ce ? null : Q(), C(ce), o.body = U(), z.pop(), E(o, "ForStatement");
|
|
516
516
|
}
|
|
517
517
|
function hn(o, l) {
|
|
518
|
-
return o.left = l, o.right =
|
|
518
|
+
return o.left = l, o.right = Q(), C(ce), o.body = U(), z.pop(), E(o, "ForInStatement");
|
|
519
519
|
}
|
|
520
520
|
function pn(o, l) {
|
|
521
521
|
for (o.fa = [], o.kind = "var"; ; ) {
|
|
522
|
-
var c =
|
|
523
|
-
if (c.id = ue(), oe && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua =
|
|
522
|
+
var c = L();
|
|
523
|
+
if (c.id = ue(), oe && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = D(_n) ? Q(!0, l) : null, o.fa.push(E(c, "VariableDeclarator")), !D(be))
|
|
524
524
|
break;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function Q(o, l) {
|
|
528
528
|
var c = xt(l);
|
|
529
|
-
if (!o &&
|
|
530
|
-
for (o =
|
|
529
|
+
if (!o && j === be) {
|
|
530
|
+
for (o = te(c), o.xb = [c]; D(be); )
|
|
531
531
|
o.xb.push(xt(l));
|
|
532
|
-
return
|
|
532
|
+
return E(o, "SequenceExpression");
|
|
533
533
|
}
|
|
534
534
|
return c;
|
|
535
535
|
}
|
|
536
536
|
function xt(o) {
|
|
537
537
|
var l = bt(St(), -1, o);
|
|
538
|
-
if (
|
|
539
|
-
var c =
|
|
540
|
-
c.test = l, c.da =
|
|
538
|
+
if (D(Un)) {
|
|
539
|
+
var c = te(l);
|
|
540
|
+
c.test = l, c.da = Q(!0), C(He), c.alternate = Q(!0, o), l = E(c, "ConditionalExpression");
|
|
541
541
|
}
|
|
542
|
-
return
|
|
542
|
+
return j.Cb ? (c = te(l), c.operator = le, c.left = l, y(), c.right = xt(o), V(l), E(c, "AssignmentExpression")) : l;
|
|
543
543
|
}
|
|
544
544
|
function bt(o, l, c) {
|
|
545
|
-
var h =
|
|
546
|
-
if (h !== null && (!c ||
|
|
547
|
-
var
|
|
548
|
-
return
|
|
545
|
+
var h = j.L;
|
|
546
|
+
if (h !== null && (!c || j !== at) && h > l) {
|
|
547
|
+
var A = te(o);
|
|
548
|
+
return A.left = o, A.operator = le, o = j, y(), A.right = bt(St(), h, c), h = E(A, o === Vn || o === Ln ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
|
|
549
549
|
}
|
|
550
550
|
return o;
|
|
551
551
|
}
|
|
552
552
|
function St() {
|
|
553
|
-
if (
|
|
554
|
-
var o =
|
|
555
|
-
return o.operator = le,
|
|
553
|
+
if (j.prefix) {
|
|
554
|
+
var o = L(), l = j.$b;
|
|
555
|
+
return o.operator = le, Ve = o.prefix = !0, y(), o.K = St(), l ? V(o.K) : oe && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), E(o, l ? "UpdateExpression" : "UnaryExpression");
|
|
556
556
|
}
|
|
557
|
-
for (l =
|
|
558
|
-
o =
|
|
557
|
+
for (l = De(it()); j.cc && !T(); )
|
|
558
|
+
o = te(l), o.operator = le, o.prefix = !1, o.K = l, V(l), y(), l = E(o, "UpdateExpression");
|
|
559
559
|
return l;
|
|
560
560
|
}
|
|
561
|
-
function
|
|
562
|
-
if (
|
|
563
|
-
var c =
|
|
564
|
-
return c.object = o, c.Wa = ue(!0), c.bb = !1,
|
|
561
|
+
function De(o, l) {
|
|
562
|
+
if (D(Fn)) {
|
|
563
|
+
var c = te(o);
|
|
564
|
+
return c.object = o, c.Wa = ue(!0), c.bb = !1, De(E(c, "MemberExpression"), l);
|
|
565
565
|
}
|
|
566
|
-
return
|
|
566
|
+
return D(Ut) ? (c = te(o), c.object = o, c.Wa = Q(), c.bb = !0, C(Bt), De(E(c, "MemberExpression"), l)) : !l && D(fe) ? (c = te(o), c.callee = o, c.arguments = kt(ce, !1), De(E(c, "CallExpression"), l)) : o;
|
|
567
567
|
}
|
|
568
568
|
function it() {
|
|
569
|
-
switch (
|
|
569
|
+
switch (j) {
|
|
570
570
|
case On:
|
|
571
|
-
var o =
|
|
572
|
-
return
|
|
573
|
-
case
|
|
571
|
+
var o = L();
|
|
572
|
+
return y(), E(o, "ThisExpression");
|
|
573
|
+
case Re:
|
|
574
574
|
return ue();
|
|
575
|
-
case
|
|
575
|
+
case $e:
|
|
576
576
|
case ot:
|
|
577
577
|
case gn:
|
|
578
|
-
return o =
|
|
578
|
+
return o = L(), o.value = le, o.raw = x.slice(X, Ae), y(), E(o, "Literal");
|
|
579
579
|
case Pn:
|
|
580
580
|
case Nn:
|
|
581
581
|
case Mn:
|
|
582
|
-
return o =
|
|
582
|
+
return o = L(), o.value = j.$a, o.raw = j.l, y(), E(o, "Literal");
|
|
583
583
|
case fe:
|
|
584
584
|
o = Et;
|
|
585
|
-
var l =
|
|
586
|
-
|
|
587
|
-
var c =
|
|
588
|
-
return c.start = l, c.end =
|
|
585
|
+
var l = X;
|
|
586
|
+
y();
|
|
587
|
+
var c = Q();
|
|
588
|
+
return c.start = l, c.end = Ae, O.C && (c.X.start = o, c.X.end = It), O.Xa && (c.j = [l, Ae]), C(ce), c;
|
|
589
589
|
case Ut:
|
|
590
|
-
return o =
|
|
590
|
+
return o = L(), y(), o.elements = kt(Bt, !0, !0), E(o, "ArrayExpression");
|
|
591
591
|
case We:
|
|
592
|
-
for (o =
|
|
592
|
+
for (o = L(), l = !0, c = !1, o.h = [], y(); !D(Oe); ) {
|
|
593
593
|
if (l)
|
|
594
594
|
l = !1;
|
|
595
|
-
else if (
|
|
595
|
+
else if (C(be), O.sb && D(Oe))
|
|
596
596
|
break;
|
|
597
597
|
var h = {
|
|
598
|
-
key:
|
|
599
|
-
},
|
|
600
|
-
if (
|
|
601
|
-
h.value =
|
|
602
|
-
var
|
|
598
|
+
key: j === $e || j === ot ? it() : ue(!0)
|
|
599
|
+
}, A = !1;
|
|
600
|
+
if (D(He)) {
|
|
601
|
+
h.value = Q(!0);
|
|
602
|
+
var Y = h.kind = "init";
|
|
603
603
|
} else
|
|
604
|
-
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ?
|
|
604
|
+
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? N() : (A = c = !0, Y = h.kind = h.key.name, h.key = j === $e || j === ot ? it() : ue(!0), j !== fe && N(), h.value = wt(L(), !1));
|
|
605
605
|
if (h.key.type === "Identifier" && (oe || c))
|
|
606
|
-
for (var
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
609
|
-
var
|
|
610
|
-
|
|
606
|
+
for (var ne = 0; ne < o.h.length; ++ne) {
|
|
607
|
+
var Ne = o.h[ne];
|
|
608
|
+
if (Ne.key.name === h.key.name) {
|
|
609
|
+
var Dt = Y === Ne.kind || A && Ne.kind === "init" || Y === "init" && (Ne.kind === "get" || Ne.kind === "set");
|
|
610
|
+
Dt && !oe && Y === "init" && Ne.kind === "init" && (Dt = !1), Dt && n(h.key.start, "Redefinition of property");
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
o.h.push(h);
|
|
614
614
|
}
|
|
615
|
-
return
|
|
615
|
+
return E(o, "ObjectExpression");
|
|
616
616
|
case Pt:
|
|
617
|
-
return o =
|
|
617
|
+
return o = L(), y(), wt(o, !1);
|
|
618
618
|
case Rn:
|
|
619
|
-
return o =
|
|
619
|
+
return o = L(), y(), o.callee = De(it(), !0), o.arguments = D(fe) ? kt(ce, !1) : Tr, E(o, "NewExpression");
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
N();
|
|
622
622
|
}
|
|
623
623
|
function wt(o, l) {
|
|
624
|
-
|
|
624
|
+
j === Re ? o.id = ue() : l ? N() : o.id = null, o.oa = [];
|
|
625
625
|
var c = !0;
|
|
626
|
-
for (
|
|
627
|
-
c ? c = !1 :
|
|
628
|
-
c =
|
|
629
|
-
var h =
|
|
630
|
-
if (
|
|
626
|
+
for (C(fe); !D(ce); )
|
|
627
|
+
c ? c = !1 : C(be), o.oa.push(ue());
|
|
628
|
+
c = Le;
|
|
629
|
+
var h = z;
|
|
630
|
+
if (Le = !0, z = [], o.body = we(!0), Le = c, z = h, oe || o.body.body.length && Te(o.body.body[0])) {
|
|
631
631
|
for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
|
|
632
|
-
if (h = 0 > c ? o.id : o.oa[c], (
|
|
633
|
-
for (var
|
|
634
|
-
h.name === o.oa[
|
|
632
|
+
if (h = 0 > c ? o.id : o.oa[c], ($n(h.name) || st(h.name)) && n(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
|
|
633
|
+
for (var A = 0; A < c; ++A)
|
|
634
|
+
h.name === o.oa[A].name && n(h.start, "Argument name clash in strict mode");
|
|
635
635
|
}
|
|
636
|
-
return
|
|
636
|
+
return E(o, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
637
637
|
}
|
|
638
638
|
function kt(o, l, c) {
|
|
639
|
-
for (var h = [],
|
|
640
|
-
if (
|
|
641
|
-
|
|
642
|
-
else if (
|
|
639
|
+
for (var h = [], A = !0; !D(o); ) {
|
|
640
|
+
if (A)
|
|
641
|
+
A = !1;
|
|
642
|
+
else if (C(be), l && O.sb && D(o))
|
|
643
643
|
break;
|
|
644
|
-
h.push(c &&
|
|
644
|
+
h.push(c && j === be ? null : Q(!0));
|
|
645
645
|
}
|
|
646
646
|
return h;
|
|
647
647
|
}
|
|
648
648
|
function ue(o) {
|
|
649
|
-
var l =
|
|
650
|
-
return o &&
|
|
649
|
+
var l = L();
|
|
650
|
+
return o && O.yb === "everywhere" && (o = !1), j === Re ? (!o && (O.yb && _r(le) || oe && $n(le)) && x.slice(X, Ae).indexOf("\\") === -1 && n(X, "The keyword '" + le + "' is reserved"), l.name = le) : o && j.l ? l.name = j.l : N(), Ve = !1, y(), E(l, "Identifier");
|
|
651
651
|
}
|
|
652
652
|
e.version = "0.5.0";
|
|
653
|
-
var
|
|
653
|
+
var O, x = "", je, Ct;
|
|
654
654
|
e.parse = function(o, l) {
|
|
655
|
-
|
|
655
|
+
x = String(o), je = x.length, O = l || {};
|
|
656
656
|
for (var c in mn)
|
|
657
|
-
Object.prototype.hasOwnProperty.call(
|
|
658
|
-
for (Ct =
|
|
659
|
-
c =
|
|
660
|
-
return
|
|
657
|
+
Object.prototype.hasOwnProperty.call(O, c) || (O[c] = mn[c]);
|
|
658
|
+
for (Ct = O.sourceFile, ke = 1, d = de = 0, Ve = !0, f(), c = O.dc, Tt = xe = d, O.C && (jt = new a()), Le = oe = !1, z = [], v(), o = c || L(), l = !0, c || (o.body = []); j !== At; )
|
|
659
|
+
c = U(), o.body.push(c), l && Te(c) && K(!0), l = !1;
|
|
660
|
+
return E(o, "Program");
|
|
661
661
|
};
|
|
662
662
|
var mn = {
|
|
663
663
|
fc: !1,
|
|
@@ -670,13 +670,13 @@ var $, ti = function(e) {
|
|
|
670
670
|
dc: null,
|
|
671
671
|
sourceFile: null,
|
|
672
672
|
vb: null
|
|
673
|
-
}, d = 0,
|
|
673
|
+
}, d = 0, X = 0, Ae = 0, Et, It, j, le, Ve, ke, de, Tt = 0, xe = 0, jt, Le, z, oe, Tr = [], $e = {
|
|
674
674
|
type: "num"
|
|
675
675
|
}, gn = {
|
|
676
676
|
type: "regexp"
|
|
677
677
|
}, ot = {
|
|
678
678
|
type: "string"
|
|
679
|
-
},
|
|
679
|
+
}, Re = {
|
|
680
680
|
type: "name"
|
|
681
681
|
}, At = {
|
|
682
682
|
type: "eof"
|
|
@@ -685,9 +685,9 @@ var $, ti = function(e) {
|
|
|
685
685
|
}, Ot = {
|
|
686
686
|
l: "case",
|
|
687
687
|
m: !0
|
|
688
|
-
}, yn = {
|
|
689
|
-
l: "catch"
|
|
690
688
|
}, vn = {
|
|
689
|
+
l: "catch"
|
|
690
|
+
}, yn = {
|
|
691
691
|
l: "continue"
|
|
692
692
|
}, xn = {
|
|
693
693
|
l: "debugger"
|
|
@@ -746,8 +746,8 @@ var $, ti = function(e) {
|
|
|
746
746
|
}, jr = {
|
|
747
747
|
break: Rt,
|
|
748
748
|
case: Ot,
|
|
749
|
-
catch:
|
|
750
|
-
continue:
|
|
749
|
+
catch: vn,
|
|
750
|
+
continue: yn,
|
|
751
751
|
debugger: xn,
|
|
752
752
|
default: bn,
|
|
753
753
|
do: Sn,
|
|
@@ -797,14 +797,14 @@ var $, ti = function(e) {
|
|
|
797
797
|
}, We = {
|
|
798
798
|
type: "{",
|
|
799
799
|
m: !0
|
|
800
|
-
},
|
|
800
|
+
}, Oe = {
|
|
801
801
|
type: "}"
|
|
802
802
|
}, fe = {
|
|
803
803
|
type: "(",
|
|
804
804
|
m: !0
|
|
805
805
|
}, ce = {
|
|
806
806
|
type: ")"
|
|
807
|
-
},
|
|
807
|
+
}, be = {
|
|
808
808
|
type: ",",
|
|
809
809
|
m: !0
|
|
810
810
|
}, he = {
|
|
@@ -824,20 +824,20 @@ var $, ti = function(e) {
|
|
|
824
824
|
}, _n = {
|
|
825
825
|
Cb: !0,
|
|
826
826
|
m: !0
|
|
827
|
-
},
|
|
827
|
+
}, Ce = {
|
|
828
828
|
Cb: !0,
|
|
829
829
|
m: !0
|
|
830
830
|
}, Ar = {
|
|
831
831
|
cc: !0,
|
|
832
832
|
prefix: !0,
|
|
833
833
|
$b: !0
|
|
834
|
-
},
|
|
834
|
+
}, Dn = {
|
|
835
835
|
prefix: !0,
|
|
836
836
|
m: !0
|
|
837
|
-
},
|
|
837
|
+
}, Vn = {
|
|
838
838
|
L: 1,
|
|
839
839
|
m: !0
|
|
840
|
-
},
|
|
840
|
+
}, Ln = {
|
|
841
841
|
L: 2,
|
|
842
842
|
m: !0
|
|
843
843
|
}, Rr = {
|
|
@@ -865,15 +865,15 @@ var $, ti = function(e) {
|
|
|
865
865
|
}, Br = {
|
|
866
866
|
L: 10,
|
|
867
867
|
m: !0
|
|
868
|
-
}, _r = i("class enum extends super const export import"),
|
|
868
|
+
}, _r = i("class enum extends super const export import"), $n = i("implements interface let package private protected public static yield"), st = i("eval arguments"), Dr = i("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"), Vr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Wn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Lr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, Pe, _t = {
|
|
869
869
|
kind: "loop"
|
|
870
|
-
},
|
|
870
|
+
}, $r = {
|
|
871
871
|
kind: "switch"
|
|
872
872
|
};
|
|
873
873
|
}, Kt = Kt = typeof globalThis > "u" ? void 0 : globalThis;
|
|
874
874
|
ti(Kt.j || (Kt.j = {}));
|
|
875
875
|
function m(e, t) {
|
|
876
|
-
typeof e == "string" && (e =
|
|
876
|
+
typeof e == "string" && (e = Ue(e, "code"));
|
|
877
877
|
var r = e.constructor;
|
|
878
878
|
this.ya = function() {
|
|
879
879
|
return new r({
|
|
@@ -887,8 +887,8 @@ function m(e, t) {
|
|
|
887
887
|
var a, s;
|
|
888
888
|
for (s in this)
|
|
889
889
|
typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
|
|
890
|
-
this.N = zt(this, this.ra, null), this.Na = this.N.object, this.ra =
|
|
891
|
-
`), "polyfills"), this.ba = void 0, pt(this.ra), a = new
|
|
890
|
+
this.N = zt(this, this.ra, null), this.Na = this.N.object, this.ra = Ue(this.ba.join(`
|
|
891
|
+
`), "polyfills"), this.ba = void 0, pt(this.ra), a = new w(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = n, a = new w(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
|
|
892
892
|
}
|
|
893
893
|
var Xn = {
|
|
894
894
|
C: !0,
|
|
@@ -897,11 +897,11 @@ var Xn = {
|
|
|
897
897
|
configurable: !0,
|
|
898
898
|
enumerable: !0,
|
|
899
899
|
writable: !1
|
|
900
|
-
},
|
|
900
|
+
}, S = {
|
|
901
901
|
configurable: !0,
|
|
902
902
|
enumerable: !1,
|
|
903
903
|
writable: !0
|
|
904
|
-
},
|
|
904
|
+
}, ie = {
|
|
905
905
|
configurable: !0,
|
|
906
906
|
enumerable: !1,
|
|
907
907
|
writable: !1
|
|
@@ -909,19 +909,19 @@ var Xn = {
|
|
|
909
909
|
configurable: !1,
|
|
910
910
|
enumerable: !1,
|
|
911
911
|
writable: !1
|
|
912
|
-
},
|
|
912
|
+
}, Yn = {
|
|
913
913
|
configurable: !1,
|
|
914
914
|
enumerable: !0,
|
|
915
915
|
writable: !0
|
|
916
916
|
}, mr = {
|
|
917
917
|
STEP_ERROR: !0
|
|
918
|
-
},
|
|
918
|
+
}, _e = {
|
|
919
919
|
SCOPE_REFERENCE: !0
|
|
920
920
|
}, Ze = {
|
|
921
921
|
VALUE_IN_DESCRIPTOR: !0
|
|
922
|
-
},
|
|
922
|
+
}, Me = {
|
|
923
923
|
REGEXP_TIMEOUT: !0
|
|
924
|
-
},
|
|
924
|
+
}, Jn = [], me = null, Je = null, Se = typeof globalThis > "u" ? void 0 : globalThis, ni = ["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();", "};"];
|
|
925
925
|
function en(e) {
|
|
926
926
|
var t = e >>> 0;
|
|
927
927
|
return t === Number(e) ? t : NaN;
|
|
@@ -941,26 +941,26 @@ function pt(e, t, r) {
|
|
|
941
941
|
m.prototype.REGEXP_MODE = 2;
|
|
942
942
|
m.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
|
|
943
943
|
m.prototype.POLYFILL_TIMEOUT = 1e3;
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
function
|
|
944
|
+
B = m.prototype;
|
|
945
|
+
B.P = !1;
|
|
946
|
+
B.Ka = !1;
|
|
947
|
+
B.Kb = 0;
|
|
948
|
+
B.ic = 0;
|
|
949
|
+
function Ue(e, t) {
|
|
950
950
|
var r = {}, n;
|
|
951
951
|
for (n in Xn)
|
|
952
952
|
r[n] = Xn[n];
|
|
953
|
-
return r.sourceFile = t,
|
|
953
|
+
return r.sourceFile = t, Se.j.parse(e, r);
|
|
954
954
|
}
|
|
955
|
-
|
|
955
|
+
B.Jb = function(e) {
|
|
956
956
|
var t = this.o[0];
|
|
957
957
|
if (!t || t.node.type !== "Program")
|
|
958
958
|
throw Error("Expecting original AST to start with a Program node");
|
|
959
|
-
if (typeof e == "string" && (e =
|
|
959
|
+
if (typeof e == "string" && (e = Ue(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
|
|
960
960
|
throw Error("Expecting new AST to start with a Program node");
|
|
961
961
|
Qe(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
962
962
|
};
|
|
963
|
-
|
|
963
|
+
B.lb = function() {
|
|
964
964
|
var e = this.o, t;
|
|
965
965
|
do {
|
|
966
966
|
var r = e[e.length - 1];
|
|
@@ -972,23 +972,23 @@ $.lb = function() {
|
|
|
972
972
|
if (r = this.ca[0], !r || r.time > Date.now())
|
|
973
973
|
r = null;
|
|
974
974
|
else {
|
|
975
|
-
this.ca.shift(), 0 <= r.interval &&
|
|
976
|
-
var n = new
|
|
975
|
+
this.ca.shift(), 0 <= r.interval && yr(this, r, r.interval);
|
|
976
|
+
var n = new w(r.node, r.scope);
|
|
977
977
|
r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
|
|
978
978
|
}
|
|
979
979
|
if (!r)
|
|
980
980
|
break;
|
|
981
981
|
}
|
|
982
982
|
n = r.node;
|
|
983
|
-
var i =
|
|
984
|
-
|
|
983
|
+
var i = Je;
|
|
984
|
+
Je = this;
|
|
985
985
|
try {
|
|
986
986
|
var a = this.rb[n.type](e, r, n);
|
|
987
987
|
} catch (s) {
|
|
988
988
|
if (s !== mr)
|
|
989
989
|
throw this.value !== s && (this.value = void 0), s;
|
|
990
990
|
} finally {
|
|
991
|
-
|
|
991
|
+
Je = i;
|
|
992
992
|
}
|
|
993
993
|
if (a && e.push(a), this.P)
|
|
994
994
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
@@ -998,38 +998,38 @@ $.lb = function() {
|
|
|
998
998
|
} while (!n.end && t > Date.now());
|
|
999
999
|
return !0;
|
|
1000
1000
|
};
|
|
1001
|
-
|
|
1001
|
+
B.Eb = function() {
|
|
1002
1002
|
for (; !this.za && this.lb(); )
|
|
1003
1003
|
;
|
|
1004
1004
|
return this.za;
|
|
1005
1005
|
};
|
|
1006
1006
|
function ri(e, t) {
|
|
1007
|
-
e.g(t, "NaN", NaN, Ke), e.g(t, "Infinity", 1 / 0, Ke), e.g(t, "undefined", void 0, Ke), e.g(t, "window", t, Qt), e.g(t, "this", t, Ke), e.g(t, "self", t), e.M = new F(null), e.Z = new F(e.M), ii(e, t), oi(e, t), t.xa = e.M, e.g(t, "constructor", e.v,
|
|
1007
|
+
e.g(t, "NaN", NaN, Ke), e.g(t, "Infinity", 1 / 0, Ke), e.g(t, "undefined", void 0, Ke), e.g(t, "window", t, Qt), e.g(t, "this", t, Ke), e.g(t, "self", t), e.M = new F(null), e.Z = new F(e.M), ii(e, t), oi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), ai(e, t), si(e, t), li(e, t), ci(e, t), ui(e, t), di(e, t), fi(e, t), hi(e, t), pi(e, t);
|
|
1008
1008
|
var r = e.i(function() {
|
|
1009
1009
|
throw EvalError("Can't happen");
|
|
1010
1010
|
}, !1);
|
|
1011
|
-
r.eval = !0, e.g(t, "eval", r,
|
|
1011
|
+
r.eval = !0, e.g(t, "eval", r, S), e.g(t, "parseInt", e.i(parseInt, !1), S), e.g(t, "parseFloat", e.i(parseFloat, !1), S), e.g(t, "isNaN", e.i(isNaN, !1), S), e.g(t, "isFinite", e.i(isFinite, !1), S);
|
|
1012
1012
|
for (var n = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], i = 0; i < n.length; i++)
|
|
1013
1013
|
r = function(a) {
|
|
1014
1014
|
return function(s) {
|
|
1015
1015
|
try {
|
|
1016
1016
|
return a(s);
|
|
1017
1017
|
} catch (u) {
|
|
1018
|
-
|
|
1018
|
+
k(e, e.Gb, u.message);
|
|
1019
1019
|
}
|
|
1020
1020
|
};
|
|
1021
|
-
}(n[i][0]), e.g(t, n[i][1], e.i(r, !1),
|
|
1021
|
+
}(n[i][0]), e.g(t, n[i][1], e.i(r, !1), S);
|
|
1022
1022
|
r = function(a) {
|
|
1023
1023
|
return qn(e, !1, arguments);
|
|
1024
|
-
}, e.g(t, "setTimeout", e.i(r, !1),
|
|
1024
|
+
}, e.g(t, "setTimeout", e.i(r, !1), S), r = function(a) {
|
|
1025
1025
|
return qn(e, !0, arguments);
|
|
1026
|
-
}, e.g(t, "setInterval", e.i(r, !1),
|
|
1026
|
+
}, e.g(t, "setInterval", e.i(r, !1), S), r = function(a) {
|
|
1027
1027
|
Zn(e, a);
|
|
1028
|
-
}, e.g(t, "clearTimeout", e.i(r, !1),
|
|
1028
|
+
}, e.g(t, "clearTimeout", e.i(r, !1), S), r = function(a) {
|
|
1029
1029
|
Zn(e, a);
|
|
1030
|
-
}, e.g(t, "clearInterval", e.i(r, !1),
|
|
1030
|
+
}, e.g(t, "clearInterval", e.i(r, !1), S), 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);
|
|
1031
1031
|
}
|
|
1032
|
-
|
|
1032
|
+
B.Wb = 0;
|
|
1033
1033
|
function ii(e, t) {
|
|
1034
1034
|
var r = /^[A-Za-z_$][\w$]*$/, n = function(i) {
|
|
1035
1035
|
var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
@@ -1037,21 +1037,21 @@ function ii(e, t) {
|
|
|
1037
1037
|
s = s.split(/\s*,\s*/);
|
|
1038
1038
|
for (var u = 0; u < s.length; u++) {
|
|
1039
1039
|
var f = s[u];
|
|
1040
|
-
r.test(f) ||
|
|
1040
|
+
r.test(f) || k(e, e.T, "Invalid function argument: " + f);
|
|
1041
1041
|
}
|
|
1042
1042
|
s = s.join(", ");
|
|
1043
1043
|
}
|
|
1044
1044
|
try {
|
|
1045
|
-
var
|
|
1046
|
-
} catch (
|
|
1047
|
-
|
|
1045
|
+
var g = Ue("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
|
|
1046
|
+
} catch (v) {
|
|
1047
|
+
k(e, e.T, "Invalid code: " + v.message);
|
|
1048
1048
|
}
|
|
1049
|
-
return
|
|
1049
|
+
return g.body.length !== 1 && k(e, e.T, "Invalid code in function body"), rn(e, g.body[0].la, e.N, "anonymous");
|
|
1050
1050
|
};
|
|
1051
|
-
e.O = e.i(n, !0), e.g(t, "Function", e.O,
|
|
1052
|
-
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0,
|
|
1051
|
+
e.O = e.i(n, !0), e.g(t, "Function", e.O, S), e.g(e.O, "prototype", e.Z, S), e.g(e.Z, "constructor", e.O, S), e.Z.Ta = function() {
|
|
1052
|
+
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ie), e.Z.H = "Function", n = function(i, a) {
|
|
1053
1053
|
var s = e.o[e.o.length - 1];
|
|
1054
|
-
s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = gr(e, a) :
|
|
1054
|
+
s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = gr(e, a) : k(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1055
1055
|
}, J(e, e.O, "apply", n), n = function(i) {
|
|
1056
1056
|
var a = e.o[e.o.length - 1];
|
|
1057
1057
|
a.U = this, a.B = i, a.F = [];
|
|
@@ -1060,43 +1060,43 @@ function ii(e, t) {
|
|
|
1060
1060
|
a.eb = !1;
|
|
1061
1061
|
}, J(e, e.O, "call", n), 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;", "}", "});", ""), n = function() {
|
|
1062
1062
|
return String(this);
|
|
1063
|
-
}, J(e, e.O, "toString", n), e.g(e.O, "toString", e.i(n, !1),
|
|
1063
|
+
}, J(e, e.O, "toString", n), e.g(e.O, "toString", e.i(n, !1), S), n = function() {
|
|
1064
1064
|
return this.valueOf();
|
|
1065
|
-
}, J(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1),
|
|
1065
|
+
}, J(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1), S);
|
|
1066
1066
|
}
|
|
1067
1067
|
function oi(e, t) {
|
|
1068
1068
|
function r(i) {
|
|
1069
|
-
i != null ||
|
|
1069
|
+
i != null || k(e, e.j, "Cannot convert '" + i + "' to object");
|
|
1070
1070
|
}
|
|
1071
1071
|
var n = function(i) {
|
|
1072
1072
|
if (i == null)
|
|
1073
|
-
return
|
|
1073
|
+
return ve(e) ? this : e.s(e.M);
|
|
1074
1074
|
if (!(i instanceof F)) {
|
|
1075
1075
|
var a = e.s(ge(e, i));
|
|
1076
1076
|
return a.data = i, a;
|
|
1077
1077
|
}
|
|
1078
1078
|
return i;
|
|
1079
1079
|
};
|
|
1080
|
-
e.v = e.i(n, !0), e.g(e.v, "prototype", e.M,
|
|
1080
|
+
e.v = e.i(n, !0), e.g(e.v, "prototype", e.M, S), e.g(e.M, "constructor", e.v, S), e.g(t, "Object", e.v, S), n = function(i) {
|
|
1081
1081
|
return r(i), pe(e, Object.getOwnPropertyNames(i instanceof F ? i.h : i));
|
|
1082
|
-
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1),
|
|
1082
|
+
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1), S), n = function(i) {
|
|
1083
1083
|
return r(i), i instanceof F && (i = i.h), pe(e, Object.keys(i));
|
|
1084
|
-
}, e.g(e.v, "keys", e.i(n, !1),
|
|
1085
|
-
return i === null ? e.s(null) : (i instanceof F ||
|
|
1086
|
-
}, e.g(e.v, "create", e.i(n, !1),
|
|
1087
|
-
return a = String(a), i instanceof F ||
|
|
1088
|
-
}, e.g(e.v, "defineProperty", e.i(n, !1),
|
|
1089
|
-
if (i instanceof F ||
|
|
1084
|
+
}, e.g(e.v, "keys", e.i(n, !1), S), n = function(i) {
|
|
1085
|
+
return i === null ? e.s(null) : (i instanceof F || k(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
|
|
1086
|
+
}, e.g(e.v, "create", e.i(n, !1), S), 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;", "};", "})();", ""), n = function(i, a, s) {
|
|
1087
|
+
return a = String(a), i instanceof F || k(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof F || k(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || k(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, Ze, s.h), i;
|
|
1088
|
+
}, e.g(e.v, "defineProperty", e.i(n, !1), S), 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;", "}", "});", ""), n = function(i, a) {
|
|
1089
|
+
if (i instanceof F || k(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
|
|
1090
1090
|
var s = Object.getOwnPropertyDescriptor(i.h, a), u = i.V[a];
|
|
1091
1091
|
return i = i.Y[a], a = e.s(e.M), u || i ? (e.g(a, "get", u), e.g(a, "set", i)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
|
|
1092
1092
|
}
|
|
1093
|
-
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(n, !1),
|
|
1093
|
+
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(n, !1), S), n = function(i) {
|
|
1094
1094
|
return r(i), ge(e, i);
|
|
1095
|
-
}, e.g(e.v, "getPrototypeOf", e.i(n, !1),
|
|
1095
|
+
}, e.g(e.v, "getPrototypeOf", e.i(n, !1), S), n = function(i) {
|
|
1096
1096
|
return !!i && !i.preventExtensions;
|
|
1097
|
-
}, e.g(e.v, "isExtensible", e.i(n, !1),
|
|
1097
|
+
}, e.g(e.v, "isExtensible", e.i(n, !1), S), n = function(i) {
|
|
1098
1098
|
return i instanceof F && (i.preventExtensions = !0), i;
|
|
1099
|
-
}, e.g(e.v, "preventExtensions", e.i(n, !1),
|
|
1099
|
+
}, e.g(e.v, "preventExtensions", e.i(n, !1), S), J(e, e.v, "toString", F.prototype.toString), J(e, e.v, "toLocaleString", F.prototype.toString), J(e, e.v, "valueOf", F.prototype.valueOf), n = function(i) {
|
|
1100
1100
|
return r(this), this instanceof F ? String(i) in this.h : this.hasOwnProperty(i);
|
|
1101
1101
|
}, J(e, e.v, "hasOwnProperty", n), n = function(i) {
|
|
1102
1102
|
return r(this), this instanceof F ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
|
|
@@ -1111,9 +1111,9 @@ function oi(e, t) {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
function ai(e, t) {
|
|
1113
1113
|
var r = function(n) {
|
|
1114
|
-
var i =
|
|
1114
|
+
var i = ve(e) ? this : Be(e), a = arguments[0];
|
|
1115
1115
|
if (arguments.length === 1 && typeof a == "number")
|
|
1116
|
-
isNaN(en(a)) &&
|
|
1116
|
+
isNaN(en(a)) && k(e, e.ob, "Invalid array length: " + a), i.h.length = a;
|
|
1117
1117
|
else {
|
|
1118
1118
|
for (a = 0; a < arguments.length; a++)
|
|
1119
1119
|
i.h[a] = arguments[a];
|
|
@@ -1121,9 +1121,9 @@ function ai(e, t) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
return i;
|
|
1123
1123
|
};
|
|
1124
|
-
e.qa = e.i(r, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa,
|
|
1124
|
+
e.qa = e.i(r, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, S), r = function(n) {
|
|
1125
1125
|
return n && n.H === "Array";
|
|
1126
|
-
}, e.g(e.qa, "isArray", e.i(r, !1),
|
|
1126
|
+
}, e.g(e.qa, "isArray", e.i(r, !1), S), e.g(e.La, "length", 0, {
|
|
1127
1127
|
configurable: !1,
|
|
1128
1128
|
enumerable: !1,
|
|
1129
1129
|
writable: !0
|
|
@@ -1131,43 +1131,43 @@ function ai(e, t) {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
function si(e, t) {
|
|
1133
1133
|
var r = function(n) {
|
|
1134
|
-
return n = arguments.length ?
|
|
1134
|
+
return n = arguments.length ? Se.String(n) : "", ve(e) ? (this.data = n, this) : n;
|
|
1135
1135
|
};
|
|
1136
|
-
for (e.J = e.i(r, !0), e.g(t, "String", e.J,
|
|
1136
|
+
for (e.J = e.i(r, !0), e.g(t, "String", e.J, S), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), S), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), r = 0; r < t.length; r++)
|
|
1137
1137
|
J(e, e.J, t[r], String.prototype[t[r]]);
|
|
1138
1138
|
r = function(n, i, a) {
|
|
1139
1139
|
i = e.R(i), a = e.R(a);
|
|
1140
1140
|
try {
|
|
1141
1141
|
return String(this).localeCompare(n, i, a);
|
|
1142
1142
|
} catch (s) {
|
|
1143
|
-
|
|
1143
|
+
k(e, e.D, "localeCompare: " + s.message);
|
|
1144
1144
|
}
|
|
1145
1145
|
}, J(e, e.J, "localeCompare", r), r = function(n, i, a) {
|
|
1146
1146
|
var s = String(this);
|
|
1147
|
-
if (i = i ? Number(i) : void 0,
|
|
1147
|
+
if (i = i ? Number(i) : void 0, q(e, n, e.I) && (n = n.data, ze(e, n, a), e.REGEXP_MODE === 2)) {
|
|
1148
1148
|
if (me)
|
|
1149
1149
|
n = Ge(e, "string.split(separator, limit)", {
|
|
1150
1150
|
string: s,
|
|
1151
1151
|
separator: n,
|
|
1152
1152
|
limit: i
|
|
1153
|
-
}, n, a), n !==
|
|
1153
|
+
}, n, a), n !== Me && a(pe(e, n));
|
|
1154
1154
|
else {
|
|
1155
1155
|
var u = e.ha(), f = Xe(e, n, u, a);
|
|
1156
|
-
u.onmessage = function(
|
|
1157
|
-
clearTimeout(f), a(pe(e,
|
|
1156
|
+
u.onmessage = function(g) {
|
|
1157
|
+
clearTimeout(f), a(pe(e, g.data));
|
|
1158
1158
|
}, u.postMessage(["split", s, n, i]);
|
|
1159
1159
|
}
|
|
1160
1160
|
return;
|
|
1161
1161
|
}
|
|
1162
1162
|
n = s.split(n, i), a(pe(e, n));
|
|
1163
|
-
},
|
|
1163
|
+
}, Ye(e, e.J, "split", r), r = function(n, i) {
|
|
1164
1164
|
var a = String(this);
|
|
1165
|
-
if (n =
|
|
1165
|
+
if (n = q(e, n, e.I) ? n.data : new RegExp(n), ze(e, n, i), e.REGEXP_MODE === 2)
|
|
1166
1166
|
if (me)
|
|
1167
1167
|
n = Ge(e, "string.match(regexp)", {
|
|
1168
1168
|
string: a,
|
|
1169
1169
|
regexp: n
|
|
1170
|
-
}, n, i), n !==
|
|
1170
|
+
}, n, i), n !== Me && i(n && pe(e, n));
|
|
1171
1171
|
else {
|
|
1172
1172
|
var s = e.ha(), u = Xe(e, n, s, i);
|
|
1173
1173
|
s.onmessage = function(f) {
|
|
@@ -1176,14 +1176,14 @@ function si(e, t) {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
else
|
|
1178
1178
|
n = a.match(n), i(n && pe(e, n));
|
|
1179
|
-
},
|
|
1179
|
+
}, Ye(e, e.J, "match", r), r = function(n, i) {
|
|
1180
1180
|
var a = String(this);
|
|
1181
|
-
if (
|
|
1181
|
+
if (q(e, n, e.I) ? n = n.data : n = new RegExp(n), ze(e, n, i), e.REGEXP_MODE === 2)
|
|
1182
1182
|
if (me)
|
|
1183
1183
|
n = Ge(e, "string.search(regexp)", {
|
|
1184
1184
|
string: a,
|
|
1185
1185
|
regexp: n
|
|
1186
|
-
}, n, i), n !==
|
|
1186
|
+
}, n, i), n !== Me && i(n);
|
|
1187
1187
|
else {
|
|
1188
1188
|
var s = e.ha(), u = Xe(e, n, s, i);
|
|
1189
1189
|
s.onmessage = function(f) {
|
|
@@ -1192,83 +1192,83 @@ function si(e, t) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
else
|
|
1194
1194
|
i(a.search(n));
|
|
1195
|
-
},
|
|
1195
|
+
}, Ye(e, e.J, "search", r), r = function(n, i, a) {
|
|
1196
1196
|
var s = String(this);
|
|
1197
|
-
if (i = String(i),
|
|
1197
|
+
if (i = String(i), q(e, n, e.I) && (n = n.data, ze(e, n, a), e.REGEXP_MODE === 2)) {
|
|
1198
1198
|
if (me)
|
|
1199
1199
|
n = Ge(e, "string.replace(substr, newSubstr)", {
|
|
1200
1200
|
string: s,
|
|
1201
1201
|
substr: n,
|
|
1202
1202
|
newSubstr: i
|
|
1203
|
-
}, n, a), n !==
|
|
1203
|
+
}, n, a), n !== Me && a(n);
|
|
1204
1204
|
else {
|
|
1205
1205
|
var u = e.ha(), f = Xe(e, n, u, a);
|
|
1206
|
-
u.onmessage = function(
|
|
1207
|
-
clearTimeout(f), a(
|
|
1206
|
+
u.onmessage = function(g) {
|
|
1207
|
+
clearTimeout(f), a(g.data);
|
|
1208
1208
|
}, u.postMessage(["replace", s, n, i]);
|
|
1209
1209
|
}
|
|
1210
1210
|
return;
|
|
1211
1211
|
}
|
|
1212
1212
|
a(s.replace(n, i));
|
|
1213
|
-
},
|
|
1213
|
+
}, Ye(e, e.J, "replace", r), 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;", "};", "})();", "");
|
|
1214
1214
|
}
|
|
1215
1215
|
function li(e, t) {
|
|
1216
1216
|
e.mb = e.i(function(r) {
|
|
1217
|
-
return r =
|
|
1218
|
-
}, !0), e.g(t, "Boolean", e.mb,
|
|
1217
|
+
return r = Se.Boolean(r), ve(e) ? (this.data = r, this) : r;
|
|
1218
|
+
}, !0), e.g(t, "Boolean", e.mb, S);
|
|
1219
1219
|
}
|
|
1220
1220
|
function ci(e, t) {
|
|
1221
1221
|
var r = function(n) {
|
|
1222
|
-
return n = arguments.length ?
|
|
1222
|
+
return n = arguments.length ? Se.Number(n) : 0, ve(e) ? (this.data = n, this) : n;
|
|
1223
1223
|
};
|
|
1224
|
-
for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa,
|
|
1224
|
+
for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa, S), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], r = 0; r < t.length; r++)
|
|
1225
1225
|
e.g(e.aa, t[r], Number[t[r]], Ke);
|
|
1226
1226
|
r = function(n) {
|
|
1227
1227
|
try {
|
|
1228
1228
|
return Number(this).toExponential(n);
|
|
1229
1229
|
} catch (i) {
|
|
1230
|
-
|
|
1230
|
+
k(e, e.D, i.message);
|
|
1231
1231
|
}
|
|
1232
1232
|
}, J(e, e.aa, "toExponential", r), r = function(n) {
|
|
1233
1233
|
try {
|
|
1234
1234
|
return Number(this).toFixed(n);
|
|
1235
1235
|
} catch (i) {
|
|
1236
|
-
|
|
1236
|
+
k(e, e.D, i.message);
|
|
1237
1237
|
}
|
|
1238
1238
|
}, J(e, e.aa, "toFixed", r), r = function(n) {
|
|
1239
1239
|
try {
|
|
1240
1240
|
return Number(this).toPrecision(n);
|
|
1241
1241
|
} catch (i) {
|
|
1242
|
-
|
|
1242
|
+
k(e, e.D, i.message);
|
|
1243
1243
|
}
|
|
1244
1244
|
}, J(e, e.aa, "toPrecision", r), r = function(n) {
|
|
1245
1245
|
try {
|
|
1246
1246
|
return Number(this).toString(n);
|
|
1247
1247
|
} catch (i) {
|
|
1248
|
-
|
|
1248
|
+
k(e, e.D, i.message);
|
|
1249
1249
|
}
|
|
1250
1250
|
}, J(e, e.aa, "toString", r), r = function(n, i) {
|
|
1251
1251
|
n = n ? e.R(n) : void 0, i = i ? e.R(i) : void 0;
|
|
1252
1252
|
try {
|
|
1253
1253
|
return Number(this).toLocaleString(n, i);
|
|
1254
1254
|
} catch (a) {
|
|
1255
|
-
|
|
1255
|
+
k(e, e.D, "toLocaleString: " + a.message);
|
|
1256
1256
|
}
|
|
1257
1257
|
}, J(e, e.aa, "toLocaleString", r);
|
|
1258
1258
|
}
|
|
1259
1259
|
function ui(e, t) {
|
|
1260
1260
|
var r = function(i, a) {
|
|
1261
|
-
if (!
|
|
1262
|
-
return
|
|
1261
|
+
if (!ve(e))
|
|
1262
|
+
return Se.Date();
|
|
1263
1263
|
var s = [null].concat(Array.from(arguments));
|
|
1264
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1264
|
+
return this.data = new (Function.prototype.bind.apply(Se.Date, s))(), this;
|
|
1265
1265
|
};
|
|
1266
|
-
e.$ = e.i(r, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$,
|
|
1266
|
+
e.$ = e.i(r, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, S), e.g(e.$, "now", e.i(Date.now, !1), S), e.g(e.$, "parse", e.i(Date.parse, !1), S), e.g(e.$, "UTC", e.i(Date.UTC, !1), S), 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(" ");
|
|
1267
1267
|
for (var n = 0; n < t.length; n++)
|
|
1268
1268
|
r = function(i) {
|
|
1269
1269
|
return function(a) {
|
|
1270
1270
|
var s = this.data;
|
|
1271
|
-
s instanceof Date ||
|
|
1271
|
+
s instanceof Date || k(e, e.j, i + " not called on a Date");
|
|
1272
1272
|
for (var u = [], f = 0; f < arguments.length; f++)
|
|
1273
1273
|
u[f] = e.R(arguments[f]);
|
|
1274
1274
|
return s[i].apply(s, u);
|
|
@@ -1277,26 +1277,26 @@ function ui(e, t) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
function di(e, t) {
|
|
1279
1279
|
var r = function(n, i) {
|
|
1280
|
-
if (
|
|
1280
|
+
if (ve(e))
|
|
1281
1281
|
var a = this;
|
|
1282
1282
|
else {
|
|
1283
|
-
if (i === void 0 &&
|
|
1283
|
+
if (i === void 0 && q(e, n, e.I))
|
|
1284
1284
|
return n;
|
|
1285
1285
|
a = e.s(e.Ma);
|
|
1286
1286
|
}
|
|
1287
|
-
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) ||
|
|
1287
|
+
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || k(e, e.T, "Invalid regexp flag: " + i);
|
|
1288
1288
|
try {
|
|
1289
|
-
var s = new
|
|
1289
|
+
var s = new Se.RegExp(n, i);
|
|
1290
1290
|
} catch (u) {
|
|
1291
|
-
|
|
1291
|
+
k(e, e.T, u.message);
|
|
1292
1292
|
}
|
|
1293
1293
|
return tn(e, a, s), a;
|
|
1294
1294
|
};
|
|
1295
|
-
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I,
|
|
1296
|
-
function a(
|
|
1297
|
-
if (
|
|
1298
|
-
var
|
|
1299
|
-
return e.g(
|
|
1295
|
+
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, S), e.g(e.I.h.prototype, "global", void 0, ie), e.g(e.I.h.prototype, "ignoreCase", void 0, ie), e.g(e.I.h.prototype, "multiline", void 0, ie), e.g(e.I.h.prototype, "source", "(?:)", ie), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, i) {
|
|
1296
|
+
function a(v) {
|
|
1297
|
+
if (v) {
|
|
1298
|
+
var b = pe(e, v);
|
|
1299
|
+
return e.g(b, "index", v.index), e.g(b, "input", v.input), b;
|
|
1300
1300
|
}
|
|
1301
1301
|
return null;
|
|
1302
1302
|
}
|
|
@@ -1306,61 +1306,61 @@ function di(e, t) {
|
|
|
1306
1306
|
n = Ge(e, "regexp.exec(string)", {
|
|
1307
1307
|
string: n,
|
|
1308
1308
|
regexp: s
|
|
1309
|
-
}, s, i), n !==
|
|
1309
|
+
}, s, i), n !== Me && (e.g(this, "lastIndex", s.lastIndex), i(a(n)));
|
|
1310
1310
|
else {
|
|
1311
|
-
var u = e.ha(), f = Xe(e, s, u, i),
|
|
1312
|
-
u.onmessage = function(
|
|
1313
|
-
clearTimeout(f), e.g(
|
|
1311
|
+
var u = e.ha(), f = Xe(e, s, u, i), g = this;
|
|
1312
|
+
u.onmessage = function(v) {
|
|
1313
|
+
clearTimeout(f), e.g(g, "lastIndex", v.data[1]), i(a(v.data[0]));
|
|
1314
1314
|
}, u.postMessage(["exec", s, s.lastIndex, n]);
|
|
1315
1315
|
}
|
|
1316
1316
|
else
|
|
1317
1317
|
n = s.exec(n), e.g(this, "lastIndex", s.lastIndex), i(a(n));
|
|
1318
|
-
},
|
|
1318
|
+
}, Ye(e, e.I, "exec", r);
|
|
1319
1319
|
}
|
|
1320
1320
|
function fi(e, t) {
|
|
1321
1321
|
function r(n) {
|
|
1322
1322
|
var i = e.i(function(a) {
|
|
1323
|
-
var s =
|
|
1323
|
+
var s = ve(e) ? this : e.Aa(i);
|
|
1324
1324
|
return Gt(e, s, a), s;
|
|
1325
1325
|
}, !0);
|
|
1326
|
-
return e.g(i, "prototype", e.Aa(e.D),
|
|
1326
|
+
return e.g(i, "prototype", e.Aa(e.D), S), e.g(i.h.prototype, "name", n, S), e.g(t, n, i, S), i;
|
|
1327
1327
|
}
|
|
1328
1328
|
e.D = e.i(function(n) {
|
|
1329
|
-
var i =
|
|
1329
|
+
var i = ve(e) ? this : e.Aa(e.D);
|
|
1330
1330
|
return Gt(e, i, n), i;
|
|
1331
|
-
}, !0), e.g(t, "Error", e.D,
|
|
1331
|
+
}, !0), e.g(t, "Error", e.D, S), e.g(e.D.h.prototype, "message", "", S), e.g(e.D.h.prototype, "name", "Error", S), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
|
|
1332
1332
|
}
|
|
1333
1333
|
function hi(e, t) {
|
|
1334
1334
|
var r = e.s(e.M);
|
|
1335
|
-
e.g(t, "Math", r,
|
|
1335
|
+
e.g(t, "Math", r, S);
|
|
1336
1336
|
var n = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1337
1337
|
for (t = 0; t < n.length; t++)
|
|
1338
|
-
e.g(r, n[t], Math[n[t]],
|
|
1338
|
+
e.g(r, n[t], Math[n[t]], ie);
|
|
1339
1339
|
for (n = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < n.length; t++)
|
|
1340
|
-
e.g(r, n[t], e.i(Math[n[t]], !1),
|
|
1340
|
+
e.g(r, n[t], e.i(Math[n[t]], !1), S);
|
|
1341
1341
|
}
|
|
1342
1342
|
function pi(e, t) {
|
|
1343
1343
|
var r = e.s(e.M);
|
|
1344
|
-
e.g(t, "JSON", r,
|
|
1344
|
+
e.g(t, "JSON", r, S), t = function(n) {
|
|
1345
1345
|
try {
|
|
1346
1346
|
var i = JSON.parse(String(n));
|
|
1347
1347
|
} catch (a) {
|
|
1348
|
-
|
|
1348
|
+
k(e, e.T, a.message);
|
|
1349
1349
|
}
|
|
1350
1350
|
return e.Ia(i);
|
|
1351
1351
|
}, e.g(r, "parse", e.i(t, !1)), t = function(n, i, a) {
|
|
1352
|
-
i && i.H === "Function" ?
|
|
1352
|
+
i && i.H === "Function" ? k(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = gr(e, i), i = i.filter(function(u) {
|
|
1353
1353
|
return typeof u == "string" || typeof u == "number";
|
|
1354
1354
|
})) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), n = e.R(n);
|
|
1355
1355
|
try {
|
|
1356
1356
|
var s = JSON.stringify(n, i, a);
|
|
1357
1357
|
} catch (u) {
|
|
1358
|
-
|
|
1358
|
+
k(e, e.j, u.message);
|
|
1359
1359
|
}
|
|
1360
1360
|
return s;
|
|
1361
1361
|
}, e.g(r, "stringify", e.i(t, !1));
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function q(e, t, r) {
|
|
1364
1364
|
if (t == null || !r)
|
|
1365
1365
|
return !1;
|
|
1366
1366
|
if (r = r.h.prototype, t === r)
|
|
@@ -1373,10 +1373,10 @@ function Y(e, t, r) {
|
|
|
1373
1373
|
return !1;
|
|
1374
1374
|
}
|
|
1375
1375
|
function tn(e, t, r) {
|
|
1376
|
-
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex,
|
|
1376
|
+
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, S), e.g(t, "source", r.source, ie), e.g(t, "global", r.global, ie), e.g(t, "ignoreCase", r.ignoreCase, ie), e.g(t, "multiline", r.multiline, ie);
|
|
1377
1377
|
}
|
|
1378
1378
|
function Gt(e, t, r) {
|
|
1379
|
-
r && e.g(t, "message", String(r),
|
|
1379
|
+
r && e.g(t, "message", String(r), S), r = [];
|
|
1380
1380
|
for (var n = e.o.length - 1; 0 <= n; n--) {
|
|
1381
1381
|
var i = e.o[n], a = i.node;
|
|
1382
1382
|
a.type === "CallExpression" && (i = i.U) && r.length && (r[r.length - 1].Ob = e.G(i, "name")), !a.X || r.length && a.type !== "CallExpression" || r.push({
|
|
@@ -1390,9 +1390,9 @@ function Gt(e, t, r) {
|
|
|
1390
1390
|
`) : a + (" at " + s + `
|
|
1391
1391
|
`);
|
|
1392
1392
|
}
|
|
1393
|
-
e.g(t, "stack", a.trim(),
|
|
1393
|
+
e.g(t, "stack", a.trim(), S);
|
|
1394
1394
|
}
|
|
1395
|
-
|
|
1395
|
+
B.ha = function() {
|
|
1396
1396
|
var e = this.ha.Mb;
|
|
1397
1397
|
return e || (e = new Blob([ni.join(`
|
|
1398
1398
|
`)], {
|
|
@@ -1406,9 +1406,9 @@ function Ge(e, t, r, n, i) {
|
|
|
1406
1406
|
try {
|
|
1407
1407
|
return me.runInNewContext(t, r, a);
|
|
1408
1408
|
} catch {
|
|
1409
|
-
i(null),
|
|
1409
|
+
i(null), k(e, e.D, "RegExp Timeout: " + n);
|
|
1410
1410
|
}
|
|
1411
|
-
return
|
|
1411
|
+
return Me;
|
|
1412
1412
|
}
|
|
1413
1413
|
function ze(e, t, r) {
|
|
1414
1414
|
if (e.REGEXP_MODE === 0)
|
|
@@ -1427,26 +1427,26 @@ function ze(e, t, r) {
|
|
|
1427
1427
|
n = !!me;
|
|
1428
1428
|
} else
|
|
1429
1429
|
n = !1;
|
|
1430
|
-
n || (r(null),
|
|
1430
|
+
n || (r(null), k(e, e.D, "Regular expressions not supported: " + t));
|
|
1431
1431
|
}
|
|
1432
1432
|
function Xe(e, t, r, n) {
|
|
1433
1433
|
return setTimeout(function() {
|
|
1434
1434
|
r.terminate(), n(null);
|
|
1435
1435
|
try {
|
|
1436
|
-
|
|
1436
|
+
k(e, e.D, "RegExp Timeout: " + t);
|
|
1437
1437
|
} catch {
|
|
1438
1438
|
}
|
|
1439
1439
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1440
1440
|
}
|
|
1441
|
-
|
|
1441
|
+
B.Aa = function(e) {
|
|
1442
1442
|
return this.s(e && e.h.prototype);
|
|
1443
1443
|
};
|
|
1444
|
-
|
|
1444
|
+
B.s = function(e) {
|
|
1445
1445
|
if (typeof e != "object")
|
|
1446
1446
|
throw Error("Non object prototype");
|
|
1447
|
-
return e = new F(e),
|
|
1447
|
+
return e = new F(e), q(this, e, this.D) && (e.H = "Error"), e;
|
|
1448
1448
|
};
|
|
1449
|
-
function
|
|
1449
|
+
function Be(e) {
|
|
1450
1450
|
var t = e.s(e.La);
|
|
1451
1451
|
return e.g(t, "length", 0, {
|
|
1452
1452
|
configurable: !1,
|
|
@@ -1456,20 +1456,20 @@ function Fe(e) {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
function nn(e, t, r) {
|
|
1458
1458
|
var n = e.s(e.Z);
|
|
1459
|
-
return r ? (r = e.s(e.M), e.g(n, "prototype", r,
|
|
1459
|
+
return r ? (r = e.s(e.M), e.g(n, "prototype", r, S), e.g(r, "constructor", n, S)) : n.Ab = !0, e.g(n, "length", t, ie), n.H = "Function", n;
|
|
1460
1460
|
}
|
|
1461
1461
|
function rn(e, t, r, n) {
|
|
1462
1462
|
var i = nn(e, t.oa.length, !0);
|
|
1463
|
-
return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "",
|
|
1463
|
+
return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", ie), i;
|
|
1464
1464
|
}
|
|
1465
|
-
|
|
1466
|
-
return t = nn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1465
|
+
B.i = function(e, t) {
|
|
1466
|
+
return t = nn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ie), t;
|
|
1467
1467
|
};
|
|
1468
|
-
|
|
1468
|
+
B.ub = function(e) {
|
|
1469
1469
|
var t = nn(this, e.length, !0);
|
|
1470
|
-
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1470
|
+
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ie), t;
|
|
1471
1471
|
};
|
|
1472
|
-
|
|
1472
|
+
B.Ia = function(e) {
|
|
1473
1473
|
if (e instanceof F)
|
|
1474
1474
|
throw Error("Object is already pseudo");
|
|
1475
1475
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
@@ -1490,7 +1490,7 @@ $.Ia = function(e) {
|
|
|
1490
1490
|
}, !!t);
|
|
1491
1491
|
}
|
|
1492
1492
|
if (Array.isArray(e)) {
|
|
1493
|
-
t =
|
|
1493
|
+
t = Be(this);
|
|
1494
1494
|
for (var n = 0; n < e.length; n++)
|
|
1495
1495
|
n in e && this.g(t, n, this.Ia(e[n]));
|
|
1496
1496
|
return t;
|
|
@@ -1500,14 +1500,14 @@ $.Ia = function(e) {
|
|
|
1500
1500
|
this.g(t, n, this.Ia(e[n]));
|
|
1501
1501
|
return t;
|
|
1502
1502
|
};
|
|
1503
|
-
|
|
1503
|
+
B.R = function(e, t) {
|
|
1504
1504
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1505
1505
|
return e;
|
|
1506
1506
|
if (!(e instanceof F))
|
|
1507
1507
|
throw Error("Object is not pseudo");
|
|
1508
|
-
if (
|
|
1508
|
+
if (q(this, e, this.I))
|
|
1509
1509
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
1510
|
-
if (
|
|
1510
|
+
if (q(this, e, this.$))
|
|
1511
1511
|
return new Date(e.data.valueOf());
|
|
1512
1512
|
t = t || {
|
|
1513
1513
|
hb: [],
|
|
@@ -1516,7 +1516,7 @@ $.R = function(e, t) {
|
|
|
1516
1516
|
var r = t.hb.indexOf(e);
|
|
1517
1517
|
if (r !== -1)
|
|
1518
1518
|
return t.Sa[r];
|
|
1519
|
-
if (t.hb.push(e),
|
|
1519
|
+
if (t.hb.push(e), q(this, e, this.qa)) {
|
|
1520
1520
|
r = [], t.Sa.push(r);
|
|
1521
1521
|
for (var n = this.G(e, "length"), i = 0; i < n; i++)
|
|
1522
1522
|
mt(this, e, i) && (r[i] = this.R(this.G(e, i), t));
|
|
@@ -1531,7 +1531,7 @@ $.R = function(e, t) {
|
|
|
1531
1531
|
return t.hb.pop(), t.Sa.pop(), r;
|
|
1532
1532
|
};
|
|
1533
1533
|
function pe(e, t) {
|
|
1534
|
-
for (var r =
|
|
1534
|
+
for (var r = Be(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
|
|
1535
1535
|
e.g(r, n[i], t[n[i]]);
|
|
1536
1536
|
return r;
|
|
1537
1537
|
}
|
|
@@ -1552,15 +1552,15 @@ function ge(e, t) {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
return t ? t.xa : null;
|
|
1554
1554
|
}
|
|
1555
|
-
|
|
1555
|
+
B.G = function(e, t) {
|
|
1556
1556
|
if (this.P)
|
|
1557
1557
|
throw Error("Getter not supported in that context");
|
|
1558
|
-
if (t = String(t), e != null ||
|
|
1558
|
+
if (t = String(t), e != null || k(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
|
|
1559
1559
|
throw TypeError("Expecting native value or pseudo object");
|
|
1560
1560
|
if (t === "length") {
|
|
1561
|
-
if (
|
|
1561
|
+
if (q(this, e, this.J))
|
|
1562
1562
|
return String(e).length;
|
|
1563
|
-
} else if (64 > t.charCodeAt(0) &&
|
|
1563
|
+
} else if (64 > t.charCodeAt(0) && q(this, e, this.J)) {
|
|
1564
1564
|
var r = qe(t);
|
|
1565
1565
|
if (!isNaN(r) && r < String(e).length)
|
|
1566
1566
|
return String(e)[r];
|
|
@@ -1573,9 +1573,9 @@ $.G = function(e, t) {
|
|
|
1573
1573
|
function mt(e, t, r) {
|
|
1574
1574
|
if (!(t instanceof F))
|
|
1575
1575
|
throw TypeError("Primitive data type has no properties");
|
|
1576
|
-
if (r = String(r), r === "length" &&
|
|
1576
|
+
if (r = String(r), r === "length" && q(e, t, e.J))
|
|
1577
1577
|
return !0;
|
|
1578
|
-
if (
|
|
1578
|
+
if (q(e, t, e.J)) {
|
|
1579
1579
|
var n = qe(r);
|
|
1580
1580
|
if (!isNaN(n) && n < String(t).length)
|
|
1581
1581
|
return !0;
|
|
@@ -1586,18 +1586,18 @@ function mt(e, t, r) {
|
|
|
1586
1586
|
while (t = ge(e, t));
|
|
1587
1587
|
return !1;
|
|
1588
1588
|
}
|
|
1589
|
-
|
|
1589
|
+
B.g = function(e, t, r, n) {
|
|
1590
1590
|
if (this.Ka)
|
|
1591
1591
|
throw Error("Setter not supported in that context");
|
|
1592
|
-
if (t = String(t), e != null ||
|
|
1592
|
+
if (t = String(t), e != null || k(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
|
|
1593
1593
|
throw TypeError("Expecting native value or pseudo object");
|
|
1594
|
-
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) &&
|
|
1594
|
+
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && k(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1595
1595
|
var i = !this.o || on(this).S;
|
|
1596
1596
|
if (e instanceof F) {
|
|
1597
|
-
if (
|
|
1597
|
+
if (q(this, e, this.J)) {
|
|
1598
1598
|
var a = qe(t);
|
|
1599
1599
|
if (t === "length" || !isNaN(a) && a < String(e).length) {
|
|
1600
|
-
i &&
|
|
1600
|
+
i && k(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1601
1601
|
return;
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
@@ -1608,7 +1608,7 @@ $.g = function(e, t, r, n) {
|
|
|
1608
1608
|
return;
|
|
1609
1609
|
r = n.value;
|
|
1610
1610
|
}
|
|
1611
|
-
if (r = en(r), isNaN(r) &&
|
|
1611
|
+
if (r = en(r), isNaN(r) && k(this, this.ob, "Invalid array length"), r < a)
|
|
1612
1612
|
for (s in e.h) {
|
|
1613
1613
|
var s = qe(s);
|
|
1614
1614
|
!isNaN(s) && r <= s && delete e.h[s];
|
|
@@ -1621,7 +1621,7 @@ $.g = function(e, t, r, n) {
|
|
|
1621
1621
|
try {
|
|
1622
1622
|
Object.defineProperty(e.h, t, i);
|
|
1623
1623
|
} catch {
|
|
1624
|
-
|
|
1624
|
+
k(this, this.j, "Cannot redefine property: " + t);
|
|
1625
1625
|
}
|
|
1626
1626
|
"get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
|
|
1627
1627
|
} else {
|
|
@@ -1635,30 +1635,30 @@ $.g = function(e, t, r, n) {
|
|
|
1635
1635
|
if (n.Y && n.Y[t])
|
|
1636
1636
|
return this.Ka = !0, n.Y[t];
|
|
1637
1637
|
if (n.V && n.V[t])
|
|
1638
|
-
i &&
|
|
1638
|
+
i && k(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
|
|
1639
1639
|
else
|
|
1640
1640
|
try {
|
|
1641
1641
|
e.h[t] = r;
|
|
1642
1642
|
} catch {
|
|
1643
|
-
i &&
|
|
1643
|
+
i && k(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
1646
|
else
|
|
1647
|
-
i &&
|
|
1647
|
+
i && k(this, this.j, "Can't add property '" + t + "', object is not extensible");
|
|
1648
1648
|
} else
|
|
1649
|
-
i &&
|
|
1649
|
+
i && k(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1650
1650
|
};
|
|
1651
|
-
|
|
1651
|
+
B.g.ac = function() {
|
|
1652
1652
|
throw Error("Placeholder getter");
|
|
1653
1653
|
};
|
|
1654
|
-
|
|
1654
|
+
B.g.bc = function() {
|
|
1655
1655
|
throw Error("Placeholder setter");
|
|
1656
1656
|
};
|
|
1657
1657
|
function J(e, t, r, n) {
|
|
1658
|
-
e.g(t.h.prototype, r, e.i(n, !1),
|
|
1658
|
+
e.g(t.h.prototype, r, e.i(n, !1), S);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1661
|
-
e.g(t.h.prototype, r, e.ub(n),
|
|
1660
|
+
function Ye(e, t, r, n) {
|
|
1661
|
+
e.g(t.h.prototype, r, e.ub(n), S);
|
|
1662
1662
|
}
|
|
1663
1663
|
function on(e) {
|
|
1664
1664
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
@@ -1688,15 +1688,15 @@ function sn(e, t) {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
if (r === e.N && mt(e, r.object, t))
|
|
1690
1690
|
return e.G(r.object, t);
|
|
1691
|
-
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" ||
|
|
1691
|
+
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || k(e, e.pb, t + " is not defined");
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function vr(e, t, r) {
|
|
1694
1694
|
for (var n = on(e), i = n.S; n && n !== e.N; ) {
|
|
1695
1695
|
if (t in n.object.h) {
|
|
1696
1696
|
try {
|
|
1697
1697
|
n.object.h[t] = r;
|
|
1698
1698
|
} catch {
|
|
1699
|
-
i &&
|
|
1699
|
+
i && k(e, e.j, "Cannot assign to read only variable '" + t + "'");
|
|
1700
1700
|
}
|
|
1701
1701
|
return;
|
|
1702
1702
|
}
|
|
@@ -1704,7 +1704,7 @@ function yr(e, t, r) {
|
|
|
1704
1704
|
}
|
|
1705
1705
|
if (n === e.N && (!i || mt(e, n.object, t)))
|
|
1706
1706
|
return e.g(n.object, t, r);
|
|
1707
|
-
|
|
1707
|
+
k(e, e.pb, t + " is not defined");
|
|
1708
1708
|
}
|
|
1709
1709
|
function Qe(e, t, r) {
|
|
1710
1710
|
if (t.jb)
|
|
@@ -1752,19 +1752,19 @@ function Qe(e, t, r) {
|
|
|
1752
1752
|
t.jb = n;
|
|
1753
1753
|
}
|
|
1754
1754
|
for (s in n)
|
|
1755
|
-
n[s] === !0 ? e.g(r.object, s, void 0,
|
|
1755
|
+
n[s] === !0 ? e.g(r.object, s, void 0, Yn) : e.g(r.object, s, rn(e, n[s], r), Yn);
|
|
1756
1756
|
return n;
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function ve(e) {
|
|
1759
1759
|
return e.o[e.o.length - 1].isConstructor;
|
|
1760
1760
|
}
|
|
1761
1761
|
function ln(e, t) {
|
|
1762
|
-
return t[0] ===
|
|
1762
|
+
return t[0] === _e ? sn(e, t[1]) : e.G(t[0], t[1]);
|
|
1763
1763
|
}
|
|
1764
1764
|
function cn(e, t, r) {
|
|
1765
|
-
return t[0] ===
|
|
1765
|
+
return t[0] === _e ? vr(e, t[1], r) : e.g(t[0], t[1], r);
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function k(e, t, r) {
|
|
1768
1768
|
throw e.N ? (r !== void 0 && t instanceof F && (t = e.Aa(t), Gt(e, t, r)), nt(e, 4, t), mr) : r === void 0 ? t : r;
|
|
1769
1769
|
}
|
|
1770
1770
|
function nt(e, t, r, n) {
|
|
@@ -1803,7 +1803,7 @@ function nt(e, t, r, n) {
|
|
|
1803
1803
|
} else if (t === 2 && (n ? a.labels && a.labels.indexOf(n) !== -1 : a.W))
|
|
1804
1804
|
return;
|
|
1805
1805
|
}
|
|
1806
|
-
throw
|
|
1806
|
+
throw q(e, r, e.D) ? (t = {
|
|
1807
1807
|
EvalError,
|
|
1808
1808
|
RangeError,
|
|
1809
1809
|
ReferenceError,
|
|
@@ -1812,34 +1812,34 @@ function nt(e, t, r, n) {
|
|
|
1812
1812
|
URIError
|
|
1813
1813
|
}, n = String(e.G(r, "name")), i = e.G(r, "message").valueOf(), t = (t[n] || Error)(i), t.stack = String(e.G(r, "stack"))) : t = String(r), e.value = t, t;
|
|
1814
1814
|
}
|
|
1815
|
-
function
|
|
1815
|
+
function re(e, t) {
|
|
1816
1816
|
switch (t.type) {
|
|
1817
1817
|
case "ArrayExpression":
|
|
1818
1818
|
return "[...]";
|
|
1819
1819
|
case "BinaryExpression":
|
|
1820
1820
|
case "LogicalExpression":
|
|
1821
|
-
return
|
|
1821
|
+
return re(e, t.left) + " " + t.operator + " " + re(e, t.right);
|
|
1822
1822
|
case "CallExpression":
|
|
1823
|
-
return
|
|
1823
|
+
return re(e, t.callee) + "(...)";
|
|
1824
1824
|
case "ConditionalExpression":
|
|
1825
|
-
return
|
|
1825
|
+
return re(e, t.test) + " ? " + re(e, t.da) + " : " + re(e, t.alternate);
|
|
1826
1826
|
case "Identifier":
|
|
1827
1827
|
return t.name;
|
|
1828
1828
|
case "Literal":
|
|
1829
1829
|
return t.raw;
|
|
1830
1830
|
case "MemberExpression":
|
|
1831
|
-
var r =
|
|
1832
|
-
return e =
|
|
1831
|
+
var r = re(e, t.object);
|
|
1832
|
+
return e = re(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
|
|
1833
1833
|
case "NewExpression":
|
|
1834
|
-
return "new " +
|
|
1834
|
+
return "new " + re(e, t.callee) + "(...)";
|
|
1835
1835
|
case "ObjectExpression":
|
|
1836
1836
|
return "{...}";
|
|
1837
1837
|
case "ThisExpression":
|
|
1838
1838
|
return "this";
|
|
1839
1839
|
case "UnaryExpression":
|
|
1840
|
-
return t.operator + " " +
|
|
1840
|
+
return t.operator + " " + re(e, t.K);
|
|
1841
1841
|
case "UpdateExpression":
|
|
1842
|
-
return r =
|
|
1842
|
+
return r = re(e, t.K), t.prefix ? t.operator + r : r + t.operator;
|
|
1843
1843
|
}
|
|
1844
1844
|
return "???";
|
|
1845
1845
|
}
|
|
@@ -1852,15 +1852,15 @@ function qn(e, t, r) {
|
|
|
1852
1852
|
s.type = "CallExpression", n = n.scope;
|
|
1853
1853
|
} else {
|
|
1854
1854
|
try {
|
|
1855
|
-
var f =
|
|
1856
|
-
} catch (
|
|
1857
|
-
|
|
1855
|
+
var f = Ue(String(a), "taskCode" + e.ic++);
|
|
1856
|
+
} catch (g) {
|
|
1857
|
+
k(e, e.T, "Invalid code: " + g.message);
|
|
1858
1858
|
}
|
|
1859
1859
|
s.type = "EvalProgram_", s.body = f.body, n = n.node.arguments[0], pt(s, n ? n.start : void 0, n ? n.end : void 0), n = e.N, i.length = 0;
|
|
1860
1860
|
}
|
|
1861
|
-
return t = new mi(u, i, n, s, t ? r : -1),
|
|
1861
|
+
return t = new mi(u, i, n, s, t ? r : -1), yr(e, t, r), t.Db;
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function yr(e, t, r) {
|
|
1864
1864
|
t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, i) {
|
|
1865
1865
|
return n.time - i.time;
|
|
1866
1866
|
});
|
|
@@ -1877,28 +1877,28 @@ function rt(e, t, r) {
|
|
|
1877
1877
|
throw Error("Unexpected call to createGetter");
|
|
1878
1878
|
e.P = !1, r = Array.isArray(r) ? r[0] : r;
|
|
1879
1879
|
var n = e.ya();
|
|
1880
|
-
return n.type = "CallExpression", e = new
|
|
1880
|
+
return n.type = "CallExpression", e = new w(n, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1881
1881
|
}
|
|
1882
1882
|
function un(e, t, r, n) {
|
|
1883
1883
|
if (!e.Ka)
|
|
1884
1884
|
throw Error("Unexpected call to createSetter");
|
|
1885
1885
|
e.Ka = !1, r = Array.isArray(r) ? r[0] : e.Na;
|
|
1886
1886
|
var i = e.ya();
|
|
1887
|
-
return i.type = "CallExpression", e = new
|
|
1887
|
+
return i.type = "CallExpression", e = new w(i, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [n], e;
|
|
1888
1888
|
}
|
|
1889
|
-
function
|
|
1889
|
+
function Vt(e, t) {
|
|
1890
1890
|
return t == null ? e.Na : t instanceof F ? t : (e = e.s(ge(e, t)), e.data = t, e);
|
|
1891
1891
|
}
|
|
1892
|
-
|
|
1892
|
+
B.Xb = function() {
|
|
1893
1893
|
return this.N;
|
|
1894
1894
|
};
|
|
1895
|
-
|
|
1895
|
+
B.Yb = function() {
|
|
1896
1896
|
return this.o;
|
|
1897
1897
|
};
|
|
1898
|
-
|
|
1898
|
+
B.ec = function(e) {
|
|
1899
1899
|
this.o = e;
|
|
1900
1900
|
};
|
|
1901
|
-
function
|
|
1901
|
+
function w(e, t) {
|
|
1902
1902
|
this.node = e, this.scope = t;
|
|
1903
1903
|
}
|
|
1904
1904
|
function xr(e, t, r) {
|
|
@@ -1907,17 +1907,17 @@ function xr(e, t, r) {
|
|
|
1907
1907
|
function F(e) {
|
|
1908
1908
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
1909
1909
|
}
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
if (!
|
|
1910
|
+
B = F.prototype;
|
|
1911
|
+
B.xa = null;
|
|
1912
|
+
B.H = "Object";
|
|
1913
|
+
B.data = null;
|
|
1914
|
+
B.toString = function() {
|
|
1915
|
+
if (!Je)
|
|
1916
1916
|
return "[object Interpreter.Object]";
|
|
1917
1917
|
if (!(this instanceof F))
|
|
1918
1918
|
return String(this);
|
|
1919
1919
|
if (this.H === "Array") {
|
|
1920
|
-
var e =
|
|
1920
|
+
var e = Jn;
|
|
1921
1921
|
e.push(this);
|
|
1922
1922
|
try {
|
|
1923
1923
|
var t = [], r = this.h.length, n = !1;
|
|
@@ -1933,7 +1933,7 @@ $.toString = function() {
|
|
|
1933
1933
|
return t.join(",");
|
|
1934
1934
|
}
|
|
1935
1935
|
if (this.H === "Error") {
|
|
1936
|
-
if (e =
|
|
1936
|
+
if (e = Jn, e.indexOf(this) !== -1)
|
|
1937
1937
|
return "[object Error]";
|
|
1938
1938
|
r = this;
|
|
1939
1939
|
do
|
|
@@ -1959,8 +1959,8 @@ $.toString = function() {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1961
1961
|
};
|
|
1962
|
-
|
|
1963
|
-
return !
|
|
1962
|
+
B.valueOf = function() {
|
|
1963
|
+
return !Je || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1964
1964
|
};
|
|
1965
1965
|
function mi(e, t, r, n, i) {
|
|
1966
1966
|
this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++gi, this.time = 0;
|
|
@@ -1969,18 +1969,18 @@ var gi = 0;
|
|
|
1969
1969
|
m.prototype.stepArrayExpression = function(e, t, r) {
|
|
1970
1970
|
r = r.elements;
|
|
1971
1971
|
var n = t.A || 0;
|
|
1972
|
-
for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa =
|
|
1972
|
+
for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = Be(this), t.Oa.h.length = r.length); n < r.length; ) {
|
|
1973
1973
|
if (r[n])
|
|
1974
|
-
return t.A = n, new
|
|
1974
|
+
return t.A = n, new w(r[n], t.scope);
|
|
1975
1975
|
n++;
|
|
1976
1976
|
}
|
|
1977
1977
|
e.pop(), e[e.length - 1].value = t.Oa;
|
|
1978
1978
|
};
|
|
1979
1979
|
m.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
1980
1980
|
if (!t.ja)
|
|
1981
|
-
return t.ja = !0, t = new
|
|
1981
|
+
return t.ja = !0, t = new w(r.left, t.scope), t.sa = !0, t;
|
|
1982
1982
|
if (!t.Da)
|
|
1983
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = ln(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, rt(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new
|
|
1983
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = ln(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, rt(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new w(r.right, t.scope));
|
|
1984
1984
|
if (t.ta)
|
|
1985
1985
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1986
1986
|
else {
|
|
@@ -2032,9 +2032,9 @@ m.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
|
2032
2032
|
};
|
|
2033
2033
|
m.prototype.stepBinaryExpression = function(e, t, r) {
|
|
2034
2034
|
if (!t.ja)
|
|
2035
|
-
return t.ja = !0, new
|
|
2035
|
+
return t.ja = !0, new w(r.left, t.scope);
|
|
2036
2036
|
if (!t.Da)
|
|
2037
|
-
return t.Da = !0, t.ma = t.value, new
|
|
2037
|
+
return t.Da = !0, t.ma = t.value, new w(r.right, t.scope);
|
|
2038
2038
|
e.pop();
|
|
2039
2039
|
var n = t.ma;
|
|
2040
2040
|
switch (t = t.value, r.operator) {
|
|
@@ -2096,10 +2096,10 @@ m.prototype.stepBinaryExpression = function(e, t, r) {
|
|
|
2096
2096
|
r = n >>> t;
|
|
2097
2097
|
break;
|
|
2098
2098
|
case "in":
|
|
2099
|
-
t instanceof F ||
|
|
2099
|
+
t instanceof F || k(this, this.j, "'in' expects an object, not '" + t + "'"), r = mt(this, t, n);
|
|
2100
2100
|
break;
|
|
2101
2101
|
case "instanceof":
|
|
2102
|
-
|
|
2102
|
+
q(this, t, this.O) || k(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof F ? q(this, n, t) : !1;
|
|
2103
2103
|
break;
|
|
2104
2104
|
default:
|
|
2105
2105
|
throw SyntaxError("Unknown binary operator: " + r.operator);
|
|
@@ -2109,7 +2109,7 @@ m.prototype.stepBinaryExpression = function(e, t, r) {
|
|
|
2109
2109
|
m.prototype.stepBlockStatement = function(e, t, r) {
|
|
2110
2110
|
var n = t.A || 0;
|
|
2111
2111
|
if (r = r.body[n])
|
|
2112
|
-
return t.A = n + 1, new
|
|
2112
|
+
return t.A = n + 1, new w(r, t.scope);
|
|
2113
2113
|
e.pop();
|
|
2114
2114
|
};
|
|
2115
2115
|
m.prototype.stepBreakStatement = function(e, t, r) {
|
|
@@ -2119,14 +2119,14 @@ m.prototype.Hb = 0;
|
|
|
2119
2119
|
m.prototype.stepCallExpression = function(e, t, r) {
|
|
2120
2120
|
if (!t.ia) {
|
|
2121
2121
|
t.ia = 1;
|
|
2122
|
-
var n = new
|
|
2122
|
+
var n = new w(r.callee, t.scope);
|
|
2123
2123
|
return n.sa = !0, n;
|
|
2124
2124
|
}
|
|
2125
2125
|
if (t.ia === 1) {
|
|
2126
2126
|
t.ia = 2;
|
|
2127
2127
|
var i = t.value;
|
|
2128
2128
|
if (Array.isArray(i)) {
|
|
2129
|
-
if (t.U = ln(this, i), i[0] ===
|
|
2129
|
+
if (t.U = ln(this, i), i[0] === _e ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
|
|
2130
2130
|
return t.ia = 1, rt(this, i, t.value);
|
|
2131
2131
|
} else
|
|
2132
2132
|
t.U = i;
|
|
@@ -2134,10 +2134,10 @@ m.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2134
2134
|
}
|
|
2135
2135
|
if (i = t.U, !t.Qa) {
|
|
2136
2136
|
if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
|
|
2137
|
-
return new
|
|
2137
|
+
return new w(r.arguments[t.A++], t.scope);
|
|
2138
2138
|
if (r.type === "NewExpression") {
|
|
2139
|
-
if (i instanceof F && !i.Ab ||
|
|
2140
|
-
t.B =
|
|
2139
|
+
if (i instanceof F && !i.Ab || k(this, this.j, re(this, r.callee) + " is not a constructor"), i === this.qa)
|
|
2140
|
+
t.B = Be(this);
|
|
2141
2141
|
else {
|
|
2142
2142
|
var a = i.h.prototype;
|
|
2143
2143
|
(typeof a != "object" || a === null) && (a = this.M), t.B = this.s(a);
|
|
@@ -2149,44 +2149,44 @@ m.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2149
2149
|
if (t.eb)
|
|
2150
2150
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2151
2151
|
else {
|
|
2152
|
-
if (t.eb = !0, i instanceof F ||
|
|
2153
|
-
for (r = zt(this, e.body, i.Va), n =
|
|
2152
|
+
if (t.eb = !0, i instanceof F || k(this, this.j, re(this, r.callee) + " is not a function"), e = i.node) {
|
|
2153
|
+
for (r = zt(this, e.body, i.Va), n = Be(this), i = 0; i < t.F.length; i++)
|
|
2154
2154
|
this.g(n, i, t.F[i]);
|
|
2155
2155
|
for (this.g(r.object, "arguments", n), i = 0; i < e.oa.length; i++)
|
|
2156
2156
|
this.g(r.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
|
|
2157
|
-
return r.S || (t.B =
|
|
2157
|
+
return r.S || (t.B = Vt(this, t.B)), this.g(r.object, "this", t.B, Qt), t.value = void 0, new w(e.body, r);
|
|
2158
2158
|
}
|
|
2159
2159
|
if (i.eval)
|
|
2160
2160
|
if (i = t.F[0], typeof i != "string")
|
|
2161
2161
|
t.value = i;
|
|
2162
2162
|
else {
|
|
2163
2163
|
try {
|
|
2164
|
-
n =
|
|
2164
|
+
n = Ue(String(i), "eval" + this.Hb++);
|
|
2165
2165
|
} catch (u) {
|
|
2166
|
-
|
|
2166
|
+
k(this, this.T, "Invalid code: " + u.message);
|
|
2167
2167
|
}
|
|
2168
|
-
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, pt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = zt(this, n, r) : Qe(this, n, r), this.value = void 0, new
|
|
2168
|
+
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, pt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = zt(this, n, r) : Qe(this, n, r), this.value = void 0, new w(i, r);
|
|
2169
2169
|
}
|
|
2170
2170
|
else if (i.Ta)
|
|
2171
|
-
t.scope.S || (t.B =
|
|
2171
|
+
t.scope.S || (t.B = Vt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
|
|
2172
2172
|
else if (i.Za) {
|
|
2173
2173
|
var s = this;
|
|
2174
2174
|
n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(u) {
|
|
2175
2175
|
t.value = u, s.za = !1;
|
|
2176
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2176
|
+
}), this.za = !0, t.scope.S || (t.B = Vt(this, t.B)), i.Za.apply(t.B, n);
|
|
2177
2177
|
} else
|
|
2178
|
-
|
|
2178
|
+
k(this, this.j, re(this, r.callee) + " is not callable");
|
|
2179
2179
|
}
|
|
2180
2180
|
};
|
|
2181
2181
|
m.prototype.stepConditionalExpression = function(e, t, r) {
|
|
2182
2182
|
var n = t.na || 0;
|
|
2183
2183
|
if (n === 0)
|
|
2184
|
-
return t.na = 1, new
|
|
2184
|
+
return t.na = 1, new w(r.test, t.scope);
|
|
2185
2185
|
if (n === 1) {
|
|
2186
2186
|
if (t.na = 2, (n = !!t.value) && r.da)
|
|
2187
|
-
return new
|
|
2187
|
+
return new w(r.da, t.scope);
|
|
2188
2188
|
if (!n && r.alternate)
|
|
2189
|
-
return new
|
|
2189
|
+
return new w(r.alternate, t.scope);
|
|
2190
2190
|
this.value = void 0;
|
|
2191
2191
|
}
|
|
2192
2192
|
e.pop(), r.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
@@ -2199,11 +2199,11 @@ m.prototype.stepDebuggerStatement = function(e) {
|
|
|
2199
2199
|
};
|
|
2200
2200
|
m.prototype.stepDoWhileStatement = function(e, t, r) {
|
|
2201
2201
|
if (r.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
|
|
2202
|
-
return t.ga = !0, new
|
|
2202
|
+
return t.ga = !0, new w(r.test, t.scope);
|
|
2203
2203
|
if (!t.value)
|
|
2204
2204
|
e.pop();
|
|
2205
2205
|
else if (r.body)
|
|
2206
|
-
return t.ga = !1, t.W = !0, new
|
|
2206
|
+
return t.ga = !1, t.W = !0, new w(r.body, t.scope);
|
|
2207
2207
|
};
|
|
2208
2208
|
m.prototype.stepEmptyStatement = function(e) {
|
|
2209
2209
|
e.pop();
|
|
@@ -2211,19 +2211,19 @@ m.prototype.stepEmptyStatement = function(e) {
|
|
|
2211
2211
|
m.prototype.stepEvalProgram_ = function(e, t, r) {
|
|
2212
2212
|
var n = t.A || 0;
|
|
2213
2213
|
if (r = r.body[n])
|
|
2214
|
-
return t.A = n + 1, new
|
|
2214
|
+
return t.A = n + 1, new w(r, t.scope);
|
|
2215
2215
|
e.pop(), e[e.length - 1].value = this.value;
|
|
2216
2216
|
};
|
|
2217
2217
|
m.prototype.stepExpressionStatement = function(e, t, r) {
|
|
2218
2218
|
if (!t.ka)
|
|
2219
|
-
return this.value = void 0, t.ka = !0, new
|
|
2219
|
+
return this.value = void 0, t.ka = !0, new w(r.la, t.scope);
|
|
2220
2220
|
e.pop(), this.value = t.value;
|
|
2221
2221
|
};
|
|
2222
2222
|
m.prototype.stepForInStatement = function(e, t, r) {
|
|
2223
2223
|
if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
|
|
2224
|
-
return t.scope.S &&
|
|
2224
|
+
return t.scope.S && k(this, this.T, "for-in loop variable declaration may not have an initializer"), new w(r.left, t.scope);
|
|
2225
2225
|
if (!t.Ca)
|
|
2226
|
-
return t.Ca = !0, t.pa || (t.pa = t.value), new
|
|
2226
|
+
return t.Ca = !0, t.pa || (t.pa = t.value), new w(r.right, t.scope);
|
|
2227
2227
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
2228
2228
|
e:
|
|
2229
2229
|
for (; ; ) {
|
|
@@ -2251,33 +2251,33 @@ m.prototype.stepForInStatement = function(e, t, r) {
|
|
|
2251
2251
|
}
|
|
2252
2252
|
if (!t.wb)
|
|
2253
2253
|
if (t.wb = !0, e = r.left, e.type === "VariableDeclaration")
|
|
2254
|
-
t.pa = [
|
|
2254
|
+
t.pa = [_e, e.fa[0].id.name];
|
|
2255
2255
|
else
|
|
2256
|
-
return t.pa = null, t = new
|
|
2256
|
+
return t.pa = null, t = new w(e, t.scope), t.sa = !0, t;
|
|
2257
2257
|
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = cn(this, t.pa, e)))
|
|
2258
2258
|
return un(this, n, t.pa, e);
|
|
2259
2259
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
|
|
2260
|
-
return new
|
|
2260
|
+
return new w(r.body, t.scope);
|
|
2261
2261
|
};
|
|
2262
2262
|
m.prototype.stepForStatement = function(e, t, r) {
|
|
2263
2263
|
switch (t.na) {
|
|
2264
2264
|
default:
|
|
2265
2265
|
if (t.na = 1, r.ua)
|
|
2266
|
-
return new
|
|
2266
|
+
return new w(r.ua, t.scope);
|
|
2267
2267
|
break;
|
|
2268
2268
|
case 1:
|
|
2269
2269
|
if (t.na = 2, r.test)
|
|
2270
|
-
return new
|
|
2270
|
+
return new w(r.test, t.scope);
|
|
2271
2271
|
break;
|
|
2272
2272
|
case 2:
|
|
2273
2273
|
if (t.na = 3, r.test && !t.value)
|
|
2274
2274
|
e.pop();
|
|
2275
2275
|
else
|
|
2276
|
-
return t.W = !0, new
|
|
2276
|
+
return t.W = !0, new w(r.body, t.scope);
|
|
2277
2277
|
break;
|
|
2278
2278
|
case 3:
|
|
2279
2279
|
if (t.na = 1, r.update)
|
|
2280
|
-
return new
|
|
2280
|
+
return new w(r.update, t.scope);
|
|
2281
2281
|
}
|
|
2282
2282
|
};
|
|
2283
2283
|
m.prototype.stepFunctionDeclaration = function(e) {
|
|
@@ -2288,7 +2288,7 @@ m.prototype.stepFunctionExpression = function(e, t, r) {
|
|
|
2288
2288
|
};
|
|
2289
2289
|
m.prototype.stepIdentifier = function(e, t, r) {
|
|
2290
2290
|
if (e.pop(), t.sa)
|
|
2291
|
-
e[e.length - 1].value = [
|
|
2291
|
+
e[e.length - 1].value = [_e, r.name];
|
|
2292
2292
|
else {
|
|
2293
2293
|
if (t = sn(this, r.name), this.P)
|
|
2294
2294
|
return rt(this, t, this.Na);
|
|
@@ -2297,7 +2297,7 @@ m.prototype.stepIdentifier = function(e, t, r) {
|
|
|
2297
2297
|
};
|
|
2298
2298
|
m.prototype.stepIfStatement = m.prototype.stepConditionalExpression;
|
|
2299
2299
|
m.prototype.stepLabeledStatement = function(e, t, r) {
|
|
2300
|
-
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new
|
|
2300
|
+
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new w(r.body, t.scope), t.labels = e, t;
|
|
2301
2301
|
};
|
|
2302
2302
|
m.prototype.stepLiteral = function(e, t, r) {
|
|
2303
2303
|
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), tn(this, r, t), t = r), e[e.length - 1].value = t;
|
|
@@ -2306,22 +2306,22 @@ m.prototype.stepLogicalExpression = function(e, t, r) {
|
|
|
2306
2306
|
if (r.operator !== "&&" && r.operator !== "||")
|
|
2307
2307
|
throw SyntaxError("Unknown logical operator: " + r.operator);
|
|
2308
2308
|
if (!t.ja)
|
|
2309
|
-
return t.ja = !0, new
|
|
2309
|
+
return t.ja = !0, new w(r.left, t.scope);
|
|
2310
2310
|
if (t.Da)
|
|
2311
2311
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2312
2312
|
else if (r.operator === "&&" && !t.value || r.operator === "||" && t.value)
|
|
2313
2313
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2314
2314
|
else
|
|
2315
|
-
return t.Da = !0, new
|
|
2315
|
+
return t.Da = !0, new w(r.right, t.scope);
|
|
2316
2316
|
};
|
|
2317
2317
|
m.prototype.stepMemberExpression = function(e, t, r) {
|
|
2318
2318
|
if (!t.Ca)
|
|
2319
|
-
return t.Ca = !0, new
|
|
2319
|
+
return t.Ca = !0, new w(r.object, t.scope);
|
|
2320
2320
|
if (r.bb)
|
|
2321
2321
|
if (t.Vb)
|
|
2322
2322
|
r = t.value;
|
|
2323
2323
|
else
|
|
2324
|
-
return t.u = t.value, t.Vb = !0, new
|
|
2324
|
+
return t.u = t.value, t.Vb = !0, new w(r.Wa, t.scope);
|
|
2325
2325
|
else
|
|
2326
2326
|
t.u = t.value, r = r.Wa.name;
|
|
2327
2327
|
if (e.pop(), t.sa)
|
|
@@ -2348,7 +2348,7 @@ m.prototype.stepObjectExpression = function(e, t, r) {
|
|
|
2348
2348
|
a = s.value;
|
|
2349
2349
|
else
|
|
2350
2350
|
throw SyntaxError("Unknown object structure: " + s.type);
|
|
2351
|
-
return t.Pa = a, new
|
|
2351
|
+
return t.Pa = a, new w(i.value, t.scope);
|
|
2352
2352
|
}
|
|
2353
2353
|
for (s in t.Ja)
|
|
2354
2354
|
r = t.Ja[s], "get" in r || "set" in r ? this.g(t.u, s, Ze, {
|
|
@@ -2361,35 +2361,35 @@ m.prototype.stepObjectExpression = function(e, t, r) {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
m.prototype.stepProgram = function(e, t, r) {
|
|
2363
2363
|
if (e = r.body.shift())
|
|
2364
|
-
return t.done = !1, new
|
|
2364
|
+
return t.done = !1, new w(e, t.scope);
|
|
2365
2365
|
t.done = !0;
|
|
2366
2366
|
};
|
|
2367
2367
|
m.prototype.stepReturnStatement = function(e, t, r) {
|
|
2368
2368
|
if (r.K && !t.ka)
|
|
2369
|
-
return t.ka = !0, new
|
|
2369
|
+
return t.ka = !0, new w(r.K, t.scope);
|
|
2370
2370
|
nt(this, 3, t.value);
|
|
2371
2371
|
};
|
|
2372
2372
|
m.prototype.stepSequenceExpression = function(e, t, r) {
|
|
2373
2373
|
var n = t.A || 0;
|
|
2374
2374
|
if (r = r.xb[n])
|
|
2375
|
-
return t.A = n + 1, new
|
|
2375
|
+
return t.A = n + 1, new w(r, t.scope);
|
|
2376
2376
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2377
2377
|
};
|
|
2378
2378
|
m.prototype.stepSwitchStatement = function(e, t, r) {
|
|
2379
2379
|
if (!t.ga)
|
|
2380
|
-
return t.ga = 1, new
|
|
2380
|
+
return t.ga = 1, new w(r.Qb, t.scope);
|
|
2381
2381
|
for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
|
|
2382
2382
|
var n = t.gb || 0, i = r.tb[n];
|
|
2383
2383
|
if (t.Ha || !i || i.test)
|
|
2384
2384
|
if (i || t.Ha || t.cb === -1)
|
|
2385
2385
|
if (i) {
|
|
2386
2386
|
if (!t.Ha && !t.Fb && i.test)
|
|
2387
|
-
return t.Fb = !0, new
|
|
2387
|
+
return t.Fb = !0, new w(i.test, t.scope);
|
|
2388
2388
|
if (t.Ha || t.value === t.hc) {
|
|
2389
2389
|
t.Ha = !0;
|
|
2390
2390
|
var a = t.A || 0;
|
|
2391
2391
|
if (i.da[a])
|
|
2392
|
-
return t.Zb = !0, t.A = a + 1, new
|
|
2392
|
+
return t.Zb = !0, t.A = a + 1, new w(i.da[a], t.scope);
|
|
2393
2393
|
}
|
|
2394
2394
|
t.Fb = !1, t.A = 0, t.gb = n + 1;
|
|
2395
2395
|
} else {
|
|
@@ -2407,22 +2407,22 @@ m.prototype.stepThisExpression = function(e) {
|
|
|
2407
2407
|
};
|
|
2408
2408
|
m.prototype.stepThrowStatement = function(e, t, r) {
|
|
2409
2409
|
if (t.ka)
|
|
2410
|
-
|
|
2410
|
+
k(this, t.value);
|
|
2411
2411
|
else
|
|
2412
|
-
return t.ka = !0, new
|
|
2412
|
+
return t.ka = !0, new w(r.K, t.scope);
|
|
2413
2413
|
};
|
|
2414
2414
|
m.prototype.stepTryStatement = function(e, t, r) {
|
|
2415
2415
|
if (!t.Rb)
|
|
2416
|
-
return t.Rb = !0, new
|
|
2416
|
+
return t.Rb = !0, new w(r.block, t.scope);
|
|
2417
2417
|
if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
|
|
2418
|
-
return t.Tb = !0, e = an(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new
|
|
2418
|
+
return t.Tb = !0, e = an(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new w(r.Ea.body, e);
|
|
2419
2419
|
if (!t.Sb && r.fb)
|
|
2420
|
-
return t.Sb = !0, new
|
|
2420
|
+
return t.Sb = !0, new w(r.fb, t.scope);
|
|
2421
2421
|
e.pop(), t.ea && nt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2422
2422
|
};
|
|
2423
2423
|
m.prototype.stepUnaryExpression = function(e, t, r) {
|
|
2424
2424
|
if (!t.ka)
|
|
2425
|
-
return t.ka = !0, e = new
|
|
2425
|
+
return t.ka = !0, e = new w(r.K, t.scope), e.sa = r.operator === "delete", e;
|
|
2426
2426
|
e.pop();
|
|
2427
2427
|
var n = t.value;
|
|
2428
2428
|
switch (r.operator) {
|
|
@@ -2441,11 +2441,11 @@ m.prototype.stepUnaryExpression = function(e, t, r) {
|
|
|
2441
2441
|
case "delete":
|
|
2442
2442
|
if (r = !0, Array.isArray(n)) {
|
|
2443
2443
|
var i = n[0];
|
|
2444
|
-
i ===
|
|
2444
|
+
i === _e && (i = t.scope), n = String(n[1]);
|
|
2445
2445
|
try {
|
|
2446
2446
|
delete i.h[n];
|
|
2447
2447
|
} catch {
|
|
2448
|
-
t.scope.S ?
|
|
2448
|
+
t.scope.S ? k(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
2451
|
n = r;
|
|
@@ -2463,7 +2463,7 @@ m.prototype.stepUnaryExpression = function(e, t, r) {
|
|
|
2463
2463
|
};
|
|
2464
2464
|
m.prototype.stepUpdateExpression = function(e, t, r) {
|
|
2465
2465
|
if (!t.ja)
|
|
2466
|
-
return t.ja = !0, e = new
|
|
2466
|
+
return t.ja = !0, e = new w(r.K, t.scope), e.sa = !0, e;
|
|
2467
2467
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2468
2468
|
var n = ln(this, t.Ga);
|
|
2469
2469
|
if (t.ma = n, this.P)
|
|
@@ -2486,18 +2486,18 @@ m.prototype.stepUpdateExpression = function(e, t, r) {
|
|
|
2486
2486
|
m.prototype.stepVariableDeclaration = function(e, t, r) {
|
|
2487
2487
|
r = r.fa;
|
|
2488
2488
|
var n = t.A || 0, i = r[n];
|
|
2489
|
-
for (t.Bb && i && (
|
|
2489
|
+
for (t.Bb && i && (vr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
|
|
2490
2490
|
if (i.ua)
|
|
2491
|
-
return t.A = n, t.Bb = !0, t.Pa = i.id.name, new
|
|
2491
|
+
return t.A = n, t.Bb = !0, t.Pa = i.id.name, new w(i.ua, t.scope);
|
|
2492
2492
|
i = r[++n];
|
|
2493
2493
|
}
|
|
2494
2494
|
e.pop();
|
|
2495
2495
|
};
|
|
2496
2496
|
m.prototype.stepWithStatement = function(e, t, r) {
|
|
2497
|
-
return t.Ca ? (e.pop(), e = an(this, t.scope, t.value), new
|
|
2497
|
+
return t.Ca ? (e.pop(), e = an(this, t.scope, t.value), new w(r.body, e)) : (t.Ca = !0, new w(r.object, t.scope));
|
|
2498
2498
|
};
|
|
2499
2499
|
m.prototype.stepWhileStatement = m.prototype.stepDoWhileStatement;
|
|
2500
|
-
|
|
2500
|
+
Se.Interpreter = m;
|
|
2501
2501
|
m.prototype.step = m.prototype.lb;
|
|
2502
2502
|
m.prototype.run = m.prototype.Eb;
|
|
2503
2503
|
m.prototype.appendCode = m.prototype.Jb;
|
|
@@ -2513,7 +2513,7 @@ m.prototype.getGlobalScope = m.prototype.Xb;
|
|
|
2513
2513
|
m.prototype.getStateStack = m.prototype.Yb;
|
|
2514
2514
|
m.prototype.setStateStack = m.prototype.ec;
|
|
2515
2515
|
m.VALUE_IN_DESCRIPTOR = Ze;
|
|
2516
|
-
const
|
|
2516
|
+
const vi = (e) => e.split(`
|
|
2517
2517
|
`).map((t) => {
|
|
2518
2518
|
const r = t.trim();
|
|
2519
2519
|
if (t.includes("__awaiter"))
|
|
@@ -2526,7 +2526,7 @@ const yi = (e) => e.split(`
|
|
|
2526
2526
|
${u}
|
|
2527
2527
|
`;
|
|
2528
2528
|
}).filter(Boolean).join(`
|
|
2529
|
-
`), Qn = (e) => e + "JSON",
|
|
2529
|
+
`), Qn = (e) => e + "JSON", yi = ({
|
|
2530
2530
|
builder: e,
|
|
2531
2531
|
context: t,
|
|
2532
2532
|
event: r,
|
|
@@ -2543,41 +2543,41 @@ const yi = (e) => e.split(`
|
|
|
2543
2543
|
context: t,
|
|
2544
2544
|
event: r,
|
|
2545
2545
|
state: u
|
|
2546
|
-
}),
|
|
2547
|
-
const
|
|
2548
|
-
return `var ${
|
|
2546
|
+
}), g = f.map(([R]) => {
|
|
2547
|
+
const M = Qn(R);
|
|
2548
|
+
return `var ${R} = ${M} === undefined ? undefined : JSON.parse(${M});`;
|
|
2549
2549
|
}).join(`
|
|
2550
|
-
`),
|
|
2551
|
-
if (
|
|
2552
|
-
|
|
2550
|
+
`), v = vi(s);
|
|
2551
|
+
if (v === "") {
|
|
2552
|
+
Fe.warn("Skipping evaluation of empty code block.");
|
|
2553
2553
|
return;
|
|
2554
2554
|
}
|
|
2555
|
-
const
|
|
2555
|
+
const b = `
|
|
2556
2556
|
function theFunction() {
|
|
2557
|
-
${
|
|
2557
|
+
${g}
|
|
2558
2558
|
|
|
2559
|
-
${
|
|
2559
|
+
${v}
|
|
2560
2560
|
}
|
|
2561
2561
|
theFunction();
|
|
2562
|
-
`,
|
|
2563
|
-
const
|
|
2564
|
-
a == null || a(
|
|
2565
|
-
},
|
|
2566
|
-
f.forEach(([
|
|
2567
|
-
const
|
|
2568
|
-
|
|
2569
|
-
}),
|
|
2562
|
+
`, _ = (R, M) => {
|
|
2563
|
+
const H = pr(u, R, M);
|
|
2564
|
+
a == null || a(H);
|
|
2565
|
+
}, W = function(R, M) {
|
|
2566
|
+
f.forEach(([H, G]) => {
|
|
2567
|
+
const y = JSON.stringify(G);
|
|
2568
|
+
R.setProperty(M, Qn(H), y);
|
|
2569
|
+
}), R.setProperty(M, "setRootState", R.createNativeFunction(_));
|
|
2570
2570
|
};
|
|
2571
2571
|
try {
|
|
2572
|
-
const
|
|
2573
|
-
return
|
|
2574
|
-
} catch (
|
|
2575
|
-
|
|
2576
|
-
e:
|
|
2572
|
+
const R = new m(b, W);
|
|
2573
|
+
return R.run(), R.pseudoToNative(R.value);
|
|
2574
|
+
} catch (R) {
|
|
2575
|
+
Fe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2576
|
+
e: R
|
|
2577
2577
|
});
|
|
2578
2578
|
return;
|
|
2579
2579
|
}
|
|
2580
|
-
}, xi = (e) =>
|
|
2580
|
+
}, xi = (e) => Ie() ? Qr(e) : yi(e);
|
|
2581
2581
|
function et({
|
|
2582
2582
|
code: e,
|
|
2583
2583
|
context: t,
|
|
@@ -2588,7 +2588,7 @@ function et({
|
|
|
2588
2588
|
isExpression: s = !0
|
|
2589
2589
|
}) {
|
|
2590
2590
|
if (e === "") {
|
|
2591
|
-
|
|
2591
|
+
Fe.warn("Skipping evaluation of empty code block.");
|
|
2592
2592
|
return;
|
|
2593
2593
|
}
|
|
2594
2594
|
const u = {
|
|
@@ -2605,7 +2605,7 @@ function et({
|
|
|
2605
2605
|
try {
|
|
2606
2606
|
return xi(u);
|
|
2607
2607
|
} catch (f) {
|
|
2608
|
-
|
|
2608
|
+
Fe.error("Failed code evaluation: " + f.message, {
|
|
2609
2609
|
code: e
|
|
2610
2610
|
});
|
|
2611
2611
|
return;
|
|
@@ -2630,14 +2630,14 @@ const bi = ({
|
|
|
2630
2630
|
}
|
|
2631
2631
|
};
|
|
2632
2632
|
for (const u in e.bindings) {
|
|
2633
|
-
const f = e.bindings[u],
|
|
2633
|
+
const f = e.bindings[u], g = et({
|
|
2634
2634
|
code: f,
|
|
2635
2635
|
localState: r,
|
|
2636
2636
|
rootState: n,
|
|
2637
2637
|
rootSetState: i,
|
|
2638
2638
|
context: t
|
|
2639
2639
|
});
|
|
2640
|
-
pr(s, u,
|
|
2640
|
+
pr(s, u, g);
|
|
2641
2641
|
}
|
|
2642
2642
|
return s;
|
|
2643
2643
|
};
|
|
@@ -2658,7 +2658,7 @@ function ft({
|
|
|
2658
2658
|
context: t
|
|
2659
2659
|
}) : s;
|
|
2660
2660
|
}
|
|
2661
|
-
const Si = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"],
|
|
2661
|
+
const Si = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Lt = (e) => typeof e == "string" && Si.includes(e.toLowerCase()), wi = ({
|
|
2662
2662
|
block: e,
|
|
2663
2663
|
context: t,
|
|
2664
2664
|
registeredComponents: r
|
|
@@ -2700,15 +2700,15 @@ const Si = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2700
2700
|
if (!Array.isArray(i))
|
|
2701
2701
|
return;
|
|
2702
2702
|
const a = r.collection.split(".").pop(), s = r.itemName || (a ? a + "Item" : "item");
|
|
2703
|
-
return i.map((f,
|
|
2703
|
+
return i.map((f, g) => ({
|
|
2704
2704
|
context: {
|
|
2705
2705
|
...t,
|
|
2706
2706
|
localState: {
|
|
2707
2707
|
...t.localState,
|
|
2708
|
-
$index:
|
|
2708
|
+
$index: g,
|
|
2709
2709
|
$item: f,
|
|
2710
2710
|
[s]: f,
|
|
2711
|
-
[`$${s}Index`]:
|
|
2711
|
+
[`$${s}Index`]: g
|
|
2712
2712
|
}
|
|
2713
2713
|
},
|
|
2714
2714
|
block: n
|
|
@@ -2759,7 +2759,7 @@ const Si = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2759
2759
|
if (typeof n == "string")
|
|
2760
2760
|
return `${Ci(r)}: ${n};`;
|
|
2761
2761
|
}).filter(Ht), Ei = (e) => wr(e).join(`
|
|
2762
|
-
`),
|
|
2762
|
+
`), $t = ({
|
|
2763
2763
|
mediaQuery: e,
|
|
2764
2764
|
className: t,
|
|
2765
2765
|
styles: r
|
|
@@ -2772,7 +2772,7 @@ const Si = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2772
2772
|
}` : n;
|
|
2773
2773
|
};
|
|
2774
2774
|
function gt(e) {
|
|
2775
|
-
return /* @__PURE__ */
|
|
2775
|
+
return /* @__PURE__ */ p("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
|
|
2776
2776
|
}
|
|
2777
2777
|
function dn(e) {
|
|
2778
2778
|
function t() {
|
|
@@ -2787,7 +2787,7 @@ function dn(e) {
|
|
|
2787
2787
|
return Ht(n.hide) ? !n.hide : Ht(n.show) ? n.show : !0;
|
|
2788
2788
|
}
|
|
2789
2789
|
function r() {
|
|
2790
|
-
var
|
|
2790
|
+
var R;
|
|
2791
2791
|
const n = ft({
|
|
2792
2792
|
block: e.block,
|
|
2793
2793
|
localState: e.context.localState,
|
|
@@ -2796,31 +2796,31 @@ function dn(e) {
|
|
|
2796
2796
|
context: e.context.context,
|
|
2797
2797
|
shouldEvaluateBindings: !0
|
|
2798
2798
|
}), i = n.responsiveStyles, a = e.context.content, s = Sr(
|
|
2799
|
-
((
|
|
2800
|
-
), u = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium,
|
|
2801
|
-
if (!
|
|
2799
|
+
((R = a == null ? void 0 : a.meta) == null ? void 0 : R.breakpoints) || {}
|
|
2800
|
+
), u = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium, g = i == null ? void 0 : i.small, v = n.id;
|
|
2801
|
+
if (!v)
|
|
2802
2802
|
return "";
|
|
2803
|
-
const
|
|
2804
|
-
className:
|
|
2803
|
+
const b = u ? $t({
|
|
2804
|
+
className: v,
|
|
2805
2805
|
styles: u
|
|
2806
|
-
}) : "",
|
|
2807
|
-
className:
|
|
2806
|
+
}) : "", _ = f ? $t({
|
|
2807
|
+
className: v,
|
|
2808
2808
|
styles: f,
|
|
2809
2809
|
mediaQuery: er(
|
|
2810
2810
|
"medium",
|
|
2811
2811
|
s
|
|
2812
2812
|
)
|
|
2813
|
-
}) : "",
|
|
2814
|
-
className:
|
|
2815
|
-
styles:
|
|
2813
|
+
}) : "", W = g ? $t({
|
|
2814
|
+
className: v,
|
|
2815
|
+
styles: g,
|
|
2816
2816
|
mediaQuery: er(
|
|
2817
2817
|
"small",
|
|
2818
2818
|
s
|
|
2819
2819
|
)
|
|
2820
2820
|
}) : "";
|
|
2821
|
-
return [
|
|
2821
|
+
return [b, _, W].join(" ");
|
|
2822
2822
|
}
|
|
2823
|
-
return /* @__PURE__ */
|
|
2823
|
+
return /* @__PURE__ */ p(P, { children: r() && t() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: r() }) }) : null });
|
|
2824
2824
|
}
|
|
2825
2825
|
function Ii(e) {
|
|
2826
2826
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -2890,9 +2890,9 @@ function Oi(e) {
|
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
2892
|
function tr(e) {
|
|
2893
|
-
return /* @__PURE__ */ Z(
|
|
2893
|
+
return /* @__PURE__ */ Z(P, { children: [
|
|
2894
2894
|
" ",
|
|
2895
|
-
e.hasChildren ? /* @__PURE__ */
|
|
2895
|
+
e.hasChildren ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
|
|
2896
2896
|
e.Wrapper,
|
|
2897
2897
|
{
|
|
2898
2898
|
...ht({
|
|
@@ -2913,7 +2913,7 @@ function tr(e) {
|
|
|
2913
2913
|
" "
|
|
2914
2914
|
]
|
|
2915
2915
|
}
|
|
2916
|
-
) }) : /* @__PURE__ */
|
|
2916
|
+
) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
2917
2917
|
e.Wrapper,
|
|
2918
2918
|
{
|
|
2919
2919
|
...ht({
|
|
@@ -2934,7 +2934,7 @@ function tr(e) {
|
|
|
2934
2934
|
] });
|
|
2935
2935
|
}
|
|
2936
2936
|
function Pi(e) {
|
|
2937
|
-
return /* @__PURE__ */
|
|
2937
|
+
return /* @__PURE__ */ p(
|
|
2938
2938
|
e.Wrapper,
|
|
2939
2939
|
{
|
|
2940
2940
|
...e.wrapperProps,
|
|
@@ -2983,10 +2983,10 @@ const Ni = ({
|
|
|
2983
2983
|
};
|
|
2984
2984
|
function nr(e) {
|
|
2985
2985
|
var n, i;
|
|
2986
|
-
const [t, r] =
|
|
2986
|
+
const [t, r] = $(
|
|
2987
2987
|
() => e.isInteractive ? Pi : e.componentRef
|
|
2988
2988
|
);
|
|
2989
|
-
return /* @__PURE__ */
|
|
2989
|
+
return /* @__PURE__ */ p(P, { children: e.componentRef ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
|
|
2990
2990
|
t,
|
|
2991
2991
|
{
|
|
2992
2992
|
...Ni({
|
|
@@ -2999,8 +2999,8 @@ function nr(e) {
|
|
|
2999
2999
|
contextValue: e.context
|
|
3000
3000
|
}),
|
|
3001
3001
|
children: [
|
|
3002
|
-
(n = e.blockChildren) == null ? void 0 : n.map((a) => /* @__PURE__ */
|
|
3003
|
-
|
|
3002
|
+
(n = e.blockChildren) == null ? void 0 : n.map((a) => /* @__PURE__ */ p(
|
|
3003
|
+
vt,
|
|
3004
3004
|
{
|
|
3005
3005
|
block: a,
|
|
3006
3006
|
context: e.context,
|
|
@@ -3008,7 +3008,7 @@ function nr(e) {
|
|
|
3008
3008
|
},
|
|
3009
3009
|
"block-" + a.id
|
|
3010
3010
|
)),
|
|
3011
|
-
(i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */
|
|
3011
|
+
(i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ p(
|
|
3012
3012
|
dn,
|
|
3013
3013
|
{
|
|
3014
3014
|
block: a,
|
|
@@ -3021,9 +3021,9 @@ function nr(e) {
|
|
|
3021
3021
|
) }) : null });
|
|
3022
3022
|
}
|
|
3023
3023
|
function Mi(e) {
|
|
3024
|
-
const [t, r] =
|
|
3025
|
-
return /* @__PURE__ */
|
|
3026
|
-
|
|
3024
|
+
const [t, r] = $(() => e.repeatContext);
|
|
3025
|
+
return /* @__PURE__ */ p(Zt.Provider, { value: t, children: /* @__PURE__ */ p(
|
|
3026
|
+
vt,
|
|
3027
3027
|
{
|
|
3028
3028
|
block: e.block,
|
|
3029
3029
|
context: t,
|
|
@@ -3031,8 +3031,8 @@ function Mi(e) {
|
|
|
3031
3031
|
}
|
|
3032
3032
|
) });
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3035
|
-
var
|
|
3034
|
+
function vt(e) {
|
|
3035
|
+
var v, b, _, W;
|
|
3036
3036
|
function t() {
|
|
3037
3037
|
return wi({
|
|
3038
3038
|
block: e.block,
|
|
@@ -3063,30 +3063,30 @@ function yt(e) {
|
|
|
3063
3063
|
return "hide" in n() ? !n().hide : "show" in n() ? n().show : !0;
|
|
3064
3064
|
}
|
|
3065
3065
|
function s() {
|
|
3066
|
-
var
|
|
3067
|
-
return !((
|
|
3066
|
+
var M;
|
|
3067
|
+
return !((M = t == null ? void 0 : t()) != null && M.component) && !r() ? n().children ?? [] : [];
|
|
3068
3068
|
}
|
|
3069
3069
|
function u() {
|
|
3070
|
-
var
|
|
3070
|
+
var R, M, H, G, y;
|
|
3071
3071
|
return {
|
|
3072
3072
|
blockChildren: n().children ?? [],
|
|
3073
|
-
componentRef: (
|
|
3073
|
+
componentRef: (R = t == null ? void 0 : t()) == null ? void 0 : R.component,
|
|
3074
3074
|
componentOptions: {
|
|
3075
|
-
...
|
|
3075
|
+
...Jr(n()),
|
|
3076
3076
|
builderContext: e.context,
|
|
3077
|
-
...((
|
|
3077
|
+
...((M = t == null ? void 0 : t()) == null ? void 0 : M.name) === "Symbol" || ((H = t == null ? void 0 : t()) == null ? void 0 : H.name) === "Columns" ? {
|
|
3078
3078
|
builderComponents: e.registeredComponents
|
|
3079
3079
|
} : {}
|
|
3080
3080
|
},
|
|
3081
3081
|
context: f,
|
|
3082
3082
|
registeredComponents: e.registeredComponents,
|
|
3083
3083
|
builderBlock: n(),
|
|
3084
|
-
includeBlockProps: ((
|
|
3085
|
-
isInteractive: !((
|
|
3084
|
+
includeBlockProps: ((G = t == null ? void 0 : t()) == null ? void 0 : G.noWrap) === !0,
|
|
3085
|
+
isInteractive: !((y = t == null ? void 0 : t()) != null && y.isRSC)
|
|
3086
3086
|
};
|
|
3087
3087
|
}
|
|
3088
|
-
const [f,
|
|
3089
|
-
return /* @__PURE__ */
|
|
3088
|
+
const [f, g] = $(() => e.context);
|
|
3089
|
+
return /* @__PURE__ */ p(P, { children: a() ? /* @__PURE__ */ p(P, { children: (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
3090
3090
|
nr,
|
|
3091
3091
|
{
|
|
3092
3092
|
componentRef: u().componentRef,
|
|
@@ -3098,8 +3098,8 @@ function yt(e) {
|
|
|
3098
3098
|
includeBlockProps: u().includeBlockProps,
|
|
3099
3099
|
isInteractive: u().isInteractive
|
|
3100
3100
|
}
|
|
3101
|
-
) }) : /* @__PURE__ */ Z(
|
|
3102
|
-
|
|
3101
|
+
) }) : /* @__PURE__ */ Z(P, { children: [
|
|
3102
|
+
Lt(i()) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
3103
3103
|
tr,
|
|
3104
3104
|
{
|
|
3105
3105
|
Wrapper: i(),
|
|
@@ -3108,16 +3108,16 @@ function yt(e) {
|
|
|
3108
3108
|
hasChildren: !1
|
|
3109
3109
|
}
|
|
3110
3110
|
) }) : null,
|
|
3111
|
-
!
|
|
3111
|
+
!Lt(i()) && r() ? /* @__PURE__ */ p(P, { children: (b = r()) == null ? void 0 : b.map((R, M) => /* @__PURE__ */ p(
|
|
3112
3112
|
Mi,
|
|
3113
3113
|
{
|
|
3114
|
-
repeatContext:
|
|
3115
|
-
block:
|
|
3114
|
+
repeatContext: R.context,
|
|
3115
|
+
block: R.block,
|
|
3116
3116
|
registeredComponents: e.registeredComponents
|
|
3117
3117
|
},
|
|
3118
|
-
|
|
3118
|
+
M
|
|
3119
3119
|
)) }) : null,
|
|
3120
|
-
!
|
|
3120
|
+
!Lt(i()) && !r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
|
|
3121
3121
|
tr,
|
|
3122
3122
|
{
|
|
3123
3123
|
Wrapper: i(),
|
|
@@ -3125,7 +3125,7 @@ function yt(e) {
|
|
|
3125
3125
|
context: e.context,
|
|
3126
3126
|
hasChildren: !0,
|
|
3127
3127
|
children: [
|
|
3128
|
-
/* @__PURE__ */
|
|
3128
|
+
/* @__PURE__ */ p(
|
|
3129
3129
|
nr,
|
|
3130
3130
|
{
|
|
3131
3131
|
componentRef: u().componentRef,
|
|
@@ -3138,22 +3138,22 @@ function yt(e) {
|
|
|
3138
3138
|
isInteractive: u().isInteractive
|
|
3139
3139
|
}
|
|
3140
3140
|
),
|
|
3141
|
-
(
|
|
3142
|
-
|
|
3141
|
+
(_ = s()) == null ? void 0 : _.map((R) => /* @__PURE__ */ p(
|
|
3142
|
+
vt,
|
|
3143
3143
|
{
|
|
3144
|
-
block:
|
|
3144
|
+
block: R,
|
|
3145
3145
|
context: f,
|
|
3146
3146
|
registeredComponents: e.registeredComponents
|
|
3147
3147
|
},
|
|
3148
|
-
"block-" +
|
|
3148
|
+
"block-" + R.id
|
|
3149
3149
|
)),
|
|
3150
|
-
(
|
|
3150
|
+
(W = s()) == null ? void 0 : W.map((R) => /* @__PURE__ */ p(
|
|
3151
3151
|
dn,
|
|
3152
3152
|
{
|
|
3153
|
-
block:
|
|
3153
|
+
block: R,
|
|
3154
3154
|
context: f
|
|
3155
3155
|
},
|
|
3156
|
-
"block-style-" +
|
|
3156
|
+
"block-style-" + R.id
|
|
3157
3157
|
))
|
|
3158
3158
|
]
|
|
3159
3159
|
}
|
|
@@ -3167,7 +3167,7 @@ function Fi(e) {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
function r() {
|
|
3169
3169
|
var i, a;
|
|
3170
|
-
|
|
3170
|
+
Ee() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
|
|
3171
3171
|
{
|
|
3172
3172
|
type: "builder.clickEmptyBlocks",
|
|
3173
3173
|
data: {
|
|
@@ -3180,7 +3180,7 @@ function Fi(e) {
|
|
|
3180
3180
|
}
|
|
3181
3181
|
function n() {
|
|
3182
3182
|
var i, a;
|
|
3183
|
-
|
|
3183
|
+
Ee() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
|
|
3184
3184
|
{
|
|
3185
3185
|
type: "builder.hoverEmptyBlocks",
|
|
3186
3186
|
data: {
|
|
@@ -3191,8 +3191,8 @@ function Fi(e) {
|
|
|
3191
3191
|
"*"
|
|
3192
3192
|
));
|
|
3193
3193
|
}
|
|
3194
|
-
return /* @__PURE__ */ Z(
|
|
3195
|
-
/* @__PURE__ */
|
|
3194
|
+
return /* @__PURE__ */ Z(P, { children: [
|
|
3195
|
+
/* @__PURE__ */ p(
|
|
3196
3196
|
"div",
|
|
3197
3197
|
{
|
|
3198
3198
|
className: t() + " div-02c7a115",
|
|
@@ -3205,7 +3205,7 @@ function Fi(e) {
|
|
|
3205
3205
|
children: e.children
|
|
3206
3206
|
}
|
|
3207
3207
|
),
|
|
3208
|
-
/* @__PURE__ */
|
|
3208
|
+
/* @__PURE__ */ p("style", { children: `.div-02c7a115 {
|
|
3209
3209
|
display: flex;
|
|
3210
3210
|
flex-direction: column;
|
|
3211
3211
|
align-items: stretch;
|
|
@@ -3223,8 +3223,8 @@ function fn(e) {
|
|
|
3223
3223
|
path: e.path,
|
|
3224
3224
|
styleProp: e.styleProp,
|
|
3225
3225
|
children: [
|
|
3226
|
-
e.blocks ? /* @__PURE__ */
|
|
3227
|
-
|
|
3226
|
+
e.blocks ? /* @__PURE__ */ p(P, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ p(
|
|
3227
|
+
vt,
|
|
3228
3228
|
{
|
|
3229
3229
|
block: a,
|
|
3230
3230
|
context: e.context || t,
|
|
@@ -3232,7 +3232,7 @@ function fn(e) {
|
|
|
3232
3232
|
},
|
|
3233
3233
|
"render-block-" + a.id
|
|
3234
3234
|
)) }) : null,
|
|
3235
|
-
e.blocks ? /* @__PURE__ */
|
|
3235
|
+
e.blocks ? /* @__PURE__ */ p(P, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ p(
|
|
3236
3236
|
dn,
|
|
3237
3237
|
{
|
|
3238
3238
|
block: a,
|
|
@@ -3245,76 +3245,76 @@ function fn(e) {
|
|
|
3245
3245
|
);
|
|
3246
3246
|
}
|
|
3247
3247
|
function Ui(e) {
|
|
3248
|
-
var
|
|
3249
|
-
const [t, r] =
|
|
3248
|
+
var G;
|
|
3249
|
+
const [t, r] = $(
|
|
3250
3250
|
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
3251
|
-
), [n, i] =
|
|
3251
|
+
), [n, i] = $(() => e.columns || []), [a, s] = $(
|
|
3252
3252
|
() => e.stackColumnsAt || "tablet"
|
|
3253
3253
|
);
|
|
3254
|
-
function u(
|
|
3254
|
+
function u(y) {
|
|
3255
3255
|
var K;
|
|
3256
|
-
return ((K = n[
|
|
3256
|
+
return ((K = n[y]) == null ? void 0 : K.width) || 100 / n.length;
|
|
3257
3257
|
}
|
|
3258
|
-
function f(
|
|
3258
|
+
function f(y) {
|
|
3259
3259
|
const K = t * (n.length - 1) / n.length;
|
|
3260
|
-
return `calc(${u(
|
|
3260
|
+
return `calc(${u(y)}% - ${K}px)`;
|
|
3261
3261
|
}
|
|
3262
|
-
function
|
|
3263
|
-
stackedStyle:
|
|
3262
|
+
function g({
|
|
3263
|
+
stackedStyle: y,
|
|
3264
3264
|
desktopStyle: K
|
|
3265
3265
|
}) {
|
|
3266
|
-
return a === "tablet" ?
|
|
3266
|
+
return a === "tablet" ? y : K;
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3269
|
-
stackedStyle:
|
|
3268
|
+
function v({
|
|
3269
|
+
stackedStyle: y,
|
|
3270
3270
|
desktopStyle: K
|
|
3271
3271
|
}) {
|
|
3272
|
-
return a === "never" ? K :
|
|
3272
|
+
return a === "never" ? K : y;
|
|
3273
3273
|
}
|
|
3274
|
-
const [
|
|
3274
|
+
const [b, _] = $(
|
|
3275
3275
|
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
3276
3276
|
);
|
|
3277
|
-
function
|
|
3277
|
+
function W() {
|
|
3278
3278
|
return {
|
|
3279
|
-
"--flex-dir":
|
|
3280
|
-
"--flex-dir-tablet":
|
|
3281
|
-
stackedStyle:
|
|
3279
|
+
"--flex-dir": b,
|
|
3280
|
+
"--flex-dir-tablet": g({
|
|
3281
|
+
stackedStyle: b,
|
|
3282
3282
|
desktopStyle: "row"
|
|
3283
3283
|
})
|
|
3284
3284
|
};
|
|
3285
3285
|
}
|
|
3286
|
-
function
|
|
3287
|
-
const K =
|
|
3286
|
+
function R(y) {
|
|
3287
|
+
const K = y === 0 ? 0 : t, ae = f(y), se = `${K}px`, L = "100%", te = 0;
|
|
3288
3288
|
return {
|
|
3289
3289
|
width: ae,
|
|
3290
3290
|
["marginLeft"]: se,
|
|
3291
|
-
"--column-width-mobile":
|
|
3292
|
-
stackedStyle:
|
|
3291
|
+
"--column-width-mobile": v({
|
|
3292
|
+
stackedStyle: L,
|
|
3293
3293
|
desktopStyle: ae
|
|
3294
3294
|
}),
|
|
3295
|
-
"--column-margin-left-mobile":
|
|
3296
|
-
stackedStyle:
|
|
3295
|
+
"--column-margin-left-mobile": v({
|
|
3296
|
+
stackedStyle: te,
|
|
3297
3297
|
desktopStyle: se
|
|
3298
3298
|
}),
|
|
3299
|
-
"--column-width-tablet":
|
|
3300
|
-
stackedStyle:
|
|
3299
|
+
"--column-width-tablet": g({
|
|
3300
|
+
stackedStyle: L,
|
|
3301
3301
|
desktopStyle: ae
|
|
3302
3302
|
}),
|
|
3303
|
-
"--column-margin-left-tablet":
|
|
3304
|
-
stackedStyle:
|
|
3303
|
+
"--column-margin-left-tablet": g({
|
|
3304
|
+
stackedStyle: te,
|
|
3305
3305
|
desktopStyle: se
|
|
3306
3306
|
})
|
|
3307
3307
|
};
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function M(y) {
|
|
3310
3310
|
var ae, se;
|
|
3311
3311
|
return Sr(
|
|
3312
3312
|
((se = (ae = e.builderContext.content) == null ? void 0 : ae.meta) == null ? void 0 : se.breakpoints) || {}
|
|
3313
|
-
)[
|
|
3313
|
+
)[y].max;
|
|
3314
3314
|
}
|
|
3315
|
-
function
|
|
3315
|
+
function H() {
|
|
3316
3316
|
return `
|
|
3317
|
-
@media (max-width: ${
|
|
3317
|
+
@media (max-width: ${M("medium")}px) {
|
|
3318
3318
|
.${e.builderBlock.id}-breakpoints {
|
|
3319
3319
|
flex-direction: var(--flex-dir-tablet);
|
|
3320
3320
|
align-items: stretch;
|
|
@@ -3326,7 +3326,7 @@ function Ui(e) {
|
|
|
3326
3326
|
}
|
|
3327
3327
|
}
|
|
3328
3328
|
|
|
3329
|
-
@media (max-width: ${
|
|
3329
|
+
@media (max-width: ${M("small")}px) {
|
|
3330
3330
|
.${e.builderBlock.id}-breakpoints {
|
|
3331
3331
|
flex-direction: var(--flex-dir);
|
|
3332
3332
|
align-items: stretch;
|
|
@@ -3339,22 +3339,22 @@ function Ui(e) {
|
|
|
3339
3339
|
},
|
|
3340
3340
|
`;
|
|
3341
3341
|
}
|
|
3342
|
-
return /* @__PURE__ */ Z(
|
|
3342
|
+
return /* @__PURE__ */ Z(P, { children: [
|
|
3343
3343
|
/* @__PURE__ */ Z(
|
|
3344
3344
|
"div",
|
|
3345
3345
|
{
|
|
3346
3346
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-53636e90`,
|
|
3347
|
-
style:
|
|
3347
|
+
style: W(),
|
|
3348
3348
|
children: [
|
|
3349
|
-
/* @__PURE__ */
|
|
3350
|
-
(
|
|
3349
|
+
/* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: H() }) }),
|
|
3350
|
+
(G = e.columns) == null ? void 0 : G.map((y, K) => /* @__PURE__ */ ur(
|
|
3351
3351
|
"div",
|
|
3352
3352
|
{
|
|
3353
3353
|
className: "builder-column div-53636e90-2",
|
|
3354
|
-
style:
|
|
3354
|
+
style: R(K),
|
|
3355
3355
|
key: K
|
|
3356
3356
|
},
|
|
3357
|
-
/* @__PURE__ */
|
|
3357
|
+
/* @__PURE__ */ p(
|
|
3358
3358
|
fn,
|
|
3359
3359
|
{
|
|
3360
3360
|
path: `component.options.columns.${K}.blocks`,
|
|
@@ -3364,14 +3364,14 @@ function Ui(e) {
|
|
|
3364
3364
|
},
|
|
3365
3365
|
context: e.builderContext,
|
|
3366
3366
|
registeredComponents: e.builderComponents,
|
|
3367
|
-
blocks:
|
|
3367
|
+
blocks: y.blocks
|
|
3368
3368
|
}
|
|
3369
3369
|
)
|
|
3370
3370
|
))
|
|
3371
3371
|
]
|
|
3372
3372
|
}
|
|
3373
3373
|
),
|
|
3374
|
-
/* @__PURE__ */
|
|
3374
|
+
/* @__PURE__ */ p("style", { children: `.div-53636e90 {
|
|
3375
3375
|
display: flex;
|
|
3376
3376
|
line-height: normal;
|
|
3377
3377
|
}.div-53636e90-2 {
|
|
@@ -3382,7 +3382,7 @@ function Ui(e) {
|
|
|
3382
3382
|
] });
|
|
3383
3383
|
}
|
|
3384
3384
|
function Bi(e) {
|
|
3385
|
-
return /* @__PURE__ */
|
|
3385
|
+
return /* @__PURE__ */ p("span", { children: e.children });
|
|
3386
3386
|
}
|
|
3387
3387
|
function rr(e) {
|
|
3388
3388
|
return e.replace(/http(s)?:/, "");
|
|
@@ -3391,7 +3391,7 @@ function _i(e = "", t, r) {
|
|
|
3391
3391
|
const n = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
|
|
3392
3392
|
return e.match(n) ? e.replace(n, "$1" + t + "=" + encodeURIComponent(r) + "$2") : e + i + t + "=" + encodeURIComponent(r);
|
|
3393
3393
|
}
|
|
3394
|
-
function
|
|
3394
|
+
function Di(e, t) {
|
|
3395
3395
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
3396
3396
|
return e;
|
|
3397
3397
|
if (t === "master")
|
|
@@ -3412,23 +3412,23 @@ function Wt(e) {
|
|
|
3412
3412
|
const n = Number(e.split("?width=")[1]);
|
|
3413
3413
|
return isNaN(n) || (r = `${r} ${n}w`), t.filter((i) => i !== n).map((i) => `${_i(e, "width", i)} ${i}w`).concat([r]).join(", ");
|
|
3414
3414
|
}
|
|
3415
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((r) => [
|
|
3415
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((r) => [Di(e, `${r}x${r}`), r]).filter(([r]) => !!r).map(([r, n]) => `${r} ${n}w`).concat([e]).join(", ") : e;
|
|
3416
3416
|
}
|
|
3417
|
-
function
|
|
3417
|
+
function Vi(e) {
|
|
3418
3418
|
var i, a, s, u;
|
|
3419
3419
|
function t() {
|
|
3420
|
-
var
|
|
3421
|
-
const
|
|
3422
|
-
if (!
|
|
3420
|
+
var v;
|
|
3421
|
+
const g = e.image || e.src;
|
|
3422
|
+
if (!g || // We can auto add srcset for cdn.builder.io and shopify
|
|
3423
3423
|
// images, otherwise you can supply this prop manually
|
|
3424
|
-
!(
|
|
3424
|
+
!(g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/)))
|
|
3425
3425
|
return e.srcset;
|
|
3426
|
-
if (e.srcset && ((
|
|
3426
|
+
if (e.srcset && ((v = e.image) != null && v.includes("builder.io/api/v1/image"))) {
|
|
3427
3427
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
3428
|
-
return console.debug("Removed given srcset"), Wt(
|
|
3428
|
+
return console.debug("Removed given srcset"), Wt(g);
|
|
3429
3429
|
} else if (e.image && !e.srcset)
|
|
3430
|
-
return Wt(
|
|
3431
|
-
return Wt(
|
|
3430
|
+
return Wt(g);
|
|
3431
|
+
return Wt(g);
|
|
3432
3432
|
}
|
|
3433
3433
|
function r() {
|
|
3434
3434
|
var f;
|
|
@@ -3444,11 +3444,11 @@ function $i(e) {
|
|
|
3444
3444
|
};
|
|
3445
3445
|
return e.aspectRatio ? f : void 0;
|
|
3446
3446
|
}
|
|
3447
|
-
return /* @__PURE__ */ Z(
|
|
3448
|
-
/* @__PURE__ */ Z(
|
|
3447
|
+
return /* @__PURE__ */ Z(P, { children: [
|
|
3448
|
+
/* @__PURE__ */ Z(P, { children: [
|
|
3449
3449
|
/* @__PURE__ */ Z("picture", { children: [
|
|
3450
|
-
r() ? /* @__PURE__ */
|
|
3451
|
-
/* @__PURE__ */
|
|
3450
|
+
r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("source", { type: "image/webp", srcSet: r() }) }) : null,
|
|
3451
|
+
/* @__PURE__ */ p(
|
|
3452
3452
|
"img",
|
|
3453
3453
|
{
|
|
3454
3454
|
loading: "lazy",
|
|
@@ -3466,7 +3466,7 @@ function $i(e) {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
)
|
|
3468
3468
|
] }),
|
|
3469
|
-
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */
|
|
3469
|
+
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
3470
3470
|
"div",
|
|
3471
3471
|
{
|
|
3472
3472
|
className: "builder-image-sizer div-dbab4030",
|
|
@@ -3475,10 +3475,10 @@ function $i(e) {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
) }) : null,
|
|
3478
|
-
(u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */
|
|
3479
|
-
!e.fitContent && e.children ? /* @__PURE__ */
|
|
3478
|
+
(u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: e.children }) : null,
|
|
3479
|
+
!e.fitContent && e.children ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("div", { className: "div-dbab4030-2", children: e.children }) }) : null
|
|
3480
3480
|
] }),
|
|
3481
|
-
/* @__PURE__ */
|
|
3481
|
+
/* @__PURE__ */ p("style", { children: `.img-dbab4030 {
|
|
3482
3482
|
opacity: 1;
|
|
3483
3483
|
transition: opacity 0.2s ease-in-out;
|
|
3484
3484
|
}.div-dbab4030 {
|
|
@@ -3497,8 +3497,8 @@ function $i(e) {
|
|
|
3497
3497
|
}` })
|
|
3498
3498
|
] });
|
|
3499
3499
|
}
|
|
3500
|
-
function
|
|
3501
|
-
return /* @__PURE__ */
|
|
3500
|
+
function Li(e) {
|
|
3501
|
+
return /* @__PURE__ */ p(
|
|
3502
3502
|
"section",
|
|
3503
3503
|
{
|
|
3504
3504
|
...e.attributes,
|
|
@@ -3518,7 +3518,7 @@ function Vi(e) {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
);
|
|
3520
3520
|
}
|
|
3521
|
-
const
|
|
3521
|
+
const $i = {
|
|
3522
3522
|
name: "Core:Button",
|
|
3523
3523
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
3524
3524
|
defaultStyles: {
|
|
@@ -3776,35 +3776,35 @@ const Di = {
|
|
|
3776
3776
|
}]
|
|
3777
3777
|
};
|
|
3778
3778
|
function Ki(e) {
|
|
3779
|
-
const t =
|
|
3780
|
-
return
|
|
3779
|
+
const t = Jt(null), [r, n] = $(() => []), [i, a] = $(() => []);
|
|
3780
|
+
return ee(() => {
|
|
3781
3781
|
var u;
|
|
3782
3782
|
if (!((u = t.current) != null && u.getElementsByTagName) || typeof window > "u")
|
|
3783
3783
|
return;
|
|
3784
3784
|
const s = t.current.getElementsByTagName("script");
|
|
3785
3785
|
for (let f = 0; f < s.length; f++) {
|
|
3786
|
-
const
|
|
3787
|
-
if (
|
|
3788
|
-
if (r.includes(
|
|
3786
|
+
const g = s[f];
|
|
3787
|
+
if (g.src) {
|
|
3788
|
+
if (r.includes(g.src))
|
|
3789
3789
|
continue;
|
|
3790
|
-
r.push(
|
|
3791
|
-
const
|
|
3792
|
-
|
|
3793
|
-
} else if (!
|
|
3790
|
+
r.push(g.src);
|
|
3791
|
+
const v = document.createElement("script");
|
|
3792
|
+
v.async = !0, v.src = g.src, document.head.appendChild(v);
|
|
3793
|
+
} else if (!g.type || [
|
|
3794
3794
|
"text/javascript",
|
|
3795
3795
|
"application/javascript",
|
|
3796
3796
|
"application/ecmascript"
|
|
3797
|
-
].includes(
|
|
3798
|
-
if (i.includes(
|
|
3797
|
+
].includes(g.type)) {
|
|
3798
|
+
if (i.includes(g.innerText))
|
|
3799
3799
|
continue;
|
|
3800
3800
|
try {
|
|
3801
|
-
i.push(
|
|
3802
|
-
} catch (
|
|
3803
|
-
console.warn("`CustomCode`: Error running script:",
|
|
3801
|
+
i.push(g.innerText), new Function(g.innerText)();
|
|
3802
|
+
} catch (v) {
|
|
3803
|
+
console.warn("`CustomCode`: Error running script:", v);
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
|
-
}, []), /* @__PURE__ */
|
|
3807
|
+
}, []), /* @__PURE__ */ p(
|
|
3808
3808
|
"div",
|
|
3809
3809
|
{
|
|
3810
3810
|
ref: t,
|
|
@@ -3839,29 +3839,29 @@ const Gi = {
|
|
|
3839
3839
|
hideFromUI: !0
|
|
3840
3840
|
}]
|
|
3841
3841
|
}, zi = ["text/javascript", "application/javascript", "application/ecmascript"], Xi = (e) => zi.includes(e.type);
|
|
3842
|
-
function
|
|
3843
|
-
const t =
|
|
3842
|
+
function Yi(e) {
|
|
3843
|
+
const t = Jt(null), [r, n] = $(() => []), [i, a] = $(() => []), [s, u] = $(() => !1);
|
|
3844
3844
|
function f() {
|
|
3845
3845
|
if (!t.current || !t.current.getElementsByTagName)
|
|
3846
3846
|
return;
|
|
3847
|
-
const
|
|
3848
|
-
for (let
|
|
3849
|
-
const
|
|
3850
|
-
if (
|
|
3851
|
-
r.push(
|
|
3852
|
-
const
|
|
3853
|
-
|
|
3854
|
-
} else if (Xi(
|
|
3847
|
+
const g = t.current.getElementsByTagName("script");
|
|
3848
|
+
for (let v = 0; v < g.length; v++) {
|
|
3849
|
+
const b = g[v];
|
|
3850
|
+
if (b.src && !r.includes(b.src)) {
|
|
3851
|
+
r.push(b.src);
|
|
3852
|
+
const _ = document.createElement("script");
|
|
3853
|
+
_.async = !0, _.src = b.src, document.head.appendChild(_);
|
|
3854
|
+
} else if (Xi(b) && !i.includes(b.innerText))
|
|
3855
3855
|
try {
|
|
3856
|
-
i.push(
|
|
3857
|
-
} catch (
|
|
3858
|
-
console.warn("`Embed`: Error running script:",
|
|
3856
|
+
i.push(b.innerText), new Function(b.innerText)();
|
|
3857
|
+
} catch (_) {
|
|
3858
|
+
console.warn("`Embed`: Error running script:", _);
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
|
-
return
|
|
3862
|
+
return ee(() => {
|
|
3863
3863
|
t.current && !s && (u(!0), f());
|
|
3864
|
-
}, [t.current, s]), /* @__PURE__ */
|
|
3864
|
+
}, [t.current, s]), /* @__PURE__ */ p(
|
|
3865
3865
|
"div",
|
|
3866
3866
|
{
|
|
3867
3867
|
className: "builder-embed",
|
|
@@ -3870,7 +3870,7 @@ function Ji(e) {
|
|
|
3870
3870
|
}
|
|
3871
3871
|
);
|
|
3872
3872
|
}
|
|
3873
|
-
const
|
|
3873
|
+
const Ji = {
|
|
3874
3874
|
name: "Fragment",
|
|
3875
3875
|
static: !0,
|
|
3876
3876
|
hidden: !0,
|
|
@@ -3897,15 +3897,15 @@ const Yi = {
|
|
|
3897
3897
|
onChange: (e) => {
|
|
3898
3898
|
e.delete("srcset"), e.delete("noWebp");
|
|
3899
3899
|
function r(s, u = 6e4) {
|
|
3900
|
-
return new Promise((f,
|
|
3901
|
-
const
|
|
3902
|
-
let
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
},
|
|
3906
|
-
console.warn("Image load failed",
|
|
3907
|
-
}),
|
|
3908
|
-
|
|
3900
|
+
return new Promise((f, g) => {
|
|
3901
|
+
const v = document.createElement("img");
|
|
3902
|
+
let b = !1;
|
|
3903
|
+
v.onload = () => {
|
|
3904
|
+
b = !0, f(v);
|
|
3905
|
+
}, v.addEventListener("error", (_) => {
|
|
3906
|
+
console.warn("Image load failed", _.error), g(_.error);
|
|
3907
|
+
}), v.src = s, setTimeout(() => {
|
|
3908
|
+
b || g(new Error("Image load timed out"));
|
|
3909
3909
|
}, u);
|
|
3910
3910
|
});
|
|
3911
3911
|
}
|
|
@@ -3992,7 +3992,7 @@ const Yi = {
|
|
|
3992
3992
|
static: !0
|
|
3993
3993
|
};
|
|
3994
3994
|
function Qi(e) {
|
|
3995
|
-
return /* @__PURE__ */
|
|
3995
|
+
return /* @__PURE__ */ p(
|
|
3996
3996
|
"img",
|
|
3997
3997
|
{
|
|
3998
3998
|
style: {
|
|
@@ -4003,7 +4003,7 @@ function Qi(e) {
|
|
|
4003
4003
|
src: e.imgSrc || e.image,
|
|
4004
4004
|
...e.attributes
|
|
4005
4005
|
},
|
|
4006
|
-
|
|
4006
|
+
Ee() && e.imgSrc || "default-key"
|
|
4007
4007
|
);
|
|
4008
4008
|
}
|
|
4009
4009
|
const eo = {
|
|
@@ -4099,7 +4099,7 @@ const eo = {
|
|
|
4099
4099
|
};
|
|
4100
4100
|
function ro(e) {
|
|
4101
4101
|
var t;
|
|
4102
|
-
return /* @__PURE__ */
|
|
4102
|
+
return /* @__PURE__ */ p(
|
|
4103
4103
|
"div",
|
|
4104
4104
|
{
|
|
4105
4105
|
className: "builder-text",
|
|
@@ -4193,7 +4193,7 @@ const io = {
|
|
|
4193
4193
|
}]
|
|
4194
4194
|
};
|
|
4195
4195
|
function oo(e) {
|
|
4196
|
-
var n;
|
|
4196
|
+
var n, i, a, s, u, f, g;
|
|
4197
4197
|
function t() {
|
|
4198
4198
|
return {
|
|
4199
4199
|
...e.autoPlay === !0 ? {
|
|
@@ -4215,33 +4215,87 @@ function oo(e) {
|
|
|
4215
4215
|
}
|
|
4216
4216
|
function r() {
|
|
4217
4217
|
return {
|
|
4218
|
-
...e.attributes,
|
|
4219
4218
|
...t()
|
|
4220
4219
|
};
|
|
4221
4220
|
}
|
|
4222
|
-
return /* @__PURE__ */
|
|
4223
|
-
"
|
|
4221
|
+
return /* @__PURE__ */ Z(
|
|
4222
|
+
"div",
|
|
4224
4223
|
{
|
|
4225
|
-
...r(),
|
|
4226
|
-
preload: e.preload || "metadata",
|
|
4227
4224
|
style: {
|
|
4228
|
-
|
|
4229
|
-
height: "100%",
|
|
4230
|
-
...(n = e.attributes) == null ? void 0 : n.style,
|
|
4231
|
-
objectFit: e.fit,
|
|
4232
|
-
objectPosition: e.position,
|
|
4233
|
-
// Hack to get object fit to work as expected and
|
|
4234
|
-
// not have the video overflow
|
|
4235
|
-
borderRadius: 1
|
|
4225
|
+
position: "relative"
|
|
4236
4226
|
},
|
|
4237
|
-
|
|
4238
|
-
|
|
4227
|
+
children: [
|
|
4228
|
+
/* @__PURE__ */ p(
|
|
4229
|
+
"video",
|
|
4230
|
+
{
|
|
4231
|
+
className: "builder-video",
|
|
4232
|
+
...r(),
|
|
4233
|
+
preload: e.preload || "metadata",
|
|
4234
|
+
style: {
|
|
4235
|
+
width: "100%",
|
|
4236
|
+
height: "100%",
|
|
4237
|
+
...(n = e.attributes) == null ? void 0 : n.style,
|
|
4238
|
+
objectFit: e.fit,
|
|
4239
|
+
objectPosition: e.position,
|
|
4240
|
+
// Hack to get object fit to work as expected and
|
|
4241
|
+
// not have the video overflow
|
|
4242
|
+
zIndex: 2,
|
|
4243
|
+
borderRadius: "1px",
|
|
4244
|
+
...e.aspectRatio ? {
|
|
4245
|
+
position: "absolute"
|
|
4246
|
+
} : null
|
|
4247
|
+
},
|
|
4248
|
+
src: e.video || "no-src",
|
|
4249
|
+
poster: e.posterImage,
|
|
4250
|
+
children: e.lazyLoad ? null : /* @__PURE__ */ p("source", { type: "video/mp4", src: e.video })
|
|
4251
|
+
}
|
|
4252
|
+
),
|
|
4253
|
+
e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
4254
|
+
"div",
|
|
4255
|
+
{
|
|
4256
|
+
style: {
|
|
4257
|
+
width: "100%",
|
|
4258
|
+
paddingTop: e.aspectRatio * 100 + "%",
|
|
4259
|
+
pointerEvents: "none",
|
|
4260
|
+
fontSize: "0px"
|
|
4261
|
+
}
|
|
4262
|
+
}
|
|
4263
|
+
) }) : null,
|
|
4264
|
+
(u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
4265
|
+
"div",
|
|
4266
|
+
{
|
|
4267
|
+
style: {
|
|
4268
|
+
display: "flex",
|
|
4269
|
+
flexDirection: "column",
|
|
4270
|
+
alignItems: "stretch"
|
|
4271
|
+
},
|
|
4272
|
+
children: e.children
|
|
4273
|
+
}
|
|
4274
|
+
) }) : null,
|
|
4275
|
+
(g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
4276
|
+
"div",
|
|
4277
|
+
{
|
|
4278
|
+
style: {
|
|
4279
|
+
pointerEvents: "none",
|
|
4280
|
+
display: "flex",
|
|
4281
|
+
flexDirection: "column",
|
|
4282
|
+
alignItems: "stretch",
|
|
4283
|
+
position: "absolute",
|
|
4284
|
+
top: "0",
|
|
4285
|
+
left: "0",
|
|
4286
|
+
width: "100%",
|
|
4287
|
+
height: "100%"
|
|
4288
|
+
},
|
|
4289
|
+
children: e.children
|
|
4290
|
+
}
|
|
4291
|
+
) }) : null
|
|
4292
|
+
]
|
|
4239
4293
|
}
|
|
4240
4294
|
);
|
|
4241
4295
|
}
|
|
4242
4296
|
const ir = () => [{
|
|
4243
|
-
component:
|
|
4244
|
-
|
|
4297
|
+
component: Yr,
|
|
4298
|
+
...$i
|
|
4245
4299
|
}, {
|
|
4246
4300
|
component: Ui,
|
|
4247
4301
|
...Wi
|
|
@@ -4249,19 +4303,19 @@ const ir = () => [{
|
|
|
4249
4303
|
component: Ki,
|
|
4250
4304
|
...Hi
|
|
4251
4305
|
}, {
|
|
4252
|
-
component:
|
|
4306
|
+
component: Yi,
|
|
4253
4307
|
...Gi
|
|
4254
4308
|
}, {
|
|
4255
4309
|
component: Bi,
|
|
4256
|
-
...
|
|
4310
|
+
...Ji
|
|
4257
4311
|
}, {
|
|
4258
|
-
component:
|
|
4312
|
+
component: Vi,
|
|
4259
4313
|
...qi
|
|
4260
4314
|
}, {
|
|
4261
4315
|
component: Qi,
|
|
4262
4316
|
...Zi
|
|
4263
4317
|
}, {
|
|
4264
|
-
component:
|
|
4318
|
+
component: Li,
|
|
4265
4319
|
...eo
|
|
4266
4320
|
}, {
|
|
4267
4321
|
component: jo,
|
|
@@ -4272,104 +4326,121 @@ const ir = () => [{
|
|
|
4272
4326
|
}, {
|
|
4273
4327
|
component: oo,
|
|
4274
4328
|
...io
|
|
4275
|
-
}],
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
function so(e, t, r) {
|
|
4284
|
-
var s;
|
|
4285
|
-
function n() {
|
|
4286
|
-
function u(C, I, L) {
|
|
4287
|
-
let V = "";
|
|
4288
|
-
if (L) {
|
|
4289
|
-
const v = /* @__PURE__ */ new Date();
|
|
4290
|
-
v.setTime(v.getTime() + L * 24 * 60 * 60 * 1e3), V = "; expires=" + v.toUTCString();
|
|
4329
|
+
}], ao = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
4330
|
+
function getAndSetVariantId() {
|
|
4331
|
+
function setCookie(name, value, days) {
|
|
4332
|
+
let expires = '';
|
|
4333
|
+
if (days) {
|
|
4334
|
+
const date = new Date();
|
|
4335
|
+
date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
|
|
4336
|
+
expires = '; expires=' + date.toUTCString();
|
|
4291
4337
|
}
|
|
4292
|
-
document.cookie =
|
|
4338
|
+
document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';
|
|
4293
4339
|
}
|
|
4294
|
-
function
|
|
4295
|
-
const
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
if (
|
|
4301
|
-
return v.substring(I.length, v.length);
|
|
4340
|
+
function getCookie(name) {
|
|
4341
|
+
const nameEQ = name + '=';
|
|
4342
|
+
const ca = document.cookie.split(';');
|
|
4343
|
+
for (let i = 0; i < ca.length; i++) {
|
|
4344
|
+
let c = ca[i];
|
|
4345
|
+
while (c.charAt(0) === ' ') c = c.substring(1, c.length);
|
|
4346
|
+
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
|
|
4302
4347
|
}
|
|
4303
4348
|
return null;
|
|
4304
4349
|
}
|
|
4305
|
-
const
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
for (let C = 0; C < t.length; C++) {
|
|
4311
|
-
const I = t[C], L = I.testRatio;
|
|
4312
|
-
if (N += L, _ < N)
|
|
4313
|
-
return u(p, I.id), I.id;
|
|
4350
|
+
const cookieName = \`builder.tests.\${contentId}\`;
|
|
4351
|
+
const variantInCookie = getCookie(cookieName);
|
|
4352
|
+
const availableIDs = variants.map(vr => vr.id).concat(contentId);
|
|
4353
|
+
if (variantInCookie && availableIDs.includes(variantInCookie)) {
|
|
4354
|
+
return variantInCookie;
|
|
4314
4355
|
}
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4356
|
+
let n = 0;
|
|
4357
|
+
const random = Math.random();
|
|
4358
|
+
for (let i = 0; i < variants.length; i++) {
|
|
4359
|
+
const variant = variants[i];
|
|
4360
|
+
const testRatio = variant.testRatio;
|
|
4361
|
+
n += testRatio;
|
|
4362
|
+
if (random < n) {
|
|
4363
|
+
setCookie(cookieName, variant.id);
|
|
4364
|
+
return variant.id;
|
|
4365
|
+
}
|
|
4366
|
+
}
|
|
4367
|
+
setCookie(cookieName, contentId);
|
|
4368
|
+
return contentId;
|
|
4369
|
+
}
|
|
4370
|
+
const winningVariantId = getAndSetVariantId();
|
|
4371
|
+
const styleEl = document.currentScript?.previousElementSibling;
|
|
4372
|
+
if (isHydrationTarget) {
|
|
4373
|
+
styleEl.remove();
|
|
4374
|
+
const thisScriptEl = document.currentScript;
|
|
4375
|
+
thisScriptEl?.remove();
|
|
4322
4376
|
} else {
|
|
4323
|
-
const
|
|
4324
|
-
id:
|
|
4325
|
-
}).filter(
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
if (!navigator.cookieEnabled)
|
|
4377
|
+
const newStyleStr = variants.concat({
|
|
4378
|
+
id: contentId
|
|
4379
|
+
}).filter(variant => variant.id !== winningVariantId).map(value => {
|
|
4380
|
+
return \`.variant-\${value.id} { display: none; }
|
|
4381
|
+
\`;
|
|
4382
|
+
}).join('');
|
|
4383
|
+
styleEl.innerHTML = newStyleStr;
|
|
4384
|
+
}
|
|
4385
|
+
}`, so = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4386
|
+
if (!navigator.cookieEnabled) {
|
|
4333
4387
|
return;
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4388
|
+
}
|
|
4389
|
+
function getCookie(name) {
|
|
4390
|
+
const nameEQ = name + '=';
|
|
4391
|
+
const ca = document.cookie.split(';');
|
|
4392
|
+
for (let i = 0; i < ca.length; i++) {
|
|
4393
|
+
let c = ca[i];
|
|
4394
|
+
while (c.charAt(0) === ' ') c = c.substring(1, c.length);
|
|
4395
|
+
if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
|
|
4342
4396
|
}
|
|
4343
4397
|
return null;
|
|
4344
4398
|
}
|
|
4345
|
-
const
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4399
|
+
const cookieName = \`builder.tests.\${defaultContentId}\`;
|
|
4400
|
+
const winningVariant = getCookie(cookieName);
|
|
4401
|
+
const parentDiv = document.currentScript?.parentElement;
|
|
4402
|
+
const isDefaultContent = variantContentId === defaultContentId;
|
|
4403
|
+
const isWinningVariant = winningVariant === variantContentId;
|
|
4404
|
+
if (isWinningVariant && !isDefaultContent) {
|
|
4405
|
+
parentDiv?.removeAttribute('hidden');
|
|
4406
|
+
parentDiv?.removeAttribute('aria-hidden');
|
|
4407
|
+
} else if (!isWinningVariant && isDefaultContent) {
|
|
4408
|
+
parentDiv?.setAttribute('hidden', 'true');
|
|
4409
|
+
parentDiv?.setAttribute('aria-hidden', 'true');
|
|
4410
|
+
}
|
|
4411
|
+
if (isHydrationTarget) {
|
|
4412
|
+
if (!isWinningVariant) {
|
|
4413
|
+
parentDiv?.remove();
|
|
4414
|
+
}
|
|
4415
|
+
const thisScriptEl = document.currentScript;
|
|
4416
|
+
thisScriptEl?.remove();
|
|
4353
4417
|
}
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4418
|
+
return;
|
|
4419
|
+
}`, kr = "builderIoAbTest", Cr = "builderIoRenderContent", ut = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
4420
|
+
...t,
|
|
4421
|
+
testVariationId: t.id,
|
|
4422
|
+
id: e == null ? void 0 : e.id
|
|
4423
|
+
})), lo = ({
|
|
4424
|
+
canTrack: e,
|
|
4425
|
+
content: t
|
|
4426
|
+
}) => !(!(ut(t).length > 0) || !e || Ie()), co = (e) => e === "react" || e === "reactNative", Er = co(tt), uo = () => `
|
|
4427
|
+
window.${kr} = ${ao}
|
|
4428
|
+
window.${Cr} = ${so}
|
|
4429
|
+
`, fo = (e, t) => `
|
|
4430
|
+
window.${kr}(
|
|
4431
|
+
"${t}",${JSON.stringify(e)}, ${Er}
|
|
4432
|
+
)`, ho = ({
|
|
4363
4433
|
contentId: e,
|
|
4364
4434
|
variationId: t
|
|
4365
|
-
}) => `
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4435
|
+
}) => `window.${Cr}(
|
|
4436
|
+
"${t}", "${e}", ${Er}
|
|
4437
|
+
)`;
|
|
4438
|
+
function Yt(e) {
|
|
4439
|
+
return /* @__PURE__ */ p(
|
|
4369
4440
|
"script",
|
|
4370
4441
|
{
|
|
4371
4442
|
dangerouslySetInnerHTML: { __html: e.scriptStr },
|
|
4372
|
-
id: e.id
|
|
4443
|
+
id: e.id || ""
|
|
4373
4444
|
}
|
|
4374
4445
|
);
|
|
4375
4446
|
}
|
|
@@ -4415,7 +4486,7 @@ const po = (e, t, r = !0) => {
|
|
|
4415
4486
|
builderElementIndex: r && n ? [].slice.call(document.getElementsByClassName(n)).indexOf(r) : void 0
|
|
4416
4487
|
}
|
|
4417
4488
|
};
|
|
4418
|
-
},
|
|
4489
|
+
}, vo = "0.7.4", yo = () => {
|
|
4419
4490
|
Hr("insertMenu", {
|
|
4420
4491
|
name: "_default",
|
|
4421
4492
|
default: !0,
|
|
@@ -4441,11 +4512,11 @@ const po = (e, t, r = !0) => {
|
|
|
4441
4512
|
let sr = !1;
|
|
4442
4513
|
const xo = (e = {}) => {
|
|
4443
4514
|
var t, r;
|
|
4444
|
-
sr || (sr = !0,
|
|
4515
|
+
sr || (sr = !0, Ie() && ((t = window.parent) == null || t.postMessage({
|
|
4445
4516
|
type: "builder.sdkInfo",
|
|
4446
4517
|
data: {
|
|
4447
4518
|
target: tt,
|
|
4448
|
-
version:
|
|
4519
|
+
version: vo,
|
|
4449
4520
|
supportsPatchUpdates: !1,
|
|
4450
4521
|
// Supports builder-model="..." attribute which is needed to
|
|
4451
4522
|
// scope our '+ add block' button styling
|
|
@@ -4464,32 +4535,32 @@ const xo = (e = {}) => {
|
|
|
4464
4535
|
if (n != null && n.type)
|
|
4465
4536
|
switch (n.type) {
|
|
4466
4537
|
case "builder.evaluate": {
|
|
4467
|
-
const s = n.data.text, u = n.data.arguments || [], f = n.data.id,
|
|
4468
|
-
let
|
|
4538
|
+
const s = n.data.text, u = n.data.arguments || [], f = n.data.id, g = new Function(s);
|
|
4539
|
+
let v, b = null;
|
|
4469
4540
|
try {
|
|
4470
|
-
|
|
4471
|
-
} catch (
|
|
4472
|
-
|
|
4541
|
+
v = g.apply(null, u);
|
|
4542
|
+
} catch (_) {
|
|
4543
|
+
b = _;
|
|
4473
4544
|
}
|
|
4474
|
-
|
|
4545
|
+
b ? (i = window.parent) == null || i.postMessage({
|
|
4475
4546
|
type: "builder.evaluateError",
|
|
4476
4547
|
data: {
|
|
4477
4548
|
id: f,
|
|
4478
|
-
error:
|
|
4549
|
+
error: b.message
|
|
4479
4550
|
}
|
|
4480
|
-
}, "*") :
|
|
4481
|
-
var
|
|
4482
|
-
(
|
|
4551
|
+
}, "*") : v && typeof v.then == "function" ? v.then((_) => {
|
|
4552
|
+
var W;
|
|
4553
|
+
(W = window.parent) == null || W.postMessage({
|
|
4483
4554
|
type: "builder.evaluateResult",
|
|
4484
4555
|
data: {
|
|
4485
4556
|
id: f,
|
|
4486
|
-
result:
|
|
4557
|
+
result: _
|
|
4487
4558
|
}
|
|
4488
4559
|
}, "*");
|
|
4489
4560
|
}).catch(console.error) : (a = window.parent) == null || a.postMessage({
|
|
4490
4561
|
type: "builder.evaluateResult",
|
|
4491
4562
|
data: {
|
|
4492
|
-
result:
|
|
4563
|
+
result: v,
|
|
4493
4564
|
id: f
|
|
4494
4565
|
}
|
|
4495
4566
|
}, "*");
|
|
@@ -4499,88 +4570,88 @@ const xo = (e = {}) => {
|
|
|
4499
4570
|
})));
|
|
4500
4571
|
};
|
|
4501
4572
|
function bo(e) {
|
|
4502
|
-
var ae, se,
|
|
4503
|
-
const t =
|
|
4504
|
-
function i(
|
|
4505
|
-
var
|
|
4506
|
-
const
|
|
4573
|
+
var ae, se, L, te, E, Te, D;
|
|
4574
|
+
const t = Jt(null), [r, n] = $(() => 0);
|
|
4575
|
+
function i(T) {
|
|
4576
|
+
var C, N, V, U, ye;
|
|
4577
|
+
const I = {
|
|
4507
4578
|
...e.builderContextSignal.content,
|
|
4508
|
-
...
|
|
4579
|
+
...T,
|
|
4509
4580
|
data: {
|
|
4510
|
-
...(
|
|
4511
|
-
...
|
|
4581
|
+
...(C = e.builderContextSignal.content) == null ? void 0 : C.data,
|
|
4582
|
+
...T == null ? void 0 : T.data
|
|
4512
4583
|
},
|
|
4513
4584
|
meta: {
|
|
4514
|
-
...(
|
|
4515
|
-
...
|
|
4516
|
-
breakpoints: ((
|
|
4585
|
+
...(N = e.builderContextSignal.content) == null ? void 0 : N.meta,
|
|
4586
|
+
...T == null ? void 0 : T.meta,
|
|
4587
|
+
breakpoints: ((V = T == null ? void 0 : T.meta) == null ? void 0 : V.breakpoints) || ((ye = (U = e.builderContextSignal.content) == null ? void 0 : U.meta) == null ? void 0 : ye.breakpoints)
|
|
4517
4588
|
}
|
|
4518
4589
|
};
|
|
4519
|
-
e.setBuilderContextSignal((
|
|
4520
|
-
...
|
|
4521
|
-
content:
|
|
4590
|
+
e.setBuilderContextSignal((we) => ({
|
|
4591
|
+
...we,
|
|
4592
|
+
content: I
|
|
4522
4593
|
}));
|
|
4523
4594
|
}
|
|
4524
|
-
|
|
4525
|
-
const [a, s] =
|
|
4595
|
+
$(() => 0);
|
|
4596
|
+
const [a, s] = $(
|
|
4526
4597
|
() => !1
|
|
4527
4598
|
);
|
|
4528
|
-
function u(
|
|
4529
|
-
var
|
|
4530
|
-
const { data:
|
|
4531
|
-
if (
|
|
4532
|
-
switch (
|
|
4599
|
+
function u(T) {
|
|
4600
|
+
var C;
|
|
4601
|
+
const { data: I } = T;
|
|
4602
|
+
if (I)
|
|
4603
|
+
switch (I.type) {
|
|
4533
4604
|
case "builder.configureSdk": {
|
|
4534
|
-
const
|
|
4535
|
-
if (!
|
|
4605
|
+
const N = I.data, { breakpoints: V, contentId: U } = N;
|
|
4606
|
+
if (!U || U !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id))
|
|
4536
4607
|
return;
|
|
4537
|
-
|
|
4608
|
+
V && i({
|
|
4538
4609
|
meta: {
|
|
4539
|
-
breakpoints:
|
|
4610
|
+
breakpoints: V
|
|
4540
4611
|
}
|
|
4541
4612
|
}), n(r + 1);
|
|
4542
4613
|
break;
|
|
4543
4614
|
}
|
|
4544
4615
|
case "builder.contentUpdate": {
|
|
4545
|
-
const
|
|
4546
|
-
|
|
4616
|
+
const N = I.data, V = N.key || N.alias || N.entry || N.modelName, U = N.data;
|
|
4617
|
+
V === e.model && (i(U), n(r + 1));
|
|
4547
4618
|
break;
|
|
4548
4619
|
}
|
|
4549
4620
|
}
|
|
4550
4621
|
}
|
|
4551
4622
|
function f() {
|
|
4552
|
-
var
|
|
4553
|
-
const
|
|
4554
|
-
|
|
4555
|
-
code:
|
|
4623
|
+
var I, C;
|
|
4624
|
+
const T = (C = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : C.jsCode;
|
|
4625
|
+
T && et({
|
|
4626
|
+
code: T,
|
|
4556
4627
|
context: e.context || {},
|
|
4557
4628
|
localState: void 0,
|
|
4558
4629
|
rootState: e.builderContextSignal.rootState,
|
|
4559
4630
|
rootSetState: e.builderContextSignal.rootSetState
|
|
4560
4631
|
});
|
|
4561
4632
|
}
|
|
4562
|
-
const [
|
|
4563
|
-
function
|
|
4564
|
-
var
|
|
4633
|
+
const [g, v] = $(() => ({})), [b, _] = $(() => !1);
|
|
4634
|
+
function W(T) {
|
|
4635
|
+
var I, C;
|
|
4565
4636
|
if (e.builderContextSignal.content) {
|
|
4566
|
-
const
|
|
4637
|
+
const N = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, V = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
|
|
4567
4638
|
Kn({
|
|
4568
4639
|
type: "click",
|
|
4569
4640
|
canTrack: dt(e.canTrack),
|
|
4570
|
-
contentId:
|
|
4641
|
+
contentId: V,
|
|
4571
4642
|
apiKey: e.apiKey,
|
|
4572
|
-
variationId:
|
|
4573
|
-
...go(
|
|
4574
|
-
unique: !
|
|
4643
|
+
variationId: N !== V ? N : void 0,
|
|
4644
|
+
...go(T),
|
|
4645
|
+
unique: !b
|
|
4575
4646
|
});
|
|
4576
4647
|
}
|
|
4577
|
-
|
|
4648
|
+
b || _(!0);
|
|
4578
4649
|
}
|
|
4579
|
-
function
|
|
4580
|
-
return
|
|
4650
|
+
function R(T) {
|
|
4651
|
+
return T.replace(
|
|
4581
4652
|
/{{([^}]+)}}/g,
|
|
4582
|
-
(
|
|
4583
|
-
code:
|
|
4653
|
+
(I, C) => et({
|
|
4654
|
+
code: C,
|
|
4584
4655
|
context: e.context || {},
|
|
4585
4656
|
localState: void 0,
|
|
4586
4657
|
rootState: e.builderContextSignal.rootState,
|
|
@@ -4588,33 +4659,33 @@ function bo(e) {
|
|
|
4588
4659
|
})
|
|
4589
4660
|
);
|
|
4590
4661
|
}
|
|
4591
|
-
function
|
|
4592
|
-
zr(
|
|
4593
|
-
var
|
|
4594
|
-
const
|
|
4662
|
+
function M({ url: T, key: I }) {
|
|
4663
|
+
zr(T).then((C) => C.json()).then((C) => {
|
|
4664
|
+
var V, U;
|
|
4665
|
+
const N = {
|
|
4595
4666
|
...e.builderContextSignal.rootState,
|
|
4596
|
-
[
|
|
4667
|
+
[I]: C
|
|
4597
4668
|
};
|
|
4598
|
-
(
|
|
4599
|
-
}).catch((
|
|
4600
|
-
console.error("error fetching dynamic data",
|
|
4669
|
+
(U = (V = e.builderContextSignal).rootSetState) == null || U.call(V, N), g[I] = !0;
|
|
4670
|
+
}).catch((C) => {
|
|
4671
|
+
console.error("error fetching dynamic data", T, C);
|
|
4601
4672
|
});
|
|
4602
4673
|
}
|
|
4603
|
-
function
|
|
4604
|
-
var
|
|
4605
|
-
const
|
|
4606
|
-
Object.entries(
|
|
4607
|
-
if (
|
|
4608
|
-
const
|
|
4609
|
-
|
|
4610
|
-
url:
|
|
4611
|
-
key:
|
|
4674
|
+
function H() {
|
|
4675
|
+
var I, C;
|
|
4676
|
+
const T = ((C = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : C.httpRequests) ?? {};
|
|
4677
|
+
Object.entries(T).forEach(([N, V]) => {
|
|
4678
|
+
if (V && (!g[N] || Ee())) {
|
|
4679
|
+
const U = R(V);
|
|
4680
|
+
M({
|
|
4681
|
+
url: U,
|
|
4682
|
+
key: N
|
|
4612
4683
|
});
|
|
4613
4684
|
}
|
|
4614
4685
|
});
|
|
4615
4686
|
}
|
|
4616
|
-
function
|
|
4617
|
-
|
|
4687
|
+
function G() {
|
|
4688
|
+
Ee() && window.dispatchEvent(
|
|
4618
4689
|
new CustomEvent(
|
|
4619
4690
|
"builder:component:stateChange",
|
|
4620
4691
|
{
|
|
@@ -4628,8 +4699,8 @@ function bo(e) {
|
|
|
4628
4699
|
)
|
|
4629
4700
|
);
|
|
4630
4701
|
}
|
|
4631
|
-
function
|
|
4632
|
-
n(r + 1), window.addEventListener("message", u),
|
|
4702
|
+
function y(T) {
|
|
4703
|
+
n(r + 1), window.addEventListener("message", u), yo(), xo({
|
|
4633
4704
|
...e.locale ? {
|
|
4634
4705
|
locale: e.locale
|
|
4635
4706
|
} : {},
|
|
@@ -4641,100 +4712,100 @@ function bo(e) {
|
|
|
4641
4712
|
} : {}
|
|
4642
4713
|
}), Object.values(
|
|
4643
4714
|
e.builderContextSignal.componentInfos
|
|
4644
|
-
).forEach((
|
|
4645
|
-
var
|
|
4646
|
-
const
|
|
4647
|
-
(
|
|
4715
|
+
).forEach((I) => {
|
|
4716
|
+
var N;
|
|
4717
|
+
const C = Gr(I);
|
|
4718
|
+
(N = window.parent) == null || N.postMessage(C, "*");
|
|
4648
4719
|
}), window.addEventListener(
|
|
4649
4720
|
"builder:component:stateChangeListenerActivated",
|
|
4650
|
-
|
|
4721
|
+
G
|
|
4651
4722
|
);
|
|
4652
4723
|
}
|
|
4653
|
-
function K(
|
|
4654
|
-
const
|
|
4655
|
-
`builder.preview.${
|
|
4656
|
-
),
|
|
4657
|
-
|
|
4724
|
+
function K(T) {
|
|
4725
|
+
const I = new URL(location.href).searchParams, C = I.get("builder.preview"), N = I.get(
|
|
4726
|
+
`builder.preview.${C}`
|
|
4727
|
+
), V = I.get("apiKey") || I.get("builder.space");
|
|
4728
|
+
C === e.model && V === e.apiKey && (!e.content || N === e.content.id) && dr({
|
|
4658
4729
|
model: e.model,
|
|
4659
4730
|
apiKey: e.apiKey,
|
|
4660
4731
|
apiVersion: e.builderContextSignal.apiVersion
|
|
4661
|
-
}).then((
|
|
4662
|
-
|
|
4732
|
+
}).then((U) => {
|
|
4733
|
+
U && i(U);
|
|
4663
4734
|
});
|
|
4664
4735
|
}
|
|
4665
|
-
return
|
|
4666
|
-
var
|
|
4667
|
-
return (
|
|
4736
|
+
return ee(() => {
|
|
4737
|
+
var T;
|
|
4738
|
+
return (T = t.current) == null || T.addEventListener(
|
|
4668
4739
|
"initeditingbldr",
|
|
4669
|
-
|
|
4740
|
+
y
|
|
4670
4741
|
), () => {
|
|
4671
|
-
var
|
|
4672
|
-
return (
|
|
4742
|
+
var I;
|
|
4743
|
+
return (I = t.current) == null ? void 0 : I.removeEventListener(
|
|
4673
4744
|
"initeditingbldr",
|
|
4674
|
-
|
|
4745
|
+
y
|
|
4675
4746
|
);
|
|
4676
4747
|
};
|
|
4677
|
-
}, []),
|
|
4678
|
-
var
|
|
4679
|
-
return (
|
|
4748
|
+
}, []), ee(() => {
|
|
4749
|
+
var T;
|
|
4750
|
+
return (T = t.current) == null || T.addEventListener(
|
|
4680
4751
|
"initpreviewingbldr",
|
|
4681
4752
|
K
|
|
4682
4753
|
), () => {
|
|
4683
|
-
var
|
|
4684
|
-
return (
|
|
4754
|
+
var I;
|
|
4755
|
+
return (I = t.current) == null ? void 0 : I.removeEventListener(
|
|
4685
4756
|
"initpreviewingbldr",
|
|
4686
4757
|
K
|
|
4687
4758
|
);
|
|
4688
4759
|
};
|
|
4689
|
-
}, []),
|
|
4690
|
-
var
|
|
4691
|
-
if (
|
|
4692
|
-
if (
|
|
4693
|
-
const
|
|
4760
|
+
}, []), ee(() => {
|
|
4761
|
+
var T, I;
|
|
4762
|
+
if (Ie()) {
|
|
4763
|
+
if (Ee() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && dt(e.canTrack)) {
|
|
4764
|
+
const N = (T = e.builderContextSignal.content) == null ? void 0 : T.testVariationId, V = (I = e.builderContextSignal.content) == null ? void 0 : I.id, U = e.apiKey;
|
|
4694
4765
|
Kn({
|
|
4695
4766
|
type: "impression",
|
|
4696
4767
|
canTrack: !0,
|
|
4697
|
-
contentId:
|
|
4698
|
-
apiKey:
|
|
4699
|
-
variationId:
|
|
4768
|
+
contentId: V,
|
|
4769
|
+
apiKey: U,
|
|
4770
|
+
variationId: N !== V ? N : void 0
|
|
4700
4771
|
});
|
|
4701
4772
|
}
|
|
4702
4773
|
Kr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
4703
4774
|
}
|
|
4704
|
-
}, []),
|
|
4705
|
-
e.apiKey ||
|
|
4775
|
+
}, []), ee(() => {
|
|
4776
|
+
e.apiKey || Fe.error(
|
|
4706
4777
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4707
|
-
), f(),
|
|
4708
|
-
}, []),
|
|
4778
|
+
), f(), H(), G();
|
|
4779
|
+
}, []), ee(() => {
|
|
4709
4780
|
e.content && i(e.content);
|
|
4710
|
-
}, [e.content]),
|
|
4711
|
-
}, [a]),
|
|
4781
|
+
}, [e.content]), ee(() => {
|
|
4782
|
+
}, [a]), ee(() => {
|
|
4712
4783
|
f();
|
|
4713
4784
|
}, [
|
|
4714
4785
|
(se = (ae = e.builderContextSignal.content) == null ? void 0 : ae.data) == null ? void 0 : se.jsCode,
|
|
4715
4786
|
e.builderContextSignal.rootState
|
|
4716
|
-
]),
|
|
4717
|
-
|
|
4718
|
-
}, [(
|
|
4719
|
-
|
|
4720
|
-
}, [e.builderContextSignal.rootState]),
|
|
4721
|
-
|
|
4787
|
+
]), ee(() => {
|
|
4788
|
+
H();
|
|
4789
|
+
}, [(te = (L = e.builderContextSignal.content) == null ? void 0 : L.data) == null ? void 0 : te.httpRequests]), ee(() => {
|
|
4790
|
+
G();
|
|
4791
|
+
}, [e.builderContextSignal.rootState]), ee(() => () => {
|
|
4792
|
+
Ie() && (window.removeEventListener("message", u), window.removeEventListener(
|
|
4722
4793
|
"builder:component:stateChangeListenerActivated",
|
|
4723
|
-
|
|
4794
|
+
G
|
|
4724
4795
|
));
|
|
4725
|
-
}, []), /* @__PURE__ */
|
|
4796
|
+
}, []), /* @__PURE__ */ p(Zt.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ ur(
|
|
4726
4797
|
"div",
|
|
4727
4798
|
{
|
|
4728
4799
|
key: r,
|
|
4729
4800
|
ref: t,
|
|
4730
|
-
onClick: (
|
|
4731
|
-
"builder-content-id": (
|
|
4801
|
+
onClick: (T) => W(T),
|
|
4802
|
+
"builder-content-id": (E = e.builderContextSignal.content) == null ? void 0 : E.id,
|
|
4732
4803
|
"builder-model": e.model,
|
|
4733
4804
|
...e.showContent ? {} : {
|
|
4734
4805
|
hidden: !0,
|
|
4735
4806
|
"aria-hidden": !0
|
|
4736
4807
|
},
|
|
4737
|
-
className: e.
|
|
4808
|
+
className: `variant-${((Te = e.content) == null ? void 0 : Te.testVariationId) || ((D = e.content) == null ? void 0 : D.id)}`
|
|
4738
4809
|
},
|
|
4739
4810
|
e.children
|
|
4740
4811
|
) }) : null });
|
|
@@ -4775,7 +4846,7 @@ font-weight: ${s};
|
|
|
4775
4846
|
contentId: t
|
|
4776
4847
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
4777
4848
|
function Co(e) {
|
|
4778
|
-
const [t, r] =
|
|
4849
|
+
const [t, r] = $(
|
|
4779
4850
|
() => `
|
|
4780
4851
|
${ko({
|
|
4781
4852
|
cssCode: e.cssCode,
|
|
@@ -4799,7 +4870,7 @@ ${wo({
|
|
|
4799
4870
|
}
|
|
4800
4871
|
`.trim()
|
|
4801
4872
|
);
|
|
4802
|
-
return /* @__PURE__ */
|
|
4873
|
+
return /* @__PURE__ */ p(gt, { styles: t });
|
|
4803
4874
|
}
|
|
4804
4875
|
const Eo = ({
|
|
4805
4876
|
content: e,
|
|
@@ -4809,8 +4880,8 @@ const Eo = ({
|
|
|
4809
4880
|
var a, s, u;
|
|
4810
4881
|
const n = {};
|
|
4811
4882
|
(s = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || s.forEach((f) => {
|
|
4812
|
-
var
|
|
4813
|
-
f.name && f.defaultValue !== void 0 && ((
|
|
4883
|
+
var g;
|
|
4884
|
+
f.name && f.defaultValue !== void 0 && ((g = e == null ? void 0 : e.data) != null && g.state) && e.data.state[f.name] === void 0 && (n[f.name] = f.defaultValue);
|
|
4814
4885
|
});
|
|
4815
4886
|
const i = {
|
|
4816
4887
|
...(u = e == null ? void 0 : e.data) == null ? void 0 : u.state,
|
|
@@ -4835,25 +4906,25 @@ const Eo = ({
|
|
|
4835
4906
|
meta: e == null ? void 0 : e.meta
|
|
4836
4907
|
} : void 0;
|
|
4837
4908
|
function lr(e) {
|
|
4838
|
-
var f,
|
|
4839
|
-
const [t, r] =
|
|
4909
|
+
var f, g, v, b, _, W, R;
|
|
4910
|
+
const [t, r] = $(
|
|
4840
4911
|
() => {
|
|
4841
|
-
var
|
|
4912
|
+
var M, H;
|
|
4842
4913
|
return ho({
|
|
4843
4914
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4844
|
-
variationId: (
|
|
4915
|
+
variationId: (M = e.content) == null ? void 0 : M.testVariationId,
|
|
4845
4916
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4846
|
-
contentId: (
|
|
4917
|
+
contentId: (H = e.content) == null ? void 0 : H.id
|
|
4847
4918
|
});
|
|
4848
4919
|
}
|
|
4849
4920
|
);
|
|
4850
|
-
function n(
|
|
4851
|
-
u((
|
|
4852
|
-
...
|
|
4853
|
-
rootState:
|
|
4921
|
+
function n(M) {
|
|
4922
|
+
u((H) => ({
|
|
4923
|
+
...H,
|
|
4924
|
+
rootState: M
|
|
4854
4925
|
}));
|
|
4855
4926
|
}
|
|
4856
|
-
const [i, a] =
|
|
4927
|
+
const [i, a] = $(
|
|
4857
4928
|
() => [
|
|
4858
4929
|
...ir(),
|
|
4859
4930
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
@@ -4864,16 +4935,16 @@ function lr(e) {
|
|
|
4864
4935
|
...Gn,
|
|
4865
4936
|
...e.customComponents || []
|
|
4866
4937
|
].reduce(
|
|
4867
|
-
(
|
|
4868
|
-
...
|
|
4869
|
-
[
|
|
4870
|
-
component:
|
|
4871
|
-
...zn(
|
|
4938
|
+
(M, { component: H, ...G }) => ({
|
|
4939
|
+
...M,
|
|
4940
|
+
[G.name]: {
|
|
4941
|
+
component: H,
|
|
4942
|
+
...zn(G)
|
|
4872
4943
|
}
|
|
4873
4944
|
}),
|
|
4874
4945
|
{}
|
|
4875
4946
|
)
|
|
4876
|
-
), [s, u] =
|
|
4947
|
+
), [s, u] = $(() => ({
|
|
4877
4948
|
content: Io({
|
|
4878
4949
|
content: e.content,
|
|
4879
4950
|
data: e.data
|
|
@@ -4898,15 +4969,15 @@ function lr(e) {
|
|
|
4898
4969
|
...Gn,
|
|
4899
4970
|
...e.customComponents || []
|
|
4900
4971
|
].reduce(
|
|
4901
|
-
(
|
|
4902
|
-
...
|
|
4903
|
-
[
|
|
4972
|
+
(M, { component: H, ...G }) => ({
|
|
4973
|
+
...M,
|
|
4974
|
+
[G.name]: zn(G)
|
|
4904
4975
|
}),
|
|
4905
4976
|
{}
|
|
4906
4977
|
),
|
|
4907
4978
|
inheritedStyles: {}
|
|
4908
4979
|
}));
|
|
4909
|
-
return /* @__PURE__ */
|
|
4980
|
+
return /* @__PURE__ */ p(
|
|
4910
4981
|
fr.Provider,
|
|
4911
4982
|
{
|
|
4912
4983
|
value: {
|
|
@@ -4923,24 +4994,23 @@ function lr(e) {
|
|
|
4923
4994
|
locale: e.locale,
|
|
4924
4995
|
includeRefs: e.includeRefs,
|
|
4925
4996
|
enrich: e.enrich,
|
|
4926
|
-
classNameProp: e.classNameProp,
|
|
4927
4997
|
showContent: e.showContent,
|
|
4928
4998
|
builderContextSignal: s,
|
|
4929
4999
|
setBuilderContextSignal: u,
|
|
4930
5000
|
children: [
|
|
4931
|
-
e.isSsrAbTest ? /* @__PURE__ */
|
|
4932
|
-
/* @__PURE__ */
|
|
5001
|
+
e.isSsrAbTest ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: t }) }) : null,
|
|
5002
|
+
/* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
|
|
4933
5003
|
Co,
|
|
4934
5004
|
{
|
|
4935
5005
|
contentId: (f = s.content) == null ? void 0 : f.id,
|
|
4936
|
-
cssCode: (
|
|
4937
|
-
customFonts: (
|
|
5006
|
+
cssCode: (v = (g = s.content) == null ? void 0 : g.data) == null ? void 0 : v.cssCode,
|
|
5007
|
+
customFonts: (_ = (b = s.content) == null ? void 0 : b.data) == null ? void 0 : _.customFonts
|
|
4938
5008
|
}
|
|
4939
5009
|
) }),
|
|
4940
|
-
/* @__PURE__ */
|
|
5010
|
+
/* @__PURE__ */ p(
|
|
4941
5011
|
fn,
|
|
4942
5012
|
{
|
|
4943
|
-
blocks: (
|
|
5013
|
+
blocks: (R = (W = s.content) == null ? void 0 : W.data) == null ? void 0 : R.blocks,
|
|
4944
5014
|
context: s,
|
|
4945
5015
|
registeredComponents: i
|
|
4946
5016
|
}
|
|
@@ -4952,54 +5022,53 @@ function lr(e) {
|
|
|
4952
5022
|
);
|
|
4953
5023
|
}
|
|
4954
5024
|
function Ir(e) {
|
|
4955
|
-
var s, u
|
|
4956
|
-
const [t, r] =
|
|
4957
|
-
() =>
|
|
5025
|
+
var s, u;
|
|
5026
|
+
const [t, r] = $(
|
|
5027
|
+
() => lo({
|
|
4958
5028
|
canTrack: dt(e.canTrack),
|
|
4959
5029
|
content: e.content
|
|
4960
5030
|
})
|
|
4961
5031
|
);
|
|
4962
5032
|
function n() {
|
|
4963
|
-
var
|
|
5033
|
+
var f;
|
|
4964
5034
|
return fo(
|
|
4965
|
-
ut(e.content).map((
|
|
4966
|
-
id:
|
|
4967
|
-
testRatio:
|
|
5035
|
+
ut(e.content).map((g) => ({
|
|
5036
|
+
id: g.testVariationId,
|
|
5037
|
+
testRatio: g.testRatio
|
|
4968
5038
|
})),
|
|
4969
|
-
((
|
|
5039
|
+
((f = e.content) == null ? void 0 : f.id) || ""
|
|
4970
5040
|
);
|
|
4971
5041
|
}
|
|
4972
5042
|
function i() {
|
|
4973
|
-
return ut(e.content).map((
|
|
5043
|
+
return ut(e.content).map((f) => `.variant-${f.testVariationId} { display: none; } `).join("");
|
|
4974
5044
|
}
|
|
4975
5045
|
function a() {
|
|
4976
|
-
var
|
|
5046
|
+
var f;
|
|
4977
5047
|
return t ? {
|
|
4978
5048
|
...e.content,
|
|
4979
|
-
testVariationId: (
|
|
5049
|
+
testVariationId: (f = e.content) == null ? void 0 : f.id
|
|
4980
5050
|
} : Xr({
|
|
4981
5051
|
item: e.content,
|
|
4982
5052
|
canTrack: dt(e.canTrack)
|
|
4983
5053
|
});
|
|
4984
5054
|
}
|
|
4985
|
-
return
|
|
4986
|
-
}, []), /* @__PURE__ */ Z(
|
|
4987
|
-
!e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */
|
|
4988
|
-
t ? /* @__PURE__ */ Z(
|
|
4989
|
-
/* @__PURE__ */
|
|
5055
|
+
return ee(() => {
|
|
5056
|
+
}, []), /* @__PURE__ */ Z(P, { children: [
|
|
5057
|
+
!e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: uo() }) }) : null,
|
|
5058
|
+
t ? /* @__PURE__ */ Z(P, { children: [
|
|
5059
|
+
/* @__PURE__ */ p(
|
|
4990
5060
|
gt,
|
|
4991
5061
|
{
|
|
4992
5062
|
id: `variants-styles-${(s = e.content) == null ? void 0 : s.id}`,
|
|
4993
5063
|
styles: i()
|
|
4994
5064
|
}
|
|
4995
5065
|
),
|
|
4996
|
-
/* @__PURE__ */
|
|
4997
|
-
(u = ut(e.content)) == null ? void 0 : u.map((
|
|
5066
|
+
/* @__PURE__ */ p(Yt, { scriptStr: n() }),
|
|
5067
|
+
(u = ut(e.content)) == null ? void 0 : u.map((f) => /* @__PURE__ */ p(
|
|
4998
5068
|
lr,
|
|
4999
5069
|
{
|
|
5000
|
-
content:
|
|
5070
|
+
content: f,
|
|
5001
5071
|
showContent: !1,
|
|
5002
|
-
classNameProp: void 0,
|
|
5003
5072
|
model: e.model,
|
|
5004
5073
|
data: e.data,
|
|
5005
5074
|
context: e.context,
|
|
@@ -5012,14 +5081,13 @@ function Ir(e) {
|
|
|
5012
5081
|
enrich: e.enrich,
|
|
5013
5082
|
isSsrAbTest: t
|
|
5014
5083
|
},
|
|
5015
|
-
|
|
5084
|
+
f.testVariationId
|
|
5016
5085
|
))
|
|
5017
5086
|
] }) : null,
|
|
5018
|
-
/* @__PURE__ */
|
|
5087
|
+
/* @__PURE__ */ p(
|
|
5019
5088
|
lr,
|
|
5020
5089
|
{
|
|
5021
5090
|
content: a(),
|
|
5022
|
-
classNameProp: `variant-${(f = e.content) == null ? void 0 : f.id}`,
|
|
5023
5091
|
showContent: !0,
|
|
5024
5092
|
model: e.model,
|
|
5025
5093
|
data: e.data,
|
|
@@ -5052,21 +5120,21 @@ const To = async ({
|
|
|
5052
5120
|
}
|
|
5053
5121
|
}
|
|
5054
5122
|
}).catch((r) => {
|
|
5055
|
-
|
|
5123
|
+
Fe.error("Could not fetch symbol content: ", r);
|
|
5056
5124
|
});
|
|
5057
5125
|
};
|
|
5058
5126
|
function jo(e) {
|
|
5059
5127
|
var a, s, u;
|
|
5060
5128
|
function t() {
|
|
5061
|
-
var f,
|
|
5129
|
+
var f, g;
|
|
5062
5130
|
return [
|
|
5063
5131
|
e.attributes.className,
|
|
5064
5132
|
"builder-symbol",
|
|
5065
5133
|
(f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
|
|
5066
|
-
(
|
|
5134
|
+
(g = e.symbol) != null && g.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
5067
5135
|
].filter(Boolean).join(" ");
|
|
5068
5136
|
}
|
|
5069
|
-
const [r, n] =
|
|
5137
|
+
const [r, n] = $(() => {
|
|
5070
5138
|
var f;
|
|
5071
5139
|
return (f = e.symbol) == null ? void 0 : f.content;
|
|
5072
5140
|
});
|
|
@@ -5078,10 +5146,10 @@ function jo(e) {
|
|
|
5078
5146
|
f && n(f);
|
|
5079
5147
|
});
|
|
5080
5148
|
}
|
|
5081
|
-
return
|
|
5082
|
-
}, []),
|
|
5149
|
+
return ee(() => {
|
|
5150
|
+
}, []), ee(() => {
|
|
5083
5151
|
i();
|
|
5084
|
-
}, [e.symbol]), /* @__PURE__ */
|
|
5152
|
+
}, [e.symbol]), /* @__PURE__ */ p("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ p(
|
|
5085
5153
|
Ir,
|
|
5086
5154
|
{
|
|
5087
5155
|
__isNestedRender: !0,
|
|
@@ -5102,14 +5170,14 @@ function jo(e) {
|
|
|
5102
5170
|
const Po = fn, No = Ir;
|
|
5103
5171
|
export {
|
|
5104
5172
|
fn as Blocks,
|
|
5105
|
-
|
|
5173
|
+
Yr as Button,
|
|
5106
5174
|
Ui as Columns,
|
|
5107
5175
|
Ir as Content,
|
|
5108
5176
|
Bi as Fragment,
|
|
5109
|
-
|
|
5177
|
+
Vi as Image,
|
|
5110
5178
|
Po as RenderBlocks,
|
|
5111
5179
|
No as RenderContent,
|
|
5112
|
-
|
|
5180
|
+
Li as Section,
|
|
5113
5181
|
jo as Symbol,
|
|
5114
5182
|
ro as Text,
|
|
5115
5183
|
oo as Video,
|
|
@@ -5118,12 +5186,12 @@ export {
|
|
|
5118
5186
|
Bo as fetchBuilderProps,
|
|
5119
5187
|
_o as fetchEntries,
|
|
5120
5188
|
dr as fetchOneEntry,
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5189
|
+
Do as getAllContent,
|
|
5190
|
+
Vo as getBuilderSearchParams,
|
|
5191
|
+
Lo as getContent,
|
|
5192
|
+
Ee as isEditing,
|
|
5125
5193
|
Kr as isPreviewing,
|
|
5126
5194
|
Hr as register,
|
|
5127
|
-
|
|
5195
|
+
$o as setEditorSettings,
|
|
5128
5196
|
Wo as track
|
|
5129
5197
|
};
|