@ddd-tool/domain-designer-generator 0.0.0-alpha.4 → 0.0.0-alpha.6
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/domain/define.d.ts +2 -1
- package/domain/generator-agg.d.ts +22 -0
- package/domain-plugin/generator-java-plugin.d.ts +46 -44
- package/domain-plugin/generator-kotlin-plugin.d.ts +2 -0
- package/index.js +1323 -1253
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -10,56 +10,56 @@ function uo(e) {
|
|
|
10
10
|
for (const n of e.split(",")) t[n] = 1;
|
|
11
11
|
return (n) => n in t;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const j = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14
14
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
15
|
-
const
|
|
15
|
+
const oe = () => {
|
|
16
16
|
}, po = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
17
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97),
|
|
17
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), T = Object.assign, fo = Object.prototype.hasOwnProperty, $ = (e, t) => fo.call(e, t), C = Array.isArray, _e = (e) => nt(e) === "[object Map]", ho = (e) => nt(e) === "[object Set]", O = (e) => typeof e == "function", M = (e) => typeof e == "string", Ae = (e) => typeof e == "symbol", R = (e) => e !== null && typeof e == "object", mo = (e) => (R(e) || O(e)) && O(e.then) && O(e.catch), go = Object.prototype.toString, nt = (e) => go.call(e), dn = (e) => nt(e).slice(8, -1), _o = (e) => nt(e) === "[object Object]", jt = (e) => M(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, vo = (e) => {
|
|
18
18
|
const t = /* @__PURE__ */ Object.create(null);
|
|
19
19
|
return (n) => t[n] || (t[n] = e(n));
|
|
20
|
-
}, bo = vo((e) => e.charAt(0).toUpperCase() + e.slice(1)),
|
|
20
|
+
}, bo = vo((e) => e.charAt(0).toUpperCase() + e.slice(1)), Q = (e, t) => !Object.is(e, t), Eo = (e, t, n, o = !1) => {
|
|
21
21
|
Object.defineProperty(e, t, {
|
|
22
22
|
configurable: !0,
|
|
23
23
|
enumerable: !1,
|
|
24
|
-
writable:
|
|
24
|
+
writable: o,
|
|
25
25
|
value: n
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
let tn;
|
|
29
29
|
const ot = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
30
30
|
function kt(e) {
|
|
31
|
-
if (
|
|
31
|
+
if (C(e)) {
|
|
32
32
|
const t = {};
|
|
33
33
|
for (let n = 0; n < e.length; n++) {
|
|
34
|
-
const
|
|
35
|
-
if (
|
|
36
|
-
for (const s in
|
|
37
|
-
t[s] =
|
|
34
|
+
const o = e[n], r = M(o) ? yo(o) : kt(o);
|
|
35
|
+
if (r)
|
|
36
|
+
for (const s in r)
|
|
37
|
+
t[s] = r[s];
|
|
38
38
|
}
|
|
39
39
|
return t;
|
|
40
|
-
} else if (
|
|
40
|
+
} else if (M(e) || R(e))
|
|
41
41
|
return e;
|
|
42
42
|
}
|
|
43
|
-
const No = /;(?![^(]*\))/g, wo = /:([^]+)/,
|
|
44
|
-
function
|
|
43
|
+
const No = /;(?![^(]*\))/g, wo = /:([^]+)/, Co = /\/\*[^]*?\*\//g;
|
|
44
|
+
function yo(e) {
|
|
45
45
|
const t = {};
|
|
46
|
-
return e.replace(
|
|
46
|
+
return e.replace(Co, "").split(No).forEach((n) => {
|
|
47
47
|
if (n) {
|
|
48
|
-
const
|
|
49
|
-
|
|
48
|
+
const o = n.split(wo);
|
|
49
|
+
o.length > 1 && (t[o[0].trim()] = o[1].trim());
|
|
50
50
|
}
|
|
51
51
|
}), t;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ht(e) {
|
|
54
54
|
let t = "";
|
|
55
|
-
if (
|
|
55
|
+
if (M(e))
|
|
56
56
|
t = e;
|
|
57
|
-
else if (
|
|
57
|
+
else if (C(e))
|
|
58
58
|
for (let n = 0; n < e.length; n++) {
|
|
59
|
-
const
|
|
60
|
-
|
|
59
|
+
const o = Ht(e[n]);
|
|
60
|
+
o && (t += o + " ");
|
|
61
61
|
}
|
|
62
|
-
else if (
|
|
62
|
+
else if (R(e))
|
|
63
63
|
for (const n in e)
|
|
64
64
|
e[n] && (t += n + " ");
|
|
65
65
|
return t.trim();
|
|
@@ -69,11 +69,11 @@ function Mt(e) {
|
|
|
69
69
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
70
70
|
* @license MIT
|
|
71
71
|
**/
|
|
72
|
-
function
|
|
72
|
+
function W(e, ...t) {
|
|
73
73
|
}
|
|
74
|
-
let
|
|
74
|
+
let N;
|
|
75
75
|
const ut = /* @__PURE__ */ new WeakSet();
|
|
76
|
-
class
|
|
76
|
+
class $o {
|
|
77
77
|
constructor(t) {
|
|
78
78
|
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
|
|
79
79
|
}
|
|
@@ -93,14 +93,14 @@ class Oo {
|
|
|
93
93
|
if (!(this.flags & 1))
|
|
94
94
|
return this.fn();
|
|
95
95
|
this.flags |= 2, nn(this), gn(this);
|
|
96
|
-
const t =
|
|
97
|
-
|
|
96
|
+
const t = N, n = k;
|
|
97
|
+
N = this, k = !0;
|
|
98
98
|
try {
|
|
99
99
|
return this.fn();
|
|
100
100
|
} finally {
|
|
101
|
-
process.env.NODE_ENV !== "production" &&
|
|
101
|
+
process.env.NODE_ENV !== "production" && N !== this && W(
|
|
102
102
|
"Active effect was not restored correctly - this is likely a Vue internal bug."
|
|
103
|
-
), _n(this),
|
|
103
|
+
), _n(this), N = t, k = n, this.flags &= -3;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
stop() {
|
|
@@ -123,15 +123,15 @@ class Oo {
|
|
|
123
123
|
return Nt(this);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
let hn = 0,
|
|
126
|
+
let hn = 0, Ce, ye;
|
|
127
127
|
function mn(e, t = !1) {
|
|
128
128
|
if (e.flags |= 8, t) {
|
|
129
129
|
e.next = ye, ye = e;
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
e.next =
|
|
132
|
+
e.next = Ce, Ce = e;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Mt() {
|
|
135
135
|
hn++;
|
|
136
136
|
}
|
|
137
137
|
function Lt() {
|
|
@@ -145,15 +145,15 @@ function Lt() {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
let e;
|
|
148
|
-
for (;
|
|
149
|
-
let t =
|
|
150
|
-
for (
|
|
148
|
+
for (; Ce; ) {
|
|
149
|
+
let t = Ce;
|
|
150
|
+
for (Ce = void 0; t; ) {
|
|
151
151
|
const n = t.next;
|
|
152
152
|
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
153
153
|
try {
|
|
154
154
|
t.trigger();
|
|
155
|
-
} catch (
|
|
156
|
-
e || (e =
|
|
155
|
+
} catch (o) {
|
|
156
|
+
e || (e = o);
|
|
157
157
|
}
|
|
158
158
|
t = n;
|
|
159
159
|
}
|
|
@@ -165,10 +165,10 @@ function gn(e) {
|
|
|
165
165
|
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
166
166
|
}
|
|
167
167
|
function _n(e) {
|
|
168
|
-
let t, n = e.depsTail,
|
|
169
|
-
for (;
|
|
170
|
-
const
|
|
171
|
-
|
|
168
|
+
let t, n = e.depsTail, o = n;
|
|
169
|
+
for (; o; ) {
|
|
170
|
+
const r = o.prevDep;
|
|
171
|
+
o.version === -1 ? (o === n && (n = r), Kt(o), So(o)) : t = o, o.dep.activeLink = o.prevActiveLink, o.prevActiveLink = void 0, o = r;
|
|
172
172
|
}
|
|
173
173
|
e.deps = t, e.depsTail = n;
|
|
174
174
|
}
|
|
@@ -179,29 +179,29 @@ function Nt(e) {
|
|
|
179
179
|
return !!e._dirty;
|
|
180
180
|
}
|
|
181
181
|
function vn(e) {
|
|
182
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion ===
|
|
182
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Se))
|
|
183
183
|
return;
|
|
184
|
-
e.globalVersion =
|
|
184
|
+
e.globalVersion = Se;
|
|
185
185
|
const t = e.dep;
|
|
186
186
|
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Nt(e)) {
|
|
187
187
|
e.flags &= -3;
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
|
-
const n =
|
|
191
|
-
|
|
190
|
+
const n = N, o = k;
|
|
191
|
+
N = e, k = !0;
|
|
192
192
|
try {
|
|
193
193
|
gn(e);
|
|
194
|
-
const
|
|
195
|
-
(t.version === 0 ||
|
|
196
|
-
} catch (
|
|
197
|
-
throw t.version++,
|
|
194
|
+
const r = e.fn(e._value);
|
|
195
|
+
(t.version === 0 || Q(r, e._value)) && (e._value = r, t.version++);
|
|
196
|
+
} catch (r) {
|
|
197
|
+
throw t.version++, r;
|
|
198
198
|
} finally {
|
|
199
|
-
|
|
199
|
+
N = n, k = o, _n(e), e.flags &= -3;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
function Kt(e, t = !1) {
|
|
203
|
-
const { dep: n, prevSub:
|
|
204
|
-
if (
|
|
203
|
+
const { dep: n, prevSub: o, nextSub: r } = e;
|
|
204
|
+
if (o && (o.nextSub = r, e.prevSub = void 0), r && (r.prevSub = o, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = r), n.subs === e && (n.subs = o, !o && n.computed)) {
|
|
205
205
|
n.computed.flags &= -5;
|
|
206
206
|
for (let s = n.computed.deps; s; s = s.nextDep)
|
|
207
207
|
Kt(s, !0);
|
|
@@ -212,29 +212,29 @@ function So(e) {
|
|
|
212
212
|
const { prevDep: t, nextDep: n } = e;
|
|
213
213
|
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
214
214
|
}
|
|
215
|
-
let
|
|
215
|
+
let k = !0;
|
|
216
216
|
const bn = [];
|
|
217
217
|
function rt() {
|
|
218
|
-
bn.push(
|
|
218
|
+
bn.push(k), k = !1;
|
|
219
219
|
}
|
|
220
220
|
function st() {
|
|
221
221
|
const e = bn.pop();
|
|
222
|
-
|
|
222
|
+
k = e === void 0 ? !0 : e;
|
|
223
223
|
}
|
|
224
224
|
function nn(e) {
|
|
225
225
|
const { cleanup: t } = e;
|
|
226
226
|
if (e.cleanup = void 0, t) {
|
|
227
|
-
const n =
|
|
228
|
-
|
|
227
|
+
const n = N;
|
|
228
|
+
N = void 0;
|
|
229
229
|
try {
|
|
230
230
|
t();
|
|
231
231
|
} finally {
|
|
232
|
-
|
|
232
|
+
N = n;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
let
|
|
237
|
-
class
|
|
236
|
+
let Se = 0;
|
|
237
|
+
class Oo {
|
|
238
238
|
constructor(t, n) {
|
|
239
239
|
this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
240
240
|
}
|
|
@@ -244,34 +244,34 @@ class zt {
|
|
|
244
244
|
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
245
245
|
}
|
|
246
246
|
track(t) {
|
|
247
|
-
if (!
|
|
247
|
+
if (!N || !k || N === this.computed)
|
|
248
248
|
return;
|
|
249
249
|
let n = this.activeLink;
|
|
250
|
-
if (n === void 0 || n.sub !==
|
|
251
|
-
n = this.activeLink = new
|
|
250
|
+
if (n === void 0 || n.sub !== N)
|
|
251
|
+
n = this.activeLink = new Oo(N, this), N.deps ? (n.prevDep = N.depsTail, N.depsTail.nextDep = n, N.depsTail = n) : N.deps = N.depsTail = n, En(n);
|
|
252
252
|
else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
|
|
253
|
-
const
|
|
254
|
-
|
|
253
|
+
const o = n.nextDep;
|
|
254
|
+
o.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = o), n.prevDep = N.depsTail, n.nextDep = void 0, N.depsTail.nextDep = n, N.depsTail = n, N.deps === n && (N.deps = o);
|
|
255
255
|
}
|
|
256
|
-
return process.env.NODE_ENV !== "production" &&
|
|
257
|
-
|
|
256
|
+
return process.env.NODE_ENV !== "production" && N.onTrack && N.onTrack(
|
|
257
|
+
T(
|
|
258
258
|
{
|
|
259
|
-
effect:
|
|
259
|
+
effect: N
|
|
260
260
|
},
|
|
261
261
|
t
|
|
262
262
|
)
|
|
263
263
|
), n;
|
|
264
264
|
}
|
|
265
265
|
trigger(t) {
|
|
266
|
-
this.version++,
|
|
266
|
+
this.version++, Se++, this.notify(t);
|
|
267
267
|
}
|
|
268
268
|
notify(t) {
|
|
269
|
-
|
|
269
|
+
Mt();
|
|
270
270
|
try {
|
|
271
271
|
if (process.env.NODE_ENV !== "production")
|
|
272
272
|
for (let n = this.subsHead; n; n = n.nextSub)
|
|
273
273
|
n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
|
|
274
|
-
|
|
274
|
+
T(
|
|
275
275
|
{
|
|
276
276
|
effect: n.sub
|
|
277
277
|
},
|
|
@@ -290,113 +290,113 @@ function En(e) {
|
|
|
290
290
|
const t = e.dep.computed;
|
|
291
291
|
if (t && !e.dep.subs) {
|
|
292
292
|
t.flags |= 20;
|
|
293
|
-
for (let
|
|
294
|
-
En(
|
|
293
|
+
for (let o = t.deps; o; o = o.nextDep)
|
|
294
|
+
En(o);
|
|
295
295
|
}
|
|
296
296
|
const n = e.dep.subs;
|
|
297
297
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
const wt = /* @__PURE__ */ new WeakMap(),
|
|
300
|
+
const wt = /* @__PURE__ */ new WeakMap(), re = Symbol(
|
|
301
301
|
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
302
|
-
),
|
|
302
|
+
), Ct = Symbol(
|
|
303
303
|
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
304
|
-
),
|
|
304
|
+
), Oe = Symbol(
|
|
305
305
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
306
306
|
);
|
|
307
|
-
function
|
|
308
|
-
if (
|
|
309
|
-
let
|
|
310
|
-
|
|
311
|
-
let
|
|
312
|
-
|
|
307
|
+
function S(e, t, n) {
|
|
308
|
+
if (k && N) {
|
|
309
|
+
let o = wt.get(e);
|
|
310
|
+
o || wt.set(e, o = /* @__PURE__ */ new Map());
|
|
311
|
+
let r = o.get(n);
|
|
312
|
+
r || (o.set(n, r = new zt()), r.map = o, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
|
|
313
313
|
target: e,
|
|
314
314
|
type: t,
|
|
315
315
|
key: n
|
|
316
|
-
}) :
|
|
316
|
+
}) : r.track();
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function q(e, t, n, o, r, s) {
|
|
320
320
|
const c = wt.get(e);
|
|
321
321
|
if (!c) {
|
|
322
|
-
|
|
322
|
+
Se++;
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const a = (u) => {
|
|
326
326
|
u && (process.env.NODE_ENV !== "production" ? u.trigger({
|
|
327
327
|
target: e,
|
|
328
328
|
type: t,
|
|
329
329
|
key: n,
|
|
330
|
-
newValue:
|
|
331
|
-
oldValue:
|
|
330
|
+
newValue: o,
|
|
331
|
+
oldValue: r,
|
|
332
332
|
oldTarget: s
|
|
333
333
|
}) : u.trigger());
|
|
334
334
|
};
|
|
335
|
-
if (
|
|
336
|
-
c.forEach(
|
|
335
|
+
if (Mt(), t === "clear")
|
|
336
|
+
c.forEach(a);
|
|
337
337
|
else {
|
|
338
|
-
const u =
|
|
338
|
+
const u = C(e), f = u && jt(n);
|
|
339
339
|
if (u && n === "length") {
|
|
340
|
-
const
|
|
341
|
-
c.forEach((i,
|
|
342
|
-
(
|
|
340
|
+
const p = Number(o);
|
|
341
|
+
c.forEach((i, l) => {
|
|
342
|
+
(l === "length" || l === Oe || !Ae(l) && l >= p) && a(i);
|
|
343
343
|
});
|
|
344
344
|
} else
|
|
345
|
-
switch ((n !== void 0 || c.has(void 0)) &&
|
|
345
|
+
switch ((n !== void 0 || c.has(void 0)) && a(c.get(n)), f && a(c.get(Oe)), t) {
|
|
346
346
|
case "add":
|
|
347
|
-
u ?
|
|
347
|
+
u ? f && a(c.get("length")) : (a(c.get(re)), _e(e) && a(c.get(Ct)));
|
|
348
348
|
break;
|
|
349
349
|
case "delete":
|
|
350
|
-
u || (
|
|
350
|
+
u || (a(c.get(re)), _e(e) && a(c.get(Ct)));
|
|
351
351
|
break;
|
|
352
352
|
case "set":
|
|
353
|
-
|
|
353
|
+
_e(e) && a(c.get(re));
|
|
354
354
|
break;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
Lt();
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
const t =
|
|
361
|
-
return t === e ? t : (
|
|
359
|
+
function pe(e) {
|
|
360
|
+
const t = b(e);
|
|
361
|
+
return t === e ? t : (S(t, "iterate", Oe), I(e) ? t : t.map(V));
|
|
362
362
|
}
|
|
363
363
|
function Ut(e) {
|
|
364
|
-
return
|
|
364
|
+
return S(e = b(e), "iterate", Oe), e;
|
|
365
365
|
}
|
|
366
366
|
const xo = {
|
|
367
367
|
__proto__: null,
|
|
368
368
|
[Symbol.iterator]() {
|
|
369
|
-
return pt(this, Symbol.iterator,
|
|
369
|
+
return pt(this, Symbol.iterator, V);
|
|
370
370
|
},
|
|
371
371
|
concat(...e) {
|
|
372
|
-
return
|
|
373
|
-
...e.map((t) =>
|
|
372
|
+
return pe(this).concat(
|
|
373
|
+
...e.map((t) => C(t) ? pe(t) : t)
|
|
374
374
|
);
|
|
375
375
|
},
|
|
376
376
|
entries() {
|
|
377
|
-
return pt(this, "entries", (e) => (e[1] =
|
|
377
|
+
return pt(this, "entries", (e) => (e[1] = V(e[1]), e));
|
|
378
378
|
},
|
|
379
379
|
every(e, t) {
|
|
380
|
-
return
|
|
380
|
+
return K(this, "every", e, t, void 0, arguments);
|
|
381
381
|
},
|
|
382
382
|
filter(e, t) {
|
|
383
|
-
return
|
|
383
|
+
return K(this, "filter", e, t, (n) => n.map(V), arguments);
|
|
384
384
|
},
|
|
385
385
|
find(e, t) {
|
|
386
|
-
return
|
|
386
|
+
return K(this, "find", e, t, V, arguments);
|
|
387
387
|
},
|
|
388
388
|
findIndex(e, t) {
|
|
389
|
-
return
|
|
389
|
+
return K(this, "findIndex", e, t, void 0, arguments);
|
|
390
390
|
},
|
|
391
391
|
findLast(e, t) {
|
|
392
|
-
return
|
|
392
|
+
return K(this, "findLast", e, t, V, arguments);
|
|
393
393
|
},
|
|
394
394
|
findLastIndex(e, t) {
|
|
395
|
-
return
|
|
395
|
+
return K(this, "findLastIndex", e, t, void 0, arguments);
|
|
396
396
|
},
|
|
397
397
|
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
398
398
|
forEach(e, t) {
|
|
399
|
-
return
|
|
399
|
+
return K(this, "forEach", e, t, void 0, arguments);
|
|
400
400
|
},
|
|
401
401
|
includes(...e) {
|
|
402
402
|
return ft(this, "includes", e);
|
|
@@ -405,20 +405,20 @@ const xo = {
|
|
|
405
405
|
return ft(this, "indexOf", e);
|
|
406
406
|
},
|
|
407
407
|
join(e) {
|
|
408
|
-
return
|
|
408
|
+
return pe(this).join(e);
|
|
409
409
|
},
|
|
410
410
|
// keys() iterator only reads `length`, no optimisation required
|
|
411
411
|
lastIndexOf(...e) {
|
|
412
412
|
return ft(this, "lastIndexOf", e);
|
|
413
413
|
},
|
|
414
414
|
map(e, t) {
|
|
415
|
-
return
|
|
415
|
+
return K(this, "map", e, t, void 0, arguments);
|
|
416
416
|
},
|
|
417
417
|
pop() {
|
|
418
|
-
return
|
|
418
|
+
return Ne(this, "pop");
|
|
419
419
|
},
|
|
420
420
|
push(...e) {
|
|
421
|
-
return
|
|
421
|
+
return Ne(this, "push", e);
|
|
422
422
|
},
|
|
423
423
|
reduce(e, ...t) {
|
|
424
424
|
return on(this, "reduce", e, t);
|
|
@@ -427,185 +427,185 @@ const xo = {
|
|
|
427
427
|
return on(this, "reduceRight", e, t);
|
|
428
428
|
},
|
|
429
429
|
shift() {
|
|
430
|
-
return
|
|
430
|
+
return Ne(this, "shift");
|
|
431
431
|
},
|
|
432
432
|
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
433
433
|
some(e, t) {
|
|
434
|
-
return
|
|
434
|
+
return K(this, "some", e, t, void 0, arguments);
|
|
435
435
|
},
|
|
436
436
|
splice(...e) {
|
|
437
|
-
return
|
|
437
|
+
return Ne(this, "splice", e);
|
|
438
438
|
},
|
|
439
439
|
toReversed() {
|
|
440
|
-
return
|
|
440
|
+
return pe(this).toReversed();
|
|
441
441
|
},
|
|
442
442
|
toSorted(e) {
|
|
443
|
-
return
|
|
443
|
+
return pe(this).toSorted(e);
|
|
444
444
|
},
|
|
445
445
|
toSpliced(...e) {
|
|
446
|
-
return
|
|
446
|
+
return pe(this).toSpliced(...e);
|
|
447
447
|
},
|
|
448
448
|
unshift(...e) {
|
|
449
|
-
return
|
|
449
|
+
return Ne(this, "unshift", e);
|
|
450
450
|
},
|
|
451
451
|
values() {
|
|
452
|
-
return pt(this, "values",
|
|
452
|
+
return pt(this, "values", V);
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
function pt(e, t, n) {
|
|
456
|
-
const
|
|
457
|
-
return
|
|
458
|
-
const s =
|
|
456
|
+
const o = Ut(e), r = o[t]();
|
|
457
|
+
return o !== e && !I(e) && (r._next = r.next, r.next = () => {
|
|
458
|
+
const s = r._next();
|
|
459
459
|
return s.value && (s.value = n(s.value)), s;
|
|
460
|
-
}),
|
|
460
|
+
}), r;
|
|
461
461
|
}
|
|
462
462
|
const Do = Array.prototype;
|
|
463
|
-
function
|
|
464
|
-
const c = Ut(e),
|
|
463
|
+
function K(e, t, n, o, r, s) {
|
|
464
|
+
const c = Ut(e), a = c !== e && !I(e), u = c[t];
|
|
465
465
|
if (u !== Do[t]) {
|
|
466
466
|
const i = u.apply(e, s);
|
|
467
|
-
return
|
|
467
|
+
return a ? V(i) : i;
|
|
468
468
|
}
|
|
469
|
-
let
|
|
470
|
-
c !== e && (
|
|
471
|
-
return n.call(this,
|
|
472
|
-
} : n.length > 2 && (
|
|
473
|
-
return n.call(this, i,
|
|
469
|
+
let f = n;
|
|
470
|
+
c !== e && (a ? f = function(i, l) {
|
|
471
|
+
return n.call(this, V(i), l, e);
|
|
472
|
+
} : n.length > 2 && (f = function(i, l) {
|
|
473
|
+
return n.call(this, i, l, e);
|
|
474
474
|
}));
|
|
475
|
-
const
|
|
476
|
-
return
|
|
475
|
+
const p = u.call(c, f, o);
|
|
476
|
+
return a && r ? r(p) : p;
|
|
477
477
|
}
|
|
478
|
-
function on(e, t, n,
|
|
479
|
-
const
|
|
478
|
+
function on(e, t, n, o) {
|
|
479
|
+
const r = Ut(e);
|
|
480
480
|
let s = n;
|
|
481
|
-
return
|
|
482
|
-
return n.call(this, c,
|
|
483
|
-
}) : s = function(c,
|
|
484
|
-
return n.call(this, c,
|
|
485
|
-
}),
|
|
481
|
+
return r !== e && (I(e) ? n.length > 3 && (s = function(c, a, u) {
|
|
482
|
+
return n.call(this, c, a, u, e);
|
|
483
|
+
}) : s = function(c, a, u) {
|
|
484
|
+
return n.call(this, c, V(a), u, e);
|
|
485
|
+
}), r[t](s, ...o);
|
|
486
486
|
}
|
|
487
487
|
function ft(e, t, n) {
|
|
488
|
-
const
|
|
489
|
-
|
|
490
|
-
const
|
|
491
|
-
return (
|
|
488
|
+
const o = b(e);
|
|
489
|
+
S(o, "iterate", Oe);
|
|
490
|
+
const r = o[t](...n);
|
|
491
|
+
return (r === -1 || r === !1) && Ke(n[0]) ? (n[0] = b(n[0]), o[t](...n)) : r;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
rt(),
|
|
495
|
-
const
|
|
496
|
-
return Lt(), st(),
|
|
493
|
+
function Ne(e, t, n = []) {
|
|
494
|
+
rt(), Mt();
|
|
495
|
+
const o = b(e)[t].apply(e, n);
|
|
496
|
+
return Lt(), st(), o;
|
|
497
497
|
}
|
|
498
498
|
const Vo = /* @__PURE__ */ uo("__proto__,__v_isRef,__isVue"), Nn = new Set(
|
|
499
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
499
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ae)
|
|
500
500
|
);
|
|
501
501
|
function Ao(e) {
|
|
502
|
-
|
|
503
|
-
const t =
|
|
504
|
-
return
|
|
502
|
+
Ae(e) || (e = String(e));
|
|
503
|
+
const t = b(this);
|
|
504
|
+
return S(t, "has", e), t.hasOwnProperty(e);
|
|
505
505
|
}
|
|
506
506
|
class wn {
|
|
507
507
|
constructor(t = !1, n = !1) {
|
|
508
508
|
this._isReadonly = t, this._isShallow = n;
|
|
509
509
|
}
|
|
510
|
-
get(t, n,
|
|
510
|
+
get(t, n, o) {
|
|
511
511
|
if (n === "__v_skip") return t.__v_skip;
|
|
512
|
-
const
|
|
512
|
+
const r = this._isReadonly, s = this._isShallow;
|
|
513
513
|
if (n === "__v_isReactive")
|
|
514
|
-
return !
|
|
514
|
+
return !r;
|
|
515
515
|
if (n === "__v_isReadonly")
|
|
516
|
-
return
|
|
516
|
+
return r;
|
|
517
517
|
if (n === "__v_isShallow")
|
|
518
518
|
return s;
|
|
519
519
|
if (n === "__v_raw")
|
|
520
|
-
return
|
|
520
|
+
return o === (r ? s ? Sn : $n : s ? Lo : yn).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
521
521
|
// this means the receiver is a user proxy of the reactive proxy
|
|
522
|
-
Object.getPrototypeOf(t) === Object.getPrototypeOf(
|
|
523
|
-
const c =
|
|
524
|
-
if (!
|
|
522
|
+
Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
|
|
523
|
+
const c = C(t);
|
|
524
|
+
if (!r) {
|
|
525
525
|
let u;
|
|
526
526
|
if (c && (u = xo[n]))
|
|
527
527
|
return u;
|
|
528
528
|
if (n === "hasOwnProperty")
|
|
529
529
|
return Ao;
|
|
530
530
|
}
|
|
531
|
-
const
|
|
531
|
+
const a = Reflect.get(
|
|
532
532
|
t,
|
|
533
533
|
n,
|
|
534
534
|
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
535
535
|
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
536
536
|
// its class methods
|
|
537
|
-
|
|
537
|
+
A(t) ? t : o
|
|
538
538
|
);
|
|
539
|
-
return (
|
|
539
|
+
return (Ae(n) ? Nn.has(n) : Vo(n)) || (r || S(t, "get", n), s) ? a : A(a) ? c && jt(n) ? a : a.value : R(a) ? r ? Le(a) : On(a) : a;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
class Ro extends wn {
|
|
543
543
|
constructor(t = !1) {
|
|
544
544
|
super(!1, t);
|
|
545
545
|
}
|
|
546
|
-
set(t, n,
|
|
546
|
+
set(t, n, o, r) {
|
|
547
547
|
let s = t[n];
|
|
548
548
|
if (!this._isShallow) {
|
|
549
|
-
const u =
|
|
550
|
-
if (!
|
|
551
|
-
return u ? !1 : (s.value =
|
|
549
|
+
const u = B(s);
|
|
550
|
+
if (!I(o) && !B(o) && (s = b(s), o = b(o)), !C(t) && A(s) && !A(o))
|
|
551
|
+
return u ? !1 : (s.value = o, !0);
|
|
552
552
|
}
|
|
553
|
-
const c =
|
|
553
|
+
const c = C(t) && jt(n) ? Number(n) < t.length : $(t, n), a = Reflect.set(
|
|
554
554
|
t,
|
|
555
555
|
n,
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
o,
|
|
557
|
+
A(t) ? t : r
|
|
558
558
|
);
|
|
559
|
-
return t ===
|
|
559
|
+
return t === b(r) && (c ? Q(o, s) && q(t, "set", n, o, s) : q(t, "add", n, o)), a;
|
|
560
560
|
}
|
|
561
561
|
deleteProperty(t, n) {
|
|
562
|
-
const
|
|
563
|
-
return s &&
|
|
562
|
+
const o = $(t, n), r = t[n], s = Reflect.deleteProperty(t, n);
|
|
563
|
+
return s && o && q(t, "delete", n, void 0, r), s;
|
|
564
564
|
}
|
|
565
565
|
has(t, n) {
|
|
566
|
-
const
|
|
567
|
-
return (!
|
|
566
|
+
const o = Reflect.has(t, n);
|
|
567
|
+
return (!Ae(n) || !Nn.has(n)) && S(t, "has", n), o;
|
|
568
568
|
}
|
|
569
569
|
ownKeys(t) {
|
|
570
|
-
return
|
|
570
|
+
return S(
|
|
571
571
|
t,
|
|
572
572
|
"iterate",
|
|
573
|
-
|
|
573
|
+
C(t) ? "length" : re
|
|
574
574
|
), Reflect.ownKeys(t);
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class Cn extends wn {
|
|
578
578
|
constructor(t = !1) {
|
|
579
579
|
super(!0, t);
|
|
580
580
|
}
|
|
581
581
|
set(t, n) {
|
|
582
|
-
return process.env.NODE_ENV !== "production" &&
|
|
582
|
+
return process.env.NODE_ENV !== "production" && W(
|
|
583
583
|
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
584
584
|
t
|
|
585
585
|
), !0;
|
|
586
586
|
}
|
|
587
587
|
deleteProperty(t, n) {
|
|
588
|
-
return process.env.NODE_ENV !== "production" &&
|
|
588
|
+
return process.env.NODE_ENV !== "production" && W(
|
|
589
589
|
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
590
590
|
t
|
|
591
591
|
), !0;
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
const
|
|
594
|
+
const Io = /* @__PURE__ */ new Ro(), To = /* @__PURE__ */ new Cn(), Po = /* @__PURE__ */ new Cn(!0), yt = (e) => e, Te = (e) => Reflect.getPrototypeOf(e);
|
|
595
595
|
function Fo(e, t, n) {
|
|
596
|
-
return function(...
|
|
597
|
-
const
|
|
598
|
-
return !t &&
|
|
596
|
+
return function(...o) {
|
|
597
|
+
const r = this.__v_raw, s = b(r), c = _e(s), a = e === "entries" || e === Symbol.iterator && c, u = e === "keys" && c, f = r[e](...o), p = n ? yt : t ? $t : V;
|
|
598
|
+
return !t && S(
|
|
599
599
|
s,
|
|
600
600
|
"iterate",
|
|
601
|
-
u ?
|
|
601
|
+
u ? Ct : re
|
|
602
602
|
), {
|
|
603
603
|
// iterator protocol
|
|
604
604
|
next() {
|
|
605
|
-
const { value: i, done:
|
|
606
|
-
return
|
|
607
|
-
value:
|
|
608
|
-
done:
|
|
605
|
+
const { value: i, done: l } = f.next();
|
|
606
|
+
return l ? { value: i, done: l } : {
|
|
607
|
+
value: a ? [p(i[0]), p(i[1])] : p(i),
|
|
608
|
+
done: l
|
|
609
609
|
};
|
|
610
610
|
},
|
|
611
611
|
// iterable protocol
|
|
@@ -619,9 +619,9 @@ function Pe(e) {
|
|
|
619
619
|
return function(...t) {
|
|
620
620
|
if (process.env.NODE_ENV !== "production") {
|
|
621
621
|
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
622
|
-
|
|
622
|
+
W(
|
|
623
623
|
`${bo(e)} operation ${n}failed: target is readonly.`,
|
|
624
|
-
|
|
624
|
+
b(this)
|
|
625
625
|
);
|
|
626
626
|
}
|
|
627
627
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
@@ -629,30 +629,30 @@ function Pe(e) {
|
|
|
629
629
|
}
|
|
630
630
|
function jo(e, t) {
|
|
631
631
|
const n = {
|
|
632
|
-
get(
|
|
633
|
-
const s = this.__v_raw, c =
|
|
634
|
-
e || (
|
|
635
|
-
const { has: u } =
|
|
636
|
-
if (u.call(c,
|
|
637
|
-
return
|
|
638
|
-
if (u.call(c,
|
|
639
|
-
return
|
|
640
|
-
s !== c && s.get(
|
|
632
|
+
get(r) {
|
|
633
|
+
const s = this.__v_raw, c = b(s), a = b(r);
|
|
634
|
+
e || (Q(r, a) && S(c, "get", r), S(c, "get", a));
|
|
635
|
+
const { has: u } = Te(c), f = t ? yt : e ? $t : V;
|
|
636
|
+
if (u.call(c, r))
|
|
637
|
+
return f(s.get(r));
|
|
638
|
+
if (u.call(c, a))
|
|
639
|
+
return f(s.get(a));
|
|
640
|
+
s !== c && s.get(r);
|
|
641
641
|
},
|
|
642
642
|
get size() {
|
|
643
|
-
const
|
|
644
|
-
return !e &&
|
|
643
|
+
const r = this.__v_raw;
|
|
644
|
+
return !e && S(b(r), "iterate", re), Reflect.get(r, "size", r);
|
|
645
645
|
},
|
|
646
|
-
has(
|
|
647
|
-
const s = this.__v_raw, c =
|
|
648
|
-
return e || (
|
|
646
|
+
has(r) {
|
|
647
|
+
const s = this.__v_raw, c = b(s), a = b(r);
|
|
648
|
+
return e || (Q(r, a) && S(c, "has", r), S(c, "has", a)), r === a ? s.has(r) : s.has(r) || s.has(a);
|
|
649
649
|
},
|
|
650
|
-
forEach(
|
|
651
|
-
const c = this,
|
|
652
|
-
return !e &&
|
|
650
|
+
forEach(r, s) {
|
|
651
|
+
const c = this, a = c.__v_raw, u = b(a), f = t ? yt : e ? $t : V;
|
|
652
|
+
return !e && S(u, "iterate", re), a.forEach((p, i) => r.call(s, f(p), f(i), c));
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
|
-
return
|
|
655
|
+
return T(
|
|
656
656
|
n,
|
|
657
657
|
e ? {
|
|
658
658
|
add: Pe("add"),
|
|
@@ -660,35 +660,35 @@ function jo(e, t) {
|
|
|
660
660
|
delete: Pe("delete"),
|
|
661
661
|
clear: Pe("clear")
|
|
662
662
|
} : {
|
|
663
|
-
add(
|
|
664
|
-
!t && !
|
|
665
|
-
const s =
|
|
666
|
-
return
|
|
663
|
+
add(r) {
|
|
664
|
+
!t && !I(r) && !B(r) && (r = b(r));
|
|
665
|
+
const s = b(this);
|
|
666
|
+
return Te(s).has.call(s, r) || (s.add(r), q(s, "add", r, r)), this;
|
|
667
667
|
},
|
|
668
|
-
set(
|
|
669
|
-
!t && !
|
|
670
|
-
const c =
|
|
671
|
-
let
|
|
672
|
-
|
|
673
|
-
const
|
|
674
|
-
return c.set(
|
|
668
|
+
set(r, s) {
|
|
669
|
+
!t && !I(s) && !B(s) && (s = b(s));
|
|
670
|
+
const c = b(this), { has: a, get: u } = Te(c);
|
|
671
|
+
let f = a.call(c, r);
|
|
672
|
+
f ? process.env.NODE_ENV !== "production" && rn(c, a, r) : (r = b(r), f = a.call(c, r));
|
|
673
|
+
const p = u.call(c, r);
|
|
674
|
+
return c.set(r, s), f ? Q(s, p) && q(c, "set", r, s, p) : q(c, "add", r, s), this;
|
|
675
675
|
},
|
|
676
|
-
delete(
|
|
677
|
-
const s =
|
|
678
|
-
let u = c.call(s,
|
|
679
|
-
u ? process.env.NODE_ENV !== "production" && rn(s, c,
|
|
680
|
-
const
|
|
681
|
-
return u &&
|
|
676
|
+
delete(r) {
|
|
677
|
+
const s = b(this), { has: c, get: a } = Te(s);
|
|
678
|
+
let u = c.call(s, r);
|
|
679
|
+
u ? process.env.NODE_ENV !== "production" && rn(s, c, r) : (r = b(r), u = c.call(s, r));
|
|
680
|
+
const f = a ? a.call(s, r) : void 0, p = s.delete(r);
|
|
681
|
+
return u && q(s, "delete", r, void 0, f), p;
|
|
682
682
|
},
|
|
683
683
|
clear() {
|
|
684
|
-
const
|
|
685
|
-
return s &&
|
|
686
|
-
|
|
684
|
+
const r = b(this), s = r.size !== 0, c = process.env.NODE_ENV !== "production" ? _e(r) ? new Map(r) : new Set(r) : void 0, a = r.clear();
|
|
685
|
+
return s && q(
|
|
686
|
+
r,
|
|
687
687
|
"clear",
|
|
688
688
|
void 0,
|
|
689
689
|
void 0,
|
|
690
690
|
c
|
|
691
|
-
),
|
|
691
|
+
), a;
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
), [
|
|
@@ -696,35 +696,35 @@ function jo(e, t) {
|
|
|
696
696
|
"values",
|
|
697
697
|
"entries",
|
|
698
698
|
Symbol.iterator
|
|
699
|
-
].forEach((
|
|
700
|
-
n[
|
|
699
|
+
].forEach((r) => {
|
|
700
|
+
n[r] = Fo(r, e, t);
|
|
701
701
|
}), n;
|
|
702
702
|
}
|
|
703
703
|
function Wt(e, t) {
|
|
704
704
|
const n = jo(e, t);
|
|
705
|
-
return (
|
|
706
|
-
|
|
707
|
-
|
|
705
|
+
return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
|
|
706
|
+
$(n, r) && r in o ? n : o,
|
|
707
|
+
r,
|
|
708
708
|
s
|
|
709
709
|
);
|
|
710
710
|
}
|
|
711
711
|
const ko = {
|
|
712
712
|
get: /* @__PURE__ */ Wt(!1, !1)
|
|
713
|
-
}, Mo = {
|
|
714
|
-
get: /* @__PURE__ */ Wt(!0, !1)
|
|
715
713
|
}, Ho = {
|
|
714
|
+
get: /* @__PURE__ */ Wt(!0, !1)
|
|
715
|
+
}, Mo = {
|
|
716
716
|
get: /* @__PURE__ */ Wt(!0, !0)
|
|
717
717
|
};
|
|
718
718
|
function rn(e, t, n) {
|
|
719
|
-
const
|
|
720
|
-
if (
|
|
721
|
-
const
|
|
722
|
-
|
|
723
|
-
`Reactive ${
|
|
719
|
+
const o = b(n);
|
|
720
|
+
if (o !== n && t.call(e, o)) {
|
|
721
|
+
const r = dn(e);
|
|
722
|
+
W(
|
|
723
|
+
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
724
724
|
);
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
|
-
const
|
|
727
|
+
const yn = /* @__PURE__ */ new WeakMap(), Lo = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), Sn = /* @__PURE__ */ new WeakMap();
|
|
728
728
|
function Ko(e) {
|
|
729
729
|
switch (e) {
|
|
730
730
|
case "Object":
|
|
@@ -742,86 +742,86 @@ function Ko(e) {
|
|
|
742
742
|
function zo(e) {
|
|
743
743
|
return e.__v_skip || !Object.isExtensible(e) ? 0 : Ko(dn(e));
|
|
744
744
|
}
|
|
745
|
-
function
|
|
746
|
-
return
|
|
745
|
+
function On(e) {
|
|
746
|
+
return B(e) ? e : Bt(
|
|
747
747
|
e,
|
|
748
748
|
!1,
|
|
749
|
-
|
|
749
|
+
Io,
|
|
750
750
|
ko,
|
|
751
|
-
|
|
751
|
+
yn
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
754
|
function Le(e) {
|
|
755
|
-
return
|
|
755
|
+
return Bt(
|
|
756
756
|
e,
|
|
757
757
|
!0,
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
758
|
+
To,
|
|
759
|
+
Ho,
|
|
760
|
+
$n
|
|
761
761
|
);
|
|
762
762
|
}
|
|
763
|
-
function
|
|
764
|
-
return
|
|
763
|
+
function Z(e) {
|
|
764
|
+
return Bt(
|
|
765
765
|
e,
|
|
766
766
|
!0,
|
|
767
767
|
Po,
|
|
768
|
-
|
|
768
|
+
Mo,
|
|
769
769
|
Sn
|
|
770
770
|
);
|
|
771
771
|
}
|
|
772
|
-
function
|
|
773
|
-
if (!
|
|
774
|
-
return process.env.NODE_ENV !== "production" &&
|
|
772
|
+
function Bt(e, t, n, o, r) {
|
|
773
|
+
if (!R(e))
|
|
774
|
+
return process.env.NODE_ENV !== "production" && W(
|
|
775
775
|
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
776
776
|
e
|
|
777
777
|
)}`
|
|
778
778
|
), e;
|
|
779
779
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
780
780
|
return e;
|
|
781
|
-
const s =
|
|
781
|
+
const s = r.get(e);
|
|
782
782
|
if (s)
|
|
783
783
|
return s;
|
|
784
784
|
const c = zo(e);
|
|
785
785
|
if (c === 0)
|
|
786
786
|
return e;
|
|
787
|
-
const
|
|
787
|
+
const a = new Proxy(
|
|
788
788
|
e,
|
|
789
|
-
c === 2 ?
|
|
789
|
+
c === 2 ? o : n
|
|
790
790
|
);
|
|
791
|
-
return
|
|
791
|
+
return r.set(e, a), a;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
794
|
-
return
|
|
793
|
+
function ve(e) {
|
|
794
|
+
return B(e) ? ve(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function B(e) {
|
|
797
797
|
return !!(e && e.__v_isReadonly);
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function I(e) {
|
|
800
800
|
return !!(e && e.__v_isShallow);
|
|
801
801
|
}
|
|
802
802
|
function Ke(e) {
|
|
803
803
|
return e ? !!e.__v_raw : !1;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function b(e) {
|
|
806
806
|
const t = e && e.__v_raw;
|
|
807
|
-
return t ?
|
|
807
|
+
return t ? b(t) : e;
|
|
808
808
|
}
|
|
809
809
|
function Uo(e) {
|
|
810
|
-
return
|
|
810
|
+
return !$(e, "__v_skip") && Object.isExtensible(e) && Eo(e, "__v_skip", !0), e;
|
|
811
811
|
}
|
|
812
|
-
const
|
|
813
|
-
function
|
|
812
|
+
const V = (e) => R(e) ? On(e) : e, $t = (e) => R(e) ? Le(e) : e;
|
|
813
|
+
function A(e) {
|
|
814
814
|
return e ? e.__v_isRef === !0 : !1;
|
|
815
815
|
}
|
|
816
816
|
function ze(e) {
|
|
817
817
|
return Wo(e, !1);
|
|
818
818
|
}
|
|
819
819
|
function Wo(e, t) {
|
|
820
|
-
return
|
|
820
|
+
return A(e) ? e : new Bo(e, t);
|
|
821
821
|
}
|
|
822
|
-
class
|
|
822
|
+
class Bo {
|
|
823
823
|
constructor(t, n) {
|
|
824
|
-
this.dep = new zt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t :
|
|
824
|
+
this.dep = new zt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : b(t), this._value = n ? t : V(t), this.__v_isShallow = n;
|
|
825
825
|
}
|
|
826
826
|
get value() {
|
|
827
827
|
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
@@ -831,8 +831,8 @@ class Go {
|
|
|
831
831
|
}) : this.dep.track(), this._value;
|
|
832
832
|
}
|
|
833
833
|
set value(t) {
|
|
834
|
-
const n = this._rawValue,
|
|
835
|
-
t =
|
|
834
|
+
const n = this._rawValue, o = this.__v_isShallow || I(t) || B(t);
|
|
835
|
+
t = o ? t : b(t), Q(t, n) && (this._rawValue = t, this._value = o ? t : V(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
836
836
|
target: this,
|
|
837
837
|
type: "set",
|
|
838
838
|
key: "value",
|
|
@@ -841,29 +841,29 @@ class Go {
|
|
|
841
841
|
}) : this.dep.trigger());
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
function
|
|
845
|
-
return
|
|
844
|
+
function Go(e) {
|
|
845
|
+
return A(e) ? e.value : e;
|
|
846
846
|
}
|
|
847
847
|
const Jo = {
|
|
848
|
-
get: (e, t, n) => t === "__v_raw" ? e :
|
|
849
|
-
set: (e, t, n,
|
|
850
|
-
const
|
|
851
|
-
return
|
|
848
|
+
get: (e, t, n) => t === "__v_raw" ? e : Go(Reflect.get(e, t, n)),
|
|
849
|
+
set: (e, t, n, o) => {
|
|
850
|
+
const r = e[t];
|
|
851
|
+
return A(r) && !A(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
|
|
852
852
|
}
|
|
853
853
|
};
|
|
854
854
|
function qo(e) {
|
|
855
|
-
return
|
|
855
|
+
return ve(e) ? e : new Proxy(e, Jo);
|
|
856
856
|
}
|
|
857
857
|
class Yo {
|
|
858
|
-
constructor(t, n,
|
|
859
|
-
this.fn = t, this.setter = n, this._value = void 0, this.dep = new zt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion =
|
|
858
|
+
constructor(t, n, o) {
|
|
859
|
+
this.fn = t, this.setter = n, this._value = void 0, this.dep = new zt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Se - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = o;
|
|
860
860
|
}
|
|
861
861
|
/**
|
|
862
862
|
* @internal
|
|
863
863
|
*/
|
|
864
864
|
notify() {
|
|
865
865
|
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
866
|
-
|
|
866
|
+
N !== this)
|
|
867
867
|
return mn(this, !0), !0;
|
|
868
868
|
process.env.NODE_ENV;
|
|
869
869
|
}
|
|
@@ -876,126 +876,126 @@ class Yo {
|
|
|
876
876
|
return vn(this), t && (t.version = this.dep.version), this._value;
|
|
877
877
|
}
|
|
878
878
|
set value(t) {
|
|
879
|
-
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" &&
|
|
879
|
+
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && W("Write operation failed: computed value is readonly");
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
function Zo(e, t, n = !1) {
|
|
883
|
-
let
|
|
884
|
-
|
|
885
|
-
const s = new Yo(
|
|
883
|
+
let o, r;
|
|
884
|
+
O(e) ? o = e : (o = e.get, r = e.set);
|
|
885
|
+
const s = new Yo(o, r, n);
|
|
886
886
|
return process.env.NODE_ENV, s;
|
|
887
887
|
}
|
|
888
888
|
const Fe = {}, Ue = /* @__PURE__ */ new WeakMap();
|
|
889
|
-
let
|
|
890
|
-
function Qo(e, t = !1, n =
|
|
889
|
+
let te;
|
|
890
|
+
function Qo(e, t = !1, n = te) {
|
|
891
891
|
if (n) {
|
|
892
|
-
let
|
|
893
|
-
|
|
894
|
-
} else process.env.NODE_ENV !== "production" && !t &&
|
|
892
|
+
let o = Ue.get(n);
|
|
893
|
+
o || Ue.set(n, o = []), o.push(e);
|
|
894
|
+
} else process.env.NODE_ENV !== "production" && !t && W(
|
|
895
895
|
"onWatcherCleanup() was called when there was no active watcher to associate with."
|
|
896
896
|
);
|
|
897
897
|
}
|
|
898
|
-
function Xo(e, t, n =
|
|
899
|
-
const { immediate:
|
|
900
|
-
(n.onWarn ||
|
|
898
|
+
function Xo(e, t, n = j) {
|
|
899
|
+
const { immediate: o, deep: r, once: s, scheduler: c, augmentJob: a, call: u } = n, f = (E) => {
|
|
900
|
+
(n.onWarn || W)(
|
|
901
901
|
"Invalid watch source: ",
|
|
902
|
-
|
|
902
|
+
E,
|
|
903
903
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
904
904
|
);
|
|
905
|
-
},
|
|
906
|
-
let i,
|
|
907
|
-
if (
|
|
908
|
-
if (
|
|
909
|
-
return
|
|
910
|
-
if (
|
|
911
|
-
return
|
|
912
|
-
if (
|
|
913
|
-
return u ? u(
|
|
914
|
-
process.env.NODE_ENV !== "production" &&
|
|
915
|
-
})) :
|
|
916
|
-
if (
|
|
905
|
+
}, p = (E) => r ? E : I(E) || r === !1 || r === 0 ? Y(E, 1) : Y(E);
|
|
906
|
+
let i, l, d, h, m = !1, _ = !1;
|
|
907
|
+
if (A(e) ? (l = () => e.value, m = I(e)) : ve(e) ? (l = () => p(e), m = !0) : C(e) ? (_ = !0, m = e.some((E) => ve(E) || I(E)), l = () => e.map((E) => {
|
|
908
|
+
if (A(E))
|
|
909
|
+
return E.value;
|
|
910
|
+
if (ve(E))
|
|
911
|
+
return p(E);
|
|
912
|
+
if (O(E))
|
|
913
|
+
return u ? u(E, 2) : E();
|
|
914
|
+
process.env.NODE_ENV !== "production" && f(E);
|
|
915
|
+
})) : O(e) ? t ? l = u ? () => u(e, 2) : e : l = () => {
|
|
916
|
+
if (d) {
|
|
917
917
|
rt();
|
|
918
918
|
try {
|
|
919
|
-
|
|
919
|
+
d();
|
|
920
920
|
} finally {
|
|
921
921
|
st();
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
const
|
|
925
|
-
|
|
924
|
+
const E = te;
|
|
925
|
+
te = i;
|
|
926
926
|
try {
|
|
927
|
-
return u ? u(e, 3, [
|
|
927
|
+
return u ? u(e, 3, [h]) : e(h);
|
|
928
928
|
} finally {
|
|
929
|
-
|
|
929
|
+
te = E;
|
|
930
930
|
}
|
|
931
|
-
} : (
|
|
932
|
-
const
|
|
933
|
-
|
|
931
|
+
} : (l = oe, process.env.NODE_ENV !== "production" && f(e)), t && r) {
|
|
932
|
+
const E = l, H = r === !0 ? 1 / 0 : r;
|
|
933
|
+
l = () => Y(E(), H);
|
|
934
934
|
}
|
|
935
|
-
const
|
|
935
|
+
const g = () => {
|
|
936
936
|
i.stop();
|
|
937
937
|
};
|
|
938
938
|
if (s && t) {
|
|
939
|
-
const
|
|
940
|
-
t = (...
|
|
941
|
-
|
|
939
|
+
const E = t;
|
|
940
|
+
t = (...H) => {
|
|
941
|
+
E(...H), g();
|
|
942
942
|
};
|
|
943
943
|
}
|
|
944
|
-
let
|
|
945
|
-
const
|
|
946
|
-
if (!(!(i.flags & 1) || !i.dirty && !
|
|
944
|
+
let v = _ ? new Array(e.length).fill(Fe) : Fe;
|
|
945
|
+
const ee = (E) => {
|
|
946
|
+
if (!(!(i.flags & 1) || !i.dirty && !E))
|
|
947
947
|
if (t) {
|
|
948
|
-
const
|
|
949
|
-
if (
|
|
950
|
-
|
|
951
|
-
const lt =
|
|
952
|
-
|
|
948
|
+
const H = i.run();
|
|
949
|
+
if (r || m || (_ ? H.some((lt, Ie) => Q(lt, v[Ie])) : Q(H, v))) {
|
|
950
|
+
d && d();
|
|
951
|
+
const lt = te;
|
|
952
|
+
te = i;
|
|
953
953
|
try {
|
|
954
|
-
const
|
|
955
|
-
|
|
954
|
+
const Ie = [
|
|
955
|
+
H,
|
|
956
956
|
// pass undefined as the old value when it's changed for the first time
|
|
957
|
-
|
|
958
|
-
|
|
957
|
+
v === Fe ? void 0 : _ && v[0] === Fe ? [] : v,
|
|
958
|
+
h
|
|
959
959
|
];
|
|
960
|
-
u ? u(t, 3,
|
|
960
|
+
u ? u(t, 3, Ie) : (
|
|
961
961
|
// @ts-expect-error
|
|
962
|
-
t(...
|
|
963
|
-
),
|
|
962
|
+
t(...Ie)
|
|
963
|
+
), v = H;
|
|
964
964
|
} finally {
|
|
965
|
-
|
|
965
|
+
te = lt;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
} else
|
|
969
969
|
i.run();
|
|
970
970
|
};
|
|
971
|
-
return
|
|
972
|
-
const
|
|
973
|
-
if (
|
|
971
|
+
return a && a(ee), i = new $o(l), i.scheduler = c ? () => c(ee, !1) : ee, h = (E) => Qo(E, !1, i), d = i.onStop = () => {
|
|
972
|
+
const E = Ue.get(i);
|
|
973
|
+
if (E) {
|
|
974
974
|
if (u)
|
|
975
|
-
u(
|
|
975
|
+
u(E, 4);
|
|
976
976
|
else
|
|
977
|
-
for (const
|
|
977
|
+
for (const H of E) H();
|
|
978
978
|
Ue.delete(i);
|
|
979
979
|
}
|
|
980
|
-
}, process.env.NODE_ENV !== "production" && (i.onTrack = n.onTrack, i.onTrigger = n.onTrigger), t ?
|
|
980
|
+
}, process.env.NODE_ENV !== "production" && (i.onTrack = n.onTrack, i.onTrigger = n.onTrigger), t ? o ? ee(!0) : v = i.run() : c ? c(ee.bind(null, !0), !0) : i.run(), g.pause = i.pause.bind(i), g.resume = i.resume.bind(i), g.stop = g, g;
|
|
981
981
|
}
|
|
982
|
-
function
|
|
983
|
-
if (t <= 0 || !
|
|
982
|
+
function Y(e, t = 1 / 0, n) {
|
|
983
|
+
if (t <= 0 || !R(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
|
|
984
984
|
return e;
|
|
985
|
-
if (n.add(e), t--,
|
|
986
|
-
|
|
987
|
-
else if (
|
|
988
|
-
for (let
|
|
989
|
-
|
|
990
|
-
else if (ho(e) ||
|
|
991
|
-
e.forEach((
|
|
992
|
-
|
|
985
|
+
if (n.add(e), t--, A(e))
|
|
986
|
+
Y(e.value, t, n);
|
|
987
|
+
else if (C(e))
|
|
988
|
+
for (let o = 0; o < e.length; o++)
|
|
989
|
+
Y(e[o], t, n);
|
|
990
|
+
else if (ho(e) || _e(e))
|
|
991
|
+
e.forEach((o) => {
|
|
992
|
+
Y(o, t, n);
|
|
993
993
|
});
|
|
994
994
|
else if (_o(e)) {
|
|
995
|
-
for (const
|
|
996
|
-
|
|
997
|
-
for (const
|
|
998
|
-
Object.prototype.propertyIsEnumerable.call(e,
|
|
995
|
+
for (const o in e)
|
|
996
|
+
Y(e[o], t, n);
|
|
997
|
+
for (const o of Object.getOwnPropertySymbols(e))
|
|
998
|
+
Object.prototype.propertyIsEnumerable.call(e, o) && Y(e[o], t, n);
|
|
999
999
|
}
|
|
1000
1000
|
return e;
|
|
1001
1001
|
}
|
|
@@ -1004,46 +1004,46 @@ function B(e, t = 1 / 0, n) {
|
|
|
1004
1004
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1005
1005
|
* @license MIT
|
|
1006
1006
|
**/
|
|
1007
|
-
const
|
|
1007
|
+
const se = [];
|
|
1008
1008
|
function er(e) {
|
|
1009
|
-
|
|
1009
|
+
se.push(e);
|
|
1010
1010
|
}
|
|
1011
1011
|
function tr() {
|
|
1012
|
-
|
|
1012
|
+
se.pop();
|
|
1013
1013
|
}
|
|
1014
1014
|
let dt = !1;
|
|
1015
|
-
function
|
|
1015
|
+
function y(e, ...t) {
|
|
1016
1016
|
if (dt) return;
|
|
1017
1017
|
dt = !0, rt();
|
|
1018
|
-
const n =
|
|
1019
|
-
if (
|
|
1018
|
+
const n = se.length ? se[se.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = nr();
|
|
1019
|
+
if (o)
|
|
1020
1020
|
it(
|
|
1021
|
-
|
|
1021
|
+
o,
|
|
1022
1022
|
n,
|
|
1023
1023
|
11,
|
|
1024
1024
|
[
|
|
1025
1025
|
// eslint-disable-next-line no-restricted-syntax
|
|
1026
1026
|
e + t.map((s) => {
|
|
1027
|
-
var c,
|
|
1028
|
-
return (
|
|
1027
|
+
var c, a;
|
|
1028
|
+
return (a = (c = s.toString) == null ? void 0 : c.call(s)) != null ? a : JSON.stringify(s);
|
|
1029
1029
|
}).join(""),
|
|
1030
1030
|
n && n.proxy,
|
|
1031
|
-
|
|
1031
|
+
r.map(
|
|
1032
1032
|
({ vnode: s }) => `at <${Un(n, s.type)}>`
|
|
1033
1033
|
).join(`
|
|
1034
1034
|
`),
|
|
1035
|
-
|
|
1035
|
+
r
|
|
1036
1036
|
]
|
|
1037
1037
|
);
|
|
1038
1038
|
else {
|
|
1039
1039
|
const s = [`[Vue warn]: ${e}`, ...t];
|
|
1040
|
-
|
|
1041
|
-
`, ...or(
|
|
1040
|
+
r.length && s.push(`
|
|
1041
|
+
`, ...or(r));
|
|
1042
1042
|
}
|
|
1043
1043
|
st(), dt = !1;
|
|
1044
1044
|
}
|
|
1045
1045
|
function nr() {
|
|
1046
|
-
let e =
|
|
1046
|
+
let e = se[se.length - 1];
|
|
1047
1047
|
if (!e)
|
|
1048
1048
|
return [];
|
|
1049
1049
|
const t = [];
|
|
@@ -1053,34 +1053,34 @@ function nr() {
|
|
|
1053
1053
|
vnode: e,
|
|
1054
1054
|
recurseCount: 0
|
|
1055
1055
|
});
|
|
1056
|
-
const
|
|
1057
|
-
e =
|
|
1056
|
+
const o = e.component && e.component.parent;
|
|
1057
|
+
e = o && o.vnode;
|
|
1058
1058
|
}
|
|
1059
1059
|
return t;
|
|
1060
1060
|
}
|
|
1061
1061
|
function or(e) {
|
|
1062
1062
|
const t = [];
|
|
1063
|
-
return e.forEach((n,
|
|
1064
|
-
t.push(...
|
|
1063
|
+
return e.forEach((n, o) => {
|
|
1064
|
+
t.push(...o === 0 ? [] : [`
|
|
1065
1065
|
`], ...rr(n));
|
|
1066
1066
|
}), t;
|
|
1067
1067
|
}
|
|
1068
1068
|
function rr({ vnode: e, recurseCount: t }) {
|
|
1069
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "",
|
|
1069
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${Un(
|
|
1070
1070
|
e.component,
|
|
1071
1071
|
e.type,
|
|
1072
|
-
|
|
1072
|
+
o
|
|
1073
1073
|
)}`, s = ">" + n;
|
|
1074
|
-
return e.props ? [
|
|
1074
|
+
return e.props ? [r, ...sr(e.props), s] : [r + s];
|
|
1075
1075
|
}
|
|
1076
1076
|
function sr(e) {
|
|
1077
1077
|
const t = [], n = Object.keys(e);
|
|
1078
|
-
return n.slice(0, 3).forEach((
|
|
1079
|
-
t.push(...xn(
|
|
1078
|
+
return n.slice(0, 3).forEach((o) => {
|
|
1079
|
+
t.push(...xn(o, e[o]));
|
|
1080
1080
|
}), n.length > 3 && t.push(" ..."), t;
|
|
1081
1081
|
}
|
|
1082
1082
|
function xn(e, t, n) {
|
|
1083
|
-
return
|
|
1083
|
+
return M(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : A(t) ? (t = xn(e, b(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : O(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = b(t), n ? t : [`${e}=`, t]);
|
|
1084
1084
|
}
|
|
1085
1085
|
const Dn = {
|
|
1086
1086
|
sp: "serverPrefetch hook",
|
|
@@ -1115,66 +1115,66 @@ const Dn = {
|
|
|
1115
1115
|
15: "component update",
|
|
1116
1116
|
16: "app unmount cleanup function"
|
|
1117
1117
|
};
|
|
1118
|
-
function it(e, t, n,
|
|
1118
|
+
function it(e, t, n, o) {
|
|
1119
1119
|
try {
|
|
1120
|
-
return
|
|
1121
|
-
} catch (
|
|
1122
|
-
|
|
1120
|
+
return o ? e(...o) : e();
|
|
1121
|
+
} catch (r) {
|
|
1122
|
+
Gt(r, t, n);
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
|
-
function Vn(e, t, n,
|
|
1126
|
-
if (
|
|
1127
|
-
const
|
|
1128
|
-
return
|
|
1129
|
-
|
|
1130
|
-
}),
|
|
1125
|
+
function Vn(e, t, n, o) {
|
|
1126
|
+
if (O(e)) {
|
|
1127
|
+
const r = it(e, t, n, o);
|
|
1128
|
+
return r && mo(r) && r.catch((s) => {
|
|
1129
|
+
Gt(s, t, n);
|
|
1130
|
+
}), r;
|
|
1131
1131
|
}
|
|
1132
|
-
if (
|
|
1133
|
-
const
|
|
1132
|
+
if (C(e)) {
|
|
1133
|
+
const r = [];
|
|
1134
1134
|
for (let s = 0; s < e.length; s++)
|
|
1135
|
-
|
|
1136
|
-
return
|
|
1137
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
1135
|
+
r.push(Vn(e[s], t, n, o));
|
|
1136
|
+
return r;
|
|
1137
|
+
} else process.env.NODE_ENV !== "production" && y(
|
|
1138
1138
|
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
1139
1139
|
);
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1142
|
-
const
|
|
1141
|
+
function Gt(e, t, n, o = !0) {
|
|
1142
|
+
const r = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || j;
|
|
1143
1143
|
if (t) {
|
|
1144
|
-
let
|
|
1145
|
-
const u = t.proxy,
|
|
1146
|
-
for (;
|
|
1147
|
-
const
|
|
1148
|
-
if (
|
|
1149
|
-
for (let i = 0; i <
|
|
1150
|
-
if (
|
|
1144
|
+
let a = t.parent;
|
|
1145
|
+
const u = t.proxy, f = process.env.NODE_ENV !== "production" ? Dn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
1146
|
+
for (; a; ) {
|
|
1147
|
+
const p = a.ec;
|
|
1148
|
+
if (p) {
|
|
1149
|
+
for (let i = 0; i < p.length; i++)
|
|
1150
|
+
if (p[i](e, u, f) === !1)
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
|
-
|
|
1153
|
+
a = a.parent;
|
|
1154
1154
|
}
|
|
1155
1155
|
if (s) {
|
|
1156
1156
|
rt(), it(s, null, 10, [
|
|
1157
1157
|
e,
|
|
1158
1158
|
u,
|
|
1159
|
-
|
|
1159
|
+
f
|
|
1160
1160
|
]), st();
|
|
1161
1161
|
return;
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
ir(e, n,
|
|
1164
|
+
ir(e, n, r, o, c);
|
|
1165
1165
|
}
|
|
1166
|
-
function ir(e, t, n,
|
|
1166
|
+
function ir(e, t, n, o = !0, r = !1) {
|
|
1167
1167
|
if (process.env.NODE_ENV !== "production") {
|
|
1168
1168
|
const s = Dn[t];
|
|
1169
|
-
if (n && er(n),
|
|
1169
|
+
if (n && er(n), y(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && tr(), o)
|
|
1170
1170
|
throw e;
|
|
1171
|
-
} else if (
|
|
1171
|
+
} else if (r)
|
|
1172
1172
|
throw e;
|
|
1173
1173
|
}
|
|
1174
|
-
const
|
|
1175
|
-
let
|
|
1176
|
-
const
|
|
1177
|
-
let
|
|
1174
|
+
const P = [];
|
|
1175
|
+
let z = -1;
|
|
1176
|
+
const be = [];
|
|
1177
|
+
let G = null, fe = 0;
|
|
1178
1178
|
const An = /* @__PURE__ */ Promise.resolve();
|
|
1179
1179
|
let We = null;
|
|
1180
1180
|
const cr = 100;
|
|
@@ -1183,49 +1183,49 @@ function ar(e) {
|
|
|
1183
1183
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1184
1184
|
}
|
|
1185
1185
|
function lr(e) {
|
|
1186
|
-
let t =
|
|
1186
|
+
let t = z + 1, n = P.length;
|
|
1187
1187
|
for (; t < n; ) {
|
|
1188
|
-
const
|
|
1189
|
-
s < e || s === e &&
|
|
1188
|
+
const o = t + n >>> 1, r = P[o], s = xe(r);
|
|
1189
|
+
s < e || s === e && r.flags & 2 ? t = o + 1 : n = o;
|
|
1190
1190
|
}
|
|
1191
1191
|
return t;
|
|
1192
1192
|
}
|
|
1193
1193
|
function Jt(e) {
|
|
1194
1194
|
if (!(e.flags & 1)) {
|
|
1195
|
-
const t =
|
|
1195
|
+
const t = xe(e), n = P[P.length - 1];
|
|
1196
1196
|
!n || // fast path when the job id is larger than the tail
|
|
1197
|
-
!(e.flags & 2) && t >=
|
|
1197
|
+
!(e.flags & 2) && t >= xe(n) ? P.push(e) : P.splice(lr(t), 0, e), e.flags |= 1, Rn();
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
function Rn() {
|
|
1201
|
-
We || (We = An.then(
|
|
1201
|
+
We || (We = An.then(Tn));
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1204
|
-
|
|
1203
|
+
function In(e) {
|
|
1204
|
+
C(e) ? be.push(...e) : G && e.id === -1 ? G.splice(fe + 1, 0, e) : e.flags & 1 || (be.push(e), e.flags |= 1), Rn();
|
|
1205
1205
|
}
|
|
1206
1206
|
function ur(e) {
|
|
1207
|
-
if (
|
|
1208
|
-
const t = [...new Set(
|
|
1209
|
-
(n,
|
|
1207
|
+
if (be.length) {
|
|
1208
|
+
const t = [...new Set(be)].sort(
|
|
1209
|
+
(n, o) => xe(n) - xe(o)
|
|
1210
1210
|
);
|
|
1211
|
-
if (
|
|
1212
|
-
|
|
1211
|
+
if (be.length = 0, G) {
|
|
1212
|
+
G.push(...t);
|
|
1213
1213
|
return;
|
|
1214
1214
|
}
|
|
1215
|
-
for (
|
|
1216
|
-
const n =
|
|
1215
|
+
for (G = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), fe = 0; fe < G.length; fe++) {
|
|
1216
|
+
const n = G[fe];
|
|
1217
1217
|
process.env.NODE_ENV !== "production" && Pn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1218
1218
|
}
|
|
1219
|
-
|
|
1219
|
+
G = null, fe = 0;
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
|
-
const
|
|
1223
|
-
function
|
|
1222
|
+
const xe = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1223
|
+
function Tn(e) {
|
|
1224
1224
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1225
|
-
const t = process.env.NODE_ENV !== "production" ? (n) => Pn(e, n) :
|
|
1225
|
+
const t = process.env.NODE_ENV !== "production" ? (n) => Pn(e, n) : oe;
|
|
1226
1226
|
try {
|
|
1227
|
-
for (
|
|
1228
|
-
const n =
|
|
1227
|
+
for (z = 0; z < P.length; z++) {
|
|
1228
|
+
const n = P[z];
|
|
1229
1229
|
if (n && !(n.flags & 8)) {
|
|
1230
1230
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1231
1231
|
continue;
|
|
@@ -1237,19 +1237,19 @@ function In(e) {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
} finally {
|
|
1240
|
-
for (;
|
|
1241
|
-
const n =
|
|
1240
|
+
for (; z < P.length; z++) {
|
|
1241
|
+
const n = P[z];
|
|
1242
1242
|
n && (n.flags &= -2);
|
|
1243
1243
|
}
|
|
1244
|
-
|
|
1244
|
+
z = -1, P.length = 0, ur(e), We = null, (P.length || be.length) && Tn(e);
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
function Pn(e, t) {
|
|
1248
1248
|
const n = e.get(t) || 0;
|
|
1249
1249
|
if (n > cr) {
|
|
1250
|
-
const
|
|
1251
|
-
return
|
|
1252
|
-
`Maximum recursive updates exceeded${
|
|
1250
|
+
const o = t.i, r = o && zn(o.type);
|
|
1251
|
+
return Gt(
|
|
1252
|
+
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1253
1253
|
null,
|
|
1254
1254
|
10
|
|
1255
1255
|
), !0;
|
|
@@ -1262,40 +1262,40 @@ process.env.NODE_ENV !== "production" && (ot().__VUE_HMR_RUNTIME__ = {
|
|
|
1262
1262
|
rerender: mt(fr),
|
|
1263
1263
|
reload: mt(dr)
|
|
1264
1264
|
});
|
|
1265
|
-
const
|
|
1265
|
+
const Be = /* @__PURE__ */ new Map();
|
|
1266
1266
|
function pr(e, t) {
|
|
1267
|
-
return
|
|
1268
|
-
initialDef:
|
|
1267
|
+
return Be.has(e) ? !1 : (Be.set(e, {
|
|
1268
|
+
initialDef: Ge(t),
|
|
1269
1269
|
instances: /* @__PURE__ */ new Set()
|
|
1270
1270
|
}), !0);
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function Ge(e) {
|
|
1273
1273
|
return Wn(e) ? e.__vccOpts : e;
|
|
1274
1274
|
}
|
|
1275
1275
|
function fr(e, t) {
|
|
1276
|
-
const n =
|
|
1277
|
-
n && (n.initialDef.render = t, [...n.instances].forEach((
|
|
1278
|
-
t && (
|
|
1276
|
+
const n = Be.get(e);
|
|
1277
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
|
|
1278
|
+
t && (o.render = t, Ge(o.type).render = t), o.renderCache = [], o.update();
|
|
1279
1279
|
}));
|
|
1280
1280
|
}
|
|
1281
1281
|
function dr(e, t) {
|
|
1282
|
-
const n =
|
|
1282
|
+
const n = Be.get(e);
|
|
1283
1283
|
if (!n) return;
|
|
1284
|
-
t =
|
|
1285
|
-
const
|
|
1286
|
-
for (let
|
|
1287
|
-
const s = r
|
|
1288
|
-
let
|
|
1289
|
-
|
|
1290
|
-
s.parent.update(),
|
|
1284
|
+
t = Ge(t), sn(n.initialDef, t);
|
|
1285
|
+
const o = [...n.instances];
|
|
1286
|
+
for (let r = 0; r < o.length; r++) {
|
|
1287
|
+
const s = o[r], c = Ge(s.type);
|
|
1288
|
+
let a = ht.get(c);
|
|
1289
|
+
a || (c !== n.initialDef && sn(c, t), ht.set(c, a = /* @__PURE__ */ new Set())), a.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (a.add(s), s.ceReload(t.styles), a.delete(s)) : s.parent ? Jt(() => {
|
|
1290
|
+
s.parent.update(), a.delete(s);
|
|
1291
1291
|
}) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(c);
|
|
1292
1292
|
}
|
|
1293
|
-
|
|
1293
|
+
In(() => {
|
|
1294
1294
|
ht.clear();
|
|
1295
1295
|
});
|
|
1296
1296
|
}
|
|
1297
1297
|
function sn(e, t) {
|
|
1298
|
-
|
|
1298
|
+
T(e, t);
|
|
1299
1299
|
for (const n in e)
|
|
1300
1300
|
n !== "__file" && !(n in t) && delete e[n];
|
|
1301
1301
|
}
|
|
@@ -1307,36 +1307,36 @@ function mt(e) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
};
|
|
1309
1309
|
}
|
|
1310
|
-
let
|
|
1310
|
+
let de, je = [];
|
|
1311
1311
|
function Fn(e, t) {
|
|
1312
|
-
var n,
|
|
1313
|
-
|
|
1312
|
+
var n, o;
|
|
1313
|
+
de = e, de ? (de.enabled = !0, je.forEach(({ event: r, args: s }) => de.emit(r, ...s)), je = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1314
1314
|
window.HTMLElement && // also exclude jsdom
|
|
1315
1315
|
// eslint-disable-next-line no-restricted-syntax
|
|
1316
|
-
!((
|
|
1316
|
+
!((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
1317
1317
|
Fn(s, t);
|
|
1318
1318
|
}), setTimeout(() => {
|
|
1319
|
-
|
|
1319
|
+
de || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, je = []);
|
|
1320
1320
|
}, 3e3)) : je = [];
|
|
1321
1321
|
}
|
|
1322
|
-
let
|
|
1322
|
+
let le = null, hr = null;
|
|
1323
1323
|
const mr = (e) => e.__isTeleport;
|
|
1324
1324
|
function jn(e, t) {
|
|
1325
1325
|
e.shapeFlag & 6 && e.component ? (e.transition = t, jn(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1326
1326
|
}
|
|
1327
1327
|
ot().requestIdleCallback;
|
|
1328
1328
|
ot().cancelIdleCallback;
|
|
1329
|
-
const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ?
|
|
1329
|
+
const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Br(e) : St(e.parent) : null, $e = (
|
|
1330
1330
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1331
1331
|
// due to type annotation
|
|
1332
|
-
/* @__PURE__ */
|
|
1332
|
+
/* @__PURE__ */ T(/* @__PURE__ */ Object.create(null), {
|
|
1333
1333
|
$: (e) => e,
|
|
1334
1334
|
$el: (e) => e.vnode.el,
|
|
1335
1335
|
$data: (e) => e.data,
|
|
1336
|
-
$props: (e) => process.env.NODE_ENV !== "production" ?
|
|
1337
|
-
$attrs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1338
|
-
$slots: (e) => process.env.NODE_ENV !== "production" ?
|
|
1339
|
-
$refs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1336
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? Z(e.props) : e.props,
|
|
1337
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Z(e.attrs) : e.attrs,
|
|
1338
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Z(e.slots) : e.slots,
|
|
1339
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Z(e.refs) : e.refs,
|
|
1340
1340
|
$parent: (e) => St(e.parent),
|
|
1341
1341
|
$root: (e) => St(e.root),
|
|
1342
1342
|
$host: (e) => e.ce,
|
|
@@ -1346,66 +1346,66 @@ const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Gr(e) : St(e.parent) : n
|
|
|
1346
1346
|
Jt(e.update);
|
|
1347
1347
|
}),
|
|
1348
1348
|
$nextTick: (e) => e.n || (e.n = ar.bind(e.proxy)),
|
|
1349
|
-
$watch: (e) => __VUE_OPTIONS_API__ ? Vr.bind(e) :
|
|
1349
|
+
$watch: (e) => __VUE_OPTIONS_API__ ? Vr.bind(e) : oe
|
|
1350
1350
|
})
|
|
1351
|
-
), gt = (e, t) => e !==
|
|
1351
|
+
), gt = (e, t) => e !== j && !e.__isScriptSetup && $(e, t), _r = {
|
|
1352
1352
|
get({ _: e }, t) {
|
|
1353
1353
|
if (t === "__v_skip")
|
|
1354
1354
|
return !0;
|
|
1355
|
-
const { ctx: n, setupState:
|
|
1355
|
+
const { ctx: n, setupState: o, data: r, props: s, accessCache: c, type: a, appContext: u } = e;
|
|
1356
1356
|
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
1357
1357
|
return !0;
|
|
1358
|
-
let
|
|
1358
|
+
let f;
|
|
1359
1359
|
if (t[0] !== "$") {
|
|
1360
|
-
const
|
|
1361
|
-
if (
|
|
1362
|
-
switch (
|
|
1360
|
+
const d = c[t];
|
|
1361
|
+
if (d !== void 0)
|
|
1362
|
+
switch (d) {
|
|
1363
1363
|
case 1:
|
|
1364
|
-
return r[t];
|
|
1365
|
-
case 2:
|
|
1366
1364
|
return o[t];
|
|
1365
|
+
case 2:
|
|
1366
|
+
return r[t];
|
|
1367
1367
|
case 4:
|
|
1368
1368
|
return n[t];
|
|
1369
1369
|
case 3:
|
|
1370
1370
|
return s[t];
|
|
1371
1371
|
}
|
|
1372
1372
|
else {
|
|
1373
|
-
if (gt(
|
|
1374
|
-
return c[t] = 1,
|
|
1375
|
-
if (
|
|
1376
|
-
return c[t] = 2,
|
|
1373
|
+
if (gt(o, t))
|
|
1374
|
+
return c[t] = 1, o[t];
|
|
1375
|
+
if (r !== j && $(r, t))
|
|
1376
|
+
return c[t] = 2, r[t];
|
|
1377
1377
|
if (
|
|
1378
1378
|
// only cache other properties when instance has declared (thus stable)
|
|
1379
1379
|
// props
|
|
1380
|
-
(
|
|
1380
|
+
(f = e.propsOptions[0]) && $(f, t)
|
|
1381
1381
|
)
|
|
1382
1382
|
return c[t] = 3, s[t];
|
|
1383
|
-
if (n !==
|
|
1383
|
+
if (n !== j && $(n, t))
|
|
1384
1384
|
return c[t] = 4, n[t];
|
|
1385
1385
|
(!__VUE_OPTIONS_API__ || vr) && (c[t] = 0);
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
const
|
|
1389
|
-
let i,
|
|
1390
|
-
if (
|
|
1391
|
-
return t === "$attrs" ? (
|
|
1388
|
+
const p = $e[t];
|
|
1389
|
+
let i, l;
|
|
1390
|
+
if (p)
|
|
1391
|
+
return t === "$attrs" ? (S(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && S(e, "get", t), p(e);
|
|
1392
1392
|
if (
|
|
1393
1393
|
// css module (injected by vue-loader)
|
|
1394
|
-
(i =
|
|
1394
|
+
(i = a.__cssModules) && (i = i[t])
|
|
1395
1395
|
)
|
|
1396
1396
|
return i;
|
|
1397
|
-
if (n !==
|
|
1397
|
+
if (n !== j && $(n, t))
|
|
1398
1398
|
return c[t] = 4, n[t];
|
|
1399
1399
|
if (
|
|
1400
1400
|
// global properties
|
|
1401
|
-
|
|
1401
|
+
l = u.config.globalProperties, $(l, t)
|
|
1402
1402
|
)
|
|
1403
|
-
return
|
|
1403
|
+
return l[t];
|
|
1404
1404
|
process.env.NODE_ENV;
|
|
1405
1405
|
},
|
|
1406
1406
|
set({ _: e }, t, n) {
|
|
1407
|
-
const { data:
|
|
1408
|
-
return gt(
|
|
1407
|
+
const { data: o, setupState: r, ctx: s } = e;
|
|
1408
|
+
return gt(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && $(r, t) ? (y(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== j && $(o, t) ? (o[t] = n, !0) : $(e.props, t) ? (process.env.NODE_ENV !== "production" && y(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && y(
|
|
1409
1409
|
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
1410
1410
|
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
1411
1411
|
enumerable: !0,
|
|
@@ -1414,49 +1414,49 @@ const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Gr(e) : St(e.parent) : n
|
|
|
1414
1414
|
}) : s[t] = n, !0);
|
|
1415
1415
|
},
|
|
1416
1416
|
has({
|
|
1417
|
-
_: { data: e, setupState: t, accessCache: n, ctx:
|
|
1417
|
+
_: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: s }
|
|
1418
1418
|
}, c) {
|
|
1419
|
-
let
|
|
1420
|
-
return !!n[c] || e !==
|
|
1419
|
+
let a;
|
|
1420
|
+
return !!n[c] || e !== j && $(e, c) || gt(t, c) || (a = s[0]) && $(a, c) || $(o, c) || $($e, c) || $(r.config.globalProperties, c);
|
|
1421
1421
|
},
|
|
1422
1422
|
defineProperty(e, t, n) {
|
|
1423
|
-
return n.get != null ? e._.accessCache[t] = 0 :
|
|
1423
|
+
return n.get != null ? e._.accessCache[t] = 0 : $(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
|
-
process.env.NODE_ENV !== "production" && (_r.ownKeys = (e) => (
|
|
1426
|
+
process.env.NODE_ENV !== "production" && (_r.ownKeys = (e) => (y(
|
|
1427
1427
|
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
1428
1428
|
), Reflect.ownKeys(e)));
|
|
1429
1429
|
function cn(e) {
|
|
1430
|
-
return
|
|
1430
|
+
return C(e) ? e.reduce(
|
|
1431
1431
|
(t, n) => (t[n] = null, t),
|
|
1432
1432
|
{}
|
|
1433
1433
|
) : e;
|
|
1434
1434
|
}
|
|
1435
1435
|
let vr = !0;
|
|
1436
1436
|
function br(e) {
|
|
1437
|
-
const t = e.type, { mixins: n, extends:
|
|
1438
|
-
mixins:
|
|
1437
|
+
const t = e.type, { mixins: n, extends: o } = t, {
|
|
1438
|
+
mixins: r,
|
|
1439
1439
|
optionsCache: s,
|
|
1440
1440
|
config: { optionMergeStrategies: c }
|
|
1441
|
-
} = e.appContext,
|
|
1441
|
+
} = e.appContext, a = s.get(t);
|
|
1442
1442
|
let u;
|
|
1443
|
-
return
|
|
1444
|
-
(
|
|
1445
|
-
), Je(u, t, c)),
|
|
1443
|
+
return a ? u = a : !r.length && !n && !o ? u = t : (u = {}, r.length && r.forEach(
|
|
1444
|
+
(f) => Je(u, f, c, !0)
|
|
1445
|
+
), Je(u, t, c)), R(t) && s.set(t, u), u;
|
|
1446
1446
|
}
|
|
1447
|
-
function Je(e, t, n,
|
|
1448
|
-
const { mixins:
|
|
1449
|
-
s && Je(e, s, n, !0),
|
|
1447
|
+
function Je(e, t, n, o = !1) {
|
|
1448
|
+
const { mixins: r, extends: s } = t;
|
|
1449
|
+
s && Je(e, s, n, !0), r && r.forEach(
|
|
1450
1450
|
(c) => Je(e, c, n, !0)
|
|
1451
1451
|
);
|
|
1452
1452
|
for (const c in t)
|
|
1453
|
-
if (
|
|
1454
|
-
process.env.NODE_ENV !== "production" &&
|
|
1453
|
+
if (o && c === "expose")
|
|
1454
|
+
process.env.NODE_ENV !== "production" && y(
|
|
1455
1455
|
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
|
|
1456
1456
|
);
|
|
1457
1457
|
else {
|
|
1458
|
-
const
|
|
1459
|
-
e[c] =
|
|
1458
|
+
const a = Er[c] || n && n[c];
|
|
1459
|
+
e[c] = a ? a(e[c], t[c]) : t[c];
|
|
1460
1460
|
}
|
|
1461
1461
|
return e;
|
|
1462
1462
|
}
|
|
@@ -1465,26 +1465,26 @@ const Er = {
|
|
|
1465
1465
|
props: un,
|
|
1466
1466
|
emits: un,
|
|
1467
1467
|
// objects
|
|
1468
|
-
methods:
|
|
1469
|
-
computed:
|
|
1468
|
+
methods: we,
|
|
1469
|
+
computed: we,
|
|
1470
1470
|
// lifecycle
|
|
1471
|
-
beforeCreate:
|
|
1472
|
-
created:
|
|
1473
|
-
beforeMount:
|
|
1474
|
-
mounted:
|
|
1475
|
-
beforeUpdate:
|
|
1476
|
-
updated:
|
|
1477
|
-
beforeDestroy:
|
|
1478
|
-
beforeUnmount:
|
|
1479
|
-
destroyed:
|
|
1480
|
-
unmounted:
|
|
1481
|
-
activated:
|
|
1482
|
-
deactivated:
|
|
1483
|
-
errorCaptured:
|
|
1484
|
-
serverPrefetch:
|
|
1471
|
+
beforeCreate: D,
|
|
1472
|
+
created: D,
|
|
1473
|
+
beforeMount: D,
|
|
1474
|
+
mounted: D,
|
|
1475
|
+
beforeUpdate: D,
|
|
1476
|
+
updated: D,
|
|
1477
|
+
beforeDestroy: D,
|
|
1478
|
+
beforeUnmount: D,
|
|
1479
|
+
destroyed: D,
|
|
1480
|
+
unmounted: D,
|
|
1481
|
+
activated: D,
|
|
1482
|
+
deactivated: D,
|
|
1483
|
+
errorCaptured: D,
|
|
1484
|
+
serverPrefetch: D,
|
|
1485
1485
|
// assets
|
|
1486
|
-
components:
|
|
1487
|
-
directives:
|
|
1486
|
+
components: we,
|
|
1487
|
+
directives: we,
|
|
1488
1488
|
// watch
|
|
1489
1489
|
watch: wr,
|
|
1490
1490
|
// provide / inject
|
|
@@ -1493,17 +1493,17 @@ const Er = {
|
|
|
1493
1493
|
};
|
|
1494
1494
|
function an(e, t) {
|
|
1495
1495
|
return t ? e ? function() {
|
|
1496
|
-
return
|
|
1497
|
-
|
|
1498
|
-
|
|
1496
|
+
return T(
|
|
1497
|
+
O(e) ? e.call(this, this) : e,
|
|
1498
|
+
O(t) ? t.call(this, this) : t
|
|
1499
1499
|
);
|
|
1500
1500
|
} : t : e;
|
|
1501
1501
|
}
|
|
1502
1502
|
function Nr(e, t) {
|
|
1503
|
-
return
|
|
1503
|
+
return we(ln(e), ln(t));
|
|
1504
1504
|
}
|
|
1505
1505
|
function ln(e) {
|
|
1506
|
-
if (
|
|
1506
|
+
if (C(e)) {
|
|
1507
1507
|
const t = {};
|
|
1508
1508
|
for (let n = 0; n < e.length; n++)
|
|
1509
1509
|
t[e[n]] = e[n];
|
|
@@ -1511,14 +1511,14 @@ function ln(e) {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
return e;
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function D(e, t) {
|
|
1515
1515
|
return e ? [...new Set([].concat(e, t))] : t;
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1518
|
-
return e ?
|
|
1517
|
+
function we(e, t) {
|
|
1518
|
+
return e ? T(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1519
1519
|
}
|
|
1520
1520
|
function un(e, t) {
|
|
1521
|
-
return e ?
|
|
1521
|
+
return e ? C(e) && C(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : T(
|
|
1522
1522
|
/* @__PURE__ */ Object.create(null),
|
|
1523
1523
|
cn(e),
|
|
1524
1524
|
cn(t ?? {})
|
|
@@ -1527,107 +1527,107 @@ function un(e, t) {
|
|
|
1527
1527
|
function wr(e, t) {
|
|
1528
1528
|
if (!e) return t;
|
|
1529
1529
|
if (!t) return e;
|
|
1530
|
-
const n =
|
|
1531
|
-
for (const
|
|
1532
|
-
n[
|
|
1530
|
+
const n = T(/* @__PURE__ */ Object.create(null), e);
|
|
1531
|
+
for (const o in t)
|
|
1532
|
+
n[o] = D(e[o], t[o]);
|
|
1533
1533
|
return n;
|
|
1534
1534
|
}
|
|
1535
|
-
let
|
|
1536
|
-
function
|
|
1537
|
-
const
|
|
1538
|
-
if (
|
|
1539
|
-
const
|
|
1540
|
-
if (
|
|
1541
|
-
return
|
|
1535
|
+
let Cr = null;
|
|
1536
|
+
function yr(e, t, n = !1) {
|
|
1537
|
+
const o = Re || le;
|
|
1538
|
+
if (o || Cr) {
|
|
1539
|
+
const r = o ? o.parent == null ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : void 0;
|
|
1540
|
+
if (r && e in r)
|
|
1541
|
+
return r[e];
|
|
1542
1542
|
if (arguments.length > 1)
|
|
1543
|
-
return n &&
|
|
1544
|
-
process.env.NODE_ENV !== "production" &&
|
|
1545
|
-
} else process.env.NODE_ENV !== "production" &&
|
|
1543
|
+
return n && O(t) ? t.call(o && o.proxy) : t;
|
|
1544
|
+
process.env.NODE_ENV !== "production" && y(`injection "${String(e)}" not found.`);
|
|
1545
|
+
} else process.env.NODE_ENV !== "production" && y("inject() can only be used inside setup() or functional components.");
|
|
1546
1546
|
}
|
|
1547
|
-
const
|
|
1547
|
+
const $r = {}, kn = (e) => Object.getPrototypeOf(e) === $r, Sr = Ir, Or = Symbol.for("v-scx"), xr = () => {
|
|
1548
1548
|
{
|
|
1549
|
-
const e =
|
|
1550
|
-
return e || process.env.NODE_ENV !== "production" &&
|
|
1549
|
+
const e = yr(Or);
|
|
1550
|
+
return e || process.env.NODE_ENV !== "production" && y(
|
|
1551
1551
|
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
1552
1552
|
), e;
|
|
1553
1553
|
}
|
|
1554
1554
|
};
|
|
1555
|
-
function Dr(e, t, n =
|
|
1556
|
-
const { immediate:
|
|
1557
|
-
process.env.NODE_ENV !== "production" && !t && (
|
|
1555
|
+
function Dr(e, t, n = j) {
|
|
1556
|
+
const { immediate: o, deep: r, flush: s, once: c } = n;
|
|
1557
|
+
process.env.NODE_ENV !== "production" && !t && (o !== void 0 && y(
|
|
1558
1558
|
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
1559
|
-
),
|
|
1559
|
+
), r !== void 0 && y(
|
|
1560
1560
|
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
1561
|
-
), c !== void 0 &&
|
|
1561
|
+
), c !== void 0 && y(
|
|
1562
1562
|
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
|
|
1563
1563
|
));
|
|
1564
|
-
const
|
|
1565
|
-
process.env.NODE_ENV !== "production" && (
|
|
1566
|
-
const u = t &&
|
|
1567
|
-
let
|
|
1564
|
+
const a = T({}, n);
|
|
1565
|
+
process.env.NODE_ENV !== "production" && (a.onWarn = y);
|
|
1566
|
+
const u = t && o || !t && s !== "post";
|
|
1567
|
+
let f;
|
|
1568
1568
|
if (Ye) {
|
|
1569
1569
|
if (s === "sync") {
|
|
1570
|
-
const
|
|
1571
|
-
|
|
1570
|
+
const d = xr();
|
|
1571
|
+
f = d.__watcherHandles || (d.__watcherHandles = []);
|
|
1572
1572
|
} else if (!u) {
|
|
1573
|
-
const
|
|
1573
|
+
const d = () => {
|
|
1574
1574
|
};
|
|
1575
|
-
return
|
|
1575
|
+
return d.stop = oe, d.resume = oe, d.pause = oe, d;
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
|
-
const
|
|
1579
|
-
|
|
1578
|
+
const p = Re;
|
|
1579
|
+
a.call = (d, h, m) => Vn(d, p, h, m);
|
|
1580
1580
|
let i = !1;
|
|
1581
|
-
s === "post" ?
|
|
1582
|
-
Sr(
|
|
1583
|
-
} : s !== "sync" && (i = !0,
|
|
1584
|
-
|
|
1585
|
-
}),
|
|
1586
|
-
t && (
|
|
1581
|
+
s === "post" ? a.scheduler = (d) => {
|
|
1582
|
+
Sr(d, p && p.suspense);
|
|
1583
|
+
} : s !== "sync" && (i = !0, a.scheduler = (d, h) => {
|
|
1584
|
+
h ? d() : Jt(d);
|
|
1585
|
+
}), a.augmentJob = (d) => {
|
|
1586
|
+
t && (d.flags |= 4), i && (d.flags |= 2, p && (d.id = p.uid, d.i = p));
|
|
1587
1587
|
};
|
|
1588
|
-
const
|
|
1589
|
-
return Ye && (
|
|
1588
|
+
const l = Xo(e, t, a);
|
|
1589
|
+
return Ye && (f ? f.push(l) : u && l()), l;
|
|
1590
1590
|
}
|
|
1591
1591
|
function Vr(e, t, n) {
|
|
1592
|
-
const
|
|
1592
|
+
const o = this.proxy, r = M(e) ? e.includes(".") ? Ar(o, e) : () => o[e] : e.bind(o, o);
|
|
1593
1593
|
let s;
|
|
1594
|
-
|
|
1595
|
-
const c = Ur(this),
|
|
1596
|
-
return c(),
|
|
1594
|
+
O(t) ? s = t : (s = t.handler, n = t);
|
|
1595
|
+
const c = Ur(this), a = Dr(r, s.bind(o), n);
|
|
1596
|
+
return c(), a;
|
|
1597
1597
|
}
|
|
1598
1598
|
function Ar(e, t) {
|
|
1599
1599
|
const n = t.split(".");
|
|
1600
1600
|
return () => {
|
|
1601
|
-
let
|
|
1602
|
-
for (let
|
|
1603
|
-
|
|
1604
|
-
return
|
|
1601
|
+
let o = e;
|
|
1602
|
+
for (let r = 0; r < n.length && o; r++)
|
|
1603
|
+
o = o[n[r]];
|
|
1604
|
+
return o;
|
|
1605
1605
|
};
|
|
1606
1606
|
}
|
|
1607
1607
|
const Rr = (e) => e.__isSuspense;
|
|
1608
|
-
function
|
|
1609
|
-
t && t.pendingBranch ?
|
|
1608
|
+
function Ir(e, t) {
|
|
1609
|
+
t && t.pendingBranch ? C(e) ? t.effects.push(...e) : t.effects.push(e) : In(e);
|
|
1610
1610
|
}
|
|
1611
|
-
const
|
|
1612
|
-
let
|
|
1611
|
+
const Hn = Symbol.for("v-fgt"), Tr = Symbol.for("v-txt"), Pr = Symbol.for("v-cmt");
|
|
1612
|
+
let me = null;
|
|
1613
1613
|
function Fr(e) {
|
|
1614
1614
|
return e ? e.__v_isVNode === !0 : !1;
|
|
1615
1615
|
}
|
|
1616
1616
|
const jr = (...e) => Ln(
|
|
1617
1617
|
...e
|
|
1618
|
-
),
|
|
1618
|
+
), Mn = ({ key: e }) => e ?? null, He = ({
|
|
1619
1619
|
ref: e,
|
|
1620
1620
|
ref_key: t,
|
|
1621
1621
|
ref_for: n
|
|
1622
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ?
|
|
1623
|
-
function kr(e, t = null, n = null,
|
|
1622
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? M(e) || A(e) || O(e) ? { i: le, r: e, k: t, f: !!n } : e : null);
|
|
1623
|
+
function kr(e, t = null, n = null, o = 0, r = null, s = e === Hn ? 0 : 1, c = !1, a = !1) {
|
|
1624
1624
|
const u = {
|
|
1625
1625
|
__v_isVNode: !0,
|
|
1626
1626
|
__v_skip: !0,
|
|
1627
1627
|
type: e,
|
|
1628
1628
|
props: t,
|
|
1629
|
-
key: t &&
|
|
1630
|
-
ref: t &&
|
|
1629
|
+
key: t && Mn(t),
|
|
1630
|
+
ref: t && He(t),
|
|
1631
1631
|
scopeId: hr,
|
|
1632
1632
|
slotScopeIds: null,
|
|
1633
1633
|
children: n,
|
|
@@ -1644,40 +1644,40 @@ function kr(e, t = null, n = null, r = 0, o = null, s = e === Mn ? 0 : 1, c = !1
|
|
|
1644
1644
|
targetAnchor: null,
|
|
1645
1645
|
staticCount: 0,
|
|
1646
1646
|
shapeFlag: s,
|
|
1647
|
-
patchFlag:
|
|
1648
|
-
dynamicProps:
|
|
1647
|
+
patchFlag: o,
|
|
1648
|
+
dynamicProps: r,
|
|
1649
1649
|
dynamicChildren: null,
|
|
1650
1650
|
appContext: null,
|
|
1651
|
-
ctx:
|
|
1651
|
+
ctx: le
|
|
1652
1652
|
};
|
|
1653
|
-
return
|
|
1653
|
+
return a ? (qt(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= M(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && y("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
|
|
1654
1654
|
!c && // has current parent block
|
|
1655
|
-
|
|
1655
|
+
me && // presence of a patch flag indicates this node needs patching on updates.
|
|
1656
1656
|
// component nodes also should always be patched, because even if the
|
|
1657
1657
|
// component doesn't need to update, it needs to persist the instance on to
|
|
1658
1658
|
// the next vnode so that it can be properly unmounted later.
|
|
1659
1659
|
(u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
1660
1660
|
// vnode should not be considered dynamic due to handler caching.
|
|
1661
|
-
u.patchFlag !== 32 &&
|
|
1661
|
+
u.patchFlag !== 32 && me.push(u), u;
|
|
1662
1662
|
}
|
|
1663
|
-
const
|
|
1664
|
-
function Ln(e, t = null, n = null,
|
|
1665
|
-
if ((!e || e === gr) && (process.env.NODE_ENV !== "production" && !e &&
|
|
1666
|
-
const
|
|
1663
|
+
const Hr = process.env.NODE_ENV !== "production" ? jr : Ln;
|
|
1664
|
+
function Ln(e, t = null, n = null, o = 0, r = null, s = !1) {
|
|
1665
|
+
if ((!e || e === gr) && (process.env.NODE_ENV !== "production" && !e && y(`Invalid vnode type when creating vnode: ${e}.`), e = Pr), Fr(e)) {
|
|
1666
|
+
const a = qe(
|
|
1667
1667
|
e,
|
|
1668
1668
|
t,
|
|
1669
1669
|
!0
|
|
1670
1670
|
/* mergeRef: true */
|
|
1671
1671
|
);
|
|
1672
|
-
return n && qt(
|
|
1672
|
+
return n && qt(a, n), !s && me && (a.shapeFlag & 6 ? me[me.indexOf(e)] = a : me.push(a)), a.patchFlag = -2, a;
|
|
1673
1673
|
}
|
|
1674
1674
|
if (Wn(e) && (e = e.__vccOpts), t) {
|
|
1675
|
-
t =
|
|
1676
|
-
let { class:
|
|
1677
|
-
|
|
1675
|
+
t = Mr(t);
|
|
1676
|
+
let { class: a, style: u } = t;
|
|
1677
|
+
a && !M(a) && (t.class = Ht(a)), R(u) && (Ke(u) && !C(u) && (u = T({}, u)), t.style = kt(u));
|
|
1678
1678
|
}
|
|
1679
|
-
const c =
|
|
1680
|
-
return process.env.NODE_ENV !== "production" && c & 4 && Ke(e) && (e =
|
|
1679
|
+
const c = M(e) ? 1 : Rr(e) ? 128 : mr(e) ? 64 : R(e) ? 4 : O(e) ? 2 : 0;
|
|
1680
|
+
return process.env.NODE_ENV !== "production" && c & 4 && Ke(e) && (e = b(e), y(
|
|
1681
1681
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
1682
1682
|
`
|
|
1683
1683
|
Component that was made reactive: `,
|
|
@@ -1686,32 +1686,32 @@ Component that was made reactive: `,
|
|
|
1686
1686
|
e,
|
|
1687
1687
|
t,
|
|
1688
1688
|
n,
|
|
1689
|
-
r,
|
|
1690
1689
|
o,
|
|
1690
|
+
r,
|
|
1691
1691
|
c,
|
|
1692
1692
|
s,
|
|
1693
1693
|
!0
|
|
1694
1694
|
);
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1697
|
-
return e ? Ke(e) || kn(e) ?
|
|
1696
|
+
function Mr(e) {
|
|
1697
|
+
return e ? Ke(e) || kn(e) ? T({}, e) : e : null;
|
|
1698
1698
|
}
|
|
1699
|
-
function qe(e, t, n = !1,
|
|
1700
|
-
const { props:
|
|
1699
|
+
function qe(e, t, n = !1, o = !1) {
|
|
1700
|
+
const { props: r, ref: s, patchFlag: c, children: a, transition: u } = e, f = t ? Kr(r || {}, t) : r, p = {
|
|
1701
1701
|
__v_isVNode: !0,
|
|
1702
1702
|
__v_skip: !0,
|
|
1703
1703
|
type: e.type,
|
|
1704
|
-
props:
|
|
1705
|
-
key:
|
|
1704
|
+
props: f,
|
|
1705
|
+
key: f && Mn(f),
|
|
1706
1706
|
ref: t && t.ref ? (
|
|
1707
1707
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
1708
1708
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
1709
1709
|
// the refs so the single vnode can be set on multiple refs
|
|
1710
|
-
n && s ?
|
|
1710
|
+
n && s ? C(s) ? s.concat(He(t)) : [s, He(t)] : He(t)
|
|
1711
1711
|
) : s,
|
|
1712
1712
|
scopeId: e.scopeId,
|
|
1713
1713
|
slotScopeIds: e.slotScopeIds,
|
|
1714
|
-
children: process.env.NODE_ENV !== "production" && c === -1 &&
|
|
1714
|
+
children: process.env.NODE_ENV !== "production" && c === -1 && C(a) ? a.map(Kn) : a,
|
|
1715
1715
|
target: e.target,
|
|
1716
1716
|
targetStart: e.targetStart,
|
|
1717
1717
|
targetAnchor: e.targetAnchor,
|
|
@@ -1721,7 +1721,7 @@ function qe(e, t, n = !1, r = !1) {
|
|
|
1721
1721
|
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
1722
1722
|
// note: preserve flag for fragments since they use the flag for children
|
|
1723
1723
|
// fast paths only.
|
|
1724
|
-
patchFlag: t && e.type !==
|
|
1724
|
+
patchFlag: t && e.type !== Hn ? c === -1 ? 16 : c | 16 : c,
|
|
1725
1725
|
dynamicProps: e.dynamicProps,
|
|
1726
1726
|
dynamicChildren: e.dynamicChildren,
|
|
1727
1727
|
appContext: e.appContext,
|
|
@@ -1740,73 +1740,73 @@ function qe(e, t, n = !1, r = !1) {
|
|
|
1740
1740
|
ctx: e.ctx,
|
|
1741
1741
|
ce: e.ce
|
|
1742
1742
|
};
|
|
1743
|
-
return u &&
|
|
1744
|
-
|
|
1745
|
-
u.clone(
|
|
1746
|
-
),
|
|
1743
|
+
return u && o && jn(
|
|
1744
|
+
p,
|
|
1745
|
+
u.clone(p)
|
|
1746
|
+
), p;
|
|
1747
1747
|
}
|
|
1748
1748
|
function Kn(e) {
|
|
1749
1749
|
const t = qe(e);
|
|
1750
|
-
return
|
|
1750
|
+
return C(e.children) && (t.children = e.children.map(Kn)), t;
|
|
1751
1751
|
}
|
|
1752
1752
|
function Lr(e = " ", t = 0) {
|
|
1753
|
-
return
|
|
1753
|
+
return Hr(Tr, null, e, t);
|
|
1754
1754
|
}
|
|
1755
1755
|
function qt(e, t) {
|
|
1756
1756
|
let n = 0;
|
|
1757
|
-
const { shapeFlag:
|
|
1757
|
+
const { shapeFlag: o } = e;
|
|
1758
1758
|
if (t == null)
|
|
1759
1759
|
t = null;
|
|
1760
|
-
else if (
|
|
1760
|
+
else if (C(t))
|
|
1761
1761
|
n = 16;
|
|
1762
1762
|
else if (typeof t == "object")
|
|
1763
|
-
if (
|
|
1764
|
-
const
|
|
1765
|
-
|
|
1763
|
+
if (o & 65) {
|
|
1764
|
+
const r = t.default;
|
|
1765
|
+
r && (r._c && (r._d = !1), qt(e, r()), r._c && (r._d = !0));
|
|
1766
1766
|
return;
|
|
1767
1767
|
} else
|
|
1768
|
-
n = 32, !t._ && !kn(t) && (t._ctx =
|
|
1769
|
-
else
|
|
1768
|
+
n = 32, !t._ && !kn(t) && (t._ctx = le);
|
|
1769
|
+
else O(t) ? (t = { default: t, _ctx: le }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Lr(t)]) : n = 8);
|
|
1770
1770
|
e.children = t, e.shapeFlag |= n;
|
|
1771
1771
|
}
|
|
1772
1772
|
function Kr(...e) {
|
|
1773
1773
|
const t = {};
|
|
1774
1774
|
for (let n = 0; n < e.length; n++) {
|
|
1775
|
-
const
|
|
1776
|
-
for (const
|
|
1777
|
-
if (
|
|
1778
|
-
t.class !==
|
|
1779
|
-
else if (
|
|
1780
|
-
t.style = kt([t.style,
|
|
1781
|
-
else if (po(
|
|
1782
|
-
const s = t[
|
|
1783
|
-
c && s !== c && !(
|
|
1784
|
-
} else
|
|
1775
|
+
const o = e[n];
|
|
1776
|
+
for (const r in o)
|
|
1777
|
+
if (r === "class")
|
|
1778
|
+
t.class !== o.class && (t.class = Ht([t.class, o.class]));
|
|
1779
|
+
else if (r === "style")
|
|
1780
|
+
t.style = kt([t.style, o.style]);
|
|
1781
|
+
else if (po(r)) {
|
|
1782
|
+
const s = t[r], c = o[r];
|
|
1783
|
+
c && s !== c && !(C(s) && s.includes(c)) && (t[r] = s ? [].concat(s, c) : c);
|
|
1784
|
+
} else r !== "" && (t[r] = o[r]);
|
|
1785
1785
|
}
|
|
1786
1786
|
return t;
|
|
1787
1787
|
}
|
|
1788
|
-
let
|
|
1789
|
-
const zr = () =>
|
|
1790
|
-
let
|
|
1788
|
+
let Re = null;
|
|
1789
|
+
const zr = () => Re || le;
|
|
1790
|
+
let Ot;
|
|
1791
1791
|
{
|
|
1792
|
-
const e = ot(), t = (n,
|
|
1793
|
-
let
|
|
1794
|
-
return (
|
|
1795
|
-
|
|
1792
|
+
const e = ot(), t = (n, o) => {
|
|
1793
|
+
let r;
|
|
1794
|
+
return (r = e[n]) || (r = e[n] = []), r.push(o), (s) => {
|
|
1795
|
+
r.length > 1 ? r.forEach((c) => c(s)) : r[0](s);
|
|
1796
1796
|
};
|
|
1797
1797
|
};
|
|
1798
|
-
|
|
1798
|
+
Ot = t(
|
|
1799
1799
|
"__VUE_INSTANCE_SETTERS__",
|
|
1800
|
-
(n) =>
|
|
1800
|
+
(n) => Re = n
|
|
1801
1801
|
), t(
|
|
1802
1802
|
"__VUE_SSR_SETTERS__",
|
|
1803
1803
|
(n) => Ye = n
|
|
1804
1804
|
);
|
|
1805
1805
|
}
|
|
1806
1806
|
const Ur = (e) => {
|
|
1807
|
-
const t =
|
|
1808
|
-
return
|
|
1809
|
-
e.scope.off(),
|
|
1807
|
+
const t = Re;
|
|
1808
|
+
return Ot(e), e.scope.on(), () => {
|
|
1809
|
+
e.scope.off(), Ot(t);
|
|
1810
1810
|
};
|
|
1811
1811
|
};
|
|
1812
1812
|
function Wr(e) {
|
|
@@ -1814,79 +1814,79 @@ function Wr(e) {
|
|
|
1814
1814
|
}
|
|
1815
1815
|
let Ye = !1;
|
|
1816
1816
|
process.env.NODE_ENV;
|
|
1817
|
-
function
|
|
1817
|
+
function Br(e) {
|
|
1818
1818
|
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(qo(Uo(e.exposed)), {
|
|
1819
1819
|
get(t, n) {
|
|
1820
1820
|
if (n in t)
|
|
1821
1821
|
return t[n];
|
|
1822
|
-
if (n in
|
|
1823
|
-
return
|
|
1822
|
+
if (n in $e)
|
|
1823
|
+
return $e[n](e);
|
|
1824
1824
|
},
|
|
1825
1825
|
has(t, n) {
|
|
1826
|
-
return n in t || n in
|
|
1826
|
+
return n in t || n in $e;
|
|
1827
1827
|
}
|
|
1828
1828
|
})) : e.proxy;
|
|
1829
1829
|
}
|
|
1830
|
-
const
|
|
1830
|
+
const Gr = /(?:^|[-_])(\w)/g, Jr = (e) => e.replace(Gr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
1831
1831
|
function zn(e, t = !0) {
|
|
1832
|
-
return
|
|
1832
|
+
return O(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
1833
1833
|
}
|
|
1834
1834
|
function Un(e, t, n = !1) {
|
|
1835
|
-
let
|
|
1836
|
-
if (!
|
|
1837
|
-
const
|
|
1838
|
-
|
|
1835
|
+
let o = zn(t);
|
|
1836
|
+
if (!o && t.__file) {
|
|
1837
|
+
const r = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
1838
|
+
r && (o = r[1]);
|
|
1839
1839
|
}
|
|
1840
|
-
if (!
|
|
1841
|
-
const
|
|
1840
|
+
if (!o && e && e.parent) {
|
|
1841
|
+
const r = (s) => {
|
|
1842
1842
|
for (const c in s)
|
|
1843
1843
|
if (s[c] === t)
|
|
1844
1844
|
return c;
|
|
1845
1845
|
};
|
|
1846
|
-
|
|
1846
|
+
o = r(
|
|
1847
1847
|
e.components || e.parent.type.components
|
|
1848
|
-
) ||
|
|
1848
|
+
) || r(e.appContext.components);
|
|
1849
1849
|
}
|
|
1850
|
-
return
|
|
1850
|
+
return o ? Jr(o) : n ? "App" : "Anonymous";
|
|
1851
1851
|
}
|
|
1852
1852
|
function Wn(e) {
|
|
1853
|
-
return
|
|
1853
|
+
return O(e) && "__vccOpts" in e;
|
|
1854
1854
|
}
|
|
1855
1855
|
const xt = (e, t) => {
|
|
1856
1856
|
const n = Zo(e, t, Ye);
|
|
1857
1857
|
if (process.env.NODE_ENV !== "production") {
|
|
1858
|
-
const
|
|
1859
|
-
|
|
1858
|
+
const o = zr();
|
|
1859
|
+
o && o.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
1860
1860
|
}
|
|
1861
1861
|
return n;
|
|
1862
1862
|
};
|
|
1863
1863
|
function qr() {
|
|
1864
1864
|
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
1865
1865
|
return;
|
|
1866
|
-
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" },
|
|
1866
|
+
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, r = {
|
|
1867
1867
|
__vue_custom_formatter: !0,
|
|
1868
1868
|
header(i) {
|
|
1869
|
-
return
|
|
1869
|
+
return R(i) ? i.__isVue ? ["div", e, "VueInstance"] : A(i) ? [
|
|
1870
1870
|
"div",
|
|
1871
1871
|
{},
|
|
1872
|
-
["span", e,
|
|
1872
|
+
["span", e, p(i)],
|
|
1873
1873
|
"<",
|
|
1874
1874
|
// avoid debugger accessing value affecting behavior
|
|
1875
|
-
|
|
1875
|
+
a("_value" in i ? i._value : i),
|
|
1876
1876
|
">"
|
|
1877
|
-
] :
|
|
1877
|
+
] : ve(i) ? [
|
|
1878
1878
|
"div",
|
|
1879
1879
|
{},
|
|
1880
|
-
["span", e,
|
|
1880
|
+
["span", e, I(i) ? "ShallowReactive" : "Reactive"],
|
|
1881
1881
|
"<",
|
|
1882
|
-
|
|
1883
|
-
`>${
|
|
1884
|
-
] :
|
|
1882
|
+
a(i),
|
|
1883
|
+
`>${B(i) ? " (readonly)" : ""}`
|
|
1884
|
+
] : B(i) ? [
|
|
1885
1885
|
"div",
|
|
1886
1886
|
{},
|
|
1887
|
-
["span", e,
|
|
1887
|
+
["span", e, I(i) ? "ShallowReadonly" : "Readonly"],
|
|
1888
1888
|
"<",
|
|
1889
|
-
|
|
1889
|
+
a(i),
|
|
1890
1890
|
">"
|
|
1891
1891
|
] : null : null;
|
|
1892
1892
|
},
|
|
@@ -1903,26 +1903,26 @@ function qr() {
|
|
|
1903
1903
|
}
|
|
1904
1904
|
};
|
|
1905
1905
|
function s(i) {
|
|
1906
|
-
const
|
|
1907
|
-
i.type.props && i.props &&
|
|
1908
|
-
const
|
|
1909
|
-
|
|
1910
|
-
const
|
|
1911
|
-
return
|
|
1906
|
+
const l = [];
|
|
1907
|
+
i.type.props && i.props && l.push(c("props", b(i.props))), i.setupState !== j && l.push(c("setup", i.setupState)), i.data !== j && l.push(c("data", b(i.data)));
|
|
1908
|
+
const d = u(i, "computed");
|
|
1909
|
+
d && l.push(c("computed", d));
|
|
1910
|
+
const h = u(i, "inject");
|
|
1911
|
+
return h && l.push(c("injected", h)), l.push([
|
|
1912
1912
|
"div",
|
|
1913
1913
|
{},
|
|
1914
1914
|
[
|
|
1915
1915
|
"span",
|
|
1916
1916
|
{
|
|
1917
|
-
style:
|
|
1917
|
+
style: o.style + ";opacity:0.66"
|
|
1918
1918
|
},
|
|
1919
1919
|
"$ (internal): "
|
|
1920
1920
|
],
|
|
1921
1921
|
["object", { object: i }]
|
|
1922
|
-
]),
|
|
1922
|
+
]), l;
|
|
1923
1923
|
}
|
|
1924
|
-
function c(i,
|
|
1925
|
-
return
|
|
1924
|
+
function c(i, l) {
|
|
1925
|
+
return l = T({}, l), Object.keys(l).length ? [
|
|
1926
1926
|
"div",
|
|
1927
1927
|
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
1928
1928
|
[
|
|
@@ -1937,36 +1937,36 @@ function qr() {
|
|
|
1937
1937
|
{
|
|
1938
1938
|
style: "padding-left:1.25em"
|
|
1939
1939
|
},
|
|
1940
|
-
...Object.keys(
|
|
1940
|
+
...Object.keys(l).map((d) => [
|
|
1941
1941
|
"div",
|
|
1942
1942
|
{},
|
|
1943
|
-
["span",
|
|
1944
|
-
l
|
|
1943
|
+
["span", o, d + ": "],
|
|
1944
|
+
a(l[d], !1)
|
|
1945
1945
|
])
|
|
1946
1946
|
]
|
|
1947
1947
|
] : ["span", {}];
|
|
1948
1948
|
}
|
|
1949
|
-
function
|
|
1950
|
-
return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span",
|
|
1949
|
+
function a(i, l = !0) {
|
|
1950
|
+
return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : R(i) ? ["object", { object: l ? b(i) : i }] : ["span", n, String(i)];
|
|
1951
1951
|
}
|
|
1952
|
-
function u(i,
|
|
1953
|
-
const
|
|
1954
|
-
if (
|
|
1952
|
+
function u(i, l) {
|
|
1953
|
+
const d = i.type;
|
|
1954
|
+
if (O(d))
|
|
1955
1955
|
return;
|
|
1956
|
-
const
|
|
1956
|
+
const h = {};
|
|
1957
1957
|
for (const m in i.ctx)
|
|
1958
|
-
|
|
1959
|
-
return
|
|
1958
|
+
f(d, m, l) && (h[m] = i.ctx[m]);
|
|
1959
|
+
return h;
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1962
|
-
const
|
|
1963
|
-
if (
|
|
1961
|
+
function f(i, l, d) {
|
|
1962
|
+
const h = i[d];
|
|
1963
|
+
if (C(h) && h.includes(l) || R(h) && l in h || i.extends && f(i.extends, l, d) || i.mixins && i.mixins.some((m) => f(m, l, d)))
|
|
1964
1964
|
return !0;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1967
|
-
return
|
|
1966
|
+
function p(i) {
|
|
1967
|
+
return I(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
|
|
1968
1968
|
}
|
|
1969
|
-
window.devtoolsFormatters ? window.devtoolsFormatters.push(
|
|
1969
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
|
|
1970
1970
|
}
|
|
1971
1971
|
process.env.NODE_ENV;
|
|
1972
1972
|
process.env.NODE_ENV;
|
|
@@ -1988,78 +1988,78 @@ let Qr = (e = 21) => {
|
|
|
1988
1988
|
return t;
|
|
1989
1989
|
};
|
|
1990
1990
|
function Xr(e, t = !0, n = !1) {
|
|
1991
|
-
const
|
|
1992
|
-
let
|
|
1991
|
+
const o = ze();
|
|
1992
|
+
let r;
|
|
1993
1993
|
const s = ze(!1);
|
|
1994
1994
|
let c = () => {
|
|
1995
1995
|
};
|
|
1996
|
-
const
|
|
1997
|
-
apply: function(
|
|
1998
|
-
let
|
|
1999
|
-
if (
|
|
2000
|
-
if (
|
|
2001
|
-
throw c(),
|
|
1996
|
+
const a = new Proxy(e, {
|
|
1997
|
+
apply: function(p, i, l) {
|
|
1998
|
+
let d = p(...l);
|
|
1999
|
+
if (d instanceof Error) {
|
|
2000
|
+
if (o.value = d, r = d, t)
|
|
2001
|
+
throw c(), d;
|
|
2002
2002
|
} else
|
|
2003
|
-
s.value = !0,
|
|
2003
|
+
s.value = !0, o.value = void 0, r = !0, c();
|
|
2004
2004
|
}
|
|
2005
2005
|
}), u = () => {
|
|
2006
|
-
},
|
|
2007
|
-
(
|
|
2008
|
-
|
|
2006
|
+
}, f = new Proxy(
|
|
2007
|
+
(p) => {
|
|
2008
|
+
o.value = p;
|
|
2009
2009
|
},
|
|
2010
2010
|
{
|
|
2011
|
-
apply: function(
|
|
2012
|
-
|
|
2011
|
+
apply: function(p, i, l) {
|
|
2012
|
+
p(...l), u(...l);
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
);
|
|
2016
2016
|
return {
|
|
2017
|
-
promise: new Promise((
|
|
2018
|
-
if (t &&
|
|
2019
|
-
i(
|
|
2017
|
+
promise: new Promise((p, i) => {
|
|
2018
|
+
if (t && r instanceof Error) {
|
|
2019
|
+
i(r);
|
|
2020
2020
|
return;
|
|
2021
|
-
} else if (
|
|
2022
|
-
|
|
2021
|
+
} else if (r === !0) {
|
|
2022
|
+
p();
|
|
2023
2023
|
return;
|
|
2024
2024
|
}
|
|
2025
|
-
let
|
|
2026
|
-
n && (
|
|
2027
|
-
const
|
|
2028
|
-
|
|
2025
|
+
let l;
|
|
2026
|
+
n && (l = setTimeout(() => {
|
|
2027
|
+
const d = new Error("timeout!");
|
|
2028
|
+
o.value = d, t && i(d);
|
|
2029
2029
|
}, n)), c = () => {
|
|
2030
|
-
|
|
2030
|
+
l && (clearTimeout(l), l = void 0), p();
|
|
2031
2031
|
};
|
|
2032
2032
|
}),
|
|
2033
|
-
callback:
|
|
2034
|
-
onError:
|
|
2033
|
+
callback: a,
|
|
2034
|
+
onError: f,
|
|
2035
2035
|
resolved: xt(() => s.value),
|
|
2036
|
-
error: xt(() =>
|
|
2036
|
+
error: xt(() => o.value)
|
|
2037
2037
|
};
|
|
2038
2038
|
}
|
|
2039
2039
|
function Dt() {
|
|
2040
2040
|
return Qr();
|
|
2041
2041
|
}
|
|
2042
2042
|
function es() {
|
|
2043
|
-
const e = {}, t = {}, n = /* @__PURE__ */ new WeakMap(),
|
|
2043
|
+
const e = {}, t = {}, n = /* @__PURE__ */ new WeakMap(), o = {};
|
|
2044
2044
|
return Object.freeze({
|
|
2045
|
-
registerAgg(
|
|
2046
|
-
if (
|
|
2045
|
+
registerAgg(r) {
|
|
2046
|
+
if (r.isInitialized.value)
|
|
2047
2047
|
throw new Error("Agg must register before initialized");
|
|
2048
|
-
if (r
|
|
2048
|
+
if (o[r._code])
|
|
2049
2049
|
throw new Error("Agg already registered");
|
|
2050
|
-
|
|
2051
|
-
delete r
|
|
2052
|
-
}), r
|
|
2050
|
+
r.type === "MultiInstance" && r.api.events.destroyed.watchPublish(() => {
|
|
2051
|
+
delete o[r._code];
|
|
2052
|
+
}), o[r._code] = r;
|
|
2053
2053
|
const s = [];
|
|
2054
2054
|
for (const c of Object.values(e))
|
|
2055
|
-
c.mount({ api:
|
|
2055
|
+
c.mount({ api: r.api, aggHash: r._code, isInitialized: r.isInitialized });
|
|
2056
2056
|
for (const c of Object.values(t))
|
|
2057
|
-
c.mount({ api:
|
|
2058
|
-
n.set(
|
|
2057
|
+
c.mount({ api: r.api, aggHash: r._code }), s.push(c._code);
|
|
2058
|
+
n.set(r, s);
|
|
2059
2059
|
},
|
|
2060
|
-
createSetupPlugin(
|
|
2060
|
+
createSetupPlugin(r) {
|
|
2061
2061
|
let s;
|
|
2062
|
-
return
|
|
2062
|
+
return r instanceof Function ? s = r() : s = r, Object.freeze({
|
|
2063
2063
|
_code: Dt(),
|
|
2064
2064
|
type: "Setup",
|
|
2065
2065
|
mount(c) {
|
|
@@ -2069,42 +2069,42 @@ function es() {
|
|
|
2069
2069
|
}
|
|
2070
2070
|
});
|
|
2071
2071
|
},
|
|
2072
|
-
createHotSwapPlugin(
|
|
2072
|
+
createHotSwapPlugin(r) {
|
|
2073
2073
|
let s;
|
|
2074
|
-
return
|
|
2074
|
+
return r instanceof Function ? s = r() : s = r, Object.freeze({
|
|
2075
2075
|
_code: Dt(),
|
|
2076
2076
|
type: "HotSwap",
|
|
2077
2077
|
mount: s.mount,
|
|
2078
2078
|
unmount: s.unmount
|
|
2079
2079
|
});
|
|
2080
2080
|
},
|
|
2081
|
-
registerPlugin(
|
|
2082
|
-
if (
|
|
2083
|
-
if (e[
|
|
2081
|
+
registerPlugin(r) {
|
|
2082
|
+
if (r.type === "Setup") {
|
|
2083
|
+
if (e[r._code])
|
|
2084
2084
|
throw new Error("Plugin already registered");
|
|
2085
|
-
e[
|
|
2086
|
-
for (const s in
|
|
2087
|
-
|
|
2088
|
-
api:
|
|
2089
|
-
aggHash:
|
|
2090
|
-
isInitialized:
|
|
2085
|
+
e[r._code] = r;
|
|
2086
|
+
for (const s in o)
|
|
2087
|
+
r.mount({
|
|
2088
|
+
api: o[s].api,
|
|
2089
|
+
aggHash: o[s]._code,
|
|
2090
|
+
isInitialized: o[s].isInitialized
|
|
2091
2091
|
});
|
|
2092
|
-
} else if (
|
|
2093
|
-
t[
|
|
2094
|
-
for (const s in
|
|
2095
|
-
n.has(
|
|
2092
|
+
} else if (r.type === "HotSwap") {
|
|
2093
|
+
t[r._code] = r;
|
|
2094
|
+
for (const s in o)
|
|
2095
|
+
n.has(o[s]) && !n.get(o[s]).includes(r._code) && (r.mount({ api: o[s].api, aggHash: o[s]._code }), n.get(o[s]).push(r._code));
|
|
2096
2096
|
} else
|
|
2097
|
-
isNever(
|
|
2097
|
+
isNever(r);
|
|
2098
2098
|
},
|
|
2099
|
-
unregisterPlugin(
|
|
2100
|
-
if (
|
|
2099
|
+
unregisterPlugin(r) {
|
|
2100
|
+
if (r.type === "Setup")
|
|
2101
2101
|
throw new Error("Can not unregister setup plugin");
|
|
2102
|
-
if (
|
|
2103
|
-
for (const s in
|
|
2104
|
-
n.has(
|
|
2105
|
-
delete t[
|
|
2102
|
+
if (r.type === "HotSwap") {
|
|
2103
|
+
for (const s in o)
|
|
2104
|
+
n.has(o[s]) && n.get(o[s]).includes(r._code) && r.unmount({ api: o[s].api, aggHash: o[s]._code });
|
|
2105
|
+
delete t[r._code];
|
|
2106
2106
|
} else
|
|
2107
|
-
isNever(
|
|
2107
|
+
isNever(r);
|
|
2108
2108
|
}
|
|
2109
2109
|
});
|
|
2110
2110
|
}
|
|
@@ -2113,7 +2113,7 @@ function ts(e) {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function ns(e) {
|
|
2115
2115
|
const t = os(e);
|
|
2116
|
-
return
|
|
2116
|
+
return Z({
|
|
2117
2117
|
states: t.states,
|
|
2118
2118
|
commands: t.commands,
|
|
2119
2119
|
events: t.events
|
|
@@ -2123,13 +2123,13 @@ function os(e) {
|
|
|
2123
2123
|
const t = e.states;
|
|
2124
2124
|
for (const c of Object.keys(e.states))
|
|
2125
2125
|
t[c] = Le(t[c]);
|
|
2126
|
-
const n =
|
|
2126
|
+
const n = Z(e.states), o = Le(e.commands), r = {}, s = e.events;
|
|
2127
2127
|
for (const c in e.events)
|
|
2128
|
-
|
|
2129
|
-
return
|
|
2128
|
+
r[c] = s[c].api;
|
|
2129
|
+
return Z({
|
|
2130
2130
|
states: n,
|
|
2131
|
-
commands:
|
|
2132
|
-
events:
|
|
2131
|
+
commands: o,
|
|
2132
|
+
events: Z(r),
|
|
2133
2133
|
destroy: e.destroy
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
@@ -2137,22 +2137,22 @@ function rs(e) {
|
|
|
2137
2137
|
const {
|
|
2138
2138
|
callback: t,
|
|
2139
2139
|
onError: n,
|
|
2140
|
-
promise:
|
|
2141
|
-
resolved:
|
|
2140
|
+
promise: o,
|
|
2141
|
+
resolved: r
|
|
2142
2142
|
} = Xr(() => {
|
|
2143
2143
|
}, !1, 5e3);
|
|
2144
2144
|
function s(i) {
|
|
2145
|
-
if (
|
|
2145
|
+
if (r.value === !0)
|
|
2146
2146
|
throw new Error("Agg already initialized");
|
|
2147
2147
|
c.push(i());
|
|
2148
2148
|
}
|
|
2149
|
-
const c = [],
|
|
2149
|
+
const c = [], a = e({
|
|
2150
2150
|
onCreated(i) {
|
|
2151
2151
|
Promise.resolve().then(i);
|
|
2152
2152
|
},
|
|
2153
2153
|
onBeforeInitialize: s,
|
|
2154
|
-
isInitialized: xt(() =>
|
|
2155
|
-
untilInitialized:
|
|
2154
|
+
isInitialized: xt(() => r.value),
|
|
2155
|
+
untilInitialized: o
|
|
2156
2156
|
});
|
|
2157
2157
|
setTimeout(
|
|
2158
2158
|
() => Promise.all(c).then(() => {
|
|
@@ -2161,20 +2161,20 @@ function rs(e) {
|
|
|
2161
2161
|
n(i);
|
|
2162
2162
|
})
|
|
2163
2163
|
);
|
|
2164
|
-
const u =
|
|
2164
|
+
const u = a.states || {}, f = a.commands || {}, p = a.events || {};
|
|
2165
2165
|
return {
|
|
2166
2166
|
_code: Dt(),
|
|
2167
2167
|
type: "Singleton",
|
|
2168
2168
|
api: ns({
|
|
2169
2169
|
states: u,
|
|
2170
|
-
commands:
|
|
2171
|
-
events:
|
|
2170
|
+
commands: f,
|
|
2171
|
+
events: p,
|
|
2172
2172
|
destroy: () => {
|
|
2173
2173
|
}
|
|
2174
2174
|
}),
|
|
2175
|
-
isInitialized:
|
|
2175
|
+
isInitialized: r,
|
|
2176
2176
|
async untilInitialized() {
|
|
2177
|
-
return await
|
|
2177
|
+
return await o.catch((i) => {
|
|
2178
2178
|
throw new Error(`Failed to initialize Agg: ${i.message}
|
|
2179
2179
|
Stack : ${i.stack || "unkown"}`);
|
|
2180
2180
|
});
|
|
@@ -2185,7 +2185,7 @@ let ke;
|
|
|
2185
2185
|
function ss(e) {
|
|
2186
2186
|
return rs(() => {
|
|
2187
2187
|
const t = ze(e), n = ze({});
|
|
2188
|
-
let
|
|
2188
|
+
let o = () => [], r = () => [], s = () => [], c = () => [], a = () => [], u = () => [], f = () => [];
|
|
2189
2189
|
return {
|
|
2190
2190
|
states: {
|
|
2191
2191
|
designer: t,
|
|
@@ -2193,65 +2193,65 @@ function ss(e) {
|
|
|
2193
2193
|
},
|
|
2194
2194
|
commands: {
|
|
2195
2195
|
genCodeFiles() {
|
|
2196
|
-
return
|
|
2196
|
+
return f();
|
|
2197
2197
|
},
|
|
2198
2198
|
clearCaches() {
|
|
2199
2199
|
},
|
|
2200
|
-
setContext(
|
|
2201
|
-
n.value =
|
|
2200
|
+
setContext(p) {
|
|
2201
|
+
n.value = p;
|
|
2202
2202
|
},
|
|
2203
|
-
setDomainDesigner(
|
|
2204
|
-
this.clearCaches(), t.value =
|
|
2203
|
+
setDomainDesigner(p) {
|
|
2204
|
+
this.clearCaches(), t.value = p;
|
|
2205
2205
|
},
|
|
2206
|
-
_genInfoCode(...
|
|
2207
|
-
return
|
|
2206
|
+
_genInfoCode(...p) {
|
|
2207
|
+
return o(...p);
|
|
2208
2208
|
},
|
|
2209
|
-
_setInfoCodeProvider(
|
|
2210
|
-
|
|
2209
|
+
_setInfoCodeProvider(p) {
|
|
2210
|
+
o = p;
|
|
2211
2211
|
},
|
|
2212
|
-
_genCommandCode(...
|
|
2213
|
-
return
|
|
2212
|
+
_genCommandCode(...p) {
|
|
2213
|
+
return r(...p);
|
|
2214
2214
|
},
|
|
2215
|
-
_setCommandCodeProvider(
|
|
2216
|
-
|
|
2215
|
+
_setCommandCodeProvider(p) {
|
|
2216
|
+
r = p;
|
|
2217
2217
|
},
|
|
2218
|
-
_genFacadeCommandCode(...
|
|
2219
|
-
return s(...
|
|
2218
|
+
_genFacadeCommandCode(...p) {
|
|
2219
|
+
return s(...p);
|
|
2220
2220
|
},
|
|
2221
|
-
_setFacadeCommandCodeProvider(
|
|
2222
|
-
s =
|
|
2221
|
+
_setFacadeCommandCodeProvider(p) {
|
|
2222
|
+
s = p;
|
|
2223
2223
|
},
|
|
2224
|
-
_genAggCode(...
|
|
2225
|
-
return c(...
|
|
2224
|
+
_genAggCode(...p) {
|
|
2225
|
+
return c(...p);
|
|
2226
2226
|
},
|
|
2227
|
-
_setAggCodeProvider(
|
|
2228
|
-
c =
|
|
2227
|
+
_setAggCodeProvider(p) {
|
|
2228
|
+
c = p;
|
|
2229
2229
|
},
|
|
2230
|
-
_genEventCode(...
|
|
2231
|
-
return
|
|
2230
|
+
_genEventCode(...p) {
|
|
2231
|
+
return a(...p);
|
|
2232
2232
|
},
|
|
2233
|
-
_setEventCodeProvider(
|
|
2234
|
-
|
|
2233
|
+
_setEventCodeProvider(p) {
|
|
2234
|
+
a = p;
|
|
2235
2235
|
},
|
|
2236
|
-
_genReadModelCode(...
|
|
2237
|
-
return u(...
|
|
2236
|
+
_genReadModelCode(...p) {
|
|
2237
|
+
return u(...p);
|
|
2238
2238
|
},
|
|
2239
|
-
_setReadModelCodeProvider(
|
|
2240
|
-
u =
|
|
2239
|
+
_setReadModelCodeProvider(p) {
|
|
2240
|
+
u = p;
|
|
2241
2241
|
},
|
|
2242
|
-
_setCodeFileProvider(
|
|
2243
|
-
|
|
2242
|
+
_setCodeFileProvider(p) {
|
|
2243
|
+
f = p;
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
2246
|
};
|
|
2247
2247
|
});
|
|
2248
2248
|
}
|
|
2249
|
-
const
|
|
2249
|
+
const Bn = ts();
|
|
2250
2250
|
function ei(e) {
|
|
2251
2251
|
if (!ke) {
|
|
2252
2252
|
if (!e)
|
|
2253
2253
|
throw new Error("designer is required");
|
|
2254
|
-
ke = ss(e),
|
|
2254
|
+
ke = ss(e), Bn.registerAgg(ke);
|
|
2255
2255
|
}
|
|
2256
2256
|
return ke.api;
|
|
2257
2257
|
}
|
|
@@ -2277,20 +2277,20 @@ const Vt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
|
2277
2277
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
2278
2278
|
const fs = () => {
|
|
2279
2279
|
}, ds = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
2280
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ct = Object.assign,
|
|
2280
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ct = Object.assign, L = Array.isArray, ue = (e) => typeof e == "function", X = (e) => typeof e == "string", hs = (e) => typeof e == "symbol", ie = (e) => e !== null && typeof e == "object";
|
|
2281
2281
|
let pn;
|
|
2282
2282
|
const at = () => pn || (pn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
2283
2283
|
function Yt(e) {
|
|
2284
|
-
if (
|
|
2284
|
+
if (L(e)) {
|
|
2285
2285
|
const t = {};
|
|
2286
2286
|
for (let n = 0; n < e.length; n++) {
|
|
2287
|
-
const
|
|
2288
|
-
if (
|
|
2289
|
-
for (const s in
|
|
2290
|
-
t[s] =
|
|
2287
|
+
const o = e[n], r = X(o) ? vs(o) : Yt(o);
|
|
2288
|
+
if (r)
|
|
2289
|
+
for (const s in r)
|
|
2290
|
+
t[s] = r[s];
|
|
2291
2291
|
}
|
|
2292
2292
|
return t;
|
|
2293
|
-
} else if (
|
|
2293
|
+
} else if (X(e) || ie(e))
|
|
2294
2294
|
return e;
|
|
2295
2295
|
}
|
|
2296
2296
|
const ms = /;(?![^(]*\))/g, gs = /:([^]+)/, _s = /\/\*[^]*?\*\//g;
|
|
@@ -2298,21 +2298,21 @@ function vs(e) {
|
|
|
2298
2298
|
const t = {};
|
|
2299
2299
|
return e.replace(_s, "").split(ms).forEach((n) => {
|
|
2300
2300
|
if (n) {
|
|
2301
|
-
const
|
|
2302
|
-
|
|
2301
|
+
const o = n.split(gs);
|
|
2302
|
+
o.length > 1 && (t[o[0].trim()] = o[1].trim());
|
|
2303
2303
|
}
|
|
2304
2304
|
}), t;
|
|
2305
2305
|
}
|
|
2306
2306
|
function Zt(e) {
|
|
2307
2307
|
let t = "";
|
|
2308
|
-
if (
|
|
2308
|
+
if (X(e))
|
|
2309
2309
|
t = e;
|
|
2310
|
-
else if (
|
|
2310
|
+
else if (L(e))
|
|
2311
2311
|
for (let n = 0; n < e.length; n++) {
|
|
2312
|
-
const
|
|
2313
|
-
|
|
2312
|
+
const o = Zt(e[n]);
|
|
2313
|
+
o && (t += o + " ");
|
|
2314
2314
|
}
|
|
2315
|
-
else if (
|
|
2315
|
+
else if (ie(e))
|
|
2316
2316
|
for (const n in e)
|
|
2317
2317
|
e[n] && (t += n + " ");
|
|
2318
2318
|
return t.trim();
|
|
@@ -2329,8 +2329,8 @@ Symbol(
|
|
|
2329
2329
|
new Set(
|
|
2330
2330
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(hs)
|
|
2331
2331
|
);
|
|
2332
|
-
function
|
|
2333
|
-
return At(e) ?
|
|
2332
|
+
function Gn(e) {
|
|
2333
|
+
return At(e) ? Gn(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
2334
2334
|
}
|
|
2335
2335
|
function At(e) {
|
|
2336
2336
|
return !!(e && e.__v_isReadonly);
|
|
@@ -2341,9 +2341,9 @@ function _t(e) {
|
|
|
2341
2341
|
function Rt(e) {
|
|
2342
2342
|
return e ? !!e.__v_raw : !1;
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function ce(e) {
|
|
2345
2345
|
const t = e && e.__v_raw;
|
|
2346
|
-
return t ?
|
|
2346
|
+
return t ? ce(t) : e;
|
|
2347
2347
|
}
|
|
2348
2348
|
function Qt(e) {
|
|
2349
2349
|
return e ? e.__v_isRef === !0 : !1;
|
|
@@ -2353,46 +2353,46 @@ function Qt(e) {
|
|
|
2353
2353
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
2354
2354
|
* @license MIT
|
|
2355
2355
|
**/
|
|
2356
|
-
const
|
|
2356
|
+
const ae = [];
|
|
2357
2357
|
function bs(e) {
|
|
2358
|
-
|
|
2358
|
+
ae.push(e);
|
|
2359
2359
|
}
|
|
2360
2360
|
function Es() {
|
|
2361
|
-
|
|
2361
|
+
ae.pop();
|
|
2362
2362
|
}
|
|
2363
2363
|
let vt = !1;
|
|
2364
|
-
function
|
|
2364
|
+
function De(e, ...t) {
|
|
2365
2365
|
if (vt) return;
|
|
2366
2366
|
vt = !0;
|
|
2367
|
-
const n =
|
|
2368
|
-
if (
|
|
2367
|
+
const n = ae.length ? ae[ae.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = Ns();
|
|
2368
|
+
if (o)
|
|
2369
2369
|
Xt(
|
|
2370
|
-
|
|
2370
|
+
o,
|
|
2371
2371
|
n,
|
|
2372
2372
|
11,
|
|
2373
2373
|
[
|
|
2374
2374
|
// eslint-disable-next-line no-restricted-syntax
|
|
2375
2375
|
e + t.map((s) => {
|
|
2376
|
-
var c,
|
|
2377
|
-
return (
|
|
2376
|
+
var c, a;
|
|
2377
|
+
return (a = (c = s.toString) == null ? void 0 : c.call(s)) != null ? a : JSON.stringify(s);
|
|
2378
2378
|
}).join(""),
|
|
2379
2379
|
n && n.proxy,
|
|
2380
|
-
|
|
2380
|
+
r.map(
|
|
2381
2381
|
({ vnode: s }) => `at <${co(n, s.type)}>`
|
|
2382
2382
|
).join(`
|
|
2383
2383
|
`),
|
|
2384
|
-
|
|
2384
|
+
r
|
|
2385
2385
|
]
|
|
2386
2386
|
);
|
|
2387
2387
|
else {
|
|
2388
2388
|
const s = [`[Vue warn]: ${e}`, ...t];
|
|
2389
|
-
|
|
2390
|
-
`, ...ws(
|
|
2389
|
+
r.length && s.push(`
|
|
2390
|
+
`, ...ws(r));
|
|
2391
2391
|
}
|
|
2392
2392
|
vt = !1;
|
|
2393
2393
|
}
|
|
2394
2394
|
function Ns() {
|
|
2395
|
-
let e =
|
|
2395
|
+
let e = ae[ae.length - 1];
|
|
2396
2396
|
if (!e)
|
|
2397
2397
|
return [];
|
|
2398
2398
|
const t = [];
|
|
@@ -2402,34 +2402,34 @@ function Ns() {
|
|
|
2402
2402
|
vnode: e,
|
|
2403
2403
|
recurseCount: 0
|
|
2404
2404
|
});
|
|
2405
|
-
const
|
|
2406
|
-
e =
|
|
2405
|
+
const o = e.component && e.component.parent;
|
|
2406
|
+
e = o && o.vnode;
|
|
2407
2407
|
}
|
|
2408
2408
|
return t;
|
|
2409
2409
|
}
|
|
2410
2410
|
function ws(e) {
|
|
2411
2411
|
const t = [];
|
|
2412
|
-
return e.forEach((n,
|
|
2413
|
-
t.push(...
|
|
2414
|
-
`], ...
|
|
2412
|
+
return e.forEach((n, o) => {
|
|
2413
|
+
t.push(...o === 0 ? [] : [`
|
|
2414
|
+
`], ...Cs(n));
|
|
2415
2415
|
}), t;
|
|
2416
2416
|
}
|
|
2417
|
-
function
|
|
2418
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "",
|
|
2417
|
+
function Cs({ vnode: e, recurseCount: t }) {
|
|
2418
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${co(
|
|
2419
2419
|
e.component,
|
|
2420
2420
|
e.type,
|
|
2421
|
-
|
|
2421
|
+
o
|
|
2422
2422
|
)}`, s = ">" + n;
|
|
2423
|
-
return e.props ? [
|
|
2423
|
+
return e.props ? [r, ...ys(e.props), s] : [r + s];
|
|
2424
2424
|
}
|
|
2425
|
-
function
|
|
2425
|
+
function ys(e) {
|
|
2426
2426
|
const t = [], n = Object.keys(e);
|
|
2427
|
-
return n.slice(0, 3).forEach((
|
|
2428
|
-
t.push(...Jn(
|
|
2427
|
+
return n.slice(0, 3).forEach((o) => {
|
|
2428
|
+
t.push(...Jn(o, e[o]));
|
|
2429
2429
|
}), n.length > 3 && t.push(" ..."), t;
|
|
2430
2430
|
}
|
|
2431
2431
|
function Jn(e, t, n) {
|
|
2432
|
-
return
|
|
2432
|
+
return X(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : Qt(t) ? (t = Jn(e, ce(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : ue(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = ce(t), n ? t : [`${e}=`, t]);
|
|
2433
2433
|
}
|
|
2434
2434
|
const qn = {
|
|
2435
2435
|
sp: "serverPrefetch hook",
|
|
@@ -2464,97 +2464,97 @@ const qn = {
|
|
|
2464
2464
|
15: "component update",
|
|
2465
2465
|
16: "app unmount cleanup function"
|
|
2466
2466
|
};
|
|
2467
|
-
function Xt(e, t, n,
|
|
2467
|
+
function Xt(e, t, n, o) {
|
|
2468
2468
|
try {
|
|
2469
|
-
return
|
|
2470
|
-
} catch (
|
|
2471
|
-
Yn(
|
|
2469
|
+
return o ? e(...o) : e();
|
|
2470
|
+
} catch (r) {
|
|
2471
|
+
Yn(r, t, n);
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
|
-
function Yn(e, t, n,
|
|
2475
|
-
const
|
|
2474
|
+
function Yn(e, t, n, o = !0) {
|
|
2475
|
+
const r = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || Vt;
|
|
2476
2476
|
if (t) {
|
|
2477
|
-
let
|
|
2478
|
-
const u = t.proxy,
|
|
2479
|
-
for (;
|
|
2480
|
-
const
|
|
2481
|
-
if (
|
|
2482
|
-
for (let i = 0; i <
|
|
2483
|
-
if (
|
|
2477
|
+
let a = t.parent;
|
|
2478
|
+
const u = t.proxy, f = process.env.NODE_ENV !== "production" ? qn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
2479
|
+
for (; a; ) {
|
|
2480
|
+
const p = a.ec;
|
|
2481
|
+
if (p) {
|
|
2482
|
+
for (let i = 0; i < p.length; i++)
|
|
2483
|
+
if (p[i](e, u, f) === !1)
|
|
2484
2484
|
return;
|
|
2485
2485
|
}
|
|
2486
|
-
|
|
2486
|
+
a = a.parent;
|
|
2487
2487
|
}
|
|
2488
2488
|
if (s) {
|
|
2489
2489
|
Xt(s, null, 10, [
|
|
2490
2490
|
e,
|
|
2491
2491
|
u,
|
|
2492
|
-
|
|
2492
|
+
f
|
|
2493
2493
|
]);
|
|
2494
2494
|
return;
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
|
-
|
|
2497
|
+
$s(e, n, r, o, c);
|
|
2498
2498
|
}
|
|
2499
|
-
function
|
|
2499
|
+
function $s(e, t, n, o = !0, r = !1) {
|
|
2500
2500
|
if (process.env.NODE_ENV !== "production") {
|
|
2501
2501
|
const s = qn[t];
|
|
2502
|
-
if (n && bs(n),
|
|
2502
|
+
if (n && bs(n), De(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Es(), o)
|
|
2503
2503
|
throw e;
|
|
2504
|
-
} else if (
|
|
2504
|
+
} else if (r)
|
|
2505
2505
|
throw e;
|
|
2506
2506
|
}
|
|
2507
|
-
const
|
|
2508
|
-
let
|
|
2509
|
-
const
|
|
2510
|
-
let
|
|
2507
|
+
const F = [];
|
|
2508
|
+
let U = -1;
|
|
2509
|
+
const Ee = [];
|
|
2510
|
+
let J = null, he = 0;
|
|
2511
2511
|
const Ss = /* @__PURE__ */ Promise.resolve();
|
|
2512
|
-
let
|
|
2513
|
-
const
|
|
2512
|
+
let It = null;
|
|
2513
|
+
const Os = 100;
|
|
2514
2514
|
function xs(e) {
|
|
2515
|
-
let t =
|
|
2515
|
+
let t = U + 1, n = F.length;
|
|
2516
2516
|
for (; t < n; ) {
|
|
2517
|
-
const
|
|
2518
|
-
s < e || s === e &&
|
|
2517
|
+
const o = t + n >>> 1, r = F[o], s = Ve(r);
|
|
2518
|
+
s < e || s === e && r.flags & 2 ? t = o + 1 : n = o;
|
|
2519
2519
|
}
|
|
2520
2520
|
return t;
|
|
2521
2521
|
}
|
|
2522
2522
|
function Ds(e) {
|
|
2523
2523
|
if (!(e.flags & 1)) {
|
|
2524
|
-
const t =
|
|
2524
|
+
const t = Ve(e), n = F[F.length - 1];
|
|
2525
2525
|
!n || // fast path when the job id is larger than the tail
|
|
2526
|
-
!(e.flags & 2) && t >=
|
|
2526
|
+
!(e.flags & 2) && t >= Ve(n) ? F.push(e) : F.splice(xs(t), 0, e), e.flags |= 1, Zn();
|
|
2527
2527
|
}
|
|
2528
2528
|
}
|
|
2529
2529
|
function Zn() {
|
|
2530
|
-
|
|
2530
|
+
It || (It = Ss.then(Qn));
|
|
2531
2531
|
}
|
|
2532
2532
|
function Vs(e) {
|
|
2533
|
-
|
|
2533
|
+
L(e) ? Ee.push(...e) : J && e.id === -1 ? J.splice(he + 1, 0, e) : e.flags & 1 || (Ee.push(e), e.flags |= 1), Zn();
|
|
2534
2534
|
}
|
|
2535
2535
|
function As(e) {
|
|
2536
|
-
if (
|
|
2537
|
-
const t = [...new Set(
|
|
2538
|
-
(n,
|
|
2536
|
+
if (Ee.length) {
|
|
2537
|
+
const t = [...new Set(Ee)].sort(
|
|
2538
|
+
(n, o) => Ve(n) - Ve(o)
|
|
2539
2539
|
);
|
|
2540
|
-
if (
|
|
2541
|
-
|
|
2540
|
+
if (Ee.length = 0, J) {
|
|
2541
|
+
J.push(...t);
|
|
2542
2542
|
return;
|
|
2543
2543
|
}
|
|
2544
|
-
for (
|
|
2545
|
-
const n =
|
|
2544
|
+
for (J = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), he = 0; he < J.length; he++) {
|
|
2545
|
+
const n = J[he];
|
|
2546
2546
|
process.env.NODE_ENV !== "production" && Xn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
2547
2547
|
}
|
|
2548
|
-
|
|
2548
|
+
J = null, he = 0;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
const
|
|
2551
|
+
const Ve = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
2552
2552
|
function Qn(e) {
|
|
2553
2553
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
2554
2554
|
const t = process.env.NODE_ENV !== "production" ? (n) => Xn(e, n) : fs;
|
|
2555
2555
|
try {
|
|
2556
|
-
for (
|
|
2557
|
-
const n =
|
|
2556
|
+
for (U = 0; U < F.length; U++) {
|
|
2557
|
+
const n = F[U];
|
|
2558
2558
|
if (n && !(n.flags & 8)) {
|
|
2559
2559
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
2560
2560
|
continue;
|
|
@@ -2566,19 +2566,19 @@ function Qn(e) {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
}
|
|
2568
2568
|
} finally {
|
|
2569
|
-
for (;
|
|
2570
|
-
const n =
|
|
2569
|
+
for (; U < F.length; U++) {
|
|
2570
|
+
const n = F[U];
|
|
2571
2571
|
n && (n.flags &= -2);
|
|
2572
2572
|
}
|
|
2573
|
-
|
|
2573
|
+
U = -1, F.length = 0, As(e), It = null, (F.length || Ee.length) && Qn(e);
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
2576
|
function Xn(e, t) {
|
|
2577
2577
|
const n = e.get(t) || 0;
|
|
2578
|
-
if (n >
|
|
2579
|
-
const
|
|
2578
|
+
if (n > Os) {
|
|
2579
|
+
const o = t.i, r = o && io(o.type);
|
|
2580
2580
|
return Yn(
|
|
2581
|
-
`Maximum recursive updates exceeded${
|
|
2581
|
+
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
2582
2582
|
null,
|
|
2583
2583
|
10
|
|
2584
2584
|
), !0;
|
|
@@ -2588,8 +2588,8 @@ function Xn(e, t) {
|
|
|
2588
2588
|
const bt = /* @__PURE__ */ new Map();
|
|
2589
2589
|
process.env.NODE_ENV !== "production" && (at().__VUE_HMR_RUNTIME__ = {
|
|
2590
2590
|
createRecord: Et(Rs),
|
|
2591
|
-
rerender: Et(
|
|
2592
|
-
reload: Et(
|
|
2591
|
+
rerender: Et(Is),
|
|
2592
|
+
reload: Et(Ts)
|
|
2593
2593
|
});
|
|
2594
2594
|
const Ze = /* @__PURE__ */ new Map();
|
|
2595
2595
|
function Rs(e, t) {
|
|
@@ -2601,22 +2601,22 @@ function Rs(e, t) {
|
|
|
2601
2601
|
function Qe(e) {
|
|
2602
2602
|
return ao(e) ? e.__vccOpts : e;
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2604
|
+
function Is(e, t) {
|
|
2605
2605
|
const n = Ze.get(e);
|
|
2606
|
-
n && (n.initialDef.render = t, [...n.instances].forEach((
|
|
2607
|
-
t && (
|
|
2606
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
|
|
2607
|
+
t && (o.render = t, Qe(o.type).render = t), o.renderCache = [], o.update();
|
|
2608
2608
|
}));
|
|
2609
2609
|
}
|
|
2610
|
-
function
|
|
2610
|
+
function Ts(e, t) {
|
|
2611
2611
|
const n = Ze.get(e);
|
|
2612
2612
|
if (!n) return;
|
|
2613
2613
|
t = Qe(t), fn(n.initialDef, t);
|
|
2614
|
-
const
|
|
2615
|
-
for (let
|
|
2616
|
-
const s = r
|
|
2617
|
-
let
|
|
2618
|
-
|
|
2619
|
-
s.parent.update(),
|
|
2614
|
+
const o = [...n.instances];
|
|
2615
|
+
for (let r = 0; r < o.length; r++) {
|
|
2616
|
+
const s = o[r], c = Qe(s.type);
|
|
2617
|
+
let a = bt.get(c);
|
|
2618
|
+
a || (c !== n.initialDef && fn(c, t), bt.set(c, a = /* @__PURE__ */ new Set())), a.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (a.add(s), s.ceReload(t.styles), a.delete(s)) : s.parent ? Ds(() => {
|
|
2619
|
+
s.parent.update(), a.delete(s);
|
|
2620
2620
|
}) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(c);
|
|
2621
2621
|
}
|
|
2622
2622
|
Vs(() => {
|
|
@@ -2645,26 +2645,26 @@ at().requestIdleCallback;
|
|
|
2645
2645
|
at().cancelIdleCallback;
|
|
2646
2646
|
const js = Symbol.for("v-ndc");
|
|
2647
2647
|
process.env.NODE_ENV;
|
|
2648
|
-
const ks = {}, to = (e) => Object.getPrototypeOf(e) === ks,
|
|
2649
|
-
let
|
|
2648
|
+
const ks = {}, to = (e) => Object.getPrototypeOf(e) === ks, Hs = (e) => e.__isSuspense, no = Symbol.for("v-fgt"), Ms = Symbol.for("v-txt"), Ls = Symbol.for("v-cmt");
|
|
2649
|
+
let ge = null;
|
|
2650
2650
|
function Ks(e) {
|
|
2651
2651
|
return e ? e.__v_isVNode === !0 : !1;
|
|
2652
2652
|
}
|
|
2653
2653
|
const zs = (...e) => ro(
|
|
2654
2654
|
...e
|
|
2655
|
-
), oo = ({ key: e }) => e ?? null,
|
|
2655
|
+
), oo = ({ key: e }) => e ?? null, Me = ({
|
|
2656
2656
|
ref: e,
|
|
2657
2657
|
ref_key: t,
|
|
2658
2658
|
ref_for: n
|
|
2659
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ?
|
|
2660
|
-
function Us(e, t = null, n = null,
|
|
2659
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? X(e) || Qt(e) || ue(e) ? { i: Xe, r: e, k: t, f: !!n } : e : null);
|
|
2660
|
+
function Us(e, t = null, n = null, o = 0, r = null, s = e === no ? 0 : 1, c = !1, a = !1) {
|
|
2661
2661
|
const u = {
|
|
2662
2662
|
__v_isVNode: !0,
|
|
2663
2663
|
__v_skip: !0,
|
|
2664
2664
|
type: e,
|
|
2665
2665
|
props: t,
|
|
2666
2666
|
key: t && oo(t),
|
|
2667
|
-
ref: t &&
|
|
2667
|
+
ref: t && Me(t),
|
|
2668
2668
|
scopeId: Ps,
|
|
2669
2669
|
slotScopeIds: null,
|
|
2670
2670
|
children: n,
|
|
@@ -2681,40 +2681,40 @@ function Us(e, t = null, n = null, r = 0, o = null, s = e === no ? 0 : 1, c = !1
|
|
|
2681
2681
|
targetAnchor: null,
|
|
2682
2682
|
staticCount: 0,
|
|
2683
2683
|
shapeFlag: s,
|
|
2684
|
-
patchFlag:
|
|
2685
|
-
dynamicProps:
|
|
2684
|
+
patchFlag: o,
|
|
2685
|
+
dynamicProps: r,
|
|
2686
2686
|
dynamicChildren: null,
|
|
2687
2687
|
appContext: null,
|
|
2688
2688
|
ctx: Xe
|
|
2689
2689
|
};
|
|
2690
|
-
return
|
|
2690
|
+
return a ? (en(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= X(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && De("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
|
|
2691
2691
|
!c && // has current parent block
|
|
2692
|
-
|
|
2692
|
+
ge && // presence of a patch flag indicates this node needs patching on updates.
|
|
2693
2693
|
// component nodes also should always be patched, because even if the
|
|
2694
2694
|
// component doesn't need to update, it needs to persist the instance on to
|
|
2695
2695
|
// the next vnode so that it can be properly unmounted later.
|
|
2696
2696
|
(u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
2697
2697
|
// vnode should not be considered dynamic due to handler caching.
|
|
2698
|
-
u.patchFlag !== 32 &&
|
|
2698
|
+
u.patchFlag !== 32 && ge.push(u), u;
|
|
2699
2699
|
}
|
|
2700
2700
|
const Ws = process.env.NODE_ENV !== "production" ? zs : ro;
|
|
2701
|
-
function ro(e, t = null, n = null,
|
|
2702
|
-
if ((!e || e === js) && (process.env.NODE_ENV !== "production" && !e &&
|
|
2703
|
-
const
|
|
2701
|
+
function ro(e, t = null, n = null, o = 0, r = null, s = !1) {
|
|
2702
|
+
if ((!e || e === js) && (process.env.NODE_ENV !== "production" && !e && De(`Invalid vnode type when creating vnode: ${e}.`), e = Ls), Ks(e)) {
|
|
2703
|
+
const a = et(
|
|
2704
2704
|
e,
|
|
2705
2705
|
t,
|
|
2706
2706
|
!0
|
|
2707
2707
|
/* mergeRef: true */
|
|
2708
2708
|
);
|
|
2709
|
-
return n && en(
|
|
2709
|
+
return n && en(a, n), !s && ge && (a.shapeFlag & 6 ? ge[ge.indexOf(e)] = a : ge.push(a)), a.patchFlag = -2, a;
|
|
2710
2710
|
}
|
|
2711
2711
|
if (ao(e) && (e = e.__vccOpts), t) {
|
|
2712
|
-
t =
|
|
2713
|
-
let { class:
|
|
2714
|
-
|
|
2712
|
+
t = Bs(t);
|
|
2713
|
+
let { class: a, style: u } = t;
|
|
2714
|
+
a && !X(a) && (t.class = Zt(a)), ie(u) && (Rt(u) && !L(u) && (u = ct({}, u)), t.style = Yt(u));
|
|
2715
2715
|
}
|
|
2716
|
-
const c =
|
|
2717
|
-
return process.env.NODE_ENV !== "production" && c & 4 && Rt(e) && (e =
|
|
2716
|
+
const c = X(e) ? 1 : Hs(e) ? 128 : Fs(e) ? 64 : ie(e) ? 4 : ue(e) ? 2 : 0;
|
|
2717
|
+
return process.env.NODE_ENV !== "production" && c & 4 && Rt(e) && (e = ce(e), De(
|
|
2718
2718
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
2719
2719
|
`
|
|
2720
2720
|
Component that was made reactive: `,
|
|
@@ -2723,32 +2723,32 @@ Component that was made reactive: `,
|
|
|
2723
2723
|
e,
|
|
2724
2724
|
t,
|
|
2725
2725
|
n,
|
|
2726
|
-
r,
|
|
2727
2726
|
o,
|
|
2727
|
+
r,
|
|
2728
2728
|
c,
|
|
2729
2729
|
s,
|
|
2730
2730
|
!0
|
|
2731
2731
|
);
|
|
2732
2732
|
}
|
|
2733
|
-
function
|
|
2733
|
+
function Bs(e) {
|
|
2734
2734
|
return e ? Rt(e) || to(e) ? ct({}, e) : e : null;
|
|
2735
2735
|
}
|
|
2736
|
-
function et(e, t, n = !1,
|
|
2737
|
-
const { props:
|
|
2736
|
+
function et(e, t, n = !1, o = !1) {
|
|
2737
|
+
const { props: r, ref: s, patchFlag: c, children: a, transition: u } = e, f = t ? Js(r || {}, t) : r, p = {
|
|
2738
2738
|
__v_isVNode: !0,
|
|
2739
2739
|
__v_skip: !0,
|
|
2740
2740
|
type: e.type,
|
|
2741
|
-
props:
|
|
2742
|
-
key:
|
|
2741
|
+
props: f,
|
|
2742
|
+
key: f && oo(f),
|
|
2743
2743
|
ref: t && t.ref ? (
|
|
2744
2744
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
2745
2745
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
2746
2746
|
// the refs so the single vnode can be set on multiple refs
|
|
2747
|
-
n && s ?
|
|
2747
|
+
n && s ? L(s) ? s.concat(Me(t)) : [s, Me(t)] : Me(t)
|
|
2748
2748
|
) : s,
|
|
2749
2749
|
scopeId: e.scopeId,
|
|
2750
2750
|
slotScopeIds: e.slotScopeIds,
|
|
2751
|
-
children: process.env.NODE_ENV !== "production" && c === -1 &&
|
|
2751
|
+
children: process.env.NODE_ENV !== "production" && c === -1 && L(a) ? a.map(so) : a,
|
|
2752
2752
|
target: e.target,
|
|
2753
2753
|
targetStart: e.targetStart,
|
|
2754
2754
|
targetAnchor: e.targetAnchor,
|
|
@@ -2777,56 +2777,56 @@ function et(e, t, n = !1, r = !1) {
|
|
|
2777
2777
|
ctx: e.ctx,
|
|
2778
2778
|
ce: e.ce
|
|
2779
2779
|
};
|
|
2780
|
-
return u &&
|
|
2781
|
-
|
|
2782
|
-
u.clone(
|
|
2783
|
-
),
|
|
2780
|
+
return u && o && eo(
|
|
2781
|
+
p,
|
|
2782
|
+
u.clone(p)
|
|
2783
|
+
), p;
|
|
2784
2784
|
}
|
|
2785
2785
|
function so(e) {
|
|
2786
2786
|
const t = et(e);
|
|
2787
|
-
return
|
|
2787
|
+
return L(e.children) && (t.children = e.children.map(so)), t;
|
|
2788
2788
|
}
|
|
2789
|
-
function
|
|
2790
|
-
return Ws(
|
|
2789
|
+
function Gs(e = " ", t = 0) {
|
|
2790
|
+
return Ws(Ms, null, e, t);
|
|
2791
2791
|
}
|
|
2792
2792
|
function en(e, t) {
|
|
2793
2793
|
let n = 0;
|
|
2794
|
-
const { shapeFlag:
|
|
2794
|
+
const { shapeFlag: o } = e;
|
|
2795
2795
|
if (t == null)
|
|
2796
2796
|
t = null;
|
|
2797
|
-
else if (
|
|
2797
|
+
else if (L(t))
|
|
2798
2798
|
n = 16;
|
|
2799
2799
|
else if (typeof t == "object")
|
|
2800
|
-
if (
|
|
2801
|
-
const
|
|
2802
|
-
|
|
2800
|
+
if (o & 65) {
|
|
2801
|
+
const r = t.default;
|
|
2802
|
+
r && (r._c && (r._d = !1), en(e, r()), r._c && (r._d = !0));
|
|
2803
2803
|
return;
|
|
2804
2804
|
} else
|
|
2805
2805
|
n = 32, !t._ && !to(t) && (t._ctx = Xe);
|
|
2806
|
-
else
|
|
2806
|
+
else ue(t) ? (t = { default: t, _ctx: Xe }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Gs(t)]) : n = 8);
|
|
2807
2807
|
e.children = t, e.shapeFlag |= n;
|
|
2808
2808
|
}
|
|
2809
2809
|
function Js(...e) {
|
|
2810
2810
|
const t = {};
|
|
2811
2811
|
for (let n = 0; n < e.length; n++) {
|
|
2812
|
-
const
|
|
2813
|
-
for (const
|
|
2814
|
-
if (
|
|
2815
|
-
t.class !==
|
|
2816
|
-
else if (
|
|
2817
|
-
t.style = Yt([t.style,
|
|
2818
|
-
else if (ds(
|
|
2819
|
-
const s = t[
|
|
2820
|
-
c && s !== c && !(
|
|
2821
|
-
} else
|
|
2812
|
+
const o = e[n];
|
|
2813
|
+
for (const r in o)
|
|
2814
|
+
if (r === "class")
|
|
2815
|
+
t.class !== o.class && (t.class = Zt([t.class, o.class]));
|
|
2816
|
+
else if (r === "style")
|
|
2817
|
+
t.style = Yt([t.style, o.style]);
|
|
2818
|
+
else if (ds(r)) {
|
|
2819
|
+
const s = t[r], c = o[r];
|
|
2820
|
+
c && s !== c && !(L(s) && s.includes(c)) && (t[r] = s ? [].concat(s, c) : c);
|
|
2821
|
+
} else r !== "" && (t[r] = o[r]);
|
|
2822
2822
|
}
|
|
2823
2823
|
return t;
|
|
2824
2824
|
}
|
|
2825
2825
|
{
|
|
2826
|
-
const e = at(), t = (n,
|
|
2827
|
-
let
|
|
2828
|
-
return (
|
|
2829
|
-
|
|
2826
|
+
const e = at(), t = (n, o) => {
|
|
2827
|
+
let r;
|
|
2828
|
+
return (r = e[n]) || (r = e[n] = []), r.push(o), (s) => {
|
|
2829
|
+
r.length > 1 ? r.forEach((c) => c(s)) : r[0](s);
|
|
2830
2830
|
};
|
|
2831
2831
|
};
|
|
2832
2832
|
t(
|
|
@@ -2840,56 +2840,56 @@ function Js(...e) {
|
|
|
2840
2840
|
process.env.NODE_ENV;
|
|
2841
2841
|
const qs = /(?:^|[-_])(\w)/g, Ys = (e) => e.replace(qs, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
2842
2842
|
function io(e, t = !0) {
|
|
2843
|
-
return
|
|
2843
|
+
return ue(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
2844
2844
|
}
|
|
2845
2845
|
function co(e, t, n = !1) {
|
|
2846
|
-
let
|
|
2847
|
-
if (!
|
|
2848
|
-
const
|
|
2849
|
-
|
|
2846
|
+
let o = io(t);
|
|
2847
|
+
if (!o && t.__file) {
|
|
2848
|
+
const r = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
2849
|
+
r && (o = r[1]);
|
|
2850
2850
|
}
|
|
2851
|
-
if (!
|
|
2852
|
-
const
|
|
2851
|
+
if (!o && e && e.parent) {
|
|
2852
|
+
const r = (s) => {
|
|
2853
2853
|
for (const c in s)
|
|
2854
2854
|
if (s[c] === t)
|
|
2855
2855
|
return c;
|
|
2856
2856
|
};
|
|
2857
|
-
|
|
2857
|
+
o = r(
|
|
2858
2858
|
e.components || e.parent.type.components
|
|
2859
|
-
) ||
|
|
2859
|
+
) || r(e.appContext.components);
|
|
2860
2860
|
}
|
|
2861
|
-
return
|
|
2861
|
+
return o ? Ys(o) : n ? "App" : "Anonymous";
|
|
2862
2862
|
}
|
|
2863
2863
|
function ao(e) {
|
|
2864
|
-
return
|
|
2864
|
+
return ue(e) && "__vccOpts" in e;
|
|
2865
2865
|
}
|
|
2866
2866
|
function Zs() {
|
|
2867
2867
|
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
2868
2868
|
return;
|
|
2869
|
-
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" },
|
|
2869
|
+
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, r = {
|
|
2870
2870
|
__vue_custom_formatter: !0,
|
|
2871
2871
|
header(i) {
|
|
2872
|
-
return
|
|
2872
|
+
return ie(i) ? i.__isVue ? ["div", e, "VueInstance"] : Qt(i) ? [
|
|
2873
2873
|
"div",
|
|
2874
2874
|
{},
|
|
2875
|
-
["span", e,
|
|
2875
|
+
["span", e, p(i)],
|
|
2876
2876
|
"<",
|
|
2877
2877
|
// avoid debugger accessing value affecting behavior
|
|
2878
|
-
|
|
2878
|
+
a("_value" in i ? i._value : i),
|
|
2879
2879
|
">"
|
|
2880
|
-
] :
|
|
2880
|
+
] : Gn(i) ? [
|
|
2881
2881
|
"div",
|
|
2882
2882
|
{},
|
|
2883
2883
|
["span", e, _t(i) ? "ShallowReactive" : "Reactive"],
|
|
2884
2884
|
"<",
|
|
2885
|
-
|
|
2885
|
+
a(i),
|
|
2886
2886
|
`>${At(i) ? " (readonly)" : ""}`
|
|
2887
2887
|
] : At(i) ? [
|
|
2888
2888
|
"div",
|
|
2889
2889
|
{},
|
|
2890
2890
|
["span", e, _t(i) ? "ShallowReadonly" : "Readonly"],
|
|
2891
2891
|
"<",
|
|
2892
|
-
|
|
2892
|
+
a(i),
|
|
2893
2893
|
">"
|
|
2894
2894
|
] : null : null;
|
|
2895
2895
|
},
|
|
@@ -2906,26 +2906,26 @@ function Zs() {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
2908
|
function s(i) {
|
|
2909
|
-
const
|
|
2910
|
-
i.type.props && i.props &&
|
|
2911
|
-
const
|
|
2912
|
-
|
|
2913
|
-
const
|
|
2914
|
-
return
|
|
2909
|
+
const l = [];
|
|
2910
|
+
i.type.props && i.props && l.push(c("props", ce(i.props))), i.setupState !== Vt && l.push(c("setup", i.setupState)), i.data !== Vt && l.push(c("data", ce(i.data)));
|
|
2911
|
+
const d = u(i, "computed");
|
|
2912
|
+
d && l.push(c("computed", d));
|
|
2913
|
+
const h = u(i, "inject");
|
|
2914
|
+
return h && l.push(c("injected", h)), l.push([
|
|
2915
2915
|
"div",
|
|
2916
2916
|
{},
|
|
2917
2917
|
[
|
|
2918
2918
|
"span",
|
|
2919
2919
|
{
|
|
2920
|
-
style:
|
|
2920
|
+
style: o.style + ";opacity:0.66"
|
|
2921
2921
|
},
|
|
2922
2922
|
"$ (internal): "
|
|
2923
2923
|
],
|
|
2924
2924
|
["object", { object: i }]
|
|
2925
|
-
]),
|
|
2925
|
+
]), l;
|
|
2926
2926
|
}
|
|
2927
|
-
function c(i,
|
|
2928
|
-
return
|
|
2927
|
+
function c(i, l) {
|
|
2928
|
+
return l = ct({}, l), Object.keys(l).length ? [
|
|
2929
2929
|
"div",
|
|
2930
2930
|
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
2931
2931
|
[
|
|
@@ -2940,36 +2940,36 @@ function Zs() {
|
|
|
2940
2940
|
{
|
|
2941
2941
|
style: "padding-left:1.25em"
|
|
2942
2942
|
},
|
|
2943
|
-
...Object.keys(
|
|
2943
|
+
...Object.keys(l).map((d) => [
|
|
2944
2944
|
"div",
|
|
2945
2945
|
{},
|
|
2946
|
-
["span",
|
|
2947
|
-
l
|
|
2946
|
+
["span", o, d + ": "],
|
|
2947
|
+
a(l[d], !1)
|
|
2948
2948
|
])
|
|
2949
2949
|
]
|
|
2950
2950
|
] : ["span", {}];
|
|
2951
2951
|
}
|
|
2952
|
-
function
|
|
2953
|
-
return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span",
|
|
2952
|
+
function a(i, l = !0) {
|
|
2953
|
+
return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : ie(i) ? ["object", { object: l ? ce(i) : i }] : ["span", n, String(i)];
|
|
2954
2954
|
}
|
|
2955
|
-
function u(i,
|
|
2956
|
-
const
|
|
2957
|
-
if (
|
|
2955
|
+
function u(i, l) {
|
|
2956
|
+
const d = i.type;
|
|
2957
|
+
if (ue(d))
|
|
2958
2958
|
return;
|
|
2959
|
-
const
|
|
2959
|
+
const h = {};
|
|
2960
2960
|
for (const m in i.ctx)
|
|
2961
|
-
|
|
2962
|
-
return
|
|
2961
|
+
f(d, m, l) && (h[m] = i.ctx[m]);
|
|
2962
|
+
return h;
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2965
|
-
const
|
|
2966
|
-
if (
|
|
2964
|
+
function f(i, l, d) {
|
|
2965
|
+
const h = i[d];
|
|
2966
|
+
if (L(h) && h.includes(l) || ie(h) && l in h || i.extends && f(i.extends, l, d) || i.mixins && i.mixins.some((m) => f(m, l, d)))
|
|
2967
2967
|
return !0;
|
|
2968
2968
|
}
|
|
2969
|
-
function
|
|
2969
|
+
function p(i) {
|
|
2970
2970
|
return _t(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
|
|
2971
2971
|
}
|
|
2972
|
-
window.devtoolsFormatters ? window.devtoolsFormatters.push(
|
|
2972
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
|
|
2973
2973
|
}
|
|
2974
2974
|
process.env.NODE_ENV;
|
|
2975
2975
|
process.env.NODE_ENV;
|
|
@@ -2987,7 +2987,7 @@ function Xs(e) {
|
|
|
2987
2987
|
return as(e) || ls(e) || cs(e) || us(e) || ps(e);
|
|
2988
2988
|
}
|
|
2989
2989
|
var lo = /* @__PURE__ */ ((e) => (e.Java = "java", e.Kotlin = "kotlin", e.CSharp = "csharp", e.Go = "go", e))(lo || {});
|
|
2990
|
-
class
|
|
2990
|
+
class ne {
|
|
2991
2991
|
imports = /* @__PURE__ */ new Set();
|
|
2992
2992
|
parentDir;
|
|
2993
2993
|
name;
|
|
@@ -3031,13 +3031,13 @@ class fe {
|
|
|
3031
3031
|
var tt;
|
|
3032
3032
|
((e) => {
|
|
3033
3033
|
((t) => {
|
|
3034
|
-
t.Lombok = "Lombok", t.LombokBuilder = "LombokBuilder", t.RecordVakueObject = "RecordVakueObject", t.CommandHandler = "CommandHandler", t.Jpa = "Jpa", t.Timezone = "Timezone";
|
|
3034
|
+
t.Lombok = "Lombok", t.LombokBuilder = "LombokBuilder", t.RecordVakueObject = "RecordVakueObject", t.CommandHandler = "CommandHandler", t.Jpa = "Jpa", t.Timezone = "Timezone", t.SpringFramework = "SpringFramework";
|
|
3035
3035
|
})(e.JavaGeneratorAddition || (e.JavaGeneratorAddition = {}));
|
|
3036
3036
|
})(tt || (tt = {}));
|
|
3037
|
-
var
|
|
3037
|
+
var Tt;
|
|
3038
3038
|
((e) => {
|
|
3039
3039
|
e.KotlinGeneratorAddition || (e.KotlinGeneratorAddition = {});
|
|
3040
|
-
})(
|
|
3040
|
+
})(Tt || (Tt = {}));
|
|
3041
3041
|
var Pt;
|
|
3042
3042
|
((e) => {
|
|
3043
3043
|
e.CSharpGeneratorAddition || (e.CSharpGeneratorAddition = {});
|
|
@@ -3048,7 +3048,7 @@ var Ft;
|
|
|
3048
3048
|
})(Ft || (Ft = {}));
|
|
3049
3049
|
const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3050
3050
|
__proto__: null,
|
|
3051
|
-
CodeFile:
|
|
3051
|
+
CodeFile: ne,
|
|
3052
3052
|
Language: lo,
|
|
3053
3053
|
get csharp() {
|
|
3054
3054
|
return Pt;
|
|
@@ -3061,293 +3061,363 @@ const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3061
3061
|
return tt;
|
|
3062
3062
|
},
|
|
3063
3063
|
get kotlin() {
|
|
3064
|
-
return
|
|
3064
|
+
return Tt;
|
|
3065
3065
|
}
|
|
3066
3066
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3067
|
-
var
|
|
3067
|
+
var w;
|
|
3068
3068
|
((e) => {
|
|
3069
|
-
function t(
|
|
3070
|
-
return
|
|
3069
|
+
function t(f) {
|
|
3070
|
+
return f.trim().split(f.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((p) => p.charAt(0).toUpperCase() + p.toLowerCase().slice(1)).join("");
|
|
3071
3071
|
}
|
|
3072
3072
|
e.stringToUpperCamel = t;
|
|
3073
|
-
function n(
|
|
3074
|
-
let
|
|
3075
|
-
return
|
|
3073
|
+
function n(f) {
|
|
3074
|
+
let p = !0;
|
|
3075
|
+
return f.trim().split(f.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((i) => p ? (p = !1, i.toLowerCase()) : i.charAt(0).toUpperCase() + i.toLowerCase().slice(1)).join("");
|
|
3076
3076
|
}
|
|
3077
3077
|
e.stringToLowerCamel = n;
|
|
3078
|
-
function
|
|
3079
|
-
return
|
|
3078
|
+
function o(f) {
|
|
3079
|
+
return f.includes("_") ? f.toLowerCase() : s(f);
|
|
3080
3080
|
}
|
|
3081
|
-
e.stringToLowerSnake =
|
|
3082
|
-
function
|
|
3083
|
-
return
|
|
3081
|
+
e.stringToLowerSnake = o;
|
|
3082
|
+
function r(f) {
|
|
3083
|
+
return f.trim().split(/(?=[A-Z])/g).join("_").toUpperCase();
|
|
3084
3084
|
}
|
|
3085
|
-
e.camelToUpperSnake =
|
|
3086
|
-
function s(
|
|
3087
|
-
return
|
|
3085
|
+
e.camelToUpperSnake = r;
|
|
3086
|
+
function s(f) {
|
|
3087
|
+
return f.trim().split(/(?=[A-Z])/g).join("_").toLowerCase();
|
|
3088
3088
|
}
|
|
3089
3089
|
e.camelToLowerSnake = s;
|
|
3090
|
-
function c(
|
|
3091
|
-
return
|
|
3090
|
+
function c(f) {
|
|
3091
|
+
return f.trim().split("_").map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join("");
|
|
3092
3092
|
}
|
|
3093
3093
|
e.snakeToUpperCamel = c;
|
|
3094
|
-
function
|
|
3095
|
-
return
|
|
3094
|
+
function a(f) {
|
|
3095
|
+
return f.trim().charAt(0).toLowerCase() + f.slice(1);
|
|
3096
3096
|
}
|
|
3097
|
-
e.lowerFirst =
|
|
3098
|
-
function u(
|
|
3099
|
-
return
|
|
3097
|
+
e.lowerFirst = a;
|
|
3098
|
+
function u(f) {
|
|
3099
|
+
return f.trim().charAt(0).toUpperCase() + f.slice(1);
|
|
3100
3100
|
}
|
|
3101
3101
|
e.upperFirst = u;
|
|
3102
|
-
})(
|
|
3103
|
-
const
|
|
3104
|
-
|
|
3105
|
-
|
|
3102
|
+
})(w || (w = {}));
|
|
3103
|
+
const x = tt.JavaGeneratorAddition, ni = Bn.createHotSwapPlugin(() => {
|
|
3104
|
+
const e = "value";
|
|
3105
|
+
function t(n) {
|
|
3106
|
+
return w.stringToUpperCamel(n._attributes.name);
|
|
3106
3107
|
}
|
|
3107
3108
|
return {
|
|
3108
|
-
unmount({ api:
|
|
3109
|
-
|
|
3109
|
+
unmount({ api: n }) {
|
|
3110
|
+
n.commands.clearCaches(), n.commands._setCommandCodeProvider(() => []), n.commands._setFacadeCommandCodeProvider(() => []), n.commands._setAggCodeProvider(() => []), n.commands._setEventCodeProvider(() => []), n.commands._setReadModelCodeProvider(() => []), n.commands._setCodeFileProvider(() => []), n.commands.setContext({});
|
|
3110
3111
|
},
|
|
3111
|
-
mount({ api:
|
|
3112
|
-
const
|
|
3113
|
-
function r(
|
|
3114
|
-
const
|
|
3115
|
-
return /\b(time|timestamp|date|deadline|expire)\b/.test(
|
|
3112
|
+
mount({ api: n }) {
|
|
3113
|
+
const o = n.states.context;
|
|
3114
|
+
function r(c, a) {
|
|
3115
|
+
const u = o.value.additions, f = w.stringToLowerSnake(a._attributes.name).replace(/_/, " ");
|
|
3116
|
+
return /\b(time|timestamp|date|deadline|expire)\b/.test(f) ? u.has(x.Timezone) ? (c.add("java.time.OffsetDateTime"), "OffsetDateTime") : (c.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(f) ? "Integer" : /\b(price)$/.test(f) ? (c.add("java.math.BigDecimal"), "BigDecimal") : /^(if|is)\b/.test(f) ? "Boolean" : is(a) && (a._attributes.type === "Id" || a._attributes.type === "Version") ? "Long" : "String";
|
|
3116
3117
|
}
|
|
3117
|
-
|
|
3118
|
-
(
|
|
3119
|
-
const
|
|
3120
|
-
|
|
3121
|
-
const
|
|
3122
|
-
return
|
|
3118
|
+
n.commands._setInfoCodeProvider(
|
|
3119
|
+
(c) => {
|
|
3120
|
+
const a = /* @__PURE__ */ new Set();
|
|
3121
|
+
a.add(o.value.nonNullAnnotation);
|
|
3122
|
+
const u = o.value.nonNullAnnotation.split(".").pop(), f = t(c), p = o.value.additions, i = [];
|
|
3123
|
+
return p.has(x.RecordVakueObject) ? (i.push(`public record ${f}(@${u} ${r(a, c)} value) {`), i.push(` public ${f} {`), i.push(" // HACK check value"), i.push(" }"), i.push("}")) : p.has(x.Lombok) ? (i.push("@lombok.AllArgsConstructor"), i.push("@lombok.Getter"), i.push(`public class ${f} {`), i.push(` private final ${r(a, c)} value;`), i.push(""), i.push(` public ${f} (@${u} ${r(a, c)} value) {`), i.push(" // HACK check value"), i.push(" this.value = value;"), i.push(" }"), i.push("}")) : (i.push(`public class ${t(c)} {`), i.push(` private final ${r(a, c)} value;`), i.push(""), i.push(` public ${f} (@${u} ${r(a, c)} value) {`), i.push(" // HACK check value"), i.push(" this.value = value;"), i.push(" }"), i.push(""), i.push(` public ${r(a, c)} getValue() {`), i.push(" return this.value;"), i.push(" }"), i.push("}")), [
|
|
3123
3124
|
{
|
|
3124
3125
|
type: "Info",
|
|
3125
|
-
imports:
|
|
3126
|
-
content:
|
|
3126
|
+
imports: a,
|
|
3127
|
+
content: i.join(`
|
|
3127
3128
|
`)
|
|
3128
3129
|
}
|
|
3129
3130
|
];
|
|
3130
3131
|
}
|
|
3131
3132
|
);
|
|
3132
|
-
function
|
|
3133
|
-
const
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
c
|
|
3138
|
-
const
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
const
|
|
3174
|
-
|
|
3133
|
+
function s(c) {
|
|
3134
|
+
const a = [], u = o.value.additions, f = o.value.nonNullAnnotation.split(".").pop();
|
|
3135
|
+
{
|
|
3136
|
+
const p = /* @__PURE__ */ new Set();
|
|
3137
|
+
p.add(o.value.nonNullAnnotation);
|
|
3138
|
+
const i = t(c), l = [], d = Object.values(c.inner);
|
|
3139
|
+
for (const h of d)
|
|
3140
|
+
p.add(
|
|
3141
|
+
`${o.value.namespace}.${o.value.moduleName}.${e}.${t(h)}`
|
|
3142
|
+
);
|
|
3143
|
+
if (u.has(x.RecordVakueObject)) {
|
|
3144
|
+
u.has(x.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public record ${i}(`);
|
|
3145
|
+
const h = [];
|
|
3146
|
+
for (const m of d) {
|
|
3147
|
+
const _ = t(m);
|
|
3148
|
+
h.push(` @${f}
|
|
3149
|
+
${_} ${w.lowerFirst(_)}`);
|
|
3150
|
+
}
|
|
3151
|
+
l.push(h.join(`,
|
|
3152
|
+
`)), l.push(") {"), l.push(` public ${i} {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
|
|
3153
|
+
} else if (u.has(x.Lombok)) {
|
|
3154
|
+
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), u.has(x.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public class ${i} {`);
|
|
3155
|
+
for (const m of d) {
|
|
3156
|
+
const _ = t(m);
|
|
3157
|
+
l.push(` @${f}`), l.push(` private final ${_} ${w.lowerFirst(_)};`);
|
|
3158
|
+
}
|
|
3159
|
+
l.push("");
|
|
3160
|
+
const h = [];
|
|
3161
|
+
for (const m of d) {
|
|
3162
|
+
const _ = t(m);
|
|
3163
|
+
h.push(`@${f} ${_} ${w.lowerFirst(_)}`);
|
|
3164
|
+
}
|
|
3165
|
+
l.push(` public ${i}(${h.join(", ")}) {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
|
|
3166
|
+
} else {
|
|
3167
|
+
l.push(`public class ${i} {`);
|
|
3168
|
+
for (const m of d) {
|
|
3169
|
+
const _ = t(m);
|
|
3170
|
+
l.push(` @${f}`), l.push(` private final ${r(p, m)} ${w.lowerFirst(_)};`);
|
|
3171
|
+
}
|
|
3172
|
+
l.push("");
|
|
3173
|
+
const h = [];
|
|
3174
|
+
for (const m of d) {
|
|
3175
|
+
const _ = t(m);
|
|
3176
|
+
h.push(`@${f} ${r(p, m)} ${w.lowerFirst(_)}`);
|
|
3177
|
+
}
|
|
3178
|
+
l.push(` public ${i}(${h.join(", ")}) {`), l.push(" // HACK check value"), l.push(" }");
|
|
3179
|
+
for (const m of d) {
|
|
3180
|
+
const _ = t(m);
|
|
3181
|
+
l.push(""), l.push(` public ${r(p, m)} get${_} () {`), l.push(` return this.${w.lowerFirst(_)};`), l.push(" }");
|
|
3182
|
+
}
|
|
3183
|
+
l.push("}");
|
|
3175
3184
|
}
|
|
3176
|
-
a.push(
|
|
3177
|
-
}
|
|
3178
|
-
return [
|
|
3179
|
-
{
|
|
3185
|
+
a.push({
|
|
3180
3186
|
type: "Command",
|
|
3181
|
-
imports:
|
|
3182
|
-
content:
|
|
3187
|
+
imports: p,
|
|
3188
|
+
content: l.join(`
|
|
3183
3189
|
`)
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3190
|
+
});
|
|
3191
|
+
}
|
|
3192
|
+
if (!u.has(x.CommandHandler))
|
|
3193
|
+
return a;
|
|
3194
|
+
{
|
|
3195
|
+
const p = /* @__PURE__ */ new Set();
|
|
3196
|
+
p.add(o.value.nonNullAnnotation);
|
|
3197
|
+
const i = t(c), l = [];
|
|
3198
|
+
u.has(x.SpringFramework) && (p.add("org.springframework.stereotype.Component"), l.push("@Component")), u.has(x.Lombok) && l.push("@lombok.RequiredArgsConstructor"), l.push(`public class ${i}Handler {`);
|
|
3199
|
+
const d = [...n.states.designer.value._getContext().getAssociationMap()[c._attributes.__id]].filter(
|
|
3200
|
+
(h) => h._attributes.rule === "Agg"
|
|
3201
|
+
);
|
|
3202
|
+
for (const h of d)
|
|
3203
|
+
p.add(`${o.value.namespace}.${o.value.moduleName}.${t(h)}`), l.push(` public ${t(h)} handle(@${f} ${i} command) {`), l.push(" // HACK Implement"), l.push(" }");
|
|
3204
|
+
l.push("}"), a.push({
|
|
3205
|
+
type: "CommandHandler",
|
|
3206
|
+
imports: p,
|
|
3207
|
+
content: l.join(`
|
|
3208
|
+
`)
|
|
3209
|
+
});
|
|
3210
|
+
}
|
|
3211
|
+
return a;
|
|
3186
3212
|
}
|
|
3187
|
-
|
|
3188
|
-
const
|
|
3189
|
-
|
|
3190
|
-
const
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3213
|
+
n.commands._setCommandCodeProvider(s), n.commands._setFacadeCommandCodeProvider(s), n.commands._setAggCodeProvider((c) => {
|
|
3214
|
+
const a = /* @__PURE__ */ new Set();
|
|
3215
|
+
a.add(o.value.nonNullAnnotation);
|
|
3216
|
+
const u = o.value.nonNullAnnotation.split(".").pop(), f = o.value.additions, p = n.states.designer.value, i = t(c), l = [], d = Object.values(c.inner);
|
|
3217
|
+
for (const h of d)
|
|
3218
|
+
a.add(
|
|
3219
|
+
`${o.value.namespace}.${o.value.moduleName}.${e}.${t(h)}`
|
|
3220
|
+
);
|
|
3221
|
+
if (f.has(x.Lombok)) {
|
|
3222
|
+
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), l.push(`public class ${i} {`);
|
|
3223
|
+
for (const m of d) {
|
|
3224
|
+
const _ = t(m);
|
|
3225
|
+
l.push(` @${u}`), l.push(` private ${_} ${w.lowerFirst(_)};`);
|
|
3196
3226
|
}
|
|
3197
|
-
const
|
|
3198
|
-
for (const
|
|
3199
|
-
const
|
|
3200
|
-
|
|
3227
|
+
const h = [...p._getContext().getAssociationMap()[c._attributes.__id]].filter((m) => m._attributes.rule === "Command" || m._attributes.rule === "FacadeCommand");
|
|
3228
|
+
for (const m of h) {
|
|
3229
|
+
const _ = t(m);
|
|
3230
|
+
l.push(""), l.push(
|
|
3231
|
+
` public void handle${_}(@${u} ${_} ${w.lowerFirst(
|
|
3232
|
+
_
|
|
3233
|
+
)}) {`
|
|
3234
|
+
), l.push(" // HACK need implement"), l.push(" }");
|
|
3201
3235
|
}
|
|
3202
|
-
|
|
3236
|
+
l.push("}");
|
|
3203
3237
|
} else {
|
|
3204
|
-
|
|
3205
|
-
for (const
|
|
3206
|
-
const
|
|
3207
|
-
|
|
3238
|
+
l.push(`public class ${i} {`);
|
|
3239
|
+
for (const g of d) {
|
|
3240
|
+
const v = t(g);
|
|
3241
|
+
l.push(` @${u}`), l.push(` private ${v} ${w.lowerFirst(v)};`);
|
|
3242
|
+
}
|
|
3243
|
+
l.push("");
|
|
3244
|
+
const h = [], m = [];
|
|
3245
|
+
for (const g of d) {
|
|
3246
|
+
const v = t(g);
|
|
3247
|
+
h.push(`@${u} ${v} ${w.lowerFirst(v)}`), m.push(`this.${w.lowerFirst(v)} = ${w.lowerFirst(v)};`);
|
|
3208
3248
|
}
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3249
|
+
l.push(` public ${i}(${h.join(", ")}) {`), l.push(` ${m.join(`
|
|
3250
|
+
`)}`), l.push(" }");
|
|
3251
|
+
for (const g of d) {
|
|
3252
|
+
const v = t(g);
|
|
3253
|
+
l.push(""), l.push(` @${u}`), l.push(` public ${v} get${v}() {`), l.push(` return this.${w.lowerFirst(v)};`), l.push(" }");
|
|
3212
3254
|
}
|
|
3213
|
-
const
|
|
3214
|
-
(
|
|
3255
|
+
const _ = [...p._getContext().getAssociationMap()[c._attributes.__id]].filter(
|
|
3256
|
+
(g) => g._attributes.rule === "Command" || g._attributes.rule === "FacadeCommand"
|
|
3215
3257
|
);
|
|
3216
|
-
for (const
|
|
3217
|
-
const
|
|
3218
|
-
|
|
3258
|
+
for (const g of _) {
|
|
3259
|
+
const v = t(g);
|
|
3260
|
+
l.push(""), l.push(
|
|
3261
|
+
` public void handle${v}(@${u} ${v} ${w.lowerFirst(
|
|
3262
|
+
v
|
|
3263
|
+
)}) {`
|
|
3264
|
+
), l.push(" // HACK need implement"), l.push(" }");
|
|
3219
3265
|
}
|
|
3220
|
-
|
|
3266
|
+
l.push("}");
|
|
3221
3267
|
}
|
|
3222
3268
|
return [
|
|
3223
3269
|
{
|
|
3224
3270
|
type: "Agg",
|
|
3225
|
-
imports:
|
|
3226
|
-
content:
|
|
3271
|
+
imports: a,
|
|
3272
|
+
content: l.join(`
|
|
3227
3273
|
`)
|
|
3228
3274
|
}
|
|
3229
3275
|
];
|
|
3230
|
-
}),
|
|
3231
|
-
(
|
|
3232
|
-
const
|
|
3233
|
-
|
|
3234
|
-
const
|
|
3235
|
-
|
|
3236
|
-
|
|
3276
|
+
}), n.commands._setEventCodeProvider(
|
|
3277
|
+
(c) => {
|
|
3278
|
+
const a = /* @__PURE__ */ new Set();
|
|
3279
|
+
a.add(o.value.nonNullAnnotation);
|
|
3280
|
+
const u = o.value.nonNullAnnotation.split(".").pop(), f = o.value.additions, p = t(c), i = [], l = Object.values(c.inner);
|
|
3281
|
+
for (const d of l)
|
|
3282
|
+
a.add(
|
|
3283
|
+
`${o.value.namespace}.${o.value.moduleName}.${e}.${t(d)}`
|
|
3284
|
+
);
|
|
3285
|
+
if (f.has(x.RecordVakueObject)) {
|
|
3286
|
+
f.has(x.LombokBuilder) && i.push("@lombok.Builder(toBuilder = true)"), i.push(`public record ${p}(`);
|
|
3237
3287
|
const d = [];
|
|
3238
|
-
for (const
|
|
3239
|
-
const
|
|
3240
|
-
d.push(` @${
|
|
3241
|
-
${
|
|
3288
|
+
for (const h of l) {
|
|
3289
|
+
const m = t(h);
|
|
3290
|
+
d.push(` @${u}
|
|
3291
|
+
${m} ${w.lowerFirst(m)}`);
|
|
3242
3292
|
}
|
|
3243
|
-
|
|
3244
|
-
`)),
|
|
3245
|
-
} else if (
|
|
3246
|
-
|
|
3247
|
-
for (const
|
|
3248
|
-
const
|
|
3249
|
-
|
|
3293
|
+
i.push(d.join(`,
|
|
3294
|
+
`)), i.push(") {"), i.push(` public ${p} {`), i.push(" // HACK check value"), i.push(" }"), i.push("}");
|
|
3295
|
+
} else if (f.has(x.Lombok)) {
|
|
3296
|
+
i.push("@lombok.AllArgsConstructor"), i.push("@lombok.Getter"), f.has(x.LombokBuilder) && i.push("@lombok.Builder(toBuilder = true)"), i.push(`public class ${p} {`);
|
|
3297
|
+
for (const h of l) {
|
|
3298
|
+
const m = t(h);
|
|
3299
|
+
i.push(` @${u}`), i.push(` private final ${m} ${w.lowerFirst(m)};`);
|
|
3250
3300
|
}
|
|
3251
|
-
|
|
3301
|
+
i.push("");
|
|
3252
3302
|
const d = [];
|
|
3253
|
-
for (const
|
|
3254
|
-
const
|
|
3255
|
-
d.push(`@${
|
|
3303
|
+
for (const h of l) {
|
|
3304
|
+
const m = t(h);
|
|
3305
|
+
d.push(`@${u} ${m} ${w.lowerFirst(m)}`);
|
|
3256
3306
|
}
|
|
3257
|
-
|
|
3307
|
+
i.push(` public ${p}(${d.join(", ")}) {`), i.push(" // HACK check value"), i.push(" }"), i.push("}");
|
|
3258
3308
|
} else {
|
|
3259
|
-
|
|
3260
|
-
for (const
|
|
3261
|
-
const
|
|
3262
|
-
|
|
3309
|
+
i.push(`public class ${p} {`);
|
|
3310
|
+
for (const h of l) {
|
|
3311
|
+
const m = t(h);
|
|
3312
|
+
i.push(` @${u}`), i.push(` private final ${m} ${w.lowerFirst(m)};`);
|
|
3263
3313
|
}
|
|
3264
|
-
|
|
3314
|
+
i.push("");
|
|
3265
3315
|
const d = [];
|
|
3266
|
-
for (const
|
|
3267
|
-
const
|
|
3268
|
-
d.push(`@${
|
|
3316
|
+
for (const h of l) {
|
|
3317
|
+
const m = t(h);
|
|
3318
|
+
d.push(`@${u} ${r(a, h)} ${w.lowerFirst(m)}`);
|
|
3269
3319
|
}
|
|
3270
|
-
|
|
3271
|
-
for (const
|
|
3272
|
-
const
|
|
3273
|
-
|
|
3320
|
+
i.push(` public ${p}(${d.join(", ")}) {`), i.push(" // HACK check value"), i.push(" }");
|
|
3321
|
+
for (const h of l) {
|
|
3322
|
+
const m = t(h);
|
|
3323
|
+
i.push(""), i.push(` public ${m} get${m} () {`), i.push(` return this.${w.lowerFirst(m)};`), i.push(" }");
|
|
3274
3324
|
}
|
|
3275
|
-
|
|
3325
|
+
i.push("}");
|
|
3276
3326
|
}
|
|
3277
3327
|
return [
|
|
3278
3328
|
{
|
|
3279
3329
|
type: "Event",
|
|
3280
|
-
imports:
|
|
3281
|
-
content:
|
|
3330
|
+
imports: a,
|
|
3331
|
+
content: i.join(`
|
|
3282
3332
|
`)
|
|
3283
3333
|
}
|
|
3284
3334
|
];
|
|
3285
3335
|
}
|
|
3286
|
-
),
|
|
3287
|
-
const
|
|
3288
|
-
|
|
3289
|
-
const
|
|
3290
|
-
|
|
3291
|
-
if (
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
}
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3336
|
+
), n.commands._setReadModelCodeProvider(() => []), n.commands._setCodeFileProvider(() => {
|
|
3337
|
+
const c = [], a = {};
|
|
3338
|
+
function u(d) {
|
|
3339
|
+
for (const h of Object.values(d)) {
|
|
3340
|
+
const m = [...o.value.namespace.split(/\./), o.value.moduleName, e], _ = t(h) + ".java";
|
|
3341
|
+
if (a[`${m}/${_}`] === !0)
|
|
3342
|
+
continue;
|
|
3343
|
+
const g = n.commands._genInfoCode(h);
|
|
3344
|
+
if (g.length === 0)
|
|
3345
|
+
continue;
|
|
3346
|
+
const v = new ne(m, _);
|
|
3347
|
+
v.appendContentln(`package ${o.value.namespace}.${o.value.moduleName}.${e};`), v.appendContentln("");
|
|
3348
|
+
for (const ee of g[0].imports)
|
|
3349
|
+
v.appendContentln(`import ${ee};`);
|
|
3350
|
+
v.appendContentln(""), v.appendContentln(g[0].content), c.push(v), a[`${m}/${_}`] = !0;
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
const f = n.states.designer.value._getContext().getCommands();
|
|
3354
|
+
for (const d of f) {
|
|
3355
|
+
u(d.inner);
|
|
3356
|
+
const h = n.commands._genCommandCode(d), m = [...o.value.namespace.split(/\./), o.value.moduleName];
|
|
3357
|
+
h.forEach((_) => {
|
|
3358
|
+
if (_.type === "Command") {
|
|
3359
|
+
const g = new ne(m, t(d) + ".java");
|
|
3360
|
+
g.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), g.appendContentln(""), g.addImports(_.imports);
|
|
3361
|
+
for (const v of _.imports)
|
|
3362
|
+
g.appendContentln(`import ${v};`);
|
|
3363
|
+
g.appendContentln(""), g.appendContentln(_.content), c.push(g);
|
|
3364
|
+
} else if (_.type === "CommandHandler") {
|
|
3365
|
+
const g = new ne(m, t(d) + "Handler.java");
|
|
3366
|
+
g.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), g.appendContentln(""), g.addImports(_.imports);
|
|
3367
|
+
for (const v of _.imports)
|
|
3368
|
+
g.appendContentln(`import ${v};`);
|
|
3369
|
+
g.appendContentln(""), g.appendContentln(_.content), c.push(g);
|
|
3303
3370
|
} else
|
|
3304
|
-
isNever(
|
|
3371
|
+
isNever(_.type);
|
|
3305
3372
|
});
|
|
3306
3373
|
}
|
|
3307
|
-
const
|
|
3308
|
-
for (const
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3374
|
+
const p = n.states.designer.value._getContext().getFacadeCommands();
|
|
3375
|
+
for (const d of p) {
|
|
3376
|
+
u(d.inner);
|
|
3377
|
+
const h = n.commands._genFacadeCommandCode(d), m = [...o.value.namespace.split(/\./), o.value.moduleName];
|
|
3378
|
+
h.forEach((_) => {
|
|
3379
|
+
if (_.type === "FacadeCommand") {
|
|
3380
|
+
const g = new ne(m, t(d) + ".java");
|
|
3381
|
+
g.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), g.appendContentln(""), g.addImports(_.imports);
|
|
3382
|
+
for (const v of _.imports)
|
|
3383
|
+
g.appendContentln(`import ${v};`);
|
|
3384
|
+
g.appendContentln(""), g.appendContentln(_.content), c.push(g);
|
|
3317
3385
|
} else
|
|
3318
|
-
isNever(
|
|
3386
|
+
isNever(_.type);
|
|
3319
3387
|
});
|
|
3320
3388
|
}
|
|
3321
|
-
const
|
|
3322
|
-
for (const
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3389
|
+
const i = n.states.designer.value._getContext().getAggs();
|
|
3390
|
+
for (const d of i) {
|
|
3391
|
+
u(d.inner);
|
|
3392
|
+
const h = n.commands._genAggCode(d), m = [...o.value.namespace.split(/\./), o.value.moduleName];
|
|
3393
|
+
h.forEach((_) => {
|
|
3394
|
+
const g = new ne(m, t(d) + ".java");
|
|
3395
|
+
g.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), g.appendContentln(""), g.addImports(_.imports);
|
|
3396
|
+
for (const v of _.imports)
|
|
3397
|
+
g.appendContentln(`import ${v};`);
|
|
3398
|
+
g.appendContentln(""), g.appendContentln(_.content), c.push(g);
|
|
3330
3399
|
});
|
|
3331
3400
|
}
|
|
3332
|
-
const
|
|
3333
|
-
for (const
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3401
|
+
const l = n.states.designer.value._getContext().getEvents();
|
|
3402
|
+
for (const d of l) {
|
|
3403
|
+
u(d.inner);
|
|
3404
|
+
const h = n.commands._genEventCode(d), m = [...o.value.namespace.split(/\./), o.value.moduleName];
|
|
3405
|
+
h.forEach((_) => {
|
|
3406
|
+
const g = new ne(m, t(d) + ".java");
|
|
3407
|
+
g.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), g.appendContentln(""), g.addImports(_.imports);
|
|
3408
|
+
for (const v of _.imports)
|
|
3409
|
+
g.appendContentln(`import ${v};`);
|
|
3410
|
+
g.appendContentln(""), g.appendContentln(_.content), c.push(g);
|
|
3341
3411
|
});
|
|
3342
3412
|
}
|
|
3343
|
-
return
|
|
3413
|
+
return c;
|
|
3344
3414
|
});
|
|
3345
3415
|
}
|
|
3346
3416
|
};
|
|
3347
3417
|
});
|
|
3348
3418
|
export {
|
|
3349
3419
|
ni as GENERATOR_JAVA_PLUGIN,
|
|
3350
|
-
|
|
3420
|
+
Bn as GeneratorPliginHelper,
|
|
3351
3421
|
ti as define,
|
|
3352
3422
|
ei as useGeneratorAgg
|
|
3353
3423
|
};
|