x-runtime-lib 0.4.6 → 0.4.7
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/dist/components/element/btn/v1/index.vue.d.ts +2 -1
- package/dist/index.js +658 -653
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
var wi = Object.defineProperty;
|
|
2
2
|
var Ci = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
|
|
3
3
|
var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
|
|
4
|
-
import { provide as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { openConfirmDlg as
|
|
7
|
-
const
|
|
4
|
+
import { provide as oe, inject as ue, readonly as $e, isReactive as an, defineComponent as on, computed as ee, resolveComponent as xi, openBlock as un, createBlock as sn, ref as Cr, watchEffect as Ai, watch as Ii, onBeforeUnmount as ki, h as Le } from "vue";
|
|
5
|
+
import { useI18n as Di } from "vue-i18n";
|
|
6
|
+
import { openConfirmDlg as Fi, openPromptDlg as Li, eventBus as Ui } from "x-essential-lib";
|
|
7
|
+
const Mi = /* @__PURE__ */ new Set([
|
|
8
8
|
"globality_v1",
|
|
9
9
|
"btn_v1",
|
|
10
10
|
"ref_v1"
|
|
11
|
-
]),
|
|
11
|
+
]), ji = [
|
|
12
12
|
{
|
|
13
13
|
key: "basic",
|
|
14
14
|
name: "basic",
|
|
15
15
|
items: ["globality_v1", "btn_v1"]
|
|
16
16
|
}
|
|
17
|
-
],
|
|
17
|
+
], Bi = {
|
|
18
18
|
version: "v1",
|
|
19
19
|
globalityKey: "globality_v1",
|
|
20
20
|
refKey: "ref_v1",
|
|
21
|
-
elements:
|
|
22
|
-
groups:
|
|
21
|
+
elements: Mi,
|
|
22
|
+
groups: ji
|
|
23
23
|
}, cn = {
|
|
24
|
-
v1:
|
|
24
|
+
v1: Bi
|
|
25
25
|
}, xr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
26
26
|
function fn(n) {
|
|
27
27
|
let s = "";
|
|
28
28
|
for (let p = 0; p < n; p++) {
|
|
29
|
-
const
|
|
30
|
-
s += xr[
|
|
29
|
+
const v = Math.floor(Math.random() * xr.length);
|
|
30
|
+
s += xr[v];
|
|
31
31
|
}
|
|
32
32
|
return s;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function $i(n) {
|
|
35
35
|
return n === "";
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Gi(n) {
|
|
38
38
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
39
39
|
return !1;
|
|
40
40
|
const s = n.substring(0, n.length - 2), p = parseFloat(s);
|
|
41
41
|
return !(isNaN(p) || p % 1 !== 0);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Vi(n) {
|
|
44
44
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
45
45
|
return !1;
|
|
46
46
|
const s = n.substring(0, n.length - 1), p = parseFloat(s);
|
|
47
47
|
return !isNaN(p);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function uc(n) {
|
|
50
50
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
51
51
|
return;
|
|
52
52
|
const s = n.substring(0, n.length - 2), p = parseFloat(s);
|
|
@@ -60,24 +60,24 @@ function Ct(n) {
|
|
|
60
60
|
if (!isNaN(p))
|
|
61
61
|
return p;
|
|
62
62
|
}
|
|
63
|
-
var ln = typeof global == "object" && global && global.Object === Object && global,
|
|
64
|
-
function
|
|
65
|
-
var s =
|
|
63
|
+
var ln = typeof global == "object" && global && global.Object === Object && global, Yi = typeof self == "object" && self && self.Object === Object && self, K = ln || Yi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Xi = pn.hasOwnProperty, Wi = pn.toString, Ue = Re ? Re.toStringTag : void 0;
|
|
64
|
+
function zi(n) {
|
|
65
|
+
var s = Xi.call(n, Ue), p = n[Ue];
|
|
66
66
|
try {
|
|
67
67
|
n[Ue] = void 0;
|
|
68
|
-
var
|
|
68
|
+
var v = !0;
|
|
69
69
|
} catch {
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
return
|
|
71
|
+
var g = Wi.call(n);
|
|
72
|
+
return v && (s ? n[Ue] = p : delete n[Ue]), g;
|
|
73
73
|
}
|
|
74
|
-
var
|
|
75
|
-
function
|
|
76
|
-
return
|
|
74
|
+
var Ji = Object.prototype, Hi = Ji.toString;
|
|
75
|
+
function Ki(n) {
|
|
76
|
+
return Hi.call(n);
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var qi = "[object Null]", Zi = "[object Undefined]", Ar = Re ? Re.toStringTag : void 0;
|
|
79
79
|
function Ge(n) {
|
|
80
|
-
return n == null ? n === void 0 ?
|
|
80
|
+
return n == null ? n === void 0 ? Zi : qi : Ar && Ar in Object(n) ? zi(n) : Ki(n);
|
|
81
81
|
}
|
|
82
82
|
function Ve(n) {
|
|
83
83
|
return n != null && typeof n == "object";
|
|
@@ -87,25 +87,25 @@ function Ye(n) {
|
|
|
87
87
|
var s = typeof n;
|
|
88
88
|
return n != null && (s == "object" || s == "function");
|
|
89
89
|
}
|
|
90
|
-
var
|
|
90
|
+
var Qi = "[object AsyncFunction]", ea = "[object Function]", ta = "[object GeneratorFunction]", ra = "[object Proxy]";
|
|
91
91
|
function hn(n) {
|
|
92
92
|
if (!Ye(n))
|
|
93
93
|
return !1;
|
|
94
94
|
var s = Ge(n);
|
|
95
|
-
return s ==
|
|
95
|
+
return s == ea || s == ta || s == Qi || s == ra;
|
|
96
96
|
}
|
|
97
97
|
var xt = K["__core-js_shared__"], Ir = function() {
|
|
98
98
|
var n = /[^.]+$/.exec(xt && xt.keys && xt.keys.IE_PROTO || "");
|
|
99
99
|
return n ? "Symbol(src)_1." + n : "";
|
|
100
100
|
}();
|
|
101
|
-
function
|
|
101
|
+
function na(n) {
|
|
102
102
|
return !!Ir && Ir in n;
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ia = Function.prototype, aa = ia.toString;
|
|
105
105
|
function he(n) {
|
|
106
106
|
if (n != null) {
|
|
107
107
|
try {
|
|
108
|
-
return
|
|
108
|
+
return aa.call(n);
|
|
109
109
|
} catch {
|
|
110
110
|
}
|
|
111
111
|
try {
|
|
@@ -115,23 +115,23 @@ function he(n) {
|
|
|
115
115
|
}
|
|
116
116
|
return "";
|
|
117
117
|
}
|
|
118
|
-
var
|
|
119
|
-
"^" +
|
|
118
|
+
var oa = /[\\^$.*+?()[\]{}|]/g, ua = /^\[object .+?Constructor\]$/, sa = Function.prototype, ca = Object.prototype, fa = sa.toString, la = ca.hasOwnProperty, pa = RegExp(
|
|
119
|
+
"^" + fa.call(la).replace(oa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
120
120
|
);
|
|
121
|
-
function
|
|
122
|
-
if (!Ye(n) ||
|
|
121
|
+
function ha(n) {
|
|
122
|
+
if (!Ye(n) || na(n))
|
|
123
123
|
return !1;
|
|
124
|
-
var s = hn(n) ?
|
|
124
|
+
var s = hn(n) ? pa : ua;
|
|
125
125
|
return s.test(he(n));
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function da(n, s) {
|
|
128
128
|
return n == null ? void 0 : n[s];
|
|
129
129
|
}
|
|
130
130
|
function de(n, s) {
|
|
131
|
-
var p =
|
|
132
|
-
return
|
|
131
|
+
var p = da(n, s);
|
|
132
|
+
return ha(p) ? p : void 0;
|
|
133
133
|
}
|
|
134
|
-
var It = de(K, "WeakMap"), kr = Object.create,
|
|
134
|
+
var It = de(K, "WeakMap"), kr = Object.create, va = /* @__PURE__ */ function() {
|
|
135
135
|
function n() {
|
|
136
136
|
}
|
|
137
137
|
return function(s) {
|
|
@@ -144,9 +144,9 @@ var It = de(K, "WeakMap"), kr = Object.create, ya = /* @__PURE__ */ function() {
|
|
|
144
144
|
return n.prototype = void 0, p;
|
|
145
145
|
};
|
|
146
146
|
}();
|
|
147
|
-
function
|
|
148
|
-
var p = -1,
|
|
149
|
-
for (s || (s = Array(
|
|
147
|
+
function ya(n, s) {
|
|
148
|
+
var p = -1, v = n.length;
|
|
149
|
+
for (s || (s = Array(v)); ++p < v; )
|
|
150
150
|
s[p] = n[p];
|
|
151
151
|
return s;
|
|
152
152
|
}
|
|
@@ -157,15 +157,15 @@ var Dr = function() {
|
|
|
157
157
|
} catch {
|
|
158
158
|
}
|
|
159
159
|
}();
|
|
160
|
-
function
|
|
161
|
-
for (var p = -1,
|
|
160
|
+
function Ea(n, s) {
|
|
161
|
+
for (var p = -1, v = n == null ? 0 : n.length; ++p < v && s(n[p], p, n) !== !1; )
|
|
162
162
|
;
|
|
163
163
|
return n;
|
|
164
164
|
}
|
|
165
|
-
var ga = 9007199254740991,
|
|
166
|
-
function
|
|
165
|
+
var ga = 9007199254740991, _a = /^(?:0|[1-9]\d*)$/;
|
|
166
|
+
function ba(n, s) {
|
|
167
167
|
var p = typeof n;
|
|
168
|
-
return s = s ?? ga, !!s && (p == "number" || p != "symbol" &&
|
|
168
|
+
return s = s ?? ga, !!s && (p == "number" || p != "symbol" && _a.test(n)) && n > -1 && n % 1 == 0 && n < s;
|
|
169
169
|
}
|
|
170
170
|
function dn(n, s, p) {
|
|
171
171
|
s == "__proto__" && Dr ? Dr(n, s, {
|
|
@@ -178,53 +178,53 @@ function dn(n, s, p) {
|
|
|
178
178
|
function vn(n, s) {
|
|
179
179
|
return n === s || n !== n && s !== s;
|
|
180
180
|
}
|
|
181
|
-
var
|
|
181
|
+
var ma = Object.prototype, Ra = ma.hasOwnProperty;
|
|
182
182
|
function yn(n, s, p) {
|
|
183
|
-
var
|
|
184
|
-
(!(
|
|
183
|
+
var v = n[s];
|
|
184
|
+
(!(Ra.call(n, s) && vn(v, p)) || p === void 0 && !(s in n)) && dn(n, s, p);
|
|
185
185
|
}
|
|
186
|
-
function nt(n, s, p,
|
|
187
|
-
var
|
|
186
|
+
function nt(n, s, p, v) {
|
|
187
|
+
var g = !p;
|
|
188
188
|
p || (p = {});
|
|
189
189
|
for (var R = -1, m = s.length; ++R < m; ) {
|
|
190
190
|
var N = s[R], T = void 0;
|
|
191
|
-
T === void 0 && (T = n[N]),
|
|
191
|
+
T === void 0 && (T = n[N]), g ? dn(p, N, T) : yn(p, N, T);
|
|
192
192
|
}
|
|
193
193
|
return p;
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var Oa = 9007199254740991;
|
|
196
196
|
function En(n) {
|
|
197
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
197
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Oa;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function gn(n) {
|
|
200
200
|
return n != null && En(n.length) && !hn(n);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var Na = Object.prototype;
|
|
203
203
|
function Mt(n) {
|
|
204
|
-
var s = n && n.constructor, p = typeof s == "function" && s.prototype ||
|
|
204
|
+
var s = n && n.constructor, p = typeof s == "function" && s.prototype || Na;
|
|
205
205
|
return n === p;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
for (var p = -1,
|
|
209
|
-
|
|
210
|
-
return
|
|
207
|
+
function Ta(n, s) {
|
|
208
|
+
for (var p = -1, v = Array(n); ++p < n; )
|
|
209
|
+
v[p] = s(p);
|
|
210
|
+
return v;
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var Sa = "[object Arguments]";
|
|
213
213
|
function Fr(n) {
|
|
214
|
-
return Ve(n) && Ge(n) ==
|
|
214
|
+
return Ve(n) && Ge(n) == Sa;
|
|
215
215
|
}
|
|
216
|
-
var
|
|
216
|
+
var _n = Object.prototype, Pa = _n.hasOwnProperty, wa = _n.propertyIsEnumerable, Ca = Fr(/* @__PURE__ */ function() {
|
|
217
217
|
return arguments;
|
|
218
218
|
}()) ? Fr : function(n) {
|
|
219
|
-
return Ve(n) &&
|
|
219
|
+
return Ve(n) && Pa.call(n, "callee") && !wa.call(n, "callee");
|
|
220
220
|
};
|
|
221
|
-
function
|
|
221
|
+
function xa() {
|
|
222
222
|
return !1;
|
|
223
223
|
}
|
|
224
|
-
var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module,
|
|
225
|
-
L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] =
|
|
226
|
-
L[Da] = L[
|
|
227
|
-
function
|
|
224
|
+
var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Aa = Lr && Lr.exports === bn, Ur = Aa ? K.Buffer : void 0, Ia = Ur ? Ur.isBuffer : void 0, mn = Ia || xa, ka = "[object Arguments]", Da = "[object Array]", Fa = "[object Boolean]", La = "[object Date]", Ua = "[object Error]", Ma = "[object Function]", ja = "[object Map]", Ba = "[object Number]", $a = "[object Object]", Ga = "[object RegExp]", Va = "[object Set]", Ya = "[object String]", Xa = "[object WeakMap]", Wa = "[object ArrayBuffer]", za = "[object DataView]", Ja = "[object Float32Array]", Ha = "[object Float64Array]", Ka = "[object Int8Array]", qa = "[object Int16Array]", Za = "[object Int32Array]", Qa = "[object Uint8Array]", eo = "[object Uint8ClampedArray]", to = "[object Uint16Array]", ro = "[object Uint32Array]", L = {};
|
|
225
|
+
L[Ja] = L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = !0;
|
|
226
|
+
L[ka] = L[Da] = L[Wa] = L[Fa] = L[za] = L[La] = L[Ua] = L[Ma] = L[ja] = L[Ba] = L[$a] = L[Ga] = L[Va] = L[Ya] = L[Xa] = !1;
|
|
227
|
+
function no(n) {
|
|
228
228
|
return Ve(n) && En(n.length) && !!L[Ge(n)];
|
|
229
229
|
}
|
|
230
230
|
function jt(n) {
|
|
@@ -232,21 +232,21 @@ function jt(n) {
|
|
|
232
232
|
return n(s);
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = Rn && typeof module == "object" && module && !module.nodeType && module,
|
|
235
|
+
var Rn = typeof exports == "object" && exports && !exports.nodeType && exports, Me = Rn && typeof module == "object" && module && !module.nodeType && module, io = Me && Me.exports === Rn, At = io && ln.process, Oe = function() {
|
|
236
236
|
try {
|
|
237
237
|
var n = Me && Me.require && Me.require("util").types;
|
|
238
238
|
return n || At && At.binding && At.binding("util");
|
|
239
239
|
} catch {
|
|
240
240
|
}
|
|
241
|
-
}(), Mr = Oe && Oe.isTypedArray,
|
|
241
|
+
}(), Mr = Oe && Oe.isTypedArray, ao = Mr ? jt(Mr) : no, oo = Object.prototype, uo = oo.hasOwnProperty;
|
|
242
242
|
function On(n, s) {
|
|
243
|
-
var p = Ut(n),
|
|
243
|
+
var p = Ut(n), v = !p && Ca(n), g = !p && !v && mn(n), R = !p && !v && !g && ao(n), m = p || v || g || R, N = m ? Ta(n.length, String) : [], T = N.length;
|
|
244
244
|
for (var r in n)
|
|
245
|
-
(s ||
|
|
245
|
+
(s || uo.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
246
246
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
247
|
-
|
|
247
|
+
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
248
248
|
R && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
249
|
-
|
|
249
|
+
ba(r, T))) && N.push(r);
|
|
250
250
|
return N;
|
|
251
251
|
}
|
|
252
252
|
function Nn(n, s) {
|
|
@@ -254,77 +254,77 @@ function Nn(n, s) {
|
|
|
254
254
|
return n(s(p));
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
257
|
+
var so = Nn(Object.keys, Object), co = Object.prototype, fo = co.hasOwnProperty;
|
|
258
|
+
function lo(n) {
|
|
259
259
|
if (!Mt(n))
|
|
260
|
-
return
|
|
260
|
+
return so(n);
|
|
261
261
|
var s = [];
|
|
262
262
|
for (var p in Object(n))
|
|
263
|
-
|
|
263
|
+
fo.call(n, p) && p != "constructor" && s.push(p);
|
|
264
264
|
return s;
|
|
265
265
|
}
|
|
266
266
|
function Bt(n) {
|
|
267
|
-
return
|
|
267
|
+
return gn(n) ? On(n) : lo(n);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function po(n) {
|
|
270
270
|
var s = [];
|
|
271
271
|
if (n != null)
|
|
272
272
|
for (var p in Object(n))
|
|
273
273
|
s.push(p);
|
|
274
274
|
return s;
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
276
|
+
var ho = Object.prototype, vo = ho.hasOwnProperty;
|
|
277
|
+
function yo(n) {
|
|
278
278
|
if (!Ye(n))
|
|
279
|
-
return
|
|
279
|
+
return po(n);
|
|
280
280
|
var s = Mt(n), p = [];
|
|
281
|
-
for (var
|
|
282
|
-
|
|
281
|
+
for (var v in n)
|
|
282
|
+
v == "constructor" && (s || !vo.call(n, v)) || p.push(v);
|
|
283
283
|
return p;
|
|
284
284
|
}
|
|
285
285
|
function $t(n) {
|
|
286
|
-
return
|
|
286
|
+
return gn(n) ? On(n, !0) : yo(n);
|
|
287
287
|
}
|
|
288
288
|
var je = de(Object, "create");
|
|
289
|
-
function
|
|
289
|
+
function Eo() {
|
|
290
290
|
this.__data__ = je ? je(null) : {}, this.size = 0;
|
|
291
291
|
}
|
|
292
292
|
function go(n) {
|
|
293
293
|
var s = this.has(n) && delete this.__data__[n];
|
|
294
294
|
return this.size -= s ? 1 : 0, s;
|
|
295
295
|
}
|
|
296
|
-
var
|
|
297
|
-
function
|
|
296
|
+
var _o = "__lodash_hash_undefined__", bo = Object.prototype, mo = bo.hasOwnProperty;
|
|
297
|
+
function Ro(n) {
|
|
298
298
|
var s = this.__data__;
|
|
299
299
|
if (je) {
|
|
300
300
|
var p = s[n];
|
|
301
|
-
return p ===
|
|
301
|
+
return p === _o ? void 0 : p;
|
|
302
302
|
}
|
|
303
|
-
return
|
|
303
|
+
return mo.call(s, n) ? s[n] : void 0;
|
|
304
304
|
}
|
|
305
|
-
var
|
|
306
|
-
function
|
|
305
|
+
var Oo = Object.prototype, No = Oo.hasOwnProperty;
|
|
306
|
+
function To(n) {
|
|
307
307
|
var s = this.__data__;
|
|
308
|
-
return je ? s[n] !== void 0 :
|
|
308
|
+
return je ? s[n] !== void 0 : No.call(s, n);
|
|
309
309
|
}
|
|
310
|
-
var
|
|
311
|
-
function
|
|
310
|
+
var So = "__lodash_hash_undefined__";
|
|
311
|
+
function Po(n, s) {
|
|
312
312
|
var p = this.__data__;
|
|
313
|
-
return this.size += this.has(n) ? 0 : 1, p[n] = je && s === void 0 ?
|
|
313
|
+
return this.size += this.has(n) ? 0 : 1, p[n] = je && s === void 0 ? So : s, this;
|
|
314
314
|
}
|
|
315
315
|
function pe(n) {
|
|
316
316
|
var s = -1, p = n == null ? 0 : n.length;
|
|
317
317
|
for (this.clear(); ++s < p; ) {
|
|
318
|
-
var
|
|
319
|
-
this.set(
|
|
318
|
+
var v = n[s];
|
|
319
|
+
this.set(v[0], v[1]);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
pe.prototype.clear =
|
|
322
|
+
pe.prototype.clear = Eo;
|
|
323
323
|
pe.prototype.delete = go;
|
|
324
|
-
pe.prototype.get =
|
|
325
|
-
pe.prototype.has =
|
|
326
|
-
pe.prototype.set =
|
|
327
|
-
function
|
|
324
|
+
pe.prototype.get = Ro;
|
|
325
|
+
pe.prototype.has = To;
|
|
326
|
+
pe.prototype.set = Po;
|
|
327
|
+
function wo() {
|
|
328
328
|
this.__data__ = [], this.size = 0;
|
|
329
329
|
}
|
|
330
330
|
function it(n, s) {
|
|
@@ -333,223 +333,224 @@ function it(n, s) {
|
|
|
333
333
|
return p;
|
|
334
334
|
return -1;
|
|
335
335
|
}
|
|
336
|
-
var
|
|
337
|
-
function
|
|
336
|
+
var Co = Array.prototype, xo = Co.splice;
|
|
337
|
+
function Ao(n) {
|
|
338
338
|
var s = this.__data__, p = it(s, n);
|
|
339
339
|
if (p < 0)
|
|
340
340
|
return !1;
|
|
341
|
-
var
|
|
342
|
-
return p ==
|
|
341
|
+
var v = s.length - 1;
|
|
342
|
+
return p == v ? s.pop() : xo.call(s, p, 1), --this.size, !0;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Io(n) {
|
|
345
345
|
var s = this.__data__, p = it(s, n);
|
|
346
346
|
return p < 0 ? void 0 : s[p][1];
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function ko(n) {
|
|
349
349
|
return it(this.__data__, n) > -1;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
var p = this.__data__,
|
|
353
|
-
return
|
|
351
|
+
function Do(n, s) {
|
|
352
|
+
var p = this.__data__, v = it(p, n);
|
|
353
|
+
return v < 0 ? (++this.size, p.push([n, s])) : p[v][1] = s, this;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function re(n) {
|
|
356
356
|
var s = -1, p = n == null ? 0 : n.length;
|
|
357
357
|
for (this.clear(); ++s < p; ) {
|
|
358
|
-
var
|
|
359
|
-
this.set(
|
|
358
|
+
var v = n[s];
|
|
359
|
+
this.set(v[0], v[1]);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
362
|
+
re.prototype.clear = wo;
|
|
363
|
+
re.prototype.delete = Ao;
|
|
364
|
+
re.prototype.get = Io;
|
|
365
|
+
re.prototype.has = ko;
|
|
366
|
+
re.prototype.set = Do;
|
|
367
367
|
var Be = de(K, "Map");
|
|
368
|
-
function
|
|
368
|
+
function Fo() {
|
|
369
369
|
this.size = 0, this.__data__ = {
|
|
370
370
|
hash: new pe(),
|
|
371
|
-
map: new (Be ||
|
|
371
|
+
map: new (Be || re)(),
|
|
372
372
|
string: new pe()
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Lo(n) {
|
|
376
376
|
var s = typeof n;
|
|
377
377
|
return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? n !== "__proto__" : n === null;
|
|
378
378
|
}
|
|
379
379
|
function at(n, s) {
|
|
380
380
|
var p = n.__data__;
|
|
381
|
-
return
|
|
381
|
+
return Lo(s) ? p[typeof s == "string" ? "string" : "hash"] : p.map;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function Uo(n) {
|
|
384
384
|
var s = at(this, n).delete(n);
|
|
385
385
|
return this.size -= s ? 1 : 0, s;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Mo(n) {
|
|
388
388
|
return at(this, n).get(n);
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function jo(n) {
|
|
391
391
|
return at(this, n).has(n);
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
var p = at(this, n),
|
|
395
|
-
return p.set(n, s), this.size += p.size ==
|
|
393
|
+
function Bo(n, s) {
|
|
394
|
+
var p = at(this, n), v = p.size;
|
|
395
|
+
return p.set(n, s), this.size += p.size == v ? 0 : 1, this;
|
|
396
396
|
}
|
|
397
397
|
function Te(n) {
|
|
398
398
|
var s = -1, p = n == null ? 0 : n.length;
|
|
399
399
|
for (this.clear(); ++s < p; ) {
|
|
400
|
-
var
|
|
401
|
-
this.set(
|
|
400
|
+
var v = n[s];
|
|
401
|
+
this.set(v[0], v[1]);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
Te.prototype.clear =
|
|
405
|
-
Te.prototype.delete =
|
|
406
|
-
Te.prototype.get =
|
|
407
|
-
Te.prototype.has =
|
|
408
|
-
Te.prototype.set =
|
|
404
|
+
Te.prototype.clear = Fo;
|
|
405
|
+
Te.prototype.delete = Uo;
|
|
406
|
+
Te.prototype.get = Mo;
|
|
407
|
+
Te.prototype.has = jo;
|
|
408
|
+
Te.prototype.set = Bo;
|
|
409
409
|
function Tn(n, s) {
|
|
410
|
-
for (var p = -1,
|
|
411
|
-
n[
|
|
410
|
+
for (var p = -1, v = s.length, g = n.length; ++p < v; )
|
|
411
|
+
n[g + p] = s[p];
|
|
412
412
|
return n;
|
|
413
413
|
}
|
|
414
414
|
var Sn = Nn(Object.getPrototypeOf, Object);
|
|
415
|
-
function
|
|
416
|
-
this.__data__ = new
|
|
415
|
+
function $o() {
|
|
416
|
+
this.__data__ = new re(), this.size = 0;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Go(n) {
|
|
419
419
|
var s = this.__data__, p = s.delete(n);
|
|
420
420
|
return this.size = s.size, p;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function Vo(n) {
|
|
423
423
|
return this.__data__.get(n);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function Yo(n) {
|
|
426
426
|
return this.__data__.has(n);
|
|
427
427
|
}
|
|
428
|
-
var
|
|
429
|
-
function
|
|
428
|
+
var Xo = 200;
|
|
429
|
+
function Wo(n, s) {
|
|
430
430
|
var p = this.__data__;
|
|
431
|
-
if (p instanceof
|
|
432
|
-
var
|
|
433
|
-
if (!Be ||
|
|
434
|
-
return
|
|
435
|
-
p = this.__data__ = new Te(
|
|
431
|
+
if (p instanceof re) {
|
|
432
|
+
var v = p.__data__;
|
|
433
|
+
if (!Be || v.length < Xo - 1)
|
|
434
|
+
return v.push([n, s]), this.size = ++p.size, this;
|
|
435
|
+
p = this.__data__ = new Te(v);
|
|
436
436
|
}
|
|
437
437
|
return p.set(n, s), this.size = p.size, this;
|
|
438
438
|
}
|
|
439
439
|
function Se(n) {
|
|
440
|
-
var s = this.__data__ = new
|
|
440
|
+
var s = this.__data__ = new re(n);
|
|
441
441
|
this.size = s.size;
|
|
442
442
|
}
|
|
443
|
-
Se.prototype.clear =
|
|
444
|
-
Se.prototype.delete =
|
|
445
|
-
Se.prototype.get =
|
|
446
|
-
Se.prototype.has =
|
|
447
|
-
Se.prototype.set =
|
|
448
|
-
function
|
|
443
|
+
Se.prototype.clear = $o;
|
|
444
|
+
Se.prototype.delete = Go;
|
|
445
|
+
Se.prototype.get = Vo;
|
|
446
|
+
Se.prototype.has = Yo;
|
|
447
|
+
Se.prototype.set = Wo;
|
|
448
|
+
function zo(n, s) {
|
|
449
449
|
return n && nt(s, Bt(s), n);
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function Jo(n, s) {
|
|
452
452
|
return n && nt(s, $t(s), n);
|
|
453
453
|
}
|
|
454
|
-
var Pn = typeof exports == "object" && exports && !exports.nodeType && exports, jr = Pn && typeof module == "object" && module && !module.nodeType && module,
|
|
455
|
-
function
|
|
454
|
+
var Pn = typeof exports == "object" && exports && !exports.nodeType && exports, jr = Pn && typeof module == "object" && module && !module.nodeType && module, Ho = jr && jr.exports === Pn, Br = Ho ? K.Buffer : void 0, $r = Br ? Br.allocUnsafe : void 0;
|
|
455
|
+
function Ko(n, s) {
|
|
456
456
|
if (s)
|
|
457
457
|
return n.slice();
|
|
458
|
-
var p = n.length,
|
|
459
|
-
return n.copy(
|
|
458
|
+
var p = n.length, v = $r ? $r(p) : new n.constructor(p);
|
|
459
|
+
return n.copy(v), v;
|
|
460
460
|
}
|
|
461
|
-
function
|
|
462
|
-
for (var p = -1,
|
|
461
|
+
function qo(n, s) {
|
|
462
|
+
for (var p = -1, v = n == null ? 0 : n.length, g = 0, R = []; ++p < v; ) {
|
|
463
463
|
var m = n[p];
|
|
464
|
-
s(m, p, n) && (R[
|
|
464
|
+
s(m, p, n) && (R[g++] = m);
|
|
465
465
|
}
|
|
466
466
|
return R;
|
|
467
467
|
}
|
|
468
468
|
function wn() {
|
|
469
469
|
return [];
|
|
470
470
|
}
|
|
471
|
-
var
|
|
472
|
-
return n == null ? [] : (n = Object(n),
|
|
473
|
-
return
|
|
471
|
+
var Zo = Object.prototype, Qo = Zo.propertyIsEnumerable, Gr = Object.getOwnPropertySymbols, Gt = Gr ? function(n) {
|
|
472
|
+
return n == null ? [] : (n = Object(n), qo(Gr(n), function(s) {
|
|
473
|
+
return Qo.call(n, s);
|
|
474
474
|
}));
|
|
475
475
|
} : wn;
|
|
476
|
-
function
|
|
476
|
+
function eu(n, s) {
|
|
477
477
|
return nt(n, Gt(n), s);
|
|
478
478
|
}
|
|
479
|
-
var
|
|
479
|
+
var tu = Object.getOwnPropertySymbols, Cn = tu ? function(n) {
|
|
480
480
|
for (var s = []; n; )
|
|
481
481
|
Tn(s, Gt(n)), n = Sn(n);
|
|
482
482
|
return s;
|
|
483
483
|
} : wn;
|
|
484
|
-
function
|
|
484
|
+
function ru(n, s) {
|
|
485
485
|
return nt(n, Cn(n), s);
|
|
486
486
|
}
|
|
487
487
|
function xn(n, s, p) {
|
|
488
|
-
var
|
|
489
|
-
return Ut(n) ?
|
|
488
|
+
var v = s(n);
|
|
489
|
+
return Ut(n) ? v : Tn(v, p(n));
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function nu(n) {
|
|
492
492
|
return xn(n, Bt, Gt);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function iu(n) {
|
|
495
495
|
return xn(n, $t, Cn);
|
|
496
496
|
}
|
|
497
|
-
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]",
|
|
498
|
-
(kt &&
|
|
499
|
-
var s = Ge(n), p = s ==
|
|
500
|
-
if (
|
|
501
|
-
switch (
|
|
502
|
-
case
|
|
497
|
+
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", au = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", ou = he(kt), uu = he(Be), su = he(Dt), cu = he(Ft), fu = he(It), te = Ge;
|
|
498
|
+
(kt && te(new kt(new ArrayBuffer(1))) != zr || Be && te(new Be()) != Vr || Dt && te(Dt.resolve()) != Yr || Ft && te(new Ft()) != Xr || It && te(new It()) != Wr) && (te = function(n) {
|
|
499
|
+
var s = Ge(n), p = s == au ? n.constructor : void 0, v = p ? he(p) : "";
|
|
500
|
+
if (v)
|
|
501
|
+
switch (v) {
|
|
502
|
+
case ou:
|
|
503
503
|
return zr;
|
|
504
|
-
case
|
|
504
|
+
case uu:
|
|
505
505
|
return Vr;
|
|
506
|
-
case
|
|
506
|
+
case su:
|
|
507
507
|
return Yr;
|
|
508
|
-
case
|
|
508
|
+
case cu:
|
|
509
509
|
return Xr;
|
|
510
|
-
case
|
|
510
|
+
case fu:
|
|
511
511
|
return Wr;
|
|
512
512
|
}
|
|
513
513
|
return s;
|
|
514
514
|
});
|
|
515
|
-
var
|
|
516
|
-
function
|
|
515
|
+
var lu = Object.prototype, pu = lu.hasOwnProperty;
|
|
516
|
+
function hu(n) {
|
|
517
517
|
var s = n.length, p = new n.constructor(s);
|
|
518
|
-
return s && typeof n[0] == "string" &&
|
|
518
|
+
return s && typeof n[0] == "string" && pu.call(n, "index") && (p.index = n.index, p.input = n.input), p;
|
|
519
519
|
}
|
|
520
520
|
var Jr = K.Uint8Array;
|
|
521
521
|
function Vt(n) {
|
|
522
522
|
var s = new n.constructor(n.byteLength);
|
|
523
523
|
return new Jr(s).set(new Jr(n)), s;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function du(n, s) {
|
|
526
526
|
var p = s ? Vt(n.buffer) : n.buffer;
|
|
527
527
|
return new n.constructor(p, n.byteOffset, n.byteLength);
|
|
528
528
|
}
|
|
529
|
-
var
|
|
530
|
-
function
|
|
531
|
-
var s = new n.constructor(n.source,
|
|
529
|
+
var vu = /\w*$/;
|
|
530
|
+
function yu(n) {
|
|
531
|
+
var s = new n.constructor(n.source, vu.exec(n));
|
|
532
532
|
return s.lastIndex = n.lastIndex, s;
|
|
533
533
|
}
|
|
534
534
|
var Hr = Re ? Re.prototype : void 0, Kr = Hr ? Hr.valueOf : void 0;
|
|
535
|
-
function
|
|
535
|
+
function Eu(n) {
|
|
536
536
|
return Kr ? Object(Kr.call(n)) : {};
|
|
537
537
|
}
|
|
538
538
|
function gu(n, s) {
|
|
539
539
|
var p = s ? Vt(n.buffer) : n.buffer;
|
|
540
540
|
return new n.constructor(p, n.byteOffset, n.length);
|
|
541
541
|
}
|
|
542
|
-
var
|
|
543
|
-
function
|
|
544
|
-
var
|
|
542
|
+
var _u = "[object Boolean]", bu = "[object Date]", mu = "[object Map]", Ru = "[object Number]", Ou = "[object RegExp]", Nu = "[object Set]", Tu = "[object String]", Su = "[object Symbol]", Pu = "[object ArrayBuffer]", wu = "[object DataView]", Cu = "[object Float32Array]", xu = "[object Float64Array]", Au = "[object Int8Array]", Iu = "[object Int16Array]", ku = "[object Int32Array]", Du = "[object Uint8Array]", Fu = "[object Uint8ClampedArray]", Lu = "[object Uint16Array]", Uu = "[object Uint32Array]";
|
|
543
|
+
function Mu(n, s, p) {
|
|
544
|
+
var v = n.constructor;
|
|
545
545
|
switch (s) {
|
|
546
|
-
case
|
|
546
|
+
case Pu:
|
|
547
547
|
return Vt(n);
|
|
548
|
+
case _u:
|
|
548
549
|
case bu:
|
|
549
|
-
|
|
550
|
-
|
|
550
|
+
return new v(+n);
|
|
551
|
+
case wu:
|
|
552
|
+
return du(n, p);
|
|
551
553
|
case Cu:
|
|
552
|
-
return vu(n, p);
|
|
553
554
|
case xu:
|
|
554
555
|
case Au:
|
|
555
556
|
case Iu:
|
|
@@ -558,77 +559,76 @@ function ju(n, s, p) {
|
|
|
558
559
|
case Fu:
|
|
559
560
|
case Lu:
|
|
560
561
|
case Uu:
|
|
561
|
-
case Mu:
|
|
562
562
|
return gu(n, p);
|
|
563
|
+
case mu:
|
|
564
|
+
return new v();
|
|
563
565
|
case Ru:
|
|
564
|
-
|
|
566
|
+
case Tu:
|
|
567
|
+
return new v(n);
|
|
565
568
|
case Ou:
|
|
566
|
-
|
|
567
|
-
return new y(n);
|
|
569
|
+
return yu(n);
|
|
568
570
|
case Nu:
|
|
571
|
+
return new v();
|
|
572
|
+
case Su:
|
|
569
573
|
return Eu(n);
|
|
570
|
-
case Tu:
|
|
571
|
-
return new y();
|
|
572
|
-
case Pu:
|
|
573
|
-
return _u(n);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
577
|
-
return typeof n.constructor == "function" && !Mt(n) ?
|
|
576
|
+
function ju(n) {
|
|
577
|
+
return typeof n.constructor == "function" && !Mt(n) ? va(Sn(n)) : {};
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
581
|
-
return Ve(n) &&
|
|
579
|
+
var Bu = "[object Map]";
|
|
580
|
+
function $u(n) {
|
|
581
|
+
return Ve(n) && te(n) == Bu;
|
|
582
582
|
}
|
|
583
|
-
var qr = Oe && Oe.isMap,
|
|
584
|
-
function
|
|
585
|
-
return Ve(n) &&
|
|
583
|
+
var qr = Oe && Oe.isMap, Gu = qr ? jt(qr) : $u, Vu = "[object Set]";
|
|
584
|
+
function Yu(n) {
|
|
585
|
+
return Ve(n) && te(n) == Vu;
|
|
586
586
|
}
|
|
587
|
-
var Zr = Oe && Oe.isSet,
|
|
588
|
-
F[An] = F[
|
|
589
|
-
F[
|
|
590
|
-
function rt(n, s, p,
|
|
591
|
-
var m, N = s &
|
|
587
|
+
var Zr = Oe && Oe.isSet, Xu = Zr ? jt(Zr) : Yu, Wu = 1, zu = 2, Ju = 4, An = "[object Arguments]", Hu = "[object Array]", Ku = "[object Boolean]", qu = "[object Date]", Zu = "[object Error]", In = "[object Function]", Qu = "[object GeneratorFunction]", es = "[object Map]", ts = "[object Number]", kn = "[object Object]", rs = "[object RegExp]", ns = "[object Set]", is = "[object String]", as = "[object Symbol]", os = "[object WeakMap]", us = "[object ArrayBuffer]", ss = "[object DataView]", cs = "[object Float32Array]", fs = "[object Float64Array]", ls = "[object Int8Array]", ps = "[object Int16Array]", hs = "[object Int32Array]", ds = "[object Uint8Array]", vs = "[object Uint8ClampedArray]", ys = "[object Uint16Array]", Es = "[object Uint32Array]", F = {};
|
|
588
|
+
F[An] = F[Hu] = F[us] = F[ss] = F[Ku] = F[qu] = F[cs] = F[fs] = F[ls] = F[ps] = F[hs] = F[es] = F[ts] = F[kn] = F[rs] = F[ns] = F[is] = F[as] = F[ds] = F[vs] = F[ys] = F[Es] = !0;
|
|
589
|
+
F[Zu] = F[In] = F[os] = !1;
|
|
590
|
+
function rt(n, s, p, v, g, R) {
|
|
591
|
+
var m, N = s & Wu, T = s & zu, r = s & Ju;
|
|
592
592
|
if (m !== void 0)
|
|
593
593
|
return m;
|
|
594
594
|
if (!Ye(n))
|
|
595
595
|
return n;
|
|
596
596
|
var t = Ut(n);
|
|
597
597
|
if (t) {
|
|
598
|
-
if (m =
|
|
599
|
-
return
|
|
598
|
+
if (m = hu(n), !N)
|
|
599
|
+
return ya(n, m);
|
|
600
600
|
} else {
|
|
601
|
-
var e =
|
|
601
|
+
var e = te(n), i = e == In || e == Qu;
|
|
602
602
|
if (mn(n))
|
|
603
|
-
return
|
|
604
|
-
if (e == kn || e == An || i && !
|
|
605
|
-
if (m = T || i ? {} :
|
|
606
|
-
return T ?
|
|
603
|
+
return Ko(n, N);
|
|
604
|
+
if (e == kn || e == An || i && !g) {
|
|
605
|
+
if (m = T || i ? {} : ju(n), !N)
|
|
606
|
+
return T ? ru(n, Jo(m, n)) : eu(n, zo(m, n));
|
|
607
607
|
} else {
|
|
608
608
|
if (!F[e])
|
|
609
|
-
return
|
|
610
|
-
m =
|
|
609
|
+
return g ? n : {};
|
|
610
|
+
m = Mu(n, e, N);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
R || (R = new Se());
|
|
614
614
|
var o = R.get(n);
|
|
615
615
|
if (o)
|
|
616
616
|
return o;
|
|
617
|
-
R.set(n, m),
|
|
617
|
+
R.set(n, m), Xu(n) ? n.forEach(function(a) {
|
|
618
618
|
m.add(rt(a, s, p, a, n, R));
|
|
619
|
-
}) :
|
|
619
|
+
}) : Gu(n) && n.forEach(function(a, l) {
|
|
620
620
|
m.set(l, rt(a, s, p, l, n, R));
|
|
621
621
|
});
|
|
622
|
-
var u = r ? T ?
|
|
623
|
-
return
|
|
622
|
+
var u = r ? T ? iu : nu : T ? $t : Bt, c = t ? void 0 : u(n);
|
|
623
|
+
return Ea(c || n, function(a, l) {
|
|
624
624
|
c && (l = a, a = n[l]), yn(m, l, rt(a, s, p, l, n, R));
|
|
625
625
|
}), m;
|
|
626
626
|
}
|
|
627
|
-
var gs = 1,
|
|
627
|
+
var gs = 1, _s = 4;
|
|
628
628
|
function Lt(n) {
|
|
629
|
-
return rt(n, gs |
|
|
629
|
+
return rt(n, gs | _s);
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function bs(n, s) {
|
|
632
632
|
if (n === "page") {
|
|
633
633
|
if (s == "common")
|
|
634
634
|
return "pageCommon";
|
|
@@ -655,15 +655,15 @@ function Qr(n) {
|
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
function en(n, s) {
|
|
658
|
-
function p(
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}) :
|
|
658
|
+
function p(v, g) {
|
|
659
|
+
g.static || (g.children ? g.array ? v[g.key] = Qr(g) : g.children.forEach((R) => {
|
|
660
|
+
g.keyFlag ? p(v, R) : (v[g.key] = {}, p(v[g.key], R));
|
|
661
|
+
}) : v[g.key] = Qr(g));
|
|
662
662
|
}
|
|
663
|
-
s.forEach((
|
|
663
|
+
s.forEach((v) => p(n, v));
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
const R =
|
|
665
|
+
function ms(n, s, p, v, g) {
|
|
666
|
+
const R = bs(n, s);
|
|
667
667
|
if (!R) {
|
|
668
668
|
console.error("invalid prop tag");
|
|
669
669
|
return;
|
|
@@ -674,135 +674,140 @@ function Rs(n, s, p, y, _) {
|
|
|
674
674
|
return;
|
|
675
675
|
}
|
|
676
676
|
const N = {}, T = fn(16);
|
|
677
|
-
if (
|
|
677
|
+
if (v) {
|
|
678
678
|
const r = m.refKey;
|
|
679
679
|
if (!m.elements.has(r)) {
|
|
680
|
-
console.error(`[ref] element not found in pkg key=${
|
|
680
|
+
console.error(`[ref] element not found in pkg key=${g}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
683
|
const t = Ne[r];
|
|
684
684
|
if (!t) {
|
|
685
|
-
console.error(`[ref] element not found in global key=${
|
|
685
|
+
console.error(`[ref] element not found in global key=${g}`);
|
|
686
686
|
return;
|
|
687
687
|
}
|
|
688
688
|
const e = t.props[R];
|
|
689
689
|
if (!e) {
|
|
690
|
-
console.error(`[ref] props not found key=${
|
|
690
|
+
console.error(`[ref] props not found key=${g} tag=${R}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
693
|
en(N, e), N.id = T, N.ref = {
|
|
694
|
-
id:
|
|
694
|
+
id: g
|
|
695
695
|
};
|
|
696
696
|
} else {
|
|
697
|
-
if (!m.elements.has(
|
|
698
|
-
console.error(`[key] element not found in pkg key=${
|
|
697
|
+
if (!m.elements.has(g)) {
|
|
698
|
+
console.error(`[key] element not found in pkg key=${g}`);
|
|
699
699
|
return;
|
|
700
700
|
}
|
|
701
|
-
const r = Ne[
|
|
701
|
+
const r = Ne[g];
|
|
702
702
|
if (!r) {
|
|
703
|
-
console.error(`[key] element not found in global key=${
|
|
703
|
+
console.error(`[key] element not found in global key=${g}`);
|
|
704
704
|
return;
|
|
705
705
|
}
|
|
706
706
|
const t = r.props[R];
|
|
707
707
|
if (!t) {
|
|
708
|
-
console.error(`[key] props not found key=${
|
|
708
|
+
console.error(`[key] props not found key=${g} tag=${R}`);
|
|
709
709
|
return;
|
|
710
710
|
}
|
|
711
|
-
en(N, t), N.id = T, N.key =
|
|
711
|
+
en(N, t), N.id = T, N.key = g, r.leaf || (N.children = []);
|
|
712
712
|
}
|
|
713
713
|
return N;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
function p(
|
|
717
|
-
if (
|
|
718
|
-
return
|
|
719
|
-
if (
|
|
720
|
-
for (let
|
|
721
|
-
const R = p(
|
|
715
|
+
function sc(n, s) {
|
|
716
|
+
function p(v) {
|
|
717
|
+
if (v.id === s)
|
|
718
|
+
return v;
|
|
719
|
+
if (v.children)
|
|
720
|
+
for (let g = 0; g < v.children.length; g++) {
|
|
721
|
+
const R = p(v.children[g]);
|
|
722
722
|
if (R)
|
|
723
723
|
return R;
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
for (let
|
|
727
|
-
const
|
|
728
|
-
if (
|
|
729
|
-
return
|
|
726
|
+
for (let v = 0; v < n.length; v++) {
|
|
727
|
+
const g = p(n[v]);
|
|
728
|
+
if (g)
|
|
729
|
+
return g;
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
function s(
|
|
734
|
-
var
|
|
735
|
-
|
|
732
|
+
function cc(n) {
|
|
733
|
+
function s(v) {
|
|
734
|
+
var g;
|
|
735
|
+
v.id = fn(16), (g = v.children) == null || g.forEach((R) => s(R));
|
|
736
736
|
}
|
|
737
737
|
const p = Lt(n);
|
|
738
738
|
return s(p), p;
|
|
739
739
|
}
|
|
740
740
|
const Dn = "runtimeEnv", Fn = "runtimeMode", Ln = "runtimeDevice", Un = "runtimeDark", Mn = "runtimeType", jn = "runtimeData", Bn = "runtimeDepends", $n = "runtimeInterpreter";
|
|
741
|
+
function fc(n) {
|
|
742
|
+
oe(Dn, n);
|
|
743
|
+
}
|
|
744
|
+
function Rs() {
|
|
745
|
+
return ue(Dn);
|
|
746
|
+
}
|
|
741
747
|
function lc(n) {
|
|
742
|
-
|
|
748
|
+
oe(Fn, n);
|
|
743
749
|
}
|
|
744
750
|
function Os() {
|
|
745
|
-
return
|
|
751
|
+
return ue(Fn);
|
|
746
752
|
}
|
|
747
753
|
function pc(n) {
|
|
748
|
-
|
|
754
|
+
oe(Ln, $e(n));
|
|
749
755
|
}
|
|
750
756
|
function Ns() {
|
|
751
|
-
return
|
|
757
|
+
return ue(Ln);
|
|
752
758
|
}
|
|
753
759
|
function hc(n) {
|
|
754
|
-
|
|
760
|
+
oe(Un, $e(n));
|
|
755
761
|
}
|
|
756
762
|
function Ts() {
|
|
757
|
-
return
|
|
763
|
+
return ue(Un);
|
|
758
764
|
}
|
|
759
765
|
function dc(n) {
|
|
760
|
-
|
|
766
|
+
oe(Mn, n);
|
|
761
767
|
}
|
|
762
768
|
function Ss() {
|
|
763
|
-
return
|
|
769
|
+
return ue(Mn);
|
|
764
770
|
}
|
|
765
771
|
function vc(n) {
|
|
766
|
-
|
|
772
|
+
oe(jn, $e(n));
|
|
767
773
|
}
|
|
768
774
|
function Ps() {
|
|
769
|
-
|
|
775
|
+
const n = ue(jn);
|
|
776
|
+
return console.assert(an(n)), n;
|
|
770
777
|
}
|
|
771
778
|
function yc(n) {
|
|
772
|
-
|
|
779
|
+
oe(Bn, $e(n));
|
|
773
780
|
}
|
|
774
781
|
function ws() {
|
|
775
|
-
const n =
|
|
782
|
+
const n = ue(Bn);
|
|
776
783
|
return console.assert(an(n)), n;
|
|
777
784
|
}
|
|
778
|
-
function
|
|
779
|
-
|
|
780
|
-
}
|
|
781
|
-
function Cs() {
|
|
782
|
-
const n = oe(Bn);
|
|
783
|
-
return console.assert(an(n)), n;
|
|
785
|
+
function Cs(n) {
|
|
786
|
+
oe($n, $e(n));
|
|
784
787
|
}
|
|
785
|
-
function
|
|
786
|
-
|
|
788
|
+
function Ec() {
|
|
789
|
+
return ue($n);
|
|
787
790
|
}
|
|
788
|
-
|
|
789
|
-
return oe($n);
|
|
790
|
-
}
|
|
791
|
-
const As = /* @__PURE__ */ on({
|
|
791
|
+
const xs = /* @__PURE__ */ on({
|
|
792
792
|
__name: "index",
|
|
793
|
+
props: {
|
|
794
|
+
node: {},
|
|
795
|
+
outer: { type: Boolean }
|
|
796
|
+
},
|
|
793
797
|
setup(n) {
|
|
794
|
-
const s =
|
|
795
|
-
return (
|
|
796
|
-
const
|
|
797
|
-
return un(), sn(
|
|
798
|
-
theme:
|
|
799
|
-
|
|
798
|
+
const s = Ts(), p = n, v = ee(() => s.value ? "dark" : "light"), g = ee(() => p.node.density);
|
|
799
|
+
return (R, m) => {
|
|
800
|
+
const N = xi("v-btn");
|
|
801
|
+
return un(), sn(N, {
|
|
802
|
+
theme: v.value,
|
|
803
|
+
density: g.value
|
|
804
|
+
}, null, 8, ["theme", "density"]);
|
|
800
805
|
};
|
|
801
806
|
}
|
|
802
|
-
}),
|
|
803
|
-
{ title: "default", value: "default" },
|
|
804
|
-
{ title: "comfortable", value: "comfortable" },
|
|
805
|
-
{ title: "compact", value: "compact" }
|
|
807
|
+
}), As = [
|
|
808
|
+
{ title: "x-runtime-lib.default", value: "default" },
|
|
809
|
+
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
810
|
+
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
806
811
|
], tn = {
|
|
807
812
|
key: "settings",
|
|
808
813
|
keyFlag: !0,
|
|
@@ -812,14 +817,14 @@ const As = /* @__PURE__ */ on({
|
|
|
812
817
|
key: "density",
|
|
813
818
|
name: "x-runtime-lib.density",
|
|
814
819
|
ui: "select",
|
|
815
|
-
items:
|
|
820
|
+
items: As,
|
|
816
821
|
default: "default"
|
|
817
822
|
}
|
|
818
823
|
]
|
|
819
|
-
},
|
|
824
|
+
}, Is = {
|
|
820
825
|
key: "btn_v1",
|
|
821
826
|
name: "x-runtime-lib.button",
|
|
822
|
-
comp:
|
|
827
|
+
comp: xs,
|
|
823
828
|
leaf: !0,
|
|
824
829
|
events: [
|
|
825
830
|
{
|
|
@@ -843,7 +848,7 @@ const As = /* @__PURE__ */ on({
|
|
|
843
848
|
default: "#00000000"
|
|
844
849
|
}
|
|
845
850
|
]
|
|
846
|
-
},
|
|
851
|
+
}, ks = {
|
|
847
852
|
key: "globality_v1",
|
|
848
853
|
name: "x-runtime-lib.globality",
|
|
849
854
|
comp: "",
|
|
@@ -885,22 +890,22 @@ const As = /* @__PURE__ */ on({
|
|
|
885
890
|
},
|
|
886
891
|
internal: !0
|
|
887
892
|
};
|
|
888
|
-
function
|
|
889
|
-
const s =
|
|
893
|
+
function Ds(n) {
|
|
894
|
+
const s = Os(), p = Ns(), v = ee(() => n.node.width), g = ee(() => n.node.minWidth), R = ee(() => n.node.maxWidth), m = ee(() => {
|
|
890
895
|
if (n.outer && s === "editor") {
|
|
891
896
|
const t = Ct(n.node.height);
|
|
892
897
|
if (t)
|
|
893
898
|
return t / 100 * p.value.height + "px";
|
|
894
899
|
}
|
|
895
900
|
return n.node.height;
|
|
896
|
-
}), N =
|
|
901
|
+
}), N = ee(() => {
|
|
897
902
|
if (n.outer && s === "editor") {
|
|
898
903
|
const t = Ct(n.node.minHeight);
|
|
899
904
|
if (t)
|
|
900
905
|
return t / 100 * p.value.height + "px";
|
|
901
906
|
}
|
|
902
907
|
return n.node.minHeight;
|
|
903
|
-
}), T =
|
|
908
|
+
}), T = ee(() => {
|
|
904
909
|
if (n.outer && s === "editor") {
|
|
905
910
|
const t = Ct(n.node.maxHeight);
|
|
906
911
|
if (t)
|
|
@@ -909,42 +914,42 @@ function Fs(n) {
|
|
|
909
914
|
return n.node.maxHeight;
|
|
910
915
|
});
|
|
911
916
|
function r(t) {
|
|
912
|
-
|
|
917
|
+
v.value && (t.width = v.value), g.value && (t.minWidth = g.value), R.value && (t.maxWidth = R.value), m.value && (t.height = m.value), N.value && (t.minHeight = N.value), T.value && (t.maxHeight = T.value);
|
|
913
918
|
}
|
|
914
|
-
return { width:
|
|
919
|
+
return { width: v, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight: T, applySize: r };
|
|
915
920
|
}
|
|
916
|
-
var
|
|
917
|
-
function
|
|
921
|
+
var Fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
922
|
+
function Ls(n) {
|
|
918
923
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
919
924
|
}
|
|
920
|
-
function
|
|
925
|
+
function Us(n) {
|
|
921
926
|
if (n.__esModule) return n;
|
|
922
927
|
var s = n.default;
|
|
923
928
|
if (typeof s == "function") {
|
|
924
|
-
var p = function
|
|
925
|
-
return this instanceof
|
|
929
|
+
var p = function v() {
|
|
930
|
+
return this instanceof v ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
|
|
926
931
|
};
|
|
927
932
|
p.prototype = s.prototype;
|
|
928
933
|
} else p = {};
|
|
929
|
-
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(
|
|
930
|
-
var
|
|
931
|
-
Object.defineProperty(p,
|
|
934
|
+
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(v) {
|
|
935
|
+
var g = Object.getOwnPropertyDescriptor(n, v);
|
|
936
|
+
Object.defineProperty(p, v, g.get ? g : {
|
|
932
937
|
enumerable: !0,
|
|
933
938
|
get: function() {
|
|
934
|
-
return n[
|
|
939
|
+
return n[v];
|
|
935
940
|
}
|
|
936
941
|
});
|
|
937
942
|
}), p;
|
|
938
943
|
}
|
|
939
944
|
var Gn = { exports: {} };
|
|
940
|
-
const
|
|
945
|
+
const Ms = {}, js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
941
946
|
__proto__: null,
|
|
942
|
-
default:
|
|
943
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
947
|
+
default: Ms
|
|
948
|
+
}, Symbol.toStringTag, { value: "Module" })), Bs = /* @__PURE__ */ Us(js);
|
|
944
949
|
(function(n, s) {
|
|
945
|
-
(function(
|
|
946
|
-
n.exports =
|
|
947
|
-
})(
|
|
950
|
+
(function(v, g) {
|
|
951
|
+
n.exports = g();
|
|
952
|
+
})(Fs, () => (
|
|
948
953
|
/******/
|
|
949
954
|
(() => {
|
|
950
955
|
var p = {
|
|
@@ -975,8 +980,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
975
980
|
typeof this[l] == "function" && (a = l.match(c)) && (this.stepFunctions_[a[1]] = this[l].bind(this));
|
|
976
981
|
this.globalScope = this.createScope(this.ast, null), this.globalObject = this.globalScope.object, this.ast = this.parse_(this.polyfills_.join(`
|
|
977
982
|
`), "polyfills"), this.polyfills_ = void 0, r.stripLocations_(this.ast, void 0, void 0);
|
|
978
|
-
var
|
|
979
|
-
|
|
983
|
+
var y = new r.State(this.ast, this.globalScope);
|
|
984
|
+
y.done = !1, this.stateStack = [y], this.run(), this.value = void 0, this.ast = o, y = new r.State(this.ast, this.globalScope), y.done = !1, this.stateStack.length = 0, this.stateStack[0] = y;
|
|
980
985
|
};
|
|
981
986
|
r.Completion = {
|
|
982
987
|
NORMAL: 0,
|
|
@@ -1196,8 +1201,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1196
1201
|
return function(l) {
|
|
1197
1202
|
try {
|
|
1198
1203
|
return a(l);
|
|
1199
|
-
} catch (
|
|
1200
|
-
e.throwException(e.URI_ERROR,
|
|
1204
|
+
} catch (y) {
|
|
1205
|
+
e.throwException(e.URI_ERROR, y.message);
|
|
1201
1206
|
}
|
|
1202
1207
|
};
|
|
1203
1208
|
}(u[c][0]), this.setProperty(
|
|
@@ -1244,14 +1249,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1244
1249
|
var a = "";
|
|
1245
1250
|
var l = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1246
1251
|
if (l) {
|
|
1247
|
-
for (var
|
|
1248
|
-
var O =
|
|
1252
|
+
for (var y = l.split(/\s*,\s*/), _ = 0; _ < y.length; _++) {
|
|
1253
|
+
var O = y[_];
|
|
1249
1254
|
o.test(O) || e.throwException(
|
|
1250
1255
|
e.SYNTAX_ERROR,
|
|
1251
1256
|
"Invalid function argument: " + O
|
|
1252
1257
|
);
|
|
1253
1258
|
}
|
|
1254
|
-
l =
|
|
1259
|
+
l = y.join(", ");
|
|
1255
1260
|
}
|
|
1256
1261
|
try {
|
|
1257
1262
|
var b = e.parse_(
|
|
@@ -1296,11 +1301,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1296
1301
|
0,
|
|
1297
1302
|
r.READONLY_NONENUMERABLE_DESCRIPTOR
|
|
1298
1303
|
), this.FUNCTION_PROTO.class = "Function", i = function(c, a, l) {
|
|
1299
|
-
var
|
|
1300
|
-
|
|
1304
|
+
var y = e.stateStack[e.stateStack.length - 1];
|
|
1305
|
+
y.func_ = c, y.funcThis_ = a, y.arguments_ = [], l != null && (l instanceof r.Object ? y.arguments_ = Array.from(l.properties) : e.throwException(
|
|
1301
1306
|
e.TYPE_ERROR,
|
|
1302
1307
|
"CreateListFromArrayLike called on non-object"
|
|
1303
|
-
)),
|
|
1308
|
+
)), y.doneExec_ = !1;
|
|
1304
1309
|
}, this.setNativeFunctionPrototype(this.FUNCTION, "apply", i), this.polyfills_.push(
|
|
1305
1310
|
/* POLYFILL START */
|
|
1306
1311
|
// Flatten the apply args list to remove any inheritance or getter functions.
|
|
@@ -1491,8 +1496,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1491
1496
|
e.TYPE_ERROR,
|
|
1492
1497
|
"Object.getOwnPropertyDescriptor called on non-object: " + c
|
|
1493
1498
|
), a = String(a), a in c.properties) {
|
|
1494
|
-
var l = Object.getOwnPropertyDescriptor(c.properties, a),
|
|
1495
|
-
return
|
|
1499
|
+
var l = Object.getOwnPropertyDescriptor(c.properties, a), y = c.getter[a], _ = c.setter[a], O = e.createObjectProto(e.OBJECT_PROTO);
|
|
1500
|
+
return y || _ ? (e.setProperty(O, "get", y), e.setProperty(O, "set", _)) : (e.setProperty(
|
|
1496
1501
|
O,
|
|
1497
1502
|
"value",
|
|
1498
1503
|
/** @type {!Interpreter.Value} */
|
|
@@ -2071,106 +2076,106 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2071
2076
|
o[u],
|
|
2072
2077
|
String.prototype[o[u]]
|
|
2073
2078
|
);
|
|
2074
|
-
i = function(a, l,
|
|
2075
|
-
l = e.pseudoToNative(l),
|
|
2079
|
+
i = function(a, l, y) {
|
|
2080
|
+
l = e.pseudoToNative(l), y = e.pseudoToNative(y);
|
|
2076
2081
|
try {
|
|
2077
2082
|
return String(this).localeCompare(
|
|
2078
2083
|
a,
|
|
2079
2084
|
/** @type {?} */
|
|
2080
2085
|
l,
|
|
2081
2086
|
/** @type {?} */
|
|
2082
|
-
|
|
2087
|
+
y
|
|
2083
2088
|
);
|
|
2084
|
-
} catch (
|
|
2089
|
+
} catch (_) {
|
|
2085
2090
|
e.throwException(
|
|
2086
2091
|
e.ERROR,
|
|
2087
|
-
"localeCompare: " +
|
|
2092
|
+
"localeCompare: " + _.message
|
|
2088
2093
|
);
|
|
2089
2094
|
}
|
|
2090
|
-
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(a, l,
|
|
2091
|
-
var
|
|
2092
|
-
if (l = l ? Number(l) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a,
|
|
2095
|
+
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(a, l, y) {
|
|
2096
|
+
var _ = String(this);
|
|
2097
|
+
if (l = l ? Number(l) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, y), e.REGEXP_MODE === 2)) {
|
|
2093
2098
|
if (r.vm) {
|
|
2094
2099
|
var O = {
|
|
2095
|
-
string:
|
|
2100
|
+
string: _,
|
|
2096
2101
|
separator: a,
|
|
2097
2102
|
limit: l
|
|
2098
|
-
}, b = "string.split(separator, limit)", D = e.vmCall(b, O, a,
|
|
2099
|
-
D !== r.REGEXP_TIMEOUT &&
|
|
2103
|
+
}, b = "string.split(separator, limit)", D = e.vmCall(b, O, a, y);
|
|
2104
|
+
D !== r.REGEXP_TIMEOUT && y(e.nativeToPseudo(D));
|
|
2100
2105
|
} else {
|
|
2101
2106
|
var P = e.createWorker(), I = e.regExpTimeout(
|
|
2102
2107
|
a,
|
|
2103
2108
|
P,
|
|
2104
|
-
|
|
2109
|
+
y
|
|
2105
2110
|
);
|
|
2106
2111
|
P.onmessage = function(X) {
|
|
2107
|
-
clearTimeout(I),
|
|
2108
|
-
}, P.postMessage(["split",
|
|
2112
|
+
clearTimeout(I), y(e.nativeToPseudo(X.data));
|
|
2113
|
+
}, P.postMessage(["split", _, a, l]);
|
|
2109
2114
|
}
|
|
2110
2115
|
return;
|
|
2111
2116
|
}
|
|
2112
|
-
var D =
|
|
2113
|
-
|
|
2117
|
+
var D = _.split(a, l);
|
|
2118
|
+
y(e.nativeToPseudo(D));
|
|
2114
2119
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, l) {
|
|
2115
|
-
var
|
|
2120
|
+
var y = String(this);
|
|
2116
2121
|
if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
|
|
2117
2122
|
if (r.vm) {
|
|
2118
|
-
var
|
|
2119
|
-
string:
|
|
2123
|
+
var _ = {
|
|
2124
|
+
string: y,
|
|
2120
2125
|
regexp: a
|
|
2121
|
-
}, O = "string.match(regexp)", I = e.vmCall(O,
|
|
2126
|
+
}, O = "string.match(regexp)", I = e.vmCall(O, _, a, l);
|
|
2122
2127
|
I !== r.REGEXP_TIMEOUT && l(I && e.matchToPseudo_(I));
|
|
2123
2128
|
} else {
|
|
2124
2129
|
var b = e.createWorker(), P = e.regExpTimeout(a, b, l);
|
|
2125
2130
|
b.onmessage = function(D) {
|
|
2126
2131
|
clearTimeout(P), l(D.data && e.matchToPseudo_(D.data));
|
|
2127
|
-
}, b.postMessage(["match",
|
|
2132
|
+
}, b.postMessage(["match", y, a]);
|
|
2128
2133
|
}
|
|
2129
2134
|
return;
|
|
2130
2135
|
}
|
|
2131
|
-
var I =
|
|
2136
|
+
var I = y.match(a);
|
|
2132
2137
|
l(I && e.matchToPseudo_(I));
|
|
2133
2138
|
}, this.setAsyncFunctionPrototype(this.STRING, "match", i), i = function(a, l) {
|
|
2134
|
-
var
|
|
2139
|
+
var y = String(this);
|
|
2135
2140
|
if (e.isa(a, e.REGEXP) ? a = a.data : a = new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
|
|
2136
2141
|
if (r.vm) {
|
|
2137
|
-
var
|
|
2138
|
-
string:
|
|
2142
|
+
var _ = {
|
|
2143
|
+
string: y,
|
|
2139
2144
|
regexp: a
|
|
2140
|
-
}, O = "string.search(regexp)", b = e.vmCall(O,
|
|
2145
|
+
}, O = "string.search(regexp)", b = e.vmCall(O, _, a, l);
|
|
2141
2146
|
b !== r.REGEXP_TIMEOUT && l(b);
|
|
2142
2147
|
} else {
|
|
2143
2148
|
var P = e.createWorker(), I = e.regExpTimeout(a, P, l);
|
|
2144
2149
|
P.onmessage = function(D) {
|
|
2145
2150
|
clearTimeout(I), l(D.data);
|
|
2146
|
-
}, P.postMessage(["search",
|
|
2151
|
+
}, P.postMessage(["search", y, a]);
|
|
2147
2152
|
}
|
|
2148
2153
|
return;
|
|
2149
2154
|
}
|
|
2150
|
-
l(
|
|
2151
|
-
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(a, l,
|
|
2152
|
-
var
|
|
2153
|
-
if (l = String(l), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a,
|
|
2155
|
+
l(y.search(a));
|
|
2156
|
+
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(a, l, y) {
|
|
2157
|
+
var _ = String(this);
|
|
2158
|
+
if (l = String(l), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, y), e.REGEXP_MODE === 2)) {
|
|
2154
2159
|
if (r.vm) {
|
|
2155
2160
|
var O = {
|
|
2156
|
-
string:
|
|
2161
|
+
string: _,
|
|
2157
2162
|
substr: a,
|
|
2158
2163
|
newSubstr: l
|
|
2159
|
-
}, b = "string.replace(substr, newSubstr)", P = e.vmCall(b, O, a,
|
|
2160
|
-
P !== r.REGEXP_TIMEOUT &&
|
|
2164
|
+
}, b = "string.replace(substr, newSubstr)", P = e.vmCall(b, O, a, y);
|
|
2165
|
+
P !== r.REGEXP_TIMEOUT && y(P);
|
|
2161
2166
|
} else {
|
|
2162
2167
|
var I = e.createWorker(), D = e.regExpTimeout(
|
|
2163
2168
|
a,
|
|
2164
2169
|
I,
|
|
2165
|
-
|
|
2170
|
+
y
|
|
2166
2171
|
);
|
|
2167
2172
|
I.onmessage = function(X) {
|
|
2168
|
-
clearTimeout(D),
|
|
2169
|
-
}, I.postMessage(["replace",
|
|
2173
|
+
clearTimeout(D), y(X.data);
|
|
2174
|
+
}, I.postMessage(["replace", _, a, l]);
|
|
2170
2175
|
}
|
|
2171
2176
|
return;
|
|
2172
2177
|
}
|
|
2173
|
-
|
|
2178
|
+
y(_.replace(a, l));
|
|
2174
2179
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", i), this.polyfills_.push(
|
|
2175
2180
|
/* POLYFILL START */
|
|
2176
2181
|
"(function() {",
|
|
@@ -2276,10 +2281,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2276
2281
|
/** @type {?} */
|
|
2277
2282
|
l
|
|
2278
2283
|
);
|
|
2279
|
-
} catch (
|
|
2284
|
+
} catch (y) {
|
|
2280
2285
|
e.throwException(
|
|
2281
2286
|
e.ERROR,
|
|
2282
|
-
"toLocaleString: " +
|
|
2287
|
+
"toLocaleString: " + y.message
|
|
2283
2288
|
);
|
|
2284
2289
|
}
|
|
2285
2290
|
}, this.setNativeFunctionPrototype(this.NUMBER, "toLocaleString", i);
|
|
@@ -2288,10 +2293,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2288
2293
|
i = function(a, l) {
|
|
2289
2294
|
if (!e.calledWithNew())
|
|
2290
2295
|
return r.nativeGlobal.Date();
|
|
2291
|
-
var
|
|
2296
|
+
var y = [null].concat(Array.from(arguments));
|
|
2292
2297
|
return this.data = new (Function.prototype.bind.apply(
|
|
2293
2298
|
r.nativeGlobal.Date,
|
|
2294
|
-
|
|
2299
|
+
y
|
|
2295
2300
|
))(), this;
|
|
2296
2301
|
}, this.DATE = this.createNativeFunction(i, !0), this.DATE_PROTO = this.DATE.properties.prototype, this.setProperty(
|
|
2297
2302
|
t,
|
|
@@ -2366,9 +2371,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2366
2371
|
e.TYPE_ERROR,
|
|
2367
2372
|
c + " not called on a Date"
|
|
2368
2373
|
);
|
|
2369
|
-
for (var
|
|
2370
|
-
|
|
2371
|
-
return l[c].apply(l,
|
|
2374
|
+
for (var y = [], _ = 0; _ < arguments.length; _++)
|
|
2375
|
+
y[_] = e.pseudoToNative(arguments[_]);
|
|
2376
|
+
return l[c].apply(l, y);
|
|
2372
2377
|
};
|
|
2373
2378
|
}(o[u]), this.setNativeFunctionPrototype(this.DATE, o[u], i);
|
|
2374
2379
|
i = function() {
|
|
@@ -2397,8 +2402,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2397
2402
|
);
|
|
2398
2403
|
try {
|
|
2399
2404
|
var l = new r.nativeGlobal.RegExp(u, c);
|
|
2400
|
-
} catch (
|
|
2401
|
-
e.throwException(e.SYNTAX_ERROR,
|
|
2405
|
+
} catch (y) {
|
|
2406
|
+
e.throwException(e.SYNTAX_ERROR, y.message);
|
|
2402
2407
|
}
|
|
2403
2408
|
return e.populateRegExp(a, l), a;
|
|
2404
2409
|
}, this.REGEXP = this.createNativeFunction(i, !0), this.REGEXP_PROTO = this.REGEXP.properties.prototype, this.setProperty(
|
|
@@ -2442,13 +2447,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2442
2447
|
var l = {
|
|
2443
2448
|
string: u,
|
|
2444
2449
|
regexp: a
|
|
2445
|
-
},
|
|
2450
|
+
}, y = "regexp.exec(string)", P = e.vmCall(y, l, a, c);
|
|
2446
2451
|
P !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), c(e.matchToPseudo_(P)));
|
|
2447
2452
|
} else {
|
|
2448
|
-
var
|
|
2449
|
-
|
|
2453
|
+
var _ = e.createWorker(), O = e.regExpTimeout(a, _, c), b = this;
|
|
2454
|
+
_.onmessage = function(I) {
|
|
2450
2455
|
clearTimeout(O), e.setProperty(b, "lastIndex", I.data[1]), c(e.matchToPseudo_(I.data[0]));
|
|
2451
|
-
},
|
|
2456
|
+
}, _.postMessage(["exec", a, a.lastIndex, u]);
|
|
2452
2457
|
}
|
|
2453
2458
|
return;
|
|
2454
2459
|
}
|
|
@@ -2591,13 +2596,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2591
2596
|
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(O) {
|
|
2592
2597
|
return typeof O == "string" || typeof O == "number";
|
|
2593
2598
|
})) : a = null, typeof l != "string" && typeof l != "number" && (l = void 0);
|
|
2594
|
-
var
|
|
2599
|
+
var y = i.pseudoToNative(c);
|
|
2595
2600
|
try {
|
|
2596
|
-
var
|
|
2601
|
+
var _ = JSON.stringify(y, a, l);
|
|
2597
2602
|
} catch (O) {
|
|
2598
2603
|
i.throwException(i.TYPE_ERROR, O.message);
|
|
2599
2604
|
}
|
|
2600
|
-
return
|
|
2605
|
+
return _;
|
|
2601
2606
|
}, this.setProperty(
|
|
2602
2607
|
o,
|
|
2603
2608
|
"stringify",
|
|
@@ -2657,17 +2662,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2657
2662
|
}
|
|
2658
2663
|
c.loc && (!i.length || c.type === "CallExpression") && i.push({ datumLoc: c.loc });
|
|
2659
2664
|
}
|
|
2660
|
-
for (var l = String(this.getProperty(t, "name")),
|
|
2665
|
+
for (var l = String(this.getProperty(t, "name")), y = String(this.getProperty(t, "message")), _ = l + ": " + y + `
|
|
2661
2666
|
`, o = 0; o < i.length; o++) {
|
|
2662
2667
|
var O = i[o].datumLoc, b = i[o].datumName, P = O.source + ":" + O.start.line + ":" + O.start.column;
|
|
2663
|
-
b ?
|
|
2664
|
-
` :
|
|
2668
|
+
b ? _ += " at " + b + " (" + P + `)
|
|
2669
|
+
` : _ += " at " + P + `
|
|
2665
2670
|
`;
|
|
2666
2671
|
}
|
|
2667
2672
|
this.setProperty(
|
|
2668
2673
|
t,
|
|
2669
2674
|
"stack",
|
|
2670
|
-
|
|
2675
|
+
_.trim(),
|
|
2671
2676
|
r.NONENUMERABLE_DESCRIPTOR
|
|
2672
2677
|
);
|
|
2673
2678
|
}, r.prototype.createWorker = function() {
|
|
@@ -2807,8 +2812,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2807
2812
|
return a.pseudoToNative(D);
|
|
2808
2813
|
}), I = t.apply(a, P);
|
|
2809
2814
|
return a.nativeToPseudo(I);
|
|
2810
|
-
},
|
|
2811
|
-
return i.pseudo.push(
|
|
2815
|
+
}, y = Object.getOwnPropertyDescriptor(t, "prototype"), _ = this.createNativeFunction(l, !!y);
|
|
2816
|
+
return i.pseudo.push(_), _;
|
|
2812
2817
|
}
|
|
2813
2818
|
var O;
|
|
2814
2819
|
Array.isArray(t) ? O = this.createArray() : O = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(O);
|
|
@@ -2841,10 +2846,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2841
2846
|
var a = this.isa(t, this.ARRAY) ? [] : {};
|
|
2842
2847
|
i.native.push(a);
|
|
2843
2848
|
var l;
|
|
2844
|
-
for (var
|
|
2845
|
-
l = this.pseudoToNative(t.properties[
|
|
2849
|
+
for (var y in t.properties)
|
|
2850
|
+
l = this.pseudoToNative(t.properties[y], i), Object.defineProperty(
|
|
2846
2851
|
a,
|
|
2847
|
-
|
|
2852
|
+
y,
|
|
2848
2853
|
{
|
|
2849
2854
|
value: l,
|
|
2850
2855
|
writable: !0,
|
|
@@ -2939,10 +2944,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2939
2944
|
return;
|
|
2940
2945
|
}
|
|
2941
2946
|
if (o) {
|
|
2942
|
-
var
|
|
2943
|
-
"get" in o && o.get && (t.getter[e] = o.get,
|
|
2947
|
+
var y = {};
|
|
2948
|
+
"get" in o && o.get && (t.getter[e] = o.get, y.get = this.setProperty.placeholderGet_), "set" in o && o.set && (t.setter[e] = o.set, y.set = this.setProperty.placeholderSet_), "configurable" in o && (y.configurable = o.configurable), "enumerable" in o && (y.enumerable = o.enumerable), "writable" in o && (y.writable = o.writable, delete t.getter[e], delete t.setter[e]), "value" in o ? (y.value = o.value, delete t.getter[e], delete t.setter[e]) : i !== r.VALUE_IN_DESCRIPTOR && (y.value = i, delete t.getter[e], delete t.setter[e]);
|
|
2944
2949
|
try {
|
|
2945
|
-
Object.defineProperty(t.properties, e,
|
|
2950
|
+
Object.defineProperty(t.properties, e, y);
|
|
2946
2951
|
} catch {
|
|
2947
2952
|
this.throwException(this.TYPE_ERROR, "Cannot redefine property: " + e);
|
|
2948
2953
|
}
|
|
@@ -2950,14 +2955,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2950
2955
|
} else {
|
|
2951
2956
|
if (i === r.VALUE_IN_DESCRIPTOR)
|
|
2952
2957
|
throw ReferenceError("Value not specified");
|
|
2953
|
-
for (var
|
|
2954
|
-
if (
|
|
2955
|
-
|
|
2958
|
+
for (var _ = t; !(e in _.properties); )
|
|
2959
|
+
if (_ = this.getPrototype(_), !_) {
|
|
2960
|
+
_ = t;
|
|
2956
2961
|
break;
|
|
2957
2962
|
}
|
|
2958
|
-
if (
|
|
2959
|
-
return this.setterStep_ = !0,
|
|
2960
|
-
if (
|
|
2963
|
+
if (_.setter && _.setter[e])
|
|
2964
|
+
return this.setterStep_ = !0, _.setter[e];
|
|
2965
|
+
if (_.getter && _.getter[e])
|
|
2961
2966
|
u && this.throwException(this.TYPE_ERROR, "Cannot set property '" + e + "' of object '" + t + "' which only has a getter");
|
|
2962
2967
|
else
|
|
2963
2968
|
try {
|
|
@@ -3150,8 +3155,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3150
3155
|
SyntaxError,
|
|
3151
3156
|
TypeError,
|
|
3152
3157
|
URIError
|
|
3153
|
-
}, l = String(this.getProperty(e, "name")),
|
|
3154
|
-
c =
|
|
3158
|
+
}, l = String(this.getProperty(e, "name")), y = this.getProperty(e, "message").valueOf(), _ = a[l] || Error;
|
|
3159
|
+
c = _(y), c.stack = String(this.getProperty(e, "stack"));
|
|
3155
3160
|
} else
|
|
3156
3161
|
c = String(e);
|
|
3157
3162
|
throw this.value = c, c;
|
|
@@ -3187,21 +3192,21 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3187
3192
|
}
|
|
3188
3193
|
return "???";
|
|
3189
3194
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3190
|
-
var i = this.stateStack[this.stateStack.length - 1], o = Array.from(e), u = o.shift(), c = Math.max(Number(o.shift() || 0), 0), a = this.newNode(), l,
|
|
3195
|
+
var i = this.stateStack[this.stateStack.length - 1], o = Array.from(e), u = o.shift(), c = Math.max(Number(o.shift() || 0), 0), a = this.newNode(), l, y, _;
|
|
3191
3196
|
if (u instanceof r.Object && u.class === "Function")
|
|
3192
|
-
|
|
3197
|
+
y = u, a.type = "CallExpression", l = i.scope;
|
|
3193
3198
|
else {
|
|
3194
3199
|
try {
|
|
3195
|
-
|
|
3200
|
+
_ = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
3196
3201
|
} catch (D) {
|
|
3197
3202
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + D.message);
|
|
3198
3203
|
}
|
|
3199
|
-
a.type = "EvalProgram_", a.body =
|
|
3204
|
+
a.type = "EvalProgram_", a.body = _.body;
|
|
3200
3205
|
var O = i.node.arguments[0], b = O ? O.start : void 0, P = O ? O.end : void 0;
|
|
3201
3206
|
r.stripLocations_(a, b, P), l = this.globalScope, o.length = 0;
|
|
3202
3207
|
}
|
|
3203
3208
|
var I = new r.Task(
|
|
3204
|
-
|
|
3209
|
+
y,
|
|
3205
3210
|
o,
|
|
3206
3211
|
l,
|
|
3207
3212
|
a,
|
|
@@ -3294,20 +3299,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3294
3299
|
var t = r.toStringCycles_;
|
|
3295
3300
|
if (t.indexOf(this) !== -1)
|
|
3296
3301
|
return "[object Error]";
|
|
3297
|
-
var a, l,
|
|
3302
|
+
var a, l, y = this;
|
|
3298
3303
|
do
|
|
3299
|
-
if ("name" in
|
|
3300
|
-
a =
|
|
3304
|
+
if ("name" in y.properties) {
|
|
3305
|
+
a = y.properties.name;
|
|
3301
3306
|
break;
|
|
3302
3307
|
}
|
|
3303
|
-
while (
|
|
3304
|
-
|
|
3308
|
+
while (y = y.proto);
|
|
3309
|
+
y = this;
|
|
3305
3310
|
do
|
|
3306
|
-
if ("message" in
|
|
3307
|
-
l =
|
|
3311
|
+
if ("message" in y.properties) {
|
|
3312
|
+
l = y.properties.message;
|
|
3308
3313
|
break;
|
|
3309
3314
|
}
|
|
3310
|
-
while (
|
|
3315
|
+
while (y = y.proto);
|
|
3311
3316
|
t.push(this);
|
|
3312
3317
|
try {
|
|
3313
3318
|
a = a && String(a), l = l && String(l);
|
|
@@ -3397,9 +3402,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3397
3402
|
default:
|
|
3398
3403
|
throw SyntaxError("Unknown assignment expression: " + i.operator);
|
|
3399
3404
|
}
|
|
3400
|
-
var
|
|
3401
|
-
if (
|
|
3402
|
-
return e.doneSetter_ = !0, e.setterValue_ = a, this.createSetter_(
|
|
3405
|
+
var y = this.setValue(e.leftReference_, a);
|
|
3406
|
+
if (y)
|
|
3407
|
+
return e.doneSetter_ = !0, e.setterValue_ = a, this.createSetter_(y, e.leftReference_, a);
|
|
3403
3408
|
t.pop(), t[t.length - 1].value = a;
|
|
3404
3409
|
}, r.prototype.stepBinaryExpression = function(t, e, i) {
|
|
3405
3410
|
if (!e.doneLeft_)
|
|
@@ -3537,11 +3542,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3537
3542
|
);
|
|
3538
3543
|
var a = u.node;
|
|
3539
3544
|
if (a) {
|
|
3540
|
-
for (var l = this.createScope(a.body, u.parentScope),
|
|
3541
|
-
this.setProperty(
|
|
3542
|
-
this.setProperty(l.object, "arguments",
|
|
3543
|
-
for (var
|
|
3544
|
-
var O = a.params[
|
|
3545
|
+
for (var l = this.createScope(a.body, u.parentScope), y = this.createArray(), _ = 0; _ < e.arguments_.length; _++)
|
|
3546
|
+
this.setProperty(y, _, e.arguments_[_]);
|
|
3547
|
+
this.setProperty(l.object, "arguments", y);
|
|
3548
|
+
for (var _ = 0; _ < a.params.length; _++) {
|
|
3549
|
+
var O = a.params[_].name, b = e.arguments_.length > _ ? e.arguments_[_] : void 0;
|
|
3545
3550
|
this.setProperty(l.object, O, b);
|
|
3546
3551
|
}
|
|
3547
3552
|
return l.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
@@ -3571,8 +3576,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3571
3576
|
} else if (u.nativeFunc)
|
|
3572
3577
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
3573
3578
|
else if (u.asyncFunc) {
|
|
3574
|
-
var X = this, Pe = function(
|
|
3575
|
-
e.value =
|
|
3579
|
+
var X = this, Pe = function(se) {
|
|
3580
|
+
e.value = se, X.paused_ = !1;
|
|
3576
3581
|
}, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
|
|
3577
3582
|
new Array(z)
|
|
3578
3583
|
).slice(0, z);
|
|
@@ -3799,7 +3804,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3799
3804
|
for (var a in e.properties_) {
|
|
3800
3805
|
var l = e.properties_[a];
|
|
3801
3806
|
if ("get" in l || "set" in l) {
|
|
3802
|
-
var
|
|
3807
|
+
var y = {
|
|
3803
3808
|
configurable: !0,
|
|
3804
3809
|
enumerable: !0,
|
|
3805
3810
|
get: l.get,
|
|
@@ -3809,7 +3814,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3809
3814
|
e.object_,
|
|
3810
3815
|
a,
|
|
3811
3816
|
r.VALUE_IN_DESCRIPTOR,
|
|
3812
|
-
|
|
3817
|
+
y
|
|
3813
3818
|
);
|
|
3814
3819
|
} else
|
|
3815
3820
|
this.setProperty(e.object_, a, l.init);
|
|
@@ -3948,9 +3953,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3948
3953
|
a = c - 1;
|
|
3949
3954
|
else
|
|
3950
3955
|
throw SyntaxError("Unknown update expression: " + i.operator);
|
|
3951
|
-
var l = i.prefix ? a : c,
|
|
3952
|
-
if (
|
|
3953
|
-
return e.doneSetter_ = !0, e.setterValue_ = l, this.createSetter_(
|
|
3956
|
+
var l = i.prefix ? a : c, y = this.setValue(e.leftSide_, a);
|
|
3957
|
+
if (y)
|
|
3958
|
+
return e.doneSetter_ = !0, e.setterValue_ = l, this.createSetter_(y, e.leftSide_, a);
|
|
3954
3959
|
t.pop(), t[t.length - 1].value = l;
|
|
3955
3960
|
}, r.prototype.stepVariableDeclaration = function(t, e, i) {
|
|
3956
3961
|
var o = i.declarations, u = e.n_ || 0, c = o[u];
|
|
@@ -4060,7 +4065,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4060
4065
|
break;
|
|
4061
4066
|
}
|
|
4062
4067
|
return { line: d, column: h - E };
|
|
4063
|
-
}, a = 0, l = 0,
|
|
4068
|
+
}, a = 0, l = 0, y = 0, _, O, b, P, I, D, X, Pe = 0, z = 0, ve, se, j, W;
|
|
4064
4069
|
function A(f, h) {
|
|
4065
4070
|
var d = c(t, f);
|
|
4066
4071
|
h += " (" + d.line + ":" + d.column + ")";
|
|
@@ -4097,7 +4102,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4097
4102
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4098
4103
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4099
4104
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4100
|
-
}, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" }, we = { type: "{", beforeExpr: !0 }, Ee = { type: "}" }, q = { type: "(", beforeExpr: !0 }, H = { type: ")" },
|
|
4105
|
+
}, dt = { type: "[", beforeExpr: !0 }, vt = { type: "]" }, we = { type: "{", beforeExpr: !0 }, Ee = { type: "}" }, q = { type: "(", beforeExpr: !0 }, H = { type: ")" }, ne = { type: ",", beforeExpr: !0 }, Z = { type: ";", beforeExpr: !0 }, Ce = { type: ":", beforeExpr: !0 }, cr = { type: "." }, fr = { type: "?", beforeExpr: !0 }, lr = { binop: 10, beforeExpr: !0 }, pr = { isAssign: !0, beforeExpr: !0 }, ce = { isAssign: !0, beforeExpr: !0 }, zn = { postfix: !0, prefix: !0, isUpdate: !0 }, hr = { prefix: !0, beforeExpr: !0 }, dr = { binop: 1, beforeExpr: !0 }, vr = { binop: 2, beforeExpr: !0 }, Jn = { binop: 3, beforeExpr: !0 }, Hn = { binop: 4, beforeExpr: !0 }, Kn = { binop: 5, beforeExpr: !0 }, qn = { binop: 6, beforeExpr: !0 }, Zn = { binop: 7, beforeExpr: !0 }, Qn = { binop: 8, beforeExpr: !0 }, ei = { binop: 9, prefix: !0, beforeExpr: !0 }, ti = { binop: 10, beforeExpr: !0 };
|
|
4101
4106
|
function ze(f) {
|
|
4102
4107
|
for (var h = f.split(" "), d = /* @__PURE__ */ Object.create(null), E = 0; E < h.length; E++)
|
|
4103
4108
|
d[h[E]] = !0;
|
|
@@ -4105,22 +4110,22 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4105
4110
|
return d[C] || !1;
|
|
4106
4111
|
};
|
|
4107
4112
|
}
|
|
4108
|
-
var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",
|
|
4109
|
-
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 &&
|
|
4110
|
-
},
|
|
4113
|
+
var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", gr = new RegExp("[" + Er + "]"), oi = new RegExp("[" + Er + ai + "]"), He = /[\n\r\u2028\u2029]/, Ke = /\r\n|[\n\r\u2028\u2029]/g, qe = function(f) {
|
|
4114
|
+
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && gr.test(String.fromCharCode(f));
|
|
4115
|
+
}, _r = function(f) {
|
|
4111
4116
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && oi.test(String.fromCharCode(f));
|
|
4112
4117
|
};
|
|
4113
|
-
function
|
|
4118
|
+
function fe() {
|
|
4114
4119
|
this.line = D, this.column = a - X;
|
|
4115
4120
|
}
|
|
4116
4121
|
function ui() {
|
|
4117
4122
|
D = 1, a = X = 0, I = !0, xe();
|
|
4118
4123
|
}
|
|
4119
4124
|
function $(f, h) {
|
|
4120
|
-
|
|
4125
|
+
y = a, r.locations && (O = new fe()), b = f, xe(), P = h, I = f.beforeExpr;
|
|
4121
4126
|
}
|
|
4122
4127
|
function si() {
|
|
4123
|
-
var f = r.onComment && r.locations && new
|
|
4128
|
+
var f = r.onComment && r.locations && new fe(), h = a, d = t.indexOf("*/", a += 2);
|
|
4124
4129
|
if (d === -1 && A(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
|
|
4125
4130
|
Ke.lastIndex = h;
|
|
4126
4131
|
for (var E; (E = Ke.exec(t)) && E.index < a; )
|
|
@@ -4132,11 +4137,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4132
4137
|
h,
|
|
4133
4138
|
a,
|
|
4134
4139
|
f,
|
|
4135
|
-
r.locations && new
|
|
4140
|
+
r.locations && new fe()
|
|
4136
4141
|
);
|
|
4137
4142
|
}
|
|
4138
4143
|
function yt() {
|
|
4139
|
-
for (var f = a, h = r.onComment && r.locations && new
|
|
4144
|
+
for (var f = a, h = r.onComment && r.locations && new fe(), d = t.charCodeAt(a += 2); a < e && d !== 10 && d !== 13 && d !== 8232 && d !== 8233; )
|
|
4140
4145
|
++a, d = t.charCodeAt(a);
|
|
4141
4146
|
r.onComment && r.onComment(
|
|
4142
4147
|
!1,
|
|
@@ -4144,7 +4149,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4144
4149
|
f,
|
|
4145
4150
|
a,
|
|
4146
4151
|
h,
|
|
4147
|
-
r.locations && new
|
|
4152
|
+
r.locations && new fe()
|
|
4148
4153
|
);
|
|
4149
4154
|
}
|
|
4150
4155
|
function xe() {
|
|
@@ -4181,38 +4186,38 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4181
4186
|
}
|
|
4182
4187
|
function fi() {
|
|
4183
4188
|
var f = t.charCodeAt(a + 1);
|
|
4184
|
-
I ? (++a, br()) : f === 61 ? G(
|
|
4189
|
+
I ? (++a, br()) : f === 61 ? G(ce, 2) : G(lr, 1);
|
|
4185
4190
|
}
|
|
4186
4191
|
function li() {
|
|
4187
4192
|
var f = t.charCodeAt(a + 1);
|
|
4188
|
-
f === 61 ? G(
|
|
4193
|
+
f === 61 ? G(ce, 2) : G(ti, 1);
|
|
4189
4194
|
}
|
|
4190
4195
|
function pi(f) {
|
|
4191
4196
|
var h = t.charCodeAt(a + 1);
|
|
4192
|
-
h === f ? G(f === 124 ? dr : vr, 2) : h === 61 ? G(
|
|
4197
|
+
h === f ? G(f === 124 ? dr : vr, 2) : h === 61 ? G(ce, 2) : G(f === 124 ? Jn : Kn, 1);
|
|
4193
4198
|
}
|
|
4194
4199
|
function hi() {
|
|
4195
4200
|
var f = t.charCodeAt(a + 1);
|
|
4196
|
-
f === 61 ? G(
|
|
4201
|
+
f === 61 ? G(ce, 2) : G(Hn, 1);
|
|
4197
4202
|
}
|
|
4198
4203
|
function di(f) {
|
|
4199
4204
|
var h = t.charCodeAt(a + 1);
|
|
4200
4205
|
if (h === f) {
|
|
4201
4206
|
if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
|
|
4202
|
-
a += 3, yt(), xe(),
|
|
4207
|
+
a += 3, yt(), xe(), ge();
|
|
4203
4208
|
return;
|
|
4204
4209
|
}
|
|
4205
4210
|
G(zn, 2);
|
|
4206
|
-
} else h === 61 ? G(
|
|
4211
|
+
} else h === 61 ? G(ce, 2) : G(ei, 1);
|
|
4207
4212
|
}
|
|
4208
4213
|
function vi(f) {
|
|
4209
4214
|
var h = t.charCodeAt(a + 1), d = 1;
|
|
4210
4215
|
if (h === f) {
|
|
4211
|
-
d = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + d) === 61 ? G(
|
|
4216
|
+
d = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + d) === 61 ? G(ce, d + 1) : G(Qn, d);
|
|
4212
4217
|
return;
|
|
4213
4218
|
}
|
|
4214
4219
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4215
|
-
a += 4, yt(), xe(),
|
|
4220
|
+
a += 4, yt(), xe(), ge();
|
|
4216
4221
|
return;
|
|
4217
4222
|
}
|
|
4218
4223
|
h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
|
|
@@ -4232,7 +4237,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4232
4237
|
case 59:
|
|
4233
4238
|
return ++a, $(Z);
|
|
4234
4239
|
case 44:
|
|
4235
|
-
return ++a, $(
|
|
4240
|
+
return ++a, $(ne);
|
|
4236
4241
|
case 91:
|
|
4237
4242
|
return ++a, $(dt);
|
|
4238
4243
|
case 93:
|
|
@@ -4247,7 +4252,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4247
4252
|
return ++a, $(fr);
|
|
4248
4253
|
case 48:
|
|
4249
4254
|
var h = t.charCodeAt(a + 1);
|
|
4250
|
-
if (h === 120 || h === 88) return
|
|
4255
|
+
if (h === 120 || h === 88) return gi();
|
|
4251
4256
|
case 49:
|
|
4252
4257
|
case 50:
|
|
4253
4258
|
case 51:
|
|
@@ -4260,7 +4265,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4260
4265
|
return mr(!1);
|
|
4261
4266
|
case 34:
|
|
4262
4267
|
case 39:
|
|
4263
|
-
return
|
|
4268
|
+
return _i(f);
|
|
4264
4269
|
case 47:
|
|
4265
4270
|
return fi();
|
|
4266
4271
|
case 37:
|
|
@@ -4285,8 +4290,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4285
4290
|
}
|
|
4286
4291
|
return !1;
|
|
4287
4292
|
}
|
|
4288
|
-
function
|
|
4289
|
-
if (f ? a = l + 1 : l = a, r.locations && (
|
|
4293
|
+
function ge(f) {
|
|
4294
|
+
if (f ? a = l + 1 : l = a, r.locations && (_ = new fe()), f) return br();
|
|
4290
4295
|
if (a >= e) return $(ut);
|
|
4291
4296
|
var h = t.charCodeAt(a);
|
|
4292
4297
|
if (qe(h) || h === 92)
|
|
@@ -4294,7 +4299,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4294
4299
|
var d = Ei(h);
|
|
4295
4300
|
if (d === !1) {
|
|
4296
4301
|
var E = String.fromCharCode(h);
|
|
4297
|
-
if (E === "\\" ||
|
|
4302
|
+
if (E === "\\" || gr.test(E))
|
|
4298
4303
|
return Or();
|
|
4299
4304
|
A(a, "Unexpected character '" + E + "'");
|
|
4300
4305
|
}
|
|
@@ -4339,7 +4344,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4339
4344
|
}
|
|
4340
4345
|
return a === d || h !== void 0 && a - d !== h ? null : E;
|
|
4341
4346
|
}
|
|
4342
|
-
function
|
|
4347
|
+
function gi() {
|
|
4343
4348
|
a += 2;
|
|
4344
4349
|
var f = Ae(16);
|
|
4345
4350
|
f === null && A(l + 2, "Expected hexadecimal number"), qe(t.charCodeAt(a)) && A(a, "Identifier directly after number"), $(Xe, f);
|
|
@@ -4352,7 +4357,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4352
4357
|
var S = t.slice(h, a), x;
|
|
4353
4358
|
d ? x = parseFloat(S) : !E || S.length === 1 ? x = parseInt(S, 10) : /[89]/.test(S) || W ? A(h, "Invalid number") : x = parseInt(S, 8), $(Xe, x);
|
|
4354
4359
|
}
|
|
4355
|
-
function
|
|
4360
|
+
function _i(f) {
|
|
4356
4361
|
a++;
|
|
4357
4362
|
for (var h = ""; ; ) {
|
|
4358
4363
|
a >= e && A(l, "Unterminated string constant");
|
|
@@ -4419,55 +4424,55 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4419
4424
|
return h === null && A(l, "Bad character escape sequence"), /** @type {number} */
|
|
4420
4425
|
h;
|
|
4421
4426
|
}
|
|
4422
|
-
var
|
|
4427
|
+
var _e;
|
|
4423
4428
|
function Rr() {
|
|
4424
|
-
|
|
4429
|
+
_e = !1;
|
|
4425
4430
|
for (var f, h = !0, d = a; ; ) {
|
|
4426
4431
|
var E = t.charCodeAt(a);
|
|
4427
|
-
if (
|
|
4428
|
-
|
|
4432
|
+
if (_r(E))
|
|
4433
|
+
_e && (f += t.charAt(a)), ++a;
|
|
4429
4434
|
else if (E === 92) {
|
|
4430
|
-
|
|
4435
|
+
_e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4431
4436
|
var C = Ze(4), S = String.fromCharCode(C);
|
|
4432
|
-
S || A(a - 1, "Invalid Unicode escape"), (h ? qe(C) :
|
|
4437
|
+
S || A(a - 1, "Invalid Unicode escape"), (h ? qe(C) : _r(C)) || A(a - 4, "Invalid Unicode escape"), f += S;
|
|
4433
4438
|
} else
|
|
4434
4439
|
break;
|
|
4435
4440
|
h = !1;
|
|
4436
4441
|
}
|
|
4437
|
-
return
|
|
4442
|
+
return _e ? f : t.slice(d, a);
|
|
4438
4443
|
}
|
|
4439
4444
|
function Or() {
|
|
4440
4445
|
var f = Rr(), h = ye;
|
|
4441
|
-
!
|
|
4446
|
+
!_e && ni(f) && (h = Wn[f]), $(h, f);
|
|
4442
4447
|
}
|
|
4443
4448
|
function k() {
|
|
4444
|
-
Pe = l, z =
|
|
4449
|
+
Pe = l, z = y, ve = O, ge();
|
|
4445
4450
|
}
|
|
4446
4451
|
function Et(f) {
|
|
4447
4452
|
if (W = f, a = l, r.locations)
|
|
4448
4453
|
for (; a < X; )
|
|
4449
4454
|
X = t.lastIndexOf(`
|
|
4450
4455
|
`, X - 2) + 1, --D;
|
|
4451
|
-
xe(),
|
|
4456
|
+
xe(), ge();
|
|
4452
4457
|
}
|
|
4453
4458
|
function Nr() {
|
|
4454
4459
|
this.type = null, this.start = l, this.end = null;
|
|
4455
4460
|
}
|
|
4456
4461
|
function Tr() {
|
|
4457
|
-
this.start =
|
|
4462
|
+
this.start = _, this.end = null, i && (this.source = i);
|
|
4458
4463
|
}
|
|
4459
4464
|
function V() {
|
|
4460
4465
|
var f = new Nr();
|
|
4461
4466
|
return r.locations && (f.loc = new Tr()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [l, 0]), f;
|
|
4462
4467
|
}
|
|
4463
|
-
function
|
|
4468
|
+
function ie(f) {
|
|
4464
4469
|
var h = new Nr();
|
|
4465
4470
|
return h.start = f.start, r.locations && (h.loc = new Tr(), h.loc.start = f.loc.start), r.ranges && (h.range = [f.range[0], 0]), h;
|
|
4466
4471
|
}
|
|
4467
4472
|
function w(f, h) {
|
|
4468
4473
|
return f.type = h, f.end = z, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = z), f;
|
|
4469
4474
|
}
|
|
4470
|
-
function
|
|
4475
|
+
function gt(f) {
|
|
4471
4476
|
return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
|
|
4472
4477
|
}
|
|
4473
4478
|
function M(f) {
|
|
@@ -4476,7 +4481,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4476
4481
|
function Qe() {
|
|
4477
4482
|
return !r.strictSemicolons && (b === ut || b === Ee || He.test(t.slice(z, l)));
|
|
4478
4483
|
}
|
|
4479
|
-
function
|
|
4484
|
+
function le() {
|
|
4480
4485
|
!M(Z) && !Qe() && Q();
|
|
4481
4486
|
}
|
|
4482
4487
|
function B(f) {
|
|
@@ -4489,24 +4494,24 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4489
4494
|
f.type !== "Identifier" && f.type !== "MemberExpression" && A(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && Je(f.name) && A(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4490
4495
|
}
|
|
4491
4496
|
function bi(f) {
|
|
4492
|
-
Pe = z = a, r.locations && (ve = new
|
|
4497
|
+
Pe = z = a, r.locations && (ve = new fe()), se = W = !1, j = [], ge();
|
|
4493
4498
|
var h = f || V(), d = !0;
|
|
4494
4499
|
for (f || (h.body = []); b !== ut; ) {
|
|
4495
4500
|
var E = J();
|
|
4496
|
-
h.body.push(E), d &&
|
|
4501
|
+
h.body.push(E), d && gt(E) && Et(!0), d = !1;
|
|
4497
4502
|
}
|
|
4498
4503
|
return w(h, "Program");
|
|
4499
4504
|
}
|
|
4500
|
-
var
|
|
4505
|
+
var _t = { kind: "loop" }, mi = { kind: "switch" };
|
|
4501
4506
|
function J() {
|
|
4502
|
-
(b === lr || b ===
|
|
4507
|
+
(b === lr || b === ce && P === "/=") && ge(!0);
|
|
4503
4508
|
var f = b, h = V();
|
|
4504
4509
|
switch (f) {
|
|
4505
4510
|
case st:
|
|
4506
4511
|
case Wt:
|
|
4507
4512
|
k();
|
|
4508
4513
|
var d = f === st;
|
|
4509
|
-
M(Z) || Qe() ? h.label = null : b !== ye ? Q() : (h.label =
|
|
4514
|
+
M(Z) || Qe() ? h.label = null : b !== ye ? Q() : (h.label = ae(), le());
|
|
4510
4515
|
for (var E = 0; E < j.length; ++E) {
|
|
4511
4516
|
var C = j[E];
|
|
4512
4517
|
if ((h.label === null || C.name === h.label.name) && (C.kind !== null && (d || C.kind === "loop") || h.label && d))
|
|
@@ -4514,11 +4519,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4514
4519
|
}
|
|
4515
4520
|
return E === j.length && A(h.start, "Unsyntactic " + f.keyword), w(h, d ? "BreakStatement" : "ContinueStatement");
|
|
4516
4521
|
case zt:
|
|
4517
|
-
return k(),
|
|
4522
|
+
return k(), le(), w(h, "DebuggerStatement");
|
|
4518
4523
|
case Ht:
|
|
4519
|
-
return k(), j.push(
|
|
4524
|
+
return k(), j.push(_t), h.body = J(), j.pop(), B(ht), h.test = Ie(), le(), w(h, "DoWhileStatement");
|
|
4520
4525
|
case Zt:
|
|
4521
|
-
if (k(), j.push(
|
|
4526
|
+
if (k(), j.push(_t), B(q), b === Z) return bt(h, null);
|
|
4522
4527
|
if (b === pt) {
|
|
4523
4528
|
var S = V();
|
|
4524
4529
|
return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(We) ? Sr(h, S) : bt(h, S);
|
|
@@ -4530,7 +4535,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4530
4535
|
case Qt:
|
|
4531
4536
|
return k(), h.test = Ie(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
|
|
4532
4537
|
case er:
|
|
4533
|
-
return !
|
|
4538
|
+
return !se && !r.allowReturnOutsideFunction && A(l, "'return' outside of function"), k(), M(Z) || Qe() ? h.argument = null : (h.argument = Y(), le()), w(h, "ReturnStatement");
|
|
4534
4539
|
case lt:
|
|
4535
4540
|
k(), h.discriminant = Ie(), h.cases = [], B(we), j.push(mi);
|
|
4536
4541
|
for (var x, U; b !== Ee; )
|
|
@@ -4541,17 +4546,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4541
4546
|
x || Q(), x.consequent.push(J());
|
|
4542
4547
|
return x && w(x, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
|
|
4543
4548
|
case tr:
|
|
4544
|
-
return k(), He.test(t.slice(z, l)) && A(z, "Illegal newline after throw"), h.argument = Y(),
|
|
4549
|
+
return k(), He.test(t.slice(z, l)) && A(z, "Illegal newline after throw"), h.argument = Y(), le(), w(h, "ThrowStatement");
|
|
4545
4550
|
case rr:
|
|
4546
4551
|
if (k(), h.block = ke(), h.handler = null, b === Xt) {
|
|
4547
4552
|
var be = V();
|
|
4548
|
-
k(), B(q), be.param =
|
|
4553
|
+
k(), B(q), be.param = ae(), W && Je(be.param.name) && A(be.param.start, "Binding " + be.param.name + " in strict mode"), B(H), be.body = ke(), h.handler = w(be, "CatchClause");
|
|
4549
4554
|
}
|
|
4550
4555
|
return h.finalizer = M(qt) ? ke() : null, !h.handler && !h.finalizer && A(h.start, "Missing catch or finally clause"), w(h, "TryStatement");
|
|
4551
4556
|
case pt:
|
|
4552
|
-
return k(), Pr(h),
|
|
4557
|
+
return k(), Pr(h), le(), w(h, "VariableDeclaration");
|
|
4553
4558
|
case ht:
|
|
4554
|
-
return k(), h.test = Ie(), j.push(
|
|
4559
|
+
return k(), h.test = Ie(), j.push(_t), h.body = J(), j.pop(), w(h, "WhileStatement");
|
|
4555
4560
|
case nr:
|
|
4556
4561
|
return W && A(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = J(), w(h, "WithStatement");
|
|
4557
4562
|
case we:
|
|
@@ -4566,7 +4571,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4566
4571
|
var Pi = b.isLoop ? "loop" : b === lt ? "switch" : null;
|
|
4567
4572
|
return j.push({ name: Pt, kind: Pi }), h.body = J(), j.pop(), h.label = tt, w(h, "LabeledStatement");
|
|
4568
4573
|
} else
|
|
4569
|
-
return h.expression = tt,
|
|
4574
|
+
return h.expression = tt, le(), w(h, "ExpressionStatement");
|
|
4570
4575
|
}
|
|
4571
4576
|
}
|
|
4572
4577
|
function Ie() {
|
|
@@ -4578,7 +4583,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4578
4583
|
var h = V(), d = !0, E = !1, C;
|
|
4579
4584
|
for (h.body = [], B(we); !M(Ee); ) {
|
|
4580
4585
|
var S = J();
|
|
4581
|
-
h.body.push(S), d && f &&
|
|
4586
|
+
h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
|
|
4582
4587
|
}
|
|
4583
4588
|
return E && !C && Et(!1), w(h, "BlockStatement");
|
|
4584
4589
|
}
|
|
@@ -4591,14 +4596,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4591
4596
|
function Pr(f, h) {
|
|
4592
4597
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4593
4598
|
var d = V();
|
|
4594
|
-
if (d.id =
|
|
4599
|
+
if (d.id = ae(), W && Je(d.id.name) && A(d.id.start, "Binding " + d.id.name + " in strict mode"), d.init = M(pr) ? Y(!0, h) : null, f.declarations.push(w(d, "VariableDeclarator")), !M(ne)) break;
|
|
4595
4600
|
}
|
|
4596
4601
|
}
|
|
4597
4602
|
function Y(f, h) {
|
|
4598
4603
|
var d = mt(h);
|
|
4599
|
-
if (!f && b ===
|
|
4600
|
-
var E =
|
|
4601
|
-
for (E.expressions = [d]; M(
|
|
4604
|
+
if (!f && b === ne) {
|
|
4605
|
+
var E = ie(d);
|
|
4606
|
+
for (E.expressions = [d]; M(ne); ) E.expressions.push(mt(h));
|
|
4602
4607
|
return w(E, "SequenceExpression");
|
|
4603
4608
|
}
|
|
4604
4609
|
return d;
|
|
@@ -4606,7 +4611,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4606
4611
|
function mt(f) {
|
|
4607
4612
|
var h = Ri(f);
|
|
4608
4613
|
if (b.isAssign) {
|
|
4609
|
-
var d =
|
|
4614
|
+
var d = ie(h);
|
|
4610
4615
|
return d.operator = P, d.left = h, k(), d.right = mt(f), et(h), w(d, "AssignmentExpression");
|
|
4611
4616
|
}
|
|
4612
4617
|
return h;
|
|
@@ -4614,7 +4619,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4614
4619
|
function Ri(f) {
|
|
4615
4620
|
var h = Oi(f);
|
|
4616
4621
|
if (M(fr)) {
|
|
4617
|
-
var d =
|
|
4622
|
+
var d = ie(h);
|
|
4618
4623
|
return d.test = h, d.consequent = Y(!0), B(Ce), d.alternate = Y(!0, f), w(d, "ConditionalExpression");
|
|
4619
4624
|
}
|
|
4620
4625
|
return h;
|
|
@@ -4625,7 +4630,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4625
4630
|
function Rt(f, h, d) {
|
|
4626
4631
|
var E = b.binop;
|
|
4627
4632
|
if (E !== null && (!d || b !== We) && E > h) {
|
|
4628
|
-
var C =
|
|
4633
|
+
var C = ie(f);
|
|
4629
4634
|
C.left = f, C.operator = P;
|
|
4630
4635
|
var S = b;
|
|
4631
4636
|
k(), C.right = Rt(Ot(), E, d);
|
|
@@ -4640,7 +4645,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4640
4645
|
return f.operator = P, f.prefix = !0, I = !0, k(), f.argument = Ot(), h ? et(f.argument) : W && f.operator === "delete" && f.argument.type === "Identifier" && A(f.start, "Deleting local variable in strict mode"), w(f, h ? "UpdateExpression" : "UnaryExpression");
|
|
4641
4646
|
}
|
|
4642
4647
|
for (var d = Ni(); b.postfix && !Qe(); ) {
|
|
4643
|
-
var f =
|
|
4648
|
+
var f = ie(d);
|
|
4644
4649
|
f.operator = P, f.prefix = !1, f.argument = d, et(d), k(), d = w(f, "UpdateExpression");
|
|
4645
4650
|
}
|
|
4646
4651
|
return d;
|
|
@@ -4650,7 +4655,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4650
4655
|
}
|
|
4651
4656
|
function De(f, h) {
|
|
4652
4657
|
var d;
|
|
4653
|
-
return M(cr) ? (d =
|
|
4658
|
+
return M(cr) ? (d = ie(f), d.object = f, d.property = ae(!0), d.computed = !1, De(w(d, "MemberExpression"), h)) : M(dt) ? (d = ie(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), De(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ie(f), d.callee = f, d.arguments = St(H, !1), De(w(d, "CallExpression"), h)) : f;
|
|
4654
4659
|
}
|
|
4655
4660
|
function Nt() {
|
|
4656
4661
|
var f;
|
|
@@ -4658,20 +4663,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4658
4663
|
case ar:
|
|
4659
4664
|
return f = V(), k(), w(f, "ThisExpression");
|
|
4660
4665
|
case ye:
|
|
4661
|
-
return
|
|
4666
|
+
return ae();
|
|
4662
4667
|
case Xe:
|
|
4663
4668
|
case ot:
|
|
4664
4669
|
case Yt:
|
|
4665
|
-
return f = V(), f.value = P, f.raw = t.slice(l,
|
|
4670
|
+
return f = V(), f.value = P, f.raw = t.slice(l, y), k(), w(f, "Literal");
|
|
4666
4671
|
case or:
|
|
4667
4672
|
case ur:
|
|
4668
4673
|
case sr:
|
|
4669
4674
|
return f = V(), f.value = b.atomValue, f.raw = b.keyword, k(), w(f, "Literal");
|
|
4670
4675
|
case q:
|
|
4671
|
-
var h =
|
|
4676
|
+
var h = _, d = l;
|
|
4672
4677
|
k();
|
|
4673
4678
|
var E = Y();
|
|
4674
|
-
return E.start = d, E.end =
|
|
4679
|
+
return E.start = d, E.end = y, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, y]), B(H), E;
|
|
4675
4680
|
case dt:
|
|
4676
4681
|
return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
|
|
4677
4682
|
case we:
|
|
@@ -4692,7 +4697,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4692
4697
|
for (f.properties = [], k(); !M(Ee); ) {
|
|
4693
4698
|
if (h)
|
|
4694
4699
|
h = !1;
|
|
4695
|
-
else if (B(
|
|
4700
|
+
else if (B(ne), r.allowTrailingCommas && M(Ee))
|
|
4696
4701
|
break;
|
|
4697
4702
|
var E = { key: wr() }, C = !1, S;
|
|
4698
4703
|
if (M(Ce) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = Tt(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
|
|
@@ -4708,15 +4713,15 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4708
4713
|
return w(f, "ObjectExpression");
|
|
4709
4714
|
}
|
|
4710
4715
|
function wr() {
|
|
4711
|
-
return b === Xe || b === ot ? Nt() :
|
|
4716
|
+
return b === Xe || b === ot ? Nt() : ae(!0);
|
|
4712
4717
|
}
|
|
4713
4718
|
function Tt(f, h) {
|
|
4714
|
-
b === ye ? f.id =
|
|
4719
|
+
b === ye ? f.id = ae() : h ? Q() : f.id = null, f.params = [];
|
|
4715
4720
|
var d = !0;
|
|
4716
4721
|
for (B(q); !M(H); )
|
|
4717
|
-
d ? d = !1 : B(
|
|
4718
|
-
var E =
|
|
4719
|
-
if (
|
|
4722
|
+
d ? d = !1 : B(ne), f.params.push(ae());
|
|
4723
|
+
var E = se, C = j;
|
|
4724
|
+
if (se = !0, j = [], f.body = ke(!0), se = E, j = C, W || f.body.body.length && gt(f.body.body[0]))
|
|
4720
4725
|
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4721
4726
|
var x = S < 0 ? f.id : f.params[S];
|
|
4722
4727
|
if ((yr(x.name) || Je(x.name)) && A(x.start, "Defining '" + x.name + "' in strict mode"), S >= 0)
|
|
@@ -4729,15 +4734,15 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4729
4734
|
for (var E = [], C = !0; !M(f); ) {
|
|
4730
4735
|
if (C)
|
|
4731
4736
|
C = !1;
|
|
4732
|
-
else if (B(
|
|
4737
|
+
else if (B(ne), h && r.allowTrailingCommas && M(f))
|
|
4733
4738
|
break;
|
|
4734
|
-
E.push(d && b ===
|
|
4739
|
+
E.push(d && b === ne ? null : Y(!0));
|
|
4735
4740
|
}
|
|
4736
4741
|
return E;
|
|
4737
4742
|
}
|
|
4738
|
-
function
|
|
4743
|
+
function ae(f) {
|
|
4739
4744
|
var h = V();
|
|
4740
|
-
return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l,
|
|
4745
|
+
return f && r.forbidReserved === "everywhere" && (f = !1), b === ye ? (!f && (r.forbidReserved && ri(P) || W && yr(P)) && t.slice(l, y).indexOf("\\") === -1 && A(l, "The keyword '" + P + "' is reserved"), h.name = P) : f && b.keyword ? h.name = b.keyword : Q(), I = !1, k(), w(h, "Identifier");
|
|
4741
4746
|
}
|
|
4742
4747
|
});
|
|
4743
4748
|
}
|
|
@@ -4749,16 +4754,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4749
4754
|
\*********************/
|
|
4750
4755
|
/***/
|
|
4751
4756
|
(m) => {
|
|
4752
|
-
m.exports =
|
|
4757
|
+
m.exports = Bs;
|
|
4753
4758
|
}
|
|
4754
4759
|
)
|
|
4755
4760
|
/******/
|
|
4756
|
-
},
|
|
4757
|
-
function
|
|
4758
|
-
var N =
|
|
4761
|
+
}, v = {};
|
|
4762
|
+
function g(m) {
|
|
4763
|
+
var N = v[m];
|
|
4759
4764
|
if (N !== void 0)
|
|
4760
4765
|
return N.exports;
|
|
4761
|
-
var T =
|
|
4766
|
+
var T = v[m] = {
|
|
4762
4767
|
/******/
|
|
4763
4768
|
// no module.id needed
|
|
4764
4769
|
/******/
|
|
@@ -4767,12 +4772,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4767
4772
|
exports: {}
|
|
4768
4773
|
/******/
|
|
4769
4774
|
};
|
|
4770
|
-
return p[m].call(T.exports, T, T.exports,
|
|
4775
|
+
return p[m].call(T.exports, T, T.exports, g), T.exports;
|
|
4771
4776
|
}
|
|
4772
|
-
|
|
4777
|
+
g.d = (m, N) => {
|
|
4773
4778
|
for (var T in N)
|
|
4774
|
-
|
|
4775
|
-
},
|
|
4779
|
+
g.o(N, T) && !g.o(m, T) && Object.defineProperty(m, T, { enumerable: !0, get: N[T] });
|
|
4780
|
+
}, g.o = (m, N) => Object.prototype.hasOwnProperty.call(m, N), g.r = (m) => {
|
|
4776
4781
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
4777
4782
|
};
|
|
4778
4783
|
var R = {};
|
|
@@ -4780,17 +4785,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4780
4785
|
/*!*******************************!*\
|
|
4781
4786
|
!*** ./src/js-interpreter.js ***!
|
|
4782
4787
|
\*******************************/
|
|
4783
|
-
|
|
4788
|
+
g.r(R), g.d(R, {
|
|
4784
4789
|
/* harmony export */
|
|
4785
4790
|
default: () => T
|
|
4786
4791
|
/* harmony export */
|
|
4787
4792
|
});
|
|
4788
|
-
const m =
|
|
4793
|
+
const m = g(
|
|
4789
4794
|
/*! ../original-repo/acorn */
|
|
4790
4795
|
"./original-repo/acorn.js"
|
|
4791
4796
|
);
|
|
4792
4797
|
globalThis.acorn = m;
|
|
4793
|
-
const { Interpreter: N } =
|
|
4798
|
+
const { Interpreter: N } = g(
|
|
4794
4799
|
/*! ../original-repo/interpreter */
|
|
4795
4800
|
"./original-repo/interpreter.js"
|
|
4796
4801
|
), T = N;
|
|
@@ -4798,12 +4803,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4798
4803
|
})()
|
|
4799
4804
|
));
|
|
4800
4805
|
})(Gn);
|
|
4801
|
-
var
|
|
4802
|
-
const
|
|
4803
|
-
function
|
|
4804
|
-
function p(
|
|
4805
|
-
const
|
|
4806
|
-
console.log(
|
|
4806
|
+
var $s = Gn.exports;
|
|
4807
|
+
const Gs = /* @__PURE__ */ Ls($s);
|
|
4808
|
+
function Vs(n, s) {
|
|
4809
|
+
function p(v) {
|
|
4810
|
+
const g = n.pseudoToNative(v);
|
|
4811
|
+
console.log(g);
|
|
4807
4812
|
}
|
|
4808
4813
|
n.setProperty(
|
|
4809
4814
|
s,
|
|
@@ -4811,46 +4816,46 @@ function Ys(n, s) {
|
|
|
4811
4816
|
n.createNativeFunction(p)
|
|
4812
4817
|
);
|
|
4813
4818
|
}
|
|
4814
|
-
class
|
|
4819
|
+
class Ys {
|
|
4815
4820
|
constructor(s) {
|
|
4816
4821
|
wt(this, "context");
|
|
4817
4822
|
wt(this, "nodes");
|
|
4818
4823
|
this.context = s, this.nodes = {};
|
|
4819
4824
|
const p = this;
|
|
4820
|
-
function
|
|
4825
|
+
function v(g) {
|
|
4821
4826
|
var R;
|
|
4822
|
-
p.nodes[
|
|
4827
|
+
p.nodes[g.id] = g, (R = g.children) == null || R.forEach((m) => v(m));
|
|
4823
4828
|
}
|
|
4824
|
-
this.context.data.view.nodes.forEach((
|
|
4829
|
+
this.context.data.view.nodes.forEach((g) => v(g));
|
|
4825
4830
|
}
|
|
4826
4831
|
getNode(s) {
|
|
4827
4832
|
return this.nodes[s];
|
|
4828
4833
|
}
|
|
4829
|
-
addNode(s, p,
|
|
4830
|
-
let
|
|
4834
|
+
addNode(s, p, v) {
|
|
4835
|
+
let g;
|
|
4831
4836
|
if (s) {
|
|
4832
4837
|
const m = this.getNode(s);
|
|
4833
4838
|
if (!m)
|
|
4834
4839
|
return console.error(
|
|
4835
|
-
`NodeMgr/addNode parent not found, parent=${s} ref=${p} key=${
|
|
4840
|
+
`NodeMgr/addNode parent not found, parent=${s} ref=${p} key=${v}`
|
|
4836
4841
|
), "";
|
|
4837
4842
|
if (!m.children)
|
|
4838
4843
|
return console.error(
|
|
4839
|
-
`NodeMgr/addNode parent no children, parent=${s} ref=${p} key=${
|
|
4844
|
+
`NodeMgr/addNode parent no children, parent=${s} ref=${p} key=${v}`
|
|
4840
4845
|
), "";
|
|
4841
|
-
|
|
4846
|
+
g = m.children;
|
|
4842
4847
|
} else
|
|
4843
|
-
|
|
4844
|
-
if (!
|
|
4848
|
+
g = this.context.data.view.nodes;
|
|
4849
|
+
if (!g)
|
|
4845
4850
|
return "";
|
|
4846
|
-
const R =
|
|
4851
|
+
const R = ms(
|
|
4847
4852
|
this.context.type,
|
|
4848
4853
|
this.context.data.type,
|
|
4849
4854
|
this.context.data.version,
|
|
4850
4855
|
p,
|
|
4851
|
-
|
|
4856
|
+
v
|
|
4852
4857
|
);
|
|
4853
|
-
return R ? (
|
|
4858
|
+
return R ? (g.push(R), this.nodes[R.id] = R, R.id) : (console.error(
|
|
4854
4859
|
"NodeMgr/addNode spawn node failed, parent=${parent} ref=${ref} key=${key}"
|
|
4855
4860
|
), "");
|
|
4856
4861
|
}
|
|
@@ -4858,29 +4863,29 @@ class Xs {
|
|
|
4858
4863
|
this.getNode(s);
|
|
4859
4864
|
}
|
|
4860
4865
|
}
|
|
4861
|
-
function
|
|
4862
|
-
const
|
|
4863
|
-
function
|
|
4864
|
-
const o = s.pseudoToNative(t), u = s.pseudoToNative(e), c = s.pseudoToNative(i), a =
|
|
4866
|
+
function Xs(n, s, p) {
|
|
4867
|
+
const v = new Ys(n);
|
|
4868
|
+
function g(t, e, i) {
|
|
4869
|
+
const o = s.pseudoToNative(t), u = s.pseudoToNative(e), c = s.pseudoToNative(i), a = v.addNode(o, u, c);
|
|
4865
4870
|
return s.nativeToPseudo(a);
|
|
4866
4871
|
}
|
|
4867
4872
|
function R(t) {
|
|
4868
4873
|
const e = s.pseudoToNative(t);
|
|
4869
|
-
|
|
4874
|
+
v.deleteNode(e);
|
|
4870
4875
|
}
|
|
4871
4876
|
function m(t, e) {
|
|
4872
4877
|
const i = s.pseudoToNative(t), o = s.pseudoToNative(e);
|
|
4873
4878
|
let u;
|
|
4874
|
-
if (i === "globality" ? u = n.data.view : u =
|
|
4879
|
+
if (i === "globality" ? u = n.data.view : u = v.getNode(i), !u) {
|
|
4875
4880
|
console.error(`getNodePropV1 node not found, id=${i} keys=${o}`);
|
|
4876
4881
|
return;
|
|
4877
4882
|
}
|
|
4878
4883
|
const c = o.split("."), a = c.length;
|
|
4879
4884
|
for (let l = 0; l < a; l++) {
|
|
4880
|
-
const
|
|
4885
|
+
const y = c[l];
|
|
4881
4886
|
if (l === a - 1)
|
|
4882
|
-
return s.nativeToPseudo(u[
|
|
4883
|
-
if (u = u[
|
|
4887
|
+
return s.nativeToPseudo(u[y]);
|
|
4888
|
+
if (u = u[y], !u) {
|
|
4884
4889
|
console.error(`getNodePropV1 unpkg failed, id=${i} keys=${o}`);
|
|
4885
4890
|
return;
|
|
4886
4891
|
}
|
|
@@ -4889,16 +4894,16 @@ function Ws(n, s, p) {
|
|
|
4889
4894
|
function N(t, e, i) {
|
|
4890
4895
|
const o = s.pseudoToNative(t), u = s.pseudoToNative(e), c = s.pseudoToNative(i);
|
|
4891
4896
|
let a;
|
|
4892
|
-
if (o === "globality" ? a = n.data.view : a =
|
|
4897
|
+
if (o === "globality" ? a = n.data.view : a = v.getNode(o), !a) {
|
|
4893
4898
|
console.error(
|
|
4894
4899
|
`setNodePropV1 node not found, id=${o} keys=${u} value=${c}`
|
|
4895
4900
|
);
|
|
4896
4901
|
return;
|
|
4897
4902
|
}
|
|
4898
|
-
const l = u.split("."),
|
|
4899
|
-
for (let
|
|
4900
|
-
const O = l[
|
|
4901
|
-
if (
|
|
4903
|
+
const l = u.split("."), y = l.length;
|
|
4904
|
+
for (let _ = 0; _ < y; _++) {
|
|
4905
|
+
const O = l[_];
|
|
4906
|
+
if (_ === y - 1)
|
|
4902
4907
|
a[O] = c;
|
|
4903
4908
|
else if (a = a[O], !a) {
|
|
4904
4909
|
console.error(
|
|
@@ -4910,20 +4915,20 @@ function Ws(n, s, p) {
|
|
|
4910
4915
|
}
|
|
4911
4916
|
function T(t, e, i) {
|
|
4912
4917
|
const o = s.pseudoToNative(t), u = s.pseudoToNative(e);
|
|
4913
|
-
|
|
4918
|
+
Fi({ title: o, text: u }).then((c) => {
|
|
4914
4919
|
i(s.nativeToPseudo(c)), s.run();
|
|
4915
4920
|
});
|
|
4916
4921
|
}
|
|
4917
4922
|
function r(t, e, i, o) {
|
|
4918
4923
|
const u = s.pseudoToNative(t), c = s.pseudoToNative(e), a = s.pseudoToNative(i);
|
|
4919
|
-
|
|
4924
|
+
Li({ title: u, label: c, value: a }).then((l) => {
|
|
4920
4925
|
o(s.nativeToPseudo(l)), s.run();
|
|
4921
4926
|
});
|
|
4922
4927
|
}
|
|
4923
4928
|
s.setProperty(
|
|
4924
4929
|
p,
|
|
4925
4930
|
"__addNodeV1__",
|
|
4926
|
-
s.createNativeFunction(
|
|
4931
|
+
s.createNativeFunction(g)
|
|
4927
4932
|
), s.setProperty(
|
|
4928
4933
|
p,
|
|
4929
4934
|
"__deleteNodeV1__",
|
|
@@ -4946,16 +4951,16 @@ function Ws(n, s, p) {
|
|
|
4946
4951
|
s.createAsyncFunction(r)
|
|
4947
4952
|
);
|
|
4948
4953
|
}
|
|
4949
|
-
function
|
|
4950
|
-
|
|
4954
|
+
function Ws(n, s, p) {
|
|
4955
|
+
Vs(s, p), Xs(n, s, p);
|
|
4951
4956
|
}
|
|
4952
|
-
const
|
|
4957
|
+
const zs = `
|
|
4953
4958
|
var __env__ = 'dev'
|
|
4954
4959
|
|
|
4955
4960
|
function __getEnv__() {
|
|
4956
4961
|
return __env__
|
|
4957
4962
|
}
|
|
4958
|
-
`,
|
|
4963
|
+
`, Js = `
|
|
4959
4964
|
var __events__ = {}
|
|
4960
4965
|
|
|
4961
4966
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5026,12 +5031,12 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5026
5031
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5027
5032
|
}
|
|
5028
5033
|
}
|
|
5029
|
-
`,
|
|
5030
|
-
function
|
|
5031
|
-
const p = new
|
|
5032
|
-
|
|
5033
|
-
(
|
|
5034
|
-
|
|
5034
|
+
`, Hs = zs + Js;
|
|
5035
|
+
function Ks(n, s) {
|
|
5036
|
+
const p = new Gs(
|
|
5037
|
+
Hs,
|
|
5038
|
+
(v, g) => {
|
|
5039
|
+
Ws(n, v, g);
|
|
5035
5040
|
}
|
|
5036
5041
|
);
|
|
5037
5042
|
return p.appendCode(s), p.appendCode(`
|
|
@@ -5042,7 +5047,7 @@ __triggerEvent__('globality', 'startup');
|
|
|
5042
5047
|
function nn(n) {
|
|
5043
5048
|
n.appendCode("__destrory__();"), n.run();
|
|
5044
5049
|
}
|
|
5045
|
-
const
|
|
5050
|
+
const qs = /* @__PURE__ */ on({
|
|
5046
5051
|
__name: "index",
|
|
5047
5052
|
props: {
|
|
5048
5053
|
id: {},
|
|
@@ -5051,24 +5056,24 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5051
5056
|
outer: { type: Boolean }
|
|
5052
5057
|
},
|
|
5053
5058
|
setup(n) {
|
|
5054
|
-
const { t: s } =
|
|
5055
|
-
|
|
5059
|
+
const { t: s } = Di(), p = n, v = Rs(), g = Ss(), R = Ps(), m = ws(), N = Cr();
|
|
5060
|
+
Ai(() => {
|
|
5056
5061
|
N.value = m[p.refContext.refid];
|
|
5057
5062
|
});
|
|
5058
5063
|
const T = Cr();
|
|
5059
|
-
|
|
5060
|
-
a ||
|
|
5064
|
+
Cs(T), Ii(N, (a) => {
|
|
5065
|
+
a || Ui.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = Ks(
|
|
5061
5066
|
{
|
|
5062
|
-
env:
|
|
5063
|
-
type:
|
|
5067
|
+
env: v,
|
|
5068
|
+
type: g,
|
|
5064
5069
|
data: a.data
|
|
5065
5070
|
},
|
|
5066
5071
|
a.data.code.script
|
|
5067
5072
|
));
|
|
5068
|
-
}),
|
|
5073
|
+
}), ki(() => {
|
|
5069
5074
|
T.value && (nn(T.value), T.value = void 0);
|
|
5070
5075
|
});
|
|
5071
|
-
const { applySize: r } =
|
|
5076
|
+
const { applySize: r } = Ds(p), t = ee(() => {
|
|
5072
5077
|
const a = {};
|
|
5073
5078
|
switch (R.type) {
|
|
5074
5079
|
case "common":
|
|
@@ -5093,36 +5098,36 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5093
5098
|
return a.ref ? l = o(a) : l = u(a), l;
|
|
5094
5099
|
}
|
|
5095
5100
|
function o(a) {
|
|
5096
|
-
const l = cn[R.version].refKey,
|
|
5097
|
-
let
|
|
5098
|
-
return
|
|
5101
|
+
const l = cn[R.version].refKey, y = Ne[l];
|
|
5102
|
+
let _;
|
|
5103
|
+
return y ? _ = Le(y.comp, {
|
|
5099
5104
|
refContext: {
|
|
5100
5105
|
parent: p.refContext,
|
|
5101
5106
|
refid: a.ref.id
|
|
5102
5107
|
},
|
|
5103
5108
|
node: a
|
|
5104
|
-
}) : console.assert(!1),
|
|
5109
|
+
}) : console.assert(!1), _;
|
|
5105
5110
|
}
|
|
5106
5111
|
function u(a) {
|
|
5107
|
-
var
|
|
5112
|
+
var _;
|
|
5108
5113
|
let l;
|
|
5109
|
-
const
|
|
5110
|
-
return
|
|
5114
|
+
const y = Ne[a.key];
|
|
5115
|
+
return y ? ((_ = a.children) == null || _.forEach((O) => {
|
|
5111
5116
|
i(O);
|
|
5112
|
-
}), l = Le(
|
|
5117
|
+
}), l = Le(y.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
|
|
5113
5118
|
}
|
|
5114
5119
|
const c = () => {
|
|
5115
5120
|
const a = [];
|
|
5116
5121
|
if (e())
|
|
5117
|
-
a.push(Le("div", s("circularRef")));
|
|
5122
|
+
a.push(Le("div", s("x-runtime-lib.circularRef")));
|
|
5118
5123
|
else if (N.value) {
|
|
5119
5124
|
const l = N.value.data.type;
|
|
5120
|
-
l === "common" ? N.value.data.view.nodes.forEach((
|
|
5121
|
-
const
|
|
5122
|
-
a.push(
|
|
5125
|
+
l === "common" ? N.value.data.view.nodes.forEach((y) => {
|
|
5126
|
+
const _ = i(y);
|
|
5127
|
+
a.push(_);
|
|
5123
5128
|
}) : console.assert(!1, `invalid data type dataType=${l}`);
|
|
5124
5129
|
} else
|
|
5125
|
-
a.push(Le("div", s("compNotAvail")));
|
|
5130
|
+
a.push(Le("div", s("x-runtime-lib.compNotAvail")));
|
|
5126
5131
|
return Le("div", { id: p.id, style: t.value }, a);
|
|
5127
5132
|
};
|
|
5128
5133
|
return (a, l) => (un(), sn(c));
|
|
@@ -5134,19 +5139,19 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5134
5139
|
children: [
|
|
5135
5140
|
{
|
|
5136
5141
|
key: "id",
|
|
5137
|
-
name: "id",
|
|
5142
|
+
name: "x-runtime-lib.id",
|
|
5138
5143
|
ui: "strInput",
|
|
5139
5144
|
readonly: !0
|
|
5140
5145
|
},
|
|
5141
5146
|
{
|
|
5142
5147
|
key: "name",
|
|
5143
|
-
name: "name",
|
|
5148
|
+
name: "x-runtime-lib.name",
|
|
5144
5149
|
ui: "strInput",
|
|
5145
5150
|
static: !0
|
|
5146
5151
|
},
|
|
5147
5152
|
{
|
|
5148
5153
|
key: "alias",
|
|
5149
|
-
name: "alias",
|
|
5154
|
+
name: "x-runtime-lib.alias",
|
|
5150
5155
|
ui: "strInput"
|
|
5151
5156
|
}
|
|
5152
5157
|
]
|
|
@@ -5154,13 +5159,13 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5154
5159
|
{
|
|
5155
5160
|
name: "default",
|
|
5156
5161
|
ui: "word",
|
|
5157
|
-
validator:
|
|
5162
|
+
validator: $i,
|
|
5158
5163
|
default: ""
|
|
5159
5164
|
},
|
|
5160
5165
|
{
|
|
5161
5166
|
name: "pixel",
|
|
5162
5167
|
ui: "pixelInput",
|
|
5163
|
-
validator:
|
|
5168
|
+
validator: Gi,
|
|
5164
5169
|
default: "0px",
|
|
5165
5170
|
precision: 0,
|
|
5166
5171
|
min: 0,
|
|
@@ -5170,7 +5175,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5170
5175
|
{
|
|
5171
5176
|
name: "percent",
|
|
5172
5177
|
ui: "percentInput",
|
|
5173
|
-
validator:
|
|
5178
|
+
validator: Vi,
|
|
5174
5179
|
default: "0%",
|
|
5175
5180
|
precision: 4,
|
|
5176
5181
|
min: 0,
|
|
@@ -5235,23 +5240,23 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5235
5240
|
default: ""
|
|
5236
5241
|
}
|
|
5237
5242
|
]
|
|
5238
|
-
},
|
|
5243
|
+
}, Zs = [Vn, Yn], Qs = [Vn, Yn], ec = {
|
|
5239
5244
|
key: "ref_v1",
|
|
5240
5245
|
name: "x-runtime-lib.ref",
|
|
5241
|
-
comp:
|
|
5246
|
+
comp: qs,
|
|
5242
5247
|
leaf: !0,
|
|
5243
5248
|
events: [],
|
|
5244
5249
|
methods: [],
|
|
5245
5250
|
props: {
|
|
5246
|
-
pageCommon:
|
|
5247
|
-
compCommon:
|
|
5251
|
+
pageCommon: Zs,
|
|
5252
|
+
compCommon: Qs
|
|
5248
5253
|
}
|
|
5249
5254
|
}, Ne = {
|
|
5250
5255
|
// basic
|
|
5251
|
-
btn_v1:
|
|
5252
|
-
globality_v1:
|
|
5253
|
-
ref_v1:
|
|
5254
|
-
},
|
|
5256
|
+
btn_v1: Is,
|
|
5257
|
+
globality_v1: ks,
|
|
5258
|
+
ref_v1: ec
|
|
5259
|
+
}, tc = {
|
|
5255
5260
|
key: "add",
|
|
5256
5261
|
name: "add",
|
|
5257
5262
|
outputs: [
|
|
@@ -5263,11 +5268,11 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5263
5268
|
};
|
|
5264
5269
|
for (const n in Ne) {
|
|
5265
5270
|
const s = Ne[n];
|
|
5266
|
-
s.leaf || s.methods.unshift(
|
|
5271
|
+
s.leaf || s.methods.unshift(tc);
|
|
5267
5272
|
}
|
|
5268
|
-
const
|
|
5269
|
-
const
|
|
5270
|
-
return
|
|
5273
|
+
const rc = (n, s, p) => {
|
|
5274
|
+
const v = n[s];
|
|
5275
|
+
return v ? typeof v == "function" ? v() : Promise.resolve(v) : new Promise((g, R) => {
|
|
5271
5276
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
5272
5277
|
R.bind(
|
|
5273
5278
|
null,
|
|
@@ -5279,40 +5284,40 @@ const nc = (n, s, p) => {
|
|
|
5279
5284
|
});
|
|
5280
5285
|
};
|
|
5281
5286
|
async function gc(n) {
|
|
5282
|
-
return (await
|
|
5287
|
+
return (await rc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-qjkol4ql.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-chbmhnb3.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
5283
5288
|
}
|
|
5284
5289
|
export {
|
|
5285
|
-
|
|
5290
|
+
cc as duplicateNode,
|
|
5286
5291
|
Ne as elements,
|
|
5287
5292
|
fn as genId,
|
|
5288
|
-
|
|
5293
|
+
sc as getNode,
|
|
5289
5294
|
Qr as getPropDefault,
|
|
5290
|
-
|
|
5295
|
+
bs as getPropTag,
|
|
5291
5296
|
en as initProps,
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5297
|
+
Ts as injectDark,
|
|
5298
|
+
Ps as injectData,
|
|
5299
|
+
ws as injectDepends,
|
|
5300
|
+
Ns as injectDevice,
|
|
5301
|
+
Rs as injectEnv,
|
|
5302
|
+
Ec as injectInterpreter,
|
|
5303
|
+
Os as injectMode,
|
|
5304
|
+
Ss as injectType,
|
|
5305
|
+
$i as isEmptyStr,
|
|
5306
|
+
Vi as isPercentStr,
|
|
5307
|
+
Gi as isPixelStr,
|
|
5303
5308
|
gc as loadLocaleMessageRuntime,
|
|
5304
5309
|
Ct as parsePercentStr,
|
|
5305
|
-
|
|
5310
|
+
uc as parsePixelStr,
|
|
5306
5311
|
cn as pkgs,
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5312
|
+
hc as provideDark,
|
|
5313
|
+
vc as provideData,
|
|
5314
|
+
yc as provideDepends,
|
|
5315
|
+
pc as provideDevice,
|
|
5316
|
+
fc as provideEnv,
|
|
5317
|
+
Cs as provideInterpreter,
|
|
5318
|
+
lc as provideMode,
|
|
5319
|
+
dc as provideType,
|
|
5320
|
+
ms as spawnNode,
|
|
5321
|
+
Ks as startInterpreter,
|
|
5317
5322
|
nn as stopInterpreter
|
|
5318
5323
|
};
|