@builder.io/sdk-react 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks-exports.cjs +22 -22
- package/lib/browser/blocks-exports.mjs +428 -432
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{server-entry-166d8ec9.js → server-entry-3e30c656.js} +81 -82
- package/lib/browser/server-entry-8951c0c5.cjs +2 -0
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/blocks-5705f416.cjs +32 -0
- package/lib/edge/{blocks-793a81d9.js → blocks-b1f5ec2b.js} +719 -723
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-659db379.js → button-2b710146.js} +2 -2
- package/lib/edge/{button-f62c1e15.cjs → button-3c20ccff.cjs} +1 -1
- package/lib/edge/{columns-07ef2925.js → columns-38a397cd.js} +3 -3
- package/lib/edge/{columns-5fe66f05.cjs → columns-761d98c4.cjs} +1 -1
- package/lib/edge/{content-variants-9aedb66d.cjs → content-variants-befe3587.cjs} +4 -4
- package/lib/edge/{content-variants-fcba4b5b.js → content-variants-f165fa88.js} +21 -21
- package/lib/edge/{form-5c293cd8.cjs → form-b0d65d74.cjs} +1 -1
- package/lib/edge/{form-82e6d435.js → form-d0cfb830.js} +3 -3
- package/lib/edge/{get-class-prop-name-c54d7ada.cjs → get-class-prop-name-27f8a4f1.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-6242df6a.js → get-class-prop-name-49d9b54f.js} +1 -1
- package/lib/edge/{img-11c91db6.js → img-e321016e.js} +1 -1
- package/lib/edge/{img-73cc7d69.cjs → img-fcf6e57f.cjs} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-6b8ac645.js → input-27f575fe.js} +1 -1
- package/lib/edge/{input-9c7d1291.cjs → input-f0319ee6.cjs} +1 -1
- package/lib/edge/{select-f324140d.js → select-dd4c61db.js} +1 -1
- package/lib/edge/{select-42de6b22.cjs → select-e31522ee.cjs} +1 -1
- package/lib/edge/{server-entry-396b1a7b.js → server-entry-253a0fa1.js} +80 -81
- package/lib/edge/server-entry-dd363108.cjs +2 -0
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-746347ff.cjs → slot-a2388031.cjs} +1 -1
- package/lib/edge/{slot-4e55a3d1.js → slot-fea27ccf.js} +3 -3
- package/lib/edge/{symbol-e3905b86.js → symbol-686edeb8.js} +2 -2
- package/lib/edge/{symbol-4b8cffaa.cjs → symbol-ba2c6245.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +23 -23
- package/lib/node/blocks-exports.mjs +423 -427
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-eb3ca94b.js → node-runtime-6587ed2e.js} +1 -1
- package/lib/node/{node-runtime-2a838da2.cjs → node-runtime-fa43cf07.cjs} +1 -1
- package/lib/node/{server-entry-54c1491b.js → server-entry-14d7a1d0.js} +81 -82
- package/lib/node/server-entry-3abae5dd.cjs +2 -0
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/components/block/animator.d.ts +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/functions/is-previewing.d.ts +1 -1
- package/lib/browser/server-entry-c6e9a10a.cjs +0 -2
- package/lib/edge/blocks-c26b2ffc.cjs +0 -32
- package/lib/edge/server-entry-bc7f82dd.cjs +0 -2
- package/lib/node/server-entry-cb0df432.cjs +0 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var kn = Object.defineProperty;
|
|
2
2
|
var En = (e, t, n) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
4
|
-
import { jsx as T, Fragment as
|
|
5
|
-
import { createContext as Cn, useState as
|
|
6
|
-
import { BuilderContext as
|
|
7
|
-
import { isEditing as Ut, isBrowser as Ft, getUserAttributes as On, logger as
|
|
8
|
-
import { getClassPropName as An } from "./get-class-prop-name-
|
|
3
|
+
var Mt = (e, t, n) => (En(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { jsx as T, Fragment as Z, jsxs as Dt } from "react/jsx-runtime";
|
|
5
|
+
import { createContext as Cn, useState as $r, useEffect as jn, useContext as Rr } from "react";
|
|
6
|
+
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
+
import { isEditing as Ut, isBrowser as Ft, getUserAttributes as On, logger as He, checkIsDefined as st, fastClone as Vr, TARGET as Xr } from "./server-entry-253a0fa1.js";
|
|
8
|
+
import { getClassPropName as An } from "./get-class-prop-name-49d9b54f.js";
|
|
9
9
|
import { DynamicRenderer as In } from "./dynamic-renderer-8b343325.js";
|
|
10
|
-
const
|
|
10
|
+
const Hr = (e, t, n) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
12
12
|
return e;
|
|
13
13
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
14
14
|
return r.slice(0, -1).reduce((o, s, a) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
|
|
15
|
-
},
|
|
15
|
+
}, Kr = ({
|
|
16
16
|
builder: e,
|
|
17
17
|
context: t,
|
|
18
18
|
event: n,
|
|
@@ -52,11 +52,11 @@ const Rn = ({
|
|
|
52
52
|
rootSetState: s,
|
|
53
53
|
rootState: a
|
|
54
54
|
}) => {
|
|
55
|
-
const f =
|
|
55
|
+
const f = Kr({
|
|
56
56
|
builder: t,
|
|
57
57
|
context: n,
|
|
58
58
|
event: r,
|
|
59
|
-
state:
|
|
59
|
+
state: Jr({
|
|
60
60
|
rootState: a,
|
|
61
61
|
localState: o,
|
|
62
62
|
rootSetState: s
|
|
@@ -64,7 +64,7 @@ const Rn = ({
|
|
|
64
64
|
});
|
|
65
65
|
return new Function(...f.map(([g]) => g), e)(...f.map(([, g]) => g));
|
|
66
66
|
};
|
|
67
|
-
function
|
|
67
|
+
function Jr({
|
|
68
68
|
rootState: e,
|
|
69
69
|
localState: t,
|
|
70
70
|
rootSetState: n
|
|
@@ -74,7 +74,7 @@ function Zr({
|
|
|
74
74
|
if (t && o in t)
|
|
75
75
|
return t[o];
|
|
76
76
|
const s = r[o];
|
|
77
|
-
return typeof s == "object" && s !== null ?
|
|
77
|
+
return typeof s == "object" && s !== null ? Jr({
|
|
78
78
|
rootState: s,
|
|
79
79
|
localState: void 0,
|
|
80
80
|
rootSetState: n ? (a) => {
|
|
@@ -94,14 +94,14 @@ var b, Mn = function(e) {
|
|
|
94
94
|
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Sn.test(String.fromCharCode(i));
|
|
95
95
|
}
|
|
96
96
|
function n(i) {
|
|
97
|
-
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
97
|
+
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Pr.test(String.fromCharCode(i));
|
|
98
98
|
}
|
|
99
99
|
function r(i, l) {
|
|
100
100
|
for (var u = d, p = 1, x = 0; ; ) {
|
|
101
101
|
ot.lastIndex = x;
|
|
102
|
-
var
|
|
103
|
-
if (
|
|
104
|
-
++p, x =
|
|
102
|
+
var F = ot.exec(u);
|
|
103
|
+
if (F && F.index < i)
|
|
104
|
+
++p, x = F.index + F[0].length;
|
|
105
105
|
else
|
|
106
106
|
break;
|
|
107
107
|
}
|
|
@@ -119,35 +119,35 @@ var b, Mn = function(e) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
function s() {
|
|
122
|
-
this.line =
|
|
122
|
+
this.line = de, this.ab = c - re;
|
|
123
123
|
}
|
|
124
124
|
function a(i, l) {
|
|
125
|
-
|
|
125
|
+
me = c, j.C && (St = new s()), S = i, g(), J = l, Re = i.m;
|
|
126
126
|
}
|
|
127
127
|
function f() {
|
|
128
|
-
for (var i = c, l =
|
|
128
|
+
for (var i = c, l = j.va && j.C && new s(), u = d.charCodeAt(c += 2); c < ve && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
|
|
129
129
|
++c, u = d.charCodeAt(c);
|
|
130
|
-
|
|
130
|
+
j.va && j.va(!1, d.slice(i + 2, c), i, c, l, j.C && new s());
|
|
131
131
|
}
|
|
132
132
|
function g() {
|
|
133
|
-
for (; c <
|
|
133
|
+
for (; c < ve; ) {
|
|
134
134
|
var i = d.charCodeAt(c);
|
|
135
135
|
if (i === 32)
|
|
136
136
|
++c;
|
|
137
137
|
else if (i === 13)
|
|
138
|
-
++c, i = d.charCodeAt(c), i === 10 && ++c,
|
|
138
|
+
++c, i = d.charCodeAt(c), i === 10 && ++c, j.C && (++de, re = c);
|
|
139
139
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
140
|
-
++c,
|
|
140
|
+
++c, j.C && (++de, re = c);
|
|
141
141
|
else if (8 < i && 14 > i)
|
|
142
142
|
++c;
|
|
143
143
|
else if (i === 47)
|
|
144
144
|
if (i = d.charCodeAt(c + 1), i === 42) {
|
|
145
145
|
i = void 0;
|
|
146
|
-
var l =
|
|
147
|
-
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2,
|
|
146
|
+
var l = j.va && j.C && new s(), u = c, p = d.indexOf("*/", c += 2);
|
|
147
|
+
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2, j.C)
|
|
148
148
|
for (ot.lastIndex = u; (i = ot.exec(d)) && i.index < c; )
|
|
149
|
-
++
|
|
150
|
-
|
|
149
|
+
++de, re = i.index + i[0].length;
|
|
150
|
+
j.va && j.va(!0, d.slice(u + 2, p), u, c, l, j.C && new s());
|
|
151
151
|
} else if (i === 47)
|
|
152
152
|
f();
|
|
153
153
|
else
|
|
@@ -160,34 +160,34 @@ var b, Mn = function(e) {
|
|
|
160
160
|
break;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function O(i) {
|
|
164
164
|
switch (i) {
|
|
165
165
|
case 46:
|
|
166
|
-
i = d.charCodeAt(c + 1), 48 <= i && 57 >= i ? I(!0) : (++c, a(
|
|
166
|
+
i = d.charCodeAt(c + 1), 48 <= i && 57 >= i ? I(!0) : (++c, a(Cr));
|
|
167
167
|
return;
|
|
168
168
|
case 40:
|
|
169
|
-
return ++c, a(
|
|
169
|
+
return ++c, a(ne);
|
|
170
170
|
case 41:
|
|
171
|
-
return ++c, a(
|
|
171
|
+
return ++c, a(q);
|
|
172
172
|
case 59:
|
|
173
|
-
return ++c, a(
|
|
173
|
+
return ++c, a(oe);
|
|
174
174
|
case 44:
|
|
175
|
-
return ++c, a(
|
|
175
|
+
return ++c, a(pe);
|
|
176
176
|
case 91:
|
|
177
|
-
return ++c, a(bt);
|
|
178
|
-
case 93:
|
|
179
177
|
return ++c, a(Tt);
|
|
178
|
+
case 93:
|
|
179
|
+
return ++c, a(Nt);
|
|
180
180
|
case 123:
|
|
181
|
-
return ++c, a(
|
|
181
|
+
return ++c, a(De);
|
|
182
182
|
case 125:
|
|
183
|
-
return ++c, a(
|
|
183
|
+
return ++c, a(Se);
|
|
184
184
|
case 58:
|
|
185
|
-
return ++c, a(
|
|
185
|
+
return ++c, a(Ue);
|
|
186
186
|
case 63:
|
|
187
|
-
return ++c, a(
|
|
187
|
+
return ++c, a(jr);
|
|
188
188
|
case 48:
|
|
189
189
|
if (i = d.charCodeAt(c + 1), i === 120 || i === 88) {
|
|
190
|
-
c += 2, i =
|
|
190
|
+
c += 2, i = R(16), i === null && r(U + 2, "Expected hexadecimal number"), n(d.charCodeAt(c)) && r(c, "Identifier directly after number"), a(Be, i);
|
|
191
191
|
return;
|
|
192
192
|
}
|
|
193
193
|
case 49:
|
|
@@ -204,7 +204,7 @@ var b, Mn = function(e) {
|
|
|
204
204
|
case 39:
|
|
205
205
|
c++;
|
|
206
206
|
for (var l = ""; ; ) {
|
|
207
|
-
c >=
|
|
207
|
+
c >= ve && r(U, "Unterminated string constant");
|
|
208
208
|
var u = d.charCodeAt(c);
|
|
209
209
|
if (u === i) {
|
|
210
210
|
++c, a(et, l);
|
|
@@ -216,7 +216,7 @@ var b, Mn = function(e) {
|
|
|
216
216
|
for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
|
|
217
217
|
p = p.slice(0, -1);
|
|
218
218
|
if (p === "0" && (p = null), ++c, p)
|
|
219
|
-
|
|
219
|
+
H && r(c - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(p, 8)), c += p.length - 1;
|
|
220
220
|
else
|
|
221
221
|
switch (u) {
|
|
222
222
|
case 110:
|
|
@@ -227,13 +227,13 @@ var b, Mn = function(e) {
|
|
|
227
227
|
l += "\r";
|
|
228
228
|
break;
|
|
229
229
|
case 120:
|
|
230
|
-
l += String.fromCharCode(
|
|
230
|
+
l += String.fromCharCode(D(2));
|
|
231
231
|
break;
|
|
232
232
|
case 117:
|
|
233
|
-
l += String.fromCharCode(
|
|
233
|
+
l += String.fromCharCode(D(4));
|
|
234
234
|
break;
|
|
235
235
|
case 85:
|
|
236
|
-
l += String.fromCharCode(
|
|
236
|
+
l += String.fromCharCode(D(8));
|
|
237
237
|
break;
|
|
238
238
|
case 116:
|
|
239
239
|
l += " ";
|
|
@@ -253,56 +253,56 @@ var b, Mn = function(e) {
|
|
|
253
253
|
case 13:
|
|
254
254
|
d.charCodeAt(c) === 10 && ++c;
|
|
255
255
|
case 10:
|
|
256
|
-
|
|
256
|
+
j.C && (re = c, ++de);
|
|
257
257
|
break;
|
|
258
258
|
default:
|
|
259
259
|
l += String.fromCharCode(u);
|
|
260
260
|
}
|
|
261
261
|
} else
|
|
262
|
-
u !== 13 && u !== 10 && u !== 8232 && u !== 8233 || r(
|
|
262
|
+
u !== 13 && u !== 10 && u !== 8232 && u !== 8233 || r(U, "Unterminated string constant"), l += String.fromCharCode(u), ++c;
|
|
263
263
|
}
|
|
264
264
|
return;
|
|
265
265
|
case 47:
|
|
266
|
-
i = d.charCodeAt(c + 1),
|
|
266
|
+
i = d.charCodeAt(c + 1), Re ? (++c, N()) : i === 61 ? w(ye, 2) : w(Or, 1);
|
|
267
267
|
return;
|
|
268
268
|
case 37:
|
|
269
269
|
case 42:
|
|
270
|
-
d.charCodeAt(c + 1) === 61 ? w(
|
|
270
|
+
d.charCodeAt(c + 1) === 61 ? w(ye, 2) : w(yn, 1);
|
|
271
271
|
return;
|
|
272
272
|
case 124:
|
|
273
273
|
case 38:
|
|
274
|
-
l = d.charCodeAt(c + 1), l === i ? w(i === 124 ?
|
|
274
|
+
l = d.charCodeAt(c + 1), l === i ? w(i === 124 ? br : Tr, 2) : l === 61 ? w(ye, 2) : w(i === 124 ? un : fn, 1);
|
|
275
275
|
return;
|
|
276
276
|
case 94:
|
|
277
|
-
d.charCodeAt(c + 1) === 61 ? w(
|
|
277
|
+
d.charCodeAt(c + 1) === 61 ? w(ye, 2) : w(cn, 1);
|
|
278
278
|
return;
|
|
279
279
|
case 43:
|
|
280
280
|
case 45:
|
|
281
|
-
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && nt.test(d.slice(
|
|
281
|
+
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && nt.test(d.slice(fe, c)) ? (c += 3, f(), g(), C()) : w(ln, 2) : l === 61 ? w(ye, 2) : w(dn, 1);
|
|
282
282
|
return;
|
|
283
283
|
case 60:
|
|
284
284
|
case 62:
|
|
285
|
-
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ? w(
|
|
285
|
+
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ? w(ye, u + 1) : w(gn, u)) : l === 33 && i === 60 && d.charCodeAt(c + 2) === 45 && d.charCodeAt(c + 3) === 45 ? (c += 4, f(), g(), C()) : (l === 61 && (u = d.charCodeAt(c + 2) === 61 ? 3 : 2), w(hn, u));
|
|
286
286
|
return;
|
|
287
287
|
case 61:
|
|
288
288
|
case 33:
|
|
289
|
-
d.charCodeAt(c + 1) === 61 ? w(pn, d.charCodeAt(c + 2) === 61 ? 3 : 2) : w(i === 61 ?
|
|
289
|
+
d.charCodeAt(c + 1) === 61 ? w(pn, d.charCodeAt(c + 2) === 61 ? 3 : 2) : w(i === 61 ? Ar : Ir, 1);
|
|
290
290
|
return;
|
|
291
291
|
case 126:
|
|
292
|
-
return w(
|
|
292
|
+
return w(Ir, 1);
|
|
293
293
|
}
|
|
294
294
|
return !1;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
if (i ? c =
|
|
296
|
+
function C(i) {
|
|
297
|
+
if (i ? c = U + 1 : U = c, j.C && (wt = new s()), i)
|
|
298
298
|
return N();
|
|
299
|
-
if (c >=
|
|
300
|
-
return a(
|
|
299
|
+
if (c >= ve)
|
|
300
|
+
return a(Et);
|
|
301
301
|
if (i = d.charCodeAt(c), n(i) || i === 92)
|
|
302
|
-
return
|
|
303
|
-
if (
|
|
304
|
-
if (i = String.fromCharCode(i), i === "\\" ||
|
|
305
|
-
return
|
|
302
|
+
return z();
|
|
303
|
+
if (O(i) === !1) {
|
|
304
|
+
if (i = String.fromCharCode(i), i === "\\" || Pr.test(i))
|
|
305
|
+
return z();
|
|
306
306
|
r(c, "Unexpected character '" + i + "'");
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -312,7 +312,7 @@ var b, Mn = function(e) {
|
|
|
312
312
|
}
|
|
313
313
|
function N() {
|
|
314
314
|
for (var i, l, u = c; ; ) {
|
|
315
|
-
c >=
|
|
315
|
+
c >= ve && r(u, "Unterminated regexp");
|
|
316
316
|
var p = d.charAt(c);
|
|
317
317
|
if (nt.test(p) && r(u, "Unterminated regexp"), i)
|
|
318
318
|
i = !1;
|
|
@@ -327,16 +327,16 @@ var b, Mn = function(e) {
|
|
|
327
327
|
}
|
|
328
328
|
++c;
|
|
329
329
|
}
|
|
330
|
-
i = d.slice(u, c), ++c, (l =
|
|
330
|
+
i = d.slice(u, c), ++c, (l = K()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
|
|
331
331
|
try {
|
|
332
332
|
var x = new RegExp(i, l);
|
|
333
|
-
} catch (
|
|
334
|
-
throw
|
|
333
|
+
} catch (F) {
|
|
334
|
+
throw F instanceof SyntaxError && r(u, F.message), F;
|
|
335
335
|
}
|
|
336
|
-
a(
|
|
336
|
+
a(ir, x);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
for (var u = c, p = 0, x = l === void 0 ? 1 / 0 : l,
|
|
338
|
+
function R(i, l) {
|
|
339
|
+
for (var u = c, p = 0, x = l === void 0 ? 1 / 0 : l, F = 0; F < x; ++F) {
|
|
340
340
|
var G = d.charCodeAt(c);
|
|
341
341
|
if (G = 97 <= G ? G - 97 + 10 : 65 <= G ? G - 65 + 10 : 48 <= G && 57 >= G ? G - 48 : 1 / 0, G >= i)
|
|
342
342
|
break;
|
|
@@ -346,304 +346,304 @@ var b, Mn = function(e) {
|
|
|
346
346
|
}
|
|
347
347
|
function I(i) {
|
|
348
348
|
var l = c, u = !1, p = d.charCodeAt(c) === 48;
|
|
349
|
-
i ||
|
|
349
|
+
i || R(10) !== null || r(l, "Invalid number"), d.charCodeAt(c) === 46 && (++c, R(10), u = !0), i = d.charCodeAt(c), (i === 69 || i === 101) && (i = d.charCodeAt(++c), i !== 43 && i !== 45 || ++c, R(10) === null && r(l, "Invalid number"), u = !0), n(d.charCodeAt(c)) && r(c, "Identifier directly after number"), i = d.slice(l, c);
|
|
350
350
|
var x;
|
|
351
|
-
u ? x = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) ||
|
|
351
|
+
u ? x = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || H ? r(l, "Invalid number") : x = parseInt(i, 8) : x = parseInt(i, 10), a(Be, x);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
return i =
|
|
353
|
+
function D(i) {
|
|
354
|
+
return i = R(16, i), i === null && r(U, "Bad character escape sequence"), i;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
356
|
+
function K() {
|
|
357
|
+
xe = !1;
|
|
358
358
|
for (var i, l = !0, u = c; ; ) {
|
|
359
359
|
var p = d.charCodeAt(c);
|
|
360
360
|
if (t(p))
|
|
361
|
-
|
|
361
|
+
xe && (i += d.charAt(c)), ++c;
|
|
362
362
|
else if (p === 92) {
|
|
363
|
-
|
|
363
|
+
xe || (i = d.slice(u, c)), xe = !0, d.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, p = D(4);
|
|
364
364
|
var x = String.fromCharCode(p);
|
|
365
365
|
x || r(c - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(c - 4, "Invalid Unicode escape"), i += x;
|
|
366
366
|
} else
|
|
367
367
|
break;
|
|
368
368
|
l = !1;
|
|
369
369
|
}
|
|
370
|
-
return
|
|
370
|
+
return xe ? i : d.slice(u, c);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
var i =
|
|
374
|
-
!
|
|
372
|
+
function z() {
|
|
373
|
+
var i = K(), l = we;
|
|
374
|
+
!xe && mn(i) && (l = an[i]), a(l, i);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
|
|
376
|
+
function k() {
|
|
377
|
+
xt = U, fe = me, kt = St, C();
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
for (; c <
|
|
382
|
-
|
|
383
|
-
`,
|
|
384
|
-
g(),
|
|
379
|
+
function Q(i) {
|
|
380
|
+
if (H = i, c = U, j.C)
|
|
381
|
+
for (; c < re; )
|
|
382
|
+
re = d.lastIndexOf(`
|
|
383
|
+
`, re - 2) + 1, --de;
|
|
384
|
+
g(), C();
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
this.type = null, this.start =
|
|
386
|
+
function Ie() {
|
|
387
|
+
this.type = null, this.start = U, this.end = null;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
390
|
-
this.start =
|
|
389
|
+
function be() {
|
|
390
|
+
this.start = wt, this.end = null, mt && (this.source = mt);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
393
|
-
var i = new
|
|
394
|
-
return
|
|
392
|
+
function _() {
|
|
393
|
+
var i = new Ie();
|
|
394
|
+
return j.C && (i.X = new be()), j.vb && (i.sourceFile = j.vb), j.Xa && (i.j = [U, 0]), i;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
var l = new
|
|
398
|
-
return l.start = i.start,
|
|
396
|
+
function ce(i) {
|
|
397
|
+
var l = new Ie();
|
|
398
|
+
return l.start = i.start, j.C && (l.X = new be(), l.X.start = i.X.start), j.Xa && (l.j = [i.j[0], 0]), l;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
return i.type = l, i.end =
|
|
400
|
+
function E(i, l) {
|
|
401
|
+
return i.type = l, i.end = fe, j.C && (i.X.end = kt), j.Xa && (i.j[1] = fe), i;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function ft(i) {
|
|
404
404
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
return S === i ? (
|
|
406
|
+
function P(i) {
|
|
407
|
+
return S === i ? (k(), !0) : !1;
|
|
408
408
|
}
|
|
409
409
|
function ze() {
|
|
410
|
-
return !
|
|
410
|
+
return !j.fc && (S === Et || S === Se || nt.test(d.slice(fe, U)));
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
|
|
412
|
+
function ge() {
|
|
413
|
+
P(oe) || ze() || ee();
|
|
414
414
|
}
|
|
415
415
|
function M(i) {
|
|
416
|
-
S === i ?
|
|
416
|
+
S === i ? k() : ee();
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
r(
|
|
418
|
+
function ee() {
|
|
419
|
+
r(U, "Unexpected token");
|
|
420
420
|
}
|
|
421
421
|
function Qe(i) {
|
|
422
|
-
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"),
|
|
422
|
+
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), H && i.type === "Identifier" && rt(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
|
|
423
423
|
}
|
|
424
|
-
function
|
|
425
|
-
(S ===
|
|
426
|
-
var i = S, l =
|
|
424
|
+
function Y() {
|
|
425
|
+
(S === Or || S === ye && J === "/=") && C(!0);
|
|
426
|
+
var i = S, l = _();
|
|
427
427
|
switch (i) {
|
|
428
|
-
case
|
|
429
|
-
case
|
|
430
|
-
|
|
431
|
-
var u = i ===
|
|
432
|
-
|
|
428
|
+
case Ct:
|
|
429
|
+
case ar:
|
|
430
|
+
k();
|
|
431
|
+
var u = i === Ct;
|
|
432
|
+
P(oe) || ze() ? l.label = null : S !== we ? ee() : (l.label = te(), ge());
|
|
433
433
|
for (var p = 0; p < B.length; ++p) {
|
|
434
434
|
var x = B[p];
|
|
435
435
|
if ((l.label === null || x.name === l.label.name) && (x.kind !== null && (u || x.kind === "loop") || l.label && u))
|
|
436
436
|
break;
|
|
437
437
|
}
|
|
438
|
-
return p === B.length && r(l.start, "Unsyntactic " + i.l),
|
|
438
|
+
return p === B.length && r(l.start, "Unsyntactic " + i.l), E(l, u ? "BreakStatement" : "ContinueStatement");
|
|
439
|
+
case lr:
|
|
440
|
+
return k(), ge(), E(l, "DebuggerStatement");
|
|
439
441
|
case cr:
|
|
440
|
-
return
|
|
441
|
-
case
|
|
442
|
-
return
|
|
442
|
+
return k(), B.push(Pt), l.body = Y(), B.pop(), M(bt), l.test = Te(), ge(), E(l, "DoWhileStatement");
|
|
443
|
+
case hr:
|
|
444
|
+
return k(), B.push(Pt), M(ne), S === oe ? pt(l, null) : S === It ? (i = _(), k(), nr(i, !0), E(i, "VariableDeclaration"), i.fa.length === 1 && P(tt) ? rr(l, i) : pt(l, i)) : (i = $(!1, !0), P(tt) ? (Qe(i), rr(l, i)) : pt(l, i));
|
|
445
|
+
case Ot:
|
|
446
|
+
return k(), yt(l, !0);
|
|
447
|
+
case gr:
|
|
448
|
+
return k(), l.test = Te(), l.da = Y(), l.alternate = P(fr) ? Y() : null, E(l, "IfStatement");
|
|
443
449
|
case dr:
|
|
444
|
-
return
|
|
445
|
-
case
|
|
446
|
-
|
|
450
|
+
return Me || j.Ib || r(U, "'return' outside of function"), k(), P(oe) || ze() ? l.K = null : (l.K = $(), ge()), E(l, "ReturnStatement");
|
|
451
|
+
case At:
|
|
452
|
+
for (k(), l.Qb = Te(), l.tb = [], M(De), B.push(xn); S !== Se; )
|
|
453
|
+
S === jt || S === ur ? (i = S === jt, p && E(p, "SwitchCase"), l.tb.push(p = _()), p.da = [], k(), i ? p.test = $() : (u && r(xt, "Multiple default clauses"), u = !0, p.test = null), M(Ue)) : (p || ee(), p.da.push(Y()));
|
|
454
|
+
return p && E(p, "SwitchCase"), k(), B.pop(), E(l, "SwitchStatement");
|
|
447
455
|
case yr:
|
|
448
|
-
return
|
|
456
|
+
return k(), nt.test(d.slice(fe, U)) && r(fe, "Illegal newline after throw"), l.K = $(), ge(), E(l, "ThrowStatement");
|
|
449
457
|
case vr:
|
|
450
|
-
return
|
|
451
|
-
case Ot:
|
|
452
|
-
for (O(), l.Qb = Ne(), l.tb = [], M(Ue), B.push(xn); S !== xe; )
|
|
453
|
-
S === Ct || S === fr ? (i = S === Ct, p && k(p, "SwitchCase"), l.tb.push(p = L()), p.da = [], O(), i ? p.test = $() : (u && r(St, "Multiple default clauses"), u = !0, p.test = null), M(Fe)) : (p || Q(), p.da.push(J()));
|
|
454
|
-
return p && k(p, "SwitchCase"), O(), B.pop(), k(l, "SwitchStatement");
|
|
455
|
-
case mr:
|
|
456
|
-
return O(), nt.test(d.slice(ue, D)) && r(ue, "Illegal newline after throw"), l.K = $(), he(), k(l, "ThrowStatement");
|
|
457
|
-
case wr:
|
|
458
|
-
return O(), l.block = Pe(), l.Ea = null, S === lr && (i = L(), O(), M(te), i.Ua = q(), X && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), M(Z), i.body = Pe(), l.Ea = k(i, "CatchClause")), l.fb = R(gr) ? Pe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), k(l, "TryStatement");
|
|
459
|
-
case At:
|
|
460
|
-
return O(), ir(l), he(), k(l, "VariableDeclaration");
|
|
458
|
+
return k(), l.block = Ne(), l.Ea = null, S === sr && (i = _(), k(), M(ne), i.Ua = te(), H && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), M(q), i.body = Ne(), l.Ea = E(i, "CatchClause")), l.fb = P(pr) ? Ne() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
461
459
|
case It:
|
|
462
|
-
return
|
|
463
|
-
case
|
|
464
|
-
return
|
|
465
|
-
case
|
|
466
|
-
return
|
|
467
|
-
case
|
|
468
|
-
return
|
|
460
|
+
return k(), nr(l), ge(), E(l, "VariableDeclaration");
|
|
461
|
+
case bt:
|
|
462
|
+
return k(), l.test = Te(), B.push(Pt), l.body = Y(), B.pop(), E(l, "WhileStatement");
|
|
463
|
+
case mr:
|
|
464
|
+
return H && r(U, "'with' in strict mode"), k(), l.object = Te(), l.body = Y(), E(l, "WithStatement");
|
|
465
|
+
case De:
|
|
466
|
+
return Ne();
|
|
467
|
+
case oe:
|
|
468
|
+
return k(), E(l, "EmptyStatement");
|
|
469
469
|
default:
|
|
470
|
-
if (u =
|
|
470
|
+
if (u = J, x = $(), i === we && x.type === "Identifier" && P(Ue)) {
|
|
471
471
|
for (p = 0; p < B.length; ++p)
|
|
472
472
|
B[p].name === u && r(x.start, "Label '" + u + "' is already declared");
|
|
473
473
|
return B.push({
|
|
474
474
|
name: u,
|
|
475
|
-
kind: S.W ? "loop" : S ===
|
|
476
|
-
}), l.body =
|
|
475
|
+
kind: S.W ? "loop" : S === At ? "switch" : null
|
|
476
|
+
}), l.body = Y(), B.pop(), l.label = x, E(l, "LabeledStatement");
|
|
477
477
|
}
|
|
478
|
-
return l.la = x,
|
|
478
|
+
return l.la = x, ge(), E(l, "ExpressionStatement");
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
|
-
function
|
|
482
|
-
M(
|
|
481
|
+
function Te() {
|
|
482
|
+
M(ne);
|
|
483
483
|
var i = $();
|
|
484
|
-
return M(
|
|
485
|
-
}
|
|
486
|
-
function
|
|
487
|
-
var l =
|
|
488
|
-
for (l.body = [], M(
|
|
489
|
-
var x =
|
|
490
|
-
if (l.body.push(x), u && i &&
|
|
491
|
-
var
|
|
492
|
-
|
|
484
|
+
return M(q), i;
|
|
485
|
+
}
|
|
486
|
+
function Ne(i) {
|
|
487
|
+
var l = _(), u = !0, p = !1;
|
|
488
|
+
for (l.body = [], M(De); !P(Se); ) {
|
|
489
|
+
var x = Y();
|
|
490
|
+
if (l.body.push(x), u && i && ft(x)) {
|
|
491
|
+
var F = p;
|
|
492
|
+
Q(p = !0);
|
|
493
493
|
}
|
|
494
494
|
u = !1;
|
|
495
495
|
}
|
|
496
|
-
return p && !
|
|
496
|
+
return p && !F && Q(!1), E(l, "BlockStatement");
|
|
497
497
|
}
|
|
498
|
-
function
|
|
499
|
-
return i.ua = l, M(
|
|
498
|
+
function pt(i, l) {
|
|
499
|
+
return i.ua = l, M(oe), i.test = S === oe ? null : $(), M(oe), i.update = S === q ? null : $(), M(q), i.body = Y(), B.pop(), E(i, "ForStatement");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
return i.left = l, i.right = $(), M(
|
|
501
|
+
function rr(i, l) {
|
|
502
|
+
return i.left = l, i.right = $(), M(q), i.body = Y(), B.pop(), E(i, "ForInStatement");
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function nr(i, l) {
|
|
505
505
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
506
|
-
var u =
|
|
507
|
-
if (u.id =
|
|
506
|
+
var u = _();
|
|
507
|
+
if (u.id = te(), H && rt(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = P(Ar) ? $(!0, l) : null, i.fa.push(E(u, "VariableDeclarator")), !P(pe))
|
|
508
508
|
break;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
function $(i, l) {
|
|
512
|
-
var u =
|
|
513
|
-
if (!i && S ===
|
|
514
|
-
for (i =
|
|
515
|
-
i.xb.push(
|
|
516
|
-
return
|
|
512
|
+
var u = ht(l);
|
|
513
|
+
if (!i && S === pe) {
|
|
514
|
+
for (i = ce(u), i.xb = [u]; P(pe); )
|
|
515
|
+
i.xb.push(ht(l));
|
|
516
|
+
return E(i, "SequenceExpression");
|
|
517
517
|
}
|
|
518
518
|
return u;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var l =
|
|
522
|
-
if (
|
|
523
|
-
var u =
|
|
524
|
-
u.test = l, u.da = $(!0), M(
|
|
520
|
+
function ht(i) {
|
|
521
|
+
var l = gt(dt(), -1, i);
|
|
522
|
+
if (P(jr)) {
|
|
523
|
+
var u = ce(l);
|
|
524
|
+
u.test = l, u.da = $(!0), M(Ue), u.alternate = $(!0, i), l = E(u, "ConditionalExpression");
|
|
525
525
|
}
|
|
526
|
-
return S.Cb ? (u =
|
|
526
|
+
return S.Cb ? (u = ce(l), u.operator = J, u.left = l, k(), u.right = ht(i), Qe(l), E(u, "AssignmentExpression")) : l;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function gt(i, l, u) {
|
|
529
529
|
var p = S.L;
|
|
530
530
|
if (p !== null && (!u || S !== tt) && p > l) {
|
|
531
|
-
var x =
|
|
532
|
-
return x.left = i, x.operator =
|
|
531
|
+
var x = ce(i);
|
|
532
|
+
return x.left = i, x.operator = J, i = S, k(), x.right = gt(dt(), p, u), p = E(x, i === br || i === Tr ? "LogicalExpression" : "BinaryExpression"), gt(p, l, u);
|
|
533
533
|
}
|
|
534
534
|
return i;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function dt() {
|
|
537
537
|
if (S.prefix) {
|
|
538
|
-
var i =
|
|
539
|
-
return i.operator =
|
|
538
|
+
var i = _(), l = S.$b;
|
|
539
|
+
return i.operator = J, Re = i.prefix = !0, k(), i.K = dt(), l ? Qe(i.K) : H && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), E(i, l ? "UpdateExpression" : "UnaryExpression");
|
|
540
540
|
}
|
|
541
|
-
for (l =
|
|
542
|
-
i =
|
|
541
|
+
for (l = Pe(qe()); S.cc && !ze(); )
|
|
542
|
+
i = ce(l), i.operator = J, i.prefix = !1, i.K = l, Qe(l), k(), l = E(i, "UpdateExpression");
|
|
543
543
|
return l;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
if (
|
|
547
|
-
var u =
|
|
548
|
-
return u.object = i, u.Wa =
|
|
545
|
+
function Pe(i, l) {
|
|
546
|
+
if (P(Cr)) {
|
|
547
|
+
var u = ce(i);
|
|
548
|
+
return u.object = i, u.Wa = te(!0), u.bb = !1, Pe(E(u, "MemberExpression"), l);
|
|
549
549
|
}
|
|
550
|
-
return
|
|
550
|
+
return P(Tt) ? (u = ce(i), u.object = i, u.Wa = $(), u.bb = !0, M(Nt), Pe(E(u, "MemberExpression"), l)) : !l && P(ne) ? (u = ce(i), u.callee = i, u.arguments = vt(q, !1), Pe(E(u, "CallExpression"), l)) : i;
|
|
551
551
|
}
|
|
552
552
|
function qe() {
|
|
553
553
|
switch (S) {
|
|
554
|
-
case
|
|
555
|
-
var i =
|
|
556
|
-
return
|
|
557
|
-
case
|
|
558
|
-
return
|
|
559
|
-
case
|
|
554
|
+
case Sr:
|
|
555
|
+
var i = _();
|
|
556
|
+
return k(), E(i, "ThisExpression");
|
|
557
|
+
case we:
|
|
558
|
+
return te();
|
|
559
|
+
case Be:
|
|
560
560
|
case et:
|
|
561
|
-
case
|
|
562
|
-
return i =
|
|
561
|
+
case ir:
|
|
562
|
+
return i = _(), i.value = J, i.raw = d.slice(U, me), k(), E(i, "Literal");
|
|
563
|
+
case xr:
|
|
564
|
+
case kr:
|
|
563
565
|
case Er:
|
|
564
|
-
|
|
565
|
-
case
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
var l = D;
|
|
570
|
-
O();
|
|
566
|
+
return i = _(), i.value = S.$a, i.raw = S.l, k(), E(i, "Literal");
|
|
567
|
+
case ne:
|
|
568
|
+
i = wt;
|
|
569
|
+
var l = U;
|
|
570
|
+
k();
|
|
571
571
|
var u = $();
|
|
572
|
-
return u.start = l, u.end =
|
|
573
|
-
case
|
|
574
|
-
return i =
|
|
575
|
-
case
|
|
576
|
-
for (i =
|
|
572
|
+
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end = St), j.Xa && (u.j = [l, me]), M(q), u;
|
|
573
|
+
case Tt:
|
|
574
|
+
return i = _(), k(), i.elements = vt(Nt, !0, !0), E(i, "ArrayExpression");
|
|
575
|
+
case De:
|
|
576
|
+
for (i = _(), l = !0, u = !1, i.h = [], k(); !P(Se); ) {
|
|
577
577
|
if (l)
|
|
578
578
|
l = !1;
|
|
579
|
-
else if (M(
|
|
579
|
+
else if (M(pe), j.sb && P(Se))
|
|
580
580
|
break;
|
|
581
581
|
var p = {
|
|
582
|
-
key: S ===
|
|
582
|
+
key: S === Be || S === et ? qe() : te(!0)
|
|
583
583
|
}, x = !1;
|
|
584
|
-
if (
|
|
584
|
+
if (P(Ue)) {
|
|
585
585
|
p.value = $(!0);
|
|
586
|
-
var
|
|
586
|
+
var F = p.kind = "init";
|
|
587
587
|
} else
|
|
588
|
-
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ?
|
|
589
|
-
if (p.key.type === "Identifier" && (
|
|
588
|
+
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ee() : (x = u = !0, F = p.kind = p.key.name, p.key = S === Be || S === et ? qe() : te(!0), S !== ne && ee(), p.value = yt(_(), !1));
|
|
589
|
+
if (p.key.type === "Identifier" && (H || u))
|
|
590
590
|
for (var G = 0; G < i.h.length; ++G) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
var
|
|
594
|
-
|
|
591
|
+
var ke = i.h[G];
|
|
592
|
+
if (ke.key.name === p.key.name) {
|
|
593
|
+
var Rt = F === ke.kind || x && ke.kind === "init" || F === "init" && (ke.kind === "get" || ke.kind === "set");
|
|
594
|
+
Rt && !H && F === "init" && ke.kind === "init" && (Rt = !1), Rt && r(p.key.start, "Redefinition of property");
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
i.h.push(p);
|
|
598
598
|
}
|
|
599
|
-
return
|
|
600
|
-
case
|
|
601
|
-
return i =
|
|
602
|
-
case
|
|
603
|
-
return i =
|
|
599
|
+
return E(i, "ObjectExpression");
|
|
600
|
+
case Ot:
|
|
601
|
+
return i = _(), k(), yt(i, !1);
|
|
602
|
+
case wr:
|
|
603
|
+
return i = _(), k(), i.callee = Pe(qe(), !0), i.arguments = P(ne) ? vt(q, !1) : sn, E(i, "NewExpression");
|
|
604
604
|
}
|
|
605
|
-
|
|
605
|
+
ee();
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
S ===
|
|
607
|
+
function yt(i, l) {
|
|
608
|
+
S === we ? i.id = te() : l ? ee() : i.id = null, i.oa = [];
|
|
609
609
|
var u = !0;
|
|
610
|
-
for (M(
|
|
611
|
-
u ? u = !1 : M(
|
|
612
|
-
u =
|
|
610
|
+
for (M(ne); !P(q); )
|
|
611
|
+
u ? u = !1 : M(pe), i.oa.push(te());
|
|
612
|
+
u = Me;
|
|
613
613
|
var p = B;
|
|
614
|
-
if (
|
|
614
|
+
if (Me = !0, B = [], i.body = Ne(!0), Me = u, B = p, H || i.body.body.length && ft(i.body.body[0])) {
|
|
615
615
|
for (u = i.id ? -1 : 0; u < i.oa.length; ++u)
|
|
616
|
-
if (p = 0 > u ? i.id : i.oa[u], (
|
|
616
|
+
if (p = 0 > u ? i.id : i.oa[u], (Nr(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= u)
|
|
617
617
|
for (var x = 0; x < u; ++x)
|
|
618
618
|
p.name === i.oa[x].name && r(p.start, "Argument name clash in strict mode");
|
|
619
619
|
}
|
|
620
|
-
return
|
|
620
|
+
return E(i, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
for (var p = [], x = !0; !
|
|
622
|
+
function vt(i, l, u) {
|
|
623
|
+
for (var p = [], x = !0; !P(i); ) {
|
|
624
624
|
if (x)
|
|
625
625
|
x = !1;
|
|
626
|
-
else if (M(
|
|
626
|
+
else if (M(pe), l && j.sb && P(i))
|
|
627
627
|
break;
|
|
628
|
-
p.push(u && S ===
|
|
628
|
+
p.push(u && S === pe ? null : $(!0));
|
|
629
629
|
}
|
|
630
630
|
return p;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
var l =
|
|
634
|
-
return i &&
|
|
632
|
+
function te(i) {
|
|
633
|
+
var l = _();
|
|
634
|
+
return i && j.yb === "everywhere" && (i = !1), S === we ? (!i && (j.yb && vn(J) || H && Nr(J)) && d.slice(U, me).indexOf("\\") === -1 && r(U, "The keyword '" + J + "' is reserved"), l.name = J) : i && S.l ? l.name = S.l : ee(), Re = !1, k(), E(l, "Identifier");
|
|
635
635
|
}
|
|
636
636
|
e.version = "0.5.0";
|
|
637
|
-
var
|
|
637
|
+
var j, d = "", ve, mt;
|
|
638
638
|
e.parse = function(i, l) {
|
|
639
|
-
d = String(i),
|
|
640
|
-
for (var u in
|
|
641
|
-
Object.prototype.hasOwnProperty.call(
|
|
642
|
-
for (
|
|
643
|
-
u =
|
|
644
|
-
return
|
|
639
|
+
d = String(i), ve = d.length, j = l || {};
|
|
640
|
+
for (var u in or)
|
|
641
|
+
Object.prototype.hasOwnProperty.call(j, u) || (j[u] = or[u]);
|
|
642
|
+
for (mt = j.sourceFile, de = 1, c = re = 0, Re = !0, g(), u = j.dc, xt = fe = c, j.C && (kt = new s()), Me = H = !1, B = [], C(), i = u || _(), l = !0, u || (i.body = []); S !== Et; )
|
|
643
|
+
u = Y(), i.body.push(u), l && ft(u) && Q(!0), l = !1;
|
|
644
|
+
return E(i, "Program");
|
|
645
645
|
};
|
|
646
|
-
var
|
|
646
|
+
var or = {
|
|
647
647
|
fc: !1,
|
|
648
648
|
sb: !0,
|
|
649
649
|
yb: !1,
|
|
@@ -654,73 +654,73 @@ var b, Mn = function(e) {
|
|
|
654
654
|
dc: null,
|
|
655
655
|
sourceFile: null,
|
|
656
656
|
vb: null
|
|
657
|
-
}, c = 0,
|
|
657
|
+
}, c = 0, U = 0, me = 0, wt, St, S, J, Re, de, re, xt = 0, fe = 0, kt, Me, B, H, sn = [], Be = {
|
|
658
658
|
type: "num"
|
|
659
|
-
},
|
|
659
|
+
}, ir = {
|
|
660
660
|
type: "regexp"
|
|
661
661
|
}, et = {
|
|
662
662
|
type: "string"
|
|
663
|
-
},
|
|
663
|
+
}, we = {
|
|
664
664
|
type: "name"
|
|
665
|
-
}, kt = {
|
|
666
|
-
type: "eof"
|
|
667
665
|
}, Et = {
|
|
668
|
-
|
|
666
|
+
type: "eof"
|
|
669
667
|
}, Ct = {
|
|
668
|
+
l: "break"
|
|
669
|
+
}, jt = {
|
|
670
670
|
l: "case",
|
|
671
671
|
m: !0
|
|
672
|
-
},
|
|
672
|
+
}, sr = {
|
|
673
673
|
l: "catch"
|
|
674
|
-
},
|
|
674
|
+
}, ar = {
|
|
675
675
|
l: "continue"
|
|
676
|
-
},
|
|
676
|
+
}, lr = {
|
|
677
677
|
l: "debugger"
|
|
678
|
-
},
|
|
678
|
+
}, ur = {
|
|
679
679
|
l: "default"
|
|
680
|
-
},
|
|
680
|
+
}, cr = {
|
|
681
681
|
l: "do",
|
|
682
682
|
W: !0
|
|
683
|
-
},
|
|
683
|
+
}, fr = {
|
|
684
684
|
l: "else",
|
|
685
685
|
m: !0
|
|
686
|
-
},
|
|
686
|
+
}, pr = {
|
|
687
687
|
l: "finally"
|
|
688
|
-
},
|
|
688
|
+
}, hr = {
|
|
689
689
|
l: "for",
|
|
690
690
|
W: !0
|
|
691
|
-
},
|
|
691
|
+
}, Ot = {
|
|
692
692
|
l: "function"
|
|
693
|
-
},
|
|
693
|
+
}, gr = {
|
|
694
694
|
l: "if"
|
|
695
|
-
},
|
|
695
|
+
}, dr = {
|
|
696
696
|
l: "return",
|
|
697
697
|
m: !0
|
|
698
|
-
},
|
|
698
|
+
}, At = {
|
|
699
699
|
l: "switch"
|
|
700
|
-
},
|
|
700
|
+
}, yr = {
|
|
701
701
|
l: "throw",
|
|
702
702
|
m: !0
|
|
703
|
-
},
|
|
703
|
+
}, vr = {
|
|
704
704
|
l: "try"
|
|
705
|
-
}, At = {
|
|
706
|
-
l: "var"
|
|
707
705
|
}, It = {
|
|
706
|
+
l: "var"
|
|
707
|
+
}, bt = {
|
|
708
708
|
l: "while",
|
|
709
709
|
W: !0
|
|
710
|
-
},
|
|
710
|
+
}, mr = {
|
|
711
711
|
l: "with"
|
|
712
|
-
},
|
|
712
|
+
}, wr = {
|
|
713
713
|
l: "new",
|
|
714
714
|
m: !0
|
|
715
|
-
},
|
|
715
|
+
}, Sr = {
|
|
716
716
|
l: "this"
|
|
717
|
-
},
|
|
717
|
+
}, xr = {
|
|
718
718
|
l: "null",
|
|
719
719
|
$a: null
|
|
720
|
-
},
|
|
720
|
+
}, kr = {
|
|
721
721
|
l: "true",
|
|
722
722
|
$a: !0
|
|
723
|
-
},
|
|
723
|
+
}, Er = {
|
|
724
724
|
l: "false",
|
|
725
725
|
$a: !1
|
|
726
726
|
}, tt = {
|
|
@@ -728,36 +728,36 @@ var b, Mn = function(e) {
|
|
|
728
728
|
L: 7,
|
|
729
729
|
m: !0
|
|
730
730
|
}, an = {
|
|
731
|
-
break:
|
|
732
|
-
case:
|
|
733
|
-
catch:
|
|
734
|
-
continue:
|
|
735
|
-
debugger:
|
|
736
|
-
default:
|
|
737
|
-
do:
|
|
738
|
-
else:
|
|
739
|
-
finally:
|
|
740
|
-
for:
|
|
741
|
-
function:
|
|
742
|
-
if:
|
|
743
|
-
return:
|
|
744
|
-
switch:
|
|
745
|
-
throw:
|
|
746
|
-
try:
|
|
747
|
-
var:
|
|
748
|
-
while:
|
|
749
|
-
with:
|
|
750
|
-
null:
|
|
751
|
-
true:
|
|
752
|
-
false:
|
|
753
|
-
new:
|
|
731
|
+
break: Ct,
|
|
732
|
+
case: jt,
|
|
733
|
+
catch: sr,
|
|
734
|
+
continue: ar,
|
|
735
|
+
debugger: lr,
|
|
736
|
+
default: ur,
|
|
737
|
+
do: cr,
|
|
738
|
+
else: fr,
|
|
739
|
+
finally: pr,
|
|
740
|
+
for: hr,
|
|
741
|
+
function: Ot,
|
|
742
|
+
if: gr,
|
|
743
|
+
return: dr,
|
|
744
|
+
switch: At,
|
|
745
|
+
throw: yr,
|
|
746
|
+
try: vr,
|
|
747
|
+
var: It,
|
|
748
|
+
while: bt,
|
|
749
|
+
with: mr,
|
|
750
|
+
null: xr,
|
|
751
|
+
true: kr,
|
|
752
|
+
false: Er,
|
|
753
|
+
new: wr,
|
|
754
754
|
in: tt,
|
|
755
755
|
instanceof: {
|
|
756
756
|
l: "instanceof",
|
|
757
757
|
L: 7,
|
|
758
758
|
m: !0
|
|
759
759
|
},
|
|
760
|
-
this:
|
|
760
|
+
this: Sr,
|
|
761
761
|
typeof: {
|
|
762
762
|
l: "typeof",
|
|
763
763
|
prefix: !0,
|
|
@@ -773,55 +773,55 @@ var b, Mn = function(e) {
|
|
|
773
773
|
prefix: !0,
|
|
774
774
|
m: !0
|
|
775
775
|
}
|
|
776
|
-
},
|
|
776
|
+
}, Tt = {
|
|
777
777
|
type: "[",
|
|
778
778
|
m: !0
|
|
779
|
-
},
|
|
779
|
+
}, Nt = {
|
|
780
780
|
type: "]"
|
|
781
|
-
},
|
|
781
|
+
}, De = {
|
|
782
782
|
type: "{",
|
|
783
783
|
m: !0
|
|
784
|
-
},
|
|
784
|
+
}, Se = {
|
|
785
785
|
type: "}"
|
|
786
|
-
},
|
|
786
|
+
}, ne = {
|
|
787
787
|
type: "(",
|
|
788
788
|
m: !0
|
|
789
|
-
},
|
|
789
|
+
}, q = {
|
|
790
790
|
type: ")"
|
|
791
|
-
},
|
|
791
|
+
}, pe = {
|
|
792
792
|
type: ",",
|
|
793
793
|
m: !0
|
|
794
|
-
},
|
|
794
|
+
}, oe = {
|
|
795
795
|
type: ";",
|
|
796
796
|
m: !0
|
|
797
|
-
},
|
|
797
|
+
}, Ue = {
|
|
798
798
|
type: ":",
|
|
799
799
|
m: !0
|
|
800
|
-
},
|
|
800
|
+
}, Cr = {
|
|
801
801
|
type: "."
|
|
802
|
-
},
|
|
802
|
+
}, jr = {
|
|
803
803
|
type: "?",
|
|
804
804
|
m: !0
|
|
805
|
-
},
|
|
805
|
+
}, Or = {
|
|
806
806
|
L: 10,
|
|
807
807
|
m: !0
|
|
808
|
-
},
|
|
808
|
+
}, Ar = {
|
|
809
809
|
Cb: !0,
|
|
810
810
|
m: !0
|
|
811
|
-
},
|
|
811
|
+
}, ye = {
|
|
812
812
|
Cb: !0,
|
|
813
813
|
m: !0
|
|
814
814
|
}, ln = {
|
|
815
815
|
cc: !0,
|
|
816
816
|
prefix: !0,
|
|
817
817
|
$b: !0
|
|
818
|
-
},
|
|
818
|
+
}, Ir = {
|
|
819
819
|
prefix: !0,
|
|
820
820
|
m: !0
|
|
821
|
-
},
|
|
821
|
+
}, br = {
|
|
822
822
|
L: 1,
|
|
823
823
|
m: !0
|
|
824
|
-
},
|
|
824
|
+
}, Tr = {
|
|
825
825
|
L: 2,
|
|
826
826
|
m: !0
|
|
827
827
|
}, un = {
|
|
@@ -849,7 +849,7 @@ var b, Mn = function(e) {
|
|
|
849
849
|
}, yn = {
|
|
850
850
|
L: 10,
|
|
851
851
|
m: !0
|
|
852
|
-
}, vn = o("class enum extends super const export import"),
|
|
852
|
+
}, vn = o("class enum extends super const export import"), Nr = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Sn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), nt = /[\n\r\u2028\u2029]/, ot = /\r\n|[\n\r\u2028\u2029]/g, xe, Pt = {
|
|
853
853
|
kind: "loop"
|
|
854
854
|
}, xn = {
|
|
855
855
|
kind: "switch"
|
|
@@ -857,7 +857,7 @@ var b, Mn = function(e) {
|
|
|
857
857
|
}, Lt = Lt = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
858
858
|
Mn(Lt.j || (Lt.j = {}));
|
|
859
859
|
function h(e, t) {
|
|
860
|
-
typeof e == "string" && (e =
|
|
860
|
+
typeof e == "string" && (e = je(e, "code"));
|
|
861
861
|
var n = e.constructor;
|
|
862
862
|
this.ya = function() {
|
|
863
863
|
return new n({
|
|
@@ -871,10 +871,10 @@ function h(e, t) {
|
|
|
871
871
|
var s, a;
|
|
872
872
|
for (a in this)
|
|
873
873
|
typeof this[a] == "function" && (s = a.match(e)) && (this.rb[s[1]] = this[a].bind(this));
|
|
874
|
-
this.N = Wt(this, this.ra, null), this.Na = this.N.object, this.ra =
|
|
875
|
-
`), "polyfills"), this.ba = void 0,
|
|
874
|
+
this.N = Wt(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
875
|
+
`), "polyfills"), this.ba = void 0, lt(this.ra), s = new v(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new v(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var Mr = {
|
|
878
878
|
C: !0,
|
|
879
879
|
kc: 5
|
|
880
880
|
}, $t = {
|
|
@@ -885,41 +885,41 @@ var Dr = {
|
|
|
885
885
|
configurable: !0,
|
|
886
886
|
enumerable: !1,
|
|
887
887
|
writable: !0
|
|
888
|
-
},
|
|
888
|
+
}, X = {
|
|
889
889
|
configurable: !0,
|
|
890
890
|
enumerable: !1,
|
|
891
891
|
writable: !1
|
|
892
|
-
},
|
|
892
|
+
}, Fe = {
|
|
893
893
|
configurable: !1,
|
|
894
894
|
enumerable: !1,
|
|
895
895
|
writable: !1
|
|
896
|
-
},
|
|
896
|
+
}, Br = {
|
|
897
897
|
configurable: !1,
|
|
898
898
|
enumerable: !0,
|
|
899
899
|
writable: !0
|
|
900
|
-
},
|
|
900
|
+
}, Yr = {
|
|
901
901
|
STEP_ERROR: !0
|
|
902
|
-
},
|
|
902
|
+
}, Ae = {
|
|
903
903
|
SCOPE_REFERENCE: !0
|
|
904
904
|
}, Ke = {
|
|
905
905
|
VALUE_IN_DESCRIPTOR: !0
|
|
906
|
-
},
|
|
906
|
+
}, Ee = {
|
|
907
907
|
REGEXP_TIMEOUT: !0
|
|
908
|
-
},
|
|
908
|
+
}, Dr = [], ae = null, Ge = null, he = typeof globalThis == "undefined" ? void 0 : globalThis, Bn = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
909
909
|
function Gt(e) {
|
|
910
910
|
var t = e >>> 0;
|
|
911
911
|
return t === Number(e) ? t : NaN;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function Ve(e) {
|
|
914
914
|
var t = e >>> 0;
|
|
915
915
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
916
916
|
}
|
|
917
|
-
function
|
|
917
|
+
function lt(e, t, n) {
|
|
918
918
|
t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
|
|
919
919
|
for (var r in e)
|
|
920
920
|
if (r !== "loc" && e.hasOwnProperty(r)) {
|
|
921
921
|
var o = e[r];
|
|
922
|
-
o && typeof o == "object" &&
|
|
922
|
+
o && typeof o == "object" && lt(o, t, n);
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
925
|
h.prototype.REGEXP_MODE = 2;
|
|
@@ -930,17 +930,17 @@ b.P = !1;
|
|
|
930
930
|
b.Ka = !1;
|
|
931
931
|
b.Kb = 0;
|
|
932
932
|
b.ic = 0;
|
|
933
|
-
function
|
|
933
|
+
function je(e, t) {
|
|
934
934
|
var n = {}, r;
|
|
935
|
-
for (r in
|
|
936
|
-
n[r] =
|
|
937
|
-
return n.sourceFile = t,
|
|
935
|
+
for (r in Mr)
|
|
936
|
+
n[r] = Mr[r];
|
|
937
|
+
return n.sourceFile = t, he.j.parse(e, n);
|
|
938
938
|
}
|
|
939
939
|
b.Jb = function(e) {
|
|
940
940
|
var t = this.o[0];
|
|
941
941
|
if (!t || t.node.type !== "Program")
|
|
942
942
|
throw Error("Expecting original AST to start with a Program node");
|
|
943
|
-
if (typeof e == "string" && (e =
|
|
943
|
+
if (typeof e == "string" && (e = je(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
|
|
944
944
|
throw Error("Expecting new AST to start with a Program node");
|
|
945
945
|
Je(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
946
946
|
};
|
|
@@ -956,7 +956,7 @@ b.lb = function() {
|
|
|
956
956
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
957
957
|
n = null;
|
|
958
958
|
else {
|
|
959
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
959
|
+
this.ca.shift(), 0 <= n.interval && Qr(this, n, n.interval);
|
|
960
960
|
var r = new v(n.node, n.scope);
|
|
961
961
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
962
962
|
}
|
|
@@ -964,15 +964,15 @@ b.lb = function() {
|
|
|
964
964
|
break;
|
|
965
965
|
}
|
|
966
966
|
r = n.node;
|
|
967
|
-
var o =
|
|
968
|
-
|
|
967
|
+
var o = Ge;
|
|
968
|
+
Ge = this;
|
|
969
969
|
try {
|
|
970
970
|
var s = this.rb[r.type](e, n, r);
|
|
971
971
|
} catch (a) {
|
|
972
|
-
if (a !==
|
|
972
|
+
if (a !== Yr)
|
|
973
973
|
throw this.value !== a && (this.value = void 0), a;
|
|
974
974
|
} finally {
|
|
975
|
-
|
|
975
|
+
Ge = o;
|
|
976
976
|
}
|
|
977
977
|
if (s && e.push(s), this.P)
|
|
978
978
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
@@ -988,7 +988,7 @@ b.Eb = function() {
|
|
|
988
988
|
return this.za;
|
|
989
989
|
};
|
|
990
990
|
function Dn(e, t) {
|
|
991
|
-
e.g(t, "NaN", NaN,
|
|
991
|
+
e.g(t, "NaN", NaN, Fe), e.g(t, "Infinity", 1 / 0, Fe), e.g(t, "undefined", void 0, Fe), e.g(t, "window", t, $t), e.g(t, "this", t, Fe), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Un(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Ln(e, t), _n(e, t), Wn(e, t), $n(e, t), Gn(e, t), Vn(e, t), Xn(e, t), Hn(e, t), Kn(e, t);
|
|
992
992
|
var n = e.i(function() {
|
|
993
993
|
throw EvalError("Can't happen");
|
|
994
994
|
}, !1);
|
|
@@ -1004,13 +1004,13 @@ function Dn(e, t) {
|
|
|
1004
1004
|
};
|
|
1005
1005
|
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
|
|
1006
1006
|
n = function(s) {
|
|
1007
|
-
return
|
|
1007
|
+
return Ur(e, !1, arguments);
|
|
1008
1008
|
}, e.g(t, "setTimeout", e.i(n, !1), y), n = function(s) {
|
|
1009
|
-
return
|
|
1009
|
+
return Ur(e, !0, arguments);
|
|
1010
1010
|
}, e.g(t, "setInterval", e.i(n, !1), y), n = function(s) {
|
|
1011
|
-
|
|
1011
|
+
Fr(e, s);
|
|
1012
1012
|
}, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(s) {
|
|
1013
|
-
|
|
1013
|
+
Fr(e, s);
|
|
1014
1014
|
}, e.g(t, "clearInterval", e.i(n, !1), y), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1015
1015
|
}
|
|
1016
1016
|
b.Wb = 0;
|
|
@@ -1026,27 +1026,27 @@ function Un(e, t) {
|
|
|
1026
1026
|
a = a.join(", ");
|
|
1027
1027
|
}
|
|
1028
1028
|
try {
|
|
1029
|
-
var
|
|
1030
|
-
} catch (
|
|
1031
|
-
m(e, e.T, "Invalid code: " +
|
|
1029
|
+
var O = je("(function(" + a + ") {" + s + "})", "function" + e.Wb++);
|
|
1030
|
+
} catch (C) {
|
|
1031
|
+
m(e, e.T, "Invalid code: " + C.message);
|
|
1032
1032
|
}
|
|
1033
|
-
return
|
|
1033
|
+
return O.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Ht(e, O.body[0].la, e.N, "anonymous");
|
|
1034
1034
|
};
|
|
1035
1035
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
|
|
1036
|
-
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0,
|
|
1036
|
+
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function", r = function(o, s) {
|
|
1037
1037
|
var a = e.o[e.o.length - 1];
|
|
1038
|
-
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F =
|
|
1039
|
-
},
|
|
1038
|
+
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Zr(e, s) : m(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1039
|
+
}, L(e, e.O, "apply", r), r = function(o) {
|
|
1040
1040
|
var s = e.o[e.o.length - 1];
|
|
1041
1041
|
s.U = this, s.B = o, s.F = [];
|
|
1042
1042
|
for (var a = 1; a < arguments.length; a++)
|
|
1043
1043
|
s.F.push(arguments[a]);
|
|
1044
1044
|
s.eb = !1;
|
|
1045
|
-
},
|
|
1045
|
+
}, L(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
|
|
1046
1046
|
return String(this);
|
|
1047
|
-
},
|
|
1047
|
+
}, L(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
|
|
1048
1048
|
return this.valueOf();
|
|
1049
|
-
},
|
|
1049
|
+
}, L(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
|
|
1050
1050
|
}
|
|
1051
1051
|
function Fn(e, t) {
|
|
1052
1052
|
function n(o) {
|
|
@@ -1054,17 +1054,17 @@ function Fn(e, t) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
var r = function(o) {
|
|
1056
1056
|
if (o == null)
|
|
1057
|
-
return
|
|
1057
|
+
return ue(e) ? this : e.s(e.M);
|
|
1058
1058
|
if (!(o instanceof A)) {
|
|
1059
|
-
var s = e.s(
|
|
1059
|
+
var s = e.s(le(e, o));
|
|
1060
1060
|
return s.data = o, s;
|
|
1061
1061
|
}
|
|
1062
1062
|
return o;
|
|
1063
1063
|
};
|
|
1064
1064
|
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, y), e.g(e.M, "constructor", e.v, y), e.g(t, "Object", e.v, y), r = function(o) {
|
|
1065
|
-
return n(o),
|
|
1065
|
+
return n(o), se(e, Object.getOwnPropertyNames(o instanceof A ? o.h : o));
|
|
1066
1066
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
|
|
1067
|
-
return n(o), o instanceof A && (o = o.h),
|
|
1067
|
+
return n(o), o instanceof A && (o = o.h), se(e, Object.keys(o));
|
|
1068
1068
|
}, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
|
|
1069
1069
|
return o === null ? e.s(null) : (o instanceof A || m(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1070
1070
|
}, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, s, a) {
|
|
@@ -1075,27 +1075,27 @@ function Fn(e, t) {
|
|
|
1075
1075
|
return o = o.Y[s], s = e.s(e.M), f || o ? (e.g(s, "get", f), e.g(s, "set", o)) : (e.g(s, "value", a.value), e.g(s, "writable", a.writable)), e.g(s, "configurable", a.configurable), e.g(s, "enumerable", a.enumerable), s;
|
|
1076
1076
|
}
|
|
1077
1077
|
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
|
|
1078
|
-
return n(o),
|
|
1078
|
+
return n(o), le(e, o);
|
|
1079
1079
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
|
|
1080
1080
|
return !!o && !o.preventExtensions;
|
|
1081
1081
|
}, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
|
|
1082
1082
|
return o instanceof A && (o.preventExtensions = !0), o;
|
|
1083
|
-
}, e.g(e.v, "preventExtensions", e.i(r, !1), y),
|
|
1083
|
+
}, e.g(e.v, "preventExtensions", e.i(r, !1), y), L(e, e.v, "toString", A.prototype.toString), L(e, e.v, "toLocaleString", A.prototype.toString), L(e, e.v, "valueOf", A.prototype.valueOf), r = function(o) {
|
|
1084
1084
|
return n(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1085
|
-
},
|
|
1085
|
+
}, L(e, e.v, "hasOwnProperty", r), r = function(o) {
|
|
1086
1086
|
return n(this), this instanceof A ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1087
|
-
},
|
|
1087
|
+
}, L(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1088
1088
|
for (; ; ) {
|
|
1089
|
-
if (o =
|
|
1089
|
+
if (o = le(e, o), !o)
|
|
1090
1090
|
return !1;
|
|
1091
1091
|
if (o === this)
|
|
1092
1092
|
return !0;
|
|
1093
1093
|
}
|
|
1094
|
-
},
|
|
1094
|
+
}, L(e, e.v, "isPrototypeOf", r);
|
|
1095
1095
|
}
|
|
1096
1096
|
function Ln(e, t) {
|
|
1097
1097
|
var n = function(r) {
|
|
1098
|
-
var o =
|
|
1098
|
+
var o = ue(e) ? this : Oe(e), s = arguments[0];
|
|
1099
1099
|
if (arguments.length === 1 && typeof s == "number")
|
|
1100
1100
|
isNaN(Gt(s)) && m(e, e.ob, "Invalid array length: " + s), o.h.length = s;
|
|
1101
1101
|
else {
|
|
@@ -1115,10 +1115,10 @@ function Ln(e, t) {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
function _n(e, t) {
|
|
1117
1117
|
var n = function(r) {
|
|
1118
|
-
return r = arguments.length ?
|
|
1118
|
+
return r = arguments.length ? he.String(r) : "", ue(e) ? (this.data = r, this) : r;
|
|
1119
1119
|
};
|
|
1120
1120
|
for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1121
|
-
|
|
1121
|
+
L(e, e.J, t[n], String.prototype[t[n]]);
|
|
1122
1122
|
n = function(r, o, s) {
|
|
1123
1123
|
o = e.R(o), s = e.R(s);
|
|
1124
1124
|
try {
|
|
@@ -1126,126 +1126,126 @@ function _n(e, t) {
|
|
|
1126
1126
|
} catch (a) {
|
|
1127
1127
|
m(e, e.D, "localeCompare: " + a.message);
|
|
1128
1128
|
}
|
|
1129
|
-
},
|
|
1129
|
+
}, L(e, e.J, "localeCompare", n), n = function(r, o, s) {
|
|
1130
1130
|
var a = String(this);
|
|
1131
|
-
if (o = o ? Number(o) : void 0,
|
|
1132
|
-
if (
|
|
1133
|
-
r =
|
|
1131
|
+
if (o = o ? Number(o) : void 0, W(e, r, e.I) && (r = r.data, _e(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1132
|
+
if (ae)
|
|
1133
|
+
r = Le(e, "string.split(separator, limit)", {
|
|
1134
1134
|
string: a,
|
|
1135
1135
|
separator: r,
|
|
1136
1136
|
limit: o
|
|
1137
|
-
}, r, s), r !==
|
|
1137
|
+
}, r, s), r !== Ee && s(se(e, r));
|
|
1138
1138
|
else {
|
|
1139
|
-
var f = e.ha(), g =
|
|
1140
|
-
f.onmessage = function(
|
|
1141
|
-
clearTimeout(g), s(
|
|
1139
|
+
var f = e.ha(), g = We(e, r, f, s);
|
|
1140
|
+
f.onmessage = function(O) {
|
|
1141
|
+
clearTimeout(g), s(se(e, O.data));
|
|
1142
1142
|
}, f.postMessage(["split", a, r, o]);
|
|
1143
1143
|
}
|
|
1144
1144
|
return;
|
|
1145
1145
|
}
|
|
1146
|
-
r = a.split(r, o), s(
|
|
1147
|
-
},
|
|
1146
|
+
r = a.split(r, o), s(se(e, r));
|
|
1147
|
+
}, $e(e, e.J, "split", n), n = function(r, o) {
|
|
1148
1148
|
var s = String(this);
|
|
1149
|
-
if (r =
|
|
1150
|
-
if (
|
|
1151
|
-
r =
|
|
1149
|
+
if (r = W(e, r, e.I) ? r.data : new RegExp(r), _e(e, r, o), e.REGEXP_MODE === 2)
|
|
1150
|
+
if (ae)
|
|
1151
|
+
r = Le(e, "string.match(regexp)", {
|
|
1152
1152
|
string: s,
|
|
1153
1153
|
regexp: r
|
|
1154
|
-
}, r, o), r !==
|
|
1154
|
+
}, r, o), r !== Ee && o(r && se(e, r));
|
|
1155
1155
|
else {
|
|
1156
|
-
var a = e.ha(), f =
|
|
1156
|
+
var a = e.ha(), f = We(e, r, a, o);
|
|
1157
1157
|
a.onmessage = function(g) {
|
|
1158
|
-
clearTimeout(f), o(g.data &&
|
|
1158
|
+
clearTimeout(f), o(g.data && se(e, g.data));
|
|
1159
1159
|
}, a.postMessage(["match", s, r]);
|
|
1160
1160
|
}
|
|
1161
1161
|
else
|
|
1162
|
-
r = s.match(r), o(r &&
|
|
1163
|
-
},
|
|
1162
|
+
r = s.match(r), o(r && se(e, r));
|
|
1163
|
+
}, $e(e, e.J, "match", n), n = function(r, o) {
|
|
1164
1164
|
var s = String(this);
|
|
1165
|
-
if (
|
|
1166
|
-
if (
|
|
1167
|
-
r =
|
|
1165
|
+
if (W(e, r, e.I) ? r = r.data : r = new RegExp(r), _e(e, r, o), e.REGEXP_MODE === 2)
|
|
1166
|
+
if (ae)
|
|
1167
|
+
r = Le(e, "string.search(regexp)", {
|
|
1168
1168
|
string: s,
|
|
1169
1169
|
regexp: r
|
|
1170
|
-
}, r, o), r !==
|
|
1170
|
+
}, r, o), r !== Ee && o(r);
|
|
1171
1171
|
else {
|
|
1172
|
-
var a = e.ha(), f =
|
|
1172
|
+
var a = e.ha(), f = We(e, r, a, o);
|
|
1173
1173
|
a.onmessage = function(g) {
|
|
1174
1174
|
clearTimeout(f), o(g.data);
|
|
1175
1175
|
}, a.postMessage(["search", s, r]);
|
|
1176
1176
|
}
|
|
1177
1177
|
else
|
|
1178
1178
|
o(s.search(r));
|
|
1179
|
-
},
|
|
1179
|
+
}, $e(e, e.J, "search", n), n = function(r, o, s) {
|
|
1180
1180
|
var a = String(this);
|
|
1181
|
-
if (o = String(o),
|
|
1182
|
-
if (
|
|
1183
|
-
r =
|
|
1181
|
+
if (o = String(o), W(e, r, e.I) && (r = r.data, _e(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1182
|
+
if (ae)
|
|
1183
|
+
r = Le(e, "string.replace(substr, newSubstr)", {
|
|
1184
1184
|
string: a,
|
|
1185
1185
|
substr: r,
|
|
1186
1186
|
newSubstr: o
|
|
1187
|
-
}, r, s), r !==
|
|
1187
|
+
}, r, s), r !== Ee && s(r);
|
|
1188
1188
|
else {
|
|
1189
|
-
var f = e.ha(), g =
|
|
1190
|
-
f.onmessage = function(
|
|
1191
|
-
clearTimeout(g), s(
|
|
1189
|
+
var f = e.ha(), g = We(e, r, f, s);
|
|
1190
|
+
f.onmessage = function(O) {
|
|
1191
|
+
clearTimeout(g), s(O.data);
|
|
1192
1192
|
}, f.postMessage(["replace", a, r, o]);
|
|
1193
1193
|
}
|
|
1194
1194
|
return;
|
|
1195
1195
|
}
|
|
1196
1196
|
s(a.replace(r, o));
|
|
1197
|
-
},
|
|
1197
|
+
}, $e(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1198
1198
|
}
|
|
1199
1199
|
function Wn(e, t) {
|
|
1200
1200
|
e.mb = e.i(function(n) {
|
|
1201
|
-
return n =
|
|
1201
|
+
return n = he.Boolean(n), ue(e) ? (this.data = n, this) : n;
|
|
1202
1202
|
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1203
1203
|
}
|
|
1204
1204
|
function $n(e, t) {
|
|
1205
1205
|
var n = function(r) {
|
|
1206
|
-
return r = arguments.length ?
|
|
1206
|
+
return r = arguments.length ? he.Number(r) : 0, ue(e) ? (this.data = r, this) : r;
|
|
1207
1207
|
};
|
|
1208
1208
|
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1209
|
-
e.g(e.aa, t[n], Number[t[n]],
|
|
1209
|
+
e.g(e.aa, t[n], Number[t[n]], Fe);
|
|
1210
1210
|
n = function(r) {
|
|
1211
1211
|
try {
|
|
1212
1212
|
return Number(this).toExponential(r);
|
|
1213
1213
|
} catch (o) {
|
|
1214
1214
|
m(e, e.D, o.message);
|
|
1215
1215
|
}
|
|
1216
|
-
},
|
|
1216
|
+
}, L(e, e.aa, "toExponential", n), n = function(r) {
|
|
1217
1217
|
try {
|
|
1218
1218
|
return Number(this).toFixed(r);
|
|
1219
1219
|
} catch (o) {
|
|
1220
1220
|
m(e, e.D, o.message);
|
|
1221
1221
|
}
|
|
1222
|
-
},
|
|
1222
|
+
}, L(e, e.aa, "toFixed", n), n = function(r) {
|
|
1223
1223
|
try {
|
|
1224
1224
|
return Number(this).toPrecision(r);
|
|
1225
1225
|
} catch (o) {
|
|
1226
1226
|
m(e, e.D, o.message);
|
|
1227
1227
|
}
|
|
1228
|
-
},
|
|
1228
|
+
}, L(e, e.aa, "toPrecision", n), n = function(r) {
|
|
1229
1229
|
try {
|
|
1230
1230
|
return Number(this).toString(r);
|
|
1231
1231
|
} catch (o) {
|
|
1232
1232
|
m(e, e.D, o.message);
|
|
1233
1233
|
}
|
|
1234
|
-
},
|
|
1234
|
+
}, L(e, e.aa, "toString", n), n = function(r, o) {
|
|
1235
1235
|
r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
|
|
1236
1236
|
try {
|
|
1237
1237
|
return Number(this).toLocaleString(r, o);
|
|
1238
1238
|
} catch (s) {
|
|
1239
1239
|
m(e, e.D, "toLocaleString: " + s.message);
|
|
1240
1240
|
}
|
|
1241
|
-
},
|
|
1241
|
+
}, L(e, e.aa, "toLocaleString", n);
|
|
1242
1242
|
}
|
|
1243
1243
|
function Gn(e, t) {
|
|
1244
1244
|
var n = function(o, s) {
|
|
1245
|
-
if (!
|
|
1246
|
-
return
|
|
1245
|
+
if (!ue(e))
|
|
1246
|
+
return he.Date();
|
|
1247
1247
|
var a = [null].concat(Array.from(arguments));
|
|
1248
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1248
|
+
return this.data = new (Function.prototype.bind.apply(he.Date, a))(), this;
|
|
1249
1249
|
};
|
|
1250
1250
|
e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1251
1251
|
for (var r = 0; r < t.length; r++)
|
|
@@ -1257,69 +1257,69 @@ function Gn(e, t) {
|
|
|
1257
1257
|
f[g] = e.R(arguments[g]);
|
|
1258
1258
|
return a[o].apply(a, f);
|
|
1259
1259
|
};
|
|
1260
|
-
}(t[r]),
|
|
1260
|
+
}(t[r]), L(e, e.$, t[r], n);
|
|
1261
1261
|
}
|
|
1262
1262
|
function Vn(e, t) {
|
|
1263
1263
|
var n = function(r, o) {
|
|
1264
|
-
if (
|
|
1264
|
+
if (ue(e))
|
|
1265
1265
|
var s = this;
|
|
1266
1266
|
else {
|
|
1267
|
-
if (o === void 0 &&
|
|
1267
|
+
if (o === void 0 && W(e, r, e.I))
|
|
1268
1268
|
return r;
|
|
1269
1269
|
s = e.s(e.Ma);
|
|
1270
1270
|
}
|
|
1271
1271
|
r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || m(e, e.T, "Invalid regexp flag: " + o);
|
|
1272
1272
|
try {
|
|
1273
|
-
var a = new
|
|
1273
|
+
var a = new he.RegExp(r, o);
|
|
1274
1274
|
} catch (f) {
|
|
1275
1275
|
m(e, e.T, f.message);
|
|
1276
1276
|
}
|
|
1277
1277
|
return Vt(e, s, a), s;
|
|
1278
1278
|
};
|
|
1279
|
-
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0,
|
|
1280
|
-
function s(
|
|
1281
|
-
if (
|
|
1282
|
-
var w =
|
|
1283
|
-
return e.g(w, "index",
|
|
1279
|
+
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, X), e.g(e.I.h.prototype, "ignoreCase", void 0, X), e.g(e.I.h.prototype, "multiline", void 0, X), e.g(e.I.h.prototype, "source", "(?:)", X), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1280
|
+
function s(C) {
|
|
1281
|
+
if (C) {
|
|
1282
|
+
var w = se(e, C);
|
|
1283
|
+
return e.g(w, "index", C.index), e.g(w, "input", C.input), w;
|
|
1284
1284
|
}
|
|
1285
1285
|
return null;
|
|
1286
1286
|
}
|
|
1287
1287
|
var a = this.data;
|
|
1288
|
-
if (r = String(r), a.lastIndex = Number(e.G(this, "lastIndex")),
|
|
1289
|
-
if (
|
|
1290
|
-
r =
|
|
1288
|
+
if (r = String(r), a.lastIndex = Number(e.G(this, "lastIndex")), _e(e, a, o), e.REGEXP_MODE === 2)
|
|
1289
|
+
if (ae)
|
|
1290
|
+
r = Le(e, "regexp.exec(string)", {
|
|
1291
1291
|
string: r,
|
|
1292
1292
|
regexp: a
|
|
1293
|
-
}, a, o), r !==
|
|
1293
|
+
}, a, o), r !== Ee && (e.g(this, "lastIndex", a.lastIndex), o(s(r)));
|
|
1294
1294
|
else {
|
|
1295
|
-
var f = e.ha(), g =
|
|
1296
|
-
f.onmessage = function(
|
|
1297
|
-
clearTimeout(g), e.g(
|
|
1295
|
+
var f = e.ha(), g = We(e, a, f, o), O = this;
|
|
1296
|
+
f.onmessage = function(C) {
|
|
1297
|
+
clearTimeout(g), e.g(O, "lastIndex", C.data[1]), o(s(C.data[0]));
|
|
1298
1298
|
}, f.postMessage(["exec", a, a.lastIndex, r]);
|
|
1299
1299
|
}
|
|
1300
1300
|
else
|
|
1301
1301
|
r = a.exec(r), e.g(this, "lastIndex", a.lastIndex), o(s(r));
|
|
1302
|
-
},
|
|
1302
|
+
}, $e(e, e.I, "exec", n);
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1304
|
+
function Xn(e, t) {
|
|
1305
1305
|
function n(r) {
|
|
1306
1306
|
var o = e.i(function(s) {
|
|
1307
|
-
var a =
|
|
1307
|
+
var a = ue(e) ? this : e.Aa(o);
|
|
1308
1308
|
return _t(e, a, s), a;
|
|
1309
1309
|
}, !0);
|
|
1310
1310
|
return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1311
1311
|
}
|
|
1312
1312
|
e.D = e.i(function(r) {
|
|
1313
|
-
var o =
|
|
1313
|
+
var o = ue(e) ? this : e.Aa(e.D);
|
|
1314
1314
|
return _t(e, o, r), o;
|
|
1315
1315
|
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function Hn(e, t) {
|
|
1318
1318
|
var n = e.s(e.M);
|
|
1319
1319
|
e.g(t, "Math", n, y);
|
|
1320
1320
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1321
1321
|
for (t = 0; t < r.length; t++)
|
|
1322
|
-
e.g(n, r[t], Math[r[t]],
|
|
1322
|
+
e.g(n, r[t], Math[r[t]], X);
|
|
1323
1323
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1324
1324
|
e.g(n, r[t], e.i(Math[r[t]], !1), y);
|
|
1325
1325
|
}
|
|
@@ -1333,7 +1333,7 @@ function Kn(e, t) {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
return e.Ia(o);
|
|
1335
1335
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, s) {
|
|
1336
|
-
o && o.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1336
|
+
o && o.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Zr(e, o), o = o.filter(function(f) {
|
|
1337
1337
|
return typeof f == "string" || typeof f == "number";
|
|
1338
1338
|
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0), r = e.R(r);
|
|
1339
1339
|
try {
|
|
@@ -1344,12 +1344,12 @@ function Kn(e, t) {
|
|
|
1344
1344
|
return a;
|
|
1345
1345
|
}, e.g(n, "stringify", e.i(t, !1));
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1347
|
+
function W(e, t, n) {
|
|
1348
1348
|
if (t == null || !n)
|
|
1349
1349
|
return !1;
|
|
1350
1350
|
if (n = n.h.prototype, t === n)
|
|
1351
1351
|
return !0;
|
|
1352
|
-
for (t =
|
|
1352
|
+
for (t = le(e, t); t; ) {
|
|
1353
1353
|
if (t === n)
|
|
1354
1354
|
return !0;
|
|
1355
1355
|
t = t.xa;
|
|
@@ -1357,7 +1357,7 @@ function _(e, t, n) {
|
|
|
1357
1357
|
return !1;
|
|
1358
1358
|
}
|
|
1359
1359
|
function Vt(e, t, n) {
|
|
1360
|
-
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source,
|
|
1360
|
+
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, X), e.g(t, "global", n.global, X), e.g(t, "ignoreCase", n.ignoreCase, X), e.g(t, "multiline", n.multiline, X);
|
|
1361
1361
|
}
|
|
1362
1362
|
function _t(e, t, n) {
|
|
1363
1363
|
n && e.g(t, "message", String(n), y), n = [];
|
|
@@ -1383,37 +1383,37 @@ b.ha = function() {
|
|
|
1383
1383
|
type: "application/javascript"
|
|
1384
1384
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
1385
1385
|
};
|
|
1386
|
-
function
|
|
1386
|
+
function Le(e, t, n, r, o) {
|
|
1387
1387
|
var s = {
|
|
1388
1388
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1389
1389
|
};
|
|
1390
1390
|
try {
|
|
1391
|
-
return
|
|
1391
|
+
return ae.runInNewContext(t, n, s);
|
|
1392
1392
|
} catch {
|
|
1393
1393
|
o(null), m(e, e.D, "RegExp Timeout: " + r);
|
|
1394
1394
|
}
|
|
1395
|
-
return
|
|
1395
|
+
return Ee;
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function _e(e, t, n) {
|
|
1398
1398
|
if (e.REGEXP_MODE === 0)
|
|
1399
1399
|
var r = !1;
|
|
1400
1400
|
else if (e.REGEXP_MODE === 1)
|
|
1401
1401
|
r = !0;
|
|
1402
|
-
else if (
|
|
1402
|
+
else if (ae)
|
|
1403
1403
|
r = !0;
|
|
1404
1404
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1405
1405
|
r = !0;
|
|
1406
1406
|
else if (typeof require == "function") {
|
|
1407
1407
|
try {
|
|
1408
|
-
|
|
1408
|
+
ae = require("vm");
|
|
1409
1409
|
} catch {
|
|
1410
1410
|
}
|
|
1411
|
-
r = !!
|
|
1411
|
+
r = !!ae;
|
|
1412
1412
|
} else
|
|
1413
1413
|
r = !1;
|
|
1414
1414
|
r || (n(null), m(e, e.D, "Regular expressions not supported: " + t));
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function We(e, t, n, r) {
|
|
1417
1417
|
return setTimeout(function() {
|
|
1418
1418
|
n.terminate(), r(null);
|
|
1419
1419
|
try {
|
|
@@ -1428,9 +1428,9 @@ b.Aa = function(e) {
|
|
|
1428
1428
|
b.s = function(e) {
|
|
1429
1429
|
if (typeof e != "object")
|
|
1430
1430
|
throw Error("Non object prototype");
|
|
1431
|
-
return e = new A(e),
|
|
1431
|
+
return e = new A(e), W(this, e, this.D) && (e.H = "Error"), e;
|
|
1432
1432
|
};
|
|
1433
|
-
function
|
|
1433
|
+
function Oe(e) {
|
|
1434
1434
|
var t = e.s(e.La);
|
|
1435
1435
|
return e.g(t, "length", 0, {
|
|
1436
1436
|
configurable: !1,
|
|
@@ -1438,20 +1438,20 @@ function Ae(e) {
|
|
|
1438
1438
|
writable: !0
|
|
1439
1439
|
}), t.H = "Array", t;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function Xt(e, t, n) {
|
|
1442
1442
|
var r = e.s(e.Z);
|
|
1443
|
-
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t,
|
|
1443
|
+
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, X), r.H = "Function", r;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1446
|
-
var o =
|
|
1447
|
-
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "",
|
|
1445
|
+
function Ht(e, t, n, r) {
|
|
1446
|
+
var o = Xt(e, t.oa.length, !0);
|
|
1447
|
+
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", X), o;
|
|
1448
1448
|
}
|
|
1449
1449
|
b.i = function(e, t) {
|
|
1450
|
-
return t =
|
|
1450
|
+
return t = Xt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1451
1451
|
};
|
|
1452
1452
|
b.ub = function(e) {
|
|
1453
|
-
var t =
|
|
1454
|
-
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1453
|
+
var t = Xt(this, e.length, !0);
|
|
1454
|
+
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1455
1455
|
};
|
|
1456
1456
|
b.Ia = function(e) {
|
|
1457
1457
|
if (e instanceof A)
|
|
@@ -1474,7 +1474,7 @@ b.Ia = function(e) {
|
|
|
1474
1474
|
}, !!t);
|
|
1475
1475
|
}
|
|
1476
1476
|
if (Array.isArray(e)) {
|
|
1477
|
-
t =
|
|
1477
|
+
t = Oe(this);
|
|
1478
1478
|
for (var r = 0; r < e.length; r++)
|
|
1479
1479
|
r in e && this.g(t, r, this.Ia(e[r]));
|
|
1480
1480
|
return t;
|
|
@@ -1489,9 +1489,9 @@ b.R = function(e, t) {
|
|
|
1489
1489
|
return e;
|
|
1490
1490
|
if (!(e instanceof A))
|
|
1491
1491
|
throw Error("Object is not pseudo");
|
|
1492
|
-
if (
|
|
1492
|
+
if (W(this, e, this.I))
|
|
1493
1493
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
1494
|
-
if (
|
|
1494
|
+
if (W(this, e, this.$))
|
|
1495
1495
|
return new Date(e.data.valueOf());
|
|
1496
1496
|
t = t || {
|
|
1497
1497
|
hb: [],
|
|
@@ -1500,10 +1500,10 @@ b.R = function(e, t) {
|
|
|
1500
1500
|
var n = t.hb.indexOf(e);
|
|
1501
1501
|
if (n !== -1)
|
|
1502
1502
|
return t.Sa[n];
|
|
1503
|
-
if (t.hb.push(e),
|
|
1503
|
+
if (t.hb.push(e), W(this, e, this.qa)) {
|
|
1504
1504
|
n = [], t.Sa.push(n);
|
|
1505
1505
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1506
|
-
|
|
1506
|
+
ut(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
1507
1507
|
} else
|
|
1508
1508
|
for (r in n = {}, t.Sa.push(n), e.h)
|
|
1509
1509
|
o = this.R(e.h[r], t), Object.defineProperty(n, r, {
|
|
@@ -1514,18 +1514,18 @@ b.R = function(e, t) {
|
|
|
1514
1514
|
});
|
|
1515
1515
|
return t.hb.pop(), t.Sa.pop(), n;
|
|
1516
1516
|
};
|
|
1517
|
-
function
|
|
1518
|
-
for (var n =
|
|
1517
|
+
function se(e, t) {
|
|
1518
|
+
for (var n = Oe(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
|
|
1519
1519
|
e.g(n, r[o], t[r[o]]);
|
|
1520
1520
|
return n;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function Zr(e, t) {
|
|
1523
1523
|
var n = [], r;
|
|
1524
1524
|
for (r in t.h)
|
|
1525
1525
|
n[r] = e.G(t, r);
|
|
1526
1526
|
return n.length = Gt(e.G(t, "length")) || 0, n;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function le(e, t) {
|
|
1529
1529
|
switch (typeof t) {
|
|
1530
1530
|
case "number":
|
|
1531
1531
|
return e.aa.h.prototype;
|
|
@@ -1542,32 +1542,32 @@ b.G = function(e, t) {
|
|
|
1542
1542
|
if (t = String(t), e != null || m(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1543
1543
|
throw TypeError("Expecting native value or pseudo object");
|
|
1544
1544
|
if (t === "length") {
|
|
1545
|
-
if (
|
|
1545
|
+
if (W(this, e, this.J))
|
|
1546
1546
|
return String(e).length;
|
|
1547
|
-
} else if (64 > t.charCodeAt(0) &&
|
|
1548
|
-
var n =
|
|
1547
|
+
} else if (64 > t.charCodeAt(0) && W(this, e, this.J)) {
|
|
1548
|
+
var n = Ve(t);
|
|
1549
1549
|
if (!isNaN(n) && n < String(e).length)
|
|
1550
1550
|
return String(e)[n];
|
|
1551
1551
|
}
|
|
1552
1552
|
do
|
|
1553
1553
|
if (e.h && t in e.h)
|
|
1554
1554
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1555
|
-
while (e =
|
|
1555
|
+
while (e = le(this, e));
|
|
1556
1556
|
};
|
|
1557
|
-
function
|
|
1557
|
+
function ut(e, t, n) {
|
|
1558
1558
|
if (!(t instanceof A))
|
|
1559
1559
|
throw TypeError("Primitive data type has no properties");
|
|
1560
|
-
if (n = String(n), n === "length" &&
|
|
1560
|
+
if (n = String(n), n === "length" && W(e, t, e.J))
|
|
1561
1561
|
return !0;
|
|
1562
|
-
if (
|
|
1563
|
-
var r =
|
|
1562
|
+
if (W(e, t, e.J)) {
|
|
1563
|
+
var r = Ve(n);
|
|
1564
1564
|
if (!isNaN(r) && r < String(t).length)
|
|
1565
1565
|
return !0;
|
|
1566
1566
|
}
|
|
1567
1567
|
do
|
|
1568
1568
|
if (t.h && n in t.h)
|
|
1569
1569
|
return !0;
|
|
1570
|
-
while (t =
|
|
1570
|
+
while (t = le(e, t));
|
|
1571
1571
|
return !1;
|
|
1572
1572
|
}
|
|
1573
1573
|
b.g = function(e, t, n, r) {
|
|
@@ -1578,8 +1578,8 @@ b.g = function(e, t, n, r) {
|
|
|
1578
1578
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && m(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1579
1579
|
var o = !this.o || Kt(this).S;
|
|
1580
1580
|
if (e instanceof A) {
|
|
1581
|
-
if (
|
|
1582
|
-
var s =
|
|
1581
|
+
if (W(this, e, this.J)) {
|
|
1582
|
+
var s = Ve(t);
|
|
1583
1583
|
if (t === "length" || !isNaN(s) && s < String(e).length) {
|
|
1584
1584
|
o && m(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1585
1585
|
return;
|
|
@@ -1594,11 +1594,11 @@ b.g = function(e, t, n, r) {
|
|
|
1594
1594
|
}
|
|
1595
1595
|
if (n = Gt(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
|
|
1596
1596
|
for (a in e.h) {
|
|
1597
|
-
var a =
|
|
1597
|
+
var a = Ve(a);
|
|
1598
1598
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
1599
1599
|
}
|
|
1600
1600
|
} else
|
|
1601
|
-
isNaN(a =
|
|
1601
|
+
isNaN(a = Ve(t)) || (e.h.length = Math.max(s, a + 1));
|
|
1602
1602
|
if (!e.preventExtensions || t in e.h)
|
|
1603
1603
|
if (r) {
|
|
1604
1604
|
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== Ke && (o.value = n, delete e.V[t], delete e.Y[t]);
|
|
@@ -1612,7 +1612,7 @@ b.g = function(e, t, n, r) {
|
|
|
1612
1612
|
if (n === Ke)
|
|
1613
1613
|
throw ReferenceError("Value not specified");
|
|
1614
1614
|
for (r = e; !(t in r.h); )
|
|
1615
|
-
if (r =
|
|
1615
|
+
if (r = le(this, r), !r) {
|
|
1616
1616
|
r = e;
|
|
1617
1617
|
break;
|
|
1618
1618
|
}
|
|
@@ -1638,10 +1638,10 @@ b.g.ac = function() {
|
|
|
1638
1638
|
b.g.bc = function() {
|
|
1639
1639
|
throw Error("Placeholder setter");
|
|
1640
1640
|
};
|
|
1641
|
-
function
|
|
1641
|
+
function L(e, t, n, r) {
|
|
1642
1642
|
e.g(t.h.prototype, n, e.i(r, !1), y);
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1644
|
+
function $e(e, t, n, r) {
|
|
1645
1645
|
e.g(t.h.prototype, n, e.ub(r), y);
|
|
1646
1646
|
}
|
|
1647
1647
|
function Kt(e) {
|
|
@@ -1657,12 +1657,12 @@ function Wt(e, t, n) {
|
|
|
1657
1657
|
var o = t.body && t.body[0];
|
|
1658
1658
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
1659
1659
|
}
|
|
1660
|
-
return o = e.s(null), r = new
|
|
1660
|
+
return o = e.s(null), r = new qr(n, r, o), n || Dn(e, r.object), Je(e, t, r), r;
|
|
1661
1661
|
}
|
|
1662
1662
|
function Jt(e, t, n) {
|
|
1663
1663
|
if (!t)
|
|
1664
1664
|
throw Error("parentScope required");
|
|
1665
|
-
return e = n || e.s(null), new
|
|
1665
|
+
return e = n || e.s(null), new qr(t, t.S, e);
|
|
1666
1666
|
}
|
|
1667
1667
|
function Yt(e, t) {
|
|
1668
1668
|
for (var n = Kt(e); n && n !== e.N; ) {
|
|
@@ -1670,11 +1670,11 @@ function Yt(e, t) {
|
|
|
1670
1670
|
return n.object.h[t];
|
|
1671
1671
|
n = n.Va;
|
|
1672
1672
|
}
|
|
1673
|
-
if (n === e.N &&
|
|
1673
|
+
if (n === e.N && ut(e, n.object, t))
|
|
1674
1674
|
return e.G(n.object, t);
|
|
1675
1675
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || m(e, e.pb, t + " is not defined");
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1677
|
+
function zr(e, t, n) {
|
|
1678
1678
|
for (var r = Kt(e), o = r.S; r && r !== e.N; ) {
|
|
1679
1679
|
if (t in r.object.h) {
|
|
1680
1680
|
try {
|
|
@@ -1686,7 +1686,7 @@ function qr(e, t, n) {
|
|
|
1686
1686
|
}
|
|
1687
1687
|
r = r.Va;
|
|
1688
1688
|
}
|
|
1689
|
-
if (r === e.N && (!o ||
|
|
1689
|
+
if (r === e.N && (!o || ut(e, r.object, t)))
|
|
1690
1690
|
return e.g(r.object, t, n);
|
|
1691
1691
|
m(e, e.pb, t + " is not defined");
|
|
1692
1692
|
}
|
|
@@ -1736,20 +1736,20 @@ function Je(e, t, n) {
|
|
|
1736
1736
|
t.jb = r;
|
|
1737
1737
|
}
|
|
1738
1738
|
for (a in r)
|
|
1739
|
-
r[a] === !0 ? e.g(n.object, a, void 0,
|
|
1739
|
+
r[a] === !0 ? e.g(n.object, a, void 0, Br) : e.g(n.object, a, Ht(e, r[a], n), Br);
|
|
1740
1740
|
return r;
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function ue(e) {
|
|
1743
1743
|
return e.o[e.o.length - 1].isConstructor;
|
|
1744
1744
|
}
|
|
1745
1745
|
function Zt(e, t) {
|
|
1746
|
-
return t[0] ===
|
|
1746
|
+
return t[0] === Ae ? Yt(e, t[1]) : e.G(t[0], t[1]);
|
|
1747
1747
|
}
|
|
1748
1748
|
function zt(e, t, n) {
|
|
1749
|
-
return t[0] ===
|
|
1749
|
+
return t[0] === Ae ? zr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1750
1750
|
}
|
|
1751
1751
|
function m(e, t, n) {
|
|
1752
|
-
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), _t(e, t, n)), Ye(e, 4, t),
|
|
1752
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), _t(e, t, n)), Ye(e, 4, t), Yr) : n === void 0 ? t : n;
|
|
1753
1753
|
}
|
|
1754
1754
|
function Ye(e, t, n, r) {
|
|
1755
1755
|
if (t === 0)
|
|
@@ -1787,7 +1787,7 @@ function Ye(e, t, n, r) {
|
|
|
1787
1787
|
} else if (t === 2 && (r ? s.labels && s.labels.indexOf(r) !== -1 : s.W))
|
|
1788
1788
|
return;
|
|
1789
1789
|
}
|
|
1790
|
-
throw
|
|
1790
|
+
throw W(e, n, e.D) ? (t = {
|
|
1791
1791
|
EvalError,
|
|
1792
1792
|
RangeError,
|
|
1793
1793
|
ReferenceError,
|
|
@@ -1827,7 +1827,7 @@ function V(e, t) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
return "???";
|
|
1829
1829
|
}
|
|
1830
|
-
function
|
|
1830
|
+
function Ur(e, t, n) {
|
|
1831
1831
|
var r = e.o[e.o.length - 1], o = Array.from(n), s = o.shift();
|
|
1832
1832
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
1833
1833
|
var a = e.ya();
|
|
@@ -1836,20 +1836,20 @@ function Lr(e, t, n) {
|
|
|
1836
1836
|
a.type = "CallExpression", r = r.scope;
|
|
1837
1837
|
} else {
|
|
1838
1838
|
try {
|
|
1839
|
-
var g =
|
|
1840
|
-
} catch (
|
|
1841
|
-
m(e, e.T, "Invalid code: " +
|
|
1839
|
+
var g = je(String(s), "taskCode" + e.ic++);
|
|
1840
|
+
} catch (O) {
|
|
1841
|
+
m(e, e.T, "Invalid code: " + O.message);
|
|
1842
1842
|
}
|
|
1843
|
-
a.type = "EvalProgram_", a.body = g.body, r = r.node.arguments[0],
|
|
1843
|
+
a.type = "EvalProgram_", a.body = g.body, r = r.node.arguments[0], lt(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
1844
1844
|
}
|
|
1845
|
-
return t = new Jn(f, o, r, a, t ? n : -1),
|
|
1845
|
+
return t = new Jn(f, o, r, a, t ? n : -1), Qr(e, t, n), t.Db;
|
|
1846
1846
|
}
|
|
1847
|
-
function
|
|
1847
|
+
function Qr(e, t, n) {
|
|
1848
1848
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
|
|
1849
1849
|
return r.time - o.time;
|
|
1850
1850
|
});
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1852
|
+
function Fr(e, t) {
|
|
1853
1853
|
for (var n = 0; n < e.ca.length; n++)
|
|
1854
1854
|
if (e.ca[n].Db == t) {
|
|
1855
1855
|
e.ca.splice(n, 1);
|
|
@@ -1870,8 +1870,8 @@ function Qt(e, t, n, r) {
|
|
|
1870
1870
|
var o = e.ya();
|
|
1871
1871
|
return o.type = "CallExpression", e = new v(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1874
|
-
return t == null ? e.Na : t instanceof A ? t : (e = e.s(
|
|
1873
|
+
function Bt(e, t) {
|
|
1874
|
+
return t == null ? e.Na : t instanceof A ? t : (e = e.s(le(e, t)), e.data = t, e);
|
|
1875
1875
|
}
|
|
1876
1876
|
b.Xb = function() {
|
|
1877
1877
|
return this.N;
|
|
@@ -1885,7 +1885,7 @@ b.ec = function(e) {
|
|
|
1885
1885
|
function v(e, t) {
|
|
1886
1886
|
this.node = e, this.scope = t;
|
|
1887
1887
|
}
|
|
1888
|
-
function
|
|
1888
|
+
function qr(e, t, n) {
|
|
1889
1889
|
this.Va = e, this.S = t, this.object = n;
|
|
1890
1890
|
}
|
|
1891
1891
|
function A(e) {
|
|
@@ -1896,12 +1896,12 @@ b.xa = null;
|
|
|
1896
1896
|
b.H = "Object";
|
|
1897
1897
|
b.data = null;
|
|
1898
1898
|
b.toString = function() {
|
|
1899
|
-
if (!
|
|
1899
|
+
if (!Ge)
|
|
1900
1900
|
return "[object Interpreter.Object]";
|
|
1901
1901
|
if (!(this instanceof A))
|
|
1902
1902
|
return String(this);
|
|
1903
1903
|
if (this.H === "Array") {
|
|
1904
|
-
var e =
|
|
1904
|
+
var e = Dr;
|
|
1905
1905
|
e.push(this);
|
|
1906
1906
|
try {
|
|
1907
1907
|
var t = [], n = this.h.length, r = !1;
|
|
@@ -1917,7 +1917,7 @@ b.toString = function() {
|
|
|
1917
1917
|
return t.join(",");
|
|
1918
1918
|
}
|
|
1919
1919
|
if (this.H === "Error") {
|
|
1920
|
-
if (e =
|
|
1920
|
+
if (e = Dr, e.indexOf(this) !== -1)
|
|
1921
1921
|
return "[object Error]";
|
|
1922
1922
|
n = this;
|
|
1923
1923
|
do
|
|
@@ -1944,7 +1944,7 @@ b.toString = function() {
|
|
|
1944
1944
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1945
1945
|
};
|
|
1946
1946
|
b.valueOf = function() {
|
|
1947
|
-
return !
|
|
1947
|
+
return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1948
1948
|
};
|
|
1949
1949
|
function Jn(e, t, n, r, o) {
|
|
1950
1950
|
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Yn, this.time = 0;
|
|
@@ -1953,7 +1953,7 @@ var Yn = 0;
|
|
|
1953
1953
|
h.prototype.stepArrayExpression = function(e, t, n) {
|
|
1954
1954
|
n = n.elements;
|
|
1955
1955
|
var r = t.A || 0;
|
|
1956
|
-
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa =
|
|
1956
|
+
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Oe(this), t.Oa.h.length = n.length); r < n.length; ) {
|
|
1957
1957
|
if (n[r])
|
|
1958
1958
|
return t.A = r, new v(n[r], t.scope);
|
|
1959
1959
|
r++;
|
|
@@ -2080,10 +2080,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2080
2080
|
n = r >>> t;
|
|
2081
2081
|
break;
|
|
2082
2082
|
case "in":
|
|
2083
|
-
t instanceof A || m(this, this.j, "'in' expects an object, not '" + t + "'"), n =
|
|
2083
|
+
t instanceof A || m(this, this.j, "'in' expects an object, not '" + t + "'"), n = ut(this, t, r);
|
|
2084
2084
|
break;
|
|
2085
2085
|
case "instanceof":
|
|
2086
|
-
|
|
2086
|
+
W(this, t, this.O) || m(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof A ? W(this, r, t) : !1;
|
|
2087
2087
|
break;
|
|
2088
2088
|
default:
|
|
2089
2089
|
throw SyntaxError("Unknown binary operator: " + n.operator);
|
|
@@ -2110,7 +2110,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2110
2110
|
t.ia = 2;
|
|
2111
2111
|
var o = t.value;
|
|
2112
2112
|
if (Array.isArray(o)) {
|
|
2113
|
-
if (t.U = Zt(this, o), o[0] ===
|
|
2113
|
+
if (t.U = Zt(this, o), o[0] === Ae ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2114
2114
|
return t.ia = 1, Ze(this, o, t.value);
|
|
2115
2115
|
} else
|
|
2116
2116
|
t.U = o;
|
|
@@ -2121,7 +2121,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2121
2121
|
return new v(n.arguments[t.A++], t.scope);
|
|
2122
2122
|
if (n.type === "NewExpression") {
|
|
2123
2123
|
if (o instanceof A && !o.Ab || m(this, this.j, V(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2124
|
-
t.B =
|
|
2124
|
+
t.B = Oe(this);
|
|
2125
2125
|
else {
|
|
2126
2126
|
var s = o.h.prototype;
|
|
2127
2127
|
(typeof s != "object" || s === null) && (s = this.M), t.B = this.s(s);
|
|
@@ -2134,30 +2134,30 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2134
2134
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2135
2135
|
else {
|
|
2136
2136
|
if (t.eb = !0, o instanceof A || m(this, this.j, V(this, n.callee) + " is not a function"), e = o.node) {
|
|
2137
|
-
for (n = Wt(this, e.body, o.Va), r =
|
|
2137
|
+
for (n = Wt(this, e.body, o.Va), r = Oe(this), o = 0; o < t.F.length; o++)
|
|
2138
2138
|
this.g(r, o, t.F[o]);
|
|
2139
2139
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2140
2140
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2141
|
-
return n.S || (t.B =
|
|
2141
|
+
return n.S || (t.B = Bt(this, t.B)), this.g(n.object, "this", t.B, $t), t.value = void 0, new v(e.body, n);
|
|
2142
2142
|
}
|
|
2143
2143
|
if (o.eval)
|
|
2144
2144
|
if (o = t.F[0], typeof o != "string")
|
|
2145
2145
|
t.value = o;
|
|
2146
2146
|
else {
|
|
2147
2147
|
try {
|
|
2148
|
-
r =
|
|
2148
|
+
r = je(String(o), "eval" + this.Hb++);
|
|
2149
2149
|
} catch (f) {
|
|
2150
2150
|
m(this, this.T, "Invalid code: " + f.message);
|
|
2151
2151
|
}
|
|
2152
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body,
|
|
2152
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, lt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Wt(this, r, n) : Je(this, r, n), this.value = void 0, new v(o, n);
|
|
2153
2153
|
}
|
|
2154
2154
|
else if (o.Ta)
|
|
2155
|
-
t.scope.S || (t.B =
|
|
2155
|
+
t.scope.S || (t.B = Bt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2156
2156
|
else if (o.Za) {
|
|
2157
2157
|
var a = this;
|
|
2158
2158
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(f) {
|
|
2159
2159
|
t.value = f, a.za = !1;
|
|
2160
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2160
|
+
}), this.za = !0, t.scope.S || (t.B = Bt(this, t.B)), o.Za.apply(t.B, r);
|
|
2161
2161
|
} else
|
|
2162
2162
|
m(this, this.j, V(this, n.callee) + " is not callable");
|
|
2163
2163
|
}
|
|
@@ -2228,14 +2228,14 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2228
2228
|
break e;
|
|
2229
2229
|
}
|
|
2230
2230
|
}
|
|
2231
|
-
if (t.u =
|
|
2231
|
+
if (t.u = le(this, t.u), t.wa = null, t.u === null) {
|
|
2232
2232
|
e.pop();
|
|
2233
2233
|
return;
|
|
2234
2234
|
}
|
|
2235
2235
|
}
|
|
2236
2236
|
if (!t.wb)
|
|
2237
2237
|
if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
|
|
2238
|
-
t.pa = [
|
|
2238
|
+
t.pa = [Ae, e.fa[0].id.name];
|
|
2239
2239
|
else
|
|
2240
2240
|
return t.pa = null, t = new v(e, t.scope), t.sa = !0, t;
|
|
2241
2241
|
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = zt(this, t.pa, e)))
|
|
@@ -2268,11 +2268,11 @@ h.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2268
2268
|
e.pop();
|
|
2269
2269
|
};
|
|
2270
2270
|
h.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2271
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Jt(this, e)), t.value =
|
|
2271
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Jt(this, e)), t.value = Ht(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, $t);
|
|
2272
2272
|
};
|
|
2273
2273
|
h.prototype.stepIdentifier = function(e, t, n) {
|
|
2274
2274
|
if (e.pop(), t.sa)
|
|
2275
|
-
e[e.length - 1].value = [
|
|
2275
|
+
e[e.length - 1].value = [Ae, n.name];
|
|
2276
2276
|
else {
|
|
2277
2277
|
if (t = Yt(this, n.name), this.P)
|
|
2278
2278
|
return Ze(this, t, this.Na);
|
|
@@ -2425,7 +2425,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
|
|
|
2425
2425
|
case "delete":
|
|
2426
2426
|
if (n = !0, Array.isArray(r)) {
|
|
2427
2427
|
var o = r[0];
|
|
2428
|
-
o ===
|
|
2428
|
+
o === Ae && (o = t.scope), r = String(r[1]);
|
|
2429
2429
|
try {
|
|
2430
2430
|
delete o.h[r];
|
|
2431
2431
|
} catch {
|
|
@@ -2470,7 +2470,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2470
2470
|
h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2471
2471
|
n = n.fa;
|
|
2472
2472
|
var r = t.A || 0, o = n[r];
|
|
2473
|
-
for (t.Bb && o && (
|
|
2473
|
+
for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
|
|
2474
2474
|
if (o.ua)
|
|
2475
2475
|
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new v(o.ua, t.scope);
|
|
2476
2476
|
o = n[++r];
|
|
@@ -2481,7 +2481,7 @@ h.prototype.stepWithStatement = function(e, t, n) {
|
|
|
2481
2481
|
return t.Ca ? (e.pop(), e = Jt(this, t.scope, t.value), new v(n.body, e)) : (t.Ca = !0, new v(n.object, t.scope));
|
|
2482
2482
|
};
|
|
2483
2483
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2484
|
-
|
|
2484
|
+
he.Interpreter = h;
|
|
2485
2485
|
h.prototype.step = h.prototype.lb;
|
|
2486
2486
|
h.prototype.run = h.prototype.Eb;
|
|
2487
2487
|
h.prototype.appendCode = h.prototype.Jb;
|
|
@@ -2510,7 +2510,7 @@ const Zn = (e) => e.split(`
|
|
|
2510
2510
|
${f}
|
|
2511
2511
|
`;
|
|
2512
2512
|
}).filter(Boolean).join(`
|
|
2513
|
-
`),
|
|
2513
|
+
`), Lr = (e) => e + "JSON", zn = ({
|
|
2514
2514
|
builder: e,
|
|
2515
2515
|
context: t,
|
|
2516
2516
|
event: n,
|
|
@@ -2522,41 +2522,41 @@ const Zn = (e) => e.split(`
|
|
|
2522
2522
|
const f = {
|
|
2523
2523
|
...r,
|
|
2524
2524
|
...o
|
|
2525
|
-
}, g =
|
|
2525
|
+
}, g = Kr({
|
|
2526
2526
|
builder: e,
|
|
2527
2527
|
context: t,
|
|
2528
2528
|
event: n,
|
|
2529
2529
|
state: f
|
|
2530
|
-
}),
|
|
2531
|
-
const
|
|
2532
|
-
return `var ${I} = ${
|
|
2530
|
+
}), O = g.map(([I]) => {
|
|
2531
|
+
const D = Lr(I);
|
|
2532
|
+
return `var ${I} = ${D} === undefined ? undefined : JSON.parse(${D});`;
|
|
2533
2533
|
}).join(`
|
|
2534
|
-
`),
|
|
2535
|
-
if (
|
|
2536
|
-
|
|
2534
|
+
`), C = Zn(a);
|
|
2535
|
+
if (C === "") {
|
|
2536
|
+
He.warn("Skipping evaluation of empty code block.");
|
|
2537
2537
|
return;
|
|
2538
2538
|
}
|
|
2539
2539
|
const w = `
|
|
2540
2540
|
function theFunction() {
|
|
2541
|
-
${
|
|
2541
|
+
${O}
|
|
2542
2542
|
|
|
2543
|
-
${
|
|
2543
|
+
${C}
|
|
2544
2544
|
}
|
|
2545
2545
|
theFunction();
|
|
2546
|
-
`, N = (I,
|
|
2547
|
-
const
|
|
2548
|
-
s == null || s(
|
|
2549
|
-
},
|
|
2550
|
-
g.forEach(([
|
|
2551
|
-
const
|
|
2552
|
-
I.setProperty(
|
|
2553
|
-
}), I.setProperty(
|
|
2546
|
+
`, N = (I, D) => {
|
|
2547
|
+
const K = Hr(f, I, D);
|
|
2548
|
+
s == null || s(K);
|
|
2549
|
+
}, R = function(I, D) {
|
|
2550
|
+
g.forEach(([K, z]) => {
|
|
2551
|
+
const k = JSON.stringify(z);
|
|
2552
|
+
I.setProperty(D, Lr(K), k);
|
|
2553
|
+
}), I.setProperty(D, "setRootState", I.createNativeFunction(N));
|
|
2554
2554
|
};
|
|
2555
2555
|
try {
|
|
2556
|
-
const I = new h(w,
|
|
2556
|
+
const I = new h(w, R);
|
|
2557
2557
|
return I.run(), I.pseudoToNative(I.value);
|
|
2558
2558
|
} catch (I) {
|
|
2559
|
-
|
|
2559
|
+
He.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2560
2560
|
e: I
|
|
2561
2561
|
});
|
|
2562
2562
|
return;
|
|
@@ -2564,15 +2564,15 @@ theFunction();
|
|
|
2564
2564
|
};
|
|
2565
2565
|
function Qn() {
|
|
2566
2566
|
var e;
|
|
2567
|
-
return typeof process != "undefined" &&
|
|
2567
|
+
return typeof process != "undefined" && st((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2568
2568
|
}
|
|
2569
2569
|
const qn = () => {
|
|
2570
2570
|
var r;
|
|
2571
2571
|
if (!Qn())
|
|
2572
2572
|
return !1;
|
|
2573
2573
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
|
|
2574
|
-
return e && t && !n ? (
|
|
2575
|
-
}, eo = (e) => Ft() || qn() ? Rn(e) : zn(e),
|
|
2574
|
+
return e && t && !n ? (He.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
2575
|
+
}, eo = (e) => Ft() || qn() ? Rn(e) : zn(e), ie = class ie {
|
|
2576
2576
|
static getCacheKey(t) {
|
|
2577
2577
|
return JSON.stringify({
|
|
2578
2578
|
...t,
|
|
@@ -2582,16 +2582,16 @@ const qn = () => {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
}
|
|
2584
2584
|
static getCachedValue(t) {
|
|
2585
|
-
return
|
|
2585
|
+
return ie.cache.get(t);
|
|
2586
2586
|
}
|
|
2587
2587
|
static setCachedValue(t, n) {
|
|
2588
|
-
|
|
2588
|
+
ie.cache.size > 20 && ie.cache.delete(ie.cache.keys().next().value), ie.cache.set(t, {
|
|
2589
2589
|
value: n
|
|
2590
2590
|
});
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
|
-
|
|
2594
|
-
let
|
|
2593
|
+
Mt(ie, "cacheLimit", 20), Mt(ie, "cache", /* @__PURE__ */ new Map());
|
|
2594
|
+
let Ce = ie;
|
|
2595
2595
|
function qt({
|
|
2596
2596
|
code: e,
|
|
2597
2597
|
context: t,
|
|
@@ -2603,7 +2603,7 @@ function qt({
|
|
|
2603
2603
|
enableCache: f
|
|
2604
2604
|
}) {
|
|
2605
2605
|
if (e === "") {
|
|
2606
|
-
|
|
2606
|
+
He.warn("Skipping evaluation of empty code block.");
|
|
2607
2607
|
return;
|
|
2608
2608
|
}
|
|
2609
2609
|
const g = {
|
|
@@ -2618,19 +2618,19 @@ function qt({
|
|
|
2618
2618
|
localState: n
|
|
2619
2619
|
};
|
|
2620
2620
|
if (f) {
|
|
2621
|
-
const
|
|
2622
|
-
if (
|
|
2623
|
-
return
|
|
2621
|
+
const O = Ce.getCacheKey(g), C = Ce.getCachedValue(O);
|
|
2622
|
+
if (C)
|
|
2623
|
+
return C.value;
|
|
2624
2624
|
}
|
|
2625
2625
|
try {
|
|
2626
|
-
const
|
|
2626
|
+
const O = eo(g);
|
|
2627
2627
|
if (f) {
|
|
2628
|
-
const
|
|
2629
|
-
|
|
2628
|
+
const C = Ce.getCacheKey(g);
|
|
2629
|
+
Ce.setCachedValue(C, O);
|
|
2630
2630
|
}
|
|
2631
|
-
return
|
|
2632
|
-
} catch (
|
|
2633
|
-
|
|
2631
|
+
return O;
|
|
2632
|
+
} catch (O) {
|
|
2633
|
+
He.error("Failed code evaluation: " + O.message, {
|
|
2634
2634
|
code: e
|
|
2635
2635
|
});
|
|
2636
2636
|
return;
|
|
@@ -2645,7 +2645,7 @@ const to = ({
|
|
|
2645
2645
|
}) => {
|
|
2646
2646
|
if (!e.bindings)
|
|
2647
2647
|
return e;
|
|
2648
|
-
const s =
|
|
2648
|
+
const s = Vr(e), a = {
|
|
2649
2649
|
...s,
|
|
2650
2650
|
properties: {
|
|
2651
2651
|
...s.properties
|
|
@@ -2655,7 +2655,7 @@ const to = ({
|
|
|
2655
2655
|
}
|
|
2656
2656
|
};
|
|
2657
2657
|
for (const f in e.bindings) {
|
|
2658
|
-
const g = e.bindings[f],
|
|
2658
|
+
const g = e.bindings[f], O = qt({
|
|
2659
2659
|
code: g,
|
|
2660
2660
|
localState: n,
|
|
2661
2661
|
rootState: r,
|
|
@@ -2663,11 +2663,11 @@ const to = ({
|
|
|
2663
2663
|
context: t,
|
|
2664
2664
|
enableCache: !0
|
|
2665
2665
|
});
|
|
2666
|
-
|
|
2666
|
+
Hr(a, f, O);
|
|
2667
2667
|
}
|
|
2668
2668
|
return a;
|
|
2669
2669
|
};
|
|
2670
|
-
function
|
|
2670
|
+
function at({
|
|
2671
2671
|
block: e,
|
|
2672
2672
|
context: t,
|
|
2673
2673
|
shouldEvaluateBindings: n,
|
|
@@ -2690,13 +2690,13 @@ function ro(e, t, n = {}) {
|
|
|
2690
2690
|
f = n.leading === !1 ? 0 : Date.now(), a = null, s = e.apply(r, o), a || (r = o = null);
|
|
2691
2691
|
};
|
|
2692
2692
|
return function() {
|
|
2693
|
-
const
|
|
2694
|
-
!f && n.leading === !1 && (f =
|
|
2695
|
-
const
|
|
2696
|
-
return r = this, o = arguments,
|
|
2693
|
+
const O = Date.now();
|
|
2694
|
+
!f && n.leading === !1 && (f = O);
|
|
2695
|
+
const C = t - (O - f);
|
|
2696
|
+
return r = this, o = arguments, C <= 0 || C > t ? (a && (clearTimeout(a), a = null), f = O, s = e.apply(r, o), a || (r = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(g, C)), s;
|
|
2697
2697
|
};
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2699
|
+
function Xe(e, ...t) {
|
|
2700
2700
|
const n = Object(e);
|
|
2701
2701
|
for (let r = 1; r < arguments.length; r++) {
|
|
2702
2702
|
const o = arguments[r];
|
|
@@ -2713,18 +2713,15 @@ function no(e) {
|
|
|
2713
2713
|
case "pageLoad":
|
|
2714
2714
|
io(t);
|
|
2715
2715
|
break;
|
|
2716
|
-
case "hover":
|
|
2717
|
-
so(t);
|
|
2718
|
-
break;
|
|
2719
2716
|
case "scrollInView":
|
|
2720
|
-
|
|
2717
|
+
so(t);
|
|
2721
2718
|
break;
|
|
2722
2719
|
}
|
|
2723
2720
|
}
|
|
2724
|
-
function
|
|
2721
|
+
function en(e) {
|
|
2725
2722
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2726
2723
|
}
|
|
2727
|
-
function
|
|
2724
|
+
function tn(e, t) {
|
|
2728
2725
|
const n = oo(e), r = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, a = [o, s];
|
|
2729
2726
|
for (const f of a)
|
|
2730
2727
|
for (const g of n)
|
|
@@ -2740,12 +2737,12 @@ function oo(e) {
|
|
|
2740
2737
|
function io(e) {
|
|
2741
2738
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2742
2739
|
if (!t.length) {
|
|
2743
|
-
|
|
2740
|
+
en(e.elementId || e.id || "");
|
|
2744
2741
|
return;
|
|
2745
2742
|
}
|
|
2746
2743
|
Array.from(t).forEach((n) => {
|
|
2747
|
-
|
|
2748
|
-
n.style.transition = `all ${e.duration}s ${er(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"),
|
|
2744
|
+
tn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Xe(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2745
|
+
n.style.transition = `all ${e.duration}s ${er(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Xe(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2749
2746
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
2750
2747
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2751
2748
|
});
|
|
@@ -2754,51 +2751,31 @@ function io(e) {
|
|
|
2754
2751
|
function so(e) {
|
|
2755
2752
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2756
2753
|
if (!t.length) {
|
|
2757
|
-
|
|
2758
|
-
return;
|
|
2759
|
-
}
|
|
2760
|
-
Array.from(t).forEach((n) => {
|
|
2761
|
-
rr(e, n);
|
|
2762
|
-
const r = e.steps[0].styles, o = e.steps[1].styles;
|
|
2763
|
-
function s() {
|
|
2764
|
-
ye(n.style, r);
|
|
2765
|
-
}
|
|
2766
|
-
function a() {
|
|
2767
|
-
ye(n.style, o);
|
|
2768
|
-
}
|
|
2769
|
-
s(), n.addEventListener("mouseenter", a), n.addEventListener("mouseleave", s), setTimeout(() => {
|
|
2770
|
-
n.style.transition = `all ${e.duration}s ${er(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
2771
|
-
});
|
|
2772
|
-
});
|
|
2773
|
-
}
|
|
2774
|
-
function ao(e) {
|
|
2775
|
-
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2776
|
-
if (!t.length) {
|
|
2777
|
-
tr(e.elementId || e.id || "");
|
|
2754
|
+
en(e.elementId || e.id || "");
|
|
2778
2755
|
return;
|
|
2779
2756
|
}
|
|
2780
2757
|
Array.from(t).forEach((n) => {
|
|
2781
|
-
|
|
2758
|
+
tn(e, n);
|
|
2782
2759
|
let r = !1, o = !1;
|
|
2783
2760
|
function s() {
|
|
2784
2761
|
!r && f(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
2785
|
-
|
|
2762
|
+
Xe(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
|
|
2786
2763
|
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
2787
2764
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
2788
|
-
})) : e.repeat && r && !o && !f(n) && (r = !1,
|
|
2765
|
+
})) : e.repeat && r && !o && !f(n) && (r = !1, Xe(n.style, e.steps[0].styles));
|
|
2789
2766
|
}
|
|
2790
2767
|
const a = ro(s, 200, {
|
|
2791
2768
|
leading: !1
|
|
2792
2769
|
});
|
|
2793
|
-
function f(
|
|
2794
|
-
const w =
|
|
2770
|
+
function f(C) {
|
|
2771
|
+
const w = C.getBoundingClientRect(), N = window.innerHeight, I = (e.thresholdPercent || 0) / 100 * N;
|
|
2795
2772
|
return w.bottom > I && w.top < N - I;
|
|
2796
2773
|
}
|
|
2797
2774
|
const g = e.steps[0].styles;
|
|
2798
|
-
function
|
|
2799
|
-
|
|
2775
|
+
function O() {
|
|
2776
|
+
Xe(n.style, g);
|
|
2800
2777
|
}
|
|
2801
|
-
|
|
2778
|
+
O(), setTimeout(() => {
|
|
2802
2779
|
n.style.transition = `all ${e.duration}s ${er(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
2803
2780
|
}), document.addEventListener("scroll", a, {
|
|
2804
2781
|
capture: !0,
|
|
@@ -2806,37 +2783,37 @@ function ao(e) {
|
|
|
2806
2783
|
}), s();
|
|
2807
2784
|
});
|
|
2808
2785
|
}
|
|
2809
|
-
const
|
|
2786
|
+
const ao = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), rn = (e) => Object.entries(e).map(([n, r]) => {
|
|
2810
2787
|
if (typeof r == "string")
|
|
2811
|
-
return `${
|
|
2812
|
-
}).filter(
|
|
2813
|
-
`),
|
|
2788
|
+
return `${ao(n)}: ${r};`;
|
|
2789
|
+
}).filter(st), lo = (e) => rn(e).join(`
|
|
2790
|
+
`), it = ({
|
|
2814
2791
|
mediaQuery: e,
|
|
2815
2792
|
className: t,
|
|
2816
2793
|
styles: n
|
|
2817
2794
|
}) => {
|
|
2818
2795
|
const r = `.${t} {
|
|
2819
|
-
${
|
|
2796
|
+
${lo(n)}
|
|
2820
2797
|
}`;
|
|
2821
2798
|
return e ? `${e} {
|
|
2822
2799
|
${r}
|
|
2823
2800
|
}` : r;
|
|
2824
2801
|
};
|
|
2825
|
-
function
|
|
2802
|
+
function uo({
|
|
2826
2803
|
style: e
|
|
2827
2804
|
}) {
|
|
2828
2805
|
return e;
|
|
2829
2806
|
}
|
|
2830
|
-
const
|
|
2807
|
+
const co = ({
|
|
2831
2808
|
block: e,
|
|
2832
2809
|
context: t
|
|
2833
|
-
}) =>
|
|
2810
|
+
}) => fo(uo({
|
|
2834
2811
|
style: e.style || {},
|
|
2835
2812
|
context: t,
|
|
2836
2813
|
block: e
|
|
2837
2814
|
}));
|
|
2838
|
-
function
|
|
2839
|
-
switch (
|
|
2815
|
+
function fo(e) {
|
|
2816
|
+
switch (Xr) {
|
|
2840
2817
|
case "svelte":
|
|
2841
2818
|
case "vue":
|
|
2842
2819
|
case "solid":
|
|
@@ -2848,13 +2825,13 @@ function po(e) {
|
|
|
2848
2825
|
return e;
|
|
2849
2826
|
}
|
|
2850
2827
|
}
|
|
2851
|
-
const
|
|
2828
|
+
const po = ({
|
|
2852
2829
|
block: e,
|
|
2853
2830
|
context: t,
|
|
2854
2831
|
registeredComponents: n
|
|
2855
2832
|
}) => {
|
|
2856
2833
|
var s;
|
|
2857
|
-
const r = (s =
|
|
2834
|
+
const r = (s = at({
|
|
2858
2835
|
block: e,
|
|
2859
2836
|
localState: t.localState,
|
|
2860
2837
|
rootState: t.rootState,
|
|
@@ -2870,7 +2847,7 @@ const ho = ({
|
|
|
2870
2847
|
console.warn(`
|
|
2871
2848
|
Could not find a registered component named "${r}".
|
|
2872
2849
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2873
|
-
},
|
|
2850
|
+
}, ho = ({
|
|
2874
2851
|
block: e,
|
|
2875
2852
|
context: t
|
|
2876
2853
|
}) => {
|
|
@@ -2891,15 +2868,15 @@ const ho = ({
|
|
|
2891
2868
|
if (!Array.isArray(o))
|
|
2892
2869
|
return;
|
|
2893
2870
|
const s = n.collection.split(".").pop(), a = n.itemName || (s ? s + "Item" : "item");
|
|
2894
|
-
return o.map((g,
|
|
2871
|
+
return o.map((g, O) => ({
|
|
2895
2872
|
context: {
|
|
2896
2873
|
...t,
|
|
2897
2874
|
localState: {
|
|
2898
2875
|
...t.localState,
|
|
2899
|
-
$index:
|
|
2876
|
+
$index: O,
|
|
2900
2877
|
$item: g,
|
|
2901
2878
|
[a]: g,
|
|
2902
|
-
[`$${a}Index`]:
|
|
2879
|
+
[`$${a}Index`]: O
|
|
2903
2880
|
}
|
|
2904
2881
|
},
|
|
2905
2882
|
block: r
|
|
@@ -2920,11 +2897,11 @@ const ho = ({
|
|
|
2920
2897
|
default: 991,
|
|
2921
2898
|
max: 1200
|
|
2922
2899
|
}
|
|
2923
|
-
},
|
|
2900
|
+
}, _r = (e, t = nn) => `@media (max-width: ${t[e].max}px)`, go = ({
|
|
2924
2901
|
small: e,
|
|
2925
2902
|
medium: t
|
|
2926
2903
|
}) => {
|
|
2927
|
-
const n =
|
|
2904
|
+
const n = Vr(nn);
|
|
2928
2905
|
if (!e || !t)
|
|
2929
2906
|
return n;
|
|
2930
2907
|
const r = Math.floor(e / 2);
|
|
@@ -2947,7 +2924,7 @@ const ho = ({
|
|
|
2947
2924
|
default: s + 1
|
|
2948
2925
|
}, n;
|
|
2949
2926
|
};
|
|
2950
|
-
function
|
|
2927
|
+
function yo(e) {
|
|
2951
2928
|
return /* @__PURE__ */ T(
|
|
2952
2929
|
"style",
|
|
2953
2930
|
{
|
|
@@ -2956,9 +2933,9 @@ function vo(e) {
|
|
|
2956
2933
|
}
|
|
2957
2934
|
);
|
|
2958
2935
|
}
|
|
2959
|
-
function
|
|
2936
|
+
function vo(e) {
|
|
2960
2937
|
function t() {
|
|
2961
|
-
const r =
|
|
2938
|
+
const r = at({
|
|
2962
2939
|
block: e.block,
|
|
2963
2940
|
localState: e.context.localState,
|
|
2964
2941
|
rootState: e.context.rootState,
|
|
@@ -2966,48 +2943,67 @@ function mo(e) {
|
|
|
2966
2943
|
context: e.context.context,
|
|
2967
2944
|
shouldEvaluateBindings: !0
|
|
2968
2945
|
});
|
|
2969
|
-
return
|
|
2946
|
+
return st(r.hide) ? !r.hide : st(r.show) ? r.show : !0;
|
|
2970
2947
|
}
|
|
2971
2948
|
function n() {
|
|
2972
|
-
var
|
|
2973
|
-
const r =
|
|
2949
|
+
var K, z, k;
|
|
2950
|
+
const r = at({
|
|
2974
2951
|
block: e.block,
|
|
2975
2952
|
localState: e.context.localState,
|
|
2976
2953
|
rootState: e.context.rootState,
|
|
2977
2954
|
rootSetState: e.context.rootSetState,
|
|
2978
2955
|
context: e.context.context,
|
|
2979
2956
|
shouldEvaluateBindings: !0
|
|
2980
|
-
}), o = r.responsiveStyles, s = e.context.content, a =
|
|
2981
|
-
((
|
|
2982
|
-
), f = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium,
|
|
2983
|
-
if (!
|
|
2957
|
+
}), o = r.responsiveStyles, s = e.context.content, a = go(
|
|
2958
|
+
((K = s == null ? void 0 : s.meta) == null ? void 0 : K.breakpoints) || {}
|
|
2959
|
+
), f = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium, O = o == null ? void 0 : o.small, C = r.id;
|
|
2960
|
+
if (!C)
|
|
2984
2961
|
return "";
|
|
2985
|
-
const w = f ?
|
|
2986
|
-
className:
|
|
2962
|
+
const w = f ? it({
|
|
2963
|
+
className: C,
|
|
2987
2964
|
styles: f
|
|
2988
|
-
}) : "", N = g ?
|
|
2989
|
-
className:
|
|
2965
|
+
}) : "", N = g ? it({
|
|
2966
|
+
className: C,
|
|
2990
2967
|
styles: g,
|
|
2991
|
-
mediaQuery:
|
|
2968
|
+
mediaQuery: _r(
|
|
2992
2969
|
"medium",
|
|
2993
2970
|
a
|
|
2994
2971
|
)
|
|
2995
|
-
}) : "",
|
|
2996
|
-
className:
|
|
2997
|
-
styles:
|
|
2998
|
-
mediaQuery:
|
|
2972
|
+
}) : "", R = O ? it({
|
|
2973
|
+
className: C,
|
|
2974
|
+
styles: O,
|
|
2975
|
+
mediaQuery: _r(
|
|
2999
2976
|
"small",
|
|
3000
2977
|
a
|
|
3001
2978
|
)
|
|
3002
|
-
}) : "";
|
|
3003
|
-
|
|
2979
|
+
}) : "", I = r.animations && r.animations.find((Q) => Q.trigger === "hover");
|
|
2980
|
+
let D = "";
|
|
2981
|
+
if (I) {
|
|
2982
|
+
const Q = ((k = (z = I.steps) == null ? void 0 : z[1]) == null ? void 0 : k.styles) || {};
|
|
2983
|
+
D = it({
|
|
2984
|
+
className: `${C}:hover`,
|
|
2985
|
+
styles: {
|
|
2986
|
+
...Q,
|
|
2987
|
+
transition: `all ${I.duration}s ${er(
|
|
2988
|
+
I.easing
|
|
2989
|
+
)}`,
|
|
2990
|
+
transitionDelay: I.delay ? `${I.delay}s` : "0s"
|
|
2991
|
+
}
|
|
2992
|
+
}) || "";
|
|
2993
|
+
}
|
|
2994
|
+
return [
|
|
2995
|
+
w,
|
|
2996
|
+
N,
|
|
2997
|
+
R,
|
|
2998
|
+
D
|
|
2999
|
+
].join(" ");
|
|
3004
3000
|
}
|
|
3005
|
-
return /* @__PURE__ */ T(
|
|
3001
|
+
return /* @__PURE__ */ T(Z, { children: n() && t() ? /* @__PURE__ */ T(Z, { children: /* @__PURE__ */ T(yo, { id: "builderio-block", styles: n() }) }) : null });
|
|
3006
3002
|
}
|
|
3007
|
-
function
|
|
3003
|
+
function mo(e) {
|
|
3008
3004
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3009
3005
|
}
|
|
3010
|
-
const
|
|
3006
|
+
const wo = (e) => `on${mo(e)}`, So = (e, t) => (n) => qt({
|
|
3011
3007
|
code: e,
|
|
3012
3008
|
context: t.context,
|
|
3013
3009
|
localState: t.localState,
|
|
@@ -3024,9 +3020,9 @@ function on(e) {
|
|
|
3024
3020
|
if (!n.hasOwnProperty(o))
|
|
3025
3021
|
continue;
|
|
3026
3022
|
const s = n[o];
|
|
3027
|
-
let a =
|
|
3023
|
+
let a = wo(o);
|
|
3028
3024
|
if (e.stripPrefix)
|
|
3029
|
-
switch (
|
|
3025
|
+
switch (Xr) {
|
|
3030
3026
|
case "vue":
|
|
3031
3027
|
a = a.replace("v-on:", "");
|
|
3032
3028
|
break;
|
|
@@ -3034,45 +3030,45 @@ function on(e) {
|
|
|
3034
3030
|
a = a.replace("on:", "");
|
|
3035
3031
|
break;
|
|
3036
3032
|
}
|
|
3037
|
-
t[a] =
|
|
3033
|
+
t[a] = So(s, e);
|
|
3038
3034
|
}
|
|
3039
3035
|
return t;
|
|
3040
3036
|
}
|
|
3041
|
-
function
|
|
3037
|
+
function xo({
|
|
3042
3038
|
properties: e
|
|
3043
3039
|
}) {
|
|
3044
3040
|
return e;
|
|
3045
3041
|
}
|
|
3046
|
-
const
|
|
3042
|
+
const ko = (e) => ({
|
|
3047
3043
|
href: e.href
|
|
3048
3044
|
});
|
|
3049
|
-
function
|
|
3045
|
+
function tr({
|
|
3050
3046
|
block: e,
|
|
3051
3047
|
context: t
|
|
3052
3048
|
}) {
|
|
3053
3049
|
var r;
|
|
3054
3050
|
const n = {
|
|
3055
|
-
...
|
|
3051
|
+
...ko(e),
|
|
3056
3052
|
...e.properties,
|
|
3057
3053
|
"builder-id": e.id,
|
|
3058
|
-
style:
|
|
3054
|
+
style: co({
|
|
3059
3055
|
block: e,
|
|
3060
3056
|
context: t
|
|
3061
3057
|
}),
|
|
3062
3058
|
[An()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
3063
3059
|
};
|
|
3064
|
-
return
|
|
3060
|
+
return xo({
|
|
3065
3061
|
properties: n,
|
|
3066
3062
|
context: t,
|
|
3067
3063
|
block: e
|
|
3068
3064
|
});
|
|
3069
3065
|
}
|
|
3070
|
-
function
|
|
3066
|
+
function Eo(e) {
|
|
3071
3067
|
return /* @__PURE__ */ T(
|
|
3072
3068
|
In,
|
|
3073
3069
|
{
|
|
3074
3070
|
TagName: e.Wrapper,
|
|
3075
|
-
attributes:
|
|
3071
|
+
attributes: tr({
|
|
3076
3072
|
block: e.block,
|
|
3077
3073
|
context: e.context
|
|
3078
3074
|
}),
|
|
@@ -3088,13 +3084,13 @@ function Co(e) {
|
|
|
3088
3084
|
}
|
|
3089
3085
|
);
|
|
3090
3086
|
}
|
|
3091
|
-
function
|
|
3087
|
+
function Co(e) {
|
|
3092
3088
|
return /* @__PURE__ */ T(
|
|
3093
3089
|
e.Wrapper,
|
|
3094
3090
|
{
|
|
3095
3091
|
...e.wrapperProps,
|
|
3096
3092
|
attributes: e.includeBlockProps ? {
|
|
3097
|
-
...
|
|
3093
|
+
...tr({
|
|
3098
3094
|
block: e.block,
|
|
3099
3095
|
context: e.context
|
|
3100
3096
|
}),
|
|
@@ -3110,7 +3106,7 @@ function jo(e) {
|
|
|
3110
3106
|
}
|
|
3111
3107
|
);
|
|
3112
3108
|
}
|
|
3113
|
-
const
|
|
3109
|
+
const jo = ({
|
|
3114
3110
|
componentOptions: e,
|
|
3115
3111
|
builderBlock: t,
|
|
3116
3112
|
context: n,
|
|
@@ -3126,7 +3122,7 @@ const Oo = ({
|
|
|
3126
3122
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
3127
3123
|
*/
|
|
3128
3124
|
...o ? {
|
|
3129
|
-
attributes:
|
|
3125
|
+
attributes: tr({
|
|
3130
3126
|
block: t,
|
|
3131
3127
|
context: a
|
|
3132
3128
|
})
|
|
@@ -3140,15 +3136,15 @@ const Oo = ({
|
|
|
3140
3136
|
includeBlockProps: o
|
|
3141
3137
|
} : f;
|
|
3142
3138
|
};
|
|
3143
|
-
function
|
|
3139
|
+
function Wr(e) {
|
|
3144
3140
|
var r;
|
|
3145
|
-
const [t, n] =
|
|
3146
|
-
() => e.isInteractive ?
|
|
3141
|
+
const [t, n] = $r(
|
|
3142
|
+
() => e.isInteractive ? Co : e.componentRef
|
|
3147
3143
|
);
|
|
3148
|
-
return /* @__PURE__ */ T(
|
|
3144
|
+
return /* @__PURE__ */ T(Z, { children: e.componentRef ? /* @__PURE__ */ T(Z, { children: /* @__PURE__ */ T(
|
|
3149
3145
|
t,
|
|
3150
3146
|
{
|
|
3151
|
-
...
|
|
3147
|
+
...jo({
|
|
3152
3148
|
componentOptions: e.componentOptions,
|
|
3153
3149
|
builderBlock: e.builderBlock,
|
|
3154
3150
|
context: e.context,
|
|
@@ -3159,7 +3155,7 @@ function Gr(e) {
|
|
|
3159
3155
|
contextValue: e.context
|
|
3160
3156
|
}),
|
|
3161
3157
|
children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ T(
|
|
3162
|
-
|
|
3158
|
+
ct,
|
|
3163
3159
|
{
|
|
3164
3160
|
block: o,
|
|
3165
3161
|
context: e.context,
|
|
@@ -3171,10 +3167,10 @@ function Gr(e) {
|
|
|
3171
3167
|
}
|
|
3172
3168
|
) }) : null });
|
|
3173
3169
|
}
|
|
3174
|
-
function
|
|
3175
|
-
const [t, n] =
|
|
3176
|
-
return /* @__PURE__ */ T(
|
|
3177
|
-
|
|
3170
|
+
function Oo(e) {
|
|
3171
|
+
const [t, n] = $r(() => e.repeatContext);
|
|
3172
|
+
return /* @__PURE__ */ T(Gr.Provider, { value: t, children: /* @__PURE__ */ T(
|
|
3173
|
+
ct,
|
|
3178
3174
|
{
|
|
3179
3175
|
block: e.block,
|
|
3180
3176
|
context: t,
|
|
@@ -3183,24 +3179,24 @@ function Ao(e) {
|
|
|
3183
3179
|
}
|
|
3184
3180
|
) });
|
|
3185
3181
|
}
|
|
3186
|
-
function
|
|
3187
|
-
var g,
|
|
3182
|
+
function ct(e) {
|
|
3183
|
+
var g, O, C;
|
|
3188
3184
|
function t() {
|
|
3189
|
-
return
|
|
3185
|
+
return po({
|
|
3190
3186
|
block: e.block,
|
|
3191
3187
|
context: e.context,
|
|
3192
3188
|
registeredComponents: e.registeredComponents
|
|
3193
3189
|
});
|
|
3194
3190
|
}
|
|
3195
3191
|
function n() {
|
|
3196
|
-
return
|
|
3192
|
+
return ho({
|
|
3197
3193
|
block: e.block,
|
|
3198
3194
|
context: e.context
|
|
3199
3195
|
});
|
|
3200
3196
|
}
|
|
3201
3197
|
function r() {
|
|
3202
3198
|
var w;
|
|
3203
|
-
return (w = e.block.repeat) != null && w.collection ? e.block :
|
|
3199
|
+
return (w = e.block.repeat) != null && w.collection ? e.block : at({
|
|
3204
3200
|
block: e.block,
|
|
3205
3201
|
localState: e.context.localState,
|
|
3206
3202
|
rootState: e.context.rootState,
|
|
@@ -3214,28 +3210,28 @@ function ut(e) {
|
|
|
3214
3210
|
return e.block.tagName === "a" || ((N = r().properties) == null ? void 0 : N.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3215
3211
|
}
|
|
3216
3212
|
function s() {
|
|
3217
|
-
var
|
|
3218
|
-
if ((
|
|
3213
|
+
var R, I;
|
|
3214
|
+
if ((R = e.block.repeat) != null && R.collection)
|
|
3219
3215
|
return !!((I = n == null ? void 0 : n()) != null && I.length);
|
|
3220
3216
|
const w = "hide" in r() ? r().hide : !1;
|
|
3221
3217
|
return ("show" in r() ? r().show : !0) && !w;
|
|
3222
3218
|
}
|
|
3223
3219
|
function a() {
|
|
3224
|
-
var N,
|
|
3225
|
-
return !((N = t == null ? void 0 : t()) != null && N.component) && !n() ? (
|
|
3220
|
+
var N, R;
|
|
3221
|
+
return !((N = t == null ? void 0 : t()) != null && N.component) && !n() ? (R = r().children) != null ? R : [] : [];
|
|
3226
3222
|
}
|
|
3227
3223
|
function f() {
|
|
3228
|
-
var w, N,
|
|
3224
|
+
var w, N, R, I, D, K, z, k, Q, Ie, be;
|
|
3229
3225
|
return {
|
|
3230
3226
|
blockChildren: (w = r().children) != null ? w : [],
|
|
3231
3227
|
componentRef: (N = t == null ? void 0 : t()) == null ? void 0 : N.component,
|
|
3232
3228
|
componentOptions: {
|
|
3233
3229
|
...Pn(r()),
|
|
3234
3230
|
builderContext: e.context,
|
|
3235
|
-
...((
|
|
3231
|
+
...((R = t == null ? void 0 : t()) == null ? void 0 : R.name) === "Core:Button" || ((I = t == null ? void 0 : t()) == null ? void 0 : I.name) === "Symbol" || ((D = t == null ? void 0 : t()) == null ? void 0 : D.name) === "Columns" || ((K = t == null ? void 0 : t()) == null ? void 0 : K.name) === "Form:Form" ? {
|
|
3236
3232
|
builderLinkComponent: e.linkComponent
|
|
3237
3233
|
} : {},
|
|
3238
|
-
...((
|
|
3234
|
+
...((z = t == null ? void 0 : t()) == null ? void 0 : z.name) === "Symbol" || ((k = t == null ? void 0 : t()) == null ? void 0 : k.name) === "Columns" || ((Q = t == null ? void 0 : t()) == null ? void 0 : Q.name) === "Form:Form" ? {
|
|
3239
3235
|
builderComponents: e.registeredComponents
|
|
3240
3236
|
} : {}
|
|
3241
3237
|
},
|
|
@@ -3243,22 +3239,22 @@ function ut(e) {
|
|
|
3243
3239
|
linkComponent: e.linkComponent,
|
|
3244
3240
|
registeredComponents: e.registeredComponents,
|
|
3245
3241
|
builderBlock: r(),
|
|
3246
|
-
includeBlockProps: ((
|
|
3247
|
-
isInteractive: !((
|
|
3242
|
+
includeBlockProps: ((Ie = t == null ? void 0 : t()) == null ? void 0 : Ie.noWrap) === !0,
|
|
3243
|
+
isInteractive: !((be = t == null ? void 0 : t()) != null && be.isRSC)
|
|
3248
3244
|
};
|
|
3249
3245
|
}
|
|
3250
3246
|
return jn(() => {
|
|
3251
3247
|
const w = r().id, N = r().animations;
|
|
3252
3248
|
N && w && no(
|
|
3253
|
-
N.
|
|
3254
|
-
...
|
|
3249
|
+
N.map((R) => ({
|
|
3250
|
+
...R,
|
|
3255
3251
|
elementId: w
|
|
3256
3252
|
}))
|
|
3257
3253
|
);
|
|
3258
|
-
}, []), /* @__PURE__ */ T(
|
|
3259
|
-
/* @__PURE__ */ T(
|
|
3260
|
-
(g = t == null ? void 0 : t()) != null && g.noWrap ? /* @__PURE__ */ T(
|
|
3261
|
-
|
|
3254
|
+
}, []), /* @__PURE__ */ T(Z, { children: s() ? /* @__PURE__ */ Dt(Z, { children: [
|
|
3255
|
+
/* @__PURE__ */ T(vo, { block: e.block, context: e.context }),
|
|
3256
|
+
(g = t == null ? void 0 : t()) != null && g.noWrap ? /* @__PURE__ */ T(Z, { children: /* @__PURE__ */ T(
|
|
3257
|
+
Wr,
|
|
3262
3258
|
{
|
|
3263
3259
|
componentRef: f().componentRef,
|
|
3264
3260
|
componentOptions: f().componentOptions,
|
|
@@ -3270,8 +3266,8 @@ function ut(e) {
|
|
|
3270
3266
|
includeBlockProps: f().includeBlockProps,
|
|
3271
3267
|
isInteractive: f().isInteractive
|
|
3272
3268
|
}
|
|
3273
|
-
) }) : /* @__PURE__ */ T(
|
|
3274
|
-
|
|
3269
|
+
) }) : /* @__PURE__ */ T(Z, { children: n() ? /* @__PURE__ */ T(Z, { children: (C = n()) == null ? void 0 : C.map((w, N) => /* @__PURE__ */ T(
|
|
3270
|
+
Oo,
|
|
3275
3271
|
{
|
|
3276
3272
|
repeatContext: w.context,
|
|
3277
3273
|
block: w.block,
|
|
@@ -3280,7 +3276,7 @@ function ut(e) {
|
|
|
3280
3276
|
},
|
|
3281
3277
|
N
|
|
3282
3278
|
)) }) : /* @__PURE__ */ Dt(
|
|
3283
|
-
|
|
3279
|
+
Eo,
|
|
3284
3280
|
{
|
|
3285
3281
|
Wrapper: o(),
|
|
3286
3282
|
block: r(),
|
|
@@ -3288,7 +3284,7 @@ function ut(e) {
|
|
|
3288
3284
|
linkComponent: e.linkComponent,
|
|
3289
3285
|
children: [
|
|
3290
3286
|
/* @__PURE__ */ T(
|
|
3291
|
-
|
|
3287
|
+
Wr,
|
|
3292
3288
|
{
|
|
3293
3289
|
componentRef: f().componentRef,
|
|
3294
3290
|
componentOptions: f().componentOptions,
|
|
@@ -3301,8 +3297,8 @@ function ut(e) {
|
|
|
3301
3297
|
isInteractive: f().isInteractive
|
|
3302
3298
|
}
|
|
3303
3299
|
),
|
|
3304
|
-
(
|
|
3305
|
-
|
|
3300
|
+
(O = a()) == null ? void 0 : O.map((w) => /* @__PURE__ */ T(
|
|
3301
|
+
ct,
|
|
3306
3302
|
{
|
|
3307
3303
|
block: w,
|
|
3308
3304
|
registeredComponents: e.registeredComponents,
|
|
@@ -3316,7 +3312,7 @@ function ut(e) {
|
|
|
3316
3312
|
) })
|
|
3317
3313
|
] }) : null });
|
|
3318
3314
|
}
|
|
3319
|
-
function
|
|
3315
|
+
function Ao(e) {
|
|
3320
3316
|
function t() {
|
|
3321
3317
|
var o;
|
|
3322
3318
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
@@ -3347,7 +3343,7 @@ function Io(e) {
|
|
|
3347
3343
|
"*"
|
|
3348
3344
|
));
|
|
3349
3345
|
}
|
|
3350
|
-
return /* @__PURE__ */ Dt(
|
|
3346
|
+
return /* @__PURE__ */ Dt(Z, { children: [
|
|
3351
3347
|
/* @__PURE__ */ T(
|
|
3352
3348
|
e.BlocksWrapper,
|
|
3353
3349
|
{
|
|
@@ -3369,11 +3365,11 @@ function Io(e) {
|
|
|
3369
3365
|
}` })
|
|
3370
3366
|
] });
|
|
3371
3367
|
}
|
|
3372
|
-
function
|
|
3368
|
+
function Io(e) {
|
|
3373
3369
|
var r, o, s;
|
|
3374
|
-
const t =
|
|
3370
|
+
const t = Rr(Gr), n = Rr(Nn);
|
|
3375
3371
|
return /* @__PURE__ */ T(
|
|
3376
|
-
|
|
3372
|
+
Ao,
|
|
3377
3373
|
{
|
|
3378
3374
|
blocks: e.blocks,
|
|
3379
3375
|
parent: e.parent,
|
|
@@ -3381,8 +3377,8 @@ function bo(e) {
|
|
|
3381
3377
|
styleProp: e.styleProp,
|
|
3382
3378
|
BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || t.BlocksWrapper,
|
|
3383
3379
|
BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
|
|
3384
|
-
children: e.blocks ? /* @__PURE__ */ T(
|
|
3385
|
-
|
|
3380
|
+
children: e.blocks ? /* @__PURE__ */ T(Z, { children: (s = e.blocks) == null ? void 0 : s.map((a) => /* @__PURE__ */ T(
|
|
3381
|
+
ct,
|
|
3386
3382
|
{
|
|
3387
3383
|
block: a,
|
|
3388
3384
|
linkComponent: e.linkComponent,
|
|
@@ -3394,19 +3390,19 @@ function bo(e) {
|
|
|
3394
3390
|
}
|
|
3395
3391
|
);
|
|
3396
3392
|
}
|
|
3397
|
-
const
|
|
3393
|
+
const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3398
3394
|
__proto__: null,
|
|
3399
|
-
default:
|
|
3395
|
+
default: Io
|
|
3400
3396
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3401
3397
|
export {
|
|
3402
|
-
|
|
3403
|
-
|
|
3398
|
+
ct as Block,
|
|
3399
|
+
Io as Blocks,
|
|
3404
3400
|
Nn as ComponentsContext,
|
|
3405
|
-
|
|
3406
|
-
|
|
3401
|
+
yo as InlinedStyles,
|
|
3402
|
+
Do as blocks,
|
|
3407
3403
|
qt as evaluate,
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3404
|
+
go as getSizesForBreakpoints,
|
|
3405
|
+
fo as mapStyleObjToStrIfNeeded,
|
|
3406
|
+
Hr as set,
|
|
3411
3407
|
io as triggerAnimation
|
|
3412
3408
|
};
|