x-runtime-lib 0.5.15 → 0.5.16
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/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var ya = Object.defineProperty;
|
|
2
2
|
var ma = (n, o, f) => o in n ? ya(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
3
|
var Jt = (n, o, f) => ma(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
-
import { provide as
|
|
5
|
-
import { useViewStack as
|
|
6
|
-
import { useI18n as
|
|
7
|
-
const
|
|
4
|
+
import { provide as fe, inject as pe, readonly as Et, isReactive as Xn, defineComponent as oe, computed as N, resolveComponent as be, openBlock as J, createBlock as de, unref as Pe, createElementBlock as Ie, createVNode as Rt, normalizeStyle as ga, renderSlot as Zt, isRef as _a, withCtx as sn, createCommentVNode as ba, watchEffect as Ea, onBeforeUnmount as Ra, h as Xe } from "vue";
|
|
5
|
+
import { useViewStack as Oa, eventBus as Wn, messageInfo as Ta, messageSuccess as Na, messageWarning as Sa, messageError as xa, openConfirmDlg as wa, openPromptDlg as Pa } from "x-essential-lib";
|
|
6
|
+
import { useI18n as Ca } from "vue-i18n";
|
|
7
|
+
const ln = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
8
|
function Jn(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
11
|
+
const h = Math.floor(Math.random() * ln.length);
|
|
12
|
+
o += ln[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
@@ -28,66 +28,66 @@ function hr(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 vc(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);
|
|
35
35
|
if (!isNaN(f) && f % 1 === 0)
|
|
36
36
|
return f;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Ht(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
41
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var Hn = typeof global == "object" && global && global.Object === Object && global,
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var Hn = typeof global == "object" && global && global.Object === Object && global, ka = typeof self == "object" && self && self.Object === Object && self, te = Hn || ka || Function("return this")(), Ce = te.Symbol, Kn = Object.prototype, Aa = Kn.hasOwnProperty, Ia = Kn.toString, We = Ce ? Ce.toStringTag : void 0;
|
|
46
|
+
function Da(n) {
|
|
47
|
+
var o = Aa.call(n, We), f = n[We];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[We] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var g =
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var g = Ia.call(n);
|
|
54
|
+
return h && (o ? n[We] = f : delete n[We]), g;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var La = Object.prototype, Fa = La.toString;
|
|
57
|
+
function Ma(n) {
|
|
58
|
+
return Fa.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
60
|
+
var Ua = "[object Null]", ja = "[object Undefined]", cn = Ce ? Ce.toStringTag : void 0;
|
|
61
|
+
function qe(n) {
|
|
62
|
+
return n == null ? n === void 0 ? ja : Ua : cn && cn in Object(n) ? Da(n) : Ma(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Ze(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
67
|
var vr = Array.isArray;
|
|
68
|
-
function
|
|
68
|
+
function Qe(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
|
-
var
|
|
72
|
+
var Ba = "[object AsyncFunction]", $a = "[object Function]", Va = "[object GeneratorFunction]", Ga = "[object Proxy]";
|
|
73
73
|
function qn(n) {
|
|
74
|
-
if (!
|
|
74
|
+
if (!Qe(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = qe(n);
|
|
77
|
+
return o == $a || o == Va || o == Ba || o == Ga;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
var n = /[^.]+$/.exec(
|
|
79
|
+
var Kt = te["__core-js_shared__"], fn = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(Kt && Kt.keys && Kt.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function Ya(n) {
|
|
84
|
+
return !!fn && fn in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var za = Function.prototype, Xa = za.toString;
|
|
87
|
+
function Ee(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return Xa.call(n);
|
|
91
91
|
} catch {
|
|
92
92
|
}
|
|
93
93
|
try {
|
|
@@ -97,60 +97,60 @@ function be(n) {
|
|
|
97
97
|
}
|
|
98
98
|
return "";
|
|
99
99
|
}
|
|
100
|
-
var
|
|
101
|
-
"^" +
|
|
100
|
+
var Wa = /[\\^$.*+?()[\]{}|]/g, Ja = /^\[object .+?Constructor\]$/, Ha = Function.prototype, Ka = Object.prototype, qa = Ha.toString, Za = Ka.hasOwnProperty, Qa = RegExp(
|
|
101
|
+
"^" + qa.call(Za).replace(Wa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function eo(n) {
|
|
104
|
+
if (!Qe(n) || Ya(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o = qn(n) ?
|
|
107
|
-
return o.test(
|
|
106
|
+
var o = qn(n) ? Qa : Ja;
|
|
107
|
+
return o.test(Ee(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function to(n, o) {
|
|
110
110
|
return n == null ? void 0 : n[o];
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
var f =
|
|
114
|
-
return
|
|
112
|
+
function Re(n, o) {
|
|
113
|
+
var f = to(n, o);
|
|
114
|
+
return eo(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var Qt =
|
|
116
|
+
var Qt = Re(te, "WeakMap"), pn = Object.create, ro = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!Qe(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (pn)
|
|
123
|
+
return pn(o);
|
|
124
124
|
n.prototype = o;
|
|
125
125
|
var f = new n();
|
|
126
126
|
return n.prototype = void 0, f;
|
|
127
127
|
};
|
|
128
128
|
}();
|
|
129
|
-
function
|
|
129
|
+
function no(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];
|
|
133
133
|
return o;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var dn = function() {
|
|
136
136
|
try {
|
|
137
|
-
var n =
|
|
137
|
+
var n = Re(Object, "defineProperty");
|
|
138
138
|
return n({}, "", {}), n;
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
}();
|
|
142
|
-
function
|
|
142
|
+
function io(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 ao = 9007199254740991, oo = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function uo(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? ao, !!o && (f == "number" || f != "symbol" && oo.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
152
|
function Zn(n, o, f) {
|
|
153
|
-
o == "__proto__" &&
|
|
153
|
+
o == "__proto__" && dn ? dn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
156
|
value: f,
|
|
@@ -160,75 +160,75 @@ function Zn(n, o, f) {
|
|
|
160
160
|
function Qn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
163
|
+
var so = Object.prototype, lo = so.hasOwnProperty;
|
|
164
164
|
function ei(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(lo.call(n, o) && Qn(h, f)) || f === void 0 && !(o in n)) && Zn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Ot(n, o, f, h) {
|
|
169
169
|
var g = !f;
|
|
170
170
|
f || (f = {});
|
|
171
|
-
for (var
|
|
172
|
-
var T = o[
|
|
171
|
+
for (var _ = -1, m = o.length; ++_ < m; ) {
|
|
172
|
+
var T = o[_], R = void 0;
|
|
173
173
|
R === void 0 && (R = n[T]), g ? Zn(f, T, R) : ei(f, T, R);
|
|
174
174
|
}
|
|
175
175
|
return f;
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var co = 9007199254740991;
|
|
178
178
|
function ti(n) {
|
|
179
|
-
return typeof n == "number" && n > -1 && n % 1 == 0 && n <=
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= co;
|
|
180
180
|
}
|
|
181
181
|
function ri(n) {
|
|
182
182
|
return n != null && ti(n.length) && !qn(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var fo = Object.prototype;
|
|
185
185
|
function yr(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 || fo;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function po(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
|
|
195
|
-
function
|
|
196
|
-
return
|
|
194
|
+
var ho = "[object Arguments]";
|
|
195
|
+
function hn(n) {
|
|
196
|
+
return Ze(n) && qe(n) == ho;
|
|
197
197
|
}
|
|
198
|
-
var ni = Object.prototype,
|
|
198
|
+
var ni = Object.prototype, vo = ni.hasOwnProperty, yo = ni.propertyIsEnumerable, mo = hn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? hn : function(n) {
|
|
201
|
+
return Ze(n) && vo.call(n, "callee") && !yo.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function go() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var ii = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
207
|
-
M[
|
|
208
|
-
M[
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var ii = typeof exports == "object" && exports && !exports.nodeType && exports, vn = ii && typeof module == "object" && module && !module.nodeType && module, _o = vn && vn.exports === ii, yn = _o ? te.Buffer : void 0, bo = yn ? yn.isBuffer : void 0, ai = bo || go, Eo = "[object Arguments]", Ro = "[object Array]", Oo = "[object Boolean]", To = "[object Date]", No = "[object Error]", So = "[object Function]", xo = "[object Map]", wo = "[object Number]", Po = "[object Object]", Co = "[object RegExp]", ko = "[object Set]", Ao = "[object String]", Io = "[object WeakMap]", Do = "[object ArrayBuffer]", Lo = "[object DataView]", Fo = "[object Float32Array]", Mo = "[object Float64Array]", Uo = "[object Int8Array]", jo = "[object Int16Array]", Bo = "[object Int32Array]", $o = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", Go = "[object Uint16Array]", Yo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[Fo] = M[Mo] = M[Uo] = M[jo] = M[Bo] = M[$o] = M[Vo] = M[Go] = M[Yo] = !0;
|
|
208
|
+
M[Eo] = M[Ro] = M[Do] = M[Oo] = M[Lo] = M[To] = M[No] = M[So] = M[xo] = M[wo] = M[Po] = M[Co] = M[ko] = M[Ao] = M[Io] = !1;
|
|
209
|
+
function zo(n) {
|
|
210
|
+
return Ze(n) && ti(n.length) && !!M[qe(n)];
|
|
211
211
|
}
|
|
212
212
|
function mr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var oi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
217
|
+
var oi = typeof exports == "object" && exports && !exports.nodeType && exports, Je = oi && typeof module == "object" && module && !module.nodeType && module, Xo = Je && Je.exports === oi, qt = Xo && Hn.process, ke = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
220
|
-
return n ||
|
|
219
|
+
var n = Je && Je.require && Je.require("util").types;
|
|
220
|
+
return n || qt && qt.binding && qt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
223
|
+
}(), mn = ke && ke.isTypedArray, Wo = mn ? mr(mn) : zo, Jo = Object.prototype, Ho = Jo.hasOwnProperty;
|
|
224
224
|
function ui(n, o) {
|
|
225
|
-
var f = vr(n), h = !f &&
|
|
225
|
+
var f = vr(n), h = !f && mo(n), g = !f && !h && ai(n), _ = !f && !h && !g && Wo(n), m = f || h || g || _, T = m ? po(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || Ho.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
229
|
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
_ && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
+
uo(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
234
|
function si(n, o) {
|
|
@@ -236,63 +236,63 @@ function si(n, o) {
|
|
|
236
236
|
return n(o(f));
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var
|
|
240
|
-
function
|
|
239
|
+
var Ko = si(Object.keys, Object), qo = Object.prototype, Zo = qo.hasOwnProperty;
|
|
240
|
+
function Qo(n) {
|
|
241
241
|
if (!yr(n))
|
|
242
|
-
return
|
|
242
|
+
return Ko(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
Zo.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
248
|
function gr(n) {
|
|
249
|
-
return ri(n) ? ui(n) :
|
|
249
|
+
return ri(n) ? ui(n) : Qo(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function eu(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 tu = Object.prototype, ru = tu.hasOwnProperty;
|
|
259
|
+
function nu(n) {
|
|
260
|
+
if (!Qe(n))
|
|
261
|
+
return eu(n);
|
|
262
262
|
var o = yr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !ru.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
267
|
function _r(n) {
|
|
268
|
-
return ri(n) ? ui(n, !0) :
|
|
268
|
+
return ri(n) ? ui(n, !0) : nu(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
271
|
-
function
|
|
272
|
-
this.__data__ =
|
|
270
|
+
var He = Re(Object, "create");
|
|
271
|
+
function iu() {
|
|
272
|
+
this.__data__ = He ? He(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function au(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 ou = "__lodash_hash_undefined__", uu = Object.prototype, su = uu.hasOwnProperty;
|
|
279
|
+
function lu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
281
|
+
if (He) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === ou ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return su.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var cu = Object.prototype, fu = cu.hasOwnProperty;
|
|
288
|
+
function pu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return He ? o[n] !== void 0 : fu.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var du = "__lodash_hash_undefined__";
|
|
293
|
+
function hu(n, o) {
|
|
294
294
|
var f = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, f[n] =
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, f[n] = He && o === void 0 ? du : o, this;
|
|
296
296
|
}
|
|
297
297
|
function _e(n) {
|
|
298
298
|
var o = -1, f = n == null ? 0 : n.length;
|
|
@@ -301,12 +301,12 @@ function _e(n) {
|
|
|
301
301
|
this.set(h[0], h[1]);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
_e.prototype.clear =
|
|
305
|
-
_e.prototype.delete =
|
|
306
|
-
_e.prototype.get =
|
|
307
|
-
_e.prototype.has =
|
|
308
|
-
_e.prototype.set =
|
|
309
|
-
function
|
|
304
|
+
_e.prototype.clear = iu;
|
|
305
|
+
_e.prototype.delete = au;
|
|
306
|
+
_e.prototype.get = lu;
|
|
307
|
+
_e.prototype.has = pu;
|
|
308
|
+
_e.prototype.set = hu;
|
|
309
|
+
function vu() {
|
|
310
310
|
this.__data__ = [], this.size = 0;
|
|
311
311
|
}
|
|
312
312
|
function Tt(n, o) {
|
|
@@ -315,22 +315,22 @@ function Tt(n, o) {
|
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var yu = Array.prototype, mu = yu.splice;
|
|
319
|
+
function gu(n) {
|
|
320
320
|
var o = this.__data__, f = Tt(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() : mu.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function _u(n) {
|
|
327
327
|
var o = this.__data__, f = Tt(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function bu(n) {
|
|
331
331
|
return Tt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function Eu(n, o) {
|
|
334
334
|
var f = this.__data__, h = Tt(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
@@ -341,197 +341,199 @@ function ue(n) {
|
|
|
341
341
|
this.set(h[0], h[1]);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
ue.prototype.clear =
|
|
345
|
-
ue.prototype.delete =
|
|
346
|
-
ue.prototype.get =
|
|
347
|
-
ue.prototype.has =
|
|
348
|
-
ue.prototype.set =
|
|
349
|
-
var
|
|
350
|
-
function
|
|
344
|
+
ue.prototype.clear = vu;
|
|
345
|
+
ue.prototype.delete = gu;
|
|
346
|
+
ue.prototype.get = _u;
|
|
347
|
+
ue.prototype.has = bu;
|
|
348
|
+
ue.prototype.set = Eu;
|
|
349
|
+
var Ke = Re(te, "Map");
|
|
350
|
+
function Ru() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
352
|
hash: new _e(),
|
|
353
|
-
map: new (
|
|
353
|
+
map: new (Ke || ue)(),
|
|
354
354
|
string: new _e()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Ou(n) {
|
|
358
358
|
var o = typeof n;
|
|
359
359
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? n !== "__proto__" : n === null;
|
|
360
360
|
}
|
|
361
361
|
function Nt(n, o) {
|
|
362
362
|
var f = n.__data__;
|
|
363
|
-
return
|
|
363
|
+
return Ou(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Tu(n) {
|
|
366
366
|
var o = Nt(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Nu(n) {
|
|
370
370
|
return Nt(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Su(n) {
|
|
373
373
|
return Nt(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function xu(n, o) {
|
|
376
376
|
var f = Nt(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 De(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
|
-
|
|
386
|
+
De.prototype.clear = Ru;
|
|
387
|
+
De.prototype.delete = Tu;
|
|
388
|
+
De.prototype.get = Nu;
|
|
389
|
+
De.prototype.has = Su;
|
|
390
|
+
De.prototype.set = xu;
|
|
391
391
|
function li(n, o) {
|
|
392
392
|
for (var f = -1, h = o.length, g = n.length; ++f < h; )
|
|
393
393
|
n[g + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
396
|
var ci = si(Object.getPrototypeOf, Object);
|
|
397
|
-
function
|
|
397
|
+
function wu() {
|
|
398
398
|
this.__data__ = new ue(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Pu(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 Cu(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ku(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var Au = 200;
|
|
411
|
+
function Iu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
413
|
if (f instanceof ue) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!
|
|
415
|
+
if (!Ke || h.length < Au - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
|
-
f = this.__data__ = new
|
|
417
|
+
f = this.__data__ = new De(h);
|
|
418
418
|
}
|
|
419
419
|
return f.set(n, o), this.size = f.size, this;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Le(n) {
|
|
422
422
|
var o = this.__data__ = new ue(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
function
|
|
425
|
+
Le.prototype.clear = wu;
|
|
426
|
+
Le.prototype.delete = Pu;
|
|
427
|
+
Le.prototype.get = Cu;
|
|
428
|
+
Le.prototype.has = ku;
|
|
429
|
+
Le.prototype.set = Iu;
|
|
430
|
+
function Du(n, o) {
|
|
431
431
|
return n && Ot(o, gr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Lu(n, o) {
|
|
434
434
|
return n && Ot(o, _r(o), n);
|
|
435
435
|
}
|
|
436
|
-
var fi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
437
|
-
function
|
|
436
|
+
var fi = typeof exports == "object" && exports && !exports.nodeType && exports, gn = fi && typeof module == "object" && module && !module.nodeType && module, Fu = gn && gn.exports === fi, _n = Fu ? te.Buffer : void 0, bn = _n ? _n.allocUnsafe : void 0;
|
|
437
|
+
function Mu(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var f = n.length, h =
|
|
440
|
+
var f = n.length, h = bn ? bn(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, g = 0,
|
|
443
|
+
function Uu(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, g = 0, _ = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (
|
|
446
|
+
o(m, f, n) && (_[g++] = m);
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return _;
|
|
449
449
|
}
|
|
450
450
|
function pi() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var ju = Object.prototype, Bu = ju.propertyIsEnumerable, En = Object.getOwnPropertySymbols, br = En ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Uu(En(n), function(o) {
|
|
455
|
+
return Bu.call(n, o);
|
|
456
456
|
}));
|
|
457
457
|
} : pi;
|
|
458
|
-
function
|
|
458
|
+
function $u(n, o) {
|
|
459
459
|
return Ot(n, br(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Vu = Object.getOwnPropertySymbols, di = Vu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
463
|
li(o, br(n)), n = ci(n);
|
|
464
464
|
return o;
|
|
465
465
|
} : pi;
|
|
466
|
-
function
|
|
466
|
+
function Gu(n, o) {
|
|
467
467
|
return Ot(n, di(n), o);
|
|
468
468
|
}
|
|
469
469
|
function hi(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
471
|
return vr(n) ? h : li(h, f(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Yu(n) {
|
|
474
474
|
return hi(n, gr, br);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function zu(n) {
|
|
477
477
|
return hi(n, _r, di);
|
|
478
478
|
}
|
|
479
|
-
var er =
|
|
480
|
-
(er && ae(new er(new ArrayBuffer(1))) !=
|
|
481
|
-
var o =
|
|
479
|
+
var er = Re(te, "DataView"), tr = Re(te, "Promise"), rr = Re(te, "Set"), Rn = "[object Map]", Xu = "[object Object]", On = "[object Promise]", Tn = "[object Set]", Nn = "[object WeakMap]", Sn = "[object DataView]", Wu = Ee(er), Ju = Ee(Ke), Hu = Ee(tr), Ku = Ee(rr), qu = Ee(Qt), ae = qe;
|
|
480
|
+
(er && ae(new er(new ArrayBuffer(1))) != Sn || Ke && ae(new Ke()) != Rn || tr && ae(tr.resolve()) != On || rr && ae(new rr()) != Tn || Qt && ae(new Qt()) != Nn) && (ae = function(n) {
|
|
481
|
+
var o = qe(n), f = o == Xu ? n.constructor : void 0, h = f ? Ee(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case
|
|
485
|
-
return
|
|
486
|
-
case
|
|
487
|
-
return En;
|
|
488
|
-
case qu:
|
|
484
|
+
case Wu:
|
|
485
|
+
return Sn;
|
|
486
|
+
case Ju:
|
|
489
487
|
return Rn;
|
|
490
|
-
case
|
|
488
|
+
case Hu:
|
|
491
489
|
return On;
|
|
492
|
-
case
|
|
490
|
+
case Ku:
|
|
493
491
|
return Tn;
|
|
492
|
+
case qu:
|
|
493
|
+
return Nn;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var Zu = Object.prototype, Qu = Zu.hasOwnProperty;
|
|
498
|
+
function es(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" && Qu.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
502
|
+
var xn = te.Uint8Array;
|
|
503
503
|
function Er(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new xn(o).set(new xn(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function ts(n, o) {
|
|
508
508
|
var f = o ? Er(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 rs = /\w*$/;
|
|
512
|
+
function ns(n) {
|
|
513
|
+
var o = new n.constructor(n.source, rs.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
516
|
+
var wn = Ce ? Ce.prototype : void 0, Pn = wn ? wn.valueOf : void 0;
|
|
517
|
+
function is(n) {
|
|
518
518
|
return Pn ? Object(Pn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function as(n, o) {
|
|
521
521
|
var f = o ? Er(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var os = "[object Boolean]", us = "[object Date]", ss = "[object Map]", ls = "[object Number]", cs = "[object RegExp]", fs = "[object Set]", ps = "[object String]", ds = "[object Symbol]", hs = "[object ArrayBuffer]", vs = "[object DataView]", ys = "[object Float32Array]", ms = "[object Float64Array]", gs = "[object Int8Array]", _s = "[object Int16Array]", bs = "[object Int32Array]", Es = "[object Uint8Array]", Rs = "[object Uint8ClampedArray]", Os = "[object Uint16Array]", Ts = "[object Uint32Array]";
|
|
525
|
+
function Ns(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case
|
|
528
|
+
case hs:
|
|
529
529
|
return Er(n);
|
|
530
|
-
case
|
|
531
|
-
case
|
|
530
|
+
case os:
|
|
531
|
+
case us:
|
|
532
532
|
return new h(+n);
|
|
533
|
+
case vs:
|
|
534
|
+
return ts(n, f);
|
|
535
|
+
case ys:
|
|
533
536
|
case ms:
|
|
534
|
-
return ns(n, f);
|
|
535
537
|
case gs:
|
|
536
538
|
case _s:
|
|
537
539
|
case bs:
|
|
@@ -539,78 +541,76 @@ function xs(n, o, f) {
|
|
|
539
541
|
case Rs:
|
|
540
542
|
case Os:
|
|
541
543
|
case Ts:
|
|
542
|
-
|
|
543
|
-
case
|
|
544
|
-
return us(n, f);
|
|
545
|
-
case cs:
|
|
544
|
+
return as(n, f);
|
|
545
|
+
case ss:
|
|
546
546
|
return new h();
|
|
547
|
-
case
|
|
548
|
-
case hs:
|
|
549
|
-
return new h(n);
|
|
547
|
+
case ls:
|
|
550
548
|
case ps:
|
|
551
|
-
return
|
|
552
|
-
case
|
|
549
|
+
return new h(n);
|
|
550
|
+
case cs:
|
|
551
|
+
return ns(n);
|
|
552
|
+
case fs:
|
|
553
553
|
return new h();
|
|
554
|
-
case
|
|
555
|
-
return
|
|
554
|
+
case ds:
|
|
555
|
+
return is(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !yr(n) ?
|
|
558
|
+
function Ss(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !yr(n) ? ro(ci(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var xs = "[object Map]";
|
|
562
|
+
function ws(n) {
|
|
563
|
+
return Ze(n) && ae(n) == xs;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Cn = ke && ke.isMap, Ps = Cn ? mr(Cn) : ws, Cs = "[object Set]";
|
|
566
|
+
function ks(n) {
|
|
567
|
+
return Ze(n) && ae(n) == Cs;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
F[vi] = F[
|
|
571
|
-
F[
|
|
572
|
-
function
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var kn = ke && ke.isSet, As = kn ? mr(kn) : ks, Is = 1, Ds = 2, Ls = 4, vi = "[object Arguments]", Fs = "[object Array]", Ms = "[object Boolean]", Us = "[object Date]", js = "[object Error]", yi = "[object Function]", Bs = "[object GeneratorFunction]", $s = "[object Map]", Vs = "[object Number]", mi = "[object Object]", Gs = "[object RegExp]", Ys = "[object Set]", zs = "[object String]", Xs = "[object Symbol]", Ws = "[object WeakMap]", Js = "[object ArrayBuffer]", Hs = "[object DataView]", Ks = "[object Float32Array]", qs = "[object Float64Array]", Zs = "[object Int8Array]", Qs = "[object Int16Array]", el = "[object Int32Array]", tl = "[object Uint8Array]", rl = "[object Uint8ClampedArray]", nl = "[object Uint16Array]", il = "[object Uint32Array]", F = {};
|
|
570
|
+
F[vi] = F[Fs] = F[Js] = F[Hs] = F[Ms] = F[Us] = F[Ks] = F[qs] = F[Zs] = F[Qs] = F[el] = F[$s] = F[Vs] = F[mi] = F[Gs] = F[Ys] = F[zs] = F[Xs] = F[tl] = F[rl] = F[nl] = F[il] = !0;
|
|
571
|
+
F[js] = F[yi] = F[Ws] = !1;
|
|
572
|
+
function dt(n, o, f, h, g, _) {
|
|
573
|
+
var m, T = o & Is, R = o & Ds, r = o & Ls;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!Qe(n))
|
|
577
577
|
return n;
|
|
578
578
|
var t = vr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = es(n), !T)
|
|
581
|
+
return no(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e = ae(n), i = e == yi || e ==
|
|
583
|
+
var e = ae(n), i = e == yi || e == Bs;
|
|
584
584
|
if (ai(n))
|
|
585
|
-
return
|
|
585
|
+
return Mu(n, T);
|
|
586
586
|
if (e == mi || e == vi || i && !g) {
|
|
587
|
-
if (m = R || i ? {} :
|
|
588
|
-
return R ?
|
|
587
|
+
if (m = R || i ? {} : Ss(n), !T)
|
|
588
|
+
return R ? Gu(n, Lu(m, n)) : $u(n, Du(m, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!F[e])
|
|
591
591
|
return g ? n : {};
|
|
592
|
-
m =
|
|
592
|
+
m = Ns(n, e, T);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
|
|
596
|
-
var u =
|
|
595
|
+
_ || (_ = new Le());
|
|
596
|
+
var u = _.get(n);
|
|
597
597
|
if (u)
|
|
598
598
|
return u;
|
|
599
|
-
|
|
600
|
-
m.add(
|
|
601
|
-
}) :
|
|
602
|
-
m.set(p,
|
|
599
|
+
_.set(n, m), As(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(dt(a, o, f, a, n, _));
|
|
601
|
+
}) : Ps(n) && n.forEach(function(a, p) {
|
|
602
|
+
m.set(p, dt(a, o, f, p, n, _));
|
|
603
603
|
});
|
|
604
|
-
var s = r ? R ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]), ei(m, p,
|
|
604
|
+
var s = r ? R ? zu : Yu : R ? _r : gr, l = t ? void 0 : s(n);
|
|
605
|
+
return io(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), ei(m, p, dt(a, o, f, p, n, _));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var al = 1, ol = 4;
|
|
610
|
+
function ht(n) {
|
|
611
|
+
return dt(n, al | ol);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function ul(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,31 +622,31 @@ function ll(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function kn(n, o) {
|
|
626
|
-
return n.array ? vt(o ? n.default : n.defaultArray) : vt(n.default);
|
|
627
|
-
}
|
|
628
625
|
function An(n, o) {
|
|
626
|
+
return n.array ? ht(o ? n.default : n.defaultArray) : ht(n.default);
|
|
627
|
+
}
|
|
628
|
+
function In(n, o) {
|
|
629
629
|
function f(h, g) {
|
|
630
630
|
if (g.ui) {
|
|
631
631
|
if (g.ui === "strInput" && g.static)
|
|
632
632
|
return;
|
|
633
|
-
h[g.key] =
|
|
633
|
+
h[g.key] = An(g);
|
|
634
634
|
} else
|
|
635
|
-
g.array ? h[g.key] =
|
|
636
|
-
h[g.key] = {}, f(h[g.key],
|
|
635
|
+
g.array ? h[g.key] = An(g) : g.children.forEach((_) => {
|
|
636
|
+
h[g.key] = {}, f(h[g.key], _);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
641
|
+
function sl(n, o, f, h, g) {
|
|
642
|
+
const _ = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${g}`, m = ul(n, o);
|
|
643
643
|
if (!m) {
|
|
644
|
-
console.error(`spawnNode prop tag not found, ${
|
|
644
|
+
console.error(`spawnNode prop tag not found, ${_}`);
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
647
|
const T = Ai[f];
|
|
648
648
|
if (!T) {
|
|
649
|
-
console.error(`spawnNode pkg not found version, ${
|
|
649
|
+
console.error(`spawnNode pkg not found version, ${_}`);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
652
|
const R = {
|
|
@@ -658,51 +658,51 @@ function cl(n, o, f, h, g) {
|
|
|
658
658
|
if (h) {
|
|
659
659
|
const t = T.refKey, e = g;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
|
-
console.error(`spawnNode [ref] element not found in pkg, ${
|
|
661
|
+
console.error(`spawnNode [ref] element not found in pkg, ${_}`);
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = Ae[t];
|
|
665
665
|
if (!i) {
|
|
666
|
-
console.error(`spawnNode [ref] element not found in global, ${
|
|
666
|
+
console.error(`spawnNode [ref] element not found in global, ${_}`);
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
669
|
const u = i.props[m];
|
|
670
670
|
if (!u) {
|
|
671
|
-
console.error(`spawnNode [ref] props not found, ${
|
|
671
|
+
console.error(`spawnNode [ref] props not found, ${_}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
In(R, u), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
678
|
const t = g;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
|
-
console.error(`spawnNode [key] element not found in pkg, ${
|
|
680
|
+
console.error(`spawnNode [key] element not found in pkg, ${_}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = Ae[t];
|
|
684
684
|
if (!e) {
|
|
685
|
-
console.error(`spawnNode [key] element not found in global, ${
|
|
685
|
+
console.error(`spawnNode [key] element not found in global, ${_}`);
|
|
686
686
|
return;
|
|
687
687
|
}
|
|
688
688
|
const i = e.props[m];
|
|
689
689
|
if (!i) {
|
|
690
|
-
console.error(`spawnNode [key] props not found, ${
|
|
690
|
+
console.error(`spawnNode [key] props not found, ${_}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
In(R, i), R.basic.id = r, R.basic.key = t, e.slots.length > 0 && (R.children = []);
|
|
694
694
|
}
|
|
695
695
|
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function yc(n, o) {
|
|
698
698
|
function f(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
702
|
for (let g = 0; g < h.children.length; g++) {
|
|
703
|
-
const
|
|
704
|
-
if (
|
|
705
|
-
return
|
|
703
|
+
const _ = f(h.children[g]);
|
|
704
|
+
if (_)
|
|
705
|
+
return _;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
@@ -711,71 +711,71 @@ function mc(n, o) {
|
|
|
711
711
|
return g;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function mc(n) {
|
|
715
715
|
function o(h) {
|
|
716
716
|
var g;
|
|
717
|
-
h.basic.id = Jn(16), (g = h.children) == null || g.forEach((
|
|
717
|
+
h.basic.id = Jn(16), (g = h.children) == null || g.forEach((_) => o(_));
|
|
718
718
|
}
|
|
719
|
-
const f =
|
|
719
|
+
const f = ht(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
722
|
const gi = "runtimeEnv", _i = "runtimeMode", bi = "runtimeDevice", Ei = "runtimeDark", Ri = "runtimeType", Oi = "runtimeData", Ti = "runtimeDepends", Ni = "runtimeInterpreter";
|
|
723
|
+
function gc(n) {
|
|
724
|
+
fe(gi, n);
|
|
725
|
+
}
|
|
726
|
+
function ll() {
|
|
727
|
+
return pe(gi);
|
|
728
|
+
}
|
|
723
729
|
function _c(n) {
|
|
724
|
-
|
|
730
|
+
fe(_i, n);
|
|
725
731
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
732
|
+
function he() {
|
|
733
|
+
return pe(_i);
|
|
728
734
|
}
|
|
729
735
|
function bc(n) {
|
|
730
|
-
|
|
736
|
+
fe(bi, Et(n));
|
|
731
737
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
738
|
+
function Si() {
|
|
739
|
+
return pe(bi);
|
|
734
740
|
}
|
|
735
741
|
function Ec(n) {
|
|
736
|
-
|
|
742
|
+
fe(Ei, Et(n));
|
|
737
743
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
744
|
+
function Fe() {
|
|
745
|
+
return pe(Ei);
|
|
740
746
|
}
|
|
741
747
|
function Rc(n) {
|
|
742
|
-
|
|
748
|
+
fe(Ri, n);
|
|
743
749
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
750
|
+
function xi() {
|
|
751
|
+
return pe(Ri);
|
|
746
752
|
}
|
|
747
753
|
function Oc(n) {
|
|
748
|
-
|
|
754
|
+
console.assert(Xn(n)), fe(Oi, Et(n));
|
|
749
755
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
756
|
+
function wi() {
|
|
757
|
+
return pe(Oi);
|
|
752
758
|
}
|
|
753
759
|
function Tc(n) {
|
|
754
|
-
console.assert(
|
|
760
|
+
console.assert(Xn(n)), fe(Ti, Et(n));
|
|
755
761
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
762
|
+
function cl() {
|
|
763
|
+
return pe(Ti);
|
|
758
764
|
}
|
|
759
|
-
function
|
|
760
|
-
|
|
765
|
+
function fl(n) {
|
|
766
|
+
fe(Ni, n);
|
|
761
767
|
}
|
|
762
768
|
function pl() {
|
|
763
|
-
return
|
|
764
|
-
}
|
|
765
|
-
function dl(n) {
|
|
766
|
-
pe(Ni, n);
|
|
769
|
+
return pe(Ni);
|
|
767
770
|
}
|
|
768
|
-
|
|
769
|
-
return de(Ni);
|
|
770
|
-
}
|
|
771
|
-
const vl = /* @__PURE__ */ oe({
|
|
771
|
+
const dl = /* @__PURE__ */ oe({
|
|
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 = he(), h = Fe(), g = pl(), _ = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
781
|
}), m = N(() => {
|
|
@@ -797,9 +797,9 @@ const vl = /* @__PURE__ */ oe({
|
|
|
797
797
|
g.appendCode(`__triggerEvent__('${i}', 'click');`), g.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return
|
|
802
|
-
text:
|
|
800
|
+
const s = be("v-btn");
|
|
801
|
+
return J(), de(s, {
|
|
802
|
+
text: _.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
805
805
|
density: R.value,
|
|
@@ -809,18 +809,18 @@ const vl = /* @__PURE__ */ oe({
|
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), hl = [
|
|
813
813
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
814
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
815
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
816
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
817
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
818
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
819
|
+
], Pi = [
|
|
820
820
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
821
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
822
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
], nr = "btn_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1",
|
|
823
|
+
], nr = "btn_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1", vt = "package_v1", yt = "ref_v1", cr = "select_v1", fr = "text_field_v1", V = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const vl = /* @__PURE__ */ oe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, Dn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const vl = /* @__PURE__ */ oe({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: hl,
|
|
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: Pi,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -882,10 +882,10 @@ const vl = /* @__PURE__ */ oe({
|
|
|
882
882
|
default: !1
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
|
-
},
|
|
885
|
+
}, vl = {
|
|
886
886
|
key: nr,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
888
|
+
comp: dl,
|
|
889
889
|
slots: [],
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
@@ -896,20 +896,20 @@ const vl = /* @__PURE__ */ oe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [V,
|
|
900
|
-
compCommon: [V,
|
|
899
|
+
pageCommon: [V, Dn],
|
|
900
|
+
compCommon: [V, Dn]
|
|
901
901
|
}
|
|
902
|
-
},
|
|
902
|
+
}, yl = { key: 0 }, ml = /* @__PURE__ */ oe({
|
|
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 = he(), h = Fe(), g = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
|
-
}),
|
|
912
|
+
}), _ = N(() => {
|
|
913
913
|
var e;
|
|
914
914
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
915
915
|
}), m = N(() => {
|
|
@@ -926,21 +926,21 @@ const vl = /* @__PURE__ */ oe({
|
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
927
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
931
|
-
|
|
929
|
+
const u = be("v-combobox");
|
|
930
|
+
return Pe(f) === "editor" ? (J(), Ie("div", yl, [
|
|
931
|
+
Rt(u, {
|
|
932
932
|
"model-value": g.value,
|
|
933
|
-
label:
|
|
933
|
+
label: _.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
936
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
|
+
])) : (J(), de(u, {
|
|
941
941
|
key: 1,
|
|
942
942
|
"model-value": g.value,
|
|
943
|
-
label:
|
|
943
|
+
label: _.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
946
946
|
"single-line": R.value,
|
|
@@ -949,7 +949,7 @@ const vl = /* @__PURE__ */ oe({
|
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), Ln = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,16 +990,16 @@ const vl = /* @__PURE__ */ oe({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
993
|
+
}, gl = {
|
|
994
994
|
key: ir,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
996
|
+
comp: ml,
|
|
997
997
|
slots: [],
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [V,
|
|
1002
|
-
compCommon: [V,
|
|
1001
|
+
pageCommon: [V, Ln],
|
|
1002
|
+
compCommon: [V, Ln]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
function Ci(n, o, f) {
|
|
@@ -1009,13 +1009,13 @@ function Ci(n, o, f) {
|
|
|
1009
1009
|
}), g = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
|
-
}),
|
|
1012
|
+
}), _ = N(() => {
|
|
1013
1013
|
var t;
|
|
1014
1014
|
return (t = f.node.size) == null ? void 0 : t.maxWidth;
|
|
1015
1015
|
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
|
-
const i =
|
|
1018
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.height);
|
|
1019
1019
|
if (i)
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
@@ -1023,7 +1023,7 @@ function Ci(n, o, f) {
|
|
|
1023
1023
|
}), T = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
|
-
const i =
|
|
1026
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
1027
1027
|
if (i)
|
|
1028
1028
|
return i / 100 * o.value.height + "px";
|
|
1029
1029
|
}
|
|
@@ -1031,18 +1031,18 @@ function Ci(n, o, f) {
|
|
|
1031
1031
|
}), R = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
|
-
const i =
|
|
1034
|
+
const i = Ht((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
1035
1035
|
if (i)
|
|
1036
1036
|
return i / 100 * o.value.height + "px";
|
|
1037
1037
|
}
|
|
1038
1038
|
return (e = f.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1039
|
});
|
|
1040
1040
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value), g.value && (t.minWidth = g.value),
|
|
1041
|
+
h.value && (t.width = h.value), g.value && (t.minWidth = g.value), _.value && (t.maxWidth = _.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: g, maxWidth:
|
|
1043
|
+
return { width: h, minWidth: g, maxWidth: _, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function _l(n) {
|
|
1046
1046
|
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
@@ -1056,12 +1056,12 @@ function El(n) {
|
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
|
-
function
|
|
1059
|
+
function _(m) {
|
|
1060
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: g, applyMargin:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin: _ };
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function bl(n) {
|
|
1065
1065
|
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
@@ -1075,45 +1075,45 @@ function Rl(n) {
|
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
|
-
function
|
|
1078
|
+
function _(m) {
|
|
1079
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: g, applyPadding:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding: _ };
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function El(n) {
|
|
1084
1084
|
const o = N(() => {
|
|
1085
|
-
var
|
|
1086
|
-
return (
|
|
1085
|
+
var _;
|
|
1086
|
+
return (_ = n.node.border) == null ? void 0 : _.style;
|
|
1087
1087
|
}), f = N(() => {
|
|
1088
|
-
var
|
|
1089
|
-
return (
|
|
1088
|
+
var _;
|
|
1089
|
+
return (_ = n.node.border) == null ? void 0 : _.width;
|
|
1090
1090
|
}), h = N(() => {
|
|
1091
|
-
var
|
|
1092
|
-
return (
|
|
1091
|
+
var _;
|
|
1092
|
+
return (_ = n.node.border) == null ? void 0 : _.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function g(
|
|
1095
|
-
o.value && (
|
|
1094
|
+
function g(_) {
|
|
1095
|
+
o.value && (_.borderStyle = o.value), f.value && (_.borderWidth = f.value), h.value && (_.borderColor = h.value);
|
|
1096
1096
|
}
|
|
1097
1097
|
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder: g };
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1099
|
+
const Rl = /* @__PURE__ */ oe({
|
|
1100
1100
|
__name: "index",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
node: {},
|
|
1103
1103
|
outer: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(n) {
|
|
1106
|
-
const o = n, f =
|
|
1107
|
-
const e = {}, i =
|
|
1106
|
+
const o = n, f = he(), h = Si(), g = xi(), _ = wi(), { applySize: m } = Ci(f, h, o), { applyMargin: T } = _l(o), { applyPadding: R } = bl(o), { applyBorder: r } = El(o), t = N(() => {
|
|
1107
|
+
const e = {}, i = _.type;
|
|
1108
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) => (
|
|
1110
|
+
return (e, i) => (J(), Ie("div", {
|
|
1111
1111
|
style: ga(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
Zt(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), Ol = [
|
|
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" },
|
|
@@ -1145,7 +1145,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1145
1145
|
max: 1 / 0,
|
|
1146
1146
|
step: 1
|
|
1147
1147
|
}
|
|
1148
|
-
],
|
|
1148
|
+
], mt = {
|
|
1149
1149
|
key: "border",
|
|
1150
1150
|
name: "x-runtime-lib.border",
|
|
1151
1151
|
children: [
|
|
@@ -1153,7 +1153,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1153
1153
|
key: "style",
|
|
1154
1154
|
name: "x-runtime-lib.style",
|
|
1155
1155
|
ui: "select",
|
|
1156
|
-
items:
|
|
1156
|
+
items: Ol,
|
|
1157
1157
|
default: ""
|
|
1158
1158
|
},
|
|
1159
1159
|
{
|
|
@@ -1210,7 +1210,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
1212
|
]
|
|
1213
|
-
},
|
|
1213
|
+
}, ft = [
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
@@ -1243,7 +1243,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1243
1243
|
max: 1 / 0,
|
|
1244
1244
|
step: 1
|
|
1245
1245
|
}
|
|
1246
|
-
],
|
|
1246
|
+
], gt = {
|
|
1247
1247
|
key: "margin",
|
|
1248
1248
|
name: "x-runtime-lib.margin",
|
|
1249
1249
|
children: [
|
|
@@ -1251,32 +1251,32 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1251
1251
|
key: "top",
|
|
1252
1252
|
name: "x-runtime-lib.top",
|
|
1253
1253
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1254
|
+
types: ft,
|
|
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: ft,
|
|
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: ft,
|
|
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: ft,
|
|
1276
1276
|
default: ""
|
|
1277
1277
|
}
|
|
1278
1278
|
]
|
|
1279
|
-
},
|
|
1279
|
+
}, pt = [
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
@@ -1303,7 +1303,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1303
1303
|
max: 1 / 0,
|
|
1304
1304
|
step: 1
|
|
1305
1305
|
}
|
|
1306
|
-
],
|
|
1306
|
+
], _t = {
|
|
1307
1307
|
key: "padding",
|
|
1308
1308
|
name: "x-runtime-lib.padding",
|
|
1309
1309
|
children: [
|
|
@@ -1311,32 +1311,32 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1311
1311
|
key: "top",
|
|
1312
1312
|
name: "x-runtime-lib.top",
|
|
1313
1313
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1314
|
+
types: pt,
|
|
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: pt,
|
|
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: pt,
|
|
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: pt,
|
|
1336
1336
|
default: ""
|
|
1337
1337
|
}
|
|
1338
1338
|
]
|
|
1339
|
-
},
|
|
1339
|
+
}, bt = {
|
|
1340
1340
|
key: "size",
|
|
1341
1341
|
name: "x-runtime-lib.size",
|
|
1342
1342
|
children: [
|
|
@@ -1383,14 +1383,14 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
|
-
},
|
|
1386
|
+
}, Fn = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1390
|
+
}, Tl = {
|
|
1391
1391
|
key: ar,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1393
|
+
comp: Rl,
|
|
1394
1394
|
slots: [
|
|
1395
1395
|
{
|
|
1396
1396
|
key: "default",
|
|
@@ -1407,23 +1407,23 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1407
1407
|
],
|
|
1408
1408
|
methods: [],
|
|
1409
1409
|
props: {
|
|
1410
|
-
pageCommon: [V,
|
|
1411
|
-
compCommon: [V,
|
|
1410
|
+
pageCommon: [V, bt, mt, gt, _t, Fn],
|
|
1411
|
+
compCommon: [V, bt, mt, gt, _t, Fn]
|
|
1412
1412
|
}
|
|
1413
|
-
},
|
|
1413
|
+
}, Nl = /* @__PURE__ */ oe({
|
|
1414
1414
|
__name: "index",
|
|
1415
1415
|
props: {
|
|
1416
1416
|
node: {},
|
|
1417
1417
|
outer: { type: Boolean }
|
|
1418
1418
|
},
|
|
1419
1419
|
setup(n) {
|
|
1420
|
-
const o = n, f =
|
|
1420
|
+
const o = n, f = Fe(), h = N(() => {
|
|
1421
1421
|
var u;
|
|
1422
1422
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1423
1423
|
}), g = N(() => {
|
|
1424
1424
|
var u;
|
|
1425
1425
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1426
|
-
}),
|
|
1426
|
+
}), _ = N(() => {
|
|
1427
1427
|
var u;
|
|
1428
1428
|
return (u = o.node.settings) == null ? void 0 : u.headers;
|
|
1429
1429
|
}), m = N(() => {
|
|
@@ -1446,11 +1446,11 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1446
1446
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1447
1447
|
}), i = N(() => f.value ? "dark" : "light");
|
|
1448
1448
|
return (u, s) => {
|
|
1449
|
-
const l =
|
|
1450
|
-
return
|
|
1449
|
+
const l = be("v-data-table");
|
|
1450
|
+
return J(), de(l, {
|
|
1451
1451
|
width: h.value,
|
|
1452
1452
|
height: g.value,
|
|
1453
|
-
headers:
|
|
1453
|
+
headers: _.value,
|
|
1454
1454
|
items: m.value,
|
|
1455
1455
|
density: T.value,
|
|
1456
1456
|
"fixed-header": R.value,
|
|
@@ -1461,7 +1461,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1461
1461
|
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
1462
1462
|
};
|
|
1463
1463
|
}
|
|
1464
|
-
}),
|
|
1464
|
+
}), Sl = [
|
|
1465
1465
|
{
|
|
1466
1466
|
name: "x-runtime-lib.start",
|
|
1467
1467
|
ui: "word",
|
|
@@ -1480,7 +1480,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1480
1480
|
validator: (n) => n === "end",
|
|
1481
1481
|
default: "end"
|
|
1482
1482
|
}
|
|
1483
|
-
],
|
|
1483
|
+
], Mn = {
|
|
1484
1484
|
key: "size",
|
|
1485
1485
|
name: "x-runtime-lib.size",
|
|
1486
1486
|
children: [
|
|
@@ -1499,7 +1499,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1499
1499
|
default: ""
|
|
1500
1500
|
}
|
|
1501
1501
|
]
|
|
1502
|
-
},
|
|
1502
|
+
}, Un = {
|
|
1503
1503
|
key: "settings",
|
|
1504
1504
|
name: "x-runtime-lib.settings",
|
|
1505
1505
|
children: [
|
|
@@ -1529,7 +1529,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1529
1529
|
key: "align",
|
|
1530
1530
|
name: "x-runtime-lib.align",
|
|
1531
1531
|
ui: "multiTypes",
|
|
1532
|
-
types:
|
|
1532
|
+
types: Sl,
|
|
1533
1533
|
default: "start"
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
@@ -1573,7 +1573,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1573
1573
|
key: "density",
|
|
1574
1574
|
name: "x-runtime-lib.density",
|
|
1575
1575
|
ui: "select",
|
|
1576
|
-
items:
|
|
1576
|
+
items: Pi,
|
|
1577
1577
|
default: "default"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
@@ -1601,53 +1601,52 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1601
1601
|
default: !1
|
|
1602
1602
|
}
|
|
1603
1603
|
]
|
|
1604
|
-
},
|
|
1604
|
+
}, xl = {
|
|
1605
1605
|
key: or,
|
|
1606
1606
|
name: "x-runtime-lib.dataTable",
|
|
1607
|
-
comp:
|
|
1607
|
+
comp: Nl,
|
|
1608
1608
|
slots: [],
|
|
1609
1609
|
events: [],
|
|
1610
1610
|
methods: [],
|
|
1611
1611
|
props: {
|
|
1612
|
-
pageCommon: [V,
|
|
1613
|
-
compCommon: [V,
|
|
1612
|
+
pageCommon: [V, Mn, Un],
|
|
1613
|
+
compCommon: [V, Mn, Un]
|
|
1614
1614
|
}
|
|
1615
|
-
},
|
|
1615
|
+
}, wl = ["id"], Pl = /* @__PURE__ */ oe({
|
|
1616
1616
|
__name: "index",
|
|
1617
1617
|
props: {
|
|
1618
1618
|
node: {},
|
|
1619
1619
|
outer: { type: Boolean }
|
|
1620
1620
|
},
|
|
1621
1621
|
setup(n) {
|
|
1622
|
-
const o = n, f = N(() => {
|
|
1623
|
-
var
|
|
1624
|
-
return (
|
|
1625
|
-
}), { open:
|
|
1626
|
-
return (
|
|
1627
|
-
const
|
|
1628
|
-
return
|
|
1629
|
-
modelValue:
|
|
1630
|
-
"onUpdate:modelValue":
|
|
1622
|
+
const o = n, f = he(), h = N(() => {
|
|
1623
|
+
var _;
|
|
1624
|
+
return (_ = o.node.basic) == null ? void 0 : _.id;
|
|
1625
|
+
}), { open: g } = Oa(`runtimeDlg/${h.value}`);
|
|
1626
|
+
return (_, m) => {
|
|
1627
|
+
const T = be("v-dialog");
|
|
1628
|
+
return J(), de(T, {
|
|
1629
|
+
modelValue: Pe(g),
|
|
1630
|
+
"onUpdate:modelValue": m[0] || (m[0] = (R) => _a(g) ? g.value = R : null)
|
|
1631
1631
|
}, {
|
|
1632
|
-
activator:
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}, 1040)
|
|
1632
|
+
activator: sn(() => [
|
|
1633
|
+
Pe(f) === "editor" ? (J(), Ie("div", {
|
|
1634
|
+
key: 0,
|
|
1635
|
+
id: `__node__@${h.value}`
|
|
1636
|
+
}, null, 8, wl)) : ba("", !0),
|
|
1637
|
+
Zt(_.$slots, "activator")
|
|
1639
1638
|
]),
|
|
1640
|
-
default:
|
|
1641
|
-
|
|
1639
|
+
default: sn(() => [
|
|
1640
|
+
Zt(_.$slots, "default")
|
|
1642
1641
|
]),
|
|
1643
1642
|
_: 3
|
|
1644
1643
|
}, 8, ["modelValue"]);
|
|
1645
1644
|
};
|
|
1646
1645
|
}
|
|
1647
|
-
}),
|
|
1646
|
+
}), Cl = {
|
|
1648
1647
|
key: ur,
|
|
1649
1648
|
name: "x-runtime-lib.dialog",
|
|
1650
|
-
comp:
|
|
1649
|
+
comp: Pl,
|
|
1651
1650
|
slots: [
|
|
1652
1651
|
{
|
|
1653
1652
|
key: "default",
|
|
@@ -1661,7 +1660,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1661
1660
|
pageCommon: [V],
|
|
1662
1661
|
compCommon: [V]
|
|
1663
1662
|
}
|
|
1664
|
-
},
|
|
1663
|
+
}, jn = {
|
|
1665
1664
|
key: "globalSettings",
|
|
1666
1665
|
name: "x-runtime-lib.globalSettings",
|
|
1667
1666
|
children: [
|
|
@@ -1672,7 +1671,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1672
1671
|
default: "#00000000"
|
|
1673
1672
|
}
|
|
1674
1673
|
]
|
|
1675
|
-
},
|
|
1674
|
+
}, kl = {
|
|
1676
1675
|
key: sr,
|
|
1677
1676
|
name: "x-runtime-lib.globality",
|
|
1678
1677
|
comp: "",
|
|
@@ -1710,21 +1709,21 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1710
1709
|
],
|
|
1711
1710
|
methods: [],
|
|
1712
1711
|
props: {
|
|
1713
|
-
pageCommon: [
|
|
1714
|
-
compCommon: [
|
|
1712
|
+
pageCommon: [jn],
|
|
1713
|
+
compCommon: [jn]
|
|
1715
1714
|
},
|
|
1716
1715
|
internal: !0
|
|
1717
|
-
},
|
|
1716
|
+
}, Al = { key: 0 }, Il = /* @__PURE__ */ oe({
|
|
1718
1717
|
__name: "index",
|
|
1719
1718
|
props: {
|
|
1720
1719
|
node: {},
|
|
1721
1720
|
outer: { type: Boolean }
|
|
1722
1721
|
},
|
|
1723
1722
|
setup(n) {
|
|
1724
|
-
const o = n, f =
|
|
1723
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
1725
1724
|
var e;
|
|
1726
1725
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1727
|
-
}),
|
|
1726
|
+
}), _ = N(() => {
|
|
1728
1727
|
var e;
|
|
1729
1728
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
1730
1729
|
}), m = N(() => {
|
|
@@ -1741,21 +1740,21 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1741
1740
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1742
1741
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1743
1742
|
return (e, i) => {
|
|
1744
|
-
const u =
|
|
1745
|
-
return
|
|
1746
|
-
|
|
1743
|
+
const u = be("v-number-input");
|
|
1744
|
+
return Pe(f) === "editor" ? (J(), Ie("div", Al, [
|
|
1745
|
+
Rt(u, {
|
|
1747
1746
|
"model-value": g.value,
|
|
1748
|
-
label:
|
|
1747
|
+
label: _.value,
|
|
1749
1748
|
placeholder: m.value,
|
|
1750
1749
|
"hide-details": T.value,
|
|
1751
1750
|
"single-line": R.value,
|
|
1752
1751
|
readonly: r.value,
|
|
1753
1752
|
theme: t.value
|
|
1754
1753
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1755
|
-
])) : (
|
|
1754
|
+
])) : (J(), de(u, {
|
|
1756
1755
|
key: 1,
|
|
1757
1756
|
"model-value": g.value,
|
|
1758
|
-
label:
|
|
1757
|
+
label: _.value,
|
|
1759
1758
|
placeholder: m.value,
|
|
1760
1759
|
"hide-details": T.value,
|
|
1761
1760
|
"single-line": R.value,
|
|
@@ -1764,7 +1763,7 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1764
1763
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1765
1764
|
};
|
|
1766
1765
|
}
|
|
1767
|
-
}),
|
|
1766
|
+
}), Bn = {
|
|
1768
1767
|
key: "settings",
|
|
1769
1768
|
name: "x-runtime-lib.settings",
|
|
1770
1769
|
children: [
|
|
@@ -1809,18 +1808,18 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1809
1808
|
default: !1
|
|
1810
1809
|
}
|
|
1811
1810
|
]
|
|
1812
|
-
},
|
|
1811
|
+
}, Dl = {
|
|
1813
1812
|
key: lr,
|
|
1814
1813
|
name: "x-runtime-lib.numberInput",
|
|
1815
|
-
comp:
|
|
1814
|
+
comp: Il,
|
|
1816
1815
|
slots: [],
|
|
1817
1816
|
events: [],
|
|
1818
1817
|
methods: [],
|
|
1819
1818
|
props: {
|
|
1820
|
-
pageCommon: [V,
|
|
1821
|
-
compCommon: [V,
|
|
1819
|
+
pageCommon: [V, Bn],
|
|
1820
|
+
compCommon: [V, Bn]
|
|
1822
1821
|
}
|
|
1823
|
-
},
|
|
1822
|
+
}, $n = {
|
|
1824
1823
|
key: "settings",
|
|
1825
1824
|
name: "x-runtime-lib.settings",
|
|
1826
1825
|
children: [
|
|
@@ -1831,8 +1830,8 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1831
1830
|
default: ""
|
|
1832
1831
|
}
|
|
1833
1832
|
]
|
|
1834
|
-
},
|
|
1835
|
-
key:
|
|
1833
|
+
}, Ll = {
|
|
1834
|
+
key: vt,
|
|
1836
1835
|
name: "x-runtime-lib.package",
|
|
1837
1836
|
comp: null,
|
|
1838
1837
|
slots: [
|
|
@@ -1845,16 +1844,16 @@ const Tl = /* @__PURE__ */ oe({
|
|
|
1845
1844
|
events: [],
|
|
1846
1845
|
methods: [],
|
|
1847
1846
|
props: {
|
|
1848
|
-
pageCommon: [V,
|
|
1849
|
-
compCommon: [V,
|
|
1847
|
+
pageCommon: [V, $n],
|
|
1848
|
+
compCommon: [V, $n]
|
|
1850
1849
|
},
|
|
1851
1850
|
teleport: !0
|
|
1852
1851
|
};
|
|
1853
|
-
var
|
|
1854
|
-
function
|
|
1852
|
+
var Fl = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1853
|
+
function Ml(n) {
|
|
1855
1854
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1856
1855
|
}
|
|
1857
|
-
function
|
|
1856
|
+
function Ul(n) {
|
|
1858
1857
|
if (n.__esModule) return n;
|
|
1859
1858
|
var o = n.default;
|
|
1860
1859
|
if (typeof o == "function") {
|
|
@@ -1874,14 +1873,14 @@ function jl(n) {
|
|
|
1874
1873
|
}), f;
|
|
1875
1874
|
}
|
|
1876
1875
|
var ki = { exports: {} };
|
|
1877
|
-
const
|
|
1876
|
+
const jl = {}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1878
1877
|
__proto__: null,
|
|
1879
|
-
default:
|
|
1880
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1878
|
+
default: jl
|
|
1879
|
+
}, Symbol.toStringTag, { value: "Module" })), $l = /* @__PURE__ */ Ul(Bl);
|
|
1881
1880
|
(function(n, o) {
|
|
1882
1881
|
(function(h, g) {
|
|
1883
1882
|
n.exports = g();
|
|
1884
|
-
})(
|
|
1883
|
+
})(Fl, () => (
|
|
1885
1884
|
/******/
|
|
1886
1885
|
(() => {
|
|
1887
1886
|
var f = {
|
|
@@ -4508,12 +4507,12 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4508
4507
|
} else if (s.nativeFunc)
|
|
4509
4508
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4510
4509
|
else if (s.asyncFunc) {
|
|
4511
|
-
var W = this,
|
|
4510
|
+
var W = this, Me = function(ve) {
|
|
4512
4511
|
e.value = ve, W.paused_ = !1;
|
|
4513
4512
|
}, q = s.asyncFunc.length - 1, Oe = e.arguments_.concat(
|
|
4514
4513
|
new Array(q)
|
|
4515
4514
|
).slice(0, q);
|
|
4516
|
-
Oe.push(
|
|
4515
|
+
Oe.push(Me), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), s.asyncFunc.apply(e.funcThis_, Oe);
|
|
4517
4516
|
return;
|
|
4518
4517
|
} else
|
|
4519
4518
|
this.throwException(
|
|
@@ -4988,32 +4987,32 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4988
4987
|
i = r.sourceFile;
|
|
4989
4988
|
}
|
|
4990
4989
|
var l = function(c, d) {
|
|
4991
|
-
for (var y = 1,
|
|
4992
|
-
|
|
4993
|
-
var C =
|
|
4990
|
+
for (var y = 1, b = 0; ; ) {
|
|
4991
|
+
at.lastIndex = b;
|
|
4992
|
+
var C = at.exec(c);
|
|
4994
4993
|
if (C && C.index < d)
|
|
4995
|
-
++y,
|
|
4994
|
+
++y, b = C.index + C[0].length;
|
|
4996
4995
|
else
|
|
4997
4996
|
break;
|
|
4998
4997
|
}
|
|
4999
|
-
return { line: y, column: d -
|
|
5000
|
-
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W,
|
|
4998
|
+
return { line: y, column: d - b };
|
|
4999
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Me = 0, q = 0, Oe, ve, B, H;
|
|
5001
5000
|
function A(c, d) {
|
|
5002
5001
|
var y = l(t, c);
|
|
5003
5002
|
d += " (" + y.line + ":" + y.column + ")";
|
|
5004
|
-
var
|
|
5005
|
-
throw
|
|
5003
|
+
var b = new SyntaxError(d);
|
|
5004
|
+
throw b.pos = c, b.loc = y, b.raisedAt = a, b;
|
|
5006
5005
|
}
|
|
5007
|
-
var Ii = [],
|
|
5008
|
-
break:
|
|
5009
|
-
case:
|
|
5006
|
+
var Ii = [], et = { type: "num" }, Rr = { type: "regexp" }, St = { type: "string" }, Te = { type: "name" }, xt = { type: "eof" }, wt = { keyword: "break" }, Pt = { keyword: "case", beforeExpr: !0 }, Or = { keyword: "catch" }, Tr = { keyword: "continue" }, Nr = { keyword: "debugger" }, Sr = { keyword: "default" }, xr = { keyword: "do", isLoop: !0 }, wr = { keyword: "else", beforeExpr: !0 }, Pr = { keyword: "finally" }, Cr = { keyword: "for", isLoop: !0 }, Ct = { keyword: "function" }, kr = { keyword: "if" }, Ar = { keyword: "return", beforeExpr: !0 }, kt = { keyword: "switch" }, Ir = { keyword: "throw", beforeExpr: !0 }, Dr = { keyword: "try" }, At = { keyword: "var" }, It = { keyword: "while", isLoop: !0 }, Lr = { keyword: "with" }, Fr = { keyword: "new", beforeExpr: !0 }, Mr = { keyword: "this" }, Ur = { keyword: "null", atomValue: null }, jr = { keyword: "true", atomValue: !0 }, Br = { keyword: "false", atomValue: !1 }, tt = { keyword: "in", binop: 7, beforeExpr: !0 }, Di = {
|
|
5007
|
+
break: wt,
|
|
5008
|
+
case: Pt,
|
|
5010
5009
|
catch: Or,
|
|
5011
5010
|
continue: Tr,
|
|
5012
5011
|
debugger: Nr,
|
|
5013
5012
|
default: Sr,
|
|
5014
5013
|
do: xr,
|
|
5015
|
-
else:
|
|
5016
|
-
finally:
|
|
5014
|
+
else: wr,
|
|
5015
|
+
finally: Pr,
|
|
5017
5016
|
for: Cr,
|
|
5018
5017
|
function: Ct,
|
|
5019
5018
|
if: kr,
|
|
@@ -5028,21 +5027,21 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5028
5027
|
true: jr,
|
|
5029
5028
|
false: Br,
|
|
5030
5029
|
new: Fr,
|
|
5031
|
-
in:
|
|
5030
|
+
in: tt,
|
|
5032
5031
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
5033
5032
|
this: Mr,
|
|
5034
5033
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
5035
5034
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
5036
5035
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
5037
|
-
}, Dt = { type: "[", beforeExpr: !0 }, Lt = { type: "]" },
|
|
5038
|
-
function
|
|
5039
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
5040
|
-
y[d[
|
|
5036
|
+
}, Dt = { type: "[", beforeExpr: !0 }, Lt = { type: "]" }, Ue = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, ee = { type: ")" }, se = { type: ",", beforeExpr: !0 }, ne = { type: ";", beforeExpr: !0 }, je = { type: ":", beforeExpr: !0 }, $r = { type: "." }, Vr = { type: "?", beforeExpr: !0 }, Gr = { binop: 10, beforeExpr: !0 }, Yr = { isAssign: !0, beforeExpr: !0 }, ye = { isAssign: !0, beforeExpr: !0 }, Li = { postfix: !0, prefix: !0, isUpdate: !0 }, zr = { prefix: !0, beforeExpr: !0 }, Xr = { binop: 1, beforeExpr: !0 }, Wr = { binop: 2, beforeExpr: !0 }, Fi = { binop: 3, beforeExpr: !0 }, Mi = { binop: 4, beforeExpr: !0 }, Ui = { binop: 5, beforeExpr: !0 }, ji = { binop: 6, beforeExpr: !0 }, Bi = { binop: 7, beforeExpr: !0 }, $i = { binop: 8, beforeExpr: !0 }, Vi = { binop: 9, prefix: !0, beforeExpr: !0 }, Gi = { binop: 10, beforeExpr: !0 };
|
|
5037
|
+
function rt(c) {
|
|
5038
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), b = 0; b < d.length; b++)
|
|
5039
|
+
y[d[b]] = !0;
|
|
5041
5040
|
return function(C) {
|
|
5042
5041
|
return y[C] || !1;
|
|
5043
5042
|
};
|
|
5044
5043
|
}
|
|
5045
|
-
var Yi =
|
|
5044
|
+
var Yi = rt("class enum extends super const export import"), Jr = rt("implements interface let package private protected public static yield"), nt = rt("eval arguments"), zi = rt("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"), Xi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Hr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Wi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Kr = new RegExp("[" + Hr + "]"), Ji = new RegExp("[" + Hr + Wi + "]"), it = /[\n\r\u2028\u2029]/, at = /\r\n|[\n\r\u2028\u2029]/g, ot = function(c) {
|
|
5046
5045
|
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Kr.test(String.fromCharCode(c));
|
|
5047
5046
|
}, qr = function(c) {
|
|
5048
5047
|
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Ji.test(String.fromCharCode(c));
|
|
@@ -5051,17 +5050,17 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5051
5050
|
this.line = L, this.column = a - W;
|
|
5052
5051
|
}
|
|
5053
5052
|
function Hi() {
|
|
5054
|
-
L = 1, a = W = 0, I = !0,
|
|
5053
|
+
L = 1, a = W = 0, I = !0, Be();
|
|
5055
5054
|
}
|
|
5056
5055
|
function G(c, d) {
|
|
5057
|
-
v = a, r.locations && (S = new me()), O = c,
|
|
5056
|
+
v = a, r.locations && (S = new me()), O = c, Be(), x = d, I = c.beforeExpr;
|
|
5058
5057
|
}
|
|
5059
5058
|
function Ki() {
|
|
5060
5059
|
var c = r.onComment && r.locations && new me(), d = a, y = t.indexOf("*/", a += 2);
|
|
5061
5060
|
if (y === -1 && A(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
5062
|
-
|
|
5063
|
-
for (var
|
|
5064
|
-
++L, W =
|
|
5061
|
+
at.lastIndex = d;
|
|
5062
|
+
for (var b; (b = at.exec(t)) && b.index < a; )
|
|
5063
|
+
++L, W = b.index + b[0].length;
|
|
5065
5064
|
}
|
|
5066
5065
|
r.onComment && r.onComment(
|
|
5067
5066
|
!0,
|
|
@@ -5084,7 +5083,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5084
5083
|
r.locations && new me()
|
|
5085
5084
|
);
|
|
5086
5085
|
}
|
|
5087
|
-
function
|
|
5086
|
+
function Be() {
|
|
5088
5087
|
for (; a < e; ) {
|
|
5089
5088
|
var c = t.charCodeAt(a);
|
|
5090
5089
|
if (c === 32)
|
|
@@ -5135,8 +5134,8 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5135
5134
|
function ra(c) {
|
|
5136
5135
|
var d = t.charCodeAt(a + 1);
|
|
5137
5136
|
if (d === c) {
|
|
5138
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5139
|
-
a += 3, Ft(),
|
|
5137
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && it.test(t.slice(q, a))) {
|
|
5138
|
+
a += 3, Ft(), Be(), Se();
|
|
5140
5139
|
return;
|
|
5141
5140
|
}
|
|
5142
5141
|
Y(Li, 2);
|
|
@@ -5149,7 +5148,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5149
5148
|
return;
|
|
5150
5149
|
}
|
|
5151
5150
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5152
|
-
a += 4, Ft(),
|
|
5151
|
+
a += 4, Ft(), Be(), Se();
|
|
5153
5152
|
return;
|
|
5154
5153
|
}
|
|
5155
5154
|
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), Y(Bi, y);
|
|
@@ -5175,11 +5174,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5175
5174
|
case 93:
|
|
5176
5175
|
return ++a, G(Lt);
|
|
5177
5176
|
case 123:
|
|
5178
|
-
return ++a, G(
|
|
5177
|
+
return ++a, G(Ue);
|
|
5179
5178
|
case 125:
|
|
5180
5179
|
return ++a, G(Ne);
|
|
5181
5180
|
case 58:
|
|
5182
|
-
return ++a, G(
|
|
5181
|
+
return ++a, G(je);
|
|
5183
5182
|
case 63:
|
|
5184
5183
|
return ++a, G(Vr);
|
|
5185
5184
|
case 48:
|
|
@@ -5226,14 +5225,14 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5226
5225
|
if (c ? a = p + 1 : p = a, r.locations && (E = new me()), c) return Zr();
|
|
5227
5226
|
if (a >= e) return G(xt);
|
|
5228
5227
|
var d = t.charCodeAt(a);
|
|
5229
|
-
if (
|
|
5228
|
+
if (ot(d) || d === 92)
|
|
5230
5229
|
return tn();
|
|
5231
5230
|
var y = aa(d);
|
|
5232
5231
|
if (y === !1) {
|
|
5233
|
-
var
|
|
5234
|
-
if (
|
|
5232
|
+
var b = String.fromCharCode(d);
|
|
5233
|
+
if (b === "\\" || Kr.test(b))
|
|
5235
5234
|
return tn();
|
|
5236
|
-
A(a, "Unexpected character '" +
|
|
5235
|
+
A(a, "Unexpected character '" + b + "'");
|
|
5237
5236
|
}
|
|
5238
5237
|
}
|
|
5239
5238
|
function Y(c, d) {
|
|
@@ -5243,51 +5242,51 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5243
5242
|
function Zr() {
|
|
5244
5243
|
for (var c, d, y = a; ; ) {
|
|
5245
5244
|
a >= e && A(y, "Unterminated regexp");
|
|
5246
|
-
var
|
|
5247
|
-
if (
|
|
5245
|
+
var b = t.charAt(a);
|
|
5246
|
+
if (it.test(b) && A(y, "Unterminated regexp"), c)
|
|
5248
5247
|
c = !1;
|
|
5249
5248
|
else {
|
|
5250
|
-
if (
|
|
5249
|
+
if (b === "[")
|
|
5251
5250
|
d = !0;
|
|
5252
|
-
else if (
|
|
5251
|
+
else if (b === "]" && d)
|
|
5253
5252
|
d = !1;
|
|
5254
|
-
else if (
|
|
5253
|
+
else if (b === "/" && !d)
|
|
5255
5254
|
break;
|
|
5256
|
-
c =
|
|
5255
|
+
c = b === "\\";
|
|
5257
5256
|
}
|
|
5258
5257
|
++a;
|
|
5259
5258
|
}
|
|
5260
5259
|
var C = t.slice(y, a);
|
|
5261
5260
|
++a;
|
|
5262
|
-
var
|
|
5263
|
-
|
|
5261
|
+
var w = en();
|
|
5262
|
+
w && !/^[gmi]*$/.test(w) && A(y, "Invalid regexp flag");
|
|
5264
5263
|
try {
|
|
5265
|
-
var k = new RegExp(C,
|
|
5264
|
+
var k = new RegExp(C, w);
|
|
5266
5265
|
} catch (U) {
|
|
5267
5266
|
throw U instanceof SyntaxError && A(y, U.message), U;
|
|
5268
5267
|
}
|
|
5269
5268
|
G(Rr, k);
|
|
5270
5269
|
}
|
|
5271
|
-
function
|
|
5272
|
-
for (var y = a,
|
|
5270
|
+
function $e(c, d) {
|
|
5271
|
+
for (var y = a, b = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5273
5272
|
var k = t.charCodeAt(a), U;
|
|
5274
5273
|
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >= c) break;
|
|
5275
|
-
++a,
|
|
5274
|
+
++a, b = b * c + U;
|
|
5276
5275
|
}
|
|
5277
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5276
|
+
return a === y || d !== void 0 && a - y !== d ? null : b;
|
|
5278
5277
|
}
|
|
5279
5278
|
function oa() {
|
|
5280
5279
|
a += 2;
|
|
5281
|
-
var c =
|
|
5282
|
-
c === null && A(p + 2, "Expected hexadecimal number"),
|
|
5280
|
+
var c = $e(16);
|
|
5281
|
+
c === null && A(p + 2, "Expected hexadecimal number"), ot(t.charCodeAt(a)) && A(a, "Identifier directly after number"), G(et, c);
|
|
5283
5282
|
}
|
|
5284
5283
|
function Qr(c) {
|
|
5285
|
-
var d = a, y = !1,
|
|
5286
|
-
!c &&
|
|
5284
|
+
var d = a, y = !1, b = t.charCodeAt(a) === 48;
|
|
5285
|
+
!c && $e(10) === null && A(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, $e(10), y = !0);
|
|
5287
5286
|
var C = t.charCodeAt(a);
|
|
5288
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
5289
|
-
var
|
|
5290
|
-
y ? k = parseFloat(
|
|
5287
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, $e(10) === null && A(d, "Invalid number"), y = !0), ot(t.charCodeAt(a)) && A(a, "Identifier directly after number");
|
|
5288
|
+
var w = t.slice(d, a), k;
|
|
5289
|
+
y ? k = parseFloat(w) : !b || w.length === 1 ? k = parseInt(w, 10) : /[89]/.test(w) || H ? A(d, "Invalid number") : k = parseInt(w, 8), G(et, k);
|
|
5291
5290
|
}
|
|
5292
5291
|
function ua(c) {
|
|
5293
5292
|
a++;
|
|
@@ -5300,11 +5299,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5300
5299
|
}
|
|
5301
5300
|
if (y === 92) {
|
|
5302
5301
|
y = t.charCodeAt(++a);
|
|
5303
|
-
var
|
|
5304
|
-
for (
|
|
5305
|
-
|
|
5306
|
-
if (
|
|
5307
|
-
|
|
5302
|
+
var b = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5303
|
+
for (b && (b = b[0]); b && parseInt(b, 8) > 255; )
|
|
5304
|
+
b = b.slice(0, -1);
|
|
5305
|
+
if (b === "0" && (b = null), ++a, b)
|
|
5306
|
+
H && A(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(b, 8)), a += b.length - 1;
|
|
5308
5307
|
else
|
|
5309
5308
|
switch (y) {
|
|
5310
5309
|
case 110:
|
|
@@ -5315,13 +5314,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5315
5314
|
d += "\r";
|
|
5316
5315
|
break;
|
|
5317
5316
|
case 120:
|
|
5318
|
-
d += String.fromCharCode(
|
|
5317
|
+
d += String.fromCharCode(ut(2));
|
|
5319
5318
|
break;
|
|
5320
5319
|
case 117:
|
|
5321
|
-
d += String.fromCharCode(
|
|
5320
|
+
d += String.fromCharCode(ut(4));
|
|
5322
5321
|
break;
|
|
5323
5322
|
case 85:
|
|
5324
|
-
d += String.fromCharCode(
|
|
5323
|
+
d += String.fromCharCode(ut(8));
|
|
5325
5324
|
break;
|
|
5326
5325
|
case 116:
|
|
5327
5326
|
d += " ";
|
|
@@ -5351,8 +5350,8 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5351
5350
|
(y === 13 || y === 10 || y === 8232 || y === 8233) && A(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5352
5351
|
}
|
|
5353
5352
|
}
|
|
5354
|
-
function
|
|
5355
|
-
var d =
|
|
5353
|
+
function ut(c) {
|
|
5354
|
+
var d = $e(16, c);
|
|
5356
5355
|
return d === null && A(p, "Bad character escape sequence"), /** @type {number} */
|
|
5357
5356
|
d;
|
|
5358
5357
|
}
|
|
@@ -5360,13 +5359,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5360
5359
|
function en() {
|
|
5361
5360
|
xe = !1;
|
|
5362
5361
|
for (var c, d = !0, y = a; ; ) {
|
|
5363
|
-
var
|
|
5364
|
-
if (qr(
|
|
5362
|
+
var b = t.charCodeAt(a);
|
|
5363
|
+
if (qr(b))
|
|
5365
5364
|
xe && (c += t.charAt(a)), ++a;
|
|
5366
|
-
else if (
|
|
5365
|
+
else if (b === 92) {
|
|
5367
5366
|
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5368
|
-
var C =
|
|
5369
|
-
|
|
5367
|
+
var C = ut(4), w = String.fromCharCode(C);
|
|
5368
|
+
w || A(a - 1, "Invalid Unicode escape"), (d ? ot(C) : qr(C)) || A(a - 4, "Invalid Unicode escape"), c += w;
|
|
5370
5369
|
} else
|
|
5371
5370
|
break;
|
|
5372
5371
|
d = !1;
|
|
@@ -5378,14 +5377,14 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5378
5377
|
!xe && zi(c) && (d = Di[c]), G(d, c);
|
|
5379
5378
|
}
|
|
5380
5379
|
function D() {
|
|
5381
|
-
|
|
5380
|
+
Me = p, q = v, Oe = S, Se();
|
|
5382
5381
|
}
|
|
5383
5382
|
function Mt(c) {
|
|
5384
|
-
if (
|
|
5383
|
+
if (H = c, a = p, r.locations)
|
|
5385
5384
|
for (; a < W; )
|
|
5386
5385
|
W = t.lastIndexOf(`
|
|
5387
5386
|
`, W - 2) + 1, --L;
|
|
5388
|
-
|
|
5387
|
+
Be(), Se();
|
|
5389
5388
|
}
|
|
5390
5389
|
function rn() {
|
|
5391
5390
|
this.type = null, this.start = p, this.end = null;
|
|
@@ -5401,7 +5400,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5401
5400
|
var d = new rn();
|
|
5402
5401
|
return d.start = c.start, r.locations && (d.loc = new nn(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5403
5402
|
}
|
|
5404
|
-
function
|
|
5403
|
+
function P(c, d) {
|
|
5405
5404
|
return c.type = d, c.end = q, r.locations && (c.loc.end = Oe), r.ranges && (c.range[1] = q), c;
|
|
5406
5405
|
}
|
|
5407
5406
|
function Ut(c) {
|
|
@@ -5410,11 +5409,11 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5410
5409
|
function j(c) {
|
|
5411
5410
|
return O === c ? (D(), !0) : !1;
|
|
5412
5411
|
}
|
|
5413
|
-
function
|
|
5414
|
-
return !r.strictSemicolons && (O === xt || O === Ne ||
|
|
5412
|
+
function st() {
|
|
5413
|
+
return !r.strictSemicolons && (O === xt || O === Ne || it.test(t.slice(q, p)));
|
|
5415
5414
|
}
|
|
5416
5415
|
function ge() {
|
|
5417
|
-
!j(ne) && !
|
|
5416
|
+
!j(ne) && !st() && ie();
|
|
5418
5417
|
}
|
|
5419
5418
|
function $(c) {
|
|
5420
5419
|
O === c ? D() : ie();
|
|
@@ -5422,121 +5421,121 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5422
5421
|
function ie() {
|
|
5423
5422
|
A(p, "Unexpected token");
|
|
5424
5423
|
}
|
|
5425
|
-
function
|
|
5426
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" && A(c.start, "Assigning to rvalue"),
|
|
5424
|
+
function lt(c) {
|
|
5425
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && A(c.start, "Assigning to rvalue"), H && c.type === "Identifier" && nt(c.name) && A(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5427
5426
|
}
|
|
5428
5427
|
function sa(c) {
|
|
5429
|
-
|
|
5428
|
+
Me = q = a, r.locations && (Oe = new me()), ve = H = !1, B = [], Se();
|
|
5430
5429
|
var d = c || z(), y = !0;
|
|
5431
5430
|
for (c || (d.body = []); O !== xt; ) {
|
|
5432
|
-
var
|
|
5433
|
-
d.body.push(
|
|
5431
|
+
var b = Z();
|
|
5432
|
+
d.body.push(b), y && Ut(b) && Mt(!0), y = !1;
|
|
5434
5433
|
}
|
|
5435
|
-
return
|
|
5434
|
+
return P(d, "Program");
|
|
5436
5435
|
}
|
|
5437
5436
|
var jt = { kind: "loop" }, la = { kind: "switch" };
|
|
5438
5437
|
function Z() {
|
|
5439
5438
|
(O === Gr || O === ye && x === "/=") && Se(!0);
|
|
5440
5439
|
var c = O, d = z();
|
|
5441
5440
|
switch (c) {
|
|
5442
|
-
case
|
|
5441
|
+
case wt:
|
|
5443
5442
|
case Tr:
|
|
5444
5443
|
D();
|
|
5445
|
-
var y = c ===
|
|
5446
|
-
j(ne) ||
|
|
5447
|
-
for (var
|
|
5448
|
-
var C = B[
|
|
5444
|
+
var y = c === wt;
|
|
5445
|
+
j(ne) || st() ? d.label = null : O !== Te ? ie() : (d.label = ce(), ge());
|
|
5446
|
+
for (var b = 0; b < B.length; ++b) {
|
|
5447
|
+
var C = B[b];
|
|
5449
5448
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5450
5449
|
break;
|
|
5451
5450
|
}
|
|
5452
|
-
return
|
|
5451
|
+
return b === B.length && A(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5453
5452
|
case Nr:
|
|
5454
|
-
return D(), ge(),
|
|
5453
|
+
return D(), ge(), P(d, "DebuggerStatement");
|
|
5455
5454
|
case xr:
|
|
5456
|
-
return D(), B.push(jt), d.body = Z(), B.pop(), $(It), d.test =
|
|
5455
|
+
return D(), B.push(jt), d.body = Z(), B.pop(), $(It), d.test = Ve(), ge(), P(d, "DoWhileStatement");
|
|
5457
5456
|
case Cr:
|
|
5458
5457
|
if (D(), B.push(jt), $(re), O === ne) return Bt(d, null);
|
|
5459
5458
|
if (O === At) {
|
|
5460
|
-
var
|
|
5461
|
-
return D(), on(
|
|
5459
|
+
var w = z();
|
|
5460
|
+
return D(), on(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(tt) ? an(d, w) : Bt(d, w);
|
|
5462
5461
|
}
|
|
5463
|
-
var
|
|
5464
|
-
return j(
|
|
5462
|
+
var w = X(!1, !0);
|
|
5463
|
+
return j(tt) ? (lt(w), an(d, w)) : Bt(d, w);
|
|
5465
5464
|
case Ct:
|
|
5466
5465
|
return D(), zt(d, !0);
|
|
5467
5466
|
case kr:
|
|
5468
|
-
return D(), d.test =
|
|
5467
|
+
return D(), d.test = Ve(), d.consequent = Z(), d.alternate = j(wr) ? Z() : null, P(d, "IfStatement");
|
|
5469
5468
|
case Ar:
|
|
5470
|
-
return !ve && !r.allowReturnOutsideFunction && A(p, "'return' outside of function"), D(), j(ne) ||
|
|
5469
|
+
return !ve && !r.allowReturnOutsideFunction && A(p, "'return' outside of function"), D(), j(ne) || st() ? d.argument = null : (d.argument = X(), ge()), P(d, "ReturnStatement");
|
|
5471
5470
|
case kt:
|
|
5472
|
-
D(), d.discriminant =
|
|
5471
|
+
D(), d.discriminant = Ve(), d.cases = [], $(Ue), B.push(la);
|
|
5473
5472
|
for (var k, U; O !== Ne; )
|
|
5474
|
-
if (O ===
|
|
5475
|
-
var
|
|
5476
|
-
k &&
|
|
5473
|
+
if (O === Pt || O === Sr) {
|
|
5474
|
+
var ze = O === Pt;
|
|
5475
|
+
k && P(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), ze ? k.test = X() : (U && A(Me, "Multiple default clauses"), U = !0, k.test = null), $(je);
|
|
5477
5476
|
} else
|
|
5478
5477
|
k || ie(), k.consequent.push(Z());
|
|
5479
|
-
return k &&
|
|
5478
|
+
return k && P(k, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5480
5479
|
case Ir:
|
|
5481
|
-
return D(),
|
|
5480
|
+
return D(), it.test(t.slice(q, p)) && A(q, "Illegal newline after throw"), d.argument = X(), ge(), P(d, "ThrowStatement");
|
|
5482
5481
|
case Dr:
|
|
5483
|
-
if (D(), d.block =
|
|
5484
|
-
var
|
|
5485
|
-
D(), $(re),
|
|
5482
|
+
if (D(), d.block = Ge(), d.handler = null, O === Or) {
|
|
5483
|
+
var we = z();
|
|
5484
|
+
D(), $(re), we.param = ce(), H && nt(we.param.name) && A(we.param.start, "Binding " + we.param.name + " in strict mode"), $(ee), we.body = Ge(), d.handler = P(we, "CatchClause");
|
|
5486
5485
|
}
|
|
5487
|
-
return d.finalizer = j(
|
|
5486
|
+
return d.finalizer = j(Pr) ? Ge() : null, !d.handler && !d.finalizer && A(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5488
5487
|
case At:
|
|
5489
|
-
return D(), on(d), ge(),
|
|
5488
|
+
return D(), on(d), ge(), P(d, "VariableDeclaration");
|
|
5490
5489
|
case It:
|
|
5491
|
-
return D(), d.test =
|
|
5490
|
+
return D(), d.test = Ve(), B.push(jt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5492
5491
|
case Lr:
|
|
5493
|
-
return
|
|
5494
|
-
case
|
|
5495
|
-
return
|
|
5492
|
+
return H && A(p, "'with' in strict mode"), D(), d.object = Ve(), d.body = Z(), P(d, "WithStatement");
|
|
5493
|
+
case Ue:
|
|
5494
|
+
return Ge();
|
|
5496
5495
|
case ne:
|
|
5497
|
-
return D(),
|
|
5496
|
+
return D(), P(d, "EmptyStatement");
|
|
5498
5497
|
default:
|
|
5499
|
-
var Wt = x,
|
|
5500
|
-
if (c === Te &&
|
|
5501
|
-
for (var
|
|
5502
|
-
B[
|
|
5498
|
+
var Wt = x, ct = X();
|
|
5499
|
+
if (c === Te && ct.type === "Identifier" && j(je)) {
|
|
5500
|
+
for (var b = 0; b < B.length; ++b)
|
|
5501
|
+
B[b].name === Wt && A(ct.start, "Label '" + Wt + "' is already declared");
|
|
5503
5502
|
var va = O.isLoop ? "loop" : O === kt ? "switch" : null;
|
|
5504
|
-
return B.push({ name: Wt, kind: va }), d.body = Z(), B.pop(), d.label =
|
|
5503
|
+
return B.push({ name: Wt, kind: va }), d.body = Z(), B.pop(), d.label = ct, P(d, "LabeledStatement");
|
|
5505
5504
|
} else
|
|
5506
|
-
return d.expression =
|
|
5505
|
+
return d.expression = ct, ge(), P(d, "ExpressionStatement");
|
|
5507
5506
|
}
|
|
5508
5507
|
}
|
|
5509
|
-
function
|
|
5508
|
+
function Ve() {
|
|
5510
5509
|
$(re);
|
|
5511
5510
|
var c = X();
|
|
5512
5511
|
return $(ee), c;
|
|
5513
5512
|
}
|
|
5514
|
-
function
|
|
5515
|
-
var d = z(), y = !0,
|
|
5516
|
-
for (d.body = [], $(
|
|
5517
|
-
var
|
|
5518
|
-
d.body.push(
|
|
5513
|
+
function Ge(c) {
|
|
5514
|
+
var d = z(), y = !0, b = !1, C;
|
|
5515
|
+
for (d.body = [], $(Ue); !j(Ne); ) {
|
|
5516
|
+
var w = Z();
|
|
5517
|
+
d.body.push(w), y && c && Ut(w) && (C = b, Mt(b = !0)), y = !1;
|
|
5519
5518
|
}
|
|
5520
|
-
return
|
|
5519
|
+
return b && !C && Mt(!1), P(d, "BlockStatement");
|
|
5521
5520
|
}
|
|
5522
5521
|
function Bt(c, d) {
|
|
5523
|
-
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === ee ? null : X(), $(ee), c.body = Z(), B.pop(),
|
|
5522
|
+
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === ee ? null : X(), $(ee), c.body = Z(), B.pop(), P(c, "ForStatement");
|
|
5524
5523
|
}
|
|
5525
5524
|
function an(c, d) {
|
|
5526
|
-
return c.left = d, c.right = X(), $(ee), c.body = Z(), B.pop(),
|
|
5525
|
+
return c.left = d, c.right = X(), $(ee), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5527
5526
|
}
|
|
5528
5527
|
function on(c, d) {
|
|
5529
5528
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5530
5529
|
var y = z();
|
|
5531
|
-
if (y.id = ce(),
|
|
5530
|
+
if (y.id = ce(), H && nt(y.id.name) && A(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Yr) ? X(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(se)) break;
|
|
5532
5531
|
}
|
|
5533
5532
|
}
|
|
5534
5533
|
function X(c, d) {
|
|
5535
5534
|
var y = $t(d);
|
|
5536
5535
|
if (!c && O === se) {
|
|
5537
|
-
var
|
|
5538
|
-
for (
|
|
5539
|
-
return
|
|
5536
|
+
var b = le(y);
|
|
5537
|
+
for (b.expressions = [y]; j(se); ) b.expressions.push($t(d));
|
|
5538
|
+
return P(b, "SequenceExpression");
|
|
5540
5539
|
}
|
|
5541
5540
|
return y;
|
|
5542
5541
|
}
|
|
@@ -5544,7 +5543,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5544
5543
|
var d = ca(c);
|
|
5545
5544
|
if (O.isAssign) {
|
|
5546
5545
|
var y = le(d);
|
|
5547
|
-
return y.operator = x, y.left = d, D(), y.right = $t(c),
|
|
5546
|
+
return y.operator = x, y.left = d, D(), y.right = $t(c), lt(d), P(y, "AssignmentExpression");
|
|
5548
5547
|
}
|
|
5549
5548
|
return d;
|
|
5550
5549
|
}
|
|
@@ -5552,7 +5551,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5552
5551
|
var d = fa(c);
|
|
5553
5552
|
if (j(Vr)) {
|
|
5554
5553
|
var y = le(d);
|
|
5555
|
-
return y.test = d, y.consequent = X(!0), $(
|
|
5554
|
+
return y.test = d, y.consequent = X(!0), $(je), y.alternate = X(!0, c), P(y, "ConditionalExpression");
|
|
5556
5555
|
}
|
|
5557
5556
|
return d;
|
|
5558
5557
|
}
|
|
@@ -5560,13 +5559,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5560
5559
|
return Vt(Gt(), -1, c);
|
|
5561
5560
|
}
|
|
5562
5561
|
function Vt(c, d, y) {
|
|
5563
|
-
var
|
|
5564
|
-
if (
|
|
5562
|
+
var b = O.binop;
|
|
5563
|
+
if (b !== null && (!y || O !== tt) && b > d) {
|
|
5565
5564
|
var C = le(c);
|
|
5566
5565
|
C.left = c, C.operator = x;
|
|
5567
|
-
var
|
|
5568
|
-
D(), C.right = Vt(Gt(),
|
|
5569
|
-
var k =
|
|
5566
|
+
var w = O;
|
|
5567
|
+
D(), C.right = Vt(Gt(), b, y);
|
|
5568
|
+
var k = P(C, w === Xr || w === Wr ? "LogicalExpression" : "BinaryExpression");
|
|
5570
5569
|
return Vt(k, d, y);
|
|
5571
5570
|
}
|
|
5572
5571
|
return c;
|
|
@@ -5574,44 +5573,44 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5574
5573
|
function Gt() {
|
|
5575
5574
|
if (O.prefix) {
|
|
5576
5575
|
var c = z(), d = O.isUpdate;
|
|
5577
|
-
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Gt(), d ?
|
|
5576
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Gt(), d ? lt(c.argument) : H && c.operator === "delete" && c.argument.type === "Identifier" && A(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5578
5577
|
}
|
|
5579
|
-
for (var y = pa(); O.postfix && !
|
|
5578
|
+
for (var y = pa(); O.postfix && !st(); ) {
|
|
5580
5579
|
var c = le(y);
|
|
5581
|
-
c.operator = x, c.prefix = !1, c.argument = y,
|
|
5580
|
+
c.operator = x, c.prefix = !1, c.argument = y, lt(y), D(), y = P(c, "UpdateExpression");
|
|
5582
5581
|
}
|
|
5583
5582
|
return y;
|
|
5584
5583
|
}
|
|
5585
5584
|
function pa() {
|
|
5586
|
-
return
|
|
5585
|
+
return Ye(Yt());
|
|
5587
5586
|
}
|
|
5588
|
-
function
|
|
5587
|
+
function Ye(c, d) {
|
|
5589
5588
|
var y;
|
|
5590
|
-
return j($r) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1,
|
|
5589
|
+
return j($r) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1, Ye(P(y, "MemberExpression"), d)) : j(Dt) ? (y = le(c), y.object = c, y.property = X(), y.computed = !0, $(Lt), Ye(P(y, "MemberExpression"), d)) : !d && j(re) ? (y = le(c), y.callee = c, y.arguments = Xt(ee, !1), Ye(P(y, "CallExpression"), d)) : c;
|
|
5591
5590
|
}
|
|
5592
5591
|
function Yt() {
|
|
5593
5592
|
var c;
|
|
5594
5593
|
switch (O) {
|
|
5595
5594
|
case Mr:
|
|
5596
|
-
return c = z(), D(),
|
|
5595
|
+
return c = z(), D(), P(c, "ThisExpression");
|
|
5597
5596
|
case Te:
|
|
5598
5597
|
return ce();
|
|
5599
|
-
case
|
|
5598
|
+
case et:
|
|
5600
5599
|
case St:
|
|
5601
5600
|
case Rr:
|
|
5602
|
-
return c = z(), c.value = x, c.raw = t.slice(p, v), D(),
|
|
5601
|
+
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5603
5602
|
case Ur:
|
|
5604
5603
|
case jr:
|
|
5605
5604
|
case Br:
|
|
5606
|
-
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(),
|
|
5605
|
+
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5607
5606
|
case re:
|
|
5608
5607
|
var d = E, y = p;
|
|
5609
5608
|
D();
|
|
5610
|
-
var
|
|
5611
|
-
return
|
|
5609
|
+
var b = X();
|
|
5610
|
+
return b.start = y, b.end = v, r.locations && (b.loc.start = d, b.loc.end = S), r.ranges && (b.range = [y, v]), $(ee), b;
|
|
5612
5611
|
case Dt:
|
|
5613
|
-
return c = z(), D(), c.elements = Xt(Lt, !0, !0),
|
|
5614
|
-
case
|
|
5612
|
+
return c = z(), D(), c.elements = Xt(Lt, !0, !0), P(c, "ArrayExpression");
|
|
5613
|
+
case Ue:
|
|
5615
5614
|
return ha();
|
|
5616
5615
|
case Ct:
|
|
5617
5616
|
return c = z(), D(), zt(c, !1);
|
|
@@ -5622,7 +5621,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5622
5621
|
}
|
|
5623
5622
|
function da() {
|
|
5624
5623
|
var c = z();
|
|
5625
|
-
return D(), c.callee =
|
|
5624
|
+
return D(), c.callee = Ye(Yt(), !0), c.arguments = j(re) ? Xt(ee, !1) : Ii, P(c, "NewExpression");
|
|
5626
5625
|
}
|
|
5627
5626
|
function ha() {
|
|
5628
5627
|
var c = z(), d = !0, y = !1;
|
|
@@ -5631,50 +5630,50 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5631
5630
|
d = !1;
|
|
5632
5631
|
else if ($(se), r.allowTrailingCommas && j(Ne))
|
|
5633
5632
|
break;
|
|
5634
|
-
var
|
|
5635
|
-
if (j(
|
|
5633
|
+
var b = { key: un() }, C = !1, w;
|
|
5634
|
+
if (j(je) ? (b.value = X(!0), w = b.kind = "init") : b.key.type === "Identifier" && (b.key.name === "get" || b.key.name === "set") ? (C = y = !0, w = b.kind = b.key.name, b.key = un(), O !== re && ie(), b.value = zt(z(), !1)) : ie(), b.key.type === "Identifier" && (H || y))
|
|
5636
5635
|
for (var k = 0; k < c.properties.length; ++k) {
|
|
5637
5636
|
var U = c.properties[k];
|
|
5638
|
-
if (U.key.name ===
|
|
5639
|
-
var
|
|
5640
|
-
|
|
5637
|
+
if (U.key.name === b.key.name) {
|
|
5638
|
+
var ze = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5639
|
+
ze && !H && w === "init" && U.kind === "init" && (ze = !1), ze && A(b.key.start, "Redefinition of property");
|
|
5641
5640
|
}
|
|
5642
5641
|
}
|
|
5643
|
-
c.properties.push(
|
|
5642
|
+
c.properties.push(b);
|
|
5644
5643
|
}
|
|
5645
|
-
return
|
|
5644
|
+
return P(c, "ObjectExpression");
|
|
5646
5645
|
}
|
|
5647
5646
|
function un() {
|
|
5648
|
-
return O ===
|
|
5647
|
+
return O === et || O === St ? Yt() : ce(!0);
|
|
5649
5648
|
}
|
|
5650
5649
|
function zt(c, d) {
|
|
5651
5650
|
O === Te ? c.id = ce() : d ? ie() : c.id = null, c.params = [];
|
|
5652
5651
|
var y = !0;
|
|
5653
5652
|
for ($(re); !j(ee); )
|
|
5654
5653
|
y ? y = !1 : $(se), c.params.push(ce());
|
|
5655
|
-
var
|
|
5656
|
-
if (ve = !0, B = [], c.body =
|
|
5657
|
-
for (var
|
|
5658
|
-
var k =
|
|
5659
|
-
if ((Jr(k.name) ||
|
|
5660
|
-
for (var U = 0; U <
|
|
5654
|
+
var b = ve, C = B;
|
|
5655
|
+
if (ve = !0, B = [], c.body = Ge(!0), ve = b, B = C, H || c.body.body.length && Ut(c.body.body[0]))
|
|
5656
|
+
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5657
|
+
var k = w < 0 ? c.id : c.params[w];
|
|
5658
|
+
if ((Jr(k.name) || nt(k.name)) && A(k.start, "Defining '" + k.name + "' in strict mode"), w >= 0)
|
|
5659
|
+
for (var U = 0; U < w; ++U)
|
|
5661
5660
|
k.name === c.params[U].name && A(k.start, "Argument name clash in strict mode");
|
|
5662
5661
|
}
|
|
5663
|
-
return
|
|
5662
|
+
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5664
5663
|
}
|
|
5665
5664
|
function Xt(c, d, y) {
|
|
5666
|
-
for (var
|
|
5665
|
+
for (var b = [], C = !0; !j(c); ) {
|
|
5667
5666
|
if (C)
|
|
5668
5667
|
C = !1;
|
|
5669
5668
|
else if ($(se), d && r.allowTrailingCommas && j(c))
|
|
5670
5669
|
break;
|
|
5671
|
-
|
|
5670
|
+
b.push(y && O === se ? null : X(!0));
|
|
5672
5671
|
}
|
|
5673
|
-
return
|
|
5672
|
+
return b;
|
|
5674
5673
|
}
|
|
5675
5674
|
function ce(c) {
|
|
5676
5675
|
var d = z();
|
|
5677
|
-
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) ||
|
|
5676
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) || H && Jr(x)) && t.slice(p, v).indexOf("\\") === -1 && A(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ie(), I = !1, D(), P(d, "Identifier");
|
|
5678
5677
|
}
|
|
5679
5678
|
});
|
|
5680
5679
|
}
|
|
@@ -5686,7 +5685,7 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5686
5685
|
\*********************/
|
|
5687
5686
|
/***/
|
|
5688
5687
|
(m) => {
|
|
5689
|
-
m.exports =
|
|
5688
|
+
m.exports = $l;
|
|
5690
5689
|
}
|
|
5691
5690
|
)
|
|
5692
5691
|
/******/
|
|
@@ -5712,12 +5711,12 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5712
5711
|
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.r = (m) => {
|
|
5713
5712
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5714
5713
|
};
|
|
5715
|
-
var
|
|
5714
|
+
var _ = {};
|
|
5716
5715
|
return (() => {
|
|
5717
5716
|
/*!*******************************!*\
|
|
5718
5717
|
!*** ./src/js-interpreter.js ***!
|
|
5719
5718
|
\*******************************/
|
|
5720
|
-
g.r(
|
|
5719
|
+
g.r(_), g.d(_, {
|
|
5721
5720
|
/* harmony export */
|
|
5722
5721
|
default: () => R
|
|
5723
5722
|
/* harmony export */
|
|
@@ -5731,13 +5730,13 @@ const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5731
5730
|
/*! ../original-repo/interpreter */
|
|
5732
5731
|
"./original-repo/interpreter.js"
|
|
5733
5732
|
), R = T;
|
|
5734
|
-
})(),
|
|
5733
|
+
})(), _ = _.default, _;
|
|
5735
5734
|
})()
|
|
5736
5735
|
));
|
|
5737
5736
|
})(ki);
|
|
5738
|
-
var
|
|
5739
|
-
const
|
|
5740
|
-
function
|
|
5737
|
+
var Vl = ki.exports;
|
|
5738
|
+
const Gl = /* @__PURE__ */ Ml(Vl);
|
|
5739
|
+
function Yl(n, o) {
|
|
5741
5740
|
function f(T) {
|
|
5742
5741
|
const R = n.pseudoToNative(T);
|
|
5743
5742
|
console.log(R);
|
|
@@ -5749,9 +5748,9 @@ function zl(n, o) {
|
|
|
5749
5748
|
}
|
|
5750
5749
|
function g(T, R) {
|
|
5751
5750
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5752
|
-
r === "info" ?
|
|
5751
|
+
r === "info" ? Ta(t) : r === "success" ? Na(t) : r === "warning" ? Sa(t) : r === "error" && xa(t);
|
|
5753
5752
|
}
|
|
5754
|
-
function
|
|
5753
|
+
function _(T, R) {
|
|
5755
5754
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5756
5755
|
setTimeout(() => {
|
|
5757
5756
|
n.appendCode(`__timeoutCallbackV1__(${r})`), n.run();
|
|
@@ -5778,21 +5777,21 @@ function zl(n, o) {
|
|
|
5778
5777
|
), n.setProperty(
|
|
5779
5778
|
o,
|
|
5780
5779
|
"__timeoutV1__",
|
|
5781
|
-
n.createNativeFunction(
|
|
5780
|
+
n.createNativeFunction(_)
|
|
5782
5781
|
), n.setProperty(
|
|
5783
5782
|
o,
|
|
5784
5783
|
"__delayV1__",
|
|
5785
5784
|
n.createAsyncFunction(m)
|
|
5786
5785
|
);
|
|
5787
5786
|
}
|
|
5788
|
-
class
|
|
5787
|
+
class zl {
|
|
5789
5788
|
constructor(o) {
|
|
5790
5789
|
Jt(this, "context");
|
|
5791
5790
|
Jt(this, "nodes");
|
|
5792
5791
|
this.context = o, this.nodes = {};
|
|
5793
5792
|
const f = (h) => {
|
|
5794
5793
|
var g;
|
|
5795
|
-
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((
|
|
5794
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((_) => f(_));
|
|
5796
5795
|
};
|
|
5797
5796
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5798
5797
|
}
|
|
@@ -5801,38 +5800,38 @@ class Xl {
|
|
|
5801
5800
|
}
|
|
5802
5801
|
addNode(o, f, h) {
|
|
5803
5802
|
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5804
|
-
let
|
|
5803
|
+
let _;
|
|
5805
5804
|
if (o) {
|
|
5806
5805
|
const T = this.getNode(o);
|
|
5807
5806
|
if (!T)
|
|
5808
5807
|
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5809
5808
|
if (!T.children)
|
|
5810
5809
|
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5811
|
-
|
|
5810
|
+
_ = T.children;
|
|
5812
5811
|
} else
|
|
5813
|
-
|
|
5814
|
-
if (!
|
|
5812
|
+
_ = this.context.data.view.nodes;
|
|
5813
|
+
if (!_)
|
|
5815
5814
|
return "";
|
|
5816
|
-
const m =
|
|
5815
|
+
const m = sl(
|
|
5817
5816
|
this.context.type,
|
|
5818
5817
|
this.context.data.type,
|
|
5819
5818
|
this.context.data.version,
|
|
5820
5819
|
f,
|
|
5821
5820
|
h
|
|
5822
5821
|
);
|
|
5823
|
-
return m ? (
|
|
5822
|
+
return m ? (_.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5824
5823
|
}
|
|
5825
5824
|
deleteNode(o) {
|
|
5826
5825
|
this.getNode(o);
|
|
5827
5826
|
}
|
|
5828
5827
|
}
|
|
5829
|
-
function
|
|
5830
|
-
const h = new
|
|
5828
|
+
function Xl(n, o, f) {
|
|
5829
|
+
const h = new zl(n);
|
|
5831
5830
|
function g(t, e, i) {
|
|
5832
5831
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5833
5832
|
return o.nativeToPseudo(a);
|
|
5834
5833
|
}
|
|
5835
|
-
function
|
|
5834
|
+
function _(t) {
|
|
5836
5835
|
const e = o.pseudoToNative(t);
|
|
5837
5836
|
h.deleteNode(e);
|
|
5838
5837
|
}
|
|
@@ -5878,13 +5877,13 @@ function Wl(n, o, f) {
|
|
|
5878
5877
|
}
|
|
5879
5878
|
function R(t, e, i) {
|
|
5880
5879
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5881
|
-
|
|
5880
|
+
wa({ title: u, text: s }).then((l) => {
|
|
5882
5881
|
i(o.nativeToPseudo(l)), o.run();
|
|
5883
5882
|
});
|
|
5884
5883
|
}
|
|
5885
5884
|
function r(t, e, i, u) {
|
|
5886
5885
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5887
|
-
|
|
5886
|
+
Pa({ title: s, label: l, value: a }).then((p) => {
|
|
5888
5887
|
u(o.nativeToPseudo(p)), o.run();
|
|
5889
5888
|
});
|
|
5890
5889
|
}
|
|
@@ -5895,7 +5894,7 @@ function Wl(n, o, f) {
|
|
|
5895
5894
|
), o.setProperty(
|
|
5896
5895
|
f,
|
|
5897
5896
|
"__deleteNodeV1__",
|
|
5898
|
-
o.createNativeFunction(
|
|
5897
|
+
o.createNativeFunction(_)
|
|
5899
5898
|
), o.setProperty(
|
|
5900
5899
|
f,
|
|
5901
5900
|
"__getNodePropV1__",
|
|
@@ -5914,16 +5913,16 @@ function Wl(n, o, f) {
|
|
|
5914
5913
|
o.createAsyncFunction(r)
|
|
5915
5914
|
);
|
|
5916
5915
|
}
|
|
5917
|
-
function
|
|
5918
|
-
|
|
5916
|
+
function Wl(n, o, f) {
|
|
5917
|
+
Yl(o, f), Xl(n, o, f);
|
|
5919
5918
|
}
|
|
5920
|
-
const
|
|
5919
|
+
const Jl = `
|
|
5921
5920
|
var __env__ = 'dev'
|
|
5922
5921
|
|
|
5923
5922
|
function __getEnvV1__() {
|
|
5924
5923
|
return __env__
|
|
5925
5924
|
}
|
|
5926
|
-
`,
|
|
5925
|
+
`, Hl = `
|
|
5927
5926
|
var __events__ = {}
|
|
5928
5927
|
|
|
5929
5928
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5994,7 +5993,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5994
5993
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5995
5994
|
}
|
|
5996
5995
|
}
|
|
5997
|
-
`,
|
|
5996
|
+
`, Kl = `
|
|
5998
5997
|
var __timers__ = {}
|
|
5999
5998
|
var __currTimerId__ = 0
|
|
6000
5999
|
|
|
@@ -6036,15 +6035,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
6036
6035
|
}
|
|
6037
6036
|
}
|
|
6038
6037
|
}
|
|
6039
|
-
`,
|
|
6038
|
+
`, ql = `
|
|
6040
6039
|
function __destroy__() {
|
|
6041
6040
|
}
|
|
6042
|
-
`,
|
|
6043
|
-
function
|
|
6044
|
-
const f = new
|
|
6045
|
-
|
|
6041
|
+
`, Zl = Jl + Hl + Kl + ql;
|
|
6042
|
+
function Ql(n, o) {
|
|
6043
|
+
const f = new Gl(
|
|
6044
|
+
Zl,
|
|
6046
6045
|
(h, g) => {
|
|
6047
|
-
|
|
6046
|
+
Wl(n, h, g);
|
|
6048
6047
|
}
|
|
6049
6048
|
);
|
|
6050
6049
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -6052,10 +6051,10 @@ __env__ = '${n.env}';
|
|
|
6052
6051
|
__triggerEvent__('globality', 'startup');
|
|
6053
6052
|
`), f.run(), f;
|
|
6054
6053
|
}
|
|
6055
|
-
function
|
|
6054
|
+
function Vn(n) {
|
|
6056
6055
|
n.appendCode("__destroy__();"), n.run();
|
|
6057
6056
|
}
|
|
6058
|
-
const
|
|
6057
|
+
const ec = /* @__PURE__ */ oe({
|
|
6059
6058
|
__name: "index",
|
|
6060
6059
|
props: {
|
|
6061
6060
|
id: {},
|
|
@@ -6064,21 +6063,21 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6064
6063
|
outer: { type: Boolean }
|
|
6065
6064
|
},
|
|
6066
6065
|
setup(n) {
|
|
6067
|
-
const { t: o } =
|
|
6066
|
+
const { t: o } = Ca(), f = n, h = ll(), g = he(), _ = Si(), m = xi(), T = wi(), R = cl(), r = N(() => R[f.refContext.refid]);
|
|
6068
6067
|
let t;
|
|
6069
|
-
|
|
6070
|
-
r.value || Wn.emit("compNotAvail", f.refContext.refid), t && (
|
|
6068
|
+
Ea(() => {
|
|
6069
|
+
r.value || Wn.emit("compNotAvail", f.refContext.refid), t && (Vn(t), t = void 0), r.value && g === "runtime" && (t = Ql(
|
|
6071
6070
|
{
|
|
6072
6071
|
env: h,
|
|
6073
6072
|
type: m,
|
|
6074
6073
|
data: T
|
|
6075
6074
|
},
|
|
6076
6075
|
r.value.data.code.script
|
|
6077
|
-
),
|
|
6078
|
-
}),
|
|
6079
|
-
t && (
|
|
6076
|
+
), fl(t));
|
|
6077
|
+
}), Ra(() => {
|
|
6078
|
+
t && (Vn(t), t = void 0);
|
|
6080
6079
|
});
|
|
6081
|
-
const { applySize: e } = Ci(g,
|
|
6080
|
+
const { applySize: e } = Ci(g, _, f), i = N(() => {
|
|
6082
6081
|
const v = {}, E = T.type;
|
|
6083
6082
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6084
6083
|
});
|
|
@@ -6096,9 +6095,9 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6096
6095
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6097
6096
|
}
|
|
6098
6097
|
function l(v) {
|
|
6099
|
-
const E = Ai[T.version].refKey, S =
|
|
6098
|
+
const E = Ai[T.version].refKey, S = Ae[E];
|
|
6100
6099
|
let O;
|
|
6101
|
-
return S ? O =
|
|
6100
|
+
return S ? O = Xe(S.comp, {
|
|
6102
6101
|
refContext: {
|
|
6103
6102
|
parent: f.refContext,
|
|
6104
6103
|
refid: v.ref.id
|
|
@@ -6109,15 +6108,15 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6109
6108
|
function a(v) {
|
|
6110
6109
|
var O;
|
|
6111
6110
|
let E;
|
|
6112
|
-
const S =
|
|
6111
|
+
const S = Ae[v.basic.key];
|
|
6113
6112
|
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6114
6113
|
s(x);
|
|
6115
|
-
}), E =
|
|
6114
|
+
}), E = Xe(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
6116
6115
|
}
|
|
6117
6116
|
const p = () => {
|
|
6118
6117
|
const v = [];
|
|
6119
6118
|
if (u())
|
|
6120
|
-
v.push(
|
|
6119
|
+
v.push(Xe("div", o("x-runtime-lib.circularRef")));
|
|
6121
6120
|
else if (r.value) {
|
|
6122
6121
|
const E = r.value.data.type;
|
|
6123
6122
|
E === "common" ? r.value.data.view.nodes.forEach((S) => {
|
|
@@ -6125,12 +6124,12 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6125
6124
|
v.push(O);
|
|
6126
6125
|
}) : console.assert(!1, `invalid subtype=${E}`);
|
|
6127
6126
|
} else
|
|
6128
|
-
v.push(
|
|
6129
|
-
return
|
|
6127
|
+
v.push(Xe("div", o("x-runtime-lib.compNotAvail")));
|
|
6128
|
+
return Xe("div", { id: f.id, style: i.value }, v);
|
|
6130
6129
|
};
|
|
6131
|
-
return (v, E) => (
|
|
6130
|
+
return (v, E) => (J(), de(p));
|
|
6132
6131
|
}
|
|
6133
|
-
}),
|
|
6132
|
+
}), Gn = {
|
|
6134
6133
|
key: "ref",
|
|
6135
6134
|
name: "x-runtime-lib.ref",
|
|
6136
6135
|
children: [
|
|
@@ -6141,28 +6140,28 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6141
6140
|
default: ""
|
|
6142
6141
|
}
|
|
6143
6142
|
]
|
|
6144
|
-
},
|
|
6145
|
-
key:
|
|
6143
|
+
}, tc = {
|
|
6144
|
+
key: yt,
|
|
6146
6145
|
name: "x-runtime-lib.ref",
|
|
6147
|
-
comp:
|
|
6146
|
+
comp: ec,
|
|
6148
6147
|
slots: [],
|
|
6149
6148
|
events: [],
|
|
6150
6149
|
methods: [],
|
|
6151
6150
|
props: {
|
|
6152
|
-
pageCommon: [V,
|
|
6153
|
-
compCommon: [V,
|
|
6151
|
+
pageCommon: [V, Gn, bt, mt, gt, _t],
|
|
6152
|
+
compCommon: [V, Gn, bt, mt, gt, _t]
|
|
6154
6153
|
}
|
|
6155
|
-
},
|
|
6154
|
+
}, rc = { key: 0 }, nc = /* @__PURE__ */ oe({
|
|
6156
6155
|
__name: "index",
|
|
6157
6156
|
props: {
|
|
6158
6157
|
node: {},
|
|
6159
6158
|
outer: { type: Boolean }
|
|
6160
6159
|
},
|
|
6161
6160
|
setup(n) {
|
|
6162
|
-
const o = n, f =
|
|
6161
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
6163
6162
|
var e;
|
|
6164
6163
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6165
|
-
}),
|
|
6164
|
+
}), _ = N(() => {
|
|
6166
6165
|
var e;
|
|
6167
6166
|
return (e = o.node.settings) == null ? void 0 : e.label;
|
|
6168
6167
|
}), m = N(() => {
|
|
@@ -6179,21 +6178,21 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6179
6178
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6180
6179
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6181
6180
|
return (e, i) => {
|
|
6182
|
-
const u =
|
|
6183
|
-
return
|
|
6184
|
-
|
|
6181
|
+
const u = be("v-select");
|
|
6182
|
+
return Pe(f) === "editor" ? (J(), Ie("div", rc, [
|
|
6183
|
+
Rt(u, {
|
|
6185
6184
|
"model-value": g.value,
|
|
6186
|
-
label:
|
|
6185
|
+
label: _.value,
|
|
6187
6186
|
placeholder: m.value,
|
|
6188
6187
|
"hide-details": T.value,
|
|
6189
6188
|
"single-line": R.value,
|
|
6190
6189
|
readonly: r.value,
|
|
6191
6190
|
theme: t.value
|
|
6192
6191
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6193
|
-
])) : (
|
|
6192
|
+
])) : (J(), de(u, {
|
|
6194
6193
|
key: 1,
|
|
6195
6194
|
"model-value": g.value,
|
|
6196
|
-
label:
|
|
6195
|
+
label: _.value,
|
|
6197
6196
|
placeholder: m.value,
|
|
6198
6197
|
"hide-details": T.value,
|
|
6199
6198
|
"single-line": R.value,
|
|
@@ -6202,7 +6201,7 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6202
6201
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6203
6202
|
};
|
|
6204
6203
|
}
|
|
6205
|
-
}),
|
|
6204
|
+
}), Yn = {
|
|
6206
6205
|
key: "settings",
|
|
6207
6206
|
name: "x-runtime-lib.settings",
|
|
6208
6207
|
children: [
|
|
@@ -6243,28 +6242,28 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6243
6242
|
default: !1
|
|
6244
6243
|
}
|
|
6245
6244
|
]
|
|
6246
|
-
},
|
|
6245
|
+
}, ic = {
|
|
6247
6246
|
key: cr,
|
|
6248
6247
|
name: "x-runtime-lib.select",
|
|
6249
|
-
comp:
|
|
6248
|
+
comp: nc,
|
|
6250
6249
|
slots: [],
|
|
6251
6250
|
events: [],
|
|
6252
6251
|
methods: [],
|
|
6253
6252
|
props: {
|
|
6254
|
-
pageCommon: [V,
|
|
6255
|
-
compCommon: [V,
|
|
6253
|
+
pageCommon: [V, Yn],
|
|
6254
|
+
compCommon: [V, Yn]
|
|
6256
6255
|
}
|
|
6257
|
-
},
|
|
6256
|
+
}, ac = { key: 0 }, oc = /* @__PURE__ */ oe({
|
|
6258
6257
|
__name: "index",
|
|
6259
6258
|
props: {
|
|
6260
6259
|
node: {},
|
|
6261
6260
|
outer: { type: Boolean }
|
|
6262
6261
|
},
|
|
6263
6262
|
setup(n) {
|
|
6264
|
-
const o = n, f =
|
|
6263
|
+
const o = n, f = he(), h = Fe(), g = N(() => {
|
|
6265
6264
|
var t;
|
|
6266
6265
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6267
|
-
}),
|
|
6266
|
+
}), _ = N(() => {
|
|
6268
6267
|
var t;
|
|
6269
6268
|
return (t = o.node.settings) == null ? void 0 : t.placeholder;
|
|
6270
6269
|
}), m = N(() => {
|
|
@@ -6278,20 +6277,20 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6278
6277
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6279
6278
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6280
6279
|
return (t, e) => {
|
|
6281
|
-
const i =
|
|
6282
|
-
return
|
|
6283
|
-
|
|
6280
|
+
const i = be("v-text-field");
|
|
6281
|
+
return Pe(f) === "editor" ? (J(), Ie("div", ac, [
|
|
6282
|
+
Rt(i, {
|
|
6284
6283
|
label: g.value,
|
|
6285
|
-
placeholder:
|
|
6284
|
+
placeholder: _.value,
|
|
6286
6285
|
"hide-details": m.value,
|
|
6287
6286
|
"single-line": T.value,
|
|
6288
6287
|
readonly: R.value,
|
|
6289
6288
|
theme: r.value
|
|
6290
6289
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6291
|
-
])) : (
|
|
6290
|
+
])) : (J(), de(i, {
|
|
6292
6291
|
key: 1,
|
|
6293
6292
|
label: g.value,
|
|
6294
|
-
placeholder:
|
|
6293
|
+
placeholder: _.value,
|
|
6295
6294
|
"hide-details": m.value,
|
|
6296
6295
|
"single-line": T.value,
|
|
6297
6296
|
readonly: R.value,
|
|
@@ -6299,7 +6298,7 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6299
6298
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6300
6299
|
};
|
|
6301
6300
|
}
|
|
6302
|
-
}),
|
|
6301
|
+
}), zn = {
|
|
6303
6302
|
key: "settings",
|
|
6304
6303
|
name: "x-runtime-lib.settings",
|
|
6305
6304
|
children: [
|
|
@@ -6334,22 +6333,22 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6334
6333
|
default: !1
|
|
6335
6334
|
}
|
|
6336
6335
|
]
|
|
6337
|
-
},
|
|
6336
|
+
}, uc = {
|
|
6338
6337
|
key: fr,
|
|
6339
6338
|
name: "x-runtime-lib.textField",
|
|
6340
|
-
comp:
|
|
6339
|
+
comp: oc,
|
|
6341
6340
|
slots: [],
|
|
6342
6341
|
events: [],
|
|
6343
6342
|
methods: [],
|
|
6344
6343
|
props: {
|
|
6345
|
-
pageCommon: [V,
|
|
6346
|
-
compCommon: [V,
|
|
6344
|
+
pageCommon: [V, zn],
|
|
6345
|
+
compCommon: [V, zn]
|
|
6347
6346
|
}
|
|
6348
|
-
},
|
|
6347
|
+
}, sc = {
|
|
6349
6348
|
version: "v1",
|
|
6350
6349
|
globalityKey: sr,
|
|
6351
|
-
refKey:
|
|
6352
|
-
packageKey:
|
|
6350
|
+
refKey: yt,
|
|
6351
|
+
packageKey: vt,
|
|
6353
6352
|
elements: /* @__PURE__ */ new Set([
|
|
6354
6353
|
nr,
|
|
6355
6354
|
ir,
|
|
@@ -6358,8 +6357,8 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6358
6357
|
ur,
|
|
6359
6358
|
sr,
|
|
6360
6359
|
lr,
|
|
6360
|
+
vt,
|
|
6361
6361
|
yt,
|
|
6362
|
-
mt,
|
|
6363
6362
|
cr,
|
|
6364
6363
|
fr
|
|
6365
6364
|
]),
|
|
@@ -6374,16 +6373,16 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6374
6373
|
or,
|
|
6375
6374
|
ur,
|
|
6376
6375
|
lr,
|
|
6376
|
+
vt,
|
|
6377
6377
|
yt,
|
|
6378
|
-
mt,
|
|
6379
6378
|
cr,
|
|
6380
6379
|
fr
|
|
6381
6380
|
]
|
|
6382
6381
|
}
|
|
6383
6382
|
]
|
|
6384
6383
|
}, Ai = {
|
|
6385
|
-
v1:
|
|
6386
|
-
},
|
|
6384
|
+
v1: sc
|
|
6385
|
+
}, Ae = {}, lc = {
|
|
6387
6386
|
key: "add",
|
|
6388
6387
|
name: "METHOD_ADD",
|
|
6389
6388
|
inputs: [],
|
|
@@ -6394,24 +6393,24 @@ const tc = /* @__PURE__ */ oe({
|
|
|
6394
6393
|
}
|
|
6395
6394
|
]
|
|
6396
6395
|
}, Q = (n) => {
|
|
6397
|
-
|
|
6396
|
+
Ae[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(lc), Ae[n.key] = n;
|
|
6398
6397
|
};
|
|
6399
|
-
Q(
|
|
6400
|
-
Q(
|
|
6401
|
-
Q(
|
|
6402
|
-
Q(
|
|
6398
|
+
Q(vl);
|
|
6399
|
+
Q(gl);
|
|
6400
|
+
Q(Tl);
|
|
6401
|
+
Q(xl);
|
|
6402
|
+
Q(Cl);
|
|
6403
6403
|
Q(kl);
|
|
6404
|
-
Q(
|
|
6404
|
+
Q(Dl);
|
|
6405
6405
|
Q(Ll);
|
|
6406
|
-
Q(
|
|
6407
|
-
Q(
|
|
6408
|
-
Q(
|
|
6409
|
-
|
|
6410
|
-
const fc = (n, o, f) => {
|
|
6406
|
+
Q(tc);
|
|
6407
|
+
Q(ic);
|
|
6408
|
+
Q(uc);
|
|
6409
|
+
const cc = (n, o, f) => {
|
|
6411
6410
|
const h = n[o];
|
|
6412
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g,
|
|
6411
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, _) => {
|
|
6413
6412
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6414
|
-
|
|
6413
|
+
_.bind(
|
|
6415
6414
|
null,
|
|
6416
6415
|
new Error(
|
|
6417
6416
|
"Unknown variable dynamic import: " + o + (o.split("/").length !== f ? ". Note that variables only represent file names one level deep." : "")
|
|
@@ -6420,41 +6419,41 @@ const fc = (n, o, f) => {
|
|
|
6420
6419
|
);
|
|
6421
6420
|
});
|
|
6422
6421
|
};
|
|
6423
|
-
async function
|
|
6424
|
-
return (await
|
|
6422
|
+
async function Nc(n) {
|
|
6423
|
+
return (await cc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-b8zhxb60.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-mqoymcvp.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6425
6424
|
}
|
|
6426
6425
|
export {
|
|
6427
|
-
|
|
6428
|
-
|
|
6426
|
+
mc as duplicateNode,
|
|
6427
|
+
Ae as elements,
|
|
6429
6428
|
Jn as genId,
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6429
|
+
yc as getNode,
|
|
6430
|
+
An as getPropDefault,
|
|
6431
|
+
ul as getPropTag,
|
|
6432
|
+
In as initProps,
|
|
6433
|
+
Fe as injectDark,
|
|
6434
|
+
wi as injectData,
|
|
6435
|
+
cl as injectDepends,
|
|
6437
6436
|
Si as injectDevice,
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6437
|
+
ll as injectEnv,
|
|
6438
|
+
pl as injectInterpreter,
|
|
6439
|
+
he as injectMode,
|
|
6441
6440
|
xi as injectType,
|
|
6442
6441
|
pr as isEmptyStr,
|
|
6443
6442
|
hr as isPercentStr,
|
|
6444
6443
|
dr as isPixelStr,
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6444
|
+
Nc as loadLocaleMessageRuntime,
|
|
6445
|
+
Ht as parsePercentStr,
|
|
6446
|
+
vc as parsePixelStr,
|
|
6448
6447
|
Ai as pkgs,
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6448
|
+
Ec as provideDark,
|
|
6449
|
+
Oc as provideData,
|
|
6450
|
+
Tc as provideDepends,
|
|
6451
|
+
bc as provideDevice,
|
|
6452
|
+
gc as provideEnv,
|
|
6453
|
+
fl as provideInterpreter,
|
|
6454
|
+
_c as provideMode,
|
|
6455
|
+
Rc as provideType,
|
|
6456
|
+
sl as spawnNode,
|
|
6457
|
+
Ql as startInterpreter,
|
|
6458
|
+
Vn as stopInterpreter
|
|
6460
6459
|
};
|