x-runtime-lib 0.5.11 → 0.5.12
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 +16 -1
- package/dist/index.js +919 -885
- package/dist/types/element.d.ts +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Xt = (n, o, f) =>
|
|
4
|
-
import { provide as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
function
|
|
1
|
+
var ya = Object.defineProperty;
|
|
2
|
+
var ma = (n, o, f) => o in n ? ya(n, o, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[o] = f;
|
|
3
|
+
var Xt = (n, o, f) => ma(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as pe, inject as de, readonly as bt, isReactive as $n, defineComponent as oe, computed as N, resolveComponent as fe, openBlock as H, createBlock as he, unref as He, createElementBlock as Ke, createVNode as qe, normalizeStyle as ga, renderSlot as Vn, isRef as _a, withCtx as Wt, normalizeProps as ba, guardReactiveProps as Ea, createTextVNode as Ra, watchEffect as Oa, onBeforeUnmount as Ta, h as Ye } from "vue";
|
|
5
|
+
import { useViewStack as Na, eventBus as Gn, messageInfo as Sa, messageSuccess as xa, messageWarning as wa, messageError as Pa, openConfirmDlg as Ca, openPromptDlg as Aa } from "x-essential-lib";
|
|
6
|
+
import { useI18n as ka } from "vue-i18n";
|
|
7
|
+
const an = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function Yn(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() * an.length);
|
|
12
|
+
o += an[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function lr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function cr(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 fr(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 dc(n) {
|
|
32
32
|
if (typeof n != "string" || !n.endsWith("px"))
|
|
33
33
|
return;
|
|
34
34
|
const o = n.substring(0, n.length - 2), f = parseFloat(o);
|
|
35
35
|
if (!isNaN(f) && f % 1 === 0)
|
|
36
36
|
return f;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Jt(n) {
|
|
39
39
|
if (typeof n != "string" || !n.endsWith("%"))
|
|
40
40
|
return;
|
|
41
41
|
const o = n.substring(0, n.length - 1), f = parseFloat(o);
|
|
42
42
|
if (!isNaN(f))
|
|
43
43
|
return f;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
var o =
|
|
45
|
+
var zn = typeof global == "object" && global && global.Object === Object && global, Ia = typeof self == "object" && self && self.Object === Object && self, ee = zn || Ia || Function("return this")(), Pe = ee.Symbol, Xn = Object.prototype, Da = Xn.hasOwnProperty, La = Xn.toString, ze = Pe ? Pe.toStringTag : void 0;
|
|
46
|
+
function Fa(n) {
|
|
47
|
+
var o = Da.call(n, ze), f = n[ze];
|
|
48
48
|
try {
|
|
49
49
|
n[ze] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[ze] = f : delete n[ze]),
|
|
53
|
+
var g = La.call(n);
|
|
54
|
+
return h && (o ? n[ze] = f : delete n[ze]), g;
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
var Ma = Object.prototype, Ua = Ma.toString;
|
|
57
|
+
function ja(n) {
|
|
58
|
+
return Ua.call(n);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return n == null ? n === void 0 ?
|
|
60
|
+
var Ba = "[object Null]", $a = "[object Undefined]", on = Pe ? Pe.toStringTag : void 0;
|
|
61
|
+
function Ze(n) {
|
|
62
|
+
return n == null ? n === void 0 ? $a : Ba : on && on in Object(n) ? Fa(n) : ja(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 pr = Array.isArray;
|
|
68
|
+
function et(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 Va = "[object AsyncFunction]", Ga = "[object Function]", Ya = "[object GeneratorFunction]", za = "[object Proxy]";
|
|
73
|
+
function Wn(n) {
|
|
74
|
+
if (!et(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
77
|
-
return o ==
|
|
76
|
+
var o = Ze(n);
|
|
77
|
+
return o == Ga || o == Ya || o == Va || o == za;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
var n = /[^.]+$/.exec(
|
|
79
|
+
var Ht = ee["__core-js_shared__"], un = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(Ht && Ht.keys && Ht.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function Xa(n) {
|
|
84
|
+
return !!un && un in n;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var Wa = Function.prototype, Ja = Wa.toString;
|
|
87
87
|
function be(n) {
|
|
88
88
|
if (n != null) {
|
|
89
89
|
try {
|
|
90
|
-
return
|
|
90
|
+
return Ja.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 Ha = /[\\^$.*+?()[\]{}|]/g, Ka = /^\[object .+?Constructor\]$/, qa = Function.prototype, Za = Object.prototype, Qa = qa.toString, eo = Za.hasOwnProperty, to = RegExp(
|
|
101
|
+
"^" + Qa.call(eo).replace(Ha, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
|
-
function
|
|
104
|
-
if (!
|
|
103
|
+
function ro(n) {
|
|
104
|
+
if (!et(n) || Xa(n))
|
|
105
105
|
return !1;
|
|
106
|
-
var o =
|
|
106
|
+
var o = Wn(n) ? to : Ka;
|
|
107
107
|
return o.test(be(n));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function no(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 = no(n, o);
|
|
114
|
+
return ro(f) ? f : void 0;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
116
|
+
var qt = Ee(ee, "WeakMap"), sn = Object.create, io = /* @__PURE__ */ function() {
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!et(o))
|
|
121
121
|
return {};
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
122
|
+
if (sn)
|
|
123
|
+
return sn(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 ao(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 ln = 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 oo(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 uo = 9007199254740991, so = /^(?:0|[1-9]\d*)$/;
|
|
148
|
+
function lo(n, o) {
|
|
149
149
|
var f = typeof n;
|
|
150
|
-
return o = o ??
|
|
150
|
+
return o = o ?? uo, !!o && (f == "number" || f != "symbol" && so.test(n)) && n > -1 && n % 1 == 0 && n < o;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
o == "__proto__" &&
|
|
152
|
+
function Jn(n, o, f) {
|
|
153
|
+
o == "__proto__" && ln ? ln(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 Hn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var co = Object.prototype, fo = co.hasOwnProperty;
|
|
164
|
+
function Kn(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(fo.call(n, o) && Hn(h, f)) || f === void 0 && !(o in n)) && Jn(n, o, f);
|
|
167
167
|
}
|
|
168
168
|
function Et(n, o, f, h) {
|
|
169
|
-
var
|
|
169
|
+
var g = !f;
|
|
170
170
|
f || (f = {});
|
|
171
171
|
for (var b = -1, m = o.length; ++b < m; ) {
|
|
172
172
|
var T = o[b], R = void 0;
|
|
173
|
-
R === void 0 && (R = n[T]),
|
|
173
|
+
R === void 0 && (R = n[T]), g ? Jn(f, T, R) : Kn(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 po = 9007199254740991;
|
|
178
|
+
function qn(n) {
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= po;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return n != null &&
|
|
181
|
+
function Zn(n) {
|
|
182
|
+
return n != null && qn(n.length) && !Wn(n);
|
|
183
183
|
}
|
|
184
|
-
var
|
|
185
|
-
function
|
|
186
|
-
var o = n && n.constructor, f = typeof o == "function" && o.prototype ||
|
|
184
|
+
var ho = Object.prototype;
|
|
185
|
+
function dr(n) {
|
|
186
|
+
var o = n && n.constructor, f = typeof o == "function" && o.prototype || ho;
|
|
187
187
|
return n === f;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function vo(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 yo = "[object Arguments]";
|
|
195
|
+
function cn(n) {
|
|
196
|
+
return Qe(n) && Ze(n) == yo;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var Qn = Object.prototype, mo = Qn.hasOwnProperty, go = Qn.propertyIsEnumerable, _o = cn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? cn : function(n) {
|
|
201
|
+
return Qe(n) && mo.call(n, "callee") && !go.call(n, "callee");
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function bo() {
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
M[
|
|
208
|
-
M[
|
|
209
|
-
function
|
|
210
|
-
return
|
|
206
|
+
var ei = typeof exports == "object" && exports && !exports.nodeType && exports, fn = ei && typeof module == "object" && module && !module.nodeType && module, Eo = fn && fn.exports === ei, pn = Eo ? ee.Buffer : void 0, Ro = pn ? pn.isBuffer : void 0, ti = Ro || bo, Oo = "[object Arguments]", To = "[object Array]", No = "[object Boolean]", So = "[object Date]", xo = "[object Error]", wo = "[object Function]", Po = "[object Map]", Co = "[object Number]", Ao = "[object Object]", ko = "[object RegExp]", Io = "[object Set]", Do = "[object String]", Lo = "[object WeakMap]", Fo = "[object ArrayBuffer]", Mo = "[object DataView]", Uo = "[object Float32Array]", jo = "[object Float64Array]", Bo = "[object Int8Array]", $o = "[object Int16Array]", Vo = "[object Int32Array]", Go = "[object Uint8Array]", Yo = "[object Uint8ClampedArray]", zo = "[object Uint16Array]", Xo = "[object Uint32Array]", M = {};
|
|
207
|
+
M[Uo] = M[jo] = M[Bo] = M[$o] = M[Vo] = M[Go] = M[Yo] = M[zo] = M[Xo] = !0;
|
|
208
|
+
M[Oo] = M[To] = M[Fo] = M[No] = M[Mo] = M[So] = M[xo] = M[wo] = M[Po] = M[Co] = M[Ao] = M[ko] = M[Io] = M[Do] = M[Lo] = !1;
|
|
209
|
+
function Wo(n) {
|
|
210
|
+
return Qe(n) && qn(n.length) && !!M[Ze(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function hr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var ri = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = ri && typeof module == "object" && module && !module.nodeType && module, Jo = Xe && Xe.exports === ri, Kt = Jo && zn.process, Ce = function() {
|
|
218
218
|
try {
|
|
219
219
|
var n = Xe && Xe.require && Xe.require("util").types;
|
|
220
|
-
return n ||
|
|
220
|
+
return n || Kt && Kt.binding && Kt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var f =
|
|
223
|
+
}(), dn = Ce && Ce.isTypedArray, Ho = dn ? hr(dn) : Wo, Ko = Object.prototype, qo = Ko.hasOwnProperty;
|
|
224
|
+
function ni(n, o) {
|
|
225
|
+
var f = pr(n), h = !f && _o(n), g = !f && !h && ti(n), b = !f && !h && !g && Ho(n), m = f || h || g || b, T = m ? vo(n.length, String) : [], R = T.length;
|
|
226
226
|
for (var r in n)
|
|
227
|
-
(o ||
|
|
227
|
+
(o || qo.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
|
-
|
|
229
|
+
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
230
|
b && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
|
-
|
|
231
|
+
lo(r, R))) && T.push(r);
|
|
232
232
|
return T;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ii(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 Zo = ii(Object.keys, Object), Qo = Object.prototype, eu = Qo.hasOwnProperty;
|
|
240
|
+
function tu(n) {
|
|
241
|
+
if (!dr(n))
|
|
242
|
+
return Zo(n);
|
|
243
243
|
var o = [];
|
|
244
244
|
for (var f in Object(n))
|
|
245
|
-
|
|
245
|
+
eu.call(n, f) && f != "constructor" && o.push(f);
|
|
246
246
|
return o;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
return
|
|
248
|
+
function vr(n) {
|
|
249
|
+
return Zn(n) ? ni(n) : tu(n);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function ru(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 nu = Object.prototype, iu = nu.hasOwnProperty;
|
|
259
|
+
function au(n) {
|
|
260
|
+
if (!et(n))
|
|
261
|
+
return ru(n);
|
|
262
|
+
var o = dr(n), f = [];
|
|
263
263
|
for (var h in n)
|
|
264
|
-
h == "constructor" && (o || !
|
|
264
|
+
h == "constructor" && (o || !iu.call(n, h)) || f.push(h);
|
|
265
265
|
return f;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
267
|
+
function yr(n) {
|
|
268
|
+
return Zn(n) ? ni(n, !0) : au(n);
|
|
269
269
|
}
|
|
270
270
|
var We = Ee(Object, "create");
|
|
271
|
-
function
|
|
271
|
+
function ou() {
|
|
272
272
|
this.__data__ = We ? We(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function uu(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 su = "__lodash_hash_undefined__", lu = Object.prototype, cu = lu.hasOwnProperty;
|
|
279
|
+
function fu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
281
|
if (We) {
|
|
282
282
|
var f = o[n];
|
|
283
|
-
return f ===
|
|
283
|
+
return f === su ? void 0 : f;
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return cu.call(o, n) ? o[n] : void 0;
|
|
286
286
|
}
|
|
287
|
-
var
|
|
288
|
-
function
|
|
287
|
+
var pu = Object.prototype, du = pu.hasOwnProperty;
|
|
288
|
+
function hu(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return We ? o[n] !== void 0 :
|
|
290
|
+
return We ? o[n] !== void 0 : du.call(o, n);
|
|
291
291
|
}
|
|
292
|
-
var
|
|
293
|
-
function
|
|
292
|
+
var vu = "__lodash_hash_undefined__";
|
|
293
|
+
function yu(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 ? vu : o, this;
|
|
296
296
|
}
|
|
297
297
|
function _e(n) {
|
|
298
298
|
var o = -1, f = n == null ? 0 : n.length;
|
|
@@ -301,78 +301,78 @@ 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 = ou;
|
|
305
|
+
_e.prototype.delete = uu;
|
|
306
|
+
_e.prototype.get = fu;
|
|
307
|
+
_e.prototype.has = hu;
|
|
308
|
+
_e.prototype.set = yu;
|
|
309
|
+
function mu() {
|
|
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 (Hn(n[f][0], o))
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
318
|
+
var gu = Array.prototype, _u = gu.splice;
|
|
319
|
+
function bu(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() : _u.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Eu(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 Ru(n) {
|
|
331
331
|
return Rt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function Ou(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 ue(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
|
-
|
|
344
|
+
ue.prototype.clear = mu;
|
|
345
|
+
ue.prototype.delete = bu;
|
|
346
|
+
ue.prototype.get = Eu;
|
|
347
|
+
ue.prototype.has = Ru;
|
|
348
|
+
ue.prototype.set = Ou;
|
|
349
349
|
var Je = Ee(ee, "Map");
|
|
350
|
-
function
|
|
350
|
+
function Tu() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
352
|
hash: new _e(),
|
|
353
|
-
map: new (Je ||
|
|
353
|
+
map: new (Je || ue)(),
|
|
354
354
|
string: new _e()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function Nu(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 Nu(o) ? f[typeof o == "string" ? "string" : "hash"] : f.map;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Su(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 xu(n) {
|
|
370
370
|
return Ot(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function wu(n) {
|
|
373
373
|
return Ot(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Pu(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
|
}
|
|
@@ -383,234 +383,234 @@ function ke(n) {
|
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
ke.prototype.clear =
|
|
387
|
-
ke.prototype.delete =
|
|
388
|
-
ke.prototype.get =
|
|
389
|
-
ke.prototype.has =
|
|
390
|
-
ke.prototype.set =
|
|
391
|
-
function
|
|
392
|
-
for (var f = -1, h = o.length,
|
|
393
|
-
n[
|
|
386
|
+
ke.prototype.clear = Tu;
|
|
387
|
+
ke.prototype.delete = Su;
|
|
388
|
+
ke.prototype.get = xu;
|
|
389
|
+
ke.prototype.has = wu;
|
|
390
|
+
ke.prototype.set = Pu;
|
|
391
|
+
function ai(n, o) {
|
|
392
|
+
for (var f = -1, h = o.length, g = n.length; ++f < h; )
|
|
393
|
+
n[g + f] = o[f];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
|
-
var
|
|
397
|
-
function
|
|
398
|
-
this.__data__ = new
|
|
396
|
+
var oi = ii(Object.getPrototypeOf, Object);
|
|
397
|
+
function Cu() {
|
|
398
|
+
this.__data__ = new ue(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Au(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 ku(n) {
|
|
405
405
|
return this.__data__.get(n);
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Iu(n) {
|
|
408
408
|
return this.__data__.has(n);
|
|
409
409
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
410
|
+
var Du = 200;
|
|
411
|
+
function Lu(n, o) {
|
|
412
412
|
var f = this.__data__;
|
|
413
|
-
if (f instanceof
|
|
413
|
+
if (f instanceof ue) {
|
|
414
414
|
var h = f.__data__;
|
|
415
|
-
if (!Je || h.length <
|
|
415
|
+
if (!Je || h.length < Du - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++f.size, this;
|
|
417
417
|
f = this.__data__ = new ke(h);
|
|
418
418
|
}
|
|
419
419
|
return f.set(n, o), this.size = f.size, this;
|
|
420
420
|
}
|
|
421
421
|
function Ie(n) {
|
|
422
|
-
var o = this.__data__ = new
|
|
422
|
+
var o = this.__data__ = new ue(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
Ie.prototype.clear =
|
|
426
|
-
Ie.prototype.delete =
|
|
427
|
-
Ie.prototype.get =
|
|
428
|
-
Ie.prototype.has =
|
|
429
|
-
Ie.prototype.set =
|
|
430
|
-
function
|
|
431
|
-
return n && Et(o, hr(o), n);
|
|
432
|
-
}
|
|
433
|
-
function Au(n, o) {
|
|
425
|
+
Ie.prototype.clear = Cu;
|
|
426
|
+
Ie.prototype.delete = Au;
|
|
427
|
+
Ie.prototype.get = ku;
|
|
428
|
+
Ie.prototype.has = Iu;
|
|
429
|
+
Ie.prototype.set = Lu;
|
|
430
|
+
function Fu(n, o) {
|
|
434
431
|
return n && Et(o, vr(o), n);
|
|
435
432
|
}
|
|
436
|
-
|
|
437
|
-
|
|
433
|
+
function Mu(n, o) {
|
|
434
|
+
return n && Et(o, yr(o), n);
|
|
435
|
+
}
|
|
436
|
+
var ui = typeof exports == "object" && exports && !exports.nodeType && exports, hn = ui && typeof module == "object" && module && !module.nodeType && module, Uu = hn && hn.exports === ui, vn = Uu ? ee.Buffer : void 0, yn = vn ? vn.allocUnsafe : void 0;
|
|
437
|
+
function ju(n, o) {
|
|
438
438
|
if (o)
|
|
439
439
|
return n.slice();
|
|
440
|
-
var f = n.length, h =
|
|
440
|
+
var f = n.length, h = yn ? yn(f) : new n.constructor(f);
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
|
-
function
|
|
444
|
-
for (var f = -1, h = n == null ? 0 : n.length,
|
|
443
|
+
function Bu(n, o) {
|
|
444
|
+
for (var f = -1, h = n == null ? 0 : n.length, g = 0, b = []; ++f < h; ) {
|
|
445
445
|
var m = n[f];
|
|
446
|
-
o(m, f, n) && (b[
|
|
446
|
+
o(m, f, n) && (b[g++] = m);
|
|
447
447
|
}
|
|
448
448
|
return b;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function si() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var $u = Object.prototype, Vu = $u.propertyIsEnumerable, mn = Object.getOwnPropertySymbols, mr = mn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Bu(mn(n), function(o) {
|
|
455
|
+
return Vu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
459
|
-
return Et(n,
|
|
457
|
+
} : si;
|
|
458
|
+
function Gu(n, o) {
|
|
459
|
+
return Et(n, mr(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Yu = Object.getOwnPropertySymbols, li = Yu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
ai(o, mr(n)), n = oi(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return Et(n,
|
|
465
|
+
} : si;
|
|
466
|
+
function zu(n, o) {
|
|
467
|
+
return Et(n, li(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function ci(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return
|
|
471
|
+
return pr(n) ? h : ai(h, f(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function Xu(n) {
|
|
474
|
+
return ci(n, vr, mr);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function Wu(n) {
|
|
477
|
+
return ci(n, yr, li);
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
(
|
|
481
|
-
var o =
|
|
479
|
+
var Zt = Ee(ee, "DataView"), Qt = Ee(ee, "Promise"), er = Ee(ee, "Set"), gn = "[object Map]", Ju = "[object Object]", _n = "[object Promise]", bn = "[object Set]", En = "[object WeakMap]", Rn = "[object DataView]", Hu = be(Zt), Ku = be(Je), qu = be(Qt), Zu = be(er), Qu = be(qt), ae = Ze;
|
|
480
|
+
(Zt && ae(new Zt(new ArrayBuffer(1))) != Rn || Je && ae(new Je()) != gn || Qt && ae(Qt.resolve()) != _n || er && ae(new er()) != bn || qt && ae(new qt()) != En) && (ae = function(n) {
|
|
481
|
+
var o = Ze(n), f = o == Ju ? n.constructor : void 0, h = f ? be(f) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
|
-
case
|
|
485
|
-
return
|
|
486
|
-
case
|
|
487
|
-
return mn;
|
|
488
|
-
case zu:
|
|
489
|
-
return _n;
|
|
490
|
-
case Xu:
|
|
484
|
+
case Hu:
|
|
485
|
+
return Rn;
|
|
486
|
+
case Ku:
|
|
491
487
|
return gn;
|
|
492
|
-
case
|
|
488
|
+
case qu:
|
|
489
|
+
return _n;
|
|
490
|
+
case Zu:
|
|
493
491
|
return bn;
|
|
492
|
+
case Qu:
|
|
493
|
+
return En;
|
|
494
494
|
}
|
|
495
495
|
return o;
|
|
496
496
|
});
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var es = Object.prototype, ts = es.hasOwnProperty;
|
|
498
|
+
function rs(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" && ts.call(n, "index") && (f.index = n.index, f.input = n.input), f;
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
function
|
|
502
|
+
var On = ee.Uint8Array;
|
|
503
|
+
function gr(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new On(o).set(new On(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var f = o ?
|
|
507
|
+
function ns(n, o) {
|
|
508
|
+
var f = o ? gr(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 is = /\w*$/;
|
|
512
|
+
function as(n) {
|
|
513
|
+
var o = new n.constructor(n.source, is.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var
|
|
517
|
-
function
|
|
518
|
-
return
|
|
516
|
+
var Tn = Pe ? Pe.prototype : void 0, Nn = Tn ? Tn.valueOf : void 0;
|
|
517
|
+
function os(n) {
|
|
518
|
+
return Nn ? Object(Nn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var f = o ?
|
|
520
|
+
function us(n, o) {
|
|
521
|
+
var f = o ? gr(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var ss = "[object Boolean]", ls = "[object Date]", cs = "[object Map]", fs = "[object Number]", ps = "[object RegExp]", ds = "[object Set]", hs = "[object String]", vs = "[object Symbol]", ys = "[object ArrayBuffer]", ms = "[object DataView]", gs = "[object Float32Array]", _s = "[object Float64Array]", bs = "[object Int8Array]", Es = "[object Int16Array]", Rs = "[object Int32Array]", Os = "[object Uint8Array]", Ts = "[object Uint8ClampedArray]", Ns = "[object Uint16Array]", Ss = "[object Uint32Array]";
|
|
525
|
+
function xs(n, o, f) {
|
|
526
526
|
var h = n.constructor;
|
|
527
527
|
switch (o) {
|
|
528
|
-
case cs:
|
|
529
|
-
return mr(n);
|
|
530
|
-
case rs:
|
|
531
|
-
case ns:
|
|
532
|
-
return new h(+n);
|
|
533
|
-
case fs:
|
|
534
|
-
return qu(n, f);
|
|
535
|
-
case ps:
|
|
536
|
-
case ds:
|
|
537
|
-
case hs:
|
|
538
|
-
case vs:
|
|
539
528
|
case ys:
|
|
529
|
+
return gr(n);
|
|
530
|
+
case ss:
|
|
531
|
+
case ls:
|
|
532
|
+
return new h(+n);
|
|
540
533
|
case ms:
|
|
541
|
-
|
|
534
|
+
return ns(n, f);
|
|
542
535
|
case gs:
|
|
536
|
+
case _s:
|
|
543
537
|
case bs:
|
|
544
|
-
|
|
545
|
-
case
|
|
538
|
+
case Es:
|
|
539
|
+
case Rs:
|
|
540
|
+
case Os:
|
|
541
|
+
case Ts:
|
|
542
|
+
case Ns:
|
|
543
|
+
case Ss:
|
|
544
|
+
return us(n, f);
|
|
545
|
+
case cs:
|
|
546
546
|
return new h();
|
|
547
|
-
case
|
|
548
|
-
case
|
|
547
|
+
case fs:
|
|
548
|
+
case hs:
|
|
549
549
|
return new h(n);
|
|
550
|
-
case
|
|
551
|
-
return
|
|
552
|
-
case
|
|
550
|
+
case ps:
|
|
551
|
+
return as(n);
|
|
552
|
+
case ds:
|
|
553
553
|
return new h();
|
|
554
|
-
case
|
|
555
|
-
return
|
|
554
|
+
case vs:
|
|
555
|
+
return os(n);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
return typeof n.constructor == "function" && !
|
|
558
|
+
function ws(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !dr(n) ? io(oi(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var Ps = "[object Map]";
|
|
562
|
+
function Cs(n) {
|
|
563
|
+
return Qe(n) && ae(n) == Ps;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var Sn = Ce && Ce.isMap, As = Sn ? hr(Sn) : Cs, ks = "[object Set]";
|
|
566
|
+
function Is(n) {
|
|
567
|
+
return Qe(n) && ae(n) == ks;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
F[
|
|
571
|
-
F[
|
|
572
|
-
function
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var xn = Ce && Ce.isSet, Ds = xn ? hr(xn) : Is, Ls = 1, Fs = 2, Ms = 4, fi = "[object Arguments]", Us = "[object Array]", js = "[object Boolean]", Bs = "[object Date]", $s = "[object Error]", pi = "[object Function]", Vs = "[object GeneratorFunction]", Gs = "[object Map]", Ys = "[object Number]", di = "[object Object]", zs = "[object RegExp]", Xs = "[object Set]", Ws = "[object String]", Js = "[object Symbol]", Hs = "[object WeakMap]", Ks = "[object ArrayBuffer]", qs = "[object DataView]", Zs = "[object Float32Array]", Qs = "[object Float64Array]", el = "[object Int8Array]", tl = "[object Int16Array]", rl = "[object Int32Array]", nl = "[object Uint8Array]", il = "[object Uint8ClampedArray]", al = "[object Uint16Array]", ol = "[object Uint32Array]", F = {};
|
|
570
|
+
F[fi] = F[Us] = F[Ks] = F[qs] = F[js] = F[Bs] = F[Zs] = F[Qs] = F[el] = F[tl] = F[rl] = F[Gs] = F[Ys] = F[di] = F[zs] = F[Xs] = F[Ws] = F[Js] = F[nl] = F[il] = F[al] = F[ol] = !0;
|
|
571
|
+
F[$s] = F[pi] = F[Hs] = !1;
|
|
572
|
+
function ht(n, o, f, h, g, b) {
|
|
573
|
+
var m, T = o & Ls, R = o & Fs, r = o & Ms;
|
|
574
574
|
if (m !== void 0)
|
|
575
575
|
return m;
|
|
576
|
-
if (!
|
|
576
|
+
if (!et(n))
|
|
577
577
|
return n;
|
|
578
|
-
var t =
|
|
578
|
+
var t = pr(n);
|
|
579
579
|
if (t) {
|
|
580
|
-
if (m =
|
|
581
|
-
return
|
|
580
|
+
if (m = rs(n), !T)
|
|
581
|
+
return ao(n, m);
|
|
582
582
|
} else {
|
|
583
|
-
var e = ae(n), i = e ==
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
-
if (e ==
|
|
587
|
-
if (m = R || i ? {} :
|
|
588
|
-
return R ?
|
|
583
|
+
var e = ae(n), i = e == pi || e == Vs;
|
|
584
|
+
if (ti(n))
|
|
585
|
+
return ju(n, T);
|
|
586
|
+
if (e == di || e == fi || i && !g) {
|
|
587
|
+
if (m = R || i ? {} : ws(n), !T)
|
|
588
|
+
return R ? zu(n, Mu(m, n)) : Gu(n, Fu(m, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!F[e])
|
|
591
|
-
return
|
|
592
|
-
m =
|
|
591
|
+
return g ? n : {};
|
|
592
|
+
m = xs(n, e, T);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
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), Ds(n) ? n.forEach(function(a) {
|
|
600
|
+
m.add(ht(a, o, f, a, n, b));
|
|
601
|
+
}) : As(n) && n.forEach(function(a, p) {
|
|
602
|
+
m.set(p, ht(a, o, f, p, n, b));
|
|
603
603
|
});
|
|
604
|
-
var s = r ? R ?
|
|
605
|
-
return
|
|
606
|
-
l && (p = a, a = n[p]),
|
|
604
|
+
var s = r ? R ? Wu : Xu : R ? yr : vr, l = t ? void 0 : s(n);
|
|
605
|
+
return oo(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), Kn(m, p, ht(a, o, f, p, n, b));
|
|
607
607
|
}), m;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
function
|
|
611
|
-
return
|
|
609
|
+
var ul = 1, sl = 4;
|
|
610
|
+
function vt(n) {
|
|
611
|
+
return ht(n, ul | sl);
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function ll(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
615
615
|
if (o == "common")
|
|
616
616
|
return "pageCommon";
|
|
@@ -622,29 +622,29 @@ function nl(n, o) {
|
|
|
622
622
|
} else
|
|
623
623
|
console.assert(!1);
|
|
624
624
|
}
|
|
625
|
-
function xn(n, o) {
|
|
626
|
-
return n.array ? dt(o ? n.default : n.defaultArray) : dt(n.default);
|
|
627
|
-
}
|
|
628
625
|
function wn(n, o) {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
626
|
+
return n.array ? vt(o ? n.default : n.defaultArray) : vt(n.default);
|
|
627
|
+
}
|
|
628
|
+
function Pn(n, o) {
|
|
629
|
+
function f(h, g) {
|
|
630
|
+
if (g.ui) {
|
|
631
|
+
if (g.ui === "strInput" && g.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[g.key] = wn(g);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
g.array ? h[g.key] = wn(g) : g.children.forEach((b) => {
|
|
636
|
+
h[g.key] = {}, f(h[g.key], b);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => f(n, h));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${
|
|
641
|
+
function cl(n, o, f, h, g) {
|
|
642
|
+
const b = `type=${n} subtype=${o} version=${f} ref=${h} keyOrRefid=${g}`, m = ll(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 = ki[f];
|
|
648
648
|
if (!T) {
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
@@ -654,9 +654,9 @@ function il(n, o, f, h, _) {
|
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = Yn(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t = T.refKey, e =
|
|
659
|
+
const t = T.refKey, e = g;
|
|
660
660
|
if (!T.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${b}`);
|
|
662
662
|
return;
|
|
@@ -671,11 +671,11 @@ function il(n, o, f, h, _) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
Pn(R, u), R.basic.id = r, R.basic.key = t, R.ref = {
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
678
|
+
const t = g;
|
|
679
679
|
if (!T.elements.has(t)) {
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${b}`);
|
|
681
681
|
return;
|
|
@@ -690,92 +690,92 @@ function il(n, o, f, h, _) {
|
|
|
690
690
|
console.error(`spawnNode [key] props not found, ${b}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
|
|
693
|
+
Pn(R, i), R.basic.id = r, R.basic.key = t, e.slots.length > 0 && (R.children = []);
|
|
694
694
|
}
|
|
695
695
|
return R;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function hc(n, o) {
|
|
698
698
|
function f(h) {
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
|
-
for (let
|
|
703
|
-
const b = f(h.children[
|
|
702
|
+
for (let g = 0; g < h.children.length; g++) {
|
|
703
|
+
const b = f(h.children[g]);
|
|
704
704
|
if (b)
|
|
705
705
|
return b;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
709
|
-
const
|
|
710
|
-
if (
|
|
711
|
-
return
|
|
709
|
+
const g = f(n[h]);
|
|
710
|
+
if (g)
|
|
711
|
+
return g;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function vc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var g;
|
|
717
|
+
h.basic.id = Yn(16), (g = h.children) == null || g.forEach((b) => o(b));
|
|
718
718
|
}
|
|
719
|
-
const f =
|
|
719
|
+
const f = vt(n);
|
|
720
720
|
return o(f), f;
|
|
721
721
|
}
|
|
722
|
-
const
|
|
723
|
-
function
|
|
724
|
-
|
|
722
|
+
const hi = "runtimeEnv", vi = "runtimeMode", yi = "runtimeDevice", mi = "runtimeDark", gi = "runtimeType", _i = "runtimeData", bi = "runtimeDepends", Ei = "runtimeInterpreter";
|
|
723
|
+
function yc(n) {
|
|
724
|
+
pe(hi, n);
|
|
725
725
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
726
|
+
function fl() {
|
|
727
|
+
return de(hi);
|
|
728
728
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
729
|
+
function mc(n) {
|
|
730
|
+
pe(vi, n);
|
|
731
731
|
}
|
|
732
732
|
function Re() {
|
|
733
|
-
return
|
|
733
|
+
return de(vi);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
735
|
+
function gc(n) {
|
|
736
|
+
pe(yi, bt(n));
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function Ri() {
|
|
739
|
+
return de(yi);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
741
|
+
function _c(n) {
|
|
742
|
+
pe(mi, bt(n));
|
|
743
743
|
}
|
|
744
744
|
function De() {
|
|
745
|
-
return
|
|
745
|
+
return de(mi);
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
|
|
747
|
+
function bc(n) {
|
|
748
|
+
pe(gi, n);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
750
|
+
function Oi() {
|
|
751
|
+
return de(gi);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
console.assert(
|
|
753
|
+
function Ec(n) {
|
|
754
|
+
console.assert($n(n)), pe(_i, bt(n));
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
756
|
+
function Ti() {
|
|
757
|
+
return de(_i);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
console.assert(
|
|
759
|
+
function Rc(n) {
|
|
760
|
+
console.assert($n(n)), pe(bi, bt(n));
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
762
|
+
function pl() {
|
|
763
|
+
return de(bi);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
765
|
+
function dl(n) {
|
|
766
|
+
pe(Ei, n);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function hl() {
|
|
769
|
+
return de(Ei);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const vl = /* @__PURE__ */ oe({
|
|
772
772
|
__name: "index",
|
|
773
773
|
props: {
|
|
774
774
|
node: {},
|
|
775
775
|
outer: { type: Boolean }
|
|
776
776
|
},
|
|
777
777
|
setup(n) {
|
|
778
|
-
const o = n, f = Re(), h = De(),
|
|
778
|
+
const o = n, f = Re(), h = De(), g = hl(), b = N(() => {
|
|
779
779
|
var i;
|
|
780
780
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
781
781
|
}), m = N(() => {
|
|
@@ -791,14 +791,14 @@ const ll = /* @__PURE__ */ pe({
|
|
|
791
791
|
var i;
|
|
792
792
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
793
793
|
}), t = N(() => h.value ? "dark" : "light"), e = () => {
|
|
794
|
-
if (f !== "runtime" || !
|
|
794
|
+
if (f !== "runtime" || !g)
|
|
795
795
|
return;
|
|
796
|
-
const i =
|
|
797
|
-
|
|
796
|
+
const i = g.nativeToPseudo(o.node.basic.id);
|
|
797
|
+
g.appendCode(`__triggerEvent__('${i}', 'click');`), g.run();
|
|
798
798
|
};
|
|
799
799
|
return (i, u) => {
|
|
800
|
-
const s =
|
|
801
|
-
return H(),
|
|
800
|
+
const s = fe("v-btn");
|
|
801
|
+
return H(), he(s, {
|
|
802
802
|
text: b.value,
|
|
803
803
|
disabled: m.value,
|
|
804
804
|
variant: T.value,
|
|
@@ -809,18 +809,18 @@ const ll = /* @__PURE__ */ pe({
|
|
|
809
809
|
}, null, 8, ["text", "disabled", "variant", "density", "block", "theme"]);
|
|
810
810
|
};
|
|
811
811
|
}
|
|
812
|
-
}),
|
|
812
|
+
}), yl = [
|
|
813
813
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
814
814
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
815
815
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
816
816
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
817
817
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
818
818
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
819
|
-
],
|
|
819
|
+
], Ni = [
|
|
820
820
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
821
821
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
822
822
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
823
|
-
],
|
|
823
|
+
], tr = "btn_v1", rr = "combobox_v1", nr = "container_v1", ir = "data_table_v1", ar = "dialog_v1", Si = "globality_v1", or = "number_input_v1", xi = "ref_v1", ur = "select_v1", sr = "text_field_v1", Y = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const ll = /* @__PURE__ */ pe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, Cn = {
|
|
849
849
|
key: "settings",
|
|
850
850
|
name: "x-runtime-lib.settings",
|
|
851
851
|
children: [
|
|
@@ -865,14 +865,14 @@ const ll = /* @__PURE__ */ pe({
|
|
|
865
865
|
key: "variant",
|
|
866
866
|
name: "x-runtime-lib.variant",
|
|
867
867
|
ui: "select",
|
|
868
|
-
items:
|
|
868
|
+
items: yl,
|
|
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: Ni,
|
|
876
876
|
default: "default"
|
|
877
877
|
},
|
|
878
878
|
{
|
|
@@ -882,11 +882,11 @@ const ll = /* @__PURE__ */ pe({
|
|
|
882
882
|
default: !1
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
|
-
},
|
|
886
|
-
key:
|
|
885
|
+
}, ml = {
|
|
886
|
+
key: tr,
|
|
887
887
|
name: "x-runtime-lib.button",
|
|
888
|
-
comp:
|
|
889
|
-
|
|
888
|
+
comp: vl,
|
|
889
|
+
slots: [],
|
|
890
890
|
events: [
|
|
891
891
|
{
|
|
892
892
|
key: "click",
|
|
@@ -896,17 +896,17 @@ const ll = /* @__PURE__ */ pe({
|
|
|
896
896
|
],
|
|
897
897
|
methods: [],
|
|
898
898
|
props: {
|
|
899
|
-
pageCommon: [Y,
|
|
900
|
-
compCommon: [Y,
|
|
899
|
+
pageCommon: [Y, Cn],
|
|
900
|
+
compCommon: [Y, Cn]
|
|
901
901
|
}
|
|
902
|
-
},
|
|
902
|
+
}, gl = { key: 0 }, _l = /* @__PURE__ */ oe({
|
|
903
903
|
__name: "index",
|
|
904
904
|
props: {
|
|
905
905
|
node: {},
|
|
906
906
|
outer: { type: Boolean }
|
|
907
907
|
},
|
|
908
908
|
setup(n) {
|
|
909
|
-
const o = n, f = Re(), h = De(),
|
|
909
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
910
910
|
var e;
|
|
911
911
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
912
912
|
}), b = N(() => {
|
|
@@ -926,10 +926,10 @@ const ll = /* @__PURE__ */ pe({
|
|
|
926
926
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
927
927
|
}), t = N(() => h.value ? "dark" : "light");
|
|
928
928
|
return (e, i) => {
|
|
929
|
-
const u =
|
|
930
|
-
return
|
|
931
|
-
|
|
932
|
-
"model-value":
|
|
929
|
+
const u = fe("v-combobox");
|
|
930
|
+
return He(f) === "editor" ? (H(), Ke("div", gl, [
|
|
931
|
+
qe(u, {
|
|
932
|
+
"model-value": g.value,
|
|
933
933
|
label: b.value,
|
|
934
934
|
placeholder: m.value,
|
|
935
935
|
"hide-details": T.value,
|
|
@@ -937,9 +937,9 @@ const ll = /* @__PURE__ */ pe({
|
|
|
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(), he(u, {
|
|
941
941
|
key: 1,
|
|
942
|
-
"model-value":
|
|
942
|
+
"model-value": g.value,
|
|
943
943
|
label: b.value,
|
|
944
944
|
placeholder: m.value,
|
|
945
945
|
"hide-details": T.value,
|
|
@@ -949,7 +949,7 @@ const ll = /* @__PURE__ */ pe({
|
|
|
949
949
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), An = {
|
|
953
953
|
key: "settings",
|
|
954
954
|
name: "x-runtime-lib.settings",
|
|
955
955
|
children: [
|
|
@@ -990,23 +990,23 @@ const ll = /* @__PURE__ */ pe({
|
|
|
990
990
|
default: !1
|
|
991
991
|
}
|
|
992
992
|
]
|
|
993
|
-
},
|
|
994
|
-
key:
|
|
993
|
+
}, bl = {
|
|
994
|
+
key: rr,
|
|
995
995
|
name: "x-runtime-lib.combobox",
|
|
996
|
-
comp:
|
|
997
|
-
|
|
996
|
+
comp: _l,
|
|
997
|
+
slots: [],
|
|
998
998
|
events: [],
|
|
999
999
|
methods: [],
|
|
1000
1000
|
props: {
|
|
1001
|
-
pageCommon: [Y,
|
|
1002
|
-
compCommon: [Y,
|
|
1001
|
+
pageCommon: [Y, An],
|
|
1002
|
+
compCommon: [Y, An]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1005
|
+
function wi(n, o, f) {
|
|
1006
1006
|
const h = N(() => {
|
|
1007
1007
|
var t;
|
|
1008
1008
|
return (t = f.node.size) == null ? void 0 : t.width;
|
|
1009
|
-
}),
|
|
1009
|
+
}), g = N(() => {
|
|
1010
1010
|
var t;
|
|
1011
1011
|
return (t = f.node.size) == null ? void 0 : t.minWidth;
|
|
1012
1012
|
}), b = N(() => {
|
|
@@ -1015,7 +1015,7 @@ function Si(n, o, f) {
|
|
|
1015
1015
|
}), m = N(() => {
|
|
1016
1016
|
var t, e;
|
|
1017
1017
|
if (f.outer && n === "editor") {
|
|
1018
|
-
const i =
|
|
1018
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.height);
|
|
1019
1019
|
if (i)
|
|
1020
1020
|
return i / 100 * o.value.height + "px";
|
|
1021
1021
|
}
|
|
@@ -1023,7 +1023,7 @@ function Si(n, o, f) {
|
|
|
1023
1023
|
}), T = N(() => {
|
|
1024
1024
|
var t, e;
|
|
1025
1025
|
if (f.outer && n === "editor") {
|
|
1026
|
-
const i =
|
|
1026
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.minHeight);
|
|
1027
1027
|
if (i)
|
|
1028
1028
|
return i / 100 * o.value.height + "px";
|
|
1029
1029
|
}
|
|
@@ -1031,18 +1031,18 @@ function Si(n, o, f) {
|
|
|
1031
1031
|
}), R = N(() => {
|
|
1032
1032
|
var t, e;
|
|
1033
1033
|
if (f.outer && n === "editor") {
|
|
1034
|
-
const i =
|
|
1034
|
+
const i = Jt((t = f.node.size) == null ? void 0 : t.maxHeight);
|
|
1035
1035
|
if (i)
|
|
1036
1036
|
return i / 100 * o.value.height + "px";
|
|
1037
1037
|
}
|
|
1038
1038
|
return (e = f.node.size) == null ? void 0 : e.maxHeight;
|
|
1039
1039
|
});
|
|
1040
1040
|
function r(t) {
|
|
1041
|
-
h.value && (t.width = h.value),
|
|
1041
|
+
h.value && (t.width = h.value), g.value && (t.minWidth = g.value), b.value && (t.maxWidth = b.value), m.value && (t.height = m.value), T.value && (t.minHeight = T.value), R.value && (t.maxHeight = R.value);
|
|
1042
1042
|
}
|
|
1043
|
-
return { width: h, minWidth:
|
|
1043
|
+
return { width: h, minWidth: g, maxWidth: b, height: m, minHeight: T, maxHeight: R, applySize: r };
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function El(n) {
|
|
1046
1046
|
const o = N(() => {
|
|
1047
1047
|
var m;
|
|
1048
1048
|
return (m = n.node.margin) == null ? void 0 : m.top;
|
|
@@ -1052,16 +1052,16 @@ function vl(n) {
|
|
|
1052
1052
|
}), h = N(() => {
|
|
1053
1053
|
var m;
|
|
1054
1054
|
return (m = n.node.margin) == null ? void 0 : m.bottom;
|
|
1055
|
-
}),
|
|
1055
|
+
}), g = N(() => {
|
|
1056
1056
|
var m;
|
|
1057
1057
|
return (m = n.node.margin) == null ? void 0 : m.right;
|
|
1058
1058
|
});
|
|
1059
1059
|
function b(m) {
|
|
1060
|
-
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value),
|
|
1060
|
+
o.value && (m.marginTop = o.value), f.value && (m.marginLeft = f.value), h.value && (m.marginBottom = h.value), g.value && (m.marginRight = g.value);
|
|
1061
1061
|
}
|
|
1062
|
-
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight:
|
|
1062
|
+
return { marginTop: o, marginLeft: f, marginBottom: h, marginRight: g, applyMargin: b };
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function Rl(n) {
|
|
1065
1065
|
const o = N(() => {
|
|
1066
1066
|
var m;
|
|
1067
1067
|
return (m = n.node.padding) == null ? void 0 : m.top;
|
|
@@ -1071,16 +1071,16 @@ function yl(n) {
|
|
|
1071
1071
|
}), h = N(() => {
|
|
1072
1072
|
var m;
|
|
1073
1073
|
return (m = n.node.padding) == null ? void 0 : m.bottom;
|
|
1074
|
-
}),
|
|
1074
|
+
}), g = N(() => {
|
|
1075
1075
|
var m;
|
|
1076
1076
|
return (m = n.node.padding) == null ? void 0 : m.right;
|
|
1077
1077
|
});
|
|
1078
1078
|
function b(m) {
|
|
1079
|
-
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value),
|
|
1079
|
+
o.value && (m.paddingTop = o.value), f.value && (m.paddingLeft = f.value), h.value && (m.paddingBottom = h.value), g.value && (m.paddingRight = g.value);
|
|
1080
1080
|
}
|
|
1081
|
-
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight:
|
|
1081
|
+
return { paddingTop: o, paddingLeft: f, paddingBottom: h, paddingRight: g, applyPadding: b };
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function Ol(n) {
|
|
1084
1084
|
const o = N(() => {
|
|
1085
1085
|
var b;
|
|
1086
1086
|
return (b = n.node.border) == null ? void 0 : b.style;
|
|
@@ -1091,29 +1091,29 @@ function ml(n) {
|
|
|
1091
1091
|
var b;
|
|
1092
1092
|
return (b = n.node.border) == null ? void 0 : b.color;
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1094
|
+
function g(b) {
|
|
1095
1095
|
o.value && (b.borderStyle = o.value), f.value && (b.borderWidth = f.value), h.value && (b.borderColor = h.value);
|
|
1096
1096
|
}
|
|
1097
|
-
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder:
|
|
1097
|
+
return { borderStyle: o, borderWidth: f, borderColor: h, applyBorder: g };
|
|
1098
1098
|
}
|
|
1099
|
-
const
|
|
1099
|
+
const Tl = /* @__PURE__ */ oe({
|
|
1100
1100
|
__name: "index",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
node: {},
|
|
1103
1103
|
outer: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(n) {
|
|
1106
|
-
const o = n, f = Re(), h =
|
|
1106
|
+
const o = n, f = Re(), h = Ri(), g = Oi(), b = Ti(), { applySize: m } = wi(f, h, o), { applyMargin: T } = El(o), { applyPadding: R } = Rl(o), { applyBorder: r } = Ol(o), t = N(() => {
|
|
1107
1107
|
const e = {}, i = b.type;
|
|
1108
|
-
return
|
|
1108
|
+
return g === "page" ? i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1) : g === "comp" && i === "common" ? (m(e), T(e), R(e), r(e)) : console.assert(!1), e;
|
|
1109
1109
|
});
|
|
1110
|
-
return (e, i) => (H(),
|
|
1111
|
-
style:
|
|
1110
|
+
return (e, i) => (H(), Ke("div", {
|
|
1111
|
+
style: ga(t.value)
|
|
1112
1112
|
}, [
|
|
1113
|
-
|
|
1113
|
+
Vn(e.$slots, "default")
|
|
1114
1114
|
], 4));
|
|
1115
1115
|
}
|
|
1116
|
-
}),
|
|
1116
|
+
}), Nl = [
|
|
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" },
|
|
@@ -1122,13 +1122,13 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1122
1122
|
{
|
|
1123
1123
|
name: "x-runtime-lib.default",
|
|
1124
1124
|
ui: "word",
|
|
1125
|
-
validator:
|
|
1125
|
+
validator: lr,
|
|
1126
1126
|
default: ""
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
name: "x-runtime-lib.pixel",
|
|
1130
1130
|
ui: "pixelInput",
|
|
1131
|
-
validator:
|
|
1131
|
+
validator: cr,
|
|
1132
1132
|
default: "0px",
|
|
1133
1133
|
precision: 0,
|
|
1134
1134
|
min: 0,
|
|
@@ -1138,14 +1138,14 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1138
1138
|
{
|
|
1139
1139
|
name: "x-runtime-lib.percent",
|
|
1140
1140
|
ui: "percentInput",
|
|
1141
|
-
validator:
|
|
1141
|
+
validator: fr,
|
|
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
|
+
], yt = {
|
|
1149
1149
|
key: "border",
|
|
1150
1150
|
name: "x-runtime-lib.border",
|
|
1151
1151
|
children: [
|
|
@@ -1153,7 +1153,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1153
1153
|
key: "style",
|
|
1154
1154
|
name: "x-runtime-lib.style",
|
|
1155
1155
|
ui: "select",
|
|
1156
|
-
items:
|
|
1156
|
+
items: Nl,
|
|
1157
1157
|
default: ""
|
|
1158
1158
|
},
|
|
1159
1159
|
{
|
|
@@ -1210,11 +1210,11 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1210
1210
|
]
|
|
1211
1211
|
}
|
|
1212
1212
|
]
|
|
1213
|
-
},
|
|
1213
|
+
}, pt = [
|
|
1214
1214
|
{
|
|
1215
1215
|
name: "x-runtime-lib.default",
|
|
1216
1216
|
ui: "word",
|
|
1217
|
-
validator:
|
|
1217
|
+
validator: lr,
|
|
1218
1218
|
default: ""
|
|
1219
1219
|
},
|
|
1220
1220
|
{
|
|
@@ -1226,7 +1226,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1226
1226
|
{
|
|
1227
1227
|
name: "x-runtime-lib.pixel",
|
|
1228
1228
|
ui: "pixelInput",
|
|
1229
|
-
validator:
|
|
1229
|
+
validator: cr,
|
|
1230
1230
|
default: "0px",
|
|
1231
1231
|
precision: 0,
|
|
1232
1232
|
min: 0,
|
|
@@ -1236,14 +1236,14 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1236
1236
|
{
|
|
1237
1237
|
name: "x-runtime-lib.percent",
|
|
1238
1238
|
ui: "percentInput",
|
|
1239
|
-
validator:
|
|
1239
|
+
validator: fr,
|
|
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
|
+
], mt = {
|
|
1247
1247
|
key: "margin",
|
|
1248
1248
|
name: "x-runtime-lib.margin",
|
|
1249
1249
|
children: [
|
|
@@ -1251,42 +1251,42 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1251
1251
|
key: "top",
|
|
1252
1252
|
name: "x-runtime-lib.top",
|
|
1253
1253
|
ui: "multiTypes",
|
|
1254
|
-
types:
|
|
1254
|
+
types: pt,
|
|
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: pt,
|
|
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: pt,
|
|
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: pt,
|
|
1276
1276
|
default: ""
|
|
1277
1277
|
}
|
|
1278
1278
|
]
|
|
1279
|
-
},
|
|
1279
|
+
}, dt = [
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "x-runtime-lib.default",
|
|
1282
1282
|
ui: "word",
|
|
1283
|
-
validator:
|
|
1283
|
+
validator: lr,
|
|
1284
1284
|
default: ""
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
name: "x-runtime-lib.pixel",
|
|
1288
1288
|
ui: "pixelInput",
|
|
1289
|
-
validator:
|
|
1289
|
+
validator: cr,
|
|
1290
1290
|
default: "0px",
|
|
1291
1291
|
precision: 0,
|
|
1292
1292
|
min: 0,
|
|
@@ -1296,14 +1296,14 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1296
1296
|
{
|
|
1297
1297
|
name: "x-runtime-lib.percent",
|
|
1298
1298
|
ui: "percentInput",
|
|
1299
|
-
validator:
|
|
1299
|
+
validator: fr,
|
|
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
|
+
], gt = {
|
|
1307
1307
|
key: "padding",
|
|
1308
1308
|
name: "x-runtime-lib.padding",
|
|
1309
1309
|
children: [
|
|
@@ -1311,32 +1311,32 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1311
1311
|
key: "top",
|
|
1312
1312
|
name: "x-runtime-lib.top",
|
|
1313
1313
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1314
|
+
types: dt,
|
|
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: dt,
|
|
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: dt,
|
|
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: dt,
|
|
1336
1336
|
default: ""
|
|
1337
1337
|
}
|
|
1338
1338
|
]
|
|
1339
|
-
},
|
|
1339
|
+
}, _t = {
|
|
1340
1340
|
key: "size",
|
|
1341
1341
|
name: "x-runtime-lib.size",
|
|
1342
1342
|
children: [
|
|
@@ -1383,15 +1383,21 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1383
1383
|
default: ""
|
|
1384
1384
|
}
|
|
1385
1385
|
]
|
|
1386
|
-
},
|
|
1386
|
+
}, kn = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1391
|
-
key:
|
|
1390
|
+
}, Sl = {
|
|
1391
|
+
key: nr,
|
|
1392
1392
|
name: "x-runtime-lib.container",
|
|
1393
|
-
comp:
|
|
1394
|
-
|
|
1393
|
+
comp: Tl,
|
|
1394
|
+
slots: [
|
|
1395
|
+
{
|
|
1396
|
+
key: "default",
|
|
1397
|
+
name: "x-runtime-lib.default",
|
|
1398
|
+
params: []
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1395
1401
|
events: [
|
|
1396
1402
|
{
|
|
1397
1403
|
key: "click",
|
|
@@ -1401,10 +1407,10 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1401
1407
|
],
|
|
1402
1408
|
methods: [],
|
|
1403
1409
|
props: {
|
|
1404
|
-
pageCommon: [Y,
|
|
1405
|
-
compCommon: [Y,
|
|
1410
|
+
pageCommon: [Y, _t, yt, mt, gt, kn],
|
|
1411
|
+
compCommon: [Y, _t, yt, mt, gt, kn]
|
|
1406
1412
|
}
|
|
1407
|
-
},
|
|
1413
|
+
}, xl = /* @__PURE__ */ oe({
|
|
1408
1414
|
__name: "index",
|
|
1409
1415
|
props: {
|
|
1410
1416
|
node: {},
|
|
@@ -1414,7 +1420,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1414
1420
|
const o = n, f = De(), h = N(() => {
|
|
1415
1421
|
var u;
|
|
1416
1422
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
1417
|
-
}),
|
|
1423
|
+
}), g = N(() => {
|
|
1418
1424
|
var u;
|
|
1419
1425
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
1420
1426
|
}), b = N(() => {
|
|
@@ -1440,10 +1446,10 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1440
1446
|
return (u = o.node.settings) == null ? void 0 : u.multiSort;
|
|
1441
1447
|
}), i = N(() => f.value ? "dark" : "light");
|
|
1442
1448
|
return (u, s) => {
|
|
1443
|
-
const l =
|
|
1444
|
-
return H(),
|
|
1449
|
+
const l = fe("v-data-table");
|
|
1450
|
+
return H(), he(l, {
|
|
1445
1451
|
width: h.value,
|
|
1446
|
-
height:
|
|
1452
|
+
height: g.value,
|
|
1447
1453
|
headers: b.value,
|
|
1448
1454
|
items: m.value,
|
|
1449
1455
|
density: T.value,
|
|
@@ -1455,7 +1461,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1455
1461
|
}, null, 8, ["width", "height", "headers", "items", "density", "fixed-header", "fixed-footer", "loading", "multi-sort", "theme"]);
|
|
1456
1462
|
};
|
|
1457
1463
|
}
|
|
1458
|
-
}),
|
|
1464
|
+
}), wl = [
|
|
1459
1465
|
{
|
|
1460
1466
|
name: "x-runtime-lib.start",
|
|
1461
1467
|
ui: "word",
|
|
@@ -1474,7 +1480,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1474
1480
|
validator: (n) => n === "end",
|
|
1475
1481
|
default: "end"
|
|
1476
1482
|
}
|
|
1477
|
-
],
|
|
1483
|
+
], In = {
|
|
1478
1484
|
key: "size",
|
|
1479
1485
|
name: "x-runtime-lib.size",
|
|
1480
1486
|
children: [
|
|
@@ -1493,7 +1499,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1493
1499
|
default: ""
|
|
1494
1500
|
}
|
|
1495
1501
|
]
|
|
1496
|
-
},
|
|
1502
|
+
}, Dn = {
|
|
1497
1503
|
key: "settings",
|
|
1498
1504
|
name: "x-runtime-lib.settings",
|
|
1499
1505
|
children: [
|
|
@@ -1523,7 +1529,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1523
1529
|
key: "align",
|
|
1524
1530
|
name: "x-runtime-lib.align",
|
|
1525
1531
|
ui: "multiTypes",
|
|
1526
|
-
types:
|
|
1532
|
+
types: wl,
|
|
1527
1533
|
default: "start"
|
|
1528
1534
|
},
|
|
1529
1535
|
{
|
|
@@ -1567,7 +1573,7 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1567
1573
|
key: "density",
|
|
1568
1574
|
name: "x-runtime-lib.density",
|
|
1569
1575
|
ui: "select",
|
|
1570
|
-
items:
|
|
1576
|
+
items: Ni,
|
|
1571
1577
|
default: "default"
|
|
1572
1578
|
},
|
|
1573
1579
|
{
|
|
@@ -1595,39 +1601,67 @@ const _l = /* @__PURE__ */ pe({
|
|
|
1595
1601
|
default: !1
|
|
1596
1602
|
}
|
|
1597
1603
|
]
|
|
1598
|
-
},
|
|
1599
|
-
key:
|
|
1604
|
+
}, Pl = {
|
|
1605
|
+
key: ir,
|
|
1600
1606
|
name: "x-runtime-lib.dataTable",
|
|
1601
|
-
comp:
|
|
1602
|
-
|
|
1607
|
+
comp: xl,
|
|
1608
|
+
slots: [],
|
|
1603
1609
|
events: [],
|
|
1604
1610
|
methods: [],
|
|
1605
1611
|
props: {
|
|
1606
|
-
pageCommon: [Y,
|
|
1607
|
-
compCommon: [Y,
|
|
1612
|
+
pageCommon: [Y, In, Dn],
|
|
1613
|
+
compCommon: [Y, In, Dn]
|
|
1608
1614
|
}
|
|
1609
|
-
},
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
},
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1615
|
+
}, Cl = /* @__PURE__ */ oe({
|
|
1616
|
+
__name: "index",
|
|
1617
|
+
props: {
|
|
1618
|
+
node: {},
|
|
1619
|
+
outer: { type: Boolean }
|
|
1620
|
+
},
|
|
1621
|
+
setup(n) {
|
|
1622
|
+
const o = n, f = N(() => {
|
|
1623
|
+
var g;
|
|
1624
|
+
return (g = o.node.basic) == null ? void 0 : g.id;
|
|
1625
|
+
}), { open: h } = Na(`runtimeDlg/${f.value}`);
|
|
1626
|
+
return (g, b) => {
|
|
1627
|
+
const m = fe("v-btn"), T = fe("v-dialog");
|
|
1628
|
+
return H(), he(T, {
|
|
1629
|
+
modelValue: He(h),
|
|
1630
|
+
"onUpdate:modelValue": b[0] || (b[0] = (R) => _a(h) ? h.value = R : null)
|
|
1631
|
+
}, {
|
|
1632
|
+
activator: Wt(({ props: R }) => [
|
|
1633
|
+
qe(m, ba(Ea(R)), {
|
|
1634
|
+
default: Wt(() => b[1] || (b[1] = [
|
|
1635
|
+
Ra("dialog")
|
|
1636
|
+
])),
|
|
1637
|
+
_: 2
|
|
1638
|
+
}, 1040)
|
|
1639
|
+
]),
|
|
1640
|
+
default: Wt(() => [
|
|
1641
|
+
Vn(g.$slots, "default")
|
|
1642
|
+
]),
|
|
1643
|
+
_: 3
|
|
1644
|
+
}, 8, ["modelValue"]);
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
}), Al = {
|
|
1648
|
+
key: ar,
|
|
1621
1649
|
name: "x-runtime-lib.dialog",
|
|
1622
|
-
comp:
|
|
1623
|
-
|
|
1650
|
+
comp: Cl,
|
|
1651
|
+
slots: [
|
|
1652
|
+
{
|
|
1653
|
+
key: "default",
|
|
1654
|
+
name: "x-runtime-lib.default",
|
|
1655
|
+
params: []
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1624
1658
|
events: [],
|
|
1625
1659
|
methods: [],
|
|
1626
1660
|
props: {
|
|
1627
1661
|
pageCommon: [Y],
|
|
1628
1662
|
compCommon: [Y]
|
|
1629
1663
|
}
|
|
1630
|
-
},
|
|
1664
|
+
}, Ln = {
|
|
1631
1665
|
key: "globalSettings",
|
|
1632
1666
|
name: "x-runtime-lib.globalSettings",
|
|
1633
1667
|
children: [
|
|
@@ -1638,11 +1672,11 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1638
1672
|
default: "#00000000"
|
|
1639
1673
|
}
|
|
1640
1674
|
]
|
|
1641
|
-
},
|
|
1642
|
-
key:
|
|
1675
|
+
}, Pi = {
|
|
1676
|
+
key: Si,
|
|
1643
1677
|
name: "x-runtime-lib.globality",
|
|
1644
1678
|
comp: "",
|
|
1645
|
-
|
|
1679
|
+
slots: [],
|
|
1646
1680
|
events: [
|
|
1647
1681
|
{
|
|
1648
1682
|
key: "startup",
|
|
@@ -1676,18 +1710,18 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1676
1710
|
],
|
|
1677
1711
|
methods: [],
|
|
1678
1712
|
props: {
|
|
1679
|
-
pageCommon: [
|
|
1680
|
-
compCommon: [
|
|
1713
|
+
pageCommon: [Ln],
|
|
1714
|
+
compCommon: [Ln]
|
|
1681
1715
|
},
|
|
1682
1716
|
internal: !0
|
|
1683
|
-
},
|
|
1717
|
+
}, kl = { key: 0 }, Il = /* @__PURE__ */ oe({
|
|
1684
1718
|
__name: "index",
|
|
1685
1719
|
props: {
|
|
1686
1720
|
node: {},
|
|
1687
1721
|
outer: { type: Boolean }
|
|
1688
1722
|
},
|
|
1689
1723
|
setup(n) {
|
|
1690
|
-
const o = n, f = Re(), h = De(),
|
|
1724
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
1691
1725
|
var e;
|
|
1692
1726
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
1693
1727
|
}), b = N(() => {
|
|
@@ -1707,10 +1741,10 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1707
1741
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
1708
1742
|
}), t = N(() => h.value ? "dark" : "light");
|
|
1709
1743
|
return (e, i) => {
|
|
1710
|
-
const u =
|
|
1711
|
-
return
|
|
1712
|
-
|
|
1713
|
-
"model-value":
|
|
1744
|
+
const u = fe("v-number-input");
|
|
1745
|
+
return He(f) === "editor" ? (H(), Ke("div", kl, [
|
|
1746
|
+
qe(u, {
|
|
1747
|
+
"model-value": g.value,
|
|
1714
1748
|
label: b.value,
|
|
1715
1749
|
placeholder: m.value,
|
|
1716
1750
|
"hide-details": T.value,
|
|
@@ -1718,9 +1752,9 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1718
1752
|
readonly: r.value,
|
|
1719
1753
|
theme: t.value
|
|
1720
1754
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
1721
|
-
])) : (H(),
|
|
1755
|
+
])) : (H(), he(u, {
|
|
1722
1756
|
key: 1,
|
|
1723
|
-
"model-value":
|
|
1757
|
+
"model-value": g.value,
|
|
1724
1758
|
label: b.value,
|
|
1725
1759
|
placeholder: m.value,
|
|
1726
1760
|
"hide-details": T.value,
|
|
@@ -1730,7 +1764,7 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1730
1764
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
1731
1765
|
};
|
|
1732
1766
|
}
|
|
1733
|
-
}),
|
|
1767
|
+
}), Fn = {
|
|
1734
1768
|
key: "settings",
|
|
1735
1769
|
name: "x-runtime-lib.settings",
|
|
1736
1770
|
children: [
|
|
@@ -1775,23 +1809,23 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1775
1809
|
default: !1
|
|
1776
1810
|
}
|
|
1777
1811
|
]
|
|
1778
|
-
},
|
|
1779
|
-
key:
|
|
1812
|
+
}, Dl = {
|
|
1813
|
+
key: or,
|
|
1780
1814
|
name: "x-runtime-lib.numberInput",
|
|
1781
|
-
comp:
|
|
1782
|
-
|
|
1815
|
+
comp: Il,
|
|
1816
|
+
slots: [],
|
|
1783
1817
|
events: [],
|
|
1784
1818
|
methods: [],
|
|
1785
1819
|
props: {
|
|
1786
|
-
pageCommon: [Y,
|
|
1787
|
-
compCommon: [Y,
|
|
1820
|
+
pageCommon: [Y, Fn],
|
|
1821
|
+
compCommon: [Y, Fn]
|
|
1788
1822
|
}
|
|
1789
1823
|
};
|
|
1790
|
-
var
|
|
1791
|
-
function
|
|
1824
|
+
var Ll = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1825
|
+
function Fl(n) {
|
|
1792
1826
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1793
1827
|
}
|
|
1794
|
-
function
|
|
1828
|
+
function Ml(n) {
|
|
1795
1829
|
if (n.__esModule) return n;
|
|
1796
1830
|
var o = n.default;
|
|
1797
1831
|
if (typeof o == "function") {
|
|
@@ -1801,8 +1835,8 @@ function Dl(n) {
|
|
|
1801
1835
|
f.prototype = o.prototype;
|
|
1802
1836
|
} else f = {};
|
|
1803
1837
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1804
|
-
var
|
|
1805
|
-
Object.defineProperty(f, h,
|
|
1838
|
+
var g = Object.getOwnPropertyDescriptor(n, h);
|
|
1839
|
+
Object.defineProperty(f, h, g.get ? g : {
|
|
1806
1840
|
enumerable: !0,
|
|
1807
1841
|
get: function() {
|
|
1808
1842
|
return n[h];
|
|
@@ -1810,15 +1844,15 @@ function Dl(n) {
|
|
|
1810
1844
|
});
|
|
1811
1845
|
}), f;
|
|
1812
1846
|
}
|
|
1813
|
-
var
|
|
1814
|
-
const
|
|
1847
|
+
var Ci = { exports: {} };
|
|
1848
|
+
const Ul = {}, jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1815
1849
|
__proto__: null,
|
|
1816
|
-
default:
|
|
1817
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1850
|
+
default: Ul
|
|
1851
|
+
}, Symbol.toStringTag, { value: "Module" })), Bl = /* @__PURE__ */ Ml(jl);
|
|
1818
1852
|
(function(n, o) {
|
|
1819
|
-
(function(h,
|
|
1820
|
-
n.exports =
|
|
1821
|
-
})(
|
|
1853
|
+
(function(h, g) {
|
|
1854
|
+
n.exports = g();
|
|
1855
|
+
})(Ll, () => (
|
|
1822
1856
|
/******/
|
|
1823
1857
|
(() => {
|
|
1824
1858
|
var f = {
|
|
@@ -4445,8 +4479,8 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4445
4479
|
} else if (s.nativeFunc)
|
|
4446
4480
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4447
4481
|
else if (s.asyncFunc) {
|
|
4448
|
-
var W = this, Le = function(
|
|
4449
|
-
e.value =
|
|
4482
|
+
var W = this, Le = function(ve) {
|
|
4483
|
+
e.value = ve, W.paused_ = !1;
|
|
4450
4484
|
}, q = s.asyncFunc.length - 1, Oe = e.arguments_.concat(
|
|
4451
4485
|
new Array(q)
|
|
4452
4486
|
).slice(0, q);
|
|
@@ -4858,7 +4892,7 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4858
4892
|
R.version = "0.5.0";
|
|
4859
4893
|
var r, t = "", e, i;
|
|
4860
4894
|
R.parse = function(c, d) {
|
|
4861
|
-
return t = String(c), e = t.length, s(d),
|
|
4895
|
+
return t = String(c), e = t.length, s(d), Hi(), sa(r.program);
|
|
4862
4896
|
};
|
|
4863
4897
|
var u = {
|
|
4864
4898
|
// JS-Interpreter change:
|
|
@@ -4925,80 +4959,80 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4925
4959
|
i = r.sourceFile;
|
|
4926
4960
|
}
|
|
4927
4961
|
var l = function(c, d) {
|
|
4928
|
-
for (var y = 1,
|
|
4929
|
-
|
|
4930
|
-
var C =
|
|
4962
|
+
for (var y = 1, _ = 0; ; ) {
|
|
4963
|
+
ot.lastIndex = _;
|
|
4964
|
+
var C = ot.exec(c);
|
|
4931
4965
|
if (C && C.index < d)
|
|
4932
|
-
++y,
|
|
4966
|
+
++y, _ = C.index + C[0].length;
|
|
4933
4967
|
else
|
|
4934
4968
|
break;
|
|
4935
4969
|
}
|
|
4936
|
-
return { line: y, column: d -
|
|
4937
|
-
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Oe,
|
|
4970
|
+
return { line: y, column: d - _ };
|
|
4971
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Oe, ve, B, J;
|
|
4938
4972
|
function k(c, d) {
|
|
4939
4973
|
var y = l(t, c);
|
|
4940
4974
|
d += " (" + y.line + ":" + y.column + ")";
|
|
4941
|
-
var
|
|
4942
|
-
throw
|
|
4975
|
+
var _ = new SyntaxError(d);
|
|
4976
|
+
throw _.pos = c, _.loc = y, _.raisedAt = a, _;
|
|
4943
4977
|
}
|
|
4944
|
-
var
|
|
4978
|
+
var Ii = [], tt = { type: "num" }, _r = { type: "regexp" }, Tt = { type: "string" }, Te = { type: "name" }, Nt = { type: "eof" }, St = { keyword: "break" }, xt = { keyword: "case", beforeExpr: !0 }, br = { keyword: "catch" }, Er = { keyword: "continue" }, Rr = { keyword: "debugger" }, Or = { keyword: "default" }, Tr = { keyword: "do", isLoop: !0 }, Nr = { keyword: "else", beforeExpr: !0 }, Sr = { keyword: "finally" }, xr = { keyword: "for", isLoop: !0 }, wt = { keyword: "function" }, wr = { keyword: "if" }, Pr = { keyword: "return", beforeExpr: !0 }, Pt = { keyword: "switch" }, Cr = { keyword: "throw", beforeExpr: !0 }, Ar = { keyword: "try" }, Ct = { keyword: "var" }, At = { keyword: "while", isLoop: !0 }, kr = { keyword: "with" }, Ir = { keyword: "new", beforeExpr: !0 }, Dr = { keyword: "this" }, Lr = { keyword: "null", atomValue: null }, Fr = { keyword: "true", atomValue: !0 }, Mr = { keyword: "false", atomValue: !1 }, rt = { keyword: "in", binop: 7, beforeExpr: !0 }, Di = {
|
|
4945
4979
|
break: St,
|
|
4946
4980
|
case: xt,
|
|
4947
|
-
catch:
|
|
4948
|
-
continue:
|
|
4949
|
-
debugger:
|
|
4950
|
-
default:
|
|
4951
|
-
do:
|
|
4952
|
-
else:
|
|
4953
|
-
finally:
|
|
4954
|
-
for:
|
|
4981
|
+
catch: br,
|
|
4982
|
+
continue: Er,
|
|
4983
|
+
debugger: Rr,
|
|
4984
|
+
default: Or,
|
|
4985
|
+
do: Tr,
|
|
4986
|
+
else: Nr,
|
|
4987
|
+
finally: Sr,
|
|
4988
|
+
for: xr,
|
|
4955
4989
|
function: wt,
|
|
4956
|
-
if:
|
|
4957
|
-
return:
|
|
4990
|
+
if: wr,
|
|
4991
|
+
return: Pr,
|
|
4958
4992
|
switch: Pt,
|
|
4959
|
-
throw:
|
|
4960
|
-
try:
|
|
4993
|
+
throw: Cr,
|
|
4994
|
+
try: Ar,
|
|
4961
4995
|
var: Ct,
|
|
4962
4996
|
while: At,
|
|
4963
|
-
with:
|
|
4964
|
-
null:
|
|
4965
|
-
true:
|
|
4966
|
-
false:
|
|
4967
|
-
new:
|
|
4968
|
-
in:
|
|
4997
|
+
with: kr,
|
|
4998
|
+
null: Lr,
|
|
4999
|
+
true: Fr,
|
|
5000
|
+
false: Mr,
|
|
5001
|
+
new: Ir,
|
|
5002
|
+
in: rt,
|
|
4969
5003
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4970
|
-
this:
|
|
5004
|
+
this: Dr,
|
|
4971
5005
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4972
5006
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4973
5007
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4974
|
-
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, Q = { type: ")" },
|
|
4975
|
-
function
|
|
4976
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
4977
|
-
y[d[
|
|
5008
|
+
}, kt = { type: "[", beforeExpr: !0 }, It = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, Q = { type: ")" }, se = { type: ",", beforeExpr: !0 }, ne = { type: ";", beforeExpr: !0 }, Me = { type: ":", beforeExpr: !0 }, Ur = { type: "." }, jr = { type: "?", beforeExpr: !0 }, Br = { binop: 10, beforeExpr: !0 }, $r = { isAssign: !0, beforeExpr: !0 }, ye = { isAssign: !0, beforeExpr: !0 }, Li = { postfix: !0, prefix: !0, isUpdate: !0 }, Vr = { prefix: !0, beforeExpr: !0 }, Gr = { binop: 1, beforeExpr: !0 }, Yr = { binop: 2, beforeExpr: !0 }, Fi = { binop: 3, beforeExpr: !0 }, Mi = { binop: 4, beforeExpr: !0 }, Ui = { binop: 5, beforeExpr: !0 }, ji = { binop: 6, beforeExpr: !0 }, Bi = { binop: 7, beforeExpr: !0 }, $i = { binop: 8, beforeExpr: !0 }, Vi = { binop: 9, prefix: !0, beforeExpr: !0 }, Gi = { binop: 10, beforeExpr: !0 };
|
|
5009
|
+
function nt(c) {
|
|
5010
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), _ = 0; _ < d.length; _++)
|
|
5011
|
+
y[d[_]] = !0;
|
|
4978
5012
|
return function(C) {
|
|
4979
5013
|
return y[C] || !1;
|
|
4980
5014
|
};
|
|
4981
5015
|
}
|
|
4982
|
-
var
|
|
4983
|
-
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
4984
|
-
},
|
|
4985
|
-
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 &&
|
|
5016
|
+
var Yi = nt("class enum extends super const export import"), zr = nt("implements interface let package private protected public static yield"), it = nt("eval arguments"), zi = nt("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Xi = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Xr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Wi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Wr = new RegExp("[" + Xr + "]"), Ji = new RegExp("[" + Xr + Wi + "]"), at = /[\n\r\u2028\u2029]/, ot = /\r\n|[\n\r\u2028\u2029]/g, ut = function(c) {
|
|
5017
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Wr.test(String.fromCharCode(c));
|
|
5018
|
+
}, Jr = function(c) {
|
|
5019
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Ji.test(String.fromCharCode(c));
|
|
4986
5020
|
};
|
|
4987
|
-
function
|
|
5021
|
+
function me() {
|
|
4988
5022
|
this.line = L, this.column = a - W;
|
|
4989
5023
|
}
|
|
4990
|
-
function
|
|
5024
|
+
function Hi() {
|
|
4991
5025
|
L = 1, a = W = 0, I = !0, Ue();
|
|
4992
5026
|
}
|
|
4993
5027
|
function V(c, d) {
|
|
4994
|
-
v = a, r.locations && (S = new
|
|
5028
|
+
v = a, r.locations && (S = new me()), O = c, Ue(), x = d, I = c.beforeExpr;
|
|
4995
5029
|
}
|
|
4996
|
-
function
|
|
4997
|
-
var c = r.onComment && r.locations && new
|
|
5030
|
+
function Ki() {
|
|
5031
|
+
var c = r.onComment && r.locations && new me(), d = a, y = t.indexOf("*/", a += 2);
|
|
4998
5032
|
if (y === -1 && k(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
4999
|
-
|
|
5000
|
-
for (var
|
|
5001
|
-
++L, W =
|
|
5033
|
+
ot.lastIndex = d;
|
|
5034
|
+
for (var _; (_ = ot.exec(t)) && _.index < a; )
|
|
5035
|
+
++L, W = _.index + _[0].length;
|
|
5002
5036
|
}
|
|
5003
5037
|
r.onComment && r.onComment(
|
|
5004
5038
|
!0,
|
|
@@ -5006,11 +5040,11 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5006
5040
|
d,
|
|
5007
5041
|
a,
|
|
5008
5042
|
c,
|
|
5009
|
-
r.locations && new
|
|
5043
|
+
r.locations && new me()
|
|
5010
5044
|
);
|
|
5011
5045
|
}
|
|
5012
5046
|
function Dt() {
|
|
5013
|
-
for (var c = a, d = r.onComment && r.locations && new
|
|
5047
|
+
for (var c = a, d = r.onComment && r.locations && new me(), y = t.charCodeAt(a += 2); a < e && y !== 10 && y !== 13 && y !== 8232 && y !== 8233; )
|
|
5014
5048
|
++a, y = t.charCodeAt(a);
|
|
5015
5049
|
r.onComment && r.onComment(
|
|
5016
5050
|
!1,
|
|
@@ -5018,7 +5052,7 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5018
5052
|
c,
|
|
5019
5053
|
a,
|
|
5020
5054
|
d,
|
|
5021
|
-
r.locations && new
|
|
5055
|
+
r.locations && new me()
|
|
5022
5056
|
);
|
|
5023
5057
|
}
|
|
5024
5058
|
function Ue() {
|
|
@@ -5037,68 +5071,68 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5037
5071
|
else if (c === 47) {
|
|
5038
5072
|
var d = t.charCodeAt(a + 1);
|
|
5039
5073
|
if (d === 42)
|
|
5040
|
-
|
|
5074
|
+
Ki();
|
|
5041
5075
|
else if (d === 47)
|
|
5042
5076
|
Dt();
|
|
5043
5077
|
else break;
|
|
5044
5078
|
} else if (c === 160)
|
|
5045
5079
|
++a;
|
|
5046
|
-
else if (c >= 5760 &&
|
|
5080
|
+
else if (c >= 5760 && Xi.test(String.fromCharCode(c)))
|
|
5047
5081
|
++a;
|
|
5048
5082
|
else
|
|
5049
5083
|
break;
|
|
5050
5084
|
}
|
|
5051
5085
|
}
|
|
5052
|
-
function
|
|
5086
|
+
function qi() {
|
|
5053
5087
|
var c = t.charCodeAt(a + 1);
|
|
5054
|
-
c >= 48 && c <= 57 ?
|
|
5088
|
+
c >= 48 && c <= 57 ? Kr(!0) : (++a, V(Ur));
|
|
5055
5089
|
}
|
|
5056
|
-
function
|
|
5090
|
+
function Zi() {
|
|
5057
5091
|
var c = t.charCodeAt(a + 1);
|
|
5058
|
-
I ? (++a,
|
|
5092
|
+
I ? (++a, Hr()) : c === 61 ? G(ye, 2) : G(Br, 1);
|
|
5059
5093
|
}
|
|
5060
|
-
function
|
|
5094
|
+
function Qi() {
|
|
5061
5095
|
var c = t.charCodeAt(a + 1);
|
|
5062
|
-
c === 61 ? G(
|
|
5096
|
+
c === 61 ? G(ye, 2) : G(Gi, 1);
|
|
5063
5097
|
}
|
|
5064
|
-
function
|
|
5098
|
+
function ea(c) {
|
|
5065
5099
|
var d = t.charCodeAt(a + 1);
|
|
5066
|
-
d === c ? G(c === 124 ?
|
|
5100
|
+
d === c ? G(c === 124 ? Gr : Yr, 2) : d === 61 ? G(ye, 2) : G(c === 124 ? Fi : Ui, 1);
|
|
5067
5101
|
}
|
|
5068
|
-
function
|
|
5102
|
+
function ta() {
|
|
5069
5103
|
var c = t.charCodeAt(a + 1);
|
|
5070
|
-
c === 61 ? G(
|
|
5104
|
+
c === 61 ? G(ye, 2) : G(Mi, 1);
|
|
5071
5105
|
}
|
|
5072
|
-
function
|
|
5106
|
+
function ra(c) {
|
|
5073
5107
|
var d = t.charCodeAt(a + 1);
|
|
5074
5108
|
if (d === c) {
|
|
5075
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5109
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && at.test(t.slice(q, a))) {
|
|
5076
5110
|
a += 3, Dt(), Ue(), Se();
|
|
5077
5111
|
return;
|
|
5078
5112
|
}
|
|
5079
|
-
G(
|
|
5080
|
-
} else d === 61 ? G(
|
|
5113
|
+
G(Li, 2);
|
|
5114
|
+
} else d === 61 ? G(ye, 2) : G(Vi, 1);
|
|
5081
5115
|
}
|
|
5082
|
-
function
|
|
5116
|
+
function na(c) {
|
|
5083
5117
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
5084
5118
|
if (d === c) {
|
|
5085
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(
|
|
5119
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? G(ye, y + 1) : G($i, y);
|
|
5086
5120
|
return;
|
|
5087
5121
|
}
|
|
5088
5122
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5089
5123
|
a += 4, Dt(), Ue(), Se();
|
|
5090
5124
|
return;
|
|
5091
5125
|
}
|
|
5092
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(
|
|
5126
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Bi, y);
|
|
5093
5127
|
}
|
|
5094
|
-
function
|
|
5128
|
+
function ia(c) {
|
|
5095
5129
|
var d = t.charCodeAt(a + 1);
|
|
5096
|
-
d === 61 ? G(
|
|
5130
|
+
d === 61 ? G(ji, t.charCodeAt(a + 2) === 61 ? 3 : 2) : G(c === 61 ? $r : Vr, 1);
|
|
5097
5131
|
}
|
|
5098
|
-
function
|
|
5132
|
+
function aa(c) {
|
|
5099
5133
|
switch (c) {
|
|
5100
5134
|
case 46:
|
|
5101
|
-
return
|
|
5135
|
+
return qi();
|
|
5102
5136
|
case 40:
|
|
5103
5137
|
return ++a, V(re);
|
|
5104
5138
|
case 41:
|
|
@@ -5106,7 +5140,7 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5106
5140
|
case 59:
|
|
5107
5141
|
return ++a, V(ne);
|
|
5108
5142
|
case 44:
|
|
5109
|
-
return ++a, V(
|
|
5143
|
+
return ++a, V(se);
|
|
5110
5144
|
case 91:
|
|
5111
5145
|
return ++a, V(kt);
|
|
5112
5146
|
case 93:
|
|
@@ -5118,10 +5152,10 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5118
5152
|
case 58:
|
|
5119
5153
|
return ++a, V(Me);
|
|
5120
5154
|
case 63:
|
|
5121
|
-
return ++a, V(
|
|
5155
|
+
return ++a, V(jr);
|
|
5122
5156
|
case 48:
|
|
5123
5157
|
var d = t.charCodeAt(a + 1);
|
|
5124
|
-
if (d === 120 || d === 88) return
|
|
5158
|
+
if (d === 120 || d === 88) return oa();
|
|
5125
5159
|
case 49:
|
|
5126
5160
|
case 50:
|
|
5127
5161
|
case 51:
|
|
@@ -5131,72 +5165,72 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5131
5165
|
case 55:
|
|
5132
5166
|
case 56:
|
|
5133
5167
|
case 57:
|
|
5134
|
-
return
|
|
5168
|
+
return Kr(!1);
|
|
5135
5169
|
case 34:
|
|
5136
5170
|
case 39:
|
|
5137
|
-
return
|
|
5171
|
+
return ua(c);
|
|
5138
5172
|
case 47:
|
|
5139
|
-
return
|
|
5173
|
+
return Zi();
|
|
5140
5174
|
case 37:
|
|
5141
5175
|
case 42:
|
|
5142
|
-
return
|
|
5176
|
+
return Qi();
|
|
5143
5177
|
case 124:
|
|
5144
5178
|
case 38:
|
|
5145
|
-
return
|
|
5179
|
+
return ea(c);
|
|
5146
5180
|
case 94:
|
|
5147
|
-
return
|
|
5181
|
+
return ta();
|
|
5148
5182
|
case 43:
|
|
5149
5183
|
case 45:
|
|
5150
|
-
return
|
|
5184
|
+
return ra(c);
|
|
5151
5185
|
case 60:
|
|
5152
5186
|
case 62:
|
|
5153
|
-
return
|
|
5187
|
+
return na(c);
|
|
5154
5188
|
case 61:
|
|
5155
5189
|
case 33:
|
|
5156
|
-
return
|
|
5190
|
+
return ia(c);
|
|
5157
5191
|
case 126:
|
|
5158
|
-
return G(
|
|
5192
|
+
return G(Vr, 1);
|
|
5159
5193
|
}
|
|
5160
5194
|
return !1;
|
|
5161
5195
|
}
|
|
5162
5196
|
function Se(c) {
|
|
5163
|
-
if (c ? a = p + 1 : p = a, r.locations && (E = new
|
|
5197
|
+
if (c ? a = p + 1 : p = a, r.locations && (E = new me()), c) return Hr();
|
|
5164
5198
|
if (a >= e) return V(Nt);
|
|
5165
5199
|
var d = t.charCodeAt(a);
|
|
5166
|
-
if (
|
|
5167
|
-
return
|
|
5168
|
-
var y =
|
|
5200
|
+
if (ut(d) || d === 92)
|
|
5201
|
+
return Zr();
|
|
5202
|
+
var y = aa(d);
|
|
5169
5203
|
if (y === !1) {
|
|
5170
|
-
var
|
|
5171
|
-
if (
|
|
5172
|
-
return
|
|
5173
|
-
k(a, "Unexpected character '" +
|
|
5204
|
+
var _ = String.fromCharCode(d);
|
|
5205
|
+
if (_ === "\\" || Wr.test(_))
|
|
5206
|
+
return Zr();
|
|
5207
|
+
k(a, "Unexpected character '" + _ + "'");
|
|
5174
5208
|
}
|
|
5175
5209
|
}
|
|
5176
5210
|
function G(c, d) {
|
|
5177
5211
|
var y = t.slice(a, a + d);
|
|
5178
5212
|
a += d, V(c, y);
|
|
5179
5213
|
}
|
|
5180
|
-
function
|
|
5214
|
+
function Hr() {
|
|
5181
5215
|
for (var c, d, y = a; ; ) {
|
|
5182
5216
|
a >= e && k(y, "Unterminated regexp");
|
|
5183
|
-
var
|
|
5184
|
-
if (
|
|
5217
|
+
var _ = t.charAt(a);
|
|
5218
|
+
if (at.test(_) && k(y, "Unterminated regexp"), c)
|
|
5185
5219
|
c = !1;
|
|
5186
5220
|
else {
|
|
5187
|
-
if (
|
|
5221
|
+
if (_ === "[")
|
|
5188
5222
|
d = !0;
|
|
5189
|
-
else if (
|
|
5223
|
+
else if (_ === "]" && d)
|
|
5190
5224
|
d = !1;
|
|
5191
|
-
else if (
|
|
5225
|
+
else if (_ === "/" && !d)
|
|
5192
5226
|
break;
|
|
5193
|
-
c =
|
|
5227
|
+
c = _ === "\\";
|
|
5194
5228
|
}
|
|
5195
5229
|
++a;
|
|
5196
5230
|
}
|
|
5197
5231
|
var C = t.slice(y, a);
|
|
5198
5232
|
++a;
|
|
5199
|
-
var w =
|
|
5233
|
+
var w = qr();
|
|
5200
5234
|
w && !/^[gmi]*$/.test(w) && k(y, "Invalid regexp flag");
|
|
5201
5235
|
try {
|
|
5202
5236
|
var A = new RegExp(C, w);
|
|
@@ -5206,27 +5240,27 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5206
5240
|
V(_r, A);
|
|
5207
5241
|
}
|
|
5208
5242
|
function je(c, d) {
|
|
5209
|
-
for (var y = a,
|
|
5243
|
+
for (var y = a, _ = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
5210
5244
|
var A = t.charCodeAt(a), U;
|
|
5211
5245
|
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= c) break;
|
|
5212
|
-
++a,
|
|
5246
|
+
++a, _ = _ * c + U;
|
|
5213
5247
|
}
|
|
5214
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5248
|
+
return a === y || d !== void 0 && a - y !== d ? null : _;
|
|
5215
5249
|
}
|
|
5216
|
-
function
|
|
5250
|
+
function oa() {
|
|
5217
5251
|
a += 2;
|
|
5218
5252
|
var c = je(16);
|
|
5219
|
-
c === null && k(p + 2, "Expected hexadecimal number"),
|
|
5253
|
+
c === null && k(p + 2, "Expected hexadecimal number"), ut(t.charCodeAt(a)) && k(a, "Identifier directly after number"), V(tt, c);
|
|
5220
5254
|
}
|
|
5221
|
-
function
|
|
5222
|
-
var d = a, y = !1,
|
|
5255
|
+
function Kr(c) {
|
|
5256
|
+
var d = a, y = !1, _ = t.charCodeAt(a) === 48;
|
|
5223
5257
|
!c && je(10) === null && k(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, je(10), y = !0);
|
|
5224
5258
|
var C = t.charCodeAt(a);
|
|
5225
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && k(d, "Invalid number"), y = !0),
|
|
5259
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && k(d, "Invalid number"), y = !0), ut(t.charCodeAt(a)) && k(a, "Identifier directly after number");
|
|
5226
5260
|
var w = t.slice(d, a), A;
|
|
5227
|
-
y ? A = parseFloat(w) : !
|
|
5261
|
+
y ? A = parseFloat(w) : !_ || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || J ? k(d, "Invalid number") : A = parseInt(w, 8), V(tt, A);
|
|
5228
5262
|
}
|
|
5229
|
-
function
|
|
5263
|
+
function ua(c) {
|
|
5230
5264
|
a++;
|
|
5231
5265
|
for (var d = ""; ; ) {
|
|
5232
5266
|
a >= e && k(p, "Unterminated string constant");
|
|
@@ -5237,11 +5271,11 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5237
5271
|
}
|
|
5238
5272
|
if (y === 92) {
|
|
5239
5273
|
y = t.charCodeAt(++a);
|
|
5240
|
-
var
|
|
5241
|
-
for (
|
|
5242
|
-
|
|
5243
|
-
if (
|
|
5244
|
-
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(
|
|
5274
|
+
var _ = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5275
|
+
for (_ && (_ = _[0]); _ && parseInt(_, 8) > 255; )
|
|
5276
|
+
_ = _.slice(0, -1);
|
|
5277
|
+
if (_ === "0" && (_ = null), ++a, _)
|
|
5278
|
+
J && k(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(_, 8)), a += _.length - 1;
|
|
5245
5279
|
else
|
|
5246
5280
|
switch (y) {
|
|
5247
5281
|
case 110:
|
|
@@ -5252,13 +5286,13 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5252
5286
|
d += "\r";
|
|
5253
5287
|
break;
|
|
5254
5288
|
case 120:
|
|
5255
|
-
d += String.fromCharCode(
|
|
5289
|
+
d += String.fromCharCode(st(2));
|
|
5256
5290
|
break;
|
|
5257
5291
|
case 117:
|
|
5258
|
-
d += String.fromCharCode(
|
|
5292
|
+
d += String.fromCharCode(st(4));
|
|
5259
5293
|
break;
|
|
5260
5294
|
case 85:
|
|
5261
|
-
d += String.fromCharCode(
|
|
5295
|
+
d += String.fromCharCode(st(8));
|
|
5262
5296
|
break;
|
|
5263
5297
|
case 116:
|
|
5264
5298
|
d += " ";
|
|
@@ -5288,31 +5322,31 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5288
5322
|
(y === 13 || y === 10 || y === 8232 || y === 8233) && k(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5289
5323
|
}
|
|
5290
5324
|
}
|
|
5291
|
-
function
|
|
5325
|
+
function st(c) {
|
|
5292
5326
|
var d = je(16, c);
|
|
5293
5327
|
return d === null && k(p, "Bad character escape sequence"), /** @type {number} */
|
|
5294
5328
|
d;
|
|
5295
5329
|
}
|
|
5296
5330
|
var xe;
|
|
5297
|
-
function
|
|
5331
|
+
function qr() {
|
|
5298
5332
|
xe = !1;
|
|
5299
5333
|
for (var c, d = !0, y = a; ; ) {
|
|
5300
|
-
var
|
|
5301
|
-
if (
|
|
5334
|
+
var _ = t.charCodeAt(a);
|
|
5335
|
+
if (Jr(_))
|
|
5302
5336
|
xe && (c += t.charAt(a)), ++a;
|
|
5303
|
-
else if (
|
|
5337
|
+
else if (_ === 92) {
|
|
5304
5338
|
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 && k(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5305
|
-
var C =
|
|
5306
|
-
w || k(a - 1, "Invalid Unicode escape"), (d ?
|
|
5339
|
+
var C = st(4), w = String.fromCharCode(C);
|
|
5340
|
+
w || k(a - 1, "Invalid Unicode escape"), (d ? ut(C) : Jr(C)) || k(a - 4, "Invalid Unicode escape"), c += w;
|
|
5307
5341
|
} else
|
|
5308
5342
|
break;
|
|
5309
5343
|
d = !1;
|
|
5310
5344
|
}
|
|
5311
5345
|
return xe ? c : t.slice(y, a);
|
|
5312
5346
|
}
|
|
5313
|
-
function
|
|
5314
|
-
var c =
|
|
5315
|
-
!xe &&
|
|
5347
|
+
function Zr() {
|
|
5348
|
+
var c = qr(), d = Te;
|
|
5349
|
+
!xe && zi(c) && (d = Di[c]), V(d, c);
|
|
5316
5350
|
}
|
|
5317
5351
|
function D() {
|
|
5318
5352
|
Le = p, q = v, Oe = S, Se();
|
|
@@ -5324,19 +5358,19 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5324
5358
|
`, W - 2) + 1, --L;
|
|
5325
5359
|
Ue(), Se();
|
|
5326
5360
|
}
|
|
5327
|
-
function
|
|
5361
|
+
function Qr() {
|
|
5328
5362
|
this.type = null, this.start = p, this.end = null;
|
|
5329
5363
|
}
|
|
5330
|
-
function
|
|
5364
|
+
function en() {
|
|
5331
5365
|
this.start = E, this.end = null, i && (this.source = i);
|
|
5332
5366
|
}
|
|
5333
5367
|
function z() {
|
|
5334
|
-
var c = new
|
|
5335
|
-
return r.locations && (c.loc = new
|
|
5368
|
+
var c = new Qr();
|
|
5369
|
+
return r.locations && (c.loc = new en()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5336
5370
|
}
|
|
5337
|
-
function
|
|
5338
|
-
var d = new
|
|
5339
|
-
return d.start = c.start, r.locations && (d.loc = new
|
|
5371
|
+
function le(c) {
|
|
5372
|
+
var d = new Qr();
|
|
5373
|
+
return d.start = c.start, r.locations && (d.loc = new en(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5340
5374
|
}
|
|
5341
5375
|
function P(c, d) {
|
|
5342
5376
|
return c.type = d, c.end = q, r.locations && (c.loc.end = Oe), r.ranges && (c.range[1] = q), c;
|
|
@@ -5347,11 +5381,11 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5347
5381
|
function j(c) {
|
|
5348
5382
|
return O === c ? (D(), !0) : !1;
|
|
5349
5383
|
}
|
|
5350
|
-
function
|
|
5351
|
-
return !r.strictSemicolons && (O === Nt || O === Ne ||
|
|
5384
|
+
function lt() {
|
|
5385
|
+
return !r.strictSemicolons && (O === Nt || O === Ne || at.test(t.slice(q, p)));
|
|
5352
5386
|
}
|
|
5353
|
-
function
|
|
5354
|
-
!j(ne) && !
|
|
5387
|
+
function ge() {
|
|
5388
|
+
!j(ne) && !lt() && ie();
|
|
5355
5389
|
}
|
|
5356
5390
|
function $(c) {
|
|
5357
5391
|
O === c ? D() : ie();
|
|
@@ -5359,88 +5393,88 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5359
5393
|
function ie() {
|
|
5360
5394
|
k(p, "Unexpected token");
|
|
5361
5395
|
}
|
|
5362
|
-
function
|
|
5363
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), J && c.type === "Identifier" &&
|
|
5396
|
+
function ct(c) {
|
|
5397
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && k(c.start, "Assigning to rvalue"), J && c.type === "Identifier" && it(c.name) && k(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5364
5398
|
}
|
|
5365
|
-
function
|
|
5366
|
-
Le = q = a, r.locations && (Oe = new
|
|
5399
|
+
function sa(c) {
|
|
5400
|
+
Le = q = a, r.locations && (Oe = new me()), ve = J = !1, B = [], Se();
|
|
5367
5401
|
var d = c || z(), y = !0;
|
|
5368
5402
|
for (c || (d.body = []); O !== Nt; ) {
|
|
5369
|
-
var
|
|
5370
|
-
d.body.push(
|
|
5403
|
+
var _ = Z();
|
|
5404
|
+
d.body.push(_), y && Ft(_) && Lt(!0), y = !1;
|
|
5371
5405
|
}
|
|
5372
5406
|
return P(d, "Program");
|
|
5373
5407
|
}
|
|
5374
|
-
var Mt = { kind: "loop" },
|
|
5408
|
+
var Mt = { kind: "loop" }, la = { kind: "switch" };
|
|
5375
5409
|
function Z() {
|
|
5376
|
-
(O ===
|
|
5410
|
+
(O === Br || O === ye && x === "/=") && Se(!0);
|
|
5377
5411
|
var c = O, d = z();
|
|
5378
5412
|
switch (c) {
|
|
5379
5413
|
case St:
|
|
5380
|
-
case
|
|
5414
|
+
case Er:
|
|
5381
5415
|
D();
|
|
5382
5416
|
var y = c === St;
|
|
5383
|
-
j(ne) ||
|
|
5384
|
-
for (var
|
|
5385
|
-
var C = B[
|
|
5417
|
+
j(ne) || lt() ? d.label = null : O !== Te ? ie() : (d.label = ce(), ge());
|
|
5418
|
+
for (var _ = 0; _ < B.length; ++_) {
|
|
5419
|
+
var C = B[_];
|
|
5386
5420
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5387
5421
|
break;
|
|
5388
5422
|
}
|
|
5389
|
-
return
|
|
5390
|
-
case
|
|
5391
|
-
return D(),
|
|
5392
|
-
case
|
|
5393
|
-
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(),
|
|
5394
|
-
case
|
|
5423
|
+
return _ === B.length && k(d.start, "Unsyntactic " + c.keyword), P(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5424
|
+
case Rr:
|
|
5425
|
+
return D(), ge(), P(d, "DebuggerStatement");
|
|
5426
|
+
case Tr:
|
|
5427
|
+
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(), ge(), P(d, "DoWhileStatement");
|
|
5428
|
+
case xr:
|
|
5395
5429
|
if (D(), B.push(Mt), $(re), O === ne) return Ut(d, null);
|
|
5396
5430
|
if (O === Ct) {
|
|
5397
5431
|
var w = z();
|
|
5398
|
-
return D(),
|
|
5432
|
+
return D(), rn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(rt) ? tn(d, w) : Ut(d, w);
|
|
5399
5433
|
}
|
|
5400
5434
|
var w = X(!1, !0);
|
|
5401
|
-
return j(
|
|
5435
|
+
return j(rt) ? (ct(w), tn(d, w)) : Ut(d, w);
|
|
5402
5436
|
case wt:
|
|
5403
5437
|
return D(), Gt(d, !0);
|
|
5404
|
-
case xr:
|
|
5405
|
-
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Tr) ? Z() : null, P(d, "IfStatement");
|
|
5406
5438
|
case wr:
|
|
5407
|
-
return
|
|
5439
|
+
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Nr) ? Z() : null, P(d, "IfStatement");
|
|
5440
|
+
case Pr:
|
|
5441
|
+
return !ve && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(ne) || lt() ? d.argument = null : (d.argument = X(), ge()), P(d, "ReturnStatement");
|
|
5408
5442
|
case Pt:
|
|
5409
|
-
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(
|
|
5443
|
+
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(la);
|
|
5410
5444
|
for (var A, U; O !== Ne; )
|
|
5411
|
-
if (O === xt || O ===
|
|
5445
|
+
if (O === xt || O === Or) {
|
|
5412
5446
|
var Ge = O === xt;
|
|
5413
5447
|
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
5448
|
} else
|
|
5415
5449
|
A || ie(), A.consequent.push(Z());
|
|
5416
5450
|
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
5451
|
case Cr:
|
|
5420
|
-
|
|
5452
|
+
return D(), at.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = X(), ge(), P(d, "ThrowStatement");
|
|
5453
|
+
case Ar:
|
|
5454
|
+
if (D(), d.block = $e(), d.handler = null, O === br) {
|
|
5421
5455
|
var we = z();
|
|
5422
|
-
D(), $(re), we.param =
|
|
5456
|
+
D(), $(re), we.param = ce(), J && it(we.param.name) && k(we.param.start, "Binding " + we.param.name + " in strict mode"), $(Q), we.body = $e(), d.handler = P(we, "CatchClause");
|
|
5423
5457
|
}
|
|
5424
|
-
return d.finalizer = j(
|
|
5458
|
+
return d.finalizer = j(Sr) ? $e() : null, !d.handler && !d.finalizer && k(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5425
5459
|
case Ct:
|
|
5426
|
-
return D(),
|
|
5460
|
+
return D(), rn(d), ge(), P(d, "VariableDeclaration");
|
|
5427
5461
|
case At:
|
|
5428
5462
|
return D(), d.test = Be(), B.push(Mt), d.body = Z(), B.pop(), P(d, "WhileStatement");
|
|
5429
|
-
case
|
|
5463
|
+
case kr:
|
|
5430
5464
|
return J && k(p, "'with' in strict mode"), D(), d.object = Be(), d.body = Z(), P(d, "WithStatement");
|
|
5431
5465
|
case Fe:
|
|
5432
5466
|
return $e();
|
|
5433
5467
|
case ne:
|
|
5434
5468
|
return D(), P(d, "EmptyStatement");
|
|
5435
5469
|
default:
|
|
5436
|
-
var zt = x,
|
|
5437
|
-
if (c === Te &&
|
|
5438
|
-
for (var
|
|
5439
|
-
B[
|
|
5440
|
-
var
|
|
5441
|
-
return B.push({ name: zt, kind:
|
|
5470
|
+
var zt = x, ft = X();
|
|
5471
|
+
if (c === Te && ft.type === "Identifier" && j(Me)) {
|
|
5472
|
+
for (var _ = 0; _ < B.length; ++_)
|
|
5473
|
+
B[_].name === zt && k(ft.start, "Label '" + zt + "' is already declared");
|
|
5474
|
+
var va = O.isLoop ? "loop" : O === Pt ? "switch" : null;
|
|
5475
|
+
return B.push({ name: zt, kind: va }), d.body = Z(), B.pop(), d.label = ft, P(d, "LabeledStatement");
|
|
5442
5476
|
} else
|
|
5443
|
-
return d.expression =
|
|
5477
|
+
return d.expression = ft, ge(), P(d, "ExpressionStatement");
|
|
5444
5478
|
}
|
|
5445
5479
|
}
|
|
5446
5480
|
function Be() {
|
|
@@ -5449,61 +5483,61 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5449
5483
|
return $(Q), c;
|
|
5450
5484
|
}
|
|
5451
5485
|
function $e(c) {
|
|
5452
|
-
var d = z(), y = !0,
|
|
5486
|
+
var d = z(), y = !0, _ = !1, C;
|
|
5453
5487
|
for (d.body = [], $(Fe); !j(Ne); ) {
|
|
5454
5488
|
var w = Z();
|
|
5455
|
-
d.body.push(w), y && c && Ft(w) && (C =
|
|
5489
|
+
d.body.push(w), y && c && Ft(w) && (C = _, Lt(_ = !0)), y = !1;
|
|
5456
5490
|
}
|
|
5457
|
-
return
|
|
5491
|
+
return _ && !C && Lt(!1), P(d, "BlockStatement");
|
|
5458
5492
|
}
|
|
5459
5493
|
function Ut(c, d) {
|
|
5460
5494
|
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");
|
|
5461
5495
|
}
|
|
5462
|
-
function
|
|
5496
|
+
function tn(c, d) {
|
|
5463
5497
|
return c.left = d, c.right = X(), $(Q), c.body = Z(), B.pop(), P(c, "ForInStatement");
|
|
5464
5498
|
}
|
|
5465
|
-
function
|
|
5499
|
+
function rn(c, d) {
|
|
5466
5500
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5467
5501
|
var y = z();
|
|
5468
|
-
if (y.id =
|
|
5502
|
+
if (y.id = ce(), J && it(y.id.name) && k(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j($r) ? X(!0, d) : null, c.declarations.push(P(y, "VariableDeclarator")), !j(se)) break;
|
|
5469
5503
|
}
|
|
5470
5504
|
}
|
|
5471
5505
|
function X(c, d) {
|
|
5472
5506
|
var y = jt(d);
|
|
5473
|
-
if (!c && O ===
|
|
5474
|
-
var
|
|
5475
|
-
for (
|
|
5476
|
-
return P(
|
|
5507
|
+
if (!c && O === se) {
|
|
5508
|
+
var _ = le(y);
|
|
5509
|
+
for (_.expressions = [y]; j(se); ) _.expressions.push(jt(d));
|
|
5510
|
+
return P(_, "SequenceExpression");
|
|
5477
5511
|
}
|
|
5478
5512
|
return y;
|
|
5479
5513
|
}
|
|
5480
5514
|
function jt(c) {
|
|
5481
|
-
var d =
|
|
5515
|
+
var d = ca(c);
|
|
5482
5516
|
if (O.isAssign) {
|
|
5483
|
-
var y =
|
|
5484
|
-
return y.operator = x, y.left = d, D(), y.right = jt(c),
|
|
5517
|
+
var y = le(d);
|
|
5518
|
+
return y.operator = x, y.left = d, D(), y.right = jt(c), ct(d), P(y, "AssignmentExpression");
|
|
5485
5519
|
}
|
|
5486
5520
|
return d;
|
|
5487
5521
|
}
|
|
5488
|
-
function
|
|
5489
|
-
var d =
|
|
5490
|
-
if (j(
|
|
5491
|
-
var y =
|
|
5522
|
+
function ca(c) {
|
|
5523
|
+
var d = fa(c);
|
|
5524
|
+
if (j(jr)) {
|
|
5525
|
+
var y = le(d);
|
|
5492
5526
|
return y.test = d, y.consequent = X(!0), $(Me), y.alternate = X(!0, c), P(y, "ConditionalExpression");
|
|
5493
5527
|
}
|
|
5494
5528
|
return d;
|
|
5495
5529
|
}
|
|
5496
|
-
function
|
|
5530
|
+
function fa(c) {
|
|
5497
5531
|
return Bt($t(), -1, c);
|
|
5498
5532
|
}
|
|
5499
5533
|
function Bt(c, d, y) {
|
|
5500
|
-
var
|
|
5501
|
-
if (
|
|
5502
|
-
var C =
|
|
5534
|
+
var _ = O.binop;
|
|
5535
|
+
if (_ !== null && (!y || O !== rt) && _ > d) {
|
|
5536
|
+
var C = le(c);
|
|
5503
5537
|
C.left = c, C.operator = x;
|
|
5504
5538
|
var w = O;
|
|
5505
|
-
D(), C.right = Bt($t(),
|
|
5506
|
-
var A = P(C, w ===
|
|
5539
|
+
D(), C.right = Bt($t(), _, y);
|
|
5540
|
+
var A = P(C, w === Gr || w === Yr ? "LogicalExpression" : "BinaryExpression");
|
|
5507
5541
|
return Bt(A, d, y);
|
|
5508
5542
|
}
|
|
5509
5543
|
return c;
|
|
@@ -5511,107 +5545,107 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5511
5545
|
function $t() {
|
|
5512
5546
|
if (O.prefix) {
|
|
5513
5547
|
var c = z(), d = O.isUpdate;
|
|
5514
|
-
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = $t(), d ?
|
|
5548
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = $t(), d ? ct(c.argument) : J && c.operator === "delete" && c.argument.type === "Identifier" && k(c.start, "Deleting local variable in strict mode"), P(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5515
5549
|
}
|
|
5516
|
-
for (var y =
|
|
5517
|
-
var c =
|
|
5518
|
-
c.operator = x, c.prefix = !1, c.argument = y,
|
|
5550
|
+
for (var y = pa(); O.postfix && !lt(); ) {
|
|
5551
|
+
var c = le(y);
|
|
5552
|
+
c.operator = x, c.prefix = !1, c.argument = y, ct(y), D(), y = P(c, "UpdateExpression");
|
|
5519
5553
|
}
|
|
5520
5554
|
return y;
|
|
5521
5555
|
}
|
|
5522
|
-
function
|
|
5556
|
+
function pa() {
|
|
5523
5557
|
return Ve(Vt());
|
|
5524
5558
|
}
|
|
5525
5559
|
function Ve(c, d) {
|
|
5526
5560
|
var y;
|
|
5527
|
-
return j(
|
|
5561
|
+
return j(Ur) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1, Ve(P(y, "MemberExpression"), d)) : j(kt) ? (y = le(c), y.object = c, y.property = X(), y.computed = !0, $(It), Ve(P(y, "MemberExpression"), d)) : !d && j(re) ? (y = le(c), y.callee = c, y.arguments = Yt(Q, !1), Ve(P(y, "CallExpression"), d)) : c;
|
|
5528
5562
|
}
|
|
5529
5563
|
function Vt() {
|
|
5530
5564
|
var c;
|
|
5531
5565
|
switch (O) {
|
|
5532
|
-
case
|
|
5566
|
+
case Dr:
|
|
5533
5567
|
return c = z(), D(), P(c, "ThisExpression");
|
|
5534
5568
|
case Te:
|
|
5535
|
-
return
|
|
5536
|
-
case
|
|
5569
|
+
return ce();
|
|
5570
|
+
case tt:
|
|
5537
5571
|
case Tt:
|
|
5538
5572
|
case _r:
|
|
5539
5573
|
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), P(c, "Literal");
|
|
5540
|
-
case Dr:
|
|
5541
5574
|
case Lr:
|
|
5542
5575
|
case Fr:
|
|
5576
|
+
case Mr:
|
|
5543
5577
|
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), P(c, "Literal");
|
|
5544
5578
|
case re:
|
|
5545
5579
|
var d = E, y = p;
|
|
5546
5580
|
D();
|
|
5547
|
-
var
|
|
5548
|
-
return
|
|
5581
|
+
var _ = X();
|
|
5582
|
+
return _.start = y, _.end = v, r.locations && (_.loc.start = d, _.loc.end = S), r.ranges && (_.range = [y, v]), $(Q), _;
|
|
5549
5583
|
case kt:
|
|
5550
5584
|
return c = z(), D(), c.elements = Yt(It, !0, !0), P(c, "ArrayExpression");
|
|
5551
5585
|
case Fe:
|
|
5552
|
-
return
|
|
5586
|
+
return ha();
|
|
5553
5587
|
case wt:
|
|
5554
5588
|
return c = z(), D(), Gt(c, !1);
|
|
5555
|
-
case
|
|
5556
|
-
return
|
|
5589
|
+
case Ir:
|
|
5590
|
+
return da();
|
|
5557
5591
|
}
|
|
5558
5592
|
ie();
|
|
5559
5593
|
}
|
|
5560
|
-
function
|
|
5594
|
+
function da() {
|
|
5561
5595
|
var c = z();
|
|
5562
|
-
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(re) ? Yt(Q, !1) :
|
|
5596
|
+
return D(), c.callee = Ve(Vt(), !0), c.arguments = j(re) ? Yt(Q, !1) : Ii, P(c, "NewExpression");
|
|
5563
5597
|
}
|
|
5564
|
-
function
|
|
5598
|
+
function ha() {
|
|
5565
5599
|
var c = z(), d = !0, y = !1;
|
|
5566
5600
|
for (c.properties = [], D(); !j(Ne); ) {
|
|
5567
5601
|
if (d)
|
|
5568
5602
|
d = !1;
|
|
5569
|
-
else if ($(
|
|
5603
|
+
else if ($(se), r.allowTrailingCommas && j(Ne))
|
|
5570
5604
|
break;
|
|
5571
|
-
var
|
|
5572
|
-
if (j(Me) ? (
|
|
5605
|
+
var _ = { key: nn() }, C = !1, w;
|
|
5606
|
+
if (j(Me) ? (_.value = X(!0), w = _.kind = "init") : _.key.type === "Identifier" && (_.key.name === "get" || _.key.name === "set") ? (C = y = !0, w = _.kind = _.key.name, _.key = nn(), O !== re && ie(), _.value = Gt(z(), !1)) : ie(), _.key.type === "Identifier" && (J || y))
|
|
5573
5607
|
for (var A = 0; A < c.properties.length; ++A) {
|
|
5574
5608
|
var U = c.properties[A];
|
|
5575
|
-
if (U.key.name ===
|
|
5609
|
+
if (U.key.name === _.key.name) {
|
|
5576
5610
|
var Ge = w === U.kind || C && U.kind === "init" || w === "init" && (U.kind === "get" || U.kind === "set");
|
|
5577
|
-
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(
|
|
5611
|
+
Ge && !J && w === "init" && U.kind === "init" && (Ge = !1), Ge && k(_.key.start, "Redefinition of property");
|
|
5578
5612
|
}
|
|
5579
5613
|
}
|
|
5580
|
-
c.properties.push(
|
|
5614
|
+
c.properties.push(_);
|
|
5581
5615
|
}
|
|
5582
5616
|
return P(c, "ObjectExpression");
|
|
5583
5617
|
}
|
|
5584
|
-
function
|
|
5585
|
-
return O ===
|
|
5618
|
+
function nn() {
|
|
5619
|
+
return O === tt || O === Tt ? Vt() : ce(!0);
|
|
5586
5620
|
}
|
|
5587
5621
|
function Gt(c, d) {
|
|
5588
|
-
O === Te ? c.id =
|
|
5622
|
+
O === Te ? c.id = ce() : d ? ie() : c.id = null, c.params = [];
|
|
5589
5623
|
var y = !0;
|
|
5590
5624
|
for ($(re); !j(Q); )
|
|
5591
|
-
y ? y = !1 : $(
|
|
5592
|
-
var
|
|
5593
|
-
if (
|
|
5625
|
+
y ? y = !1 : $(se), c.params.push(ce());
|
|
5626
|
+
var _ = ve, C = B;
|
|
5627
|
+
if (ve = !0, B = [], c.body = $e(!0), ve = _, B = C, J || c.body.body.length && Ft(c.body.body[0]))
|
|
5594
5628
|
for (var w = c.id ? -1 : 0; w < c.params.length; ++w) {
|
|
5595
5629
|
var A = w < 0 ? c.id : c.params[w];
|
|
5596
|
-
if ((
|
|
5630
|
+
if ((zr(A.name) || it(A.name)) && k(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5597
5631
|
for (var U = 0; U < w; ++U)
|
|
5598
5632
|
A.name === c.params[U].name && k(A.start, "Argument name clash in strict mode");
|
|
5599
5633
|
}
|
|
5600
5634
|
return P(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5601
5635
|
}
|
|
5602
5636
|
function Yt(c, d, y) {
|
|
5603
|
-
for (var
|
|
5637
|
+
for (var _ = [], C = !0; !j(c); ) {
|
|
5604
5638
|
if (C)
|
|
5605
5639
|
C = !1;
|
|
5606
|
-
else if ($(
|
|
5640
|
+
else if ($(se), d && r.allowTrailingCommas && j(c))
|
|
5607
5641
|
break;
|
|
5608
|
-
|
|
5642
|
+
_.push(y && O === se ? null : X(!0));
|
|
5609
5643
|
}
|
|
5610
|
-
return
|
|
5644
|
+
return _;
|
|
5611
5645
|
}
|
|
5612
|
-
function
|
|
5646
|
+
function ce(c) {
|
|
5613
5647
|
var d = z();
|
|
5614
|
-
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved &&
|
|
5648
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) || J && zr(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");
|
|
5615
5649
|
}
|
|
5616
5650
|
});
|
|
5617
5651
|
}
|
|
@@ -5623,12 +5657,12 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5623
5657
|
\*********************/
|
|
5624
5658
|
/***/
|
|
5625
5659
|
(m) => {
|
|
5626
|
-
m.exports =
|
|
5660
|
+
m.exports = Bl;
|
|
5627
5661
|
}
|
|
5628
5662
|
)
|
|
5629
5663
|
/******/
|
|
5630
5664
|
}, h = {};
|
|
5631
|
-
function
|
|
5665
|
+
function g(m) {
|
|
5632
5666
|
var T = h[m];
|
|
5633
5667
|
if (T !== void 0)
|
|
5634
5668
|
return T.exports;
|
|
@@ -5641,12 +5675,12 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5641
5675
|
exports: {}
|
|
5642
5676
|
/******/
|
|
5643
5677
|
};
|
|
5644
|
-
return f[m].call(R.exports, R, R.exports,
|
|
5678
|
+
return f[m].call(R.exports, R, R.exports, g), R.exports;
|
|
5645
5679
|
}
|
|
5646
|
-
|
|
5680
|
+
g.d = (m, T) => {
|
|
5647
5681
|
for (var R in T)
|
|
5648
|
-
|
|
5649
|
-
},
|
|
5682
|
+
g.o(T, R) && !g.o(m, R) && Object.defineProperty(m, R, { enumerable: !0, get: T[R] });
|
|
5683
|
+
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.r = (m) => {
|
|
5650
5684
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5651
5685
|
};
|
|
5652
5686
|
var b = {};
|
|
@@ -5654,27 +5688,27 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5654
5688
|
/*!*******************************!*\
|
|
5655
5689
|
!*** ./src/js-interpreter.js ***!
|
|
5656
5690
|
\*******************************/
|
|
5657
|
-
|
|
5691
|
+
g.r(b), g.d(b, {
|
|
5658
5692
|
/* harmony export */
|
|
5659
5693
|
default: () => R
|
|
5660
5694
|
/* harmony export */
|
|
5661
5695
|
});
|
|
5662
|
-
const m =
|
|
5696
|
+
const m = g(
|
|
5663
5697
|
/*! ../original-repo/acorn */
|
|
5664
5698
|
"./original-repo/acorn.js"
|
|
5665
5699
|
);
|
|
5666
5700
|
globalThis.acorn = m;
|
|
5667
|
-
const { Interpreter: T } =
|
|
5701
|
+
const { Interpreter: T } = g(
|
|
5668
5702
|
/*! ../original-repo/interpreter */
|
|
5669
5703
|
"./original-repo/interpreter.js"
|
|
5670
5704
|
), R = T;
|
|
5671
5705
|
})(), b = b.default, b;
|
|
5672
5706
|
})()
|
|
5673
5707
|
));
|
|
5674
|
-
})(
|
|
5675
|
-
var
|
|
5676
|
-
const
|
|
5677
|
-
function
|
|
5708
|
+
})(Ci);
|
|
5709
|
+
var $l = Ci.exports;
|
|
5710
|
+
const Vl = /* @__PURE__ */ Fl($l);
|
|
5711
|
+
function Gl(n, o) {
|
|
5678
5712
|
function f(T) {
|
|
5679
5713
|
const R = n.pseudoToNative(T);
|
|
5680
5714
|
console.log(R);
|
|
@@ -5682,11 +5716,11 @@ function Bl(n, o) {
|
|
|
5682
5716
|
function h(T) {
|
|
5683
5717
|
const R = n.pseudoToNative(T);
|
|
5684
5718
|
let r = "";
|
|
5685
|
-
typeof R == "object" ? r = JSON.stringify(R) : r = String(R),
|
|
5719
|
+
typeof R == "object" ? r = JSON.stringify(R) : r = String(R), Gn.emit("consoleAppend", r);
|
|
5686
5720
|
}
|
|
5687
|
-
function
|
|
5721
|
+
function g(T, R) {
|
|
5688
5722
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5689
|
-
r === "info" ?
|
|
5723
|
+
r === "info" ? Sa(t) : r === "success" ? xa(t) : r === "warning" ? wa(t) : r === "error" && Pa(t);
|
|
5690
5724
|
}
|
|
5691
5725
|
function b(T, R) {
|
|
5692
5726
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
@@ -5711,7 +5745,7 @@ function Bl(n, o) {
|
|
|
5711
5745
|
), n.setProperty(
|
|
5712
5746
|
o,
|
|
5713
5747
|
"__messageV1__",
|
|
5714
|
-
n.createNativeFunction(
|
|
5748
|
+
n.createNativeFunction(g)
|
|
5715
5749
|
), n.setProperty(
|
|
5716
5750
|
o,
|
|
5717
5751
|
"__timeoutV1__",
|
|
@@ -5722,14 +5756,14 @@ function Bl(n, o) {
|
|
|
5722
5756
|
n.createAsyncFunction(m)
|
|
5723
5757
|
);
|
|
5724
5758
|
}
|
|
5725
|
-
class
|
|
5759
|
+
class Yl {
|
|
5726
5760
|
constructor(o) {
|
|
5727
5761
|
Xt(this, "context");
|
|
5728
5762
|
Xt(this, "nodes");
|
|
5729
5763
|
this.context = o, this.nodes = {};
|
|
5730
5764
|
const f = (h) => {
|
|
5731
|
-
var
|
|
5732
|
-
this.nodes[h.basic.id] = h, (
|
|
5765
|
+
var g;
|
|
5766
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((b) => f(b));
|
|
5733
5767
|
};
|
|
5734
5768
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5735
5769
|
}
|
|
@@ -5737,35 +5771,35 @@ class $l {
|
|
|
5737
5771
|
return this.nodes[o];
|
|
5738
5772
|
}
|
|
5739
5773
|
addNode(o, f, h) {
|
|
5740
|
-
const
|
|
5774
|
+
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5741
5775
|
let b;
|
|
5742
5776
|
if (o) {
|
|
5743
5777
|
const T = this.getNode(o);
|
|
5744
5778
|
if (!T)
|
|
5745
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5779
|
+
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5746
5780
|
if (!T.children)
|
|
5747
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5781
|
+
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5748
5782
|
b = T.children;
|
|
5749
5783
|
} else
|
|
5750
5784
|
b = this.context.data.view.nodes;
|
|
5751
5785
|
if (!b)
|
|
5752
5786
|
return "";
|
|
5753
|
-
const m =
|
|
5787
|
+
const m = cl(
|
|
5754
5788
|
this.context.type,
|
|
5755
5789
|
this.context.data.type,
|
|
5756
5790
|
this.context.data.version,
|
|
5757
5791
|
f,
|
|
5758
5792
|
h
|
|
5759
5793
|
);
|
|
5760
|
-
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5794
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5761
5795
|
}
|
|
5762
5796
|
deleteNode(o) {
|
|
5763
5797
|
this.getNode(o);
|
|
5764
5798
|
}
|
|
5765
5799
|
}
|
|
5766
|
-
function
|
|
5767
|
-
const h = new
|
|
5768
|
-
function
|
|
5800
|
+
function zl(n, o, f) {
|
|
5801
|
+
const h = new Yl(n);
|
|
5802
|
+
function g(t, e, i) {
|
|
5769
5803
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5770
5804
|
return o.nativeToPseudo(a);
|
|
5771
5805
|
}
|
|
@@ -5815,20 +5849,20 @@ function Vl(n, o, f) {
|
|
|
5815
5849
|
}
|
|
5816
5850
|
function R(t, e, i) {
|
|
5817
5851
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5818
|
-
|
|
5852
|
+
Ca({ title: u, text: s }).then((l) => {
|
|
5819
5853
|
i(o.nativeToPseudo(l)), o.run();
|
|
5820
5854
|
});
|
|
5821
5855
|
}
|
|
5822
5856
|
function r(t, e, i, u) {
|
|
5823
5857
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5824
|
-
|
|
5858
|
+
Aa({ title: s, label: l, value: a }).then((p) => {
|
|
5825
5859
|
u(o.nativeToPseudo(p)), o.run();
|
|
5826
5860
|
});
|
|
5827
5861
|
}
|
|
5828
5862
|
o.setProperty(
|
|
5829
5863
|
f,
|
|
5830
5864
|
"__addNodeV1__",
|
|
5831
|
-
o.createNativeFunction(
|
|
5865
|
+
o.createNativeFunction(g)
|
|
5832
5866
|
), o.setProperty(
|
|
5833
5867
|
f,
|
|
5834
5868
|
"__deleteNodeV1__",
|
|
@@ -5851,16 +5885,16 @@ function Vl(n, o, f) {
|
|
|
5851
5885
|
o.createAsyncFunction(r)
|
|
5852
5886
|
);
|
|
5853
5887
|
}
|
|
5854
|
-
function
|
|
5855
|
-
|
|
5888
|
+
function Xl(n, o, f) {
|
|
5889
|
+
Gl(o, f), zl(n, o, f);
|
|
5856
5890
|
}
|
|
5857
|
-
const
|
|
5891
|
+
const Wl = `
|
|
5858
5892
|
var __env__ = 'dev'
|
|
5859
5893
|
|
|
5860
5894
|
function __getEnvV1__() {
|
|
5861
5895
|
return __env__
|
|
5862
5896
|
}
|
|
5863
|
-
`,
|
|
5897
|
+
`, Jl = `
|
|
5864
5898
|
var __events__ = {}
|
|
5865
5899
|
|
|
5866
5900
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5931,7 +5965,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5931
5965
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5932
5966
|
}
|
|
5933
5967
|
}
|
|
5934
|
-
`,
|
|
5968
|
+
`, Hl = `
|
|
5935
5969
|
var __timers__ = {}
|
|
5936
5970
|
var __currTimerId__ = 0
|
|
5937
5971
|
|
|
@@ -5973,15 +6007,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5973
6007
|
}
|
|
5974
6008
|
}
|
|
5975
6009
|
}
|
|
5976
|
-
`,
|
|
6010
|
+
`, Kl = `
|
|
5977
6011
|
function __destroy__() {
|
|
5978
6012
|
}
|
|
5979
|
-
`,
|
|
5980
|
-
function
|
|
5981
|
-
const f = new
|
|
5982
|
-
|
|
5983
|
-
(h,
|
|
5984
|
-
|
|
6013
|
+
`, ql = Wl + Jl + Hl + Kl;
|
|
6014
|
+
function Zl(n, o) {
|
|
6015
|
+
const f = new Vl(
|
|
6016
|
+
ql,
|
|
6017
|
+
(h, g) => {
|
|
6018
|
+
Xl(n, h, g);
|
|
5985
6019
|
}
|
|
5986
6020
|
);
|
|
5987
6021
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -5989,10 +6023,10 @@ __env__ = '${n.env}';
|
|
|
5989
6023
|
__triggerEvent__('globality', 'startup');
|
|
5990
6024
|
`), f.run(), f;
|
|
5991
6025
|
}
|
|
5992
|
-
function
|
|
6026
|
+
function Mn(n) {
|
|
5993
6027
|
n.appendCode("__destroy__();"), n.run();
|
|
5994
6028
|
}
|
|
5995
|
-
const
|
|
6029
|
+
const Ql = /* @__PURE__ */ oe({
|
|
5996
6030
|
__name: "index",
|
|
5997
6031
|
props: {
|
|
5998
6032
|
id: {},
|
|
@@ -6001,21 +6035,21 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6001
6035
|
outer: { type: Boolean }
|
|
6002
6036
|
},
|
|
6003
6037
|
setup(n) {
|
|
6004
|
-
const { t: o } =
|
|
6038
|
+
const { t: o } = ka(), f = n, h = fl(), g = Re(), b = Ri(), m = Oi(), T = Ti(), R = pl(), r = N(() => R[f.refContext.refid]);
|
|
6005
6039
|
let t;
|
|
6006
|
-
|
|
6007
|
-
r.value ||
|
|
6040
|
+
Oa(() => {
|
|
6041
|
+
r.value || Gn.emit("compNotAvail", f.refContext.refid), t && (Mn(t), t = void 0), r.value && g === "runtime" && (t = Zl(
|
|
6008
6042
|
{
|
|
6009
6043
|
env: h,
|
|
6010
6044
|
type: m,
|
|
6011
6045
|
data: T
|
|
6012
6046
|
},
|
|
6013
6047
|
r.value.data.code.script
|
|
6014
|
-
),
|
|
6015
|
-
}),
|
|
6016
|
-
t && (
|
|
6048
|
+
), dl(t));
|
|
6049
|
+
}), Ta(() => {
|
|
6050
|
+
t && (Mn(t), t = void 0);
|
|
6017
6051
|
});
|
|
6018
|
-
const { applySize: e } =
|
|
6052
|
+
const { applySize: e } = wi(g, b, f), i = N(() => {
|
|
6019
6053
|
const v = {}, E = T.type;
|
|
6020
6054
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6021
6055
|
});
|
|
@@ -6033,7 +6067,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6033
6067
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6034
6068
|
}
|
|
6035
6069
|
function l(v) {
|
|
6036
|
-
const E =
|
|
6070
|
+
const E = ki[T.version].refKey, S = Ae[E];
|
|
6037
6071
|
let O;
|
|
6038
6072
|
return S ? O = Ye(S.comp, {
|
|
6039
6073
|
refContext: {
|
|
@@ -6065,9 +6099,9 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6065
6099
|
v.push(Ye("div", o("x-runtime-lib.compNotAvail")));
|
|
6066
6100
|
return Ye("div", { id: f.id, style: i.value }, v);
|
|
6067
6101
|
};
|
|
6068
|
-
return (v, E) => (H(),
|
|
6102
|
+
return (v, E) => (H(), he(p));
|
|
6069
6103
|
}
|
|
6070
|
-
}),
|
|
6104
|
+
}), Un = {
|
|
6071
6105
|
key: "ref",
|
|
6072
6106
|
name: "x-runtime-lib.ref",
|
|
6073
6107
|
children: [
|
|
@@ -6078,25 +6112,25 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6078
6112
|
default: ""
|
|
6079
6113
|
}
|
|
6080
6114
|
]
|
|
6081
|
-
},
|
|
6082
|
-
key:
|
|
6115
|
+
}, Ai = {
|
|
6116
|
+
key: xi,
|
|
6083
6117
|
name: "x-runtime-lib.ref",
|
|
6084
|
-
comp:
|
|
6085
|
-
|
|
6118
|
+
comp: Ql,
|
|
6119
|
+
slots: [],
|
|
6086
6120
|
events: [],
|
|
6087
6121
|
methods: [],
|
|
6088
6122
|
props: {
|
|
6089
|
-
pageCommon: [Y,
|
|
6090
|
-
compCommon: [Y,
|
|
6123
|
+
pageCommon: [Y, Un, _t, yt, mt, gt],
|
|
6124
|
+
compCommon: [Y, Un, _t, yt, mt, gt]
|
|
6091
6125
|
}
|
|
6092
|
-
},
|
|
6126
|
+
}, ec = { key: 0 }, tc = /* @__PURE__ */ oe({
|
|
6093
6127
|
__name: "index",
|
|
6094
6128
|
props: {
|
|
6095
6129
|
node: {},
|
|
6096
6130
|
outer: { type: Boolean }
|
|
6097
6131
|
},
|
|
6098
6132
|
setup(n) {
|
|
6099
|
-
const o = n, f = Re(), h = De(),
|
|
6133
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
6100
6134
|
var e;
|
|
6101
6135
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6102
6136
|
}), b = N(() => {
|
|
@@ -6116,10 +6150,10 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6116
6150
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6117
6151
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6118
6152
|
return (e, i) => {
|
|
6119
|
-
const u =
|
|
6120
|
-
return
|
|
6121
|
-
|
|
6122
|
-
"model-value":
|
|
6153
|
+
const u = fe("v-select");
|
|
6154
|
+
return He(f) === "editor" ? (H(), Ke("div", ec, [
|
|
6155
|
+
qe(u, {
|
|
6156
|
+
"model-value": g.value,
|
|
6123
6157
|
label: b.value,
|
|
6124
6158
|
placeholder: m.value,
|
|
6125
6159
|
"hide-details": T.value,
|
|
@@ -6127,9 +6161,9 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6127
6161
|
readonly: r.value,
|
|
6128
6162
|
theme: t.value
|
|
6129
6163
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6130
|
-
])) : (H(),
|
|
6164
|
+
])) : (H(), he(u, {
|
|
6131
6165
|
key: 1,
|
|
6132
|
-
"model-value":
|
|
6166
|
+
"model-value": g.value,
|
|
6133
6167
|
label: b.value,
|
|
6134
6168
|
placeholder: m.value,
|
|
6135
6169
|
"hide-details": T.value,
|
|
@@ -6139,7 +6173,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6139
6173
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6140
6174
|
};
|
|
6141
6175
|
}
|
|
6142
|
-
}),
|
|
6176
|
+
}), jn = {
|
|
6143
6177
|
key: "settings",
|
|
6144
6178
|
name: "x-runtime-lib.settings",
|
|
6145
6179
|
children: [
|
|
@@ -6180,25 +6214,25 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6180
6214
|
default: !1
|
|
6181
6215
|
}
|
|
6182
6216
|
]
|
|
6183
|
-
},
|
|
6184
|
-
key:
|
|
6217
|
+
}, rc = {
|
|
6218
|
+
key: ur,
|
|
6185
6219
|
name: "x-runtime-lib.select",
|
|
6186
|
-
comp:
|
|
6187
|
-
|
|
6220
|
+
comp: tc,
|
|
6221
|
+
slots: [],
|
|
6188
6222
|
events: [],
|
|
6189
6223
|
methods: [],
|
|
6190
6224
|
props: {
|
|
6191
|
-
pageCommon: [Y,
|
|
6192
|
-
compCommon: [Y,
|
|
6225
|
+
pageCommon: [Y, jn],
|
|
6226
|
+
compCommon: [Y, jn]
|
|
6193
6227
|
}
|
|
6194
|
-
},
|
|
6228
|
+
}, nc = { key: 0 }, ic = /* @__PURE__ */ oe({
|
|
6195
6229
|
__name: "index",
|
|
6196
6230
|
props: {
|
|
6197
6231
|
node: {},
|
|
6198
6232
|
outer: { type: Boolean }
|
|
6199
6233
|
},
|
|
6200
6234
|
setup(n) {
|
|
6201
|
-
const o = n, f = Re(), h = De(),
|
|
6235
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
6202
6236
|
var t;
|
|
6203
6237
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6204
6238
|
}), b = N(() => {
|
|
@@ -6215,19 +6249,19 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6215
6249
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6216
6250
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6217
6251
|
return (t, e) => {
|
|
6218
|
-
const i =
|
|
6219
|
-
return
|
|
6220
|
-
|
|
6221
|
-
label:
|
|
6252
|
+
const i = fe("v-text-field");
|
|
6253
|
+
return He(f) === "editor" ? (H(), Ke("div", nc, [
|
|
6254
|
+
qe(i, {
|
|
6255
|
+
label: g.value,
|
|
6222
6256
|
placeholder: b.value,
|
|
6223
6257
|
"hide-details": m.value,
|
|
6224
6258
|
"single-line": T.value,
|
|
6225
6259
|
readonly: R.value,
|
|
6226
6260
|
theme: r.value
|
|
6227
6261
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6228
|
-
])) : (H(),
|
|
6262
|
+
])) : (H(), he(i, {
|
|
6229
6263
|
key: 1,
|
|
6230
|
-
label:
|
|
6264
|
+
label: g.value,
|
|
6231
6265
|
placeholder: b.value,
|
|
6232
6266
|
"hide-details": m.value,
|
|
6233
6267
|
"single-line": T.value,
|
|
@@ -6236,7 +6270,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6236
6270
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6237
6271
|
};
|
|
6238
6272
|
}
|
|
6239
|
-
}),
|
|
6273
|
+
}), Bn = {
|
|
6240
6274
|
key: "settings",
|
|
6241
6275
|
name: "x-runtime-lib.settings",
|
|
6242
6276
|
children: [
|
|
@@ -6271,52 +6305,52 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6271
6305
|
default: !1
|
|
6272
6306
|
}
|
|
6273
6307
|
]
|
|
6274
|
-
},
|
|
6275
|
-
key:
|
|
6308
|
+
}, ac = {
|
|
6309
|
+
key: sr,
|
|
6276
6310
|
name: "x-runtime-lib.textField",
|
|
6277
|
-
comp:
|
|
6278
|
-
|
|
6311
|
+
comp: ic,
|
|
6312
|
+
slots: [],
|
|
6279
6313
|
events: [],
|
|
6280
6314
|
methods: [],
|
|
6281
6315
|
props: {
|
|
6282
|
-
pageCommon: [Y,
|
|
6283
|
-
compCommon: [Y,
|
|
6316
|
+
pageCommon: [Y, Bn],
|
|
6317
|
+
compCommon: [Y, Bn]
|
|
6284
6318
|
}
|
|
6285
|
-
},
|
|
6319
|
+
}, oc = {
|
|
6286
6320
|
version: "v1",
|
|
6287
|
-
globalityKey:
|
|
6288
|
-
refKey:
|
|
6321
|
+
globalityKey: Pi.key,
|
|
6322
|
+
refKey: Ai.key,
|
|
6289
6323
|
elements: /* @__PURE__ */ new Set([
|
|
6290
|
-
er,
|
|
6291
6324
|
tr,
|
|
6292
6325
|
rr,
|
|
6293
6326
|
nr,
|
|
6294
6327
|
ir,
|
|
6295
|
-
Ti,
|
|
6296
6328
|
ar,
|
|
6297
|
-
|
|
6329
|
+
Si,
|
|
6298
6330
|
or,
|
|
6299
|
-
|
|
6331
|
+
xi,
|
|
6332
|
+
ur,
|
|
6333
|
+
sr
|
|
6300
6334
|
]),
|
|
6301
6335
|
groups: [
|
|
6302
6336
|
{
|
|
6303
6337
|
key: "basic",
|
|
6304
6338
|
name: "x-runtime-lib.basic",
|
|
6305
6339
|
items: [
|
|
6306
|
-
er,
|
|
6307
6340
|
tr,
|
|
6308
6341
|
rr,
|
|
6309
6342
|
nr,
|
|
6310
6343
|
ir,
|
|
6311
6344
|
ar,
|
|
6312
6345
|
or,
|
|
6313
|
-
ur
|
|
6346
|
+
ur,
|
|
6347
|
+
sr
|
|
6314
6348
|
]
|
|
6315
6349
|
}
|
|
6316
6350
|
]
|
|
6317
|
-
},
|
|
6318
|
-
v1:
|
|
6319
|
-
}, Ae = {},
|
|
6351
|
+
}, ki = {
|
|
6352
|
+
v1: oc
|
|
6353
|
+
}, Ae = {}, uc = {
|
|
6320
6354
|
key: "add",
|
|
6321
6355
|
name: "METHOD_ADD",
|
|
6322
6356
|
inputs: [],
|
|
@@ -6327,21 +6361,21 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6327
6361
|
}
|
|
6328
6362
|
]
|
|
6329
6363
|
}, te = (n) => {
|
|
6330
|
-
Ae[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.
|
|
6364
|
+
Ae[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(uc), Ae[n.key] = n;
|
|
6331
6365
|
};
|
|
6332
|
-
te(
|
|
6333
|
-
te(hl);
|
|
6366
|
+
te(ml);
|
|
6334
6367
|
te(bl);
|
|
6335
|
-
te(
|
|
6336
|
-
te(
|
|
6337
|
-
te(xi);
|
|
6368
|
+
te(Sl);
|
|
6369
|
+
te(Pl);
|
|
6338
6370
|
te(Al);
|
|
6339
6371
|
te(Pi);
|
|
6340
|
-
te(
|
|
6372
|
+
te(Dl);
|
|
6373
|
+
te(Ai);
|
|
6341
6374
|
te(rc);
|
|
6342
|
-
|
|
6375
|
+
te(ac);
|
|
6376
|
+
const sc = (n, o, f) => {
|
|
6343
6377
|
const h = n[o];
|
|
6344
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6378
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, b) => {
|
|
6345
6379
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6346
6380
|
b.bind(
|
|
6347
6381
|
null,
|
|
@@ -6352,41 +6386,41 @@ const ac = (n, o, f) => {
|
|
|
6352
6386
|
);
|
|
6353
6387
|
});
|
|
6354
6388
|
};
|
|
6355
|
-
async function
|
|
6356
|
-
return (await
|
|
6389
|
+
async function Oc(n) {
|
|
6390
|
+
return (await sc(/* @__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;
|
|
6357
6391
|
}
|
|
6358
6392
|
export {
|
|
6359
|
-
|
|
6393
|
+
vc as duplicateNode,
|
|
6360
6394
|
Ae as elements,
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6395
|
+
Yn as genId,
|
|
6396
|
+
hc as getNode,
|
|
6397
|
+
wn as getPropDefault,
|
|
6398
|
+
ll as getPropTag,
|
|
6399
|
+
Pn as initProps,
|
|
6366
6400
|
De as injectDark,
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6401
|
+
Ti as injectData,
|
|
6402
|
+
pl as injectDepends,
|
|
6403
|
+
Ri as injectDevice,
|
|
6404
|
+
fl as injectEnv,
|
|
6405
|
+
hl as injectInterpreter,
|
|
6372
6406
|
Re as injectMode,
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6407
|
+
Oi as injectType,
|
|
6408
|
+
lr as isEmptyStr,
|
|
6409
|
+
fr as isPercentStr,
|
|
6410
|
+
cr as isPixelStr,
|
|
6411
|
+
Oc as loadLocaleMessageRuntime,
|
|
6412
|
+
Jt as parsePercentStr,
|
|
6413
|
+
dc as parsePixelStr,
|
|
6414
|
+
ki as pkgs,
|
|
6415
|
+
_c as provideDark,
|
|
6416
|
+
Ec as provideData,
|
|
6417
|
+
Rc as provideDepends,
|
|
6418
|
+
gc as provideDevice,
|
|
6419
|
+
yc as provideEnv,
|
|
6420
|
+
dl as provideInterpreter,
|
|
6421
|
+
mc as provideMode,
|
|
6422
|
+
bc as provideType,
|
|
6423
|
+
cl as spawnNode,
|
|
6424
|
+
Zl as startInterpreter,
|
|
6425
|
+
Mn as stopInterpreter
|
|
6392
6426
|
};
|