x-runtime-lib 0.5.11 → 0.5.13
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/element/_common/keys.d.ts +1 -0
- package/dist/element/basic/package/v1/index.d.ts +3 -0
- package/dist/{i18n-en-chxvg9av.js → i18n-en-or78iu3w.js} +1 -0
- package/dist/{i18n-zhHans-irh3vhql.js → i18n-zhHans-gsf2tqo3.js} +1 -0
- package/dist/index.js +1080 -1019
- package/dist/types/element.d.ts +18 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
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 Jt = (n, o, f) => ma(n, typeof o != "symbol" ? o + "" : o, f);
|
|
4
|
+
import { provide as pe, inject as de, readonly as Rt, isReactive as zn, 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 Xn, isRef as _a, withCtx as Ht, 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 Wn, messageInfo as Sa, messageSuccess as xa, messageWarning as Pa, messageError as wa, openConfirmDlg as Ca, openPromptDlg as ka } from "x-essential-lib";
|
|
6
|
+
import { useI18n as Aa } from "vue-i18n";
|
|
7
|
+
const sn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
|
+
function Jn(n) {
|
|
9
9
|
let o = "";
|
|
10
10
|
for (let f = 0; f < n; f++) {
|
|
11
|
-
const h = Math.floor(Math.random() *
|
|
12
|
-
o +=
|
|
11
|
+
const h = Math.floor(Math.random() * sn.length);
|
|
12
|
+
o += sn[h];
|
|
13
13
|
}
|
|
14
14
|
return o;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function pr(n) {
|
|
17
17
|
return n === "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function dr(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 hr(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 yc(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 Kt(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 Hn = typeof global == "object" && global && global.Object === Object && global, Ia = typeof self == "object" && self && self.Object === Object && self, te = Hn || Ia || Function("return this")(), we = te.Symbol, Kn = Object.prototype, Da = Kn.hasOwnProperty, La = Kn.toString, ze = we ? we.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]", ln = we ? we.toStringTag : void 0;
|
|
61
|
+
function Ze(n) {
|
|
62
|
+
return n == null ? n === void 0 ? $a : Ba : ln && ln 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 vr = 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 qn(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 qt = te["__core-js_shared__"], cn = function() {
|
|
80
|
+
var n = /[^.]+$/.exec(qt && qt.keys && qt.keys.IE_PROTO || "");
|
|
81
81
|
return n ? "Symbol(src)_1." + n : "";
|
|
82
82
|
}();
|
|
83
|
-
function
|
|
84
|
-
return !!
|
|
83
|
+
function Xa(n) {
|
|
84
|
+
return !!cn && cn 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 = qn(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(te, "WeakMap"), fn = 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 (fn)
|
|
123
|
+
return fn(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 pn = 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 Zn(n, o, f) {
|
|
153
|
+
o == "__proto__" && pn ? pn(n, o, {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
156
156
|
value: f,
|
|
157
157
|
writable: !0
|
|
158
158
|
}) : n[o] = f;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Qn(n, o) {
|
|
161
161
|
return n === o || n !== n && o !== o;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var co = Object.prototype, fo = co.hasOwnProperty;
|
|
164
|
+
function ei(n, o, f) {
|
|
165
165
|
var h = n[o];
|
|
166
|
-
(!(
|
|
166
|
+
(!(fo.call(n, o) && Qn(h, f)) || f === void 0 && !(o in n)) && Zn(n, o, f);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
var
|
|
168
|
+
function Ot(n, o, f, h) {
|
|
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 ? Zn(f, T, R) : ei(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 ti(n) {
|
|
179
|
+
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= po;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
return n != null &&
|
|
181
|
+
function ri(n) {
|
|
182
|
+
return n != null && ti(n.length) && !qn(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 yr(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 dn(n) {
|
|
196
|
+
return Qe(n) && Ze(n) == yo;
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var ni = Object.prototype, mo = ni.hasOwnProperty, go = ni.propertyIsEnumerable, _o = dn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
|
-
}()) ?
|
|
201
|
-
return
|
|
200
|
+
}()) ? dn : 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 ii = typeof exports == "object" && exports && !exports.nodeType && exports, hn = ii && typeof module == "object" && module && !module.nodeType && module, Eo = hn && hn.exports === ii, vn = Eo ? te.Buffer : void 0, Ro = vn ? vn.isBuffer : void 0, ai = Ro || bo, Oo = "[object Arguments]", To = "[object Array]", No = "[object Boolean]", So = "[object Date]", xo = "[object Error]", Po = "[object Function]", wo = "[object Map]", Co = "[object Number]", ko = "[object Object]", Ao = "[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[Po] = M[wo] = M[Co] = M[ko] = M[Ao] = M[Io] = M[Do] = M[Lo] = !1;
|
|
209
|
+
function Wo(n) {
|
|
210
|
+
return Qe(n) && ti(n.length) && !!M[Ze(n)];
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function mr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var
|
|
217
|
+
var oi = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = oi && typeof module == "object" && module && !module.nodeType && module, Jo = Xe && Xe.exports === oi, Zt = Jo && Hn.process, Ce = function() {
|
|
218
218
|
try {
|
|
219
219
|
var n = Xe && Xe.require && Xe.require("util").types;
|
|
220
|
-
return n ||
|
|
220
|
+
return n || Zt && Zt.binding && Zt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(),
|
|
224
|
-
function
|
|
225
|
-
var f =
|
|
223
|
+
}(), yn = Ce && Ce.isTypedArray, Ho = yn ? mr(yn) : Wo, Ko = Object.prototype, qo = Ko.hasOwnProperty;
|
|
224
|
+
function ui(n, o) {
|
|
225
|
+
var f = vr(n), h = !f && _o(n), g = !f && !h && ai(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 si(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 = si(Object.keys, Object), Qo = Object.prototype, eu = Qo.hasOwnProperty;
|
|
240
|
+
function tu(n) {
|
|
241
|
+
if (!yr(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 gr(n) {
|
|
249
|
+
return ri(n) ? ui(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 = yr(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 _r(n) {
|
|
268
|
+
return ri(n) ? ui(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,316 +301,316 @@ 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
|
-
function
|
|
312
|
+
function Tt(n, o) {
|
|
313
313
|
for (var f = n.length; f--; )
|
|
314
|
-
if (
|
|
314
|
+
if (Qn(n[f][0], o))
|
|
315
315
|
return f;
|
|
316
316
|
return -1;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
var o = this.__data__, f =
|
|
318
|
+
var gu = Array.prototype, _u = gu.splice;
|
|
319
|
+
function bu(n) {
|
|
320
|
+
var o = this.__data__, f = Tt(o, n);
|
|
321
321
|
if (f < 0)
|
|
322
322
|
return !1;
|
|
323
323
|
var h = o.length - 1;
|
|
324
|
-
return f == h ? o.pop() :
|
|
324
|
+
return f == h ? o.pop() : _u.call(o, f, 1), --this.size, !0;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
var o = this.__data__, f =
|
|
326
|
+
function Eu(n) {
|
|
327
|
+
var o = this.__data__, f = Tt(o, n);
|
|
328
328
|
return f < 0 ? void 0 : o[f][1];
|
|
329
329
|
}
|
|
330
|
-
function
|
|
331
|
-
return
|
|
330
|
+
function Ru(n) {
|
|
331
|
+
return Tt(this.__data__, n) > -1;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
var f = this.__data__, h =
|
|
333
|
+
function Ou(n, o) {
|
|
334
|
+
var f = this.__data__, h = Tt(f, n);
|
|
335
335
|
return h < 0 ? (++this.size, f.push([n, o])) : f[h][1] = o, this;
|
|
336
336
|
}
|
|
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
|
-
|
|
349
|
-
var Je = Ee(
|
|
350
|
-
function
|
|
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
|
+
var Je = Ee(te, "Map");
|
|
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
|
-
function
|
|
361
|
+
function Nt(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
|
|
366
|
-
var o =
|
|
365
|
+
function Su(n) {
|
|
366
|
+
var o = Nt(this, n).delete(n);
|
|
367
367
|
return this.size -= o ? 1 : 0, o;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
return
|
|
369
|
+
function xu(n) {
|
|
370
|
+
return Nt(this, n).get(n);
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
return
|
|
372
|
+
function Pu(n) {
|
|
373
|
+
return Nt(this, n).has(n);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
var f =
|
|
375
|
+
function wu(n, o) {
|
|
376
|
+
var f = Nt(this, n), h = f.size;
|
|
377
377
|
return f.set(n, o), this.size += f.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Ae(n) {
|
|
380
380
|
var o = -1, f = n == null ? 0 : n.length;
|
|
381
381
|
for (this.clear(); ++o < f; ) {
|
|
382
382
|
var h = n[o];
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
function
|
|
392
|
-
for (var f = -1, h = o.length,
|
|
393
|
-
n[
|
|
386
|
+
Ae.prototype.clear = Tu;
|
|
387
|
+
Ae.prototype.delete = Su;
|
|
388
|
+
Ae.prototype.get = xu;
|
|
389
|
+
Ae.prototype.has = Pu;
|
|
390
|
+
Ae.prototype.set = wu;
|
|
391
|
+
function li(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 ci = si(Object.getPrototypeOf, Object);
|
|
397
|
+
function Cu() {
|
|
398
|
+
this.__data__ = new ue(), this.size = 0;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function ku(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 Au(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
|
-
f = this.__data__ = new
|
|
417
|
+
f = this.__data__ = new Ae(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 &&
|
|
425
|
+
Ie.prototype.clear = Cu;
|
|
426
|
+
Ie.prototype.delete = ku;
|
|
427
|
+
Ie.prototype.get = Au;
|
|
428
|
+
Ie.prototype.has = Iu;
|
|
429
|
+
Ie.prototype.set = Lu;
|
|
430
|
+
function Fu(n, o) {
|
|
431
|
+
return n && Ot(o, gr(o), n);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
return n &&
|
|
433
|
+
function Mu(n, o) {
|
|
434
|
+
return n && Ot(o, _r(o), n);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var fi = typeof exports == "object" && exports && !exports.nodeType && exports, mn = fi && typeof module == "object" && module && !module.nodeType && module, Uu = mn && mn.exports === fi, gn = Uu ? te.Buffer : void 0, _n = gn ? gn.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 = _n ? _n(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 pi() {
|
|
451
451
|
return [];
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
return n == null ? [] : (n = Object(n),
|
|
455
|
-
return
|
|
453
|
+
var $u = Object.prototype, Vu = $u.propertyIsEnumerable, bn = Object.getOwnPropertySymbols, br = bn ? function(n) {
|
|
454
|
+
return n == null ? [] : (n = Object(n), Bu(bn(n), function(o) {
|
|
455
|
+
return Vu.call(n, o);
|
|
456
456
|
}));
|
|
457
|
-
} :
|
|
458
|
-
function
|
|
459
|
-
return
|
|
457
|
+
} : pi;
|
|
458
|
+
function Gu(n, o) {
|
|
459
|
+
return Ot(n, br(n), o);
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var Yu = Object.getOwnPropertySymbols, di = Yu ? function(n) {
|
|
462
462
|
for (var o = []; n; )
|
|
463
|
-
|
|
463
|
+
li(o, br(n)), n = ci(n);
|
|
464
464
|
return o;
|
|
465
|
-
} :
|
|
466
|
-
function
|
|
467
|
-
return
|
|
465
|
+
} : pi;
|
|
466
|
+
function zu(n, o) {
|
|
467
|
+
return Ot(n, di(n), o);
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function hi(n, o, f) {
|
|
470
470
|
var h = o(n);
|
|
471
|
-
return
|
|
471
|
+
return vr(n) ? h : li(h, f(n));
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function Xu(n) {
|
|
474
|
+
return hi(n, gr, br);
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
return
|
|
476
|
+
function Wu(n) {
|
|
477
|
+
return hi(n, _r, di);
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
(
|
|
481
|
-
var o =
|
|
479
|
+
var er = Ee(te, "DataView"), tr = Ee(te, "Promise"), rr = Ee(te, "Set"), En = "[object Map]", Ju = "[object Object]", Rn = "[object Promise]", On = "[object Set]", Tn = "[object WeakMap]", Nn = "[object DataView]", Hu = be(er), Ku = be(Je), qu = be(tr), Zu = be(rr), Qu = be(Qt), ae = Ze;
|
|
480
|
+
(er && ae(new er(new ArrayBuffer(1))) != Nn || Je && ae(new Je()) != En || tr && ae(tr.resolve()) != Rn || rr && ae(new rr()) != On || Qt && ae(new Qt()) != Tn) && (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
|
|
484
|
+
case Hu:
|
|
485
|
+
return Nn;
|
|
486
|
+
case Ku:
|
|
485
487
|
return En;
|
|
486
|
-
case
|
|
487
|
-
return
|
|
488
|
-
case
|
|
489
|
-
return
|
|
490
|
-
case
|
|
491
|
-
return
|
|
492
|
-
case Wu:
|
|
493
|
-
return bn;
|
|
488
|
+
case qu:
|
|
489
|
+
return Rn;
|
|
490
|
+
case Zu:
|
|
491
|
+
return On;
|
|
492
|
+
case Qu:
|
|
493
|
+
return Tn;
|
|
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 Sn = te.Uint8Array;
|
|
503
|
+
function Er(n) {
|
|
504
504
|
var o = new n.constructor(n.byteLength);
|
|
505
|
-
return new
|
|
505
|
+
return new Sn(o).set(new Sn(n)), o;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var f = o ?
|
|
507
|
+
function ns(n, o) {
|
|
508
|
+
var f = o ? Er(n.buffer) : n.buffer;
|
|
509
509
|
return new n.constructor(f, n.byteOffset, n.byteLength);
|
|
510
510
|
}
|
|
511
|
-
var
|
|
512
|
-
function
|
|
513
|
-
var o = new n.constructor(n.source,
|
|
511
|
+
var 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 xn = we ? we.prototype : void 0, Pn = xn ? xn.valueOf : void 0;
|
|
517
|
+
function os(n) {
|
|
518
|
+
return Pn ? Object(Pn.call(n)) : {};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
var f = o ?
|
|
520
|
+
function us(n, o) {
|
|
521
|
+
var f = o ? Er(n.buffer) : n.buffer;
|
|
522
522
|
return new n.constructor(f, n.byteOffset, n.length);
|
|
523
523
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
524
|
+
var 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 Er(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 Ps(n) {
|
|
559
|
+
return typeof n.constructor == "function" && !yr(n) ? io(ci(n)) : {};
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
function
|
|
563
|
-
return
|
|
561
|
+
var ws = "[object Map]";
|
|
562
|
+
function Cs(n) {
|
|
563
|
+
return Qe(n) && ae(n) == ws;
|
|
564
564
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
return
|
|
565
|
+
var wn = Ce && Ce.isMap, ks = wn ? mr(wn) : Cs, As = "[object Set]";
|
|
566
|
+
function Is(n) {
|
|
567
|
+
return Qe(n) && ae(n) == As;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
F[
|
|
571
|
-
F[
|
|
572
|
-
function
|
|
573
|
-
var m, T = o &
|
|
569
|
+
var Cn = Ce && Ce.isSet, Ds = Cn ? mr(Cn) : Is, Ls = 1, Fs = 2, Ms = 4, vi = "[object Arguments]", Us = "[object Array]", js = "[object Boolean]", Bs = "[object Date]", $s = "[object Error]", yi = "[object Function]", Vs = "[object GeneratorFunction]", Gs = "[object Map]", Ys = "[object Number]", mi = "[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[vi] = 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[mi] = F[zs] = F[Xs] = F[Ws] = F[Js] = F[nl] = F[il] = F[al] = F[ol] = !0;
|
|
571
|
+
F[$s] = F[yi] = 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 = vr(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 == yi || e == Vs;
|
|
584
|
+
if (ai(n))
|
|
585
|
+
return ju(n, T);
|
|
586
|
+
if (e == mi || e == vi || i && !g) {
|
|
587
|
+
if (m = R || i ? {} : Ps(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
|
+
}) : ks(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 ? _r : gr, l = t ? void 0 : s(n);
|
|
605
|
+
return oo(l || n, function(a, p) {
|
|
606
|
+
l && (p = a, a = n[p]), ei(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
|
|
626
|
-
return n.array ?
|
|
625
|
+
function kn(n, o) {
|
|
626
|
+
return n.array ? vt(o ? n.default : n.defaultArray) : vt(n.default);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
function f(h,
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
628
|
+
function An(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] = kn(g);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
g.array ? h[g.key] = kn(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 = Ai[f];
|
|
648
648
|
if (!T) {
|
|
649
649
|
console.error(`spawnNode pkg not found version, ${b}`);
|
|
650
650
|
return;
|
|
@@ -654,14 +654,14 @@ function il(n, o, f, h, _) {
|
|
|
654
654
|
id: "",
|
|
655
655
|
key: ""
|
|
656
656
|
}
|
|
657
|
-
}, r =
|
|
657
|
+
}, r = Jn(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;
|
|
663
663
|
}
|
|
664
|
-
const i =
|
|
664
|
+
const i = ke[t];
|
|
665
665
|
if (!i) {
|
|
666
666
|
console.error(`spawnNode [ref] element not found in global, ${b}`);
|
|
667
667
|
return;
|
|
@@ -671,16 +671,16 @@ function il(n, o, f, h, _) {
|
|
|
671
671
|
console.error(`spawnNode [ref] props not found, ${b}`);
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
An(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;
|
|
682
682
|
}
|
|
683
|
-
const e =
|
|
683
|
+
const e = ke[t];
|
|
684
684
|
if (!e) {
|
|
685
685
|
console.error(`spawnNode [key] element not found in global, ${b}`);
|
|
686
686
|
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
|
+
An(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 mc(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 gc(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id =
|
|
716
|
+
var g;
|
|
717
|
+
h.basic.id = Jn(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 gi = "runtimeEnv", _i = "runtimeMode", bi = "runtimeDevice", Ei = "runtimeDark", Ri = "runtimeType", Oi = "runtimeData", Ti = "runtimeDepends", Ni = "runtimeInterpreter";
|
|
723
|
+
function _c(n) {
|
|
724
|
+
pe(gi, n);
|
|
725
725
|
}
|
|
726
|
-
function
|
|
727
|
-
return
|
|
726
|
+
function fl() {
|
|
727
|
+
return de(gi);
|
|
728
728
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
729
|
+
function bc(n) {
|
|
730
|
+
pe(_i, n);
|
|
731
731
|
}
|
|
732
732
|
function Re() {
|
|
733
|
-
return
|
|
733
|
+
return de(_i);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
735
|
+
function Ec(n) {
|
|
736
|
+
pe(bi, Rt(n));
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function Si() {
|
|
739
|
+
return de(bi);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
742
|
-
|
|
741
|
+
function Rc(n) {
|
|
742
|
+
pe(Ei, Rt(n));
|
|
743
743
|
}
|
|
744
744
|
function De() {
|
|
745
|
-
return
|
|
745
|
+
return de(Ei);
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
|
|
747
|
+
function Oc(n) {
|
|
748
|
+
pe(Ri, n);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
750
|
+
function xi() {
|
|
751
|
+
return de(Ri);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
754
|
-
console.assert(
|
|
753
|
+
function Tc(n) {
|
|
754
|
+
console.assert(zn(n)), pe(Oi, Rt(n));
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return
|
|
756
|
+
function Pi() {
|
|
757
|
+
return de(Oi);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
console.assert(
|
|
759
|
+
function Nc(n) {
|
|
760
|
+
console.assert(zn(n)), pe(Ti, Rt(n));
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
return
|
|
762
|
+
function pl() {
|
|
763
|
+
return de(Ti);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
|
|
765
|
+
function dl(n) {
|
|
766
|
+
pe(Ni, n);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return
|
|
768
|
+
function hl() {
|
|
769
|
+
return de(Ni);
|
|
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
|
+
], wi = [
|
|
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
|
+
], nr = "btn_v1", ir = "combobox_v1", ar = "container_v1", or = "data_table_v1", ur = "dialog_v1", sr = "globality_v1", lr = "number_input_v1", yt = "package_v1", mt = "ref_v1", cr = "select_v1", fr = "text_field_v1", V = {
|
|
824
824
|
key: "basic",
|
|
825
825
|
name: "x-runtime-lib.basic",
|
|
826
826
|
children: [
|
|
@@ -845,7 +845,7 @@ const ll = /* @__PURE__ */ pe({
|
|
|
845
845
|
default: ""
|
|
846
846
|
}
|
|
847
847
|
]
|
|
848
|
-
},
|
|
848
|
+
}, In = {
|
|
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: wi,
|
|
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: nr,
|
|
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: [
|
|
900
|
-
compCommon: [
|
|
899
|
+
pageCommon: [V, In],
|
|
900
|
+
compCommon: [V, In]
|
|
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
|
+
}), Dn = {
|
|
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: ir,
|
|
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: [
|
|
1002
|
-
compCommon: [
|
|
1001
|
+
pageCommon: [V, Dn],
|
|
1002
|
+
compCommon: [V, Dn]
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
|
-
function
|
|
1005
|
+
function Ci(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 = Kt((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 = Kt((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 = Kt((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 = Si(), g = xi(), b = Pi(), { applySize: m } = Ci(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
|
+
Xn(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: pr,
|
|
1126
1126
|
default: ""
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
1129
|
name: "x-runtime-lib.pixel",
|
|
1130
1130
|
ui: "pixelInput",
|
|
1131
|
-
validator:
|
|
1131
|
+
validator: dr,
|
|
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: hr,
|
|
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
|
+
], gt = {
|
|
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: pr,
|
|
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: dr,
|
|
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: hr,
|
|
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
|
+
], _t = {
|
|
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: pr,
|
|
1284
1284
|
default: ""
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
name: "x-runtime-lib.pixel",
|
|
1288
1288
|
ui: "pixelInput",
|
|
1289
|
-
validator:
|
|
1289
|
+
validator: dr,
|
|
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: hr,
|
|
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
|
+
], bt = {
|
|
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
|
+
}, Et = {
|
|
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
|
+
}, Ln = {
|
|
1387
1387
|
key: "settings",
|
|
1388
1388
|
name: "x-runtime-lib.settings",
|
|
1389
1389
|
children: []
|
|
1390
|
-
},
|
|
1391
|
-
key:
|
|
1390
|
+
}, Sl = {
|
|
1391
|
+
key: ar,
|
|
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: [
|
|
1405
|
-
compCommon: [
|
|
1410
|
+
pageCommon: [V, Et, gt, _t, bt, Ln],
|
|
1411
|
+
compCommon: [V, Et, gt, _t, bt, Ln]
|
|
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
|
+
}), Pl = [
|
|
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
|
+
], Fn = {
|
|
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
|
+
}, Mn = {
|
|
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: Pl,
|
|
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: wi,
|
|
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
|
+
}, wl = {
|
|
1605
|
+
key: or,
|
|
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: [
|
|
1607
|
-
compCommon: [
|
|
1612
|
+
pageCommon: [V, Fn, Mn],
|
|
1613
|
+
compCommon: [V, Fn, Mn]
|
|
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: Ht(({ props: R }) => [
|
|
1633
|
+
qe(m, ba(Ea(R)), {
|
|
1634
|
+
default: Ht(() => b[1] || (b[1] = [
|
|
1635
|
+
Ra("dialog")
|
|
1636
|
+
])),
|
|
1637
|
+
_: 2
|
|
1638
|
+
}, 1040)
|
|
1639
|
+
]),
|
|
1640
|
+
default: Ht(() => [
|
|
1641
|
+
Xn(g.$slots, "default")
|
|
1642
|
+
]),
|
|
1643
|
+
_: 3
|
|
1644
|
+
}, 8, ["modelValue"]);
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
}), kl = {
|
|
1648
|
+
key: ur,
|
|
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
|
-
pageCommon: [
|
|
1628
|
-
compCommon: [
|
|
1661
|
+
pageCommon: [V],
|
|
1662
|
+
compCommon: [V]
|
|
1629
1663
|
}
|
|
1630
|
-
},
|
|
1664
|
+
}, Un = {
|
|
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
|
+
}, Al = {
|
|
1676
|
+
key: sr,
|
|
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: [Un],
|
|
1714
|
+
compCommon: [Un]
|
|
1681
1715
|
},
|
|
1682
1716
|
internal: !0
|
|
1683
|
-
},
|
|
1717
|
+
}, Il = { key: 0 }, Dl = /* @__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", Il, [
|
|
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
|
+
}), jn = {
|
|
1734
1768
|
key: "settings",
|
|
1735
1769
|
name: "x-runtime-lib.settings",
|
|
1736
1770
|
children: [
|
|
@@ -1775,23 +1809,45 @@ const xl = /* @__PURE__ */ Tl(Nl, [["render", Sl]]), wl = {
|
|
|
1775
1809
|
default: !1
|
|
1776
1810
|
}
|
|
1777
1811
|
]
|
|
1778
|
-
},
|
|
1779
|
-
key:
|
|
1812
|
+
}, Ll = {
|
|
1813
|
+
key: lr,
|
|
1780
1814
|
name: "x-runtime-lib.numberInput",
|
|
1781
|
-
comp:
|
|
1782
|
-
|
|
1815
|
+
comp: Dl,
|
|
1816
|
+
slots: [],
|
|
1783
1817
|
events: [],
|
|
1784
1818
|
methods: [],
|
|
1785
1819
|
props: {
|
|
1786
|
-
pageCommon: [
|
|
1787
|
-
compCommon: [
|
|
1820
|
+
pageCommon: [V, jn],
|
|
1821
|
+
compCommon: [V, jn]
|
|
1822
|
+
}
|
|
1823
|
+
}, Bn = {
|
|
1824
|
+
key: "settings",
|
|
1825
|
+
name: "x-runtime-lib.settings",
|
|
1826
|
+
children: [
|
|
1827
|
+
{
|
|
1828
|
+
key: "slot",
|
|
1829
|
+
name: "x-runtime-lib.slot",
|
|
1830
|
+
ui: "slotSelect",
|
|
1831
|
+
default: ""
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
}, Fl = {
|
|
1835
|
+
key: yt,
|
|
1836
|
+
name: "x-runtime-lib.package",
|
|
1837
|
+
comp: null,
|
|
1838
|
+
slots: [],
|
|
1839
|
+
events: [],
|
|
1840
|
+
methods: [],
|
|
1841
|
+
props: {
|
|
1842
|
+
pageCommon: [V, Bn],
|
|
1843
|
+
compCommon: [V, Bn]
|
|
1788
1844
|
}
|
|
1789
1845
|
};
|
|
1790
|
-
var
|
|
1791
|
-
function
|
|
1846
|
+
var Ml = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1847
|
+
function Ul(n) {
|
|
1792
1848
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1793
1849
|
}
|
|
1794
|
-
function
|
|
1850
|
+
function jl(n) {
|
|
1795
1851
|
if (n.__esModule) return n;
|
|
1796
1852
|
var o = n.default;
|
|
1797
1853
|
if (typeof o == "function") {
|
|
@@ -1801,8 +1857,8 @@ function Dl(n) {
|
|
|
1801
1857
|
f.prototype = o.prototype;
|
|
1802
1858
|
} else f = {};
|
|
1803
1859
|
return Object.defineProperty(f, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1804
|
-
var
|
|
1805
|
-
Object.defineProperty(f, h,
|
|
1860
|
+
var g = Object.getOwnPropertyDescriptor(n, h);
|
|
1861
|
+
Object.defineProperty(f, h, g.get ? g : {
|
|
1806
1862
|
enumerable: !0,
|
|
1807
1863
|
get: function() {
|
|
1808
1864
|
return n[h];
|
|
@@ -1810,15 +1866,15 @@ function Dl(n) {
|
|
|
1810
1866
|
});
|
|
1811
1867
|
}), f;
|
|
1812
1868
|
}
|
|
1813
|
-
var
|
|
1814
|
-
const
|
|
1869
|
+
var ki = { exports: {} };
|
|
1870
|
+
const Bl = {}, $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1815
1871
|
__proto__: null,
|
|
1816
|
-
default:
|
|
1817
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1872
|
+
default: Bl
|
|
1873
|
+
}, Symbol.toStringTag, { value: "Module" })), Vl = /* @__PURE__ */ jl($l);
|
|
1818
1874
|
(function(n, o) {
|
|
1819
|
-
(function(h,
|
|
1820
|
-
n.exports =
|
|
1821
|
-
})(
|
|
1875
|
+
(function(h, g) {
|
|
1876
|
+
n.exports = g();
|
|
1877
|
+
})(Ml, () => (
|
|
1822
1878
|
/******/
|
|
1823
1879
|
(() => {
|
|
1824
1880
|
var f = {
|
|
@@ -4445,8 +4501,8 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4445
4501
|
} else if (s.nativeFunc)
|
|
4446
4502
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = s.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4447
4503
|
else if (s.asyncFunc) {
|
|
4448
|
-
var W = this, Le = function(
|
|
4449
|
-
e.value =
|
|
4504
|
+
var W = this, Le = function(ve) {
|
|
4505
|
+
e.value = ve, W.paused_ = !1;
|
|
4450
4506
|
}, q = s.asyncFunc.length - 1, Oe = e.arguments_.concat(
|
|
4451
4507
|
new Array(q)
|
|
4452
4508
|
).slice(0, q);
|
|
@@ -4858,7 +4914,7 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4858
4914
|
R.version = "0.5.0";
|
|
4859
4915
|
var r, t = "", e, i;
|
|
4860
4916
|
R.parse = function(c, d) {
|
|
4861
|
-
return t = String(c), e = t.length, s(d),
|
|
4917
|
+
return t = String(c), e = t.length, s(d), Hi(), sa(r.program);
|
|
4862
4918
|
};
|
|
4863
4919
|
var u = {
|
|
4864
4920
|
// JS-Interpreter change:
|
|
@@ -4925,80 +4981,80 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4925
4981
|
i = r.sourceFile;
|
|
4926
4982
|
}
|
|
4927
4983
|
var l = function(c, d) {
|
|
4928
|
-
for (var y = 1,
|
|
4929
|
-
|
|
4930
|
-
var C =
|
|
4984
|
+
for (var y = 1, _ = 0; ; ) {
|
|
4985
|
+
ot.lastIndex = _;
|
|
4986
|
+
var C = ot.exec(c);
|
|
4931
4987
|
if (C && C.index < d)
|
|
4932
|
-
++y,
|
|
4988
|
+
++y, _ = C.index + C[0].length;
|
|
4933
4989
|
else
|
|
4934
4990
|
break;
|
|
4935
4991
|
}
|
|
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,
|
|
4938
|
-
function
|
|
4992
|
+
return { line: y, column: d - _ };
|
|
4993
|
+
}, a = 0, p = 0, v = 0, E, S, O, x, I, L, W, Le = 0, q = 0, Oe, ve, B, J;
|
|
4994
|
+
function A(c, d) {
|
|
4939
4995
|
var y = l(t, c);
|
|
4940
4996
|
d += " (" + y.line + ":" + y.column + ")";
|
|
4941
|
-
var
|
|
4942
|
-
throw
|
|
4997
|
+
var _ = new SyntaxError(d);
|
|
4998
|
+
throw _.pos = c, _.loc = y, _.raisedAt = a, _;
|
|
4943
4999
|
}
|
|
4944
|
-
var
|
|
4945
|
-
break:
|
|
4946
|
-
case:
|
|
4947
|
-
catch:
|
|
4948
|
-
continue:
|
|
4949
|
-
debugger:
|
|
4950
|
-
default:
|
|
4951
|
-
do:
|
|
4952
|
-
else:
|
|
4953
|
-
finally:
|
|
4954
|
-
for:
|
|
4955
|
-
function:
|
|
4956
|
-
if:
|
|
4957
|
-
return:
|
|
4958
|
-
switch:
|
|
4959
|
-
throw:
|
|
4960
|
-
try:
|
|
4961
|
-
var:
|
|
4962
|
-
while:
|
|
4963
|
-
with:
|
|
4964
|
-
null:
|
|
4965
|
-
true:
|
|
4966
|
-
false:
|
|
4967
|
-
new:
|
|
4968
|
-
in:
|
|
5000
|
+
var Ii = [], tt = { type: "num" }, Rr = { type: "regexp" }, St = { type: "string" }, Te = { type: "name" }, xt = { type: "eof" }, Pt = { keyword: "break" }, wt = { keyword: "case", beforeExpr: !0 }, Or = { keyword: "catch" }, Tr = { keyword: "continue" }, Nr = { keyword: "debugger" }, Sr = { keyword: "default" }, xr = { keyword: "do", isLoop: !0 }, Pr = { keyword: "else", beforeExpr: !0 }, wr = { keyword: "finally" }, Cr = { keyword: "for", isLoop: !0 }, Ct = { keyword: "function" }, kr = { keyword: "if" }, Ar = { keyword: "return", beforeExpr: !0 }, kt = { keyword: "switch" }, Ir = { keyword: "throw", beforeExpr: !0 }, Dr = { keyword: "try" }, At = { keyword: "var" }, It = { keyword: "while", isLoop: !0 }, Lr = { keyword: "with" }, Fr = { keyword: "new", beforeExpr: !0 }, Mr = { keyword: "this" }, Ur = { keyword: "null", atomValue: null }, jr = { keyword: "true", atomValue: !0 }, Br = { keyword: "false", atomValue: !1 }, rt = { keyword: "in", binop: 7, beforeExpr: !0 }, Di = {
|
|
5001
|
+
break: Pt,
|
|
5002
|
+
case: wt,
|
|
5003
|
+
catch: Or,
|
|
5004
|
+
continue: Tr,
|
|
5005
|
+
debugger: Nr,
|
|
5006
|
+
default: Sr,
|
|
5007
|
+
do: xr,
|
|
5008
|
+
else: Pr,
|
|
5009
|
+
finally: wr,
|
|
5010
|
+
for: Cr,
|
|
5011
|
+
function: Ct,
|
|
5012
|
+
if: kr,
|
|
5013
|
+
return: Ar,
|
|
5014
|
+
switch: kt,
|
|
5015
|
+
throw: Ir,
|
|
5016
|
+
try: Dr,
|
|
5017
|
+
var: At,
|
|
5018
|
+
while: It,
|
|
5019
|
+
with: Lr,
|
|
5020
|
+
null: Ur,
|
|
5021
|
+
true: jr,
|
|
5022
|
+
false: Br,
|
|
5023
|
+
new: Fr,
|
|
5024
|
+
in: rt,
|
|
4969
5025
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4970
|
-
this:
|
|
5026
|
+
this: Mr,
|
|
4971
5027
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4972
5028
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4973
5029
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4974
|
-
},
|
|
4975
|
-
function
|
|
4976
|
-
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null),
|
|
4977
|
-
y[d[
|
|
5030
|
+
}, Dt = { type: "[", beforeExpr: !0 }, Lt = { type: "]" }, Fe = { type: "{", beforeExpr: !0 }, Ne = { type: "}" }, re = { type: "(", beforeExpr: !0 }, ee = { type: ")" }, se = { type: ",", beforeExpr: !0 }, ne = { type: ";", beforeExpr: !0 }, Me = { type: ":", beforeExpr: !0 }, $r = { type: "." }, Vr = { type: "?", beforeExpr: !0 }, Gr = { binop: 10, beforeExpr: !0 }, Yr = { isAssign: !0, beforeExpr: !0 }, ye = { isAssign: !0, beforeExpr: !0 }, Li = { postfix: !0, prefix: !0, isUpdate: !0 }, zr = { prefix: !0, beforeExpr: !0 }, Xr = { binop: 1, beforeExpr: !0 }, Wr = { binop: 2, beforeExpr: !0 }, Fi = { binop: 3, beforeExpr: !0 }, Mi = { binop: 4, beforeExpr: !0 }, Ui = { binop: 5, beforeExpr: !0 }, ji = { binop: 6, beforeExpr: !0 }, Bi = { binop: 7, beforeExpr: !0 }, $i = { binop: 8, beforeExpr: !0 }, Vi = { binop: 9, prefix: !0, beforeExpr: !0 }, Gi = { binop: 10, beforeExpr: !0 };
|
|
5031
|
+
function nt(c) {
|
|
5032
|
+
for (var d = c.split(" "), y = /* @__PURE__ */ Object.create(null), _ = 0; _ < d.length; _++)
|
|
5033
|
+
y[d[_]] = !0;
|
|
4978
5034
|
return function(C) {
|
|
4979
5035
|
return y[C] || !1;
|
|
4980
5036
|
};
|
|
4981
5037
|
}
|
|
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 &&
|
|
5038
|
+
var Yi = nt("class enum extends super const export import"), Jr = 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]/, Hr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Wi = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", Kr = new RegExp("[" + Hr + "]"), Ji = new RegExp("[" + Hr + Wi + "]"), at = /[\n\r\u2028\u2029]/, ot = /\r\n|[\n\r\u2028\u2029]/g, ut = function(c) {
|
|
5039
|
+
return c < 65 ? c === 36 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Kr.test(String.fromCharCode(c));
|
|
5040
|
+
}, qr = function(c) {
|
|
5041
|
+
return c < 48 ? c === 36 : c < 58 ? !0 : c < 65 ? !1 : c < 91 ? !0 : c < 97 ? c === 95 : c < 123 ? !0 : c >= 170 && Ji.test(String.fromCharCode(c));
|
|
4986
5042
|
};
|
|
4987
|
-
function
|
|
5043
|
+
function me() {
|
|
4988
5044
|
this.line = L, this.column = a - W;
|
|
4989
5045
|
}
|
|
4990
|
-
function
|
|
5046
|
+
function Hi() {
|
|
4991
5047
|
L = 1, a = W = 0, I = !0, Ue();
|
|
4992
5048
|
}
|
|
4993
|
-
function
|
|
4994
|
-
v = a, r.locations && (S = new
|
|
5049
|
+
function G(c, d) {
|
|
5050
|
+
v = a, r.locations && (S = new me()), O = c, Ue(), x = d, I = c.beforeExpr;
|
|
4995
5051
|
}
|
|
4996
|
-
function
|
|
4997
|
-
var c = r.onComment && r.locations && new
|
|
4998
|
-
if (y === -1 &&
|
|
4999
|
-
|
|
5000
|
-
for (var
|
|
5001
|
-
++L, W =
|
|
5052
|
+
function Ki() {
|
|
5053
|
+
var c = r.onComment && r.locations && new me(), d = a, y = t.indexOf("*/", a += 2);
|
|
5054
|
+
if (y === -1 && A(a - 2, "Unterminated comment"), a = y + 2, r.locations) {
|
|
5055
|
+
ot.lastIndex = d;
|
|
5056
|
+
for (var _; (_ = ot.exec(t)) && _.index < a; )
|
|
5057
|
+
++L, W = _.index + _[0].length;
|
|
5002
5058
|
}
|
|
5003
5059
|
r.onComment && r.onComment(
|
|
5004
5060
|
!0,
|
|
@@ -5006,11 +5062,11 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5006
5062
|
d,
|
|
5007
5063
|
a,
|
|
5008
5064
|
c,
|
|
5009
|
-
r.locations && new
|
|
5065
|
+
r.locations && new me()
|
|
5010
5066
|
);
|
|
5011
5067
|
}
|
|
5012
|
-
function
|
|
5013
|
-
for (var c = a, d = r.onComment && r.locations && new
|
|
5068
|
+
function Ft() {
|
|
5069
|
+
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
5070
|
++a, y = t.charCodeAt(a);
|
|
5015
5071
|
r.onComment && r.onComment(
|
|
5016
5072
|
!1,
|
|
@@ -5018,7 +5074,7 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5018
5074
|
c,
|
|
5019
5075
|
a,
|
|
5020
5076
|
d,
|
|
5021
|
-
r.locations && new
|
|
5077
|
+
r.locations && new me()
|
|
5022
5078
|
);
|
|
5023
5079
|
}
|
|
5024
5080
|
function Ue() {
|
|
@@ -5037,91 +5093,91 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5037
5093
|
else if (c === 47) {
|
|
5038
5094
|
var d = t.charCodeAt(a + 1);
|
|
5039
5095
|
if (d === 42)
|
|
5040
|
-
|
|
5096
|
+
Ki();
|
|
5041
5097
|
else if (d === 47)
|
|
5042
|
-
|
|
5098
|
+
Ft();
|
|
5043
5099
|
else break;
|
|
5044
5100
|
} else if (c === 160)
|
|
5045
5101
|
++a;
|
|
5046
|
-
else if (c >= 5760 &&
|
|
5102
|
+
else if (c >= 5760 && Xi.test(String.fromCharCode(c)))
|
|
5047
5103
|
++a;
|
|
5048
5104
|
else
|
|
5049
5105
|
break;
|
|
5050
5106
|
}
|
|
5051
5107
|
}
|
|
5052
|
-
function
|
|
5108
|
+
function qi() {
|
|
5053
5109
|
var c = t.charCodeAt(a + 1);
|
|
5054
|
-
c >= 48 && c <= 57 ?
|
|
5110
|
+
c >= 48 && c <= 57 ? Qr(!0) : (++a, G($r));
|
|
5055
5111
|
}
|
|
5056
|
-
function
|
|
5112
|
+
function Zi() {
|
|
5057
5113
|
var c = t.charCodeAt(a + 1);
|
|
5058
|
-
I ? (++a,
|
|
5114
|
+
I ? (++a, Zr()) : c === 61 ? Y(ye, 2) : Y(Gr, 1);
|
|
5059
5115
|
}
|
|
5060
|
-
function
|
|
5116
|
+
function Qi() {
|
|
5061
5117
|
var c = t.charCodeAt(a + 1);
|
|
5062
|
-
c === 61 ?
|
|
5118
|
+
c === 61 ? Y(ye, 2) : Y(Gi, 1);
|
|
5063
5119
|
}
|
|
5064
|
-
function
|
|
5120
|
+
function ea(c) {
|
|
5065
5121
|
var d = t.charCodeAt(a + 1);
|
|
5066
|
-
d === c ?
|
|
5122
|
+
d === c ? Y(c === 124 ? Xr : Wr, 2) : d === 61 ? Y(ye, 2) : Y(c === 124 ? Fi : Ui, 1);
|
|
5067
5123
|
}
|
|
5068
|
-
function
|
|
5124
|
+
function ta() {
|
|
5069
5125
|
var c = t.charCodeAt(a + 1);
|
|
5070
|
-
c === 61 ?
|
|
5126
|
+
c === 61 ? Y(ye, 2) : Y(Mi, 1);
|
|
5071
5127
|
}
|
|
5072
|
-
function
|
|
5128
|
+
function ra(c) {
|
|
5073
5129
|
var d = t.charCodeAt(a + 1);
|
|
5074
5130
|
if (d === c) {
|
|
5075
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
5076
|
-
a += 3,
|
|
5131
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && at.test(t.slice(q, a))) {
|
|
5132
|
+
a += 3, Ft(), Ue(), Se();
|
|
5077
5133
|
return;
|
|
5078
5134
|
}
|
|
5079
|
-
|
|
5080
|
-
} else d === 61 ?
|
|
5135
|
+
Y(Li, 2);
|
|
5136
|
+
} else d === 61 ? Y(ye, 2) : Y(Vi, 1);
|
|
5081
5137
|
}
|
|
5082
|
-
function
|
|
5138
|
+
function na(c) {
|
|
5083
5139
|
var d = t.charCodeAt(a + 1), y = 1;
|
|
5084
5140
|
if (d === c) {
|
|
5085
|
-
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ?
|
|
5141
|
+
y = c === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + y) === 61 ? Y(ye, y + 1) : Y($i, y);
|
|
5086
5142
|
return;
|
|
5087
5143
|
}
|
|
5088
5144
|
if (d === 33 && c === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
5089
|
-
a += 4,
|
|
5145
|
+
a += 4, Ft(), Ue(), Se();
|
|
5090
5146
|
return;
|
|
5091
5147
|
}
|
|
5092
|
-
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2),
|
|
5148
|
+
d === 61 && (y = t.charCodeAt(a + 2) === 61 ? 3 : 2), Y(Bi, y);
|
|
5093
5149
|
}
|
|
5094
|
-
function
|
|
5150
|
+
function ia(c) {
|
|
5095
5151
|
var d = t.charCodeAt(a + 1);
|
|
5096
|
-
d === 61 ?
|
|
5152
|
+
d === 61 ? Y(ji, t.charCodeAt(a + 2) === 61 ? 3 : 2) : Y(c === 61 ? Yr : zr, 1);
|
|
5097
5153
|
}
|
|
5098
|
-
function
|
|
5154
|
+
function aa(c) {
|
|
5099
5155
|
switch (c) {
|
|
5100
5156
|
case 46:
|
|
5101
|
-
return
|
|
5157
|
+
return qi();
|
|
5102
5158
|
case 40:
|
|
5103
|
-
return ++a,
|
|
5159
|
+
return ++a, G(re);
|
|
5104
5160
|
case 41:
|
|
5105
|
-
return ++a,
|
|
5161
|
+
return ++a, G(ee);
|
|
5106
5162
|
case 59:
|
|
5107
|
-
return ++a,
|
|
5163
|
+
return ++a, G(ne);
|
|
5108
5164
|
case 44:
|
|
5109
|
-
return ++a,
|
|
5165
|
+
return ++a, G(se);
|
|
5110
5166
|
case 91:
|
|
5111
|
-
return ++a,
|
|
5167
|
+
return ++a, G(Dt);
|
|
5112
5168
|
case 93:
|
|
5113
|
-
return ++a,
|
|
5169
|
+
return ++a, G(Lt);
|
|
5114
5170
|
case 123:
|
|
5115
|
-
return ++a,
|
|
5171
|
+
return ++a, G(Fe);
|
|
5116
5172
|
case 125:
|
|
5117
|
-
return ++a,
|
|
5173
|
+
return ++a, G(Ne);
|
|
5118
5174
|
case 58:
|
|
5119
|
-
return ++a,
|
|
5175
|
+
return ++a, G(Me);
|
|
5120
5176
|
case 63:
|
|
5121
|
-
return ++a,
|
|
5177
|
+
return ++a, G(Vr);
|
|
5122
5178
|
case 48:
|
|
5123
5179
|
var d = t.charCodeAt(a + 1);
|
|
5124
|
-
if (d === 120 || d === 88) return
|
|
5180
|
+
if (d === 120 || d === 88) return oa();
|
|
5125
5181
|
case 49:
|
|
5126
5182
|
case 50:
|
|
5127
5183
|
case 51:
|
|
@@ -5131,117 +5187,117 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5131
5187
|
case 55:
|
|
5132
5188
|
case 56:
|
|
5133
5189
|
case 57:
|
|
5134
|
-
return
|
|
5190
|
+
return Qr(!1);
|
|
5135
5191
|
case 34:
|
|
5136
5192
|
case 39:
|
|
5137
|
-
return
|
|
5193
|
+
return ua(c);
|
|
5138
5194
|
case 47:
|
|
5139
|
-
return
|
|
5195
|
+
return Zi();
|
|
5140
5196
|
case 37:
|
|
5141
5197
|
case 42:
|
|
5142
|
-
return
|
|
5198
|
+
return Qi();
|
|
5143
5199
|
case 124:
|
|
5144
5200
|
case 38:
|
|
5145
|
-
return
|
|
5201
|
+
return ea(c);
|
|
5146
5202
|
case 94:
|
|
5147
|
-
return
|
|
5203
|
+
return ta();
|
|
5148
5204
|
case 43:
|
|
5149
5205
|
case 45:
|
|
5150
|
-
return
|
|
5206
|
+
return ra(c);
|
|
5151
5207
|
case 60:
|
|
5152
5208
|
case 62:
|
|
5153
|
-
return
|
|
5209
|
+
return na(c);
|
|
5154
5210
|
case 61:
|
|
5155
5211
|
case 33:
|
|
5156
|
-
return
|
|
5212
|
+
return ia(c);
|
|
5157
5213
|
case 126:
|
|
5158
|
-
return
|
|
5214
|
+
return Y(zr, 1);
|
|
5159
5215
|
}
|
|
5160
5216
|
return !1;
|
|
5161
5217
|
}
|
|
5162
5218
|
function Se(c) {
|
|
5163
|
-
if (c ? a = p + 1 : p = a, r.locations && (E = new
|
|
5164
|
-
if (a >= e) return
|
|
5219
|
+
if (c ? a = p + 1 : p = a, r.locations && (E = new me()), c) return Zr();
|
|
5220
|
+
if (a >= e) return G(xt);
|
|
5165
5221
|
var d = t.charCodeAt(a);
|
|
5166
|
-
if (
|
|
5167
|
-
return
|
|
5168
|
-
var y =
|
|
5222
|
+
if (ut(d) || d === 92)
|
|
5223
|
+
return tn();
|
|
5224
|
+
var y = aa(d);
|
|
5169
5225
|
if (y === !1) {
|
|
5170
|
-
var
|
|
5171
|
-
if (
|
|
5172
|
-
return
|
|
5173
|
-
|
|
5226
|
+
var _ = String.fromCharCode(d);
|
|
5227
|
+
if (_ === "\\" || Kr.test(_))
|
|
5228
|
+
return tn();
|
|
5229
|
+
A(a, "Unexpected character '" + _ + "'");
|
|
5174
5230
|
}
|
|
5175
5231
|
}
|
|
5176
|
-
function
|
|
5232
|
+
function Y(c, d) {
|
|
5177
5233
|
var y = t.slice(a, a + d);
|
|
5178
|
-
a += d,
|
|
5234
|
+
a += d, G(c, y);
|
|
5179
5235
|
}
|
|
5180
|
-
function
|
|
5236
|
+
function Zr() {
|
|
5181
5237
|
for (var c, d, y = a; ; ) {
|
|
5182
|
-
a >= e &&
|
|
5183
|
-
var
|
|
5184
|
-
if (
|
|
5238
|
+
a >= e && A(y, "Unterminated regexp");
|
|
5239
|
+
var _ = t.charAt(a);
|
|
5240
|
+
if (at.test(_) && A(y, "Unterminated regexp"), c)
|
|
5185
5241
|
c = !1;
|
|
5186
5242
|
else {
|
|
5187
|
-
if (
|
|
5243
|
+
if (_ === "[")
|
|
5188
5244
|
d = !0;
|
|
5189
|
-
else if (
|
|
5245
|
+
else if (_ === "]" && d)
|
|
5190
5246
|
d = !1;
|
|
5191
|
-
else if (
|
|
5247
|
+
else if (_ === "/" && !d)
|
|
5192
5248
|
break;
|
|
5193
|
-
c =
|
|
5249
|
+
c = _ === "\\";
|
|
5194
5250
|
}
|
|
5195
5251
|
++a;
|
|
5196
5252
|
}
|
|
5197
5253
|
var C = t.slice(y, a);
|
|
5198
5254
|
++a;
|
|
5199
|
-
var
|
|
5200
|
-
|
|
5255
|
+
var P = en();
|
|
5256
|
+
P && !/^[gmi]*$/.test(P) && A(y, "Invalid regexp flag");
|
|
5201
5257
|
try {
|
|
5202
|
-
var
|
|
5258
|
+
var k = new RegExp(C, P);
|
|
5203
5259
|
} catch (U) {
|
|
5204
|
-
throw U instanceof SyntaxError &&
|
|
5260
|
+
throw U instanceof SyntaxError && A(y, U.message), U;
|
|
5205
5261
|
}
|
|
5206
|
-
|
|
5262
|
+
G(Rr, k);
|
|
5207
5263
|
}
|
|
5208
5264
|
function je(c, d) {
|
|
5209
|
-
for (var y = a,
|
|
5210
|
-
var
|
|
5211
|
-
if (
|
|
5212
|
-
++a,
|
|
5265
|
+
for (var y = a, _ = 0, C = d === void 0 ? 1 / 0 : d, P = 0; P < C; ++P) {
|
|
5266
|
+
var k = t.charCodeAt(a), U;
|
|
5267
|
+
if (k >= 97 ? U = k - 97 + 10 : k >= 65 ? U = k - 65 + 10 : k >= 48 && k <= 57 ? U = k - 48 : U = 1 / 0, U >= c) break;
|
|
5268
|
+
++a, _ = _ * c + U;
|
|
5213
5269
|
}
|
|
5214
|
-
return a === y || d !== void 0 && a - y !== d ? null :
|
|
5270
|
+
return a === y || d !== void 0 && a - y !== d ? null : _;
|
|
5215
5271
|
}
|
|
5216
|
-
function
|
|
5272
|
+
function oa() {
|
|
5217
5273
|
a += 2;
|
|
5218
5274
|
var c = je(16);
|
|
5219
|
-
c === null &&
|
|
5275
|
+
c === null && A(p + 2, "Expected hexadecimal number"), ut(t.charCodeAt(a)) && A(a, "Identifier directly after number"), G(tt, c);
|
|
5220
5276
|
}
|
|
5221
|
-
function
|
|
5222
|
-
var d = a, y = !1,
|
|
5223
|
-
!c && je(10) === null &&
|
|
5277
|
+
function Qr(c) {
|
|
5278
|
+
var d = a, y = !1, _ = t.charCodeAt(a) === 48;
|
|
5279
|
+
!c && je(10) === null && A(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, je(10), y = !0);
|
|
5224
5280
|
var C = t.charCodeAt(a);
|
|
5225
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null &&
|
|
5226
|
-
var
|
|
5227
|
-
y ?
|
|
5281
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, je(10) === null && A(d, "Invalid number"), y = !0), ut(t.charCodeAt(a)) && A(a, "Identifier directly after number");
|
|
5282
|
+
var P = t.slice(d, a), k;
|
|
5283
|
+
y ? k = parseFloat(P) : !_ || P.length === 1 ? k = parseInt(P, 10) : /[89]/.test(P) || J ? A(d, "Invalid number") : k = parseInt(P, 8), G(tt, k);
|
|
5228
5284
|
}
|
|
5229
|
-
function
|
|
5285
|
+
function ua(c) {
|
|
5230
5286
|
a++;
|
|
5231
5287
|
for (var d = ""; ; ) {
|
|
5232
|
-
a >= e &&
|
|
5288
|
+
a >= e && A(p, "Unterminated string constant");
|
|
5233
5289
|
var y = t.charCodeAt(a);
|
|
5234
5290
|
if (y === c) {
|
|
5235
|
-
++a,
|
|
5291
|
+
++a, G(St, d);
|
|
5236
5292
|
return;
|
|
5237
5293
|
}
|
|
5238
5294
|
if (y === 92) {
|
|
5239
5295
|
y = t.charCodeAt(++a);
|
|
5240
|
-
var
|
|
5241
|
-
for (
|
|
5242
|
-
|
|
5243
|
-
if (
|
|
5244
|
-
J &&
|
|
5296
|
+
var _ = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
5297
|
+
for (_ && (_ = _[0]); _ && parseInt(_, 8) > 255; )
|
|
5298
|
+
_ = _.slice(0, -1);
|
|
5299
|
+
if (_ === "0" && (_ = null), ++a, _)
|
|
5300
|
+
J && A(a - 2, "Octal literal in strict mode"), d += String.fromCharCode(parseInt(_, 8)), a += _.length - 1;
|
|
5245
5301
|
else
|
|
5246
5302
|
switch (y) {
|
|
5247
5303
|
case 110:
|
|
@@ -5252,13 +5308,13 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5252
5308
|
d += "\r";
|
|
5253
5309
|
break;
|
|
5254
5310
|
case 120:
|
|
5255
|
-
d += String.fromCharCode(
|
|
5311
|
+
d += String.fromCharCode(st(2));
|
|
5256
5312
|
break;
|
|
5257
5313
|
case 117:
|
|
5258
|
-
d += String.fromCharCode(
|
|
5314
|
+
d += String.fromCharCode(st(4));
|
|
5259
5315
|
break;
|
|
5260
5316
|
case 85:
|
|
5261
|
-
d += String.fromCharCode(
|
|
5317
|
+
d += String.fromCharCode(st(8));
|
|
5262
5318
|
break;
|
|
5263
5319
|
case 116:
|
|
5264
5320
|
d += " ";
|
|
@@ -5285,333 +5341,333 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5285
5341
|
break;
|
|
5286
5342
|
}
|
|
5287
5343
|
} else
|
|
5288
|
-
(y === 13 || y === 10 || y === 8232 || y === 8233) &&
|
|
5344
|
+
(y === 13 || y === 10 || y === 8232 || y === 8233) && A(p, "Unterminated string constant"), d += String.fromCharCode(y), ++a;
|
|
5289
5345
|
}
|
|
5290
5346
|
}
|
|
5291
|
-
function
|
|
5347
|
+
function st(c) {
|
|
5292
5348
|
var d = je(16, c);
|
|
5293
|
-
return d === null &&
|
|
5349
|
+
return d === null && A(p, "Bad character escape sequence"), /** @type {number} */
|
|
5294
5350
|
d;
|
|
5295
5351
|
}
|
|
5296
5352
|
var xe;
|
|
5297
|
-
function
|
|
5353
|
+
function en() {
|
|
5298
5354
|
xe = !1;
|
|
5299
5355
|
for (var c, d = !0, y = a; ; ) {
|
|
5300
|
-
var
|
|
5301
|
-
if (
|
|
5356
|
+
var _ = t.charCodeAt(a);
|
|
5357
|
+
if (qr(_))
|
|
5302
5358
|
xe && (c += t.charAt(a)), ++a;
|
|
5303
|
-
else if (
|
|
5304
|
-
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 &&
|
|
5305
|
-
var C =
|
|
5306
|
-
|
|
5359
|
+
else if (_ === 92) {
|
|
5360
|
+
xe || (c = t.slice(y, a)), xe = !0, t.charCodeAt(++a) !== 117 && A(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
5361
|
+
var C = st(4), P = String.fromCharCode(C);
|
|
5362
|
+
P || A(a - 1, "Invalid Unicode escape"), (d ? ut(C) : qr(C)) || A(a - 4, "Invalid Unicode escape"), c += P;
|
|
5307
5363
|
} else
|
|
5308
5364
|
break;
|
|
5309
5365
|
d = !1;
|
|
5310
5366
|
}
|
|
5311
5367
|
return xe ? c : t.slice(y, a);
|
|
5312
5368
|
}
|
|
5313
|
-
function
|
|
5314
|
-
var c =
|
|
5315
|
-
!xe &&
|
|
5369
|
+
function tn() {
|
|
5370
|
+
var c = en(), d = Te;
|
|
5371
|
+
!xe && zi(c) && (d = Di[c]), G(d, c);
|
|
5316
5372
|
}
|
|
5317
5373
|
function D() {
|
|
5318
5374
|
Le = p, q = v, Oe = S, Se();
|
|
5319
5375
|
}
|
|
5320
|
-
function
|
|
5376
|
+
function Mt(c) {
|
|
5321
5377
|
if (J = c, a = p, r.locations)
|
|
5322
5378
|
for (; a < W; )
|
|
5323
5379
|
W = t.lastIndexOf(`
|
|
5324
5380
|
`, W - 2) + 1, --L;
|
|
5325
5381
|
Ue(), Se();
|
|
5326
5382
|
}
|
|
5327
|
-
function
|
|
5383
|
+
function rn() {
|
|
5328
5384
|
this.type = null, this.start = p, this.end = null;
|
|
5329
5385
|
}
|
|
5330
|
-
function
|
|
5386
|
+
function nn() {
|
|
5331
5387
|
this.start = E, this.end = null, i && (this.source = i);
|
|
5332
5388
|
}
|
|
5333
5389
|
function z() {
|
|
5334
|
-
var c = new
|
|
5335
|
-
return r.locations && (c.loc = new
|
|
5390
|
+
var c = new rn();
|
|
5391
|
+
return r.locations && (c.loc = new nn()), r.directSourceFile && (c.sourceFile = r.directSourceFile), r.ranges && (c.range = [p, 0]), c;
|
|
5336
5392
|
}
|
|
5337
|
-
function
|
|
5338
|
-
var d = new
|
|
5339
|
-
return d.start = c.start, r.locations && (d.loc = new
|
|
5393
|
+
function le(c) {
|
|
5394
|
+
var d = new rn();
|
|
5395
|
+
return d.start = c.start, r.locations && (d.loc = new nn(), d.loc.start = c.loc.start), r.ranges && (d.range = [c.range[0], 0]), d;
|
|
5340
5396
|
}
|
|
5341
|
-
function
|
|
5397
|
+
function w(c, d) {
|
|
5342
5398
|
return c.type = d, c.end = q, r.locations && (c.loc.end = Oe), r.ranges && (c.range[1] = q), c;
|
|
5343
5399
|
}
|
|
5344
|
-
function
|
|
5400
|
+
function Ut(c) {
|
|
5345
5401
|
return c.type === "ExpressionStatement" && c.expression.type === "Literal" && c.expression.value === "use strict";
|
|
5346
5402
|
}
|
|
5347
5403
|
function j(c) {
|
|
5348
5404
|
return O === c ? (D(), !0) : !1;
|
|
5349
5405
|
}
|
|
5350
|
-
function
|
|
5351
|
-
return !r.strictSemicolons && (O ===
|
|
5406
|
+
function lt() {
|
|
5407
|
+
return !r.strictSemicolons && (O === xt || O === Ne || at.test(t.slice(q, p)));
|
|
5352
5408
|
}
|
|
5353
|
-
function
|
|
5354
|
-
!j(ne) && !
|
|
5409
|
+
function ge() {
|
|
5410
|
+
!j(ne) && !lt() && ie();
|
|
5355
5411
|
}
|
|
5356
5412
|
function $(c) {
|
|
5357
5413
|
O === c ? D() : ie();
|
|
5358
5414
|
}
|
|
5359
5415
|
function ie() {
|
|
5360
|
-
|
|
5416
|
+
A(p, "Unexpected token");
|
|
5361
5417
|
}
|
|
5362
|
-
function
|
|
5363
|
-
c.type !== "Identifier" && c.type !== "MemberExpression" &&
|
|
5418
|
+
function ct(c) {
|
|
5419
|
+
c.type !== "Identifier" && c.type !== "MemberExpression" && A(c.start, "Assigning to rvalue"), J && c.type === "Identifier" && it(c.name) && A(c.start, "Assigning to " + c.name + " in strict mode");
|
|
5364
5420
|
}
|
|
5365
|
-
function
|
|
5366
|
-
Le = q = a, r.locations && (Oe = new
|
|
5421
|
+
function sa(c) {
|
|
5422
|
+
Le = q = a, r.locations && (Oe = new me()), ve = J = !1, B = [], Se();
|
|
5367
5423
|
var d = c || z(), y = !0;
|
|
5368
|
-
for (c || (d.body = []); O !==
|
|
5369
|
-
var
|
|
5370
|
-
d.body.push(
|
|
5424
|
+
for (c || (d.body = []); O !== xt; ) {
|
|
5425
|
+
var _ = Z();
|
|
5426
|
+
d.body.push(_), y && Ut(_) && Mt(!0), y = !1;
|
|
5371
5427
|
}
|
|
5372
|
-
return
|
|
5428
|
+
return w(d, "Program");
|
|
5373
5429
|
}
|
|
5374
|
-
var
|
|
5430
|
+
var jt = { kind: "loop" }, la = { kind: "switch" };
|
|
5375
5431
|
function Z() {
|
|
5376
|
-
(O ===
|
|
5432
|
+
(O === Gr || O === ye && x === "/=") && Se(!0);
|
|
5377
5433
|
var c = O, d = z();
|
|
5378
5434
|
switch (c) {
|
|
5379
|
-
case
|
|
5380
|
-
case
|
|
5435
|
+
case Pt:
|
|
5436
|
+
case Tr:
|
|
5381
5437
|
D();
|
|
5382
|
-
var y = c ===
|
|
5383
|
-
j(ne) ||
|
|
5384
|
-
for (var
|
|
5385
|
-
var C = B[
|
|
5438
|
+
var y = c === Pt;
|
|
5439
|
+
j(ne) || lt() ? d.label = null : O !== Te ? ie() : (d.label = ce(), ge());
|
|
5440
|
+
for (var _ = 0; _ < B.length; ++_) {
|
|
5441
|
+
var C = B[_];
|
|
5386
5442
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (y || C.kind === "loop") || d.label && y))
|
|
5387
5443
|
break;
|
|
5388
5444
|
}
|
|
5389
|
-
return
|
|
5390
|
-
case
|
|
5391
|
-
return D(),
|
|
5392
|
-
case Or:
|
|
5393
|
-
return D(), B.push(Mt), d.body = Z(), B.pop(), $(At), d.test = Be(), me(), P(d, "DoWhileStatement");
|
|
5394
|
-
case Sr:
|
|
5395
|
-
if (D(), B.push(Mt), $(re), O === ne) return Ut(d, null);
|
|
5396
|
-
if (O === Ct) {
|
|
5397
|
-
var w = z();
|
|
5398
|
-
return D(), tn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && j(et) ? en(d, w) : Ut(d, w);
|
|
5399
|
-
}
|
|
5400
|
-
var w = X(!1, !0);
|
|
5401
|
-
return j(et) ? (st(w), en(d, w)) : Ut(d, w);
|
|
5402
|
-
case wt:
|
|
5403
|
-
return D(), Gt(d, !0);
|
|
5445
|
+
return _ === B.length && A(d.start, "Unsyntactic " + c.keyword), w(d, y ? "BreakStatement" : "ContinueStatement");
|
|
5446
|
+
case Nr:
|
|
5447
|
+
return D(), ge(), w(d, "DebuggerStatement");
|
|
5404
5448
|
case xr:
|
|
5405
|
-
return D(),
|
|
5406
|
-
case wr:
|
|
5407
|
-
return !he && !r.allowReturnOutsideFunction && k(p, "'return' outside of function"), D(), j(ne) || ut() ? d.argument = null : (d.argument = X(), me()), P(d, "ReturnStatement");
|
|
5408
|
-
case Pt:
|
|
5409
|
-
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(ua);
|
|
5410
|
-
for (var A, U; O !== Ne; )
|
|
5411
|
-
if (O === xt || O === Rr) {
|
|
5412
|
-
var Ge = O === xt;
|
|
5413
|
-
A && P(A, "SwitchCase"), d.cases.push(A = z()), A.consequent = [], D(), Ge ? A.test = X() : (U && k(Le, "Multiple default clauses"), U = !0, A.test = null), $(Me);
|
|
5414
|
-
} else
|
|
5415
|
-
A || ie(), A.consequent.push(Z());
|
|
5416
|
-
return A && P(A, "SwitchCase"), D(), B.pop(), P(d, "SwitchStatement");
|
|
5417
|
-
case Pr:
|
|
5418
|
-
return D(), nt.test(t.slice(q, p)) && k(q, "Illegal newline after throw"), d.argument = X(), me(), P(d, "ThrowStatement");
|
|
5449
|
+
return D(), B.push(jt), d.body = Z(), B.pop(), $(It), d.test = Be(), ge(), w(d, "DoWhileStatement");
|
|
5419
5450
|
case Cr:
|
|
5420
|
-
if (D(),
|
|
5421
|
-
|
|
5422
|
-
|
|
5451
|
+
if (D(), B.push(jt), $(re), O === ne) return Bt(d, null);
|
|
5452
|
+
if (O === At) {
|
|
5453
|
+
var P = z();
|
|
5454
|
+
return D(), on(P, !0), w(P, "VariableDeclaration"), P.declarations.length === 1 && j(rt) ? an(d, P) : Bt(d, P);
|
|
5423
5455
|
}
|
|
5424
|
-
|
|
5456
|
+
var P = X(!1, !0);
|
|
5457
|
+
return j(rt) ? (ct(P), an(d, P)) : Bt(d, P);
|
|
5425
5458
|
case Ct:
|
|
5426
|
-
return D(),
|
|
5427
|
-
case
|
|
5428
|
-
return D(), d.test = Be(),
|
|
5459
|
+
return D(), zt(d, !0);
|
|
5460
|
+
case kr:
|
|
5461
|
+
return D(), d.test = Be(), d.consequent = Z(), d.alternate = j(Pr) ? Z() : null, w(d, "IfStatement");
|
|
5429
5462
|
case Ar:
|
|
5430
|
-
return
|
|
5463
|
+
return !ve && !r.allowReturnOutsideFunction && A(p, "'return' outside of function"), D(), j(ne) || lt() ? d.argument = null : (d.argument = X(), ge()), w(d, "ReturnStatement");
|
|
5464
|
+
case kt:
|
|
5465
|
+
D(), d.discriminant = Be(), d.cases = [], $(Fe), B.push(la);
|
|
5466
|
+
for (var k, U; O !== Ne; )
|
|
5467
|
+
if (O === wt || O === Sr) {
|
|
5468
|
+
var Ge = O === wt;
|
|
5469
|
+
k && w(k, "SwitchCase"), d.cases.push(k = z()), k.consequent = [], D(), Ge ? k.test = X() : (U && A(Le, "Multiple default clauses"), U = !0, k.test = null), $(Me);
|
|
5470
|
+
} else
|
|
5471
|
+
k || ie(), k.consequent.push(Z());
|
|
5472
|
+
return k && w(k, "SwitchCase"), D(), B.pop(), w(d, "SwitchStatement");
|
|
5473
|
+
case Ir:
|
|
5474
|
+
return D(), at.test(t.slice(q, p)) && A(q, "Illegal newline after throw"), d.argument = X(), ge(), w(d, "ThrowStatement");
|
|
5475
|
+
case Dr:
|
|
5476
|
+
if (D(), d.block = $e(), d.handler = null, O === Or) {
|
|
5477
|
+
var Pe = z();
|
|
5478
|
+
D(), $(re), Pe.param = ce(), J && it(Pe.param.name) && A(Pe.param.start, "Binding " + Pe.param.name + " in strict mode"), $(ee), Pe.body = $e(), d.handler = w(Pe, "CatchClause");
|
|
5479
|
+
}
|
|
5480
|
+
return d.finalizer = j(wr) ? $e() : null, !d.handler && !d.finalizer && A(d.start, "Missing catch or finally clause"), w(d, "TryStatement");
|
|
5481
|
+
case At:
|
|
5482
|
+
return D(), on(d), ge(), w(d, "VariableDeclaration");
|
|
5483
|
+
case It:
|
|
5484
|
+
return D(), d.test = Be(), B.push(jt), d.body = Z(), B.pop(), w(d, "WhileStatement");
|
|
5485
|
+
case Lr:
|
|
5486
|
+
return J && A(p, "'with' in strict mode"), D(), d.object = Be(), d.body = Z(), w(d, "WithStatement");
|
|
5431
5487
|
case Fe:
|
|
5432
5488
|
return $e();
|
|
5433
5489
|
case ne:
|
|
5434
|
-
return D(),
|
|
5490
|
+
return D(), w(d, "EmptyStatement");
|
|
5435
5491
|
default:
|
|
5436
|
-
var
|
|
5437
|
-
if (c === Te &&
|
|
5438
|
-
for (var
|
|
5439
|
-
B[
|
|
5440
|
-
var
|
|
5441
|
-
return B.push({ name:
|
|
5492
|
+
var Wt = x, ft = X();
|
|
5493
|
+
if (c === Te && ft.type === "Identifier" && j(Me)) {
|
|
5494
|
+
for (var _ = 0; _ < B.length; ++_)
|
|
5495
|
+
B[_].name === Wt && A(ft.start, "Label '" + Wt + "' is already declared");
|
|
5496
|
+
var va = O.isLoop ? "loop" : O === kt ? "switch" : null;
|
|
5497
|
+
return B.push({ name: Wt, kind: va }), d.body = Z(), B.pop(), d.label = ft, w(d, "LabeledStatement");
|
|
5442
5498
|
} else
|
|
5443
|
-
return d.expression =
|
|
5499
|
+
return d.expression = ft, ge(), w(d, "ExpressionStatement");
|
|
5444
5500
|
}
|
|
5445
5501
|
}
|
|
5446
5502
|
function Be() {
|
|
5447
5503
|
$(re);
|
|
5448
5504
|
var c = X();
|
|
5449
|
-
return $(
|
|
5505
|
+
return $(ee), c;
|
|
5450
5506
|
}
|
|
5451
5507
|
function $e(c) {
|
|
5452
|
-
var d = z(), y = !0,
|
|
5508
|
+
var d = z(), y = !0, _ = !1, C;
|
|
5453
5509
|
for (d.body = [], $(Fe); !j(Ne); ) {
|
|
5454
|
-
var
|
|
5455
|
-
d.body.push(
|
|
5510
|
+
var P = Z();
|
|
5511
|
+
d.body.push(P), y && c && Ut(P) && (C = _, Mt(_ = !0)), y = !1;
|
|
5456
5512
|
}
|
|
5457
|
-
return
|
|
5513
|
+
return _ && !C && Mt(!1), w(d, "BlockStatement");
|
|
5458
5514
|
}
|
|
5459
|
-
function
|
|
5460
|
-
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O ===
|
|
5515
|
+
function Bt(c, d) {
|
|
5516
|
+
return c.init = d, $(ne), c.test = O === ne ? null : X(), $(ne), c.update = O === ee ? null : X(), $(ee), c.body = Z(), B.pop(), w(c, "ForStatement");
|
|
5461
5517
|
}
|
|
5462
|
-
function
|
|
5463
|
-
return c.left = d, c.right = X(), $(
|
|
5518
|
+
function an(c, d) {
|
|
5519
|
+
return c.left = d, c.right = X(), $(ee), c.body = Z(), B.pop(), w(c, "ForInStatement");
|
|
5464
5520
|
}
|
|
5465
|
-
function
|
|
5521
|
+
function on(c, d) {
|
|
5466
5522
|
for (c.declarations = [], c.kind = "var"; ; ) {
|
|
5467
5523
|
var y = z();
|
|
5468
|
-
if (y.id =
|
|
5524
|
+
if (y.id = ce(), J && it(y.id.name) && A(y.id.start, "Binding " + y.id.name + " in strict mode"), y.init = j(Yr) ? X(!0, d) : null, c.declarations.push(w(y, "VariableDeclarator")), !j(se)) break;
|
|
5469
5525
|
}
|
|
5470
5526
|
}
|
|
5471
5527
|
function X(c, d) {
|
|
5472
|
-
var y =
|
|
5473
|
-
if (!c && O ===
|
|
5474
|
-
var
|
|
5475
|
-
for (
|
|
5476
|
-
return
|
|
5528
|
+
var y = $t(d);
|
|
5529
|
+
if (!c && O === se) {
|
|
5530
|
+
var _ = le(y);
|
|
5531
|
+
for (_.expressions = [y]; j(se); ) _.expressions.push($t(d));
|
|
5532
|
+
return w(_, "SequenceExpression");
|
|
5477
5533
|
}
|
|
5478
5534
|
return y;
|
|
5479
5535
|
}
|
|
5480
|
-
function
|
|
5481
|
-
var d =
|
|
5536
|
+
function $t(c) {
|
|
5537
|
+
var d = ca(c);
|
|
5482
5538
|
if (O.isAssign) {
|
|
5483
|
-
var y =
|
|
5484
|
-
return y.operator = x, y.left = d, D(), y.right =
|
|
5539
|
+
var y = le(d);
|
|
5540
|
+
return y.operator = x, y.left = d, D(), y.right = $t(c), ct(d), w(y, "AssignmentExpression");
|
|
5485
5541
|
}
|
|
5486
5542
|
return d;
|
|
5487
5543
|
}
|
|
5488
|
-
function
|
|
5489
|
-
var d =
|
|
5490
|
-
if (j(
|
|
5491
|
-
var y =
|
|
5492
|
-
return y.test = d, y.consequent = X(!0), $(Me), y.alternate = X(!0, c),
|
|
5544
|
+
function ca(c) {
|
|
5545
|
+
var d = fa(c);
|
|
5546
|
+
if (j(Vr)) {
|
|
5547
|
+
var y = le(d);
|
|
5548
|
+
return y.test = d, y.consequent = X(!0), $(Me), y.alternate = X(!0, c), w(y, "ConditionalExpression");
|
|
5493
5549
|
}
|
|
5494
5550
|
return d;
|
|
5495
5551
|
}
|
|
5496
|
-
function
|
|
5497
|
-
return
|
|
5552
|
+
function fa(c) {
|
|
5553
|
+
return Vt(Gt(), -1, c);
|
|
5498
5554
|
}
|
|
5499
|
-
function
|
|
5500
|
-
var
|
|
5501
|
-
if (
|
|
5502
|
-
var C =
|
|
5555
|
+
function Vt(c, d, y) {
|
|
5556
|
+
var _ = O.binop;
|
|
5557
|
+
if (_ !== null && (!y || O !== rt) && _ > d) {
|
|
5558
|
+
var C = le(c);
|
|
5503
5559
|
C.left = c, C.operator = x;
|
|
5504
|
-
var
|
|
5505
|
-
D(), C.right =
|
|
5506
|
-
var
|
|
5507
|
-
return
|
|
5560
|
+
var P = O;
|
|
5561
|
+
D(), C.right = Vt(Gt(), _, y);
|
|
5562
|
+
var k = w(C, P === Xr || P === Wr ? "LogicalExpression" : "BinaryExpression");
|
|
5563
|
+
return Vt(k, d, y);
|
|
5508
5564
|
}
|
|
5509
5565
|
return c;
|
|
5510
5566
|
}
|
|
5511
|
-
function
|
|
5567
|
+
function Gt() {
|
|
5512
5568
|
if (O.prefix) {
|
|
5513
5569
|
var c = z(), d = O.isUpdate;
|
|
5514
|
-
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument =
|
|
5570
|
+
return c.operator = x, c.prefix = !0, I = !0, D(), c.argument = Gt(), d ? ct(c.argument) : J && c.operator === "delete" && c.argument.type === "Identifier" && A(c.start, "Deleting local variable in strict mode"), w(c, d ? "UpdateExpression" : "UnaryExpression");
|
|
5515
5571
|
}
|
|
5516
|
-
for (var y =
|
|
5517
|
-
var c =
|
|
5518
|
-
c.operator = x, c.prefix = !1, c.argument = y,
|
|
5572
|
+
for (var y = pa(); O.postfix && !lt(); ) {
|
|
5573
|
+
var c = le(y);
|
|
5574
|
+
c.operator = x, c.prefix = !1, c.argument = y, ct(y), D(), y = w(c, "UpdateExpression");
|
|
5519
5575
|
}
|
|
5520
5576
|
return y;
|
|
5521
5577
|
}
|
|
5522
|
-
function
|
|
5523
|
-
return Ve(
|
|
5578
|
+
function pa() {
|
|
5579
|
+
return Ve(Yt());
|
|
5524
5580
|
}
|
|
5525
5581
|
function Ve(c, d) {
|
|
5526
5582
|
var y;
|
|
5527
|
-
return j(
|
|
5583
|
+
return j($r) ? (y = le(c), y.object = c, y.property = ce(!0), y.computed = !1, Ve(w(y, "MemberExpression"), d)) : j(Dt) ? (y = le(c), y.object = c, y.property = X(), y.computed = !0, $(Lt), Ve(w(y, "MemberExpression"), d)) : !d && j(re) ? (y = le(c), y.callee = c, y.arguments = Xt(ee, !1), Ve(w(y, "CallExpression"), d)) : c;
|
|
5528
5584
|
}
|
|
5529
|
-
function
|
|
5585
|
+
function Yt() {
|
|
5530
5586
|
var c;
|
|
5531
5587
|
switch (O) {
|
|
5532
|
-
case
|
|
5533
|
-
return c = z(), D(),
|
|
5588
|
+
case Mr:
|
|
5589
|
+
return c = z(), D(), w(c, "ThisExpression");
|
|
5534
5590
|
case Te:
|
|
5535
|
-
return
|
|
5536
|
-
case
|
|
5537
|
-
case
|
|
5538
|
-
case
|
|
5539
|
-
return c = z(), c.value = x, c.raw = t.slice(p, v), D(),
|
|
5540
|
-
case
|
|
5541
|
-
case
|
|
5542
|
-
case
|
|
5543
|
-
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(),
|
|
5591
|
+
return ce();
|
|
5592
|
+
case tt:
|
|
5593
|
+
case St:
|
|
5594
|
+
case Rr:
|
|
5595
|
+
return c = z(), c.value = x, c.raw = t.slice(p, v), D(), w(c, "Literal");
|
|
5596
|
+
case Ur:
|
|
5597
|
+
case jr:
|
|
5598
|
+
case Br:
|
|
5599
|
+
return c = z(), c.value = O.atomValue, c.raw = O.keyword, D(), w(c, "Literal");
|
|
5544
5600
|
case re:
|
|
5545
5601
|
var d = E, y = p;
|
|
5546
5602
|
D();
|
|
5547
|
-
var
|
|
5548
|
-
return
|
|
5549
|
-
case
|
|
5550
|
-
return c = z(), D(), c.elements =
|
|
5603
|
+
var _ = X();
|
|
5604
|
+
return _.start = y, _.end = v, r.locations && (_.loc.start = d, _.loc.end = S), r.ranges && (_.range = [y, v]), $(ee), _;
|
|
5605
|
+
case Dt:
|
|
5606
|
+
return c = z(), D(), c.elements = Xt(Lt, !0, !0), w(c, "ArrayExpression");
|
|
5551
5607
|
case Fe:
|
|
5552
|
-
return
|
|
5553
|
-
case
|
|
5554
|
-
return c = z(), D(),
|
|
5555
|
-
case
|
|
5556
|
-
return
|
|
5608
|
+
return ha();
|
|
5609
|
+
case Ct:
|
|
5610
|
+
return c = z(), D(), zt(c, !1);
|
|
5611
|
+
case Fr:
|
|
5612
|
+
return da();
|
|
5557
5613
|
}
|
|
5558
5614
|
ie();
|
|
5559
5615
|
}
|
|
5560
|
-
function
|
|
5616
|
+
function da() {
|
|
5561
5617
|
var c = z();
|
|
5562
|
-
return D(), c.callee = Ve(
|
|
5618
|
+
return D(), c.callee = Ve(Yt(), !0), c.arguments = j(re) ? Xt(ee, !1) : Ii, w(c, "NewExpression");
|
|
5563
5619
|
}
|
|
5564
|
-
function
|
|
5620
|
+
function ha() {
|
|
5565
5621
|
var c = z(), d = !0, y = !1;
|
|
5566
5622
|
for (c.properties = [], D(); !j(Ne); ) {
|
|
5567
5623
|
if (d)
|
|
5568
5624
|
d = !1;
|
|
5569
|
-
else if ($(
|
|
5625
|
+
else if ($(se), r.allowTrailingCommas && j(Ne))
|
|
5570
5626
|
break;
|
|
5571
|
-
var
|
|
5572
|
-
if (j(Me) ? (
|
|
5573
|
-
for (var
|
|
5574
|
-
var U = c.properties[
|
|
5575
|
-
if (U.key.name ===
|
|
5576
|
-
var Ge =
|
|
5577
|
-
Ge && !J &&
|
|
5627
|
+
var _ = { key: un() }, C = !1, P;
|
|
5628
|
+
if (j(Me) ? (_.value = X(!0), P = _.kind = "init") : _.key.type === "Identifier" && (_.key.name === "get" || _.key.name === "set") ? (C = y = !0, P = _.kind = _.key.name, _.key = un(), O !== re && ie(), _.value = zt(z(), !1)) : ie(), _.key.type === "Identifier" && (J || y))
|
|
5629
|
+
for (var k = 0; k < c.properties.length; ++k) {
|
|
5630
|
+
var U = c.properties[k];
|
|
5631
|
+
if (U.key.name === _.key.name) {
|
|
5632
|
+
var Ge = P === U.kind || C && U.kind === "init" || P === "init" && (U.kind === "get" || U.kind === "set");
|
|
5633
|
+
Ge && !J && P === "init" && U.kind === "init" && (Ge = !1), Ge && A(_.key.start, "Redefinition of property");
|
|
5578
5634
|
}
|
|
5579
5635
|
}
|
|
5580
|
-
c.properties.push(
|
|
5636
|
+
c.properties.push(_);
|
|
5581
5637
|
}
|
|
5582
|
-
return
|
|
5638
|
+
return w(c, "ObjectExpression");
|
|
5583
5639
|
}
|
|
5584
|
-
function
|
|
5585
|
-
return O ===
|
|
5640
|
+
function un() {
|
|
5641
|
+
return O === tt || O === St ? Yt() : ce(!0);
|
|
5586
5642
|
}
|
|
5587
|
-
function
|
|
5588
|
-
O === Te ? c.id =
|
|
5643
|
+
function zt(c, d) {
|
|
5644
|
+
O === Te ? c.id = ce() : d ? ie() : c.id = null, c.params = [];
|
|
5589
5645
|
var y = !0;
|
|
5590
|
-
for ($(re); !j(
|
|
5591
|
-
y ? y = !1 : $(
|
|
5592
|
-
var
|
|
5593
|
-
if (
|
|
5594
|
-
for (var
|
|
5595
|
-
var
|
|
5596
|
-
if ((
|
|
5597
|
-
for (var U = 0; U <
|
|
5598
|
-
|
|
5646
|
+
for ($(re); !j(ee); )
|
|
5647
|
+
y ? y = !1 : $(se), c.params.push(ce());
|
|
5648
|
+
var _ = ve, C = B;
|
|
5649
|
+
if (ve = !0, B = [], c.body = $e(!0), ve = _, B = C, J || c.body.body.length && Ut(c.body.body[0]))
|
|
5650
|
+
for (var P = c.id ? -1 : 0; P < c.params.length; ++P) {
|
|
5651
|
+
var k = P < 0 ? c.id : c.params[P];
|
|
5652
|
+
if ((Jr(k.name) || it(k.name)) && A(k.start, "Defining '" + k.name + "' in strict mode"), P >= 0)
|
|
5653
|
+
for (var U = 0; U < P; ++U)
|
|
5654
|
+
k.name === c.params[U].name && A(k.start, "Argument name clash in strict mode");
|
|
5599
5655
|
}
|
|
5600
|
-
return
|
|
5656
|
+
return w(c, d ? "FunctionDeclaration" : "FunctionExpression");
|
|
5601
5657
|
}
|
|
5602
|
-
function
|
|
5603
|
-
for (var
|
|
5658
|
+
function Xt(c, d, y) {
|
|
5659
|
+
for (var _ = [], C = !0; !j(c); ) {
|
|
5604
5660
|
if (C)
|
|
5605
5661
|
C = !1;
|
|
5606
|
-
else if ($(
|
|
5662
|
+
else if ($(se), d && r.allowTrailingCommas && j(c))
|
|
5607
5663
|
break;
|
|
5608
|
-
|
|
5664
|
+
_.push(y && O === se ? null : X(!0));
|
|
5609
5665
|
}
|
|
5610
|
-
return
|
|
5666
|
+
return _;
|
|
5611
5667
|
}
|
|
5612
|
-
function
|
|
5668
|
+
function ce(c) {
|
|
5613
5669
|
var d = z();
|
|
5614
|
-
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved &&
|
|
5670
|
+
return c && r.forbidReserved === "everywhere" && (c = !1), O === Te ? (!c && (r.forbidReserved && Yi(x) || J && Jr(x)) && t.slice(p, v).indexOf("\\") === -1 && A(p, "The keyword '" + x + "' is reserved"), d.name = x) : c && O.keyword ? d.name = O.keyword : ie(), I = !1, D(), w(d, "Identifier");
|
|
5615
5671
|
}
|
|
5616
5672
|
});
|
|
5617
5673
|
}
|
|
@@ -5623,12 +5679,12 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5623
5679
|
\*********************/
|
|
5624
5680
|
/***/
|
|
5625
5681
|
(m) => {
|
|
5626
|
-
m.exports =
|
|
5682
|
+
m.exports = Vl;
|
|
5627
5683
|
}
|
|
5628
5684
|
)
|
|
5629
5685
|
/******/
|
|
5630
5686
|
}, h = {};
|
|
5631
|
-
function
|
|
5687
|
+
function g(m) {
|
|
5632
5688
|
var T = h[m];
|
|
5633
5689
|
if (T !== void 0)
|
|
5634
5690
|
return T.exports;
|
|
@@ -5641,12 +5697,12 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5641
5697
|
exports: {}
|
|
5642
5698
|
/******/
|
|
5643
5699
|
};
|
|
5644
|
-
return f[m].call(R.exports, R, R.exports,
|
|
5700
|
+
return f[m].call(R.exports, R, R.exports, g), R.exports;
|
|
5645
5701
|
}
|
|
5646
|
-
|
|
5702
|
+
g.d = (m, T) => {
|
|
5647
5703
|
for (var R in T)
|
|
5648
|
-
|
|
5649
|
-
},
|
|
5704
|
+
g.o(T, R) && !g.o(m, R) && Object.defineProperty(m, R, { enumerable: !0, get: T[R] });
|
|
5705
|
+
}, g.o = (m, T) => Object.prototype.hasOwnProperty.call(m, T), g.r = (m) => {
|
|
5650
5706
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
5651
5707
|
};
|
|
5652
5708
|
var b = {};
|
|
@@ -5654,27 +5710,27 @@ const Ll = {}, Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5654
5710
|
/*!*******************************!*\
|
|
5655
5711
|
!*** ./src/js-interpreter.js ***!
|
|
5656
5712
|
\*******************************/
|
|
5657
|
-
|
|
5713
|
+
g.r(b), g.d(b, {
|
|
5658
5714
|
/* harmony export */
|
|
5659
5715
|
default: () => R
|
|
5660
5716
|
/* harmony export */
|
|
5661
5717
|
});
|
|
5662
|
-
const m =
|
|
5718
|
+
const m = g(
|
|
5663
5719
|
/*! ../original-repo/acorn */
|
|
5664
5720
|
"./original-repo/acorn.js"
|
|
5665
5721
|
);
|
|
5666
5722
|
globalThis.acorn = m;
|
|
5667
|
-
const { Interpreter: T } =
|
|
5723
|
+
const { Interpreter: T } = g(
|
|
5668
5724
|
/*! ../original-repo/interpreter */
|
|
5669
5725
|
"./original-repo/interpreter.js"
|
|
5670
5726
|
), R = T;
|
|
5671
5727
|
})(), b = b.default, b;
|
|
5672
5728
|
})()
|
|
5673
5729
|
));
|
|
5674
|
-
})(
|
|
5675
|
-
var
|
|
5676
|
-
const
|
|
5677
|
-
function
|
|
5730
|
+
})(ki);
|
|
5731
|
+
var Gl = ki.exports;
|
|
5732
|
+
const Yl = /* @__PURE__ */ Ul(Gl);
|
|
5733
|
+
function zl(n, o) {
|
|
5678
5734
|
function f(T) {
|
|
5679
5735
|
const R = n.pseudoToNative(T);
|
|
5680
5736
|
console.log(R);
|
|
@@ -5682,11 +5738,11 @@ function Bl(n, o) {
|
|
|
5682
5738
|
function h(T) {
|
|
5683
5739
|
const R = n.pseudoToNative(T);
|
|
5684
5740
|
let r = "";
|
|
5685
|
-
typeof R == "object" ? r = JSON.stringify(R) : r = String(R),
|
|
5741
|
+
typeof R == "object" ? r = JSON.stringify(R) : r = String(R), Wn.emit("consoleAppend", r);
|
|
5686
5742
|
}
|
|
5687
|
-
function
|
|
5743
|
+
function g(T, R) {
|
|
5688
5744
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
5689
|
-
r === "info" ?
|
|
5745
|
+
r === "info" ? Sa(t) : r === "success" ? xa(t) : r === "warning" ? Pa(t) : r === "error" && wa(t);
|
|
5690
5746
|
}
|
|
5691
5747
|
function b(T, R) {
|
|
5692
5748
|
const r = n.pseudoToNative(T), t = n.pseudoToNative(R);
|
|
@@ -5711,7 +5767,7 @@ function Bl(n, o) {
|
|
|
5711
5767
|
), n.setProperty(
|
|
5712
5768
|
o,
|
|
5713
5769
|
"__messageV1__",
|
|
5714
|
-
n.createNativeFunction(
|
|
5770
|
+
n.createNativeFunction(g)
|
|
5715
5771
|
), n.setProperty(
|
|
5716
5772
|
o,
|
|
5717
5773
|
"__timeoutV1__",
|
|
@@ -5722,14 +5778,14 @@ function Bl(n, o) {
|
|
|
5722
5778
|
n.createAsyncFunction(m)
|
|
5723
5779
|
);
|
|
5724
5780
|
}
|
|
5725
|
-
class
|
|
5781
|
+
class Xl {
|
|
5726
5782
|
constructor(o) {
|
|
5727
|
-
|
|
5728
|
-
|
|
5783
|
+
Jt(this, "context");
|
|
5784
|
+
Jt(this, "nodes");
|
|
5729
5785
|
this.context = o, this.nodes = {};
|
|
5730
5786
|
const f = (h) => {
|
|
5731
|
-
var
|
|
5732
|
-
this.nodes[h.basic.id] = h, (
|
|
5787
|
+
var g;
|
|
5788
|
+
this.nodes[h.basic.id] = h, (g = h.children) == null || g.forEach((b) => f(b));
|
|
5733
5789
|
};
|
|
5734
5790
|
this.context.data.view.nodes.forEach((h) => f(h));
|
|
5735
5791
|
}
|
|
@@ -5737,35 +5793,35 @@ class $l {
|
|
|
5737
5793
|
return this.nodes[o];
|
|
5738
5794
|
}
|
|
5739
5795
|
addNode(o, f, h) {
|
|
5740
|
-
const
|
|
5796
|
+
const g = `parent=${o} ref=${f} keyOrRefid=${h}`;
|
|
5741
5797
|
let b;
|
|
5742
5798
|
if (o) {
|
|
5743
5799
|
const T = this.getNode(o);
|
|
5744
5800
|
if (!T)
|
|
5745
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5801
|
+
return console.error(`NodeMgr/addNode parent not found, ${g}`), "";
|
|
5746
5802
|
if (!T.children)
|
|
5747
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5803
|
+
return console.error(`NodeMgr/addNode parent no children, ${g}`), "";
|
|
5748
5804
|
b = T.children;
|
|
5749
5805
|
} else
|
|
5750
5806
|
b = this.context.data.view.nodes;
|
|
5751
5807
|
if (!b)
|
|
5752
5808
|
return "";
|
|
5753
|
-
const m =
|
|
5809
|
+
const m = cl(
|
|
5754
5810
|
this.context.type,
|
|
5755
5811
|
this.context.data.type,
|
|
5756
5812
|
this.context.data.version,
|
|
5757
5813
|
f,
|
|
5758
5814
|
h
|
|
5759
5815
|
);
|
|
5760
|
-
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5816
|
+
return m ? (b.push(m), this.nodes[m.basic.id] = m, m.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${g}`), "");
|
|
5761
5817
|
}
|
|
5762
5818
|
deleteNode(o) {
|
|
5763
5819
|
this.getNode(o);
|
|
5764
5820
|
}
|
|
5765
5821
|
}
|
|
5766
|
-
function
|
|
5767
|
-
const h = new
|
|
5768
|
-
function
|
|
5822
|
+
function Wl(n, o, f) {
|
|
5823
|
+
const h = new Xl(n);
|
|
5824
|
+
function g(t, e, i) {
|
|
5769
5825
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e), l = o.pseudoToNative(i), a = h.addNode(u, s, l);
|
|
5770
5826
|
return o.nativeToPseudo(a);
|
|
5771
5827
|
}
|
|
@@ -5815,20 +5871,20 @@ function Vl(n, o, f) {
|
|
|
5815
5871
|
}
|
|
5816
5872
|
function R(t, e, i) {
|
|
5817
5873
|
const u = o.pseudoToNative(t), s = o.pseudoToNative(e);
|
|
5818
|
-
|
|
5874
|
+
Ca({ title: u, text: s }).then((l) => {
|
|
5819
5875
|
i(o.nativeToPseudo(l)), o.run();
|
|
5820
5876
|
});
|
|
5821
5877
|
}
|
|
5822
5878
|
function r(t, e, i, u) {
|
|
5823
5879
|
const s = o.pseudoToNative(t), l = o.pseudoToNative(e), a = o.pseudoToNative(i);
|
|
5824
|
-
|
|
5880
|
+
ka({ title: s, label: l, value: a }).then((p) => {
|
|
5825
5881
|
u(o.nativeToPseudo(p)), o.run();
|
|
5826
5882
|
});
|
|
5827
5883
|
}
|
|
5828
5884
|
o.setProperty(
|
|
5829
5885
|
f,
|
|
5830
5886
|
"__addNodeV1__",
|
|
5831
|
-
o.createNativeFunction(
|
|
5887
|
+
o.createNativeFunction(g)
|
|
5832
5888
|
), o.setProperty(
|
|
5833
5889
|
f,
|
|
5834
5890
|
"__deleteNodeV1__",
|
|
@@ -5851,16 +5907,16 @@ function Vl(n, o, f) {
|
|
|
5851
5907
|
o.createAsyncFunction(r)
|
|
5852
5908
|
);
|
|
5853
5909
|
}
|
|
5854
|
-
function
|
|
5855
|
-
|
|
5910
|
+
function Jl(n, o, f) {
|
|
5911
|
+
zl(o, f), Wl(n, o, f);
|
|
5856
5912
|
}
|
|
5857
|
-
const
|
|
5913
|
+
const Hl = `
|
|
5858
5914
|
var __env__ = 'dev'
|
|
5859
5915
|
|
|
5860
5916
|
function __getEnvV1__() {
|
|
5861
5917
|
return __env__
|
|
5862
5918
|
}
|
|
5863
|
-
`,
|
|
5919
|
+
`, Kl = `
|
|
5864
5920
|
var __events__ = {}
|
|
5865
5921
|
|
|
5866
5922
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5931,7 +5987,7 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5931
5987
|
callbacks[i](p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
|
|
5932
5988
|
}
|
|
5933
5989
|
}
|
|
5934
|
-
`,
|
|
5990
|
+
`, ql = `
|
|
5935
5991
|
var __timers__ = {}
|
|
5936
5992
|
var __currTimerId__ = 0
|
|
5937
5993
|
|
|
@@ -5973,15 +6029,15 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5973
6029
|
}
|
|
5974
6030
|
}
|
|
5975
6031
|
}
|
|
5976
|
-
`,
|
|
6032
|
+
`, Zl = `
|
|
5977
6033
|
function __destroy__() {
|
|
5978
6034
|
}
|
|
5979
|
-
`,
|
|
5980
|
-
function
|
|
5981
|
-
const f = new
|
|
5982
|
-
|
|
5983
|
-
(h,
|
|
5984
|
-
|
|
6035
|
+
`, Ql = Hl + Kl + ql + Zl;
|
|
6036
|
+
function ec(n, o) {
|
|
6037
|
+
const f = new Yl(
|
|
6038
|
+
Ql,
|
|
6039
|
+
(h, g) => {
|
|
6040
|
+
Jl(n, h, g);
|
|
5985
6041
|
}
|
|
5986
6042
|
);
|
|
5987
6043
|
return f.appendCode(o), f.appendCode(`
|
|
@@ -5989,10 +6045,10 @@ __env__ = '${n.env}';
|
|
|
5989
6045
|
__triggerEvent__('globality', 'startup');
|
|
5990
6046
|
`), f.run(), f;
|
|
5991
6047
|
}
|
|
5992
|
-
function
|
|
6048
|
+
function $n(n) {
|
|
5993
6049
|
n.appendCode("__destroy__();"), n.run();
|
|
5994
6050
|
}
|
|
5995
|
-
const
|
|
6051
|
+
const tc = /* @__PURE__ */ oe({
|
|
5996
6052
|
__name: "index",
|
|
5997
6053
|
props: {
|
|
5998
6054
|
id: {},
|
|
@@ -6001,21 +6057,21 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6001
6057
|
outer: { type: Boolean }
|
|
6002
6058
|
},
|
|
6003
6059
|
setup(n) {
|
|
6004
|
-
const { t: o } =
|
|
6060
|
+
const { t: o } = Aa(), f = n, h = fl(), g = Re(), b = Si(), m = xi(), T = Pi(), R = pl(), r = N(() => R[f.refContext.refid]);
|
|
6005
6061
|
let t;
|
|
6006
|
-
|
|
6007
|
-
r.value ||
|
|
6062
|
+
Oa(() => {
|
|
6063
|
+
r.value || Wn.emit("compNotAvail", f.refContext.refid), t && ($n(t), t = void 0), r.value && g === "runtime" && (t = ec(
|
|
6008
6064
|
{
|
|
6009
6065
|
env: h,
|
|
6010
6066
|
type: m,
|
|
6011
6067
|
data: T
|
|
6012
6068
|
},
|
|
6013
6069
|
r.value.data.code.script
|
|
6014
|
-
),
|
|
6015
|
-
}),
|
|
6016
|
-
t && (
|
|
6070
|
+
), dl(t));
|
|
6071
|
+
}), Ta(() => {
|
|
6072
|
+
t && ($n(t), t = void 0);
|
|
6017
6073
|
});
|
|
6018
|
-
const { applySize: e } =
|
|
6074
|
+
const { applySize: e } = Ci(g, b, f), i = N(() => {
|
|
6019
6075
|
const v = {}, E = T.type;
|
|
6020
6076
|
return m === "page" ? E === "common" ? e(v) : console.assert(!1) : m === "comp" && E === "common" ? e(v) : console.assert(!1), v;
|
|
6021
6077
|
});
|
|
@@ -6033,7 +6089,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6033
6089
|
return v.ref ? E = l(v) : E = a(v), E;
|
|
6034
6090
|
}
|
|
6035
6091
|
function l(v) {
|
|
6036
|
-
const E =
|
|
6092
|
+
const E = Ai[T.version].refKey, S = ke[E];
|
|
6037
6093
|
let O;
|
|
6038
6094
|
return S ? O = Ye(S.comp, {
|
|
6039
6095
|
refContext: {
|
|
@@ -6046,7 +6102,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6046
6102
|
function a(v) {
|
|
6047
6103
|
var O;
|
|
6048
6104
|
let E;
|
|
6049
|
-
const S =
|
|
6105
|
+
const S = ke[v.basic.key];
|
|
6050
6106
|
return S ? ((O = v.children) == null || O.forEach((x) => {
|
|
6051
6107
|
s(x);
|
|
6052
6108
|
}), E = Ye(S.comp, { node: v })) : console.assert(!1, `invalid element key=${v.basic.key}`), E;
|
|
@@ -6065,9 +6121,9 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6065
6121
|
v.push(Ye("div", o("x-runtime-lib.compNotAvail")));
|
|
6066
6122
|
return Ye("div", { id: f.id, style: i.value }, v);
|
|
6067
6123
|
};
|
|
6068
|
-
return (v, E) => (H(),
|
|
6124
|
+
return (v, E) => (H(), he(p));
|
|
6069
6125
|
}
|
|
6070
|
-
}),
|
|
6126
|
+
}), Vn = {
|
|
6071
6127
|
key: "ref",
|
|
6072
6128
|
name: "x-runtime-lib.ref",
|
|
6073
6129
|
children: [
|
|
@@ -6078,25 +6134,25 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6078
6134
|
default: ""
|
|
6079
6135
|
}
|
|
6080
6136
|
]
|
|
6081
|
-
},
|
|
6082
|
-
key:
|
|
6137
|
+
}, rc = {
|
|
6138
|
+
key: mt,
|
|
6083
6139
|
name: "x-runtime-lib.ref",
|
|
6084
|
-
comp:
|
|
6085
|
-
|
|
6140
|
+
comp: tc,
|
|
6141
|
+
slots: [],
|
|
6086
6142
|
events: [],
|
|
6087
6143
|
methods: [],
|
|
6088
6144
|
props: {
|
|
6089
|
-
pageCommon: [
|
|
6090
|
-
compCommon: [
|
|
6145
|
+
pageCommon: [V, Vn, Et, gt, _t, bt],
|
|
6146
|
+
compCommon: [V, Vn, Et, gt, _t, bt]
|
|
6091
6147
|
}
|
|
6092
|
-
},
|
|
6148
|
+
}, nc = { key: 0 }, ic = /* @__PURE__ */ oe({
|
|
6093
6149
|
__name: "index",
|
|
6094
6150
|
props: {
|
|
6095
6151
|
node: {},
|
|
6096
6152
|
outer: { type: Boolean }
|
|
6097
6153
|
},
|
|
6098
6154
|
setup(n) {
|
|
6099
|
-
const o = n, f = Re(), h = De(),
|
|
6155
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
6100
6156
|
var e;
|
|
6101
6157
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6102
6158
|
}), b = N(() => {
|
|
@@ -6116,10 +6172,10 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6116
6172
|
return f !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
|
|
6117
6173
|
}), t = N(() => h.value ? "dark" : "light");
|
|
6118
6174
|
return (e, i) => {
|
|
6119
|
-
const u =
|
|
6120
|
-
return
|
|
6121
|
-
|
|
6122
|
-
"model-value":
|
|
6175
|
+
const u = fe("v-select");
|
|
6176
|
+
return He(f) === "editor" ? (H(), Ke("div", nc, [
|
|
6177
|
+
qe(u, {
|
|
6178
|
+
"model-value": g.value,
|
|
6123
6179
|
label: b.value,
|
|
6124
6180
|
placeholder: m.value,
|
|
6125
6181
|
"hide-details": T.value,
|
|
@@ -6127,9 +6183,9 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6127
6183
|
readonly: r.value,
|
|
6128
6184
|
theme: t.value
|
|
6129
6185
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6130
|
-
])) : (H(),
|
|
6186
|
+
])) : (H(), he(u, {
|
|
6131
6187
|
key: 1,
|
|
6132
|
-
"model-value":
|
|
6188
|
+
"model-value": g.value,
|
|
6133
6189
|
label: b.value,
|
|
6134
6190
|
placeholder: m.value,
|
|
6135
6191
|
"hide-details": T.value,
|
|
@@ -6139,7 +6195,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6139
6195
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6140
6196
|
};
|
|
6141
6197
|
}
|
|
6142
|
-
}),
|
|
6198
|
+
}), Gn = {
|
|
6143
6199
|
key: "settings",
|
|
6144
6200
|
name: "x-runtime-lib.settings",
|
|
6145
6201
|
children: [
|
|
@@ -6180,25 +6236,25 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6180
6236
|
default: !1
|
|
6181
6237
|
}
|
|
6182
6238
|
]
|
|
6183
|
-
},
|
|
6184
|
-
key:
|
|
6239
|
+
}, ac = {
|
|
6240
|
+
key: cr,
|
|
6185
6241
|
name: "x-runtime-lib.select",
|
|
6186
|
-
comp:
|
|
6187
|
-
|
|
6242
|
+
comp: ic,
|
|
6243
|
+
slots: [],
|
|
6188
6244
|
events: [],
|
|
6189
6245
|
methods: [],
|
|
6190
6246
|
props: {
|
|
6191
|
-
pageCommon: [
|
|
6192
|
-
compCommon: [
|
|
6247
|
+
pageCommon: [V, Gn],
|
|
6248
|
+
compCommon: [V, Gn]
|
|
6193
6249
|
}
|
|
6194
|
-
},
|
|
6250
|
+
}, oc = { key: 0 }, uc = /* @__PURE__ */ oe({
|
|
6195
6251
|
__name: "index",
|
|
6196
6252
|
props: {
|
|
6197
6253
|
node: {},
|
|
6198
6254
|
outer: { type: Boolean }
|
|
6199
6255
|
},
|
|
6200
6256
|
setup(n) {
|
|
6201
|
-
const o = n, f = Re(), h = De(),
|
|
6257
|
+
const o = n, f = Re(), h = De(), g = N(() => {
|
|
6202
6258
|
var t;
|
|
6203
6259
|
return (t = o.node.settings) == null ? void 0 : t.label;
|
|
6204
6260
|
}), b = N(() => {
|
|
@@ -6215,19 +6271,19 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6215
6271
|
return f !== "runtime" ? !0 : (t = o.node.settings) == null ? void 0 : t.readonly;
|
|
6216
6272
|
}), r = N(() => h.value ? "dark" : "light");
|
|
6217
6273
|
return (t, e) => {
|
|
6218
|
-
const i =
|
|
6219
|
-
return
|
|
6220
|
-
|
|
6221
|
-
label:
|
|
6274
|
+
const i = fe("v-text-field");
|
|
6275
|
+
return He(f) === "editor" ? (H(), Ke("div", oc, [
|
|
6276
|
+
qe(i, {
|
|
6277
|
+
label: g.value,
|
|
6222
6278
|
placeholder: b.value,
|
|
6223
6279
|
"hide-details": m.value,
|
|
6224
6280
|
"single-line": T.value,
|
|
6225
6281
|
readonly: R.value,
|
|
6226
6282
|
theme: r.value
|
|
6227
6283
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6228
|
-
])) : (H(),
|
|
6284
|
+
])) : (H(), he(i, {
|
|
6229
6285
|
key: 1,
|
|
6230
|
-
label:
|
|
6286
|
+
label: g.value,
|
|
6231
6287
|
placeholder: b.value,
|
|
6232
6288
|
"hide-details": m.value,
|
|
6233
6289
|
"single-line": T.value,
|
|
@@ -6236,7 +6292,7 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6236
6292
|
}, null, 8, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6237
6293
|
};
|
|
6238
6294
|
}
|
|
6239
|
-
}),
|
|
6295
|
+
}), Yn = {
|
|
6240
6296
|
key: "settings",
|
|
6241
6297
|
name: "x-runtime-lib.settings",
|
|
6242
6298
|
children: [
|
|
@@ -6271,52 +6327,56 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6271
6327
|
default: !1
|
|
6272
6328
|
}
|
|
6273
6329
|
]
|
|
6274
|
-
},
|
|
6275
|
-
key:
|
|
6330
|
+
}, sc = {
|
|
6331
|
+
key: fr,
|
|
6276
6332
|
name: "x-runtime-lib.textField",
|
|
6277
|
-
comp:
|
|
6278
|
-
|
|
6333
|
+
comp: uc,
|
|
6334
|
+
slots: [],
|
|
6279
6335
|
events: [],
|
|
6280
6336
|
methods: [],
|
|
6281
6337
|
props: {
|
|
6282
|
-
pageCommon: [
|
|
6283
|
-
compCommon: [
|
|
6338
|
+
pageCommon: [V, Yn],
|
|
6339
|
+
compCommon: [V, Yn]
|
|
6284
6340
|
}
|
|
6285
|
-
},
|
|
6341
|
+
}, lc = {
|
|
6286
6342
|
version: "v1",
|
|
6287
|
-
globalityKey:
|
|
6288
|
-
refKey:
|
|
6343
|
+
globalityKey: sr,
|
|
6344
|
+
refKey: mt,
|
|
6345
|
+
packageKey: yt,
|
|
6289
6346
|
elements: /* @__PURE__ */ new Set([
|
|
6290
|
-
er,
|
|
6291
|
-
tr,
|
|
6292
|
-
rr,
|
|
6293
6347
|
nr,
|
|
6294
6348
|
ir,
|
|
6295
|
-
Ti,
|
|
6296
6349
|
ar,
|
|
6297
|
-
Ni,
|
|
6298
6350
|
or,
|
|
6299
|
-
ur
|
|
6351
|
+
ur,
|
|
6352
|
+
sr,
|
|
6353
|
+
lr,
|
|
6354
|
+
yt,
|
|
6355
|
+
mt,
|
|
6356
|
+
cr,
|
|
6357
|
+
fr
|
|
6300
6358
|
]),
|
|
6301
6359
|
groups: [
|
|
6302
6360
|
{
|
|
6303
6361
|
key: "basic",
|
|
6304
6362
|
name: "x-runtime-lib.basic",
|
|
6305
6363
|
items: [
|
|
6306
|
-
er,
|
|
6307
|
-
tr,
|
|
6308
|
-
rr,
|
|
6309
6364
|
nr,
|
|
6310
6365
|
ir,
|
|
6311
6366
|
ar,
|
|
6312
6367
|
or,
|
|
6313
|
-
ur
|
|
6368
|
+
ur,
|
|
6369
|
+
lr,
|
|
6370
|
+
yt,
|
|
6371
|
+
mt,
|
|
6372
|
+
cr,
|
|
6373
|
+
fr
|
|
6314
6374
|
]
|
|
6315
6375
|
}
|
|
6316
6376
|
]
|
|
6317
|
-
},
|
|
6318
|
-
v1:
|
|
6319
|
-
},
|
|
6377
|
+
}, Ai = {
|
|
6378
|
+
v1: lc
|
|
6379
|
+
}, ke = {}, cc = {
|
|
6320
6380
|
key: "add",
|
|
6321
6381
|
name: "METHOD_ADD",
|
|
6322
6382
|
inputs: [],
|
|
@@ -6326,22 +6386,23 @@ const Kl = /* @__PURE__ */ pe({
|
|
|
6326
6386
|
name: "PARAM_NEW_NODE"
|
|
6327
6387
|
}
|
|
6328
6388
|
]
|
|
6329
|
-
},
|
|
6330
|
-
|
|
6389
|
+
}, Q = (n) => {
|
|
6390
|
+
ke[n.key] && console.assert(!1, `element duplicate key=${n.key}`), n.slots.length > 0 && n.methods.unshift(cc), ke[n.key] = n;
|
|
6331
6391
|
};
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6392
|
+
Q(ml);
|
|
6393
|
+
Q(bl);
|
|
6394
|
+
Q(Sl);
|
|
6395
|
+
Q(wl);
|
|
6396
|
+
Q(kl);
|
|
6397
|
+
Q(Al);
|
|
6398
|
+
Q(Ll);
|
|
6399
|
+
Q(Fl);
|
|
6400
|
+
Q(rc);
|
|
6401
|
+
Q(ac);
|
|
6402
|
+
Q(sc);
|
|
6403
|
+
const fc = (n, o, f) => {
|
|
6343
6404
|
const h = n[o];
|
|
6344
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6405
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((g, b) => {
|
|
6345
6406
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6346
6407
|
b.bind(
|
|
6347
6408
|
null,
|
|
@@ -6352,41 +6413,41 @@ const ac = (n, o, f) => {
|
|
|
6352
6413
|
);
|
|
6353
6414
|
});
|
|
6354
6415
|
};
|
|
6355
|
-
async function
|
|
6356
|
-
return (await
|
|
6416
|
+
async function Sc(n) {
|
|
6417
|
+
return (await fc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-or78iu3w.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-gsf2tqo3.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6357
6418
|
}
|
|
6358
6419
|
export {
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6420
|
+
gc as duplicateNode,
|
|
6421
|
+
ke as elements,
|
|
6422
|
+
Jn as genId,
|
|
6423
|
+
mc as getNode,
|
|
6424
|
+
kn as getPropDefault,
|
|
6425
|
+
ll as getPropTag,
|
|
6426
|
+
An as initProps,
|
|
6366
6427
|
De as injectDark,
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6428
|
+
Pi as injectData,
|
|
6429
|
+
pl as injectDepends,
|
|
6430
|
+
Si as injectDevice,
|
|
6431
|
+
fl as injectEnv,
|
|
6432
|
+
hl as injectInterpreter,
|
|
6372
6433
|
Re as injectMode,
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6434
|
+
xi as injectType,
|
|
6435
|
+
pr as isEmptyStr,
|
|
6436
|
+
hr as isPercentStr,
|
|
6437
|
+
dr as isPixelStr,
|
|
6438
|
+
Sc as loadLocaleMessageRuntime,
|
|
6439
|
+
Kt as parsePercentStr,
|
|
6440
|
+
yc as parsePixelStr,
|
|
6441
|
+
Ai as pkgs,
|
|
6442
|
+
Rc as provideDark,
|
|
6443
|
+
Tc as provideData,
|
|
6444
|
+
Nc as provideDepends,
|
|
6445
|
+
Ec as provideDevice,
|
|
6446
|
+
_c as provideEnv,
|
|
6447
|
+
dl as provideInterpreter,
|
|
6448
|
+
bc as provideMode,
|
|
6449
|
+
Oc as provideType,
|
|
6450
|
+
cl as spawnNode,
|
|
6451
|
+
ec as startInterpreter,
|
|
6452
|
+
$n as stopInterpreter
|
|
6392
6453
|
};
|