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