x-runtime-lib 0.5.16 → 0.5.17
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/dialog/v1/index.vue.d.ts +0 -1
- package/dist/components/element/textField/v1/index.vue.d.ts +22 -1
- package/dist/composables/element/common/method.d.ts +2 -0
- package/dist/{i18n-en-b8zhxb60.js → i18n-en-chxvg9av.js} +0 -2
- package/dist/{i18n-zhHans-mqoymcvp.js → i18n-zhHans-irh3vhql.js} +0 -2
- package/dist/index.js +1139 -1096
- package/dist/types/element.d.ts +0 -5
- package/package.json +1 -1
- package/dist/element/basic/package/v1/index.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { provide as
|
|
5
|
-
import {
|
|
1
|
+
var ha = Object.defineProperty;
|
|
2
|
+
var va = (n, o, f) => o in n ? ha(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
|
+
var Wt = (n, o, f) => va(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as de, inject as he, readonly as bt, isReactive as zn, defineComponent as se, computed as N, resolveComponent as Re, openBlock as J, createBlock as ve, unref as Ae, createElementBlock as Le, createVNode as Et, normalizeStyle as ya, renderSlot as ee, onBeforeMount as ma, onUnmounted as _a, isRef as ga, withCtx as te, createCommentVNode as ba, watchEffect as Ea, onBeforeUnmount as Ra, h as Je } from "vue";
|
|
5
|
+
import { eventBus as qe, useViewStack as Oa, messageInfo as Ta, messageSuccess as Na, messageWarning as Sa, messageError as xa, openConfirmDlg as wa, openPromptDlg as Pa } from "x-essential-lib";
|
|
6
6
|
import { useI18n as Ca } from "vue-i18n";
|
|
7
|
-
const
|
|
8
|
-
function
|
|
7
|
+
const on = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function Xn(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
11
|
+
const h = Math.floor(Math.random() * on.length);
|
|
12
|
+
o += on[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function cr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function fr(n) {
|
|
20
20
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
21
21
|
return !1;
|
|
22
22
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
23
23
|
return !(isNaN(f) || f % 1 !== 0);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function pr(n) {
|
|
26
26
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
27
27
|
return !1;
|
|
28
28
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
@@ -35,56 +35,56 @@ function vc(n) {
|
|
|
35
35
|
if (!isNaN(f) && f % 1 === 0)
|
|
36
36
|
return f;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Jt(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
41
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var Wn = typeof global == "object" && global && global.Object === Object && global, Aa = typeof self == "object" && self && self.Object === Object && self, re = Wn || Aa || Function("return this")(), ke = re.Symbol, Jn = Object.prototype, ka = Jn.hasOwnProperty, Ia = Jn.toString, He = ke ? ke.toStringTag : void 0;
|
|
46
46
|
function Da(n) {
|
|
47
|
-
var o =
|
|
47
|
+
var o = ka.call(n, He), f = n[He];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[He] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var _ = Ia.call(n);
|
|
54
|
+
return h && (o ? n[He] = f : delete n[He]), _;
|
|
55
55
|
}
|
|
56
|
-
var La = Object.prototype,
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var La = Object.prototype, Ma = La.toString;
|
|
57
|
+
function Fa(n) {
|
|
58
|
+
return Ma.call(n);
|
|
59
59
|
}
|
|
60
|
-
var Ua = "[object Null]", ja = "[object Undefined]",
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ? ja : Ua :
|
|
60
|
+
var Ua = "[object Null]", ja = "[object Undefined]", un = ke ? ke.toStringTag : void 0;
|
|
61
|
+
function et(n) {
|
|
62
|
+
return n == null ? n === void 0 ? ja : Ua : un && un in Object(n) ? Da(n) : Fa(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function tt(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
function
|
|
67
|
+
var dr = Array.isArray;
|
|
68
|
+
function rt(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
72
|
var Ba = "[object AsyncFunction]", $a = "[object Function]", Va = "[object GeneratorFunction]", Ga = "[object Proxy]";
|
|
73
|
-
function
|
|
74
|
-
if (!
|
|
73
|
+
function Hn(n) {
|
|
74
|
+
if (!rt(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
76
|
+
var o = et(n);
|
|
77
77
|
return o == $a || o == Va || o == Ba || o == Ga;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
var n = /[^.]+$/.exec(
|
|
79
|
+
var Ht = re["__core-js_shared__"], sn = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(Ht && Ht.keys && Ht.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
83
|
function Ya(n) {
|
|
84
|
-
return !!
|
|
84
|
+
return !!sn && sn in n;
|
|
85
85
|
}
|
|
86
86
|
var za = Function.prototype, Xa = za.toString;
|
|
87
|
-
function
|
|
87
|
+
function Oe(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
90
|
return Xa.call(n);
|
|
@@ -101,26 +101,26 @@ var Wa = /[\\^$.*+?()[\]{}|]/g, Ja = /^\[object .+?Constructor\]$/, Ha = Functio
|
|
|
101
101
|
"^" + qa.call(Za).replace(Wa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
103
|
function eo(n) {
|
|
104
|
-
if (!
|
|
104
|
+
if (!rt(n) || Ya(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = Hn(n) ? Qa : Ja;
|
|
107
|
+
return o.test(Oe(n));
|
|
108
108
|
}
|
|
109
109
|
function to(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Te(n, o) {
|
|
113
113
|
var f = to(n, o);
|
|
114
114
|
return eo(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var qt = Te(re, "WeakMap"), ln = Object.create, ro = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!rt(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (ln)
|
|
123
|
+
return ln(o);
|
|
124
124
|
n.prototype = o;
|
|
125
125
|
var f = new n();
|
|
126
126
|
return n.prototype = void 0, f;
|
|
@@ -132,9 +132,9 @@ function no(n, o) {
|
|
|
132
132
|
o[f] = n[f];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var cn = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = Te(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
@@ -149,40 +149,40 @@ function uo(n, o) {
|
|
|
149
149
|
var f = typeof n;
|
|
150
150
|
return o = o ?? ao, !!o && (f == "number" || f != "symbol" && oo.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
o == "__proto__" &&
|
|
152
|
+
function Kn(n, o, f) {
|
|
153
|
+
o == "__proto__" && cn ? cn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
156
|
value: f,
|
|
157
157
|
writable: !0
|
|
158
158
|
}) : n[o] = f;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function qn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
163
|
var so = Object.prototype, lo = so.hasOwnProperty;
|
|
164
|
-
function
|
|
164
|
+
function Zn(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(lo.call(n, o) &&
|
|
166
|
+
(!(lo.call(n, o) && qn(h, f)) || f === void 0 && !(o in n)) && Kn(n, o, f);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
var
|
|
168
|
+
function Rt(n, o, f, h) {
|
|
169
|
+
var _ = !f;
|
|
170
170
|
f || (f = {});
|
|
171
|
-
for (var
|
|
172
|
-
var
|
|
173
|
-
|
|
171
|
+
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
|
+
var R = o[b], O = void 0;
|
|
173
|
+
O === void 0 && (O = n[R]), _ ? Kn(f, R, O) : Zn(f, R, O);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
177
|
var co = 9007199254740991;
|
|
178
|
-
function
|
|
178
|
+
function Qn(n) {
|
|
179
179
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= co;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return n != null &&
|
|
181
|
+
function ei(n) {
|
|
182
|
+
return n != null && Qn(n.length) && !Hn(n);
|
|
183
183
|
}
|
|
184
184
|
var fo = Object.prototype;
|
|
185
|
-
function
|
|
185
|
+
function hr(n) {
|
|
186
186
|
var o = n && n.constructor, f = typeof o == "function" && o.prototype || fo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
@@ -192,61 +192,61 @@ function po(n, o) {
|
|
|
192
192
|
return h;
|
|
193
193
|
}
|
|
194
194
|
var ho = "[object Arguments]";
|
|
195
|
-
function
|
|
196
|
-
return
|
|
195
|
+
function fn(n) {
|
|
196
|
+
return tt(n) && et(n) == ho;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var ti = Object.prototype, vo = ti.hasOwnProperty, yo = ti.propertyIsEnumerable, mo = fn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? fn : function(n) {
|
|
201
|
+
return tt(n) && vo.call(n, "callee") && !yo.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function _o() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
var ri = typeof exports == "object" && exports && !exports.nodeType && exports, pn = ri && typeof module == "object" && module && !module.nodeType && module, go = pn && pn.exports === ri, dn = go ? re.Buffer : void 0, bo = dn ? dn.isBuffer : void 0, ni = bo || _o, Eo = "[object Arguments]", Ro = "[object Array]", Oo = "[object Boolean]", To = "[object Date]", No = "[object Error]", So = "[object Function]", xo = "[object Map]", wo = "[object Number]", Po = "[object Object]", Co = "[object RegExp]", Ao = "[object Set]", ko = "[object String]", Io = "[object WeakMap]", Do = "[object ArrayBuffer]", Lo = "[object DataView]", Mo = "[object Float32Array]", Fo = "[object Float64Array]", Uo = "[object Int8Array]", jo = "[object Int16Array]", Bo = "[object Int32Array]", $o = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", Go = "[object Uint16Array]", Yo = "[object Uint32Array]", F = {};
|
|
207
|
+
F[Mo] = F[Fo] = F[Uo] = F[jo] = F[Bo] = F[$o] = F[Vo] = F[Go] = F[Yo] = !0;
|
|
208
|
+
F[Eo] = F[Ro] = F[Do] = F[Oo] = F[Lo] = F[To] = F[No] = F[So] = F[xo] = F[wo] = F[Po] = F[Co] = F[Ao] = F[ko] = F[Io] = !1;
|
|
209
209
|
function zo(n) {
|
|
210
|
-
return
|
|
210
|
+
return tt(n) && Qn(n.length) && !!F[et(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function vr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var ii = typeof exports == "object" && exports && !exports.nodeType && exports, Ke = ii && typeof module == "object" && module && !module.nodeType && module, Xo = Ke && Ke.exports === ii, Kt = Xo && Wn.process, Ie = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
220
|
-
return n ||
|
|
219
|
+
var n = Ke && Ke.require && Ke.require("util").types;
|
|
220
|
+
return n || Kt && Kt.binding && Kt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var f =
|
|
223
|
+
}(), hn = Ie && Ie.isTypedArray, Wo = hn ? vr(hn) : zo, Jo = Object.prototype, Ho = Jo.hasOwnProperty;
|
|
224
|
+
function ai(n, o) {
|
|
225
|
+
var f = dr(n), h = !f && mo(n), _ = !f && !h && ni(n), b = !f && !h && !_ && Wo(n), m = f || h || _ || b, R = m ? po(n.length, String) : [], O = R.length;
|
|
226
226
|
for (var r in n)
|
|
227
227
|
(o || Ho.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
uo(r,
|
|
232
|
-
return
|
|
229
|
+
_ && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
|
+
b && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
+
uo(r, O))) && R.push(r);
|
|
232
|
+
return R;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function oi(n, o) {
|
|
235
235
|
return function(f) {
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var Ko =
|
|
239
|
+
var Ko = oi(Object.keys, Object), qo = Object.prototype, Zo = qo.hasOwnProperty;
|
|
240
240
|
function Qo(n) {
|
|
241
|
-
if (!
|
|
241
|
+
if (!hr(n))
|
|
242
242
|
return Ko(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
245
|
Zo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
248
|
+
function yr(n) {
|
|
249
|
+
return ei(n) ? ai(n) : Qo(n);
|
|
250
250
|
}
|
|
251
251
|
function eu(n) {
|
|
252
252
|
var o = [];
|
|
@@ -257,19 +257,19 @@ function eu(n) {
|
|
|
257
257
|
}
|
|
258
258
|
var tu = Object.prototype, ru = tu.hasOwnProperty;
|
|
259
259
|
function nu(n) {
|
|
260
|
-
if (!
|
|
260
|
+
if (!rt(n))
|
|
261
261
|
return eu(n);
|
|
262
|
-
var o =
|
|
262
|
+
var o = hr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
264
|
h == "constructor" && (o || !ru.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function mr(n) {
|
|
268
|
+
return ei(n) ? ai(n, !0) : nu(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
270
|
+
var Ze = Te(Object, "create");
|
|
271
271
|
function iu() {
|
|
272
|
-
this.__data__ =
|
|
272
|
+
this.__data__ = Ze ? Ze(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
274
|
function au(n) {
|
|
275
275
|
var o = this.has(n) && delete this.__data__[n];
|
|
@@ -278,7 +278,7 @@ function au(n) {
|
|
|
278
278
|
var ou = "__lodash_hash_undefined__", uu = Object.prototype, su = uu.hasOwnProperty;
|
|
279
279
|
function lu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
281
|
+
if (Ze) {
|
|
282
282
|
var f = o[n];
|
|
283
283
|
return f === ou ? void 0 : f;
|
|
284
284
|
}
|
|
@@ -287,115 +287,115 @@ function lu(n) {
|
|
|
287
287
|
var cu = Object.prototype, fu = cu.hasOwnProperty;
|
|
288
288
|
function pu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return Ze ? o[n] !== void 0 : fu.call(o, n);
|
|
291
291
|
}
|
|
292
292
|
var du = "__lodash_hash_undefined__";
|
|
293
293
|
function hu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] =
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = Ze && o === void 0 ? du : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function Ee(n) {
|
|
298
298
|
var o = -1, f = n == null ? 0 : n.length;
|
|
299
299
|
for (this.clear(); ++o < f; ) {
|
|
300
300
|
var h = n[o];
|
|
301
301
|
this.set(h[0], h[1]);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
304
|
+
Ee.prototype.clear = iu;
|
|
305
|
+
Ee.prototype.delete = au;
|
|
306
|
+
Ee.prototype.get = lu;
|
|
307
|
+
Ee.prototype.has = pu;
|
|
308
|
+
Ee.prototype.set = hu;
|
|
309
309
|
function vu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Ot(n, o) {
|
|
313
313
|
for (var f = n.length; f--; )
|
|
314
|
-
if (
|
|
314
|
+
if (qn(n[f][0], o))
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
318
|
var yu = Array.prototype, mu = yu.splice;
|
|
319
|
-
function
|
|
320
|
-
var o = this.__data__, f =
|
|
319
|
+
function _u(n) {
|
|
320
|
+
var o = this.__data__, f = Ot(o, n);
|
|
321
321
|
if (f < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
324
|
return f == h ? o.pop() : mu.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
var o = this.__data__, f =
|
|
326
|
+
function gu(n) {
|
|
327
|
+
var o = this.__data__, f = Ot(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
330
|
function bu(n) {
|
|
331
|
-
return
|
|
331
|
+
return Ot(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
333
|
function Eu(n, o) {
|
|
334
|
-
var f = this.__data__, h =
|
|
334
|
+
var f = this.__data__, h = Ot(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function le(n) {
|
|
338
338
|
var o = -1, f = n == null ? 0 : n.length;
|
|
339
339
|
for (this.clear(); ++o < f; ) {
|
|
340
340
|
var h = n[o];
|
|
341
341
|
this.set(h[0], h[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
var
|
|
344
|
+
le.prototype.clear = vu;
|
|
345
|
+
le.prototype.delete = _u;
|
|
346
|
+
le.prototype.get = gu;
|
|
347
|
+
le.prototype.has = bu;
|
|
348
|
+
le.prototype.set = Eu;
|
|
349
|
+
var Qe = Te(re, "Map");
|
|
350
350
|
function Ru() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (
|
|
354
|
-
string: new
|
|
352
|
+
hash: new Ee(),
|
|
353
|
+
map: new (Qe || le)(),
|
|
354
|
+
string: new Ee()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
function Ou(n) {
|
|
358
358
|
var o = typeof n;
|
|
359
359
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Tt(n, o) {
|
|
362
362
|
var f = n.__data__;
|
|
363
363
|
return Ou(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
365
|
function Tu(n) {
|
|
366
|
-
var o =
|
|
366
|
+
var o = Tt(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
369
|
function Nu(n) {
|
|
370
|
-
return
|
|
370
|
+
return Tt(this, n).get(n);
|
|
371
371
|
}
|
|
372
372
|
function Su(n) {
|
|
373
|
-
return
|
|
373
|
+
return Tt(this, n).has(n);
|
|
374
374
|
}
|
|
375
375
|
function xu(n, o) {
|
|
376
|
-
var f =
|
|
376
|
+
var f = Tt(this, n), h = f.size;
|
|
377
377
|
return f.set(n, o), this.size += f.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Me(n) {
|
|
380
380
|
var o = -1, f = n == null ? 0 : n.length;
|
|
381
381
|
for (this.clear(); ++o < f; ) {
|
|
382
382
|
var h = n[o];
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
function
|
|
392
|
-
for (var f = -1, h = o.length,
|
|
393
|
-
n[
|
|
386
|
+
Me.prototype.clear = Ru;
|
|
387
|
+
Me.prototype.delete = Tu;
|
|
388
|
+
Me.prototype.get = Nu;
|
|
389
|
+
Me.prototype.has = Su;
|
|
390
|
+
Me.prototype.set = xu;
|
|
391
|
+
function ui(n, o) {
|
|
392
|
+
for (var f = -1, h = o.length, _ = n.length; ++f < h; )
|
|
393
|
+
n[_ + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var si = oi(Object.getPrototypeOf, Object);
|
|
397
397
|
function wu() {
|
|
398
|
-
this.__data__ = new
|
|
398
|
+
this.__data__ = new le(), this.size = 0;
|
|
399
399
|
}
|
|
400
400
|
function Pu(n) {
|
|
401
401
|
var o = this.__data__, f = o.delete(n);
|
|
@@ -404,93 +404,93 @@ function Pu(n) {
|
|
|
404
404
|
function Cu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Au(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
410
|
+
var ku = 200;
|
|
411
411
|
function Iu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
|
-
if (f instanceof
|
|
413
|
+
if (f instanceof le) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!
|
|
415
|
+
if (!Qe || h.length < ku - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
|
-
f = this.__data__ = new
|
|
417
|
+
f = this.__data__ = new Me(h);
|
|
418
418
|
}
|
|
419
419
|
return f.set(n, o), this.size = f.size, this;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
var o = this.__data__ = new
|
|
421
|
+
function Fe(n) {
|
|
422
|
+
var o = this.__data__ = new le(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
425
|
+
Fe.prototype.clear = wu;
|
|
426
|
+
Fe.prototype.delete = Pu;
|
|
427
|
+
Fe.prototype.get = Cu;
|
|
428
|
+
Fe.prototype.has = Au;
|
|
429
|
+
Fe.prototype.set = Iu;
|
|
430
430
|
function Du(n, o) {
|
|
431
|
-
return n &&
|
|
431
|
+
return n && Rt(o, yr(o), n);
|
|
432
432
|
}
|
|
433
433
|
function Lu(n, o) {
|
|
434
|
-
return n &&
|
|
434
|
+
return n && Rt(o, mr(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var li = typeof exports == "object" && exports && !exports.nodeType && exports, vn = li && typeof module == "object" && module && !module.nodeType && module, Mu = vn && vn.exports === li, yn = Mu ? re.Buffer : void 0, mn = yn ? yn.allocUnsafe : void 0;
|
|
437
|
+
function Fu(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var f = n.length, h =
|
|
440
|
+
var f = n.length, h = mn ? mn(f) : new n.constructor(f);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
443
|
function Uu(n, o) {
|
|
444
|
-
for (var f = -1, h = n == null ? 0 : n.length,
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, _ = 0, b = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (_
|
|
446
|
+
o(m, f, n) && (b[_++] = m);
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function ci() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var ju = Object.prototype, Bu = ju.propertyIsEnumerable,
|
|
454
|
-
return n == null ? [] : (n = Object(n), Uu(
|
|
453
|
+
var ju = Object.prototype, Bu = ju.propertyIsEnumerable, _n = Object.getOwnPropertySymbols, _r = _n ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Uu(_n(n), function(o) {
|
|
455
455
|
return Bu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
457
|
+
} : ci;
|
|
458
458
|
function $u(n, o) {
|
|
459
|
-
return
|
|
459
|
+
return Rt(n, _r(n), o);
|
|
460
460
|
}
|
|
461
|
-
var Vu = Object.getOwnPropertySymbols,
|
|
461
|
+
var Vu = Object.getOwnPropertySymbols, fi = Vu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ui(o, _r(n)), n = si(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
465
|
+
} : ci;
|
|
466
466
|
function Gu(n, o) {
|
|
467
|
-
return
|
|
467
|
+
return Rt(n, fi(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function pi(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return
|
|
471
|
+
return dr(n) ? h : ui(h, f(n));
|
|
472
472
|
}
|
|
473
473
|
function Yu(n) {
|
|
474
|
-
return
|
|
474
|
+
return pi(n, yr, _r);
|
|
475
475
|
}
|
|
476
476
|
function zu(n) {
|
|
477
|
-
return
|
|
477
|
+
return pi(n, mr, fi);
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
(
|
|
481
|
-
var o =
|
|
479
|
+
var Zt = Te(re, "DataView"), Qt = Te(re, "Promise"), er = Te(re, "Set"), gn = "[object Map]", Xu = "[object Object]", bn = "[object Promise]", En = "[object Set]", Rn = "[object WeakMap]", On = "[object DataView]", Wu = Oe(Zt), Ju = Oe(Qe), Hu = Oe(Qt), Ku = Oe(er), qu = Oe(qt), ue = et;
|
|
480
|
+
(Zt && ue(new Zt(new ArrayBuffer(1))) != On || Qe && ue(new Qe()) != gn || Qt && ue(Qt.resolve()) != bn || er && ue(new er()) != En || qt && ue(new qt()) != Rn) && (ue = function(n) {
|
|
481
|
+
var o = et(n), f = o == Xu ? n.constructor : void 0, h = f ? Oe(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
484
|
case Wu:
|
|
485
|
-
return
|
|
485
|
+
return On;
|
|
486
486
|
case Ju:
|
|
487
|
-
return
|
|
487
|
+
return gn;
|
|
488
488
|
case Hu:
|
|
489
|
-
return
|
|
489
|
+
return bn;
|
|
490
490
|
case Ku:
|
|
491
|
-
return
|
|
491
|
+
return En;
|
|
492
492
|
case qu:
|
|
493
|
-
return
|
|
493
|
+
return Rn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
@@ -499,13 +499,13 @@ function es(n) {
|
|
|
499
499
|
var o = n.length, f = new n.constructor(o);
|
|
500
500
|
return o && typeof n[0] == "string" && Qu.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var Tn = re.Uint8Array;
|
|
503
|
+
function gr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new Tn(o).set(new Tn(n)), o;
|
|
506
506
|
}
|
|
507
507
|
function ts(n, o) {
|
|
508
|
-
var f = o ?
|
|
508
|
+
var f = o ? gr(n.buffer) : n.buffer;
|
|
509
509
|
return new n.constructor(f, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
511
|
var rs = /\w*$/;
|
|
@@ -513,20 +513,20 @@ function ns(n) {
|
|
|
513
513
|
var o = new n.constructor(n.source, rs.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
516
|
+
var Nn = ke ? ke.prototype : void 0, Sn = Nn ? Nn.valueOf : void 0;
|
|
517
517
|
function is(n) {
|
|
518
|
-
return
|
|
518
|
+
return Sn ? Object(Sn.call(n)) : {};
|
|
519
519
|
}
|
|
520
520
|
function as(n, o) {
|
|
521
|
-
var f = o ?
|
|
521
|
+
var f = o ? gr(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var os = "[object Boolean]", us = "[object Date]", ss = "[object Map]", ls = "[object Number]", cs = "[object RegExp]", fs = "[object Set]", ps = "[object String]", ds = "[object Symbol]", hs = "[object ArrayBuffer]", vs = "[object DataView]", ys = "[object Float32Array]", ms = "[object Float64Array]",
|
|
524
|
+
var os = "[object Boolean]", us = "[object Date]", ss = "[object Map]", ls = "[object Number]", cs = "[object RegExp]", fs = "[object Set]", ps = "[object String]", ds = "[object Symbol]", hs = "[object ArrayBuffer]", vs = "[object DataView]", ys = "[object Float32Array]", ms = "[object Float64Array]", _s = "[object Int8Array]", gs = "[object Int16Array]", bs = "[object Int32Array]", Es = "[object Uint8Array]", Rs = "[object Uint8ClampedArray]", Os = "[object Uint16Array]", Ts = "[object Uint32Array]";
|
|
525
525
|
function Ns(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
528
|
case hs:
|
|
529
|
-
return
|
|
529
|
+
return gr(n);
|
|
530
530
|
case os:
|
|
531
531
|
case us:
|
|
532
532
|
return new h(+n);
|
|
@@ -534,8 +534,8 @@ function Ns(n, o, f) {
|
|
|
534
534
|
return ts(n, f);
|
|
535
535
|
case ys:
|
|
536
536
|
case ms:
|
|
537
|
-
case gs:
|
|
538
537
|
case _s:
|
|
538
|
+
case gs:
|
|
539
539
|
case bs:
|
|
540
540
|
case Es:
|
|
541
541
|
case Rs:
|
|
@@ -556,59 +556,59 @@ function Ns(n, o, f) {
|
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
function Ss(n) {
|
|
559
|
-
return typeof n.constructor == "function" && !
|
|
559
|
+
return typeof n.constructor == "function" && !hr(n) ? ro(si(n)) : {};
|
|
560
560
|
}
|
|
561
561
|
var xs = "[object Map]";
|
|
562
562
|
function ws(n) {
|
|
563
|
-
return
|
|
563
|
+
return tt(n) && ue(n) == xs;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var xn = Ie && Ie.isMap, Ps = xn ? vr(xn) : ws, Cs = "[object Set]";
|
|
566
|
+
function As(n) {
|
|
567
|
+
return tt(n) && ue(n) == Cs;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
function
|
|
573
|
-
var m,
|
|
569
|
+
var wn = Ie && Ie.isSet, ks = wn ? vr(wn) : As, Is = 1, Ds = 2, Ls = 4, di = "[object Arguments]", Ms = "[object Array]", Fs = "[object Boolean]", Us = "[object Date]", js = "[object Error]", hi = "[object Function]", Bs = "[object GeneratorFunction]", $s = "[object Map]", Vs = "[object Number]", vi = "[object Object]", Gs = "[object RegExp]", Ys = "[object Set]", zs = "[object String]", Xs = "[object Symbol]", Ws = "[object WeakMap]", Js = "[object ArrayBuffer]", Hs = "[object DataView]", Ks = "[object Float32Array]", qs = "[object Float64Array]", Zs = "[object Int8Array]", Qs = "[object Int16Array]", el = "[object Int32Array]", tl = "[object Uint8Array]", rl = "[object Uint8ClampedArray]", nl = "[object Uint16Array]", il = "[object Uint32Array]", M = {};
|
|
570
|
+
M[di] = M[Ms] = M[Js] = M[Hs] = M[Fs] = M[Us] = M[Ks] = M[qs] = M[Zs] = M[Qs] = M[el] = M[$s] = M[Vs] = M[vi] = M[Gs] = M[Ys] = M[zs] = M[Xs] = M[tl] = M[rl] = M[nl] = M[il] = !0;
|
|
571
|
+
M[js] = M[hi] = M[Ws] = !1;
|
|
572
|
+
function yt(n, o, f, h, _, b) {
|
|
573
|
+
var m, R = o & Is, O = o & Ds, r = o & Ls;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!rt(n))
|
|
577
577
|
return n;
|
|
578
|
-
var t =
|
|
578
|
+
var t = dr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m = es(n), !
|
|
580
|
+
if (m = es(n), !R)
|
|
581
581
|
return no(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m =
|
|
588
|
-
return
|
|
583
|
+
var e = ue(n), i = e == hi || e == Bs;
|
|
584
|
+
if (ni(n))
|
|
585
|
+
return Fu(n, R);
|
|
586
|
+
if (e == vi || e == di || i && !_) {
|
|
587
|
+
if (m = O || i ? {} : Ss(n), !R)
|
|
588
|
+
return O ? Gu(n, Lu(m, n)) : $u(n, Du(m, n));
|
|
589
589
|
} else {
|
|
590
|
-
if (!
|
|
591
|
-
return
|
|
592
|
-
m = Ns(n, e,
|
|
590
|
+
if (!M[e])
|
|
591
|
+
return _ ? n : {};
|
|
592
|
+
m = Ns(n, e, R);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
|
|
596
|
-
var u =
|
|
595
|
+
b || (b = new Fe());
|
|
596
|
+
var u = b.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
|
|
600
|
-
m.add(
|
|
599
|
+
b.set(n, m), ks(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(yt(a, o, f, a, n, b));
|
|
601
601
|
}) : Ps(n) && n.forEach(function(a, p) {
|
|
602
|
-
m.set(p,
|
|
602
|
+
m.set(p, yt(a, o, f, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ?
|
|
604
|
+
var s = r ? O ? zu : Yu : O ? mr : yr, l = t ? void 0 : s(n);
|
|
605
605
|
return io(l || n, function(a, p) {
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
606
|
+
l && (p = a, a = n[p]), Zn(m, p, yt(a, o, f, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
609
|
var al = 1, ol = 4;
|
|
610
|
-
function
|
|
611
|
-
return
|
|
610
|
+
function mt(n) {
|
|
611
|
+
return yt(n, al | ol);
|
|
612
612
|
}
|
|
613
613
|
function ul(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
@@ -622,187 +622,187 @@ function ul(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
626
|
-
return n.array ?
|
|
625
|
+
function Pn(n, o) {
|
|
626
|
+
return n.array ? mt(o ? n.default : n.defaultArray) : mt(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function f(h,
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
628
|
+
function Cn(n, o) {
|
|
629
|
+
function f(h, _) {
|
|
630
|
+
if (_.ui) {
|
|
631
|
+
if (_.ui === "strInput" && _.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[_.key] = Pn(_);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
_.array ? h[_.key] = Pn(_) : _.children.forEach((b) => {
|
|
636
|
+
h[_.key] = {}, f(h[_.key], b);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function sl(n, o, f, h,
|
|
642
|
-
const
|
|
641
|
+
function sl(n, o, f, h, _) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${_}`, m = ul(n, o);
|
|
643
643
|
if (!m) {
|
|
644
|
-
console.error(`spawnNode prop tag not found, ${
|
|
644
|
+
console.error(`spawnNode prop tag not found, ${b}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
|
-
const
|
|
648
|
-
if (!
|
|
649
|
-
console.error(`spawnNode pkg not found version, ${
|
|
647
|
+
const R = Ci[f];
|
|
648
|
+
if (!R) {
|
|
649
|
+
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const O = {
|
|
653
653
|
basic: {
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = Xn(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t =
|
|
660
|
-
if (!
|
|
661
|
-
console.error(`spawnNode [ref] element not found in pkg, ${
|
|
659
|
+
const t = R.refKey, e = _;
|
|
660
|
+
if (!R.elements.has(t)) {
|
|
661
|
+
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = De[t];
|
|
665
665
|
if (!i) {
|
|
666
|
-
console.error(`spawnNode [ref] element not found in global, ${
|
|
666
|
+
console.error(`spawnNode [ref] element not found in global, ${b}`);
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
669
|
const u = i.props[m];
|
|
670
670
|
if (!u) {
|
|
671
|
-
console.error(`spawnNode [ref] props not found, ${
|
|
671
|
+
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
Cn(O, u), O.basic.id = r, O.basic.key = t, O.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
679
|
-
if (!
|
|
680
|
-
console.error(`spawnNode [key] element not found in pkg, ${
|
|
678
|
+
const t = _;
|
|
679
|
+
if (!R.elements.has(t)) {
|
|
680
|
+
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = De[t];
|
|
684
684
|
if (!e) {
|
|
685
|
-
console.error(`spawnNode [key] element not found in global, ${
|
|
685
|
+
console.error(`spawnNode [key] element not found in global, ${b}`);
|
|
686
686
|
return;
|
|
687
687
|
}
|
|
688
688
|
const i = e.props[m];
|
|
689
689
|
if (!i) {
|
|
690
|
-
console.error(`spawnNode [key] props not found, ${
|
|
690
|
+
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
Cn(O, i), O.basic.id = r, O.basic.key = t, e.slots.length > 0 && (O.children = []);
|
|
694
694
|
}
|
|
695
|
-
return
|
|
695
|
+
return O;
|
|
696
696
|
}
|
|
697
697
|
function yc(n, o) {
|
|
698
698
|
function f(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
|
-
for (let
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
705
|
-
return
|
|
702
|
+
for (let _ = 0; _ < h.children.length; _++) {
|
|
703
|
+
const b = f(h.children[_]);
|
|
704
|
+
if (b)
|
|
705
|
+
return b;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
709
|
-
const
|
|
710
|
-
if (
|
|
711
|
-
return
|
|
709
|
+
const _ = f(n[h]);
|
|
710
|
+
if (_)
|
|
711
|
+
return _;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
714
|
function mc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var _;
|
|
717
|
+
h.basic.id = Xn(16), (_ = h.children) == null || _.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
|
-
const f =
|
|
719
|
+
const f = mt(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
function
|
|
724
|
-
|
|
722
|
+
const yi = "runtimeEnv", mi = "runtimeMode", _i = "runtimeDevice", gi = "runtimeDark", bi = "runtimeType", Ei = "runtimeData", Ri = "runtimeDepends", Oi = "runtimeInterpreter";
|
|
723
|
+
function _c(n) {
|
|
724
|
+
de(yi, n);
|
|
725
725
|
}
|
|
726
726
|
function ll() {
|
|
727
|
-
return
|
|
727
|
+
return he(yi);
|
|
728
728
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
729
|
+
function gc(n) {
|
|
730
|
+
de(mi, n);
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
732
|
+
function ye() {
|
|
733
|
+
return he(mi);
|
|
734
734
|
}
|
|
735
735
|
function bc(n) {
|
|
736
|
-
|
|
736
|
+
de(_i, bt(n));
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function Ti() {
|
|
739
|
+
return he(_i);
|
|
740
740
|
}
|
|
741
741
|
function Ec(n) {
|
|
742
|
-
|
|
742
|
+
de(gi, bt(n));
|
|
743
743
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
744
|
+
function Ue() {
|
|
745
|
+
return he(gi);
|
|
746
746
|
}
|
|
747
747
|
function Rc(n) {
|
|
748
|
-
|
|
748
|
+
de(bi, n);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
750
|
+
function Ni() {
|
|
751
|
+
return he(bi);
|
|
752
752
|
}
|
|
753
753
|
function Oc(n) {
|
|
754
|
-
console.assert(
|
|
754
|
+
console.assert(zn(n)), de(Ei, bt(n));
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
756
|
+
function Si() {
|
|
757
|
+
return he(Ei);
|
|
758
758
|
}
|
|
759
759
|
function Tc(n) {
|
|
760
|
-
console.assert(
|
|
760
|
+
console.assert(zn(n)), de(Ri, bt(n));
|
|
761
761
|
}
|
|
762
762
|
function cl() {
|
|
763
|
-
return
|
|
763
|
+
return he(Ri);
|
|
764
764
|
}
|
|
765
765
|
function fl(n) {
|
|
766
|
-
|
|
766
|
+
de(Oi, n);
|
|
767
767
|
}
|
|
768
768
|
function pl() {
|
|
769
|
-
return
|
|
769
|
+
return he(Oi);
|
|
770
770
|
}
|
|
771
|
-
const dl = /* @__PURE__ */
|
|
771
|
+
const dl = /* @__PURE__ */ se({
|
|
772
772
|
__name: "index",
|
|
773
773
|
props: {
|
|
774
774
|
node: {},
|
|
775
775
|
outer: { type: Boolean }
|
|
776
776
|
},
|
|
777
777
|
setup(n) {
|
|
778
|
-
const o = n, f =
|
|
778
|
+
const o = n, f = ye(), h = Ue(), _ = pl(), b = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
781
|
}), m = N(() => {
|
|
782
782
|
var i;
|
|
783
783
|
return (i = o.node.settings) == null ? void 0 : i.disabled;
|
|
784
|
-
}),
|
|
784
|
+
}), R = N(() => {
|
|
785
785
|
var i;
|
|
786
786
|
return (i = o.node.settings) == null ? void 0 : i.variant;
|
|
787
|
-
}),
|
|
787
|
+
}), O = N(() => {
|
|
788
788
|
var i;
|
|
789
789
|
return (i = o.node.settings) == null ? void 0 : i.density;
|
|
790
790
|
}), r = N(() => {
|
|
791
791
|
var i;
|
|
792
792
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
793
|
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
-
if (f !== "runtime" || !
|
|
794
|
+
if (f !== "runtime" || !_)
|
|
795
795
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
796
|
+
const i = _.nativeToPseudo(o.node.basic.id);
|
|
797
|
+
_.appendCode(`__triggerEvent__('${i}', 'click');`), _.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return J(),
|
|
802
|
-
text:
|
|
800
|
+
const s = Re("v-btn");
|
|
801
|
+
return J(), ve(s, {
|
|
802
|
+
text: b.value,
|
|
803
803
|
disabled: m.value,
|
|
804
|
-
variant:
|
|
805
|
-
density:
|
|
804
|
+
variant: R.value,
|
|
805
|
+
density: O.value,
|
|
806
806
|
block: r.value,
|
|
807
807
|
theme: t.value,
|
|
808
808
|
onClick: e
|
|
@@ -816,11 +816,11 @@ const dl = /* @__PURE__ */ oe({
|
|
|
816
816
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
817
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
818
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
819
|
+
], xi = [
|
|
820
820
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
821
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
822
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
],
|
|
823
|
+
], tr = "btn_v1", rr = "combobox_v1", nr = "container_v1", ir = "data_table_v1", ar = "dialog_v1", or = "globality_v1", ur = "number_input_v1", _t = "ref_v1", sr = "select_v1", lr = "text_field_v1", Y = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const dl = /* @__PURE__ */ oe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, An = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -872,7 +872,7 @@ const dl = /* @__PURE__ */ oe({
|
|
|
872
872
|
key: "density",
|
|
873
873
|
name: "x-runtime-lib.density",
|
|
874
874
|
ui: "select",
|
|
875
|
-
items:
|
|
875
|
+
items: xi,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -883,7 +883,7 @@ const dl = /* @__PURE__ */ oe({
|
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
885
|
}, vl = {
|
|
886
|
-
key:
|
|
886
|
+
key: tr,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
888
|
comp: dl,
|
|
889
889
|
slots: [],
|
|
@@ -896,29 +896,29 @@ const dl = /* @__PURE__ */ oe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [
|
|
900
|
-
compCommon: [
|
|
899
|
+
pageCommon: [Y, An],
|
|
900
|
+
compCommon: [Y, An]
|
|
901
901
|
}
|
|
902
|
-
}, yl = { key: 0 }, ml = /* @__PURE__ */
|
|
902
|
+
}, yl = { key: 0 }, ml = /* @__PURE__ */ se({
|
|
903
903
|
__name: "index",
|
|
904
904
|
props: {
|
|
905
905
|
node: {},
|
|
906
906
|
outer: { type: Boolean }
|
|
907
907
|
},
|
|
908
908
|
setup(n) {
|
|
909
|
-
const o = n, f =
|
|
909
|
+
const o = n, f = ye(), h = Ue(), _ = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}),
|
|
912
|
+
}), b = N(() => {
|
|
913
913
|
var e;
|
|
914
914
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
915
|
}), m = N(() => {
|
|
916
916
|
var e;
|
|
917
917
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
918
|
-
}),
|
|
918
|
+
}), R = N(() => {
|
|
919
919
|
var e;
|
|
920
920
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
921
|
-
}),
|
|
921
|
+
}), O = N(() => {
|
|
922
922
|
var e;
|
|
923
923
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
924
924
|
}), r = N(() => {
|
|
@@ -926,30 +926,30 @@ const dl = /* @__PURE__ */ oe({
|
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
927
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
931
|
-
|
|
932
|
-
"model-value":
|
|
933
|
-
label:
|
|
929
|
+
const u = Re("v-combobox");
|
|
930
|
+
return Ae(f) === "editor" ? (J(), Le("div", yl, [
|
|
931
|
+
Et(u, {
|
|
932
|
+
"model-value": _.value,
|
|
933
|
+
label: b.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
|
-
"hide-details":
|
|
936
|
-
"single-line":
|
|
935
|
+
"hide-details": R.value,
|
|
936
|
+
"single-line": O.value,
|
|
937
937
|
readonly: r.value,
|
|
938
938
|
theme: t.value
|
|
939
939
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
940
|
-
])) : (J(),
|
|
940
|
+
])) : (J(), ve(u, {
|
|
941
941
|
key: 1,
|
|
942
|
-
"model-value":
|
|
943
|
-
label:
|
|
942
|
+
"model-value": _.value,
|
|
943
|
+
label: b.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
|
-
"hide-details":
|
|
946
|
-
"single-line":
|
|
945
|
+
"hide-details": R.value,
|
|
946
|
+
"single-line": O.value,
|
|
947
947
|
readonly: r.value,
|
|
948
948
|
theme: t.value
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), kn = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,59 +990,59 @@ const dl = /* @__PURE__ */ oe({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
994
|
-
key:
|
|
993
|
+
}, _l = {
|
|
994
|
+
key: rr,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
996
|
comp: ml,
|
|
997
997
|
slots: [],
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [
|
|
1002
|
-
compCommon: [
|
|
1001
|
+
pageCommon: [Y, kn],
|
|
1002
|
+
compCommon: [Y, kn]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1005
|
+
function wi(n, o, f) {
|
|
1006
1006
|
const h = N(() => {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
return (t = f.node.size) == null ? void 0 : t.width;
|
|
1009
|
-
}),
|
|
1009
|
+
}), _ = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
|
-
}),
|
|
1012
|
+
}), b = N(() => {
|
|
1013
1013
|
var t;
|
|
1014
1014
|
return (t = f.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
1015
|
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
|
-
const i =
|
|
1018
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.height);
|
|
1019
1019
|
if (i)
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
1022
1022
|
return (e = f.node.size) == null ? void 0 : e.height;
|
|
1023
|
-
}),
|
|
1023
|
+
}), R = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
|
-
const i =
|
|
1026
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
1027
1027
|
if (i)
|
|
1028
1028
|
return i / 100 * o.value.height + "px";
|
|
1029
1029
|
}
|
|
1030
1030
|
return (e = f.node.size) == null ? void 0 : e.minHeight;
|
|
1031
|
-
}),
|
|
1031
|
+
}), O = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
|
-
const i =
|
|
1034
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
1035
1035
|
if (i)
|
|
1036
1036
|
return i / 100 * o.value.height + "px";
|
|
1037
1037
|
}
|
|
1038
1038
|
return (e = f.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1039
|
});
|
|
1040
1040
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value),
|
|
1041
|
+
h.value && (t.width = h.value), _.value && (t.minWidth = _.value), b.value && (t.maxWidth = b.value), m.value && (t.height = m.value), R.value && (t.minHeight = R.value), O.value && (t.maxHeight = O.value);
|
|
1042
1042
|
}
|
|
1043
|
-
return { width: h, minWidth:
|
|
1043
|
+
return { width: h, minWidth: _, maxWidth: b, height: m, minHeight: R, maxHeight: O, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function gl(n) {
|
|
1046
1046
|
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
@@ -1052,14 +1052,14 @@ function _l(n) {
|
|
|
1052
1052
|
}), h = N(() => {
|
|
1053
1053
|
var m;
|
|
1054
1054
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1055
|
+
}), _ = N(() => {
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
|
-
function
|
|
1060
|
-
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value),
|
|
1059
|
+
function b(m) {
|
|
1060
|
+
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value), _.value && (m.marginRight = _.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: _, applyMargin: b };
|
|
1063
1063
|
}
|
|
1064
1064
|
function bl(n) {
|
|
1065
1065
|
const o = N(() => {
|
|
@@ -1071,46 +1071,46 @@ function bl(n) {
|
|
|
1071
1071
|
}), h = N(() => {
|
|
1072
1072
|
var m;
|
|
1073
1073
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1074
|
+
}), _ = N(() => {
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
|
-
function
|
|
1079
|
-
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value),
|
|
1078
|
+
function b(m) {
|
|
1079
|
+
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value), _.value && (m.paddingRight = _.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: _, applyPadding: b };
|
|
1082
1082
|
}
|
|
1083
1083
|
function El(n) {
|
|
1084
1084
|
const o = N(() => {
|
|
1085
|
-
var
|
|
1086
|
-
return (
|
|
1085
|
+
var b;
|
|
1086
|
+
return (b = n.node.border) == null ? void 0 : b.style;
|
|
1087
1087
|
}), f = N(() => {
|
|
1088
|
-
var
|
|
1089
|
-
return (
|
|
1088
|
+
var b;
|
|
1089
|
+
return (b = n.node.border) == null ? void 0 : b.width;
|
|
1090
1090
|
}), h = N(() => {
|
|
1091
|
-
var
|
|
1092
|
-
return (
|
|
1091
|
+
var b;
|
|
1092
|
+
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1095
|
-
o.value && (
|
|
1094
|
+
function _(b) {
|
|
1095
|
+
o.value && (b.borderStyle = o.value), f.value && (b.borderWidth = f.value), h.value && (b.borderColor = h.value);
|
|
1096
1096
|
}
|
|
1097
|
-
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder:
|
|
1097
|
+
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder: _ };
|
|
1098
1098
|
}
|
|
1099
|
-
const Rl = /* @__PURE__ */
|
|
1099
|
+
const Rl = /* @__PURE__ */ se({
|
|
1100
1100
|
__name: "index",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
node: {},
|
|
1103
1103
|
outer: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(n) {
|
|
1106
|
-
const o = n, f =
|
|
1107
|
-
const e = {}, i =
|
|
1108
|
-
return
|
|
1106
|
+
const o = n, f = ye(), h = Ti(), _ = Ni(), b = Si(), { applySize: m } = wi(f, h, o), { applyMargin: R } = gl(o), { applyPadding: O } = bl(o), { applyBorder: r } = El(o), t = N(() => {
|
|
1107
|
+
const e = {}, i = b.type;
|
|
1108
|
+
return _ === "page" ? i === "common" ? (m(e), R(e), O(e), r(e)) : console.assert(!1) : _ === "comp" && i === "common" ? (m(e), R(e), O(e), r(e)) : console.assert(!1), e;
|
|
1109
1109
|
});
|
|
1110
|
-
return (e, i) => (J(),
|
|
1111
|
-
style:
|
|
1110
|
+
return (e, i) => (J(), Le("div", {
|
|
1111
|
+
style: ya(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
ee(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
1116
|
}), Ol = [
|
|
@@ -1122,13 +1122,13 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1122
1122
|
{
|
|
1123
1123
|
name: "x-runtime-lib.default",
|
|
1124
1124
|
ui: "word",
|
|
1125
|
-
validator:
|
|
1125
|
+
validator: cr,
|
|
1126
1126
|
default: ""
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
name: "x-runtime-lib.pixel",
|
|
1130
1130
|
ui: "pixelInput",
|
|
1131
|
-
validator:
|
|
1131
|
+
validator: fr,
|
|
1132
1132
|
default: "0px",
|
|
1133
1133
|
precision: 0,
|
|
1134
1134
|
min: 0,
|
|
@@ -1138,14 +1138,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1138
1138
|
{
|
|
1139
1139
|
name: "x-runtime-lib.percent",
|
|
1140
1140
|
ui: "percentInput",
|
|
1141
|
-
validator:
|
|
1141
|
+
validator: pr,
|
|
1142
1142
|
default: "0%",
|
|
1143
1143
|
precision: 4,
|
|
1144
1144
|
min: 0,
|
|
1145
1145
|
max: 1 / 0,
|
|
1146
1146
|
step: 1
|
|
1147
1147
|
}
|
|
1148
|
-
],
|
|
1148
|
+
], In = {
|
|
1149
1149
|
key: "border",
|
|
1150
1150
|
name: "x-runtime-lib.border",
|
|
1151
1151
|
children: [
|
|
@@ -1210,11 +1210,11 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
1212
|
]
|
|
1213
|
-
},
|
|
1213
|
+
}, ht = [
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
1217
|
-
validator:
|
|
1217
|
+
validator: cr,
|
|
1218
1218
|
default: ""
|
|
1219
1219
|
},
|
|
1220
1220
|
{
|
|
@@ -1226,7 +1226,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1226
1226
|
{
|
|
1227
1227
|
name: "x-runtime-lib.pixel",
|
|
1228
1228
|
ui: "pixelInput",
|
|
1229
|
-
validator:
|
|
1229
|
+
validator: fr,
|
|
1230
1230
|
default: "0px",
|
|
1231
1231
|
precision: 0,
|
|
1232
1232
|
min: 0,
|
|
@@ -1236,14 +1236,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1236
1236
|
{
|
|
1237
1237
|
name: "x-runtime-lib.percent",
|
|
1238
1238
|
ui: "percentInput",
|
|
1239
|
-
validator:
|
|
1239
|
+
validator: pr,
|
|
1240
1240
|
default: "0%",
|
|
1241
1241
|
precision: 4,
|
|
1242
1242
|
min: 0,
|
|
1243
1243
|
max: 1 / 0,
|
|
1244
1244
|
step: 1
|
|
1245
1245
|
}
|
|
1246
|
-
],
|
|
1246
|
+
], Dn = {
|
|
1247
1247
|
key: "margin",
|
|
1248
1248
|
name: "x-runtime-lib.margin",
|
|
1249
1249
|
children: [
|
|
@@ -1251,42 +1251,42 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1251
1251
|
key: "top",
|
|
1252
1252
|
name: "x-runtime-lib.top",
|
|
1253
1253
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1254
|
+
types: ht,
|
|
1255
1255
|
default: ""
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
1258
|
key: "left",
|
|
1259
1259
|
name: "x-runtime-lib.left",
|
|
1260
1260
|
ui: "multiTypes",
|
|
1261
|
-
types:
|
|
1261
|
+
types: ht,
|
|
1262
1262
|
default: ""
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
key: "bottom",
|
|
1266
1266
|
name: "x-runtime-lib.bottom",
|
|
1267
1267
|
ui: "multiTypes",
|
|
1268
|
-
types:
|
|
1268
|
+
types: ht,
|
|
1269
1269
|
default: ""
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
1272
|
key: "right",
|
|
1273
1273
|
name: "x-runtime-lib.right",
|
|
1274
1274
|
ui: "multiTypes",
|
|
1275
|
-
types:
|
|
1275
|
+
types: ht,
|
|
1276
1276
|
default: ""
|
|
1277
1277
|
}
|
|
1278
1278
|
]
|
|
1279
|
-
},
|
|
1279
|
+
}, vt = [
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
1283
|
-
validator:
|
|
1283
|
+
validator: cr,
|
|
1284
1284
|
default: ""
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
name: "x-runtime-lib.pixel",
|
|
1288
1288
|
ui: "pixelInput",
|
|
1289
|
-
validator:
|
|
1289
|
+
validator: fr,
|
|
1290
1290
|
default: "0px",
|
|
1291
1291
|
precision: 0,
|
|
1292
1292
|
min: 0,
|
|
@@ -1296,14 +1296,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1296
1296
|
{
|
|
1297
1297
|
name: "x-runtime-lib.percent",
|
|
1298
1298
|
ui: "percentInput",
|
|
1299
|
-
validator:
|
|
1299
|
+
validator: pr,
|
|
1300
1300
|
default: "0%",
|
|
1301
1301
|
precision: 4,
|
|
1302
1302
|
min: 0,
|
|
1303
1303
|
max: 1 / 0,
|
|
1304
1304
|
step: 1
|
|
1305
1305
|
}
|
|
1306
|
-
],
|
|
1306
|
+
], Ln = {
|
|
1307
1307
|
key: "padding",
|
|
1308
1308
|
name: "x-runtime-lib.padding",
|
|
1309
1309
|
children: [
|
|
@@ -1311,32 +1311,32 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1311
1311
|
key: "top",
|
|
1312
1312
|
name: "x-runtime-lib.top",
|
|
1313
1313
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1314
|
+
types: vt,
|
|
1315
1315
|
default: ""
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
1318
|
key: "left",
|
|
1319
1319
|
name: "x-runtime-lib.left",
|
|
1320
1320
|
ui: "multiTypes",
|
|
1321
|
-
types:
|
|
1321
|
+
types: vt,
|
|
1322
1322
|
default: ""
|
|
1323
1323
|
},
|
|
1324
1324
|
{
|
|
1325
1325
|
key: "bottom",
|
|
1326
1326
|
name: "x-runtime-lib.bottom",
|
|
1327
1327
|
ui: "multiTypes",
|
|
1328
|
-
types:
|
|
1328
|
+
types: vt,
|
|
1329
1329
|
default: ""
|
|
1330
1330
|
},
|
|
1331
1331
|
{
|
|
1332
1332
|
key: "right",
|
|
1333
1333
|
name: "x-runtime-lib.right",
|
|
1334
1334
|
ui: "multiTypes",
|
|
1335
|
-
types:
|
|
1335
|
+
types: vt,
|
|
1336
1336
|
default: ""
|
|
1337
1337
|
}
|
|
1338
1338
|
]
|
|
1339
|
-
},
|
|
1339
|
+
}, gt = {
|
|
1340
1340
|
key: "size",
|
|
1341
1341
|
name: "x-runtime-lib.size",
|
|
1342
1342
|
children: [
|
|
@@ -1383,19 +1383,18 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
|
-
},
|
|
1386
|
+
}, Mn = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
1390
|
}, Tl = {
|
|
1391
|
-
key:
|
|
1391
|
+
key: nr,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
1393
|
comp: Rl,
|
|
1394
1394
|
slots: [
|
|
1395
1395
|
{
|
|
1396
1396
|
key: "default",
|
|
1397
|
-
name: "x-runtime-lib.default"
|
|
1398
|
-
params: []
|
|
1397
|
+
name: "x-runtime-lib.default"
|
|
1399
1398
|
}
|
|
1400
1399
|
],
|
|
1401
1400
|
events: [
|
|
@@ -1407,32 +1406,32 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1407
1406
|
],
|
|
1408
1407
|
methods: [],
|
|
1409
1408
|
props: {
|
|
1410
|
-
pageCommon: [
|
|
1411
|
-
compCommon: [
|
|
1409
|
+
pageCommon: [Y, gt, In, Dn, Ln, Mn],
|
|
1410
|
+
compCommon: [Y, gt, In, Dn, Ln, Mn]
|
|
1412
1411
|
}
|
|
1413
|
-
}, Nl = /* @__PURE__ */
|
|
1412
|
+
}, Nl = /* @__PURE__ */ se({
|
|
1414
1413
|
__name: "index",
|
|
1415
1414
|
props: {
|
|
1416
1415
|
node: {},
|
|
1417
1416
|
outer: { type: Boolean }
|
|
1418
1417
|
},
|
|
1419
1418
|
setup(n) {
|
|
1420
|
-
const o = n, f =
|
|
1419
|
+
const o = n, f = Ue(), h = N(() => {
|
|
1421
1420
|
var u;
|
|
1422
1421
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1423
|
-
}),
|
|
1422
|
+
}), _ = N(() => {
|
|
1424
1423
|
var u;
|
|
1425
1424
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1426
|
-
}),
|
|
1425
|
+
}), b = N(() => {
|
|
1427
1426
|
var u;
|
|
1428
1427
|
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1429
1428
|
}), m = N(() => {
|
|
1430
1429
|
var u;
|
|
1431
1430
|
return (u = o.node.settings) == null ? void 0 : u.items;
|
|
1432
|
-
}),
|
|
1431
|
+
}), R = N(() => {
|
|
1433
1432
|
var u;
|
|
1434
1433
|
return (u = o.node.settings) == null ? void 0 : u.density;
|
|
1435
|
-
}),
|
|
1434
|
+
}), O = N(() => {
|
|
1436
1435
|
var u;
|
|
1437
1436
|
return (u = o.node.settings) == null ? void 0 : u.fixedHeader;
|
|
1438
1437
|
}), r = N(() => {
|
|
@@ -1446,14 +1445,14 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1446
1445
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1447
1446
|
}), i = N(() => f.value ? "dark" : "light");
|
|
1448
1447
|
return (u, s) => {
|
|
1449
|
-
const l =
|
|
1450
|
-
return J(),
|
|
1448
|
+
const l = Re("v-data-table");
|
|
1449
|
+
return J(), ve(l, {
|
|
1451
1450
|
width: h.value,
|
|
1452
|
-
height:
|
|
1453
|
-
headers:
|
|
1451
|
+
height: _.value,
|
|
1452
|
+
headers: b.value,
|
|
1454
1453
|
items: m.value,
|
|
1455
|
-
density:
|
|
1456
|
-
"fixed-header":
|
|
1454
|
+
density: R.value,
|
|
1455
|
+
"fixed-header": O.value,
|
|
1457
1456
|
"fixed-footer": r.value,
|
|
1458
1457
|
loading: t.value,
|
|
1459
1458
|
"multi-sort": e.value,
|
|
@@ -1480,7 +1479,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1480
1479
|
validator: (n) => n === "end",
|
|
1481
1480
|
default: "end"
|
|
1482
1481
|
}
|
|
1483
|
-
],
|
|
1482
|
+
], Fn = {
|
|
1484
1483
|
key: "size",
|
|
1485
1484
|
name: "x-runtime-lib.size",
|
|
1486
1485
|
children: [
|
|
@@ -1573,7 +1572,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1573
1572
|
key: "density",
|
|
1574
1573
|
name: "x-runtime-lib.density",
|
|
1575
1574
|
ui: "select",
|
|
1576
|
-
items:
|
|
1575
|
+
items: xi,
|
|
1577
1576
|
default: "default"
|
|
1578
1577
|
},
|
|
1579
1578
|
{
|
|
@@ -1602,64 +1601,88 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1602
1601
|
}
|
|
1603
1602
|
]
|
|
1604
1603
|
}, xl = {
|
|
1605
|
-
key:
|
|
1604
|
+
key: ir,
|
|
1606
1605
|
name: "x-runtime-lib.dataTable",
|
|
1607
1606
|
comp: Nl,
|
|
1608
1607
|
slots: [],
|
|
1609
1608
|
events: [],
|
|
1610
1609
|
methods: [],
|
|
1611
1610
|
props: {
|
|
1612
|
-
pageCommon: [
|
|
1613
|
-
compCommon: [
|
|
1611
|
+
pageCommon: [Y, Fn, Un],
|
|
1612
|
+
compCommon: [Y, Fn, Un]
|
|
1614
1613
|
}
|
|
1615
|
-
}
|
|
1614
|
+
};
|
|
1615
|
+
function wl(n, o) {
|
|
1616
|
+
const f = N(() => n.node.basic.id), h = N(() => `callMethod@${f.value}`);
|
|
1617
|
+
ma(() => {
|
|
1618
|
+
qe.on(h.value, o);
|
|
1619
|
+
}), _a(() => {
|
|
1620
|
+
qe.off(h.value, o);
|
|
1621
|
+
});
|
|
1622
|
+
}
|
|
1623
|
+
const Pl = ["id"], Cl = /* @__PURE__ */ se({
|
|
1616
1624
|
__name: "index",
|
|
1617
1625
|
props: {
|
|
1618
1626
|
node: {},
|
|
1619
1627
|
outer: { type: Boolean }
|
|
1620
1628
|
},
|
|
1621
1629
|
setup(n) {
|
|
1622
|
-
const o = n, f =
|
|
1623
|
-
var
|
|
1624
|
-
return (
|
|
1625
|
-
}), { open:
|
|
1626
|
-
return (
|
|
1627
|
-
const
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1630
|
+
const o = n, f = ye(), h = N(() => {
|
|
1631
|
+
var m;
|
|
1632
|
+
return (m = o.node.basic) == null ? void 0 : m.id;
|
|
1633
|
+
}), { open: _ } = Oa(`runtimeDlg/${h.value}`);
|
|
1634
|
+
return wl(o, (m) => {
|
|
1635
|
+
const { name: R } = m;
|
|
1636
|
+
R === "open" ? _.value = !0 : R === "close" && (_.value = !1);
|
|
1637
|
+
}), (m, R) => {
|
|
1638
|
+
const O = Re("v-dialog");
|
|
1639
|
+
return J(), ve(O, {
|
|
1640
|
+
modelValue: Ae(_),
|
|
1641
|
+
"onUpdate:modelValue": R[0] || (R[0] = (r) => ga(_) ? _.value = r : null)
|
|
1631
1642
|
}, {
|
|
1632
|
-
activator:
|
|
1633
|
-
|
|
1643
|
+
activator: te(() => [
|
|
1644
|
+
Ae(f) === "editor" ? (J(), Le("div", {
|
|
1634
1645
|
key: 0,
|
|
1635
1646
|
id: `__node__@${h.value}`
|
|
1636
|
-
}, null, 8,
|
|
1637
|
-
Zt(_.$slots, "activator")
|
|
1647
|
+
}, null, 8, Pl)) : ba("", !0)
|
|
1638
1648
|
]),
|
|
1639
|
-
default:
|
|
1640
|
-
|
|
1649
|
+
default: te(() => [
|
|
1650
|
+
ee(m.$slots, "default")
|
|
1641
1651
|
]),
|
|
1642
1652
|
_: 3
|
|
1643
1653
|
}, 8, ["modelValue"]);
|
|
1644
1654
|
};
|
|
1645
1655
|
}
|
|
1646
|
-
}),
|
|
1647
|
-
key:
|
|
1656
|
+
}), Al = {
|
|
1657
|
+
key: ar,
|
|
1648
1658
|
name: "x-runtime-lib.dialog",
|
|
1649
|
-
comp:
|
|
1659
|
+
comp: Cl,
|
|
1650
1660
|
slots: [
|
|
1651
1661
|
{
|
|
1652
1662
|
key: "default",
|
|
1653
|
-
name: "x-runtime-lib.default"
|
|
1654
|
-
params: []
|
|
1663
|
+
name: "x-runtime-lib.default"
|
|
1655
1664
|
}
|
|
1656
1665
|
],
|
|
1657
1666
|
events: [],
|
|
1658
|
-
methods: [
|
|
1667
|
+
methods: [
|
|
1668
|
+
{
|
|
1669
|
+
key: "open",
|
|
1670
|
+
name: "x-runtime-lib.open",
|
|
1671
|
+
inputs: [],
|
|
1672
|
+
outputs: []
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
key: "close",
|
|
1676
|
+
name: "x-runtime-lib.close",
|
|
1677
|
+
inputs: [],
|
|
1678
|
+
outputs: []
|
|
1679
|
+
}
|
|
1680
|
+
],
|
|
1659
1681
|
props: {
|
|
1660
|
-
pageCommon: [
|
|
1661
|
-
compCommon: [
|
|
1662
|
-
}
|
|
1682
|
+
pageCommon: [Y],
|
|
1683
|
+
compCommon: [Y]
|
|
1684
|
+
},
|
|
1685
|
+
teleport: !0
|
|
1663
1686
|
}, jn = {
|
|
1664
1687
|
key: "globalSettings",
|
|
1665
1688
|
name: "x-runtime-lib.globalSettings",
|
|
@@ -1672,7 +1695,7 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1672
1695
|
}
|
|
1673
1696
|
]
|
|
1674
1697
|
}, kl = {
|
|
1675
|
-
key:
|
|
1698
|
+
key: or,
|
|
1676
1699
|
name: "x-runtime-lib.globality",
|
|
1677
1700
|
comp: "",
|
|
1678
1701
|
slots: [],
|
|
@@ -1713,26 +1736,26 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1713
1736
|
compCommon: [jn]
|
|
1714
1737
|
},
|
|
1715
1738
|
internal: !0
|
|
1716
|
-
},
|
|
1739
|
+
}, Il = { key: 0 }, Dl = /* @__PURE__ */ se({
|
|
1717
1740
|
__name: "index",
|
|
1718
1741
|
props: {
|
|
1719
1742
|
node: {},
|
|
1720
1743
|
outer: { type: Boolean }
|
|
1721
1744
|
},
|
|
1722
1745
|
setup(n) {
|
|
1723
|
-
const o = n, f =
|
|
1746
|
+
const o = n, f = ye(), h = Ue(), _ = N(() => {
|
|
1724
1747
|
var e;
|
|
1725
1748
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1726
|
-
}),
|
|
1749
|
+
}), b = N(() => {
|
|
1727
1750
|
var e;
|
|
1728
1751
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1729
1752
|
}), m = N(() => {
|
|
1730
1753
|
var e;
|
|
1731
1754
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
1732
|
-
}),
|
|
1755
|
+
}), R = N(() => {
|
|
1733
1756
|
var e;
|
|
1734
1757
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
1735
|
-
}),
|
|
1758
|
+
}), O = N(() => {
|
|
1736
1759
|
var e;
|
|
1737
1760
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
1738
1761
|
}), r = N(() => {
|
|
@@ -1740,24 +1763,24 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1740
1763
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1741
1764
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1742
1765
|
return (e, i) => {
|
|
1743
|
-
const u =
|
|
1744
|
-
return
|
|
1745
|
-
|
|
1746
|
-
"model-value":
|
|
1747
|
-
label:
|
|
1766
|
+
const u = Re("v-number-input");
|
|
1767
|
+
return Ae(f) === "editor" ? (J(), Le("div", Il, [
|
|
1768
|
+
Et(u, {
|
|
1769
|
+
"model-value": _.value,
|
|
1770
|
+
label: b.value,
|
|
1748
1771
|
placeholder: m.value,
|
|
1749
|
-
"hide-details":
|
|
1750
|
-
"single-line":
|
|
1772
|
+
"hide-details": R.value,
|
|
1773
|
+
"single-line": O.value,
|
|
1751
1774
|
readonly: r.value,
|
|
1752
1775
|
theme: t.value
|
|
1753
1776
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1754
|
-
])) : (J(),
|
|
1777
|
+
])) : (J(), ve(u, {
|
|
1755
1778
|
key: 1,
|
|
1756
|
-
"model-value":
|
|
1757
|
-
label:
|
|
1779
|
+
"model-value": _.value,
|
|
1780
|
+
label: b.value,
|
|
1758
1781
|
placeholder: m.value,
|
|
1759
|
-
"hide-details":
|
|
1760
|
-
"single-line":
|
|
1782
|
+
"hide-details": R.value,
|
|
1783
|
+
"single-line": O.value,
|
|
1761
1784
|
readonly: r.value,
|
|
1762
1785
|
theme: t.value
|
|
1763
1786
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -1808,49 +1831,20 @@ const Rl = /* @__PURE__ */ oe({
|
|
|
1808
1831
|
default: !1
|
|
1809
1832
|
}
|
|
1810
1833
|
]
|
|
1811
|
-
},
|
|
1812
|
-
key:
|
|
1834
|
+
}, Ll = {
|
|
1835
|
+
key: ur,
|
|
1813
1836
|
name: "x-runtime-lib.numberInput",
|
|
1814
|
-
comp:
|
|
1837
|
+
comp: Dl,
|
|
1815
1838
|
slots: [],
|
|
1816
1839
|
events: [],
|
|
1817
1840
|
methods: [],
|
|
1818
1841
|
props: {
|
|
1819
|
-
pageCommon: [
|
|
1820
|
-
compCommon: [
|
|
1842
|
+
pageCommon: [Y, Bn],
|
|
1843
|
+
compCommon: [Y, Bn]
|
|
1821
1844
|
}
|
|
1822
|
-
}, $n = {
|
|
1823
|
-
key: "settings",
|
|
1824
|
-
name: "x-runtime-lib.settings",
|
|
1825
|
-
children: [
|
|
1826
|
-
{
|
|
1827
|
-
key: "slot",
|
|
1828
|
-
name: "x-runtime-lib.slot",
|
|
1829
|
-
ui: "slotSelect",
|
|
1830
|
-
default: ""
|
|
1831
|
-
}
|
|
1832
|
-
]
|
|
1833
|
-
}, Ll = {
|
|
1834
|
-
key: vt,
|
|
1835
|
-
name: "x-runtime-lib.package",
|
|
1836
|
-
comp: null,
|
|
1837
|
-
slots: [
|
|
1838
|
-
{
|
|
1839
|
-
key: "dummy",
|
|
1840
|
-
name: "x-runtime-lib.dummy",
|
|
1841
|
-
params: []
|
|
1842
|
-
}
|
|
1843
|
-
],
|
|
1844
|
-
events: [],
|
|
1845
|
-
methods: [],
|
|
1846
|
-
props: {
|
|
1847
|
-
pageCommon: [V, $n],
|
|
1848
|
-
compCommon: [V, $n]
|
|
1849
|
-
},
|
|
1850
|
-
teleport: !0
|
|
1851
1845
|
};
|
|
1852
|
-
var
|
|
1853
|
-
function
|
|
1846
|
+
var Ml = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1847
|
+
function Fl(n) {
|
|
1854
1848
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1855
1849
|
}
|
|
1856
1850
|
function Ul(n) {
|
|
@@ -1863,8 +1857,8 @@ function Ul(n) {
|
|
|
1863
1857
|
f.prototype = o.prototype;
|
|
1864
1858
|
} else f = {};
|
|
1865
1859
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1866
|
-
var
|
|
1867
|
-
Object.defineProperty(f, h,
|
|
1860
|
+
var _ = Object.getOwnPropertyDescriptor(n, h);
|
|
1861
|
+
Object.defineProperty(f, h, _.get ? _ : {
|
|
1868
1862
|
enumerable: !0,
|
|
1869
1863
|
get: function() {
|
|
1870
1864
|
return n[h];
|
|
@@ -1872,15 +1866,15 @@ function Ul(n) {
|
|
|
1872
1866
|
});
|
|
1873
1867
|
}), f;
|
|
1874
1868
|
}
|
|
1875
|
-
var
|
|
1869
|
+
var Pi = { exports: {} };
|
|
1876
1870
|
const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1877
1871
|
__proto__: null,
|
|
1878
1872
|
default: jl
|
|
1879
1873
|
}, Symbol.toStringTag, { value: "Module" })), $l = /* @__PURE__ */ Ul(Bl);
|
|
1880
1874
|
(function(n, o) {
|
|
1881
|
-
(function(h,
|
|
1882
|
-
n.exports =
|
|
1883
|
-
})(
|
|
1875
|
+
(function(h, _) {
|
|
1876
|
+
n.exports = _();
|
|
1877
|
+
})(Ml, () => (
|
|
1884
1878
|
/******/
|
|
1885
1879
|
(() => {
|
|
1886
1880
|
var f = {
|
|
@@ -1890,7 +1884,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1890
1884
|
!*** ./original-repo/interpreter.js ***!
|
|
1891
1885
|
\**************************************/
|
|
1892
1886
|
/***/
|
|
1893
|
-
function(m,
|
|
1887
|
+
function(m, R, O) {
|
|
1894
1888
|
/**
|
|
1895
1889
|
* @license
|
|
1896
1890
|
* Copyright 2013 Neil Fraser
|
|
@@ -2190,7 +2184,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2190
2184
|
p = v.join(", ");
|
|
2191
2185
|
}
|
|
2192
2186
|
try {
|
|
2193
|
-
var
|
|
2187
|
+
var T = e.parse_(
|
|
2194
2188
|
"(function(" + p + ") {" + a + "})",
|
|
2195
2189
|
"function" + e.functionCodeNumber_++
|
|
2196
2190
|
);
|
|
@@ -2200,11 +2194,11 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2200
2194
|
"Invalid code: " + I.message
|
|
2201
2195
|
);
|
|
2202
2196
|
}
|
|
2203
|
-
|
|
2197
|
+
T.body.length !== 1 && e.throwException(
|
|
2204
2198
|
e.SYNTAX_ERROR,
|
|
2205
2199
|
"Invalid code in function body"
|
|
2206
2200
|
);
|
|
2207
|
-
var x =
|
|
2201
|
+
var x = T.body[0].expression;
|
|
2208
2202
|
return e.createFunction(
|
|
2209
2203
|
x,
|
|
2210
2204
|
e.globalScope,
|
|
@@ -3031,7 +3025,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3031
3025
|
string: E,
|
|
3032
3026
|
separator: a,
|
|
3033
3027
|
limit: p
|
|
3034
|
-
},
|
|
3028
|
+
}, T = "string.split(separator, limit)", L = e.vmCall(T, S, a, v);
|
|
3035
3029
|
L !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(L));
|
|
3036
3030
|
} else {
|
|
3037
3031
|
var x = e.createWorker(), I = e.regExpTimeout(
|
|
@@ -3057,10 +3051,10 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3057
3051
|
}, S = "string.match(regexp)", I = e.vmCall(S, E, a, p);
|
|
3058
3052
|
I !== r.REGEXP_TIMEOUT && p(I && e.matchToPseudo_(I));
|
|
3059
3053
|
} else {
|
|
3060
|
-
var
|
|
3061
|
-
|
|
3054
|
+
var T = e.createWorker(), x = e.regExpTimeout(a, T, p);
|
|
3055
|
+
T.onmessage = function(L) {
|
|
3062
3056
|
clearTimeout(x), p(L.data && e.matchToPseudo_(L.data));
|
|
3063
|
-
},
|
|
3057
|
+
}, T.postMessage(["match", v, a]);
|
|
3064
3058
|
}
|
|
3065
3059
|
return;
|
|
3066
3060
|
}
|
|
@@ -3073,8 +3067,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3073
3067
|
var E = {
|
|
3074
3068
|
string: v,
|
|
3075
3069
|
regexp: a
|
|
3076
|
-
}, S = "string.search(regexp)",
|
|
3077
|
-
|
|
3070
|
+
}, S = "string.search(regexp)", T = e.vmCall(S, E, a, p);
|
|
3071
|
+
T !== r.REGEXP_TIMEOUT && p(T);
|
|
3078
3072
|
} else {
|
|
3079
3073
|
var x = e.createWorker(), I = e.regExpTimeout(a, x, p);
|
|
3080
3074
|
x.onmessage = function(L) {
|
|
@@ -3092,7 +3086,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3092
3086
|
string: E,
|
|
3093
3087
|
substr: a,
|
|
3094
3088
|
newSubstr: p
|
|
3095
|
-
},
|
|
3089
|
+
}, T = "string.replace(substr, newSubstr)", x = e.vmCall(T, S, a, v);
|
|
3096
3090
|
x !== r.REGEXP_TIMEOUT && v(x);
|
|
3097
3091
|
} else {
|
|
3098
3092
|
var I = e.createWorker(), L = e.regExpTimeout(
|
|
@@ -3381,9 +3375,9 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3381
3375
|
}, v = "regexp.exec(string)", x = e.vmCall(v, p, a, l);
|
|
3382
3376
|
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x)));
|
|
3383
3377
|
} else {
|
|
3384
|
-
var E = e.createWorker(), S = e.regExpTimeout(a, E, l),
|
|
3378
|
+
var E = e.createWorker(), S = e.regExpTimeout(a, E, l), T = this;
|
|
3385
3379
|
E.onmessage = function(I) {
|
|
3386
|
-
clearTimeout(S), e.setProperty(
|
|
3380
|
+
clearTimeout(S), e.setProperty(T, "lastIndex", I.data[1]), l(e.matchToPseudo_(I.data[0]));
|
|
3387
3381
|
}, E.postMessage(["exec", a, a.lastIndex, s]);
|
|
3388
3382
|
}
|
|
3389
3383
|
return;
|
|
@@ -3595,8 +3589,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3595
3589
|
}
|
|
3596
3590
|
for (var p = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), E = p + ": " + v + `
|
|
3597
3591
|
`, u = 0; u < i.length; u++) {
|
|
3598
|
-
var S = i[u].datumLoc,
|
|
3599
|
-
|
|
3592
|
+
var S = i[u].datumLoc, T = i[u].datumName, x = S.source + ":" + S.start.line + ":" + S.start.column;
|
|
3593
|
+
T ? E += " at " + T + " (" + x + `)
|
|
3600
3594
|
` : E += " at " + x + `
|
|
3601
3595
|
`;
|
|
3602
3596
|
}
|
|
@@ -3633,7 +3627,7 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3633
3627
|
i = !0;
|
|
3634
3628
|
else {
|
|
3635
3629
|
try {
|
|
3636
|
-
r.vm =
|
|
3630
|
+
r.vm = O(
|
|
3637
3631
|
/*! vm */
|
|
3638
3632
|
"vm"
|
|
3639
3633
|
);
|
|
@@ -3748,11 +3742,11 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3748
3742
|
}
|
|
3749
3743
|
var S;
|
|
3750
3744
|
Array.isArray(t) ? S = this.createArray() : S = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(S);
|
|
3751
|
-
for (var
|
|
3745
|
+
for (var T in t)
|
|
3752
3746
|
this.setProperty(
|
|
3753
3747
|
S,
|
|
3754
|
-
|
|
3755
|
-
this.nativeToPseudo(t[
|
|
3748
|
+
T,
|
|
3749
|
+
this.nativeToPseudo(t[T], i)
|
|
3756
3750
|
);
|
|
3757
3751
|
return S;
|
|
3758
3752
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
@@ -4133,8 +4127,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4133
4127
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
4134
4128
|
}
|
|
4135
4129
|
a.type = "EvalProgram_", a.body = E.body;
|
|
4136
|
-
var S = i.node.arguments[0],
|
|
4137
|
-
r.stripLocations_(a,
|
|
4130
|
+
var S = i.node.arguments[0], T = S ? S.start : void 0, x = S ? S.end : void 0;
|
|
4131
|
+
r.stripLocations_(a, T, x), p = this.globalScope, u.length = 0;
|
|
4138
4132
|
}
|
|
4139
4133
|
var I = new r.Task(
|
|
4140
4134
|
v,
|
|
@@ -4477,8 +4471,8 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4477
4471
|
this.setProperty(v, E, e.arguments_[E]);
|
|
4478
4472
|
this.setProperty(p.object, "arguments", v);
|
|
4479
4473
|
for (var E = 0; E < a.params.length; E++) {
|
|
4480
|
-
var S = a.params[E].name,
|
|
4481
|
-
this.setProperty(p.object, S,
|
|
4474
|
+
var S = a.params[E].name, T = e.arguments_.length > E ? e.arguments_[E] : void 0;
|
|
4475
|
+
this.setProperty(p.object, S, T);
|
|
4482
4476
|
}
|
|
4483
4477
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
4484
4478
|
p.object,
|
|
@@ -4507,12 +4501,12 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4507
4501
|
} else if (s.nativeFunc)
|
|
4508
4502
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4509
4503
|
else if (s.asyncFunc) {
|
|
4510
|
-
var W = this,
|
|
4511
|
-
e.value =
|
|
4512
|
-
}, q = s.asyncFunc.length - 1,
|
|
4504
|
+
var W = this, je = function(me) {
|
|
4505
|
+
e.value = me, W.paused_ = !1;
|
|
4506
|
+
}, q = s.asyncFunc.length - 1, Ne = e.arguments_.concat(
|
|
4513
4507
|
new Array(q)
|
|
4514
4508
|
).slice(0, q);
|
|
4515
|
-
|
|
4509
|
+
Ne.push(je), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Ne);
|
|
4516
4510
|
return;
|
|
4517
4511
|
} else
|
|
4518
4512
|
this.throwException(
|
|
@@ -4913,14 +4907,14 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4913
4907
|
!*** ./original-repo/acorn.js ***!
|
|
4914
4908
|
\********************************/
|
|
4915
4909
|
/***/
|
|
4916
|
-
function(m,
|
|
4917
|
-
(function(
|
|
4918
|
-
return r(
|
|
4919
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
4920
|
-
|
|
4910
|
+
function(m, R) {
|
|
4911
|
+
(function(O, r) {
|
|
4912
|
+
return r(R);
|
|
4913
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(O) {
|
|
4914
|
+
O.version = "0.5.0";
|
|
4921
4915
|
var r, t = "", e, i;
|
|
4922
|
-
|
|
4923
|
-
return t = String(c), e = t.length, s(d),
|
|
4916
|
+
O.parse = function(c, d) {
|
|
4917
|
+
return t = String(c), e = t.length, s(d), Wi(), oa(r.program);
|
|
4924
4918
|
};
|
|
4925
4919
|
var u = {
|
|
4926
4920
|
// JS-Interpreter change:
|
|
@@ -4987,80 +4981,80 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4987
4981
|
i = r.sourceFile;
|
|
4988
4982
|
}
|
|
4989
4983
|
var l = function(c, d) {
|
|
4990
|
-
for (var y = 1,
|
|
4991
|
-
|
|
4992
|
-
var C =
|
|
4984
|
+
for (var y = 1, g = 0; ; ) {
|
|
4985
|
+
st.lastIndex = g;
|
|
4986
|
+
var C = st.exec(c);
|
|
4993
4987
|
if (C && C.index < d)
|
|
4994
|
-
++y,
|
|
4988
|
+
++y, g = C.index + C[0].length;
|
|
4995
4989
|
else
|
|
4996
4990
|
break;
|
|
4997
4991
|
}
|
|
4998
|
-
return { line: y, column: d -
|
|
4999
|
-
}, a = 0, p = 0, v = 0, E, S,
|
|
5000
|
-
function
|
|
4992
|
+
return { line: y, column: d - g };
|
|
4993
|
+
}, a = 0, p = 0, v = 0, E, S, T, x, I, L, W, je = 0, q = 0, Ne, me, B, H;
|
|
4994
|
+
function k(c, d) {
|
|
5001
4995
|
var y = l(t, c);
|
|
5002
4996
|
d += " (" + y.line + ":" + y.column + ")";
|
|
5003
|
-
var
|
|
5004
|
-
throw
|
|
4997
|
+
var g = new SyntaxError(d);
|
|
4998
|
+
throw g.pos = c, g.loc = y, g.raisedAt = a, g;
|
|
5005
4999
|
}
|
|
5006
|
-
var
|
|
5007
|
-
break:
|
|
5008
|
-
case:
|
|
5009
|
-
catch:
|
|
5010
|
-
continue:
|
|
5011
|
-
debugger:
|
|
5012
|
-
default:
|
|
5013
|
-
do:
|
|
5014
|
-
else:
|
|
5015
|
-
finally:
|
|
5016
|
-
for:
|
|
5017
|
-
function:
|
|
5018
|
-
if:
|
|
5019
|
-
return:
|
|
5020
|
-
switch:
|
|
5021
|
-
throw:
|
|
5022
|
-
try:
|
|
5000
|
+
var Ai = [], nt = { type: "num" }, br = { type: "regexp" }, Nt = { type: "string" }, Se = { type: "name" }, St = { type: "eof" }, xt = { keyword: "break" }, wt = { keyword: "case", beforeExpr: !0 }, Er = { keyword: "catch" }, Rr = { keyword: "continue" }, Or = { keyword: "debugger" }, Tr = { keyword: "default" }, Nr = { keyword: "do", isLoop: !0 }, Sr = { keyword: "else", beforeExpr: !0 }, xr = { keyword: "finally" }, wr = { keyword: "for", isLoop: !0 }, Pt = { keyword: "function" }, Pr = { keyword: "if" }, Cr = { keyword: "return", beforeExpr: !0 }, Ct = { keyword: "switch" }, Ar = { keyword: "throw", beforeExpr: !0 }, kr = { keyword: "try" }, At = { keyword: "var" }, kt = { keyword: "while", isLoop: !0 }, Ir = { keyword: "with" }, Dr = { keyword: "new", beforeExpr: !0 }, Lr = { keyword: "this" }, Mr = { keyword: "null", atomValue: null }, Fr = { keyword: "true", atomValue: !0 }, Ur = { keyword: "false", atomValue: !1 }, it = { keyword: "in", binop: 7, beforeExpr: !0 }, ki = {
|
|
5001
|
+
break: xt,
|
|
5002
|
+
case: wt,
|
|
5003
|
+
catch: Er,
|
|
5004
|
+
continue: Rr,
|
|
5005
|
+
debugger: Or,
|
|
5006
|
+
default: Tr,
|
|
5007
|
+
do: Nr,
|
|
5008
|
+
else: Sr,
|
|
5009
|
+
finally: xr,
|
|
5010
|
+
for: wr,
|
|
5011
|
+
function: Pt,
|
|
5012
|
+
if: Pr,
|
|
5013
|
+
return: Cr,
|
|
5014
|
+
switch: Ct,
|
|
5015
|
+
throw: Ar,
|
|
5016
|
+
try: kr,
|
|
5023
5017
|
var: At,
|
|
5024
|
-
while:
|
|
5025
|
-
with:
|
|
5026
|
-
null:
|
|
5027
|
-
true:
|
|
5028
|
-
false:
|
|
5029
|
-
new:
|
|
5030
|
-
in:
|
|
5018
|
+
while: kt,
|
|
5019
|
+
with: Ir,
|
|
5020
|
+
null: Mr,
|
|
5021
|
+
true: Fr,
|
|
5022
|
+
false: Ur,
|
|
5023
|
+
new: Dr,
|
|
5024
|
+
in: it,
|
|
5031
5025
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
5032
|
-
this:
|
|
5026
|
+
this: Lr,
|
|
5033
5027
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
5034
5028
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
5035
5029
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
5036
|
-
},
|
|
5037
|
-
function
|
|
5038
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
5039
|
-
y[d[
|
|
5030
|
+
}, It = { type: "[", beforeExpr: !0 }, Dt = { type: "]" }, Be = { type: "{", beforeExpr: !0 }, xe = { type: "}" }, ie = { type: "(", beforeExpr: !0 }, Q = { type: ")" }, ce = { type: ",", beforeExpr: !0 }, ae = { type: ";", beforeExpr: !0 }, $e = { type: ":", beforeExpr: !0 }, jr = { type: "." }, Br = { type: "?", beforeExpr: !0 }, $r = { binop: 10, beforeExpr: !0 }, Vr = { isAssign: !0, beforeExpr: !0 }, _e = { isAssign: !0, beforeExpr: !0 }, Ii = { postfix: !0, prefix: !0, isUpdate: !0 }, Gr = { prefix: !0, beforeExpr: !0 }, Yr = { binop: 1, beforeExpr: !0 }, zr = { binop: 2, beforeExpr: !0 }, Di = { binop: 3, beforeExpr: !0 }, Li = { binop: 4, beforeExpr: !0 }, Mi = { binop: 5, beforeExpr: !0 }, Fi = { binop: 6, beforeExpr: !0 }, Ui = { binop: 7, beforeExpr: !0 }, ji = { binop: 8, beforeExpr: !0 }, Bi = { binop: 9, prefix: !0, beforeExpr: !0 }, $i = { binop: 10, beforeExpr: !0 };
|
|
5031
|
+
function at(c) {
|
|
5032
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), g = 0; g < d.length; g++)
|
|
5033
|
+
y[d[g]] = !0;
|
|
5040
5034
|
return function(C) {
|
|
5041
5035
|
return y[C] || !1;
|
|
5042
5036
|
};
|
|
5043
5037
|
}
|
|
5044
|
-
var
|
|
5045
|
-
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
5046
|
-
},
|
|
5047
|
-
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
5038
|
+
var Vi = at("class enum extends super const export import"), Xr = at("implements interface let package private protected public static yield"), ot = at("eval arguments"), Gi = at("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"), Yi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Wr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", zi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Jr = new RegExp("[" + Wr + "]"), Xi = new RegExp("[" + Wr + zi + "]"), ut = /[\n\r\u2028\u2029]/, st = /\r\n|[\n\r\u2028\u2029]/g, lt = function(c) {
|
|
5039
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Jr.test(String.fromCharCode(c));
|
|
5040
|
+
}, Hr = function(c) {
|
|
5041
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Xi.test(String.fromCharCode(c));
|
|
5048
5042
|
};
|
|
5049
|
-
function
|
|
5043
|
+
function ge() {
|
|
5050
5044
|
this.line = L, this.column = a - W;
|
|
5051
5045
|
}
|
|
5052
|
-
function
|
|
5053
|
-
L = 1, a = W = 0, I = !0,
|
|
5046
|
+
function Wi() {
|
|
5047
|
+
L = 1, a = W = 0, I = !0, Ve();
|
|
5054
5048
|
}
|
|
5055
|
-
function
|
|
5056
|
-
v = a, r.locations && (S = new
|
|
5049
|
+
function V(c, d) {
|
|
5050
|
+
v = a, r.locations && (S = new ge()), T = c, Ve(), x = d, I = c.beforeExpr;
|
|
5057
5051
|
}
|
|
5058
|
-
function
|
|
5059
|
-
var c = r.onComment && r.locations && new
|
|
5060
|
-
if (y === -1 &&
|
|
5061
|
-
|
|
5062
|
-
for (var
|
|
5063
|
-
++L, W =
|
|
5052
|
+
function Ji() {
|
|
5053
|
+
var c = r.onComment && r.locations && new ge(), d = a, y = t.indexOf("*/", a += 2);
|
|
5054
|
+
if (y === -1 && k(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
5055
|
+
st.lastIndex = d;
|
|
5056
|
+
for (var g; (g = st.exec(t)) && g.index < a; )
|
|
5057
|
+
++L, W = g.index + g[0].length;
|
|
5064
5058
|
}
|
|
5065
5059
|
r.onComment && r.onComment(
|
|
5066
5060
|
!0,
|
|
@@ -5068,11 +5062,11 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5068
5062
|
d,
|
|
5069
5063
|
a,
|
|
5070
5064
|
c,
|
|
5071
|
-
r.locations && new
|
|
5065
|
+
r.locations && new ge()
|
|
5072
5066
|
);
|
|
5073
5067
|
}
|
|
5074
|
-
function
|
|
5075
|
-
for (var c = a, d = r.onComment && r.locations && new
|
|
5068
|
+
function Lt() {
|
|
5069
|
+
for (var c = a, d = r.onComment && r.locations && new ge(), y = t.charCodeAt(a += 2); a < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
5076
5070
|
++a, y = t.charCodeAt(a);
|
|
5077
5071
|
r.onComment && r.onComment(
|
|
5078
5072
|
!1,
|
|
@@ -5080,10 +5074,10 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5080
5074
|
c,
|
|
5081
5075
|
a,
|
|
5082
5076
|
d,
|
|
5083
|
-
r.locations && new
|
|
5077
|
+
r.locations && new ge()
|
|
5084
5078
|
);
|
|
5085
5079
|
}
|
|
5086
|
-
function
|
|
5080
|
+
function Ve() {
|
|
5087
5081
|
for (; a < e; ) {
|
|
5088
5082
|
var c = t.charCodeAt(a);
|
|
5089
5083
|
if (c === 32)
|
|
@@ -5099,91 +5093,91 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5099
5093
|
else if (c === 47) {
|
|
5100
5094
|
var d = t.charCodeAt(a + 1);
|
|
5101
5095
|
if (d === 42)
|
|
5102
|
-
|
|
5096
|
+
Ji();
|
|
5103
5097
|
else if (d === 47)
|
|
5104
|
-
|
|
5098
|
+
Lt();
|
|
5105
5099
|
else break;
|
|
5106
5100
|
} else if (c === 160)
|
|
5107
5101
|
++a;
|
|
5108
|
-
else if (c >= 5760 &&
|
|
5102
|
+
else if (c >= 5760 && Yi.test(String.fromCharCode(c)))
|
|
5109
5103
|
++a;
|
|
5110
5104
|
else
|
|
5111
5105
|
break;
|
|
5112
5106
|
}
|
|
5113
5107
|
}
|
|
5114
|
-
function
|
|
5108
|
+
function Hi() {
|
|
5115
5109
|
var c = t.charCodeAt(a + 1);
|
|
5116
|
-
c >= 48 && c <= 57 ?
|
|
5110
|
+
c >= 48 && c <= 57 ? qr(!0) : (++a, V(jr));
|
|
5117
5111
|
}
|
|
5118
|
-
function
|
|
5112
|
+
function Ki() {
|
|
5119
5113
|
var c = t.charCodeAt(a + 1);
|
|
5120
|
-
I ? (++a,
|
|
5114
|
+
I ? (++a, Kr()) : c === 61 ? G(_e, 2) : G($r, 1);
|
|
5121
5115
|
}
|
|
5122
|
-
function
|
|
5116
|
+
function qi() {
|
|
5123
5117
|
var c = t.charCodeAt(a + 1);
|
|
5124
|
-
c === 61 ?
|
|
5118
|
+
c === 61 ? G(_e, 2) : G($i, 1);
|
|
5125
5119
|
}
|
|
5126
|
-
function
|
|
5120
|
+
function Zi(c) {
|
|
5127
5121
|
var d = t.charCodeAt(a + 1);
|
|
5128
|
-
d === c ?
|
|
5122
|
+
d === c ? G(c === 124 ? Yr : zr, 2) : d === 61 ? G(_e, 2) : G(c === 124 ? Di : Mi, 1);
|
|
5129
5123
|
}
|
|
5130
|
-
function
|
|
5124
|
+
function Qi() {
|
|
5131
5125
|
var c = t.charCodeAt(a + 1);
|
|
5132
|
-
c === 61 ?
|
|
5126
|
+
c === 61 ? G(_e, 2) : G(Li, 1);
|
|
5133
5127
|
}
|
|
5134
|
-
function
|
|
5128
|
+
function ea(c) {
|
|
5135
5129
|
var d = t.charCodeAt(a + 1);
|
|
5136
5130
|
if (d === c) {
|
|
5137
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5138
|
-
a += 3,
|
|
5131
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && ut.test(t.slice(q, a))) {
|
|
5132
|
+
a += 3, Lt(), Ve(), we();
|
|
5139
5133
|
return;
|
|
5140
5134
|
}
|
|
5141
|
-
|
|
5142
|
-
} else d === 61 ?
|
|
5135
|
+
G(Ii, 2);
|
|
5136
|
+
} else d === 61 ? G(_e, 2) : G(Bi, 1);
|
|
5143
5137
|
}
|
|
5144
|
-
function
|
|
5138
|
+
function ta(c) {
|
|
5145
5139
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
5146
5140
|
if (d === c) {
|
|
5147
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ?
|
|
5141
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(_e, y + 1) : G(ji, y);
|
|
5148
5142
|
return;
|
|
5149
5143
|
}
|
|
5150
5144
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5151
|
-
a += 4,
|
|
5145
|
+
a += 4, Lt(), Ve(), we();
|
|
5152
5146
|
return;
|
|
5153
5147
|
}
|
|
5154
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2),
|
|
5148
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Ui, y);
|
|
5155
5149
|
}
|
|
5156
|
-
function
|
|
5150
|
+
function ra(c) {
|
|
5157
5151
|
var d = t.charCodeAt(a + 1);
|
|
5158
|
-
d === 61 ?
|
|
5152
|
+
d === 61 ? G(Fi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(c === 61 ? Vr : Gr, 1);
|
|
5159
5153
|
}
|
|
5160
|
-
function
|
|
5154
|
+
function na(c) {
|
|
5161
5155
|
switch (c) {
|
|
5162
5156
|
case 46:
|
|
5163
|
-
return
|
|
5157
|
+
return Hi();
|
|
5164
5158
|
case 40:
|
|
5165
|
-
return ++a,
|
|
5159
|
+
return ++a, V(ie);
|
|
5166
5160
|
case 41:
|
|
5167
|
-
return ++a,
|
|
5161
|
+
return ++a, V(Q);
|
|
5168
5162
|
case 59:
|
|
5169
|
-
return ++a,
|
|
5163
|
+
return ++a, V(ae);
|
|
5170
5164
|
case 44:
|
|
5171
|
-
return ++a,
|
|
5165
|
+
return ++a, V(ce);
|
|
5172
5166
|
case 91:
|
|
5173
|
-
return ++a,
|
|
5167
|
+
return ++a, V(It);
|
|
5174
5168
|
case 93:
|
|
5175
|
-
return ++a,
|
|
5169
|
+
return ++a, V(Dt);
|
|
5176
5170
|
case 123:
|
|
5177
|
-
return ++a,
|
|
5171
|
+
return ++a, V(Be);
|
|
5178
5172
|
case 125:
|
|
5179
|
-
return ++a,
|
|
5173
|
+
return ++a, V(xe);
|
|
5180
5174
|
case 58:
|
|
5181
|
-
return ++a,
|
|
5175
|
+
return ++a, V($e);
|
|
5182
5176
|
case 63:
|
|
5183
|
-
return ++a,
|
|
5177
|
+
return ++a, V(Br);
|
|
5184
5178
|
case 48:
|
|
5185
5179
|
var d = t.charCodeAt(a + 1);
|
|
5186
|
-
if (d === 120 || d === 88) return
|
|
5180
|
+
if (d === 120 || d === 88) return ia();
|
|
5187
5181
|
case 49:
|
|
5188
5182
|
case 50:
|
|
5189
5183
|
case 51:
|
|
@@ -5193,117 +5187,117 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5193
5187
|
case 55:
|
|
5194
5188
|
case 56:
|
|
5195
5189
|
case 57:
|
|
5196
|
-
return
|
|
5190
|
+
return qr(!1);
|
|
5197
5191
|
case 34:
|
|
5198
5192
|
case 39:
|
|
5199
|
-
return
|
|
5193
|
+
return aa(c);
|
|
5200
5194
|
case 47:
|
|
5201
|
-
return
|
|
5195
|
+
return Ki();
|
|
5202
5196
|
case 37:
|
|
5203
5197
|
case 42:
|
|
5204
|
-
return
|
|
5198
|
+
return qi();
|
|
5205
5199
|
case 124:
|
|
5206
5200
|
case 38:
|
|
5207
|
-
return
|
|
5201
|
+
return Zi(c);
|
|
5208
5202
|
case 94:
|
|
5209
|
-
return
|
|
5203
|
+
return Qi();
|
|
5210
5204
|
case 43:
|
|
5211
5205
|
case 45:
|
|
5212
|
-
return
|
|
5206
|
+
return ea(c);
|
|
5213
5207
|
case 60:
|
|
5214
5208
|
case 62:
|
|
5215
|
-
return
|
|
5209
|
+
return ta(c);
|
|
5216
5210
|
case 61:
|
|
5217
5211
|
case 33:
|
|
5218
|
-
return
|
|
5212
|
+
return ra(c);
|
|
5219
5213
|
case 126:
|
|
5220
|
-
return
|
|
5214
|
+
return G(Gr, 1);
|
|
5221
5215
|
}
|
|
5222
5216
|
return !1;
|
|
5223
5217
|
}
|
|
5224
|
-
function
|
|
5225
|
-
if (c ? a = p + 1 : p = a, r.locations && (E = new
|
|
5226
|
-
if (a >= e) return
|
|
5218
|
+
function we(c) {
|
|
5219
|
+
if (c ? a = p + 1 : p = a, r.locations && (E = new ge()), c) return Kr();
|
|
5220
|
+
if (a >= e) return V(St);
|
|
5227
5221
|
var d = t.charCodeAt(a);
|
|
5228
|
-
if (
|
|
5229
|
-
return
|
|
5230
|
-
var y =
|
|
5222
|
+
if (lt(d) || d === 92)
|
|
5223
|
+
return Qr();
|
|
5224
|
+
var y = na(d);
|
|
5231
5225
|
if (y === !1) {
|
|
5232
|
-
var
|
|
5233
|
-
if (
|
|
5234
|
-
return
|
|
5235
|
-
|
|
5226
|
+
var g = String.fromCharCode(d);
|
|
5227
|
+
if (g === "\\" || Jr.test(g))
|
|
5228
|
+
return Qr();
|
|
5229
|
+
k(a, "Unexpected character '" + g + "'");
|
|
5236
5230
|
}
|
|
5237
5231
|
}
|
|
5238
|
-
function
|
|
5232
|
+
function G(c, d) {
|
|
5239
5233
|
var y = t.slice(a, a + d);
|
|
5240
|
-
a += d,
|
|
5234
|
+
a += d, V(c, y);
|
|
5241
5235
|
}
|
|
5242
|
-
function
|
|
5236
|
+
function Kr() {
|
|
5243
5237
|
for (var c, d, y = a; ; ) {
|
|
5244
|
-
a >= e &&
|
|
5245
|
-
var
|
|
5246
|
-
if (
|
|
5238
|
+
a >= e && k(y, "Unterminated regexp");
|
|
5239
|
+
var g = t.charAt(a);
|
|
5240
|
+
if (ut.test(g) && k(y, "Unterminated regexp"), c)
|
|
5247
5241
|
c = !1;
|
|
5248
5242
|
else {
|
|
5249
|
-
if (
|
|
5243
|
+
if (g === "[")
|
|
5250
5244
|
d = !0;
|
|
5251
|
-
else if (
|
|
5245
|
+
else if (g === "]" && d)
|
|
5252
5246
|
d = !1;
|
|
5253
|
-
else if (
|
|
5247
|
+
else if (g === "/" && !d)
|
|
5254
5248
|
break;
|
|
5255
|
-
c =
|
|
5249
|
+
c = g === "\\";
|
|
5256
5250
|
}
|
|
5257
5251
|
++a;
|
|
5258
5252
|
}
|
|
5259
5253
|
var C = t.slice(y, a);
|
|
5260
5254
|
++a;
|
|
5261
|
-
var w =
|
|
5262
|
-
w && !/^[gmi]*$/.test(w) &&
|
|
5255
|
+
var w = Zr();
|
|
5256
|
+
w && !/^[gmi]*$/.test(w) && k(y, "Invalid regexp flag");
|
|
5263
5257
|
try {
|
|
5264
|
-
var
|
|
5258
|
+
var A = new RegExp(C, w);
|
|
5265
5259
|
} catch (U) {
|
|
5266
|
-
throw U instanceof SyntaxError &&
|
|
5260
|
+
throw U instanceof SyntaxError && k(y, U.message), U;
|
|
5267
5261
|
}
|
|
5268
|
-
|
|
5262
|
+
V(br, A);
|
|
5269
5263
|
}
|
|
5270
|
-
function
|
|
5271
|
-
for (var y = a,
|
|
5272
|
-
var
|
|
5273
|
-
if (
|
|
5274
|
-
++a,
|
|
5264
|
+
function Ge(c, d) {
|
|
5265
|
+
for (var y = a, g = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5266
|
+
var A = t.charCodeAt(a), U;
|
|
5267
|
+
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= c) break;
|
|
5268
|
+
++a, g = g * c + U;
|
|
5275
5269
|
}
|
|
5276
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5270
|
+
return a === y || d !== void 0 && a - y !== d ? null : g;
|
|
5277
5271
|
}
|
|
5278
|
-
function
|
|
5272
|
+
function ia() {
|
|
5279
5273
|
a += 2;
|
|
5280
|
-
var c =
|
|
5281
|
-
c === null &&
|
|
5274
|
+
var c = Ge(16);
|
|
5275
|
+
c === null && k(p + 2, "Expected hexadecimal number"), lt(t.charCodeAt(a)) && k(a, "Identifier directly after number"), V(nt, c);
|
|
5282
5276
|
}
|
|
5283
|
-
function
|
|
5284
|
-
var d = a, y = !1,
|
|
5285
|
-
!c &&
|
|
5277
|
+
function qr(c) {
|
|
5278
|
+
var d = a, y = !1, g = t.charCodeAt(a) === 48;
|
|
5279
|
+
!c && Ge(10) === null && k(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Ge(10), y = !0);
|
|
5286
5280
|
var C = t.charCodeAt(a);
|
|
5287
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
5288
|
-
var w = t.slice(d, a),
|
|
5289
|
-
y ?
|
|
5281
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Ge(10) === null && k(d, "Invalid number"), y = !0), lt(t.charCodeAt(a)) && k(a, "Identifier directly after number");
|
|
5282
|
+
var w = t.slice(d, a), A;
|
|
5283
|
+
y ? A = parseFloat(w) : !g || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || H ? k(d, "Invalid number") : A = parseInt(w, 8), V(nt, A);
|
|
5290
5284
|
}
|
|
5291
|
-
function
|
|
5285
|
+
function aa(c) {
|
|
5292
5286
|
a++;
|
|
5293
5287
|
for (var d = ""; ; ) {
|
|
5294
|
-
a >= e &&
|
|
5288
|
+
a >= e && k(p, "Unterminated string constant");
|
|
5295
5289
|
var y = t.charCodeAt(a);
|
|
5296
5290
|
if (y === c) {
|
|
5297
|
-
++a,
|
|
5291
|
+
++a, V(Nt, d);
|
|
5298
5292
|
return;
|
|
5299
5293
|
}
|
|
5300
5294
|
if (y === 92) {
|
|
5301
5295
|
y = t.charCodeAt(++a);
|
|
5302
|
-
var
|
|
5303
|
-
for (
|
|
5304
|
-
|
|
5305
|
-
if (
|
|
5306
|
-
H &&
|
|
5296
|
+
var g = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5297
|
+
for (g && (g = g[0]); g && parseInt(g, 8) > 255; )
|
|
5298
|
+
g = g.slice(0, -1);
|
|
5299
|
+
if (g === "0" && (g = null), ++a, g)
|
|
5300
|
+
H && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(g, 8)), a += g.length - 1;
|
|
5307
5301
|
else
|
|
5308
5302
|
switch (y) {
|
|
5309
5303
|
case 110:
|
|
@@ -5314,13 +5308,13 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5314
5308
|
d += "\r";
|
|
5315
5309
|
break;
|
|
5316
5310
|
case 120:
|
|
5317
|
-
d += String.fromCharCode(
|
|
5311
|
+
d += String.fromCharCode(ct(2));
|
|
5318
5312
|
break;
|
|
5319
5313
|
case 117:
|
|
5320
|
-
d += String.fromCharCode(
|
|
5314
|
+
d += String.fromCharCode(ct(4));
|
|
5321
5315
|
break;
|
|
5322
5316
|
case 85:
|
|
5323
|
-
d += String.fromCharCode(
|
|
5317
|
+
d += String.fromCharCode(ct(8));
|
|
5324
5318
|
break;
|
|
5325
5319
|
case 116:
|
|
5326
5320
|
d += " ";
|
|
@@ -5347,333 +5341,333 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5347
5341
|
break;
|
|
5348
5342
|
}
|
|
5349
5343
|
} else
|
|
5350
|
-
(y === 13 || y === 10 || y === 8232 || y === 8233) &&
|
|
5344
|
+
(y === 13 || y === 10 || y === 8232 || y === 8233) && k(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5351
5345
|
}
|
|
5352
5346
|
}
|
|
5353
|
-
function
|
|
5354
|
-
var d =
|
|
5355
|
-
return d === null &&
|
|
5347
|
+
function ct(c) {
|
|
5348
|
+
var d = Ge(16, c);
|
|
5349
|
+
return d === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5356
5350
|
d;
|
|
5357
5351
|
}
|
|
5358
|
-
var
|
|
5359
|
-
function
|
|
5360
|
-
|
|
5352
|
+
var Pe;
|
|
5353
|
+
function Zr() {
|
|
5354
|
+
Pe = !1;
|
|
5361
5355
|
for (var c, d = !0, y = a; ; ) {
|
|
5362
|
-
var
|
|
5363
|
-
if (
|
|
5364
|
-
|
|
5365
|
-
else if (
|
|
5366
|
-
|
|
5367
|
-
var C =
|
|
5368
|
-
w ||
|
|
5356
|
+
var g = t.charCodeAt(a);
|
|
5357
|
+
if (Hr(g))
|
|
5358
|
+
Pe && (c += t.charAt(a)), ++a;
|
|
5359
|
+
else if (g === 92) {
|
|
5360
|
+
Pe || (c = t.slice(y, a)), Pe = !0, t.charCodeAt(++a) !== 117 && k(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5361
|
+
var C = ct(4), w = String.fromCharCode(C);
|
|
5362
|
+
w || k(a - 1, "Invalid Unicode escape"), (d ? lt(C) : Hr(C)) || k(a - 4, "Invalid Unicode escape"), c += w;
|
|
5369
5363
|
} else
|
|
5370
5364
|
break;
|
|
5371
5365
|
d = !1;
|
|
5372
5366
|
}
|
|
5373
|
-
return
|
|
5367
|
+
return Pe ? c : t.slice(y, a);
|
|
5374
5368
|
}
|
|
5375
|
-
function
|
|
5376
|
-
var c =
|
|
5377
|
-
!
|
|
5369
|
+
function Qr() {
|
|
5370
|
+
var c = Zr(), d = Se;
|
|
5371
|
+
!Pe && Gi(c) && (d = ki[c]), V(d, c);
|
|
5378
5372
|
}
|
|
5379
5373
|
function D() {
|
|
5380
|
-
|
|
5374
|
+
je = p, q = v, Ne = S, we();
|
|
5381
5375
|
}
|
|
5382
5376
|
function Mt(c) {
|
|
5383
5377
|
if (H = c, a = p, r.locations)
|
|
5384
5378
|
for (; a < W; )
|
|
5385
5379
|
W = t.lastIndexOf(`
|
|
5386
5380
|
`, W - 2) + 1, --L;
|
|
5387
|
-
|
|
5381
|
+
Ve(), we();
|
|
5388
5382
|
}
|
|
5389
|
-
function
|
|
5383
|
+
function en() {
|
|
5390
5384
|
this.type = null, this.start = p, this.end = null;
|
|
5391
5385
|
}
|
|
5392
|
-
function
|
|
5386
|
+
function tn() {
|
|
5393
5387
|
this.start = E, this.end = null, i && (this.source = i);
|
|
5394
5388
|
}
|
|
5395
5389
|
function z() {
|
|
5396
|
-
var c = new
|
|
5397
|
-
return r.locations && (c.loc = new
|
|
5390
|
+
var c = new en();
|
|
5391
|
+
return r.locations && (c.loc = new tn()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5398
5392
|
}
|
|
5399
|
-
function
|
|
5400
|
-
var d = new
|
|
5401
|
-
return d.start = c.start, r.locations && (d.loc = new
|
|
5393
|
+
function fe(c) {
|
|
5394
|
+
var d = new en();
|
|
5395
|
+
return d.start = c.start, r.locations && (d.loc = new tn(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5402
5396
|
}
|
|
5403
5397
|
function P(c, d) {
|
|
5404
|
-
return c.type = d, c.end = q, r.locations && (c.loc.end =
|
|
5398
|
+
return c.type = d, c.end = q, r.locations && (c.loc.end = Ne), r.ranges && (c.range[1] = q), c;
|
|
5405
5399
|
}
|
|
5406
|
-
function
|
|
5400
|
+
function Ft(c) {
|
|
5407
5401
|
return c.type === "ExpressionStatement" && c.expression.type === "Literal" && c.expression.value === "use strict";
|
|
5408
5402
|
}
|
|
5409
5403
|
function j(c) {
|
|
5410
|
-
return
|
|
5404
|
+
return T === c ? (D(), !0) : !1;
|
|
5411
5405
|
}
|
|
5412
|
-
function
|
|
5413
|
-
return !r.strictSemicolons && (
|
|
5406
|
+
function ft() {
|
|
5407
|
+
return !r.strictSemicolons && (T === St || T === xe || ut.test(t.slice(q, p)));
|
|
5414
5408
|
}
|
|
5415
|
-
function
|
|
5416
|
-
!j(
|
|
5409
|
+
function be() {
|
|
5410
|
+
!j(ae) && !ft() && oe();
|
|
5417
5411
|
}
|
|
5418
5412
|
function $(c) {
|
|
5419
|
-
|
|
5413
|
+
T === c ? D() : oe();
|
|
5420
5414
|
}
|
|
5421
|
-
function
|
|
5422
|
-
|
|
5415
|
+
function oe() {
|
|
5416
|
+
k(p, "Unexpected token");
|
|
5423
5417
|
}
|
|
5424
|
-
function
|
|
5425
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" &&
|
|
5418
|
+
function pt(c) {
|
|
5419
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), H && c.type === "Identifier" && ot(c.name) && k(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5426
5420
|
}
|
|
5427
|
-
function
|
|
5428
|
-
|
|
5421
|
+
function oa(c) {
|
|
5422
|
+
je = q = a, r.locations && (Ne = new ge()), me = H = !1, B = [], we();
|
|
5429
5423
|
var d = c || z(), y = !0;
|
|
5430
|
-
for (c || (d.body = []);
|
|
5431
|
-
var
|
|
5432
|
-
d.body.push(
|
|
5424
|
+
for (c || (d.body = []); T !== St; ) {
|
|
5425
|
+
var g = Z();
|
|
5426
|
+
d.body.push(g), y && Ft(g) && Mt(!0), y = !1;
|
|
5433
5427
|
}
|
|
5434
5428
|
return P(d, "Program");
|
|
5435
5429
|
}
|
|
5436
|
-
var
|
|
5430
|
+
var Ut = { kind: "loop" }, ua = { kind: "switch" };
|
|
5437
5431
|
function Z() {
|
|
5438
|
-
(
|
|
5439
|
-
var c =
|
|
5432
|
+
(T === $r || T === _e && x === "/=") && we(!0);
|
|
5433
|
+
var c = T, d = z();
|
|
5440
5434
|
switch (c) {
|
|
5441
|
-
case
|
|
5442
|
-
case
|
|
5435
|
+
case xt:
|
|
5436
|
+
case Rr:
|
|
5443
5437
|
D();
|
|
5444
|
-
var y = c ===
|
|
5445
|
-
j(
|
|
5446
|
-
for (var
|
|
5447
|
-
var C = B[
|
|
5438
|
+
var y = c === xt;
|
|
5439
|
+
j(ae) || ft() ? d.label = null : T !== Se ? oe() : (d.label = pe(), be());
|
|
5440
|
+
for (var g = 0; g < B.length; ++g) {
|
|
5441
|
+
var C = B[g];
|
|
5448
5442
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5449
5443
|
break;
|
|
5450
5444
|
}
|
|
5451
|
-
return
|
|
5445
|
+
return g === B.length && k(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5446
|
+
case Or:
|
|
5447
|
+
return D(), be(), P(d, "DebuggerStatement");
|
|
5452
5448
|
case Nr:
|
|
5453
|
-
return D(),
|
|
5454
|
-
case
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
if (D(), B.push(jt), $(re), O === ne) return Bt(d, null);
|
|
5458
|
-
if (O === At) {
|
|
5449
|
+
return D(), B.push(Ut), d.body = Z(), B.pop(), $(kt), d.test = Ye(), be(), P(d, "DoWhileStatement");
|
|
5450
|
+
case wr:
|
|
5451
|
+
if (D(), B.push(Ut), $(ie), T === ae) return jt(d, null);
|
|
5452
|
+
if (T === At) {
|
|
5459
5453
|
var w = z();
|
|
5460
|
-
return D(),
|
|
5454
|
+
return D(), nn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(it) ? rn(d, w) : jt(d, w);
|
|
5461
5455
|
}
|
|
5462
5456
|
var w = X(!1, !0);
|
|
5463
|
-
return j(
|
|
5457
|
+
return j(it) ? (pt(w), rn(d, w)) : jt(d, w);
|
|
5458
|
+
case Pt:
|
|
5459
|
+
return D(), Yt(d, !0);
|
|
5460
|
+
case Pr:
|
|
5461
|
+
return D(), d.test = Ye(), d.consequent = Z(), d.alternate = j(Sr) ? Z() : null, P(d, "IfStatement");
|
|
5462
|
+
case Cr:
|
|
5463
|
+
return !me && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(ae) || ft() ? d.argument = null : (d.argument = X(), be()), P(d, "ReturnStatement");
|
|
5464
5464
|
case Ct:
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
case kt:
|
|
5471
|
-
D(), d.discriminant = Ve(), d.cases = [], $(Ue), B.push(la);
|
|
5472
|
-
for (var k, U; O !== Ne; )
|
|
5473
|
-
if (O === Pt || O === Sr) {
|
|
5474
|
-
var ze = O === Pt;
|
|
5475
|
-
k && P(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), ze ? k.test = X() : (U && A(Me, "Multiple default clauses"), U = !0, k.test = null), $(je);
|
|
5465
|
+
D(), d.discriminant = Ye(), d.cases = [], $(Be), B.push(ua);
|
|
5466
|
+
for (var A, U; T !== xe; )
|
|
5467
|
+
if (T === wt || T === Tr) {
|
|
5468
|
+
var We = T === wt;
|
|
5469
|
+
A && P(A, "SwitchCase"), d.cases.push(A = z()), A.consequent = [], D(), We ? A.test = X() : (U && k(je, "Multiple default clauses"), U = !0, A.test = null), $($e);
|
|
5476
5470
|
} else
|
|
5477
|
-
|
|
5478
|
-
return
|
|
5479
|
-
case
|
|
5480
|
-
return D(),
|
|
5481
|
-
case
|
|
5482
|
-
if (D(), d.block =
|
|
5483
|
-
var
|
|
5484
|
-
D(), $(
|
|
5471
|
+
A || oe(), A.consequent.push(Z());
|
|
5472
|
+
return A && P(A, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5473
|
+
case Ar:
|
|
5474
|
+
return D(), ut.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = X(), be(), P(d, "ThrowStatement");
|
|
5475
|
+
case kr:
|
|
5476
|
+
if (D(), d.block = ze(), d.handler = null, T === Er) {
|
|
5477
|
+
var Ce = z();
|
|
5478
|
+
D(), $(ie), Ce.param = pe(), H && ot(Ce.param.name) && k(Ce.param.start, "Binding " + Ce.param.name + " in strict mode"), $(Q), Ce.body = ze(), d.handler = P(Ce, "CatchClause");
|
|
5485
5479
|
}
|
|
5486
|
-
return d.finalizer = j(
|
|
5480
|
+
return d.finalizer = j(xr) ? ze() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5487
5481
|
case At:
|
|
5488
|
-
return D(),
|
|
5489
|
-
case
|
|
5490
|
-
return D(), d.test =
|
|
5491
|
-
case
|
|
5492
|
-
return H &&
|
|
5493
|
-
case
|
|
5494
|
-
return
|
|
5495
|
-
case
|
|
5482
|
+
return D(), nn(d), be(), P(d, "VariableDeclaration");
|
|
5483
|
+
case kt:
|
|
5484
|
+
return D(), d.test = Ye(), B.push(Ut), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5485
|
+
case Ir:
|
|
5486
|
+
return H && k(p, "'with' in strict mode"), D(), d.object = Ye(), d.body = Z(), P(d, "WithStatement");
|
|
5487
|
+
case Be:
|
|
5488
|
+
return ze();
|
|
5489
|
+
case ae:
|
|
5496
5490
|
return D(), P(d, "EmptyStatement");
|
|
5497
5491
|
default:
|
|
5498
|
-
var
|
|
5499
|
-
if (c ===
|
|
5500
|
-
for (var
|
|
5501
|
-
B[
|
|
5502
|
-
var
|
|
5503
|
-
return B.push({ name:
|
|
5492
|
+
var Xt = x, dt = X();
|
|
5493
|
+
if (c === Se && dt.type === "Identifier" && j($e)) {
|
|
5494
|
+
for (var g = 0; g < B.length; ++g)
|
|
5495
|
+
B[g].name === Xt && k(dt.start, "Label '" + Xt + "' is already declared");
|
|
5496
|
+
var da = T.isLoop ? "loop" : T === Ct ? "switch" : null;
|
|
5497
|
+
return B.push({ name: Xt, kind: da }), d.body = Z(), B.pop(), d.label = dt, P(d, "LabeledStatement");
|
|
5504
5498
|
} else
|
|
5505
|
-
return d.expression =
|
|
5499
|
+
return d.expression = dt, be(), P(d, "ExpressionStatement");
|
|
5506
5500
|
}
|
|
5507
5501
|
}
|
|
5508
|
-
function
|
|
5509
|
-
$(
|
|
5502
|
+
function Ye() {
|
|
5503
|
+
$(ie);
|
|
5510
5504
|
var c = X();
|
|
5511
|
-
return $(
|
|
5505
|
+
return $(Q), c;
|
|
5512
5506
|
}
|
|
5513
|
-
function
|
|
5514
|
-
var d = z(), y = !0,
|
|
5515
|
-
for (d.body = [], $(
|
|
5507
|
+
function ze(c) {
|
|
5508
|
+
var d = z(), y = !0, g = !1, C;
|
|
5509
|
+
for (d.body = [], $(Be); !j(xe); ) {
|
|
5516
5510
|
var w = Z();
|
|
5517
|
-
d.body.push(w), y && c &&
|
|
5511
|
+
d.body.push(w), y && c && Ft(w) && (C = g, Mt(g = !0)), y = !1;
|
|
5518
5512
|
}
|
|
5519
|
-
return
|
|
5513
|
+
return g && !C && Mt(!1), P(d, "BlockStatement");
|
|
5520
5514
|
}
|
|
5521
|
-
function
|
|
5522
|
-
return c.init = d, $(
|
|
5515
|
+
function jt(c, d) {
|
|
5516
|
+
return c.init = d, $(ae), c.test = T === ae ? null : X(), $(ae), c.update = T === Q ? null : X(), $(Q), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5523
5517
|
}
|
|
5524
|
-
function
|
|
5525
|
-
return c.left = d, c.right = X(), $(
|
|
5518
|
+
function rn(c, d) {
|
|
5519
|
+
return c.left = d, c.right = X(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5526
5520
|
}
|
|
5527
|
-
function
|
|
5521
|
+
function nn(c, d) {
|
|
5528
5522
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5529
5523
|
var y = z();
|
|
5530
|
-
if (y.id =
|
|
5524
|
+
if (y.id = pe(), H && ot(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Vr) ? X(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(ce)) break;
|
|
5531
5525
|
}
|
|
5532
5526
|
}
|
|
5533
5527
|
function X(c, d) {
|
|
5534
|
-
var y =
|
|
5535
|
-
if (!c &&
|
|
5536
|
-
var
|
|
5537
|
-
for (
|
|
5538
|
-
return P(
|
|
5528
|
+
var y = Bt(d);
|
|
5529
|
+
if (!c && T === ce) {
|
|
5530
|
+
var g = fe(y);
|
|
5531
|
+
for (g.expressions = [y]; j(ce); ) g.expressions.push(Bt(d));
|
|
5532
|
+
return P(g, "SequenceExpression");
|
|
5539
5533
|
}
|
|
5540
5534
|
return y;
|
|
5541
5535
|
}
|
|
5542
|
-
function
|
|
5543
|
-
var d =
|
|
5544
|
-
if (
|
|
5545
|
-
var y =
|
|
5546
|
-
return y.operator = x, y.left = d, D(), y.right =
|
|
5536
|
+
function Bt(c) {
|
|
5537
|
+
var d = sa(c);
|
|
5538
|
+
if (T.isAssign) {
|
|
5539
|
+
var y = fe(d);
|
|
5540
|
+
return y.operator = x, y.left = d, D(), y.right = Bt(c), pt(d), P(y, "AssignmentExpression");
|
|
5547
5541
|
}
|
|
5548
5542
|
return d;
|
|
5549
5543
|
}
|
|
5550
|
-
function
|
|
5551
|
-
var d =
|
|
5552
|
-
if (j(
|
|
5553
|
-
var y =
|
|
5554
|
-
return y.test = d, y.consequent = X(!0), $(
|
|
5544
|
+
function sa(c) {
|
|
5545
|
+
var d = la(c);
|
|
5546
|
+
if (j(Br)) {
|
|
5547
|
+
var y = fe(d);
|
|
5548
|
+
return y.test = d, y.consequent = X(!0), $($e), y.alternate = X(!0, c), P(y, "ConditionalExpression");
|
|
5555
5549
|
}
|
|
5556
5550
|
return d;
|
|
5557
5551
|
}
|
|
5558
|
-
function
|
|
5559
|
-
return Vt(
|
|
5552
|
+
function la(c) {
|
|
5553
|
+
return $t(Vt(), -1, c);
|
|
5560
5554
|
}
|
|
5561
|
-
function
|
|
5562
|
-
var
|
|
5563
|
-
if (
|
|
5564
|
-
var C =
|
|
5555
|
+
function $t(c, d, y) {
|
|
5556
|
+
var g = T.binop;
|
|
5557
|
+
if (g !== null && (!y || T !== it) && g > d) {
|
|
5558
|
+
var C = fe(c);
|
|
5565
5559
|
C.left = c, C.operator = x;
|
|
5566
|
-
var w =
|
|
5567
|
-
D(), C.right = Vt(
|
|
5568
|
-
var
|
|
5569
|
-
return
|
|
5560
|
+
var w = T;
|
|
5561
|
+
D(), C.right = $t(Vt(), g, y);
|
|
5562
|
+
var A = P(C, w === Yr || w === zr ? "LogicalExpression" : "BinaryExpression");
|
|
5563
|
+
return $t(A, d, y);
|
|
5570
5564
|
}
|
|
5571
5565
|
return c;
|
|
5572
5566
|
}
|
|
5573
|
-
function
|
|
5574
|
-
if (
|
|
5575
|
-
var c = z(), d =
|
|
5576
|
-
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument =
|
|
5567
|
+
function Vt() {
|
|
5568
|
+
if (T.prefix) {
|
|
5569
|
+
var c = z(), d = T.isUpdate;
|
|
5570
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Vt(), d ? pt(c.argument) : H && c.operator === "delete" && c.argument.type === "Identifier" && k(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5577
5571
|
}
|
|
5578
|
-
for (var y =
|
|
5579
|
-
var c =
|
|
5580
|
-
c.operator = x, c.prefix = !1, c.argument = y,
|
|
5572
|
+
for (var y = ca(); T.postfix && !ft(); ) {
|
|
5573
|
+
var c = fe(y);
|
|
5574
|
+
c.operator = x, c.prefix = !1, c.argument = y, pt(y), D(), y = P(c, "UpdateExpression");
|
|
5581
5575
|
}
|
|
5582
5576
|
return y;
|
|
5583
5577
|
}
|
|
5584
|
-
function
|
|
5585
|
-
return
|
|
5578
|
+
function ca() {
|
|
5579
|
+
return Xe(Gt());
|
|
5586
5580
|
}
|
|
5587
|
-
function
|
|
5581
|
+
function Xe(c, d) {
|
|
5588
5582
|
var y;
|
|
5589
|
-
return j(
|
|
5583
|
+
return j(jr) ? (y = fe(c), y.object = c, y.property = pe(!0), y.computed = !1, Xe(P(y, "MemberExpression"), d)) : j(It) ? (y = fe(c), y.object = c, y.property = X(), y.computed = !0, $(Dt), Xe(P(y, "MemberExpression"), d)) : !d && j(ie) ? (y = fe(c), y.callee = c, y.arguments = zt(Q, !1), Xe(P(y, "CallExpression"), d)) : c;
|
|
5590
5584
|
}
|
|
5591
|
-
function
|
|
5585
|
+
function Gt() {
|
|
5592
5586
|
var c;
|
|
5593
|
-
switch (
|
|
5594
|
-
case
|
|
5587
|
+
switch (T) {
|
|
5588
|
+
case Lr:
|
|
5595
5589
|
return c = z(), D(), P(c, "ThisExpression");
|
|
5596
|
-
case
|
|
5597
|
-
return
|
|
5598
|
-
case
|
|
5599
|
-
case
|
|
5600
|
-
case
|
|
5590
|
+
case Se:
|
|
5591
|
+
return pe();
|
|
5592
|
+
case nt:
|
|
5593
|
+
case Nt:
|
|
5594
|
+
case br:
|
|
5601
5595
|
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5596
|
+
case Mr:
|
|
5597
|
+
case Fr:
|
|
5602
5598
|
case Ur:
|
|
5603
|
-
|
|
5604
|
-
case
|
|
5605
|
-
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5606
|
-
case re:
|
|
5599
|
+
return c = z(), c.value = T.atomValue, c.raw = T.keyword, D(), P(c, "Literal");
|
|
5600
|
+
case ie:
|
|
5607
5601
|
var d = E, y = p;
|
|
5608
5602
|
D();
|
|
5609
|
-
var
|
|
5610
|
-
return
|
|
5611
|
-
case
|
|
5612
|
-
return c = z(), D(), c.elements =
|
|
5613
|
-
case
|
|
5614
|
-
return
|
|
5615
|
-
case
|
|
5616
|
-
return c = z(), D(),
|
|
5617
|
-
case
|
|
5618
|
-
return
|
|
5603
|
+
var g = X();
|
|
5604
|
+
return g.start = y, g.end = v, r.locations && (g.loc.start = d, g.loc.end = S), r.ranges && (g.range = [y, v]), $(Q), g;
|
|
5605
|
+
case It:
|
|
5606
|
+
return c = z(), D(), c.elements = zt(Dt, !0, !0), P(c, "ArrayExpression");
|
|
5607
|
+
case Be:
|
|
5608
|
+
return pa();
|
|
5609
|
+
case Pt:
|
|
5610
|
+
return c = z(), D(), Yt(c, !1);
|
|
5611
|
+
case Dr:
|
|
5612
|
+
return fa();
|
|
5619
5613
|
}
|
|
5620
|
-
|
|
5614
|
+
oe();
|
|
5621
5615
|
}
|
|
5622
|
-
function
|
|
5616
|
+
function fa() {
|
|
5623
5617
|
var c = z();
|
|
5624
|
-
return D(), c.callee =
|
|
5618
|
+
return D(), c.callee = Xe(Gt(), !0), c.arguments = j(ie) ? zt(Q, !1) : Ai, P(c, "NewExpression");
|
|
5625
5619
|
}
|
|
5626
|
-
function
|
|
5620
|
+
function pa() {
|
|
5627
5621
|
var c = z(), d = !0, y = !1;
|
|
5628
|
-
for (c.properties = [], D(); !j(
|
|
5622
|
+
for (c.properties = [], D(); !j(xe); ) {
|
|
5629
5623
|
if (d)
|
|
5630
5624
|
d = !1;
|
|
5631
|
-
else if ($(
|
|
5625
|
+
else if ($(ce), r.allowTrailingCommas && j(xe))
|
|
5632
5626
|
break;
|
|
5633
|
-
var
|
|
5634
|
-
if (j(
|
|
5635
|
-
for (var
|
|
5636
|
-
var U = c.properties[
|
|
5637
|
-
if (U.key.name ===
|
|
5638
|
-
var
|
|
5639
|
-
|
|
5627
|
+
var g = { key: an() }, C = !1, w;
|
|
5628
|
+
if (j($e) ? (g.value = X(!0), w = g.kind = "init") : g.key.type === "Identifier" && (g.key.name === "get" || g.key.name === "set") ? (C = y = !0, w = g.kind = g.key.name, g.key = an(), T !== ie && oe(), g.value = Yt(z(), !1)) : oe(), g.key.type === "Identifier" && (H || y))
|
|
5629
|
+
for (var A = 0; A < c.properties.length; ++A) {
|
|
5630
|
+
var U = c.properties[A];
|
|
5631
|
+
if (U.key.name === g.key.name) {
|
|
5632
|
+
var We = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5633
|
+
We && !H && w === "init" && U.kind === "init" && (We = !1), We && k(g.key.start, "Redefinition of property");
|
|
5640
5634
|
}
|
|
5641
5635
|
}
|
|
5642
|
-
c.properties.push(
|
|
5636
|
+
c.properties.push(g);
|
|
5643
5637
|
}
|
|
5644
5638
|
return P(c, "ObjectExpression");
|
|
5645
5639
|
}
|
|
5646
|
-
function
|
|
5647
|
-
return
|
|
5640
|
+
function an() {
|
|
5641
|
+
return T === nt || T === Nt ? Gt() : pe(!0);
|
|
5648
5642
|
}
|
|
5649
|
-
function
|
|
5650
|
-
|
|
5643
|
+
function Yt(c, d) {
|
|
5644
|
+
T === Se ? c.id = pe() : d ? oe() : c.id = null, c.params = [];
|
|
5651
5645
|
var y = !0;
|
|
5652
|
-
for ($(
|
|
5653
|
-
y ? y = !1 : $(
|
|
5654
|
-
var
|
|
5655
|
-
if (
|
|
5646
|
+
for ($(ie); !j(Q); )
|
|
5647
|
+
y ? y = !1 : $(ce), c.params.push(pe());
|
|
5648
|
+
var g = me, C = B;
|
|
5649
|
+
if (me = !0, B = [], c.body = ze(!0), me = g, B = C, H || c.body.body.length && Ft(c.body.body[0]))
|
|
5656
5650
|
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5657
|
-
var
|
|
5658
|
-
if ((
|
|
5651
|
+
var A = w < 0 ? c.id : c.params[w];
|
|
5652
|
+
if ((Xr(A.name) || ot(A.name)) && k(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5659
5653
|
for (var U = 0; U < w; ++U)
|
|
5660
|
-
|
|
5654
|
+
A.name === c.params[U].name && k(A.start, "Argument name clash in strict mode");
|
|
5661
5655
|
}
|
|
5662
5656
|
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5663
5657
|
}
|
|
5664
|
-
function
|
|
5665
|
-
for (var
|
|
5658
|
+
function zt(c, d, y) {
|
|
5659
|
+
for (var g = [], C = !0; !j(c); ) {
|
|
5666
5660
|
if (C)
|
|
5667
5661
|
C = !1;
|
|
5668
|
-
else if ($(
|
|
5662
|
+
else if ($(ce), d && r.allowTrailingCommas && j(c))
|
|
5669
5663
|
break;
|
|
5670
|
-
|
|
5664
|
+
g.push(y && T === ce ? null : X(!0));
|
|
5671
5665
|
}
|
|
5672
|
-
return
|
|
5666
|
+
return g;
|
|
5673
5667
|
}
|
|
5674
|
-
function
|
|
5668
|
+
function pe(c) {
|
|
5675
5669
|
var d = z();
|
|
5676
|
-
return c && r.forbidReserved === "everywhere" && (c = !1),
|
|
5670
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), T === Se ? (!c && (r.forbidReserved && Vi(x) || H && Xr(x)) && t.slice(p, v).indexOf("\\") === -1 && k(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && T.keyword ? d.name = T.keyword : oe(), I = !1, D(), P(d, "Identifier");
|
|
5677
5671
|
}
|
|
5678
5672
|
});
|
|
5679
5673
|
}
|
|
@@ -5690,11 +5684,11 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5690
5684
|
)
|
|
5691
5685
|
/******/
|
|
5692
5686
|
}, h = {};
|
|
5693
|
-
function
|
|
5694
|
-
var
|
|
5695
|
-
if (
|
|
5696
|
-
return
|
|
5697
|
-
var
|
|
5687
|
+
function _(m) {
|
|
5688
|
+
var R = h[m];
|
|
5689
|
+
if (R !== void 0)
|
|
5690
|
+
return R.exports;
|
|
5691
|
+
var O = h[m] = {
|
|
5698
5692
|
/******/
|
|
5699
5693
|
// no module.id needed
|
|
5700
5694
|
/******/
|
|
@@ -5703,63 +5697,63 @@ const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5703
5697
|
exports: {}
|
|
5704
5698
|
/******/
|
|
5705
5699
|
};
|
|
5706
|
-
return f[m].call(
|
|
5700
|
+
return f[m].call(O.exports, O, O.exports, _), O.exports;
|
|
5707
5701
|
}
|
|
5708
|
-
|
|
5709
|
-
for (var
|
|
5710
|
-
|
|
5711
|
-
},
|
|
5702
|
+
_.d = (m, R) => {
|
|
5703
|
+
for (var O in R)
|
|
5704
|
+
_.o(R, O) && !_.o(m, O) && Object.defineProperty(m, O, { enumerable: !0, get: R[O] });
|
|
5705
|
+
}, _.o = (m, R) => Object.prototype.hasOwnProperty.call(m, R), _.r = (m) => {
|
|
5712
5706
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5713
5707
|
};
|
|
5714
|
-
var
|
|
5708
|
+
var b = {};
|
|
5715
5709
|
return (() => {
|
|
5716
5710
|
/*!*******************************!*\
|
|
5717
5711
|
!*** ./src/js-interpreter.js ***!
|
|
5718
5712
|
\*******************************/
|
|
5719
|
-
|
|
5713
|
+
_.r(b), _.d(b, {
|
|
5720
5714
|
/* harmony export */
|
|
5721
|
-
default: () =>
|
|
5715
|
+
default: () => O
|
|
5722
5716
|
/* harmony export */
|
|
5723
5717
|
});
|
|
5724
|
-
const m =
|
|
5718
|
+
const m = _(
|
|
5725
5719
|
/*! ../original-repo/acorn */
|
|
5726
5720
|
"./original-repo/acorn.js"
|
|
5727
5721
|
);
|
|
5728
5722
|
globalThis.acorn = m;
|
|
5729
|
-
const { Interpreter:
|
|
5723
|
+
const { Interpreter: R } = _(
|
|
5730
5724
|
/*! ../original-repo/interpreter */
|
|
5731
5725
|
"./original-repo/interpreter.js"
|
|
5732
|
-
),
|
|
5733
|
-
})(),
|
|
5726
|
+
), O = R;
|
|
5727
|
+
})(), b = b.default, b;
|
|
5734
5728
|
})()
|
|
5735
5729
|
));
|
|
5736
|
-
})(
|
|
5737
|
-
var Vl =
|
|
5738
|
-
const Gl = /* @__PURE__ */
|
|
5730
|
+
})(Pi);
|
|
5731
|
+
var Vl = Pi.exports;
|
|
5732
|
+
const Gl = /* @__PURE__ */ Fl(Vl);
|
|
5739
5733
|
function Yl(n, o) {
|
|
5740
|
-
function f(
|
|
5741
|
-
const
|
|
5742
|
-
console.log(
|
|
5734
|
+
function f(R) {
|
|
5735
|
+
const O = n.pseudoToNative(R);
|
|
5736
|
+
console.log(O);
|
|
5743
5737
|
}
|
|
5744
|
-
function h(
|
|
5745
|
-
const
|
|
5738
|
+
function h(R) {
|
|
5739
|
+
const O = n.pseudoToNative(R);
|
|
5746
5740
|
let r = "";
|
|
5747
|
-
typeof
|
|
5741
|
+
typeof O == "object" ? r = JSON.stringify(O) : r = String(O), qe.emit("consoleAppend", r);
|
|
5748
5742
|
}
|
|
5749
|
-
function
|
|
5750
|
-
const r = n.pseudoToNative(
|
|
5743
|
+
function _(R, O) {
|
|
5744
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(O);
|
|
5751
5745
|
r === "info" ? Ta(t) : r === "success" ? Na(t) : r === "warning" ? Sa(t) : r === "error" && xa(t);
|
|
5752
5746
|
}
|
|
5753
|
-
function
|
|
5754
|
-
const r = n.pseudoToNative(
|
|
5747
|
+
function b(R, O) {
|
|
5748
|
+
const r = n.pseudoToNative(R), t = n.pseudoToNative(O);
|
|
5755
5749
|
setTimeout(() => {
|
|
5756
5750
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5757
5751
|
}, t);
|
|
5758
5752
|
}
|
|
5759
|
-
function m(
|
|
5760
|
-
const r = n.pseudoToNative(
|
|
5753
|
+
function m(R, O) {
|
|
5754
|
+
const r = n.pseudoToNative(R);
|
|
5761
5755
|
setTimeout(() => {
|
|
5762
|
-
|
|
5756
|
+
O(), n.run();
|
|
5763
5757
|
}, r);
|
|
5764
5758
|
}
|
|
5765
5759
|
n.setProperty(
|
|
@@ -5773,11 +5767,11 @@ function Yl(n, o) {
|
|
|
5773
5767
|
), n.setProperty(
|
|
5774
5768
|
o,
|
|
5775
5769
|
"__messageV1__",
|
|
5776
|
-
n.createNativeFunction(
|
|
5770
|
+
n.createNativeFunction(_)
|
|
5777
5771
|
), n.setProperty(
|
|
5778
5772
|
o,
|
|
5779
5773
|
"__timeoutV1__",
|
|
5780
|
-
n.createNativeFunction(
|
|
5774
|
+
n.createNativeFunction(b)
|
|
5781
5775
|
), n.setProperty(
|
|
5782
5776
|
o,
|
|
5783
5777
|
"__delayV1__",
|
|
@@ -5786,12 +5780,12 @@ function Yl(n, o) {
|
|
|
5786
5780
|
}
|
|
5787
5781
|
class zl {
|
|
5788
5782
|
constructor(o) {
|
|
5789
|
-
|
|
5790
|
-
|
|
5783
|
+
Wt(this, "context");
|
|
5784
|
+
Wt(this, "nodes");
|
|
5791
5785
|
this.context = o, this.nodes = {};
|
|
5792
5786
|
const f = (h) => {
|
|
5793
|
-
var
|
|
5794
|
-
this.nodes[h.basic.id] = h, (
|
|
5787
|
+
var _;
|
|
5788
|
+
this.nodes[h.basic.id] = h, (_ = h.children) == null || _.forEach((b) => f(b));
|
|
5795
5789
|
};
|
|
5796
5790
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5797
5791
|
}
|
|
@@ -5799,18 +5793,18 @@ class zl {
|
|
|
5799
5793
|
return this.nodes[o];
|
|
5800
5794
|
}
|
|
5801
5795
|
addNode(o, f, h) {
|
|
5802
|
-
const
|
|
5803
|
-
let
|
|
5796
|
+
const _ = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5797
|
+
let b;
|
|
5804
5798
|
if (o) {
|
|
5805
|
-
const
|
|
5806
|
-
if (!
|
|
5807
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5808
|
-
if (!
|
|
5809
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5810
|
-
|
|
5799
|
+
const R = this.getNode(o);
|
|
5800
|
+
if (!R)
|
|
5801
|
+
return console.error(`NodeMgr/addNode parent not found, ${_}`), "";
|
|
5802
|
+
if (!R.children)
|
|
5803
|
+
return console.error(`NodeMgr/addNode parent no children, ${_}`), "";
|
|
5804
|
+
b = R.children;
|
|
5811
5805
|
} else
|
|
5812
|
-
|
|
5813
|
-
if (!
|
|
5806
|
+
b = this.context.data.view.nodes;
|
|
5807
|
+
if (!b)
|
|
5814
5808
|
return "";
|
|
5815
5809
|
const m = sl(
|
|
5816
5810
|
this.context.type,
|
|
@@ -5819,7 +5813,7 @@ class zl {
|
|
|
5819
5813
|
f,
|
|
5820
5814
|
h
|
|
5821
5815
|
);
|
|
5822
|
-
return m ? (
|
|
5816
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${_}`), "");
|
|
5823
5817
|
}
|
|
5824
5818
|
deleteNode(o) {
|
|
5825
5819
|
this.getNode(o);
|
|
@@ -5827,74 +5821,78 @@ class zl {
|
|
|
5827
5821
|
}
|
|
5828
5822
|
function Xl(n, o, f) {
|
|
5829
5823
|
const h = new zl(n);
|
|
5830
|
-
function
|
|
5831
|
-
const
|
|
5832
|
-
return o.nativeToPseudo(
|
|
5824
|
+
function _(e, i, u) {
|
|
5825
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), p = h.addNode(s, l, a);
|
|
5826
|
+
return o.nativeToPseudo(p);
|
|
5833
5827
|
}
|
|
5834
|
-
function
|
|
5835
|
-
const
|
|
5836
|
-
h.deleteNode(
|
|
5828
|
+
function b(e) {
|
|
5829
|
+
const i = o.pseudoToNative(e);
|
|
5830
|
+
h.deleteNode(i);
|
|
5837
5831
|
}
|
|
5838
|
-
function m(
|
|
5839
|
-
const
|
|
5840
|
-
let
|
|
5841
|
-
if (
|
|
5842
|
-
console.error(`getNodePropV1 node not found, ${
|
|
5832
|
+
function m(e, i) {
|
|
5833
|
+
const u = o.pseudoToNative(e), s = o.pseudoToNative(i), l = `id=${u} keys=${s}`;
|
|
5834
|
+
let a;
|
|
5835
|
+
if (u === "globality" ? a = n.data.view : a = h.getNode(u), !a) {
|
|
5836
|
+
console.error(`getNodePropV1 node not found, ${l}`);
|
|
5843
5837
|
return;
|
|
5844
5838
|
}
|
|
5845
|
-
const
|
|
5846
|
-
for (let
|
|
5847
|
-
const
|
|
5848
|
-
if (
|
|
5849
|
-
return o.nativeToPseudo(
|
|
5850
|
-
if (!
|
|
5851
|
-
console.error(`getNodePropV1 unpkg failed, ${
|
|
5839
|
+
const p = s.split("."), v = p.length;
|
|
5840
|
+
for (let E = 0; E < v; E++) {
|
|
5841
|
+
const S = p[E];
|
|
5842
|
+
if (E === v - 1)
|
|
5843
|
+
return o.nativeToPseudo(a[S]);
|
|
5844
|
+
if (!a) {
|
|
5845
|
+
console.error(`getNodePropV1 unpkg failed, ${l}`);
|
|
5852
5846
|
return;
|
|
5853
5847
|
}
|
|
5854
|
-
|
|
5848
|
+
a = a[S];
|
|
5855
5849
|
}
|
|
5856
5850
|
}
|
|
5857
|
-
function
|
|
5858
|
-
const
|
|
5859
|
-
let
|
|
5860
|
-
if (
|
|
5861
|
-
console.error(`setNodePropV1 node not found, ${
|
|
5851
|
+
function R(e, i, u) {
|
|
5852
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = o.pseudoToNative(u), p = `id=${s} keys=${l} value=${a}`;
|
|
5853
|
+
let v;
|
|
5854
|
+
if (s === "globality" ? v = n.data.view : v = h.getNode(s), !v) {
|
|
5855
|
+
console.error(`setNodePropV1 node not found, ${p}`);
|
|
5862
5856
|
return;
|
|
5863
5857
|
}
|
|
5864
|
-
const
|
|
5865
|
-
for (let
|
|
5866
|
-
const
|
|
5867
|
-
if (
|
|
5868
|
-
|
|
5858
|
+
const E = l.split("."), S = E.length;
|
|
5859
|
+
for (let T = 0; T < S; T++) {
|
|
5860
|
+
const x = E[T];
|
|
5861
|
+
if (T === S - 1)
|
|
5862
|
+
v[x] = a;
|
|
5869
5863
|
else {
|
|
5870
|
-
if (!
|
|
5871
|
-
console.error(`setNodePropV1 unpkg failed, ${
|
|
5864
|
+
if (!v) {
|
|
5865
|
+
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5872
5866
|
return;
|
|
5873
5867
|
}
|
|
5874
|
-
|
|
5868
|
+
v = v[x];
|
|
5875
5869
|
}
|
|
5876
5870
|
}
|
|
5877
5871
|
}
|
|
5878
|
-
function
|
|
5879
|
-
const
|
|
5880
|
-
|
|
5881
|
-
|
|
5872
|
+
function O(e, i, u, s) {
|
|
5873
|
+
const l = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(u), v = { outputs: [] };
|
|
5874
|
+
qe.emit(`callMethod@${l}`, { name: a, inputs: p, result: v }), s(o.nativeToPseudo(v.outputs)), o.run();
|
|
5875
|
+
}
|
|
5876
|
+
function r(e, i, u) {
|
|
5877
|
+
const s = o.pseudoToNative(e), l = o.pseudoToNative(i);
|
|
5878
|
+
wa({ title: s, text: l }).then((a) => {
|
|
5879
|
+
u(o.nativeToPseudo(a)), o.run();
|
|
5882
5880
|
});
|
|
5883
5881
|
}
|
|
5884
|
-
function
|
|
5885
|
-
const
|
|
5886
|
-
Pa({ title:
|
|
5887
|
-
|
|
5882
|
+
function t(e, i, u, s) {
|
|
5883
|
+
const l = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(u);
|
|
5884
|
+
Pa({ title: l, label: a, value: p }).then((v) => {
|
|
5885
|
+
s(o.nativeToPseudo(v)), o.run();
|
|
5888
5886
|
});
|
|
5889
5887
|
}
|
|
5890
5888
|
o.setProperty(
|
|
5891
5889
|
f,
|
|
5892
5890
|
"__addNodeV1__",
|
|
5893
|
-
o.createNativeFunction(
|
|
5891
|
+
o.createNativeFunction(_)
|
|
5894
5892
|
), o.setProperty(
|
|
5895
5893
|
f,
|
|
5896
5894
|
"__deleteNodeV1__",
|
|
5897
|
-
o.createNativeFunction(
|
|
5895
|
+
o.createNativeFunction(b)
|
|
5898
5896
|
), o.setProperty(
|
|
5899
5897
|
f,
|
|
5900
5898
|
"__getNodePropV1__",
|
|
@@ -5902,15 +5900,19 @@ function Xl(n, o, f) {
|
|
|
5902
5900
|
), o.setProperty(
|
|
5903
5901
|
f,
|
|
5904
5902
|
"__setNodePropV1__",
|
|
5905
|
-
o.createNativeFunction(
|
|
5903
|
+
o.createNativeFunction(R)
|
|
5904
|
+
), o.setProperty(
|
|
5905
|
+
f,
|
|
5906
|
+
"__callNodeMethodV1__",
|
|
5907
|
+
o.createAsyncFunction(O)
|
|
5906
5908
|
), o.setProperty(
|
|
5907
5909
|
f,
|
|
5908
5910
|
"__openConfirmDlgV1__",
|
|
5909
|
-
o.createAsyncFunction(
|
|
5911
|
+
o.createAsyncFunction(r)
|
|
5910
5912
|
), o.setProperty(
|
|
5911
5913
|
f,
|
|
5912
5914
|
"__openPromptDlgV1__",
|
|
5913
|
-
o.createAsyncFunction(
|
|
5915
|
+
o.createAsyncFunction(t)
|
|
5914
5916
|
);
|
|
5915
5917
|
}
|
|
5916
5918
|
function Wl(n, o, f) {
|
|
@@ -6042,8 +6044,8 @@ function __destroy__() {
|
|
|
6042
6044
|
function Ql(n, o) {
|
|
6043
6045
|
const f = new Gl(
|
|
6044
6046
|
Zl,
|
|
6045
|
-
(h,
|
|
6046
|
-
Wl(n, h,
|
|
6047
|
+
(h, _) => {
|
|
6048
|
+
Wl(n, h, _);
|
|
6047
6049
|
}
|
|
6048
6050
|
);
|
|
6049
6051
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -6051,10 +6053,10 @@ __env__ = '${n.env}';
|
|
|
6051
6053
|
__triggerEvent__('globality', 'startup');
|
|
6052
6054
|
`), f.run(), f;
|
|
6053
6055
|
}
|
|
6054
|
-
function
|
|
6056
|
+
function $n(n) {
|
|
6055
6057
|
n.appendCode("__destroy__();"), n.run();
|
|
6056
6058
|
}
|
|
6057
|
-
const ec = /* @__PURE__ */
|
|
6059
|
+
const ec = /* @__PURE__ */ se({
|
|
6058
6060
|
__name: "index",
|
|
6059
6061
|
props: {
|
|
6060
6062
|
id: {},
|
|
@@ -6063,22 +6065,22 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6063
6065
|
outer: { type: Boolean }
|
|
6064
6066
|
},
|
|
6065
6067
|
setup(n) {
|
|
6066
|
-
const { t: o } = Ca(), f = n, h = ll(),
|
|
6068
|
+
const { t: o } = Ca(), f = n, h = ll(), _ = ye(), b = Ti(), m = Ni(), R = Si(), O = cl(), r = N(() => O[f.refContext.refid]);
|
|
6067
6069
|
let t;
|
|
6068
6070
|
Ea(() => {
|
|
6069
|
-
r.value ||
|
|
6071
|
+
r.value || qe.emit("compNotAvail", f.refContext.refid), t && ($n(t), t = void 0), r.value && _ === "runtime" && (t = Ql(
|
|
6070
6072
|
{
|
|
6071
6073
|
env: h,
|
|
6072
6074
|
type: m,
|
|
6073
|
-
data:
|
|
6075
|
+
data: R
|
|
6074
6076
|
},
|
|
6075
6077
|
r.value.data.code.script
|
|
6076
6078
|
), fl(t));
|
|
6077
6079
|
}), Ra(() => {
|
|
6078
|
-
t && (
|
|
6080
|
+
t && ($n(t), t = void 0);
|
|
6079
6081
|
});
|
|
6080
|
-
const { applySize: e } =
|
|
6081
|
-
const v = {}, E =
|
|
6082
|
+
const { applySize: e } = wi(_, b, f), i = N(() => {
|
|
6083
|
+
const v = {}, E = R.type;
|
|
6082
6084
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6083
6085
|
});
|
|
6084
6086
|
function u() {
|
|
@@ -6095,41 +6097,41 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6095
6097
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6096
6098
|
}
|
|
6097
6099
|
function l(v) {
|
|
6098
|
-
const E =
|
|
6099
|
-
let
|
|
6100
|
-
return S ?
|
|
6100
|
+
const E = Ci[R.version].refKey, S = De[E];
|
|
6101
|
+
let T;
|
|
6102
|
+
return S ? T = Je(S.comp, {
|
|
6101
6103
|
refContext: {
|
|
6102
6104
|
parent: f.refContext,
|
|
6103
6105
|
refid: v.ref.id
|
|
6104
6106
|
},
|
|
6105
6107
|
node: v
|
|
6106
|
-
}) : console.assert(!1),
|
|
6108
|
+
}) : console.assert(!1), T;
|
|
6107
6109
|
}
|
|
6108
6110
|
function a(v) {
|
|
6109
|
-
var
|
|
6111
|
+
var T;
|
|
6110
6112
|
let E;
|
|
6111
|
-
const S =
|
|
6112
|
-
return S ? ((
|
|
6113
|
+
const S = De[v.basic.key];
|
|
6114
|
+
return S ? ((T = v.children) == null || T.forEach((x) => {
|
|
6113
6115
|
s(x);
|
|
6114
|
-
}), E =
|
|
6116
|
+
}), E = Je(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
6115
6117
|
}
|
|
6116
6118
|
const p = () => {
|
|
6117
6119
|
const v = [];
|
|
6118
6120
|
if (u())
|
|
6119
|
-
v.push(
|
|
6121
|
+
v.push(Je("div", o("x-runtime-lib.circularRef")));
|
|
6120
6122
|
else if (r.value) {
|
|
6121
6123
|
const E = r.value.data.type;
|
|
6122
6124
|
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
6123
|
-
const
|
|
6124
|
-
v.push(
|
|
6125
|
+
const T = s(S);
|
|
6126
|
+
v.push(T);
|
|
6125
6127
|
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
6126
6128
|
} else
|
|
6127
|
-
v.push(
|
|
6128
|
-
return
|
|
6129
|
+
v.push(Je("div", o("x-runtime-lib.compNotAvail")));
|
|
6130
|
+
return Je("div", { id: f.id, style: i.value }, v);
|
|
6129
6131
|
};
|
|
6130
|
-
return (v, E) => (J(),
|
|
6132
|
+
return (v, E) => (J(), ve(p));
|
|
6131
6133
|
}
|
|
6132
|
-
}),
|
|
6134
|
+
}), Vn = {
|
|
6133
6135
|
key: "ref",
|
|
6134
6136
|
name: "x-runtime-lib.ref",
|
|
6135
6137
|
children: [
|
|
@@ -6141,36 +6143,36 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6141
6143
|
}
|
|
6142
6144
|
]
|
|
6143
6145
|
}, tc = {
|
|
6144
|
-
key:
|
|
6146
|
+
key: _t,
|
|
6145
6147
|
name: "x-runtime-lib.ref",
|
|
6146
6148
|
comp: ec,
|
|
6147
6149
|
slots: [],
|
|
6148
6150
|
events: [],
|
|
6149
6151
|
methods: [],
|
|
6150
6152
|
props: {
|
|
6151
|
-
pageCommon: [
|
|
6152
|
-
compCommon: [
|
|
6153
|
+
pageCommon: [Y, gt, Vn],
|
|
6154
|
+
compCommon: [Y, gt, Vn]
|
|
6153
6155
|
}
|
|
6154
|
-
}, rc = { key: 0 }, nc = /* @__PURE__ */
|
|
6156
|
+
}, rc = { key: 0 }, nc = /* @__PURE__ */ se({
|
|
6155
6157
|
__name: "index",
|
|
6156
6158
|
props: {
|
|
6157
6159
|
node: {},
|
|
6158
6160
|
outer: { type: Boolean }
|
|
6159
6161
|
},
|
|
6160
6162
|
setup(n) {
|
|
6161
|
-
const o = n, f =
|
|
6163
|
+
const o = n, f = ye(), h = Ue(), _ = N(() => {
|
|
6162
6164
|
var e;
|
|
6163
6165
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6164
|
-
}),
|
|
6166
|
+
}), b = N(() => {
|
|
6165
6167
|
var e;
|
|
6166
6168
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
6167
6169
|
}), m = N(() => {
|
|
6168
6170
|
var e;
|
|
6169
6171
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
6170
|
-
}),
|
|
6172
|
+
}), R = N(() => {
|
|
6171
6173
|
var e;
|
|
6172
6174
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
6173
|
-
}),
|
|
6175
|
+
}), O = N(() => {
|
|
6174
6176
|
var e;
|
|
6175
6177
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
6176
6178
|
}), r = N(() => {
|
|
@@ -6178,30 +6180,30 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6178
6180
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6179
6181
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6180
6182
|
return (e, i) => {
|
|
6181
|
-
const u =
|
|
6182
|
-
return
|
|
6183
|
-
|
|
6184
|
-
"model-value":
|
|
6185
|
-
label:
|
|
6183
|
+
const u = Re("v-select");
|
|
6184
|
+
return Ae(f) === "editor" ? (J(), Le("div", rc, [
|
|
6185
|
+
Et(u, {
|
|
6186
|
+
"model-value": _.value,
|
|
6187
|
+
label: b.value,
|
|
6186
6188
|
placeholder: m.value,
|
|
6187
|
-
"hide-details":
|
|
6188
|
-
"single-line":
|
|
6189
|
+
"hide-details": R.value,
|
|
6190
|
+
"single-line": O.value,
|
|
6189
6191
|
readonly: r.value,
|
|
6190
6192
|
theme: t.value
|
|
6191
6193
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6192
|
-
])) : (J(),
|
|
6194
|
+
])) : (J(), ve(u, {
|
|
6193
6195
|
key: 1,
|
|
6194
|
-
"model-value":
|
|
6195
|
-
label:
|
|
6196
|
+
"model-value": _.value,
|
|
6197
|
+
label: b.value,
|
|
6196
6198
|
placeholder: m.value,
|
|
6197
|
-
"hide-details":
|
|
6198
|
-
"single-line":
|
|
6199
|
+
"hide-details": R.value,
|
|
6200
|
+
"single-line": O.value,
|
|
6199
6201
|
readonly: r.value,
|
|
6200
6202
|
theme: t.value
|
|
6201
6203
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6202
6204
|
};
|
|
6203
6205
|
}
|
|
6204
|
-
}),
|
|
6206
|
+
}), Gn = {
|
|
6205
6207
|
key: "settings",
|
|
6206
6208
|
name: "x-runtime-lib.settings",
|
|
6207
6209
|
children: [
|
|
@@ -6243,62 +6245,90 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6243
6245
|
}
|
|
6244
6246
|
]
|
|
6245
6247
|
}, ic = {
|
|
6246
|
-
key:
|
|
6248
|
+
key: sr,
|
|
6247
6249
|
name: "x-runtime-lib.select",
|
|
6248
6250
|
comp: nc,
|
|
6249
6251
|
slots: [],
|
|
6250
6252
|
events: [],
|
|
6251
6253
|
methods: [],
|
|
6252
6254
|
props: {
|
|
6253
|
-
pageCommon: [
|
|
6254
|
-
compCommon: [
|
|
6255
|
+
pageCommon: [Y, Gn],
|
|
6256
|
+
compCommon: [Y, Gn]
|
|
6255
6257
|
}
|
|
6256
|
-
}, ac = { key: 0 }, oc = /* @__PURE__ */
|
|
6258
|
+
}, ac = { key: 0 }, oc = /* @__PURE__ */ se({
|
|
6257
6259
|
__name: "index",
|
|
6258
6260
|
props: {
|
|
6259
6261
|
node: {},
|
|
6260
6262
|
outer: { type: Boolean }
|
|
6261
6263
|
},
|
|
6262
6264
|
setup(n) {
|
|
6263
|
-
const o = n, f =
|
|
6265
|
+
const o = n, f = ye(), h = Ue(), _ = N(() => {
|
|
6264
6266
|
var t;
|
|
6265
6267
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6266
|
-
}),
|
|
6268
|
+
}), b = N(() => {
|
|
6267
6269
|
var t;
|
|
6268
6270
|
return (t = o.node.settings) == null ? void 0 : t.placeholder;
|
|
6269
6271
|
}), m = N(() => {
|
|
6270
6272
|
var t;
|
|
6271
6273
|
return (t = o.node.settings) == null ? void 0 : t.hideDetails;
|
|
6272
|
-
}),
|
|
6274
|
+
}), R = N(() => {
|
|
6273
6275
|
var t;
|
|
6274
6276
|
return (t = o.node.settings) == null ? void 0 : t.singleLine;
|
|
6275
|
-
}),
|
|
6277
|
+
}), O = N(() => {
|
|
6276
6278
|
var t;
|
|
6277
6279
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6278
6280
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6279
6281
|
return (t, e) => {
|
|
6280
|
-
const i =
|
|
6281
|
-
return
|
|
6282
|
-
|
|
6283
|
-
label:
|
|
6284
|
-
placeholder:
|
|
6282
|
+
const i = Re("v-text-field");
|
|
6283
|
+
return Ae(f) === "editor" ? (J(), Le("div", ac, [
|
|
6284
|
+
Et(i, {
|
|
6285
|
+
label: _.value,
|
|
6286
|
+
placeholder: b.value,
|
|
6285
6287
|
"hide-details": m.value,
|
|
6286
|
-
"single-line":
|
|
6287
|
-
readonly:
|
|
6288
|
+
"single-line": R.value,
|
|
6289
|
+
readonly: O.value,
|
|
6288
6290
|
theme: r.value
|
|
6289
|
-
},
|
|
6290
|
-
|
|
6291
|
+
}, {
|
|
6292
|
+
append: te(() => [
|
|
6293
|
+
ee(t.$slots, "append")
|
|
6294
|
+
]),
|
|
6295
|
+
"append-inner": te(() => [
|
|
6296
|
+
ee(t.$slots, "appendInner")
|
|
6297
|
+
]),
|
|
6298
|
+
prepend: te(() => [
|
|
6299
|
+
ee(t.$slots, "prepend")
|
|
6300
|
+
]),
|
|
6301
|
+
"prepend-inner": te(() => [
|
|
6302
|
+
ee(t.$slots, "prependInner")
|
|
6303
|
+
]),
|
|
6304
|
+
_: 3
|
|
6305
|
+
}, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6306
|
+
])) : (J(), ve(i, {
|
|
6291
6307
|
key: 1,
|
|
6292
|
-
label:
|
|
6293
|
-
placeholder:
|
|
6308
|
+
label: _.value,
|
|
6309
|
+
placeholder: b.value,
|
|
6294
6310
|
"hide-details": m.value,
|
|
6295
|
-
"single-line":
|
|
6296
|
-
readonly:
|
|
6311
|
+
"single-line": R.value,
|
|
6312
|
+
readonly: O.value,
|
|
6297
6313
|
theme: r.value
|
|
6298
|
-
},
|
|
6314
|
+
}, {
|
|
6315
|
+
append: te(() => [
|
|
6316
|
+
ee(t.$slots, "append")
|
|
6317
|
+
]),
|
|
6318
|
+
"append-inner": te(() => [
|
|
6319
|
+
ee(t.$slots, "appendInner")
|
|
6320
|
+
]),
|
|
6321
|
+
prepend: te(() => [
|
|
6322
|
+
ee(t.$slots, "prepend")
|
|
6323
|
+
]),
|
|
6324
|
+
"prepend-inner": te(() => [
|
|
6325
|
+
ee(t.$slots, "prependInner")
|
|
6326
|
+
]),
|
|
6327
|
+
_: 3
|
|
6328
|
+
}, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6299
6329
|
};
|
|
6300
6330
|
}
|
|
6301
|
-
}),
|
|
6331
|
+
}), Yn = {
|
|
6302
6332
|
key: "settings",
|
|
6303
6333
|
name: "x-runtime-lib.settings",
|
|
6304
6334
|
children: [
|
|
@@ -6334,55 +6364,69 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6334
6364
|
}
|
|
6335
6365
|
]
|
|
6336
6366
|
}, uc = {
|
|
6337
|
-
key:
|
|
6367
|
+
key: lr,
|
|
6338
6368
|
name: "x-runtime-lib.textField",
|
|
6339
6369
|
comp: oc,
|
|
6340
|
-
slots: [
|
|
6370
|
+
slots: [
|
|
6371
|
+
{
|
|
6372
|
+
key: "append",
|
|
6373
|
+
name: "x-runtime-lib.append"
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
key: "appendInner",
|
|
6377
|
+
name: "x-runtime-lib.appendInner"
|
|
6378
|
+
},
|
|
6379
|
+
{
|
|
6380
|
+
key: "prepend",
|
|
6381
|
+
name: "x-runtime-lib.prepend"
|
|
6382
|
+
},
|
|
6383
|
+
{
|
|
6384
|
+
key: "prependInner",
|
|
6385
|
+
name: "x-runtime-lib.prependInner"
|
|
6386
|
+
}
|
|
6387
|
+
],
|
|
6341
6388
|
events: [],
|
|
6342
6389
|
methods: [],
|
|
6343
6390
|
props: {
|
|
6344
|
-
pageCommon: [
|
|
6345
|
-
compCommon: [
|
|
6391
|
+
pageCommon: [Y, Yn],
|
|
6392
|
+
compCommon: [Y, Yn]
|
|
6346
6393
|
}
|
|
6347
6394
|
}, sc = {
|
|
6348
6395
|
version: "v1",
|
|
6349
|
-
globalityKey:
|
|
6350
|
-
refKey:
|
|
6351
|
-
packageKey: vt,
|
|
6396
|
+
globalityKey: or,
|
|
6397
|
+
refKey: _t,
|
|
6352
6398
|
elements: /* @__PURE__ */ new Set([
|
|
6399
|
+
tr,
|
|
6400
|
+
rr,
|
|
6353
6401
|
nr,
|
|
6354
6402
|
ir,
|
|
6355
6403
|
ar,
|
|
6356
6404
|
or,
|
|
6357
6405
|
ur,
|
|
6406
|
+
_t,
|
|
6358
6407
|
sr,
|
|
6359
|
-
lr
|
|
6360
|
-
vt,
|
|
6361
|
-
yt,
|
|
6362
|
-
cr,
|
|
6363
|
-
fr
|
|
6408
|
+
lr
|
|
6364
6409
|
]),
|
|
6365
6410
|
groups: [
|
|
6366
6411
|
{
|
|
6367
6412
|
key: "basic",
|
|
6368
6413
|
name: "x-runtime-lib.basic",
|
|
6369
6414
|
items: [
|
|
6415
|
+
tr,
|
|
6416
|
+
rr,
|
|
6370
6417
|
nr,
|
|
6371
6418
|
ir,
|
|
6372
6419
|
ar,
|
|
6373
|
-
or,
|
|
6374
6420
|
ur,
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
cr,
|
|
6379
|
-
fr
|
|
6421
|
+
_t,
|
|
6422
|
+
sr,
|
|
6423
|
+
lr
|
|
6380
6424
|
]
|
|
6381
6425
|
}
|
|
6382
6426
|
]
|
|
6383
|
-
},
|
|
6427
|
+
}, Ci = {
|
|
6384
6428
|
v1: sc
|
|
6385
|
-
},
|
|
6429
|
+
}, De = {}, lc = {
|
|
6386
6430
|
key: "add",
|
|
6387
6431
|
name: "METHOD_ADD",
|
|
6388
6432
|
inputs: [],
|
|
@@ -6392,25 +6436,24 @@ const ec = /* @__PURE__ */ oe({
|
|
|
6392
6436
|
name: "PARAM_NEW_NODE"
|
|
6393
6437
|
}
|
|
6394
6438
|
]
|
|
6395
|
-
},
|
|
6396
|
-
|
|
6439
|
+
}, ne = (n) => {
|
|
6440
|
+
De[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(lc), De[n.key] = n;
|
|
6397
6441
|
};
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
Q(uc);
|
|
6442
|
+
ne(vl);
|
|
6443
|
+
ne(_l);
|
|
6444
|
+
ne(Tl);
|
|
6445
|
+
ne(xl);
|
|
6446
|
+
ne(Al);
|
|
6447
|
+
ne(kl);
|
|
6448
|
+
ne(Ll);
|
|
6449
|
+
ne(tc);
|
|
6450
|
+
ne(ic);
|
|
6451
|
+
ne(uc);
|
|
6409
6452
|
const cc = (n, o, f) => {
|
|
6410
6453
|
const h = n[o];
|
|
6411
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6454
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((_, b) => {
|
|
6412
6455
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6413
|
-
|
|
6456
|
+
b.bind(
|
|
6414
6457
|
null,
|
|
6415
6458
|
new Error(
|
|
6416
6459
|
"Unknown variable dynamic import: " + o + (o.split("/").length !== f ? ". Note that variables only represent file names one level deep." : "")
|
|
@@ -6420,40 +6463,40 @@ const cc = (n, o, f) => {
|
|
|
6420
6463
|
});
|
|
6421
6464
|
};
|
|
6422
6465
|
async function Nc(n) {
|
|
6423
|
-
return (await cc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-
|
|
6466
|
+
return (await cc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-chxvg9av.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-irh3vhql.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6424
6467
|
}
|
|
6425
6468
|
export {
|
|
6426
6469
|
mc as duplicateNode,
|
|
6427
|
-
|
|
6428
|
-
|
|
6470
|
+
De as elements,
|
|
6471
|
+
Xn as genId,
|
|
6429
6472
|
yc as getNode,
|
|
6430
|
-
|
|
6473
|
+
Pn as getPropDefault,
|
|
6431
6474
|
ul as getPropTag,
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6475
|
+
Cn as initProps,
|
|
6476
|
+
Ue as injectDark,
|
|
6477
|
+
Si as injectData,
|
|
6435
6478
|
cl as injectDepends,
|
|
6436
|
-
|
|
6479
|
+
Ti as injectDevice,
|
|
6437
6480
|
ll as injectEnv,
|
|
6438
6481
|
pl as injectInterpreter,
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6482
|
+
ye as injectMode,
|
|
6483
|
+
Ni as injectType,
|
|
6484
|
+
cr as isEmptyStr,
|
|
6485
|
+
pr as isPercentStr,
|
|
6486
|
+
fr as isPixelStr,
|
|
6444
6487
|
Nc as loadLocaleMessageRuntime,
|
|
6445
|
-
|
|
6488
|
+
Jt as parsePercentStr,
|
|
6446
6489
|
vc as parsePixelStr,
|
|
6447
|
-
|
|
6490
|
+
Ci as pkgs,
|
|
6448
6491
|
Ec as provideDark,
|
|
6449
6492
|
Oc as provideData,
|
|
6450
6493
|
Tc as provideDepends,
|
|
6451
6494
|
bc as provideDevice,
|
|
6452
|
-
|
|
6495
|
+
_c as provideEnv,
|
|
6453
6496
|
fl as provideInterpreter,
|
|
6454
|
-
|
|
6497
|
+
gc as provideMode,
|
|
6455
6498
|
Rc as provideType,
|
|
6456
6499
|
sl as spawnNode,
|
|
6457
6500
|
Ql as startInterpreter,
|
|
6458
|
-
|
|
6501
|
+
$n as stopInterpreter
|
|
6459
6502
|
};
|