x-runtime-lib 0.5.9 → 0.5.10
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/element/_common/items/btnVariantItems/v1/index.d.ts +2 -0
- package/dist/element/_common/items/densityItems/v1/index.d.ts +2 -0
- package/dist/element/_common/types/tableColumnAlignTypes/v1/index.d.ts +2 -0
- package/dist/{i18n-en-ruu6mpct.js → i18n-en-g5917ung.js} +11 -0
- package/dist/{i18n-zhHans-cgiqxbk0.js → i18n-zhHans-ehanwg1n.js} +11 -0
- package/dist/index.js +1114 -973
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { provide as
|
|
1
|
+
var da = Object.defineProperty;
|
|
2
|
+
var ha = (n, o, f) => o in n ? da(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
|
+
var Xt = (n, o, f) => ha(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as ce, inject as fe, readonly as gt, isReactive as jn, defineComponent as pe, computed as N, resolveComponent as Ae, openBlock as K, createBlock as ge, unref as _t, createElementBlock as He, createVNode as bt, normalizeStyle as va, renderSlot as ya, watchEffect as ma, onBeforeUnmount as ga, h as Ye } from "vue";
|
|
5
5
|
import { useI18n as _a } from "vue-i18n";
|
|
6
|
-
import { eventBus as
|
|
6
|
+
import { eventBus as Bn, messageInfo as ba, messageSuccess as Ea, messageWarning as Ra, messageError as Oa, openConfirmDlg as Ta, openPromptDlg as Na } from "x-essential-lib";
|
|
7
7
|
const rn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
-
function
|
|
8
|
+
function $n(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
11
|
const h = Math.floor(Math.random() * rn.length);
|
|
@@ -28,7 +28,7 @@ function lr(n) {
|
|
|
28
28
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
29
29
|
return !isNaN(f);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function ic(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
34
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
@@ -42,52 +42,52 @@ function Wt(n) {
|
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var Vn = typeof global == "object" && global && global.Object === Object && global, Sa = typeof self == "object" && self && self.Object === Object && self, ee = Vn || Sa || Function("return this")(), we = ee.Symbol, Gn = Object.prototype, xa = Gn.hasOwnProperty, wa = Gn.toString, ze = we ? we.toStringTag : void 0;
|
|
46
|
+
function Pa(n) {
|
|
47
|
+
var o = xa.call(n, ze), f = n[ze];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[ze] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var g = wa.call(n);
|
|
54
|
+
return h && (o ? n[ze] = f : delete n[ze]), g;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var Ca = Object.prototype, Aa = Ca.toString;
|
|
57
|
+
function ka(n) {
|
|
58
|
+
return Aa.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
60
|
+
var Ia = "[object Null]", Da = "[object Undefined]", nn = we ? we.toStringTag : void 0;
|
|
61
|
+
function Ke(n) {
|
|
62
|
+
return n == null ? n === void 0 ? Da : Ia : nn && nn in Object(n) ? Pa(n) : ka(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function qe(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
67
|
var cr = Array.isArray;
|
|
68
|
-
function
|
|
68
|
+
function Ze(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
73
|
-
function
|
|
74
|
-
if (!
|
|
72
|
+
var La = "[object AsyncFunction]", Fa = "[object Function]", Ma = "[object GeneratorFunction]", Ua = "[object Proxy]";
|
|
73
|
+
function Yn(n) {
|
|
74
|
+
if (!Ze(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = Ke(n);
|
|
77
|
+
return o == Fa || o == Ma || o == La || o == Ua;
|
|
78
78
|
}
|
|
79
|
-
var Jt =
|
|
79
|
+
var Jt = ee["__core-js_shared__"], an = function() {
|
|
80
80
|
var n = /[^.]+$/.exec(Jt && Jt.keys && Jt.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
83
|
+
function ja(n) {
|
|
84
84
|
return !!an && an in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var Ba = Function.prototype, $a = Ba.toString;
|
|
87
|
+
function _e(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return $a.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,27 +97,27 @@ function be(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" + Xa.call(
|
|
100
|
+
var Va = /[\\^$.*+?()[\]{}|]/g, Ga = /^\[object .+?Constructor\]$/, Ya = Function.prototype, za = Object.prototype, Xa = Ya.toString, Wa = za.hasOwnProperty, Ja = RegExp(
|
|
101
|
+
"^" + Xa.call(Wa).replace(Va, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function Ha(n) {
|
|
104
|
+
if (!Ze(n) || ja(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = Yn(n) ? Ja : Ga;
|
|
107
|
+
return o.test(_e(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Ka(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
var f =
|
|
114
|
-
return
|
|
112
|
+
function be(n, o) {
|
|
113
|
+
var f = Ka(n, o);
|
|
114
|
+
return Ha(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var Kt =
|
|
116
|
+
var Kt = be(ee, "WeakMap"), on = Object.create, qa = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!Ze(o))
|
|
121
121
|
return {};
|
|
122
122
|
if (on)
|
|
123
123
|
return on(o);
|
|
@@ -126,7 +126,7 @@ var Kt = Ee(Q, "WeakMap"), on = Object.create, Ka = /* @__PURE__ */ function() {
|
|
|
126
126
|
return n.prototype = void 0, f;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
129
|
+
function Za(n, o) {
|
|
130
130
|
var f = -1, h = n.length;
|
|
131
131
|
for (o || (o = Array(h)); ++f < h; )
|
|
132
132
|
o[f] = n[f];
|
|
@@ -134,22 +134,22 @@ function qa(n, o) {
|
|
|
134
134
|
}
|
|
135
135
|
var un = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = be(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
142
|
+
function Qa(n, o) {
|
|
143
143
|
for (var f = -1, h = n == null ? 0 : n.length; ++f < h && o(n[f], f, n) !== !1; )
|
|
144
144
|
;
|
|
145
145
|
return n;
|
|
146
146
|
}
|
|
147
|
-
var
|
|
148
|
-
function
|
|
147
|
+
var eo = 9007199254740991, to = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function ro(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? eo, !!o && (f == "number" || f != "symbol" && to.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function zn(n, o, f) {
|
|
153
153
|
o == "__proto__" && un ? un(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
@@ -160,153 +160,153 @@ function Yn(n, o, f) {
|
|
|
160
160
|
function Xn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var no = Object.prototype, io = no.hasOwnProperty;
|
|
164
|
+
function Wn(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(io.call(n, o) && Xn(h, f)) || f === void 0 && !(o in n)) && zn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Et(n, o, f, h) {
|
|
169
|
-
var
|
|
169
|
+
var g = !f;
|
|
170
170
|
f || (f = {});
|
|
171
171
|
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
|
-
var T = o[b],
|
|
173
|
-
|
|
172
|
+
var T = o[b], R = void 0;
|
|
173
|
+
R === void 0 && (R = n[T]), g ? zn(f, T, R) : Wn(f, T, R);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
function Wn(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= io;
|
|
180
|
-
}
|
|
177
|
+
var ao = 9007199254740991;
|
|
181
178
|
function Jn(n) {
|
|
182
|
-
return n
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= ao;
|
|
183
180
|
}
|
|
184
|
-
|
|
181
|
+
function Hn(n) {
|
|
182
|
+
return n != null && Jn(n.length) && !Yn(n);
|
|
183
|
+
}
|
|
184
|
+
var oo = Object.prototype;
|
|
185
185
|
function fr(n) {
|
|
186
|
-
var o = n && n.constructor, f = typeof o == "function" && o.prototype ||
|
|
186
|
+
var o = n && n.constructor, f = typeof o == "function" && o.prototype || oo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function uo(n, o) {
|
|
190
190
|
for (var f = -1, h = Array(n); ++f < n; )
|
|
191
191
|
h[f] = o(f);
|
|
192
192
|
return h;
|
|
193
193
|
}
|
|
194
|
-
var
|
|
194
|
+
var so = "[object Arguments]";
|
|
195
195
|
function sn(n) {
|
|
196
|
-
return
|
|
196
|
+
return qe(n) && Ke(n) == so;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var Kn = Object.prototype, lo = Kn.hasOwnProperty, co = Kn.propertyIsEnumerable, fo = sn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
200
|
}()) ? sn : function(n) {
|
|
201
|
-
return
|
|
201
|
+
return qe(n) && lo.call(n, "callee") && !co.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function po() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var qn = typeof exports == "object" && exports && !exports.nodeType && exports, ln = qn && typeof module == "object" && module && !module.nodeType && module, ho = ln && ln.exports === qn, cn = ho ? ee.Buffer : void 0, vo = cn ? cn.isBuffer : void 0, Zn = vo || po, yo = "[object Arguments]", mo = "[object Array]", go = "[object Boolean]", _o = "[object Date]", bo = "[object Error]", Eo = "[object Function]", Ro = "[object Map]", Oo = "[object Number]", To = "[object Object]", No = "[object RegExp]", So = "[object Set]", xo = "[object String]", wo = "[object WeakMap]", Po = "[object ArrayBuffer]", Co = "[object DataView]", Ao = "[object Float32Array]", ko = "[object Float64Array]", Io = "[object Int8Array]", Do = "[object Int16Array]", Lo = "[object Int32Array]", Fo = "[object Uint8Array]", Mo = "[object Uint8ClampedArray]", Uo = "[object Uint16Array]", jo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[Ao] = M[ko] = M[Io] = M[Do] = M[Lo] = M[Fo] = M[Mo] = M[Uo] = M[jo] = !0;
|
|
208
|
+
M[yo] = M[mo] = M[Po] = M[go] = M[Co] = M[_o] = M[bo] = M[Eo] = M[Ro] = M[Oo] = M[To] = M[No] = M[So] = M[xo] = M[wo] = !1;
|
|
209
|
+
function Bo(n) {
|
|
210
|
+
return qe(n) && Jn(n.length) && !!M[Ke(n)];
|
|
211
211
|
}
|
|
212
212
|
function pr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var Qn = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = Qn && typeof module == "object" && module && !module.nodeType && module, $o = Xe && Xe.exports === Qn, Ht = $o && Vn.process, Pe = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
219
|
+
var n = Xe && Xe.require && Xe.require("util").types;
|
|
220
220
|
return n || Ht && Ht.binding && Ht.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(), fn =
|
|
224
|
-
function
|
|
225
|
-
var f = cr(n), h = !f &&
|
|
223
|
+
}(), fn = Pe && Pe.isTypedArray, Vo = fn ? pr(fn) : Bo, Go = Object.prototype, Yo = Go.hasOwnProperty;
|
|
224
|
+
function ei(n, o) {
|
|
225
|
+
var f = cr(n), h = !f && fo(n), g = !f && !h && Zn(n), b = !f && !h && !g && Vo(n), m = f || h || g || b, T = m ? uo(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || Yo.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
|
-
|
|
229
|
+
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
230
|
b && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
-
|
|
231
|
+
ro(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ti(n, o) {
|
|
235
235
|
return function(f) {
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
239
|
+
var zo = ti(Object.keys, Object), Xo = Object.prototype, Wo = Xo.hasOwnProperty;
|
|
240
|
+
function Jo(n) {
|
|
241
241
|
if (!fr(n))
|
|
242
|
-
return
|
|
242
|
+
return zo(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
Wo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
248
|
function dr(n) {
|
|
249
|
-
return
|
|
249
|
+
return Hn(n) ? ei(n) : Jo(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Ho(n) {
|
|
252
252
|
var o = [];
|
|
253
253
|
if (n != null)
|
|
254
254
|
for (var f in Object(n))
|
|
255
255
|
o.push(f);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
if (!
|
|
261
|
-
return
|
|
258
|
+
var Ko = Object.prototype, qo = Ko.hasOwnProperty;
|
|
259
|
+
function Zo(n) {
|
|
260
|
+
if (!Ze(n))
|
|
261
|
+
return Ho(n);
|
|
262
262
|
var o = fr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !qo.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
267
|
function hr(n) {
|
|
268
|
-
return
|
|
268
|
+
return Hn(n) ? ei(n, !0) : Zo(n);
|
|
269
269
|
}
|
|
270
|
-
var We =
|
|
271
|
-
function
|
|
270
|
+
var We = be(Object, "create");
|
|
271
|
+
function Qo() {
|
|
272
272
|
this.__data__ = We ? We(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function eu(n) {
|
|
275
275
|
var o = this.has(n) && delete this.__data__[n];
|
|
276
276
|
return this.size -= o ? 1 : 0, o;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
function
|
|
278
|
+
var tu = "__lodash_hash_undefined__", ru = Object.prototype, nu = ru.hasOwnProperty;
|
|
279
|
+
function iu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
281
|
if (We) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === tu ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return nu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var au = Object.prototype, ou = au.hasOwnProperty;
|
|
288
|
+
function uu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return We ? o[n] !== void 0 :
|
|
290
|
+
return We ? o[n] !== void 0 : ou.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var su = "__lodash_hash_undefined__";
|
|
293
|
+
function lu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] = We && o === void 0 ?
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = We && o === void 0 ? su : o, this;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function me(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
|
-
|
|
309
|
-
function
|
|
304
|
+
me.prototype.clear = Qo;
|
|
305
|
+
me.prototype.delete = eu;
|
|
306
|
+
me.prototype.get = iu;
|
|
307
|
+
me.prototype.has = uu;
|
|
308
|
+
me.prototype.set = lu;
|
|
309
|
+
function cu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Rt(n, o) {
|
|
@@ -315,224 +315,223 @@ function Rt(n, o) {
|
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var fu = Array.prototype, pu = fu.splice;
|
|
319
|
+
function du(n) {
|
|
320
320
|
var o = this.__data__, f = Rt(o, n);
|
|
321
321
|
if (f < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
|
-
return f == h ? o.pop() :
|
|
324
|
+
return f == h ? o.pop() : pu.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function hu(n) {
|
|
327
327
|
var o = this.__data__, f = Rt(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function vu(n) {
|
|
331
331
|
return Rt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function yu(n, o) {
|
|
334
334
|
var f = this.__data__, h = Rt(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function ae(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 Je =
|
|
350
|
-
function
|
|
344
|
+
ae.prototype.clear = cu;
|
|
345
|
+
ae.prototype.delete = du;
|
|
346
|
+
ae.prototype.get = hu;
|
|
347
|
+
ae.prototype.has = vu;
|
|
348
|
+
ae.prototype.set = yu;
|
|
349
|
+
var Je = be(ee, "Map");
|
|
350
|
+
function mu() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
|
-
hash: new
|
|
353
|
-
map: new (Je ||
|
|
354
|
-
string: new
|
|
352
|
+
hash: new me(),
|
|
353
|
+
map: new (Je || ae)(),
|
|
354
|
+
string: new me()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function gu(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
361
|
function Ot(n, o) {
|
|
362
362
|
var f = n.__data__;
|
|
363
|
-
return
|
|
363
|
+
return gu(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
365
|
function _u(n) {
|
|
366
366
|
var o = Ot(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function bu(n) {
|
|
370
370
|
return Ot(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Eu(n) {
|
|
373
373
|
return Ot(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Ru(n, o) {
|
|
376
376
|
var f = Ot(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 ke(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
|
+
ke.prototype.clear = mu;
|
|
387
|
+
ke.prototype.delete = _u;
|
|
388
|
+
ke.prototype.get = bu;
|
|
389
|
+
ke.prototype.has = Eu;
|
|
390
|
+
ke.prototype.set = Ru;
|
|
391
|
+
function ri(n, o) {
|
|
392
|
+
for (var f = -1, h = o.length, g = n.length; ++f < h; )
|
|
393
|
+
n[g + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var ni = ti(Object.getPrototypeOf, Object);
|
|
397
|
+
function Ou() {
|
|
398
|
+
this.__data__ = new ae(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Tu(n) {
|
|
401
401
|
var o = this.__data__, f = o.delete(n);
|
|
402
402
|
return this.size = o.size, f;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Nu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Su(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var xu = 200;
|
|
411
|
+
function wu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
|
-
if (f instanceof
|
|
413
|
+
if (f instanceof ae) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!Je || h.length <
|
|
415
|
+
if (!Je || h.length < xu - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
|
-
f = this.__data__ = new
|
|
417
|
+
f = this.__data__ = new ke(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 Ie(n) {
|
|
422
|
+
var o = this.__data__ = new ae(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
function
|
|
425
|
+
Ie.prototype.clear = Ou;
|
|
426
|
+
Ie.prototype.delete = Tu;
|
|
427
|
+
Ie.prototype.get = Nu;
|
|
428
|
+
Ie.prototype.has = Su;
|
|
429
|
+
Ie.prototype.set = wu;
|
|
430
|
+
function Pu(n, o) {
|
|
431
431
|
return n && Et(o, dr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Cu(n, o) {
|
|
434
434
|
return n && Et(o, hr(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var ii = typeof exports == "object" && exports && !exports.nodeType && exports, pn = ii && typeof module == "object" && module && !module.nodeType && module, Au = pn && pn.exports === ii, dn = Au ? ee.Buffer : void 0, hn = dn ? dn.allocUnsafe : void 0;
|
|
437
|
+
function ku(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
440
|
var f = n.length, h = hn ? hn(f) : new n.constructor(f);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var f = -1, h = n == null ? 0 : n.length,
|
|
443
|
+
function Iu(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, g = 0, b = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (b[
|
|
446
|
+
o(m, f, n) && (b[g++] = m);
|
|
447
447
|
}
|
|
448
448
|
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function ai() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var Du = Object.prototype, Lu = Du.propertyIsEnumerable, vn = Object.getOwnPropertySymbols, vr = vn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Iu(vn(n), function(o) {
|
|
455
|
+
return Lu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
457
|
+
} : ai;
|
|
458
|
+
function Fu(n, o) {
|
|
459
459
|
return Et(n, vr(n), o);
|
|
460
460
|
}
|
|
461
|
-
var Mu = Object.getOwnPropertySymbols,
|
|
461
|
+
var Mu = Object.getOwnPropertySymbols, oi = Mu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ri(o, vr(n)), n = ni(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return Et(n,
|
|
465
|
+
} : ai;
|
|
466
|
+
function Uu(n, o) {
|
|
467
|
+
return Et(n, oi(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function ui(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return cr(n) ? h :
|
|
472
|
-
}
|
|
473
|
-
function Uu(n) {
|
|
474
|
-
return oi(n, dr, vr);
|
|
471
|
+
return cr(n) ? h : ri(h, f(n));
|
|
475
472
|
}
|
|
476
473
|
function ju(n) {
|
|
477
|
-
return
|
|
474
|
+
return ui(n, dr, vr);
|
|
478
475
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
476
|
+
function Bu(n) {
|
|
477
|
+
return ui(n, hr, oi);
|
|
478
|
+
}
|
|
479
|
+
var qt = be(ee, "DataView"), Zt = be(ee, "Promise"), Qt = be(ee, "Set"), yn = "[object Map]", $u = "[object Object]", mn = "[object Promise]", gn = "[object Set]", _n = "[object WeakMap]", bn = "[object DataView]", Vu = _e(qt), Gu = _e(Je), Yu = _e(Zt), zu = _e(Qt), Xu = _e(Kt), ie = Ke;
|
|
480
|
+
(qt && ie(new qt(new ArrayBuffer(1))) != bn || Je && ie(new Je()) != yn || Zt && ie(Zt.resolve()) != mn || Qt && ie(new Qt()) != gn || Kt && ie(new Kt()) != _n) && (ie = function(n) {
|
|
481
|
+
var o = Ke(n), f = o == $u ? n.constructor : void 0, h = f ? _e(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case $u:
|
|
485
|
-
return bn;
|
|
486
484
|
case Vu:
|
|
487
|
-
return
|
|
485
|
+
return bn;
|
|
488
486
|
case Gu:
|
|
489
|
-
return
|
|
487
|
+
return yn;
|
|
490
488
|
case Yu:
|
|
491
|
-
return
|
|
492
|
-
case
|
|
489
|
+
return mn;
|
|
490
|
+
case zu:
|
|
493
491
|
return gn;
|
|
492
|
+
case Xu:
|
|
493
|
+
return _n;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var Wu = Object.prototype, Ju = Wu.hasOwnProperty;
|
|
498
|
+
function Hu(n) {
|
|
499
499
|
var o = n.length, f = new n.constructor(o);
|
|
500
|
-
return o && typeof n[0] == "string" &&
|
|
500
|
+
return o && typeof n[0] == "string" && Ju.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var En =
|
|
502
|
+
var En = ee.Uint8Array;
|
|
503
503
|
function yr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
505
|
return new En(o).set(new En(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Ku(n, o) {
|
|
508
508
|
var f = o ? yr(n.buffer) : n.buffer;
|
|
509
509
|
return new n.constructor(f, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var qu = /\w*$/;
|
|
512
|
+
function Zu(n) {
|
|
513
|
+
var o = new n.constructor(n.source, qu.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
516
|
var Rn = we ? we.prototype : void 0, On = Rn ? Rn.valueOf : void 0;
|
|
517
|
-
function
|
|
517
|
+
function Qu(n) {
|
|
518
518
|
return On ? Object(On.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function es(n, o) {
|
|
521
521
|
var f = o ? yr(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var ts = "[object Boolean]", rs = "[object Date]", ns = "[object Map]", is = "[object Number]", as = "[object RegExp]", os = "[object Set]", us = "[object String]", ss = "[object Symbol]", ls = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ps = "[object Float64Array]", ds = "[object Int8Array]", hs = "[object Int16Array]", vs = "[object Int32Array]", ys = "[object Uint8Array]", ms = "[object Uint8ClampedArray]", gs = "[object Uint16Array]", _s = "[object Uint32Array]";
|
|
525
|
+
function bs(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
528
|
+
case ls:
|
|
529
529
|
return yr(n);
|
|
530
|
-
case es:
|
|
531
530
|
case ts:
|
|
531
|
+
case rs:
|
|
532
532
|
return new h(+n);
|
|
533
|
-
case ls:
|
|
534
|
-
return Hu(n, f);
|
|
535
533
|
case cs:
|
|
534
|
+
return Ku(n, f);
|
|
536
535
|
case fs:
|
|
537
536
|
case ps:
|
|
538
537
|
case ds:
|
|
@@ -540,77 +539,78 @@ function gs(n, o, f) {
|
|
|
540
539
|
case vs:
|
|
541
540
|
case ys:
|
|
542
541
|
case ms:
|
|
542
|
+
case gs:
|
|
543
543
|
case _s:
|
|
544
|
-
return
|
|
545
|
-
case rs:
|
|
546
|
-
return new h();
|
|
544
|
+
return es(n, f);
|
|
547
545
|
case ns:
|
|
548
|
-
case os:
|
|
549
|
-
return new h(n);
|
|
550
|
-
case is:
|
|
551
|
-
return qu(n);
|
|
552
|
-
case as:
|
|
553
546
|
return new h();
|
|
547
|
+
case is:
|
|
554
548
|
case us:
|
|
549
|
+
return new h(n);
|
|
550
|
+
case as:
|
|
555
551
|
return Zu(n);
|
|
552
|
+
case os:
|
|
553
|
+
return new h();
|
|
554
|
+
case ss:
|
|
555
|
+
return Qu(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !fr(n) ?
|
|
558
|
+
function Es(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !fr(n) ? qa(ni(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var Rs = "[object Map]";
|
|
562
|
+
function Os(n) {
|
|
563
|
+
return qe(n) && ie(n) == Rs;
|
|
564
564
|
}
|
|
565
|
-
var Tn =
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Tn = Pe && Pe.isMap, Ts = Tn ? pr(Tn) : Os, Ns = "[object Set]";
|
|
566
|
+
function Ss(n) {
|
|
567
|
+
return qe(n) && ie(n) == Ns;
|
|
568
568
|
}
|
|
569
|
-
var Nn =
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
function
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var Nn = Pe && Pe.isSet, xs = Nn ? pr(Nn) : Ss, ws = 1, Ps = 2, Cs = 4, si = "[object Arguments]", As = "[object Array]", ks = "[object Boolean]", Is = "[object Date]", Ds = "[object Error]", li = "[object Function]", Ls = "[object GeneratorFunction]", Fs = "[object Map]", Ms = "[object Number]", ci = "[object Object]", Us = "[object RegExp]", js = "[object Set]", Bs = "[object String]", $s = "[object Symbol]", Vs = "[object WeakMap]", Gs = "[object ArrayBuffer]", Ys = "[object DataView]", zs = "[object Float32Array]", Xs = "[object Float64Array]", Ws = "[object Int8Array]", Js = "[object Int16Array]", Hs = "[object Int32Array]", Ks = "[object Uint8Array]", qs = "[object Uint8ClampedArray]", Zs = "[object Uint16Array]", Qs = "[object Uint32Array]", F = {};
|
|
570
|
+
F[si] = F[As] = F[Gs] = F[Ys] = F[ks] = F[Is] = F[zs] = F[Xs] = F[Ws] = F[Js] = F[Hs] = F[Fs] = F[Ms] = F[ci] = F[Us] = F[js] = F[Bs] = F[$s] = F[Ks] = F[qs] = F[Zs] = F[Qs] = !0;
|
|
571
|
+
F[Ds] = F[li] = F[Vs] = !1;
|
|
572
|
+
function pt(n, o, f, h, g, b) {
|
|
573
|
+
var m, T = o & ws, R = o & Ps, r = o & Cs;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!Ze(n))
|
|
577
577
|
return n;
|
|
578
578
|
var t = cr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = Hu(n), !T)
|
|
581
|
+
return Za(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e =
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m =
|
|
588
|
-
return
|
|
583
|
+
var e = ie(n), i = e == li || e == Ls;
|
|
584
|
+
if (Zn(n))
|
|
585
|
+
return ku(n, T);
|
|
586
|
+
if (e == ci || e == si || i && !g) {
|
|
587
|
+
if (m = R || i ? {} : Es(n), !T)
|
|
588
|
+
return R ? Uu(n, Cu(m, n)) : Fu(n, Pu(m, n));
|
|
589
589
|
} else {
|
|
590
|
-
if (!
|
|
591
|
-
return
|
|
592
|
-
m =
|
|
590
|
+
if (!F[e])
|
|
591
|
+
return g ? n : {};
|
|
592
|
+
m = bs(n, e, T);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
b || (b = new
|
|
595
|
+
b || (b = new Ie());
|
|
596
596
|
var u = b.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
b.set(n, m),
|
|
600
|
-
m.add(
|
|
601
|
-
}) :
|
|
602
|
-
m.set(p,
|
|
599
|
+
b.set(n, m), xs(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(pt(a, o, f, a, n, b));
|
|
601
|
+
}) : Ts(n) && n.forEach(function(a, p) {
|
|
602
|
+
m.set(p, pt(a, o, f, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
604
|
+
var s = r ? R ? Bu : ju : R ? hr : dr, l = t ? void 0 : s(n);
|
|
605
|
+
return Qa(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), Wn(m, p, pt(a, o, f, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var el = 1, tl = 4;
|
|
610
|
+
function dt(n) {
|
|
611
|
+
return pt(n, el | tl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function rl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -623,23 +623,23 @@ function tl(n, o) {
|
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
625
|
function Sn(n, o) {
|
|
626
|
-
return n.array ?
|
|
626
|
+
return n.array ? dt(o ? n.default : n.defaultArray) : dt(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function f(h,
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
628
|
+
function xn(n, o) {
|
|
629
|
+
function f(h, g) {
|
|
630
|
+
if (g.ui) {
|
|
631
|
+
if (g.ui === "strInput" && g.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[g.key] = Sn(g);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
g.array ? h[g.key] = Sn(g) : g.children.forEach((b) => {
|
|
636
|
+
h[g.key] = {}, f(h[g.key], b);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${
|
|
641
|
+
function nl(n, o, f, h, g) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${g}`, m = rl(n, o);
|
|
643
643
|
if (!m) {
|
|
644
644
|
console.error(`spawnNode prop tag not found, ${b}`);
|
|
645
645
|
return;
|
|
@@ -649,14 +649,14 @@ function rl(n, o, f, h, _) {
|
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const R = {
|
|
653
653
|
basic: {
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = $n(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t = T.refKey, e =
|
|
659
|
+
const t = T.refKey, e = g;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
@@ -671,11 +671,11 @@ function rl(n, o, f, h, _) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
xn(R, u), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
678
|
+
const t = g;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
@@ -690,126 +690,137 @@ function rl(n, o, f, h, _) {
|
|
|
690
690
|
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
xn(R, i), R.basic.id = r, R.basic.key = t, e.leaf || (R.children = []);
|
|
694
694
|
}
|
|
695
|
-
return
|
|
695
|
+
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function ac(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 b = f(h.children[
|
|
702
|
+
for (let g = 0; g < h.children.length; g++) {
|
|
703
|
+
const b = f(h.children[g]);
|
|
704
704
|
if (b)
|
|
705
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 g = f(n[h]);
|
|
710
|
+
if (g)
|
|
711
|
+
return g;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function oc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var g;
|
|
717
|
+
h.basic.id = $n(16), (g = h.children) == null || g.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
|
-
const f =
|
|
719
|
+
const f = dt(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
function oc(n) {
|
|
724
|
-
le(ci, n);
|
|
725
|
-
}
|
|
726
|
-
function nl() {
|
|
727
|
-
return ce(ci);
|
|
728
|
-
}
|
|
722
|
+
const fi = "runtimeEnv", pi = "runtimeMode", di = "runtimeDevice", hi = "runtimeDark", vi = "runtimeType", yi = "runtimeData", mi = "runtimeDepends", gi = "runtimeInterpreter";
|
|
729
723
|
function uc(n) {
|
|
730
|
-
|
|
724
|
+
ce(fi, n);
|
|
731
725
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
726
|
+
function il() {
|
|
727
|
+
return fe(fi);
|
|
734
728
|
}
|
|
735
729
|
function sc(n) {
|
|
736
|
-
|
|
730
|
+
ce(pi, n);
|
|
737
731
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
732
|
+
function Ee() {
|
|
733
|
+
return fe(pi);
|
|
740
734
|
}
|
|
741
735
|
function lc(n) {
|
|
742
|
-
|
|
736
|
+
ce(di, gt(n));
|
|
743
737
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
738
|
+
function _i() {
|
|
739
|
+
return fe(di);
|
|
746
740
|
}
|
|
747
741
|
function cc(n) {
|
|
748
|
-
|
|
742
|
+
ce(hi, gt(n));
|
|
749
743
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
744
|
+
function De() {
|
|
745
|
+
return fe(hi);
|
|
752
746
|
}
|
|
753
747
|
function fc(n) {
|
|
754
|
-
|
|
748
|
+
ce(vi, n);
|
|
755
749
|
}
|
|
756
750
|
function bi() {
|
|
757
|
-
return
|
|
751
|
+
return fe(vi);
|
|
758
752
|
}
|
|
759
753
|
function pc(n) {
|
|
760
|
-
console.assert(
|
|
754
|
+
console.assert(jn(n)), ce(yi, gt(n));
|
|
761
755
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
756
|
+
function Ei() {
|
|
757
|
+
return fe(yi);
|
|
758
|
+
}
|
|
759
|
+
function dc(n) {
|
|
760
|
+
console.assert(jn(n)), ce(mi, gt(n));
|
|
761
|
+
}
|
|
762
|
+
function al() {
|
|
763
|
+
return fe(mi);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
765
|
+
function ol(n) {
|
|
766
|
+
ce(gi, n);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function ul() {
|
|
769
|
+
return fe(gi);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const sl = /* @__PURE__ */ pe({
|
|
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 = Ee(), h = De(), g = ul(), b = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
|
-
}), m =
|
|
781
|
+
}), m = N(() => {
|
|
782
782
|
var i;
|
|
783
783
|
return (i = o.node.settings) == null ? void 0 : i.disabled;
|
|
784
|
-
}), T =
|
|
784
|
+
}), T = N(() => {
|
|
785
785
|
var i;
|
|
786
786
|
return (i = o.node.settings) == null ? void 0 : i.variant;
|
|
787
|
-
}),
|
|
787
|
+
}), R = N(() => {
|
|
788
788
|
var i;
|
|
789
789
|
return (i = o.node.settings) == null ? void 0 : i.density;
|
|
790
|
-
}), r =
|
|
790
|
+
}), r = N(() => {
|
|
791
791
|
var i;
|
|
792
792
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
|
-
}), t =
|
|
794
|
-
if (f !== "runtime" || !
|
|
793
|
+
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
+
if (f !== "runtime" || !g)
|
|
795
795
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
796
|
+
const i = g.nativeToPseudo(o.node.basic.id);
|
|
797
|
+
g.appendCode(`__triggerEvent__('${i}', 'click');`), g.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
800
|
const s = Ae("v-btn");
|
|
801
|
-
return
|
|
801
|
+
return K(), ge(s, {
|
|
802
802
|
text: b.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
805
|
-
density:
|
|
805
|
+
density: R.value,
|
|
806
806
|
block: r.value,
|
|
807
807
|
theme: t.value,
|
|
808
808
|
onClick: e
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), ll = [
|
|
813
|
+
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
|
+
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
|
+
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
|
+
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
|
+
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
|
+
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
+
], Ri = [
|
|
820
|
+
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
|
+
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
|
+
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
+
], er = "btn_v1", tr = "combobox_v1", rr = "container_v1", nr = "data_table_v1", Oi = "globality_v1", ir = "number_input_v1", Ti = "ref_v1", ar = "select_v1", or = "text_field_v1", X = {
|
|
813
824
|
key: "basic",
|
|
814
825
|
name: "x-runtime-lib.basic",
|
|
815
826
|
children: [
|
|
@@ -834,18 +845,7 @@ const ul = /* @__PURE__ */ fe({
|
|
|
834
845
|
default: ""
|
|
835
846
|
}
|
|
836
847
|
]
|
|
837
|
-
},
|
|
838
|
-
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
839
|
-
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
840
|
-
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
841
|
-
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
842
|
-
{ title: "x-runtime-lib.text", value: "text" },
|
|
843
|
-
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
844
|
-
], ll = [
|
|
845
|
-
{ title: "x-runtime-lib.default", value: "default" },
|
|
846
|
-
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
847
|
-
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
848
|
-
], wn = {
|
|
848
|
+
}, wn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const ul = /* @__PURE__ */ fe({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: ll,
|
|
869
869
|
default: "elevated"
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
key: "density",
|
|
873
873
|
name: "x-runtime-lib.density",
|
|
874
874
|
ui: "select",
|
|
875
|
-
items:
|
|
875
|
+
items: Ri,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -885,7 +885,7 @@ const ul = /* @__PURE__ */ fe({
|
|
|
885
885
|
}, cl = {
|
|
886
886
|
key: er,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
888
|
+
comp: sl,
|
|
889
889
|
leaf: !0,
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
@@ -896,60 +896,60 @@ const ul = /* @__PURE__ */ fe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [
|
|
900
|
-
compCommon: [
|
|
899
|
+
pageCommon: [X, wn],
|
|
900
|
+
compCommon: [X, wn]
|
|
901
901
|
}
|
|
902
|
-
}, fl = { key: 0 }, pl = /* @__PURE__ */
|
|
902
|
+
}, fl = { key: 0 }, pl = /* @__PURE__ */ pe({
|
|
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 = Ee(), h = De(), g = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}), b =
|
|
912
|
+
}), b = N(() => {
|
|
913
913
|
var e;
|
|
914
914
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
|
-
}), m =
|
|
915
|
+
}), m = N(() => {
|
|
916
916
|
var e;
|
|
917
917
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
918
|
-
}), T =
|
|
918
|
+
}), T = N(() => {
|
|
919
919
|
var e;
|
|
920
920
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
921
|
-
}),
|
|
921
|
+
}), R = N(() => {
|
|
922
922
|
var e;
|
|
923
923
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
924
|
-
}), r =
|
|
924
|
+
}), r = N(() => {
|
|
925
925
|
var e;
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
|
-
}), t =
|
|
927
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
929
|
const u = Ae("v-combobox");
|
|
930
|
-
return
|
|
931
|
-
|
|
932
|
-
"model-value":
|
|
930
|
+
return _t(f) === "editor" ? (K(), He("div", fl, [
|
|
931
|
+
bt(u, {
|
|
932
|
+
"model-value": g.value,
|
|
933
933
|
label: b.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
936
|
-
"single-line":
|
|
936
|
+
"single-line": R.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
|
-
])) : (
|
|
940
|
+
])) : (K(), ge(u, {
|
|
941
941
|
key: 1,
|
|
942
|
-
"model-value":
|
|
942
|
+
"model-value": g.value,
|
|
943
943
|
label: b.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
946
|
-
"single-line":
|
|
946
|
+
"single-line": R.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
|
+
}), Pn = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -998,21 +998,21 @@ const ul = /* @__PURE__ */ fe({
|
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [
|
|
1002
|
-
compCommon: [
|
|
1001
|
+
pageCommon: [X, Pn],
|
|
1002
|
+
compCommon: [X, Pn]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1006
|
-
const h =
|
|
1005
|
+
function Ni(n, o, f) {
|
|
1006
|
+
const h = N(() => {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
return (t = f.node.size) == null ? void 0 : t.width;
|
|
1009
|
-
}),
|
|
1009
|
+
}), g = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
|
-
}), b =
|
|
1012
|
+
}), b = N(() => {
|
|
1013
1013
|
var t;
|
|
1014
1014
|
return (t = f.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
|
-
}), m =
|
|
1015
|
+
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
1018
|
const i = Wt((t = f.node.size) == null ? void 0 : t.height);
|
|
@@ -1020,7 +1020,7 @@ function Oi(n, o, f) {
|
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
1022
1022
|
return (e = f.node.size) == null ? void 0 : e.height;
|
|
1023
|
-
}), T =
|
|
1023
|
+
}), T = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
1026
|
const i = Wt((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
@@ -1028,7 +1028,7 @@ function Oi(n, o, f) {
|
|
|
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
|
+
}), R = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
1034
|
const i = Wt((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
@@ -1038,87 +1038,87 @@ function Oi(n, o, f) {
|
|
|
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), g.value && (t.minWidth = g.value), b.value && (t.maxWidth = b.value), m.value && (t.height = m.value), T.value && (t.minHeight = T.value), R.value && (t.maxHeight = R.value);
|
|
1042
1042
|
}
|
|
1043
|
-
return { width: h, minWidth:
|
|
1043
|
+
return { width: h, minWidth: g, maxWidth: b, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
1045
|
function hl(n) {
|
|
1046
|
-
const o =
|
|
1046
|
+
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
1049
|
-
}), f =
|
|
1049
|
+
}), f = N(() => {
|
|
1050
1050
|
var m;
|
|
1051
1051
|
return (m = n.node.margin) == null ? void 0 : m.left;
|
|
1052
|
-
}), h =
|
|
1052
|
+
}), h = N(() => {
|
|
1053
1053
|
var m;
|
|
1054
1054
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1055
|
+
}), g = N(() => {
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
1059
|
function b(m) {
|
|
1060
|
-
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value),
|
|
1060
|
+
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value), g.value && (m.marginRight = g.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin: b };
|
|
1063
1063
|
}
|
|
1064
1064
|
function vl(n) {
|
|
1065
|
-
const o =
|
|
1065
|
+
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
1068
|
-
}), f =
|
|
1068
|
+
}), f = N(() => {
|
|
1069
1069
|
var m;
|
|
1070
1070
|
return (m = n.node.padding) == null ? void 0 : m.left;
|
|
1071
|
-
}), h =
|
|
1071
|
+
}), h = N(() => {
|
|
1072
1072
|
var m;
|
|
1073
1073
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1074
|
+
}), g = N(() => {
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
1078
|
function b(m) {
|
|
1079
|
-
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value),
|
|
1079
|
+
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value), g.value && (m.paddingRight = g.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding: b };
|
|
1082
1082
|
}
|
|
1083
1083
|
function yl(n) {
|
|
1084
|
-
const o =
|
|
1084
|
+
const o = N(() => {
|
|
1085
1085
|
var b;
|
|
1086
1086
|
return (b = n.node.border) == null ? void 0 : b.style;
|
|
1087
|
-
}), f =
|
|
1087
|
+
}), f = N(() => {
|
|
1088
1088
|
var b;
|
|
1089
1089
|
return (b = n.node.border) == null ? void 0 : b.width;
|
|
1090
|
-
}), h =
|
|
1090
|
+
}), h = N(() => {
|
|
1091
1091
|
var b;
|
|
1092
1092
|
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1094
|
+
function g(b) {
|
|
1095
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: g };
|
|
1098
1098
|
}
|
|
1099
|
-
const ml = /* @__PURE__ */
|
|
1099
|
+
const ml = /* @__PURE__ */ pe({
|
|
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 =
|
|
1106
|
+
const o = n, f = Ee(), h = _i(), g = bi(), b = Ei(), { applySize: m } = Ni(f, h, o), { applyMargin: T } = hl(o), { applyPadding: R } = vl(o), { applyBorder: r } = yl(o), t = N(() => {
|
|
1107
1107
|
const e = {}, i = b.type;
|
|
1108
|
-
return
|
|
1108
|
+
return g === "page" ? i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1) : g === "comp" && i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1), e;
|
|
1109
1109
|
});
|
|
1110
|
-
return (e, i) => (
|
|
1111
|
-
style:
|
|
1110
|
+
return (e, i) => (K(), He("div", {
|
|
1111
|
+
style: va(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
ya(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), gl = [
|
|
1117
1117
|
{ title: "x-runtime-lib.default", value: "" },
|
|
1118
1118
|
{ title: "x-runtime-lib.solid", value: "solid" },
|
|
1119
1119
|
{ title: "x-runtime-lib.dashed", value: "dashed" },
|
|
1120
1120
|
{ title: "x-runtime-lib.dotted", value: "dotted" }
|
|
1121
|
-
],
|
|
1121
|
+
], H = [
|
|
1122
1122
|
{
|
|
1123
1123
|
name: "x-runtime-lib.default",
|
|
1124
1124
|
ui: "word",
|
|
@@ -1145,7 +1145,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1145
1145
|
max: 1 / 0,
|
|
1146
1146
|
step: 1
|
|
1147
1147
|
}
|
|
1148
|
-
],
|
|
1148
|
+
], ht = {
|
|
1149
1149
|
key: "border",
|
|
1150
1150
|
name: "x-runtime-lib.border",
|
|
1151
1151
|
children: [
|
|
@@ -1153,7 +1153,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1153
1153
|
key: "style",
|
|
1154
1154
|
name: "x-runtime-lib.style",
|
|
1155
1155
|
ui: "select",
|
|
1156
|
-
items:
|
|
1156
|
+
items: gl,
|
|
1157
1157
|
default: ""
|
|
1158
1158
|
},
|
|
1159
1159
|
{
|
|
@@ -1180,7 +1180,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1180
1180
|
key: "radius",
|
|
1181
1181
|
name: "x-runtime-lib.radius",
|
|
1182
1182
|
ui: "multiTypes",
|
|
1183
|
-
types:
|
|
1183
|
+
types: H,
|
|
1184
1184
|
default: ""
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
@@ -1210,7 +1210,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
1212
|
]
|
|
1213
|
-
},
|
|
1213
|
+
}, ct = [
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
@@ -1243,7 +1243,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1243
1243
|
max: 1 / 0,
|
|
1244
1244
|
step: 1
|
|
1245
1245
|
}
|
|
1246
|
-
],
|
|
1246
|
+
], vt = {
|
|
1247
1247
|
key: "margin",
|
|
1248
1248
|
name: "x-runtime-lib.margin",
|
|
1249
1249
|
children: [
|
|
@@ -1251,32 +1251,32 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1251
1251
|
key: "top",
|
|
1252
1252
|
name: "x-runtime-lib.top",
|
|
1253
1253
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1254
|
+
types: ct,
|
|
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: ct,
|
|
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: ct,
|
|
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: ct,
|
|
1276
1276
|
default: ""
|
|
1277
1277
|
}
|
|
1278
1278
|
]
|
|
1279
|
-
},
|
|
1279
|
+
}, ft = [
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
@@ -1303,7 +1303,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1303
1303
|
max: 1 / 0,
|
|
1304
1304
|
step: 1
|
|
1305
1305
|
}
|
|
1306
|
-
],
|
|
1306
|
+
], yt = {
|
|
1307
1307
|
key: "padding",
|
|
1308
1308
|
name: "x-runtime-lib.padding",
|
|
1309
1309
|
children: [
|
|
@@ -1311,32 +1311,32 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1311
1311
|
key: "top",
|
|
1312
1312
|
name: "x-runtime-lib.top",
|
|
1313
1313
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1314
|
+
types: ft,
|
|
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: ft,
|
|
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: ft,
|
|
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: ft,
|
|
1336
1336
|
default: ""
|
|
1337
1337
|
}
|
|
1338
1338
|
]
|
|
1339
|
-
},
|
|
1339
|
+
}, mt = {
|
|
1340
1340
|
key: "size",
|
|
1341
1341
|
name: "x-runtime-lib.size",
|
|
1342
1342
|
children: [
|
|
@@ -1344,42 +1344,42 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1344
1344
|
key: "width",
|
|
1345
1345
|
name: "x-runtime-lib.width",
|
|
1346
1346
|
ui: "multiTypes",
|
|
1347
|
-
types:
|
|
1347
|
+
types: H,
|
|
1348
1348
|
default: ""
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
1351
|
key: "minWidth",
|
|
1352
1352
|
name: "x-runtime-lib.minWidth",
|
|
1353
1353
|
ui: "multiTypes",
|
|
1354
|
-
types:
|
|
1354
|
+
types: H,
|
|
1355
1355
|
default: ""
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
1358
|
key: "maxWidth",
|
|
1359
1359
|
name: "x-runtime-lib.maxWidth",
|
|
1360
1360
|
ui: "multiTypes",
|
|
1361
|
-
types:
|
|
1361
|
+
types: H,
|
|
1362
1362
|
default: ""
|
|
1363
1363
|
},
|
|
1364
1364
|
{
|
|
1365
1365
|
key: "height",
|
|
1366
1366
|
name: "x-runtime-lib.height",
|
|
1367
1367
|
ui: "multiTypes",
|
|
1368
|
-
types:
|
|
1368
|
+
types: H,
|
|
1369
1369
|
default: ""
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
key: "minHeight",
|
|
1373
1373
|
name: "x-runtime-lib.minHeight",
|
|
1374
1374
|
ui: "multiTypes",
|
|
1375
|
-
types:
|
|
1375
|
+
types: H,
|
|
1376
1376
|
default: ""
|
|
1377
1377
|
},
|
|
1378
1378
|
{
|
|
1379
1379
|
key: "maxHeight",
|
|
1380
1380
|
name: "x-runtime-lib.maxHeight",
|
|
1381
1381
|
ui: "multiTypes",
|
|
1382
|
-
types:
|
|
1382
|
+
types: H,
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
@@ -1387,7 +1387,7 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1390
|
+
}, _l = {
|
|
1391
1391
|
key: rr,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
1393
|
comp: ml,
|
|
@@ -1401,35 +1401,99 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1401
1401
|
],
|
|
1402
1402
|
methods: [],
|
|
1403
1403
|
props: {
|
|
1404
|
-
pageCommon: [
|
|
1405
|
-
compCommon: [
|
|
1404
|
+
pageCommon: [X, mt, ht, vt, yt, Cn],
|
|
1405
|
+
compCommon: [X, mt, ht, vt, yt, Cn]
|
|
1406
1406
|
}
|
|
1407
|
-
}, bl = /* @__PURE__ */
|
|
1407
|
+
}, bl = /* @__PURE__ */ pe({
|
|
1408
1408
|
__name: "index",
|
|
1409
1409
|
props: {
|
|
1410
1410
|
node: {},
|
|
1411
1411
|
outer: { type: Boolean }
|
|
1412
1412
|
},
|
|
1413
1413
|
setup(n) {
|
|
1414
|
-
const o = n, f =
|
|
1415
|
-
var
|
|
1416
|
-
return (
|
|
1417
|
-
})
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1414
|
+
const o = n, f = De(), h = N(() => {
|
|
1415
|
+
var u;
|
|
1416
|
+
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1417
|
+
}), g = N(() => {
|
|
1418
|
+
var u;
|
|
1419
|
+
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1420
|
+
}), b = N(() => {
|
|
1421
|
+
var u;
|
|
1422
|
+
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1423
|
+
}), m = N(() => {
|
|
1424
|
+
var u;
|
|
1425
|
+
return (u = o.node.settings) == null ? void 0 : u.items;
|
|
1426
|
+
}), T = N(() => {
|
|
1427
|
+
var u;
|
|
1428
|
+
return (u = o.node.settings) == null ? void 0 : u.density;
|
|
1429
|
+
}), R = N(() => {
|
|
1430
|
+
var u;
|
|
1431
|
+
return (u = o.node.settings) == null ? void 0 : u.fixedHeader;
|
|
1432
|
+
}), r = N(() => {
|
|
1433
|
+
var u;
|
|
1434
|
+
return (u = o.node.settings) == null ? void 0 : u.fixedFooter;
|
|
1435
|
+
}), t = N(() => {
|
|
1436
|
+
var u;
|
|
1437
|
+
return (u = o.node.settings) == null ? void 0 : u.loading;
|
|
1438
|
+
}), e = N(() => {
|
|
1439
|
+
var u;
|
|
1440
|
+
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1441
|
+
}), i = N(() => f.value ? "dark" : "light");
|
|
1442
|
+
return (u, s) => {
|
|
1443
|
+
const l = Ae("v-data-table");
|
|
1444
|
+
return K(), ge(l, {
|
|
1445
|
+
width: h.value,
|
|
1446
|
+
height: g.value,
|
|
1447
|
+
headers: b.value,
|
|
1448
|
+
items: m.value,
|
|
1449
|
+
density: T.value,
|
|
1450
|
+
"fixed-header": R.value,
|
|
1451
|
+
"fixed-footer": r.value,
|
|
1452
|
+
loading: t.value,
|
|
1453
|
+
multiSort: e.value,
|
|
1454
|
+
theme: i.value
|
|
1455
|
+
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multiSort", "theme"]);
|
|
1430
1456
|
};
|
|
1431
1457
|
}
|
|
1432
|
-
}),
|
|
1458
|
+
}), El = [
|
|
1459
|
+
{
|
|
1460
|
+
name: "x-runtime-lib.start",
|
|
1461
|
+
ui: "word",
|
|
1462
|
+
validator: (n) => n === "start",
|
|
1463
|
+
default: "start"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
name: "x-runtime-lib.center",
|
|
1467
|
+
ui: "word",
|
|
1468
|
+
validator: (n) => n === "center",
|
|
1469
|
+
default: "center"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: "x-runtime-lib.end",
|
|
1473
|
+
ui: "word",
|
|
1474
|
+
validator: (n) => n === "end",
|
|
1475
|
+
default: "end"
|
|
1476
|
+
}
|
|
1477
|
+
], An = {
|
|
1478
|
+
key: "size",
|
|
1479
|
+
name: "x-runtime-lib.size",
|
|
1480
|
+
children: [
|
|
1481
|
+
{
|
|
1482
|
+
key: "width",
|
|
1483
|
+
name: "x-runtime-lib.width",
|
|
1484
|
+
ui: "multiTypes",
|
|
1485
|
+
types: H,
|
|
1486
|
+
default: ""
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
key: "height",
|
|
1490
|
+
name: "x-runtime-lib.height",
|
|
1491
|
+
ui: "multiTypes",
|
|
1492
|
+
types: H,
|
|
1493
|
+
default: ""
|
|
1494
|
+
}
|
|
1495
|
+
]
|
|
1496
|
+
}, kn = {
|
|
1433
1497
|
key: "settings",
|
|
1434
1498
|
name: "x-runtime-lib.settings",
|
|
1435
1499
|
children: [
|
|
@@ -1448,13 +1512,90 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1448
1512
|
name: "x-runtime-lib.title",
|
|
1449
1513
|
ui: "strInput",
|
|
1450
1514
|
default: ""
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
key: "fixed",
|
|
1518
|
+
name: "x-runtime-lib.fixed",
|
|
1519
|
+
ui: "switch",
|
|
1520
|
+
default: !1
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
key: "align",
|
|
1524
|
+
name: "x-runtime-lib.align",
|
|
1525
|
+
ui: "multiTypes",
|
|
1526
|
+
types: El,
|
|
1527
|
+
default: "start"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
key: "width",
|
|
1531
|
+
name: "x-runtime-lib.width",
|
|
1532
|
+
ui: "multiTypes",
|
|
1533
|
+
types: H,
|
|
1534
|
+
default: ""
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
key: "minWidth",
|
|
1538
|
+
name: "x-runtime-lib.minWidth",
|
|
1539
|
+
ui: "multiTypes",
|
|
1540
|
+
types: H,
|
|
1541
|
+
default: ""
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
key: "maxWidth",
|
|
1545
|
+
name: "x-runtime-lib.maxWidth",
|
|
1546
|
+
ui: "multiTypes",
|
|
1547
|
+
types: H,
|
|
1548
|
+
default: ""
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
key: "sortable",
|
|
1552
|
+
name: "x-runtime-lib.sortable",
|
|
1553
|
+
ui: "switch",
|
|
1554
|
+
default: !1
|
|
1451
1555
|
}
|
|
1452
1556
|
],
|
|
1453
1557
|
array: !0,
|
|
1454
1558
|
defaultArray: []
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
key: "items",
|
|
1562
|
+
name: "x-runtime-lib.items",
|
|
1563
|
+
ui: "dummy",
|
|
1564
|
+
default: []
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
key: "density",
|
|
1568
|
+
name: "x-runtime-lib.density",
|
|
1569
|
+
ui: "select",
|
|
1570
|
+
items: Ri,
|
|
1571
|
+
default: "default"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
key: "fixedHeader",
|
|
1575
|
+
name: "x-runtime-lib.fixedHeader",
|
|
1576
|
+
ui: "switch",
|
|
1577
|
+
default: !1
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
key: "fixedFooter",
|
|
1581
|
+
name: "x-runtime-lib.fixedFooter",
|
|
1582
|
+
ui: "switch",
|
|
1583
|
+
default: !1
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
key: "loading",
|
|
1587
|
+
name: "x-runtime-lib.loading",
|
|
1588
|
+
ui: "switch",
|
|
1589
|
+
default: !1
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
key: "multiSort",
|
|
1593
|
+
name: "x-runtime-lib.multiSort",
|
|
1594
|
+
ui: "switch",
|
|
1595
|
+
default: !1
|
|
1455
1596
|
}
|
|
1456
1597
|
]
|
|
1457
|
-
},
|
|
1598
|
+
}, Rl = {
|
|
1458
1599
|
key: nr,
|
|
1459
1600
|
name: "x-runtime-lib.dataTable",
|
|
1460
1601
|
comp: bl,
|
|
@@ -1462,10 +1603,10 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1462
1603
|
events: [],
|
|
1463
1604
|
methods: [],
|
|
1464
1605
|
props: {
|
|
1465
|
-
pageCommon: [
|
|
1466
|
-
compCommon: [
|
|
1606
|
+
pageCommon: [X, An, kn],
|
|
1607
|
+
compCommon: [X, An, kn]
|
|
1467
1608
|
}
|
|
1468
|
-
},
|
|
1609
|
+
}, In = {
|
|
1469
1610
|
key: "globalSettings",
|
|
1470
1611
|
name: "x-runtime-lib.globalSettings",
|
|
1471
1612
|
children: [
|
|
@@ -1476,8 +1617,8 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1476
1617
|
default: "#00000000"
|
|
1477
1618
|
}
|
|
1478
1619
|
]
|
|
1479
|
-
},
|
|
1480
|
-
key:
|
|
1620
|
+
}, Si = {
|
|
1621
|
+
key: Oi,
|
|
1481
1622
|
name: "x-runtime-lib.globality",
|
|
1482
1623
|
comp: "",
|
|
1483
1624
|
leaf: !1,
|
|
@@ -1514,61 +1655,61 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1514
1655
|
],
|
|
1515
1656
|
methods: [],
|
|
1516
1657
|
props: {
|
|
1517
|
-
pageCommon: [
|
|
1518
|
-
compCommon: [
|
|
1658
|
+
pageCommon: [In],
|
|
1659
|
+
compCommon: [In]
|
|
1519
1660
|
},
|
|
1520
1661
|
internal: !0
|
|
1521
|
-
},
|
|
1662
|
+
}, Ol = { key: 0 }, Tl = /* @__PURE__ */ pe({
|
|
1522
1663
|
__name: "index",
|
|
1523
1664
|
props: {
|
|
1524
1665
|
node: {},
|
|
1525
1666
|
outer: { type: Boolean }
|
|
1526
1667
|
},
|
|
1527
1668
|
setup(n) {
|
|
1528
|
-
const o = n, f =
|
|
1669
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
1529
1670
|
var e;
|
|
1530
1671
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1531
|
-
}), b =
|
|
1672
|
+
}), b = N(() => {
|
|
1532
1673
|
var e;
|
|
1533
1674
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1534
|
-
}), m =
|
|
1675
|
+
}), m = N(() => {
|
|
1535
1676
|
var e;
|
|
1536
1677
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
1537
|
-
}), T =
|
|
1678
|
+
}), T = N(() => {
|
|
1538
1679
|
var e;
|
|
1539
1680
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
1540
|
-
}),
|
|
1681
|
+
}), R = N(() => {
|
|
1541
1682
|
var e;
|
|
1542
1683
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
1543
|
-
}), r =
|
|
1684
|
+
}), r = N(() => {
|
|
1544
1685
|
var e;
|
|
1545
1686
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1546
|
-
}), t =
|
|
1687
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
1547
1688
|
return (e, i) => {
|
|
1548
1689
|
const u = Ae("v-number-input");
|
|
1549
|
-
return
|
|
1550
|
-
|
|
1551
|
-
"model-value":
|
|
1690
|
+
return _t(f) === "editor" ? (K(), He("div", Ol, [
|
|
1691
|
+
bt(u, {
|
|
1692
|
+
"model-value": g.value,
|
|
1552
1693
|
label: b.value,
|
|
1553
1694
|
placeholder: m.value,
|
|
1554
1695
|
"hide-details": T.value,
|
|
1555
|
-
"single-line":
|
|
1696
|
+
"single-line": R.value,
|
|
1556
1697
|
readonly: r.value,
|
|
1557
1698
|
theme: t.value
|
|
1558
1699
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1559
|
-
])) : (
|
|
1700
|
+
])) : (K(), ge(u, {
|
|
1560
1701
|
key: 1,
|
|
1561
|
-
"model-value":
|
|
1702
|
+
"model-value": g.value,
|
|
1562
1703
|
label: b.value,
|
|
1563
1704
|
placeholder: m.value,
|
|
1564
1705
|
"hide-details": T.value,
|
|
1565
|
-
"single-line":
|
|
1706
|
+
"single-line": R.value,
|
|
1566
1707
|
readonly: r.value,
|
|
1567
1708
|
theme: t.value
|
|
1568
1709
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1569
1710
|
};
|
|
1570
1711
|
}
|
|
1571
|
-
}),
|
|
1712
|
+
}), Dn = {
|
|
1572
1713
|
key: "settings",
|
|
1573
1714
|
name: "x-runtime-lib.settings",
|
|
1574
1715
|
children: [
|
|
@@ -1613,23 +1754,23 @@ const ml = /* @__PURE__ */ fe({
|
|
|
1613
1754
|
default: !1
|
|
1614
1755
|
}
|
|
1615
1756
|
]
|
|
1616
|
-
},
|
|
1757
|
+
}, Nl = {
|
|
1617
1758
|
key: ir,
|
|
1618
1759
|
name: "x-runtime-lib.numberInput",
|
|
1619
|
-
comp:
|
|
1760
|
+
comp: Tl,
|
|
1620
1761
|
leaf: !1,
|
|
1621
1762
|
events: [],
|
|
1622
1763
|
methods: [],
|
|
1623
1764
|
props: {
|
|
1624
|
-
pageCommon: [
|
|
1625
|
-
compCommon: [
|
|
1765
|
+
pageCommon: [X, Dn],
|
|
1766
|
+
compCommon: [X, Dn]
|
|
1626
1767
|
}
|
|
1627
1768
|
};
|
|
1628
|
-
var
|
|
1629
|
-
function
|
|
1769
|
+
var Sl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1770
|
+
function xl(n) {
|
|
1630
1771
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1631
1772
|
}
|
|
1632
|
-
function
|
|
1773
|
+
function wl(n) {
|
|
1633
1774
|
if (n.__esModule) return n;
|
|
1634
1775
|
var o = n.default;
|
|
1635
1776
|
if (typeof o == "function") {
|
|
@@ -1639,8 +1780,8 @@ function Pl(n) {
|
|
|
1639
1780
|
f.prototype = o.prototype;
|
|
1640
1781
|
} else f = {};
|
|
1641
1782
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1642
|
-
var
|
|
1643
|
-
Object.defineProperty(f, h,
|
|
1783
|
+
var g = Object.getOwnPropertyDescriptor(n, h);
|
|
1784
|
+
Object.defineProperty(f, h, g.get ? g : {
|
|
1644
1785
|
enumerable: !0,
|
|
1645
1786
|
get: function() {
|
|
1646
1787
|
return n[h];
|
|
@@ -1648,15 +1789,15 @@ function Pl(n) {
|
|
|
1648
1789
|
});
|
|
1649
1790
|
}), f;
|
|
1650
1791
|
}
|
|
1651
|
-
var
|
|
1652
|
-
const
|
|
1792
|
+
var xi = { exports: {} };
|
|
1793
|
+
const Pl = {}, Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1653
1794
|
__proto__: null,
|
|
1654
|
-
default:
|
|
1655
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1795
|
+
default: Pl
|
|
1796
|
+
}, Symbol.toStringTag, { value: "Module" })), Al = /* @__PURE__ */ wl(Cl);
|
|
1656
1797
|
(function(n, o) {
|
|
1657
|
-
(function(h,
|
|
1658
|
-
n.exports =
|
|
1659
|
-
})(
|
|
1798
|
+
(function(h, g) {
|
|
1799
|
+
n.exports = g();
|
|
1800
|
+
})(Sl, () => (
|
|
1660
1801
|
/******/
|
|
1661
1802
|
(() => {
|
|
1662
1803
|
var f = {
|
|
@@ -1666,7 +1807,7 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1666
1807
|
!*** ./original-repo/interpreter.js ***!
|
|
1667
1808
|
\**************************************/
|
|
1668
1809
|
/***/
|
|
1669
|
-
function(m, T,
|
|
1810
|
+
function(m, T, R) {
|
|
1670
1811
|
/**
|
|
1671
1812
|
* @license
|
|
1672
1813
|
* Copyright 2013 Neil Fraser
|
|
@@ -1957,16 +2098,16 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1957
2098
|
var p = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1958
2099
|
if (p) {
|
|
1959
2100
|
for (var v = p.split(/\s*,\s*/), E = 0; E < v.length; E++) {
|
|
1960
|
-
var
|
|
1961
|
-
u.test(
|
|
2101
|
+
var S = v[E];
|
|
2102
|
+
u.test(S) || e.throwException(
|
|
1962
2103
|
e.SYNTAX_ERROR,
|
|
1963
|
-
"Invalid function argument: " +
|
|
2104
|
+
"Invalid function argument: " + S
|
|
1964
2105
|
);
|
|
1965
2106
|
}
|
|
1966
2107
|
p = v.join(", ");
|
|
1967
2108
|
}
|
|
1968
2109
|
try {
|
|
1969
|
-
var
|
|
2110
|
+
var O = e.parse_(
|
|
1970
2111
|
"(function(" + p + ") {" + a + "})",
|
|
1971
2112
|
"function" + e.functionCodeNumber_++
|
|
1972
2113
|
);
|
|
@@ -1976,13 +2117,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1976
2117
|
"Invalid code: " + I.message
|
|
1977
2118
|
);
|
|
1978
2119
|
}
|
|
1979
|
-
|
|
2120
|
+
O.body.length !== 1 && e.throwException(
|
|
1980
2121
|
e.SYNTAX_ERROR,
|
|
1981
2122
|
"Invalid code in function body"
|
|
1982
2123
|
);
|
|
1983
|
-
var
|
|
2124
|
+
var x = O.body[0].expression;
|
|
1984
2125
|
return e.createFunction(
|
|
1985
|
-
|
|
2126
|
+
x,
|
|
1986
2127
|
e.globalScope,
|
|
1987
2128
|
"anonymous"
|
|
1988
2129
|
);
|
|
@@ -2203,25 +2344,25 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2203
2344
|
e.TYPE_ERROR,
|
|
2204
2345
|
"Object.getOwnPropertyDescriptor called on non-object: " + l
|
|
2205
2346
|
), a = String(a), a in l.properties) {
|
|
2206
|
-
var p = Object.getOwnPropertyDescriptor(l.properties, a), v = l.getter[a], E = l.setter[a],
|
|
2207
|
-
return v || E ? (e.setProperty(
|
|
2208
|
-
|
|
2347
|
+
var p = Object.getOwnPropertyDescriptor(l.properties, a), v = l.getter[a], E = l.setter[a], S = e.createObjectProto(e.OBJECT_PROTO);
|
|
2348
|
+
return v || E ? (e.setProperty(S, "get", v), e.setProperty(S, "set", E)) : (e.setProperty(
|
|
2349
|
+
S,
|
|
2209
2350
|
"value",
|
|
2210
2351
|
/** @type {!Interpreter.Value} */
|
|
2211
2352
|
p.value
|
|
2212
2353
|
), e.setProperty(
|
|
2213
|
-
|
|
2354
|
+
S,
|
|
2214
2355
|
"writable",
|
|
2215
2356
|
p.writable
|
|
2216
2357
|
)), e.setProperty(
|
|
2217
|
-
|
|
2358
|
+
S,
|
|
2218
2359
|
"configurable",
|
|
2219
2360
|
p.configurable
|
|
2220
2361
|
), e.setProperty(
|
|
2221
|
-
|
|
2362
|
+
S,
|
|
2222
2363
|
"enumerable",
|
|
2223
2364
|
p.enumerable
|
|
2224
|
-
),
|
|
2365
|
+
), S;
|
|
2225
2366
|
}
|
|
2226
2367
|
}, this.setProperty(
|
|
2227
2368
|
this.OBJECT,
|
|
@@ -2803,21 +2944,21 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2803
2944
|
var E = String(this);
|
|
2804
2945
|
if (p = p ? Number(p) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2805
2946
|
if (r.vm) {
|
|
2806
|
-
var
|
|
2947
|
+
var S = {
|
|
2807
2948
|
string: E,
|
|
2808
2949
|
separator: a,
|
|
2809
2950
|
limit: p
|
|
2810
|
-
},
|
|
2951
|
+
}, O = "string.split(separator, limit)", L = e.vmCall(O, S, a, v);
|
|
2811
2952
|
L !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(L));
|
|
2812
2953
|
} else {
|
|
2813
|
-
var
|
|
2954
|
+
var x = e.createWorker(), I = e.regExpTimeout(
|
|
2814
2955
|
a,
|
|
2815
|
-
|
|
2956
|
+
x,
|
|
2816
2957
|
v
|
|
2817
2958
|
);
|
|
2818
|
-
|
|
2959
|
+
x.onmessage = function(W) {
|
|
2819
2960
|
clearTimeout(I), v(e.nativeToPseudo(W.data));
|
|
2820
|
-
},
|
|
2961
|
+
}, x.postMessage(["split", E, a, p]);
|
|
2821
2962
|
}
|
|
2822
2963
|
return;
|
|
2823
2964
|
}
|
|
@@ -2830,13 +2971,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2830
2971
|
var E = {
|
|
2831
2972
|
string: v,
|
|
2832
2973
|
regexp: a
|
|
2833
|
-
},
|
|
2974
|
+
}, S = "string.match(regexp)", I = e.vmCall(S, E, a, p);
|
|
2834
2975
|
I !== r.REGEXP_TIMEOUT && p(I && e.matchToPseudo_(I));
|
|
2835
2976
|
} else {
|
|
2836
|
-
var
|
|
2837
|
-
|
|
2838
|
-
clearTimeout(
|
|
2839
|
-
},
|
|
2977
|
+
var O = e.createWorker(), x = e.regExpTimeout(a, O, p);
|
|
2978
|
+
O.onmessage = function(L) {
|
|
2979
|
+
clearTimeout(x), p(L.data && e.matchToPseudo_(L.data));
|
|
2980
|
+
}, O.postMessage(["match", v, a]);
|
|
2840
2981
|
}
|
|
2841
2982
|
return;
|
|
2842
2983
|
}
|
|
@@ -2849,13 +2990,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2849
2990
|
var E = {
|
|
2850
2991
|
string: v,
|
|
2851
2992
|
regexp: a
|
|
2852
|
-
},
|
|
2853
|
-
|
|
2993
|
+
}, S = "string.search(regexp)", O = e.vmCall(S, E, a, p);
|
|
2994
|
+
O !== r.REGEXP_TIMEOUT && p(O);
|
|
2854
2995
|
} else {
|
|
2855
|
-
var
|
|
2856
|
-
|
|
2996
|
+
var x = e.createWorker(), I = e.regExpTimeout(a, x, p);
|
|
2997
|
+
x.onmessage = function(L) {
|
|
2857
2998
|
clearTimeout(I), p(L.data);
|
|
2858
|
-
},
|
|
2999
|
+
}, x.postMessage(["search", v, a]);
|
|
2859
3000
|
}
|
|
2860
3001
|
return;
|
|
2861
3002
|
}
|
|
@@ -2864,12 +3005,12 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2864
3005
|
var E = String(this);
|
|
2865
3006
|
if (p = String(p), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2866
3007
|
if (r.vm) {
|
|
2867
|
-
var
|
|
3008
|
+
var S = {
|
|
2868
3009
|
string: E,
|
|
2869
3010
|
substr: a,
|
|
2870
3011
|
newSubstr: p
|
|
2871
|
-
},
|
|
2872
|
-
|
|
3012
|
+
}, O = "string.replace(substr, newSubstr)", x = e.vmCall(O, S, a, v);
|
|
3013
|
+
x !== r.REGEXP_TIMEOUT && v(x);
|
|
2873
3014
|
} else {
|
|
2874
3015
|
var I = e.createWorker(), L = e.regExpTimeout(
|
|
2875
3016
|
a,
|
|
@@ -3154,18 +3295,18 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3154
3295
|
var p = {
|
|
3155
3296
|
string: s,
|
|
3156
3297
|
regexp: a
|
|
3157
|
-
}, v = "regexp.exec(string)",
|
|
3158
|
-
|
|
3298
|
+
}, v = "regexp.exec(string)", x = e.vmCall(v, p, a, l);
|
|
3299
|
+
x !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x)));
|
|
3159
3300
|
} else {
|
|
3160
|
-
var E = e.createWorker(),
|
|
3301
|
+
var E = e.createWorker(), S = e.regExpTimeout(a, E, l), O = this;
|
|
3161
3302
|
E.onmessage = function(I) {
|
|
3162
|
-
clearTimeout(
|
|
3303
|
+
clearTimeout(S), e.setProperty(O, "lastIndex", I.data[1]), l(e.matchToPseudo_(I.data[0]));
|
|
3163
3304
|
}, E.postMessage(["exec", a, a.lastIndex, s]);
|
|
3164
3305
|
}
|
|
3165
3306
|
return;
|
|
3166
3307
|
}
|
|
3167
|
-
var
|
|
3168
|
-
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(
|
|
3308
|
+
var x = a.exec(s);
|
|
3309
|
+
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(x));
|
|
3169
3310
|
}, this.setAsyncFunctionPrototype(this.REGEXP, "exec", i);
|
|
3170
3311
|
}, r.prototype.matchToPseudo_ = function(t) {
|
|
3171
3312
|
if (t) {
|
|
@@ -3300,14 +3441,14 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3300
3441
|
a && a.class === "Function" ? i.throwException(
|
|
3301
3442
|
i.TYPE_ERROR,
|
|
3302
3443
|
"Function replacer on JSON.stringify not supported"
|
|
3303
|
-
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(
|
|
3304
|
-
return typeof
|
|
3444
|
+
) : a && a.class === "Array" ? (a = i.pseudoToNative(a), a = a.filter(function(S) {
|
|
3445
|
+
return typeof S == "string" || typeof S == "number";
|
|
3305
3446
|
})) : a = null, typeof p != "string" && typeof p != "number" && (p = void 0);
|
|
3306
3447
|
var v = i.pseudoToNative(l);
|
|
3307
3448
|
try {
|
|
3308
3449
|
var E = JSON.stringify(v, a, p);
|
|
3309
|
-
} catch (
|
|
3310
|
-
i.throwException(i.TYPE_ERROR,
|
|
3450
|
+
} catch (S) {
|
|
3451
|
+
i.throwException(i.TYPE_ERROR, S.message);
|
|
3311
3452
|
}
|
|
3312
3453
|
return E;
|
|
3313
3454
|
}, this.setProperty(
|
|
@@ -3371,9 +3512,9 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3371
3512
|
}
|
|
3372
3513
|
for (var p = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), E = p + ": " + v + `
|
|
3373
3514
|
`, u = 0; u < i.length; u++) {
|
|
3374
|
-
var
|
|
3375
|
-
|
|
3376
|
-
` : E += " at " +
|
|
3515
|
+
var S = i[u].datumLoc, O = i[u].datumName, x = S.source + ":" + S.start.line + ":" + S.start.column;
|
|
3516
|
+
O ? E += " at " + O + " (" + x + `)
|
|
3517
|
+
` : E += " at " + x + `
|
|
3377
3518
|
`;
|
|
3378
3519
|
}
|
|
3379
3520
|
this.setProperty(
|
|
@@ -3409,7 +3550,7 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3409
3550
|
i = !0;
|
|
3410
3551
|
else {
|
|
3411
3552
|
try {
|
|
3412
|
-
r.vm =
|
|
3553
|
+
r.vm = R(
|
|
3413
3554
|
/*! vm */
|
|
3414
3555
|
"vm"
|
|
3415
3556
|
);
|
|
@@ -3515,22 +3656,22 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3515
3656
|
}
|
|
3516
3657
|
if (typeof t == "function") {
|
|
3517
3658
|
var a = this, p = function() {
|
|
3518
|
-
var
|
|
3659
|
+
var x = Array.prototype.slice.call(arguments).map(function(L) {
|
|
3519
3660
|
return a.pseudoToNative(L);
|
|
3520
|
-
}), I = t.apply(a,
|
|
3661
|
+
}), I = t.apply(a, x);
|
|
3521
3662
|
return a.nativeToPseudo(I);
|
|
3522
3663
|
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), E = this.createNativeFunction(p, !!v);
|
|
3523
3664
|
return i.pseudo.push(E), E;
|
|
3524
3665
|
}
|
|
3525
|
-
var
|
|
3526
|
-
Array.isArray(t) ?
|
|
3527
|
-
for (var
|
|
3666
|
+
var S;
|
|
3667
|
+
Array.isArray(t) ? S = this.createArray() : S = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(S);
|
|
3668
|
+
for (var O in t)
|
|
3528
3669
|
this.setProperty(
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
this.nativeToPseudo(t[
|
|
3670
|
+
S,
|
|
3671
|
+
O,
|
|
3672
|
+
this.nativeToPseudo(t[O], i)
|
|
3532
3673
|
);
|
|
3533
|
-
return
|
|
3674
|
+
return S;
|
|
3534
3675
|
}, r.prototype.pseudoToNative = function(t, e) {
|
|
3535
3676
|
if (t == null || t === !0 || t === !1 || typeof t == "string" || typeof t == "number")
|
|
3536
3677
|
return t;
|
|
@@ -3909,8 +4050,8 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3909
4050
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
3910
4051
|
}
|
|
3911
4052
|
a.type = "EvalProgram_", a.body = E.body;
|
|
3912
|
-
var
|
|
3913
|
-
r.stripLocations_(a,
|
|
4053
|
+
var S = i.node.arguments[0], O = S ? S.start : void 0, x = S ? S.end : void 0;
|
|
4054
|
+
r.stripLocations_(a, O, x), p = this.globalScope, u.length = 0;
|
|
3914
4055
|
}
|
|
3915
4056
|
var I = new r.Task(
|
|
3916
4057
|
v,
|
|
@@ -4253,8 +4394,8 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4253
4394
|
this.setProperty(v, E, e.arguments_[E]);
|
|
4254
4395
|
this.setProperty(p.object, "arguments", v);
|
|
4255
4396
|
for (var E = 0; E < a.params.length; E++) {
|
|
4256
|
-
var
|
|
4257
|
-
this.setProperty(p.object,
|
|
4397
|
+
var S = a.params[E].name, O = e.arguments_.length > E ? e.arguments_[E] : void 0;
|
|
4398
|
+
this.setProperty(p.object, S, O);
|
|
4258
4399
|
}
|
|
4259
4400
|
return p.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
4260
4401
|
p.object,
|
|
@@ -4263,13 +4404,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4263
4404
|
r.READONLY_DESCRIPTOR
|
|
4264
4405
|
), e.value = void 0, new r.State(a.body, p);
|
|
4265
4406
|
} else if (s.eval) {
|
|
4266
|
-
var
|
|
4267
|
-
if (typeof
|
|
4268
|
-
e.value =
|
|
4407
|
+
var x = e.arguments_[0];
|
|
4408
|
+
if (typeof x != "string")
|
|
4409
|
+
e.value = x;
|
|
4269
4410
|
else {
|
|
4270
4411
|
try {
|
|
4271
4412
|
var I = this.parse_(
|
|
4272
|
-
String(
|
|
4413
|
+
String(x),
|
|
4273
4414
|
"eval" + this.evalCodeNumber_++
|
|
4274
4415
|
);
|
|
4275
4416
|
} catch (B) {
|
|
@@ -4285,9 +4426,9 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4285
4426
|
else if (s.asyncFunc) {
|
|
4286
4427
|
var W = this, Le = function(de) {
|
|
4287
4428
|
e.value = de, W.paused_ = !1;
|
|
4288
|
-
},
|
|
4289
|
-
new Array(
|
|
4290
|
-
).slice(0,
|
|
4429
|
+
}, q = s.asyncFunc.length - 1, Re = e.arguments_.concat(
|
|
4430
|
+
new Array(q)
|
|
4431
|
+
).slice(0, q);
|
|
4291
4432
|
Re.push(Le), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Re);
|
|
4292
4433
|
return;
|
|
4293
4434
|
} else
|
|
@@ -4690,13 +4831,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4690
4831
|
\********************************/
|
|
4691
4832
|
/***/
|
|
4692
4833
|
function(m, T) {
|
|
4693
|
-
(function(
|
|
4834
|
+
(function(R, r) {
|
|
4694
4835
|
return r(T);
|
|
4695
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
4696
|
-
|
|
4836
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(R) {
|
|
4837
|
+
R.version = "0.5.0";
|
|
4697
4838
|
var r, t = "", e, i;
|
|
4698
|
-
|
|
4699
|
-
return t = String(c), e = t.length, s(d),
|
|
4839
|
+
R.parse = function(c, d) {
|
|
4840
|
+
return t = String(c), e = t.length, s(d), Xi(), aa(r.program);
|
|
4700
4841
|
};
|
|
4701
4842
|
var u = {
|
|
4702
4843
|
// JS-Interpreter change:
|
|
@@ -4763,27 +4904,27 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4763
4904
|
i = r.sourceFile;
|
|
4764
4905
|
}
|
|
4765
4906
|
var l = function(c, d) {
|
|
4766
|
-
for (var y = 1,
|
|
4767
|
-
|
|
4768
|
-
var C =
|
|
4907
|
+
for (var y = 1, _ = 0; ; ) {
|
|
4908
|
+
it.lastIndex = _;
|
|
4909
|
+
var C = it.exec(c);
|
|
4769
4910
|
if (C && C.index < d)
|
|
4770
|
-
++y,
|
|
4911
|
+
++y, _ = C.index + C[0].length;
|
|
4771
4912
|
else
|
|
4772
4913
|
break;
|
|
4773
4914
|
}
|
|
4774
|
-
return { line: y, column: d -
|
|
4775
|
-
}, a = 0, p = 0, v = 0, E,
|
|
4915
|
+
return { line: y, column: d - _ };
|
|
4916
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Re, de, B, J;
|
|
4776
4917
|
function k(c, d) {
|
|
4777
4918
|
var y = l(t, c);
|
|
4778
4919
|
d += " (" + y.line + ":" + y.column + ")";
|
|
4779
|
-
var
|
|
4780
|
-
throw
|
|
4920
|
+
var _ = new SyntaxError(d);
|
|
4921
|
+
throw _.pos = c, _.loc = y, _.raisedAt = a, _;
|
|
4781
4922
|
}
|
|
4782
|
-
var
|
|
4923
|
+
var Ci = [], Qe = { type: "num" }, mr = { type: "regexp" }, Tt = { type: "string" }, Oe = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, gr = { keyword: "catch" }, _r = { keyword: "continue" }, br = { keyword: "debugger" }, Er = { keyword: "default" }, Rr = { keyword: "do", isLoop: !0 }, Or = { keyword: "else", beforeExpr: !0 }, Tr = { keyword: "finally" }, Nr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, Sr = { keyword: "if" }, xr = { keyword: "return", beforeExpr: !0 }, Pt = { keyword: "switch" }, wr = { keyword: "throw", beforeExpr: !0 }, Pr = { keyword: "try" }, Ct = { keyword: "var" }, At = { keyword: "while", isLoop: !0 }, Cr = { keyword: "with" }, Ar = { keyword: "new", beforeExpr: !0 }, kr = { keyword: "this" }, Ir = { keyword: "null", atomValue: null }, Dr = { keyword: "true", atomValue: !0 }, Lr = { keyword: "false", atomValue: !1 }, et = { keyword: "in", binop: 7, beforeExpr: !0 }, Ai = {
|
|
4783
4924
|
break: St,
|
|
4784
|
-
case:
|
|
4785
|
-
catch:
|
|
4786
|
-
continue:
|
|
4925
|
+
case: xt,
|
|
4926
|
+
catch: gr,
|
|
4927
|
+
continue: _r,
|
|
4787
4928
|
debugger: br,
|
|
4788
4929
|
default: Er,
|
|
4789
4930
|
do: Rr,
|
|
@@ -4792,10 +4933,10 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4792
4933
|
for: Nr,
|
|
4793
4934
|
function: wt,
|
|
4794
4935
|
if: Sr,
|
|
4795
|
-
return:
|
|
4796
|
-
switch:
|
|
4936
|
+
return: xr,
|
|
4937
|
+
switch: Pt,
|
|
4797
4938
|
throw: wr,
|
|
4798
|
-
try:
|
|
4939
|
+
try: Pr,
|
|
4799
4940
|
var: Ct,
|
|
4800
4941
|
while: At,
|
|
4801
4942
|
with: Cr,
|
|
@@ -4803,40 +4944,40 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4803
4944
|
true: Dr,
|
|
4804
4945
|
false: Lr,
|
|
4805
4946
|
new: Ar,
|
|
4806
|
-
in:
|
|
4947
|
+
in: et,
|
|
4807
4948
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4808
4949
|
this: kr,
|
|
4809
4950
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4810
4951
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4811
4952
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4812
|
-
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" },
|
|
4813
|
-
function
|
|
4814
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
4815
|
-
y[d[
|
|
4953
|
+
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Te = { type: "}" }, te = { type: "(", beforeExpr: !0 }, Q = { type: ")" }, ue = { type: ",", beforeExpr: !0 }, re = { type: ";", beforeExpr: !0 }, Me = { type: ":", beforeExpr: !0 }, Fr = { type: "." }, Mr = { type: "?", beforeExpr: !0 }, Ur = { binop: 10, beforeExpr: !0 }, jr = { isAssign: !0, beforeExpr: !0 }, he = { isAssign: !0, beforeExpr: !0 }, ki = { postfix: !0, prefix: !0, isUpdate: !0 }, Br = { prefix: !0, beforeExpr: !0 }, $r = { binop: 1, beforeExpr: !0 }, Vr = { binop: 2, beforeExpr: !0 }, Ii = { binop: 3, beforeExpr: !0 }, Di = { binop: 4, beforeExpr: !0 }, Li = { binop: 5, beforeExpr: !0 }, Fi = { binop: 6, beforeExpr: !0 }, Mi = { binop: 7, beforeExpr: !0 }, Ui = { binop: 8, beforeExpr: !0 }, ji = { binop: 9, prefix: !0, beforeExpr: !0 }, Bi = { binop: 10, beforeExpr: !0 };
|
|
4954
|
+
function tt(c) {
|
|
4955
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), _ = 0; _ < d.length; _++)
|
|
4956
|
+
y[d[_]] = !0;
|
|
4816
4957
|
return function(C) {
|
|
4817
4958
|
return y[C] || !1;
|
|
4818
4959
|
};
|
|
4819
4960
|
}
|
|
4820
|
-
var
|
|
4821
|
-
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4822
|
-
},
|
|
4823
|
-
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4961
|
+
var $i = tt("class enum extends super const export import"), Gr = tt("implements interface let package private protected public static yield"), rt = tt("eval arguments"), Vi = tt("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"), Gi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Yr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Yi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", zr = new RegExp("[" + Yr + "]"), zi = new RegExp("[" + Yr + Yi + "]"), nt = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, at = function(c) {
|
|
4962
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && zr.test(String.fromCharCode(c));
|
|
4963
|
+
}, Xr = function(c) {
|
|
4964
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && zi.test(String.fromCharCode(c));
|
|
4824
4965
|
};
|
|
4825
4966
|
function ve() {
|
|
4826
4967
|
this.line = L, this.column = a - W;
|
|
4827
4968
|
}
|
|
4828
|
-
function
|
|
4969
|
+
function Xi() {
|
|
4829
4970
|
L = 1, a = W = 0, I = !0, Ue();
|
|
4830
4971
|
}
|
|
4831
4972
|
function V(c, d) {
|
|
4832
|
-
v = a, r.locations && (
|
|
4973
|
+
v = a, r.locations && (S = new ve()), O = c, Ue(), x = d, I = c.beforeExpr;
|
|
4833
4974
|
}
|
|
4834
|
-
function
|
|
4975
|
+
function Wi() {
|
|
4835
4976
|
var c = r.onComment && r.locations && new ve(), d = a, y = t.indexOf("*/", a += 2);
|
|
4836
4977
|
if (y === -1 && k(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
4837
|
-
|
|
4838
|
-
for (var
|
|
4839
|
-
++L, W =
|
|
4978
|
+
it.lastIndex = d;
|
|
4979
|
+
for (var _; (_ = it.exec(t)) && _.index < a; )
|
|
4980
|
+
++L, W = _.index + _[0].length;
|
|
4840
4981
|
}
|
|
4841
4982
|
r.onComment && r.onComment(
|
|
4842
4983
|
!0,
|
|
@@ -4875,91 +5016,91 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4875
5016
|
else if (c === 47) {
|
|
4876
5017
|
var d = t.charCodeAt(a + 1);
|
|
4877
5018
|
if (d === 42)
|
|
4878
|
-
|
|
5019
|
+
Wi();
|
|
4879
5020
|
else if (d === 47)
|
|
4880
5021
|
Dt();
|
|
4881
5022
|
else break;
|
|
4882
5023
|
} else if (c === 160)
|
|
4883
5024
|
++a;
|
|
4884
|
-
else if (c >= 5760 &&
|
|
5025
|
+
else if (c >= 5760 && Gi.test(String.fromCharCode(c)))
|
|
4885
5026
|
++a;
|
|
4886
5027
|
else
|
|
4887
5028
|
break;
|
|
4888
5029
|
}
|
|
4889
5030
|
}
|
|
4890
|
-
function
|
|
5031
|
+
function Ji() {
|
|
4891
5032
|
var c = t.charCodeAt(a + 1);
|
|
4892
|
-
c >= 48 && c <= 57 ? Jr(!0) : (++a, V(
|
|
5033
|
+
c >= 48 && c <= 57 ? Jr(!0) : (++a, V(Fr));
|
|
4893
5034
|
}
|
|
4894
|
-
function
|
|
5035
|
+
function Hi() {
|
|
4895
5036
|
var c = t.charCodeAt(a + 1);
|
|
4896
5037
|
I ? (++a, Wr()) : c === 61 ? G(he, 2) : G(Ur, 1);
|
|
4897
5038
|
}
|
|
4898
|
-
function
|
|
5039
|
+
function Ki() {
|
|
4899
5040
|
var c = t.charCodeAt(a + 1);
|
|
4900
|
-
c === 61 ? G(he, 2) : G(
|
|
5041
|
+
c === 61 ? G(he, 2) : G(Bi, 1);
|
|
4901
5042
|
}
|
|
4902
|
-
function
|
|
5043
|
+
function qi(c) {
|
|
4903
5044
|
var d = t.charCodeAt(a + 1);
|
|
4904
|
-
d === c ? G(c === 124 ? $r : Vr, 2) : d === 61 ? G(he, 2) : G(c === 124 ?
|
|
5045
|
+
d === c ? G(c === 124 ? $r : Vr, 2) : d === 61 ? G(he, 2) : G(c === 124 ? Ii : Li, 1);
|
|
4905
5046
|
}
|
|
4906
|
-
function
|
|
5047
|
+
function Zi() {
|
|
4907
5048
|
var c = t.charCodeAt(a + 1);
|
|
4908
|
-
c === 61 ? G(he, 2) : G(
|
|
5049
|
+
c === 61 ? G(he, 2) : G(Di, 1);
|
|
4909
5050
|
}
|
|
4910
|
-
function
|
|
5051
|
+
function Qi(c) {
|
|
4911
5052
|
var d = t.charCodeAt(a + 1);
|
|
4912
5053
|
if (d === c) {
|
|
4913
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5054
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && nt.test(t.slice(q, a))) {
|
|
4914
5055
|
a += 3, Dt(), Ue(), Ne();
|
|
4915
5056
|
return;
|
|
4916
5057
|
}
|
|
4917
|
-
G(
|
|
4918
|
-
} else d === 61 ? G(he, 2) : G(
|
|
5058
|
+
G(ki, 2);
|
|
5059
|
+
} else d === 61 ? G(he, 2) : G(ji, 1);
|
|
4919
5060
|
}
|
|
4920
|
-
function
|
|
5061
|
+
function ea(c) {
|
|
4921
5062
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
4922
5063
|
if (d === c) {
|
|
4923
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(he, y + 1) : G(
|
|
5064
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(he, y + 1) : G(Ui, y);
|
|
4924
5065
|
return;
|
|
4925
5066
|
}
|
|
4926
5067
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4927
5068
|
a += 4, Dt(), Ue(), Ne();
|
|
4928
5069
|
return;
|
|
4929
5070
|
}
|
|
4930
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(
|
|
5071
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Mi, y);
|
|
4931
5072
|
}
|
|
4932
|
-
function
|
|
5073
|
+
function ta(c) {
|
|
4933
5074
|
var d = t.charCodeAt(a + 1);
|
|
4934
|
-
d === 61 ? G(
|
|
5075
|
+
d === 61 ? G(Fi, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(c === 61 ? jr : Br, 1);
|
|
4935
5076
|
}
|
|
4936
|
-
function
|
|
5077
|
+
function ra(c) {
|
|
4937
5078
|
switch (c) {
|
|
4938
5079
|
case 46:
|
|
4939
|
-
return
|
|
5080
|
+
return Ji();
|
|
4940
5081
|
case 40:
|
|
4941
|
-
return ++a, V(
|
|
5082
|
+
return ++a, V(te);
|
|
4942
5083
|
case 41:
|
|
4943
|
-
return ++a, V(
|
|
5084
|
+
return ++a, V(Q);
|
|
4944
5085
|
case 59:
|
|
4945
|
-
return ++a, V(
|
|
5086
|
+
return ++a, V(re);
|
|
4946
5087
|
case 44:
|
|
4947
|
-
return ++a, V(
|
|
5088
|
+
return ++a, V(ue);
|
|
4948
5089
|
case 91:
|
|
4949
5090
|
return ++a, V(kt);
|
|
4950
5091
|
case 93:
|
|
4951
5092
|
return ++a, V(It);
|
|
4952
5093
|
case 123:
|
|
4953
|
-
return ++a, V(
|
|
5094
|
+
return ++a, V(Fe);
|
|
4954
5095
|
case 125:
|
|
4955
5096
|
return ++a, V(Te);
|
|
4956
5097
|
case 58:
|
|
4957
|
-
return ++a, V(
|
|
5098
|
+
return ++a, V(Me);
|
|
4958
5099
|
case 63:
|
|
4959
|
-
return ++a, V(
|
|
5100
|
+
return ++a, V(Mr);
|
|
4960
5101
|
case 48:
|
|
4961
5102
|
var d = t.charCodeAt(a + 1);
|
|
4962
|
-
if (d === 120 || d === 88) return
|
|
5103
|
+
if (d === 120 || d === 88) return na();
|
|
4963
5104
|
case 49:
|
|
4964
5105
|
case 50:
|
|
4965
5106
|
case 51:
|
|
@@ -4972,26 +5113,26 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4972
5113
|
return Jr(!1);
|
|
4973
5114
|
case 34:
|
|
4974
5115
|
case 39:
|
|
4975
|
-
return
|
|
5116
|
+
return ia(c);
|
|
4976
5117
|
case 47:
|
|
4977
|
-
return
|
|
5118
|
+
return Hi();
|
|
4978
5119
|
case 37:
|
|
4979
5120
|
case 42:
|
|
4980
|
-
return
|
|
5121
|
+
return Ki();
|
|
4981
5122
|
case 124:
|
|
4982
5123
|
case 38:
|
|
4983
|
-
return
|
|
5124
|
+
return qi(c);
|
|
4984
5125
|
case 94:
|
|
4985
|
-
return
|
|
5126
|
+
return Zi();
|
|
4986
5127
|
case 43:
|
|
4987
5128
|
case 45:
|
|
4988
|
-
return
|
|
5129
|
+
return Qi(c);
|
|
4989
5130
|
case 60:
|
|
4990
5131
|
case 62:
|
|
4991
|
-
return
|
|
5132
|
+
return ea(c);
|
|
4992
5133
|
case 61:
|
|
4993
5134
|
case 33:
|
|
4994
|
-
return
|
|
5135
|
+
return ta(c);
|
|
4995
5136
|
case 126:
|
|
4996
5137
|
return G(Br, 1);
|
|
4997
5138
|
}
|
|
@@ -5001,14 +5142,14 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5001
5142
|
if (c ? a = p + 1 : p = a, r.locations && (E = new ve()), c) return Wr();
|
|
5002
5143
|
if (a >= e) return V(Nt);
|
|
5003
5144
|
var d = t.charCodeAt(a);
|
|
5004
|
-
if (
|
|
5145
|
+
if (at(d) || d === 92)
|
|
5005
5146
|
return Kr();
|
|
5006
|
-
var y =
|
|
5147
|
+
var y = ra(d);
|
|
5007
5148
|
if (y === !1) {
|
|
5008
|
-
var
|
|
5009
|
-
if (
|
|
5149
|
+
var _ = String.fromCharCode(d);
|
|
5150
|
+
if (_ === "\\" || zr.test(_))
|
|
5010
5151
|
return Kr();
|
|
5011
|
-
k(a, "Unexpected character '" +
|
|
5152
|
+
k(a, "Unexpected character '" + _ + "'");
|
|
5012
5153
|
}
|
|
5013
5154
|
}
|
|
5014
5155
|
function G(c, d) {
|
|
@@ -5018,17 +5159,17 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5018
5159
|
function Wr() {
|
|
5019
5160
|
for (var c, d, y = a; ; ) {
|
|
5020
5161
|
a >= e && k(y, "Unterminated regexp");
|
|
5021
|
-
var
|
|
5022
|
-
if (
|
|
5162
|
+
var _ = t.charAt(a);
|
|
5163
|
+
if (nt.test(_) && k(y, "Unterminated regexp"), c)
|
|
5023
5164
|
c = !1;
|
|
5024
5165
|
else {
|
|
5025
|
-
if (
|
|
5166
|
+
if (_ === "[")
|
|
5026
5167
|
d = !0;
|
|
5027
|
-
else if (
|
|
5168
|
+
else if (_ === "]" && d)
|
|
5028
5169
|
d = !1;
|
|
5029
|
-
else if (
|
|
5170
|
+
else if (_ === "/" && !d)
|
|
5030
5171
|
break;
|
|
5031
|
-
c =
|
|
5172
|
+
c = _ === "\\";
|
|
5032
5173
|
}
|
|
5033
5174
|
++a;
|
|
5034
5175
|
}
|
|
@@ -5044,27 +5185,27 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5044
5185
|
V(mr, A);
|
|
5045
5186
|
}
|
|
5046
5187
|
function je(c, d) {
|
|
5047
|
-
for (var y = a,
|
|
5188
|
+
for (var y = a, _ = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5048
5189
|
var A = t.charCodeAt(a), U;
|
|
5049
5190
|
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;
|
|
5050
|
-
++a,
|
|
5191
|
+
++a, _ = _ * c + U;
|
|
5051
5192
|
}
|
|
5052
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5193
|
+
return a === y || d !== void 0 && a - y !== d ? null : _;
|
|
5053
5194
|
}
|
|
5054
|
-
function
|
|
5195
|
+
function na() {
|
|
5055
5196
|
a += 2;
|
|
5056
5197
|
var c = je(16);
|
|
5057
|
-
c === null && k(p + 2, "Expected hexadecimal number"),
|
|
5198
|
+
c === null && k(p + 2, "Expected hexadecimal number"), at(t.charCodeAt(a)) && k(a, "Identifier directly after number"), V(Qe, c);
|
|
5058
5199
|
}
|
|
5059
5200
|
function Jr(c) {
|
|
5060
|
-
var d = a, y = !1,
|
|
5201
|
+
var d = a, y = !1, _ = t.charCodeAt(a) === 48;
|
|
5061
5202
|
!c && je(10) === null && k(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, je(10), y = !0);
|
|
5062
5203
|
var C = t.charCodeAt(a);
|
|
5063
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && k(d, "Invalid number"), y = !0),
|
|
5204
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && k(d, "Invalid number"), y = !0), at(t.charCodeAt(a)) && k(a, "Identifier directly after number");
|
|
5064
5205
|
var w = t.slice(d, a), A;
|
|
5065
|
-
y ? A = parseFloat(w) : !
|
|
5206
|
+
y ? A = parseFloat(w) : !_ || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || J ? k(d, "Invalid number") : A = parseInt(w, 8), V(Qe, A);
|
|
5066
5207
|
}
|
|
5067
|
-
function
|
|
5208
|
+
function ia(c) {
|
|
5068
5209
|
a++;
|
|
5069
5210
|
for (var d = ""; ; ) {
|
|
5070
5211
|
a >= e && k(p, "Unterminated string constant");
|
|
@@ -5075,11 +5216,11 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5075
5216
|
}
|
|
5076
5217
|
if (y === 92) {
|
|
5077
5218
|
y = t.charCodeAt(++a);
|
|
5078
|
-
var
|
|
5079
|
-
for (
|
|
5080
|
-
|
|
5081
|
-
if (
|
|
5082
|
-
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
5219
|
+
var _ = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5220
|
+
for (_ && (_ = _[0]); _ && parseInt(_, 8) > 255; )
|
|
5221
|
+
_ = _.slice(0, -1);
|
|
5222
|
+
if (_ === "0" && (_ = null), ++a, _)
|
|
5223
|
+
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(_, 8)), a += _.length - 1;
|
|
5083
5224
|
else
|
|
5084
5225
|
switch (y) {
|
|
5085
5226
|
case 110:
|
|
@@ -5090,13 +5231,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5090
5231
|
d += "\r";
|
|
5091
5232
|
break;
|
|
5092
5233
|
case 120:
|
|
5093
|
-
d += String.fromCharCode(
|
|
5234
|
+
d += String.fromCharCode(ot(2));
|
|
5094
5235
|
break;
|
|
5095
5236
|
case 117:
|
|
5096
|
-
d += String.fromCharCode(
|
|
5237
|
+
d += String.fromCharCode(ot(4));
|
|
5097
5238
|
break;
|
|
5098
5239
|
case 85:
|
|
5099
|
-
d += String.fromCharCode(
|
|
5240
|
+
d += String.fromCharCode(ot(8));
|
|
5100
5241
|
break;
|
|
5101
5242
|
case 116:
|
|
5102
5243
|
d += " ";
|
|
@@ -5126,7 +5267,7 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5126
5267
|
(y === 13 || y === 10 || y === 8232 || y === 8233) && k(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5127
5268
|
}
|
|
5128
5269
|
}
|
|
5129
|
-
function
|
|
5270
|
+
function ot(c) {
|
|
5130
5271
|
var d = je(16, c);
|
|
5131
5272
|
return d === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5132
5273
|
d;
|
|
@@ -5135,13 +5276,13 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5135
5276
|
function Hr() {
|
|
5136
5277
|
Se = !1;
|
|
5137
5278
|
for (var c, d = !0, y = a; ; ) {
|
|
5138
|
-
var
|
|
5139
|
-
if (
|
|
5279
|
+
var _ = t.charCodeAt(a);
|
|
5280
|
+
if (Xr(_))
|
|
5140
5281
|
Se && (c += t.charAt(a)), ++a;
|
|
5141
|
-
else if (
|
|
5282
|
+
else if (_ === 92) {
|
|
5142
5283
|
Se || (c = t.slice(y, a)), Se = !0, t.charCodeAt(++a) !== 117 && k(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5143
|
-
var C =
|
|
5144
|
-
w || k(a - 1, "Invalid Unicode escape"), (d ?
|
|
5284
|
+
var C = ot(4), w = String.fromCharCode(C);
|
|
5285
|
+
w || k(a - 1, "Invalid Unicode escape"), (d ? at(C) : Xr(C)) || k(a - 4, "Invalid Unicode escape"), c += w;
|
|
5145
5286
|
} else
|
|
5146
5287
|
break;
|
|
5147
5288
|
d = !1;
|
|
@@ -5150,10 +5291,10 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5150
5291
|
}
|
|
5151
5292
|
function Kr() {
|
|
5152
5293
|
var c = Hr(), d = Oe;
|
|
5153
|
-
!Se &&
|
|
5294
|
+
!Se && Vi(c) && (d = Ai[c]), V(d, c);
|
|
5154
5295
|
}
|
|
5155
5296
|
function D() {
|
|
5156
|
-
Le = p,
|
|
5297
|
+
Le = p, q = v, Re = S, Ne();
|
|
5157
5298
|
}
|
|
5158
5299
|
function Lt(c) {
|
|
5159
5300
|
if (J = c, a = p, r.locations)
|
|
@@ -5172,284 +5313,284 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5172
5313
|
var c = new qr();
|
|
5173
5314
|
return r.locations && (c.loc = new Zr()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5174
5315
|
}
|
|
5175
|
-
function
|
|
5316
|
+
function se(c) {
|
|
5176
5317
|
var d = new qr();
|
|
5177
5318
|
return d.start = c.start, r.locations && (d.loc = new Zr(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5178
5319
|
}
|
|
5179
|
-
function
|
|
5180
|
-
return c.type = d, c.end =
|
|
5320
|
+
function P(c, d) {
|
|
5321
|
+
return c.type = d, c.end = q, r.locations && (c.loc.end = Re), r.ranges && (c.range[1] = q), c;
|
|
5181
5322
|
}
|
|
5182
|
-
function
|
|
5323
|
+
function Ft(c) {
|
|
5183
5324
|
return c.type === "ExpressionStatement" && c.expression.type === "Literal" && c.expression.value === "use strict";
|
|
5184
5325
|
}
|
|
5185
5326
|
function j(c) {
|
|
5186
|
-
return
|
|
5327
|
+
return O === c ? (D(), !0) : !1;
|
|
5187
5328
|
}
|
|
5188
|
-
function
|
|
5189
|
-
return !r.strictSemicolons && (
|
|
5329
|
+
function ut() {
|
|
5330
|
+
return !r.strictSemicolons && (O === Nt || O === Te || nt.test(t.slice(q, p)));
|
|
5190
5331
|
}
|
|
5191
5332
|
function ye() {
|
|
5192
|
-
!j(
|
|
5333
|
+
!j(re) && !ut() && ne();
|
|
5193
5334
|
}
|
|
5194
5335
|
function $(c) {
|
|
5195
|
-
|
|
5336
|
+
O === c ? D() : ne();
|
|
5196
5337
|
}
|
|
5197
|
-
function
|
|
5338
|
+
function ne() {
|
|
5198
5339
|
k(p, "Unexpected token");
|
|
5199
5340
|
}
|
|
5200
|
-
function
|
|
5201
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), J && c.type === "Identifier" &&
|
|
5341
|
+
function st(c) {
|
|
5342
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), J && c.type === "Identifier" && rt(c.name) && k(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5202
5343
|
}
|
|
5203
|
-
function
|
|
5204
|
-
Le =
|
|
5344
|
+
function aa(c) {
|
|
5345
|
+
Le = q = a, r.locations && (Re = new ve()), de = J = !1, B = [], Ne();
|
|
5205
5346
|
var d = c || Y(), y = !0;
|
|
5206
|
-
for (c || (d.body = []);
|
|
5207
|
-
var
|
|
5208
|
-
d.body.push(
|
|
5347
|
+
for (c || (d.body = []); O !== Nt; ) {
|
|
5348
|
+
var _ = Z();
|
|
5349
|
+
d.body.push(_), y && Ft(_) && Lt(!0), y = !1;
|
|
5209
5350
|
}
|
|
5210
|
-
return
|
|
5351
|
+
return P(d, "Program");
|
|
5211
5352
|
}
|
|
5212
|
-
var
|
|
5213
|
-
function
|
|
5214
|
-
(
|
|
5215
|
-
var c =
|
|
5353
|
+
var Mt = { kind: "loop" }, oa = { kind: "switch" };
|
|
5354
|
+
function Z() {
|
|
5355
|
+
(O === Ur || O === he && x === "/=") && Ne(!0);
|
|
5356
|
+
var c = O, d = Y();
|
|
5216
5357
|
switch (c) {
|
|
5217
5358
|
case St:
|
|
5218
|
-
case
|
|
5359
|
+
case _r:
|
|
5219
5360
|
D();
|
|
5220
5361
|
var y = c === St;
|
|
5221
|
-
j(
|
|
5222
|
-
for (var
|
|
5223
|
-
var C = B[
|
|
5362
|
+
j(re) || ut() ? d.label = null : O !== Oe ? ne() : (d.label = le(), ye());
|
|
5363
|
+
for (var _ = 0; _ < B.length; ++_) {
|
|
5364
|
+
var C = B[_];
|
|
5224
5365
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5225
5366
|
break;
|
|
5226
5367
|
}
|
|
5227
|
-
return
|
|
5368
|
+
return _ === B.length && k(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5228
5369
|
case br:
|
|
5229
|
-
return D(), ye(),
|
|
5370
|
+
return D(), ye(), P(d, "DebuggerStatement");
|
|
5230
5371
|
case Rr:
|
|
5231
|
-
return D(), B.push(
|
|
5372
|
+
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(), ye(), P(d, "DoWhileStatement");
|
|
5232
5373
|
case Nr:
|
|
5233
|
-
if (D(), B.push(
|
|
5234
|
-
if (
|
|
5374
|
+
if (D(), B.push(Mt), $(te), O === re) return Ut(d, null);
|
|
5375
|
+
if (O === Ct) {
|
|
5235
5376
|
var w = Y();
|
|
5236
|
-
return D(), en(w, !0),
|
|
5377
|
+
return D(), en(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(et) ? Qr(d, w) : Ut(d, w);
|
|
5237
5378
|
}
|
|
5238
|
-
var w =
|
|
5239
|
-
return j(
|
|
5379
|
+
var w = z(!1, !0);
|
|
5380
|
+
return j(et) ? (st(w), Qr(d, w)) : Ut(d, w);
|
|
5240
5381
|
case wt:
|
|
5241
5382
|
return D(), Gt(d, !0);
|
|
5242
5383
|
case Sr:
|
|
5243
|
-
return D(), d.test = Be(), d.consequent =
|
|
5244
|
-
case
|
|
5245
|
-
return !de && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(
|
|
5246
|
-
case
|
|
5247
|
-
D(), d.discriminant = Be(), d.cases = [], $(
|
|
5248
|
-
for (var A, U;
|
|
5249
|
-
if (
|
|
5250
|
-
var Ge =
|
|
5251
|
-
A &&
|
|
5384
|
+
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Or) ? Z() : null, P(d, "IfStatement");
|
|
5385
|
+
case xr:
|
|
5386
|
+
return !de && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(re) || ut() ? d.argument = null : (d.argument = z(), ye()), P(d, "ReturnStatement");
|
|
5387
|
+
case Pt:
|
|
5388
|
+
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(oa);
|
|
5389
|
+
for (var A, U; O !== Te; )
|
|
5390
|
+
if (O === xt || O === Er) {
|
|
5391
|
+
var Ge = O === xt;
|
|
5392
|
+
A && P(A, "SwitchCase"), d.cases.push(A = Y()), A.consequent = [], D(), Ge ? A.test = z() : (U && k(Le, "Multiple default clauses"), U = !0, A.test = null), $(Me);
|
|
5252
5393
|
} else
|
|
5253
|
-
A ||
|
|
5254
|
-
return A &&
|
|
5394
|
+
A || ne(), A.consequent.push(Z());
|
|
5395
|
+
return A && P(A, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5255
5396
|
case wr:
|
|
5256
|
-
return D(),
|
|
5257
|
-
case
|
|
5258
|
-
if (D(), d.block = $e(), d.handler = null,
|
|
5259
|
-
var
|
|
5260
|
-
D(), $(
|
|
5397
|
+
return D(), nt.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = z(), ye(), P(d, "ThrowStatement");
|
|
5398
|
+
case Pr:
|
|
5399
|
+
if (D(), d.block = $e(), d.handler = null, O === gr) {
|
|
5400
|
+
var xe = Y();
|
|
5401
|
+
D(), $(te), xe.param = le(), J && rt(xe.param.name) && k(xe.param.start, "Binding " + xe.param.name + " in strict mode"), $(Q), xe.body = $e(), d.handler = P(xe, "CatchClause");
|
|
5261
5402
|
}
|
|
5262
|
-
return d.finalizer = j(Tr) ? $e() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"),
|
|
5403
|
+
return d.finalizer = j(Tr) ? $e() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5263
5404
|
case Ct:
|
|
5264
|
-
return D(), en(d), ye(),
|
|
5405
|
+
return D(), en(d), ye(), P(d, "VariableDeclaration");
|
|
5265
5406
|
case At:
|
|
5266
|
-
return D(), d.test = Be(), B.push(
|
|
5407
|
+
return D(), d.test = Be(), B.push(Mt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5267
5408
|
case Cr:
|
|
5268
|
-
return J && k(p, "'with' in strict mode"), D(), d.object = Be(), d.body =
|
|
5269
|
-
case
|
|
5409
|
+
return J && k(p, "'with' in strict mode"), D(), d.object = Be(), d.body = Z(), P(d, "WithStatement");
|
|
5410
|
+
case Fe:
|
|
5270
5411
|
return $e();
|
|
5271
|
-
case
|
|
5272
|
-
return D(),
|
|
5412
|
+
case re:
|
|
5413
|
+
return D(), P(d, "EmptyStatement");
|
|
5273
5414
|
default:
|
|
5274
|
-
var
|
|
5275
|
-
if (c === Oe &&
|
|
5276
|
-
for (var
|
|
5277
|
-
B[
|
|
5278
|
-
var
|
|
5279
|
-
return B.push({ name:
|
|
5415
|
+
var zt = x, lt = z();
|
|
5416
|
+
if (c === Oe && lt.type === "Identifier" && j(Me)) {
|
|
5417
|
+
for (var _ = 0; _ < B.length; ++_)
|
|
5418
|
+
B[_].name === zt && k(lt.start, "Label '" + zt + "' is already declared");
|
|
5419
|
+
var pa = O.isLoop ? "loop" : O === Pt ? "switch" : null;
|
|
5420
|
+
return B.push({ name: zt, kind: pa }), d.body = Z(), B.pop(), d.label = lt, P(d, "LabeledStatement");
|
|
5280
5421
|
} else
|
|
5281
|
-
return d.expression =
|
|
5422
|
+
return d.expression = lt, ye(), P(d, "ExpressionStatement");
|
|
5282
5423
|
}
|
|
5283
5424
|
}
|
|
5284
5425
|
function Be() {
|
|
5285
|
-
$(
|
|
5286
|
-
var c =
|
|
5287
|
-
return $(
|
|
5426
|
+
$(te);
|
|
5427
|
+
var c = z();
|
|
5428
|
+
return $(Q), c;
|
|
5288
5429
|
}
|
|
5289
5430
|
function $e(c) {
|
|
5290
|
-
var d = Y(), y = !0,
|
|
5291
|
-
for (d.body = [], $(
|
|
5292
|
-
var w =
|
|
5293
|
-
d.body.push(w), y && c &&
|
|
5431
|
+
var d = Y(), y = !0, _ = !1, C;
|
|
5432
|
+
for (d.body = [], $(Fe); !j(Te); ) {
|
|
5433
|
+
var w = Z();
|
|
5434
|
+
d.body.push(w), y && c && Ft(w) && (C = _, Lt(_ = !0)), y = !1;
|
|
5294
5435
|
}
|
|
5295
|
-
return
|
|
5436
|
+
return _ && !C && Lt(!1), P(d, "BlockStatement");
|
|
5296
5437
|
}
|
|
5297
5438
|
function Ut(c, d) {
|
|
5298
|
-
return c.init = d, $(
|
|
5439
|
+
return c.init = d, $(re), c.test = O === re ? null : z(), $(re), c.update = O === Q ? null : z(), $(Q), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5299
5440
|
}
|
|
5300
5441
|
function Qr(c, d) {
|
|
5301
|
-
return c.left = d, c.right =
|
|
5442
|
+
return c.left = d, c.right = z(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5302
5443
|
}
|
|
5303
5444
|
function en(c, d) {
|
|
5304
5445
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5305
5446
|
var y = Y();
|
|
5306
|
-
if (y.id =
|
|
5447
|
+
if (y.id = le(), J && rt(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(jr) ? z(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(ue)) break;
|
|
5307
5448
|
}
|
|
5308
5449
|
}
|
|
5309
|
-
function
|
|
5450
|
+
function z(c, d) {
|
|
5310
5451
|
var y = jt(d);
|
|
5311
|
-
if (!c &&
|
|
5312
|
-
var
|
|
5313
|
-
for (
|
|
5314
|
-
return
|
|
5452
|
+
if (!c && O === ue) {
|
|
5453
|
+
var _ = se(y);
|
|
5454
|
+
for (_.expressions = [y]; j(ue); ) _.expressions.push(jt(d));
|
|
5455
|
+
return P(_, "SequenceExpression");
|
|
5315
5456
|
}
|
|
5316
5457
|
return y;
|
|
5317
5458
|
}
|
|
5318
5459
|
function jt(c) {
|
|
5319
|
-
var d =
|
|
5320
|
-
if (
|
|
5321
|
-
var y =
|
|
5322
|
-
return y.operator =
|
|
5460
|
+
var d = ua(c);
|
|
5461
|
+
if (O.isAssign) {
|
|
5462
|
+
var y = se(d);
|
|
5463
|
+
return y.operator = x, y.left = d, D(), y.right = jt(c), st(d), P(y, "AssignmentExpression");
|
|
5323
5464
|
}
|
|
5324
5465
|
return d;
|
|
5325
5466
|
}
|
|
5326
|
-
function
|
|
5327
|
-
var d =
|
|
5328
|
-
if (j(
|
|
5329
|
-
var y =
|
|
5330
|
-
return y.test = d, y.consequent =
|
|
5467
|
+
function ua(c) {
|
|
5468
|
+
var d = sa(c);
|
|
5469
|
+
if (j(Mr)) {
|
|
5470
|
+
var y = se(d);
|
|
5471
|
+
return y.test = d, y.consequent = z(!0), $(Me), y.alternate = z(!0, c), P(y, "ConditionalExpression");
|
|
5331
5472
|
}
|
|
5332
5473
|
return d;
|
|
5333
5474
|
}
|
|
5334
|
-
function
|
|
5475
|
+
function sa(c) {
|
|
5335
5476
|
return Bt($t(), -1, c);
|
|
5336
5477
|
}
|
|
5337
5478
|
function Bt(c, d, y) {
|
|
5338
|
-
var
|
|
5339
|
-
if (
|
|
5340
|
-
var C =
|
|
5341
|
-
C.left = c, C.operator =
|
|
5342
|
-
var w =
|
|
5343
|
-
D(), C.right = Bt($t(),
|
|
5344
|
-
var A =
|
|
5479
|
+
var _ = O.binop;
|
|
5480
|
+
if (_ !== null && (!y || O !== et) && _ > d) {
|
|
5481
|
+
var C = se(c);
|
|
5482
|
+
C.left = c, C.operator = x;
|
|
5483
|
+
var w = O;
|
|
5484
|
+
D(), C.right = Bt($t(), _, y);
|
|
5485
|
+
var A = P(C, w === $r || w === Vr ? "LogicalExpression" : "BinaryExpression");
|
|
5345
5486
|
return Bt(A, d, y);
|
|
5346
5487
|
}
|
|
5347
5488
|
return c;
|
|
5348
5489
|
}
|
|
5349
5490
|
function $t() {
|
|
5350
|
-
if (
|
|
5351
|
-
var c = Y(), d =
|
|
5352
|
-
return c.operator =
|
|
5491
|
+
if (O.prefix) {
|
|
5492
|
+
var c = Y(), d = O.isUpdate;
|
|
5493
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = $t(), d ? st(c.argument) : J && c.operator === "delete" && c.argument.type === "Identifier" && k(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5353
5494
|
}
|
|
5354
|
-
for (var y =
|
|
5355
|
-
var c =
|
|
5356
|
-
c.operator =
|
|
5495
|
+
for (var y = la(); O.postfix && !ut(); ) {
|
|
5496
|
+
var c = se(y);
|
|
5497
|
+
c.operator = x, c.prefix = !1, c.argument = y, st(y), D(), y = P(c, "UpdateExpression");
|
|
5357
5498
|
}
|
|
5358
5499
|
return y;
|
|
5359
5500
|
}
|
|
5360
|
-
function
|
|
5501
|
+
function la() {
|
|
5361
5502
|
return Ve(Vt());
|
|
5362
5503
|
}
|
|
5363
5504
|
function Ve(c, d) {
|
|
5364
5505
|
var y;
|
|
5365
|
-
return j(
|
|
5506
|
+
return j(Fr) ? (y = se(c), y.object = c, y.property = le(!0), y.computed = !1, Ve(P(y, "MemberExpression"), d)) : j(kt) ? (y = se(c), y.object = c, y.property = z(), y.computed = !0, $(It), Ve(P(y, "MemberExpression"), d)) : !d && j(te) ? (y = se(c), y.callee = c, y.arguments = Yt(Q, !1), Ve(P(y, "CallExpression"), d)) : c;
|
|
5366
5507
|
}
|
|
5367
5508
|
function Vt() {
|
|
5368
5509
|
var c;
|
|
5369
|
-
switch (
|
|
5510
|
+
switch (O) {
|
|
5370
5511
|
case kr:
|
|
5371
|
-
return c = Y(), D(),
|
|
5512
|
+
return c = Y(), D(), P(c, "ThisExpression");
|
|
5372
5513
|
case Oe:
|
|
5373
|
-
return
|
|
5374
|
-
case
|
|
5514
|
+
return le();
|
|
5515
|
+
case Qe:
|
|
5375
5516
|
case Tt:
|
|
5376
5517
|
case mr:
|
|
5377
|
-
return c = Y(), c.value =
|
|
5518
|
+
return c = Y(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5378
5519
|
case Ir:
|
|
5379
5520
|
case Dr:
|
|
5380
5521
|
case Lr:
|
|
5381
|
-
return c = Y(), c.value =
|
|
5382
|
-
case
|
|
5522
|
+
return c = Y(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5523
|
+
case te:
|
|
5383
5524
|
var d = E, y = p;
|
|
5384
5525
|
D();
|
|
5385
|
-
var
|
|
5386
|
-
return
|
|
5526
|
+
var _ = z();
|
|
5527
|
+
return _.start = y, _.end = v, r.locations && (_.loc.start = d, _.loc.end = S), r.ranges && (_.range = [y, v]), $(Q), _;
|
|
5387
5528
|
case kt:
|
|
5388
|
-
return c = Y(), D(), c.elements = Yt(It, !0, !0),
|
|
5389
|
-
case
|
|
5390
|
-
return
|
|
5529
|
+
return c = Y(), D(), c.elements = Yt(It, !0, !0), P(c, "ArrayExpression");
|
|
5530
|
+
case Fe:
|
|
5531
|
+
return fa();
|
|
5391
5532
|
case wt:
|
|
5392
5533
|
return c = Y(), D(), Gt(c, !1);
|
|
5393
5534
|
case Ar:
|
|
5394
|
-
return
|
|
5535
|
+
return ca();
|
|
5395
5536
|
}
|
|
5396
|
-
|
|
5537
|
+
ne();
|
|
5397
5538
|
}
|
|
5398
|
-
function
|
|
5539
|
+
function ca() {
|
|
5399
5540
|
var c = Y();
|
|
5400
|
-
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(
|
|
5541
|
+
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(te) ? Yt(Q, !1) : Ci, P(c, "NewExpression");
|
|
5401
5542
|
}
|
|
5402
|
-
function
|
|
5543
|
+
function fa() {
|
|
5403
5544
|
var c = Y(), d = !0, y = !1;
|
|
5404
5545
|
for (c.properties = [], D(); !j(Te); ) {
|
|
5405
5546
|
if (d)
|
|
5406
5547
|
d = !1;
|
|
5407
|
-
else if ($(
|
|
5548
|
+
else if ($(ue), r.allowTrailingCommas && j(Te))
|
|
5408
5549
|
break;
|
|
5409
|
-
var
|
|
5410
|
-
if (j(
|
|
5550
|
+
var _ = { key: tn() }, C = !1, w;
|
|
5551
|
+
if (j(Me) ? (_.value = z(!0), w = _.kind = "init") : _.key.type === "Identifier" && (_.key.name === "get" || _.key.name === "set") ? (C = y = !0, w = _.kind = _.key.name, _.key = tn(), O !== te && ne(), _.value = Gt(Y(), !1)) : ne(), _.key.type === "Identifier" && (J || y))
|
|
5411
5552
|
for (var A = 0; A < c.properties.length; ++A) {
|
|
5412
5553
|
var U = c.properties[A];
|
|
5413
|
-
if (U.key.name ===
|
|
5554
|
+
if (U.key.name === _.key.name) {
|
|
5414
5555
|
var Ge = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5415
|
-
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(
|
|
5556
|
+
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(_.key.start, "Redefinition of property");
|
|
5416
5557
|
}
|
|
5417
5558
|
}
|
|
5418
|
-
c.properties.push(
|
|
5559
|
+
c.properties.push(_);
|
|
5419
5560
|
}
|
|
5420
|
-
return
|
|
5561
|
+
return P(c, "ObjectExpression");
|
|
5421
5562
|
}
|
|
5422
5563
|
function tn() {
|
|
5423
|
-
return
|
|
5564
|
+
return O === Qe || O === Tt ? Vt() : le(!0);
|
|
5424
5565
|
}
|
|
5425
5566
|
function Gt(c, d) {
|
|
5426
|
-
|
|
5567
|
+
O === Oe ? c.id = le() : d ? ne() : c.id = null, c.params = [];
|
|
5427
5568
|
var y = !0;
|
|
5428
|
-
for ($(
|
|
5429
|
-
y ? y = !1 : $(
|
|
5430
|
-
var
|
|
5431
|
-
if (de = !0, B = [], c.body = $e(!0), de =
|
|
5569
|
+
for ($(te); !j(Q); )
|
|
5570
|
+
y ? y = !1 : $(ue), c.params.push(le());
|
|
5571
|
+
var _ = de, C = B;
|
|
5572
|
+
if (de = !0, B = [], c.body = $e(!0), de = _, B = C, J || c.body.body.length && Ft(c.body.body[0]))
|
|
5432
5573
|
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5433
5574
|
var A = w < 0 ? c.id : c.params[w];
|
|
5434
|
-
if ((Gr(A.name) ||
|
|
5575
|
+
if ((Gr(A.name) || rt(A.name)) && k(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5435
5576
|
for (var U = 0; U < w; ++U)
|
|
5436
5577
|
A.name === c.params[U].name && k(A.start, "Argument name clash in strict mode");
|
|
5437
5578
|
}
|
|
5438
|
-
return
|
|
5579
|
+
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5439
5580
|
}
|
|
5440
5581
|
function Yt(c, d, y) {
|
|
5441
|
-
for (var
|
|
5582
|
+
for (var _ = [], C = !0; !j(c); ) {
|
|
5442
5583
|
if (C)
|
|
5443
5584
|
C = !1;
|
|
5444
|
-
else if ($(
|
|
5585
|
+
else if ($(ue), d && r.allowTrailingCommas && j(c))
|
|
5445
5586
|
break;
|
|
5446
|
-
|
|
5587
|
+
_.push(y && O === ue ? null : z(!0));
|
|
5447
5588
|
}
|
|
5448
|
-
return
|
|
5589
|
+
return _;
|
|
5449
5590
|
}
|
|
5450
|
-
function
|
|
5591
|
+
function le(c) {
|
|
5451
5592
|
var d = Y();
|
|
5452
|
-
return c && r.forbidReserved === "everywhere" && (c = !1),
|
|
5593
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Oe ? (!c && (r.forbidReserved && $i(x) || J && Gr(x)) && t.slice(p, v).indexOf("\\") === -1 && k(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ne(), I = !1, D(), P(d, "Identifier");
|
|
5453
5594
|
}
|
|
5454
5595
|
});
|
|
5455
5596
|
}
|
|
@@ -5461,16 +5602,16 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5461
5602
|
\*********************/
|
|
5462
5603
|
/***/
|
|
5463
5604
|
(m) => {
|
|
5464
|
-
m.exports =
|
|
5605
|
+
m.exports = Al;
|
|
5465
5606
|
}
|
|
5466
5607
|
)
|
|
5467
5608
|
/******/
|
|
5468
5609
|
}, h = {};
|
|
5469
|
-
function
|
|
5610
|
+
function g(m) {
|
|
5470
5611
|
var T = h[m];
|
|
5471
5612
|
if (T !== void 0)
|
|
5472
5613
|
return T.exports;
|
|
5473
|
-
var
|
|
5614
|
+
var R = h[m] = {
|
|
5474
5615
|
/******/
|
|
5475
5616
|
// no module.id needed
|
|
5476
5617
|
/******/
|
|
@@ -5479,12 +5620,12 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5479
5620
|
exports: {}
|
|
5480
5621
|
/******/
|
|
5481
5622
|
};
|
|
5482
|
-
return f[m].call(
|
|
5623
|
+
return f[m].call(R.exports, R, R.exports, g), R.exports;
|
|
5483
5624
|
}
|
|
5484
|
-
|
|
5485
|
-
for (var
|
|
5486
|
-
|
|
5487
|
-
},
|
|
5625
|
+
g.d = (m, T) => {
|
|
5626
|
+
for (var R in T)
|
|
5627
|
+
g.o(T, R) && !g.o(m, R) && Object.defineProperty(m, R, { enumerable: !0, get: T[R] });
|
|
5628
|
+
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.r = (m) => {
|
|
5488
5629
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5489
5630
|
};
|
|
5490
5631
|
var b = {};
|
|
@@ -5492,50 +5633,50 @@ const wl = {}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5492
5633
|
/*!*******************************!*\
|
|
5493
5634
|
!*** ./src/js-interpreter.js ***!
|
|
5494
5635
|
\*******************************/
|
|
5495
|
-
|
|
5636
|
+
g.r(b), g.d(b, {
|
|
5496
5637
|
/* harmony export */
|
|
5497
|
-
default: () =>
|
|
5638
|
+
default: () => R
|
|
5498
5639
|
/* harmony export */
|
|
5499
5640
|
});
|
|
5500
|
-
const m =
|
|
5641
|
+
const m = g(
|
|
5501
5642
|
/*! ../original-repo/acorn */
|
|
5502
5643
|
"./original-repo/acorn.js"
|
|
5503
5644
|
);
|
|
5504
5645
|
globalThis.acorn = m;
|
|
5505
|
-
const { Interpreter: T } =
|
|
5646
|
+
const { Interpreter: T } = g(
|
|
5506
5647
|
/*! ../original-repo/interpreter */
|
|
5507
5648
|
"./original-repo/interpreter.js"
|
|
5508
|
-
),
|
|
5649
|
+
), R = T;
|
|
5509
5650
|
})(), b = b.default, b;
|
|
5510
5651
|
})()
|
|
5511
5652
|
));
|
|
5512
|
-
})(
|
|
5513
|
-
var
|
|
5514
|
-
const
|
|
5515
|
-
function
|
|
5653
|
+
})(xi);
|
|
5654
|
+
var kl = xi.exports;
|
|
5655
|
+
const Il = /* @__PURE__ */ xl(kl);
|
|
5656
|
+
function Dl(n, o) {
|
|
5516
5657
|
function f(T) {
|
|
5517
|
-
const
|
|
5518
|
-
console.log(
|
|
5658
|
+
const R = n.pseudoToNative(T);
|
|
5659
|
+
console.log(R);
|
|
5519
5660
|
}
|
|
5520
5661
|
function h(T) {
|
|
5521
|
-
const
|
|
5662
|
+
const R = n.pseudoToNative(T);
|
|
5522
5663
|
let r = "";
|
|
5523
|
-
typeof
|
|
5664
|
+
typeof R == "object" ? r = JSON.stringify(R) : r = String(R), Bn.emit("consoleAppend", r);
|
|
5524
5665
|
}
|
|
5525
|
-
function
|
|
5526
|
-
const r = n.pseudoToNative(T), t = n.pseudoToNative(
|
|
5527
|
-
r === "info" ?
|
|
5666
|
+
function g(T, R) {
|
|
5667
|
+
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5668
|
+
r === "info" ? ba(t) : r === "success" ? Ea(t) : r === "warning" ? Ra(t) : r === "error" && Oa(t);
|
|
5528
5669
|
}
|
|
5529
|
-
function b(T,
|
|
5530
|
-
const r = n.pseudoToNative(T), t = n.pseudoToNative(
|
|
5670
|
+
function b(T, R) {
|
|
5671
|
+
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5531
5672
|
setTimeout(() => {
|
|
5532
5673
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
5533
5674
|
}, t);
|
|
5534
5675
|
}
|
|
5535
|
-
function m(T,
|
|
5676
|
+
function m(T, R) {
|
|
5536
5677
|
const r = n.pseudoToNative(T);
|
|
5537
5678
|
setTimeout(() => {
|
|
5538
|
-
|
|
5679
|
+
R(), n.run();
|
|
5539
5680
|
}, r);
|
|
5540
5681
|
}
|
|
5541
5682
|
n.setProperty(
|
|
@@ -5549,7 +5690,7 @@ function Il(n, o) {
|
|
|
5549
5690
|
), n.setProperty(
|
|
5550
5691
|
o,
|
|
5551
5692
|
"__messageV1__",
|
|
5552
|
-
n.createNativeFunction(
|
|
5693
|
+
n.createNativeFunction(g)
|
|
5553
5694
|
), n.setProperty(
|
|
5554
5695
|
o,
|
|
5555
5696
|
"__timeoutV1__",
|
|
@@ -5560,14 +5701,14 @@ function Il(n, o) {
|
|
|
5560
5701
|
n.createAsyncFunction(m)
|
|
5561
5702
|
);
|
|
5562
5703
|
}
|
|
5563
|
-
class
|
|
5704
|
+
class Ll {
|
|
5564
5705
|
constructor(o) {
|
|
5565
|
-
|
|
5566
|
-
|
|
5706
|
+
Xt(this, "context");
|
|
5707
|
+
Xt(this, "nodes");
|
|
5567
5708
|
this.context = o, this.nodes = {};
|
|
5568
5709
|
const f = (h) => {
|
|
5569
|
-
var
|
|
5570
|
-
this.nodes[h.basic.id] = h, (
|
|
5710
|
+
var g;
|
|
5711
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((b) => f(b));
|
|
5571
5712
|
};
|
|
5572
5713
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5573
5714
|
}
|
|
@@ -5575,35 +5716,35 @@ class Dl {
|
|
|
5575
5716
|
return this.nodes[o];
|
|
5576
5717
|
}
|
|
5577
5718
|
addNode(o, f, h) {
|
|
5578
|
-
const
|
|
5719
|
+
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5579
5720
|
let b;
|
|
5580
5721
|
if (o) {
|
|
5581
5722
|
const T = this.getNode(o);
|
|
5582
5723
|
if (!T)
|
|
5583
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5724
|
+
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5584
5725
|
if (!T.children)
|
|
5585
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5726
|
+
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5586
5727
|
b = T.children;
|
|
5587
5728
|
} else
|
|
5588
5729
|
b = this.context.data.view.nodes;
|
|
5589
5730
|
if (!b)
|
|
5590
5731
|
return "";
|
|
5591
|
-
const m =
|
|
5732
|
+
const m = nl(
|
|
5592
5733
|
this.context.type,
|
|
5593
5734
|
this.context.data.type,
|
|
5594
5735
|
this.context.data.version,
|
|
5595
5736
|
f,
|
|
5596
5737
|
h
|
|
5597
5738
|
);
|
|
5598
|
-
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5739
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5599
5740
|
}
|
|
5600
5741
|
deleteNode(o) {
|
|
5601
5742
|
this.getNode(o);
|
|
5602
5743
|
}
|
|
5603
5744
|
}
|
|
5604
|
-
function
|
|
5605
|
-
const h = new
|
|
5606
|
-
function
|
|
5745
|
+
function Fl(n, o, f) {
|
|
5746
|
+
const h = new Ll(n);
|
|
5747
|
+
function g(t, e, i) {
|
|
5607
5748
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5608
5749
|
return o.nativeToPseudo(a);
|
|
5609
5750
|
}
|
|
@@ -5637,32 +5778,32 @@ function Ll(n, o, f) {
|
|
|
5637
5778
|
return;
|
|
5638
5779
|
}
|
|
5639
5780
|
const v = s.split("."), E = v.length;
|
|
5640
|
-
for (let
|
|
5641
|
-
const
|
|
5642
|
-
if (
|
|
5643
|
-
p[
|
|
5644
|
-
else if (p = p[
|
|
5781
|
+
for (let S = 0; S < E; S++) {
|
|
5782
|
+
const O = v[S];
|
|
5783
|
+
if (S === E - 1)
|
|
5784
|
+
p[O] = l;
|
|
5785
|
+
else if (p = p[O], !p) {
|
|
5645
5786
|
console.error(`setNodePropV1 unpkg failed, ${a}`);
|
|
5646
5787
|
return;
|
|
5647
5788
|
}
|
|
5648
5789
|
}
|
|
5649
5790
|
}
|
|
5650
|
-
function
|
|
5791
|
+
function R(t, e, i) {
|
|
5651
5792
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5652
|
-
|
|
5793
|
+
Ta({ title: u, text: s }).then((l) => {
|
|
5653
5794
|
i(o.nativeToPseudo(l)), o.run();
|
|
5654
5795
|
});
|
|
5655
5796
|
}
|
|
5656
5797
|
function r(t, e, i, u) {
|
|
5657
5798
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5658
|
-
|
|
5799
|
+
Na({ title: s, label: l, value: a }).then((p) => {
|
|
5659
5800
|
u(o.nativeToPseudo(p)), o.run();
|
|
5660
5801
|
});
|
|
5661
5802
|
}
|
|
5662
5803
|
o.setProperty(
|
|
5663
5804
|
f,
|
|
5664
5805
|
"__addNodeV1__",
|
|
5665
|
-
o.createNativeFunction(
|
|
5806
|
+
o.createNativeFunction(g)
|
|
5666
5807
|
), o.setProperty(
|
|
5667
5808
|
f,
|
|
5668
5809
|
"__deleteNodeV1__",
|
|
@@ -5678,7 +5819,7 @@ function Ll(n, o, f) {
|
|
|
5678
5819
|
), o.setProperty(
|
|
5679
5820
|
f,
|
|
5680
5821
|
"__openConfirmDlgV1__",
|
|
5681
|
-
o.createAsyncFunction(
|
|
5822
|
+
o.createAsyncFunction(R)
|
|
5682
5823
|
), o.setProperty(
|
|
5683
5824
|
f,
|
|
5684
5825
|
"__openPromptDlgV1__",
|
|
@@ -5686,15 +5827,15 @@ function Ll(n, o, f) {
|
|
|
5686
5827
|
);
|
|
5687
5828
|
}
|
|
5688
5829
|
function Ml(n, o, f) {
|
|
5689
|
-
|
|
5830
|
+
Dl(o, f), Fl(n, o, f);
|
|
5690
5831
|
}
|
|
5691
|
-
const
|
|
5832
|
+
const Ul = `
|
|
5692
5833
|
var __env__ = 'dev'
|
|
5693
5834
|
|
|
5694
5835
|
function __getEnvV1__() {
|
|
5695
5836
|
return __env__
|
|
5696
5837
|
}
|
|
5697
|
-
`,
|
|
5838
|
+
`, jl = `
|
|
5698
5839
|
var __events__ = {}
|
|
5699
5840
|
|
|
5700
5841
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5765,7 +5906,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5765
5906
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5766
5907
|
}
|
|
5767
5908
|
}
|
|
5768
|
-
`,
|
|
5909
|
+
`, Bl = `
|
|
5769
5910
|
var __timers__ = {}
|
|
5770
5911
|
var __currTimerId__ = 0
|
|
5771
5912
|
|
|
@@ -5807,15 +5948,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5807
5948
|
}
|
|
5808
5949
|
}
|
|
5809
5950
|
}
|
|
5810
|
-
`,
|
|
5951
|
+
`, $l = `
|
|
5811
5952
|
function __destroy__() {
|
|
5812
5953
|
}
|
|
5813
|
-
`,
|
|
5814
|
-
function
|
|
5815
|
-
const f = new
|
|
5816
|
-
|
|
5817
|
-
(h,
|
|
5818
|
-
Ml(n, h,
|
|
5954
|
+
`, Vl = Ul + jl + Bl + $l;
|
|
5955
|
+
function Gl(n, o) {
|
|
5956
|
+
const f = new Il(
|
|
5957
|
+
Vl,
|
|
5958
|
+
(h, g) => {
|
|
5959
|
+
Ml(n, h, g);
|
|
5819
5960
|
}
|
|
5820
5961
|
);
|
|
5821
5962
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -5823,10 +5964,10 @@ __env__ = '${n.env}';
|
|
|
5823
5964
|
__triggerEvent__('globality', 'startup');
|
|
5824
5965
|
`), f.run(), f;
|
|
5825
5966
|
}
|
|
5826
|
-
function
|
|
5967
|
+
function Ln(n) {
|
|
5827
5968
|
n.appendCode("__destroy__();"), n.run();
|
|
5828
5969
|
}
|
|
5829
|
-
const
|
|
5970
|
+
const Yl = /* @__PURE__ */ pe({
|
|
5830
5971
|
__name: "index",
|
|
5831
5972
|
props: {
|
|
5832
5973
|
id: {},
|
|
@@ -5835,21 +5976,21 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
5835
5976
|
outer: { type: Boolean }
|
|
5836
5977
|
},
|
|
5837
5978
|
setup(n) {
|
|
5838
|
-
const { t: o } = _a(), f = n, h =
|
|
5979
|
+
const { t: o } = _a(), f = n, h = il(), g = Ee(), b = _i(), m = bi(), T = Ei(), R = al(), r = N(() => R[f.refContext.refid]);
|
|
5839
5980
|
let t;
|
|
5840
|
-
|
|
5841
|
-
r.value ||
|
|
5981
|
+
ma(() => {
|
|
5982
|
+
r.value || Bn.emit("compNotAvail", f.refContext.refid), t && (Ln(t), t = void 0), r.value && g === "runtime" && (t = Gl(
|
|
5842
5983
|
{
|
|
5843
5984
|
env: h,
|
|
5844
5985
|
type: m,
|
|
5845
5986
|
data: T
|
|
5846
5987
|
},
|
|
5847
5988
|
r.value.data.code.script
|
|
5848
|
-
),
|
|
5849
|
-
}),
|
|
5850
|
-
t && (
|
|
5989
|
+
), ol(t));
|
|
5990
|
+
}), ga(() => {
|
|
5991
|
+
t && (Ln(t), t = void 0);
|
|
5851
5992
|
});
|
|
5852
|
-
const { applySize: e } =
|
|
5993
|
+
const { applySize: e } = Ni(g, b, f), i = N(() => {
|
|
5853
5994
|
const v = {}, E = T.type;
|
|
5854
5995
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
5855
5996
|
});
|
|
@@ -5867,23 +6008,23 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
5867
6008
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
5868
6009
|
}
|
|
5869
6010
|
function l(v) {
|
|
5870
|
-
const E = Pi[T.version].refKey,
|
|
5871
|
-
let
|
|
5872
|
-
return
|
|
6011
|
+
const E = Pi[T.version].refKey, S = Ce[E];
|
|
6012
|
+
let O;
|
|
6013
|
+
return S ? O = Ye(S.comp, {
|
|
5873
6014
|
refContext: {
|
|
5874
6015
|
parent: f.refContext,
|
|
5875
6016
|
refid: v.ref.id
|
|
5876
6017
|
},
|
|
5877
6018
|
node: v
|
|
5878
|
-
}) : console.assert(!1),
|
|
6019
|
+
}) : console.assert(!1), O;
|
|
5879
6020
|
}
|
|
5880
6021
|
function a(v) {
|
|
5881
|
-
var
|
|
6022
|
+
var O;
|
|
5882
6023
|
let E;
|
|
5883
|
-
const
|
|
5884
|
-
return
|
|
5885
|
-
s(
|
|
5886
|
-
}), E = Ye(
|
|
6024
|
+
const S = Ce[v.basic.key];
|
|
6025
|
+
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6026
|
+
s(x);
|
|
6027
|
+
}), E = Ye(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
5887
6028
|
}
|
|
5888
6029
|
const p = () => {
|
|
5889
6030
|
const v = [];
|
|
@@ -5891,17 +6032,17 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
5891
6032
|
v.push(Ye("div", o("x-runtime-lib.circularRef")));
|
|
5892
6033
|
else if (r.value) {
|
|
5893
6034
|
const E = r.value.data.type;
|
|
5894
|
-
E === "common" ? r.value.data.view.nodes.forEach((
|
|
5895
|
-
const
|
|
5896
|
-
v.push(
|
|
6035
|
+
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
6036
|
+
const O = s(S);
|
|
6037
|
+
v.push(O);
|
|
5897
6038
|
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
5898
6039
|
} else
|
|
5899
6040
|
v.push(Ye("div", o("x-runtime-lib.compNotAvail")));
|
|
5900
6041
|
return Ye("div", { id: f.id, style: i.value }, v);
|
|
5901
6042
|
};
|
|
5902
|
-
return (v, E) => (
|
|
6043
|
+
return (v, E) => (K(), ge(p));
|
|
5903
6044
|
}
|
|
5904
|
-
}),
|
|
6045
|
+
}), Fn = {
|
|
5905
6046
|
key: "ref",
|
|
5906
6047
|
name: "x-runtime-lib.ref",
|
|
5907
6048
|
children: [
|
|
@@ -5912,62 +6053,62 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
5912
6053
|
default: ""
|
|
5913
6054
|
}
|
|
5914
6055
|
]
|
|
5915
|
-
},
|
|
5916
|
-
key:
|
|
6056
|
+
}, wi = {
|
|
6057
|
+
key: Ti,
|
|
5917
6058
|
name: "x-runtime-lib.ref",
|
|
5918
|
-
comp:
|
|
6059
|
+
comp: Yl,
|
|
5919
6060
|
leaf: !0,
|
|
5920
6061
|
events: [],
|
|
5921
6062
|
methods: [],
|
|
5922
6063
|
props: {
|
|
5923
|
-
pageCommon: [
|
|
5924
|
-
compCommon: [
|
|
6064
|
+
pageCommon: [X, Fn, mt, ht, vt, yt],
|
|
6065
|
+
compCommon: [X, Fn, mt, ht, vt, yt]
|
|
5925
6066
|
}
|
|
5926
|
-
},
|
|
6067
|
+
}, zl = { key: 0 }, Xl = /* @__PURE__ */ pe({
|
|
5927
6068
|
__name: "index",
|
|
5928
6069
|
props: {
|
|
5929
6070
|
node: {},
|
|
5930
6071
|
outer: { type: Boolean }
|
|
5931
6072
|
},
|
|
5932
6073
|
setup(n) {
|
|
5933
|
-
const o = n, f =
|
|
6074
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
5934
6075
|
var e;
|
|
5935
6076
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
5936
|
-
}), b =
|
|
6077
|
+
}), b = N(() => {
|
|
5937
6078
|
var e;
|
|
5938
6079
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
5939
|
-
}), m =
|
|
6080
|
+
}), m = N(() => {
|
|
5940
6081
|
var e;
|
|
5941
6082
|
return (e = o.node.settings) == null ? void 0 : e.placeholder;
|
|
5942
|
-
}), T =
|
|
6083
|
+
}), T = N(() => {
|
|
5943
6084
|
var e;
|
|
5944
6085
|
return (e = o.node.settings) == null ? void 0 : e.hideDetails;
|
|
5945
|
-
}),
|
|
6086
|
+
}), R = N(() => {
|
|
5946
6087
|
var e;
|
|
5947
6088
|
return (e = o.node.settings) == null ? void 0 : e.singleLine;
|
|
5948
|
-
}), r =
|
|
6089
|
+
}), r = N(() => {
|
|
5949
6090
|
var e;
|
|
5950
6091
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
5951
|
-
}), t =
|
|
6092
|
+
}), t = N(() => h.value ? "dark" : "light");
|
|
5952
6093
|
return (e, i) => {
|
|
5953
6094
|
const u = Ae("v-select");
|
|
5954
|
-
return
|
|
5955
|
-
|
|
5956
|
-
"model-value":
|
|
6095
|
+
return _t(f) === "editor" ? (K(), He("div", zl, [
|
|
6096
|
+
bt(u, {
|
|
6097
|
+
"model-value": g.value,
|
|
5957
6098
|
label: b.value,
|
|
5958
6099
|
placeholder: m.value,
|
|
5959
6100
|
"hide-details": T.value,
|
|
5960
|
-
"single-line":
|
|
6101
|
+
"single-line": R.value,
|
|
5961
6102
|
readonly: r.value,
|
|
5962
6103
|
theme: t.value
|
|
5963
6104
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
5964
|
-
])) : (
|
|
6105
|
+
])) : (K(), ge(u, {
|
|
5965
6106
|
key: 1,
|
|
5966
|
-
"model-value":
|
|
6107
|
+
"model-value": g.value,
|
|
5967
6108
|
label: b.value,
|
|
5968
6109
|
placeholder: m.value,
|
|
5969
6110
|
"hide-details": T.value,
|
|
5970
|
-
"single-line":
|
|
6111
|
+
"single-line": R.value,
|
|
5971
6112
|
readonly: r.value,
|
|
5972
6113
|
theme: t.value
|
|
5973
6114
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
@@ -6014,7 +6155,7 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
6014
6155
|
default: !1
|
|
6015
6156
|
}
|
|
6016
6157
|
]
|
|
6017
|
-
},
|
|
6158
|
+
}, Wl = {
|
|
6018
6159
|
key: ar,
|
|
6019
6160
|
name: "x-runtime-lib.select",
|
|
6020
6161
|
comp: Xl,
|
|
@@ -6022,55 +6163,55 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
6022
6163
|
events: [],
|
|
6023
6164
|
methods: [],
|
|
6024
6165
|
props: {
|
|
6025
|
-
pageCommon: [
|
|
6026
|
-
compCommon: [
|
|
6166
|
+
pageCommon: [X, Mn],
|
|
6167
|
+
compCommon: [X, Mn]
|
|
6027
6168
|
}
|
|
6028
|
-
},
|
|
6169
|
+
}, Jl = { key: 0 }, Hl = /* @__PURE__ */ pe({
|
|
6029
6170
|
__name: "index",
|
|
6030
6171
|
props: {
|
|
6031
6172
|
node: {},
|
|
6032
6173
|
outer: { type: Boolean }
|
|
6033
6174
|
},
|
|
6034
6175
|
setup(n) {
|
|
6035
|
-
const o = n, f =
|
|
6176
|
+
const o = n, f = Ee(), h = De(), g = N(() => {
|
|
6036
6177
|
var t;
|
|
6037
6178
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6038
|
-
}), b =
|
|
6179
|
+
}), b = N(() => {
|
|
6039
6180
|
var t;
|
|
6040
6181
|
return (t = o.node.settings) == null ? void 0 : t.placeholder;
|
|
6041
|
-
}), m =
|
|
6182
|
+
}), m = N(() => {
|
|
6042
6183
|
var t;
|
|
6043
6184
|
return (t = o.node.settings) == null ? void 0 : t.hideDetails;
|
|
6044
|
-
}), T =
|
|
6185
|
+
}), T = N(() => {
|
|
6045
6186
|
var t;
|
|
6046
6187
|
return (t = o.node.settings) == null ? void 0 : t.singleLine;
|
|
6047
|
-
}),
|
|
6188
|
+
}), R = N(() => {
|
|
6048
6189
|
var t;
|
|
6049
6190
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6050
|
-
}), r =
|
|
6191
|
+
}), r = N(() => h.value ? "dark" : "light");
|
|
6051
6192
|
return (t, e) => {
|
|
6052
6193
|
const i = Ae("v-text-field");
|
|
6053
|
-
return
|
|
6054
|
-
|
|
6055
|
-
label:
|
|
6194
|
+
return _t(f) === "editor" ? (K(), He("div", Jl, [
|
|
6195
|
+
bt(i, {
|
|
6196
|
+
label: g.value,
|
|
6056
6197
|
placeholder: b.value,
|
|
6057
6198
|
"hide-details": m.value,
|
|
6058
6199
|
"single-line": T.value,
|
|
6059
|
-
readonly:
|
|
6200
|
+
readonly: R.value,
|
|
6060
6201
|
theme: r.value
|
|
6061
6202
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6062
|
-
])) : (
|
|
6203
|
+
])) : (K(), ge(i, {
|
|
6063
6204
|
key: 1,
|
|
6064
|
-
label:
|
|
6205
|
+
label: g.value,
|
|
6065
6206
|
placeholder: b.value,
|
|
6066
6207
|
"hide-details": m.value,
|
|
6067
6208
|
"single-line": T.value,
|
|
6068
|
-
readonly:
|
|
6209
|
+
readonly: R.value,
|
|
6069
6210
|
theme: r.value
|
|
6070
6211
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6071
6212
|
};
|
|
6072
6213
|
}
|
|
6073
|
-
}),
|
|
6214
|
+
}), Un = {
|
|
6074
6215
|
key: "settings",
|
|
6075
6216
|
name: "x-runtime-lib.settings",
|
|
6076
6217
|
children: [
|
|
@@ -6105,29 +6246,29 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
6105
6246
|
default: !1
|
|
6106
6247
|
}
|
|
6107
6248
|
]
|
|
6108
|
-
},
|
|
6249
|
+
}, Kl = {
|
|
6109
6250
|
key: or,
|
|
6110
6251
|
name: "x-runtime-lib.textField",
|
|
6111
|
-
comp:
|
|
6252
|
+
comp: Hl,
|
|
6112
6253
|
leaf: !1,
|
|
6113
6254
|
events: [],
|
|
6114
6255
|
methods: [],
|
|
6115
6256
|
props: {
|
|
6116
|
-
pageCommon: [
|
|
6117
|
-
compCommon: [
|
|
6257
|
+
pageCommon: [X, Un],
|
|
6258
|
+
compCommon: [X, Un]
|
|
6118
6259
|
}
|
|
6119
|
-
},
|
|
6260
|
+
}, ql = {
|
|
6120
6261
|
version: "v1",
|
|
6121
|
-
globalityKey:
|
|
6122
|
-
refKey:
|
|
6262
|
+
globalityKey: Si.key,
|
|
6263
|
+
refKey: wi.key,
|
|
6123
6264
|
elements: /* @__PURE__ */ new Set([
|
|
6124
6265
|
er,
|
|
6125
6266
|
tr,
|
|
6126
6267
|
rr,
|
|
6127
6268
|
nr,
|
|
6128
|
-
|
|
6269
|
+
Oi,
|
|
6129
6270
|
ir,
|
|
6130
|
-
|
|
6271
|
+
Ti,
|
|
6131
6272
|
ar,
|
|
6132
6273
|
or
|
|
6133
6274
|
]),
|
|
@@ -6147,8 +6288,8 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
6147
6288
|
}
|
|
6148
6289
|
]
|
|
6149
6290
|
}, Pi = {
|
|
6150
|
-
v1:
|
|
6151
|
-
}, Ce = {},
|
|
6291
|
+
v1: ql
|
|
6292
|
+
}, Ce = {}, Zl = {
|
|
6152
6293
|
key: "add",
|
|
6153
6294
|
name: "METHOD_ADD",
|
|
6154
6295
|
inputs: [],
|
|
@@ -6158,21 +6299,21 @@ const Gl = /* @__PURE__ */ fe({
|
|
|
6158
6299
|
name: "PARAM_NEW_NODE"
|
|
6159
6300
|
}
|
|
6160
6301
|
]
|
|
6161
|
-
},
|
|
6162
|
-
Ce[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.leaf || n.methods.unshift(
|
|
6302
|
+
}, oe = (n) => {
|
|
6303
|
+
Ce[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.leaf || n.methods.unshift(Zl), Ce[n.key] = n;
|
|
6163
6304
|
};
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
const
|
|
6305
|
+
oe(cl);
|
|
6306
|
+
oe(dl);
|
|
6307
|
+
oe(_l);
|
|
6308
|
+
oe(Rl);
|
|
6309
|
+
oe(Si);
|
|
6310
|
+
oe(Nl);
|
|
6311
|
+
oe(wi);
|
|
6312
|
+
oe(Wl);
|
|
6313
|
+
oe(Kl);
|
|
6314
|
+
const Ql = (n, o, f) => {
|
|
6174
6315
|
const h = n[o];
|
|
6175
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6316
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, b) => {
|
|
6176
6317
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6177
6318
|
b.bind(
|
|
6178
6319
|
null,
|
|
@@ -6183,41 +6324,41 @@ const Zl = (n, o, f) => {
|
|
|
6183
6324
|
);
|
|
6184
6325
|
});
|
|
6185
6326
|
};
|
|
6186
|
-
async function
|
|
6187
|
-
return (await
|
|
6327
|
+
async function hc(n) {
|
|
6328
|
+
return (await Ql(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g5917ung.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-ehanwg1n.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6188
6329
|
}
|
|
6189
6330
|
export {
|
|
6190
|
-
|
|
6331
|
+
oc as duplicateNode,
|
|
6191
6332
|
Ce as elements,
|
|
6192
|
-
|
|
6193
|
-
|
|
6333
|
+
$n as genId,
|
|
6334
|
+
ac as getNode,
|
|
6194
6335
|
Sn as getPropDefault,
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6336
|
+
rl as getPropTag,
|
|
6337
|
+
xn as initProps,
|
|
6338
|
+
De as injectDark,
|
|
6339
|
+
Ei as injectData,
|
|
6340
|
+
al as injectDepends,
|
|
6200
6341
|
_i as injectDevice,
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6342
|
+
il as injectEnv,
|
|
6343
|
+
ul as injectInterpreter,
|
|
6344
|
+
Ee as injectMode,
|
|
6345
|
+
bi as injectType,
|
|
6205
6346
|
ur as isEmptyStr,
|
|
6206
6347
|
lr as isPercentStr,
|
|
6207
6348
|
sr as isPixelStr,
|
|
6208
|
-
|
|
6349
|
+
hc as loadLocaleMessageRuntime,
|
|
6209
6350
|
Wt as parsePercentStr,
|
|
6210
|
-
|
|
6351
|
+
ic as parsePixelStr,
|
|
6211
6352
|
Pi as pkgs,
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6353
|
+
cc as provideDark,
|
|
6354
|
+
pc as provideData,
|
|
6355
|
+
dc as provideDepends,
|
|
6356
|
+
lc as provideDevice,
|
|
6357
|
+
uc as provideEnv,
|
|
6358
|
+
ol as provideInterpreter,
|
|
6359
|
+
sc as provideMode,
|
|
6360
|
+
fc as provideType,
|
|
6361
|
+
nl as spawnNode,
|
|
6362
|
+
Gl as startInterpreter,
|
|
6363
|
+
Ln as stopInterpreter
|
|
6223
6364
|
};
|