vite-plugin-opencode-assistant 1.0.8 → 1.0.10
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/es/client/index.js +12 -4
- package/lib/client/index.js +12 -4
- package/lib/client.js +689 -681
- package/package.json +4 -4
package/lib/client.js
CHANGED
|
@@ -4,49 +4,49 @@
|
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
6
6
|
// @__NO_SIDE_EFFECTS__
|
|
7
|
-
function
|
|
7
|
+
function tn(e) {
|
|
8
8
|
const t = /* @__PURE__ */ Object.create(null);
|
|
9
9
|
for (const s of e.split(",")) t[s] = 1;
|
|
10
10
|
return (s) => s in t;
|
|
11
11
|
}
|
|
12
12
|
const X = {}, xt = [], Xe = () => {
|
|
13
|
-
},
|
|
14
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), _s = (e) => e.startsWith("onUpdate:"), pe = Object.assign,
|
|
13
|
+
}, no = () => !1, gs = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
14
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), _s = (e) => e.startsWith("onUpdate:"), pe = Object.assign, sn = (e, t) => {
|
|
15
15
|
const s = e.indexOf(t);
|
|
16
16
|
s > -1 && e.splice(s, 1);
|
|
17
|
-
},
|
|
17
|
+
}, Ci = Object.prototype.hasOwnProperty, q = (e, t) => Ci.call(e, t), F = Array.isArray, wt = (e) => Yt(e) === "[object Map]", oo = (e) => Yt(e) === "[object Set]", Cn = (e) => Yt(e) === "[object Date]", R = (e) => typeof e == "function", ce = (e) => typeof e == "string", De = (e) => typeof e == "symbol", G = (e) => e !== null && typeof e == "object", io = (e) => (G(e) || R(e)) && R(e.then) && R(e.catch), lo = Object.prototype.toString, Yt = (e) => lo.call(e), Ei = (e) => Yt(e).slice(8, -1), ro = (e) => Yt(e) === "[object Object]", ms = (e) => ce(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Nt = /* @__PURE__ */ tn(
|
|
18
18
|
// the leading comma is intentional so empty string "" is also included
|
|
19
19
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
20
20
|
), vs = (e) => {
|
|
21
21
|
const t = /* @__PURE__ */ Object.create(null);
|
|
22
22
|
return (s) => t[s] || (t[s] = e(s));
|
|
23
|
-
},
|
|
24
|
-
(e) => e.replace(
|
|
25
|
-
),
|
|
26
|
-
(e) => e.replace(
|
|
27
|
-
),
|
|
28
|
-
(e) => e ? `on${
|
|
23
|
+
}, Ti = /-\w/g, Le = vs(
|
|
24
|
+
(e) => e.replace(Ti, (t) => t.slice(1).toUpperCase())
|
|
25
|
+
), Ai = /\B([A-Z])/g, vt = vs(
|
|
26
|
+
(e) => e.replace(Ai, "-$1").toLowerCase()
|
|
27
|
+
), co = vs((e) => e.charAt(0).toUpperCase() + e.slice(1)), Os = vs(
|
|
28
|
+
(e) => e ? `on${co(e)}` : ""
|
|
29
29
|
), ze = (e, t) => !Object.is(e, t), Ps = (e, ...t) => {
|
|
30
30
|
for (let s = 0; s < e.length; s++)
|
|
31
31
|
e[s](...t);
|
|
32
|
-
},
|
|
32
|
+
}, uo = (e, t, s, n = !1) => {
|
|
33
33
|
Object.defineProperty(e, t, {
|
|
34
34
|
configurable: !0,
|
|
35
35
|
enumerable: !1,
|
|
36
36
|
writable: n,
|
|
37
37
|
value: s
|
|
38
38
|
});
|
|
39
|
-
},
|
|
39
|
+
}, Mi = (e) => {
|
|
40
40
|
const t = parseFloat(e);
|
|
41
41
|
return isNaN(t) ? e : t;
|
|
42
42
|
};
|
|
43
|
-
let
|
|
44
|
-
const bs = () =>
|
|
43
|
+
let En;
|
|
44
|
+
const bs = () => En || (En = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
45
45
|
function Vt(e) {
|
|
46
46
|
if (F(e)) {
|
|
47
47
|
const t = {};
|
|
48
48
|
for (let s = 0; s < e.length; s++) {
|
|
49
|
-
const n = e[s], o = ce(n) ?
|
|
49
|
+
const n = e[s], o = ce(n) ? Ii(n) : Vt(n);
|
|
50
50
|
if (o)
|
|
51
51
|
for (const i in o)
|
|
52
52
|
t[i] = o[i];
|
|
@@ -55,12 +55,12 @@ function Vt(e) {
|
|
|
55
55
|
} else if (ce(e) || G(e))
|
|
56
56
|
return e;
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
function
|
|
58
|
+
const Oi = /;(?![^(]*\))/g, Pi = /:([^]+)/, Di = /\/\*[^]*?\*\//g;
|
|
59
|
+
function Ii(e) {
|
|
60
60
|
const t = {};
|
|
61
|
-
return e.replace(
|
|
61
|
+
return e.replace(Di, "").split(Oi).forEach((s) => {
|
|
62
62
|
if (s) {
|
|
63
|
-
const n = s.split(
|
|
63
|
+
const n = s.split(Pi);
|
|
64
64
|
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
65
65
|
}
|
|
66
66
|
}), t;
|
|
@@ -79,26 +79,26 @@ function Te(e) {
|
|
|
79
79
|
e[s] && (t += s + " ");
|
|
80
80
|
return t.trim();
|
|
81
81
|
}
|
|
82
|
-
const
|
|
83
|
-
function
|
|
82
|
+
const Fi = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", $i = /* @__PURE__ */ tn(Fi);
|
|
83
|
+
function ao(e) {
|
|
84
84
|
return !!e || e === "";
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Ni(e, t) {
|
|
87
87
|
if (e.length !== t.length) return !1;
|
|
88
88
|
let s = !0;
|
|
89
89
|
for (let n = 0; s && n < e.length; n++)
|
|
90
|
-
s =
|
|
90
|
+
s = nn(e[n], t[n]);
|
|
91
91
|
return s;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function nn(e, t) {
|
|
94
94
|
if (e === t) return !0;
|
|
95
|
-
let s =
|
|
95
|
+
let s = Cn(e), n = Cn(t);
|
|
96
96
|
if (s || n)
|
|
97
97
|
return s && n ? e.getTime() === t.getTime() : !1;
|
|
98
98
|
if (s = De(e), n = De(t), s || n)
|
|
99
99
|
return e === t;
|
|
100
100
|
if (s = F(e), n = F(t), s || n)
|
|
101
|
-
return s && n ?
|
|
101
|
+
return s && n ? Ni(e, t) : !1;
|
|
102
102
|
if (s = G(e), n = G(t), s || n) {
|
|
103
103
|
if (!s || !n)
|
|
104
104
|
return !1;
|
|
@@ -107,20 +107,20 @@ function sn(e, t) {
|
|
|
107
107
|
return !1;
|
|
108
108
|
for (const l in e) {
|
|
109
109
|
const r = e.hasOwnProperty(l), c = t.hasOwnProperty(l);
|
|
110
|
-
if (r && !c || !r && c || !
|
|
110
|
+
if (r && !c || !r && c || !nn(e[l], t[l]))
|
|
111
111
|
return !1;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
return String(e) === String(t);
|
|
115
115
|
}
|
|
116
|
-
const
|
|
116
|
+
const fo = (e) => !!(e && e.__v_isRef === !0), we = (e) => ce(e) ? e : e == null ? "" : F(e) || G(e) && (e.toString === lo || !R(e.toString)) ? fo(e) ? we(e.value) : JSON.stringify(e, ho, 2) : String(e), ho = (e, t) => fo(t) ? ho(e, t.value) : wt(t) ? {
|
|
117
117
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
118
118
|
(s, [n, o], i) => (s[Ds(n, i) + " =>"] = o, s),
|
|
119
119
|
{}
|
|
120
120
|
)
|
|
121
|
-
} :
|
|
121
|
+
} : oo(t) ? {
|
|
122
122
|
[`Set(${t.size})`]: [...t.values()].map((s) => Ds(s))
|
|
123
|
-
} : De(t) ? Ds(t) : G(t) && !F(t) && !
|
|
123
|
+
} : De(t) ? Ds(t) : G(t) && !F(t) && !ro(t) ? String(t) : t, Ds = (e, t = "") => {
|
|
124
124
|
var s;
|
|
125
125
|
return (
|
|
126
126
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
@@ -134,7 +134,7 @@ const ao = (e) => !!(e && e.__v_isRef === !0), we = (e) => ce(e) ? e : e == null
|
|
|
134
134
|
* @license MIT
|
|
135
135
|
**/
|
|
136
136
|
let Ee;
|
|
137
|
-
class
|
|
137
|
+
class Ri {
|
|
138
138
|
// TODO isolatedDeclarations "__v_skip"
|
|
139
139
|
constructor(t = !1) {
|
|
140
140
|
this.detached = t, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent = Ee, !t && Ee && (this.index = (Ee.scopes || (Ee.scopes = [])).push(
|
|
@@ -214,12 +214,12 @@ class Ni {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Li() {
|
|
218
218
|
return Ee;
|
|
219
219
|
}
|
|
220
220
|
let Q;
|
|
221
221
|
const Is = /* @__PURE__ */ new WeakSet();
|
|
222
|
-
class
|
|
222
|
+
class po {
|
|
223
223
|
constructor(t) {
|
|
224
224
|
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, Ee && Ee.active && Ee.effects.push(this);
|
|
225
225
|
}
|
|
@@ -233,25 +233,25 @@ class ho {
|
|
|
233
233
|
* @internal
|
|
234
234
|
*/
|
|
235
235
|
notify() {
|
|
236
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
236
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || _o(this);
|
|
237
237
|
}
|
|
238
238
|
run() {
|
|
239
239
|
if (!(this.flags & 1))
|
|
240
240
|
return this.fn();
|
|
241
|
-
this.flags |= 2,
|
|
241
|
+
this.flags |= 2, Tn(this), mo(this);
|
|
242
242
|
const t = Q, s = ke;
|
|
243
243
|
Q = this, ke = !0;
|
|
244
244
|
try {
|
|
245
245
|
return this.fn();
|
|
246
246
|
} finally {
|
|
247
|
-
|
|
247
|
+
vo(this), Q = t, ke = s, this.flags &= -3;
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
stop() {
|
|
251
251
|
if (this.flags & 1) {
|
|
252
252
|
for (let t = this.deps; t; t = t.nextDep)
|
|
253
|
-
|
|
254
|
-
this.deps = this.depsTail = void 0,
|
|
253
|
+
rn(t);
|
|
254
|
+
this.deps = this.depsTail = void 0, Tn(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
trigger() {
|
|
@@ -261,25 +261,25 @@ class ho {
|
|
|
261
261
|
* @internal
|
|
262
262
|
*/
|
|
263
263
|
runIfDirty() {
|
|
264
|
-
|
|
264
|
+
Us(this) && this.run();
|
|
265
265
|
}
|
|
266
266
|
get dirty() {
|
|
267
|
-
return
|
|
267
|
+
return Us(this);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
let
|
|
271
|
-
function
|
|
270
|
+
let go = 0, Rt, Lt;
|
|
271
|
+
function _o(e, t = !1) {
|
|
272
272
|
if (e.flags |= 8, t) {
|
|
273
273
|
e.next = Lt, Lt = e;
|
|
274
274
|
return;
|
|
275
275
|
}
|
|
276
276
|
e.next = Rt, Rt = e;
|
|
277
277
|
}
|
|
278
|
-
function nn() {
|
|
279
|
-
po++;
|
|
280
|
-
}
|
|
281
278
|
function on() {
|
|
282
|
-
|
|
279
|
+
go++;
|
|
280
|
+
}
|
|
281
|
+
function ln() {
|
|
282
|
+
if (--go > 0)
|
|
283
283
|
return;
|
|
284
284
|
if (Lt) {
|
|
285
285
|
let t = Lt;
|
|
@@ -304,63 +304,63 @@ function on() {
|
|
|
304
304
|
}
|
|
305
305
|
if (e) throw e;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function mo(e) {
|
|
308
308
|
for (let t = e.deps; t; t = t.nextDep)
|
|
309
309
|
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function vo(e) {
|
|
312
312
|
let t, s = e.depsTail, n = s;
|
|
313
313
|
for (; n; ) {
|
|
314
314
|
const o = n.prevDep;
|
|
315
|
-
n.version === -1 ? (n === s && (s = o),
|
|
315
|
+
n.version === -1 ? (n === s && (s = o), rn(n), ki(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = o;
|
|
316
316
|
}
|
|
317
317
|
e.deps = t, e.depsTail = s;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function Us(e) {
|
|
320
320
|
for (let t = e.deps; t; t = t.nextDep)
|
|
321
|
-
if (t.dep.version !== t.version || t.dep.computed && (
|
|
321
|
+
if (t.dep.version !== t.version || t.dep.computed && (bo(t.dep.computed) || t.dep.version !== t.version))
|
|
322
322
|
return !0;
|
|
323
323
|
return !!e._dirty;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Kt) || (e.globalVersion = Kt, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !
|
|
325
|
+
function bo(e) {
|
|
326
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Kt) || (e.globalVersion = Kt, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Us(e))))
|
|
327
327
|
return;
|
|
328
328
|
e.flags |= 2;
|
|
329
329
|
const t = e.dep, s = Q, n = ke;
|
|
330
330
|
Q = e, ke = !0;
|
|
331
331
|
try {
|
|
332
|
-
|
|
332
|
+
mo(e);
|
|
333
333
|
const o = e.fn(e._value);
|
|
334
334
|
(t.version === 0 || ze(o, e._value)) && (e.flags |= 128, e._value = o, t.version++);
|
|
335
335
|
} catch (o) {
|
|
336
336
|
throw t.version++, o;
|
|
337
337
|
} finally {
|
|
338
|
-
Q = s, ke = n,
|
|
338
|
+
Q = s, ke = n, vo(e), e.flags &= -3;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function rn(e, t = !1) {
|
|
342
342
|
const { dep: s, prevSub: n, nextSub: o } = e;
|
|
343
343
|
if (n && (n.nextSub = o, e.prevSub = void 0), o && (o.prevSub = n, e.nextSub = void 0), s.subs === e && (s.subs = n, !n && s.computed)) {
|
|
344
344
|
s.computed.flags &= -5;
|
|
345
345
|
for (let i = s.computed.deps; i; i = i.nextDep)
|
|
346
|
-
|
|
346
|
+
rn(i, !0);
|
|
347
347
|
}
|
|
348
348
|
!t && !--s.sc && s.map && s.map.delete(s.key);
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function ki(e) {
|
|
351
351
|
const { prevDep: t, nextDep: s } = e;
|
|
352
352
|
t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
|
|
353
353
|
}
|
|
354
354
|
let ke = !0;
|
|
355
|
-
const
|
|
355
|
+
const yo = [];
|
|
356
356
|
function it() {
|
|
357
|
-
|
|
357
|
+
yo.push(ke), ke = !1;
|
|
358
358
|
}
|
|
359
359
|
function lt() {
|
|
360
|
-
const e =
|
|
360
|
+
const e = yo.pop();
|
|
361
361
|
ke = e === void 0 ? !0 : e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function Tn(e) {
|
|
364
364
|
const { cleanup: t } = e;
|
|
365
365
|
if (e.cleanup = void 0, t) {
|
|
366
366
|
const s = Q;
|
|
@@ -373,12 +373,12 @@ function En(e) {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
let Kt = 0;
|
|
376
|
-
class
|
|
376
|
+
class Bi {
|
|
377
377
|
constructor(t, s) {
|
|
378
378
|
this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
|
-
class
|
|
381
|
+
class cn {
|
|
382
382
|
// TODO isolatedDeclarations "__v_skip"
|
|
383
383
|
constructor(t) {
|
|
384
384
|
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, this.__v_skip = !0;
|
|
@@ -388,7 +388,7 @@ class rn {
|
|
|
388
388
|
return;
|
|
389
389
|
let s = this.activeLink;
|
|
390
390
|
if (s === void 0 || s.sub !== Q)
|
|
391
|
-
s = this.activeLink = new
|
|
391
|
+
s = this.activeLink = new Bi(Q, this), Q.deps ? (s.prevDep = Q.depsTail, Q.depsTail.nextDep = s, Q.depsTail = s) : Q.deps = Q.depsTail = s, So(s);
|
|
392
392
|
else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
|
|
393
393
|
const n = s.nextDep;
|
|
394
394
|
n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep = Q.depsTail, s.nextDep = void 0, Q.depsTail.nextDep = s, Q.depsTail = s, Q.deps === s && (Q.deps = n);
|
|
@@ -399,22 +399,22 @@ class rn {
|
|
|
399
399
|
this.version++, Kt++, this.notify(t);
|
|
400
400
|
}
|
|
401
401
|
notify(t) {
|
|
402
|
-
|
|
402
|
+
on();
|
|
403
403
|
try {
|
|
404
404
|
for (let s = this.subs; s; s = s.prevSub)
|
|
405
405
|
s.sub.notify() && s.sub.dep.notify();
|
|
406
406
|
} finally {
|
|
407
|
-
|
|
407
|
+
ln();
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function So(e) {
|
|
412
412
|
if (e.dep.sc++, e.sub.flags & 4) {
|
|
413
413
|
const t = e.dep.computed;
|
|
414
414
|
if (t && !e.dep.subs) {
|
|
415
415
|
t.flags |= 20;
|
|
416
416
|
for (let n = t.deps; n; n = n.nextDep)
|
|
417
|
-
|
|
417
|
+
So(n);
|
|
418
418
|
}
|
|
419
419
|
const s = e.dep.subs;
|
|
420
420
|
s !== e && (e.prevSub = s, s && (s.nextSub = e)), e.dep.subs = e;
|
|
@@ -422,7 +422,7 @@ function yo(e) {
|
|
|
422
422
|
}
|
|
423
423
|
const os = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ Symbol(
|
|
424
424
|
""
|
|
425
|
-
),
|
|
425
|
+
), Ws = /* @__PURE__ */ Symbol(
|
|
426
426
|
""
|
|
427
427
|
), Ut = /* @__PURE__ */ Symbol(
|
|
428
428
|
""
|
|
@@ -432,7 +432,7 @@ function _e(e, t, s) {
|
|
|
432
432
|
let n = os.get(e);
|
|
433
433
|
n || os.set(e, n = /* @__PURE__ */ new Map());
|
|
434
434
|
let o = n.get(s);
|
|
435
|
-
o || (n.set(s, o = new
|
|
435
|
+
o || (n.set(s, o = new cn()), o.map = n, o.key = s), o.track();
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
function nt(e, t, s, n, o, i) {
|
|
@@ -444,7 +444,7 @@ function nt(e, t, s, n, o, i) {
|
|
|
444
444
|
const r = (c) => {
|
|
445
445
|
c && c.trigger();
|
|
446
446
|
};
|
|
447
|
-
if (
|
|
447
|
+
if (on(), t === "clear")
|
|
448
448
|
l.forEach(r);
|
|
449
449
|
else {
|
|
450
450
|
const c = F(e), d = c && ms(s);
|
|
@@ -456,19 +456,19 @@ function nt(e, t, s, n, o, i) {
|
|
|
456
456
|
} else
|
|
457
457
|
switch ((s !== void 0 || l.has(void 0)) && r(l.get(s)), d && r(l.get(Ut)), t) {
|
|
458
458
|
case "add":
|
|
459
|
-
c ? d && r(l.get("length")) : (r(l.get(gt)), wt(e) && r(l.get(
|
|
459
|
+
c ? d && r(l.get("length")) : (r(l.get(gt)), wt(e) && r(l.get(Ws)));
|
|
460
460
|
break;
|
|
461
461
|
case "delete":
|
|
462
|
-
c || (r(l.get(gt)), wt(e) && r(l.get(
|
|
462
|
+
c || (r(l.get(gt)), wt(e) && r(l.get(Ws)));
|
|
463
463
|
break;
|
|
464
464
|
case "set":
|
|
465
465
|
wt(e) && r(l.get(gt));
|
|
466
466
|
break;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
|
|
469
|
+
ln();
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function ji(e, t) {
|
|
472
472
|
const s = os.get(e);
|
|
473
473
|
return s && s.get(t);
|
|
474
474
|
}
|
|
@@ -482,7 +482,7 @@ function ys(e) {
|
|
|
482
482
|
function Ge(e, t) {
|
|
483
483
|
return /* @__PURE__ */ rt(e) ? At(/* @__PURE__ */ _t(e) ? Be(t) : t) : Be(t);
|
|
484
484
|
}
|
|
485
|
-
const
|
|
485
|
+
const Hi = {
|
|
486
486
|
__proto__: null,
|
|
487
487
|
[Symbol.iterator]() {
|
|
488
488
|
return Fs(this, Symbol.iterator, (e) => Ge(this, e));
|
|
@@ -561,10 +561,10 @@ const ji = {
|
|
|
561
561
|
return Dt(this, "push", e);
|
|
562
562
|
},
|
|
563
563
|
reduce(e, ...t) {
|
|
564
|
-
return
|
|
564
|
+
return An(this, "reduce", e, t);
|
|
565
565
|
},
|
|
566
566
|
reduceRight(e, ...t) {
|
|
567
|
-
return
|
|
567
|
+
return An(this, "reduceRight", e, t);
|
|
568
568
|
},
|
|
569
569
|
shift() {
|
|
570
570
|
return Dt(this, "shift");
|
|
@@ -599,10 +599,10 @@ function Fs(e, t, s) {
|
|
|
599
599
|
return i.done || (i.value = s(i.value)), i;
|
|
600
600
|
}), o;
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const Vi = Array.prototype;
|
|
603
603
|
function Qe(e, t, s, n, o, i) {
|
|
604
604
|
const l = ys(e), r = l !== e && !/* @__PURE__ */ Pe(e), c = l[t];
|
|
605
|
-
if (c !==
|
|
605
|
+
if (c !== Vi[t]) {
|
|
606
606
|
const h = c.apply(e, i);
|
|
607
607
|
return r ? Be(h) : h;
|
|
608
608
|
}
|
|
@@ -615,7 +615,7 @@ function Qe(e, t, s, n, o, i) {
|
|
|
615
615
|
const a = c.call(l, d, n);
|
|
616
616
|
return r && o ? o(a) : a;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function An(e, t, s, n) {
|
|
619
619
|
const o = ys(e), i = o !== e && !/* @__PURE__ */ Pe(e);
|
|
620
620
|
let l = s, r = !1;
|
|
621
621
|
o !== e && (i ? (r = n.length === 0, l = function(d, a, h) {
|
|
@@ -633,19 +633,19 @@ function $s(e, t, s) {
|
|
|
633
633
|
return (o === -1 || o === !1) && /* @__PURE__ */ Ss(s[0]) ? (s[0] = /* @__PURE__ */ U(s[0]), n[t](...s)) : o;
|
|
634
634
|
}
|
|
635
635
|
function Dt(e, t, s = []) {
|
|
636
|
-
it(),
|
|
636
|
+
it(), on();
|
|
637
637
|
const n = (/* @__PURE__ */ U(e))[t].apply(e, s);
|
|
638
|
-
return
|
|
638
|
+
return ln(), lt(), n;
|
|
639
639
|
}
|
|
640
|
-
const
|
|
640
|
+
const Ki = /* @__PURE__ */ tn("__proto__,__v_isRef,__isVue"), xo = new Set(
|
|
641
641
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(De)
|
|
642
642
|
);
|
|
643
|
-
function
|
|
643
|
+
function Ui(e) {
|
|
644
644
|
De(e) || (e = String(e));
|
|
645
645
|
const t = /* @__PURE__ */ U(this);
|
|
646
646
|
return _e(t, "has", e), t.hasOwnProperty(e);
|
|
647
647
|
}
|
|
648
|
-
class
|
|
648
|
+
class wo {
|
|
649
649
|
constructor(t = !1, s = !1) {
|
|
650
650
|
this._isReadonly = t, this._isShallow = s;
|
|
651
651
|
}
|
|
@@ -659,16 +659,16 @@ class xo {
|
|
|
659
659
|
if (s === "__v_isShallow")
|
|
660
660
|
return i;
|
|
661
661
|
if (s === "__v_raw")
|
|
662
|
-
return n === (o ? i ?
|
|
662
|
+
return n === (o ? i ? el : Ao : i ? To : Eo).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
663
663
|
// this means the receiver is a user proxy of the reactive proxy
|
|
664
664
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
665
665
|
const l = F(t);
|
|
666
666
|
if (!o) {
|
|
667
667
|
let c;
|
|
668
|
-
if (l && (c =
|
|
668
|
+
if (l && (c = Hi[s]))
|
|
669
669
|
return c;
|
|
670
670
|
if (s === "hasOwnProperty")
|
|
671
|
-
return
|
|
671
|
+
return Ui;
|
|
672
672
|
}
|
|
673
673
|
const r = Reflect.get(
|
|
674
674
|
t,
|
|
@@ -678,16 +678,16 @@ class xo {
|
|
|
678
678
|
// its class methods
|
|
679
679
|
/* @__PURE__ */ ae(t) ? t : n
|
|
680
680
|
);
|
|
681
|
-
if ((De(s) ?
|
|
681
|
+
if ((De(s) ? xo.has(s) : Ki(s)) || (o || _e(t, "get", s), i))
|
|
682
682
|
return r;
|
|
683
683
|
if (/* @__PURE__ */ ae(r)) {
|
|
684
684
|
const c = l && ms(s) ? r : r.value;
|
|
685
|
-
return o && G(c) ? /* @__PURE__ */
|
|
685
|
+
return o && G(c) ? /* @__PURE__ */ Js(c) : c;
|
|
686
686
|
}
|
|
687
|
-
return G(r) ? o ? /* @__PURE__ */
|
|
687
|
+
return G(r) ? o ? /* @__PURE__ */ Js(r) : /* @__PURE__ */ an(r) : r;
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
-
class
|
|
690
|
+
class Co extends wo {
|
|
691
691
|
constructor(t = !1) {
|
|
692
692
|
super(!1, t);
|
|
693
693
|
}
|
|
@@ -715,7 +715,7 @@ class wo extends xo {
|
|
|
715
715
|
}
|
|
716
716
|
has(t, s) {
|
|
717
717
|
const n = Reflect.has(t, s);
|
|
718
|
-
return (!De(s) || !
|
|
718
|
+
return (!De(s) || !xo.has(s)) && _e(t, "has", s), n;
|
|
719
719
|
}
|
|
720
720
|
ownKeys(t) {
|
|
721
721
|
return _e(
|
|
@@ -725,7 +725,7 @@ class wo extends xo {
|
|
|
725
725
|
), Reflect.ownKeys(t);
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
|
-
class
|
|
728
|
+
class Wi extends wo {
|
|
729
729
|
constructor(t = !1) {
|
|
730
730
|
super(!0, t);
|
|
731
731
|
}
|
|
@@ -736,15 +736,15 @@ class Ui extends xo {
|
|
|
736
736
|
return !0;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
|
-
const
|
|
740
|
-
const
|
|
741
|
-
function
|
|
739
|
+
const qi = /* @__PURE__ */ new Co(), Ji = /* @__PURE__ */ new Wi(), Gi = /* @__PURE__ */ new Co(!0);
|
|
740
|
+
const qs = (e) => e, Qt = (e) => Reflect.getPrototypeOf(e);
|
|
741
|
+
function Yi(e, t, s) {
|
|
742
742
|
return function(...n) {
|
|
743
|
-
const o = this.__v_raw, i = /* @__PURE__ */ U(o), l = wt(i), r = e === "entries" || e === Symbol.iterator && l, c = e === "keys" && l, d = o[e](...n), a = s ?
|
|
743
|
+
const o = this.__v_raw, i = /* @__PURE__ */ U(o), l = wt(i), r = e === "entries" || e === Symbol.iterator && l, c = e === "keys" && l, d = o[e](...n), a = s ? qs : t ? At : Be;
|
|
744
744
|
return !t && _e(
|
|
745
745
|
i,
|
|
746
746
|
"iterate",
|
|
747
|
-
c ?
|
|
747
|
+
c ? Ws : gt
|
|
748
748
|
), pe(
|
|
749
749
|
// inheriting all iterator properties
|
|
750
750
|
Object.create(d),
|
|
@@ -766,12 +766,12 @@ function es(e) {
|
|
|
766
766
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
767
767
|
};
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function zi(e, t) {
|
|
770
770
|
const s = {
|
|
771
771
|
get(o) {
|
|
772
772
|
const i = this.__v_raw, l = /* @__PURE__ */ U(i), r = /* @__PURE__ */ U(o);
|
|
773
773
|
e || (ze(o, r) && _e(l, "get", o), _e(l, "get", r));
|
|
774
|
-
const { has: c } = Qt(l), d = t ?
|
|
774
|
+
const { has: c } = Qt(l), d = t ? qs : e ? At : Be;
|
|
775
775
|
if (c.call(l, o))
|
|
776
776
|
return d(i.get(o));
|
|
777
777
|
if (c.call(l, r))
|
|
@@ -787,7 +787,7 @@ function Yi(e, t) {
|
|
|
787
787
|
return e || (ze(o, r) && _e(l, "has", o), _e(l, "has", r)), o === r ? i.has(o) : i.has(o) || i.has(r);
|
|
788
788
|
},
|
|
789
789
|
forEach(o, i) {
|
|
790
|
-
const l = this, r = l.__v_raw, c = /* @__PURE__ */ U(r), d = t ?
|
|
790
|
+
const l = this, r = l.__v_raw, c = /* @__PURE__ */ U(r), d = t ? qs : e ? At : Be;
|
|
791
791
|
return !e && _e(c, "iterate", gt), r.forEach((a, h) => o.call(i, d(a), d(h), l));
|
|
792
792
|
}
|
|
793
793
|
};
|
|
@@ -834,26 +834,26 @@ function Yi(e, t) {
|
|
|
834
834
|
"entries",
|
|
835
835
|
Symbol.iterator
|
|
836
836
|
].forEach((o) => {
|
|
837
|
-
s[o] =
|
|
837
|
+
s[o] = Yi(o, e, t);
|
|
838
838
|
}), s;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
841
|
-
const s =
|
|
840
|
+
function un(e, t) {
|
|
841
|
+
const s = zi(e, t);
|
|
842
842
|
return (n, o, i) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? n : Reflect.get(
|
|
843
843
|
q(s, o) && o in n ? s : n,
|
|
844
844
|
o,
|
|
845
845
|
i
|
|
846
846
|
);
|
|
847
847
|
}
|
|
848
|
-
const
|
|
849
|
-
get: /* @__PURE__ */
|
|
850
|
-
}, Xi = {
|
|
851
|
-
get: /* @__PURE__ */ cn(!1, !0)
|
|
848
|
+
const Xi = {
|
|
849
|
+
get: /* @__PURE__ */ un(!1, !1)
|
|
852
850
|
}, Zi = {
|
|
853
|
-
get: /* @__PURE__ */
|
|
851
|
+
get: /* @__PURE__ */ un(!1, !0)
|
|
852
|
+
}, Qi = {
|
|
853
|
+
get: /* @__PURE__ */ un(!0, !1)
|
|
854
854
|
};
|
|
855
|
-
const
|
|
856
|
-
function
|
|
855
|
+
const Eo = /* @__PURE__ */ new WeakMap(), To = /* @__PURE__ */ new WeakMap(), Ao = /* @__PURE__ */ new WeakMap(), el = /* @__PURE__ */ new WeakMap();
|
|
856
|
+
function tl(e) {
|
|
857
857
|
switch (e) {
|
|
858
858
|
case "Object":
|
|
859
859
|
case "Array":
|
|
@@ -867,43 +867,43 @@ function el(e) {
|
|
|
867
867
|
return 0;
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
function
|
|
871
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 :
|
|
870
|
+
function sl(e) {
|
|
871
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : tl(Ei(e));
|
|
872
872
|
}
|
|
873
873
|
// @__NO_SIDE_EFFECTS__
|
|
874
|
-
function
|
|
875
|
-
return /* @__PURE__ */ rt(e) ? e :
|
|
874
|
+
function an(e) {
|
|
875
|
+
return /* @__PURE__ */ rt(e) ? e : fn(
|
|
876
876
|
e,
|
|
877
877
|
!1,
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
878
|
+
qi,
|
|
879
|
+
Xi,
|
|
880
|
+
Eo
|
|
881
881
|
);
|
|
882
882
|
}
|
|
883
883
|
// @__NO_SIDE_EFFECTS__
|
|
884
|
-
function
|
|
885
|
-
return
|
|
884
|
+
function nl(e) {
|
|
885
|
+
return fn(
|
|
886
886
|
e,
|
|
887
887
|
!1,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
888
|
+
Gi,
|
|
889
|
+
Zi,
|
|
890
|
+
To
|
|
891
891
|
);
|
|
892
892
|
}
|
|
893
893
|
// @__NO_SIDE_EFFECTS__
|
|
894
|
-
function
|
|
895
|
-
return
|
|
894
|
+
function Js(e) {
|
|
895
|
+
return fn(
|
|
896
896
|
e,
|
|
897
897
|
!0,
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
898
|
+
Ji,
|
|
899
|
+
Qi,
|
|
900
|
+
Ao
|
|
901
901
|
);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function fn(e, t, s, n, o) {
|
|
904
904
|
if (!G(e) || e.__v_raw && !(t && e.__v_isReactive))
|
|
905
905
|
return e;
|
|
906
|
-
const i =
|
|
906
|
+
const i = sl(e);
|
|
907
907
|
if (i === 0)
|
|
908
908
|
return e;
|
|
909
909
|
const l = o.get(e);
|
|
@@ -936,24 +936,24 @@ function U(e) {
|
|
|
936
936
|
const t = e && e.__v_raw;
|
|
937
937
|
return t ? /* @__PURE__ */ U(t) : e;
|
|
938
938
|
}
|
|
939
|
-
function
|
|
940
|
-
return !q(e, "__v_skip") && Object.isExtensible(e) &&
|
|
939
|
+
function ol(e) {
|
|
940
|
+
return !q(e, "__v_skip") && Object.isExtensible(e) && uo(e, "__v_skip", !0), e;
|
|
941
941
|
}
|
|
942
|
-
const Be = (e) => G(e) ? /* @__PURE__ */
|
|
942
|
+
const Be = (e) => G(e) ? /* @__PURE__ */ an(e) : e, At = (e) => G(e) ? /* @__PURE__ */ Js(e) : e;
|
|
943
943
|
// @__NO_SIDE_EFFECTS__
|
|
944
944
|
function ae(e) {
|
|
945
945
|
return e ? e.__v_isRef === !0 : !1;
|
|
946
946
|
}
|
|
947
947
|
// @__NO_SIDE_EFFECTS__
|
|
948
948
|
function se(e) {
|
|
949
|
-
return
|
|
949
|
+
return il(e, !1);
|
|
950
950
|
}
|
|
951
|
-
function
|
|
952
|
-
return /* @__PURE__ */ ae(e) ? e : new
|
|
951
|
+
function il(e, t) {
|
|
952
|
+
return /* @__PURE__ */ ae(e) ? e : new ll(e, t);
|
|
953
953
|
}
|
|
954
|
-
class
|
|
954
|
+
class ll {
|
|
955
955
|
constructor(t, s) {
|
|
956
|
-
this.dep = new
|
|
956
|
+
this.dep = new cn(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = s ? t : /* @__PURE__ */ U(t), this._value = s ? t : Be(t), this.__v_isShallow = s;
|
|
957
957
|
}
|
|
958
958
|
get value() {
|
|
959
959
|
return this.dep.track(), this._value;
|
|
@@ -963,20 +963,20 @@ class il {
|
|
|
963
963
|
t = n ? t : /* @__PURE__ */ U(t), ze(t, s) && (this._rawValue = t, this._value = n ? t : Be(t), this.dep.trigger());
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function Mo(e) {
|
|
967
967
|
return /* @__PURE__ */ ae(e) ? e.value : e;
|
|
968
968
|
}
|
|
969
|
-
const
|
|
970
|
-
get: (e, t, s) => t === "__v_raw" ? e :
|
|
969
|
+
const rl = {
|
|
970
|
+
get: (e, t, s) => t === "__v_raw" ? e : Mo(Reflect.get(e, t, s)),
|
|
971
971
|
set: (e, t, s, n) => {
|
|
972
972
|
const o = e[t];
|
|
973
973
|
return /* @__PURE__ */ ae(o) && !/* @__PURE__ */ ae(s) ? (o.value = s, !0) : Reflect.set(e, t, s, n);
|
|
974
974
|
}
|
|
975
975
|
};
|
|
976
|
-
function
|
|
977
|
-
return /* @__PURE__ */ _t(e) ? e : new Proxy(e,
|
|
976
|
+
function Oo(e) {
|
|
977
|
+
return /* @__PURE__ */ _t(e) ? e : new Proxy(e, rl);
|
|
978
978
|
}
|
|
979
|
-
class
|
|
979
|
+
class cl {
|
|
980
980
|
constructor(t, s, n) {
|
|
981
981
|
this._object = t, this._defaultValue = n, this.__v_isRef = !0, this._value = void 0, this._key = De(s) ? s : String(s), this._raw = /* @__PURE__ */ U(t);
|
|
982
982
|
let o = !0, i = t;
|
|
@@ -988,7 +988,7 @@ class rl {
|
|
|
988
988
|
}
|
|
989
989
|
get value() {
|
|
990
990
|
let t = this._object[this._key];
|
|
991
|
-
return this._shallow && (t =
|
|
991
|
+
return this._shallow && (t = Mo(t)), this._value = t === void 0 ? this._defaultValue : t;
|
|
992
992
|
}
|
|
993
993
|
set value(t) {
|
|
994
994
|
if (this._shallow && /* @__PURE__ */ ae(this._raw[this._key])) {
|
|
@@ -1001,10 +1001,10 @@ class rl {
|
|
|
1001
1001
|
this._object[this._key] = t;
|
|
1002
1002
|
}
|
|
1003
1003
|
get dep() {
|
|
1004
|
-
return
|
|
1004
|
+
return ji(this._raw, this._key);
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
class
|
|
1007
|
+
class ul {
|
|
1008
1008
|
constructor(t) {
|
|
1009
1009
|
this._getter = t, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0;
|
|
1010
1010
|
}
|
|
@@ -1014,14 +1014,14 @@ class cl {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
// @__NO_SIDE_EFFECTS__
|
|
1016
1016
|
function te(e, t, s) {
|
|
1017
|
-
return /* @__PURE__ */ ae(e) ? e : R(e) ? new
|
|
1017
|
+
return /* @__PURE__ */ ae(e) ? e : R(e) ? new ul(e) : G(e) && arguments.length > 1 ? al(e, t, s) : /* @__PURE__ */ se(e);
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1020
|
-
return new
|
|
1019
|
+
function al(e, t, s) {
|
|
1020
|
+
return new cl(e, t, s);
|
|
1021
1021
|
}
|
|
1022
|
-
class
|
|
1022
|
+
class fl {
|
|
1023
1023
|
constructor(t, s, n) {
|
|
1024
|
-
this.fn = t, this.setter = s, this._value = void 0, this.dep = new
|
|
1024
|
+
this.fn = t, this.setter = s, this._value = void 0, this.dep = new cn(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Kt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = n;
|
|
1025
1025
|
}
|
|
1026
1026
|
/**
|
|
1027
1027
|
* @internal
|
|
@@ -1029,30 +1029,30 @@ class al {
|
|
|
1029
1029
|
notify() {
|
|
1030
1030
|
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
1031
1031
|
Q !== this)
|
|
1032
|
-
return
|
|
1032
|
+
return _o(this, !0), !0;
|
|
1033
1033
|
}
|
|
1034
1034
|
get value() {
|
|
1035
1035
|
const t = this.dep.track();
|
|
1036
|
-
return
|
|
1036
|
+
return bo(this), t && (t.version = this.dep.version), this._value;
|
|
1037
1037
|
}
|
|
1038
1038
|
set value(t) {
|
|
1039
1039
|
this.setter && this.setter(t);
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
// @__NO_SIDE_EFFECTS__
|
|
1043
|
-
function
|
|
1043
|
+
function dl(e, t, s = !1) {
|
|
1044
1044
|
let n, o;
|
|
1045
|
-
return R(e) ? n = e : (n = e.get, o = e.set), new
|
|
1045
|
+
return R(e) ? n = e : (n = e.get, o = e.set), new fl(n, o, s);
|
|
1046
1046
|
}
|
|
1047
1047
|
const ts = {}, is = /* @__PURE__ */ new WeakMap();
|
|
1048
1048
|
let pt;
|
|
1049
|
-
function
|
|
1049
|
+
function hl(e, t = !1, s = pt) {
|
|
1050
1050
|
if (s) {
|
|
1051
1051
|
let n = is.get(s);
|
|
1052
1052
|
n || is.set(s, n = []), n.push(e);
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function pl(e, t, s = X) {
|
|
1056
1056
|
const { immediate: n, deep: o, once: i, scheduler: l, augmentJob: r, call: c } = s, d = (A) => o ? A : /* @__PURE__ */ Pe(A) || o === !1 || o === 0 ? ot(A, 1) : ot(A);
|
|
1057
1057
|
let a, h, b, x, O = !1, T = !1;
|
|
1058
1058
|
if (/* @__PURE__ */ ae(e) ? (h = () => e.value, O = /* @__PURE__ */ Pe(e)) : /* @__PURE__ */ _t(e) ? (h = () => d(e), O = !0) : F(e) ? (T = !0, O = e.some((A) => /* @__PURE__ */ _t(A) || /* @__PURE__ */ Pe(A)), h = () => e.map((A) => {
|
|
@@ -1082,8 +1082,8 @@ function hl(e, t, s = X) {
|
|
|
1082
1082
|
const A = h, H = o === !0 ? 1 / 0 : o;
|
|
1083
1083
|
h = () => ot(A(), H);
|
|
1084
1084
|
}
|
|
1085
|
-
const B =
|
|
1086
|
-
a.stop(), B && B.active &&
|
|
1085
|
+
const B = Li(), k = () => {
|
|
1086
|
+
a.stop(), B && B.active && sn(B.effects, a);
|
|
1087
1087
|
};
|
|
1088
1088
|
if (i && t) {
|
|
1089
1089
|
const A = t;
|
|
@@ -1118,7 +1118,7 @@ function hl(e, t, s = X) {
|
|
|
1118
1118
|
} else
|
|
1119
1119
|
a.run();
|
|
1120
1120
|
};
|
|
1121
|
-
return r && r(j), a = new
|
|
1121
|
+
return r && r(j), a = new po(h), a.scheduler = l ? () => l(j, !1) : j, x = (A) => hl(A, !1, a), b = a.onStop = () => {
|
|
1122
1122
|
const A = is.get(a);
|
|
1123
1123
|
if (A) {
|
|
1124
1124
|
if (c)
|
|
@@ -1137,11 +1137,11 @@ function ot(e, t = 1 / 0, s) {
|
|
|
1137
1137
|
else if (F(e))
|
|
1138
1138
|
for (let n = 0; n < e.length; n++)
|
|
1139
1139
|
ot(e[n], t, s);
|
|
1140
|
-
else if (
|
|
1140
|
+
else if (oo(e) || wt(e))
|
|
1141
1141
|
e.forEach((n) => {
|
|
1142
1142
|
ot(n, t, s);
|
|
1143
1143
|
});
|
|
1144
|
-
else if (
|
|
1144
|
+
else if (ro(e)) {
|
|
1145
1145
|
for (const n in e)
|
|
1146
1146
|
ot(e[n], t, s);
|
|
1147
1147
|
for (const n of Object.getOwnPropertySymbols(e))
|
|
@@ -1164,7 +1164,7 @@ function zt(e, t, s, n) {
|
|
|
1164
1164
|
function Ze(e, t, s, n) {
|
|
1165
1165
|
if (R(e)) {
|
|
1166
1166
|
const o = zt(e, t, s, n);
|
|
1167
|
-
return o &&
|
|
1167
|
+
return o && io(o) && o.catch((i) => {
|
|
1168
1168
|
xs(i, t, s);
|
|
1169
1169
|
}), o;
|
|
1170
1170
|
}
|
|
@@ -1198,9 +1198,9 @@ function xs(e, t, s, n = !0) {
|
|
|
1198
1198
|
return;
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1201
|
+
gl(e, s, o, n, l);
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function gl(e, t, s, n = !0, o = !1) {
|
|
1204
1204
|
if (o)
|
|
1205
1205
|
throw e;
|
|
1206
1206
|
console.error(e);
|
|
@@ -1209,13 +1209,13 @@ const Se = [];
|
|
|
1209
1209
|
let Je = -1;
|
|
1210
1210
|
const Ct = [];
|
|
1211
1211
|
let at = null, St = 0;
|
|
1212
|
-
const
|
|
1212
|
+
const Po = /* @__PURE__ */ Promise.resolve();
|
|
1213
1213
|
let ls = null;
|
|
1214
|
-
function
|
|
1215
|
-
const t = ls ||
|
|
1214
|
+
function _l(e) {
|
|
1215
|
+
const t = ls || Po;
|
|
1216
1216
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function ml(e) {
|
|
1219
1219
|
let t = Je + 1, s = Se.length;
|
|
1220
1220
|
for (; t < s; ) {
|
|
1221
1221
|
const n = t + s >>> 1, o = Se[n], i = Wt(o);
|
|
@@ -1223,20 +1223,20 @@ function _l(e) {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
return t;
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function dn(e) {
|
|
1227
1227
|
if (!(e.flags & 1)) {
|
|
1228
1228
|
const t = Wt(e), s = Se[Se.length - 1];
|
|
1229
1229
|
!s || // fast path when the job id is larger than the tail
|
|
1230
|
-
!(e.flags & 2) && t >= Wt(s) ? Se.push(e) : Se.splice(
|
|
1230
|
+
!(e.flags & 2) && t >= Wt(s) ? Se.push(e) : Se.splice(ml(t), 0, e), e.flags |= 1, Do();
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1234
|
-
ls || (ls =
|
|
1233
|
+
function Do() {
|
|
1234
|
+
ls || (ls = Po.then(Fo));
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1237
|
-
F(e) ? Ct.push(...e) : at && e.id === -1 ? at.splice(St + 1, 0, e) : e.flags & 1 || (Ct.push(e), e.flags |= 1),
|
|
1236
|
+
function vl(e) {
|
|
1237
|
+
F(e) ? Ct.push(...e) : at && e.id === -1 ? at.splice(St + 1, 0, e) : e.flags & 1 || (Ct.push(e), e.flags |= 1), Do();
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Mn(e, t, s = Je + 1) {
|
|
1240
1240
|
for (; s < Se.length; s++) {
|
|
1241
1241
|
const n = Se[s];
|
|
1242
1242
|
if (n && n.flags & 2) {
|
|
@@ -1246,7 +1246,7 @@ function An(e, t, s = Je + 1) {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function Io(e) {
|
|
1250
1250
|
if (Ct.length) {
|
|
1251
1251
|
const t = [...new Set(Ct)].sort(
|
|
1252
1252
|
(s, n) => Wt(s) - Wt(n)
|
|
@@ -1263,7 +1263,7 @@ function Do(e) {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
1265
|
const Wt = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1266
|
-
function
|
|
1266
|
+
function Fo(e) {
|
|
1267
1267
|
try {
|
|
1268
1268
|
for (Je = 0; Je < Se.length; Je++) {
|
|
1269
1269
|
const t = Se[Je];
|
|
@@ -1278,13 +1278,13 @@ function Io(e) {
|
|
|
1278
1278
|
const t = Se[Je];
|
|
1279
1279
|
t && (t.flags &= -2);
|
|
1280
1280
|
}
|
|
1281
|
-
Je = -1, Se.length = 0,
|
|
1281
|
+
Je = -1, Se.length = 0, Io(), ls = null, (Se.length || Ct.length) && Fo();
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
|
-
let me = null,
|
|
1284
|
+
let me = null, $o = null;
|
|
1285
1285
|
function rs(e) {
|
|
1286
1286
|
const t = me;
|
|
1287
|
-
return me = e,
|
|
1287
|
+
return me = e, $o = e && e.type.__scopeId || null, t;
|
|
1288
1288
|
}
|
|
1289
1289
|
function et(e, t = me, s) {
|
|
1290
1290
|
if (!t || e._n)
|
|
@@ -1336,7 +1336,7 @@ function dt(e, t, s, n) {
|
|
|
1336
1336
|
]), lt());
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function No(e, t) {
|
|
1340
1340
|
if (xe) {
|
|
1341
1341
|
let s = xe.provides;
|
|
1342
1342
|
const n = xe.parent && xe.parent.provides;
|
|
@@ -1344,7 +1344,7 @@ function $o(e, t) {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
function kt(e, t, s = !1) {
|
|
1347
|
-
const n =
|
|
1347
|
+
const n = ri();
|
|
1348
1348
|
if (n || Tt) {
|
|
1349
1349
|
let o = Tt ? Tt._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
|
|
1350
1350
|
if (o && e in o)
|
|
@@ -1353,16 +1353,16 @@ function kt(e, t, s = !1) {
|
|
|
1353
1353
|
return s && R(t) ? t.call(n && n.proxy) : t;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
const
|
|
1356
|
+
const bl = /* @__PURE__ */ Symbol.for("v-scx"), yl = () => kt(bl);
|
|
1357
1357
|
function mt(e, t, s) {
|
|
1358
|
-
return
|
|
1358
|
+
return Ro(e, t, s);
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function Ro(e, t, s = X) {
|
|
1361
1361
|
const { immediate: n, deep: o, flush: i, once: l } = s, r = pe({}, s), c = t && n || !t && i !== "post";
|
|
1362
1362
|
let d;
|
|
1363
1363
|
if (Gt) {
|
|
1364
1364
|
if (i === "sync") {
|
|
1365
|
-
const x =
|
|
1365
|
+
const x = yl();
|
|
1366
1366
|
d = x.__watcherHandles || (x.__watcherHandles = []);
|
|
1367
1367
|
} else if (!c) {
|
|
1368
1368
|
const x = () => {
|
|
@@ -1376,21 +1376,21 @@ function No(e, t, s = X) {
|
|
|
1376
1376
|
i === "post" ? r.scheduler = (x) => {
|
|
1377
1377
|
Ce(x, a && a.suspense);
|
|
1378
1378
|
} : i !== "sync" && (h = !0, r.scheduler = (x, O) => {
|
|
1379
|
-
O ? x() :
|
|
1379
|
+
O ? x() : dn(x);
|
|
1380
1380
|
}), r.augmentJob = (x) => {
|
|
1381
1381
|
t && (x.flags |= 4), h && (x.flags |= 2, a && (x.id = a.uid, x.i = a));
|
|
1382
1382
|
};
|
|
1383
|
-
const b =
|
|
1383
|
+
const b = pl(e, t, r);
|
|
1384
1384
|
return Gt && (d ? d.push(b) : c && b()), b;
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1387
|
-
const n = this.proxy, o = ce(e) ? e.includes(".") ?
|
|
1386
|
+
function Sl(e, t, s) {
|
|
1387
|
+
const n = this.proxy, o = ce(e) ? e.includes(".") ? Lo(n, e) : () => n[e] : e.bind(n, n);
|
|
1388
1388
|
let i;
|
|
1389
1389
|
R(t) ? i = t : (i = t.handler, s = t);
|
|
1390
|
-
const l = Xt(this), r =
|
|
1390
|
+
const l = Xt(this), r = Ro(o, i.bind(n), s);
|
|
1391
1391
|
return l(), r;
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Lo(e, t) {
|
|
1394
1394
|
const s = t.split(".");
|
|
1395
1395
|
return () => {
|
|
1396
1396
|
let n = e;
|
|
@@ -1399,9 +1399,9 @@ function Ro(e, t) {
|
|
|
1399
1399
|
return n;
|
|
1400
1400
|
};
|
|
1401
1401
|
}
|
|
1402
|
-
const
|
|
1403
|
-
function
|
|
1404
|
-
e.shapeFlag & 6 && e.component ? (e.transition = t,
|
|
1402
|
+
const xl = /* @__PURE__ */ Symbol("_vte"), wl = (e) => e.__isTeleport, Cl = /* @__PURE__ */ Symbol("_leaveCb");
|
|
1403
|
+
function hn(e, t) {
|
|
1404
|
+
e.shapeFlag & 6 && e.component ? (e.transition = t, hn(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1405
1405
|
}
|
|
1406
1406
|
// @__NO_SIDE_EFFECTS__
|
|
1407
1407
|
function ft(e, t) {
|
|
@@ -1411,10 +1411,10 @@ function ft(e, t) {
|
|
|
1411
1411
|
pe({ name: e.name }, t, { setup: e })
|
|
1412
1412
|
) : e;
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function ko(e) {
|
|
1415
1415
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function On(e, t) {
|
|
1418
1418
|
let s;
|
|
1419
1419
|
return !!((s = Object.getOwnPropertyDescriptor(e, t)) && !s.configurable);
|
|
1420
1420
|
}
|
|
@@ -1436,9 +1436,9 @@ function Bt(e, t, s, n, o = !1) {
|
|
|
1436
1436
|
n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && Bt(e, t, s, n.component.subTree);
|
|
1437
1437
|
return;
|
|
1438
1438
|
}
|
|
1439
|
-
const i = n.shapeFlag & 4 ? Ts(n.component) : n.el, l = o ? null : i, { i: r, r: c } = e, d = t && t.r, a = r.refs === X ? r.refs = {} : r.refs, h = r.setupState, b = /* @__PURE__ */ U(h), x = h === X ?
|
|
1439
|
+
const i = n.shapeFlag & 4 ? Ts(n.component) : n.el, l = o ? null : i, { i: r, r: c } = e, d = t && t.r, a = r.refs === X ? r.refs = {} : r.refs, h = r.setupState, b = /* @__PURE__ */ U(h), x = h === X ? no : (T) => On(a, T) ? !1 : q(b, T), O = (T, B) => !(B && On(a, B));
|
|
1440
1440
|
if (d != null && d !== c) {
|
|
1441
|
-
if (
|
|
1441
|
+
if (Pn(t), ce(d))
|
|
1442
1442
|
a[d] = null, x(d) && (h[d] = null);
|
|
1443
1443
|
else if (/* @__PURE__ */ ae(d)) {
|
|
1444
1444
|
const T = t;
|
|
@@ -1454,7 +1454,7 @@ function Bt(e, t, s, n, o = !1) {
|
|
|
1454
1454
|
if (e.f) {
|
|
1455
1455
|
const I = T ? x(c) ? h[c] : a[c] : O() || !e.k ? c.value : a[e.k];
|
|
1456
1456
|
if (o)
|
|
1457
|
-
F(I) &&
|
|
1457
|
+
F(I) && sn(I, i);
|
|
1458
1458
|
else if (F(I))
|
|
1459
1459
|
I.includes(i) || I.push(i);
|
|
1460
1460
|
else if (T)
|
|
@@ -1471,24 +1471,24 @@ function Bt(e, t, s, n, o = !1) {
|
|
|
1471
1471
|
};
|
|
1472
1472
|
I.id = -1, cs.set(e, I), Ce(I, s);
|
|
1473
1473
|
} else
|
|
1474
|
-
|
|
1474
|
+
Pn(e), k();
|
|
1475
1475
|
}
|
|
1476
1476
|
}
|
|
1477
1477
|
}
|
|
1478
|
-
function
|
|
1478
|
+
function Pn(e) {
|
|
1479
1479
|
const t = cs.get(e);
|
|
1480
1480
|
t && (t.flags |= 8, cs.delete(e));
|
|
1481
1481
|
}
|
|
1482
1482
|
bs().requestIdleCallback;
|
|
1483
1483
|
bs().cancelIdleCallback;
|
|
1484
|
-
const Et = (e) => !!e.type.__asyncLoader,
|
|
1485
|
-
function Cl(e, t) {
|
|
1486
|
-
Bo(e, "a", t);
|
|
1487
|
-
}
|
|
1484
|
+
const Et = (e) => !!e.type.__asyncLoader, Bo = (e) => e.type.__isKeepAlive;
|
|
1488
1485
|
function El(e, t) {
|
|
1489
|
-
|
|
1486
|
+
jo(e, "a", t);
|
|
1487
|
+
}
|
|
1488
|
+
function Tl(e, t) {
|
|
1489
|
+
jo(e, "da", t);
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function jo(e, t, s = xe) {
|
|
1492
1492
|
const n = e.__wdc || (e.__wdc = () => {
|
|
1493
1493
|
let o = s;
|
|
1494
1494
|
for (; o; ) {
|
|
@@ -1501,10 +1501,10 @@ function Bo(e, t, s = xe) {
|
|
|
1501
1501
|
if (ws(t, n, s), s) {
|
|
1502
1502
|
let o = s.parent;
|
|
1503
1503
|
for (; o && o.parent; )
|
|
1504
|
-
|
|
1504
|
+
Bo(o.parent.vnode) && Al(n, t, s, o), o = o.parent;
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function Al(e, t, s, n) {
|
|
1508
1508
|
const o = ws(
|
|
1509
1509
|
t,
|
|
1510
1510
|
e,
|
|
@@ -1512,8 +1512,8 @@ function Tl(e, t, s, n) {
|
|
|
1512
1512
|
!0
|
|
1513
1513
|
/* prepend */
|
|
1514
1514
|
);
|
|
1515
|
-
|
|
1516
|
-
|
|
1515
|
+
gn(() => {
|
|
1516
|
+
sn(n[t], o);
|
|
1517
1517
|
}, s);
|
|
1518
1518
|
}
|
|
1519
1519
|
function ws(e, t, s = xe, n = !1) {
|
|
@@ -1528,17 +1528,17 @@ function ws(e, t, s = xe, n = !1) {
|
|
|
1528
1528
|
}
|
|
1529
1529
|
const ut = (e) => (t, s = xe) => {
|
|
1530
1530
|
(!Gt || e === "sp") && ws(e, (...n) => t(...n), s);
|
|
1531
|
-
},
|
|
1531
|
+
}, Ml = ut("bm"), pn = ut("m"), Ol = ut(
|
|
1532
1532
|
"bu"
|
|
1533
|
-
),
|
|
1533
|
+
), Pl = ut("u"), Dl = ut(
|
|
1534
1534
|
"bum"
|
|
1535
|
-
),
|
|
1535
|
+
), gn = ut("um"), Il = ut(
|
|
1536
1536
|
"sp"
|
|
1537
|
-
),
|
|
1538
|
-
function
|
|
1537
|
+
), Fl = ut("rtg"), $l = ut("rtc");
|
|
1538
|
+
function Nl(e, t = xe) {
|
|
1539
1539
|
ws("ec", e, t);
|
|
1540
1540
|
}
|
|
1541
|
-
const
|
|
1541
|
+
const Rl = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1542
1542
|
function us(e, t, s, n) {
|
|
1543
1543
|
let o;
|
|
1544
1544
|
const i = s, l = F(e);
|
|
@@ -1600,7 +1600,7 @@ function ge(e, t, s = {}, n, o) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
let i = e[t];
|
|
1602
1602
|
i && i._c && (i._d = !1), J();
|
|
1603
|
-
const l = i &&
|
|
1603
|
+
const l = i && Ho(i(s)), r = s.key || // slot content array of a dynamic conditional slot may have a branch
|
|
1604
1604
|
// key attached in the `createSlots` helper, respect that
|
|
1605
1605
|
l && l.key, c = ds(
|
|
1606
1606
|
ue,
|
|
@@ -1613,10 +1613,10 @@ function ge(e, t, s = {}, n, o) {
|
|
|
1613
1613
|
);
|
|
1614
1614
|
return c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), i && i._c && (i._d = !0), c;
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1617
|
-
return e.some((t) => Jt(t) ? !(t.type === ct || t.type === ue && !
|
|
1616
|
+
function Ho(e) {
|
|
1617
|
+
return e.some((t) => Jt(t) ? !(t.type === ct || t.type === ue && !Ho(t.children)) : !0) ? e : null;
|
|
1618
1618
|
}
|
|
1619
|
-
const
|
|
1619
|
+
const Gs = (e) => e ? ci(e) ? Ts(e) : Gs(e.parent) : null, jt = (
|
|
1620
1620
|
// Move PURE marker to new line to workaround compiler discarding it
|
|
1621
1621
|
// due to type annotation
|
|
1622
1622
|
/* @__PURE__ */ pe(/* @__PURE__ */ Object.create(null), {
|
|
@@ -1627,18 +1627,18 @@ const Js = (e) => e ? ri(e) ? Ts(e) : Js(e.parent) : null, jt = (
|
|
|
1627
1627
|
$attrs: (e) => e.attrs,
|
|
1628
1628
|
$slots: (e) => e.slots,
|
|
1629
1629
|
$refs: (e) => e.refs,
|
|
1630
|
-
$parent: (e) =>
|
|
1631
|
-
$root: (e) =>
|
|
1630
|
+
$parent: (e) => Gs(e.parent),
|
|
1631
|
+
$root: (e) => Gs(e.root),
|
|
1632
1632
|
$host: (e) => e.ce,
|
|
1633
1633
|
$emit: (e) => e.emit,
|
|
1634
|
-
$options: (e) =>
|
|
1634
|
+
$options: (e) => Ko(e),
|
|
1635
1635
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1636
|
-
|
|
1636
|
+
dn(e.update);
|
|
1637
1637
|
}),
|
|
1638
|
-
$nextTick: (e) => e.n || (e.n =
|
|
1639
|
-
$watch: (e) =>
|
|
1638
|
+
$nextTick: (e) => e.n || (e.n = _l.bind(e.proxy)),
|
|
1639
|
+
$watch: (e) => Sl.bind(e)
|
|
1640
1640
|
})
|
|
1641
|
-
), Ls = (e, t) => e !== X && !e.__isScriptSetup && q(e, t),
|
|
1641
|
+
), Ls = (e, t) => e !== X && !e.__isScriptSetup && q(e, t), Ll = {
|
|
1642
1642
|
get({ _: e }, t) {
|
|
1643
1643
|
if (t === "__v_skip")
|
|
1644
1644
|
return !0;
|
|
@@ -1665,7 +1665,7 @@ const Js = (e) => e ? ri(e) ? Ts(e) : Js(e.parent) : null, jt = (
|
|
|
1665
1665
|
return l[t] = 3, i[t];
|
|
1666
1666
|
if (s !== X && q(s, t))
|
|
1667
1667
|
return l[t] = 4, s[t];
|
|
1668
|
-
|
|
1668
|
+
Ys && (l[t] = 0);
|
|
1669
1669
|
}
|
|
1670
1670
|
}
|
|
1671
1671
|
const d = jt[t];
|
|
@@ -1699,23 +1699,23 @@ const Js = (e) => e ? ri(e) ? Ts(e) : Js(e.parent) : null, jt = (
|
|
|
1699
1699
|
return s.get != null ? e._.accessCache[t] = 0 : q(s, "value") && this.set(e, t, s.value, null), Reflect.defineProperty(e, t, s);
|
|
1700
1700
|
}
|
|
1701
1701
|
};
|
|
1702
|
-
function
|
|
1703
|
-
return
|
|
1702
|
+
function kl() {
|
|
1703
|
+
return Bl().slots;
|
|
1704
1704
|
}
|
|
1705
|
-
function
|
|
1706
|
-
const t =
|
|
1707
|
-
return t.setupContext || (t.setupContext =
|
|
1705
|
+
function Bl(e) {
|
|
1706
|
+
const t = ri();
|
|
1707
|
+
return t.setupContext || (t.setupContext = ai(t));
|
|
1708
1708
|
}
|
|
1709
|
-
function
|
|
1709
|
+
function Dn(e) {
|
|
1710
1710
|
return F(e) ? e.reduce(
|
|
1711
1711
|
(t, s) => (t[s] = null, t),
|
|
1712
1712
|
{}
|
|
1713
1713
|
) : e;
|
|
1714
1714
|
}
|
|
1715
|
-
let
|
|
1716
|
-
function
|
|
1717
|
-
const t =
|
|
1718
|
-
|
|
1715
|
+
let Ys = !0;
|
|
1716
|
+
function jl(e) {
|
|
1717
|
+
const t = Ko(e), s = e.proxy, n = e.ctx;
|
|
1718
|
+
Ys = !1, t.beforeCreate && In(t.beforeCreate, e, "bc");
|
|
1719
1719
|
const {
|
|
1720
1720
|
// state
|
|
1721
1721
|
data: o,
|
|
@@ -1749,16 +1749,16 @@ function Bl(e) {
|
|
|
1749
1749
|
directives: He,
|
|
1750
1750
|
filters: Ve
|
|
1751
1751
|
} = t;
|
|
1752
|
-
if (d &&
|
|
1752
|
+
if (d && Hl(d, n, null), l)
|
|
1753
1753
|
for (const Y in l) {
|
|
1754
1754
|
const K = l[Y];
|
|
1755
1755
|
R(K) && (n[Y] = K.bind(s));
|
|
1756
1756
|
}
|
|
1757
1757
|
if (o) {
|
|
1758
1758
|
const Y = o.call(s, s);
|
|
1759
|
-
G(Y) && (e.data = /* @__PURE__ */
|
|
1759
|
+
G(Y) && (e.data = /* @__PURE__ */ an(Y));
|
|
1760
1760
|
}
|
|
1761
|
-
if (
|
|
1761
|
+
if (Ys = !0, i)
|
|
1762
1762
|
for (const Y in i) {
|
|
1763
1763
|
const K = i[Y], Fe = R(K) ? K.bind(s, s) : R(K.get) ? K.get.bind(s, s) : Xe, D = !R(K) && R(K.set) ? K.set.bind(s) : Xe, $ = Re({
|
|
1764
1764
|
get: Fe,
|
|
@@ -1773,18 +1773,18 @@ function Bl(e) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
if (r)
|
|
1775
1775
|
for (const Y in r)
|
|
1776
|
-
|
|
1776
|
+
Vo(r[Y], n, s, Y);
|
|
1777
1777
|
if (c) {
|
|
1778
1778
|
const Y = R(c) ? c.call(s) : c;
|
|
1779
1779
|
Reflect.ownKeys(Y).forEach((K) => {
|
|
1780
|
-
|
|
1780
|
+
No(K, Y[K]);
|
|
1781
1781
|
});
|
|
1782
1782
|
}
|
|
1783
|
-
a &&
|
|
1783
|
+
a && In(a, e, "c");
|
|
1784
1784
|
function ie(Y, K) {
|
|
1785
1785
|
F(K) ? K.forEach((Fe) => Y(Fe.bind(s))) : K && Y(K.bind(s));
|
|
1786
1786
|
}
|
|
1787
|
-
if (ie(
|
|
1787
|
+
if (ie(Ml, h), ie(pn, b), ie(Ol, x), ie(Pl, O), ie(El, T), ie(Tl, B), ie(Nl, fe), ie($l, ne), ie(Fl, oe), ie(Dl, I), ie(gn, A), ie(Il, Ae), F(ve))
|
|
1788
1788
|
if (ve.length) {
|
|
1789
1789
|
const Y = e.exposed || (e.exposed = {});
|
|
1790
1790
|
ve.forEach((K) => {
|
|
@@ -1795,10 +1795,10 @@ function Bl(e) {
|
|
|
1795
1795
|
});
|
|
1796
1796
|
});
|
|
1797
1797
|
} else e.exposed || (e.exposed = {});
|
|
1798
|
-
H && e.render === Xe && (e.render = H), Ie != null && (e.inheritAttrs = Ie), je && (e.components = je), He && (e.directives = He), Ae &&
|
|
1798
|
+
H && e.render === Xe && (e.render = H), Ie != null && (e.inheritAttrs = Ie), je && (e.components = je), He && (e.directives = He), Ae && ko(e);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1801
|
-
F(e) && (e =
|
|
1800
|
+
function Hl(e, t, s = Xe) {
|
|
1801
|
+
F(e) && (e = zs(e));
|
|
1802
1802
|
for (const n in e) {
|
|
1803
1803
|
const o = e[n];
|
|
1804
1804
|
let i;
|
|
@@ -1814,15 +1814,15 @@ function jl(e, t, s = Xe) {
|
|
|
1814
1814
|
}) : t[n] = i;
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function In(e, t, s) {
|
|
1818
1818
|
Ze(
|
|
1819
1819
|
F(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
1820
1820
|
t,
|
|
1821
1821
|
s
|
|
1822
1822
|
);
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1825
|
-
let o = n.includes(".") ?
|
|
1824
|
+
function Vo(e, t, s, n) {
|
|
1825
|
+
let o = n.includes(".") ? Lo(s, n) : () => s[n];
|
|
1826
1826
|
if (ce(e)) {
|
|
1827
1827
|
const i = t[e];
|
|
1828
1828
|
R(i) && mt(o, i);
|
|
@@ -1830,13 +1830,13 @@ function Ho(e, t, s, n) {
|
|
|
1830
1830
|
mt(o, e.bind(s));
|
|
1831
1831
|
else if (G(e))
|
|
1832
1832
|
if (F(e))
|
|
1833
|
-
e.forEach((i) =>
|
|
1833
|
+
e.forEach((i) => Vo(i, t, s, n));
|
|
1834
1834
|
else {
|
|
1835
1835
|
const i = R(e.handler) ? e.handler.bind(s) : t[e.handler];
|
|
1836
1836
|
R(i) && mt(o, i, e);
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
|
-
function
|
|
1839
|
+
function Ko(e) {
|
|
1840
1840
|
const t = e.type, { mixins: s, extends: n } = t, {
|
|
1841
1841
|
mixins: o,
|
|
1842
1842
|
optionsCache: i,
|
|
@@ -1854,15 +1854,15 @@ function as(e, t, s, n = !1) {
|
|
|
1854
1854
|
);
|
|
1855
1855
|
for (const l in t)
|
|
1856
1856
|
if (!(n && l === "expose")) {
|
|
1857
|
-
const r =
|
|
1857
|
+
const r = Vl[l] || s && s[l];
|
|
1858
1858
|
e[l] = r ? r(e[l], t[l]) : t[l];
|
|
1859
1859
|
}
|
|
1860
1860
|
return e;
|
|
1861
1861
|
}
|
|
1862
|
-
const
|
|
1863
|
-
data:
|
|
1864
|
-
props:
|
|
1865
|
-
emits:
|
|
1862
|
+
const Vl = {
|
|
1863
|
+
data: Fn,
|
|
1864
|
+
props: $n,
|
|
1865
|
+
emits: $n,
|
|
1866
1866
|
// objects
|
|
1867
1867
|
methods: $t,
|
|
1868
1868
|
computed: $t,
|
|
@@ -1885,12 +1885,12 @@ const Hl = {
|
|
|
1885
1885
|
components: $t,
|
|
1886
1886
|
directives: $t,
|
|
1887
1887
|
// watch
|
|
1888
|
-
watch:
|
|
1888
|
+
watch: Ul,
|
|
1889
1889
|
// provide / inject
|
|
1890
|
-
provide:
|
|
1891
|
-
inject:
|
|
1890
|
+
provide: Fn,
|
|
1891
|
+
inject: Kl
|
|
1892
1892
|
};
|
|
1893
|
-
function
|
|
1893
|
+
function Fn(e, t) {
|
|
1894
1894
|
return t ? e ? function() {
|
|
1895
1895
|
return pe(
|
|
1896
1896
|
R(e) ? e.call(this, this) : e,
|
|
@@ -1898,10 +1898,10 @@ function In(e, t) {
|
|
|
1898
1898
|
);
|
|
1899
1899
|
} : t : e;
|
|
1900
1900
|
}
|
|
1901
|
-
function
|
|
1902
|
-
return $t(
|
|
1901
|
+
function Kl(e, t) {
|
|
1902
|
+
return $t(zs(e), zs(t));
|
|
1903
1903
|
}
|
|
1904
|
-
function
|
|
1904
|
+
function zs(e) {
|
|
1905
1905
|
if (F(e)) {
|
|
1906
1906
|
const t = {};
|
|
1907
1907
|
for (let s = 0; s < e.length; s++)
|
|
@@ -1916,14 +1916,14 @@ function be(e, t) {
|
|
|
1916
1916
|
function $t(e, t) {
|
|
1917
1917
|
return e ? pe(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1919
|
+
function $n(e, t) {
|
|
1920
1920
|
return e ? F(e) && F(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : pe(
|
|
1921
1921
|
/* @__PURE__ */ Object.create(null),
|
|
1922
|
-
|
|
1923
|
-
|
|
1922
|
+
Dn(e),
|
|
1923
|
+
Dn(t ?? {})
|
|
1924
1924
|
) : t;
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function Ul(e, t) {
|
|
1927
1927
|
if (!e) return t;
|
|
1928
1928
|
if (!t) return e;
|
|
1929
1929
|
const s = pe(/* @__PURE__ */ Object.create(null), e);
|
|
@@ -1931,11 +1931,11 @@ function Kl(e, t) {
|
|
|
1931
1931
|
s[n] = be(e[n], t[n]);
|
|
1932
1932
|
return s;
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1934
|
+
function Uo() {
|
|
1935
1935
|
return {
|
|
1936
1936
|
app: null,
|
|
1937
1937
|
config: {
|
|
1938
|
-
isNativeTag:
|
|
1938
|
+
isNativeTag: no,
|
|
1939
1939
|
performance: !1,
|
|
1940
1940
|
globalProperties: {},
|
|
1941
1941
|
optionMergeStrategies: {},
|
|
@@ -1952,20 +1952,20 @@ function Ko() {
|
|
|
1952
1952
|
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
1953
1953
|
};
|
|
1954
1954
|
}
|
|
1955
|
-
let
|
|
1956
|
-
function
|
|
1955
|
+
let Wl = 0;
|
|
1956
|
+
function ql(e, t) {
|
|
1957
1957
|
return function(n, o = null) {
|
|
1958
1958
|
R(n) || (n = pe({}, n)), o != null && !G(o) && (o = null);
|
|
1959
|
-
const i =
|
|
1959
|
+
const i = Uo(), l = /* @__PURE__ */ new WeakSet(), r = [];
|
|
1960
1960
|
let c = !1;
|
|
1961
1961
|
const d = i.app = {
|
|
1962
|
-
_uid:
|
|
1962
|
+
_uid: Wl++,
|
|
1963
1963
|
_component: n,
|
|
1964
1964
|
_props: o,
|
|
1965
1965
|
_container: null,
|
|
1966
1966
|
_context: i,
|
|
1967
1967
|
_instance: null,
|
|
1968
|
-
version:
|
|
1968
|
+
version: Cr,
|
|
1969
1969
|
get config() {
|
|
1970
1970
|
return i.config;
|
|
1971
1971
|
},
|
|
@@ -2016,13 +2016,13 @@ function Wl(e, t) {
|
|
|
2016
2016
|
};
|
|
2017
2017
|
}
|
|
2018
2018
|
let Tt = null;
|
|
2019
|
-
const
|
|
2020
|
-
function
|
|
2019
|
+
const Jl = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${Le(t)}Modifiers`] || e[`${vt(t)}Modifiers`];
|
|
2020
|
+
function Gl(e, t, ...s) {
|
|
2021
2021
|
if (e.isUnmounted) return;
|
|
2022
2022
|
const n = e.vnode.props || X;
|
|
2023
2023
|
let o = s;
|
|
2024
|
-
const i = t.startsWith("update:"), l = i &&
|
|
2025
|
-
l && (l.trim && (o = s.map((a) => ce(a) ? a.trim() : a)), l.number && (o = s.map(
|
|
2024
|
+
const i = t.startsWith("update:"), l = i && Jl(n, t.slice(7));
|
|
2025
|
+
l && (l.trim && (o = s.map((a) => ce(a) ? a.trim() : a)), l.number && (o = s.map(Mi)));
|
|
2026
2026
|
let r, c = n[r = Os(t)] || // also try camelCase event handler (#2249)
|
|
2027
2027
|
n[r = Os(Le(t))];
|
|
2028
2028
|
!c && i && (c = n[r = Os(vt(t))]), c && Ze(
|
|
@@ -2045,16 +2045,16 @@ function Jl(e, t, ...s) {
|
|
|
2045
2045
|
);
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
|
-
const
|
|
2049
|
-
function
|
|
2050
|
-
const n = s ?
|
|
2048
|
+
const Yl = /* @__PURE__ */ new WeakMap();
|
|
2049
|
+
function Wo(e, t, s = !1) {
|
|
2050
|
+
const n = s ? Yl : t.emitsCache, o = n.get(e);
|
|
2051
2051
|
if (o !== void 0)
|
|
2052
2052
|
return o;
|
|
2053
2053
|
const i = e.emits;
|
|
2054
2054
|
let l = {}, r = !1;
|
|
2055
2055
|
if (!R(e)) {
|
|
2056
2056
|
const c = (d) => {
|
|
2057
|
-
const a =
|
|
2057
|
+
const a = Wo(d, t, !0);
|
|
2058
2058
|
a && (r = !0, pe(l, a));
|
|
2059
2059
|
};
|
|
2060
2060
|
!s && t.mixins.length && t.mixins.forEach(c), e.extends && c(e.extends), e.mixins && e.mixins.forEach(c);
|
|
@@ -2064,7 +2064,7 @@ function Uo(e, t, s = !1) {
|
|
|
2064
2064
|
function Cs(e, t) {
|
|
2065
2065
|
return !e || !gs(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), q(e, t[0].toLowerCase() + t.slice(1)) || q(e, vt(t)) || q(e, t));
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function Nn(e) {
|
|
2068
2068
|
const {
|
|
2069
2069
|
type: t,
|
|
2070
2070
|
vnode: s,
|
|
@@ -2107,7 +2107,7 @@ function $n(e) {
|
|
|
2107
2107
|
h,
|
|
2108
2108
|
null
|
|
2109
2109
|
)
|
|
2110
|
-
), I = t.props ? r :
|
|
2110
|
+
), I = t.props ? r : zl(r);
|
|
2111
2111
|
}
|
|
2112
2112
|
} catch (A) {
|
|
2113
2113
|
Ht.length = 0, xs(A, e, 1), k = re(ct);
|
|
@@ -2115,25 +2115,25 @@ function $n(e) {
|
|
|
2115
2115
|
let j = k;
|
|
2116
2116
|
if (I && T !== !1) {
|
|
2117
2117
|
const A = Object.keys(I), { shapeFlag: H } = j;
|
|
2118
|
-
A.length && H & 7 && (i && A.some(_s) && (I =
|
|
2118
|
+
A.length && H & 7 && (i && A.some(_s) && (I = Xl(
|
|
2119
2119
|
I,
|
|
2120
2120
|
i
|
|
2121
2121
|
)), j = Mt(j, I, !1, !0));
|
|
2122
2122
|
}
|
|
2123
|
-
return s.dirs && (j = Mt(j, null, !1, !0), j.dirs = j.dirs ? j.dirs.concat(s.dirs) : s.dirs), s.transition &&
|
|
2123
|
+
return s.dirs && (j = Mt(j, null, !1, !0), j.dirs = j.dirs ? j.dirs.concat(s.dirs) : s.dirs), s.transition && hn(j, s.transition), k = j, rs(B), k;
|
|
2124
2124
|
}
|
|
2125
|
-
const
|
|
2125
|
+
const zl = (e) => {
|
|
2126
2126
|
let t;
|
|
2127
2127
|
for (const s in e)
|
|
2128
2128
|
(s === "class" || s === "style" || gs(s)) && ((t || (t = {}))[s] = e[s]);
|
|
2129
2129
|
return t;
|
|
2130
|
-
},
|
|
2130
|
+
}, Xl = (e, t) => {
|
|
2131
2131
|
const s = {};
|
|
2132
2132
|
for (const n in e)
|
|
2133
2133
|
(!_s(n) || !(n.slice(9) in t)) && (s[n] = e[n]);
|
|
2134
2134
|
return s;
|
|
2135
2135
|
};
|
|
2136
|
-
function
|
|
2136
|
+
function Zl(e, t, s) {
|
|
2137
2137
|
const { props: n, children: o, component: i } = e, { props: l, children: r, patchFlag: c } = t, d = i.emitsOptions;
|
|
2138
2138
|
if (t.dirs || t.transition)
|
|
2139
2139
|
return !0;
|
|
@@ -2141,35 +2141,35 @@ function Xl(e, t, s) {
|
|
|
2141
2141
|
if (c & 1024)
|
|
2142
2142
|
return !0;
|
|
2143
2143
|
if (c & 16)
|
|
2144
|
-
return n ?
|
|
2144
|
+
return n ? Rn(n, l, d) : !!l;
|
|
2145
2145
|
if (c & 8) {
|
|
2146
2146
|
const a = t.dynamicProps;
|
|
2147
2147
|
for (let h = 0; h < a.length; h++) {
|
|
2148
2148
|
const b = a[h];
|
|
2149
|
-
if (
|
|
2149
|
+
if (qo(l, n, b) && !Cs(d, b))
|
|
2150
2150
|
return !0;
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
} else
|
|
2154
|
-
return (o || r) && (!r || !r.$stable) ? !0 : n === l ? !1 : n ? l ?
|
|
2154
|
+
return (o || r) && (!r || !r.$stable) ? !0 : n === l ? !1 : n ? l ? Rn(n, l, d) : !0 : !!l;
|
|
2155
2155
|
return !1;
|
|
2156
2156
|
}
|
|
2157
|
-
function
|
|
2157
|
+
function Rn(e, t, s) {
|
|
2158
2158
|
const n = Object.keys(t);
|
|
2159
2159
|
if (n.length !== Object.keys(e).length)
|
|
2160
2160
|
return !0;
|
|
2161
2161
|
for (let o = 0; o < n.length; o++) {
|
|
2162
2162
|
const i = n[o];
|
|
2163
|
-
if (
|
|
2163
|
+
if (qo(t, e, i) && !Cs(s, i))
|
|
2164
2164
|
return !0;
|
|
2165
2165
|
}
|
|
2166
2166
|
return !1;
|
|
2167
2167
|
}
|
|
2168
|
-
function
|
|
2168
|
+
function qo(e, t, s) {
|
|
2169
2169
|
const n = e[s], o = t[s];
|
|
2170
|
-
return s === "style" && G(n) && G(o) ? !
|
|
2170
|
+
return s === "style" && G(n) && G(o) ? !nn(n, o) : n !== o;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function Ql({ vnode: e, parent: t, suspense: s }, n) {
|
|
2173
2173
|
for (; t; ) {
|
|
2174
2174
|
const o = t.subTree;
|
|
2175
2175
|
if (o.suspense && o.suspense.activeBranch === e && (o.suspense.vnode.el = o.el = n, e = o), o === e)
|
|
@@ -2179,15 +2179,15 @@ function Zl({ vnode: e, parent: t, suspense: s }, n) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
s && s.activeBranch === e && (s.vnode.el = n);
|
|
2181
2181
|
}
|
|
2182
|
-
const
|
|
2183
|
-
function
|
|
2184
|
-
const o = {}, i =
|
|
2185
|
-
e.propsDefaults = /* @__PURE__ */ Object.create(null),
|
|
2182
|
+
const Jo = {}, Go = () => Object.create(Jo), Yo = (e) => Object.getPrototypeOf(e) === Jo;
|
|
2183
|
+
function er(e, t, s, n = !1) {
|
|
2184
|
+
const o = {}, i = Go();
|
|
2185
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), zo(e, t, o, i);
|
|
2186
2186
|
for (const l in e.propsOptions[0])
|
|
2187
2187
|
l in o || (o[l] = void 0);
|
|
2188
|
-
s ? e.props = n ? o : /* @__PURE__ */
|
|
2188
|
+
s ? e.props = n ? o : /* @__PURE__ */ nl(o) : e.type.props ? e.props = o : e.props = i, e.attrs = i;
|
|
2189
2189
|
}
|
|
2190
|
-
function
|
|
2190
|
+
function tr(e, t, s, n) {
|
|
2191
2191
|
const {
|
|
2192
2192
|
props: o,
|
|
2193
2193
|
attrs: i,
|
|
@@ -2212,7 +2212,7 @@ function er(e, t, s, n) {
|
|
|
2212
2212
|
x !== i[b] && (i[b] = x, d = !0);
|
|
2213
2213
|
else {
|
|
2214
2214
|
const O = Le(b);
|
|
2215
|
-
o[O] =
|
|
2215
|
+
o[O] = Xs(
|
|
2216
2216
|
c,
|
|
2217
2217
|
r,
|
|
2218
2218
|
O,
|
|
@@ -2226,7 +2226,7 @@ function er(e, t, s, n) {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
2228
|
} else {
|
|
2229
|
-
|
|
2229
|
+
zo(e, t, o, i) && (d = !0);
|
|
2230
2230
|
let a;
|
|
2231
2231
|
for (const h in r)
|
|
2232
2232
|
(!t || // for camelCase
|
|
@@ -2234,7 +2234,7 @@ function er(e, t, s, n) {
|
|
|
2234
2234
|
// and converted to camelCase (#955)
|
|
2235
2235
|
((a = vt(h)) === h || !q(t, a))) && (c ? s && // for camelCase
|
|
2236
2236
|
(s[h] !== void 0 || // for kebab-case
|
|
2237
|
-
s[a] !== void 0) && (o[h] =
|
|
2237
|
+
s[a] !== void 0) && (o[h] = Xs(
|
|
2238
2238
|
c,
|
|
2239
2239
|
r,
|
|
2240
2240
|
h,
|
|
@@ -2248,7 +2248,7 @@ function er(e, t, s, n) {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
d && nt(e.attrs, "set", "");
|
|
2250
2250
|
}
|
|
2251
|
-
function
|
|
2251
|
+
function zo(e, t, s, n) {
|
|
2252
2252
|
const [o, i] = e.propsOptions;
|
|
2253
2253
|
let l = !1, r;
|
|
2254
2254
|
if (t)
|
|
@@ -2263,7 +2263,7 @@ function Yo(e, t, s, n) {
|
|
|
2263
2263
|
const c = /* @__PURE__ */ U(s), d = r || X;
|
|
2264
2264
|
for (let a = 0; a < i.length; a++) {
|
|
2265
2265
|
const h = i[a];
|
|
2266
|
-
s[h] =
|
|
2266
|
+
s[h] = Xs(
|
|
2267
2267
|
o,
|
|
2268
2268
|
c,
|
|
2269
2269
|
h,
|
|
@@ -2275,7 +2275,7 @@ function Yo(e, t, s, n) {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
return l;
|
|
2277
2277
|
}
|
|
2278
|
-
function
|
|
2278
|
+
function Xs(e, t, s, n, o, i) {
|
|
2279
2279
|
const l = e[s];
|
|
2280
2280
|
if (l != null) {
|
|
2281
2281
|
const r = q(l, "default");
|
|
@@ -2306,9 +2306,9 @@ function zs(e, t, s, n, o, i) {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
return n;
|
|
2308
2308
|
}
|
|
2309
|
-
const
|
|
2310
|
-
function
|
|
2311
|
-
const n = s ?
|
|
2309
|
+
const sr = /* @__PURE__ */ new WeakMap();
|
|
2310
|
+
function Xo(e, t, s = !1) {
|
|
2311
|
+
const n = s ? sr : t.propsCache, o = n.get(e);
|
|
2312
2312
|
if (o)
|
|
2313
2313
|
return o;
|
|
2314
2314
|
const i = e.props, l = {}, r = [];
|
|
@@ -2316,7 +2316,7 @@ function zo(e, t, s = !1) {
|
|
|
2316
2316
|
if (!R(e)) {
|
|
2317
2317
|
const a = (h) => {
|
|
2318
2318
|
c = !0;
|
|
2319
|
-
const [b, x] =
|
|
2319
|
+
const [b, x] = Xo(h, t, !0);
|
|
2320
2320
|
pe(l, b), x && r.push(...x);
|
|
2321
2321
|
};
|
|
2322
2322
|
!s && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
|
|
@@ -2326,12 +2326,12 @@ function zo(e, t, s = !1) {
|
|
|
2326
2326
|
if (F(i))
|
|
2327
2327
|
for (let a = 0; a < i.length; a++) {
|
|
2328
2328
|
const h = Le(i[a]);
|
|
2329
|
-
|
|
2329
|
+
Ln(h) && (l[h] = X);
|
|
2330
2330
|
}
|
|
2331
2331
|
else if (i)
|
|
2332
2332
|
for (const a in i) {
|
|
2333
2333
|
const h = Le(a);
|
|
2334
|
-
if (
|
|
2334
|
+
if (Ln(h)) {
|
|
2335
2335
|
const b = i[a], x = l[h] = F(b) || R(b) ? { type: b } : pe({}, b), O = x.type;
|
|
2336
2336
|
let T = !1, B = !0;
|
|
2337
2337
|
if (F(O))
|
|
@@ -2356,53 +2356,53 @@ function zo(e, t, s = !1) {
|
|
|
2356
2356
|
const d = [l, r];
|
|
2357
2357
|
return G(e) && n.set(e, d), d;
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2359
|
+
function Ln(e) {
|
|
2360
2360
|
return e[0] !== "$" && !Nt(e);
|
|
2361
2361
|
}
|
|
2362
|
-
const
|
|
2362
|
+
const _n = (e) => e === "_" || e === "_ctx" || e === "$stable", mn = (e) => F(e) ? e.map(Ye) : [Ye(e)], nr = (e, t, s) => {
|
|
2363
2363
|
if (t._n)
|
|
2364
2364
|
return t;
|
|
2365
|
-
const n = et((...o) =>
|
|
2365
|
+
const n = et((...o) => mn(t(...o)), s);
|
|
2366
2366
|
return n._c = !1, n;
|
|
2367
|
-
},
|
|
2367
|
+
}, Zo = (e, t, s) => {
|
|
2368
2368
|
const n = e._ctx;
|
|
2369
2369
|
for (const o in e) {
|
|
2370
|
-
if (
|
|
2370
|
+
if (_n(o)) continue;
|
|
2371
2371
|
const i = e[o];
|
|
2372
2372
|
if (R(i))
|
|
2373
|
-
t[o] =
|
|
2373
|
+
t[o] = nr(o, i, n);
|
|
2374
2374
|
else if (i != null) {
|
|
2375
|
-
const l =
|
|
2375
|
+
const l = mn(i);
|
|
2376
2376
|
t[o] = () => l;
|
|
2377
2377
|
}
|
|
2378
2378
|
}
|
|
2379
|
-
},
|
|
2380
|
-
const s =
|
|
2379
|
+
}, Qo = (e, t) => {
|
|
2380
|
+
const s = mn(t);
|
|
2381
2381
|
e.slots.default = () => s;
|
|
2382
|
-
},
|
|
2382
|
+
}, ei = (e, t, s) => {
|
|
2383
2383
|
for (const n in t)
|
|
2384
|
-
(s || !
|
|
2385
|
-
},
|
|
2386
|
-
const n = e.slots =
|
|
2384
|
+
(s || !_n(n)) && (e[n] = t[n]);
|
|
2385
|
+
}, or = (e, t, s) => {
|
|
2386
|
+
const n = e.slots = Go();
|
|
2387
2387
|
if (e.vnode.shapeFlag & 32) {
|
|
2388
2388
|
const o = t._;
|
|
2389
|
-
o ? (
|
|
2390
|
-
} else t &&
|
|
2391
|
-
},
|
|
2389
|
+
o ? (ei(n, t, s), s && uo(n, "_", o, !0)) : Zo(t, n);
|
|
2390
|
+
} else t && Qo(e, t);
|
|
2391
|
+
}, ir = (e, t, s) => {
|
|
2392
2392
|
const { vnode: n, slots: o } = e;
|
|
2393
2393
|
let i = !0, l = X;
|
|
2394
2394
|
if (n.shapeFlag & 32) {
|
|
2395
2395
|
const r = t._;
|
|
2396
|
-
r ? s && r === 1 ? i = !1 :
|
|
2397
|
-
} else t && (
|
|
2396
|
+
r ? s && r === 1 ? i = !1 : ei(o, t, s) : (i = !t.$stable, Zo(t, o)), l = t;
|
|
2397
|
+
} else t && (Qo(e, t), l = { default: 1 });
|
|
2398
2398
|
if (i)
|
|
2399
2399
|
for (const r in o)
|
|
2400
|
-
!
|
|
2401
|
-
}, Ce =
|
|
2402
|
-
function
|
|
2403
|
-
return
|
|
2400
|
+
!_n(r) && l[r] == null && delete o[r];
|
|
2401
|
+
}, Ce = ar;
|
|
2402
|
+
function lr(e) {
|
|
2403
|
+
return rr(e);
|
|
2404
2404
|
}
|
|
2405
|
-
function
|
|
2405
|
+
function rr(e, t) {
|
|
2406
2406
|
const s = bs();
|
|
2407
2407
|
s.__VUE__ = !0;
|
|
2408
2408
|
const {
|
|
@@ -2568,7 +2568,7 @@ function lr(e, t) {
|
|
|
2568
2568
|
"value" in P && i(y, "value", null, P.value, _), (m = P.onVnodeBeforeMount) && qe(m, v, u);
|
|
2569
2569
|
}
|
|
2570
2570
|
N && dt(u, null, v, "beforeMount");
|
|
2571
|
-
const V =
|
|
2571
|
+
const V = cr(g, M);
|
|
2572
2572
|
V && M.beforeEnter(y), n(y, f, p), ((m = P && P.onVnodeMounted) || V || N) && Ce(() => {
|
|
2573
2573
|
try {
|
|
2574
2574
|
m && qe(m, v, u), V && M.enter(y), N && dt(u, null, v, "mounted");
|
|
@@ -2581,7 +2581,7 @@ function lr(e, t) {
|
|
|
2581
2581
|
x(u, v[_]);
|
|
2582
2582
|
if (g) {
|
|
2583
2583
|
let _ = g.subTree;
|
|
2584
|
-
if (f === _ ||
|
|
2584
|
+
if (f === _ || oi(_.type) && (_.ssContent === f || _.ssFallback === f)) {
|
|
2585
2585
|
const w = g.vnode;
|
|
2586
2586
|
oe(
|
|
2587
2587
|
u,
|
|
@@ -2723,7 +2723,7 @@ function lr(e, t) {
|
|
|
2723
2723
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
2724
2724
|
// #2134 or if it's a component root, it may also get moved around
|
|
2725
2725
|
// as the component is being moved.
|
|
2726
|
-
(f.key != null || g && f === g.subTree) &&
|
|
2726
|
+
(f.key != null || g && f === g.subTree) && ti(
|
|
2727
2727
|
u,
|
|
2728
2728
|
f,
|
|
2729
2729
|
!0
|
|
@@ -2756,12 +2756,12 @@ function lr(e, t) {
|
|
|
2756
2756
|
y
|
|
2757
2757
|
) : de(u, f, y);
|
|
2758
2758
|
}, Ve = (u, f, p, v, g, _, w) => {
|
|
2759
|
-
const S = u.component =
|
|
2759
|
+
const S = u.component = vr(
|
|
2760
2760
|
u,
|
|
2761
2761
|
v,
|
|
2762
2762
|
g
|
|
2763
2763
|
);
|
|
2764
|
-
if (
|
|
2764
|
+
if (Bo(u) && (S.ctx.renderer = Ot), br(S, !1, w), S.asyncDep) {
|
|
2765
2765
|
if (g && g.registerDep(S, ie, w), !u.el) {
|
|
2766
2766
|
const y = S.subTree = re(ct);
|
|
2767
2767
|
k(null, y, f, p), u.placeholder = y.el;
|
|
@@ -2778,7 +2778,7 @@ function lr(e, t) {
|
|
|
2778
2778
|
);
|
|
2779
2779
|
}, de = (u, f, p) => {
|
|
2780
2780
|
const v = f.component = u.component;
|
|
2781
|
-
if (
|
|
2781
|
+
if (Zl(u, f, p))
|
|
2782
2782
|
if (v.asyncDep && !v.asyncResolved) {
|
|
2783
2783
|
Y(v, f, p);
|
|
2784
2784
|
return;
|
|
@@ -2791,7 +2791,7 @@ function lr(e, t) {
|
|
|
2791
2791
|
if (u.isMounted) {
|
|
2792
2792
|
let { next: C, bu: M, u: N, parent: V, vnode: z } = u;
|
|
2793
2793
|
{
|
|
2794
|
-
const Ue =
|
|
2794
|
+
const Ue = si(u);
|
|
2795
2795
|
if (Ue) {
|
|
2796
2796
|
C && (C.el = z.el, Y(u, C, w)), Ue.asyncDep.then(() => {
|
|
2797
2797
|
Ce(() => {
|
|
@@ -2803,7 +2803,7 @@ function lr(e, t) {
|
|
|
2803
2803
|
}
|
|
2804
2804
|
let Z = C, le;
|
|
2805
2805
|
ht(u, !1), C ? (C.el = z.el, Y(u, C, w)) : C = z, M && Ps(M), (le = C.props && C.props.onVnodeBeforeUpdate) && qe(le, V, C, z), ht(u, !0);
|
|
2806
|
-
const he =
|
|
2806
|
+
const he = Nn(u), Ke = u.subTree;
|
|
2807
2807
|
u.subTree = he, T(
|
|
2808
2808
|
Ke,
|
|
2809
2809
|
he,
|
|
@@ -2814,7 +2814,7 @@ function lr(e, t) {
|
|
|
2814
2814
|
u,
|
|
2815
2815
|
g,
|
|
2816
2816
|
_
|
|
2817
|
-
), C.el = he.el, Z === null &&
|
|
2817
|
+
), C.el = he.el, Z === null && Ql(u, he.el), N && Ce(N, g), (le = C.props && C.props.onVnodeUpdated) && Ce(
|
|
2818
2818
|
() => qe(le, V, C, z),
|
|
2819
2819
|
g
|
|
2820
2820
|
);
|
|
@@ -2827,7 +2827,7 @@ function lr(e, t) {
|
|
|
2827
2827
|
he,
|
|
2828
2828
|
u.parent ? u.parent.type : void 0
|
|
2829
2829
|
);
|
|
2830
|
-
const Ue = u.subTree =
|
|
2830
|
+
const Ue = u.subTree = Nn(u);
|
|
2831
2831
|
T(
|
|
2832
2832
|
null,
|
|
2833
2833
|
Ue,
|
|
@@ -2849,14 +2849,14 @@ function lr(e, t) {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
};
|
|
2851
2851
|
u.scope.on();
|
|
2852
|
-
const y = u.effect = new
|
|
2852
|
+
const y = u.effect = new po(S);
|
|
2853
2853
|
u.scope.off();
|
|
2854
2854
|
const m = u.update = y.run.bind(y), P = u.job = y.runIfDirty.bind(y);
|
|
2855
|
-
P.i = u, P.id = u.uid, y.scheduler = () =>
|
|
2855
|
+
P.i = u, P.id = u.uid, y.scheduler = () => dn(P), ht(u, !0), m();
|
|
2856
2856
|
}, Y = (u, f, p) => {
|
|
2857
2857
|
f.component = u;
|
|
2858
2858
|
const v = u.vnode.props;
|
|
2859
|
-
u.vnode = f, u.next = null,
|
|
2859
|
+
u.vnode = f, u.next = null, tr(u, f.props, v, p), ir(u, f.children, p), it(), Mn(u), lt();
|
|
2860
2860
|
}, K = (u, f, p, v, g, _, w, S, y = !1) => {
|
|
2861
2861
|
const m = u && u.children, P = u ? u.shapeFlag : 0, C = f.children, { patchFlag: M, shapeFlag: N } = f;
|
|
2862
2862
|
if (M > 0) {
|
|
@@ -3041,23 +3041,23 @@ function lr(e, t) {
|
|
|
3041
3041
|
y
|
|
3042
3042
|
), le++);
|
|
3043
3043
|
}
|
|
3044
|
-
const
|
|
3045
|
-
for (Z =
|
|
3046
|
-
const Me = V + m, We = f[Me],
|
|
3044
|
+
const Sn = Ke ? ur(Pt) : xt;
|
|
3045
|
+
for (Z = Sn.length - 1, m = he - 1; m >= 0; m--) {
|
|
3046
|
+
const Me = V + m, We = f[Me], xn = f[Me + 1], wn = Me + 1 < P ? (
|
|
3047
3047
|
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
3048
|
-
|
|
3048
|
+
xn.el || ni(xn)
|
|
3049
3049
|
) : v;
|
|
3050
3050
|
Pt[m] === 0 ? T(
|
|
3051
3051
|
null,
|
|
3052
3052
|
We,
|
|
3053
3053
|
p,
|
|
3054
|
-
|
|
3054
|
+
wn,
|
|
3055
3055
|
g,
|
|
3056
3056
|
_,
|
|
3057
3057
|
w,
|
|
3058
3058
|
S,
|
|
3059
3059
|
y
|
|
3060
|
-
) : Ke && (Z < 0 || m !==
|
|
3060
|
+
) : Ke && (Z < 0 || m !== Sn[Z] ? $(We, p, wn, 2) : Z--);
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
3063
3063
|
}, $ = (u, f, p, v, g = null) => {
|
|
@@ -3092,7 +3092,7 @@ function lr(e, t) {
|
|
|
3092
3092
|
const { leave: C, delayLeave: M, afterLeave: N } = S, V = () => {
|
|
3093
3093
|
u.ctx.isUnmounted ? o(_) : n(_, f, p);
|
|
3094
3094
|
}, z = () => {
|
|
3095
|
-
_._isLeaving && _[
|
|
3095
|
+
_._isLeaving && _[Cl](
|
|
3096
3096
|
!0
|
|
3097
3097
|
/* cancelled */
|
|
3098
3098
|
), C(_, () => {
|
|
@@ -3178,7 +3178,7 @@ function lr(e, t) {
|
|
|
3178
3178
|
o(f);
|
|
3179
3179
|
}, Zt = (u, f, p) => {
|
|
3180
3180
|
const { bum: v, scope: g, job: _, subTree: w, um: S, m: y, a: m } = u;
|
|
3181
|
-
|
|
3181
|
+
kn(y), kn(m), v && Ps(v), g.stop(), _ && (_.flags |= 8, W(w, u, f, p)), S && Ce(S, f), Ce(() => {
|
|
3182
3182
|
u.isUnmounted = !0;
|
|
3183
3183
|
}, f);
|
|
3184
3184
|
}, L = (u, f, p, v = !1, g = !1, _ = 0) => {
|
|
@@ -3189,11 +3189,11 @@ function lr(e, t) {
|
|
|
3189
3189
|
return Ne(u.component.subTree);
|
|
3190
3190
|
if (u.shapeFlag & 128)
|
|
3191
3191
|
return u.suspense.next();
|
|
3192
|
-
const f = b(u.anchor || u.el), p = f && f[
|
|
3192
|
+
const f = b(u.anchor || u.el), p = f && f[xl];
|
|
3193
3193
|
return p ? b(p) : f;
|
|
3194
3194
|
};
|
|
3195
3195
|
let Ms = !1;
|
|
3196
|
-
const
|
|
3196
|
+
const yn = (u, f, p) => {
|
|
3197
3197
|
let v;
|
|
3198
3198
|
u == null ? f._vnode && (W(f._vnode, null, null, !0), v = f._vnode.component) : T(
|
|
3199
3199
|
f._vnode || null,
|
|
@@ -3203,7 +3203,7 @@ function lr(e, t) {
|
|
|
3203
3203
|
null,
|
|
3204
3204
|
null,
|
|
3205
3205
|
p
|
|
3206
|
-
), f._vnode = u, Ms || (Ms = !0,
|
|
3206
|
+
), f._vnode = u, Ms || (Ms = !0, Mn(v), Io(), Ms = !1);
|
|
3207
3207
|
}, Ot = {
|
|
3208
3208
|
p: T,
|
|
3209
3209
|
um: W,
|
|
@@ -3217,9 +3217,9 @@ function lr(e, t) {
|
|
|
3217
3217
|
o: e
|
|
3218
3218
|
};
|
|
3219
3219
|
return {
|
|
3220
|
-
render:
|
|
3220
|
+
render: yn,
|
|
3221
3221
|
hydrate: void 0,
|
|
3222
|
-
createApp:
|
|
3222
|
+
createApp: ql(yn)
|
|
3223
3223
|
};
|
|
3224
3224
|
}
|
|
3225
3225
|
function ks({ type: e, props: t }, s) {
|
|
@@ -3228,19 +3228,19 @@ function ks({ type: e, props: t }, s) {
|
|
|
3228
3228
|
function ht({ effect: e, job: t }, s) {
|
|
3229
3229
|
s ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
3230
3230
|
}
|
|
3231
|
-
function
|
|
3231
|
+
function cr(e, t) {
|
|
3232
3232
|
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function ti(e, t, s = !1) {
|
|
3235
3235
|
const n = e.children, o = t.children;
|
|
3236
3236
|
if (F(n) && F(o))
|
|
3237
3237
|
for (let i = 0; i < n.length; i++) {
|
|
3238
3238
|
const l = n[i];
|
|
3239
3239
|
let r = o[i];
|
|
3240
|
-
r.shapeFlag & 1 && !r.dynamicChildren && ((r.patchFlag <= 0 || r.patchFlag === 32) && (r = o[i] = st(o[i]), r.el = l.el), !s && r.patchFlag !== -2 &&
|
|
3240
|
+
r.shapeFlag & 1 && !r.dynamicChildren && ((r.patchFlag <= 0 || r.patchFlag === 32) && (r = o[i] = st(o[i]), r.el = l.el), !s && r.patchFlag !== -2 && ti(l, r)), r.type === Es && (r.patchFlag === -1 && (r = o[i] = st(r)), r.el = l.el), r.type === ct && !r.el && (r.el = l.el);
|
|
3241
3241
|
}
|
|
3242
3242
|
}
|
|
3243
|
-
function
|
|
3243
|
+
function ur(e) {
|
|
3244
3244
|
const t = e.slice(), s = [0];
|
|
3245
3245
|
let n, o, i, l, r;
|
|
3246
3246
|
const c = e.length;
|
|
@@ -3260,43 +3260,43 @@ function cr(e) {
|
|
|
3260
3260
|
s[i] = l, l = t[l];
|
|
3261
3261
|
return s;
|
|
3262
3262
|
}
|
|
3263
|
-
function
|
|
3263
|
+
function si(e) {
|
|
3264
3264
|
const t = e.subTree.component;
|
|
3265
3265
|
if (t)
|
|
3266
|
-
return t.asyncDep && !t.asyncResolved ? t :
|
|
3266
|
+
return t.asyncDep && !t.asyncResolved ? t : si(t);
|
|
3267
3267
|
}
|
|
3268
|
-
function
|
|
3268
|
+
function kn(e) {
|
|
3269
3269
|
if (e)
|
|
3270
3270
|
for (let t = 0; t < e.length; t++)
|
|
3271
3271
|
e[t].flags |= 8;
|
|
3272
3272
|
}
|
|
3273
|
-
function
|
|
3273
|
+
function ni(e) {
|
|
3274
3274
|
if (e.placeholder)
|
|
3275
3275
|
return e.placeholder;
|
|
3276
3276
|
const t = e.component;
|
|
3277
|
-
return t ?
|
|
3277
|
+
return t ? ni(t.subTree) : null;
|
|
3278
3278
|
}
|
|
3279
|
-
const
|
|
3280
|
-
function
|
|
3281
|
-
t && t.pendingBranch ? F(e) ? t.effects.push(...e) : t.effects.push(e) :
|
|
3279
|
+
const oi = (e) => e.__isSuspense;
|
|
3280
|
+
function ar(e, t) {
|
|
3281
|
+
t && t.pendingBranch ? F(e) ? t.effects.push(...e) : t.effects.push(e) : vl(e);
|
|
3282
3282
|
}
|
|
3283
3283
|
const ue = /* @__PURE__ */ Symbol.for("v-fgt"), Es = /* @__PURE__ */ Symbol.for("v-txt"), ct = /* @__PURE__ */ Symbol.for("v-cmt"), Bs = /* @__PURE__ */ Symbol.for("v-stc"), Ht = [];
|
|
3284
3284
|
let Oe = null;
|
|
3285
3285
|
function J(e = !1) {
|
|
3286
3286
|
Ht.push(Oe = e ? null : []);
|
|
3287
3287
|
}
|
|
3288
|
-
function
|
|
3288
|
+
function fr() {
|
|
3289
3289
|
Ht.pop(), Oe = Ht[Ht.length - 1] || null;
|
|
3290
3290
|
}
|
|
3291
3291
|
let qt = 1;
|
|
3292
3292
|
function fs(e, t = !1) {
|
|
3293
3293
|
qt += e, e < 0 && Oe && t && (Oe.hasOnce = !0);
|
|
3294
3294
|
}
|
|
3295
|
-
function
|
|
3296
|
-
return e.dynamicChildren = qt > 0 ? Oe || xt : null,
|
|
3295
|
+
function ii(e) {
|
|
3296
|
+
return e.dynamicChildren = qt > 0 ? Oe || xt : null, fr(), qt > 0 && Oe && Oe.push(e), e;
|
|
3297
3297
|
}
|
|
3298
3298
|
function ee(e, t, s, n, o, i) {
|
|
3299
|
-
return
|
|
3299
|
+
return ii(
|
|
3300
3300
|
E(
|
|
3301
3301
|
e,
|
|
3302
3302
|
t,
|
|
@@ -3309,7 +3309,7 @@ function ee(e, t, s, n, o, i) {
|
|
|
3309
3309
|
);
|
|
3310
3310
|
}
|
|
3311
3311
|
function ds(e, t, s, n, o) {
|
|
3312
|
-
return
|
|
3312
|
+
return ii(
|
|
3313
3313
|
re(
|
|
3314
3314
|
e,
|
|
3315
3315
|
t,
|
|
@@ -3326,7 +3326,7 @@ function Jt(e) {
|
|
|
3326
3326
|
function It(e, t) {
|
|
3327
3327
|
return e.type === t.type && e.key === t.key;
|
|
3328
3328
|
}
|
|
3329
|
-
const
|
|
3329
|
+
const li = ({ key: e }) => e ?? null, ss = ({
|
|
3330
3330
|
ref: e,
|
|
3331
3331
|
ref_key: t,
|
|
3332
3332
|
ref_for: s
|
|
@@ -3337,9 +3337,9 @@ function E(e, t = null, s = null, n = 0, o = null, i = e === ue ? 0 : 1, l = !1,
|
|
|
3337
3337
|
__v_skip: !0,
|
|
3338
3338
|
type: e,
|
|
3339
3339
|
props: t,
|
|
3340
|
-
key: t &&
|
|
3340
|
+
key: t && li(t),
|
|
3341
3341
|
ref: t && ss(t),
|
|
3342
|
-
scopeId:
|
|
3342
|
+
scopeId: $o,
|
|
3343
3343
|
slotScopeIds: null,
|
|
3344
3344
|
children: s,
|
|
3345
3345
|
component: null,
|
|
@@ -3361,7 +3361,7 @@ function E(e, t = null, s = null, n = 0, o = null, i = e === ue ? 0 : 1, l = !1,
|
|
|
3361
3361
|
appContext: null,
|
|
3362
3362
|
ctx: me
|
|
3363
3363
|
};
|
|
3364
|
-
return r ? (
|
|
3364
|
+
return r ? (vn(c, s), i & 128 && e.normalize(c)) : s && (c.shapeFlag |= ce(s) ? 8 : 16), qt > 0 && // avoid a block node from tracking itself
|
|
3365
3365
|
!l && // has current parent block
|
|
3366
3366
|
Oe && // presence of a patch flag indicates this node needs patching on updates.
|
|
3367
3367
|
// component nodes also should always be patched, because even if the
|
|
@@ -3371,23 +3371,23 @@ function E(e, t = null, s = null, n = 0, o = null, i = e === ue ? 0 : 1, l = !1,
|
|
|
3371
3371
|
// vnode should not be considered dynamic due to handler caching.
|
|
3372
3372
|
c.patchFlag !== 32 && Oe.push(c), c;
|
|
3373
3373
|
}
|
|
3374
|
-
const re =
|
|
3375
|
-
function
|
|
3376
|
-
if ((!e || e ===
|
|
3374
|
+
const re = dr;
|
|
3375
|
+
function dr(e, t = null, s = null, n = 0, o = null, i = !1) {
|
|
3376
|
+
if ((!e || e === Rl) && (e = ct), Jt(e)) {
|
|
3377
3377
|
const r = Mt(
|
|
3378
3378
|
e,
|
|
3379
3379
|
t,
|
|
3380
3380
|
!0
|
|
3381
3381
|
/* mergeRef: true */
|
|
3382
3382
|
);
|
|
3383
|
-
return s &&
|
|
3383
|
+
return s && vn(r, s), qt > 0 && !i && Oe && (r.shapeFlag & 6 ? Oe[Oe.indexOf(e)] = r : Oe.push(r)), r.patchFlag = -2, r;
|
|
3384
3384
|
}
|
|
3385
|
-
if (
|
|
3386
|
-
t =
|
|
3385
|
+
if (xr(e) && (e = e.__vccOpts), t) {
|
|
3386
|
+
t = hr(t);
|
|
3387
3387
|
let { class: r, style: c } = t;
|
|
3388
3388
|
r && !ce(r) && (t.class = Te(r)), G(c) && (/* @__PURE__ */ Ss(c) && !F(c) && (c = pe({}, c)), t.style = Vt(c));
|
|
3389
3389
|
}
|
|
3390
|
-
const l = ce(e) ? 1 :
|
|
3390
|
+
const l = ce(e) ? 1 : oi(e) ? 128 : wl(e) ? 64 : G(e) ? 4 : R(e) ? 2 : 0;
|
|
3391
3391
|
return E(
|
|
3392
3392
|
e,
|
|
3393
3393
|
t,
|
|
@@ -3399,16 +3399,16 @@ function fr(e, t = null, s = null, n = 0, o = null, i = !1) {
|
|
|
3399
3399
|
!0
|
|
3400
3400
|
);
|
|
3401
3401
|
}
|
|
3402
|
-
function
|
|
3403
|
-
return e ? /* @__PURE__ */ Ss(e) ||
|
|
3402
|
+
function hr(e) {
|
|
3403
|
+
return e ? /* @__PURE__ */ Ss(e) || Yo(e) ? pe({}, e) : e : null;
|
|
3404
3404
|
}
|
|
3405
3405
|
function Mt(e, t, s = !1, n = !1) {
|
|
3406
|
-
const { props: o, ref: i, patchFlag: l, children: r, transition: c } = e, d = t ?
|
|
3406
|
+
const { props: o, ref: i, patchFlag: l, children: r, transition: c } = e, d = t ? gr(o || {}, t) : o, a = {
|
|
3407
3407
|
__v_isVNode: !0,
|
|
3408
3408
|
__v_skip: !0,
|
|
3409
3409
|
type: e.type,
|
|
3410
3410
|
props: d,
|
|
3411
|
-
key: d &&
|
|
3411
|
+
key: d && li(d),
|
|
3412
3412
|
ref: t && t.ref ? (
|
|
3413
3413
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3414
3414
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
@@ -3447,12 +3447,12 @@ function Mt(e, t, s = !1, n = !1) {
|
|
|
3447
3447
|
ctx: e.ctx,
|
|
3448
3448
|
ce: e.ce
|
|
3449
3449
|
};
|
|
3450
|
-
return c && n &&
|
|
3450
|
+
return c && n && hn(
|
|
3451
3451
|
a,
|
|
3452
3452
|
c.clone(a)
|
|
3453
3453
|
), a;
|
|
3454
3454
|
}
|
|
3455
|
-
function
|
|
3455
|
+
function pr(e = " ", t = 0) {
|
|
3456
3456
|
return re(Es, null, e, t);
|
|
3457
3457
|
}
|
|
3458
3458
|
function ye(e = "", t = !1) {
|
|
@@ -3469,7 +3469,7 @@ function Ye(e) {
|
|
|
3469
3469
|
function st(e) {
|
|
3470
3470
|
return e.el === null && e.patchFlag !== -1 || e.memo ? e : Mt(e);
|
|
3471
3471
|
}
|
|
3472
|
-
function
|
|
3472
|
+
function vn(e, t) {
|
|
3473
3473
|
let s = 0;
|
|
3474
3474
|
const { shapeFlag: n } = e;
|
|
3475
3475
|
if (t == null)
|
|
@@ -3479,17 +3479,17 @@ function mn(e, t) {
|
|
|
3479
3479
|
else if (typeof t == "object")
|
|
3480
3480
|
if (n & 65) {
|
|
3481
3481
|
const o = t.default;
|
|
3482
|
-
o && (o._c && (o._d = !1),
|
|
3482
|
+
o && (o._c && (o._d = !1), vn(e, o()), o._c && (o._d = !0));
|
|
3483
3483
|
return;
|
|
3484
3484
|
} else {
|
|
3485
3485
|
s = 32;
|
|
3486
3486
|
const o = t._;
|
|
3487
|
-
!o && !
|
|
3487
|
+
!o && !Yo(t) ? t._ctx = me : o === 3 && me && (me.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3488
3488
|
}
|
|
3489
|
-
else R(t) ? (t = { default: t, _ctx: me }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [
|
|
3489
|
+
else R(t) ? (t = { default: t, _ctx: me }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [pr(t)]) : s = 8);
|
|
3490
3490
|
e.children = t, e.shapeFlag |= s;
|
|
3491
3491
|
}
|
|
3492
|
-
function
|
|
3492
|
+
function gr(...e) {
|
|
3493
3493
|
const t = {};
|
|
3494
3494
|
for (let s = 0; s < e.length; s++) {
|
|
3495
3495
|
const n = e[s];
|
|
@@ -3513,11 +3513,11 @@ function qe(e, t, s, n = null) {
|
|
|
3513
3513
|
n
|
|
3514
3514
|
]);
|
|
3515
3515
|
}
|
|
3516
|
-
const
|
|
3517
|
-
let
|
|
3518
|
-
function
|
|
3519
|
-
const n = e.type, o = (t ? t.appContext : e.appContext) ||
|
|
3520
|
-
uid:
|
|
3516
|
+
const _r = Uo();
|
|
3517
|
+
let mr = 0;
|
|
3518
|
+
function vr(e, t, s) {
|
|
3519
|
+
const n = e.type, o = (t ? t.appContext : e.appContext) || _r, i = {
|
|
3520
|
+
uid: mr++,
|
|
3521
3521
|
vnode: e,
|
|
3522
3522
|
type: n,
|
|
3523
3523
|
parent: t,
|
|
@@ -3531,7 +3531,7 @@ function mr(e, t, s) {
|
|
|
3531
3531
|
update: null,
|
|
3532
3532
|
// will be set synchronously right after creation
|
|
3533
3533
|
job: null,
|
|
3534
|
-
scope: new
|
|
3534
|
+
scope: new Ri(
|
|
3535
3535
|
!0
|
|
3536
3536
|
/* detached */
|
|
3537
3537
|
),
|
|
@@ -3548,8 +3548,8 @@ function mr(e, t, s) {
|
|
|
3548
3548
|
components: null,
|
|
3549
3549
|
directives: null,
|
|
3550
3550
|
// resolved props and emits options
|
|
3551
|
-
propsOptions:
|
|
3552
|
-
emitsOptions:
|
|
3551
|
+
propsOptions: Xo(n, o),
|
|
3552
|
+
emitsOptions: Wo(n, o),
|
|
3553
3553
|
// emit
|
|
3554
3554
|
emit: null,
|
|
3555
3555
|
// to be set immediately
|
|
@@ -3592,11 +3592,11 @@ function mr(e, t, s) {
|
|
|
3592
3592
|
ec: null,
|
|
3593
3593
|
sp: null
|
|
3594
3594
|
};
|
|
3595
|
-
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit =
|
|
3595
|
+
return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = Gl.bind(null, i), e.ce && e.ce(i), i;
|
|
3596
3596
|
}
|
|
3597
3597
|
let xe = null;
|
|
3598
|
-
const
|
|
3599
|
-
let hs,
|
|
3598
|
+
const ri = () => xe || me;
|
|
3599
|
+
let hs, Zs;
|
|
3600
3600
|
{
|
|
3601
3601
|
const e = bs(), t = (s, n) => {
|
|
3602
3602
|
let o;
|
|
@@ -3607,7 +3607,7 @@ let hs, Xs;
|
|
|
3607
3607
|
hs = t(
|
|
3608
3608
|
"__VUE_INSTANCE_SETTERS__",
|
|
3609
3609
|
(s) => xe = s
|
|
3610
|
-
),
|
|
3610
|
+
), Zs = t(
|
|
3611
3611
|
"__VUE_SSR_SETTERS__",
|
|
3612
3612
|
(s) => Gt = s
|
|
3613
3613
|
);
|
|
@@ -3617,27 +3617,27 @@ const Xt = (e) => {
|
|
|
3617
3617
|
return hs(e), e.scope.on(), () => {
|
|
3618
3618
|
e.scope.off(), hs(t);
|
|
3619
3619
|
};
|
|
3620
|
-
},
|
|
3620
|
+
}, Bn = () => {
|
|
3621
3621
|
xe && xe.scope.off(), hs(null);
|
|
3622
3622
|
};
|
|
3623
|
-
function
|
|
3623
|
+
function ci(e) {
|
|
3624
3624
|
return e.vnode.shapeFlag & 4;
|
|
3625
3625
|
}
|
|
3626
3626
|
let Gt = !1;
|
|
3627
|
-
function
|
|
3628
|
-
t &&
|
|
3629
|
-
const { props: n, children: o } = e.vnode, i =
|
|
3630
|
-
|
|
3631
|
-
const l = i ?
|
|
3632
|
-
return t &&
|
|
3633
|
-
}
|
|
3634
|
-
function
|
|
3627
|
+
function br(e, t = !1, s = !1) {
|
|
3628
|
+
t && Zs(t);
|
|
3629
|
+
const { props: n, children: o } = e.vnode, i = ci(e);
|
|
3630
|
+
er(e, n, i, t), or(e, o, s || t);
|
|
3631
|
+
const l = i ? yr(e, t) : void 0;
|
|
3632
|
+
return t && Zs(!1), l;
|
|
3633
|
+
}
|
|
3634
|
+
function yr(e, t) {
|
|
3635
3635
|
const s = e.type;
|
|
3636
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx,
|
|
3636
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Ll);
|
|
3637
3637
|
const { setup: n } = s;
|
|
3638
3638
|
if (n) {
|
|
3639
3639
|
it();
|
|
3640
|
-
const o = e.setupContext = n.length > 1 ?
|
|
3640
|
+
const o = e.setupContext = n.length > 1 ? ai(e) : null, i = Xt(e), l = zt(
|
|
3641
3641
|
n,
|
|
3642
3642
|
e,
|
|
3643
3643
|
0,
|
|
@@ -3645,54 +3645,54 @@ function br(e, t) {
|
|
|
3645
3645
|
e.props,
|
|
3646
3646
|
o
|
|
3647
3647
|
]
|
|
3648
|
-
), r =
|
|
3649
|
-
if (lt(), i(), (r || e.sp) && !Et(e) &&
|
|
3650
|
-
if (l.then(
|
|
3648
|
+
), r = io(l);
|
|
3649
|
+
if (lt(), i(), (r || e.sp) && !Et(e) && ko(e), r) {
|
|
3650
|
+
if (l.then(Bn, Bn), t)
|
|
3651
3651
|
return l.then((c) => {
|
|
3652
|
-
|
|
3652
|
+
jn(e, c);
|
|
3653
3653
|
}).catch((c) => {
|
|
3654
3654
|
xs(c, e, 0);
|
|
3655
3655
|
});
|
|
3656
3656
|
e.asyncDep = l;
|
|
3657
3657
|
} else
|
|
3658
|
-
|
|
3658
|
+
jn(e, l);
|
|
3659
3659
|
} else
|
|
3660
|
-
|
|
3660
|
+
ui(e);
|
|
3661
3661
|
}
|
|
3662
|
-
function
|
|
3663
|
-
R(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : G(t) && (e.setupState =
|
|
3662
|
+
function jn(e, t, s) {
|
|
3663
|
+
R(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : G(t) && (e.setupState = Oo(t)), ui(e);
|
|
3664
3664
|
}
|
|
3665
|
-
function
|
|
3665
|
+
function ui(e, t, s) {
|
|
3666
3666
|
const n = e.type;
|
|
3667
3667
|
e.render || (e.render = n.render || Xe);
|
|
3668
3668
|
{
|
|
3669
3669
|
const o = Xt(e);
|
|
3670
3670
|
it();
|
|
3671
3671
|
try {
|
|
3672
|
-
|
|
3672
|
+
jl(e);
|
|
3673
3673
|
} finally {
|
|
3674
3674
|
lt(), o();
|
|
3675
3675
|
}
|
|
3676
3676
|
}
|
|
3677
3677
|
}
|
|
3678
|
-
const
|
|
3678
|
+
const Sr = {
|
|
3679
3679
|
get(e, t) {
|
|
3680
3680
|
return _e(e, "get", ""), e[t];
|
|
3681
3681
|
}
|
|
3682
3682
|
};
|
|
3683
|
-
function
|
|
3683
|
+
function ai(e) {
|
|
3684
3684
|
const t = (s) => {
|
|
3685
3685
|
e.exposed = s || {};
|
|
3686
3686
|
};
|
|
3687
3687
|
return {
|
|
3688
|
-
attrs: new Proxy(e.attrs,
|
|
3688
|
+
attrs: new Proxy(e.attrs, Sr),
|
|
3689
3689
|
slots: e.slots,
|
|
3690
3690
|
emit: e.emit,
|
|
3691
3691
|
expose: t
|
|
3692
3692
|
};
|
|
3693
3693
|
}
|
|
3694
3694
|
function Ts(e) {
|
|
3695
|
-
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(
|
|
3695
|
+
return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(Oo(ol(e.exposed)), {
|
|
3696
3696
|
get(t, s) {
|
|
3697
3697
|
if (s in t)
|
|
3698
3698
|
return t[s];
|
|
@@ -3704,11 +3704,11 @@ function Ts(e) {
|
|
|
3704
3704
|
}
|
|
3705
3705
|
})) : e.proxy;
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3707
|
+
function xr(e) {
|
|
3708
3708
|
return R(e) && "__vccOpts" in e;
|
|
3709
3709
|
}
|
|
3710
|
-
const Re = (e, t) => /* @__PURE__ */
|
|
3711
|
-
function
|
|
3710
|
+
const Re = (e, t) => /* @__PURE__ */ dl(e, t, Gt);
|
|
3711
|
+
function wr(e, t, s) {
|
|
3712
3712
|
try {
|
|
3713
3713
|
fs(-1);
|
|
3714
3714
|
const n = arguments.length;
|
|
@@ -3717,22 +3717,22 @@ function xr(e, t, s) {
|
|
|
3717
3717
|
fs(1);
|
|
3718
3718
|
}
|
|
3719
3719
|
}
|
|
3720
|
-
const
|
|
3720
|
+
const Cr = "3.5.32";
|
|
3721
3721
|
/**
|
|
3722
3722
|
* @vue/runtime-dom v3.5.32
|
|
3723
3723
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3724
3724
|
* @license MIT
|
|
3725
3725
|
**/
|
|
3726
|
-
let
|
|
3727
|
-
const
|
|
3728
|
-
if (
|
|
3726
|
+
let Qs;
|
|
3727
|
+
const Hn = typeof window < "u" && window.trustedTypes;
|
|
3728
|
+
if (Hn)
|
|
3729
3729
|
try {
|
|
3730
|
-
|
|
3730
|
+
Qs = /* @__PURE__ */ Hn.createPolicy("vue", {
|
|
3731
3731
|
createHTML: (e) => e
|
|
3732
3732
|
});
|
|
3733
3733
|
} catch {
|
|
3734
3734
|
}
|
|
3735
|
-
const
|
|
3735
|
+
const fi = Qs ? (e) => Qs.createHTML(e) : (e) => e, Er = "http://www.w3.org/2000/svg", Tr = "http://www.w3.org/1998/Math/MathML", tt = typeof document < "u" ? document : null, Vn = tt && /* @__PURE__ */ tt.createElement("template"), Ar = {
|
|
3736
3736
|
insert: (e, t, s) => {
|
|
3737
3737
|
t.insertBefore(e, s || null);
|
|
3738
3738
|
},
|
|
@@ -3741,7 +3741,7 @@ const ai = Zs ? (e) => Zs.createHTML(e) : (e) => e, Cr = "http://www.w3.org/2000
|
|
|
3741
3741
|
t && t.removeChild(e);
|
|
3742
3742
|
},
|
|
3743
3743
|
createElement: (e, t, s, n) => {
|
|
3744
|
-
const o = t === "svg" ? tt.createElementNS(
|
|
3744
|
+
const o = t === "svg" ? tt.createElementNS(Er, e) : t === "mathml" ? tt.createElementNS(Tr, e) : s ? tt.createElement(e, { is: s }) : tt.createElement(e);
|
|
3745
3745
|
return e === "select" && n && n.multiple != null && o.setAttribute("multiple", n.multiple), o;
|
|
3746
3746
|
},
|
|
3747
3747
|
createText: (e) => tt.createTextNode(e),
|
|
@@ -3768,10 +3768,10 @@ const ai = Zs ? (e) => Zs.createHTML(e) : (e) => e, Cr = "http://www.w3.org/2000
|
|
|
3768
3768
|
for (; t.insertBefore(o.cloneNode(!0), s), !(o === i || !(o = o.nextSibling)); )
|
|
3769
3769
|
;
|
|
3770
3770
|
else {
|
|
3771
|
-
|
|
3771
|
+
Vn.innerHTML = fi(
|
|
3772
3772
|
n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e
|
|
3773
3773
|
);
|
|
3774
|
-
const r =
|
|
3774
|
+
const r = Vn.content;
|
|
3775
3775
|
if (n === "svg" || n === "mathml") {
|
|
3776
3776
|
const c = r.firstChild;
|
|
3777
3777
|
for (; c.firstChild; )
|
|
@@ -3787,12 +3787,12 @@ const ai = Zs ? (e) => Zs.createHTML(e) : (e) => e, Cr = "http://www.w3.org/2000
|
|
|
3787
3787
|
s ? s.previousSibling : t.lastChild
|
|
3788
3788
|
];
|
|
3789
3789
|
}
|
|
3790
|
-
},
|
|
3791
|
-
function
|
|
3792
|
-
const n = e[
|
|
3790
|
+
}, Mr = /* @__PURE__ */ Symbol("_vtc");
|
|
3791
|
+
function Or(e, t, s) {
|
|
3792
|
+
const n = e[Mr];
|
|
3793
3793
|
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
|
|
3794
3794
|
}
|
|
3795
|
-
const ps = /* @__PURE__ */ Symbol("_vod"),
|
|
3795
|
+
const ps = /* @__PURE__ */ Symbol("_vod"), di = /* @__PURE__ */ Symbol("_vsh"), js = {
|
|
3796
3796
|
// used for prop mismatch check during hydration
|
|
3797
3797
|
name: "show",
|
|
3798
3798
|
beforeMount(e, { value: t }, { transition: s }) {
|
|
@@ -3811,10 +3811,10 @@ const ps = /* @__PURE__ */ Symbol("_vod"), fi = /* @__PURE__ */ Symbol("_vsh"),
|
|
|
3811
3811
|
}
|
|
3812
3812
|
};
|
|
3813
3813
|
function Ft(e, t) {
|
|
3814
|
-
e.style.display = t ? e[ps] : "none", e[
|
|
3814
|
+
e.style.display = t ? e[ps] : "none", e[di] = !t;
|
|
3815
3815
|
}
|
|
3816
|
-
const
|
|
3817
|
-
function
|
|
3816
|
+
const Pr = /* @__PURE__ */ Symbol(""), Dr = /(?:^|;)\s*display\s*:/;
|
|
3817
|
+
function Ir(e, t, s) {
|
|
3818
3818
|
const n = e.style, o = ce(s);
|
|
3819
3819
|
let i = !1;
|
|
3820
3820
|
if (s && !o) {
|
|
@@ -3831,53 +3831,53 @@ function Dr(e, t, s) {
|
|
|
3831
3831
|
l === "display" && (i = !0), ns(n, l, s[l]);
|
|
3832
3832
|
} else if (o) {
|
|
3833
3833
|
if (t !== s) {
|
|
3834
|
-
const l = n[
|
|
3835
|
-
l && (s += ";" + l), n.cssText = s, i =
|
|
3834
|
+
const l = n[Pr];
|
|
3835
|
+
l && (s += ";" + l), n.cssText = s, i = Dr.test(s);
|
|
3836
3836
|
}
|
|
3837
3837
|
} else t && e.removeAttribute("style");
|
|
3838
|
-
ps in e && (e[ps] = i ? n.display : "", e[
|
|
3838
|
+
ps in e && (e[ps] = i ? n.display : "", e[di] && (n.display = "none"));
|
|
3839
3839
|
}
|
|
3840
|
-
const
|
|
3840
|
+
const Kn = /\s*!important$/;
|
|
3841
3841
|
function ns(e, t, s) {
|
|
3842
3842
|
if (F(s))
|
|
3843
3843
|
s.forEach((n) => ns(e, t, n));
|
|
3844
3844
|
else if (s == null && (s = ""), t.startsWith("--"))
|
|
3845
3845
|
e.setProperty(t, s);
|
|
3846
3846
|
else {
|
|
3847
|
-
const n =
|
|
3848
|
-
|
|
3847
|
+
const n = Fr(e, t);
|
|
3848
|
+
Kn.test(s) ? e.setProperty(
|
|
3849
3849
|
vt(n),
|
|
3850
|
-
s.replace(
|
|
3850
|
+
s.replace(Kn, ""),
|
|
3851
3851
|
"important"
|
|
3852
3852
|
) : e[n] = s;
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
|
-
const
|
|
3856
|
-
function
|
|
3855
|
+
const Un = ["Webkit", "Moz", "ms"], Hs = {};
|
|
3856
|
+
function Fr(e, t) {
|
|
3857
3857
|
const s = Hs[t];
|
|
3858
3858
|
if (s)
|
|
3859
3859
|
return s;
|
|
3860
3860
|
let n = Le(t);
|
|
3861
3861
|
if (n !== "filter" && n in e)
|
|
3862
3862
|
return Hs[t] = n;
|
|
3863
|
-
n =
|
|
3864
|
-
for (let o = 0; o <
|
|
3865
|
-
const i =
|
|
3863
|
+
n = co(n);
|
|
3864
|
+
for (let o = 0; o < Un.length; o++) {
|
|
3865
|
+
const i = Un[o] + n;
|
|
3866
3866
|
if (i in e)
|
|
3867
3867
|
return Hs[t] = i;
|
|
3868
3868
|
}
|
|
3869
3869
|
return t;
|
|
3870
3870
|
}
|
|
3871
|
-
const
|
|
3872
|
-
function
|
|
3873
|
-
n && t.startsWith("xlink:") ? s == null ? e.removeAttributeNS(
|
|
3871
|
+
const Wn = "http://www.w3.org/1999/xlink";
|
|
3872
|
+
function qn(e, t, s, n, o, i = $i(t)) {
|
|
3873
|
+
n && t.startsWith("xlink:") ? s == null ? e.removeAttributeNS(Wn, t.slice(6, t.length)) : e.setAttributeNS(Wn, t, s) : s == null || i && !ao(s) ? e.removeAttribute(t) : e.setAttribute(
|
|
3874
3874
|
t,
|
|
3875
3875
|
i ? "" : De(s) ? String(s) : s
|
|
3876
3876
|
);
|
|
3877
3877
|
}
|
|
3878
|
-
function
|
|
3878
|
+
function Jn(e, t, s, n, o) {
|
|
3879
3879
|
if (t === "innerHTML" || t === "textContent") {
|
|
3880
|
-
s != null && (e[t] = t === "innerHTML" ?
|
|
3880
|
+
s != null && (e[t] = t === "innerHTML" ? fi(s) : s);
|
|
3881
3881
|
return;
|
|
3882
3882
|
}
|
|
3883
3883
|
const i = e.tagName;
|
|
@@ -3894,7 +3894,7 @@ function qn(e, t, s, n, o) {
|
|
|
3894
3894
|
let l = !1;
|
|
3895
3895
|
if (s === "" || s == null) {
|
|
3896
3896
|
const r = typeof e[t];
|
|
3897
|
-
r === "boolean" ? s =
|
|
3897
|
+
r === "boolean" ? s = ao(s) : s == null && r === "string" ? (s = "", l = !0) : r === "number" && (s = 0, l = !0);
|
|
3898
3898
|
}
|
|
3899
3899
|
try {
|
|
3900
3900
|
e[t] = s;
|
|
@@ -3902,57 +3902,57 @@ function qn(e, t, s, n, o) {
|
|
|
3902
3902
|
}
|
|
3903
3903
|
l && e.removeAttribute(o || t);
|
|
3904
3904
|
}
|
|
3905
|
-
function
|
|
3905
|
+
function $r(e, t, s, n) {
|
|
3906
3906
|
e.addEventListener(t, s, n);
|
|
3907
3907
|
}
|
|
3908
|
-
function
|
|
3908
|
+
function Nr(e, t, s, n) {
|
|
3909
3909
|
e.removeEventListener(t, s, n);
|
|
3910
3910
|
}
|
|
3911
|
-
const
|
|
3912
|
-
function
|
|
3913
|
-
const i = e[
|
|
3911
|
+
const Gn = /* @__PURE__ */ Symbol("_vei");
|
|
3912
|
+
function Rr(e, t, s, n, o = null) {
|
|
3913
|
+
const i = e[Gn] || (e[Gn] = {}), l = i[t];
|
|
3914
3914
|
if (n && l)
|
|
3915
3915
|
l.value = n;
|
|
3916
3916
|
else {
|
|
3917
|
-
const [r, c] =
|
|
3917
|
+
const [r, c] = Lr(t);
|
|
3918
3918
|
if (n) {
|
|
3919
|
-
const d = i[t] =
|
|
3919
|
+
const d = i[t] = jr(
|
|
3920
3920
|
n,
|
|
3921
3921
|
o
|
|
3922
3922
|
);
|
|
3923
|
-
|
|
3924
|
-
} else l && (
|
|
3923
|
+
$r(e, r, d, c);
|
|
3924
|
+
} else l && (Nr(e, r, l, c), i[t] = void 0);
|
|
3925
3925
|
}
|
|
3926
3926
|
}
|
|
3927
|
-
const
|
|
3928
|
-
function
|
|
3927
|
+
const Yn = /(?:Once|Passive|Capture)$/;
|
|
3928
|
+
function Lr(e) {
|
|
3929
3929
|
let t;
|
|
3930
|
-
if (
|
|
3930
|
+
if (Yn.test(e)) {
|
|
3931
3931
|
t = {};
|
|
3932
3932
|
let n;
|
|
3933
|
-
for (; n = e.match(
|
|
3933
|
+
for (; n = e.match(Yn); )
|
|
3934
3934
|
e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
|
|
3935
3935
|
}
|
|
3936
3936
|
return [e[2] === ":" ? e.slice(3) : vt(e.slice(2)), t];
|
|
3937
3937
|
}
|
|
3938
3938
|
let Vs = 0;
|
|
3939
|
-
const
|
|
3940
|
-
function
|
|
3939
|
+
const kr = /* @__PURE__ */ Promise.resolve(), Br = () => Vs || (kr.then(() => Vs = 0), Vs = Date.now());
|
|
3940
|
+
function jr(e, t) {
|
|
3941
3941
|
const s = (n) => {
|
|
3942
3942
|
if (!n._vts)
|
|
3943
3943
|
n._vts = Date.now();
|
|
3944
3944
|
else if (n._vts <= s.attached)
|
|
3945
3945
|
return;
|
|
3946
3946
|
Ze(
|
|
3947
|
-
|
|
3947
|
+
Hr(n, s.value),
|
|
3948
3948
|
t,
|
|
3949
3949
|
5,
|
|
3950
3950
|
[n]
|
|
3951
3951
|
);
|
|
3952
3952
|
};
|
|
3953
|
-
return s.value = e, s.attached =
|
|
3953
|
+
return s.value = e, s.attached = Br(), s;
|
|
3954
3954
|
}
|
|
3955
|
-
function
|
|
3955
|
+
function Hr(e, t) {
|
|
3956
3956
|
if (F(t)) {
|
|
3957
3957
|
const s = e.stopImmediatePropagation;
|
|
3958
3958
|
return e.stopImmediatePropagation = () => {
|
|
@@ -3963,16 +3963,16 @@ function jr(e, t) {
|
|
|
3963
3963
|
} else
|
|
3964
3964
|
return t;
|
|
3965
3965
|
}
|
|
3966
|
-
const
|
|
3967
|
-
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123,
|
|
3966
|
+
const zn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
3967
|
+
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Vr = (e, t, s, n, o, i) => {
|
|
3968
3968
|
const l = o === "svg";
|
|
3969
|
-
t === "class" ?
|
|
3970
|
-
(
|
|
3971
|
-
e._def.__asyncLoader && (/[A-Z]/.test(t) || !ce(n))) ?
|
|
3969
|
+
t === "class" ? Or(e, n, l) : t === "style" ? Ir(e, s, n) : gs(t) ? _s(t) || Rr(e, t, s, n, i) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Kr(e, t, n, l)) ? (Jn(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && qn(e, t, n, l, i, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && // #12408 check if it's declared prop or it's async custom element
|
|
3970
|
+
(Ur(e, t) || // @ts-expect-error _def is private
|
|
3971
|
+
e._def.__asyncLoader && (/[A-Z]/.test(t) || !ce(n))) ? Jn(e, Le(t), n, i, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), qn(e, t, n, l));
|
|
3972
3972
|
};
|
|
3973
|
-
function
|
|
3973
|
+
function Kr(e, t, s, n) {
|
|
3974
3974
|
if (n)
|
|
3975
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e &&
|
|
3975
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && zn(t) && R(s));
|
|
3976
3976
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
3977
3977
|
return !1;
|
|
3978
3978
|
if (t === "width" || t === "height") {
|
|
@@ -3980,9 +3980,9 @@ function Vr(e, t, s, n) {
|
|
|
3980
3980
|
if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE")
|
|
3981
3981
|
return !1;
|
|
3982
3982
|
}
|
|
3983
|
-
return
|
|
3983
|
+
return zn(t) && ce(s) ? !1 : t in e;
|
|
3984
3984
|
}
|
|
3985
|
-
function
|
|
3985
|
+
function Ur(e, t) {
|
|
3986
3986
|
const s = (
|
|
3987
3987
|
// @ts-expect-error _def is private
|
|
3988
3988
|
e._def.props
|
|
@@ -3992,7 +3992,7 @@ function Kr(e, t) {
|
|
|
3992
3992
|
const n = Le(t);
|
|
3993
3993
|
return Array.isArray(s) ? s.some((o) => Le(o) === n) : Object.keys(s).some((o) => Le(o) === n);
|
|
3994
3994
|
}
|
|
3995
|
-
const
|
|
3995
|
+
const Wr = ["ctrl", "shift", "alt", "meta"], qr = {
|
|
3996
3996
|
stop: (e) => e.stopPropagation(),
|
|
3997
3997
|
prevent: (e) => e.preventDefault(),
|
|
3998
3998
|
self: (e) => e.target !== e.currentTarget,
|
|
@@ -4003,53 +4003,53 @@ const Ur = ["ctrl", "shift", "alt", "meta"], Wr = {
|
|
|
4003
4003
|
left: (e) => "button" in e && e.button !== 0,
|
|
4004
4004
|
middle: (e) => "button" in e && e.button !== 1,
|
|
4005
4005
|
right: (e) => "button" in e && e.button !== 2,
|
|
4006
|
-
exact: (e, t) =>
|
|
4007
|
-
},
|
|
4006
|
+
exact: (e, t) => Wr.some((s) => e[`${s}Key`] && !t.includes(s))
|
|
4007
|
+
}, bn = (e, t) => {
|
|
4008
4008
|
if (!e) return e;
|
|
4009
4009
|
const s = e._withMods || (e._withMods = {}), n = t.join(".");
|
|
4010
4010
|
return s[n] || (s[n] = (o, ...i) => {
|
|
4011
4011
|
for (let l = 0; l < t.length; l++) {
|
|
4012
|
-
const r =
|
|
4012
|
+
const r = qr[t[l]];
|
|
4013
4013
|
if (r && r(o, t)) return;
|
|
4014
4014
|
}
|
|
4015
4015
|
return e(o, ...i);
|
|
4016
4016
|
});
|
|
4017
|
-
},
|
|
4018
|
-
let
|
|
4019
|
-
function
|
|
4020
|
-
return
|
|
4017
|
+
}, Jr = /* @__PURE__ */ pe({ patchProp: Vr }, Ar);
|
|
4018
|
+
let Xn;
|
|
4019
|
+
function Gr() {
|
|
4020
|
+
return Xn || (Xn = lr(Jr));
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4023
|
-
const t =
|
|
4022
|
+
const Yr = (...e) => {
|
|
4023
|
+
const t = Gr().createApp(...e), { mount: s } = t;
|
|
4024
4024
|
return t.mount = (n) => {
|
|
4025
|
-
const o =
|
|
4025
|
+
const o = Xr(n);
|
|
4026
4026
|
if (!o) return;
|
|
4027
4027
|
const i = t._component;
|
|
4028
4028
|
!R(i) && !i.render && !i.template && (i.template = o.innerHTML), o.nodeType === 1 && (o.textContent = "");
|
|
4029
|
-
const l = s(o, !1,
|
|
4029
|
+
const l = s(o, !1, zr(o));
|
|
4030
4030
|
return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), l;
|
|
4031
4031
|
}, t;
|
|
4032
4032
|
};
|
|
4033
|
-
function
|
|
4033
|
+
function zr(e) {
|
|
4034
4034
|
if (e instanceof SVGElement)
|
|
4035
4035
|
return "svg";
|
|
4036
4036
|
if (typeof MathMLElement == "function" && e instanceof MathMLElement)
|
|
4037
4037
|
return "mathml";
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function Xr(e) {
|
|
4040
4040
|
return ce(e) ? document.querySelector(e) : e;
|
|
4041
4041
|
}
|
|
4042
|
-
const
|
|
4043
|
-
function
|
|
4044
|
-
|
|
4042
|
+
const hi = /* @__PURE__ */ Symbol("OpenCodeWidgetContext");
|
|
4043
|
+
function Zr(e) {
|
|
4044
|
+
No(hi, e);
|
|
4045
4045
|
}
|
|
4046
4046
|
function bt() {
|
|
4047
|
-
const e = kt(
|
|
4047
|
+
const e = kt(hi);
|
|
4048
4048
|
if (!e)
|
|
4049
4049
|
throw new Error("useOpenCodeWidgetContext must be used within OpenCodeWidget");
|
|
4050
4050
|
return e;
|
|
4051
4051
|
}
|
|
4052
|
-
const
|
|
4052
|
+
const pi = /* @__PURE__ */ ft({
|
|
4053
4053
|
__name: "Frame",
|
|
4054
4054
|
setup(e, { expose: t }) {
|
|
4055
4055
|
t();
|
|
@@ -4063,9 +4063,9 @@ const hi = /* @__PURE__ */ ft({
|
|
|
4063
4063
|
} = bt(), c = { loading: s, showEmptyState: n, iframeSrc: o, emptyStateText: i, emptyStateActionText: l, handleEmptyAction: r };
|
|
4064
4064
|
return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
|
|
4065
4065
|
}
|
|
4066
|
-
}),
|
|
4067
|
-
function
|
|
4068
|
-
return J(), ee("div",
|
|
4066
|
+
}), Qr = { class: "opencode-iframe-container" }, ec = { class: "opencode-empty-state-text" }, tc = ["src"];
|
|
4067
|
+
function sc(e, t, s, n, o, i) {
|
|
4068
|
+
return J(), ee("div", Qr, [
|
|
4069
4069
|
E(
|
|
4070
4070
|
"div",
|
|
4071
4071
|
{
|
|
@@ -4098,7 +4098,7 @@ function tc(e, t, s, n, o, i) {
|
|
|
4098
4098
|
)),
|
|
4099
4099
|
E(
|
|
4100
4100
|
"div",
|
|
4101
|
-
|
|
4101
|
+
ec,
|
|
4102
4102
|
we(n.emptyStateText),
|
|
4103
4103
|
1
|
|
4104
4104
|
/* TEXT */
|
|
@@ -4151,13 +4151,13 @@ function tc(e, t, s, n, o, i) {
|
|
|
4151
4151
|
src: n.iframeSrc,
|
|
4152
4152
|
allow: "clipboard-write; clipboard-read",
|
|
4153
4153
|
referrerpolicy: "origin"
|
|
4154
|
-
}, null, 8,
|
|
4154
|
+
}, null, 8, tc)
|
|
4155
4155
|
])
|
|
4156
4156
|
]);
|
|
4157
4157
|
}
|
|
4158
|
-
|
|
4159
|
-
var
|
|
4160
|
-
const
|
|
4158
|
+
pi.render = sc;
|
|
4159
|
+
var nc = pi;
|
|
4160
|
+
const gi = /* @__PURE__ */ ft({
|
|
4161
4161
|
__name: "Header",
|
|
4162
4162
|
setup(e, { expose: t }) {
|
|
4163
4163
|
t();
|
|
@@ -4173,10 +4173,10 @@ const pi = /* @__PURE__ */ ft({
|
|
|
4173
4173
|
} = bt(), a = { title: s, sessionListTitle: n, sessionListCollapsed: o, selectMode: i, selectEnabled: l, handleToggleSessionList: r, handleToggleSelectMode: c, handleClose: d };
|
|
4174
4174
|
return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
|
|
4175
4175
|
}
|
|
4176
|
-
}),
|
|
4177
|
-
function
|
|
4178
|
-
return J(), ee("div",
|
|
4179
|
-
E("div",
|
|
4176
|
+
}), oc = { class: "opencode-chat-header" }, ic = { class: "opencode-chat-header-left" }, lc = ["title", "aria-label", "aria-expanded"], rc = ["aria-pressed", "disabled"], cc = { class: "opencode-chat-header-title" }, uc = { class: "opencode-chat-header-actions" };
|
|
4177
|
+
function ac(e, t, s, n, o, i) {
|
|
4178
|
+
return J(), ee("div", oc, [
|
|
4179
|
+
E("div", ic, [
|
|
4180
4180
|
E("button", {
|
|
4181
4181
|
class: "opencode-header-btn session-toggle",
|
|
4182
4182
|
type: "button",
|
|
@@ -4207,7 +4207,7 @@ function uc(e, t, s, n, o, i) {
|
|
|
4207
4207
|
/* CACHED */
|
|
4208
4208
|
))
|
|
4209
4209
|
])
|
|
4210
|
-
], 8,
|
|
4210
|
+
], 8, lc),
|
|
4211
4211
|
E("button", {
|
|
4212
4212
|
class: Te(["opencode-header-btn select-btn", { active: n.selectMode }]),
|
|
4213
4213
|
type: "button",
|
|
@@ -4240,16 +4240,16 @@ function uc(e, t, s, n, o, i) {
|
|
|
4240
4240
|
/* CACHED */
|
|
4241
4241
|
))
|
|
4242
4242
|
])
|
|
4243
|
-
], 10,
|
|
4243
|
+
], 10, rc)
|
|
4244
4244
|
]),
|
|
4245
4245
|
E(
|
|
4246
4246
|
"span",
|
|
4247
|
-
|
|
4247
|
+
cc,
|
|
4248
4248
|
we(n.title),
|
|
4249
4249
|
1
|
|
4250
4250
|
/* TEXT */
|
|
4251
4251
|
),
|
|
4252
|
-
E("div",
|
|
4252
|
+
E("div", uc, [
|
|
4253
4253
|
E("button", {
|
|
4254
4254
|
class: "opencode-header-btn close",
|
|
4255
4255
|
type: "button",
|
|
@@ -4280,17 +4280,17 @@ function uc(e, t, s, n, o, i) {
|
|
|
4280
4280
|
])
|
|
4281
4281
|
]);
|
|
4282
4282
|
}
|
|
4283
|
-
|
|
4284
|
-
var
|
|
4285
|
-
const
|
|
4283
|
+
gi.render = ac;
|
|
4284
|
+
var fc = gi;
|
|
4285
|
+
const _i = /* @__PURE__ */ ft({
|
|
4286
4286
|
__name: "SelectHint",
|
|
4287
4287
|
setup(e, { expose: t }) {
|
|
4288
4288
|
t();
|
|
4289
4289
|
const { selectMode: s, selectShortcutLabel: n } = bt(), o = { visible: s, shortcutLabel: n };
|
|
4290
4290
|
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
4291
4291
|
}
|
|
4292
|
-
}),
|
|
4293
|
-
function
|
|
4292
|
+
}), dc = { class: "opencode-hint-shortcut" };
|
|
4293
|
+
function hc(e, t, s, n, o, i) {
|
|
4294
4294
|
return J(), ee(
|
|
4295
4295
|
"div",
|
|
4296
4296
|
{
|
|
@@ -4306,7 +4306,7 @@ function dc(e, t, s, n, o, i) {
|
|
|
4306
4306
|
)),
|
|
4307
4307
|
E(
|
|
4308
4308
|
"span",
|
|
4309
|
-
|
|
4309
|
+
dc,
|
|
4310
4310
|
we(n.shortcutLabel),
|
|
4311
4311
|
1
|
|
4312
4312
|
/* TEXT */
|
|
@@ -4316,9 +4316,9 @@ function dc(e, t, s, n, o, i) {
|
|
|
4316
4316
|
/* CLASS */
|
|
4317
4317
|
);
|
|
4318
4318
|
}
|
|
4319
|
-
|
|
4320
|
-
var
|
|
4321
|
-
const
|
|
4319
|
+
_i.render = hc;
|
|
4320
|
+
var pc = _i;
|
|
4321
|
+
const mi = /* @__PURE__ */ ft({
|
|
4322
4322
|
__name: "SelectedBubbles",
|
|
4323
4323
|
setup(e, { expose: t }) {
|
|
4324
4324
|
t();
|
|
@@ -4330,14 +4330,14 @@ const _i = /* @__PURE__ */ ft({
|
|
|
4330
4330
|
} = bt(), l = { visible: s, items: n, handleClickSelectedNode: o, handleRemoveSelectedNode: i };
|
|
4331
4331
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
4332
4332
|
}
|
|
4333
|
-
}),
|
|
4333
|
+
}), gc = {
|
|
4334
4334
|
key: 0,
|
|
4335
4335
|
class: "opencode-bubble-empty"
|
|
4336
|
-
},
|
|
4336
|
+
}, _c = ["onClick"], mc = { class: "opencode-bubble-text" }, vc = {
|
|
4337
4337
|
key: 0,
|
|
4338
4338
|
class: "opencode-bubble-file"
|
|
4339
|
-
},
|
|
4340
|
-
function
|
|
4339
|
+
}, bc = ["aria-label", "onClick"];
|
|
4340
|
+
function yc(e, t, s, n, o, i) {
|
|
4341
4341
|
return J(), ee(
|
|
4342
4342
|
"div",
|
|
4343
4343
|
{
|
|
@@ -4346,7 +4346,7 @@ function bc(e, t, s, n, o, i) {
|
|
|
4346
4346
|
"aria-label": "已选元素列表"
|
|
4347
4347
|
},
|
|
4348
4348
|
[
|
|
4349
|
-
n.items.length === 0 ? (J(), ee("div",
|
|
4349
|
+
n.items.length === 0 ? (J(), ee("div", gc, "暂无选中元素")) : (J(!0), ee(
|
|
4350
4350
|
ue,
|
|
4351
4351
|
{ key: 1 },
|
|
4352
4352
|
us(n.items, (l, r) => (J(), ee("div", {
|
|
@@ -4357,14 +4357,14 @@ function bc(e, t, s, n, o, i) {
|
|
|
4357
4357
|
}, [
|
|
4358
4358
|
E(
|
|
4359
4359
|
"span",
|
|
4360
|
-
|
|
4360
|
+
mc,
|
|
4361
4361
|
we(l.description),
|
|
4362
4362
|
1
|
|
4363
4363
|
/* TEXT */
|
|
4364
4364
|
),
|
|
4365
4365
|
l.bubbleFileText ? (J(), ee(
|
|
4366
4366
|
"span",
|
|
4367
|
-
|
|
4367
|
+
vc,
|
|
4368
4368
|
we(l.bubbleFileText),
|
|
4369
4369
|
1
|
|
4370
4370
|
/* TEXT */
|
|
@@ -4373,9 +4373,9 @@ function bc(e, t, s, n, o, i) {
|
|
|
4373
4373
|
class: "opencode-bubble-remove",
|
|
4374
4374
|
type: "button",
|
|
4375
4375
|
"aria-label": `移除元素: ${l.description}`,
|
|
4376
|
-
onClick:
|
|
4377
|
-
}, " × ", 8,
|
|
4378
|
-
], 8,
|
|
4376
|
+
onClick: bn((c) => n.handleRemoveSelectedNode({ item: l, index: r, source: "bubble" }), ["stop"])
|
|
4377
|
+
}, " × ", 8, bc)
|
|
4378
|
+
], 8, _c))),
|
|
4379
4379
|
128
|
|
4380
4380
|
/* KEYED_FRAGMENT */
|
|
4381
4381
|
))
|
|
@@ -4384,9 +4384,9 @@ function bc(e, t, s, n, o, i) {
|
|
|
4384
4384
|
/* CLASS */
|
|
4385
4385
|
);
|
|
4386
4386
|
}
|
|
4387
|
-
|
|
4388
|
-
var
|
|
4389
|
-
const
|
|
4387
|
+
mi.render = yc;
|
|
4388
|
+
var Sc = mi;
|
|
4389
|
+
const vi = /* @__PURE__ */ ft({
|
|
4390
4390
|
__name: "SelectedNodes",
|
|
4391
4391
|
setup(e, { expose: t }) {
|
|
4392
4392
|
t();
|
|
@@ -4399,12 +4399,12 @@ const mi = /* @__PURE__ */ ft({
|
|
|
4399
4399
|
} = bt(), r = { items: s, showClearAll: n, handleClickSelectedNode: o, handleRemoveSelectedNode: i, handleClearSelectedNodes: l };
|
|
4400
4400
|
return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
|
|
4401
4401
|
}
|
|
4402
|
-
}),
|
|
4402
|
+
}), xc = {
|
|
4403
4403
|
class: "opencode-selected-nodes",
|
|
4404
4404
|
role: "list",
|
|
4405
4405
|
"aria-label": "已选元素列表"
|
|
4406
|
-
},
|
|
4407
|
-
function
|
|
4406
|
+
}, wc = ["onClick"], Cc = { class: "opencode-node-content" }, Ec = { class: "opencode-node-text" }, Tc = { class: "opencode-node-file" }, Ac = ["aria-label", "onClick"];
|
|
4407
|
+
function Mc(e, t, s, n, o, i) {
|
|
4408
4408
|
return J(), ee(
|
|
4409
4409
|
"div",
|
|
4410
4410
|
{
|
|
@@ -4421,7 +4421,7 @@ function Ac(e, t, s, n, o, i) {
|
|
|
4421
4421
|
-1
|
|
4422
4422
|
/* CACHED */
|
|
4423
4423
|
)),
|
|
4424
|
-
E("div",
|
|
4424
|
+
E("div", xc, [
|
|
4425
4425
|
(J(!0), ee(
|
|
4426
4426
|
ue,
|
|
4427
4427
|
null,
|
|
@@ -4431,17 +4431,17 @@ function Ac(e, t, s, n, o, i) {
|
|
|
4431
4431
|
role: "listitem",
|
|
4432
4432
|
onClick: (c) => n.handleClickSelectedNode(l)
|
|
4433
4433
|
}, [
|
|
4434
|
-
E("div",
|
|
4434
|
+
E("div", Cc, [
|
|
4435
4435
|
E(
|
|
4436
4436
|
"span",
|
|
4437
|
-
|
|
4437
|
+
Ec,
|
|
4438
4438
|
we(l.description),
|
|
4439
4439
|
1
|
|
4440
4440
|
/* TEXT */
|
|
4441
4441
|
),
|
|
4442
4442
|
E(
|
|
4443
4443
|
"span",
|
|
4444
|
-
|
|
4444
|
+
Tc,
|
|
4445
4445
|
we(l.panelFileText),
|
|
4446
4446
|
1
|
|
4447
4447
|
/* TEXT */
|
|
@@ -4451,9 +4451,9 @@ function Ac(e, t, s, n, o, i) {
|
|
|
4451
4451
|
class: "opencode-node-remove",
|
|
4452
4452
|
type: "button",
|
|
4453
4453
|
"aria-label": `移除元素: ${l.description}`,
|
|
4454
|
-
onClick:
|
|
4455
|
-
}, " × ", 8,
|
|
4456
|
-
], 8,
|
|
4454
|
+
onClick: bn((c) => n.handleRemoveSelectedNode({ item: l, index: r, source: "panel" }), ["stop"])
|
|
4455
|
+
}, " × ", 8, Ac)
|
|
4456
|
+
], 8, wc))),
|
|
4457
4457
|
128
|
|
4458
4458
|
/* KEYED_FRAGMENT */
|
|
4459
4459
|
))
|
|
@@ -4470,9 +4470,9 @@ function Ac(e, t, s, n, o, i) {
|
|
|
4470
4470
|
/* CLASS */
|
|
4471
4471
|
);
|
|
4472
4472
|
}
|
|
4473
|
-
|
|
4474
|
-
var
|
|
4475
|
-
const
|
|
4473
|
+
vi.render = Mc;
|
|
4474
|
+
var Oc = vi;
|
|
4475
|
+
const bi = /* @__PURE__ */ ft({
|
|
4476
4476
|
__name: "SessionList",
|
|
4477
4477
|
setup(e, { expose: t }) {
|
|
4478
4478
|
t();
|
|
@@ -4498,21 +4498,21 @@ const vi = /* @__PURE__ */ ft({
|
|
|
4498
4498
|
}, showSkeleton: h };
|
|
4499
4499
|
return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
|
|
4500
4500
|
}
|
|
4501
|
-
}),
|
|
4501
|
+
}), Pc = {
|
|
4502
4502
|
key: 0,
|
|
4503
4503
|
class: "opencode-session-list-header"
|
|
4504
|
-
},
|
|
4504
|
+
}, Dc = {
|
|
4505
4505
|
key: 2,
|
|
4506
4506
|
class: "opencode-session-skeleton visible"
|
|
4507
|
-
},
|
|
4507
|
+
}, Ic = {
|
|
4508
4508
|
class: "opencode-session-list-content",
|
|
4509
4509
|
role: "listbox",
|
|
4510
4510
|
"aria-labelledby": "opencode-session-list-title"
|
|
4511
|
-
},
|
|
4511
|
+
}, Fc = {
|
|
4512
4512
|
key: 0,
|
|
4513
4513
|
class: "opencode-session-list-loading-overlay"
|
|
4514
|
-
},
|
|
4515
|
-
function
|
|
4514
|
+
}, $c = ["aria-selected", "onClick"], Nc = { class: "opencode-session-header" }, Rc = { class: "opencode-session-title" }, Lc = ["aria-label", "onClick"], kc = { class: "opencode-session-meta" };
|
|
4515
|
+
function Bc(e, t, s, n, o, i) {
|
|
4516
4516
|
return J(), ee(
|
|
4517
4517
|
"div",
|
|
4518
4518
|
{
|
|
@@ -4538,7 +4538,7 @@ function kc(e, t, s, n, o, i) {
|
|
|
4538
4538
|
],
|
|
4539
4539
|
2112
|
|
4540
4540
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
4541
|
-
)) : (J(), ee("div",
|
|
4541
|
+
)) : (J(), ee("div", Pc, [
|
|
4542
4542
|
t[1] || (t[1] = E(
|
|
4543
4543
|
"span",
|
|
4544
4544
|
{ id: "opencode-session-list-title" },
|
|
@@ -4555,7 +4555,7 @@ function kc(e, t, s, n, o, i) {
|
|
|
4555
4555
|
}, " + ")
|
|
4556
4556
|
])),
|
|
4557
4557
|
ye(" Content Skeleton "),
|
|
4558
|
-
n.showSkeleton ? (J(), ee("div",
|
|
4558
|
+
n.showSkeleton ? (J(), ee("div", Dc, [
|
|
4559
4559
|
(J(), ee(
|
|
4560
4560
|
ue,
|
|
4561
4561
|
null,
|
|
@@ -4586,8 +4586,8 @@ function kc(e, t, s, n, o, i) {
|
|
|
4586
4586
|
{ key: 3 },
|
|
4587
4587
|
[
|
|
4588
4588
|
ye(" Content "),
|
|
4589
|
-
E("div",
|
|
4590
|
-
n.loadingSessionList ? (J(), ee("div",
|
|
4589
|
+
E("div", Ic, [
|
|
4590
|
+
n.loadingSessionList ? (J(), ee("div", Fc, [...t[4] || (t[4] = [
|
|
4591
4591
|
E(
|
|
4592
4592
|
"div",
|
|
4593
4593
|
{ class: "opencode-loading-spinner small" },
|
|
@@ -4606,10 +4606,10 @@ function kc(e, t, s, n, o, i) {
|
|
|
4606
4606
|
"aria-selected": l.active,
|
|
4607
4607
|
onClick: (r) => n.handleSelectSession(l)
|
|
4608
4608
|
}, [
|
|
4609
|
-
E("div",
|
|
4609
|
+
E("div", Nc, [
|
|
4610
4610
|
E(
|
|
4611
4611
|
"div",
|
|
4612
|
-
|
|
4612
|
+
Rc,
|
|
4613
4613
|
we(l.title),
|
|
4614
4614
|
1
|
|
4615
4615
|
/* TEXT */
|
|
@@ -4618,17 +4618,17 @@ function kc(e, t, s, n, o, i) {
|
|
|
4618
4618
|
class: "opencode-session-delete-btn",
|
|
4619
4619
|
type: "button",
|
|
4620
4620
|
"aria-label": `删除会话: ${l.title}`,
|
|
4621
|
-
onClick:
|
|
4622
|
-
}, " × ", 8,
|
|
4621
|
+
onClick: bn((r) => n.handleDeleteSession(l), ["stop"])
|
|
4622
|
+
}, " × ", 8, Lc)
|
|
4623
4623
|
]),
|
|
4624
4624
|
E(
|
|
4625
4625
|
"div",
|
|
4626
|
-
|
|
4626
|
+
kc,
|
|
4627
4627
|
we(l.meta),
|
|
4628
4628
|
1
|
|
4629
4629
|
/* TEXT */
|
|
4630
4630
|
)
|
|
4631
|
-
], 10,
|
|
4631
|
+
], 10, $c))),
|
|
4632
4632
|
128
|
|
4633
4633
|
/* KEYED_FRAGMENT */
|
|
4634
4634
|
)) : (J(), ee(
|
|
@@ -4651,17 +4651,17 @@ function kc(e, t, s, n, o, i) {
|
|
|
4651
4651
|
/* CLASS */
|
|
4652
4652
|
);
|
|
4653
4653
|
}
|
|
4654
|
-
|
|
4655
|
-
var
|
|
4656
|
-
const
|
|
4654
|
+
bi.render = Bc;
|
|
4655
|
+
var jc = bi;
|
|
4656
|
+
const yi = /* @__PURE__ */ ft({
|
|
4657
4657
|
__name: "Trigger",
|
|
4658
4658
|
setup(e, { expose: t }) {
|
|
4659
4659
|
t();
|
|
4660
4660
|
const { buttonActive: s, open: n, hotkeyLabel: o, handleToggle: i } = bt(), l = { active: s, open: n, hotkeyLabel: o, handleToggle: i };
|
|
4661
4661
|
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
4662
4662
|
}
|
|
4663
|
-
}),
|
|
4664
|
-
function
|
|
4663
|
+
}), Hc = ["aria-expanded", "title"];
|
|
4664
|
+
function Vc(e, t, s, n, o, i) {
|
|
4665
4665
|
return J(), ee("button", {
|
|
4666
4666
|
class: Te(["opencode-button", { active: n.active }]),
|
|
4667
4667
|
type: "button",
|
|
@@ -4705,10 +4705,10 @@ function Hc(e, t, s, n, o, i) {
|
|
|
4705
4705
|
/* CACHED */
|
|
4706
4706
|
))
|
|
4707
4707
|
])
|
|
4708
|
-
], 10,
|
|
4708
|
+
], 10, Hc);
|
|
4709
4709
|
}
|
|
4710
|
-
|
|
4711
|
-
var
|
|
4710
|
+
yi.render = Vc;
|
|
4711
|
+
var Kc = yi, Uc = (e, t, s) => new Promise((n, o) => {
|
|
4712
4712
|
var i = (c) => {
|
|
4713
4713
|
try {
|
|
4714
4714
|
r(s.next(c));
|
|
@@ -4724,31 +4724,31 @@ var Vc = bi, Kc = (e, t, s) => new Promise((n, o) => {
|
|
|
4724
4724
|
}, r = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(i, l);
|
|
4725
4725
|
r((s = s.apply(e, t)).next());
|
|
4726
4726
|
});
|
|
4727
|
-
function
|
|
4727
|
+
function Wc(e, t) {
|
|
4728
4728
|
return e.length <= t ? e : `${e.slice(0, t)}...`;
|
|
4729
4729
|
}
|
|
4730
|
-
function
|
|
4730
|
+
function qc(e, t) {
|
|
4731
4731
|
var s;
|
|
4732
4732
|
return e.filePath && e.line ? `${e.filePath}:${e.line}:${(s = e.column) != null ? s : 0}` : `${e.description}-${t}`;
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function Jc(e) {
|
|
4735
4735
|
var t;
|
|
4736
4736
|
const s = ((t = e.filePath) == null ? void 0 : t.split("/").pop()) || "", n = e.line ? `:${e.line}${e.column ? `:${e.column}` : ""}` : "";
|
|
4737
4737
|
return `${s}${n}`;
|
|
4738
4738
|
}
|
|
4739
|
-
function
|
|
4739
|
+
function Gc(e) {
|
|
4740
4740
|
var t, s;
|
|
4741
4741
|
const n = ((t = e.filePath) == null ? void 0 : t.split("/").pop()) || "未知文件", o = e.line ? `:${e.line}${e.column ? `:${e.column}` : ""}` : "";
|
|
4742
|
-
return `${(s = e.innerText) != null && s.trim() ? `${
|
|
4742
|
+
return `${(s = e.innerText) != null && s.trim() ? `${Wc(e.innerText.trim(), 30)} · ` : ""}${n}${o}`;
|
|
4743
4743
|
}
|
|
4744
|
-
function
|
|
4744
|
+
function Yc(e) {
|
|
4745
4745
|
const t = Re(() => e.selectMode.value), s = Re(
|
|
4746
4746
|
() => (e.selectedElements.value || []).map(
|
|
4747
4747
|
(c, d) => ({
|
|
4748
|
-
key:
|
|
4748
|
+
key: qc(c, d),
|
|
4749
4749
|
description: c.description || "未知元素",
|
|
4750
|
-
bubbleFileText:
|
|
4751
|
-
panelFileText:
|
|
4750
|
+
bubbleFileText: Jc(c),
|
|
4751
|
+
panelFileText: Gc(c),
|
|
4752
4752
|
element: c
|
|
4753
4753
|
})
|
|
4754
4754
|
)
|
|
@@ -4796,7 +4796,7 @@ function Gc(e) {
|
|
|
4796
4796
|
e.onRemoveSelectedNode({ element: c.element, index: d, source: a });
|
|
4797
4797
|
}
|
|
4798
4798
|
function r() {
|
|
4799
|
-
return
|
|
4799
|
+
return Uc(this, null, function* () {
|
|
4800
4800
|
if (!e.selectedElements.value || e.selectedElements.value.length === 0) return;
|
|
4801
4801
|
(yield e.showConfirmDialog(
|
|
4802
4802
|
`确定要清空所有 ${e.selectedElements.value.length} 个已选节点吗?`
|
|
@@ -4813,7 +4813,7 @@ function Gc(e) {
|
|
|
4813
4813
|
handleToggleSelectMode: o
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
|
-
var
|
|
4816
|
+
var zc = (e, t, s) => new Promise((n, o) => {
|
|
4817
4817
|
var i = (c) => {
|
|
4818
4818
|
try {
|
|
4819
4819
|
r(s.next(c));
|
|
@@ -4829,7 +4829,7 @@ var Yc = (e, t, s) => new Promise((n, o) => {
|
|
|
4829
4829
|
}, r = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(i, l);
|
|
4830
4830
|
r((s = s.apply(e, t)).next());
|
|
4831
4831
|
});
|
|
4832
|
-
function
|
|
4832
|
+
function Xc(e) {
|
|
4833
4833
|
if (e.meta)
|
|
4834
4834
|
return e.meta;
|
|
4835
4835
|
if (!e.updatedAt)
|
|
@@ -4837,12 +4837,13 @@ function zc(e) {
|
|
|
4837
4837
|
const t = new Date(e.updatedAt);
|
|
4838
4838
|
return Number.isNaN(t.getTime()) ? "" : `${t.toLocaleDateString()} ${t.toLocaleTimeString()}`;
|
|
4839
4839
|
}
|
|
4840
|
-
function
|
|
4840
|
+
function Zc(e) {
|
|
4841
4841
|
const t = Re(
|
|
4842
4842
|
() => (e.sessions.value || []).map((i) => ({
|
|
4843
4843
|
key: i.id,
|
|
4844
|
+
id: i.id,
|
|
4844
4845
|
title: i.title || "新会话",
|
|
4845
|
-
meta:
|
|
4846
|
+
meta: Xc(i),
|
|
4846
4847
|
active: i.id === e.currentSessionId.value,
|
|
4847
4848
|
session: i
|
|
4848
4849
|
}))
|
|
@@ -4854,7 +4855,7 @@ function Xc(e) {
|
|
|
4854
4855
|
e.onSelectSession(i.session);
|
|
4855
4856
|
}
|
|
4856
4857
|
function o(i) {
|
|
4857
|
-
return
|
|
4858
|
+
return zc(this, null, function* () {
|
|
4858
4859
|
(yield e.showConfirmDialog(`确定要删除会话 "${i.title}" 吗?`)) && e.onDeleteSession(i.session);
|
|
4859
4860
|
});
|
|
4860
4861
|
}
|
|
@@ -4865,7 +4866,7 @@ function Xc(e) {
|
|
|
4865
4866
|
handleSelectSession: n
|
|
4866
4867
|
};
|
|
4867
4868
|
}
|
|
4868
|
-
function
|
|
4869
|
+
function Qc(e) {
|
|
4869
4870
|
const t = Re(() => [
|
|
4870
4871
|
"opencode-widget",
|
|
4871
4872
|
e.position.value,
|
|
@@ -4902,10 +4903,10 @@ function Zc(e) {
|
|
|
4902
4903
|
handleToggleSessionList: r
|
|
4903
4904
|
};
|
|
4904
4905
|
}
|
|
4905
|
-
function
|
|
4906
|
+
function eu(e, t) {
|
|
4906
4907
|
return e ? e.length > t ? e.substring(0, t) + "..." : e : "";
|
|
4907
4908
|
}
|
|
4908
|
-
function
|
|
4909
|
+
function tu(e) {
|
|
4909
4910
|
let t = "";
|
|
4910
4911
|
for (let s = 0; s < e.childNodes.length; s++) {
|
|
4911
4912
|
const n = e.childNodes[s];
|
|
@@ -4913,7 +4914,7 @@ function eu(e) {
|
|
|
4913
4914
|
}
|
|
4914
4915
|
return t.trim();
|
|
4915
4916
|
}
|
|
4916
|
-
function
|
|
4917
|
+
function Zn(e) {
|
|
4917
4918
|
const s = [e.tagName.toLowerCase()], n = e.id;
|
|
4918
4919
|
if (n && s.push(`#${n}`), typeof e.className == "string") {
|
|
4919
4920
|
const c = e.className.trim().split(/\s+/).filter(Boolean).slice(0, 2).join(".");
|
|
@@ -4926,7 +4927,7 @@ function Xn(e) {
|
|
|
4926
4927
|
const r = e.getAttribute("href");
|
|
4927
4928
|
return r && r !== "#" && s.push("[href]"), s.join("");
|
|
4928
4929
|
}
|
|
4929
|
-
function
|
|
4930
|
+
function su(e) {
|
|
4930
4931
|
const t = /* @__PURE__ */ se(!1), s = /* @__PURE__ */ se({
|
|
4931
4932
|
top: "0px",
|
|
4932
4933
|
left: "0px",
|
|
@@ -4954,7 +4955,7 @@ function tu(e) {
|
|
|
4954
4955
|
border: `2px solid ${k}`,
|
|
4955
4956
|
background: I
|
|
4956
4957
|
};
|
|
4957
|
-
const j =
|
|
4958
|
+
const j = Zn(x), A = O.file ? O.file.split("/").pop() : "";
|
|
4958
4959
|
let H = "";
|
|
4959
4960
|
O.line && (H = `:${O.line}`, O.column && (H += `:${O.column}`)), i.value = {
|
|
4960
4961
|
description: j,
|
|
@@ -4978,11 +4979,11 @@ function tu(e) {
|
|
|
4978
4979
|
if (e.selectMode.value) {
|
|
4979
4980
|
const { targetNode: k, params: I } = h.getTargetNode(x);
|
|
4980
4981
|
if (k && I) {
|
|
4981
|
-
const j =
|
|
4982
|
+
const j = tu(k), A = Zn(k), H = {
|
|
4982
4983
|
filePath: (O = I.file) != null ? O : null,
|
|
4983
4984
|
line: (T = I.line) != null ? T : null,
|
|
4984
4985
|
column: (B = I.column) != null ? B : null,
|
|
4985
|
-
innerText:
|
|
4986
|
+
innerText: eu(j, 200),
|
|
4986
4987
|
description: A
|
|
4987
4988
|
};
|
|
4988
4989
|
e.onAddSelectedNode(H);
|
|
@@ -4998,11 +4999,11 @@ function tu(e) {
|
|
|
4998
4999
|
return mt(e.selectMode, (h) => {
|
|
4999
5000
|
const b = window.__VUE_INSPECTOR__;
|
|
5000
5001
|
h ? (b && b.enable(), document.addEventListener("mousemove", c), document.addEventListener("keydown", a, !0)) : (b && b.disable(), document.removeEventListener("mousemove", c), document.removeEventListener("keydown", a, !0), t.value = !1, n.value = !1);
|
|
5001
|
-
}),
|
|
5002
|
+
}), pn(() => {
|
|
5002
5003
|
window.__VUE_INSPECTOR__ ? d() : r = window.setInterval(() => {
|
|
5003
5004
|
window.__VUE_INSPECTOR__ && (d(), r && (window.clearInterval(r), r = null));
|
|
5004
5005
|
}, l);
|
|
5005
|
-
}),
|
|
5006
|
+
}), gn(() => {
|
|
5006
5007
|
r && window.clearInterval(r), document.removeEventListener("mousemove", c), document.removeEventListener("keydown", a, !0);
|
|
5007
5008
|
}), {
|
|
5008
5009
|
highlightVisible: t,
|
|
@@ -5012,15 +5013,15 @@ function tu(e) {
|
|
|
5012
5013
|
tooltipContent: i
|
|
5013
5014
|
};
|
|
5014
5015
|
}
|
|
5015
|
-
var
|
|
5016
|
+
var nu = Object.defineProperty, ou = Object.defineProperties, iu = Object.getOwnPropertyDescriptors, Qn = Object.getOwnPropertySymbols, lu = Object.prototype.hasOwnProperty, ru = Object.prototype.propertyIsEnumerable, eo = (e, t, s) => t in e ? nu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, en = (e, t) => {
|
|
5016
5017
|
for (var s in t || (t = {}))
|
|
5017
|
-
|
|
5018
|
-
if (
|
|
5019
|
-
for (var s of
|
|
5020
|
-
|
|
5018
|
+
lu.call(t, s) && eo(e, s, t[s]);
|
|
5019
|
+
if (Qn)
|
|
5020
|
+
for (var s of Qn(t))
|
|
5021
|
+
ru.call(t, s) && eo(e, s, t[s]);
|
|
5021
5022
|
return e;
|
|
5022
|
-
},
|
|
5023
|
-
const
|
|
5023
|
+
}, cu = (e, t) => ou(e, iu(t));
|
|
5024
|
+
const Si = /* @__PURE__ */ ft(cu(en({}, {
|
|
5024
5025
|
name: "OpencodeWidget"
|
|
5025
5026
|
}), {
|
|
5026
5027
|
__name: "index",
|
|
@@ -5048,7 +5049,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5048
5049
|
},
|
|
5049
5050
|
emits: ["update:open", "update:selectMode", "update:sessionListCollapsed", "update:currentSessionId", "update:selectedElements", "toggle", "close", "toggle-session-list", "toggle-select-mode", "create-session", "select-session", "delete-session", "click-selected-node", "remove-selected-node", "clear-selected-nodes", "empty-action"],
|
|
5050
5051
|
setup(e, { expose: t, emit: s }) {
|
|
5051
|
-
const n = e, o = s, i =
|
|
5052
|
+
const n = e, o = s, i = kl(), l = /* @__PURE__ */ se(""), r = /* @__PURE__ */ se(!1);
|
|
5052
5053
|
let c = null;
|
|
5053
5054
|
const d = (L, Ne = 3e3) => {
|
|
5054
5055
|
l.value = L, r.value = !0, c && clearTimeout(c), c = setTimeout(() => {
|
|
@@ -5083,7 +5084,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5083
5084
|
handleEmptyAction: ne,
|
|
5084
5085
|
handleToggle: oe,
|
|
5085
5086
|
handleToggleSessionList: fe
|
|
5086
|
-
} =
|
|
5087
|
+
} = Qc({
|
|
5087
5088
|
position: /* @__PURE__ */ te(n, "position"),
|
|
5088
5089
|
theme: /* @__PURE__ */ te(n, "theme"),
|
|
5089
5090
|
open: /* @__PURE__ */ te(n, "open"),
|
|
@@ -5105,7 +5106,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5105
5106
|
onEmptyAction: () => {
|
|
5106
5107
|
o("empty-action");
|
|
5107
5108
|
}
|
|
5108
|
-
}), { sessionItems: Ae, handleCreateSession: ve, handleDeleteSession: Ie, handleSelectSession: je } =
|
|
5109
|
+
}), { sessionItems: Ae, handleCreateSession: ve, handleDeleteSession: Ie, handleSelectSession: je } = Zc({
|
|
5109
5110
|
sessions: /* @__PURE__ */ te(n, "sessions"),
|
|
5110
5111
|
currentSessionId: /* @__PURE__ */ te(n, "currentSessionId"),
|
|
5111
5112
|
onCreateSession: () => o("create-session"),
|
|
@@ -5122,7 +5123,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5122
5123
|
handleClickSelectedNode: Y,
|
|
5123
5124
|
handleRemoveSelectedNode: K,
|
|
5124
5125
|
handleToggleSelectMode: Fe
|
|
5125
|
-
} =
|
|
5126
|
+
} = Yc({
|
|
5126
5127
|
selectMode: /* @__PURE__ */ te(n, "selectMode"),
|
|
5127
5128
|
selectedElements: /* @__PURE__ */ te(n, "selectedElements"),
|
|
5128
5129
|
onToggleSelectMode: (L) => {
|
|
@@ -5137,7 +5138,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5137
5138
|
o("clear-selected-nodes"), o("update:selectedElements", []);
|
|
5138
5139
|
},
|
|
5139
5140
|
showConfirmDialog: x
|
|
5140
|
-
}), { highlightVisible: D, highlightStyle: $, tooltipVisible: W, tooltipStyle: $e, tooltipContent: As } =
|
|
5141
|
+
}), { highlightVisible: D, highlightStyle: $, tooltipVisible: W, tooltipStyle: $e, tooltipContent: As } = su({
|
|
5141
5142
|
selectMode: /* @__PURE__ */ te(n, "selectMode"),
|
|
5142
5143
|
onAddSelectedNode: (L) => {
|
|
5143
5144
|
o("click-selected-node", L);
|
|
@@ -5146,7 +5147,7 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5146
5147
|
o("update:selectMode", !1), o("toggle-select-mode", !1);
|
|
5147
5148
|
}
|
|
5148
5149
|
});
|
|
5149
|
-
|
|
5150
|
+
Zr({
|
|
5150
5151
|
theme: /* @__PURE__ */ te(n, "theme"),
|
|
5151
5152
|
title: /* @__PURE__ */ te(n, "title"),
|
|
5152
5153
|
hotkeyLabel: /* @__PURE__ */ te(n, "hotkeyLabel"),
|
|
@@ -5189,22 +5190,22 @@ const yi = /* @__PURE__ */ ft(ru(Qs({}, {
|
|
|
5189
5190
|
return b;
|
|
5190
5191
|
}, set dialogResolve(L) {
|
|
5191
5192
|
b = L;
|
|
5192
|
-
}, showConfirmDialog: x, handleDialogConfirm: O, handleDialogCancel: T, localSessionListCollapsed: B, buttonActive: k, containerClasses: I, iframeSource: j, sessionListTitle: A, handleClose: H, handleEmptyAction: ne, handleToggle: oe, handleToggleSessionList: fe, sessionItems: Ae, handleCreateSession: ve, handleDeleteSession: Ie, handleSelectSession: je, bubbleVisible: He, hasSelectedElements: Ve, selectedElementItems: de, handleClearSelectedNodes: ie, handleClickSelectedNode: Y, handleRemoveSelectedNode: K, handleToggleSelectMode: Fe, highlightVisible: D, highlightStyle: $, tooltipVisible: W, tooltipStyle: $e, tooltipContent: As, Frame:
|
|
5193
|
+
}, showConfirmDialog: x, handleDialogConfirm: O, handleDialogCancel: T, localSessionListCollapsed: B, buttonActive: k, containerClasses: I, iframeSource: j, sessionListTitle: A, handleClose: H, handleEmptyAction: ne, handleToggle: oe, handleToggleSessionList: fe, sessionItems: Ae, handleCreateSession: ve, handleDeleteSession: Ie, handleSelectSession: je, bubbleVisible: He, hasSelectedElements: Ve, selectedElementItems: de, handleClearSelectedNodes: ie, handleClickSelectedNode: Y, handleRemoveSelectedNode: K, handleToggleSelectMode: Fe, highlightVisible: D, highlightStyle: $, tooltipVisible: W, tooltipStyle: $e, tooltipContent: As, Frame: nc, Header: fc, SelectHint: pc, SelectedBubbles: Sc, SelectedNodes: Oc, SessionList: jc, Trigger: Kc };
|
|
5193
5194
|
return Object.defineProperty(Zt, "__isScriptSetup", { enumerable: !1, value: !0 }), Zt;
|
|
5194
5195
|
}
|
|
5195
|
-
})),
|
|
5196
|
+
})), uu = {
|
|
5196
5197
|
key: 0,
|
|
5197
5198
|
class: "opencode-notification",
|
|
5198
5199
|
role: "alert"
|
|
5199
|
-
},
|
|
5200
|
+
}, au = { class: "opencode-chat-content" }, fu = { class: "opencode-tooltip-tag" }, du = { class: "opencode-tooltip-file" }, hu = {
|
|
5200
5201
|
key: 1,
|
|
5201
5202
|
class: "opencode-dialog-overlay"
|
|
5202
|
-
},
|
|
5203
|
+
}, pu = {
|
|
5203
5204
|
class: "opencode-dialog",
|
|
5204
5205
|
role: "alertdialog",
|
|
5205
5206
|
"aria-modal": "true"
|
|
5206
|
-
},
|
|
5207
|
-
function
|
|
5207
|
+
}, gu = { class: "opencode-dialog-content" }, _u = { class: "opencode-dialog-message" };
|
|
5208
|
+
function mu(e, t, s, n, o, i) {
|
|
5208
5209
|
return J(), ee(
|
|
5209
5210
|
"div",
|
|
5210
5211
|
{
|
|
@@ -5271,12 +5272,12 @@ function _u(e, t, s, n, o, i) {
|
|
|
5271
5272
|
ye(" Notification "),
|
|
5272
5273
|
n.notificationVisible ? (J(), ee(
|
|
5273
5274
|
"div",
|
|
5274
|
-
|
|
5275
|
+
uu,
|
|
5275
5276
|
we(n.notificationMessage),
|
|
5276
5277
|
1
|
|
5277
5278
|
/* TEXT */
|
|
5278
5279
|
)) : ye("v-if", !0),
|
|
5279
|
-
E("div",
|
|
5280
|
+
E("div", au, [
|
|
5280
5281
|
re(n.SessionList, null, {
|
|
5281
5282
|
empty: et(() => [
|
|
5282
5283
|
ge(e.$slots, "sessions-empty", {}, () => [
|
|
@@ -5338,7 +5339,7 @@ function _u(e, t, s, n, o, i) {
|
|
|
5338
5339
|
"div",
|
|
5339
5340
|
{
|
|
5340
5341
|
class: "opencode-element-highlight",
|
|
5341
|
-
style: Vt(
|
|
5342
|
+
style: Vt(en({
|
|
5342
5343
|
display: n.highlightVisible ? "block" : "none"
|
|
5343
5344
|
}, n.highlightStyle))
|
|
5344
5345
|
},
|
|
@@ -5353,21 +5354,21 @@ function _u(e, t, s, n, o, i) {
|
|
|
5353
5354
|
"div",
|
|
5354
5355
|
{
|
|
5355
5356
|
class: "opencode-element-tooltip",
|
|
5356
|
-
style: Vt(
|
|
5357
|
+
style: Vt(en({
|
|
5357
5358
|
display: n.tooltipVisible ? "block" : "none"
|
|
5358
5359
|
}, n.tooltipStyle))
|
|
5359
5360
|
},
|
|
5360
5361
|
[
|
|
5361
5362
|
E(
|
|
5362
5363
|
"div",
|
|
5363
|
-
|
|
5364
|
+
fu,
|
|
5364
5365
|
we(n.tooltipContent.description),
|
|
5365
5366
|
1
|
|
5366
5367
|
/* TEXT */
|
|
5367
5368
|
),
|
|
5368
5369
|
E(
|
|
5369
5370
|
"div",
|
|
5370
|
-
|
|
5371
|
+
du,
|
|
5371
5372
|
we(n.tooltipContent.fileInfo),
|
|
5372
5373
|
1
|
|
5373
5374
|
/* TEXT */
|
|
@@ -5379,12 +5380,12 @@ function _u(e, t, s, n, o, i) {
|
|
|
5379
5380
|
[js, n.tooltipVisible]
|
|
5380
5381
|
]),
|
|
5381
5382
|
ye(" Dialog "),
|
|
5382
|
-
n.dialogVisible ? (J(), ee("div",
|
|
5383
|
-
E("div",
|
|
5384
|
-
E("div",
|
|
5383
|
+
n.dialogVisible ? (J(), ee("div", hu, [
|
|
5384
|
+
E("div", pu, [
|
|
5385
|
+
E("div", gu, [
|
|
5385
5386
|
E(
|
|
5386
5387
|
"div",
|
|
5387
|
-
|
|
5388
|
+
_u,
|
|
5388
5389
|
we(n.dialogMessage),
|
|
5389
5390
|
1
|
|
5390
5391
|
/* TEXT */
|
|
@@ -5407,21 +5408,28 @@ function _u(e, t, s, n, o, i) {
|
|
|
5407
5408
|
/* CLASS */
|
|
5408
5409
|
);
|
|
5409
5410
|
}
|
|
5410
|
-
|
|
5411
|
-
var
|
|
5412
|
-
const
|
|
5413
|
-
|
|
5414
|
-
const
|
|
5415
|
-
|
|
5416
|
-
|
|
5411
|
+
Si.render = mu;
|
|
5412
|
+
var vu = Si, bu = vu;
|
|
5413
|
+
const xi = "data-opencode-config";
|
|
5414
|
+
function Ks(e) {
|
|
5415
|
+
const t = new TextEncoder().encode(e), s = Array.from(t, (n) => String.fromCodePoint(n)).join("");
|
|
5416
|
+
return btoa(s);
|
|
5417
|
+
}
|
|
5418
|
+
let wi = {};
|
|
5419
|
+
const to = document.querySelector(`script[${xi}]`);
|
|
5420
|
+
if (to) {
|
|
5421
|
+
const e = to.getAttribute(xi);
|
|
5417
5422
|
if (e)
|
|
5418
5423
|
try {
|
|
5419
|
-
|
|
5424
|
+
const t = new TextDecoder().decode(
|
|
5425
|
+
Uint8Array.from(atob(e), (s) => s.charCodeAt(0))
|
|
5426
|
+
);
|
|
5427
|
+
wi = JSON.parse(t);
|
|
5420
5428
|
} catch (t) {
|
|
5421
5429
|
console.error("[OpenCode] Failed to parse config:", t);
|
|
5422
5430
|
}
|
|
5423
5431
|
}
|
|
5424
|
-
const
|
|
5432
|
+
const yu = {
|
|
5425
5433
|
setup() {
|
|
5426
5434
|
const e = /* @__PURE__ */ se(!1), t = /* @__PURE__ */ se(!1), s = /* @__PURE__ */ se(!0), n = /* @__PURE__ */ se(!1), o = /* @__PURE__ */ se(void 0), i = /* @__PURE__ */ se(""), l = /* @__PURE__ */ se(null), r = /* @__PURE__ */ se([]), c = /* @__PURE__ */ se([]), d = /* @__PURE__ */ se(null), {
|
|
5427
5435
|
webUrl: a = "",
|
|
@@ -5432,7 +5440,7 @@ const bu = {
|
|
|
5432
5440
|
lazy: T = !1,
|
|
5433
5441
|
hotkey: B = "ctrl+k",
|
|
5434
5442
|
cwd: k = ""
|
|
5435
|
-
} =
|
|
5443
|
+
} = wi, I = /* @__PURE__ */ se(!O), j = Re(() => n.value || I.value);
|
|
5436
5444
|
let A = !T;
|
|
5437
5445
|
const H = (D) => {
|
|
5438
5446
|
if (!D) return null;
|
|
@@ -5474,7 +5482,7 @@ const bu = {
|
|
|
5474
5482
|
}, fe = async () => {
|
|
5475
5483
|
try {
|
|
5476
5484
|
const $ = await (await fetch("/__opencode_sessions__", { method: "POST" })).json();
|
|
5477
|
-
await oe(), l.value = $.id, i.value = `${a}/${
|
|
5485
|
+
await oe(), l.value = $.id, i.value = `${a}/${Ks(k)}/session/${$.id}`;
|
|
5478
5486
|
} catch {
|
|
5479
5487
|
ne("创建会话失败");
|
|
5480
5488
|
}
|
|
@@ -5483,14 +5491,14 @@ const bu = {
|
|
|
5483
5491
|
if (await fetch(`/__opencode_sessions__?id=${D.id}`, { method: "DELETE" }), await oe(), ne("会话已删除"), l.value === D.id)
|
|
5484
5492
|
if (r.value.length > 0) {
|
|
5485
5493
|
const $ = r.value[0];
|
|
5486
|
-
l.value = $.id, i.value = `${a}/${
|
|
5494
|
+
l.value = $.id, i.value = `${a}/${Ks(k)}/session/${$.id}`;
|
|
5487
5495
|
} else
|
|
5488
5496
|
l.value = null, i.value = "";
|
|
5489
5497
|
} catch {
|
|
5490
5498
|
ne("删除会话失败");
|
|
5491
5499
|
}
|
|
5492
5500
|
}, ve = (D) => {
|
|
5493
|
-
l.value !== D.id && (l.value = D.id, n.value = !0, i.value = `${a}/${
|
|
5501
|
+
l.value !== D.id && (l.value = D.id, n.value = !0, i.value = `${a}/${Ks(k)}/session/${D.id}`, setTimeout(() => {
|
|
5494
5502
|
n.value = !1;
|
|
5495
5503
|
}, 500));
|
|
5496
5504
|
};
|
|
@@ -5528,7 +5536,7 @@ const bu = {
|
|
|
5528
5536
|
}
|
|
5529
5537
|
return !1;
|
|
5530
5538
|
};
|
|
5531
|
-
|
|
5539
|
+
pn(() => {
|
|
5532
5540
|
A && (oe(), je(), de(!0)), x && A && setTimeout(() => {
|
|
5533
5541
|
e.value = !0;
|
|
5534
5542
|
}, 1e3);
|
|
@@ -5560,7 +5568,7 @@ const bu = {
|
|
|
5560
5568
|
}, Fe = () => {
|
|
5561
5569
|
c.value = [], de(!0), ne("已清除所有选中元素");
|
|
5562
5570
|
};
|
|
5563
|
-
return () =>
|
|
5571
|
+
return () => wr(bu, {
|
|
5564
5572
|
ref: d,
|
|
5565
5573
|
position: h,
|
|
5566
5574
|
theme: b,
|
|
@@ -5593,9 +5601,9 @@ const bu = {
|
|
|
5593
5601
|
"onEmpty-action": fe
|
|
5594
5602
|
});
|
|
5595
5603
|
}
|
|
5596
|
-
},
|
|
5597
|
-
if (!window[
|
|
5598
|
-
window[
|
|
5604
|
+
}, so = "__OPENCODE_INITIALIZED__";
|
|
5605
|
+
if (!window[so]) {
|
|
5606
|
+
window[so] = !0;
|
|
5599
5607
|
const e = document.createElement("div");
|
|
5600
|
-
document.body.appendChild(e),
|
|
5608
|
+
document.body.appendChild(e), Yr(yu).mount(e);
|
|
5601
5609
|
}
|