@builder.io/sdk-react 0.5.1 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/blocks/BaseText.d.ts +1 -0
- package/dist/blocks/button/button.d.ts +1 -0
- package/dist/blocks/button/button.js +2 -2
- package/dist/blocks/columns/columns.d.ts +1 -0
- package/dist/blocks/columns/columns.js +2 -2
- package/dist/blocks/custom-code/custom-code.d.ts +1 -0
- package/dist/blocks/embed/embed.d.ts +1 -0
- package/dist/blocks/form/form.d.ts +1 -0
- package/dist/blocks/fragment/fragment.d.ts +1 -0
- package/dist/blocks/image/image.d.ts +1 -0
- package/dist/blocks/img/img.d.ts +1 -0
- package/dist/blocks/img/img.js +1 -1
- package/dist/blocks/input/input.d.ts +1 -0
- package/dist/blocks/input/input.js +1 -1
- package/dist/blocks/raw-text/raw-text.d.ts +1 -0
- package/dist/blocks/section/section.d.ts +1 -0
- package/dist/blocks/section/section.js +1 -1
- package/dist/blocks/select/select.d.ts +1 -0
- package/dist/blocks/select/select.js +1 -1
- package/dist/blocks/submit-button/submit-button.d.ts +1 -0
- package/dist/blocks/submit-button/submit-button.js +1 -1
- package/dist/blocks/symbol/symbol.d.ts +1 -0
- package/dist/blocks/symbol/symbol.js +1 -1
- package/dist/blocks/text/text.d.ts +1 -0
- package/dist/blocks/text/text.js +1 -1
- package/dist/blocks/textarea/textarea.d.ts +1 -0
- package/dist/blocks/textarea/textarea.js +1 -1
- package/dist/blocks/video/video.d.ts +1 -0
- package/dist/components/block/block.d.ts +1 -0
- package/dist/components/block/components/block-styles.d.ts +1 -0
- package/dist/components/block/components/block-wrapper.d.ts +1 -0
- package/dist/components/block/components/component-ref/component-ref.d.ts +1 -0
- package/dist/components/block/components/interactive-element.d.ts +1 -0
- package/dist/components/block/components/repeated-block.d.ts +1 -0
- package/dist/components/blocks/blocks-wrapper.d.ts +1 -0
- package/dist/components/blocks/blocks-wrapper.js +1 -1
- package/dist/components/blocks/blocks.d.ts +1 -0
- package/dist/components/content/components/enable-editor.d.ts +1 -0
- package/dist/components/content/components/enable-editor.js +1 -1
- package/dist/components/content/components/styles.d.ts +1 -0
- package/dist/components/content/content.d.ts +1 -0
- package/dist/components/content/content.js +3 -1
- package/dist/components/content-variants/content-variants.d.ts +1 -0
- package/dist/components/content-variants/content-variants.js +12 -6
- package/dist/components/inlined-script.d.ts +1 -0
- package/dist/components/inlined-styles.d.ts +1 -0
- package/dist/constants/sdk-version.d.ts +1 -1
- package/dist/constants/sdk-version.js +1 -1
- package/dist/functions/{acorn_interpreter.js → evaluate/acorn-interpreter.js} +1084 -1000
- package/dist/functions/evaluate/evaluate.js +1 -1
- package/dist/functions/evaluate/non-node-runtime/index.d.ts +1 -0
- package/dist/functions/evaluate/non-node-runtime/index.js +2 -0
- package/dist/functions/evaluate/{non-node-runtime.d.ts → non-node-runtime/non-node-runtime.d.ts} +1 -1
- package/dist/functions/evaluate/{non-node-runtime.js → non-node-runtime/non-node-runtime.js} +3 -3
- package/dist/functions/evaluate/types.d.ts +1 -0
- package/package.json +12 -3
- package/dist/functions/acorn_interpreter.d.ts +0 -1
- package/dist/functions/apply-patch-with-mutation.test.d.ts +0 -1
- package/dist/functions/apply-patch-with-mutation.test.js +0 -53
- package/dist/functions/evaluate/acorn.d.ts +0 -0
- package/dist/functions/evaluate/acorn.js +0 -2432
- package/dist/functions/evaluate/evaluate.test.d.ts +0 -1
- package/dist/functions/evaluate/evaluate.test.js +0 -23
- package/dist/functions/evaluate/interpreter.js +0 -3853
- package/dist/functions/evaluate.d.ts +0 -23
- package/dist/functions/evaluate.js +0 -68
- package/dist/functions/evaluate.test.d.ts +0 -1
- package/dist/functions/evaluate.test.js +0 -23
- package/dist/functions/get-builder-search-params/fn.test.d.ts +0 -1
- package/dist/functions/get-builder-search-params/fn.test.js +0 -13
- package/dist/functions/get-content/generate-content-url.test.d.ts +0 -1
- package/dist/functions/get-content/generate-content-url.test.js +0 -111
- package/dist/functions/get-content/processCookies.d.ts +0 -2
- package/dist/functions/get-content/processCookies.js +0 -3
- package/dist/functions/get-processed-block.test.d.ts +0 -1
- package/dist/functions/get-processed-block.test.js +0 -35
- package/dist/functions/on-change.test.d.ts +0 -1
- package/dist/functions/on-change.test.js +0 -30
- package/dist/functions/set.test.d.ts +0 -1
- package/dist/functions/set.test.js +0 -22
- package/dist/helpers/url.test.d.ts +0 -1
- package/dist/helpers/url.test.js +0 -21
- /package/dist/functions/evaluate/{interpreter.d.ts → acorn-interpreter.d.ts} +0 -0
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
2
|
-
// @ts-
|
|
2
|
+
// @ts-nocheck
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Copied from source: https://github.com/NeilFraser/JS-Interpreter/blob/master/acorn_interpreter.js
|
|
6
|
-
*/
|
|
7
4
|
/*
|
|
8
5
|
|
|
9
6
|
Copyright 2012 Marijn Haverbeke
|
|
@@ -12,56 +9,56 @@
|
|
|
12
9
|
var p;
|
|
13
10
|
var ca = function (a) {
|
|
14
11
|
function b(f) {
|
|
15
|
-
return 48 > f ? 36 === f : 58 > f ? !0 : 65 > f ? !1 : 91 > f ? !0 : 97 > f ? 95 === f : 123 > f ? !0 : 170 <= f &&
|
|
12
|
+
return 48 > f ? 36 === f : 58 > f ? !0 : 65 > f ? !1 : 91 > f ? !0 : 97 > f ? 95 === f : 123 > f ? !0 : 170 <= f && Jc.test(String.fromCharCode(f));
|
|
16
13
|
}
|
|
17
14
|
function d(f) {
|
|
18
15
|
return 65 > f ? 36 === f : 91 > f ? !0 : 97 > f ? 95 === f : 123 > f ? !0 : 170 <= f && Pb.test(String.fromCharCode(f));
|
|
19
16
|
}
|
|
20
17
|
function c(f, g) {
|
|
21
|
-
var
|
|
18
|
+
var l = r;
|
|
22
19
|
for (var n = 1, w = 0;;) {
|
|
23
20
|
Sa.lastIndex = w;
|
|
24
|
-
var J = Sa.exec(
|
|
21
|
+
var J = Sa.exec(l);
|
|
25
22
|
if (J && J.index < f)
|
|
26
23
|
++n, w = J.index + J[0].length;
|
|
27
24
|
else
|
|
28
25
|
break;
|
|
29
26
|
}
|
|
30
|
-
|
|
27
|
+
l = {
|
|
31
28
|
line: n,
|
|
32
|
-
|
|
29
|
+
ab: f - w
|
|
33
30
|
};
|
|
34
|
-
g += " (" +
|
|
31
|
+
g += " (" + l.line + ":" + l.ab + ")";
|
|
35
32
|
g = new SyntaxError(g);
|
|
36
33
|
g.j = f;
|
|
37
|
-
g.
|
|
34
|
+
g.X = l;
|
|
38
35
|
g.o = m;
|
|
39
36
|
throw g;
|
|
40
37
|
}
|
|
41
38
|
function e(f) {
|
|
42
39
|
f = f.split(" ");
|
|
43
|
-
for (var g = Object.create(null),
|
|
44
|
-
g[f[
|
|
40
|
+
for (var g = Object.create(null), l = 0; l < f.length; l++)
|
|
41
|
+
g[f[l]] = !0;
|
|
45
42
|
return function (n) {
|
|
46
43
|
return g[n] || !1;
|
|
47
44
|
};
|
|
48
45
|
}
|
|
49
46
|
function h() {
|
|
50
47
|
this.line = la;
|
|
51
|
-
this.
|
|
48
|
+
this.ab = m - X;
|
|
52
49
|
}
|
|
53
|
-
function
|
|
50
|
+
function k(f, g) {
|
|
54
51
|
oa = m;
|
|
55
|
-
z.
|
|
52
|
+
z.C && (cb = new h());
|
|
56
53
|
x = f;
|
|
57
54
|
C();
|
|
58
55
|
T = g;
|
|
59
|
-
|
|
56
|
+
ya = f.m;
|
|
60
57
|
}
|
|
61
58
|
function q() {
|
|
62
|
-
for (var f = m, g = z.
|
|
63
|
-
++m,
|
|
64
|
-
z.
|
|
59
|
+
for (var f = m, g = z.va && z.C && new h(), l = r.charCodeAt(m += 2); m < pa && 10 !== l && 13 !== l && 8232 !== l && 8233 !== l;)
|
|
60
|
+
++m, l = r.charCodeAt(m);
|
|
61
|
+
z.va && z.va(!1, r.slice(f + 2, m), f, m, g, z.C && new h());
|
|
65
62
|
}
|
|
66
63
|
function C() {
|
|
67
64
|
for (; m < pa;) {
|
|
@@ -69,21 +66,21 @@ var ca = function (a) {
|
|
|
69
66
|
if (32 === f)
|
|
70
67
|
++m;
|
|
71
68
|
else if (13 === f)
|
|
72
|
-
++m, f = r.charCodeAt(m), 10 === f && ++m, z.
|
|
69
|
+
++m, f = r.charCodeAt(m), 10 === f && ++m, z.C && (++la, X = m);
|
|
73
70
|
else if (10 === f || 8232 === f || 8233 === f)
|
|
74
|
-
++m, z.
|
|
71
|
+
++m, z.C && (++la, X = m);
|
|
75
72
|
else if (8 < f && 14 > f)
|
|
76
73
|
++m;
|
|
77
74
|
else if (47 === f) {
|
|
78
75
|
if (f = r.charCodeAt(m + 1), 42 === f) {
|
|
79
76
|
f = void 0;
|
|
80
|
-
var g = z.
|
|
77
|
+
var g = z.va && z.C && new h(), l = m, n = r.indexOf("*/", m += 2);
|
|
81
78
|
-1 === n && c(m - 2, "Unterminated comment");
|
|
82
79
|
m = n + 2;
|
|
83
|
-
if (z.
|
|
84
|
-
for (Sa.lastIndex =
|
|
80
|
+
if (z.C)
|
|
81
|
+
for (Sa.lastIndex = l; (f = Sa.exec(r)) && f.index < m;)
|
|
85
82
|
++la, X = f.index + f[0].length;
|
|
86
|
-
z.
|
|
83
|
+
z.va && z.va(!0, r.slice(l + 2, n), l, m, g, z.C && new h());
|
|
87
84
|
}
|
|
88
85
|
else if (47 === f)
|
|
89
86
|
q();
|
|
@@ -92,45 +89,45 @@ var ca = function (a) {
|
|
|
92
89
|
}
|
|
93
90
|
else if (160 === f)
|
|
94
91
|
++m;
|
|
95
|
-
else if (5760 <= f &&
|
|
92
|
+
else if (5760 <= f && Kc.test(String.fromCharCode(f)))
|
|
96
93
|
++m;
|
|
97
94
|
else
|
|
98
95
|
break;
|
|
99
96
|
}
|
|
100
97
|
}
|
|
101
|
-
function
|
|
98
|
+
function U(f) {
|
|
102
99
|
switch (f) {
|
|
103
100
|
case 46:
|
|
104
101
|
f = r.charCodeAt(m + 1);
|
|
105
|
-
48 <= f && 57 >= f ? Qb(!0) : (++m,
|
|
102
|
+
48 <= f && 57 >= f ? Qb(!0) : (++m, k(Rb));
|
|
106
103
|
return;
|
|
107
104
|
case 40:
|
|
108
|
-
return ++m,
|
|
105
|
+
return ++m, k(Y);
|
|
109
106
|
case 41:
|
|
110
|
-
return ++m,
|
|
107
|
+
return ++m, k(W);
|
|
111
108
|
case 59:
|
|
112
|
-
return ++m,
|
|
109
|
+
return ++m, k(Z);
|
|
113
110
|
case 44:
|
|
114
|
-
return ++m,
|
|
111
|
+
return ++m, k(ha);
|
|
115
112
|
case 91:
|
|
116
|
-
return ++m,
|
|
113
|
+
return ++m, k(db);
|
|
117
114
|
case 93:
|
|
118
|
-
return ++m,
|
|
115
|
+
return ++m, k(eb);
|
|
119
116
|
case 123:
|
|
120
|
-
return ++m,
|
|
117
|
+
return ++m, k(za);
|
|
121
118
|
case 125:
|
|
122
|
-
return ++m,
|
|
119
|
+
return ++m, k(qa);
|
|
123
120
|
case 58:
|
|
124
|
-
return ++m,
|
|
121
|
+
return ++m, k(Aa);
|
|
125
122
|
case 63:
|
|
126
|
-
return ++m,
|
|
123
|
+
return ++m, k(Sb);
|
|
127
124
|
case 48:
|
|
128
125
|
if (f = r.charCodeAt(m + 1), 120 === f || 88 === f) {
|
|
129
126
|
m += 2;
|
|
130
|
-
f =
|
|
127
|
+
f = Ba(16);
|
|
131
128
|
null === f && c(I + 2, "Expected hexadecimal number");
|
|
132
129
|
d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
|
|
133
|
-
|
|
130
|
+
k(Ca, f);
|
|
134
131
|
return;
|
|
135
132
|
}
|
|
136
133
|
case 49:
|
|
@@ -148,14 +145,14 @@ var ca = function (a) {
|
|
|
148
145
|
m++;
|
|
149
146
|
for (var g = "";;) {
|
|
150
147
|
m >= pa && c(I, "Unterminated string constant");
|
|
151
|
-
var
|
|
152
|
-
if (
|
|
148
|
+
var l = r.charCodeAt(m);
|
|
149
|
+
if (l === f) {
|
|
153
150
|
++m;
|
|
154
|
-
|
|
151
|
+
k(Ta, g);
|
|
155
152
|
break;
|
|
156
153
|
}
|
|
157
|
-
if (92 ===
|
|
158
|
-
|
|
154
|
+
if (92 === l) {
|
|
155
|
+
l = r.charCodeAt(++m);
|
|
159
156
|
var n = /^[0-7]+/.exec(r.slice(m, m + 3));
|
|
160
157
|
for (n && (n = n[0]); n && 255 < parseInt(n, 8);)
|
|
161
158
|
n = n.slice(0, -1);
|
|
@@ -164,7 +161,7 @@ var ca = function (a) {
|
|
|
164
161
|
if (n)
|
|
165
162
|
S && c(m - 2, "Octal literal in strict mode"), g += String.fromCharCode(parseInt(n, 8)), m += n.length - 1;
|
|
166
163
|
else
|
|
167
|
-
switch (
|
|
164
|
+
switch (l) {
|
|
168
165
|
case 110:
|
|
169
166
|
g += "\n";
|
|
170
167
|
break;
|
|
@@ -198,46 +195,46 @@ var ca = function (a) {
|
|
|
198
195
|
case 13:
|
|
199
196
|
10 === r.charCodeAt(m) && ++m;
|
|
200
197
|
case 10:
|
|
201
|
-
z.
|
|
198
|
+
z.C && (X = m, ++la);
|
|
202
199
|
break;
|
|
203
200
|
default:
|
|
204
|
-
g += String.fromCharCode(
|
|
201
|
+
g += String.fromCharCode(l);
|
|
205
202
|
}
|
|
206
203
|
}
|
|
207
204
|
else
|
|
208
|
-
13 !==
|
|
205
|
+
13 !== l && 10 !== l && 8232 !== l && 8233 !== l || c(I, "Unterminated string constant"), g += String.fromCharCode(l), ++m;
|
|
209
206
|
}
|
|
210
207
|
return;
|
|
211
208
|
case 47:
|
|
212
209
|
f = r.charCodeAt(m + 1);
|
|
213
|
-
|
|
210
|
+
ya ? (++m, Tb()) : 61 === f ? F(ma, 2) : F(Ub, 1);
|
|
214
211
|
return;
|
|
215
212
|
case 37:
|
|
216
213
|
case 42:
|
|
217
|
-
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(
|
|
214
|
+
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Lc, 1);
|
|
218
215
|
return;
|
|
219
216
|
case 124:
|
|
220
217
|
case 38:
|
|
221
218
|
g = r.charCodeAt(m + 1);
|
|
222
|
-
g === f ? F(124 === f ? Vb : Wb, 2) : 61 === g ? F(ma, 2) : F(124 === f ?
|
|
219
|
+
g === f ? F(124 === f ? Vb : Wb, 2) : 61 === g ? F(ma, 2) : F(124 === f ? Mc : Nc, 1);
|
|
223
220
|
return;
|
|
224
221
|
case 94:
|
|
225
|
-
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(
|
|
222
|
+
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Oc, 1);
|
|
226
223
|
return;
|
|
227
224
|
case 43:
|
|
228
225
|
case 45:
|
|
229
226
|
g = r.charCodeAt(m + 1);
|
|
230
|
-
g === f ? 45 === g && 62 === r.charCodeAt(m + 2) && Va.test(r.slice(ia, m)) ? (m += 3, q(), C(), N()) : F(
|
|
227
|
+
g === f ? 45 === g && 62 === r.charCodeAt(m + 2) && Va.test(r.slice(ia, m)) ? (m += 3, q(), C(), N()) : F(Pc, 2) : 61 === g ? F(ma, 2) : F(Qc, 1);
|
|
231
228
|
return;
|
|
232
229
|
case 60:
|
|
233
230
|
case 62:
|
|
234
231
|
g = r.charCodeAt(m + 1);
|
|
235
|
-
|
|
236
|
-
g === f ? (
|
|
232
|
+
l = 1;
|
|
233
|
+
g === f ? (l = 62 === f && 62 === r.charCodeAt(m + 2) ? 3 : 2, 61 === r.charCodeAt(m + l) ? F(ma, l + 1) : F(Rc, l)) : 33 === g && 60 === f && 45 === r.charCodeAt(m + 2) && 45 === r.charCodeAt(m + 3) ? (m += 4, q(), C(), N()) : (61 === g && (l = 61 === r.charCodeAt(m + 2) ? 3 : 2), F(Sc, l));
|
|
237
234
|
return;
|
|
238
235
|
case 61:
|
|
239
236
|
case 33:
|
|
240
|
-
61 === r.charCodeAt(m + 1) ? F(
|
|
237
|
+
61 === r.charCodeAt(m + 1) ? F(Tc, 61 === r.charCodeAt(m + 2) ? 3 : 2) : F(61 === f ? Xb : Yb, 1);
|
|
241
238
|
return;
|
|
242
239
|
case 126:
|
|
243
240
|
return F(Yb, 1);
|
|
@@ -246,15 +243,15 @@ var ca = function (a) {
|
|
|
246
243
|
}
|
|
247
244
|
function N(f) {
|
|
248
245
|
f ? m = I + 1 : I = m;
|
|
249
|
-
z.
|
|
246
|
+
z.C && (fb = new h());
|
|
250
247
|
if (f)
|
|
251
248
|
return Tb();
|
|
252
249
|
if (m >= pa)
|
|
253
|
-
return
|
|
250
|
+
return k(gb);
|
|
254
251
|
f = r.charCodeAt(m);
|
|
255
252
|
if (d(f) || 92 === f)
|
|
256
253
|
return Zb();
|
|
257
|
-
if (!1 ===
|
|
254
|
+
if (!1 === U(f)) {
|
|
258
255
|
f = String.fromCharCode(f);
|
|
259
256
|
if ("\\" === f || Pb.test(f))
|
|
260
257
|
return Zb();
|
|
@@ -262,15 +259,15 @@ var ca = function (a) {
|
|
|
262
259
|
}
|
|
263
260
|
}
|
|
264
261
|
function F(f, g) {
|
|
265
|
-
var
|
|
262
|
+
var l = r.slice(m, m + g);
|
|
266
263
|
m += g;
|
|
267
|
-
|
|
264
|
+
k(f, l);
|
|
268
265
|
}
|
|
269
266
|
function Tb() {
|
|
270
|
-
for (var f, g,
|
|
271
|
-
m >= pa && c(
|
|
267
|
+
for (var f, g, l = m;;) {
|
|
268
|
+
m >= pa && c(l, "Unterminated regexp");
|
|
272
269
|
var n = r.charAt(m);
|
|
273
|
-
Va.test(n) && c(
|
|
270
|
+
Va.test(n) && c(l, "Unterminated regexp");
|
|
274
271
|
if (f)
|
|
275
272
|
f = !1;
|
|
276
273
|
else {
|
|
@@ -284,19 +281,19 @@ var ca = function (a) {
|
|
|
284
281
|
}
|
|
285
282
|
++m;
|
|
286
283
|
}
|
|
287
|
-
f = r.slice(
|
|
284
|
+
f = r.slice(l, m);
|
|
288
285
|
++m;
|
|
289
|
-
(g = $b()) && !/^[gmi]*$/.test(g) && c(
|
|
286
|
+
(g = $b()) && !/^[gmi]*$/.test(g) && c(l, "Invalid regexp flag");
|
|
290
287
|
try {
|
|
291
288
|
var w = new RegExp(f, g);
|
|
292
289
|
}
|
|
293
290
|
catch (J) {
|
|
294
|
-
throw J instanceof SyntaxError && c(
|
|
291
|
+
throw J instanceof SyntaxError && c(l, J.message), J;
|
|
295
292
|
}
|
|
296
|
-
|
|
293
|
+
k(ac, w);
|
|
297
294
|
}
|
|
298
|
-
function
|
|
299
|
-
for (var
|
|
295
|
+
function Ba(f, g) {
|
|
296
|
+
for (var l = m, n = 0, w = void 0 === g ? Infinity : g, J = 0; J < w; ++J) {
|
|
300
297
|
var P = r.charCodeAt(m);
|
|
301
298
|
P = 97 <= P ? P - 97 + 10 : 65 <= P ? P - 65 + 10 : 48 <= P && 57 >= P ? P - 48 : Infinity;
|
|
302
299
|
if (P >= f)
|
|
@@ -304,34 +301,34 @@ var ca = function (a) {
|
|
|
304
301
|
++m;
|
|
305
302
|
n = n * f + P;
|
|
306
303
|
}
|
|
307
|
-
return m ===
|
|
304
|
+
return m === l || void 0 !== g && m - l !== g ? null : n;
|
|
308
305
|
}
|
|
309
306
|
function Qb(f) {
|
|
310
|
-
var g = m,
|
|
311
|
-
f || null !==
|
|
312
|
-
46 === r.charCodeAt(m) && (++m,
|
|
307
|
+
var g = m, l = !1, n = 48 === r.charCodeAt(m);
|
|
308
|
+
f || null !== Ba(10) || c(g, "Invalid number");
|
|
309
|
+
46 === r.charCodeAt(m) && (++m, Ba(10), l = !0);
|
|
313
310
|
f = r.charCodeAt(m);
|
|
314
311
|
if (69 === f || 101 === f)
|
|
315
|
-
f = r.charCodeAt(++m), 43 !== f && 45 !== f || ++m, null ===
|
|
312
|
+
f = r.charCodeAt(++m), 43 !== f && 45 !== f || ++m, null === Ba(10) && c(g, "Invalid number"), l = !0;
|
|
316
313
|
d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
|
|
317
314
|
f = r.slice(g, m);
|
|
318
315
|
var w;
|
|
319
|
-
|
|
320
|
-
|
|
316
|
+
l ? w = parseFloat(f) : n && 1 !== f.length ? /[89]/.test(f) || S ? c(g, "Invalid number") : w = parseInt(f, 8) : w = parseInt(f, 10);
|
|
317
|
+
k(Ca, w);
|
|
321
318
|
}
|
|
322
319
|
function Ua(f) {
|
|
323
|
-
f =
|
|
320
|
+
f = Ba(16, f);
|
|
324
321
|
null === f && c(I, "Bad character escape sequence");
|
|
325
322
|
return f;
|
|
326
323
|
}
|
|
327
324
|
function $b() {
|
|
328
325
|
ra = !1;
|
|
329
|
-
for (var f, g = !0,
|
|
326
|
+
for (var f, g = !0, l = m;;) {
|
|
330
327
|
var n = r.charCodeAt(m);
|
|
331
328
|
if (b(n))
|
|
332
329
|
ra && (f += r.charAt(m)), ++m;
|
|
333
330
|
else if (92 === n) {
|
|
334
|
-
ra || (f = r.slice(
|
|
331
|
+
ra || (f = r.slice(l, m));
|
|
335
332
|
ra = !0;
|
|
336
333
|
117 !== r.charCodeAt(++m) && c(m, "Expecting Unicode escape sequence \\uXXXX");
|
|
337
334
|
++m;
|
|
@@ -345,23 +342,23 @@ var ca = function (a) {
|
|
|
345
342
|
break;
|
|
346
343
|
g = !1;
|
|
347
344
|
}
|
|
348
|
-
return ra ? f : r.slice(
|
|
345
|
+
return ra ? f : r.slice(l, m);
|
|
349
346
|
}
|
|
350
347
|
function Zb() {
|
|
351
348
|
var f = $b(), g = sa;
|
|
352
|
-
!ra &&
|
|
353
|
-
|
|
349
|
+
!ra && Uc(f) && (g = Vc[f]);
|
|
350
|
+
k(g, f);
|
|
354
351
|
}
|
|
355
|
-
function
|
|
356
|
-
|
|
352
|
+
function B() {
|
|
353
|
+
hb = I;
|
|
357
354
|
ia = oa;
|
|
358
|
-
|
|
355
|
+
ib = cb;
|
|
359
356
|
N();
|
|
360
357
|
}
|
|
361
|
-
function
|
|
358
|
+
function jb(f) {
|
|
362
359
|
S = f;
|
|
363
360
|
m = I;
|
|
364
|
-
if (z.
|
|
361
|
+
if (z.C)
|
|
365
362
|
for (; m < X;)
|
|
366
363
|
X = r.lastIndexOf("\n", X - 2) + 1, --la;
|
|
367
364
|
C();
|
|
@@ -373,45 +370,45 @@ var ca = function (a) {
|
|
|
373
370
|
this.end = null;
|
|
374
371
|
}
|
|
375
372
|
function cc() {
|
|
376
|
-
this.start =
|
|
373
|
+
this.start = fb;
|
|
377
374
|
this.end = null;
|
|
378
|
-
|
|
375
|
+
kb && (this.source = kb);
|
|
379
376
|
}
|
|
380
377
|
function L() {
|
|
381
378
|
var f = new bc();
|
|
382
|
-
z.
|
|
383
|
-
z.
|
|
384
|
-
z.
|
|
379
|
+
z.C && (f.X = new cc());
|
|
380
|
+
z.vb && (f.sourceFile = z.vb);
|
|
381
|
+
z.Xa && (f.j = [I, 0]);
|
|
385
382
|
return f;
|
|
386
383
|
}
|
|
387
384
|
function ja(f) {
|
|
388
385
|
var g = new bc();
|
|
389
386
|
g.start = f.start;
|
|
390
|
-
z.
|
|
391
|
-
z.
|
|
387
|
+
z.C && (g.X = new cc(), g.X.start = f.X.start);
|
|
388
|
+
z.Xa && (g.j = [f.j[0], 0]);
|
|
392
389
|
return g;
|
|
393
390
|
}
|
|
394
391
|
function y(f, g) {
|
|
395
392
|
f.type = g;
|
|
396
393
|
f.end = ia;
|
|
397
|
-
z.
|
|
398
|
-
z.
|
|
394
|
+
z.C && (f.X.end = ib);
|
|
395
|
+
z.Xa && (f.j[1] = ia);
|
|
399
396
|
return f;
|
|
400
397
|
}
|
|
401
|
-
function
|
|
402
|
-
return "ExpressionStatement" === f.type && "Literal" === f.
|
|
398
|
+
function lb(f) {
|
|
399
|
+
return "ExpressionStatement" === f.type && "Literal" === f.la.type && "use strict" === f.la.value;
|
|
403
400
|
}
|
|
404
401
|
function E(f) {
|
|
405
|
-
return x === f ? (
|
|
402
|
+
return x === f ? (B(), !0) : !1;
|
|
406
403
|
}
|
|
407
404
|
function Wa() {
|
|
408
|
-
return !z.
|
|
405
|
+
return !z.fc && (x === gb || x === qa || Va.test(r.slice(ia, I)));
|
|
409
406
|
}
|
|
410
407
|
function na() {
|
|
411
408
|
E(Z) || Wa() || aa();
|
|
412
409
|
}
|
|
413
410
|
function G(f) {
|
|
414
|
-
x === f ?
|
|
411
|
+
x === f ? B() : aa();
|
|
415
412
|
}
|
|
416
413
|
function aa() {
|
|
417
414
|
c(I, "Unexpected token");
|
|
@@ -420,120 +417,120 @@ var ca = function (a) {
|
|
|
420
417
|
"Identifier" !== f.type && "MemberExpression" !== f.type && c(f.start, "Assigning to rvalue");
|
|
421
418
|
S && "Identifier" === f.type && Ya(f.name) && c(f.start, "Assigning to " + f.name + " in strict mode");
|
|
422
419
|
}
|
|
423
|
-
function
|
|
420
|
+
function V() {
|
|
424
421
|
(x === Ub || x === ma && "/=" === T) && N(!0);
|
|
425
422
|
var f = x, g = L();
|
|
426
423
|
switch (f) {
|
|
427
|
-
case
|
|
424
|
+
case mb:
|
|
428
425
|
case dc:
|
|
429
|
-
|
|
430
|
-
var
|
|
426
|
+
B();
|
|
427
|
+
var l = f === mb;
|
|
431
428
|
E(Z) || Wa() ? g.label = null : x !== sa ? aa() : (g.label = ba(), na());
|
|
432
429
|
for (var n = 0; n < H.length; ++n) {
|
|
433
430
|
var w = H[n];
|
|
434
431
|
if (null === g.label || w.name === g.label.name) {
|
|
435
|
-
if (null !== w.kind && (
|
|
432
|
+
if (null !== w.kind && (l || "loop" === w.kind))
|
|
436
433
|
break;
|
|
437
|
-
if (g.label &&
|
|
434
|
+
if (g.label && l)
|
|
438
435
|
break;
|
|
439
436
|
}
|
|
440
437
|
}
|
|
441
438
|
n === H.length && c(g.start, "Unsyntactic " + f.l);
|
|
442
|
-
return y(g,
|
|
439
|
+
return y(g, l ? "BreakStatement" : "ContinueStatement");
|
|
443
440
|
case ec:
|
|
444
|
-
return
|
|
441
|
+
return B(), na(), y(g, "DebuggerStatement");
|
|
445
442
|
case fc:
|
|
446
|
-
return
|
|
443
|
+
return B(), H.push(nb), g.body = V(), H.pop(), G(ob), g.test = Da(), na(), y(g, "DoWhileStatement");
|
|
447
444
|
case gc:
|
|
448
|
-
|
|
449
|
-
H.push(
|
|
445
|
+
B();
|
|
446
|
+
H.push(nb);
|
|
450
447
|
G(Y);
|
|
451
448
|
if (x === Z)
|
|
452
|
-
return
|
|
453
|
-
if (x ===
|
|
454
|
-
return f = L(),
|
|
449
|
+
return pb(g, null);
|
|
450
|
+
if (x === qb)
|
|
451
|
+
return f = L(), B(), hc(f, !0), y(f, "VariableDeclaration"), 1 === f.fa.length && E(Za) ? ic(g, f) : pb(g, f);
|
|
455
452
|
f = O(!1, !0);
|
|
456
|
-
return E(Za) ? (Xa(f), ic(g, f)) :
|
|
457
|
-
case
|
|
458
|
-
return
|
|
453
|
+
return E(Za) ? (Xa(f), ic(g, f)) : pb(g, f);
|
|
454
|
+
case rb:
|
|
455
|
+
return B(), sb(g, !0);
|
|
459
456
|
case jc:
|
|
460
|
-
return
|
|
457
|
+
return B(), g.test = Da(), g.da = V(), g.alternate = E(kc) ? V() : null, y(g, "IfStatement");
|
|
461
458
|
case lc:
|
|
462
|
-
return
|
|
463
|
-
case
|
|
464
|
-
|
|
465
|
-
g.
|
|
466
|
-
g.
|
|
467
|
-
G(
|
|
468
|
-
for (H.push(
|
|
469
|
-
x ===
|
|
459
|
+
return Ea || z.Ib || c(I, "'return' outside of function"), B(), E(Z) || Wa() ? g.K = null : (g.K = O(), na()), y(g, "ReturnStatement");
|
|
460
|
+
case tb:
|
|
461
|
+
B();
|
|
462
|
+
g.Qb = Da();
|
|
463
|
+
g.tb = [];
|
|
464
|
+
G(za);
|
|
465
|
+
for (H.push(Wc); x !== qa;)
|
|
466
|
+
x === ub || x === mc ? (f = x === ub, n && y(n, "SwitchCase"), g.tb.push(n = L()), n.da = [], B(), f ? n.test = O() : (l && c(hb, "Multiple default clauses"), l = !0, n.test = null), G(Aa)) : (n || aa(), n.da.push(V()));
|
|
470
467
|
n && y(n, "SwitchCase");
|
|
471
|
-
|
|
468
|
+
B();
|
|
472
469
|
H.pop();
|
|
473
470
|
return y(g, "SwitchStatement");
|
|
474
471
|
case nc:
|
|
475
|
-
return
|
|
472
|
+
return B(), Va.test(r.slice(ia, I)) && c(ia, "Illegal newline after throw"), g.K = O(), na(), y(g, "ThrowStatement");
|
|
476
473
|
case oc:
|
|
477
|
-
return
|
|
478
|
-
case
|
|
479
|
-
return
|
|
480
|
-
case
|
|
481
|
-
return
|
|
474
|
+
return B(), g.block = Fa(), g.Ea = null, x === pc && (f = L(), B(), G(Y), f.Ua = ba(), S && Ya(f.Ua.name) && c(f.Ua.start, "Binding " + f.Ua.name + " in strict mode"), G(W), f.body = Fa(), g.Ea = y(f, "CatchClause")), g.fb = E(qc) ? Fa() : null, g.Ea || g.fb || c(g.start, "Missing catch or finally clause"), y(g, "TryStatement");
|
|
475
|
+
case qb:
|
|
476
|
+
return B(), hc(g), na(), y(g, "VariableDeclaration");
|
|
477
|
+
case ob:
|
|
478
|
+
return B(), g.test = Da(), H.push(nb), g.body = V(), H.pop(), y(g, "WhileStatement");
|
|
482
479
|
case rc:
|
|
483
|
-
return S && c(I, "'with' in strict mode"),
|
|
484
|
-
case
|
|
485
|
-
return
|
|
480
|
+
return S && c(I, "'with' in strict mode"), B(), g.object = Da(), g.body = V(), y(g, "WithStatement");
|
|
481
|
+
case za:
|
|
482
|
+
return Fa();
|
|
486
483
|
case Z:
|
|
487
|
-
return
|
|
484
|
+
return B(), y(g, "EmptyStatement");
|
|
488
485
|
default:
|
|
489
|
-
|
|
486
|
+
l = T;
|
|
490
487
|
w = O();
|
|
491
|
-
if (f === sa && "Identifier" === w.type && E(
|
|
488
|
+
if (f === sa && "Identifier" === w.type && E(Aa)) {
|
|
492
489
|
for (n = 0; n < H.length; ++n)
|
|
493
|
-
H[n].name ===
|
|
490
|
+
H[n].name === l && c(w.start, "Label '" + l + "' is already declared");
|
|
494
491
|
H.push({
|
|
495
|
-
name:
|
|
496
|
-
kind: x.
|
|
492
|
+
name: l,
|
|
493
|
+
kind: x.W ? "loop" : x === tb ? "switch" : null
|
|
497
494
|
});
|
|
498
|
-
g.body =
|
|
495
|
+
g.body = V();
|
|
499
496
|
H.pop();
|
|
500
497
|
g.label = w;
|
|
501
498
|
return y(g, "LabeledStatement");
|
|
502
499
|
}
|
|
503
|
-
g.
|
|
500
|
+
g.la = w;
|
|
504
501
|
na();
|
|
505
502
|
return y(g, "ExpressionStatement");
|
|
506
503
|
}
|
|
507
504
|
}
|
|
508
|
-
function
|
|
505
|
+
function Da() {
|
|
509
506
|
G(Y);
|
|
510
507
|
var f = O();
|
|
511
508
|
G(W);
|
|
512
509
|
return f;
|
|
513
510
|
}
|
|
514
|
-
function
|
|
515
|
-
var g = L(),
|
|
511
|
+
function Fa(f) {
|
|
512
|
+
var g = L(), l = !0, n = !1;
|
|
516
513
|
g.body = [];
|
|
517
|
-
for (G(
|
|
518
|
-
var w =
|
|
514
|
+
for (G(za); !E(qa);) {
|
|
515
|
+
var w = V();
|
|
519
516
|
g.body.push(w);
|
|
520
|
-
if (
|
|
517
|
+
if (l && f && lb(w)) {
|
|
521
518
|
var J = n;
|
|
522
|
-
|
|
519
|
+
jb(n = !0);
|
|
523
520
|
}
|
|
524
|
-
|
|
521
|
+
l = !1;
|
|
525
522
|
}
|
|
526
|
-
n && !J &&
|
|
523
|
+
n && !J && jb(!1);
|
|
527
524
|
return y(g, "BlockStatement");
|
|
528
525
|
}
|
|
529
|
-
function
|
|
530
|
-
f.
|
|
526
|
+
function pb(f, g) {
|
|
527
|
+
f.ua = g;
|
|
531
528
|
G(Z);
|
|
532
529
|
f.test = x === Z ? null : O();
|
|
533
530
|
G(Z);
|
|
534
531
|
f.update = x === W ? null : O();
|
|
535
532
|
G(W);
|
|
536
|
-
f.body =
|
|
533
|
+
f.body = V();
|
|
537
534
|
H.pop();
|
|
538
535
|
return y(f, "ForStatement");
|
|
539
536
|
}
|
|
@@ -541,225 +538,225 @@ var ca = function (a) {
|
|
|
541
538
|
f.left = g;
|
|
542
539
|
f.right = O();
|
|
543
540
|
G(W);
|
|
544
|
-
f.body =
|
|
541
|
+
f.body = V();
|
|
545
542
|
H.pop();
|
|
546
543
|
return y(f, "ForInStatement");
|
|
547
544
|
}
|
|
548
545
|
function hc(f, g) {
|
|
549
|
-
f.
|
|
546
|
+
f.fa = [];
|
|
550
547
|
for (f.kind = "var";;) {
|
|
551
|
-
var
|
|
552
|
-
|
|
553
|
-
S && Ya(
|
|
554
|
-
|
|
555
|
-
f.
|
|
548
|
+
var l = L();
|
|
549
|
+
l.id = ba();
|
|
550
|
+
S && Ya(l.id.name) && c(l.id.start, "Binding " + l.id.name + " in strict mode");
|
|
551
|
+
l.ua = E(Xb) ? O(!0, g) : null;
|
|
552
|
+
f.fa.push(y(l, "VariableDeclarator"));
|
|
556
553
|
if (!E(ha))
|
|
557
554
|
break;
|
|
558
555
|
}
|
|
559
556
|
}
|
|
560
557
|
function O(f, g) {
|
|
561
|
-
var
|
|
558
|
+
var l = vb(g);
|
|
562
559
|
if (!f && x === ha) {
|
|
563
|
-
f = ja(
|
|
564
|
-
for (f.
|
|
565
|
-
f.
|
|
560
|
+
f = ja(l);
|
|
561
|
+
for (f.xb = [l]; E(ha);)
|
|
562
|
+
f.xb.push(vb(g));
|
|
566
563
|
return y(f, "SequenceExpression");
|
|
567
564
|
}
|
|
568
|
-
return
|
|
565
|
+
return l;
|
|
569
566
|
}
|
|
570
|
-
function
|
|
571
|
-
var g =
|
|
567
|
+
function vb(f) {
|
|
568
|
+
var g = wb(xb(), -1, f);
|
|
572
569
|
if (E(Sb)) {
|
|
573
|
-
var
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
G(
|
|
577
|
-
|
|
578
|
-
g = y(
|
|
579
|
-
}
|
|
580
|
-
return x.
|
|
581
|
-
}
|
|
582
|
-
function
|
|
583
|
-
var n = x.
|
|
584
|
-
if (null !== n && (!
|
|
570
|
+
var l = ja(g);
|
|
571
|
+
l.test = g;
|
|
572
|
+
l.da = O(!0);
|
|
573
|
+
G(Aa);
|
|
574
|
+
l.alternate = O(!0, f);
|
|
575
|
+
g = y(l, "ConditionalExpression");
|
|
576
|
+
}
|
|
577
|
+
return x.Cb ? (l = ja(g), l.operator = T, l.left = g, B(), l.right = vb(f), Xa(g), y(l, "AssignmentExpression")) : g;
|
|
578
|
+
}
|
|
579
|
+
function wb(f, g, l) {
|
|
580
|
+
var n = x.L;
|
|
581
|
+
if (null !== n && (!l || x !== Za) && n > g) {
|
|
585
582
|
var w = ja(f);
|
|
586
583
|
w.left = f;
|
|
587
584
|
w.operator = T;
|
|
588
585
|
f = x;
|
|
589
|
-
|
|
590
|
-
w.right =
|
|
586
|
+
B();
|
|
587
|
+
w.right = wb(xb(), n, l);
|
|
591
588
|
n = y(w, f === Vb || f === Wb ? "LogicalExpression" : "BinaryExpression");
|
|
592
|
-
return
|
|
589
|
+
return wb(n, g, l);
|
|
593
590
|
}
|
|
594
591
|
return f;
|
|
595
592
|
}
|
|
596
|
-
function
|
|
593
|
+
function xb() {
|
|
597
594
|
if (x.prefix) {
|
|
598
|
-
var f = L(), g = x
|
|
595
|
+
var f = L(), g = x.$b;
|
|
599
596
|
f.operator = T;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
f.
|
|
603
|
-
g ? Xa(f.
|
|
597
|
+
ya = f.prefix = !0;
|
|
598
|
+
B();
|
|
599
|
+
f.K = xb();
|
|
600
|
+
g ? Xa(f.K) : S && "delete" === f.operator && "Identifier" === f.K.type && c(f.start, "Deleting local variable in strict mode");
|
|
604
601
|
return y(f, g ? "UpdateExpression" : "UnaryExpression");
|
|
605
602
|
}
|
|
606
|
-
for (g =
|
|
607
|
-
f = ja(g), f.operator = T, f.prefix = !1, f.
|
|
603
|
+
for (g = Ga($a()); x.cc && !Wa();)
|
|
604
|
+
f = ja(g), f.operator = T, f.prefix = !1, f.K = g, Xa(g), B(), g = y(f, "UpdateExpression");
|
|
608
605
|
return g;
|
|
609
606
|
}
|
|
610
|
-
function
|
|
607
|
+
function Ga(f, g) {
|
|
611
608
|
if (E(Rb)) {
|
|
612
|
-
var
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
return
|
|
609
|
+
var l = ja(f);
|
|
610
|
+
l.object = f;
|
|
611
|
+
l.Wa = ba(!0);
|
|
612
|
+
l.bb = !1;
|
|
613
|
+
return Ga(y(l, "MemberExpression"), g);
|
|
617
614
|
}
|
|
618
|
-
return E(
|
|
615
|
+
return E(db) ? (l = ja(f), l.object = f, l.Wa = O(), l.bb = !0, G(eb), Ga(y(l, "MemberExpression"), g)) : !g && E(Y) ? (l = ja(f), l.callee = f, l.arguments = yb(W, !1), Ga(y(l, "CallExpression"), g)) : f;
|
|
619
616
|
}
|
|
620
617
|
function $a() {
|
|
621
618
|
switch (x) {
|
|
622
619
|
case sc:
|
|
623
620
|
var f = L();
|
|
624
|
-
|
|
621
|
+
B();
|
|
625
622
|
return y(f, "ThisExpression");
|
|
626
623
|
case sa:
|
|
627
624
|
return ba();
|
|
628
|
-
case
|
|
625
|
+
case Ca:
|
|
629
626
|
case Ta:
|
|
630
627
|
case ac:
|
|
631
|
-
return f = L(), f.value = T, f.raw = r.slice(I, oa),
|
|
628
|
+
return f = L(), f.value = T, f.raw = r.slice(I, oa), B(), y(f, "Literal");
|
|
632
629
|
case tc:
|
|
633
630
|
case uc:
|
|
634
631
|
case vc:
|
|
635
|
-
return f = L(), f.value = x
|
|
632
|
+
return f = L(), f.value = x.$a, f.raw = x.l, B(), y(f, "Literal");
|
|
636
633
|
case Y:
|
|
637
|
-
f =
|
|
634
|
+
f = fb;
|
|
638
635
|
var g = I;
|
|
639
|
-
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
z.
|
|
644
|
-
z.
|
|
636
|
+
B();
|
|
637
|
+
var l = O();
|
|
638
|
+
l.start = g;
|
|
639
|
+
l.end = oa;
|
|
640
|
+
z.C && (l.X.start = f, l.X.end = cb);
|
|
641
|
+
z.Xa && (l.j = [g, oa]);
|
|
645
642
|
G(W);
|
|
646
|
-
return
|
|
647
|
-
case
|
|
648
|
-
return f = L(),
|
|
649
|
-
case
|
|
643
|
+
return l;
|
|
644
|
+
case db:
|
|
645
|
+
return f = L(), B(), f.elements = yb(eb, !0, !0), y(f, "ArrayExpression");
|
|
646
|
+
case za:
|
|
650
647
|
f = L();
|
|
651
648
|
g = !0;
|
|
652
|
-
|
|
649
|
+
l = !1;
|
|
653
650
|
f.h = [];
|
|
654
|
-
for (
|
|
651
|
+
for (B(); !E(qa);) {
|
|
655
652
|
if (g)
|
|
656
653
|
g = !1;
|
|
657
|
-
else if (G(ha), z.
|
|
654
|
+
else if (G(ha), z.sb && E(qa))
|
|
658
655
|
break;
|
|
659
656
|
var n = {
|
|
660
|
-
key: x ===
|
|
657
|
+
key: x === Ca || x === Ta ? $a() : ba(!0)
|
|
661
658
|
}, w = !1;
|
|
662
|
-
if (E(
|
|
659
|
+
if (E(Aa)) {
|
|
663
660
|
n.value = O(!0);
|
|
664
661
|
var J = n.kind = "init";
|
|
665
662
|
}
|
|
666
663
|
else
|
|
667
|
-
"Identifier" !== n.key.type || "get" !== n.key.name && "set" !== n.key.name ? aa() : (w =
|
|
668
|
-
if ("Identifier" === n.key.type && (S ||
|
|
664
|
+
"Identifier" !== n.key.type || "get" !== n.key.name && "set" !== n.key.name ? aa() : (w = l = !0, J = n.kind = n.key.name, n.key = x === Ca || x === Ta ? $a() : ba(!0), x !== Y && aa(), n.value = sb(L(), !1));
|
|
665
|
+
if ("Identifier" === n.key.type && (S || l))
|
|
669
666
|
for (var P = 0; P < f.h.length; ++P) {
|
|
670
667
|
var ta = f.h[P];
|
|
671
668
|
if (ta.key.name === n.key.name) {
|
|
672
|
-
var
|
|
673
|
-
|
|
674
|
-
|
|
669
|
+
var zb = J === ta.kind || w && "init" === ta.kind || "init" === J && ("get" === ta.kind || "set" === ta.kind);
|
|
670
|
+
zb && !S && "init" === J && "init" === ta.kind && (zb = !1);
|
|
671
|
+
zb && c(n.key.start, "Redefinition of property");
|
|
675
672
|
}
|
|
676
673
|
}
|
|
677
674
|
f.h.push(n);
|
|
678
675
|
}
|
|
679
676
|
return y(f, "ObjectExpression");
|
|
680
|
-
case
|
|
681
|
-
return f = L(),
|
|
677
|
+
case rb:
|
|
678
|
+
return f = L(), B(), sb(f, !1);
|
|
682
679
|
case wc:
|
|
683
|
-
return f = L(),
|
|
680
|
+
return f = L(), B(), f.callee = Ga($a(), !0), f.arguments = E(Y) ? yb(W, !1) : Xc, y(f, "NewExpression");
|
|
684
681
|
}
|
|
685
682
|
aa();
|
|
686
683
|
}
|
|
687
|
-
function
|
|
684
|
+
function sb(f, g) {
|
|
688
685
|
x === sa ? f.id = ba() : g ? aa() : f.id = null;
|
|
689
|
-
f.
|
|
690
|
-
var
|
|
686
|
+
f.oa = [];
|
|
687
|
+
var l = !0;
|
|
691
688
|
for (G(Y); !E(W);)
|
|
692
|
-
|
|
693
|
-
|
|
689
|
+
l ? l = !1 : G(ha), f.oa.push(ba());
|
|
690
|
+
l = Ea;
|
|
694
691
|
var n = H;
|
|
695
|
-
|
|
692
|
+
Ea = !0;
|
|
696
693
|
H = [];
|
|
697
|
-
f.body =
|
|
698
|
-
|
|
694
|
+
f.body = Fa(!0);
|
|
695
|
+
Ea = l;
|
|
699
696
|
H = n;
|
|
700
|
-
if (S || f.body.body.length &&
|
|
701
|
-
for (
|
|
702
|
-
if (n = 0 >
|
|
703
|
-
for (var w = 0; w <
|
|
704
|
-
n.name === f.
|
|
697
|
+
if (S || f.body.body.length && lb(f.body.body[0]))
|
|
698
|
+
for (l = f.id ? -1 : 0; l < f.oa.length; ++l)
|
|
699
|
+
if (n = 0 > l ? f.id : f.oa[l], (xc(n.name) || Ya(n.name)) && c(n.start, "Defining '" + n.name + "' in strict mode"), 0 <= l)
|
|
700
|
+
for (var w = 0; w < l; ++w)
|
|
701
|
+
n.name === f.oa[w].name && c(n.start, "Argument name clash in strict mode");
|
|
705
702
|
return y(f, g ? "FunctionDeclaration" : "FunctionExpression");
|
|
706
703
|
}
|
|
707
|
-
function
|
|
704
|
+
function yb(f, g, l) {
|
|
708
705
|
for (var n = [], w = !0; !E(f);) {
|
|
709
706
|
if (w)
|
|
710
707
|
w = !1;
|
|
711
|
-
else if (G(ha), g && z.
|
|
708
|
+
else if (G(ha), g && z.sb && E(f))
|
|
712
709
|
break;
|
|
713
|
-
n.push(
|
|
710
|
+
n.push(l && x === ha ? null : O(!0));
|
|
714
711
|
}
|
|
715
712
|
return n;
|
|
716
713
|
}
|
|
717
714
|
function ba(f) {
|
|
718
715
|
var g = L();
|
|
719
|
-
f && "everywhere" === z.
|
|
720
|
-
x === sa ? (!f && (z.
|
|
721
|
-
|
|
722
|
-
|
|
716
|
+
f && "everywhere" === z.yb && (f = !1);
|
|
717
|
+
x === sa ? (!f && (z.yb && Yc(T) || S && xc(T)) && -1 === r.slice(I, oa).indexOf("\\") && c(I, "The keyword '" + T + "' is reserved"), g.name = T) : f && x.l ? g.name = x.l : aa();
|
|
718
|
+
ya = !1;
|
|
719
|
+
B();
|
|
723
720
|
return y(g, "Identifier");
|
|
724
721
|
}
|
|
725
722
|
a.version = "0.5.0";
|
|
726
|
-
var z, r = "", pa,
|
|
723
|
+
var z, r = "", pa, kb;
|
|
727
724
|
a.parse = function (f, g) {
|
|
728
725
|
r = String(f);
|
|
729
726
|
pa = r.length;
|
|
730
727
|
z = g || {};
|
|
731
|
-
for (var
|
|
732
|
-
Object.prototype.hasOwnProperty.call(z,
|
|
733
|
-
|
|
728
|
+
for (var l in yc)
|
|
729
|
+
Object.prototype.hasOwnProperty.call(z, l) || (z[l] = yc[l]);
|
|
730
|
+
kb = z.sourceFile;
|
|
734
731
|
la = 1;
|
|
735
732
|
m = X = 0;
|
|
736
|
-
|
|
733
|
+
ya = !0;
|
|
737
734
|
C();
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
z.
|
|
741
|
-
|
|
735
|
+
l = z.dc;
|
|
736
|
+
hb = ia = m;
|
|
737
|
+
z.C && (ib = new h());
|
|
738
|
+
Ea = S = !1;
|
|
742
739
|
H = [];
|
|
743
740
|
N();
|
|
744
|
-
f =
|
|
741
|
+
f = l || L();
|
|
745
742
|
g = !0;
|
|
746
|
-
|
|
747
|
-
for (; x !==
|
|
748
|
-
|
|
743
|
+
l || (f.body = []);
|
|
744
|
+
for (; x !== gb;)
|
|
745
|
+
l = V(), f.body.push(l), g && lb(l) && jb(!0), g = !1;
|
|
749
746
|
return y(f, "Program");
|
|
750
747
|
};
|
|
751
748
|
var yc = {
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
749
|
+
fc: !1,
|
|
750
|
+
sb: !0,
|
|
751
|
+
yb: !1,
|
|
752
|
+
Ib: !1,
|
|
753
|
+
C: !1,
|
|
754
|
+
va: null,
|
|
755
|
+
Xa: !1,
|
|
756
|
+
dc: null,
|
|
760
757
|
sourceFile: null,
|
|
761
|
-
|
|
762
|
-
}, m = 0, I = 0, oa = 0,
|
|
758
|
+
vb: null
|
|
759
|
+
}, m = 0, I = 0, oa = 0, fb, cb, x, T, ya, la, X, hb = 0, ia = 0, ib, Ea, H, S, Xc = [], Ca = {
|
|
763
760
|
type: "num"
|
|
764
761
|
}, ac = {
|
|
765
762
|
type: "regexp"
|
|
@@ -767,11 +764,11 @@ var ca = function (a) {
|
|
|
767
764
|
type: "string"
|
|
768
765
|
}, sa = {
|
|
769
766
|
type: "name"
|
|
770
|
-
},
|
|
767
|
+
}, gb = {
|
|
771
768
|
type: "eof"
|
|
772
|
-
},
|
|
769
|
+
}, mb = {
|
|
773
770
|
l: "break"
|
|
774
|
-
},
|
|
771
|
+
}, ub = {
|
|
775
772
|
l: "case",
|
|
776
773
|
m: !0
|
|
777
774
|
}, pc = {
|
|
@@ -784,7 +781,7 @@ var ca = function (a) {
|
|
|
784
781
|
l: "default"
|
|
785
782
|
}, fc = {
|
|
786
783
|
l: "do",
|
|
787
|
-
|
|
784
|
+
W: !0
|
|
788
785
|
}, kc = {
|
|
789
786
|
l: "else",
|
|
790
787
|
m: !0
|
|
@@ -792,26 +789,26 @@ var ca = function (a) {
|
|
|
792
789
|
l: "finally"
|
|
793
790
|
}, gc = {
|
|
794
791
|
l: "for",
|
|
795
|
-
|
|
796
|
-
},
|
|
792
|
+
W: !0
|
|
793
|
+
}, rb = {
|
|
797
794
|
l: "function"
|
|
798
795
|
}, jc = {
|
|
799
796
|
l: "if"
|
|
800
797
|
}, lc = {
|
|
801
798
|
l: "return",
|
|
802
799
|
m: !0
|
|
803
|
-
},
|
|
800
|
+
}, tb = {
|
|
804
801
|
l: "switch"
|
|
805
802
|
}, nc = {
|
|
806
803
|
l: "throw",
|
|
807
804
|
m: !0
|
|
808
805
|
}, oc = {
|
|
809
806
|
l: "try"
|
|
810
|
-
},
|
|
807
|
+
}, qb = {
|
|
811
808
|
l: "var"
|
|
812
|
-
},
|
|
809
|
+
}, ob = {
|
|
813
810
|
l: "while",
|
|
814
|
-
|
|
811
|
+
W: !0
|
|
815
812
|
}, rc = {
|
|
816
813
|
l: "with"
|
|
817
814
|
}, wc = {
|
|
@@ -821,20 +818,20 @@ var ca = function (a) {
|
|
|
821
818
|
l: "this"
|
|
822
819
|
}, tc = {
|
|
823
820
|
l: "null",
|
|
824
|
-
|
|
821
|
+
$a: null
|
|
825
822
|
}, uc = {
|
|
826
823
|
l: "true",
|
|
827
|
-
|
|
824
|
+
$a: !0
|
|
828
825
|
}, vc = {
|
|
829
826
|
l: "false",
|
|
830
|
-
|
|
827
|
+
$a: !1
|
|
831
828
|
}, Za = {
|
|
832
829
|
l: "in",
|
|
833
|
-
|
|
830
|
+
L: 7,
|
|
834
831
|
m: !0
|
|
835
|
-
},
|
|
836
|
-
"break":
|
|
837
|
-
"case":
|
|
832
|
+
}, Vc = {
|
|
833
|
+
"break": mb,
|
|
834
|
+
"case": ub,
|
|
838
835
|
"catch": pc,
|
|
839
836
|
"continue": dc,
|
|
840
837
|
"debugger": ec,
|
|
@@ -843,14 +840,14 @@ var ca = function (a) {
|
|
|
843
840
|
"else": kc,
|
|
844
841
|
"finally": qc,
|
|
845
842
|
"for": gc,
|
|
846
|
-
"function":
|
|
843
|
+
"function": rb,
|
|
847
844
|
"if": jc,
|
|
848
845
|
"return": lc,
|
|
849
|
-
"switch":
|
|
846
|
+
"switch": tb,
|
|
850
847
|
"throw": nc,
|
|
851
848
|
"try": oc,
|
|
852
|
-
"var":
|
|
853
|
-
"while":
|
|
849
|
+
"var": qb,
|
|
850
|
+
"while": ob,
|
|
854
851
|
"with": rc,
|
|
855
852
|
"null": tc,
|
|
856
853
|
"true": uc,
|
|
@@ -859,7 +856,7 @@ var ca = function (a) {
|
|
|
859
856
|
"in": Za,
|
|
860
857
|
"instanceof": {
|
|
861
858
|
l: "instanceof",
|
|
862
|
-
|
|
859
|
+
L: 7,
|
|
863
860
|
m: !0
|
|
864
861
|
},
|
|
865
862
|
"this": sc,
|
|
@@ -878,12 +875,12 @@ var ca = function (a) {
|
|
|
878
875
|
prefix: !0,
|
|
879
876
|
m: !0
|
|
880
877
|
}
|
|
881
|
-
},
|
|
878
|
+
}, db = {
|
|
882
879
|
type: "[",
|
|
883
880
|
m: !0
|
|
884
|
-
},
|
|
881
|
+
}, eb = {
|
|
885
882
|
type: "]"
|
|
886
|
-
},
|
|
883
|
+
}, za = {
|
|
887
884
|
type: "{",
|
|
888
885
|
m: !0
|
|
889
886
|
}, qa = {
|
|
@@ -899,7 +896,7 @@ var ca = function (a) {
|
|
|
899
896
|
}, Z = {
|
|
900
897
|
type: ";",
|
|
901
898
|
m: !0
|
|
902
|
-
},
|
|
899
|
+
}, Aa = {
|
|
903
900
|
type: ":",
|
|
904
901
|
m: !0
|
|
905
902
|
}, Rb = {
|
|
@@ -908,102 +905,108 @@ var ca = function (a) {
|
|
|
908
905
|
type: "?",
|
|
909
906
|
m: !0
|
|
910
907
|
}, Ub = {
|
|
911
|
-
|
|
908
|
+
L: 10,
|
|
912
909
|
m: !0
|
|
913
910
|
}, Xb = {
|
|
914
|
-
|
|
911
|
+
Cb: !0,
|
|
915
912
|
m: !0
|
|
916
913
|
}, ma = {
|
|
917
|
-
|
|
914
|
+
Cb: !0,
|
|
918
915
|
m: !0
|
|
919
|
-
},
|
|
920
|
-
|
|
916
|
+
}, Pc = {
|
|
917
|
+
cc: !0,
|
|
921
918
|
prefix: !0,
|
|
922
|
-
|
|
919
|
+
$b: !0
|
|
923
920
|
}, Yb = {
|
|
924
921
|
prefix: !0,
|
|
925
922
|
m: !0
|
|
926
923
|
}, Vb = {
|
|
927
|
-
|
|
924
|
+
L: 1,
|
|
928
925
|
m: !0
|
|
929
926
|
}, Wb = {
|
|
930
|
-
|
|
927
|
+
L: 2,
|
|
931
928
|
m: !0
|
|
932
|
-
},
|
|
933
|
-
|
|
929
|
+
}, Mc = {
|
|
930
|
+
L: 3,
|
|
934
931
|
m: !0
|
|
935
|
-
},
|
|
936
|
-
|
|
932
|
+
}, Oc = {
|
|
933
|
+
L: 4,
|
|
937
934
|
m: !0
|
|
938
|
-
},
|
|
939
|
-
|
|
935
|
+
}, Nc = {
|
|
936
|
+
L: 5,
|
|
940
937
|
m: !0
|
|
941
|
-
},
|
|
942
|
-
|
|
938
|
+
}, Tc = {
|
|
939
|
+
L: 6,
|
|
943
940
|
m: !0
|
|
944
|
-
},
|
|
945
|
-
|
|
941
|
+
}, Sc = {
|
|
942
|
+
L: 7,
|
|
946
943
|
m: !0
|
|
947
|
-
},
|
|
948
|
-
|
|
944
|
+
}, Rc = {
|
|
945
|
+
L: 8,
|
|
949
946
|
m: !0
|
|
950
|
-
},
|
|
951
|
-
|
|
947
|
+
}, Qc = {
|
|
948
|
+
L: 9,
|
|
952
949
|
prefix: !0,
|
|
953
950
|
m: !0
|
|
954
|
-
},
|
|
955
|
-
|
|
951
|
+
}, Lc = {
|
|
952
|
+
L: 10,
|
|
956
953
|
m: !0
|
|
957
|
-
}, Vc = e("class enum extends super const export import"), xc = e("implements interface let package private protected public static yield"), Ya = e("eval arguments"), Rc = e("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"), Hc = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pb = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"), Gc = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u0620-\u0649\u0672-\u06d3\u06e7-\u06e8\u06fb-\u06fc\u0730-\u074a\u0800-\u0814\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0840-\u0857\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962-\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09d7\u09df-\u09e0\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5f-\u0b60\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2-\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d46-\u0d48\u0d57\u0d62-\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e34-\u0e3a\u0e40-\u0e45\u0e50-\u0e59\u0eb4-\u0eb9\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f41-\u0f47\u0f71-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1029\u1040-\u1049\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u170e-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17b2\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1920-\u192b\u1930-\u193b\u1951-\u196d\u19b0-\u19c0\u19c8-\u19c9\u19d0-\u19d9\u1a00-\u1a15\u1a20-\u1a53\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b46-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1bb0-\u1bb9\u1be6-\u1bf3\u1c00-\u1c22\u1c40-\u1c49\u1c5b-\u1c7d\u1cd0-\u1cd2\u1d00-\u1dbe\u1e01-\u1f15\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2d81-\u2d96\u2de0-\u2dff\u3021-\u3028\u3099\u309a\ua640-\ua66d\ua674-\ua67d\ua69f\ua6f0-\ua6f1\ua7f8-\ua800\ua806\ua80b\ua823-\ua827\ua880-\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8f3-\ua8f7\ua900-\ua909\ua926-\ua92d\ua930-\ua945\ua980-\ua983\ua9b3-\ua9c0\uaa00-\uaa27\uaa40-\uaa41\uaa4c-\uaa4d\uaa50-\uaa59\uaa7b\uaae0-\uaae9\uaaf2-\uaaf3\uabc0-\uabe1\uabec\uabed\uabf0-\uabf9\ufb20-\ufb28\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]"), Va = /[\n\r\u2028\u2029]/, Sa = /\r\n|[\n\r\u2028\u2029]/g, ra, mb = {
|
|
954
|
+
}, Yc = e("class enum extends super const export import"), xc = e("implements interface let package private protected public static yield"), Ya = e("eval arguments"), Uc = e("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"), Kc = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pb = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"), Jc = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u0620-\u0649\u0672-\u06d3\u06e7-\u06e8\u06fb-\u06fc\u0730-\u074a\u0800-\u0814\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0840-\u0857\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962-\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09d7\u09df-\u09e0\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5f-\u0b60\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2-\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d46-\u0d48\u0d57\u0d62-\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e34-\u0e3a\u0e40-\u0e45\u0e50-\u0e59\u0eb4-\u0eb9\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f41-\u0f47\u0f71-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1029\u1040-\u1049\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u170e-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17b2\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1920-\u192b\u1930-\u193b\u1951-\u196d\u19b0-\u19c0\u19c8-\u19c9\u19d0-\u19d9\u1a00-\u1a15\u1a20-\u1a53\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b46-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1bb0-\u1bb9\u1be6-\u1bf3\u1c00-\u1c22\u1c40-\u1c49\u1c5b-\u1c7d\u1cd0-\u1cd2\u1d00-\u1dbe\u1e01-\u1f15\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2d81-\u2d96\u2de0-\u2dff\u3021-\u3028\u3099\u309a\ua640-\ua66d\ua674-\ua67d\ua69f\ua6f0-\ua6f1\ua7f8-\ua800\ua806\ua80b\ua823-\ua827\ua880-\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8f3-\ua8f7\ua900-\ua909\ua926-\ua92d\ua930-\ua945\ua980-\ua983\ua9b3-\ua9c0\uaa00-\uaa27\uaa40-\uaa41\uaa4c-\uaa4d\uaa50-\uaa59\uaa7b\uaae0-\uaae9\uaaf2-\uaaf3\uabc0-\uabe1\uabec\uabed\uabf0-\uabf9\ufb20-\ufb28\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]"), Va = /[\n\r\u2028\u2029]/, Sa = /\r\n|[\n\r\u2028\u2029]/g, ra, nb = {
|
|
958
955
|
kind: "loop"
|
|
959
|
-
},
|
|
956
|
+
}, Wc = {
|
|
960
957
|
kind: "switch"
|
|
961
958
|
};
|
|
962
959
|
};
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
960
|
+
// BUILDER.IO: replace below line:
|
|
961
|
+
// "object"===typeof exports&&"object"===typeof module?ca(exports):"function"===typeof define&&define.jc?define(["exports"],ca):ca(this.j||(this.j={}));
|
|
962
|
+
// with this:
|
|
963
|
+
var __this = __this = "undefined" === typeof globalThis ? this : globalThis;
|
|
964
|
+
ca(__this.j || (__this.j = {}));
|
|
965
|
+
/*
|
|
966
|
+
Copyright 2013 Google LLC
|
|
967
|
+
SPDX-License-Identifier: Apache-2.0
|
|
968
|
+
*/
|
|
967
969
|
function t(a, b) {
|
|
968
970
|
"string" === typeof a && (a = da(a, "code"));
|
|
969
971
|
var d = a.constructor;
|
|
970
|
-
this.
|
|
972
|
+
this.ya = function () {
|
|
971
973
|
return new d({
|
|
972
974
|
options: {}
|
|
973
975
|
});
|
|
974
976
|
};
|
|
975
|
-
var c = this.
|
|
977
|
+
var c = this.ya(), e;
|
|
976
978
|
for (e in a)
|
|
977
979
|
c[e] = "body" === e ? a[e].slice() : a[e];
|
|
978
|
-
this.
|
|
979
|
-
this.
|
|
980
|
-
this.
|
|
981
|
-
this.
|
|
982
|
-
this.
|
|
983
|
-
this.
|
|
980
|
+
this.ra = c;
|
|
981
|
+
this.ca = [];
|
|
982
|
+
this.qb = b;
|
|
983
|
+
this.za = !1;
|
|
984
|
+
this.ba = [];
|
|
985
|
+
this.Ya = 0;
|
|
986
|
+
this.rb = Object.create(null);
|
|
984
987
|
a = /^step([A-Z]\w*)$/;
|
|
985
|
-
var h,
|
|
986
|
-
for (
|
|
987
|
-
"function" === typeof this[
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
992
|
-
fa(this.
|
|
993
|
-
h = new u(this.
|
|
988
|
+
var h, k;
|
|
989
|
+
for (k in this)
|
|
990
|
+
"function" === typeof this[k] && (h = k.match(a)) && (this.rb[h[1]] = this[k].bind(this));
|
|
991
|
+
this.N = ea(this, this.ra, null);
|
|
992
|
+
this.Na = this.N.object;
|
|
993
|
+
this.ra = da(this.ba.join("\n"), "polyfills");
|
|
994
|
+
this.ba = void 0;
|
|
995
|
+
fa(this.ra);
|
|
996
|
+
h = new u(this.ra, this.N);
|
|
994
997
|
h.done = !1;
|
|
995
998
|
this.o = [h];
|
|
996
|
-
this.
|
|
999
|
+
this.Eb();
|
|
997
1000
|
this.value = void 0;
|
|
998
|
-
this.
|
|
999
|
-
h = new u(this.
|
|
1001
|
+
this.ra = c;
|
|
1002
|
+
h = new u(this.ra, this.N);
|
|
1000
1003
|
h.done = !1;
|
|
1001
1004
|
this.o.length = 0;
|
|
1002
1005
|
this.o[0] = h;
|
|
1003
1006
|
}
|
|
1004
1007
|
var ka = {
|
|
1005
|
-
|
|
1006
|
-
|
|
1008
|
+
C: !0,
|
|
1009
|
+
kc: 5
|
|
1007
1010
|
}, ua = {
|
|
1008
1011
|
configurable: !0,
|
|
1009
1012
|
enumerable: !0,
|
|
@@ -1012,7 +1015,7 @@ var ka = {
|
|
|
1012
1015
|
configurable: !0,
|
|
1013
1016
|
enumerable: !1,
|
|
1014
1017
|
writable: !0
|
|
1015
|
-
},
|
|
1018
|
+
}, A = {
|
|
1016
1019
|
configurable: !0,
|
|
1017
1020
|
enumerable: !1,
|
|
1018
1021
|
writable: !1
|
|
@@ -1024,7 +1027,7 @@ var ka = {
|
|
|
1024
1027
|
configurable: !1,
|
|
1025
1028
|
enumerable: !0,
|
|
1026
1029
|
writable: !0
|
|
1027
|
-
},
|
|
1030
|
+
}, xa = {
|
|
1028
1031
|
STEP_ERROR: !0
|
|
1029
1032
|
}, Ha = {
|
|
1030
1033
|
SCOPE_REFERENCE: !0
|
|
@@ -1055,8 +1058,9 @@ t.prototype.REGEXP_THREAD_TIMEOUT = 1E3;
|
|
|
1055
1058
|
t.prototype.POLYFILL_TIMEOUT = 1E3;
|
|
1056
1059
|
p = t.prototype;
|
|
1057
1060
|
p.P = !1;
|
|
1058
|
-
p.
|
|
1059
|
-
p.
|
|
1061
|
+
p.Ka = !1;
|
|
1062
|
+
p.Kb = 0;
|
|
1063
|
+
p.ic = 0;
|
|
1060
1064
|
function da(a, b) {
|
|
1061
1065
|
var d = {}, c;
|
|
1062
1066
|
for (c in ka)
|
|
@@ -1064,56 +1068,68 @@ function da(a, b) {
|
|
|
1064
1068
|
d.sourceFile = b;
|
|
1065
1069
|
return Na.j.parse(a, d);
|
|
1066
1070
|
}
|
|
1067
|
-
p.
|
|
1071
|
+
p.Jb = function (a) {
|
|
1068
1072
|
var b = this.o[0];
|
|
1069
1073
|
if (!b || "Program" !== b.node.type)
|
|
1070
1074
|
throw Error("Expecting original AST to start with a Program node");
|
|
1071
|
-
"string" === typeof a && (a = da(a, "appendCode" + this.
|
|
1075
|
+
"string" === typeof a && (a = da(a, "appendCode" + this.Kb++));
|
|
1072
1076
|
if (!a || "Program" !== a.type)
|
|
1073
1077
|
throw Error("Expecting new AST to start with a Program node");
|
|
1074
1078
|
Ra(this, a, b.scope);
|
|
1075
1079
|
Array.prototype.push.apply(b.node.body, a.body);
|
|
1076
|
-
b.node.body.
|
|
1080
|
+
b.node.body.jb = null;
|
|
1077
1081
|
b.done = !1;
|
|
1078
1082
|
};
|
|
1079
|
-
p.
|
|
1083
|
+
p.lb = function () {
|
|
1080
1084
|
var a = this.o, b;
|
|
1081
1085
|
do {
|
|
1082
1086
|
var d = a[a.length - 1];
|
|
1083
|
-
if (
|
|
1084
|
-
return !1;
|
|
1085
|
-
var c = d.node, e = c.type;
|
|
1086
|
-
if ("Program" === e && d.done)
|
|
1087
|
-
return !1;
|
|
1088
|
-
if (this.xa)
|
|
1087
|
+
if (this.za)
|
|
1089
1088
|
break;
|
|
1090
|
-
|
|
1089
|
+
else if (!d || "Program" === d.node.type && d.done) {
|
|
1090
|
+
if (!this.ca.length)
|
|
1091
|
+
return !1;
|
|
1092
|
+
d = this.ca[0];
|
|
1093
|
+
if (!d || d.time > Date.now())
|
|
1094
|
+
d = null;
|
|
1095
|
+
else {
|
|
1096
|
+
this.ca.shift();
|
|
1097
|
+
0 <= d.interval && ab(this, d, d.interval);
|
|
1098
|
+
var c = new u(d.node, d.scope);
|
|
1099
|
+
d.zb && (c.ia = 2, c.B = this.Na, c.U = d.zb, c.Qa = !0, c.F = d.Lb);
|
|
1100
|
+
d = c;
|
|
1101
|
+
}
|
|
1102
|
+
if (!d)
|
|
1103
|
+
break;
|
|
1104
|
+
}
|
|
1105
|
+
c = d.node;
|
|
1106
|
+
var e = Ma;
|
|
1091
1107
|
Ma = this;
|
|
1092
1108
|
try {
|
|
1093
|
-
var
|
|
1109
|
+
var h = this.rb[c.type](a, d, c);
|
|
1094
1110
|
}
|
|
1095
|
-
catch (
|
|
1096
|
-
if (
|
|
1097
|
-
throw this.value !==
|
|
1111
|
+
catch (k) {
|
|
1112
|
+
if (k !== xa)
|
|
1113
|
+
throw this.value !== k && (this.value = void 0), k;
|
|
1098
1114
|
}
|
|
1099
1115
|
finally {
|
|
1100
|
-
Ma =
|
|
1116
|
+
Ma = e;
|
|
1101
1117
|
}
|
|
1102
|
-
|
|
1118
|
+
h && a.push(h);
|
|
1103
1119
|
if (this.P)
|
|
1104
1120
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
1105
|
-
if (this.
|
|
1121
|
+
if (this.Ka)
|
|
1106
1122
|
throw this.value = void 0, Error("Setter not supported in this context");
|
|
1107
1123
|
b || c.end || (b = Date.now() + this.POLYFILL_TIMEOUT);
|
|
1108
1124
|
} while (!c.end && b > Date.now());
|
|
1109
1125
|
return !0;
|
|
1110
1126
|
};
|
|
1111
|
-
p.
|
|
1112
|
-
for (; !this.
|
|
1127
|
+
p.Eb = function () {
|
|
1128
|
+
for (; !this.za && this.lb();)
|
|
1113
1129
|
;
|
|
1114
|
-
return this.
|
|
1130
|
+
return this.za;
|
|
1115
1131
|
};
|
|
1116
|
-
function
|
|
1132
|
+
function bb(a, b) {
|
|
1117
1133
|
a.g(b, "NaN", NaN, va);
|
|
1118
1134
|
a.g(b, "Infinity", Infinity, va);
|
|
1119
1135
|
a.g(b, "undefined", void 0, va);
|
|
@@ -1121,12 +1137,11 @@ function ab(a, b) {
|
|
|
1121
1137
|
a.g(b, "this", b, va);
|
|
1122
1138
|
a.g(b, "self", b);
|
|
1123
1139
|
a.M = new D(null);
|
|
1124
|
-
a.
|
|
1125
|
-
zb(a, b);
|
|
1140
|
+
a.Z = new D(a.M);
|
|
1126
1141
|
Ab(a, b);
|
|
1127
|
-
b.wa = a.M;
|
|
1128
|
-
a.g(b, "constructor", a.v, v);
|
|
1129
1142
|
Bb(a, b);
|
|
1143
|
+
b.xa = a.M;
|
|
1144
|
+
a.g(b, "constructor", a.v, v);
|
|
1130
1145
|
Cb(a, b);
|
|
1131
1146
|
Db(a, b);
|
|
1132
1147
|
Eb(a, b);
|
|
@@ -1135,6 +1150,7 @@ function ab(a, b) {
|
|
|
1135
1150
|
Hb(a, b);
|
|
1136
1151
|
Ib(a, b);
|
|
1137
1152
|
Jb(a, b);
|
|
1153
|
+
Kb(a, b);
|
|
1138
1154
|
var d = a.i(function () {
|
|
1139
1155
|
throw EvalError("Can't happen");
|
|
1140
1156
|
}, !1);
|
|
@@ -1144,101 +1160,116 @@ function ab(a, b) {
|
|
|
1144
1160
|
a.g(b, "parseFloat", a.i(parseFloat, !1), v);
|
|
1145
1161
|
a.g(b, "isNaN", a.i(isNaN, !1), v);
|
|
1146
1162
|
a.g(b, "isFinite", a.i(isFinite, !1), v);
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
return function (h) {
|
|
1163
|
+
for (var c = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], e = 0; e < c.length; e++)
|
|
1164
|
+
d = function (h) {
|
|
1165
|
+
return function (k) {
|
|
1151
1166
|
try {
|
|
1152
|
-
return
|
|
1167
|
+
return h(k);
|
|
1153
1168
|
}
|
|
1154
|
-
catch (
|
|
1155
|
-
K(a, a.
|
|
1169
|
+
catch (q) {
|
|
1170
|
+
K(a, a.Gb, q.message);
|
|
1156
1171
|
}
|
|
1157
1172
|
};
|
|
1158
|
-
}(
|
|
1173
|
+
}(c[e][0]), a.g(b, c[e][1], a.i(d, !1), v);
|
|
1174
|
+
d = function (h) {
|
|
1175
|
+
return Lb(a, !1, arguments);
|
|
1176
|
+
};
|
|
1177
|
+
a.g(b, "setTimeout", a.i(d, !1), v);
|
|
1178
|
+
d = function (h) {
|
|
1179
|
+
return Lb(a, !0, arguments);
|
|
1180
|
+
};
|
|
1181
|
+
a.g(b, "setInterval", a.i(d, !1), v);
|
|
1182
|
+
d = function (h) {
|
|
1183
|
+
Mb(a, h);
|
|
1184
|
+
};
|
|
1185
|
+
a.g(b, "clearTimeout", a.i(d, !1), v);
|
|
1186
|
+
d = function (h) {
|
|
1187
|
+
Mb(a, h);
|
|
1188
|
+
};
|
|
1189
|
+
a.g(b, "clearInterval", a.i(d, !1), v);
|
|
1159
1190
|
a.OBJECT = a.v;
|
|
1160
1191
|
a.OBJECT_PROTO = a.M;
|
|
1161
|
-
a.FUNCTION = a.
|
|
1162
|
-
a.FUNCTION_PROTO = a.
|
|
1163
|
-
a.ARRAY = a.
|
|
1164
|
-
a.ARRAY_PROTO = a.
|
|
1165
|
-
a.REGEXP = a.
|
|
1166
|
-
a.REGEXP_PROTO = a.
|
|
1167
|
-
a.DATE = a
|
|
1168
|
-
a.DATE_PROTO = a.
|
|
1169
|
-
a.
|
|
1192
|
+
a.FUNCTION = a.O;
|
|
1193
|
+
a.FUNCTION_PROTO = a.Z;
|
|
1194
|
+
a.ARRAY = a.qa;
|
|
1195
|
+
a.ARRAY_PROTO = a.La;
|
|
1196
|
+
a.REGEXP = a.I;
|
|
1197
|
+
a.REGEXP_PROTO = a.Ma;
|
|
1198
|
+
a.DATE = a.$;
|
|
1199
|
+
a.DATE_PROTO = a.nb;
|
|
1200
|
+
a.qb && a.qb(a, b);
|
|
1170
1201
|
}
|
|
1171
|
-
p.
|
|
1172
|
-
function
|
|
1202
|
+
p.Wb = 0;
|
|
1203
|
+
function Ab(a, b) {
|
|
1173
1204
|
var d = /^[A-Za-z_$][\w$]*$/;
|
|
1174
1205
|
var c = function (e) {
|
|
1175
|
-
var h = arguments.length ? String(arguments[arguments.length - 1]) : "",
|
|
1176
|
-
if (
|
|
1177
|
-
|
|
1178
|
-
for (var q = 0; q <
|
|
1179
|
-
var C =
|
|
1180
|
-
d.test(C) || K(a, a
|
|
1206
|
+
var h = arguments.length ? String(arguments[arguments.length - 1]) : "", k = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1207
|
+
if (k) {
|
|
1208
|
+
k = k.split(/\s*,\s*/);
|
|
1209
|
+
for (var q = 0; q < k.length; q++) {
|
|
1210
|
+
var C = k[q];
|
|
1211
|
+
d.test(C) || K(a, a.T, "Invalid function argument: " + C);
|
|
1181
1212
|
}
|
|
1182
|
-
|
|
1213
|
+
k = k.join(", ");
|
|
1183
1214
|
}
|
|
1184
1215
|
try {
|
|
1185
|
-
var
|
|
1216
|
+
var U = da("(function(" + k + ") {" + h + "})", "function" + a.Wb++);
|
|
1186
1217
|
}
|
|
1187
1218
|
catch (N) {
|
|
1188
|
-
K(a, a
|
|
1219
|
+
K(a, a.T, "Invalid code: " + N.message);
|
|
1189
1220
|
}
|
|
1190
|
-
1 !==
|
|
1191
|
-
return
|
|
1221
|
+
1 !== U.body.length && K(a, a.T, "Invalid code in function body");
|
|
1222
|
+
return Nb(a, U.body[0].la, a.N, "anonymous");
|
|
1192
1223
|
};
|
|
1193
|
-
a.
|
|
1194
|
-
a.g(b, "Function", a.
|
|
1195
|
-
a.g(a.
|
|
1196
|
-
a.g(a.
|
|
1197
|
-
a.
|
|
1198
|
-
a.
|
|
1199
|
-
a.
|
|
1200
|
-
a.g(a.
|
|
1201
|
-
a.
|
|
1224
|
+
a.O = a.i(c, !0);
|
|
1225
|
+
a.g(b, "Function", a.O, v);
|
|
1226
|
+
a.g(a.O, "prototype", a.Z, v);
|
|
1227
|
+
a.g(a.Z, "constructor", a.O, v);
|
|
1228
|
+
a.Z.Ta = function () { };
|
|
1229
|
+
a.Z.Ta.id = a.Ya++;
|
|
1230
|
+
a.Z.Ab = !0;
|
|
1231
|
+
a.g(a.Z, "length", 0, A);
|
|
1232
|
+
a.Z.H = "Function";
|
|
1202
1233
|
c = function (e, h) {
|
|
1203
|
-
var
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
null !== h && void 0 !== h && (h instanceof D ?
|
|
1208
|
-
|
|
1234
|
+
var k = a.o[a.o.length - 1];
|
|
1235
|
+
k.U = this;
|
|
1236
|
+
k.B = e;
|
|
1237
|
+
k.F = [];
|
|
1238
|
+
null !== h && void 0 !== h && (h instanceof D ? k.F = Ob(a, h) : K(a, a.j, "CreateListFromArrayLike called on non-object"));
|
|
1239
|
+
k.eb = !1;
|
|
1209
1240
|
};
|
|
1210
|
-
M(a, a.
|
|
1241
|
+
M(a, a.O, "apply", c);
|
|
1211
1242
|
c = function (e) {
|
|
1212
1243
|
var h = a.o[a.o.length - 1];
|
|
1213
|
-
h.
|
|
1214
|
-
h.
|
|
1215
|
-
h.
|
|
1216
|
-
for (var
|
|
1217
|
-
h.
|
|
1218
|
-
h.
|
|
1244
|
+
h.U = this;
|
|
1245
|
+
h.B = e;
|
|
1246
|
+
h.F = [];
|
|
1247
|
+
for (var k = 1; k < arguments.length; k++)
|
|
1248
|
+
h.F.push(arguments[k]);
|
|
1249
|
+
h.eb = !1;
|
|
1219
1250
|
};
|
|
1220
|
-
M(a, a.
|
|
1221
|
-
a.
|
|
1251
|
+
M(a, a.O, "call", c);
|
|
1252
|
+
a.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;", "}", "});", "");
|
|
1222
1253
|
c = function () {
|
|
1223
1254
|
return String(this);
|
|
1224
1255
|
};
|
|
1225
|
-
M(a, a.
|
|
1226
|
-
a.g(a.
|
|
1256
|
+
M(a, a.O, "toString", c);
|
|
1257
|
+
a.g(a.O, "toString", a.i(c, !1), v);
|
|
1227
1258
|
c = function () {
|
|
1228
1259
|
return this.valueOf();
|
|
1229
1260
|
};
|
|
1230
|
-
M(a, a.
|
|
1231
|
-
a.g(a.
|
|
1261
|
+
M(a, a.O, "valueOf", c);
|
|
1262
|
+
a.g(a.O, "valueOf", a.i(c, !1), v);
|
|
1232
1263
|
}
|
|
1233
|
-
function
|
|
1264
|
+
function Bb(a, b) {
|
|
1234
1265
|
function d(e) {
|
|
1235
1266
|
void 0 !== e && null !== e || K(a, a.j, "Cannot convert '" + e + "' to object");
|
|
1236
1267
|
}
|
|
1237
1268
|
var c = function (e) {
|
|
1238
1269
|
if (void 0 === e || null === e)
|
|
1239
|
-
return
|
|
1270
|
+
return zc(a) ? this : a.s(a.M);
|
|
1240
1271
|
if (!(e instanceof D)) {
|
|
1241
|
-
var h = a.s(
|
|
1272
|
+
var h = a.s(Ac(a, e));
|
|
1242
1273
|
h.data = e;
|
|
1243
1274
|
return h;
|
|
1244
1275
|
}
|
|
@@ -1250,13 +1281,13 @@ function Ab(a, b) {
|
|
|
1250
1281
|
a.g(b, "Object", a.v, v);
|
|
1251
1282
|
c = function (e) {
|
|
1252
1283
|
d(e);
|
|
1253
|
-
return
|
|
1284
|
+
return Bc(a, Object.getOwnPropertyNames(e instanceof D ? e.h : e));
|
|
1254
1285
|
};
|
|
1255
1286
|
a.g(a.v, "getOwnPropertyNames", a.i(c, !1), v);
|
|
1256
1287
|
c = function (e) {
|
|
1257
1288
|
d(e);
|
|
1258
1289
|
e instanceof D && (e = e.h);
|
|
1259
|
-
return
|
|
1290
|
+
return Bc(a, Object.keys(e));
|
|
1260
1291
|
};
|
|
1261
1292
|
a.g(a.v, "keys", a.i(c, !1), v);
|
|
1262
1293
|
c = function (e) {
|
|
@@ -1266,34 +1297,34 @@ function Ab(a, b) {
|
|
|
1266
1297
|
return a.s(e);
|
|
1267
1298
|
};
|
|
1268
1299
|
a.g(a.v, "create", a.i(c, !1), v);
|
|
1269
|
-
a.
|
|
1270
|
-
c = function (e, h,
|
|
1300
|
+
a.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", "");
|
|
1301
|
+
c = function (e, h, k) {
|
|
1271
1302
|
h = String(h);
|
|
1272
1303
|
e instanceof D || K(a, a.j, "Object.defineProperty called on non-object: " + e);
|
|
1273
|
-
|
|
1304
|
+
k instanceof D || K(a, a.j, "Property description must be an object");
|
|
1274
1305
|
!e.preventExtensions || h in e.h || K(a, a.j, "Can't define property '" + h + "', object is not extensible");
|
|
1275
|
-
a.g(e, h, Ia,
|
|
1306
|
+
a.g(e, h, Ia, k.h);
|
|
1276
1307
|
return e;
|
|
1277
1308
|
};
|
|
1278
1309
|
a.g(a.v, "defineProperty", a.i(c, !1), v);
|
|
1279
|
-
a.
|
|
1310
|
+
a.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", "");
|
|
1280
1311
|
c = function (e, h) {
|
|
1281
1312
|
e instanceof D || K(a, a.j, "Object.getOwnPropertyDescriptor called on non-object: " + e);
|
|
1282
1313
|
h = String(h);
|
|
1283
1314
|
if (h in e.h) {
|
|
1284
|
-
var
|
|
1285
|
-
e = e.
|
|
1315
|
+
var k = Object.getOwnPropertyDescriptor(e.h, h), q = e.V[h];
|
|
1316
|
+
e = e.Y[h];
|
|
1286
1317
|
h = a.s(a.M);
|
|
1287
|
-
q || e ? (a.g(h, "get", q), a.g(h, "set", e)) : (a.g(h, "value",
|
|
1288
|
-
a.g(h, "configurable",
|
|
1289
|
-
a.g(h, "enumerable",
|
|
1318
|
+
q || e ? (a.g(h, "get", q), a.g(h, "set", e)) : (a.g(h, "value", k.value), a.g(h, "writable", k.writable));
|
|
1319
|
+
a.g(h, "configurable", k.configurable);
|
|
1320
|
+
a.g(h, "enumerable", k.enumerable);
|
|
1290
1321
|
return h;
|
|
1291
1322
|
}
|
|
1292
1323
|
};
|
|
1293
1324
|
a.g(a.v, "getOwnPropertyDescriptor", a.i(c, !1), v);
|
|
1294
1325
|
c = function (e) {
|
|
1295
1326
|
d(e);
|
|
1296
|
-
return
|
|
1327
|
+
return Ac(a, e);
|
|
1297
1328
|
};
|
|
1298
1329
|
a.g(a.v, "getPrototypeOf", a.i(c, !1), v);
|
|
1299
1330
|
c = function (e) {
|
|
@@ -1320,7 +1351,7 @@ function Ab(a, b) {
|
|
|
1320
1351
|
M(a, a.v, "propertyIsEnumerable", c);
|
|
1321
1352
|
c = function (e) {
|
|
1322
1353
|
for (;;) {
|
|
1323
|
-
e =
|
|
1354
|
+
e = Ac(a, e);
|
|
1324
1355
|
if (!e)
|
|
1325
1356
|
return !1;
|
|
1326
1357
|
if (e === this)
|
|
@@ -1329,11 +1360,11 @@ function Ab(a, b) {
|
|
|
1329
1360
|
};
|
|
1330
1361
|
M(a, a.v, "isPrototypeOf", c);
|
|
1331
1362
|
}
|
|
1332
|
-
function
|
|
1363
|
+
function Cb(a, b) {
|
|
1333
1364
|
var d = function (c) {
|
|
1334
|
-
var e =
|
|
1365
|
+
var e = zc(a) ? this : Cc(a), h = arguments[0];
|
|
1335
1366
|
if (1 === arguments.length && "number" === typeof h)
|
|
1336
|
-
isNaN(Pa(h)) && K(a, a.
|
|
1367
|
+
isNaN(Pa(h)) && K(a, a.ob, "Invalid array length: " + h), e.h.length = h;
|
|
1337
1368
|
else {
|
|
1338
1369
|
for (h = 0; h < arguments.length; h++)
|
|
1339
1370
|
e.h[h] = arguments[h];
|
|
@@ -1341,155 +1372,155 @@ function Bb(a, b) {
|
|
|
1341
1372
|
}
|
|
1342
1373
|
return e;
|
|
1343
1374
|
};
|
|
1344
|
-
a.
|
|
1345
|
-
a.
|
|
1346
|
-
a.g(b, "Array", a.
|
|
1375
|
+
a.qa = a.i(d, !0);
|
|
1376
|
+
a.La = a.qa.h.prototype;
|
|
1377
|
+
a.g(b, "Array", a.qa, v);
|
|
1347
1378
|
d = function (c) {
|
|
1348
|
-
return c && "Array" === c.
|
|
1379
|
+
return c && "Array" === c.H;
|
|
1349
1380
|
};
|
|
1350
|
-
a.g(a.
|
|
1351
|
-
a.g(a.
|
|
1381
|
+
a.g(a.qa, "isArray", a.i(d, !1), v);
|
|
1382
|
+
a.g(a.La, "length", 0, {
|
|
1352
1383
|
configurable: !1,
|
|
1353
1384
|
enumerable: !1,
|
|
1354
1385
|
writable: !0
|
|
1355
1386
|
});
|
|
1356
|
-
a.
|
|
1357
|
-
a.
|
|
1387
|
+
a.La.H = "Array";
|
|
1388
|
+
a.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1358
1389
|
}
|
|
1359
|
-
function
|
|
1390
|
+
function Db(a, b) {
|
|
1360
1391
|
var d = function (c) {
|
|
1361
1392
|
c = arguments.length ? Na.String(c) : "";
|
|
1362
|
-
return
|
|
1393
|
+
return zc(a) ? (this.data = c, this) : c;
|
|
1363
1394
|
};
|
|
1364
|
-
a.
|
|
1365
|
-
a.g(b, "String", a.
|
|
1366
|
-
a.g(a.
|
|
1395
|
+
a.J = a.i(d, !0);
|
|
1396
|
+
a.g(b, "String", a.J, v);
|
|
1397
|
+
a.g(a.J, "fromCharCode", a.i(String.fromCharCode, !1), v);
|
|
1367
1398
|
b = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" ");
|
|
1368
1399
|
for (d = 0; d < b.length; d++)
|
|
1369
|
-
M(a, a.
|
|
1400
|
+
M(a, a.J, b[d], String.prototype[b[d]]);
|
|
1370
1401
|
d = function (c, e, h) {
|
|
1371
1402
|
e = a.R(e);
|
|
1372
1403
|
h = a.R(h);
|
|
1373
1404
|
try {
|
|
1374
1405
|
return String(this).localeCompare(c, e, h);
|
|
1375
1406
|
}
|
|
1376
|
-
catch (
|
|
1377
|
-
K(a, a.D, "localeCompare: " +
|
|
1407
|
+
catch (k) {
|
|
1408
|
+
K(a, a.D, "localeCompare: " + k.message);
|
|
1378
1409
|
}
|
|
1379
1410
|
};
|
|
1380
|
-
M(a, a.
|
|
1411
|
+
M(a, a.J, "localeCompare", d);
|
|
1381
1412
|
d = function (c, e, h) {
|
|
1382
|
-
var
|
|
1413
|
+
var k = String(this);
|
|
1383
1414
|
e = e ? Number(e) : void 0;
|
|
1384
|
-
if (Q(a, c, a.
|
|
1415
|
+
if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
|
|
1385
1416
|
if (La)
|
|
1386
|
-
c =
|
|
1387
|
-
string:
|
|
1417
|
+
c = Ec(a, "string.split(separator, limit)", {
|
|
1418
|
+
string: k,
|
|
1388
1419
|
separator: c,
|
|
1389
1420
|
limit: e
|
|
1390
|
-
}, c, h), c !== Ja && h(
|
|
1421
|
+
}, c, h), c !== Ja && h(Bc(a, c));
|
|
1391
1422
|
else {
|
|
1392
|
-
var q = a.
|
|
1393
|
-
q.onmessage = function (
|
|
1423
|
+
var q = a.ha(), C = Fc(a, c, q, h);
|
|
1424
|
+
q.onmessage = function (U) {
|
|
1394
1425
|
clearTimeout(C);
|
|
1395
|
-
h(
|
|
1426
|
+
h(Bc(a, U.data));
|
|
1396
1427
|
};
|
|
1397
|
-
q.postMessage(["split",
|
|
1428
|
+
q.postMessage(["split", k, c, e]);
|
|
1398
1429
|
}
|
|
1399
1430
|
return;
|
|
1400
1431
|
}
|
|
1401
|
-
c =
|
|
1402
|
-
h(
|
|
1432
|
+
c = k.split(c, e);
|
|
1433
|
+
h(Bc(a, c));
|
|
1403
1434
|
};
|
|
1404
|
-
|
|
1435
|
+
Gc(a, a.J, "split", d);
|
|
1405
1436
|
d = function (c, e) {
|
|
1406
1437
|
var h = String(this);
|
|
1407
|
-
c = Q(a, c, a.
|
|
1408
|
-
|
|
1438
|
+
c = Q(a, c, a.I) ? c.data : new RegExp(c);
|
|
1439
|
+
Dc(a, c, e);
|
|
1409
1440
|
if (2 === a.REGEXP_MODE) {
|
|
1410
1441
|
if (La)
|
|
1411
|
-
c =
|
|
1442
|
+
c = Ec(a, "string.match(regexp)", {
|
|
1412
1443
|
string: h,
|
|
1413
1444
|
regexp: c
|
|
1414
|
-
}, c, e), c !== Ja && e(c &&
|
|
1445
|
+
}, c, e), c !== Ja && e(c && Bc(a, c));
|
|
1415
1446
|
else {
|
|
1416
|
-
var
|
|
1417
|
-
|
|
1447
|
+
var k = a.ha(), q = Fc(a, c, k, e);
|
|
1448
|
+
k.onmessage = function (C) {
|
|
1418
1449
|
clearTimeout(q);
|
|
1419
|
-
e(C.data &&
|
|
1450
|
+
e(C.data && Bc(a, C.data));
|
|
1420
1451
|
};
|
|
1421
|
-
|
|
1452
|
+
k.postMessage(["match", h, c]);
|
|
1422
1453
|
}
|
|
1423
1454
|
}
|
|
1424
1455
|
else
|
|
1425
|
-
c = h.match(c), e(c &&
|
|
1456
|
+
c = h.match(c), e(c && Bc(a, c));
|
|
1426
1457
|
};
|
|
1427
|
-
|
|
1458
|
+
Gc(a, a.J, "match", d);
|
|
1428
1459
|
d = function (c, e) {
|
|
1429
1460
|
var h = String(this);
|
|
1430
|
-
Q(a, c, a.
|
|
1431
|
-
|
|
1461
|
+
Q(a, c, a.I) ? c = c.data : c = new RegExp(c);
|
|
1462
|
+
Dc(a, c, e);
|
|
1432
1463
|
if (2 === a.REGEXP_MODE) {
|
|
1433
1464
|
if (La)
|
|
1434
|
-
c =
|
|
1465
|
+
c = Ec(a, "string.search(regexp)", {
|
|
1435
1466
|
string: h,
|
|
1436
1467
|
regexp: c
|
|
1437
1468
|
}, c, e), c !== Ja && e(c);
|
|
1438
1469
|
else {
|
|
1439
|
-
var
|
|
1440
|
-
|
|
1470
|
+
var k = a.ha(), q = Fc(a, c, k, e);
|
|
1471
|
+
k.onmessage = function (C) {
|
|
1441
1472
|
clearTimeout(q);
|
|
1442
1473
|
e(C.data);
|
|
1443
1474
|
};
|
|
1444
|
-
|
|
1475
|
+
k.postMessage(["search", h, c]);
|
|
1445
1476
|
}
|
|
1446
1477
|
}
|
|
1447
1478
|
else
|
|
1448
1479
|
e(h.search(c));
|
|
1449
1480
|
};
|
|
1450
|
-
|
|
1481
|
+
Gc(a, a.J, "search", d);
|
|
1451
1482
|
d = function (c, e, h) {
|
|
1452
|
-
var
|
|
1483
|
+
var k = String(this);
|
|
1453
1484
|
e = String(e);
|
|
1454
|
-
if (Q(a, c, a.
|
|
1485
|
+
if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
|
|
1455
1486
|
if (La)
|
|
1456
|
-
c =
|
|
1457
|
-
string:
|
|
1487
|
+
c = Ec(a, "string.replace(substr, newSubstr)", {
|
|
1488
|
+
string: k,
|
|
1458
1489
|
substr: c,
|
|
1459
1490
|
newSubstr: e
|
|
1460
1491
|
}, c, h), c !== Ja && h(c);
|
|
1461
1492
|
else {
|
|
1462
|
-
var q = a.
|
|
1463
|
-
q.onmessage = function (
|
|
1493
|
+
var q = a.ha(), C = Fc(a, c, q, h);
|
|
1494
|
+
q.onmessage = function (U) {
|
|
1464
1495
|
clearTimeout(C);
|
|
1465
|
-
h(
|
|
1496
|
+
h(U.data);
|
|
1466
1497
|
};
|
|
1467
|
-
q.postMessage(["replace",
|
|
1498
|
+
q.postMessage(["replace", k, c, e]);
|
|
1468
1499
|
}
|
|
1469
1500
|
return;
|
|
1470
1501
|
}
|
|
1471
|
-
h(
|
|
1502
|
+
h(k.replace(c, e));
|
|
1472
1503
|
};
|
|
1473
|
-
|
|
1474
|
-
a.
|
|
1504
|
+
Gc(a, a.J, "replace", d);
|
|
1505
|
+
a.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;", "};", "})();", "");
|
|
1475
1506
|
}
|
|
1476
|
-
function
|
|
1477
|
-
a.
|
|
1507
|
+
function Eb(a, b) {
|
|
1508
|
+
a.mb = a.i(function (d) {
|
|
1478
1509
|
d = Na.Boolean(d);
|
|
1479
|
-
return
|
|
1510
|
+
return zc(a) ? (this.data = d, this) : d;
|
|
1480
1511
|
}, !0);
|
|
1481
|
-
a.g(b, "Boolean", a.
|
|
1512
|
+
a.g(b, "Boolean", a.mb, v);
|
|
1482
1513
|
}
|
|
1483
|
-
function
|
|
1514
|
+
function Fb(a, b) {
|
|
1484
1515
|
var d = function (c) {
|
|
1485
1516
|
c = arguments.length ? Na.Number(c) : 0;
|
|
1486
|
-
return
|
|
1517
|
+
return zc(a) ? (this.data = c, this) : c;
|
|
1487
1518
|
};
|
|
1488
|
-
a.
|
|
1489
|
-
a.g(b, "Number", a.
|
|
1519
|
+
a.aa = a.i(d, !0);
|
|
1520
|
+
a.g(b, "Number", a.aa, v);
|
|
1490
1521
|
b = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"];
|
|
1491
1522
|
for (d = 0; d < b.length; d++)
|
|
1492
|
-
a.g(a.
|
|
1523
|
+
a.g(a.aa, b[d], Number[b[d]], va);
|
|
1493
1524
|
d = function (c) {
|
|
1494
1525
|
try {
|
|
1495
1526
|
return Number(this).toExponential(c);
|
|
@@ -1498,7 +1529,7 @@ function Eb(a, b) {
|
|
|
1498
1529
|
K(a, a.D, e.message);
|
|
1499
1530
|
}
|
|
1500
1531
|
};
|
|
1501
|
-
M(a, a.
|
|
1532
|
+
M(a, a.aa, "toExponential", d);
|
|
1502
1533
|
d = function (c) {
|
|
1503
1534
|
try {
|
|
1504
1535
|
return Number(this).toFixed(c);
|
|
@@ -1507,7 +1538,7 @@ function Eb(a, b) {
|
|
|
1507
1538
|
K(a, a.D, e.message);
|
|
1508
1539
|
}
|
|
1509
1540
|
};
|
|
1510
|
-
M(a, a.
|
|
1541
|
+
M(a, a.aa, "toFixed", d);
|
|
1511
1542
|
d = function (c) {
|
|
1512
1543
|
try {
|
|
1513
1544
|
return Number(this).toPrecision(c);
|
|
@@ -1516,7 +1547,7 @@ function Eb(a, b) {
|
|
|
1516
1547
|
K(a, a.D, e.message);
|
|
1517
1548
|
}
|
|
1518
1549
|
};
|
|
1519
|
-
M(a, a.
|
|
1550
|
+
M(a, a.aa, "toPrecision", d);
|
|
1520
1551
|
d = function (c) {
|
|
1521
1552
|
try {
|
|
1522
1553
|
return Number(this).toString(c);
|
|
@@ -1525,7 +1556,7 @@ function Eb(a, b) {
|
|
|
1525
1556
|
K(a, a.D, e.message);
|
|
1526
1557
|
}
|
|
1527
1558
|
};
|
|
1528
|
-
M(a, a.
|
|
1559
|
+
M(a, a.aa, "toString", d);
|
|
1529
1560
|
d = function (c, e) {
|
|
1530
1561
|
c = c ? a.R(c) : void 0;
|
|
1531
1562
|
e = e ? a.R(e) : void 0;
|
|
@@ -1536,136 +1567,136 @@ function Eb(a, b) {
|
|
|
1536
1567
|
K(a, a.D, "toLocaleString: " + h.message);
|
|
1537
1568
|
}
|
|
1538
1569
|
};
|
|
1539
|
-
M(a, a.
|
|
1570
|
+
M(a, a.aa, "toLocaleString", d);
|
|
1540
1571
|
}
|
|
1541
|
-
function
|
|
1572
|
+
function Gb(a, b) {
|
|
1542
1573
|
var d = function (e, h) {
|
|
1543
|
-
if (!
|
|
1574
|
+
if (!zc(a))
|
|
1544
1575
|
return Na.Date();
|
|
1545
|
-
var
|
|
1546
|
-
this.data = new (Function.prototype.bind.apply(Na.Date,
|
|
1576
|
+
var k = [null].concat(Array.from(arguments));
|
|
1577
|
+
this.data = new (Function.prototype.bind.apply(Na.Date, k))();
|
|
1547
1578
|
return this;
|
|
1548
1579
|
};
|
|
1549
|
-
a
|
|
1550
|
-
a.
|
|
1551
|
-
a.g(b, "Date", a
|
|
1552
|
-
a.g(a
|
|
1553
|
-
a.g(a
|
|
1554
|
-
a.g(a
|
|
1580
|
+
a.$ = a.i(d, !0);
|
|
1581
|
+
a.nb = a.$.h.prototype;
|
|
1582
|
+
a.g(b, "Date", a.$, v);
|
|
1583
|
+
a.g(a.$, "now", a.i(Date.now, !1), v);
|
|
1584
|
+
a.g(a.$, "parse", a.i(Date.parse, !1), v);
|
|
1585
|
+
a.g(a.$, "UTC", a.i(Date.UTC, !1), v);
|
|
1555
1586
|
b = "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(" ");
|
|
1556
1587
|
for (var c = 0; c < b.length; c++)
|
|
1557
1588
|
d = function (e) {
|
|
1558
1589
|
return function (h) {
|
|
1559
|
-
var
|
|
1560
|
-
|
|
1590
|
+
var k = this.data;
|
|
1591
|
+
k instanceof Date || K(a, a.j, e + " not called on a Date");
|
|
1561
1592
|
for (var q = [], C = 0; C < arguments.length; C++)
|
|
1562
1593
|
q[C] = a.R(arguments[C]);
|
|
1563
|
-
return
|
|
1594
|
+
return k[e].apply(k, q);
|
|
1564
1595
|
};
|
|
1565
|
-
}(b[c]), M(a, a
|
|
1596
|
+
}(b[c]), M(a, a.$, b[c], d);
|
|
1566
1597
|
}
|
|
1567
|
-
function
|
|
1598
|
+
function Hb(a, b) {
|
|
1568
1599
|
var d = function (c, e) {
|
|
1569
|
-
if (
|
|
1600
|
+
if (zc(a))
|
|
1570
1601
|
var h = this;
|
|
1571
1602
|
else {
|
|
1572
|
-
if (void 0 === e && Q(a, c, a.
|
|
1603
|
+
if (void 0 === e && Q(a, c, a.I))
|
|
1573
1604
|
return c;
|
|
1574
|
-
h = a.s(a.
|
|
1605
|
+
h = a.s(a.Ma);
|
|
1575
1606
|
}
|
|
1576
1607
|
c = void 0 === c ? "" : String(c);
|
|
1577
1608
|
e = e ? String(e) : "";
|
|
1578
|
-
/^[gmi]*$/.test(e) || K(a, a
|
|
1609
|
+
/^[gmi]*$/.test(e) || K(a, a.T, "Invalid regexp flag: " + e);
|
|
1579
1610
|
try {
|
|
1580
|
-
var
|
|
1611
|
+
var k = new Na.RegExp(c, e);
|
|
1581
1612
|
}
|
|
1582
1613
|
catch (q) {
|
|
1583
|
-
K(a, a
|
|
1614
|
+
K(a, a.T, q.message);
|
|
1584
1615
|
}
|
|
1585
|
-
|
|
1616
|
+
Hc(a, h, k);
|
|
1586
1617
|
return h;
|
|
1587
1618
|
};
|
|
1588
|
-
a.
|
|
1589
|
-
a.
|
|
1590
|
-
a.g(b, "RegExp", a.
|
|
1591
|
-
a.g(a.
|
|
1592
|
-
a.g(a.
|
|
1593
|
-
a.g(a.
|
|
1594
|
-
a.g(a.
|
|
1595
|
-
a.
|
|
1619
|
+
a.I = a.i(d, !0);
|
|
1620
|
+
a.Ma = a.I.h.prototype;
|
|
1621
|
+
a.g(b, "RegExp", a.I, v);
|
|
1622
|
+
a.g(a.I.h.prototype, "global", void 0, A);
|
|
1623
|
+
a.g(a.I.h.prototype, "ignoreCase", void 0, A);
|
|
1624
|
+
a.g(a.I.h.prototype, "multiline", void 0, A);
|
|
1625
|
+
a.g(a.I.h.prototype, "source", "(?:)", A);
|
|
1626
|
+
a.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});");
|
|
1596
1627
|
d = function (c, e) {
|
|
1597
1628
|
function h(N) {
|
|
1598
1629
|
if (N) {
|
|
1599
|
-
var F =
|
|
1630
|
+
var F = Bc(a, N);
|
|
1600
1631
|
a.g(F, "index", N.index);
|
|
1601
1632
|
a.g(F, "input", N.input);
|
|
1602
1633
|
return F;
|
|
1603
1634
|
}
|
|
1604
1635
|
return null;
|
|
1605
1636
|
}
|
|
1606
|
-
var
|
|
1637
|
+
var k = this.data;
|
|
1607
1638
|
c = String(c);
|
|
1608
|
-
|
|
1609
|
-
|
|
1639
|
+
k.lastIndex = Number(a.G(this, "lastIndex"));
|
|
1640
|
+
Dc(a, k, e);
|
|
1610
1641
|
if (2 === a.REGEXP_MODE) {
|
|
1611
1642
|
if (La)
|
|
1612
|
-
c =
|
|
1643
|
+
c = Ec(a, "regexp.exec(string)", {
|
|
1613
1644
|
string: c,
|
|
1614
|
-
regexp:
|
|
1615
|
-
},
|
|
1645
|
+
regexp: k
|
|
1646
|
+
}, k, e), c !== Ja && (a.g(this, "lastIndex", k.lastIndex), e(h(c)));
|
|
1616
1647
|
else {
|
|
1617
|
-
var q = a.
|
|
1648
|
+
var q = a.ha(), C = Fc(a, k, q, e), U = this;
|
|
1618
1649
|
q.onmessage = function (N) {
|
|
1619
1650
|
clearTimeout(C);
|
|
1620
|
-
a.g(
|
|
1651
|
+
a.g(U, "lastIndex", N.data[1]);
|
|
1621
1652
|
e(h(N.data[0]));
|
|
1622
1653
|
};
|
|
1623
|
-
q.postMessage(["exec",
|
|
1654
|
+
q.postMessage(["exec", k, k.lastIndex, c]);
|
|
1624
1655
|
}
|
|
1625
1656
|
}
|
|
1626
1657
|
else
|
|
1627
|
-
c =
|
|
1658
|
+
c = k.exec(c), a.g(this, "lastIndex", k.lastIndex), e(h(c));
|
|
1628
1659
|
};
|
|
1629
|
-
|
|
1660
|
+
Gc(a, a.I, "exec", d);
|
|
1630
1661
|
}
|
|
1631
|
-
function
|
|
1662
|
+
function Ib(a, b) {
|
|
1632
1663
|
function d(c) {
|
|
1633
1664
|
var e = a.i(function (h) {
|
|
1634
|
-
var
|
|
1635
|
-
|
|
1636
|
-
return
|
|
1665
|
+
var k = zc(a) ? this : a.Aa(e);
|
|
1666
|
+
Ic(a, k, h);
|
|
1667
|
+
return k;
|
|
1637
1668
|
}, !0);
|
|
1638
|
-
a.g(e, "prototype", a.
|
|
1669
|
+
a.g(e, "prototype", a.Aa(a.D), v);
|
|
1639
1670
|
a.g(e.h.prototype, "name", c, v);
|
|
1640
1671
|
a.g(b, c, e, v);
|
|
1641
1672
|
return e;
|
|
1642
1673
|
}
|
|
1643
1674
|
a.D = a.i(function (c) {
|
|
1644
|
-
var e =
|
|
1645
|
-
|
|
1675
|
+
var e = zc(a) ? this : a.Aa(a.D);
|
|
1676
|
+
Ic(a, e, c);
|
|
1646
1677
|
return e;
|
|
1647
1678
|
}, !0);
|
|
1648
1679
|
a.g(b, "Error", a.D, v);
|
|
1649
1680
|
a.g(a.D.h.prototype, "message", "", v);
|
|
1650
1681
|
a.g(a.D.h.prototype, "name", "Error", v);
|
|
1651
1682
|
d("EvalError");
|
|
1652
|
-
a.
|
|
1653
|
-
a.
|
|
1654
|
-
a
|
|
1683
|
+
a.ob = d("RangeError");
|
|
1684
|
+
a.pb = d("ReferenceError");
|
|
1685
|
+
a.T = d("SyntaxError");
|
|
1655
1686
|
a.j = d("TypeError");
|
|
1656
|
-
a.
|
|
1687
|
+
a.Gb = d("URIError");
|
|
1657
1688
|
}
|
|
1658
|
-
function
|
|
1689
|
+
function Jb(a, b) {
|
|
1659
1690
|
var d = a.s(a.M);
|
|
1660
1691
|
a.g(b, "Math", d, v);
|
|
1661
1692
|
var c = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1662
1693
|
for (b = 0; b < c.length; b++)
|
|
1663
|
-
a.g(d, c[b], Math[c[b]],
|
|
1694
|
+
a.g(d, c[b], Math[c[b]], A);
|
|
1664
1695
|
c = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" ");
|
|
1665
1696
|
for (b = 0; b < c.length; b++)
|
|
1666
1697
|
a.g(d, c[b], a.i(Math[c[b]], !1), v);
|
|
1667
1698
|
}
|
|
1668
|
-
function
|
|
1699
|
+
function Kb(a, b) {
|
|
1669
1700
|
var d = a.s(a.M);
|
|
1670
1701
|
a.g(b, "JSON", d, v);
|
|
1671
1702
|
b = function (c) {
|
|
@@ -1673,24 +1704,24 @@ function Jb(a, b) {
|
|
|
1673
1704
|
var e = JSON.parse(String(c));
|
|
1674
1705
|
}
|
|
1675
1706
|
catch (h) {
|
|
1676
|
-
K(a, a
|
|
1707
|
+
K(a, a.T, h.message);
|
|
1677
1708
|
}
|
|
1678
|
-
return a.
|
|
1709
|
+
return a.Ia(e);
|
|
1679
1710
|
};
|
|
1680
1711
|
a.g(d, "parse", a.i(b, !1));
|
|
1681
1712
|
b = function (c, e, h) {
|
|
1682
|
-
e && "Function" === e.
|
|
1713
|
+
e && "Function" === e.H ? K(a, a.j, "Function replacer on JSON.stringify not supported") : e && "Array" === e.H ? (e = Ob(a, e), e = e.filter(function (q) {
|
|
1683
1714
|
return "string" === typeof q || "number" === typeof q;
|
|
1684
1715
|
})) : e = null;
|
|
1685
1716
|
"string" !== typeof h && "number" !== typeof h && (h = void 0);
|
|
1686
1717
|
c = a.R(c);
|
|
1687
1718
|
try {
|
|
1688
|
-
var
|
|
1719
|
+
var k = JSON.stringify(c, e, h);
|
|
1689
1720
|
}
|
|
1690
1721
|
catch (q) {
|
|
1691
1722
|
K(a, a.j, q.message);
|
|
1692
1723
|
}
|
|
1693
|
-
return
|
|
1724
|
+
return k;
|
|
1694
1725
|
};
|
|
1695
1726
|
a.g(d, "stringify", a.i(b, !1));
|
|
1696
1727
|
}
|
|
@@ -1700,62 +1731,62 @@ function Q(a, b, d) {
|
|
|
1700
1731
|
d = d.h.prototype;
|
|
1701
1732
|
if (b === d)
|
|
1702
1733
|
return !0;
|
|
1703
|
-
for (b =
|
|
1734
|
+
for (b = Ac(a, b); b;) {
|
|
1704
1735
|
if (b === d)
|
|
1705
1736
|
return !0;
|
|
1706
|
-
b = b.
|
|
1737
|
+
b = b.xa;
|
|
1707
1738
|
}
|
|
1708
1739
|
return !1;
|
|
1709
1740
|
}
|
|
1710
|
-
function
|
|
1741
|
+
function Hc(a, b, d) {
|
|
1711
1742
|
b.data = new RegExp(d.source, d.flags);
|
|
1712
1743
|
a.g(b, "lastIndex", d.lastIndex, v);
|
|
1713
|
-
a.g(b, "source", d.source,
|
|
1714
|
-
a.g(b, "global", d.global,
|
|
1715
|
-
a.g(b, "ignoreCase", d.ignoreCase,
|
|
1716
|
-
a.g(b, "multiline", d.multiline,
|
|
1744
|
+
a.g(b, "source", d.source, A);
|
|
1745
|
+
a.g(b, "global", d.global, A);
|
|
1746
|
+
a.g(b, "ignoreCase", d.ignoreCase, A);
|
|
1747
|
+
a.g(b, "multiline", d.multiline, A);
|
|
1717
1748
|
}
|
|
1718
|
-
function
|
|
1749
|
+
function Ic(a, b, d) {
|
|
1719
1750
|
d && a.g(b, "message", String(d), v);
|
|
1720
1751
|
d = [];
|
|
1721
1752
|
for (var c = a.o.length - 1; 0 <= c; c--) {
|
|
1722
1753
|
var e = a.o[c], h = e.node;
|
|
1723
|
-
"CallExpression" === h.type && (e = e.
|
|
1724
|
-
!h.
|
|
1725
|
-
|
|
1754
|
+
"CallExpression" === h.type && (e = e.U) && d.length && (d[d.length - 1].Ob = a.G(e, "name"));
|
|
1755
|
+
!h.X || d.length && "CallExpression" !== h.type || d.push({
|
|
1756
|
+
Nb: h.X
|
|
1726
1757
|
});
|
|
1727
1758
|
}
|
|
1728
|
-
c = String(a.
|
|
1729
|
-
h = String(a.
|
|
1759
|
+
c = String(a.G(b, "name"));
|
|
1760
|
+
h = String(a.G(b, "message"));
|
|
1730
1761
|
h = c + ": " + h + "\n";
|
|
1731
1762
|
for (c = 0; c < d.length; c++) {
|
|
1732
|
-
var
|
|
1733
|
-
e = d[c].
|
|
1734
|
-
|
|
1735
|
-
h = e ? h + (" at " + e + " (" +
|
|
1763
|
+
var k = d[c].Nb;
|
|
1764
|
+
e = d[c].Ob;
|
|
1765
|
+
k = k.source + ":" + k.start.line + ":" + k.start.ab;
|
|
1766
|
+
h = e ? h + (" at " + e + " (" + k + ")\n") : h + (" at " + k + "\n");
|
|
1736
1767
|
}
|
|
1737
1768
|
a.g(b, "stack", h.trim(), v);
|
|
1738
1769
|
}
|
|
1739
|
-
p.
|
|
1740
|
-
var a = this.
|
|
1770
|
+
p.ha = function () {
|
|
1771
|
+
var a = this.ha.Mb;
|
|
1741
1772
|
a || (a = new Blob([Oa.join("\n")], {
|
|
1742
1773
|
type: "application/javascript"
|
|
1743
|
-
}), this.
|
|
1774
|
+
}), this.ha.Mb = a);
|
|
1744
1775
|
return new Worker(URL.createObjectURL(a));
|
|
1745
1776
|
};
|
|
1746
|
-
function
|
|
1777
|
+
function Ec(a, b, d, c, e) {
|
|
1747
1778
|
var h = {
|
|
1748
1779
|
timeout: a.REGEXP_THREAD_TIMEOUT
|
|
1749
1780
|
};
|
|
1750
1781
|
try {
|
|
1751
1782
|
return La.runInNewContext(b, d, h);
|
|
1752
1783
|
}
|
|
1753
|
-
catch (
|
|
1784
|
+
catch (k) {
|
|
1754
1785
|
e(null), K(a, a.D, "RegExp Timeout: " + c);
|
|
1755
1786
|
}
|
|
1756
1787
|
return Ja;
|
|
1757
1788
|
}
|
|
1758
|
-
function
|
|
1789
|
+
function Dc(a, b, d) {
|
|
1759
1790
|
if (0 === a.REGEXP_MODE)
|
|
1760
1791
|
var c = !1;
|
|
1761
1792
|
else if (1 === a.REGEXP_MODE)
|
|
@@ -1775,7 +1806,7 @@ function Ac(a, b, d) {
|
|
|
1775
1806
|
c = !1;
|
|
1776
1807
|
c || (d(null), K(a, a.D, "Regular expressions not supported: " + b));
|
|
1777
1808
|
}
|
|
1778
|
-
function
|
|
1809
|
+
function Fc(a, b, d, c) {
|
|
1779
1810
|
return setTimeout(function () {
|
|
1780
1811
|
d.terminate();
|
|
1781
1812
|
c(null);
|
|
@@ -1785,66 +1816,66 @@ function Cc(a, b, d, c) {
|
|
|
1785
1816
|
catch (e) { }
|
|
1786
1817
|
}, a.REGEXP_THREAD_TIMEOUT);
|
|
1787
1818
|
}
|
|
1788
|
-
p.
|
|
1819
|
+
p.Aa = function (a) {
|
|
1789
1820
|
return this.s(a && a.h.prototype);
|
|
1790
1821
|
};
|
|
1791
1822
|
p.s = function (a) {
|
|
1792
1823
|
if ("object" !== typeof a)
|
|
1793
1824
|
throw Error("Non object prototype");
|
|
1794
1825
|
a = new D(a);
|
|
1795
|
-
Q(this, a, this.D) && (a.
|
|
1826
|
+
Q(this, a, this.D) && (a.H = "Error");
|
|
1796
1827
|
return a;
|
|
1797
1828
|
};
|
|
1798
|
-
function
|
|
1799
|
-
var b = a.s(a.
|
|
1829
|
+
function Cc(a) {
|
|
1830
|
+
var b = a.s(a.La);
|
|
1800
1831
|
a.g(b, "length", 0, {
|
|
1801
1832
|
configurable: !1,
|
|
1802
1833
|
enumerable: !1,
|
|
1803
1834
|
writable: !0
|
|
1804
1835
|
});
|
|
1805
|
-
b.
|
|
1836
|
+
b.H = "Array";
|
|
1806
1837
|
return b;
|
|
1807
1838
|
}
|
|
1808
|
-
function
|
|
1809
|
-
var c = a.s(a.
|
|
1810
|
-
d ? (d = a.s(a.M), a.g(c, "prototype", d, v), a.g(d, "constructor", c, v)) : c.
|
|
1811
|
-
a.g(c, "length", b,
|
|
1812
|
-
c.
|
|
1839
|
+
function Zc(a, b, d) {
|
|
1840
|
+
var c = a.s(a.Z);
|
|
1841
|
+
d ? (d = a.s(a.M), a.g(c, "prototype", d, v), a.g(d, "constructor", c, v)) : c.Ab = !0;
|
|
1842
|
+
a.g(c, "length", b, A);
|
|
1843
|
+
c.H = "Function";
|
|
1813
1844
|
return c;
|
|
1814
1845
|
}
|
|
1815
|
-
function
|
|
1816
|
-
var e =
|
|
1817
|
-
e.
|
|
1846
|
+
function Nb(a, b, d, c) {
|
|
1847
|
+
var e = Zc(a, b.oa.length, !0);
|
|
1848
|
+
e.Va = d;
|
|
1818
1849
|
e.node = b;
|
|
1819
|
-
a.g(e, "name", b.id ? String(b.id.name) : c || "",
|
|
1850
|
+
a.g(e, "name", b.id ? String(b.id.name) : c || "", A);
|
|
1820
1851
|
return e;
|
|
1821
1852
|
}
|
|
1822
1853
|
p.i = function (a, b) {
|
|
1823
|
-
b =
|
|
1824
|
-
b.
|
|
1825
|
-
a.id = this.
|
|
1826
|
-
this.g(b, "name", a.name,
|
|
1854
|
+
b = Zc(this, a.length, b);
|
|
1855
|
+
b.Ta = a;
|
|
1856
|
+
a.id = this.Ya++;
|
|
1857
|
+
this.g(b, "name", a.name, A);
|
|
1827
1858
|
return b;
|
|
1828
1859
|
};
|
|
1829
|
-
p.
|
|
1830
|
-
var b =
|
|
1831
|
-
b.
|
|
1832
|
-
a.id = this.
|
|
1833
|
-
this.g(b, "name", a.name,
|
|
1860
|
+
p.ub = function (a) {
|
|
1861
|
+
var b = Zc(this, a.length, !0);
|
|
1862
|
+
b.Za = a;
|
|
1863
|
+
a.id = this.Ya++;
|
|
1864
|
+
this.g(b, "name", a.name, A);
|
|
1834
1865
|
return b;
|
|
1835
1866
|
};
|
|
1836
|
-
p.
|
|
1867
|
+
p.Ia = function (a) {
|
|
1837
1868
|
if (a instanceof D)
|
|
1838
1869
|
throw Error("Object is already pseudo");
|
|
1839
1870
|
if (null === a || void 0 === a || !0 === a || !1 === a || "string" === typeof a || "number" === typeof a)
|
|
1840
1871
|
return a;
|
|
1841
1872
|
if (a instanceof RegExp) {
|
|
1842
|
-
var b = this.s(this.
|
|
1843
|
-
|
|
1873
|
+
var b = this.s(this.Ma);
|
|
1874
|
+
Hc(this, b, a);
|
|
1844
1875
|
return b;
|
|
1845
1876
|
}
|
|
1846
1877
|
if (a instanceof Date)
|
|
1847
|
-
return b = this.s(this.
|
|
1878
|
+
return b = this.s(this.nb), b.data = new Date(a.valueOf()), b;
|
|
1848
1879
|
if ("function" === typeof a) {
|
|
1849
1880
|
var d = this;
|
|
1850
1881
|
b = Object.getOwnPropertyDescriptor(a, "prototype");
|
|
@@ -1853,18 +1884,18 @@ p.Ga = function (a) {
|
|
|
1853
1884
|
return d.R(h);
|
|
1854
1885
|
});
|
|
1855
1886
|
e = a.apply(d, e);
|
|
1856
|
-
return d.
|
|
1887
|
+
return d.Ia(e);
|
|
1857
1888
|
}, !!b);
|
|
1858
1889
|
}
|
|
1859
1890
|
if (Array.isArray(a)) {
|
|
1860
|
-
b =
|
|
1891
|
+
b = Cc(this);
|
|
1861
1892
|
for (var c = 0; c < a.length; c++)
|
|
1862
|
-
c in a && this.g(b, c, this.
|
|
1893
|
+
c in a && this.g(b, c, this.Ia(a[c]));
|
|
1863
1894
|
return b;
|
|
1864
1895
|
}
|
|
1865
1896
|
b = this.s(this.M);
|
|
1866
1897
|
for (c in a)
|
|
1867
|
-
this.g(b, c, this.
|
|
1898
|
+
this.g(b, c, this.Ia(a[c]));
|
|
1868
1899
|
return b;
|
|
1869
1900
|
};
|
|
1870
1901
|
p.R = function (a, b) {
|
|
@@ -1872,60 +1903,60 @@ p.R = function (a, b) {
|
|
|
1872
1903
|
return a;
|
|
1873
1904
|
if (!(a instanceof D))
|
|
1874
1905
|
throw Error("Object is not pseudo");
|
|
1875
|
-
if (Q(this, a, this.
|
|
1906
|
+
if (Q(this, a, this.I))
|
|
1876
1907
|
return b = new RegExp(a.data.source, a.data.flags), b.lastIndex = a.data.lastIndex, b;
|
|
1877
|
-
if (Q(this, a, this
|
|
1908
|
+
if (Q(this, a, this.$))
|
|
1878
1909
|
return new Date(a.data.valueOf());
|
|
1879
1910
|
b = b || {
|
|
1880
|
-
|
|
1881
|
-
|
|
1911
|
+
hb: [],
|
|
1912
|
+
Sa: []
|
|
1882
1913
|
};
|
|
1883
|
-
var d = b.
|
|
1914
|
+
var d = b.hb.indexOf(a);
|
|
1884
1915
|
if (-1 !== d)
|
|
1885
|
-
return b.
|
|
1886
|
-
b.
|
|
1887
|
-
if (Q(this, a, this.
|
|
1916
|
+
return b.Sa[d];
|
|
1917
|
+
b.hb.push(a);
|
|
1918
|
+
if (Q(this, a, this.qa)) {
|
|
1888
1919
|
d = [];
|
|
1889
|
-
b.
|
|
1890
|
-
for (var c = this.
|
|
1891
|
-
|
|
1920
|
+
b.Sa.push(d);
|
|
1921
|
+
for (var c = this.G(a, "length"), e = 0; e < c; e++)
|
|
1922
|
+
$c(this, a, e) && (d[e] = this.R(this.G(a, e), b));
|
|
1892
1923
|
}
|
|
1893
1924
|
else
|
|
1894
|
-
for (c in d = {}, b.
|
|
1925
|
+
for (c in d = {}, b.Sa.push(d), a.h)
|
|
1895
1926
|
e = this.R(a.h[c], b), Object.defineProperty(d, c, {
|
|
1896
1927
|
value: e,
|
|
1897
1928
|
writable: !0,
|
|
1898
1929
|
enumerable: !0,
|
|
1899
1930
|
configurable: !0
|
|
1900
1931
|
});
|
|
1901
|
-
b.
|
|
1902
|
-
b.
|
|
1932
|
+
b.hb.pop();
|
|
1933
|
+
b.Sa.pop();
|
|
1903
1934
|
return d;
|
|
1904
1935
|
};
|
|
1905
|
-
function
|
|
1906
|
-
for (var d =
|
|
1936
|
+
function Bc(a, b) {
|
|
1937
|
+
for (var d = Cc(a), c = Object.getOwnPropertyNames(b), e = 0; e < c.length; e++)
|
|
1907
1938
|
a.g(d, c[e], b[c[e]]);
|
|
1908
1939
|
return d;
|
|
1909
1940
|
}
|
|
1910
|
-
function
|
|
1941
|
+
function Ob(a, b) {
|
|
1911
1942
|
var d = [], c;
|
|
1912
1943
|
for (c in b.h)
|
|
1913
|
-
d[c] = a.
|
|
1914
|
-
d.length = Pa(a.
|
|
1944
|
+
d[c] = a.G(b, c);
|
|
1945
|
+
d.length = Pa(a.G(b, "length")) || 0;
|
|
1915
1946
|
return d;
|
|
1916
1947
|
}
|
|
1917
|
-
function
|
|
1948
|
+
function Ac(a, b) {
|
|
1918
1949
|
switch (typeof b) {
|
|
1919
1950
|
case "number":
|
|
1920
|
-
return a.
|
|
1951
|
+
return a.aa.h.prototype;
|
|
1921
1952
|
case "boolean":
|
|
1922
|
-
return a.
|
|
1953
|
+
return a.mb.h.prototype;
|
|
1923
1954
|
case "string":
|
|
1924
|
-
return a.
|
|
1955
|
+
return a.J.h.prototype;
|
|
1925
1956
|
}
|
|
1926
|
-
return b ? b.
|
|
1957
|
+
return b ? b.xa : null;
|
|
1927
1958
|
}
|
|
1928
|
-
p.
|
|
1959
|
+
p.G = function (a, b) {
|
|
1929
1960
|
if (this.P)
|
|
1930
1961
|
throw Error("Getter not supported in that context");
|
|
1931
1962
|
b = String(b);
|
|
@@ -1933,26 +1964,26 @@ p.F = function (a, b) {
|
|
|
1933
1964
|
if ("object" === typeof a && !(a instanceof D))
|
|
1934
1965
|
throw TypeError("Expecting native value or pseudo object");
|
|
1935
1966
|
if ("length" === b) {
|
|
1936
|
-
if (Q(this, a, this.
|
|
1967
|
+
if (Q(this, a, this.J))
|
|
1937
1968
|
return String(a).length;
|
|
1938
1969
|
}
|
|
1939
|
-
else if (64 > b.charCodeAt(0) && Q(this, a, this.
|
|
1970
|
+
else if (64 > b.charCodeAt(0) && Q(this, a, this.J)) {
|
|
1940
1971
|
var d = Qa(b);
|
|
1941
1972
|
if (!isNaN(d) && d < String(a).length)
|
|
1942
1973
|
return String(a)[d];
|
|
1943
1974
|
}
|
|
1944
1975
|
do
|
|
1945
1976
|
if (a.h && b in a.h)
|
|
1946
|
-
return (d = a.
|
|
1947
|
-
while (a =
|
|
1977
|
+
return (d = a.V[b]) ? (this.P = !0, d) : a.h[b];
|
|
1978
|
+
while (a = Ac(this, a));
|
|
1948
1979
|
};
|
|
1949
|
-
function
|
|
1980
|
+
function $c(a, b, d) {
|
|
1950
1981
|
if (!(b instanceof D))
|
|
1951
1982
|
throw TypeError("Primitive data type has no properties");
|
|
1952
1983
|
d = String(d);
|
|
1953
|
-
if ("length" === d && Q(a, b, a.
|
|
1984
|
+
if ("length" === d && Q(a, b, a.J))
|
|
1954
1985
|
return !0;
|
|
1955
|
-
if (Q(a, b, a.
|
|
1986
|
+
if (Q(a, b, a.J)) {
|
|
1956
1987
|
var c = Qa(d);
|
|
1957
1988
|
if (!isNaN(c) && c < String(b).length)
|
|
1958
1989
|
return !0;
|
|
@@ -1960,27 +1991,27 @@ function Xc(a, b, d) {
|
|
|
1960
1991
|
do
|
|
1961
1992
|
if (b.h && d in b.h)
|
|
1962
1993
|
return !0;
|
|
1963
|
-
while (b =
|
|
1994
|
+
while (b = Ac(a, b));
|
|
1964
1995
|
return !1;
|
|
1965
1996
|
}
|
|
1966
1997
|
p.g = function (a, b, d, c) {
|
|
1967
|
-
if (this.
|
|
1998
|
+
if (this.Ka)
|
|
1968
1999
|
throw Error("Setter not supported in that context");
|
|
1969
2000
|
b = String(b);
|
|
1970
2001
|
void 0 !== a && null !== a || K(this, this.j, "Cannot set property '" + b + "' of " + a);
|
|
1971
2002
|
if ("object" === typeof a && !(a instanceof D))
|
|
1972
2003
|
throw TypeError("Expecting native value or pseudo object");
|
|
1973
2004
|
c && ("get" in c || "set" in c) && ("value" in c || "writable" in c) && K(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1974
|
-
var e = !this.o ||
|
|
2005
|
+
var e = !this.o || ad(this).S;
|
|
1975
2006
|
if (a instanceof D) {
|
|
1976
|
-
if (Q(this, a, this.
|
|
2007
|
+
if (Q(this, a, this.J)) {
|
|
1977
2008
|
var h = Qa(b);
|
|
1978
2009
|
if ("length" === b || !isNaN(h) && h < String(a).length) {
|
|
1979
2010
|
e && K(this, this.j, "Cannot assign to read only property '" + b + "' of String '" + a.data + "'");
|
|
1980
2011
|
return;
|
|
1981
2012
|
}
|
|
1982
2013
|
}
|
|
1983
|
-
if ("Array" === a.
|
|
2014
|
+
if ("Array" === a.H)
|
|
1984
2015
|
if (h = a.h.length, "length" === b) {
|
|
1985
2016
|
if (c) {
|
|
1986
2017
|
if (!("value" in c))
|
|
@@ -1988,44 +2019,44 @@ p.g = function (a, b, d, c) {
|
|
|
1988
2019
|
d = c.value;
|
|
1989
2020
|
}
|
|
1990
2021
|
d = Pa(d);
|
|
1991
|
-
isNaN(d) && K(this, this.
|
|
2022
|
+
isNaN(d) && K(this, this.ob, "Invalid array length");
|
|
1992
2023
|
if (d < h)
|
|
1993
|
-
for (
|
|
1994
|
-
var
|
|
1995
|
-
!isNaN(
|
|
2024
|
+
for (k in a.h) {
|
|
2025
|
+
var k = Qa(k);
|
|
2026
|
+
!isNaN(k) && d <= k && delete a.h[k];
|
|
1996
2027
|
}
|
|
1997
2028
|
}
|
|
1998
2029
|
else
|
|
1999
|
-
isNaN(
|
|
2030
|
+
isNaN(k = Qa(b)) || (a.h.length = Math.max(h, k + 1));
|
|
2000
2031
|
if (!a.preventExtensions || b in a.h) {
|
|
2001
2032
|
if (c) {
|
|
2002
2033
|
e = {};
|
|
2003
|
-
"get" in c && c.get && (a.
|
|
2004
|
-
"set" in c && c.set && (a.
|
|
2034
|
+
"get" in c && c.get && (a.V[b] = c.get, e.get = this.g.ac);
|
|
2035
|
+
"set" in c && c.set && (a.Y[b] = c.set, e.set = this.g.bc);
|
|
2005
2036
|
"configurable" in c && (e.configurable = c.configurable);
|
|
2006
2037
|
"enumerable" in c && (e.enumerable = c.enumerable);
|
|
2007
|
-
"writable" in c && (e.writable = c.writable, delete a.
|
|
2008
|
-
"value" in c ? (e.value = c.value, delete a.
|
|
2038
|
+
"writable" in c && (e.writable = c.writable, delete a.V[b], delete a.Y[b]);
|
|
2039
|
+
"value" in c ? (e.value = c.value, delete a.V[b], delete a.Y[b]) : d !== Ia && (e.value = d, delete a.V[b], delete a.Y[b]);
|
|
2009
2040
|
try {
|
|
2010
2041
|
Object.defineProperty(a.h, b, e);
|
|
2011
2042
|
}
|
|
2012
2043
|
catch (q) {
|
|
2013
2044
|
K(this, this.j, "Cannot redefine property: " + b);
|
|
2014
2045
|
}
|
|
2015
|
-
"get" in c && !c.get && delete a.
|
|
2016
|
-
"set" in c && !c.set && delete a.
|
|
2046
|
+
"get" in c && !c.get && delete a.V[b];
|
|
2047
|
+
"set" in c && !c.set && delete a.Y[b];
|
|
2017
2048
|
}
|
|
2018
2049
|
else {
|
|
2019
2050
|
if (d === Ia)
|
|
2020
2051
|
throw ReferenceError("Value not specified");
|
|
2021
2052
|
for (c = a; !(b in c.h);)
|
|
2022
|
-
if (c =
|
|
2053
|
+
if (c = Ac(this, c), !c) {
|
|
2023
2054
|
c = a;
|
|
2024
2055
|
break;
|
|
2025
2056
|
}
|
|
2026
|
-
if (c.
|
|
2027
|
-
return this.
|
|
2028
|
-
if (c.
|
|
2057
|
+
if (c.Y && c.Y[b])
|
|
2058
|
+
return this.Ka = !0, c.Y[b];
|
|
2059
|
+
if (c.V && c.V[b])
|
|
2029
2060
|
e && K(this, this.j, "Cannot set property '" + b + "' of object '" + a + "' which only has a getter");
|
|
2030
2061
|
else
|
|
2031
2062
|
try {
|
|
@@ -2042,19 +2073,19 @@ p.g = function (a, b, d, c) {
|
|
|
2042
2073
|
else
|
|
2043
2074
|
e && K(this, this.j, "Can't create property '" + b + "' on '" + a + "'");
|
|
2044
2075
|
};
|
|
2045
|
-
p.g.
|
|
2076
|
+
p.g.ac = function () {
|
|
2046
2077
|
throw Error("Placeholder getter");
|
|
2047
2078
|
};
|
|
2048
|
-
p.g.
|
|
2079
|
+
p.g.bc = function () {
|
|
2049
2080
|
throw Error("Placeholder setter");
|
|
2050
2081
|
};
|
|
2051
2082
|
function M(a, b, d, c) {
|
|
2052
2083
|
a.g(b.h.prototype, d, a.i(c, !1), v);
|
|
2053
2084
|
}
|
|
2054
|
-
function
|
|
2055
|
-
a.g(b.h.prototype, d, a.
|
|
2085
|
+
function Gc(a, b, d, c) {
|
|
2086
|
+
a.g(b.h.prototype, d, a.ub(c), v);
|
|
2056
2087
|
}
|
|
2057
|
-
function
|
|
2088
|
+
function ad(a) {
|
|
2058
2089
|
a = a.o[a.o.length - 1].scope;
|
|
2059
2090
|
if (!a)
|
|
2060
2091
|
throw Error("No scope found");
|
|
@@ -2066,33 +2097,33 @@ function ea(a, b, d) {
|
|
|
2066
2097
|
c = !0;
|
|
2067
2098
|
else {
|
|
2068
2099
|
var e = b.body && b.body[0];
|
|
2069
|
-
e && e.
|
|
2100
|
+
e && e.la && "Literal" === e.la.type && "use strict" === e.la.value && (c = !0);
|
|
2070
2101
|
}
|
|
2071
2102
|
e = a.s(null);
|
|
2072
|
-
c = new
|
|
2073
|
-
d ||
|
|
2103
|
+
c = new bd(d, c, e);
|
|
2104
|
+
d || bb(a, c.object);
|
|
2074
2105
|
Ra(a, b, c);
|
|
2075
2106
|
return c;
|
|
2076
2107
|
}
|
|
2077
|
-
function
|
|
2108
|
+
function cd(a, b, d) {
|
|
2078
2109
|
if (!b)
|
|
2079
2110
|
throw Error("parentScope required");
|
|
2080
2111
|
a = d || a.s(null);
|
|
2081
|
-
return new
|
|
2112
|
+
return new bd(b, b.S, a);
|
|
2082
2113
|
}
|
|
2083
|
-
function
|
|
2084
|
-
for (var d =
|
|
2114
|
+
function dd(a, b) {
|
|
2115
|
+
for (var d = ad(a); d && d !== a.N;) {
|
|
2085
2116
|
if (b in d.object.h)
|
|
2086
2117
|
return d.object.h[b];
|
|
2087
|
-
d = d.
|
|
2118
|
+
d = d.Va;
|
|
2088
2119
|
}
|
|
2089
|
-
if (d === a.
|
|
2090
|
-
return a.
|
|
2120
|
+
if (d === a.N && $c(a, d.object, b))
|
|
2121
|
+
return a.G(d.object, b);
|
|
2091
2122
|
d = a.o[a.o.length - 1].node;
|
|
2092
|
-
"UnaryExpression" === d.type && "typeof" === d.operator || K(a, a.
|
|
2123
|
+
"UnaryExpression" === d.type && "typeof" === d.operator || K(a, a.pb, b + " is not defined");
|
|
2093
2124
|
}
|
|
2094
|
-
function
|
|
2095
|
-
for (var c =
|
|
2125
|
+
function ed(a, b, d) {
|
|
2126
|
+
for (var c = ad(a), e = c.S; c && c !== a.N;) {
|
|
2096
2127
|
if (b in c.object.h) {
|
|
2097
2128
|
try {
|
|
2098
2129
|
c.object.h[b] = d;
|
|
@@ -2102,21 +2133,21 @@ function bd(a, b, d) {
|
|
|
2102
2133
|
}
|
|
2103
2134
|
return;
|
|
2104
2135
|
}
|
|
2105
|
-
c = c.
|
|
2136
|
+
c = c.Va;
|
|
2106
2137
|
}
|
|
2107
|
-
if (c === a.
|
|
2138
|
+
if (c === a.N && (!e || $c(a, c.object, b)))
|
|
2108
2139
|
return a.g(c.object, b, d);
|
|
2109
|
-
K(a, a.
|
|
2140
|
+
K(a, a.pb, b + " is not defined");
|
|
2110
2141
|
}
|
|
2111
2142
|
function Ra(a, b, d) {
|
|
2112
|
-
if (b.
|
|
2113
|
-
var c = b.
|
|
2143
|
+
if (b.jb)
|
|
2144
|
+
var c = b.jb;
|
|
2114
2145
|
else {
|
|
2115
2146
|
c = Object.create(null);
|
|
2116
2147
|
switch (b.type) {
|
|
2117
2148
|
case "VariableDeclaration":
|
|
2118
|
-
for (var e = 0; e < b.
|
|
2119
|
-
c[b.
|
|
2149
|
+
for (var e = 0; e < b.fa.length; e++)
|
|
2150
|
+
c[b.fa[e].id.name] = !0;
|
|
2120
2151
|
break;
|
|
2121
2152
|
case "FunctionDeclaration":
|
|
2122
2153
|
c[b.id.name] = b;
|
|
@@ -2134,47 +2165,47 @@ function Ra(a, b, d) {
|
|
|
2134
2165
|
case "TryStatement":
|
|
2135
2166
|
case "WithStatement":
|
|
2136
2167
|
case "WhileStatement":
|
|
2137
|
-
var h = b.constructor,
|
|
2138
|
-
for (
|
|
2139
|
-
if ("loc" !==
|
|
2140
|
-
var q = b[
|
|
2168
|
+
var h = b.constructor, k;
|
|
2169
|
+
for (k in b)
|
|
2170
|
+
if ("loc" !== k) {
|
|
2171
|
+
var q = b[k];
|
|
2141
2172
|
if (q && "object" === typeof q)
|
|
2142
2173
|
if (Array.isArray(q))
|
|
2143
2174
|
for (e = 0; e < q.length; e++) {
|
|
2144
2175
|
if (q[e] && q[e].constructor === h) {
|
|
2145
2176
|
var C = Ra(a, q[e], d);
|
|
2146
|
-
for (
|
|
2147
|
-
c[
|
|
2177
|
+
for (k in C)
|
|
2178
|
+
c[k] = C[k];
|
|
2148
2179
|
}
|
|
2149
2180
|
}
|
|
2150
2181
|
else if (q.constructor === h)
|
|
2151
|
-
for (
|
|
2152
|
-
c[
|
|
2182
|
+
for (k in C = Ra(a, q, d), C)
|
|
2183
|
+
c[k] = C[k];
|
|
2153
2184
|
}
|
|
2154
2185
|
}
|
|
2155
|
-
b.
|
|
2186
|
+
b.jb = c;
|
|
2156
2187
|
}
|
|
2157
|
-
for (
|
|
2158
|
-
!0 === c[
|
|
2188
|
+
for (k in c)
|
|
2189
|
+
!0 === c[k] ? a.g(d.object, k, void 0, wa) : a.g(d.object, k, Nb(a, c[k], d), wa);
|
|
2159
2190
|
return c;
|
|
2160
2191
|
}
|
|
2161
|
-
function
|
|
2192
|
+
function zc(a) {
|
|
2162
2193
|
return a.o[a.o.length - 1].isConstructor;
|
|
2163
2194
|
}
|
|
2164
|
-
function
|
|
2165
|
-
return b[0] === Ha ?
|
|
2195
|
+
function fd(a, b) {
|
|
2196
|
+
return b[0] === Ha ? dd(a, b[1]) : a.G(b[0], b[1]);
|
|
2166
2197
|
}
|
|
2167
|
-
function
|
|
2168
|
-
return b[0] === Ha ?
|
|
2198
|
+
function gd(a, b, d) {
|
|
2199
|
+
return b[0] === Ha ? ed(a, b[1], d) : a.g(b[0], b[1], d);
|
|
2169
2200
|
}
|
|
2170
2201
|
function K(a, b, d) {
|
|
2171
|
-
if (!a.
|
|
2202
|
+
if (!a.N)
|
|
2172
2203
|
throw void 0 === d ? b : d;
|
|
2173
|
-
void 0 !== d && b instanceof D && (b = a.
|
|
2174
|
-
|
|
2175
|
-
throw
|
|
2204
|
+
void 0 !== d && b instanceof D && (b = a.Aa(b), Ic(a, b, d));
|
|
2205
|
+
hd(a, 4, b);
|
|
2206
|
+
throw xa;
|
|
2176
2207
|
}
|
|
2177
|
-
function
|
|
2208
|
+
function hd(a, b, d, c) {
|
|
2178
2209
|
if (0 === b)
|
|
2179
2210
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
2180
2211
|
var e = a.o;
|
|
@@ -2182,7 +2213,7 @@ function ed(a, b, d, c) {
|
|
|
2182
2213
|
var h = e[e.length - 1];
|
|
2183
2214
|
switch (h.node.type) {
|
|
2184
2215
|
case "TryStatement":
|
|
2185
|
-
h.
|
|
2216
|
+
h.ea = {
|
|
2186
2217
|
type: b,
|
|
2187
2218
|
value: d,
|
|
2188
2219
|
label: c
|
|
@@ -2202,12 +2233,12 @@ function ed(a, b, d, c) {
|
|
|
2202
2233
|
break a;
|
|
2203
2234
|
}
|
|
2204
2235
|
if (1 === b) {
|
|
2205
|
-
if (c ? h.labels && -1 !== h.labels.indexOf(c) : h.
|
|
2236
|
+
if (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W || h.Zb) {
|
|
2206
2237
|
e.pop();
|
|
2207
2238
|
return;
|
|
2208
2239
|
}
|
|
2209
2240
|
}
|
|
2210
|
-
else if (2 === b && (c ? h.labels && -1 !== h.labels.indexOf(c) : h.
|
|
2241
|
+
else if (2 === b && (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W))
|
|
2211
2242
|
return;
|
|
2212
2243
|
}
|
|
2213
2244
|
Q(a, d, a.D) ? (b = {
|
|
@@ -2217,7 +2248,7 @@ function ed(a, b, d, c) {
|
|
|
2217
2248
|
SyntaxError: SyntaxError,
|
|
2218
2249
|
TypeError: TypeError,
|
|
2219
2250
|
URIError: URIError
|
|
2220
|
-
}, c = String(a.
|
|
2251
|
+
}, c = String(a.G(d, "name")), e = a.G(d, "message").valueOf(), b = (b[c] || Error)(e), b.stack = String(a.G(d, "stack"))) : b = String(d);
|
|
2221
2252
|
a.value = b;
|
|
2222
2253
|
throw b;
|
|
2223
2254
|
}
|
|
@@ -2231,15 +2262,15 @@ function R(a, b) {
|
|
|
2231
2262
|
case "CallExpression":
|
|
2232
2263
|
return R(a, b.callee) + "(...)";
|
|
2233
2264
|
case "ConditionalExpression":
|
|
2234
|
-
return R(a, b.test) + " ? " + R(a, b.
|
|
2265
|
+
return R(a, b.test) + " ? " + R(a, b.da) + " : " + R(a, b.alternate);
|
|
2235
2266
|
case "Identifier":
|
|
2236
2267
|
return b.name;
|
|
2237
2268
|
case "Literal":
|
|
2238
2269
|
return b.raw;
|
|
2239
2270
|
case "MemberExpression":
|
|
2240
2271
|
var d = R(a, b.object);
|
|
2241
|
-
a = R(a, b.
|
|
2242
|
-
return b
|
|
2272
|
+
a = R(a, b.Wa);
|
|
2273
|
+
return b.bb ? d + "[" + a + "]" : d + "." + a;
|
|
2243
2274
|
case "NewExpression":
|
|
2244
2275
|
return "new " + R(a, b.callee) + "(...)";
|
|
2245
2276
|
case "ObjectExpression":
|
|
@@ -2247,79 +2278,120 @@ function R(a, b) {
|
|
|
2247
2278
|
case "ThisExpression":
|
|
2248
2279
|
return "this";
|
|
2249
2280
|
case "UnaryExpression":
|
|
2250
|
-
return b.operator + " " + R(a, b.
|
|
2281
|
+
return b.operator + " " + R(a, b.K);
|
|
2251
2282
|
case "UpdateExpression":
|
|
2252
|
-
return d = R(a, b.
|
|
2283
|
+
return d = R(a, b.K), b.prefix ? b.operator + d : d + b.operator;
|
|
2253
2284
|
}
|
|
2254
2285
|
return "???";
|
|
2255
2286
|
}
|
|
2256
|
-
function
|
|
2287
|
+
function Lb(a, b, d) {
|
|
2288
|
+
var c = a.o[a.o.length - 1], e = Array.from(d), h = e.shift();
|
|
2289
|
+
d = Math.max(Number(e.shift() || 0), 0);
|
|
2290
|
+
var k = a.ya();
|
|
2291
|
+
if (h instanceof D && "Function" === h.H) {
|
|
2292
|
+
var q = h;
|
|
2293
|
+
k.type = "CallExpression";
|
|
2294
|
+
c = c.scope;
|
|
2295
|
+
}
|
|
2296
|
+
else {
|
|
2297
|
+
try {
|
|
2298
|
+
var C = da(String(h), "taskCode" + a.ic++);
|
|
2299
|
+
}
|
|
2300
|
+
catch (U) {
|
|
2301
|
+
K(a, a.T, "Invalid code: " + U.message);
|
|
2302
|
+
}
|
|
2303
|
+
k.type = "EvalProgram_";
|
|
2304
|
+
k.body = C.body;
|
|
2305
|
+
c = c.node.arguments[0];
|
|
2306
|
+
fa(k, c ? c.start : void 0, c ? c.end : void 0);
|
|
2307
|
+
c = a.N;
|
|
2308
|
+
e.length = 0;
|
|
2309
|
+
}
|
|
2310
|
+
b = new id(q, e, c, k, b ? d : -1);
|
|
2311
|
+
ab(a, b, d);
|
|
2312
|
+
return b.Db;
|
|
2313
|
+
}
|
|
2314
|
+
function ab(a, b, d) {
|
|
2315
|
+
b.time = Date.now() + d;
|
|
2316
|
+
a.ca.push(b);
|
|
2317
|
+
a.ca.sort(function (c, e) {
|
|
2318
|
+
return c.time - e.time;
|
|
2319
|
+
});
|
|
2320
|
+
}
|
|
2321
|
+
function Mb(a, b) {
|
|
2322
|
+
for (var d = 0; d < a.ca.length; d++)
|
|
2323
|
+
if (a.ca[d].Db == b) {
|
|
2324
|
+
a.ca.splice(d, 1);
|
|
2325
|
+
break;
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
function jd(a, b, d) {
|
|
2257
2329
|
if (!a.P)
|
|
2258
2330
|
throw Error("Unexpected call to createGetter");
|
|
2259
2331
|
a.P = !1;
|
|
2260
2332
|
d = Array.isArray(d) ? d[0] : d;
|
|
2261
|
-
var c = a.
|
|
2333
|
+
var c = a.ya();
|
|
2262
2334
|
c.type = "CallExpression";
|
|
2263
2335
|
a = new u(c, a.o[a.o.length - 1].scope);
|
|
2264
|
-
a.
|
|
2265
|
-
a.
|
|
2266
|
-
a.
|
|
2267
|
-
a.
|
|
2268
|
-
a.
|
|
2336
|
+
a.ia = 2;
|
|
2337
|
+
a.B = d;
|
|
2338
|
+
a.U = b;
|
|
2339
|
+
a.Qa = !0;
|
|
2340
|
+
a.F = [];
|
|
2269
2341
|
return a;
|
|
2270
2342
|
}
|
|
2271
|
-
function
|
|
2272
|
-
if (!a.
|
|
2343
|
+
function kd(a, b, d, c) {
|
|
2344
|
+
if (!a.Ka)
|
|
2273
2345
|
throw Error("Unexpected call to createSetter");
|
|
2274
|
-
a.
|
|
2275
|
-
d = Array.isArray(d) ? d[0] : a.
|
|
2276
|
-
var e = a.
|
|
2346
|
+
a.Ka = !1;
|
|
2347
|
+
d = Array.isArray(d) ? d[0] : a.Na;
|
|
2348
|
+
var e = a.ya();
|
|
2277
2349
|
e.type = "CallExpression";
|
|
2278
2350
|
a = new u(e, a.o[a.o.length - 1].scope);
|
|
2279
|
-
a.
|
|
2280
|
-
a.
|
|
2281
|
-
a.
|
|
2282
|
-
a.
|
|
2283
|
-
a.
|
|
2351
|
+
a.ia = 2;
|
|
2352
|
+
a.B = d;
|
|
2353
|
+
a.U = b;
|
|
2354
|
+
a.Qa = !0;
|
|
2355
|
+
a.F = [c];
|
|
2284
2356
|
return a;
|
|
2285
2357
|
}
|
|
2286
|
-
function
|
|
2287
|
-
return void 0 === b || null === b ? a.
|
|
2358
|
+
function ld(a, b) {
|
|
2359
|
+
return void 0 === b || null === b ? a.Na : b instanceof D ? b : (a = a.s(Ac(a, b)), a.data = b, a);
|
|
2288
2360
|
}
|
|
2289
|
-
p.
|
|
2290
|
-
return this.
|
|
2361
|
+
p.Xb = function () {
|
|
2362
|
+
return this.N;
|
|
2291
2363
|
};
|
|
2292
|
-
p.
|
|
2364
|
+
p.Yb = function () {
|
|
2293
2365
|
return this.o;
|
|
2294
2366
|
};
|
|
2295
|
-
p.
|
|
2367
|
+
p.ec = function (a) {
|
|
2296
2368
|
this.o = a;
|
|
2297
2369
|
};
|
|
2298
2370
|
function u(a, b) {
|
|
2299
2371
|
this.node = a;
|
|
2300
2372
|
this.scope = b;
|
|
2301
2373
|
}
|
|
2302
|
-
function
|
|
2303
|
-
this.
|
|
2374
|
+
function bd(a, b, d) {
|
|
2375
|
+
this.Va = a;
|
|
2304
2376
|
this.S = b;
|
|
2305
2377
|
this.object = d;
|
|
2306
2378
|
}
|
|
2307
2379
|
function D(a) {
|
|
2308
|
-
this.
|
|
2309
|
-
this.
|
|
2380
|
+
this.V = Object.create(null);
|
|
2381
|
+
this.Y = Object.create(null);
|
|
2310
2382
|
this.h = Object.create(null);
|
|
2311
|
-
this.
|
|
2383
|
+
this.xa = a;
|
|
2312
2384
|
}
|
|
2313
2385
|
p = D.prototype;
|
|
2314
|
-
p.
|
|
2315
|
-
p.
|
|
2386
|
+
p.xa = null;
|
|
2387
|
+
p.H = "Object";
|
|
2316
2388
|
p.data = null;
|
|
2317
2389
|
p.toString = function () {
|
|
2318
2390
|
if (!Ma)
|
|
2319
2391
|
return "[object Interpreter.Object]";
|
|
2320
2392
|
if (!(this instanceof D))
|
|
2321
2393
|
return String(this);
|
|
2322
|
-
if ("Array" === this.
|
|
2394
|
+
if ("Array" === this.H) {
|
|
2323
2395
|
var a = Ka;
|
|
2324
2396
|
a.push(this);
|
|
2325
2397
|
try {
|
|
@@ -2336,7 +2408,7 @@ p.toString = function () {
|
|
|
2336
2408
|
}
|
|
2337
2409
|
return b.join(",");
|
|
2338
2410
|
}
|
|
2339
|
-
if ("Error" === this.
|
|
2411
|
+
if ("Error" === this.H) {
|
|
2340
2412
|
a = Ka;
|
|
2341
2413
|
if (-1 !== a.indexOf(this))
|
|
2342
2414
|
return "[object Error]";
|
|
@@ -2346,14 +2418,14 @@ p.toString = function () {
|
|
|
2346
2418
|
b = d.h.name;
|
|
2347
2419
|
break;
|
|
2348
2420
|
}
|
|
2349
|
-
while (d = d.
|
|
2421
|
+
while (d = d.xa);
|
|
2350
2422
|
d = this;
|
|
2351
2423
|
do
|
|
2352
2424
|
if ("message" in d.h) {
|
|
2353
2425
|
c = d.h.message;
|
|
2354
2426
|
break;
|
|
2355
2427
|
}
|
|
2356
|
-
while (d = d.
|
|
2428
|
+
while (d = d.xa);
|
|
2357
2429
|
a.push(this);
|
|
2358
2430
|
try {
|
|
2359
2431
|
b = b && String(b), c = c && String(c);
|
|
@@ -2363,39 +2435,49 @@ p.toString = function () {
|
|
|
2363
2435
|
}
|
|
2364
2436
|
return c ? b + ": " + c : String(b);
|
|
2365
2437
|
}
|
|
2366
|
-
return null !== this.data ? String(this.data) : "[object " + this.
|
|
2438
|
+
return null !== this.data ? String(this.data) : "[object " + this.H + "]";
|
|
2367
2439
|
};
|
|
2368
2440
|
p.valueOf = function () {
|
|
2369
2441
|
return !Ma || void 0 === this.data || null === this.data || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
2370
2442
|
};
|
|
2443
|
+
function id(a, b, d, c, e) {
|
|
2444
|
+
this.zb = a;
|
|
2445
|
+
this.Lb = b;
|
|
2446
|
+
this.scope = d;
|
|
2447
|
+
this.node = c;
|
|
2448
|
+
this.interval = e;
|
|
2449
|
+
this.Db = ++md;
|
|
2450
|
+
this.time = 0;
|
|
2451
|
+
}
|
|
2452
|
+
var md = 0;
|
|
2371
2453
|
t.prototype.stepArrayExpression = function (a, b, d) {
|
|
2372
2454
|
d = d.elements;
|
|
2373
2455
|
var c = b.A || 0;
|
|
2374
|
-
b.
|
|
2456
|
+
b.Oa ? (this.g(b.Oa, c, b.value), c++) : (b.Oa = Cc(this), b.Oa.h.length = d.length);
|
|
2375
2457
|
for (; c < d.length;) {
|
|
2376
2458
|
if (d[c])
|
|
2377
2459
|
return b.A = c, new u(d[c], b.scope);
|
|
2378
2460
|
c++;
|
|
2379
2461
|
}
|
|
2380
2462
|
a.pop();
|
|
2381
|
-
a[a.length - 1].value = b.
|
|
2463
|
+
a[a.length - 1].value = b.Oa;
|
|
2382
2464
|
};
|
|
2383
2465
|
t.prototype.stepAssignmentExpression = function (a, b, d) {
|
|
2384
|
-
if (!b.
|
|
2385
|
-
return b.
|
|
2386
|
-
if (!b.
|
|
2387
|
-
b.
|
|
2388
|
-
b.
|
|
2389
|
-
if (!b.
|
|
2390
|
-
return b.
|
|
2391
|
-
b.
|
|
2392
|
-
"=" === d.operator && "Identifier" === d.left.type && (b.
|
|
2466
|
+
if (!b.ja)
|
|
2467
|
+
return b.ja = !0, b = new u(d.left, b.scope), b.sa = !0, b;
|
|
2468
|
+
if (!b.Da) {
|
|
2469
|
+
b.Fa || (b.Fa = b.value);
|
|
2470
|
+
b.Ba && (b.ma = b.value);
|
|
2471
|
+
if (!b.Ba && "=" !== d.operator && (a = fd(this, b.Fa), b.ma = a, this.P))
|
|
2472
|
+
return b.Ba = !0, jd(this, a, b.Fa);
|
|
2473
|
+
b.Da = !0;
|
|
2474
|
+
"=" === d.operator && "Identifier" === d.left.type && (b.Pa = d.left.name);
|
|
2393
2475
|
return new u(d.right, b.scope);
|
|
2394
2476
|
}
|
|
2395
|
-
if (b.
|
|
2396
|
-
a.pop(), a[a.length - 1].value = b.
|
|
2477
|
+
if (b.ta)
|
|
2478
|
+
a.pop(), a[a.length - 1].value = b.ib;
|
|
2397
2479
|
else {
|
|
2398
|
-
var c = b.
|
|
2480
|
+
var c = b.ma, e = b.value;
|
|
2399
2481
|
switch (d.operator) {
|
|
2400
2482
|
case "=":
|
|
2401
2483
|
c = e;
|
|
@@ -2436,19 +2518,19 @@ t.prototype.stepAssignmentExpression = function (a, b, d) {
|
|
|
2436
2518
|
default:
|
|
2437
2519
|
throw SyntaxError("Unknown assignment expression: " + d.operator);
|
|
2438
2520
|
}
|
|
2439
|
-
if (d =
|
|
2440
|
-
return b.
|
|
2521
|
+
if (d = gd(this, b.Fa, c))
|
|
2522
|
+
return b.ta = !0, b.ib = c, kd(this, d, b.Fa, c);
|
|
2441
2523
|
a.pop();
|
|
2442
2524
|
a[a.length - 1].value = c;
|
|
2443
2525
|
}
|
|
2444
2526
|
};
|
|
2445
2527
|
t.prototype.stepBinaryExpression = function (a, b, d) {
|
|
2446
|
-
if (!b.
|
|
2447
|
-
return b.
|
|
2448
|
-
if (!b.
|
|
2449
|
-
return b.
|
|
2528
|
+
if (!b.ja)
|
|
2529
|
+
return b.ja = !0, new u(d.left, b.scope);
|
|
2530
|
+
if (!b.Da)
|
|
2531
|
+
return b.Da = !0, b.ma = b.value, new u(d.right, b.scope);
|
|
2450
2532
|
a.pop();
|
|
2451
|
-
var c = b.
|
|
2533
|
+
var c = b.ma;
|
|
2452
2534
|
b = b.value;
|
|
2453
2535
|
switch (d.operator) {
|
|
2454
2536
|
case "==":
|
|
@@ -2510,10 +2592,10 @@ t.prototype.stepBinaryExpression = function (a, b, d) {
|
|
|
2510
2592
|
break;
|
|
2511
2593
|
case "in":
|
|
2512
2594
|
b instanceof D || K(this, this.j, "'in' expects an object, not '" + b + "'");
|
|
2513
|
-
d =
|
|
2595
|
+
d = $c(this, b, c);
|
|
2514
2596
|
break;
|
|
2515
2597
|
case "instanceof":
|
|
2516
|
-
Q(this, b, this.
|
|
2598
|
+
Q(this, b, this.O) || K(this, this.j, "'instanceof' expects an object, not '" + b + "'");
|
|
2517
2599
|
d = c instanceof D ? Q(this, c, b) : !1;
|
|
2518
2600
|
break;
|
|
2519
2601
|
default:
|
|
@@ -2528,111 +2610,111 @@ t.prototype.stepBlockStatement = function (a, b, d) {
|
|
|
2528
2610
|
a.pop();
|
|
2529
2611
|
};
|
|
2530
2612
|
t.prototype.stepBreakStatement = function (a, b, d) {
|
|
2531
|
-
|
|
2613
|
+
hd(this, 1, void 0, d.label && d.label.name);
|
|
2532
2614
|
};
|
|
2533
|
-
t.prototype.
|
|
2615
|
+
t.prototype.Hb = 0;
|
|
2534
2616
|
t.prototype.stepCallExpression = function (a, b, d) {
|
|
2535
|
-
if (!b.
|
|
2536
|
-
b.
|
|
2617
|
+
if (!b.ia) {
|
|
2618
|
+
b.ia = 1;
|
|
2537
2619
|
var c = new u(d.callee, b.scope);
|
|
2538
|
-
c.
|
|
2620
|
+
c.sa = !0;
|
|
2539
2621
|
return c;
|
|
2540
2622
|
}
|
|
2541
|
-
if (1 === b.
|
|
2542
|
-
b.
|
|
2623
|
+
if (1 === b.ia) {
|
|
2624
|
+
b.ia = 2;
|
|
2543
2625
|
var e = b.value;
|
|
2544
2626
|
if (Array.isArray(e)) {
|
|
2545
|
-
if (b.
|
|
2546
|
-
return b.
|
|
2627
|
+
if (b.U = fd(this, e), e[0] === Ha ? b.Pb = "eval" === e[1] : b.B = e[0], e = b.U, this.P)
|
|
2628
|
+
return b.ia = 1, jd(this, e, b.value);
|
|
2547
2629
|
}
|
|
2548
2630
|
else
|
|
2549
|
-
b.
|
|
2550
|
-
b.
|
|
2631
|
+
b.U = e;
|
|
2632
|
+
b.F = [];
|
|
2551
2633
|
b.A = 0;
|
|
2552
2634
|
}
|
|
2553
|
-
e = b.
|
|
2554
|
-
if (!b.
|
|
2555
|
-
0 !== b.A && b.
|
|
2635
|
+
e = b.U;
|
|
2636
|
+
if (!b.Qa) {
|
|
2637
|
+
0 !== b.A && b.F.push(b.value);
|
|
2556
2638
|
if (d.arguments[b.A])
|
|
2557
2639
|
return new u(d.arguments[b.A++], b.scope);
|
|
2558
2640
|
if ("NewExpression" === d.type) {
|
|
2559
|
-
e instanceof D && !e.
|
|
2560
|
-
if (e === this.
|
|
2561
|
-
b.
|
|
2641
|
+
e instanceof D && !e.Ab || K(this, this.j, R(this, d.callee) + " is not a constructor");
|
|
2642
|
+
if (e === this.qa)
|
|
2643
|
+
b.B = Cc(this);
|
|
2562
2644
|
else {
|
|
2563
2645
|
var h = e.h.prototype;
|
|
2564
2646
|
if ("object" !== typeof h || null === h)
|
|
2565
2647
|
h = this.M;
|
|
2566
|
-
b.
|
|
2648
|
+
b.B = this.s(h);
|
|
2567
2649
|
}
|
|
2568
2650
|
b.isConstructor = !0;
|
|
2569
2651
|
}
|
|
2570
|
-
b.
|
|
2652
|
+
b.Qa = !0;
|
|
2571
2653
|
}
|
|
2572
|
-
if (b.
|
|
2573
|
-
a.pop(), a[a.length - 1].value = b.isConstructor && "object" !== typeof b.value ? b.
|
|
2654
|
+
if (b.eb)
|
|
2655
|
+
a.pop(), a[a.length - 1].value = b.isConstructor && "object" !== typeof b.value ? b.B : b.value;
|
|
2574
2656
|
else {
|
|
2575
|
-
b.
|
|
2657
|
+
b.eb = !0;
|
|
2576
2658
|
e instanceof D || K(this, this.j, R(this, d.callee) + " is not a function");
|
|
2577
2659
|
if (a = e.node) {
|
|
2578
|
-
d = ea(this, a.body, e.
|
|
2579
|
-
c =
|
|
2580
|
-
for (e = 0; e < b.
|
|
2581
|
-
this.g(c, e, b.
|
|
2660
|
+
d = ea(this, a.body, e.Va);
|
|
2661
|
+
c = Cc(this);
|
|
2662
|
+
for (e = 0; e < b.F.length; e++)
|
|
2663
|
+
this.g(c, e, b.F[e]);
|
|
2582
2664
|
this.g(d.object, "arguments", c);
|
|
2583
|
-
for (e = 0; e < a.
|
|
2584
|
-
this.g(d.object, a.
|
|
2585
|
-
d.S || (b.
|
|
2586
|
-
this.g(d.object, "this", b.
|
|
2665
|
+
for (e = 0; e < a.oa.length; e++)
|
|
2666
|
+
this.g(d.object, a.oa[e].name, b.F.length > e ? b.F[e] : void 0);
|
|
2667
|
+
d.S || (b.B = ld(this, b.B));
|
|
2668
|
+
this.g(d.object, "this", b.B, ua);
|
|
2587
2669
|
b.value = void 0;
|
|
2588
2670
|
return new u(a.body, d);
|
|
2589
2671
|
}
|
|
2590
2672
|
if (e.eval) {
|
|
2591
|
-
if (e = b.
|
|
2673
|
+
if (e = b.F[0], "string" !== typeof e)
|
|
2592
2674
|
b.value = e;
|
|
2593
2675
|
else {
|
|
2594
2676
|
try {
|
|
2595
|
-
c = da(String(e), "eval" + this.
|
|
2677
|
+
c = da(String(e), "eval" + this.Hb++);
|
|
2596
2678
|
}
|
|
2597
2679
|
catch (q) {
|
|
2598
|
-
K(this, this
|
|
2680
|
+
K(this, this.T, "Invalid code: " + q.message);
|
|
2599
2681
|
}
|
|
2600
|
-
e = this.
|
|
2682
|
+
e = this.ya();
|
|
2601
2683
|
e.type = "EvalProgram_";
|
|
2602
2684
|
e.body = c.body;
|
|
2603
2685
|
fa(e, d.start, d.end);
|
|
2604
|
-
d = b.
|
|
2686
|
+
d = b.Pb ? b.scope : this.N;
|
|
2605
2687
|
d.S ? d = ea(this, c, d) : Ra(this, c, d);
|
|
2606
2688
|
this.value = void 0;
|
|
2607
2689
|
return new u(e, d);
|
|
2608
2690
|
}
|
|
2609
2691
|
}
|
|
2610
|
-
else if (e.
|
|
2611
|
-
b.scope.S || (b.
|
|
2612
|
-
else if (e.
|
|
2613
|
-
var
|
|
2614
|
-
c = e.
|
|
2615
|
-
c = b.
|
|
2692
|
+
else if (e.Ta)
|
|
2693
|
+
b.scope.S || (b.B = ld(this, b.B)), b.value = e.Ta.apply(b.B, b.F);
|
|
2694
|
+
else if (e.Za) {
|
|
2695
|
+
var k = this;
|
|
2696
|
+
c = e.Za.length - 1;
|
|
2697
|
+
c = b.F.concat(Array(c)).slice(0, c);
|
|
2616
2698
|
c.push(function (q) {
|
|
2617
2699
|
b.value = q;
|
|
2618
|
-
|
|
2700
|
+
k.za = !1;
|
|
2619
2701
|
});
|
|
2620
|
-
this.
|
|
2621
|
-
b.scope.S || (b.
|
|
2622
|
-
e.
|
|
2702
|
+
this.za = !0;
|
|
2703
|
+
b.scope.S || (b.B = ld(this, b.B));
|
|
2704
|
+
e.Za.apply(b.B, c);
|
|
2623
2705
|
}
|
|
2624
2706
|
else
|
|
2625
2707
|
K(this, this.j, R(this, d.callee) + " is not callable");
|
|
2626
2708
|
}
|
|
2627
2709
|
};
|
|
2628
2710
|
t.prototype.stepConditionalExpression = function (a, b, d) {
|
|
2629
|
-
var c = b.
|
|
2711
|
+
var c = b.na || 0;
|
|
2630
2712
|
if (0 === c)
|
|
2631
|
-
return b.
|
|
2713
|
+
return b.na = 1, new u(d.test, b.scope);
|
|
2632
2714
|
if (1 === c) {
|
|
2633
|
-
b.
|
|
2634
|
-
if ((c = !!b.value) && d.
|
|
2635
|
-
return new u(d.
|
|
2715
|
+
b.na = 2;
|
|
2716
|
+
if ((c = !!b.value) && d.da)
|
|
2717
|
+
return new u(d.da, b.scope);
|
|
2636
2718
|
if (!c && d.alternate)
|
|
2637
2719
|
return new u(d.alternate, b.scope);
|
|
2638
2720
|
this.value = void 0;
|
|
@@ -2641,19 +2723,19 @@ t.prototype.stepConditionalExpression = function (a, b, d) {
|
|
|
2641
2723
|
"ConditionalExpression" === d.type && (a[a.length - 1].value = b.value);
|
|
2642
2724
|
};
|
|
2643
2725
|
t.prototype.stepContinueStatement = function (a, b, d) {
|
|
2644
|
-
|
|
2726
|
+
hd(this, 2, void 0, d.label && d.label.name);
|
|
2645
2727
|
};
|
|
2646
2728
|
t.prototype.stepDebuggerStatement = function (a) {
|
|
2647
2729
|
a.pop();
|
|
2648
2730
|
};
|
|
2649
2731
|
t.prototype.stepDoWhileStatement = function (a, b, d) {
|
|
2650
|
-
"DoWhileStatement" === d.type && void 0 === b.
|
|
2651
|
-
if (!b.
|
|
2652
|
-
return b.
|
|
2732
|
+
"DoWhileStatement" === d.type && void 0 === b.ga && (b.value = !0, b.ga = !0);
|
|
2733
|
+
if (!b.ga)
|
|
2734
|
+
return b.ga = !0, new u(d.test, b.scope);
|
|
2653
2735
|
if (!b.value)
|
|
2654
2736
|
a.pop();
|
|
2655
2737
|
else if (d.body)
|
|
2656
|
-
return b.
|
|
2738
|
+
return b.ga = !1, b.W = !0, new u(d.body, b.scope);
|
|
2657
2739
|
};
|
|
2658
2740
|
t.prototype.stepEmptyStatement = function (a) {
|
|
2659
2741
|
a.pop();
|
|
@@ -2666,82 +2748,82 @@ t.prototype.stepEvalProgram_ = function (a, b, d) {
|
|
|
2666
2748
|
a[a.length - 1].value = this.value;
|
|
2667
2749
|
};
|
|
2668
2750
|
t.prototype.stepExpressionStatement = function (a, b, d) {
|
|
2669
|
-
if (!b.
|
|
2670
|
-
return this.value = void 0, b.
|
|
2751
|
+
if (!b.ka)
|
|
2752
|
+
return this.value = void 0, b.ka = !0, new u(d.la, b.scope);
|
|
2671
2753
|
a.pop();
|
|
2672
2754
|
this.value = b.value;
|
|
2673
2755
|
};
|
|
2674
2756
|
t.prototype.stepForInStatement = function (a, b, d) {
|
|
2675
|
-
if (!b.
|
|
2676
|
-
return b.scope.S && K(this, this
|
|
2677
|
-
if (!b.
|
|
2678
|
-
return b.
|
|
2679
|
-
b.
|
|
2680
|
-
if (void 0 === b.
|
|
2757
|
+
if (!b.Ub && (b.Ub = !0, d.left.fa && d.left.fa[0].ua))
|
|
2758
|
+
return b.scope.S && K(this, this.T, "for-in loop variable declaration may not have an initializer"), new u(d.left, b.scope);
|
|
2759
|
+
if (!b.Ca)
|
|
2760
|
+
return b.Ca = !0, b.pa || (b.pa = b.value), new u(d.right, b.scope);
|
|
2761
|
+
b.W || (b.W = !0, b.u = b.value, b.kb = Object.create(null));
|
|
2762
|
+
if (void 0 === b.Ra)
|
|
2681
2763
|
a: for (;;) {
|
|
2682
2764
|
if (b.u instanceof D)
|
|
2683
|
-
for (b.
|
|
2684
|
-
var c = b.
|
|
2765
|
+
for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u.h));;) {
|
|
2766
|
+
var c = b.wa.shift();
|
|
2685
2767
|
if (void 0 === c)
|
|
2686
2768
|
break;
|
|
2687
|
-
if (Object.prototype.hasOwnProperty.call(b.u.h, c) && !b.
|
|
2688
|
-
b.
|
|
2769
|
+
if (Object.prototype.hasOwnProperty.call(b.u.h, c) && !b.kb[c] && (b.kb[c] = !0, Object.prototype.propertyIsEnumerable.call(b.u.h, c))) {
|
|
2770
|
+
b.Ra = c;
|
|
2689
2771
|
break a;
|
|
2690
2772
|
}
|
|
2691
2773
|
}
|
|
2692
2774
|
else if (null !== b.u && void 0 !== b.u)
|
|
2693
|
-
for (b.
|
|
2694
|
-
c = b.
|
|
2775
|
+
for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u));;) {
|
|
2776
|
+
c = b.wa.shift();
|
|
2695
2777
|
if (void 0 === c)
|
|
2696
2778
|
break;
|
|
2697
|
-
b.
|
|
2779
|
+
b.kb[c] = !0;
|
|
2698
2780
|
if (Object.prototype.propertyIsEnumerable.call(b.u, c)) {
|
|
2699
|
-
b.
|
|
2781
|
+
b.Ra = c;
|
|
2700
2782
|
break a;
|
|
2701
2783
|
}
|
|
2702
2784
|
}
|
|
2703
|
-
b.u =
|
|
2704
|
-
b.
|
|
2785
|
+
b.u = Ac(this, b.u);
|
|
2786
|
+
b.wa = null;
|
|
2705
2787
|
if (null === b.u) {
|
|
2706
2788
|
a.pop();
|
|
2707
2789
|
return;
|
|
2708
2790
|
}
|
|
2709
2791
|
}
|
|
2710
|
-
if (!b.
|
|
2711
|
-
if (b.
|
|
2712
|
-
b.
|
|
2792
|
+
if (!b.wb)
|
|
2793
|
+
if (b.wb = !0, a = d.left, "VariableDeclaration" === a.type)
|
|
2794
|
+
b.pa = [Ha, a.fa[0].id.name];
|
|
2713
2795
|
else
|
|
2714
|
-
return b.
|
|
2715
|
-
b.
|
|
2716
|
-
if (!b.
|
|
2717
|
-
return
|
|
2718
|
-
b.
|
|
2719
|
-
b.
|
|
2720
|
-
b.
|
|
2796
|
+
return b.pa = null, b = new u(a, b.scope), b.sa = !0, b;
|
|
2797
|
+
b.pa || (b.pa = b.value);
|
|
2798
|
+
if (!b.ta && (b.ta = !0, a = b.Ra, c = gd(this, b.pa, a)))
|
|
2799
|
+
return kd(this, c, b.pa, a);
|
|
2800
|
+
b.Ra = void 0;
|
|
2801
|
+
b.wb = !1;
|
|
2802
|
+
b.ta = !1;
|
|
2721
2803
|
if (d.body)
|
|
2722
2804
|
return new u(d.body, b.scope);
|
|
2723
2805
|
};
|
|
2724
2806
|
t.prototype.stepForStatement = function (a, b, d) {
|
|
2725
|
-
switch (b.
|
|
2807
|
+
switch (b.na) {
|
|
2726
2808
|
default:
|
|
2727
|
-
b.
|
|
2728
|
-
if (d.
|
|
2729
|
-
return new u(d.
|
|
2809
|
+
b.na = 1;
|
|
2810
|
+
if (d.ua)
|
|
2811
|
+
return new u(d.ua, b.scope);
|
|
2730
2812
|
break;
|
|
2731
2813
|
case 1:
|
|
2732
|
-
b.
|
|
2814
|
+
b.na = 2;
|
|
2733
2815
|
if (d.test)
|
|
2734
2816
|
return new u(d.test, b.scope);
|
|
2735
2817
|
break;
|
|
2736
2818
|
case 2:
|
|
2737
|
-
b.
|
|
2819
|
+
b.na = 3;
|
|
2738
2820
|
if (d.test && !b.value)
|
|
2739
2821
|
a.pop();
|
|
2740
2822
|
else
|
|
2741
|
-
return b.
|
|
2823
|
+
return b.W = !0, new u(d.body, b.scope);
|
|
2742
2824
|
break;
|
|
2743
2825
|
case 3:
|
|
2744
|
-
if (b.
|
|
2826
|
+
if (b.na = 1, d.update)
|
|
2745
2827
|
return new u(d.update, b.scope);
|
|
2746
2828
|
}
|
|
2747
2829
|
};
|
|
@@ -2752,18 +2834,18 @@ t.prototype.stepFunctionExpression = function (a, b, d) {
|
|
|
2752
2834
|
a.pop();
|
|
2753
2835
|
b = a[a.length - 1];
|
|
2754
2836
|
a = b.scope;
|
|
2755
|
-
d.id && (a =
|
|
2756
|
-
b.value =
|
|
2837
|
+
d.id && (a = cd(this, a));
|
|
2838
|
+
b.value = Nb(this, d, a, b.Pa);
|
|
2757
2839
|
d.id && this.g(a.object, d.id.name, b.value, ua);
|
|
2758
2840
|
};
|
|
2759
2841
|
t.prototype.stepIdentifier = function (a, b, d) {
|
|
2760
2842
|
a.pop();
|
|
2761
|
-
if (b.
|
|
2843
|
+
if (b.sa)
|
|
2762
2844
|
a[a.length - 1].value = [Ha, d.name];
|
|
2763
2845
|
else {
|
|
2764
|
-
b =
|
|
2846
|
+
b = dd(this, d.name);
|
|
2765
2847
|
if (this.P)
|
|
2766
|
-
return
|
|
2848
|
+
return jd(this, b, this.Na);
|
|
2767
2849
|
a[a.length - 1].value = b;
|
|
2768
2850
|
}
|
|
2769
2851
|
};
|
|
@@ -2779,39 +2861,39 @@ t.prototype.stepLabeledStatement = function (a, b, d) {
|
|
|
2779
2861
|
t.prototype.stepLiteral = function (a, b, d) {
|
|
2780
2862
|
a.pop();
|
|
2781
2863
|
b = d.value;
|
|
2782
|
-
b instanceof RegExp && (d = this.s(this.
|
|
2864
|
+
b instanceof RegExp && (d = this.s(this.Ma), Hc(this, d, b), b = d);
|
|
2783
2865
|
a[a.length - 1].value = b;
|
|
2784
2866
|
};
|
|
2785
2867
|
t.prototype.stepLogicalExpression = function (a, b, d) {
|
|
2786
2868
|
if ("&&" !== d.operator && "||" !== d.operator)
|
|
2787
2869
|
throw SyntaxError("Unknown logical operator: " + d.operator);
|
|
2788
|
-
if (!b.
|
|
2789
|
-
return b.
|
|
2790
|
-
if (b.
|
|
2870
|
+
if (!b.ja)
|
|
2871
|
+
return b.ja = !0, new u(d.left, b.scope);
|
|
2872
|
+
if (b.Da)
|
|
2791
2873
|
a.pop(), a[a.length - 1].value = b.value;
|
|
2792
2874
|
else if ("&&" === d.operator && !b.value || "||" === d.operator && b.value)
|
|
2793
2875
|
a.pop(), a[a.length - 1].value = b.value;
|
|
2794
2876
|
else
|
|
2795
|
-
return b.
|
|
2877
|
+
return b.Da = !0, new u(d.right, b.scope);
|
|
2796
2878
|
};
|
|
2797
2879
|
t.prototype.stepMemberExpression = function (a, b, d) {
|
|
2798
|
-
if (!b.
|
|
2799
|
-
return b.
|
|
2800
|
-
if (d
|
|
2801
|
-
if (b.
|
|
2880
|
+
if (!b.Ca)
|
|
2881
|
+
return b.Ca = !0, new u(d.object, b.scope);
|
|
2882
|
+
if (d.bb) {
|
|
2883
|
+
if (b.Vb)
|
|
2802
2884
|
d = b.value;
|
|
2803
2885
|
else
|
|
2804
|
-
return b.u = b.value, b.
|
|
2886
|
+
return b.u = b.value, b.Vb = !0, new u(d.Wa, b.scope);
|
|
2805
2887
|
}
|
|
2806
2888
|
else
|
|
2807
|
-
b.u = b.value, d = d.
|
|
2889
|
+
b.u = b.value, d = d.Wa.name;
|
|
2808
2890
|
a.pop();
|
|
2809
|
-
if (b.
|
|
2891
|
+
if (b.sa)
|
|
2810
2892
|
a[a.length - 1].value = [b.u, d];
|
|
2811
2893
|
else {
|
|
2812
|
-
d = this.
|
|
2894
|
+
d = this.G(b.u, d);
|
|
2813
2895
|
if (this.P)
|
|
2814
|
-
return
|
|
2896
|
+
return jd(this, d, b.u);
|
|
2815
2897
|
a[a.length - 1].value = d;
|
|
2816
2898
|
}
|
|
2817
2899
|
};
|
|
@@ -2819,32 +2901,32 @@ t.prototype.stepNewExpression = t.prototype.stepCallExpression;
|
|
|
2819
2901
|
t.prototype.stepObjectExpression = function (a, b, d) {
|
|
2820
2902
|
var c = b.A || 0, e = d.h[c];
|
|
2821
2903
|
if (b.u) {
|
|
2822
|
-
var h = b.
|
|
2823
|
-
b.
|
|
2824
|
-
b.
|
|
2904
|
+
var h = b.Pa;
|
|
2905
|
+
b.Ja[h] || (b.Ja[h] = {});
|
|
2906
|
+
b.Ja[h][e.kind] = b.value;
|
|
2825
2907
|
b.A = ++c;
|
|
2826
2908
|
e = d.h[c];
|
|
2827
2909
|
}
|
|
2828
2910
|
else
|
|
2829
|
-
b.u = this.s(this.M), b.
|
|
2911
|
+
b.u = this.s(this.M), b.Ja = Object.create(null);
|
|
2830
2912
|
if (e) {
|
|
2831
|
-
var
|
|
2832
|
-
if ("Identifier" ===
|
|
2833
|
-
h =
|
|
2834
|
-
else if ("Literal" ===
|
|
2835
|
-
h =
|
|
2913
|
+
var k = e.key;
|
|
2914
|
+
if ("Identifier" === k.type)
|
|
2915
|
+
h = k.name;
|
|
2916
|
+
else if ("Literal" === k.type)
|
|
2917
|
+
h = k.value;
|
|
2836
2918
|
else
|
|
2837
|
-
throw SyntaxError("Unknown object structure: " +
|
|
2838
|
-
b.
|
|
2919
|
+
throw SyntaxError("Unknown object structure: " + k.type);
|
|
2920
|
+
b.Pa = h;
|
|
2839
2921
|
return new u(e.value, b.scope);
|
|
2840
2922
|
}
|
|
2841
|
-
for (
|
|
2842
|
-
d = b.
|
|
2923
|
+
for (k in b.Ja)
|
|
2924
|
+
d = b.Ja[k], "get" in d || "set" in d ? this.g(b.u, k, Ia, {
|
|
2843
2925
|
configurable: !0,
|
|
2844
2926
|
enumerable: !0,
|
|
2845
2927
|
get: d.get,
|
|
2846
2928
|
set: d.set
|
|
2847
|
-
}) : this.g(b.u,
|
|
2929
|
+
}) : this.g(b.u, k, d.init);
|
|
2848
2930
|
a.pop();
|
|
2849
2931
|
a[a.length - 1].value = b.u;
|
|
2850
2932
|
};
|
|
@@ -2854,37 +2936,37 @@ t.prototype.stepProgram = function (a, b, d) {
|
|
|
2854
2936
|
b.done = !0;
|
|
2855
2937
|
};
|
|
2856
2938
|
t.prototype.stepReturnStatement = function (a, b, d) {
|
|
2857
|
-
if (d.
|
|
2858
|
-
return b.
|
|
2859
|
-
|
|
2939
|
+
if (d.K && !b.ka)
|
|
2940
|
+
return b.ka = !0, new u(d.K, b.scope);
|
|
2941
|
+
hd(this, 3, b.value);
|
|
2860
2942
|
};
|
|
2861
2943
|
t.prototype.stepSequenceExpression = function (a, b, d) {
|
|
2862
2944
|
var c = b.A || 0;
|
|
2863
|
-
if (d = d.
|
|
2945
|
+
if (d = d.xb[c])
|
|
2864
2946
|
return b.A = c + 1, new u(d, b.scope);
|
|
2865
2947
|
a.pop();
|
|
2866
2948
|
a[a.length - 1].value = b.value;
|
|
2867
2949
|
};
|
|
2868
2950
|
t.prototype.stepSwitchStatement = function (a, b, d) {
|
|
2869
|
-
if (!b.
|
|
2870
|
-
return b.
|
|
2871
|
-
1 === b.
|
|
2951
|
+
if (!b.ga)
|
|
2952
|
+
return b.ga = 1, new u(d.Qb, b.scope);
|
|
2953
|
+
1 === b.ga && (b.ga = 2, b.hc = b.value, b.cb = -1);
|
|
2872
2954
|
for (;;) {
|
|
2873
|
-
var c = b.
|
|
2874
|
-
if (b.
|
|
2875
|
-
if (e || b.
|
|
2955
|
+
var c = b.gb || 0, e = d.tb[c];
|
|
2956
|
+
if (b.Ha || !e || e.test) {
|
|
2957
|
+
if (e || b.Ha || -1 === b.cb) {
|
|
2876
2958
|
if (e) {
|
|
2877
|
-
if (!b.
|
|
2878
|
-
return b.
|
|
2879
|
-
if (b.
|
|
2880
|
-
b.
|
|
2959
|
+
if (!b.Ha && !b.Fb && e.test)
|
|
2960
|
+
return b.Fb = !0, new u(e.test, b.scope);
|
|
2961
|
+
if (b.Ha || b.value === b.hc) {
|
|
2962
|
+
b.Ha = !0;
|
|
2881
2963
|
var h = b.A || 0;
|
|
2882
|
-
if (e.
|
|
2883
|
-
return b.
|
|
2964
|
+
if (e.da[h])
|
|
2965
|
+
return b.Zb = !0, b.A = h + 1, new u(e.da[h], b.scope);
|
|
2884
2966
|
}
|
|
2885
|
-
b.
|
|
2967
|
+
b.Fb = !1;
|
|
2886
2968
|
b.A = 0;
|
|
2887
|
-
b.
|
|
2969
|
+
b.gb = c + 1;
|
|
2888
2970
|
}
|
|
2889
2971
|
else {
|
|
2890
2972
|
a.pop();
|
|
@@ -2892,35 +2974,35 @@ t.prototype.stepSwitchStatement = function (a, b, d) {
|
|
|
2892
2974
|
}
|
|
2893
2975
|
}
|
|
2894
2976
|
else
|
|
2895
|
-
b.
|
|
2977
|
+
b.Ha = !0, b.gb = b.cb;
|
|
2896
2978
|
}
|
|
2897
2979
|
else
|
|
2898
|
-
b.
|
|
2980
|
+
b.cb = c, b.gb = c + 1;
|
|
2899
2981
|
}
|
|
2900
2982
|
};
|
|
2901
2983
|
t.prototype.stepThisExpression = function (a) {
|
|
2902
2984
|
a.pop();
|
|
2903
|
-
a[a.length - 1].value =
|
|
2985
|
+
a[a.length - 1].value = dd(this, "this");
|
|
2904
2986
|
};
|
|
2905
2987
|
t.prototype.stepThrowStatement = function (a, b, d) {
|
|
2906
|
-
if (b.
|
|
2988
|
+
if (b.ka)
|
|
2907
2989
|
K(this, b.value);
|
|
2908
2990
|
else
|
|
2909
|
-
return b.
|
|
2991
|
+
return b.ka = !0, new u(d.K, b.scope);
|
|
2910
2992
|
};
|
|
2911
2993
|
t.prototype.stepTryStatement = function (a, b, d) {
|
|
2912
|
-
if (!b.
|
|
2913
|
-
return b.
|
|
2914
|
-
if (b.
|
|
2915
|
-
return b.
|
|
2916
|
-
if (!b.
|
|
2917
|
-
return b.
|
|
2994
|
+
if (!b.Rb)
|
|
2995
|
+
return b.Rb = !0, new u(d.block, b.scope);
|
|
2996
|
+
if (b.ea && 4 === b.ea.type && !b.Tb && d.Ea)
|
|
2997
|
+
return b.Tb = !0, a = cd(this, b.scope), this.g(a.object, d.Ea.Ua.name, b.ea.value), b.ea = void 0, new u(d.Ea.body, a);
|
|
2998
|
+
if (!b.Sb && d.fb)
|
|
2999
|
+
return b.Sb = !0, new u(d.fb, b.scope);
|
|
2918
3000
|
a.pop();
|
|
2919
|
-
b.
|
|
3001
|
+
b.ea && hd(this, b.ea.type, b.ea.value, b.ea.label);
|
|
2920
3002
|
};
|
|
2921
3003
|
t.prototype.stepUnaryExpression = function (a, b, d) {
|
|
2922
|
-
if (!b.
|
|
2923
|
-
return b.
|
|
3004
|
+
if (!b.ka)
|
|
3005
|
+
return b.ka = !0, a = new u(d.K, b.scope), a.sa = "delete" === d.operator, a;
|
|
2924
3006
|
a.pop();
|
|
2925
3007
|
var c = b.value;
|
|
2926
3008
|
switch (d.operator) {
|
|
@@ -2952,7 +3034,7 @@ t.prototype.stepUnaryExpression = function (a, b, d) {
|
|
|
2952
3034
|
c = d;
|
|
2953
3035
|
break;
|
|
2954
3036
|
case "typeof":
|
|
2955
|
-
c = c && "Function" === c.
|
|
3037
|
+
c = c && "Function" === c.H ? "function" : typeof c;
|
|
2956
3038
|
break;
|
|
2957
3039
|
case "void":
|
|
2958
3040
|
c = void 0;
|
|
@@ -2963,20 +3045,20 @@ t.prototype.stepUnaryExpression = function (a, b, d) {
|
|
|
2963
3045
|
a[a.length - 1].value = c;
|
|
2964
3046
|
};
|
|
2965
3047
|
t.prototype.stepUpdateExpression = function (a, b, d) {
|
|
2966
|
-
if (!b.
|
|
2967
|
-
return b.
|
|
2968
|
-
b.
|
|
2969
|
-
b.
|
|
2970
|
-
if (!b.
|
|
2971
|
-
var c =
|
|
2972
|
-
b.
|
|
3048
|
+
if (!b.ja)
|
|
3049
|
+
return b.ja = !0, a = new u(d.K, b.scope), a.sa = !0, a;
|
|
3050
|
+
b.Ga || (b.Ga = b.value);
|
|
3051
|
+
b.Ba && (b.ma = b.value);
|
|
3052
|
+
if (!b.Ba) {
|
|
3053
|
+
var c = fd(this, b.Ga);
|
|
3054
|
+
b.ma = c;
|
|
2973
3055
|
if (this.P)
|
|
2974
|
-
return b.
|
|
3056
|
+
return b.Ba = !0, jd(this, c, b.Ga);
|
|
2975
3057
|
}
|
|
2976
|
-
if (b.
|
|
2977
|
-
a.pop(), a[a.length - 1].value = b.
|
|
3058
|
+
if (b.ta)
|
|
3059
|
+
a.pop(), a[a.length - 1].value = b.ib;
|
|
2978
3060
|
else {
|
|
2979
|
-
c = Number(b.
|
|
3061
|
+
c = Number(b.ma);
|
|
2980
3062
|
if ("++" === d.operator)
|
|
2981
3063
|
var e = c + 1;
|
|
2982
3064
|
else if ("--" === d.operator)
|
|
@@ -2984,44 +3066,46 @@ t.prototype.stepUpdateExpression = function (a, b, d) {
|
|
|
2984
3066
|
else
|
|
2985
3067
|
throw SyntaxError("Unknown update expression: " + d.operator);
|
|
2986
3068
|
d = d.prefix ? e : c;
|
|
2987
|
-
if (c =
|
|
2988
|
-
return b.
|
|
3069
|
+
if (c = gd(this, b.Ga, e))
|
|
3070
|
+
return b.ta = !0, b.ib = d, kd(this, c, b.Ga, e);
|
|
2989
3071
|
a.pop();
|
|
2990
3072
|
a[a.length - 1].value = d;
|
|
2991
3073
|
}
|
|
2992
3074
|
};
|
|
2993
3075
|
t.prototype.stepVariableDeclaration = function (a, b, d) {
|
|
2994
|
-
d = d.
|
|
3076
|
+
d = d.fa;
|
|
2995
3077
|
var c = b.A || 0, e = d[c];
|
|
2996
|
-
b.
|
|
3078
|
+
b.Bb && e && (ed(this, e.id.name, b.value), b.Bb = !1, e = d[++c]);
|
|
2997
3079
|
for (; e;) {
|
|
2998
|
-
if (e.
|
|
2999
|
-
return b.A = c, b.
|
|
3080
|
+
if (e.ua)
|
|
3081
|
+
return b.A = c, b.Bb = !0, b.Pa = e.id.name, new u(e.ua, b.scope);
|
|
3000
3082
|
e = d[++c];
|
|
3001
3083
|
}
|
|
3002
3084
|
a.pop();
|
|
3003
3085
|
};
|
|
3004
3086
|
t.prototype.stepWithStatement = function (a, b, d) {
|
|
3005
|
-
if (!b.
|
|
3006
|
-
return b.
|
|
3087
|
+
if (!b.Ca)
|
|
3088
|
+
return b.Ca = !0, new u(d.object, b.scope);
|
|
3007
3089
|
a.pop();
|
|
3008
|
-
a =
|
|
3090
|
+
a = cd(this, b.scope, b.value);
|
|
3009
3091
|
return new u(d.body, a);
|
|
3010
3092
|
};
|
|
3011
3093
|
t.prototype.stepWhileStatement = t.prototype.stepDoWhileStatement;
|
|
3012
3094
|
Na.Interpreter = t;
|
|
3013
|
-
t.prototype.step = t.prototype.
|
|
3014
|
-
t.prototype.run = t.prototype.
|
|
3015
|
-
t.prototype.appendCode = t.prototype.
|
|
3016
|
-
t.prototype.createObject = t.prototype.
|
|
3095
|
+
t.prototype.step = t.prototype.lb;
|
|
3096
|
+
t.prototype.run = t.prototype.Eb;
|
|
3097
|
+
t.prototype.appendCode = t.prototype.Jb;
|
|
3098
|
+
t.prototype.createObject = t.prototype.Aa;
|
|
3017
3099
|
t.prototype.createObjectProto = t.prototype.s;
|
|
3018
|
-
t.prototype.createAsyncFunction = t.prototype.
|
|
3100
|
+
t.prototype.createAsyncFunction = t.prototype.ub;
|
|
3019
3101
|
t.prototype.createNativeFunction = t.prototype.i;
|
|
3020
|
-
t.prototype.getProperty = t.prototype.
|
|
3102
|
+
t.prototype.getProperty = t.prototype.G;
|
|
3021
3103
|
t.prototype.setProperty = t.prototype.g;
|
|
3022
|
-
t.prototype.nativeToPseudo = t.prototype.
|
|
3104
|
+
t.prototype.nativeToPseudo = t.prototype.Ia;
|
|
3023
3105
|
t.prototype.pseudoToNative = t.prototype.R;
|
|
3024
|
-
t.prototype.getGlobalScope = t.prototype.
|
|
3025
|
-
t.prototype.getStateStack = t.prototype.
|
|
3026
|
-
t.prototype.setStateStack = t.prototype.
|
|
3106
|
+
t.prototype.getGlobalScope = t.prototype.Xb;
|
|
3107
|
+
t.prototype.getStateStack = t.prototype.Yb;
|
|
3108
|
+
t.prototype.setStateStack = t.prototype.ec;
|
|
3027
3109
|
t.VALUE_IN_DESCRIPTOR = Ia;
|
|
3110
|
+
// BUILDER.IO: export Interpreter
|
|
3111
|
+
export default t;
|