@vrowzer/vite-plugin 0.1.2 → 0.1.3
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/README.md +52 -5
- package/dist/ide/assets/{css.worker-CTXDGAqi.js → css.worker-B3bjHA4E.js} +12 -12
- package/dist/ide/assets/{html.worker-DoEWTywB.js → html.worker-CdKyo4PJ.js} +15 -15
- package/dist/ide/assets/json.worker-Dv30RK47.js +58 -0
- package/dist/ide/assets/{ts.worker-CEDDf2SQ.js → ts.worker-BMQFrgtp.js} +43 -43
- package/dist/ide/{cssMode-Bx4pwP7t.js → cssMode-BjT8Ilz9.js} +6 -6
- package/dist/ide/{handlebars-niagtI6v.js → handlebars-D8oWedcX.js} +1 -1
- package/dist/ide/{html-vu3rIOlL.js → html-BtI1mgAb.js} +1 -1
- package/dist/ide/{htmlMode-DJyFRqKm.js → htmlMode-nJv21bwP.js} +6 -6
- package/dist/ide/ide.js +1018 -1013
- package/dist/ide/{javascript-BaiNOEh_.js → javascript-CsLyoDyq.js} +1 -1
- package/dist/ide/{jsonMode-DLQ0j1a3.js → jsonMode-Gp85lTwz.js} +26 -25
- package/dist/ide/{lspLanguageFeatures-CY50NMcK.js → lspLanguageFeatures-Bh3u5Duz.js} +4 -4
- package/dist/ide/{mdx-DhZSVASO.js → mdx-BXUwpKml.js} +1 -1
- package/dist/ide/{monaco.contribution-4V6BrQ5P.js → monaco.contribution-Df9Y1epv.js} +2 -2
- package/dist/ide/{toggleHighContrast-DzGcs4Kw.js → toggleHighContrast-BAyJBPWB.js} +11852 -11696
- package/dist/ide/{tsMode-D6r_-_rM.js → tsMode-DW5hjWiU.js} +4 -4
- package/dist/ide/{typescript-DM2pFj0X.js → typescript-DdUYzFye.js} +1 -1
- package/dist/ide/{workers-DRkYqOHL.js → workers-_EnUbIXZ.js} +1 -1
- package/dist/ide/{xml-DrNRTdma.js → xml-YkclMbCx.js} +1 -1
- package/dist/ide/{yaml-ck2FlP6B.js → yaml-nzDq4-PC.js} +1 -1
- package/dist/index.d.mts +6 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +46 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
- package/dist/ide/assets/json.worker-C4xqSSAJ.js +0 -58
package/dist/ide/ide.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, c as t, o as n, s as r, t as i } from "./toggleHighContrast-
|
|
2
|
-
import "./monaco.contribution-
|
|
1
|
+
import { a as e, c as t, o as n, s as r, t as i } from "./toggleHighContrast-BAyJBPWB.js";
|
|
2
|
+
import "./monaco.contribution-Df9Y1epv.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@vue+shared@3.5.31/node_modules/@vue/shared/dist/shared.esm-bundler.js
|
|
4
4
|
// @__NO_SIDE_EFFECTS__
|
|
5
5
|
function a(e) {
|
|
@@ -34,7 +34,8 @@ function k(e) {
|
|
|
34
34
|
if (i) for (let e in i) t[e] = i[e];
|
|
35
35
|
}
|
|
36
36
|
return t;
|
|
37
|
-
}
|
|
37
|
+
}
|
|
38
|
+
if (x(e) || C(e)) return e;
|
|
38
39
|
}
|
|
39
40
|
var ge = /;(?![^(]*\))/g, _e = /:([^]+)/, ve = /\/\*[^]*?\*\//g;
|
|
40
41
|
function ye(e) {
|
|
@@ -85,12 +86,12 @@ function Ae(e, t) {
|
|
|
85
86
|
var je = (e) => !!(e && e.__v_isRef === !0), Me = (e) => x(e) ? e : e == null ? "" : g(e) || C(e) && (e.toString === ee || !b(e.toString)) ? je(e) ? Me(e.value) : JSON.stringify(e, Ne, 2) : String(e), Ne = (e, t) => je(t) ? Ne(e, t.value) : _(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], r) => (e[Pe(t, r) + " =>"] = n, e), {}) } : v(t) ? { [`Set(${t.size})`]: [...t.values()].map((e) => Pe(e)) } : S(t) ? Pe(t) : C(t) && !g(t) && !re(t) ? String(t) : t, Pe = (e, t = "") => S(e) ? `Symbol(${e.description ?? t})` : e;
|
|
86
87
|
//#endregion
|
|
87
88
|
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.31/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
|
88
|
-
function
|
|
89
|
+
function j(e, ...t) {
|
|
89
90
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
90
91
|
}
|
|
91
|
-
var
|
|
92
|
+
var M, Fe = class {
|
|
92
93
|
constructor(e = !1) {
|
|
93
|
-
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent =
|
|
94
|
+
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent = M, !e && M && (this.index = (M.scopes || (M.scopes = [])).push(this) - 1);
|
|
94
95
|
}
|
|
95
96
|
get active() {
|
|
96
97
|
return this._active;
|
|
@@ -113,19 +114,19 @@ var j, Ie = class {
|
|
|
113
114
|
}
|
|
114
115
|
run(e) {
|
|
115
116
|
if (this._active) {
|
|
116
|
-
let t =
|
|
117
|
+
let t = M;
|
|
117
118
|
try {
|
|
118
|
-
return
|
|
119
|
+
return M = this, e();
|
|
119
120
|
} finally {
|
|
120
|
-
|
|
121
|
+
M = t;
|
|
121
122
|
}
|
|
122
|
-
} else
|
|
123
|
+
} else j("cannot run an inactive effect scope.");
|
|
123
124
|
}
|
|
124
125
|
on() {
|
|
125
|
-
++this._on === 1 && (this.prevScope =
|
|
126
|
+
++this._on === 1 && (this.prevScope = M, M = this);
|
|
126
127
|
}
|
|
127
128
|
off() {
|
|
128
|
-
this._on > 0 && --this._on === 0 && (
|
|
129
|
+
this._on > 0 && --this._on === 0 && (M = this.prevScope, this.prevScope = void 0);
|
|
129
130
|
}
|
|
130
131
|
stop(e) {
|
|
131
132
|
if (this._active) {
|
|
@@ -145,72 +146,72 @@ var j, Ie = class {
|
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
};
|
|
148
|
-
function
|
|
149
|
-
return
|
|
149
|
+
function Ie() {
|
|
150
|
+
return M;
|
|
150
151
|
}
|
|
151
|
-
var
|
|
152
|
+
var N, Le = /* @__PURE__ */ new WeakSet(), Re = class {
|
|
152
153
|
constructor(e) {
|
|
153
|
-
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0,
|
|
154
|
+
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, M && M.active && M.effects.push(this);
|
|
154
155
|
}
|
|
155
156
|
pause() {
|
|
156
157
|
this.flags |= 64;
|
|
157
158
|
}
|
|
158
159
|
resume() {
|
|
159
|
-
this.flags & 64 && (this.flags &= -65,
|
|
160
|
+
this.flags & 64 && (this.flags &= -65, Le.has(this) && (Le.delete(this), this.trigger()));
|
|
160
161
|
}
|
|
161
162
|
notify() {
|
|
162
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 ||
|
|
163
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || He(this);
|
|
163
164
|
}
|
|
164
165
|
run() {
|
|
165
166
|
if (!(this.flags & 1)) return this.fn();
|
|
166
|
-
this.flags |= 2,
|
|
167
|
-
let e =
|
|
168
|
-
|
|
167
|
+
this.flags |= 2, tt(this), Ge(this);
|
|
168
|
+
let e = N, t = Ze;
|
|
169
|
+
N = this, Ze = !0;
|
|
169
170
|
try {
|
|
170
171
|
return this.fn();
|
|
171
172
|
} finally {
|
|
172
|
-
|
|
173
|
+
N !== this && j("Active effect was not restored correctly - this is likely a Vue internal bug."), Ke(this), N = e, Ze = t, this.flags &= -3;
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
stop() {
|
|
176
177
|
if (this.flags & 1) {
|
|
177
|
-
for (let e = this.deps; e; e = e.nextDep)
|
|
178
|
-
this.deps = this.depsTail = void 0,
|
|
178
|
+
for (let e = this.deps; e; e = e.nextDep) Ye(e);
|
|
179
|
+
this.deps = this.depsTail = void 0, tt(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
182
|
trigger() {
|
|
182
|
-
this.flags & 64 ?
|
|
183
|
+
this.flags & 64 ? Le.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
183
184
|
}
|
|
184
185
|
runIfDirty() {
|
|
185
|
-
|
|
186
|
+
qe(this) && this.run();
|
|
186
187
|
}
|
|
187
188
|
get dirty() {
|
|
188
|
-
return
|
|
189
|
+
return qe(this);
|
|
189
190
|
}
|
|
190
|
-
},
|
|
191
|
-
function
|
|
191
|
+
}, ze = 0, Be, Ve;
|
|
192
|
+
function He(e, t = !1) {
|
|
192
193
|
if (e.flags |= 8, t) {
|
|
193
|
-
e.next =
|
|
194
|
+
e.next = Ve, Ve = e;
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
|
-
e.next =
|
|
197
|
+
e.next = Be, Be = e;
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
199
|
+
function Ue() {
|
|
200
|
+
ze++;
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
-
if (--
|
|
203
|
-
if (
|
|
204
|
-
let e =
|
|
205
|
-
for (
|
|
202
|
+
function We() {
|
|
203
|
+
if (--ze > 0) return;
|
|
204
|
+
if (Ve) {
|
|
205
|
+
let e = Ve;
|
|
206
|
+
for (Ve = void 0; e;) {
|
|
206
207
|
let t = e.next;
|
|
207
208
|
e.next = void 0, e.flags &= -9, e = t;
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
211
|
let e;
|
|
211
|
-
for (;
|
|
212
|
-
let t =
|
|
213
|
-
for (
|
|
212
|
+
for (; Be;) {
|
|
213
|
+
let t = Be;
|
|
214
|
+
for (Be = void 0; t;) {
|
|
214
215
|
let n = t.next;
|
|
215
216
|
if (t.next = void 0, t.flags &= -9, t.flags & 1) try {
|
|
216
217
|
t.trigger();
|
|
@@ -222,127 +223,127 @@ function Ge() {
|
|
|
222
223
|
}
|
|
223
224
|
if (e) throw e;
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
+
function Ge(e) {
|
|
226
227
|
for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
227
228
|
}
|
|
228
|
-
function
|
|
229
|
+
function Ke(e) {
|
|
229
230
|
let t, n = e.depsTail, r = n;
|
|
230
231
|
for (; r;) {
|
|
231
232
|
let e = r.prevDep;
|
|
232
|
-
r.version === -1 ? (r === n && (n = e),
|
|
233
|
+
r.version === -1 ? (r === n && (n = e), Ye(r), Xe(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = e;
|
|
233
234
|
}
|
|
234
235
|
e.deps = t, e.depsTail = n;
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
-
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (
|
|
237
|
+
function qe(e) {
|
|
238
|
+
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (Je(t.dep.computed) || t.dep.version !== t.version)) return !0;
|
|
238
239
|
return !!e._dirty;
|
|
239
240
|
}
|
|
240
|
-
function
|
|
241
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion ===
|
|
241
|
+
function Je(e) {
|
|
242
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === nt) || (e.globalVersion = nt, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !qe(e)))) return;
|
|
242
243
|
e.flags |= 2;
|
|
243
|
-
let t = e.dep, n =
|
|
244
|
-
|
|
244
|
+
let t = e.dep, n = N, r = Ze;
|
|
245
|
+
N = e, Ze = !0;
|
|
245
246
|
try {
|
|
246
|
-
|
|
247
|
+
Ge(e);
|
|
247
248
|
let n = e.fn(e._value);
|
|
248
249
|
(t.version === 0 || O(n, e._value)) && (e.flags |= 128, e._value = n, t.version++);
|
|
249
250
|
} catch (e) {
|
|
250
251
|
throw t.version++, e;
|
|
251
252
|
} finally {
|
|
252
|
-
|
|
253
|
+
N = n, Ze = r, Ke(e), e.flags &= -3;
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
|
-
function
|
|
256
|
+
function Ye(e, t = !1) {
|
|
256
257
|
let { dep: n, prevSub: r, nextSub: i } = e;
|
|
257
258
|
if (r && (r.nextSub = i, e.prevSub = void 0), i && (i.prevSub = r, e.nextSub = void 0), n.subsHead === e && (n.subsHead = i), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
258
259
|
n.computed.flags &= -5;
|
|
259
|
-
for (let e = n.computed.deps; e; e = e.nextDep)
|
|
260
|
+
for (let e = n.computed.deps; e; e = e.nextDep) Ye(e, !0);
|
|
260
261
|
}
|
|
261
262
|
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
262
263
|
}
|
|
263
|
-
function
|
|
264
|
+
function Xe(e) {
|
|
264
265
|
let { prevDep: t, nextDep: n } = e;
|
|
265
266
|
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
266
267
|
}
|
|
267
|
-
var
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
var Ze = !0, Qe = [];
|
|
269
|
+
function $e() {
|
|
270
|
+
Qe.push(Ze), Ze = !1;
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
-
let e =
|
|
273
|
-
|
|
272
|
+
function et() {
|
|
273
|
+
let e = Qe.pop();
|
|
274
|
+
Ze = e === void 0 || e;
|
|
274
275
|
}
|
|
275
|
-
function
|
|
276
|
+
function tt(e) {
|
|
276
277
|
let { cleanup: t } = e;
|
|
277
278
|
if (e.cleanup = void 0, t) {
|
|
278
|
-
let e =
|
|
279
|
-
|
|
279
|
+
let e = N;
|
|
280
|
+
N = void 0;
|
|
280
281
|
try {
|
|
281
282
|
t();
|
|
282
283
|
} finally {
|
|
283
|
-
|
|
284
|
+
N = e;
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
287
|
}
|
|
287
|
-
var
|
|
288
|
+
var nt = 0, rt = class {
|
|
288
289
|
constructor(e, t) {
|
|
289
290
|
this.sub = e, this.dep = t, this.version = t.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
290
291
|
}
|
|
291
|
-
},
|
|
292
|
+
}, it = class {
|
|
292
293
|
constructor(e) {
|
|
293
294
|
this.computed = e, 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, this.subsHead = void 0;
|
|
294
295
|
}
|
|
295
296
|
track(e) {
|
|
296
|
-
if (!
|
|
297
|
+
if (!N || !Ze || N === this.computed) return;
|
|
297
298
|
let t = this.activeLink;
|
|
298
|
-
if (t === void 0 || t.sub !==
|
|
299
|
+
if (t === void 0 || t.sub !== N) t = this.activeLink = new rt(N, this), N.deps ? (t.prevDep = N.depsTail, N.depsTail.nextDep = t, N.depsTail = t) : N.deps = N.depsTail = t, at(t);
|
|
299
300
|
else if (t.version === -1 && (t.version = this.version, t.nextDep)) {
|
|
300
301
|
let e = t.nextDep;
|
|
301
|
-
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep =
|
|
302
|
+
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep = N.depsTail, t.nextDep = void 0, N.depsTail.nextDep = t, N.depsTail = t, N.deps === t && (N.deps = e);
|
|
302
303
|
}
|
|
303
|
-
return
|
|
304
|
+
return N.onTrack && N.onTrack(f({ effect: N }, e)), t;
|
|
304
305
|
}
|
|
305
306
|
trigger(e) {
|
|
306
|
-
this.version++,
|
|
307
|
+
this.version++, nt++, this.notify(e);
|
|
307
308
|
}
|
|
308
309
|
notify(e) {
|
|
309
|
-
|
|
310
|
+
Ue();
|
|
310
311
|
try {
|
|
311
312
|
for (let t = this.subsHead; t; t = t.nextSub) t.sub.onTrigger && !(t.sub.flags & 8) && t.sub.onTrigger(f({ effect: t.sub }, e));
|
|
312
313
|
for (let e = this.subs; e; e = e.prevSub) e.sub.notify() && e.sub.dep.notify();
|
|
313
314
|
} finally {
|
|
314
|
-
|
|
315
|
+
We();
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
};
|
|
318
|
-
function
|
|
319
|
+
function at(e) {
|
|
319
320
|
if (e.dep.sc++, e.sub.flags & 4) {
|
|
320
321
|
let t = e.dep.computed;
|
|
321
322
|
if (t && !e.dep.subs) {
|
|
322
323
|
t.flags |= 20;
|
|
323
|
-
for (let e = t.deps; e; e = e.nextDep)
|
|
324
|
+
for (let e = t.deps; e; e = e.nextDep) at(e);
|
|
324
325
|
}
|
|
325
326
|
let n = e.dep.subs;
|
|
326
327
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
327
328
|
}
|
|
328
329
|
}
|
|
329
|
-
var
|
|
330
|
-
function
|
|
331
|
-
if (
|
|
332
|
-
let r =
|
|
333
|
-
r ||
|
|
330
|
+
var ot = /* @__PURE__ */ new WeakMap(), st = /* @__PURE__ */ Symbol("Object iterate"), ct = /* @__PURE__ */ Symbol("Map keys iterate"), lt = /* @__PURE__ */ Symbol("Array iterate");
|
|
331
|
+
function P(e, t, n) {
|
|
332
|
+
if (Ze && N) {
|
|
333
|
+
let r = ot.get(e);
|
|
334
|
+
r || ot.set(e, r = /* @__PURE__ */ new Map());
|
|
334
335
|
let i = r.get(n);
|
|
335
|
-
i || (r.set(n, i = new
|
|
336
|
+
i || (r.set(n, i = new it()), i.map = r, i.key = n), i.track({
|
|
336
337
|
target: e,
|
|
337
338
|
type: t,
|
|
338
339
|
key: n
|
|
339
340
|
});
|
|
340
341
|
}
|
|
341
342
|
}
|
|
342
|
-
function
|
|
343
|
-
let o =
|
|
343
|
+
function ut(e, t, n, r, i, a) {
|
|
344
|
+
let o = ot.get(e);
|
|
344
345
|
if (!o) {
|
|
345
|
-
|
|
346
|
+
nt++;
|
|
346
347
|
return;
|
|
347
348
|
}
|
|
348
349
|
let s = (o) => {
|
|
@@ -355,173 +356,171 @@ function dt(e, t, n, r, i, a) {
|
|
|
355
356
|
oldTarget: a
|
|
356
357
|
});
|
|
357
358
|
};
|
|
358
|
-
if (
|
|
359
|
+
if (Ue(), t === "clear") o.forEach(s);
|
|
359
360
|
else {
|
|
360
361
|
let i = g(e), a = i && ie(n);
|
|
361
362
|
if (i && n === "length") {
|
|
362
363
|
let e = Number(r);
|
|
363
364
|
o.forEach((t, n) => {
|
|
364
|
-
(n === "length" || n ===
|
|
365
|
+
(n === "length" || n === lt || !S(n) && n >= e) && s(t);
|
|
365
366
|
});
|
|
366
|
-
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(
|
|
367
|
+
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(lt)), t) {
|
|
367
368
|
case "add":
|
|
368
|
-
i ? a && s(o.get("length")) : (s(o.get(
|
|
369
|
+
i ? a && s(o.get("length")) : (s(o.get(st)), _(e) && s(o.get(ct)));
|
|
369
370
|
break;
|
|
370
371
|
case "delete":
|
|
371
|
-
i || (s(o.get(
|
|
372
|
-
break;
|
|
373
|
-
case "set":
|
|
374
|
-
_(e) && s(o.get(ct));
|
|
372
|
+
i || (s(o.get(st)), _(e) && s(o.get(ct)));
|
|
375
373
|
break;
|
|
374
|
+
case "set": _(e) && s(o.get(st));
|
|
376
375
|
}
|
|
377
376
|
}
|
|
378
|
-
|
|
377
|
+
We();
|
|
379
378
|
}
|
|
380
|
-
function
|
|
381
|
-
let t = /* @__PURE__ */
|
|
382
|
-
return t === e ? t : (
|
|
379
|
+
function dt(e) {
|
|
380
|
+
let t = /* @__PURE__ */ I(e);
|
|
381
|
+
return t === e ? t : (P(t, "iterate", lt), /* @__PURE__ */ F(e) ? t : t.map(L));
|
|
383
382
|
}
|
|
384
|
-
function
|
|
385
|
-
return
|
|
383
|
+
function ft(e) {
|
|
384
|
+
return P(e = /* @__PURE__ */ I(e), "iterate", lt), e;
|
|
386
385
|
}
|
|
387
|
-
function
|
|
388
|
-
return /* @__PURE__ */
|
|
386
|
+
function pt(e, t) {
|
|
387
|
+
return /* @__PURE__ */ en(e) ? rn(/* @__PURE__ */ $t(e) ? L(t) : t) : L(t);
|
|
389
388
|
}
|
|
390
|
-
var
|
|
389
|
+
var mt = {
|
|
391
390
|
__proto__: null,
|
|
392
391
|
[Symbol.iterator]() {
|
|
393
|
-
return
|
|
392
|
+
return ht(this, Symbol.iterator, (e) => pt(this, e));
|
|
394
393
|
},
|
|
395
394
|
concat(...e) {
|
|
396
|
-
return
|
|
395
|
+
return dt(this).concat(...e.map((e) => g(e) ? dt(e) : e));
|
|
397
396
|
},
|
|
398
397
|
entries() {
|
|
399
|
-
return
|
|
398
|
+
return ht(this, "entries", (e) => (e[1] = pt(this, e[1]), e));
|
|
400
399
|
},
|
|
401
400
|
every(e, t) {
|
|
402
|
-
return
|
|
401
|
+
return _t(this, "every", e, t, void 0, arguments);
|
|
403
402
|
},
|
|
404
403
|
filter(e, t) {
|
|
405
|
-
return
|
|
404
|
+
return _t(this, "filter", e, t, (e) => e.map((e) => pt(this, e)), arguments);
|
|
406
405
|
},
|
|
407
406
|
find(e, t) {
|
|
408
|
-
return
|
|
407
|
+
return _t(this, "find", e, t, (e) => pt(this, e), arguments);
|
|
409
408
|
},
|
|
410
409
|
findIndex(e, t) {
|
|
411
|
-
return
|
|
410
|
+
return _t(this, "findIndex", e, t, void 0, arguments);
|
|
412
411
|
},
|
|
413
412
|
findLast(e, t) {
|
|
414
|
-
return
|
|
413
|
+
return _t(this, "findLast", e, t, (e) => pt(this, e), arguments);
|
|
415
414
|
},
|
|
416
415
|
findLastIndex(e, t) {
|
|
417
|
-
return
|
|
416
|
+
return _t(this, "findLastIndex", e, t, void 0, arguments);
|
|
418
417
|
},
|
|
419
418
|
forEach(e, t) {
|
|
420
|
-
return
|
|
419
|
+
return _t(this, "forEach", e, t, void 0, arguments);
|
|
421
420
|
},
|
|
422
421
|
includes(...e) {
|
|
423
|
-
return
|
|
422
|
+
return yt(this, "includes", e);
|
|
424
423
|
},
|
|
425
424
|
indexOf(...e) {
|
|
426
|
-
return
|
|
425
|
+
return yt(this, "indexOf", e);
|
|
427
426
|
},
|
|
428
427
|
join(e) {
|
|
429
|
-
return
|
|
428
|
+
return dt(this).join(e);
|
|
430
429
|
},
|
|
431
430
|
lastIndexOf(...e) {
|
|
432
|
-
return
|
|
431
|
+
return yt(this, "lastIndexOf", e);
|
|
433
432
|
},
|
|
434
433
|
map(e, t) {
|
|
435
|
-
return
|
|
434
|
+
return _t(this, "map", e, t, void 0, arguments);
|
|
436
435
|
},
|
|
437
436
|
pop() {
|
|
438
|
-
return
|
|
437
|
+
return bt(this, "pop");
|
|
439
438
|
},
|
|
440
439
|
push(...e) {
|
|
441
|
-
return
|
|
440
|
+
return bt(this, "push", e);
|
|
442
441
|
},
|
|
443
442
|
reduce(e, ...t) {
|
|
444
|
-
return
|
|
443
|
+
return vt(this, "reduce", e, t);
|
|
445
444
|
},
|
|
446
445
|
reduceRight(e, ...t) {
|
|
447
|
-
return
|
|
446
|
+
return vt(this, "reduceRight", e, t);
|
|
448
447
|
},
|
|
449
448
|
shift() {
|
|
450
|
-
return
|
|
449
|
+
return bt(this, "shift");
|
|
451
450
|
},
|
|
452
451
|
some(e, t) {
|
|
453
|
-
return
|
|
452
|
+
return _t(this, "some", e, t, void 0, arguments);
|
|
454
453
|
},
|
|
455
454
|
splice(...e) {
|
|
456
|
-
return
|
|
455
|
+
return bt(this, "splice", e);
|
|
457
456
|
},
|
|
458
457
|
toReversed() {
|
|
459
|
-
return
|
|
458
|
+
return dt(this).toReversed();
|
|
460
459
|
},
|
|
461
460
|
toSorted(e) {
|
|
462
|
-
return
|
|
461
|
+
return dt(this).toSorted(e);
|
|
463
462
|
},
|
|
464
463
|
toSpliced(...e) {
|
|
465
|
-
return
|
|
464
|
+
return dt(this).toSpliced(...e);
|
|
466
465
|
},
|
|
467
466
|
unshift(...e) {
|
|
468
|
-
return
|
|
467
|
+
return bt(this, "unshift", e);
|
|
469
468
|
},
|
|
470
469
|
values() {
|
|
471
|
-
return
|
|
470
|
+
return ht(this, "values", (e) => pt(this, e));
|
|
472
471
|
}
|
|
473
472
|
};
|
|
474
|
-
function
|
|
475
|
-
let r =
|
|
476
|
-
return r !== e && !/* @__PURE__ */
|
|
473
|
+
function ht(e, t, n) {
|
|
474
|
+
let r = ft(e), i = r[t]();
|
|
475
|
+
return r !== e && !/* @__PURE__ */ F(e) && (i._next = i.next, i.next = () => {
|
|
477
476
|
let e = i._next();
|
|
478
477
|
return e.done || (e.value = n(e.value)), e;
|
|
479
478
|
}), i;
|
|
480
479
|
}
|
|
481
|
-
var
|
|
482
|
-
function
|
|
483
|
-
let o =
|
|
484
|
-
if (c !==
|
|
480
|
+
var gt = Array.prototype;
|
|
481
|
+
function _t(e, t, n, r, i, a) {
|
|
482
|
+
let o = ft(e), s = o !== e && !/* @__PURE__ */ F(e), c = o[t];
|
|
483
|
+
if (c !== gt[t]) {
|
|
485
484
|
let t = c.apply(e, a);
|
|
486
|
-
return s ?
|
|
485
|
+
return s ? L(t) : t;
|
|
487
486
|
}
|
|
488
487
|
let l = n;
|
|
489
488
|
o !== e && (s ? l = function(t, r) {
|
|
490
|
-
return n.call(this,
|
|
489
|
+
return n.call(this, pt(e, t), r, e);
|
|
491
490
|
} : n.length > 2 && (l = function(t, r) {
|
|
492
491
|
return n.call(this, t, r, e);
|
|
493
492
|
}));
|
|
494
493
|
let u = c.call(o, l, r);
|
|
495
494
|
return s && i ? i(u) : u;
|
|
496
495
|
}
|
|
497
|
-
function
|
|
498
|
-
let i =
|
|
496
|
+
function vt(e, t, n, r) {
|
|
497
|
+
let i = ft(e), a = i !== e && !/* @__PURE__ */ F(e), o = n, s = !1;
|
|
499
498
|
i !== e && (a ? (s = r.length === 0, o = function(t, r, i) {
|
|
500
|
-
return s && (s = !1, t =
|
|
499
|
+
return s && (s = !1, t = pt(e, t)), n.call(this, t, pt(e, r), i, e);
|
|
501
500
|
}) : n.length > 3 && (o = function(t, r, i) {
|
|
502
501
|
return n.call(this, t, r, i, e);
|
|
503
502
|
}));
|
|
504
503
|
let c = i[t](o, ...r);
|
|
505
|
-
return s ?
|
|
504
|
+
return s ? pt(e, c) : c;
|
|
506
505
|
}
|
|
507
|
-
function
|
|
508
|
-
let r = /* @__PURE__ */
|
|
509
|
-
|
|
506
|
+
function yt(e, t, n) {
|
|
507
|
+
let r = /* @__PURE__ */ I(e);
|
|
508
|
+
P(r, "iterate", lt);
|
|
510
509
|
let i = r[t](...n);
|
|
511
|
-
return (i === -1 || i === !1) && /* @__PURE__ */
|
|
510
|
+
return (i === -1 || i === !1) && /* @__PURE__ */ tn(n[0]) ? (n[0] = /* @__PURE__ */ I(n[0]), r[t](...n)) : i;
|
|
512
511
|
}
|
|
513
|
-
function
|
|
514
|
-
|
|
515
|
-
let r = (/* @__PURE__ */
|
|
516
|
-
return
|
|
512
|
+
function bt(e, t, n = []) {
|
|
513
|
+
$e(), Ue();
|
|
514
|
+
let r = (/* @__PURE__ */ I(e))[t].apply(e, n);
|
|
515
|
+
return We(), et(), r;
|
|
517
516
|
}
|
|
518
|
-
var
|
|
519
|
-
function
|
|
517
|
+
var xt = /* @__PURE__ */ a("__proto__,__v_isRef,__isVue"), St = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(S));
|
|
518
|
+
function Ct(e) {
|
|
520
519
|
S(e) || (e = String(e));
|
|
521
|
-
let t = /* @__PURE__ */
|
|
522
|
-
return
|
|
520
|
+
let t = /* @__PURE__ */ I(this);
|
|
521
|
+
return P(t, "has", e), t.hasOwnProperty(e);
|
|
523
522
|
}
|
|
524
|
-
var
|
|
523
|
+
var wt = class {
|
|
525
524
|
constructor(e = !1, t = !1) {
|
|
526
525
|
this._isReadonly = e, this._isShallow = t;
|
|
527
526
|
}
|
|
@@ -531,60 +530,60 @@ var Tt = class {
|
|
|
531
530
|
if (t === "__v_isReactive") return !r;
|
|
532
531
|
if (t === "__v_isReadonly") return r;
|
|
533
532
|
if (t === "__v_isShallow") return i;
|
|
534
|
-
if (t === "__v_raw") return n === (r ? i ?
|
|
533
|
+
if (t === "__v_raw") return n === (r ? i ? Gt : Wt : i ? Ut : Ht).get(e) || Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0;
|
|
535
534
|
let a = g(e);
|
|
536
535
|
if (!r) {
|
|
537
536
|
let e;
|
|
538
|
-
if (a && (e =
|
|
539
|
-
if (t === "hasOwnProperty") return
|
|
537
|
+
if (a && (e = mt[t])) return e;
|
|
538
|
+
if (t === "hasOwnProperty") return Ct;
|
|
540
539
|
}
|
|
541
|
-
let o = Reflect.get(e, t, /* @__PURE__ */
|
|
542
|
-
if ((S(t) ?
|
|
543
|
-
if (/* @__PURE__ */
|
|
540
|
+
let o = Reflect.get(e, t, /* @__PURE__ */ R(e) ? e : n);
|
|
541
|
+
if ((S(t) ? St.has(t) : xt(t)) || (r || P(e, "get", t), i)) return o;
|
|
542
|
+
if (/* @__PURE__ */ R(o)) {
|
|
544
543
|
let e = a && ie(t) ? o : o.value;
|
|
545
|
-
return r && C(e) ? /* @__PURE__ */
|
|
544
|
+
return r && C(e) ? /* @__PURE__ */ Xt(e) : e;
|
|
546
545
|
}
|
|
547
|
-
return C(o) ? r ? /* @__PURE__ */
|
|
546
|
+
return C(o) ? r ? /* @__PURE__ */ Xt(o) : /* @__PURE__ */ Jt(o) : o;
|
|
548
547
|
}
|
|
549
|
-
},
|
|
548
|
+
}, Tt = class extends wt {
|
|
550
549
|
constructor(e = !1) {
|
|
551
550
|
super(!1, e);
|
|
552
551
|
}
|
|
553
552
|
set(e, t, n, r) {
|
|
554
553
|
let i = e[t], a = g(e) && ie(t);
|
|
555
554
|
if (!this._isShallow) {
|
|
556
|
-
let r = /* @__PURE__ */
|
|
557
|
-
if (!/* @__PURE__ */
|
|
555
|
+
let r = /* @__PURE__ */ en(i);
|
|
556
|
+
if (!/* @__PURE__ */ F(n) && !/* @__PURE__ */ en(n) && (i = /* @__PURE__ */ I(i), n = /* @__PURE__ */ I(n)), !a && /* @__PURE__ */ R(i) && !/* @__PURE__ */ R(n)) return r ? (j(`Set operation on key "${String(t)}" failed: target is readonly.`, e[t]), !0) : (i.value = n, !0);
|
|
558
557
|
}
|
|
559
|
-
let o = a ? Number(t) < e.length : h(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */
|
|
560
|
-
return e === /* @__PURE__ */
|
|
558
|
+
let o = a ? Number(t) < e.length : h(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */ R(e) ? e : r);
|
|
559
|
+
return e === /* @__PURE__ */ I(r) && (o ? O(n, i) && ut(e, "set", t, n, i) : ut(e, "add", t, n)), s;
|
|
561
560
|
}
|
|
562
561
|
deleteProperty(e, t) {
|
|
563
562
|
let n = h(e, t), r = e[t], i = Reflect.deleteProperty(e, t);
|
|
564
|
-
return i && n &&
|
|
563
|
+
return i && n && ut(e, "delete", t, void 0, r), i;
|
|
565
564
|
}
|
|
566
565
|
has(e, t) {
|
|
567
566
|
let n = Reflect.has(e, t);
|
|
568
|
-
return (!S(t) || !
|
|
567
|
+
return (!S(t) || !St.has(t)) && P(e, "has", t), n;
|
|
569
568
|
}
|
|
570
569
|
ownKeys(e) {
|
|
571
|
-
return
|
|
570
|
+
return P(e, "iterate", g(e) ? "length" : st), Reflect.ownKeys(e);
|
|
572
571
|
}
|
|
573
|
-
},
|
|
572
|
+
}, Et = class extends wt {
|
|
574
573
|
constructor(e = !1) {
|
|
575
574
|
super(!0, e);
|
|
576
575
|
}
|
|
577
576
|
set(e, t) {
|
|
578
|
-
return
|
|
577
|
+
return j(`Set operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
579
578
|
}
|
|
580
579
|
deleteProperty(e, t) {
|
|
581
|
-
return
|
|
580
|
+
return j(`Delete operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
582
581
|
}
|
|
583
|
-
},
|
|
584
|
-
function
|
|
582
|
+
}, Dt = /* @__PURE__ */ new Tt(), Ot = /* @__PURE__ */ new Et(), kt = /* @__PURE__ */ new Tt(!0), At = /* @__PURE__ */ new Et(!0), jt = (e) => e, Mt = (e) => Reflect.getPrototypeOf(e);
|
|
583
|
+
function Nt(e, t, n) {
|
|
585
584
|
return function(...r) {
|
|
586
|
-
let i = this.__v_raw, a = /* @__PURE__ */
|
|
587
|
-
return !t &&
|
|
585
|
+
let i = this.__v_raw, a = /* @__PURE__ */ I(i), o = _(a), s = e === "entries" || e === Symbol.iterator && o, c = e === "keys" && o, l = i[e](...r), u = n ? jt : t ? rn : L;
|
|
586
|
+
return !t && P(a, "iterate", c ? ct : st), f(Object.create(l), { next() {
|
|
588
587
|
let { value: e, done: t } = l.next();
|
|
589
588
|
return t ? {
|
|
590
589
|
value: e,
|
|
@@ -596,64 +595,64 @@ function Pt(e, t, n) {
|
|
|
596
595
|
} });
|
|
597
596
|
};
|
|
598
597
|
}
|
|
599
|
-
function
|
|
598
|
+
function Pt(e) {
|
|
600
599
|
return function(...t) {
|
|
601
600
|
{
|
|
602
601
|
let n = t[0] ? `on key "${t[0]}" ` : "";
|
|
603
|
-
|
|
602
|
+
j(`${D(e)} operation ${n}failed: target is readonly.`, /* @__PURE__ */ I(this));
|
|
604
603
|
}
|
|
605
604
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
606
605
|
};
|
|
607
606
|
}
|
|
608
|
-
function
|
|
607
|
+
function Ft(e, t) {
|
|
609
608
|
let n = {
|
|
610
609
|
get(n) {
|
|
611
|
-
let r = this.__v_raw, i = /* @__PURE__ */
|
|
612
|
-
e || (O(n, a) &&
|
|
613
|
-
let { has: o } =
|
|
610
|
+
let r = this.__v_raw, i = /* @__PURE__ */ I(r), a = /* @__PURE__ */ I(n);
|
|
611
|
+
e || (O(n, a) && P(i, "get", n), P(i, "get", a));
|
|
612
|
+
let { has: o } = Mt(i), s = t ? jt : e ? rn : L;
|
|
614
613
|
if (o.call(i, n)) return s(r.get(n));
|
|
615
614
|
if (o.call(i, a)) return s(r.get(a));
|
|
616
615
|
r !== i && r.get(n);
|
|
617
616
|
},
|
|
618
617
|
get size() {
|
|
619
618
|
let t = this.__v_raw;
|
|
620
|
-
return !e &&
|
|
619
|
+
return !e && P(/* @__PURE__ */ I(t), "iterate", st), t.size;
|
|
621
620
|
},
|
|
622
621
|
has(t) {
|
|
623
|
-
let n = this.__v_raw, r = /* @__PURE__ */
|
|
624
|
-
return e || (O(t, i) &&
|
|
622
|
+
let n = this.__v_raw, r = /* @__PURE__ */ I(n), i = /* @__PURE__ */ I(t);
|
|
623
|
+
return e || (O(t, i) && P(r, "has", t), P(r, "has", i)), t === i ? n.has(t) : n.has(t) || n.has(i);
|
|
625
624
|
},
|
|
626
625
|
forEach(n, r) {
|
|
627
|
-
let i = this, a = i.__v_raw, o = /* @__PURE__ */
|
|
628
|
-
return !e &&
|
|
626
|
+
let i = this, a = i.__v_raw, o = /* @__PURE__ */ I(a), s = t ? jt : e ? rn : L;
|
|
627
|
+
return !e && P(o, "iterate", st), a.forEach((e, t) => n.call(r, s(e), s(t), i));
|
|
629
628
|
}
|
|
630
629
|
};
|
|
631
630
|
return f(n, e ? {
|
|
632
|
-
add:
|
|
633
|
-
set:
|
|
634
|
-
delete:
|
|
635
|
-
clear:
|
|
631
|
+
add: Pt("add"),
|
|
632
|
+
set: Pt("set"),
|
|
633
|
+
delete: Pt("delete"),
|
|
634
|
+
clear: Pt("clear")
|
|
636
635
|
} : {
|
|
637
636
|
add(e) {
|
|
638
|
-
let n = /* @__PURE__ */
|
|
639
|
-
return r.has.call(n, a) || O(e, a) && r.has.call(n, e) || O(i, a) && r.has.call(n, i) || (n.add(a),
|
|
637
|
+
let n = /* @__PURE__ */ I(this), r = Mt(n), i = /* @__PURE__ */ I(e), a = !t && !/* @__PURE__ */ F(e) && !/* @__PURE__ */ en(e) ? i : e;
|
|
638
|
+
return r.has.call(n, a) || O(e, a) && r.has.call(n, e) || O(i, a) && r.has.call(n, i) || (n.add(a), ut(n, "add", a, a)), this;
|
|
640
639
|
},
|
|
641
640
|
set(e, n) {
|
|
642
|
-
!t && !/* @__PURE__ */
|
|
643
|
-
let r = /* @__PURE__ */
|
|
644
|
-
o ?
|
|
641
|
+
!t && !/* @__PURE__ */ F(n) && !/* @__PURE__ */ en(n) && (n = /* @__PURE__ */ I(n));
|
|
642
|
+
let r = /* @__PURE__ */ I(this), { has: i, get: a } = Mt(r), o = i.call(r, e);
|
|
643
|
+
o ? Vt(r, i, e) : (e = /* @__PURE__ */ I(e), o = i.call(r, e));
|
|
645
644
|
let s = a.call(r, e);
|
|
646
|
-
return r.set(e, n), o ? O(n, s) &&
|
|
645
|
+
return r.set(e, n), o ? O(n, s) && ut(r, "set", e, n, s) : ut(r, "add", e, n), this;
|
|
647
646
|
},
|
|
648
647
|
delete(e) {
|
|
649
|
-
let t = /* @__PURE__ */
|
|
650
|
-
i ?
|
|
648
|
+
let t = /* @__PURE__ */ I(this), { has: n, get: r } = Mt(t), i = n.call(t, e);
|
|
649
|
+
i ? Vt(t, n, e) : (e = /* @__PURE__ */ I(e), i = n.call(t, e));
|
|
651
650
|
let a = r ? r.call(t, e) : void 0, o = t.delete(e);
|
|
652
|
-
return i &&
|
|
651
|
+
return i && ut(t, "delete", e, void 0, a), o;
|
|
653
652
|
},
|
|
654
653
|
clear() {
|
|
655
|
-
let e = /* @__PURE__ */
|
|
656
|
-
return t &&
|
|
654
|
+
let e = /* @__PURE__ */ I(this), t = e.size !== 0, n = _(e) ? new Map(e) : new Set(e), r = e.clear();
|
|
655
|
+
return t && ut(e, "clear", void 0, void 0, n), r;
|
|
657
656
|
}
|
|
658
657
|
}), [
|
|
659
658
|
"keys",
|
|
@@ -661,23 +660,23 @@ function It(e, t) {
|
|
|
661
660
|
"entries",
|
|
662
661
|
Symbol.iterator
|
|
663
662
|
].forEach((r) => {
|
|
664
|
-
n[r] =
|
|
663
|
+
n[r] = Nt(r, e, t);
|
|
665
664
|
}), n;
|
|
666
665
|
}
|
|
667
|
-
function
|
|
668
|
-
let n =
|
|
666
|
+
function It(e, t) {
|
|
667
|
+
let n = Ft(e, t);
|
|
669
668
|
return (t, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? t : Reflect.get(h(n, r) && r in t ? n : t, r, i);
|
|
670
669
|
}
|
|
671
|
-
var
|
|
672
|
-
function
|
|
673
|
-
let r = /* @__PURE__ */
|
|
670
|
+
var Lt = { get: /* @__PURE__ */ It(!1, !1) }, Rt = { get: /* @__PURE__ */ It(!1, !0) }, zt = { get: /* @__PURE__ */ It(!0, !1) }, Bt = { get: /* @__PURE__ */ It(!0, !0) };
|
|
671
|
+
function Vt(e, t, n) {
|
|
672
|
+
let r = /* @__PURE__ */ I(n);
|
|
674
673
|
if (r !== n && t.call(e, r)) {
|
|
675
674
|
let t = ne(e);
|
|
676
|
-
|
|
675
|
+
j(`Reactive ${t} contains both the raw and reactive versions of the same object${t === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);
|
|
677
676
|
}
|
|
678
677
|
}
|
|
679
|
-
var
|
|
680
|
-
function
|
|
678
|
+
var Ht = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap();
|
|
679
|
+
function Kt(e) {
|
|
681
680
|
switch (e) {
|
|
682
681
|
case "Object":
|
|
683
682
|
case "Array": return 1;
|
|
@@ -688,29 +687,29 @@ function qt(e) {
|
|
|
688
687
|
default: return 0;
|
|
689
688
|
}
|
|
690
689
|
}
|
|
690
|
+
function qt(e) {
|
|
691
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Kt(ne(e));
|
|
692
|
+
}
|
|
693
|
+
// @__NO_SIDE_EFFECTS__
|
|
691
694
|
function Jt(e) {
|
|
692
|
-
return
|
|
695
|
+
return /* @__PURE__ */ en(e) ? e : Qt(e, !1, Dt, Lt, Ht);
|
|
693
696
|
}
|
|
694
697
|
// @__NO_SIDE_EFFECTS__
|
|
695
698
|
function Yt(e) {
|
|
696
|
-
return
|
|
699
|
+
return Qt(e, !1, kt, Rt, Ut);
|
|
697
700
|
}
|
|
698
701
|
// @__NO_SIDE_EFFECTS__
|
|
699
702
|
function Xt(e) {
|
|
700
|
-
return
|
|
703
|
+
return Qt(e, !0, Ot, zt, Wt);
|
|
701
704
|
}
|
|
702
705
|
// @__NO_SIDE_EFFECTS__
|
|
703
706
|
function Zt(e) {
|
|
704
|
-
return
|
|
705
|
-
}
|
|
706
|
-
// @__NO_SIDE_EFFECTS__
|
|
707
|
-
function Qt(e) {
|
|
708
|
-
return $t(e, !0, jt, Vt, Kt);
|
|
707
|
+
return Qt(e, !0, At, Bt, Gt);
|
|
709
708
|
}
|
|
710
|
-
function
|
|
711
|
-
if (!C(e)) return
|
|
709
|
+
function Qt(e, t, n, r, i) {
|
|
710
|
+
if (!C(e)) return j(`value cannot be made ${t ? "readonly" : "reactive"}: ${String(e)}`), e;
|
|
712
711
|
if (e.__v_raw && !(t && e.__v_isReactive)) return e;
|
|
713
|
-
let a =
|
|
712
|
+
let a = qt(e);
|
|
714
713
|
if (a === 0) return e;
|
|
715
714
|
let o = i.get(e);
|
|
716
715
|
if (o) return o;
|
|
@@ -718,36 +717,36 @@ function $t(e, t, n, r, i) {
|
|
|
718
717
|
return i.set(e, s), s;
|
|
719
718
|
}
|
|
720
719
|
// @__NO_SIDE_EFFECTS__
|
|
721
|
-
function
|
|
722
|
-
return /* @__PURE__ */
|
|
720
|
+
function $t(e) {
|
|
721
|
+
return /* @__PURE__ */ en(e) ? /* @__PURE__ */ $t(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
723
722
|
}
|
|
724
723
|
// @__NO_SIDE_EFFECTS__
|
|
725
|
-
function
|
|
724
|
+
function en(e) {
|
|
726
725
|
return !!(e && e.__v_isReadonly);
|
|
727
726
|
}
|
|
728
727
|
// @__NO_SIDE_EFFECTS__
|
|
729
|
-
function
|
|
728
|
+
function F(e) {
|
|
730
729
|
return !!(e && e.__v_isShallow);
|
|
731
730
|
}
|
|
732
731
|
// @__NO_SIDE_EFFECTS__
|
|
733
|
-
function
|
|
732
|
+
function tn(e) {
|
|
734
733
|
return e ? !!e.__v_raw : !1;
|
|
735
734
|
}
|
|
736
735
|
// @__NO_SIDE_EFFECTS__
|
|
737
|
-
function
|
|
736
|
+
function I(e) {
|
|
738
737
|
let t = e && e.__v_raw;
|
|
739
|
-
return t ? /* @__PURE__ */
|
|
738
|
+
return t ? /* @__PURE__ */ I(t) : e;
|
|
740
739
|
}
|
|
741
|
-
function
|
|
740
|
+
function nn(e) {
|
|
742
741
|
return !h(e, "__v_skip") && Object.isExtensible(e) && fe(e, "__v_skip", !0), e;
|
|
743
742
|
}
|
|
744
|
-
var
|
|
743
|
+
var L = (e) => C(e) ? /* @__PURE__ */ Jt(e) : e, rn = (e) => C(e) ? /* @__PURE__ */ Xt(e) : e;
|
|
745
744
|
// @__NO_SIDE_EFFECTS__
|
|
746
|
-
function
|
|
745
|
+
function R(e) {
|
|
747
746
|
return e ? e.__v_isRef === !0 : !1;
|
|
748
747
|
}
|
|
749
748
|
// @__NO_SIDE_EFFECTS__
|
|
750
|
-
function
|
|
749
|
+
function an(e) {
|
|
751
750
|
return sn(e, !1);
|
|
752
751
|
}
|
|
753
752
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -755,11 +754,11 @@ function on(e) {
|
|
|
755
754
|
return sn(e, !0);
|
|
756
755
|
}
|
|
757
756
|
function sn(e, t) {
|
|
758
|
-
return /* @__PURE__ */
|
|
757
|
+
return /* @__PURE__ */ R(e) ? e : new cn(e, t);
|
|
759
758
|
}
|
|
760
759
|
var cn = class {
|
|
761
760
|
constructor(e, t) {
|
|
762
|
-
this.dep = new
|
|
761
|
+
this.dep = new it(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = t ? e : /* @__PURE__ */ I(e), this._value = t ? e : L(e), this.__v_isShallow = t;
|
|
763
762
|
}
|
|
764
763
|
get value() {
|
|
765
764
|
return this.dep.track({
|
|
@@ -769,8 +768,8 @@ var cn = class {
|
|
|
769
768
|
}), this._value;
|
|
770
769
|
}
|
|
771
770
|
set value(e) {
|
|
772
|
-
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */
|
|
773
|
-
e = n ? e : /* @__PURE__ */
|
|
771
|
+
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ F(e) || /* @__PURE__ */ en(e);
|
|
772
|
+
e = n ? e : /* @__PURE__ */ I(e), O(e, t) && (this._rawValue = e, this._value = n ? e : L(e), this.dep.trigger({
|
|
774
773
|
target: this,
|
|
775
774
|
type: "set",
|
|
776
775
|
key: "value",
|
|
@@ -780,24 +779,24 @@ var cn = class {
|
|
|
780
779
|
}
|
|
781
780
|
};
|
|
782
781
|
function ln(e) {
|
|
783
|
-
return /* @__PURE__ */
|
|
782
|
+
return /* @__PURE__ */ R(e) ? e.value : e;
|
|
784
783
|
}
|
|
785
784
|
var un = {
|
|
786
785
|
get: (e, t, n) => t === "__v_raw" ? e : ln(Reflect.get(e, t, n)),
|
|
787
786
|
set: (e, t, n, r) => {
|
|
788
787
|
let i = e[t];
|
|
789
|
-
return /* @__PURE__ */
|
|
788
|
+
return /* @__PURE__ */ R(i) && !/* @__PURE__ */ R(n) ? (i.value = n, !0) : Reflect.set(e, t, n, r);
|
|
790
789
|
}
|
|
791
790
|
};
|
|
792
791
|
function dn(e) {
|
|
793
|
-
return /* @__PURE__ */
|
|
792
|
+
return /* @__PURE__ */ $t(e) ? e : new Proxy(e, un);
|
|
794
793
|
}
|
|
795
794
|
var fn = class {
|
|
796
795
|
constructor(e, t, n) {
|
|
797
|
-
this.fn = e, this.setter = t, this._value = void 0, this.dep = new
|
|
796
|
+
this.fn = e, this.setter = t, this._value = void 0, this.dep = new it(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = nt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !t, this.isSSR = n;
|
|
798
797
|
}
|
|
799
798
|
notify() {
|
|
800
|
-
if (this.flags |= 16, !(this.flags & 8) &&
|
|
799
|
+
if (this.flags |= 16, !(this.flags & 8) && N !== this) return He(this, !0), !0;
|
|
801
800
|
}
|
|
802
801
|
get value() {
|
|
803
802
|
let e = this.dep.track({
|
|
@@ -805,10 +804,10 @@ var fn = class {
|
|
|
805
804
|
type: "get",
|
|
806
805
|
key: "value"
|
|
807
806
|
});
|
|
808
|
-
return
|
|
807
|
+
return Je(this), e && (e.version = this.dep.version), this._value;
|
|
809
808
|
}
|
|
810
809
|
set value(e) {
|
|
811
|
-
this.setter ? this.setter(e) :
|
|
810
|
+
this.setter ? this.setter(e) : j("Write operation failed: computed value is readonly");
|
|
812
811
|
}
|
|
813
812
|
};
|
|
814
813
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -823,24 +822,24 @@ function _n(e, t = !1, n = gn) {
|
|
|
823
822
|
if (n) {
|
|
824
823
|
let t = hn.get(n);
|
|
825
824
|
t || hn.set(n, t = []), t.push(e);
|
|
826
|
-
} else t ||
|
|
825
|
+
} else t || j("onWatcherCleanup() was called when there was no active watcher to associate with.");
|
|
827
826
|
}
|
|
828
827
|
function vn(e, t, n = o) {
|
|
829
828
|
let { immediate: r, deep: i, once: a, scheduler: s, augmentJob: l, call: u } = n, d = (e) => {
|
|
830
|
-
(n.onWarn ||
|
|
831
|
-
}, f = (e) => i ? e : /* @__PURE__ */
|
|
832
|
-
if (/* @__PURE__ */
|
|
833
|
-
if (/* @__PURE__ */
|
|
834
|
-
if (/* @__PURE__ */
|
|
829
|
+
(n.onWarn || j)("Invalid watch source: ", e, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.");
|
|
830
|
+
}, f = (e) => i ? e : /* @__PURE__ */ F(e) || i === !1 || i === 0 ? yn(e, 1) : yn(e), m, h, _, v, y = !1, x = !1;
|
|
831
|
+
if (/* @__PURE__ */ R(e) ? (h = () => e.value, y = /* @__PURE__ */ F(e)) : /* @__PURE__ */ $t(e) ? (h = () => f(e), y = !0) : g(e) ? (x = !0, y = e.some((e) => /* @__PURE__ */ $t(e) || /* @__PURE__ */ F(e)), h = () => e.map((e) => {
|
|
832
|
+
if (/* @__PURE__ */ R(e)) return e.value;
|
|
833
|
+
if (/* @__PURE__ */ $t(e)) return f(e);
|
|
835
834
|
if (b(e)) return u ? u(e, 2) : e();
|
|
836
835
|
d(e);
|
|
837
836
|
})) : b(e) ? h = t ? u ? () => u(e, 2) : e : () => {
|
|
838
837
|
if (_) {
|
|
839
|
-
|
|
838
|
+
$e();
|
|
840
839
|
try {
|
|
841
840
|
_();
|
|
842
841
|
} finally {
|
|
843
|
-
|
|
842
|
+
et();
|
|
844
843
|
}
|
|
845
844
|
}
|
|
846
845
|
let t = gn;
|
|
@@ -854,7 +853,7 @@ function vn(e, t, n = o) {
|
|
|
854
853
|
let e = h, t = i === !0 ? Infinity : i;
|
|
855
854
|
h = () => yn(e(), t);
|
|
856
855
|
}
|
|
857
|
-
let S =
|
|
856
|
+
let S = Ie(), C = () => {
|
|
858
857
|
m.stop(), S && S.active && p(S.effects, m);
|
|
859
858
|
};
|
|
860
859
|
if (a && t) {
|
|
@@ -864,26 +863,28 @@ function vn(e, t, n = o) {
|
|
|
864
863
|
};
|
|
865
864
|
}
|
|
866
865
|
let w = x ? Array(e.length).fill(mn) : mn, ee = (e) => {
|
|
867
|
-
if (!(!(m.flags & 1) || !m.dirty && !e))
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
866
|
+
if (!(!(m.flags & 1) || !m.dirty && !e)) {
|
|
867
|
+
if (t) {
|
|
868
|
+
let e = m.run();
|
|
869
|
+
if (i || y || (x ? e.some((e, t) => O(e, w[t])) : O(e, w))) {
|
|
870
|
+
_ && _();
|
|
871
|
+
let n = gn;
|
|
872
|
+
gn = m;
|
|
873
|
+
try {
|
|
874
|
+
let n = [
|
|
875
|
+
e,
|
|
876
|
+
w === mn ? void 0 : x && w[0] === mn ? [] : w,
|
|
877
|
+
v
|
|
878
|
+
];
|
|
879
|
+
w = e, u ? u(t, 3, n) : t(...n);
|
|
880
|
+
} finally {
|
|
881
|
+
gn = n;
|
|
882
|
+
}
|
|
882
883
|
}
|
|
883
|
-
}
|
|
884
|
-
}
|
|
884
|
+
} else m.run();
|
|
885
|
+
}
|
|
885
886
|
};
|
|
886
|
-
return l && l(ee), m = new
|
|
887
|
+
return l && l(ee), m = new Re(h), m.scheduler = s ? () => s(ee, !1) : ee, v = (e) => _n(e, !1, m), _ = m.onStop = () => {
|
|
887
888
|
let e = hn.get(m);
|
|
888
889
|
if (e) {
|
|
889
890
|
if (u) u(e, 4);
|
|
@@ -894,7 +895,7 @@ function vn(e, t, n = o) {
|
|
|
894
895
|
}
|
|
895
896
|
function yn(e, t = Infinity, n) {
|
|
896
897
|
if (t <= 0 || !C(e) || e.__v_skip || (n ||= /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t)) return e;
|
|
897
|
-
if (n.set(e, t), t--, /* @__PURE__ */
|
|
898
|
+
if (n.set(e, t), t--, /* @__PURE__ */ R(e)) yn(e.value, t, n);
|
|
898
899
|
else if (g(e)) for (let r = 0; r < e.length; r++) yn(e[r], t, n);
|
|
899
900
|
else if (v(e) || _(e)) e.forEach((e) => {
|
|
900
901
|
yn(e, t, n);
|
|
@@ -917,19 +918,19 @@ function Sn() {
|
|
|
917
918
|
var Cn = !1;
|
|
918
919
|
function z(e, ...t) {
|
|
919
920
|
if (Cn) return;
|
|
920
|
-
Cn = !0,
|
|
921
|
+
Cn = !0, $e();
|
|
921
922
|
let n = bn.length ? bn[bn.length - 1].component : null, r = n && n.appContext.config.warnHandler, i = wn();
|
|
922
923
|
if (r) An(r, n, 11, [
|
|
923
924
|
e + t.map((e) => e.toString?.call(e) ?? JSON.stringify(e)).join(""),
|
|
924
925
|
n && n.proxy,
|
|
925
|
-
i.map(({ vnode: e }) => `at <${
|
|
926
|
+
i.map(({ vnode: e }) => `at <${es(n, e.type)}>`).join("\n"),
|
|
926
927
|
i
|
|
927
928
|
]);
|
|
928
929
|
else {
|
|
929
930
|
let n = [`[Vue warn]: ${e}`, ...t];
|
|
930
931
|
i.length && n.push("\n", ...Tn(i)), console.warn(...n);
|
|
931
932
|
}
|
|
932
|
-
|
|
933
|
+
et(), Cn = !1;
|
|
933
934
|
}
|
|
934
935
|
function wn() {
|
|
935
936
|
let e = bn[bn.length - 1];
|
|
@@ -953,7 +954,7 @@ function Tn(e) {
|
|
|
953
954
|
}), t;
|
|
954
955
|
}
|
|
955
956
|
function En({ vnode: e, recurseCount: t }) {
|
|
956
|
-
let n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, i = ` at <${
|
|
957
|
+
let n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, i = ` at <${es(e.component, e.type, r)}`, a = ">" + n;
|
|
957
958
|
return e.props ? [
|
|
958
959
|
i,
|
|
959
960
|
...Dn(e.props),
|
|
@@ -967,11 +968,11 @@ function Dn(e) {
|
|
|
967
968
|
}), n.length > 3 && t.push(" ..."), t;
|
|
968
969
|
}
|
|
969
970
|
function On(e, t, n) {
|
|
970
|
-
return x(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */
|
|
971
|
+
return x(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ R(t) ? (t = On(e, /* @__PURE__ */ I(t.value), !0), n ? t : [
|
|
971
972
|
`${e}=Ref<`,
|
|
972
973
|
t,
|
|
973
974
|
">"
|
|
974
|
-
]) : b(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */
|
|
975
|
+
]) : b(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ I(t), n ? t : [`${e}=`, t]);
|
|
975
976
|
}
|
|
976
977
|
var kn = {
|
|
977
978
|
sp: "serverPrefetch hook",
|
|
@@ -1024,7 +1025,8 @@ function jn(e, t, n, r) {
|
|
|
1024
1025
|
let i = [];
|
|
1025
1026
|
for (let a = 0; a < e.length; a++) i.push(jn(e[a], t, n, r));
|
|
1026
1027
|
return i;
|
|
1027
|
-
}
|
|
1028
|
+
}
|
|
1029
|
+
z(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`);
|
|
1028
1030
|
}
|
|
1029
1031
|
function Mn(e, t, n, r = !0) {
|
|
1030
1032
|
let i = t ? t.vnode : null, { errorHandler: a, throwUnhandledErrorInProduction: s } = t && t.appContext.config || o;
|
|
@@ -1038,11 +1040,11 @@ function Mn(e, t, n, r = !0) {
|
|
|
1038
1040
|
r = r.parent;
|
|
1039
1041
|
}
|
|
1040
1042
|
if (a) {
|
|
1041
|
-
|
|
1043
|
+
$e(), An(a, null, 10, [
|
|
1042
1044
|
e,
|
|
1043
1045
|
i,
|
|
1044
1046
|
o
|
|
1045
|
-
]),
|
|
1047
|
+
]), et();
|
|
1046
1048
|
return;
|
|
1047
1049
|
}
|
|
1048
1050
|
}
|
|
@@ -1126,7 +1128,7 @@ function Yn(e) {
|
|
|
1126
1128
|
function Xn(e, t) {
|
|
1127
1129
|
let n = e.get(t) || 0;
|
|
1128
1130
|
if (n > Bn) {
|
|
1129
|
-
let e = t.i, n = e &&
|
|
1131
|
+
let e = t.i, n = e && $o(e.type);
|
|
1130
1132
|
return Mn(`Maximum recursive updates exceeded${n ? ` in component <${n}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, null, 10), !0;
|
|
1131
1133
|
}
|
|
1132
1134
|
return e.set(t, n + 1), !1;
|
|
@@ -1152,13 +1154,13 @@ function tr(e) {
|
|
|
1152
1154
|
$n.get(e.type.__hmrId).instances.delete(e);
|
|
1153
1155
|
}
|
|
1154
1156
|
function nr(e, t) {
|
|
1155
|
-
return
|
|
1157
|
+
return !$n.has(e) && ($n.set(e, {
|
|
1156
1158
|
initialDef: rr(t),
|
|
1157
1159
|
instances: /* @__PURE__ */ new Set()
|
|
1158
1160
|
}), !0);
|
|
1159
1161
|
}
|
|
1160
1162
|
function rr(e) {
|
|
1161
|
-
return
|
|
1163
|
+
return ts(e) ? e.__vccOpts : e;
|
|
1162
1164
|
}
|
|
1163
1165
|
function ir(e, t) {
|
|
1164
1166
|
let n = $n.get(e);
|
|
@@ -1261,7 +1263,7 @@ function Dr(e) {
|
|
|
1261
1263
|
}
|
|
1262
1264
|
function Or(e, t) {
|
|
1263
1265
|
if (H === null) return z("withDirectives can only be used inside render functions."), e;
|
|
1264
|
-
let n =
|
|
1266
|
+
let n = Xo(H), r = e.dirs ||= [];
|
|
1265
1267
|
for (let e = 0; e < t.length; e++) {
|
|
1266
1268
|
let [i, a, s, c = o] = t[e];
|
|
1267
1269
|
i && (b(i) && (i = {
|
|
@@ -1284,12 +1286,12 @@ function kr(e, t, n, r) {
|
|
|
1284
1286
|
let s = i[o];
|
|
1285
1287
|
a && (s.oldValue = a[o].value);
|
|
1286
1288
|
let c = s.dir[r];
|
|
1287
|
-
c && (
|
|
1289
|
+
c && ($e(), jn(c, n, 8, [
|
|
1288
1290
|
e.el,
|
|
1289
1291
|
s,
|
|
1290
1292
|
e,
|
|
1291
1293
|
t
|
|
1292
|
-
]),
|
|
1294
|
+
]), et());
|
|
1293
1295
|
}
|
|
1294
1296
|
}
|
|
1295
1297
|
function Ar(e, t) {
|
|
@@ -1299,7 +1301,7 @@ function Ar(e, t) {
|
|
|
1299
1301
|
}
|
|
1300
1302
|
}
|
|
1301
1303
|
function jr(e, t, n = !1) {
|
|
1302
|
-
let r =
|
|
1304
|
+
let r = No();
|
|
1303
1305
|
if (r || Yi) {
|
|
1304
1306
|
let i = Yi ? Yi._context.provides : r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
1305
1307
|
if (i && e in i) return i[e];
|
|
@@ -1322,7 +1324,7 @@ function Fr(e, t, n = o) {
|
|
|
1322
1324
|
let l = f({}, n);
|
|
1323
1325
|
l.onWarn = z;
|
|
1324
1326
|
let u = t && r || !t && a !== "post", d;
|
|
1325
|
-
if (
|
|
1327
|
+
if (Vo) {
|
|
1326
1328
|
if (a === "sync") {
|
|
1327
1329
|
let e = Nr();
|
|
1328
1330
|
d = e.__watcherHandles ||= [];
|
|
@@ -1342,12 +1344,12 @@ function Fr(e, t, n = o) {
|
|
|
1342
1344
|
t && (e.flags |= 4), m && (e.flags |= 2, p && (e.id = p.uid, e.i = p));
|
|
1343
1345
|
};
|
|
1344
1346
|
let h = vn(e, t, l);
|
|
1345
|
-
return
|
|
1347
|
+
return Vo && (d ? d.push(h) : u && h()), h;
|
|
1346
1348
|
}
|
|
1347
1349
|
function Ir(e, t, n) {
|
|
1348
1350
|
let r = this.proxy, i = x(e) ? e.includes(".") ? Lr(r, e) : () => r[e] : e.bind(r, r), a;
|
|
1349
1351
|
b(t) ? a = t : (a = t.handler, n = t);
|
|
1350
|
-
let o =
|
|
1352
|
+
let o = Io(this), s = Fr(i, a.bind(r), n);
|
|
1351
1353
|
return o(), s;
|
|
1352
1354
|
}
|
|
1353
1355
|
function Lr(e, t) {
|
|
@@ -1375,7 +1377,7 @@ function Ur(e) {
|
|
|
1375
1377
|
}
|
|
1376
1378
|
var Wr = /* @__PURE__ */ new WeakSet();
|
|
1377
1379
|
function Gr(e) {
|
|
1378
|
-
let t =
|
|
1380
|
+
let t = No(), n = /* @__PURE__ */ on(null);
|
|
1379
1381
|
if (t) {
|
|
1380
1382
|
let r = t.refs === o ? t.refs = {} : t.refs;
|
|
1381
1383
|
Kr(r, e) ? z(`useTemplateRef('${e}') already exists.`) : Object.defineProperty(r, e, {
|
|
@@ -1384,7 +1386,7 @@ function Gr(e) {
|
|
|
1384
1386
|
set: (e) => n.value = e
|
|
1385
1387
|
});
|
|
1386
1388
|
} else z("useTemplateRef() is called when there is no active component instance to be associated with.");
|
|
1387
|
-
let r = /* @__PURE__ */
|
|
1389
|
+
let r = /* @__PURE__ */ Xt(n);
|
|
1388
1390
|
return Wr.add(r), r;
|
|
1389
1391
|
}
|
|
1390
1392
|
function Kr(e, t) {
|
|
@@ -1401,22 +1403,22 @@ function Jr(e, t, n, r, i = !1) {
|
|
|
1401
1403
|
r.shapeFlag & 512 && r.type.__asyncResolved && r.component.subTree.component && Jr(e, t, n, r.component.subTree);
|
|
1402
1404
|
return;
|
|
1403
1405
|
}
|
|
1404
|
-
let a = r.shapeFlag & 4 ?
|
|
1406
|
+
let a = r.shapeFlag & 4 ? Xo(r.component) : r.el, s = i ? null : a, { i: c, r: u } = e;
|
|
1405
1407
|
if (!c) {
|
|
1406
1408
|
z("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");
|
|
1407
1409
|
return;
|
|
1408
1410
|
}
|
|
1409
|
-
let d = t && t.r, f = c.refs === o ? c.refs = {} : c.refs, m = c.setupState, _ = /* @__PURE__ */
|
|
1411
|
+
let d = t && t.r, f = c.refs === o ? c.refs = {} : c.refs, m = c.setupState, _ = /* @__PURE__ */ I(m), v = m === o ? l : (e) => (h(_, e) && !/* @__PURE__ */ R(_[e]) && z(`Template ref "${e}" used on a non-ref value. It will not work in the production build.`), Wr.has(_[e]) || Kr(f, e) ? !1 : h(_, e)), y = (e, t) => !(Wr.has(e) || t && Kr(f, t));
|
|
1410
1412
|
if (d != null && d !== u) {
|
|
1411
1413
|
if (Yr(t), x(d)) f[d] = null, v(d) && (m[d] = null);
|
|
1412
|
-
else if (/* @__PURE__ */
|
|
1414
|
+
else if (/* @__PURE__ */ R(d)) {
|
|
1413
1415
|
let e = t;
|
|
1414
1416
|
y(d, e.k) && (d.value = null), e.k && (f[e.k] = null);
|
|
1415
1417
|
}
|
|
1416
1418
|
}
|
|
1417
1419
|
if (b(u)) An(u, c, 12, [s, f]);
|
|
1418
1420
|
else {
|
|
1419
|
-
let t = x(u), r = /* @__PURE__ */
|
|
1421
|
+
let t = x(u), r = /* @__PURE__ */ R(u);
|
|
1420
1422
|
if (t || r) {
|
|
1421
1423
|
let o = () => {
|
|
1422
1424
|
if (e.f) {
|
|
@@ -1474,15 +1476,16 @@ function ti(e, t, n, r) {
|
|
|
1474
1476
|
function ni(e, t, n = Q, r = !1) {
|
|
1475
1477
|
if (n) {
|
|
1476
1478
|
let i = n[e] || (n[e] = []), a = t.__weh ||= (...r) => {
|
|
1477
|
-
|
|
1478
|
-
let i =
|
|
1479
|
-
return i(),
|
|
1479
|
+
$e();
|
|
1480
|
+
let i = Io(n), a = jn(t, n, e, r);
|
|
1481
|
+
return i(), et(), a;
|
|
1480
1482
|
};
|
|
1481
1483
|
return r ? i.unshift(a) : i.push(a), a;
|
|
1482
|
-
}
|
|
1484
|
+
}
|
|
1485
|
+
z(`${ue(kn[e].replace(/ hook$/, ""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`);
|
|
1483
1486
|
}
|
|
1484
1487
|
var ri = (e) => (t, n = Q) => {
|
|
1485
|
-
(!
|
|
1488
|
+
(!Vo || e === "sp") && ni(e, (...e) => t(...e), n);
|
|
1486
1489
|
}, ii = ri("bm"), ai = ri("m"), oi = ri("bu"), si = ri("u"), ci = ri("bum"), li = ri("um"), ui = ri("sp"), di = ri("rtg"), fi = ri("rtc");
|
|
1487
1490
|
function pi(e, t = Q) {
|
|
1488
1491
|
ni("ec", e, t);
|
|
@@ -1497,7 +1500,7 @@ function _i(e, t, n = !0, r = !1) {
|
|
|
1497
1500
|
if (i) {
|
|
1498
1501
|
let a = i.type;
|
|
1499
1502
|
if (e === mi) {
|
|
1500
|
-
let e =
|
|
1503
|
+
let e = $o(a, !1);
|
|
1501
1504
|
if (e && (e === t || e === T(t) || e === D(T(t)))) return a;
|
|
1502
1505
|
}
|
|
1503
1506
|
let o = vi(i[e] || a[e], t) || vi(i.appContext[e], t);
|
|
@@ -1507,7 +1510,8 @@ function _i(e, t, n = !0, r = !1) {
|
|
|
1507
1510
|
z(`Failed to resolve ${e.slice(0, -1)}: ${t}${n}`);
|
|
1508
1511
|
}
|
|
1509
1512
|
return o;
|
|
1510
|
-
}
|
|
1513
|
+
}
|
|
1514
|
+
z(`resolve${D(e.slice(0, -1))} can only be used in render() or setup().`);
|
|
1511
1515
|
}
|
|
1512
1516
|
function vi(e, t) {
|
|
1513
1517
|
return e && (e[t] || e[T(t)] || e[D(T(t))]);
|
|
@@ -1515,24 +1519,26 @@ function vi(e, t) {
|
|
|
1515
1519
|
function yi(e, t, n, r) {
|
|
1516
1520
|
let i, a = n && n[r], o = g(e);
|
|
1517
1521
|
if (o || x(e)) {
|
|
1518
|
-
let n = o && /* @__PURE__ */
|
|
1519
|
-
n && (r = !/* @__PURE__ */
|
|
1520
|
-
for (let n = 0, o = e.length; n < o; n++) i[n] = t(r ? s ?
|
|
1521
|
-
} else if (typeof e == "number")
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
else if (C(e)) if (e[Symbol.iterator]) i = Array.from(e, (e, n) => t(e, n, void 0, a && a[n]));
|
|
1527
|
-
else {
|
|
1528
|
-
let n = Object.keys(e);
|
|
1529
|
-
i = Array(n.length);
|
|
1530
|
-
for (let r = 0, o = n.length; r < o; r++) {
|
|
1531
|
-
let o = n[r];
|
|
1532
|
-
i[r] = t(e[o], o, r, a && a[r]);
|
|
1522
|
+
let n = o && /* @__PURE__ */ $t(e), r = !1, s = !1;
|
|
1523
|
+
n && (r = !/* @__PURE__ */ F(e), s = /* @__PURE__ */ en(e), e = ft(e)), i = Array(e.length);
|
|
1524
|
+
for (let n = 0, o = e.length; n < o; n++) i[n] = t(r ? s ? rn(L(e[n])) : L(e[n]) : e[n], n, void 0, a && a[n]);
|
|
1525
|
+
} else if (typeof e == "number") {
|
|
1526
|
+
if (!Number.isInteger(e) || e < 0) z(`The v-for range expects a positive integer value but got ${e}.`), i = [];
|
|
1527
|
+
else {
|
|
1528
|
+
i = Array(e);
|
|
1529
|
+
for (let n = 0; n < e; n++) i[n] = t(n + 1, n, void 0, a && a[n]);
|
|
1533
1530
|
}
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1531
|
+
} else if (C(e)) {
|
|
1532
|
+
if (e[Symbol.iterator]) i = Array.from(e, (e, n) => t(e, n, void 0, a && a[n]));
|
|
1533
|
+
else {
|
|
1534
|
+
let n = Object.keys(e);
|
|
1535
|
+
i = Array(n.length);
|
|
1536
|
+
for (let r = 0, o = n.length; r < o; r++) {
|
|
1537
|
+
let o = n[r];
|
|
1538
|
+
i[r] = t(e[o], o, r, a && a[r]);
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
} else i = [];
|
|
1536
1542
|
return n && (n[r] = i), i;
|
|
1537
1543
|
}
|
|
1538
1544
|
function bi(e, t, n = {}, r, i) {
|
|
@@ -1548,14 +1554,14 @@ function bi(e, t, n = {}, r, i) {
|
|
|
1548
1554
|
function xi(e) {
|
|
1549
1555
|
return e.some((e) => !mo(e) || !(e.type === K || e.type === G && !xi(e.children))) ? e : null;
|
|
1550
1556
|
}
|
|
1551
|
-
var Si = (e) => e ?
|
|
1557
|
+
var Si = (e) => e ? Bo(e) ? Xo(e) : Si(e.parent) : null, Ci = /* @__PURE__ */ f(/* @__PURE__ */ Object.create(null), {
|
|
1552
1558
|
$: (e) => e,
|
|
1553
1559
|
$el: (e) => e.vnode.el,
|
|
1554
1560
|
$data: (e) => e.data,
|
|
1555
|
-
$props: (e) => /* @__PURE__ */
|
|
1556
|
-
$attrs: (e) => /* @__PURE__ */
|
|
1557
|
-
$slots: (e) => /* @__PURE__ */
|
|
1558
|
-
$refs: (e) => /* @__PURE__ */
|
|
1561
|
+
$props: (e) => /* @__PURE__ */ Zt(e.props),
|
|
1562
|
+
$attrs: (e) => /* @__PURE__ */ Zt(e.attrs),
|
|
1563
|
+
$slots: (e) => /* @__PURE__ */ Zt(e.slots),
|
|
1564
|
+
$refs: (e) => /* @__PURE__ */ Zt(e.refs),
|
|
1559
1565
|
$parent: (e) => Si(e.parent),
|
|
1560
1566
|
$root: (e) => Si(e.root),
|
|
1561
1567
|
$host: (e) => e.ce,
|
|
@@ -1586,7 +1592,7 @@ var Si = (e) => e ? Vo(e) ? $o(e) : Si(e.parent) : null, Ci = /* @__PURE__ */ f(
|
|
|
1586
1592
|
else Mi && (s[t] = 0);
|
|
1587
1593
|
}
|
|
1588
1594
|
let u = Ci[t], d, f;
|
|
1589
|
-
if (u) return t === "$attrs" ? (
|
|
1595
|
+
if (u) return t === "$attrs" ? (P(e.attrs, "get", ""), na()) : t === "$slots" && P(e, "get", t), u(e);
|
|
1590
1596
|
if ((d = c.__cssModules) && (d = d[t])) return d;
|
|
1591
1597
|
if (n !== o && h(n, t)) return s[t] = 4, n[t];
|
|
1592
1598
|
if (f = l.config.globalProperties, h(f, t)) return f[t];
|
|
@@ -1637,7 +1643,7 @@ function Oi(e) {
|
|
|
1637
1643
|
}
|
|
1638
1644
|
function ki(e) {
|
|
1639
1645
|
let { ctx: t, setupState: n } = e;
|
|
1640
|
-
Object.keys(/* @__PURE__ */
|
|
1646
|
+
Object.keys(/* @__PURE__ */ I(n)).forEach((e) => {
|
|
1641
1647
|
if (!n.__isScriptSetup) {
|
|
1642
1648
|
if (wi(e[0])) {
|
|
1643
1649
|
z(`setup() return property ${JSON.stringify(e)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);
|
|
@@ -1684,7 +1690,7 @@ function Ni(e) {
|
|
|
1684
1690
|
let t = i.call(n, n);
|
|
1685
1691
|
if (w(t) && z("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."), !C(t)) z("data() should return an object.");
|
|
1686
1692
|
else {
|
|
1687
|
-
e.data = /* @__PURE__ */
|
|
1693
|
+
e.data = /* @__PURE__ */ Jt(t);
|
|
1688
1694
|
for (let e in t) E("Data", e), wi(e[0]) || Object.defineProperty(r, e, {
|
|
1689
1695
|
configurable: !0,
|
|
1690
1696
|
enumerable: !0,
|
|
@@ -1696,7 +1702,7 @@ function Ni(e) {
|
|
|
1696
1702
|
if (Mi = !0, a) for (let e in a) {
|
|
1697
1703
|
let t = a[e], i = b(t) ? t.bind(n, n) : b(t.get) ? t.get.bind(n, n) : c;
|
|
1698
1704
|
i === c && z(`Computed property "${e}" has no getter.`);
|
|
1699
|
-
let o =
|
|
1705
|
+
let o = ns({
|
|
1700
1706
|
get: i,
|
|
1701
1707
|
set: !b(t) && b(t.set) ? t.set.bind(n) : () => {
|
|
1702
1708
|
z(`Write operation failed: computed property "${e}" is readonly.`);
|
|
@@ -1720,23 +1726,25 @@ function Ni(e) {
|
|
|
1720
1726
|
function D(e, t) {
|
|
1721
1727
|
g(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n));
|
|
1722
1728
|
}
|
|
1723
|
-
if (D(ii, f), D(ai, p), D(oi, m), D(si, h), D(Qr, _), D($r, v), D(pi, ie), D(fi, ne), D(di, re), D(ci, x), D(li, ee), D(ui, ae), g(oe))
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1729
|
+
if (D(ii, f), D(ai, p), D(oi, m), D(si, h), D(Qr, _), D($r, v), D(pi, ie), D(fi, ne), D(di, re), D(ci, x), D(li, ee), D(ui, ae), g(oe)) {
|
|
1730
|
+
if (oe.length) {
|
|
1731
|
+
let t = e.exposed ||= {};
|
|
1732
|
+
oe.forEach((e) => {
|
|
1733
|
+
Object.defineProperty(t, e, {
|
|
1734
|
+
get: () => n[e],
|
|
1735
|
+
set: (t) => n[e] = t,
|
|
1736
|
+
enumerable: !0
|
|
1737
|
+
});
|
|
1730
1738
|
});
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1739
|
+
} else e.exposed ||= {};
|
|
1740
|
+
}
|
|
1733
1741
|
te && e.render === c && (e.render = te), se != null && (e.inheritAttrs = se), ce && (e.components = ce), T && (e.directives = T), ae && Ur(e);
|
|
1734
1742
|
}
|
|
1735
1743
|
function Pi(e, t, n = c) {
|
|
1736
1744
|
g(e) && (e = Hi(e));
|
|
1737
1745
|
for (let r in e) {
|
|
1738
1746
|
let i = e[r], a;
|
|
1739
|
-
a = C(i) ? "default" in i ? jr(i.from || r, i.default, !0) : jr(i.from || r) : jr(i), /* @__PURE__ */
|
|
1747
|
+
a = C(i) ? "default" in i ? jr(i.from || r, i.default, !0) : jr(i.from || r) : jr(i), /* @__PURE__ */ R(a) ? Object.defineProperty(t, r, {
|
|
1740
1748
|
enumerable: !0,
|
|
1741
1749
|
configurable: !0,
|
|
1742
1750
|
get: () => a.value,
|
|
@@ -1753,12 +1761,13 @@ function Ii(e, t, n, r) {
|
|
|
1753
1761
|
let n = t[e];
|
|
1754
1762
|
b(n) ? Pr(i, n) : z(`Invalid watch handler specified by key "${e}"`, n);
|
|
1755
1763
|
} else if (b(e)) Pr(i, e.bind(n));
|
|
1756
|
-
else if (C(e))
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1764
|
+
else if (C(e)) {
|
|
1765
|
+
if (g(e)) e.forEach((e) => Ii(e, t, n, r));
|
|
1766
|
+
else {
|
|
1767
|
+
let r = b(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
1768
|
+
b(r) ? Pr(i, r, e) : z(`Invalid watch handler specified by key "${e.handler}"`, r);
|
|
1769
|
+
}
|
|
1770
|
+
} else z(`Invalid watch option: "${r}"`, e);
|
|
1762
1771
|
}
|
|
1763
1772
|
function Li(e) {
|
|
1764
1773
|
let t = e.type, { mixins: n, extends: r } = t, { mixins: i, optionsCache: a, config: { optionMergeStrategies: o } } = e.appContext, s = a.get(t), c;
|
|
@@ -1864,7 +1873,7 @@ function Ji(e, t) {
|
|
|
1864
1873
|
_container: null,
|
|
1865
1874
|
_context: i,
|
|
1866
1875
|
_instance: null,
|
|
1867
|
-
version:
|
|
1876
|
+
version: as,
|
|
1868
1877
|
get config() {
|
|
1869
1878
|
return i.config;
|
|
1870
1879
|
},
|
|
@@ -1878,7 +1887,7 @@ function Ji(e, t) {
|
|
|
1878
1887
|
return i.mixins.includes(e) ? z("Mixin has already been applied to target app" + (e.name ? `: ${e.name}` : "")) : i.mixins.push(e), c;
|
|
1879
1888
|
},
|
|
1880
1889
|
component(e, t) {
|
|
1881
|
-
return
|
|
1890
|
+
return zo(e, i.config), t ? (i.components[e] && z(`Component "${e}" has already been registered in target app.`), i.components[e] = t, c) : i.components[e];
|
|
1882
1891
|
},
|
|
1883
1892
|
directive(e, t) {
|
|
1884
1893
|
return Dr(e), t ? (i.directives[e] && z(`Directive "${e}" has already been registered in target app.`), i.directives[e] = t, c) : i.directives[e];
|
|
@@ -1889,9 +1898,9 @@ function Ji(e, t) {
|
|
|
1889
1898
|
a.__vue_app__ && z("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");
|
|
1890
1899
|
let u = c._ceVNode || Z(n, r);
|
|
1891
1900
|
return u.appContext = i, l === !0 ? l = "svg" : l === !1 && (l = void 0), i.reload = () => {
|
|
1892
|
-
let t =
|
|
1901
|
+
let t = xo(u);
|
|
1893
1902
|
t.el = null, e(t, a, l);
|
|
1894
|
-
}, o && t ? t(u, a) : e(u, a, l), s = !0, c._container = a, a.__vue_app__ = c, c._instance = u.component, pr(c,
|
|
1903
|
+
}, o && t ? t(u, a) : e(u, a, l), s = !0, c._container = a, a.__vue_app__ = c, c._instance = u.component, pr(c, as), Xo(u.component);
|
|
1895
1904
|
}
|
|
1896
1905
|
},
|
|
1897
1906
|
onUnmount(e) {
|
|
@@ -1922,17 +1931,19 @@ function Zi(e, t, ...n) {
|
|
|
1922
1931
|
let r = e.vnode.props || o;
|
|
1923
1932
|
{
|
|
1924
1933
|
let { emitsOptions: r, propsOptions: [i] } = e;
|
|
1925
|
-
if (r)
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1934
|
+
if (r) {
|
|
1935
|
+
if (!(t in r)) (!i || !(ue(T(t)) in i)) && z(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ue(T(t))}" prop.`);
|
|
1936
|
+
else {
|
|
1937
|
+
let e = r[t];
|
|
1938
|
+
b(e) && (e(...n) || z(`Invalid event arguments: event validation failed for event "${t}".`));
|
|
1939
|
+
}
|
|
1929
1940
|
}
|
|
1930
1941
|
}
|
|
1931
1942
|
let i = n, a = t.startsWith("update:"), s = a && Xi(r, t.slice(7));
|
|
1932
1943
|
s && (s.trim && (i = n.map((e) => x(e) ? e.trim() : e)), s.number && (i = n.map(pe))), Cr(e, t, i);
|
|
1933
1944
|
{
|
|
1934
1945
|
let n = t.toLowerCase();
|
|
1935
|
-
n !== t && r[ue(n)] && z(`Event "${n}" is emitted in component ${
|
|
1946
|
+
n !== t && r[ue(n)] && z(`Event "${n}" is emitted in component ${es(e, e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${E(t)}" instead of "${t}".`);
|
|
1936
1947
|
}
|
|
1937
1948
|
let c, l = r[c = ue(t)] || r[c = ue(T(t))];
|
|
1938
1949
|
!l && a && (l = r[c = ue(E(t))]), l && jn(l, e, 6, i);
|
|
@@ -1972,16 +1983,16 @@ function ra(e) {
|
|
|
1972
1983
|
let e = i || r, t = h.__isScriptSetup ? new Proxy(e, { get(e, t, n) {
|
|
1973
1984
|
return z(`Property '${String(t)}' was accessed via 'this'. Avoid using 'this' in templates.`), Reflect.get(e, t, n);
|
|
1974
1985
|
} }) : e;
|
|
1975
|
-
y =
|
|
1986
|
+
y = To(l.call(t, e, f, /* @__PURE__ */ Zt(p), h, m, g)), b = s;
|
|
1976
1987
|
} else {
|
|
1977
1988
|
let e = t;
|
|
1978
|
-
s === p && na(), y =
|
|
1989
|
+
s === p && na(), y = To(e.length > 1 ? e(/* @__PURE__ */ Zt(p), {
|
|
1979
1990
|
get attrs() {
|
|
1980
|
-
return na(), /* @__PURE__ */
|
|
1991
|
+
return na(), /* @__PURE__ */ Zt(s);
|
|
1981
1992
|
},
|
|
1982
1993
|
slots: o,
|
|
1983
1994
|
emit: c
|
|
1984
|
-
}) : e(/* @__PURE__ */
|
|
1995
|
+
}) : e(/* @__PURE__ */ Zt(p), null)), b = t.props ? s : oa(s);
|
|
1985
1996
|
}
|
|
1986
1997
|
} catch (t) {
|
|
1987
1998
|
so.length = 0, Mn(t, e, 1), y = Z(K);
|
|
@@ -1990,7 +2001,7 @@ function ra(e) {
|
|
|
1990
2001
|
if (y.patchFlag > 0 && y.patchFlag & 2048 && ([x, S] = ia(y)), b && _ !== !1) {
|
|
1991
2002
|
let e = Object.keys(b), { shapeFlag: t } = x;
|
|
1992
2003
|
if (e.length) {
|
|
1993
|
-
if (t & 7) a && e.some(d) && (b = sa(b, a)), x =
|
|
2004
|
+
if (t & 7) a && e.some(d) && (b = sa(b, a)), x = xo(x, b, !1, !0);
|
|
1994
2005
|
else if (!ta && x.type !== K) {
|
|
1995
2006
|
let e = Object.keys(s), t = [], n = [];
|
|
1996
2007
|
for (let r = 0, i = e.length; r < i; r++) {
|
|
@@ -2001,14 +2012,14 @@ function ra(e) {
|
|
|
2001
2012
|
}
|
|
2002
2013
|
}
|
|
2003
2014
|
}
|
|
2004
|
-
return n.dirs && (ca(x) || z("Runtime directive used on component with non-element root node. The directives will not function as intended."), x =
|
|
2015
|
+
return n.dirs && (ca(x) || z("Runtime directive used on component with non-element root node. The directives will not function as intended."), x = xo(x, null, !1, !0), x.dirs = x.dirs ? x.dirs.concat(n.dirs) : n.dirs), n.transition && (ca(x) || z("Component inside <Transition> renders non-element root node that cannot be animated."), Vr(x, n.transition)), S ? S(x) : y = x, Tr(v), y;
|
|
2005
2016
|
}
|
|
2006
2017
|
var ia = (e) => {
|
|
2007
2018
|
let t = e.children, n = e.dynamicChildren, r = aa(t, !1);
|
|
2008
2019
|
if (!r) return [e, void 0];
|
|
2009
2020
|
if (r.patchFlag > 0 && r.patchFlag & 2048) return ia(r);
|
|
2010
2021
|
let i = t.indexOf(r), a = n ? n.indexOf(r) : -1;
|
|
2011
|
-
return [
|
|
2022
|
+
return [To(r), (r) => {
|
|
2012
2023
|
t[i] = r, n && (a > -1 ? n[a] = r : r.patchFlag > 0 && (e.dynamicChildren = [...n, r]));
|
|
2013
2024
|
}];
|
|
2014
2025
|
};
|
|
@@ -2076,7 +2087,7 @@ function ga(e, t, n, r = !1) {
|
|
|
2076
2087
|
let i = {}, a = ma();
|
|
2077
2088
|
e.propsDefaults = /* @__PURE__ */ Object.create(null), ya(e, t, i, a);
|
|
2078
2089
|
for (let t in e.propsOptions[0]) t in i || (i[t] = void 0);
|
|
2079
|
-
Ta(t || {}, i, e),
|
|
2090
|
+
Ta(t || {}, i, e), e.props = n ? r ? i : /* @__PURE__ */ Yt(i) : e.type.props ? i : a, e.attrs = a;
|
|
2080
2091
|
}
|
|
2081
2092
|
function _a(e) {
|
|
2082
2093
|
for (; e;) {
|
|
@@ -2085,7 +2096,7 @@ function _a(e) {
|
|
|
2085
2096
|
}
|
|
2086
2097
|
}
|
|
2087
2098
|
function va(e, t, n, r) {
|
|
2088
|
-
let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */
|
|
2099
|
+
let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */ I(i), [c] = e.propsOptions, l = !1;
|
|
2089
2100
|
if (!_a(e) && (r || o > 0) && !(o & 16)) {
|
|
2090
2101
|
if (o & 8) {
|
|
2091
2102
|
let n = e.vnode.dynamicProps;
|
|
@@ -2093,12 +2104,13 @@ function va(e, t, n, r) {
|
|
|
2093
2104
|
let o = n[r];
|
|
2094
2105
|
if (ea(e.emitsOptions, o)) continue;
|
|
2095
2106
|
let u = t[o];
|
|
2096
|
-
if (c)
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2107
|
+
if (c) {
|
|
2108
|
+
if (h(a, o)) u !== a[o] && (a[o] = u, l = !0);
|
|
2109
|
+
else {
|
|
2110
|
+
let t = T(o);
|
|
2111
|
+
i[t] = ba(c, s, t, u, e, !1);
|
|
2112
|
+
}
|
|
2113
|
+
} else u !== a[o] && (a[o] = u, l = !0);
|
|
2102
2114
|
}
|
|
2103
2115
|
}
|
|
2104
2116
|
} else {
|
|
@@ -2107,7 +2119,7 @@ function va(e, t, n, r) {
|
|
|
2107
2119
|
for (let a in s) (!t || !h(t, a) && ((r = E(a)) === a || !h(t, r))) && (c ? n && (n[a] !== void 0 || n[r] !== void 0) && (i[a] = ba(c, s, a, void 0, e, !0)) : delete i[a]);
|
|
2108
2120
|
if (a !== s) for (let e in a) (!t || !h(t, e)) && (delete a[e], l = !0);
|
|
2109
2121
|
}
|
|
2110
|
-
l &&
|
|
2122
|
+
l && ut(e.attrs, "set", ""), Ta(t || {}, i, e);
|
|
2111
2123
|
}
|
|
2112
2124
|
function ya(e, t, n, r) {
|
|
2113
2125
|
let [i, a] = e.propsOptions, s = !1, c;
|
|
@@ -2117,7 +2129,7 @@ function ya(e, t, n, r) {
|
|
|
2117
2129
|
i && h(i, u = T(o)) ? !a || !a.includes(u) ? n[u] = l : (c ||= {})[u] = l : ea(e.emitsOptions, o) || (!(o in r) || l !== r[o]) && (r[o] = l, s = !0);
|
|
2118
2130
|
}
|
|
2119
2131
|
if (a) {
|
|
2120
|
-
let t = /* @__PURE__ */
|
|
2132
|
+
let t = /* @__PURE__ */ I(n), r = c || o;
|
|
2121
2133
|
for (let o = 0; o < a.length; o++) {
|
|
2122
2134
|
let s = a[o];
|
|
2123
2135
|
n[s] = ba(i, t, s, r[s], e, !h(r, s));
|
|
@@ -2135,7 +2147,7 @@ function ba(e, t, n, r, i, a) {
|
|
|
2135
2147
|
let { propsDefaults: a } = i;
|
|
2136
2148
|
if (n in a) r = a[n];
|
|
2137
2149
|
else {
|
|
2138
|
-
let o =
|
|
2150
|
+
let o = Io(i);
|
|
2139
2151
|
r = a[n] = e.call(null, t), o();
|
|
2140
2152
|
}
|
|
2141
2153
|
} else r = e;
|
|
@@ -2175,7 +2187,8 @@ function Sa(e, t, n = !1) {
|
|
|
2175
2187
|
if (n === "Boolean") {
|
|
2176
2188
|
o = !0;
|
|
2177
2189
|
break;
|
|
2178
|
-
}
|
|
2190
|
+
}
|
|
2191
|
+
n === "String" && (s = !1);
|
|
2179
2192
|
}
|
|
2180
2193
|
else o = b(i) && i.name === "Boolean";
|
|
2181
2194
|
r[0] = o, r[1] = s, (o || h(r, "default")) && l.push(t);
|
|
@@ -2186,16 +2199,16 @@ function Sa(e, t, n = !1) {
|
|
|
2186
2199
|
return C(e) && r.set(e, d), d;
|
|
2187
2200
|
}
|
|
2188
2201
|
function Ca(e) {
|
|
2189
|
-
return e[0] !== "$" && !ae(e)
|
|
2202
|
+
return e[0] !== "$" && !ae(e) || (z(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2190
2203
|
}
|
|
2191
2204
|
function wa(e) {
|
|
2192
2205
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2193
2206
|
}
|
|
2194
2207
|
function Ta(e, t, n) {
|
|
2195
|
-
let r = /* @__PURE__ */
|
|
2208
|
+
let r = /* @__PURE__ */ I(t), i = n.propsOptions[0], a = Object.keys(e).map((e) => T(e));
|
|
2196
2209
|
for (let e in i) {
|
|
2197
2210
|
let t = i[e];
|
|
2198
|
-
t != null && Ea(e, r[e], t, /* @__PURE__ */
|
|
2211
|
+
t != null && Ea(e, r[e], t, /* @__PURE__ */ Zt(r), !a.includes(e));
|
|
2199
2212
|
}
|
|
2200
2213
|
}
|
|
2201
2214
|
function Ea(e, t, n, r, i) {
|
|
@@ -2250,7 +2263,7 @@ function ja(e) {
|
|
|
2250
2263
|
function Ma(...e) {
|
|
2251
2264
|
return e.some((e) => e.toLowerCase() === "boolean");
|
|
2252
2265
|
}
|
|
2253
|
-
var Na = (e) => e === "_" || e === "_ctx" || e === "$stable", Pa = (e) => g(e) ? e.map(
|
|
2266
|
+
var Na = (e) => e === "_" || e === "_ctx" || e === "$stable", Pa = (e) => g(e) ? e.map(To) : [To(e)], Fa = (e, t, n) => {
|
|
2254
2267
|
if (t._n) return t;
|
|
2255
2268
|
let r = Er((...r) => (Q && !(n === null && H) && !(n && n.root !== Q.root) && z(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`), Pa(t(...r))), n);
|
|
2256
2269
|
return r._c = !1, r;
|
|
@@ -2282,7 +2295,7 @@ var Na = (e) => e === "_" || e === "_ctx" || e === "$stable", Pa = (e) => g(e) ?
|
|
|
2282
2295
|
let { vnode: r, slots: i } = e, a = !0, s = o;
|
|
2283
2296
|
if (r.shapeFlag & 32) {
|
|
2284
2297
|
let r = t._;
|
|
2285
|
-
r ? V ? (Ra(i, t, n),
|
|
2298
|
+
r ? V ? (Ra(i, t, n), ut(e, "set", "$slots")) : n && r === 1 ? a = !1 : Ra(i, t, n) : (a = !t.$stable, Ia(t, i)), s = t;
|
|
2286
2299
|
} else t && (La(e, t), s = { default: 1 });
|
|
2287
2300
|
if (a) for (let e in i) !Na(e) && s[e] == null && delete i[e];
|
|
2288
2301
|
}, Va, Ha;
|
|
@@ -2291,7 +2304,7 @@ function Ua(e, t) {
|
|
|
2291
2304
|
}
|
|
2292
2305
|
function Wa(e, t) {
|
|
2293
2306
|
if (e.appContext.config.performance && Ga()) {
|
|
2294
|
-
let n = `vue-${t}-${e.uid}`, r = n + ":end", i = `<${
|
|
2307
|
+
let n = `vue-${t}-${e.uid}`, r = n + ":end", i = `<${es(e, e.type)}> ${t}`;
|
|
2295
2308
|
Ha.mark(r), Ha.measure(i, n, r), Ha.clearMeasures(i), Ha.clearMarks(n), Ha.clearMarks(r);
|
|
2296
2309
|
}
|
|
2297
2310
|
xr(e, t, Ga() ? Ha.now() : Date.now());
|
|
@@ -2373,7 +2386,7 @@ function Ja(e, t) {
|
|
|
2373
2386
|
let d, f, { props: m, shapeFlag: h, transition: g, dirs: _ } = e;
|
|
2374
2387
|
if (d = e.el = l(e.type, s, m && m.is, m), h & 8 ? p(d, e.children) : h & 16 && re(e.children, d, null, i, o, Ya(e, s), c, u), _ && kr(e, null, i, "created"), ne(d, e, e.scopeId, c, i), m) {
|
|
2375
2388
|
for (let e in m) e !== "value" && !ae(e) && a(d, e, null, m[e], s, i);
|
|
2376
|
-
"value" in m && a(d, "value", null, m.value, s), (f = m.onVnodeBeforeMount) &&
|
|
2389
|
+
"value" in m && a(d, "value", null, m.value, s), (f = m.onVnodeBeforeMount) && ko(f, i, e);
|
|
2377
2390
|
}
|
|
2378
2391
|
fe(d, "__vnode", e, !0), fe(d, "__vueParentComponent", i, !0), _ && kr(e, null, i, "beforeMount");
|
|
2379
2392
|
let v = Za(o, g);
|
|
@@ -2383,7 +2396,7 @@ function Ja(e, t) {
|
|
|
2383
2396
|
let n;
|
|
2384
2397
|
n = Zn(t);
|
|
2385
2398
|
try {
|
|
2386
|
-
f &&
|
|
2399
|
+
f && ko(f, i, e), v && g.enter(d), _ && kr(e, null, i, "mounted");
|
|
2387
2400
|
} finally {
|
|
2388
2401
|
Zn(n);
|
|
2389
2402
|
}
|
|
@@ -2400,7 +2413,7 @@ function Ja(e, t) {
|
|
|
2400
2413
|
}
|
|
2401
2414
|
}, re = (e, t, n, r, i, a, o, s, c = 0) => {
|
|
2402
2415
|
for (let l = c; l < e.length; l++) {
|
|
2403
|
-
let c = e[l] = s ?
|
|
2416
|
+
let c = e[l] = s ? Eo(e[l]) : To(e[l]);
|
|
2404
2417
|
v(null, c, t, n, r, i, a, o, s);
|
|
2405
2418
|
}
|
|
2406
2419
|
}, ie = (e, t, n, r, i, s, c) => {
|
|
@@ -2409,7 +2422,7 @@ function Ja(e, t) {
|
|
|
2409
2422
|
let { patchFlag: u, dynamicChildren: d, dirs: f } = t;
|
|
2410
2423
|
u |= e.patchFlag & 16;
|
|
2411
2424
|
let m = e.props || o, h = t.props || o, g;
|
|
2412
|
-
if (n && Xa(n, !1), (g = h.onVnodeBeforeUpdate) &&
|
|
2425
|
+
if (n && Xa(n, !1), (g = h.onVnodeBeforeUpdate) && ko(g, n, t, e), f && kr(t, e, n, "beforeUpdate"), n && Xa(n, !0), V && (u = 0, c = !1, d = null), (m.innerHTML && h.innerHTML == null || m.textContent && h.textContent == null) && p(l, ""), d ? (oe(e.dynamicChildren, d, l, n, r, Ya(t, i), s), Qa(e, t)) : c || O(e, t, l, null, n, r, Ya(t, i), s, !1), u > 0) {
|
|
2413
2426
|
if (u & 16) se(l, m, h, n, i);
|
|
2414
2427
|
else if (u & 2 && m.class !== h.class && a(l, "class", null, h.class, i), u & 4 && a(l, "style", m.style, h.style, i), u & 8) {
|
|
2415
2428
|
let e = t.dynamicProps;
|
|
@@ -2421,7 +2434,7 @@ function Ja(e, t) {
|
|
|
2421
2434
|
u & 1 && e.children !== t.children && p(l, t.children);
|
|
2422
2435
|
} else !c && d == null && se(l, m, h, n, i);
|
|
2423
2436
|
((g = h.onVnodeUpdated) || f) && W(() => {
|
|
2424
|
-
g &&
|
|
2437
|
+
g && ko(g, n, t, e), f && kr(t, e, n, "updated");
|
|
2425
2438
|
}, r);
|
|
2426
2439
|
}, oe = (e, t, n, r, i, a, o) => {
|
|
2427
2440
|
for (let s = 0; s < t.length; s++) {
|
|
@@ -2444,8 +2457,8 @@ function Ja(e, t) {
|
|
|
2444
2457
|
}, T = (e, t, n, r, i, a, o, s, c) => {
|
|
2445
2458
|
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : le(t, n, r, i, a, o, c) : E(e, t, c);
|
|
2446
2459
|
}, le = (e, t, n, r, i, a, o) => {
|
|
2447
|
-
let s = e.component =
|
|
2448
|
-
if (s.type.__hmrId && er(s), xn(e), Ua(s, "mount"), Zr(e) && (s.ctx.renderer = Ce), Ua(s, "init"),
|
|
2460
|
+
let s = e.component = Mo(e, r, i);
|
|
2461
|
+
if (s.type.__hmrId && er(s), xn(e), Ua(s, "mount"), Zr(e) && (s.ctx.renderer = Ce), Ua(s, "init"), Ho(s, !1, o), Wa(s, "init"), V && (e.el = null), s.asyncDep) {
|
|
2449
2462
|
if (i && i.registerDep(s, D, o), !e.el) {
|
|
2450
2463
|
let r = s.subTree = Z(K);
|
|
2451
2464
|
b(null, r, t, n), e.placeholder = r.el;
|
|
@@ -2454,11 +2467,13 @@ function Ja(e, t) {
|
|
|
2454
2467
|
Sn(), Wa(s, "mount");
|
|
2455
2468
|
}, E = (e, t, n) => {
|
|
2456
2469
|
let r = t.component = e.component;
|
|
2457
|
-
if (la(e, t, n))
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2470
|
+
if (la(e, t, n)) {
|
|
2471
|
+
if (r.asyncDep && !r.asyncResolved) {
|
|
2472
|
+
xn(t), ue(r, t, n), Sn();
|
|
2473
|
+
return;
|
|
2474
|
+
}
|
|
2475
|
+
r.next = t, r.update();
|
|
2476
|
+
} else t.el = e.el, r.vnode = t;
|
|
2462
2477
|
}, D = (e, t, n, r, i, a, o) => {
|
|
2463
2478
|
let s = () => {
|
|
2464
2479
|
if (e.isMounted) {
|
|
@@ -2475,14 +2490,14 @@ function Ja(e, t) {
|
|
|
2475
2490
|
}
|
|
2476
2491
|
}
|
|
2477
2492
|
let u = t, d;
|
|
2478
|
-
xn(t || e.vnode), Xa(e, !1), t ? (t.el = c.el, ue(e, t, o)) : t = c, n && de(n), (d = t.props && t.props.onVnodeBeforeUpdate) &&
|
|
2493
|
+
xn(t || e.vnode), Xa(e, !1), t ? (t.el = c.el, ue(e, t, o)) : t = c, n && de(n), (d = t.props && t.props.onVnodeBeforeUpdate) && ko(d, s, t, c), Xa(e, !0), Ua(e, "render");
|
|
2479
2494
|
let f = ra(e);
|
|
2480
2495
|
Wa(e, "render");
|
|
2481
2496
|
let p = e.subTree;
|
|
2482
|
-
e.subTree = f, Ua(e, "patch"), v(p, f, m(p.el), be(p), e, i, a), Wa(e, "patch"), t.el = f.el, u === null && fa(e, f.el), r && W(r, i), (d = t.props && t.props.onVnodeUpdated) && W(() =>
|
|
2497
|
+
e.subTree = f, Ua(e, "patch"), v(p, f, m(p.el), be(p), e, i, a), Wa(e, "patch"), t.el = f.el, u === null && fa(e, f.el), r && W(r, i), (d = t.props && t.props.onVnodeUpdated) && W(() => ko(d, s, t, c), i), gr(e), Sn();
|
|
2483
2498
|
} else {
|
|
2484
2499
|
let o, { el: s, props: c } = t, { bm: l, m: u, parent: d, root: f, type: p } = e, m = Xr(t);
|
|
2485
|
-
if (Xa(e, !1), l && de(l), !m && (o = c && c.onVnodeBeforeMount) &&
|
|
2500
|
+
if (Xa(e, !1), l && de(l), !m && (o = c && c.onVnodeBeforeMount) && ko(o, d, t), Xa(e, !0), s && Te) {
|
|
2486
2501
|
let t = () => {
|
|
2487
2502
|
Ua(e, "render"), e.subTree = ra(e), Wa(e, "render"), Ua(e, "hydrate"), Te(s, e.subTree, e, i, null), Wa(e, "hydrate");
|
|
2488
2503
|
};
|
|
@@ -2494,27 +2509,28 @@ function Ja(e, t) {
|
|
|
2494
2509
|
}
|
|
2495
2510
|
if (u && W(u, i), !m && (o = c && c.onVnodeMounted)) {
|
|
2496
2511
|
let e = t;
|
|
2497
|
-
W(() =>
|
|
2512
|
+
W(() => ko(o, d, e), i);
|
|
2498
2513
|
}
|
|
2499
2514
|
(t.shapeFlag & 256 || d && Xr(d.vnode) && d.vnode.shapeFlag & 256) && e.a && W(e.a, i), e.isMounted = !0, hr(e), t = n = r = null;
|
|
2500
2515
|
}
|
|
2501
2516
|
};
|
|
2502
2517
|
e.scope.on();
|
|
2503
|
-
let c = e.effect = new
|
|
2518
|
+
let c = e.effect = new Re(s);
|
|
2504
2519
|
e.scope.off();
|
|
2505
2520
|
let l = e.update = c.run.bind(c), u = e.job = c.runIfDirty.bind(c);
|
|
2506
2521
|
u.i = e, u.id = e.uid, c.scheduler = () => Un(u), Xa(e, !0), c.onTrack = e.rtc ? (t) => de(e.rtc, t) : void 0, c.onTrigger = e.rtg ? (t) => de(e.rtg, t) : void 0, l();
|
|
2507
2522
|
}, ue = (e, t, n) => {
|
|
2508
2523
|
t.component = e;
|
|
2509
2524
|
let r = e.vnode.props;
|
|
2510
|
-
e.vnode = t, e.next = null, va(e, t.props, r, n), Ba(e, t.children, n),
|
|
2525
|
+
e.vnode = t, e.next = null, va(e, t.props, r, n), Ba(e, t.children, n), $e(), Kn(e), et();
|
|
2511
2526
|
}, O = (e, t, n, r, i, a, o, s, c = !1) => {
|
|
2512
2527
|
let l = e && e.children, u = e ? e.shapeFlag : 0, d = t.children, { patchFlag: f, shapeFlag: m } = t;
|
|
2513
2528
|
if (f > 0) {
|
|
2514
2529
|
if (f & 128) {
|
|
2515
2530
|
me(l, d, n, r, i, a, o, s, c);
|
|
2516
2531
|
return;
|
|
2517
|
-
}
|
|
2532
|
+
}
|
|
2533
|
+
if (f & 256) {
|
|
2518
2534
|
pe(l, d, n, r, i, a, o, s, c);
|
|
2519
2535
|
return;
|
|
2520
2536
|
}
|
|
@@ -2524,20 +2540,20 @@ function Ja(e, t) {
|
|
|
2524
2540
|
e ||= s, t ||= s;
|
|
2525
2541
|
let u = e.length, d = t.length, f = Math.min(u, d), p;
|
|
2526
2542
|
for (p = 0; p < f; p++) {
|
|
2527
|
-
let r = t[p] = l ?
|
|
2543
|
+
let r = t[p] = l ? Eo(t[p]) : To(t[p]);
|
|
2528
2544
|
v(e[p], r, n, null, i, a, o, c, l);
|
|
2529
2545
|
}
|
|
2530
2546
|
u > d ? A(e, i, a, !0, !1, f) : re(t, n, r, i, a, o, c, l, f);
|
|
2531
2547
|
}, me = (e, t, n, r, i, a, o, c, l) => {
|
|
2532
2548
|
let u = 0, d = t.length, f = e.length - 1, p = d - 1;
|
|
2533
2549
|
for (; u <= f && u <= p;) {
|
|
2534
|
-
let r = e[u], s = t[u] = l ?
|
|
2550
|
+
let r = e[u], s = t[u] = l ? Eo(t[u]) : To(t[u]);
|
|
2535
2551
|
if (ho(r, s)) v(r, s, n, null, i, a, o, c, l);
|
|
2536
2552
|
else break;
|
|
2537
2553
|
u++;
|
|
2538
2554
|
}
|
|
2539
2555
|
for (; u <= f && u <= p;) {
|
|
2540
|
-
let r = e[f], s = t[p] = l ?
|
|
2556
|
+
let r = e[f], s = t[p] = l ? Eo(t[p]) : To(t[p]);
|
|
2541
2557
|
if (ho(r, s)) v(r, s, n, null, i, a, o, c, l);
|
|
2542
2558
|
else break;
|
|
2543
2559
|
f--, p--;
|
|
@@ -2545,13 +2561,13 @@ function Ja(e, t) {
|
|
|
2545
2561
|
if (u > f) {
|
|
2546
2562
|
if (u <= p) {
|
|
2547
2563
|
let e = p + 1, s = e < d ? t[e].el : r;
|
|
2548
|
-
for (; u <= p;) v(null, t[u] = l ?
|
|
2564
|
+
for (; u <= p;) v(null, t[u] = l ? Eo(t[u]) : To(t[u]), n, s, i, a, o, c, l), u++;
|
|
2549
2565
|
}
|
|
2550
2566
|
} else if (u > p) for (; u <= f;) ge(e[u], i, a, !0), u++;
|
|
2551
2567
|
else {
|
|
2552
2568
|
let m = u, h = u, g = /* @__PURE__ */ new Map();
|
|
2553
2569
|
for (u = h; u <= p; u++) {
|
|
2554
|
-
let e = t[u] = l ?
|
|
2570
|
+
let e = t[u] = l ? Eo(t[u]) : To(t[u]);
|
|
2555
2571
|
e.key != null && (g.has(e.key) && z("Duplicate keys found during update:", JSON.stringify(e.key), "Make sure keys are unique."), g.set(e.key, u));
|
|
2556
2572
|
}
|
|
2557
2573
|
let _, y = 0, b = p - h + 1, x = !1, S = 0, C = Array(b);
|
|
@@ -2600,26 +2616,27 @@ function Ja(e, t) {
|
|
|
2600
2616
|
C(e, t, n);
|
|
2601
2617
|
return;
|
|
2602
2618
|
}
|
|
2603
|
-
if (a !== 2 && d & 1 && l)
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2619
|
+
if (a !== 2 && d & 1 && l) {
|
|
2620
|
+
if (a === 0) l.beforeEnter(s), r(s, t, n), W(() => l.enter(s), o);
|
|
2621
|
+
else {
|
|
2622
|
+
let { leave: a, delayLeave: o, afterLeave: c } = l, u = () => {
|
|
2623
|
+
e.ctx.isUnmounted ? i(s) : r(s, t, n);
|
|
2624
|
+
}, d = () => {
|
|
2625
|
+
s._isLeaving && s[Br](!0), a(s, () => {
|
|
2626
|
+
u(), c && c();
|
|
2627
|
+
});
|
|
2628
|
+
};
|
|
2629
|
+
o ? o(s, u, d) : d();
|
|
2630
|
+
}
|
|
2631
|
+
} else r(s, t, n);
|
|
2615
2632
|
}, ge = (e, t, n, r = !1, i = !1) => {
|
|
2616
2633
|
let { type: a, props: o, ref: s, children: c, dynamicChildren: l, shapeFlag: u, patchFlag: d, dirs: f, cacheIndex: p, memo: m } = e;
|
|
2617
|
-
if (d === -2 && (i = !1), s != null && (
|
|
2634
|
+
if (d === -2 && (i = !1), s != null && ($e(), Jr(s, null, n, e, !0), et()), p != null && (t.renderCache[p] = void 0), u & 256) {
|
|
2618
2635
|
t.ctx.deactivate(e);
|
|
2619
2636
|
return;
|
|
2620
2637
|
}
|
|
2621
2638
|
let h = u & 1 && f, g = !Xr(e), _;
|
|
2622
|
-
if (g && (_ = o && o.onVnodeBeforeUnmount) &&
|
|
2639
|
+
if (g && (_ = o && o.onVnodeBeforeUnmount) && ko(_, t, e), u & 6) ye(e.component, n, r);
|
|
2623
2640
|
else {
|
|
2624
2641
|
if (u & 128) {
|
|
2625
2642
|
e.suspense.unmount(n, r);
|
|
@@ -2629,7 +2646,7 @@ function Ja(e, t) {
|
|
|
2629
2646
|
}
|
|
2630
2647
|
let v = m != null && p == null;
|
|
2631
2648
|
(g && (_ = o && o.onVnodeUnmounted) || h || v) && W(() => {
|
|
2632
|
-
_ &&
|
|
2649
|
+
_ && ko(_, t, e), h && kr(e, null, t, "unmounted"), v && (e.el = null);
|
|
2633
2650
|
}, n);
|
|
2634
2651
|
}, _e = (e) => {
|
|
2635
2652
|
let { type: t, el: n, anchor: r, transition: a } = e;
|
|
@@ -2701,7 +2718,7 @@ function Qa(e, t, n = !1) {
|
|
|
2701
2718
|
let r = e.children, i = t.children;
|
|
2702
2719
|
if (g(r) && g(i)) for (let e = 0; e < r.length; e++) {
|
|
2703
2720
|
let t = r[e], a = i[e];
|
|
2704
|
-
a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = i[e] =
|
|
2721
|
+
a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = i[e] = Eo(i[e]), a.el = t.el), !n && a.patchFlag !== -2 && Qa(t, a)), a.type === ao && (a.patchFlag === -1 && (a = i[e] = Eo(a)), a.el = t.el), a.type === K && !a.el && (a.el = t.el), a.el && (a.el.__vnode = a);
|
|
2705
2722
|
}
|
|
2706
2723
|
}
|
|
2707
2724
|
function $a(e) {
|
|
@@ -2766,7 +2783,7 @@ function ho(e, t) {
|
|
|
2766
2783
|
}
|
|
2767
2784
|
return e.type === t.type && e.key === t.key;
|
|
2768
2785
|
}
|
|
2769
|
-
var go
|
|
2786
|
+
var go = (...e) => yo(...e), _o = ({ key: e }) => e ?? null, vo = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e == null ? null : x(e) || /* @__PURE__ */ R(e) || b(e) ? {
|
|
2770
2787
|
i: H,
|
|
2771
2788
|
r: e,
|
|
2772
2789
|
k: t,
|
|
@@ -2778,8 +2795,8 @@ function X(e, t = null, n = null, r = 0, i = null, a = e === G ? 0 : 1, o = !1,
|
|
|
2778
2795
|
__v_skip: !0,
|
|
2779
2796
|
type: e,
|
|
2780
2797
|
props: t,
|
|
2781
|
-
key: t &&
|
|
2782
|
-
ref: t &&
|
|
2798
|
+
key: t && _o(t),
|
|
2799
|
+
ref: t && vo(t),
|
|
2783
2800
|
scopeId: wr,
|
|
2784
2801
|
slotScopeIds: null,
|
|
2785
2802
|
children: n,
|
|
@@ -2802,36 +2819,36 @@ function X(e, t = null, n = null, r = 0, i = null, a = e === G ? 0 : 1, o = !1,
|
|
|
2802
2819
|
appContext: null,
|
|
2803
2820
|
ctx: H
|
|
2804
2821
|
};
|
|
2805
|
-
return s ? (
|
|
2822
|
+
return s ? (Do(c, n), a & 128 && e.normalize(c)) : n && (c.shapeFlag |= x(n) ? 8 : 16), c.key !== c.key && z("VNode created with invalid key (NaN). VNode type:", c.type), lo > 0 && !o && q && (c.patchFlag > 0 || a & 6) && c.patchFlag !== 32 && q.push(c), c;
|
|
2806
2823
|
}
|
|
2807
|
-
var Z =
|
|
2808
|
-
function
|
|
2824
|
+
var Z = go;
|
|
2825
|
+
function yo(e, t = null, n = null, r = 0, i = null, a = !1) {
|
|
2809
2826
|
if ((!e || e === gi) && (e || z(`Invalid vnode type when creating vnode: ${e}.`), e = K), mo(e)) {
|
|
2810
|
-
let r =
|
|
2811
|
-
return n &&
|
|
2827
|
+
let r = xo(e, t, !0);
|
|
2828
|
+
return n && Do(r, n), lo > 0 && !a && q && (r.shapeFlag & 6 ? q[q.indexOf(e)] = r : q.push(r)), r.patchFlag = -2, r;
|
|
2812
2829
|
}
|
|
2813
|
-
if (
|
|
2814
|
-
t =
|
|
2830
|
+
if (ts(e) && (e = e.__vccOpts), t) {
|
|
2831
|
+
t = bo(t);
|
|
2815
2832
|
let { class: e, style: n } = t;
|
|
2816
|
-
e && !x(e) && (t.class = A(e)), C(n) && (/* @__PURE__ */
|
|
2833
|
+
e && !x(e) && (t.class = A(e)), C(n) && (/* @__PURE__ */ tn(n) && !g(n) && (n = f({}, n)), t.style = k(n));
|
|
2817
2834
|
}
|
|
2818
2835
|
let o = x(e) ? 1 : ro(e) ? 128 : zr(e) ? 64 : C(e) ? 4 : b(e) ? 2 : 0;
|
|
2819
|
-
return o & 4 && /* @__PURE__ */
|
|
2836
|
+
return o & 4 && /* @__PURE__ */ tn(e) && (e = /* @__PURE__ */ I(e), z("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.", "\nComponent that was made reactive: ", e)), X(e, t, n, r, i, o, a, !0);
|
|
2820
2837
|
}
|
|
2821
|
-
function
|
|
2822
|
-
return e ? /* @__PURE__ */
|
|
2838
|
+
function bo(e) {
|
|
2839
|
+
return e ? /* @__PURE__ */ tn(e) || ha(e) ? f({}, e) : e : null;
|
|
2823
2840
|
}
|
|
2824
|
-
function
|
|
2825
|
-
let { props: i, ref: a, patchFlag: o, children: s, transition: c } = e, l = t ?
|
|
2841
|
+
function xo(e, t, n = !1, r = !1) {
|
|
2842
|
+
let { props: i, ref: a, patchFlag: o, children: s, transition: c } = e, l = t ? Oo(i || {}, t) : i, u = {
|
|
2826
2843
|
__v_isVNode: !0,
|
|
2827
2844
|
__v_skip: !0,
|
|
2828
2845
|
type: e.type,
|
|
2829
2846
|
props: l,
|
|
2830
|
-
key: l &&
|
|
2831
|
-
ref: t && t.ref ? n && a ? g(a) ? a.concat(
|
|
2847
|
+
key: l && _o(l),
|
|
2848
|
+
ref: t && t.ref ? n && a ? g(a) ? a.concat(vo(t)) : [a, vo(t)] : vo(t) : a,
|
|
2832
2849
|
scopeId: e.scopeId,
|
|
2833
2850
|
slotScopeIds: e.slotScopeIds,
|
|
2834
|
-
children: o === -1 && g(s) ? s.map(
|
|
2851
|
+
children: o === -1 && g(s) ? s.map(So) : s,
|
|
2835
2852
|
target: e.target,
|
|
2836
2853
|
targetStart: e.targetStart,
|
|
2837
2854
|
targetAnchor: e.targetAnchor,
|
|
@@ -2845,8 +2862,8 @@ function So(e, t, n = !1, r = !1) {
|
|
|
2845
2862
|
transition: c,
|
|
2846
2863
|
component: e.component,
|
|
2847
2864
|
suspense: e.suspense,
|
|
2848
|
-
ssContent: e.ssContent &&
|
|
2849
|
-
ssFallback: e.ssFallback &&
|
|
2865
|
+
ssContent: e.ssContent && xo(e.ssContent),
|
|
2866
|
+
ssFallback: e.ssFallback && xo(e.ssFallback),
|
|
2850
2867
|
placeholder: e.placeholder,
|
|
2851
2868
|
el: e.el,
|
|
2852
2869
|
anchor: e.anchor,
|
|
@@ -2855,42 +2872,44 @@ function So(e, t, n = !1, r = !1) {
|
|
|
2855
2872
|
};
|
|
2856
2873
|
return c && r && Vr(u, c.clone(u)), u;
|
|
2857
2874
|
}
|
|
2858
|
-
function
|
|
2859
|
-
let t =
|
|
2860
|
-
return g(e.children) && (t.children = e.children.map(
|
|
2875
|
+
function So(e) {
|
|
2876
|
+
let t = xo(e);
|
|
2877
|
+
return g(e.children) && (t.children = e.children.map(So)), t;
|
|
2861
2878
|
}
|
|
2862
|
-
function
|
|
2879
|
+
function Co(e = " ", t = 0) {
|
|
2863
2880
|
return Z(ao, null, e, t);
|
|
2864
2881
|
}
|
|
2865
|
-
function
|
|
2882
|
+
function wo(e = "", t = !1) {
|
|
2866
2883
|
return t ? (J(), po(K, null, e)) : Z(K, null, e);
|
|
2867
2884
|
}
|
|
2868
|
-
function
|
|
2869
|
-
return e == null || typeof e == "boolean" ? Z(K) : g(e) ? Z(G, null, e.slice()) : mo(e) ?
|
|
2885
|
+
function To(e) {
|
|
2886
|
+
return e == null || typeof e == "boolean" ? Z(K) : g(e) ? Z(G, null, e.slice()) : mo(e) ? Eo(e) : Z(ao, null, String(e));
|
|
2870
2887
|
}
|
|
2871
|
-
function
|
|
2872
|
-
return e.el === null && e.patchFlag !== -1 || e.memo ? e :
|
|
2888
|
+
function Eo(e) {
|
|
2889
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : xo(e);
|
|
2873
2890
|
}
|
|
2874
|
-
function
|
|
2891
|
+
function Do(e, t) {
|
|
2875
2892
|
let n = 0, { shapeFlag: r } = e;
|
|
2876
2893
|
if (t == null) t = null;
|
|
2877
2894
|
else if (g(t)) n = 16;
|
|
2878
|
-
else if (typeof t == "object")
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2895
|
+
else if (typeof t == "object") {
|
|
2896
|
+
if (r & 65) {
|
|
2897
|
+
let n = t.default;
|
|
2898
|
+
n && (n._c && (n._d = !1), Do(e, n()), n._c && (n._d = !0));
|
|
2899
|
+
return;
|
|
2900
|
+
}
|
|
2901
|
+
{
|
|
2902
|
+
n = 32;
|
|
2903
|
+
let r = t._;
|
|
2904
|
+
!r && !ha(t) ? t._ctx = H : r === 3 && H && (H.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
2905
|
+
}
|
|
2906
|
+
} else b(t) ? (t = {
|
|
2888
2907
|
default: t,
|
|
2889
2908
|
_ctx: H
|
|
2890
|
-
}, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [
|
|
2909
|
+
}, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Co(t)]) : n = 8);
|
|
2891
2910
|
e.children = t, e.shapeFlag |= n;
|
|
2892
2911
|
}
|
|
2893
|
-
function
|
|
2912
|
+
function Oo(...e) {
|
|
2894
2913
|
let t = {};
|
|
2895
2914
|
for (let n = 0; n < e.length; n++) {
|
|
2896
2915
|
let r = e[n];
|
|
@@ -2903,13 +2922,13 @@ function ko(...e) {
|
|
|
2903
2922
|
}
|
|
2904
2923
|
return t;
|
|
2905
2924
|
}
|
|
2906
|
-
function
|
|
2925
|
+
function ko(e, t, n, r = null) {
|
|
2907
2926
|
jn(e, t, 7, [n, r]);
|
|
2908
2927
|
}
|
|
2909
|
-
var
|
|
2910
|
-
function
|
|
2911
|
-
let r = e.type, i = (t ? t.appContext : e.appContext) ||
|
|
2912
|
-
uid:
|
|
2928
|
+
var Ao = Ki(), jo = 0;
|
|
2929
|
+
function Mo(e, t, n) {
|
|
2930
|
+
let r = e.type, i = (t ? t.appContext : e.appContext) || Ao, a = {
|
|
2931
|
+
uid: jo++,
|
|
2913
2932
|
vnode: e,
|
|
2914
2933
|
type: r,
|
|
2915
2934
|
parent: t,
|
|
@@ -2920,7 +2939,7 @@ function No(e, t, n) {
|
|
|
2920
2939
|
effect: null,
|
|
2921
2940
|
update: null,
|
|
2922
2941
|
job: null,
|
|
2923
|
-
scope: new
|
|
2942
|
+
scope: new Fe(!0),
|
|
2924
2943
|
render: null,
|
|
2925
2944
|
proxy: null,
|
|
2926
2945
|
exposed: null,
|
|
@@ -2974,7 +2993,7 @@ function No(e, t, n) {
|
|
|
2974
2993
|
};
|
|
2975
2994
|
return a.ctx = Di(a), a.root = t ? t.root : a, a.emit = Zi.bind(null, a), e.ce && e.ce(a), a;
|
|
2976
2995
|
}
|
|
2977
|
-
var Q = null,
|
|
2996
|
+
var Q = null, No = () => Q || H, Po, Fo;
|
|
2978
2997
|
{
|
|
2979
2998
|
let e = he(), t = (t, n) => {
|
|
2980
2999
|
let r;
|
|
@@ -2982,89 +3001,76 @@ var Q = null, Po = () => Q || H, Fo, Io;
|
|
|
2982
3001
|
r.length > 1 ? r.forEach((t) => t(e)) : r[0](e);
|
|
2983
3002
|
};
|
|
2984
3003
|
};
|
|
2985
|
-
|
|
3004
|
+
Po = t("__VUE_INSTANCE_SETTERS__", (e) => Q = e), Fo = t("__VUE_SSR_SETTERS__", (e) => Vo = e);
|
|
2986
3005
|
}
|
|
2987
|
-
var
|
|
3006
|
+
var Io = (e) => {
|
|
2988
3007
|
let t = Q;
|
|
2989
|
-
return
|
|
2990
|
-
e.scope.off(),
|
|
3008
|
+
return Po(e), e.scope.on(), () => {
|
|
3009
|
+
e.scope.off(), Po(t);
|
|
2991
3010
|
};
|
|
2992
|
-
},
|
|
2993
|
-
Q && Q.scope.off(),
|
|
2994
|
-
},
|
|
2995
|
-
function
|
|
2996
|
-
(
|
|
3011
|
+
}, Lo = () => {
|
|
3012
|
+
Q && Q.scope.off(), Po(null);
|
|
3013
|
+
}, Ro = /* @__PURE__ */ a("slot,component");
|
|
3014
|
+
function zo(e, { isNativeTag: t }) {
|
|
3015
|
+
(Ro(e) || t(e)) && z("Do not use built-in or reserved HTML elements as component id: " + e);
|
|
2997
3016
|
}
|
|
2998
|
-
function
|
|
3017
|
+
function Bo(e) {
|
|
2999
3018
|
return e.vnode.shapeFlag & 4;
|
|
3000
3019
|
}
|
|
3001
|
-
var
|
|
3002
|
-
function
|
|
3003
|
-
t &&
|
|
3004
|
-
let { props: r, children: i } = e.vnode, a =
|
|
3020
|
+
var Vo = !1;
|
|
3021
|
+
function Ho(e, t = !1, n = !1) {
|
|
3022
|
+
t && Fo(t);
|
|
3023
|
+
let { props: r, children: i } = e.vnode, a = Bo(e);
|
|
3005
3024
|
ga(e, r, a, t), za(e, i, n || t);
|
|
3006
|
-
let o = a ?
|
|
3007
|
-
return t &&
|
|
3025
|
+
let o = a ? Uo(e, t) : void 0;
|
|
3026
|
+
return t && Fo(!1), o;
|
|
3008
3027
|
}
|
|
3009
|
-
function
|
|
3028
|
+
function Uo(e, t) {
|
|
3010
3029
|
let n = e.type;
|
|
3011
|
-
if (n.name &&
|
|
3030
|
+
if (n.name && zo(n.name, e.appContext.config), n.components) {
|
|
3012
3031
|
let t = Object.keys(n.components);
|
|
3013
|
-
for (let n = 0; n < t.length; n++)
|
|
3032
|
+
for (let n = 0; n < t.length; n++) zo(t[n], e.appContext.config);
|
|
3014
3033
|
}
|
|
3015
3034
|
if (n.directives) {
|
|
3016
3035
|
let e = Object.keys(n.directives);
|
|
3017
3036
|
for (let t = 0; t < e.length; t++) Dr(e[t]);
|
|
3018
3037
|
}
|
|
3019
|
-
n.compilerOptions &&
|
|
3038
|
+
n.compilerOptions && Go() && z("\"compilerOptions\" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead."), e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, Ei), Oi(e);
|
|
3020
3039
|
let { setup: r } = n;
|
|
3021
3040
|
if (r) {
|
|
3022
|
-
|
|
3023
|
-
let i = e.setupContext = r.length > 1 ?
|
|
3024
|
-
if (
|
|
3025
|
-
if (o.then(
|
|
3026
|
-
|
|
3041
|
+
$e();
|
|
3042
|
+
let i = e.setupContext = r.length > 1 ? Yo(e) : null, a = Io(e), o = An(r, e, 0, [/* @__PURE__ */ Zt(e.props), i]), s = w(o);
|
|
3043
|
+
if (et(), a(), (s || e.sp) && !Xr(e) && Ur(e), s) {
|
|
3044
|
+
if (o.then(Lo, Lo), t) return o.then((n) => {
|
|
3045
|
+
Wo(e, n, t);
|
|
3027
3046
|
}).catch((t) => {
|
|
3028
3047
|
Mn(t, e, 0);
|
|
3029
3048
|
});
|
|
3030
|
-
e.asyncDep = o, e.suspense || z(`Component <${
|
|
3031
|
-
} else
|
|
3032
|
-
} else
|
|
3049
|
+
e.asyncDep = o, e.suspense || z(`Component <${es(e, n)}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`);
|
|
3050
|
+
} else Wo(e, o, t);
|
|
3051
|
+
} else Ko(e, t);
|
|
3033
3052
|
}
|
|
3034
|
-
function
|
|
3035
|
-
b(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : C(t) ? (mo(t) && z("setup() should not return VNodes directly - return a render function instead."), e.devtoolsRawSetupState = t, e.setupState = dn(t), ki(e)) : t !== void 0 && z(`setup() should return an object. Received: ${t === null ? "null" : typeof t}`),
|
|
3053
|
+
function Wo(e, t, n) {
|
|
3054
|
+
b(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : C(t) ? (mo(t) && z("setup() should not return VNodes directly - return a render function instead."), e.devtoolsRawSetupState = t, e.setupState = dn(t), ki(e)) : t !== void 0 && z(`setup() should return an object. Received: ${t === null ? "null" : typeof t}`), Ko(e, n);
|
|
3036
3055
|
}
|
|
3037
|
-
var
|
|
3038
|
-
function
|
|
3056
|
+
var Go = () => !0;
|
|
3057
|
+
function Ko(e, t, n) {
|
|
3039
3058
|
let r = e.type;
|
|
3040
|
-
|
|
3041
|
-
if (!t && Ko && !r.render) {
|
|
3042
|
-
let t = r.template || Li(e).template;
|
|
3043
|
-
if (t) {
|
|
3044
|
-
Ua(e, "compile");
|
|
3045
|
-
let { isCustomElement: n, compilerOptions: i } = e.appContext.config, { delimiters: a, compilerOptions: o } = r;
|
|
3046
|
-
r.render = Ko(t, f(f({
|
|
3047
|
-
isCustomElement: n,
|
|
3048
|
-
delimiters: a
|
|
3049
|
-
}, i), o)), Wa(e, "compile");
|
|
3050
|
-
}
|
|
3051
|
-
}
|
|
3052
|
-
e.render = r.render || c, qo && qo(e);
|
|
3053
|
-
}
|
|
3059
|
+
e.render ||= r.render || c;
|
|
3054
3060
|
{
|
|
3055
|
-
let t =
|
|
3056
|
-
|
|
3061
|
+
let t = Io(e);
|
|
3062
|
+
$e();
|
|
3057
3063
|
try {
|
|
3058
3064
|
Ni(e);
|
|
3059
3065
|
} finally {
|
|
3060
|
-
|
|
3066
|
+
et(), t();
|
|
3061
3067
|
}
|
|
3062
3068
|
}
|
|
3063
|
-
!r.render && e.render === c && !t && (
|
|
3069
|
+
!r.render && e.render === c && !t && (r.template ? z("Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".") : z("Component is missing template or render function: ", r));
|
|
3064
3070
|
}
|
|
3065
|
-
var
|
|
3071
|
+
var qo = {
|
|
3066
3072
|
get(e, t) {
|
|
3067
|
-
return na(),
|
|
3073
|
+
return na(), P(e, "get", ""), e[t];
|
|
3068
3074
|
},
|
|
3069
3075
|
set() {
|
|
3070
3076
|
return z("setupContext.attrs is readonly."), !1;
|
|
@@ -3073,16 +3079,16 @@ var Xo = {
|
|
|
3073
3079
|
return z("setupContext.attrs is readonly."), !1;
|
|
3074
3080
|
}
|
|
3075
3081
|
};
|
|
3076
|
-
function
|
|
3082
|
+
function Jo(e) {
|
|
3077
3083
|
return new Proxy(e.slots, { get(t, n) {
|
|
3078
|
-
return
|
|
3084
|
+
return P(e, "get", "$slots"), t[n];
|
|
3079
3085
|
} });
|
|
3080
3086
|
}
|
|
3081
|
-
function
|
|
3087
|
+
function Yo(e) {
|
|
3082
3088
|
let t = (t) => {
|
|
3083
3089
|
if (e.exposed && z("expose() should be called only once per setup()."), t != null) {
|
|
3084
3090
|
let e = typeof t;
|
|
3085
|
-
e === "object" && (g(t) ? e = "array" : /* @__PURE__ */
|
|
3091
|
+
e === "object" && (g(t) ? e = "array" : /* @__PURE__ */ R(t) && (e = "ref")), e !== "object" && z(`expose() should be passed a plain object, received ${e}.`);
|
|
3086
3092
|
}
|
|
3087
3093
|
e.exposed = t || {};
|
|
3088
3094
|
};
|
|
@@ -3090,10 +3096,10 @@ function Qo(e) {
|
|
|
3090
3096
|
let n, r;
|
|
3091
3097
|
return Object.freeze({
|
|
3092
3098
|
get attrs() {
|
|
3093
|
-
return n ||= new Proxy(e.attrs,
|
|
3099
|
+
return n ||= new Proxy(e.attrs, qo);
|
|
3094
3100
|
},
|
|
3095
3101
|
get slots() {
|
|
3096
|
-
return r ||=
|
|
3102
|
+
return r ||= Jo(e);
|
|
3097
3103
|
},
|
|
3098
3104
|
get emit() {
|
|
3099
3105
|
return (t, ...n) => e.emit(t, ...n);
|
|
@@ -3102,8 +3108,8 @@ function Qo(e) {
|
|
|
3102
3108
|
});
|
|
3103
3109
|
}
|
|
3104
3110
|
}
|
|
3105
|
-
function
|
|
3106
|
-
return e.exposed ? e.exposeProxy ||= new Proxy(dn(
|
|
3111
|
+
function Xo(e) {
|
|
3112
|
+
return e.exposed ? e.exposeProxy ||= new Proxy(dn(nn(e.exposed)), {
|
|
3107
3113
|
get(t, n) {
|
|
3108
3114
|
if (n in t) return t[n];
|
|
3109
3115
|
if (n in Ci) return Ci[n](e);
|
|
@@ -3113,12 +3119,12 @@ function $o(e) {
|
|
|
3113
3119
|
}
|
|
3114
3120
|
}) : e.proxy;
|
|
3115
3121
|
}
|
|
3116
|
-
var
|
|
3117
|
-
function
|
|
3122
|
+
var Zo = /(?:^|[-_])\w/g, Qo = (e) => e.replace(Zo, (e) => e.toUpperCase()).replace(/[-_]/g, "");
|
|
3123
|
+
function $o(e, t = !0) {
|
|
3118
3124
|
return b(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
3119
3125
|
}
|
|
3120
|
-
function
|
|
3121
|
-
let r =
|
|
3126
|
+
function es(e, t, n = !1) {
|
|
3127
|
+
let r = $o(t);
|
|
3122
3128
|
if (!r && t.__file) {
|
|
3123
3129
|
let e = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
3124
3130
|
e && (r = e[1]);
|
|
@@ -3129,20 +3135,20 @@ function rs(e, t, n = !1) {
|
|
|
3129
3135
|
};
|
|
3130
3136
|
r = n(e.components) || e.parent && n(e.parent.type.components) || n(e.appContext.components);
|
|
3131
3137
|
}
|
|
3132
|
-
return r ?
|
|
3138
|
+
return r ? Qo(r) : n ? "App" : "Anonymous";
|
|
3133
3139
|
}
|
|
3134
|
-
function
|
|
3140
|
+
function ts(e) {
|
|
3135
3141
|
return b(e) && "__vccOpts" in e;
|
|
3136
3142
|
}
|
|
3137
|
-
var
|
|
3138
|
-
let n = /* @__PURE__ */ pn(e, t,
|
|
3143
|
+
var ns = (e, t) => {
|
|
3144
|
+
let n = /* @__PURE__ */ pn(e, t, Vo);
|
|
3139
3145
|
{
|
|
3140
|
-
let e =
|
|
3146
|
+
let e = No();
|
|
3141
3147
|
e && e.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
3142
3148
|
}
|
|
3143
3149
|
return n;
|
|
3144
3150
|
};
|
|
3145
|
-
function
|
|
3151
|
+
function rs(e, t, n) {
|
|
3146
3152
|
try {
|
|
3147
3153
|
uo(-1);
|
|
3148
3154
|
let r = arguments.length;
|
|
@@ -3151,7 +3157,7 @@ function os(e, t, n) {
|
|
|
3151
3157
|
uo(1);
|
|
3152
3158
|
}
|
|
3153
3159
|
}
|
|
3154
|
-
function
|
|
3160
|
+
function is() {
|
|
3155
3161
|
if (typeof window > "u") return;
|
|
3156
3162
|
let e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, i = {
|
|
3157
3163
|
__vue_custom_formatter: !0,
|
|
@@ -3162,10 +3168,10 @@ function ss() {
|
|
|
3162
3168
|
e,
|
|
3163
3169
|
"VueInstance"
|
|
3164
3170
|
];
|
|
3165
|
-
if (/* @__PURE__ */
|
|
3166
|
-
|
|
3171
|
+
if (/* @__PURE__ */ R(t)) {
|
|
3172
|
+
$e();
|
|
3167
3173
|
let n = t.value;
|
|
3168
|
-
return
|
|
3174
|
+
return et(), [
|
|
3169
3175
|
"div",
|
|
3170
3176
|
{},
|
|
3171
3177
|
[
|
|
@@ -3177,31 +3183,30 @@ function ss() {
|
|
|
3177
3183
|
c(n),
|
|
3178
3184
|
">"
|
|
3179
3185
|
];
|
|
3180
|
-
}
|
|
3186
|
+
}
|
|
3187
|
+
return /* @__PURE__ */ $t(t) ? [
|
|
3181
3188
|
"div",
|
|
3182
3189
|
{},
|
|
3183
3190
|
[
|
|
3184
3191
|
"span",
|
|
3185
3192
|
e,
|
|
3186
|
-
/* @__PURE__ */
|
|
3193
|
+
/* @__PURE__ */ F(t) ? "ShallowReactive" : "Reactive"
|
|
3187
3194
|
],
|
|
3188
3195
|
"<",
|
|
3189
3196
|
c(t),
|
|
3190
|
-
`>${/* @__PURE__ */
|
|
3191
|
-
]
|
|
3192
|
-
else if (/* @__PURE__ */ tn(t)) return [
|
|
3197
|
+
`>${/* @__PURE__ */ en(t) ? " (readonly)" : ""}`
|
|
3198
|
+
] : /* @__PURE__ */ en(t) ? [
|
|
3193
3199
|
"div",
|
|
3194
3200
|
{},
|
|
3195
3201
|
[
|
|
3196
3202
|
"span",
|
|
3197
3203
|
e,
|
|
3198
|
-
/* @__PURE__ */
|
|
3204
|
+
/* @__PURE__ */ F(t) ? "ShallowReadonly" : "Readonly"
|
|
3199
3205
|
],
|
|
3200
3206
|
"<",
|
|
3201
3207
|
c(t),
|
|
3202
3208
|
">"
|
|
3203
|
-
];
|
|
3204
|
-
return null;
|
|
3209
|
+
] : null;
|
|
3205
3210
|
},
|
|
3206
3211
|
hasBody(e) {
|
|
3207
3212
|
return e && e.__isVue;
|
|
@@ -3216,7 +3221,7 @@ function ss() {
|
|
|
3216
3221
|
};
|
|
3217
3222
|
function a(e) {
|
|
3218
3223
|
let t = [];
|
|
3219
|
-
e.type.props && e.props && t.push(s("props", /* @__PURE__ */
|
|
3224
|
+
e.type.props && e.props && t.push(s("props", /* @__PURE__ */ I(e.props))), e.setupState !== o && t.push(s("setup", e.setupState)), e.data !== o && t.push(s("data", /* @__PURE__ */ I(e.data)));
|
|
3220
3225
|
let n = l(e, "computed");
|
|
3221
3226
|
n && t.push(s("computed", n));
|
|
3222
3227
|
let i = l(e, "inject");
|
|
@@ -3269,7 +3274,7 @@ function ss() {
|
|
|
3269
3274
|
"span",
|
|
3270
3275
|
r,
|
|
3271
3276
|
e
|
|
3272
|
-
] : C(e) ? ["object", { object: i ? /* @__PURE__ */
|
|
3277
|
+
] : C(e) ? ["object", { object: i ? /* @__PURE__ */ I(e) : e }] : [
|
|
3273
3278
|
"span",
|
|
3274
3279
|
n,
|
|
3275
3280
|
String(e)
|
|
@@ -3287,17 +3292,17 @@ function ss() {
|
|
|
3287
3292
|
if (g(r) && r.includes(t) || C(r) && t in r || e.extends && u(e.extends, t, n) || e.mixins && e.mixins.some((e) => u(e, t, n))) return !0;
|
|
3288
3293
|
}
|
|
3289
3294
|
function d(e) {
|
|
3290
|
-
return /* @__PURE__ */
|
|
3295
|
+
return /* @__PURE__ */ F(e) ? "ShallowRef" : e.effect ? "ComputedRef" : "Ref";
|
|
3291
3296
|
}
|
|
3292
3297
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(i) : window.devtoolsFormatters = [i];
|
|
3293
3298
|
}
|
|
3294
|
-
var
|
|
3295
|
-
if (
|
|
3296
|
-
|
|
3299
|
+
var as = "3.5.31", os = z, ss = void 0, cs = typeof window < "u" && window.trustedTypes;
|
|
3300
|
+
if (cs) try {
|
|
3301
|
+
ss = /* @__PURE__ */ cs.createPolicy("vue", { createHTML: (e) => e });
|
|
3297
3302
|
} catch (e) {
|
|
3298
|
-
|
|
3303
|
+
os(`Error creating trusted types policy: ${e}`);
|
|
3299
3304
|
}
|
|
3300
|
-
var
|
|
3305
|
+
var ls = ss ? (e) => ss.createHTML(e) : (e) => e, us = "http://www.w3.org/2000/svg", ds = "http://www.w3.org/1998/Math/MathML", fs = typeof document < "u" ? document : null, ps = fs && /* @__PURE__ */ fs.createElement("template"), ms = {
|
|
3301
3306
|
insert: (e, t, n) => {
|
|
3302
3307
|
t.insertBefore(e, n || null);
|
|
3303
3308
|
},
|
|
@@ -3306,11 +3311,11 @@ var fs = us ? (e) => us.createHTML(e) : (e) => e, ps = "http://www.w3.org/2000/s
|
|
|
3306
3311
|
t && t.removeChild(e);
|
|
3307
3312
|
},
|
|
3308
3313
|
createElement: (e, t, n, r) => {
|
|
3309
|
-
let i = t === "svg" ?
|
|
3314
|
+
let i = t === "svg" ? fs.createElementNS(us, e) : t === "mathml" ? fs.createElementNS(ds, e) : n ? fs.createElement(e, { is: n }) : fs.createElement(e);
|
|
3310
3315
|
return e === "select" && r && r.multiple != null && i.setAttribute("multiple", r.multiple), i;
|
|
3311
3316
|
},
|
|
3312
|
-
createText: (e) =>
|
|
3313
|
-
createComment: (e) =>
|
|
3317
|
+
createText: (e) => fs.createTextNode(e),
|
|
3318
|
+
createComment: (e) => fs.createComment(e),
|
|
3314
3319
|
setText: (e, t) => {
|
|
3315
3320
|
e.nodeValue = t;
|
|
3316
3321
|
},
|
|
@@ -3319,7 +3324,7 @@ var fs = us ? (e) => us.createHTML(e) : (e) => e, ps = "http://www.w3.org/2000/s
|
|
|
3319
3324
|
},
|
|
3320
3325
|
parentNode: (e) => e.parentNode,
|
|
3321
3326
|
nextSibling: (e) => e.nextSibling,
|
|
3322
|
-
querySelector: (e) =>
|
|
3327
|
+
querySelector: (e) => fs.querySelector(e),
|
|
3323
3328
|
setScopeId(e, t) {
|
|
3324
3329
|
e.setAttribute(t, "");
|
|
3325
3330
|
},
|
|
@@ -3327,8 +3332,8 @@ var fs = us ? (e) => us.createHTML(e) : (e) => e, ps = "http://www.w3.org/2000/s
|
|
|
3327
3332
|
let o = n ? n.previousSibling : t.lastChild;
|
|
3328
3333
|
if (i && (i === a || i.nextSibling)) for (; t.insertBefore(i.cloneNode(!0), n), !(i === a || !(i = i.nextSibling)););
|
|
3329
3334
|
else {
|
|
3330
|
-
|
|
3331
|
-
let i =
|
|
3335
|
+
ps.innerHTML = ls(r === "svg" ? `<svg>${e}</svg>` : r === "mathml" ? `<math>${e}</math>` : e);
|
|
3336
|
+
let i = ps.content;
|
|
3332
3337
|
if (r === "svg" || r === "mathml") {
|
|
3333
3338
|
let e = i.firstChild;
|
|
3334
3339
|
for (; e.firstChild;) i.appendChild(e.firstChild);
|
|
@@ -3338,82 +3343,84 @@ var fs = us ? (e) => us.createHTML(e) : (e) => e, ps = "http://www.w3.org/2000/s
|
|
|
3338
3343
|
}
|
|
3339
3344
|
return [o ? o.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild];
|
|
3340
3345
|
}
|
|
3341
|
-
},
|
|
3342
|
-
function
|
|
3343
|
-
let r = e[
|
|
3346
|
+
}, hs = /* @__PURE__ */ Symbol("_vtc");
|
|
3347
|
+
function gs(e, t, n) {
|
|
3348
|
+
let r = e[hs];
|
|
3344
3349
|
r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
3345
3350
|
}
|
|
3346
|
-
var
|
|
3351
|
+
var _s = /* @__PURE__ */ Symbol("_vod"), vs = /* @__PURE__ */ Symbol("_vsh"), ys = {
|
|
3347
3352
|
name: "show",
|
|
3348
3353
|
beforeMount(e, { value: t }, { transition: n }) {
|
|
3349
|
-
e[
|
|
3354
|
+
e[_s] = e.style.display === "none" ? "" : e.style.display, n && t ? n.beforeEnter(e) : bs(e, t);
|
|
3350
3355
|
},
|
|
3351
3356
|
mounted(e, { value: t }, { transition: n }) {
|
|
3352
3357
|
n && t && n.enter(e);
|
|
3353
3358
|
},
|
|
3354
3359
|
updated(e, { value: t, oldValue: n }, { transition: r }) {
|
|
3355
|
-
!t != !n && (r ? t ? (r.beforeEnter(e),
|
|
3356
|
-
|
|
3357
|
-
}) :
|
|
3360
|
+
!t != !n && (r ? t ? (r.beforeEnter(e), bs(e, !0), r.enter(e)) : r.leave(e, () => {
|
|
3361
|
+
bs(e, !1);
|
|
3362
|
+
}) : bs(e, t));
|
|
3358
3363
|
},
|
|
3359
3364
|
beforeUnmount(e, { value: t }) {
|
|
3360
|
-
|
|
3365
|
+
bs(e, t);
|
|
3361
3366
|
}
|
|
3362
3367
|
};
|
|
3363
|
-
function
|
|
3364
|
-
e.style.display = t ? e[
|
|
3368
|
+
function bs(e, t) {
|
|
3369
|
+
e.style.display = t ? e[_s] : "none", e[vs] = !t;
|
|
3365
3370
|
}
|
|
3366
|
-
var
|
|
3367
|
-
function
|
|
3371
|
+
var xs = /* @__PURE__ */ Symbol("CSS_VAR_TEXT"), Ss = /(?:^|;)\s*display\s*:/;
|
|
3372
|
+
function Cs(e, t, n) {
|
|
3368
3373
|
let r = e.style, i = x(n), a = !1;
|
|
3369
3374
|
if (n && !i) {
|
|
3370
|
-
if (t)
|
|
3371
|
-
|
|
3372
|
-
|
|
3375
|
+
if (t) {
|
|
3376
|
+
if (x(t)) for (let e of t.split(";")) {
|
|
3377
|
+
let t = e.slice(0, e.indexOf(":")).trim();
|
|
3378
|
+
n[t] ?? Es(r, t, "");
|
|
3379
|
+
}
|
|
3380
|
+
else for (let e in t) n[e] ?? Es(r, e, "");
|
|
3373
3381
|
}
|
|
3374
|
-
|
|
3375
|
-
for (let e in n) e === "display" && (a = !0), ks(r, e, n[e]);
|
|
3382
|
+
for (let e in n) e === "display" && (a = !0), Es(r, e, n[e]);
|
|
3376
3383
|
} else if (i) {
|
|
3377
3384
|
if (t !== n) {
|
|
3378
|
-
let e = r[
|
|
3379
|
-
e && (n += ";" + e), r.cssText = n, a =
|
|
3385
|
+
let e = r[xs];
|
|
3386
|
+
e && (n += ";" + e), r.cssText = n, a = Ss.test(n);
|
|
3380
3387
|
}
|
|
3381
3388
|
} else t && e.removeAttribute("style");
|
|
3382
|
-
|
|
3389
|
+
_s in e && (e[_s] = a ? r.display : "", e[vs] && (r.display = "none"));
|
|
3383
3390
|
}
|
|
3384
|
-
var
|
|
3385
|
-
function
|
|
3386
|
-
if (g(n)) n.forEach((n) =>
|
|
3387
|
-
else if (n ??= "",
|
|
3391
|
+
var ws = /[^\\];\s*$/, Ts = /\s*!important$/;
|
|
3392
|
+
function Es(e, t, n) {
|
|
3393
|
+
if (g(n)) n.forEach((n) => Es(e, t, n));
|
|
3394
|
+
else if (n ??= "", ws.test(n) && os(`Unexpected semicolon at the end of '${t}' style value: '${n}'`), t.startsWith("--")) e.setProperty(t, n);
|
|
3388
3395
|
else {
|
|
3389
|
-
let r =
|
|
3390
|
-
|
|
3396
|
+
let r = ks(e, t);
|
|
3397
|
+
Ts.test(n) ? e.setProperty(E(r), n.replace(Ts, ""), "important") : e[r] = n;
|
|
3391
3398
|
}
|
|
3392
3399
|
}
|
|
3393
|
-
var
|
|
3400
|
+
var Ds = [
|
|
3394
3401
|
"Webkit",
|
|
3395
3402
|
"Moz",
|
|
3396
3403
|
"ms"
|
|
3397
|
-
],
|
|
3398
|
-
function
|
|
3399
|
-
let n =
|
|
3404
|
+
], Os = {};
|
|
3405
|
+
function ks(e, t) {
|
|
3406
|
+
let n = Os[t];
|
|
3400
3407
|
if (n) return n;
|
|
3401
3408
|
let r = T(t);
|
|
3402
|
-
if (r !== "filter" && r in e) return
|
|
3409
|
+
if (r !== "filter" && r in e) return Os[t] = r;
|
|
3403
3410
|
r = D(r);
|
|
3404
|
-
for (let n = 0; n <
|
|
3405
|
-
let i =
|
|
3406
|
-
if (i in e) return
|
|
3411
|
+
for (let n = 0; n < Ds.length; n++) {
|
|
3412
|
+
let i = Ds[n] + r;
|
|
3413
|
+
if (i in e) return Os[t] = i;
|
|
3407
3414
|
}
|
|
3408
3415
|
return t;
|
|
3409
3416
|
}
|
|
3410
|
-
var
|
|
3411
|
-
function
|
|
3412
|
-
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(
|
|
3417
|
+
var As = "http://www.w3.org/1999/xlink";
|
|
3418
|
+
function js(e, t, n, r, i, a = De(t)) {
|
|
3419
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(As, t.slice(6, t.length)) : e.setAttributeNS(As, t, n) : n == null || a && !Oe(n) ? e.removeAttribute(t) : e.setAttribute(t, a ? "" : S(n) ? String(n) : n);
|
|
3413
3420
|
}
|
|
3414
|
-
function
|
|
3421
|
+
function Ms(e, t, n, r, i) {
|
|
3415
3422
|
if (t === "innerHTML" || t === "textContent") {
|
|
3416
|
-
n != null && (e[t] = t === "innerHTML" ?
|
|
3423
|
+
n != null && (e[t] = t === "innerHTML" ? ls(n) : n);
|
|
3417
3424
|
return;
|
|
3418
3425
|
}
|
|
3419
3426
|
let a = e.tagName;
|
|
@@ -3430,152 +3437,153 @@ function Fs(e, t, n, r, i) {
|
|
|
3430
3437
|
try {
|
|
3431
3438
|
e[t] = n;
|
|
3432
3439
|
} catch (e) {
|
|
3433
|
-
o ||
|
|
3440
|
+
o || os(`Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${n} is invalid.`, e);
|
|
3434
3441
|
}
|
|
3435
3442
|
o && e.removeAttribute(i || t);
|
|
3436
3443
|
}
|
|
3437
|
-
function
|
|
3444
|
+
function Ns(e, t, n, r) {
|
|
3438
3445
|
e.addEventListener(t, n, r);
|
|
3439
3446
|
}
|
|
3440
|
-
function
|
|
3447
|
+
function Ps(e, t, n, r) {
|
|
3441
3448
|
e.removeEventListener(t, n, r);
|
|
3442
3449
|
}
|
|
3443
|
-
var
|
|
3444
|
-
function
|
|
3445
|
-
let a = e[
|
|
3446
|
-
if (r && o) o.value =
|
|
3450
|
+
var Fs = /* @__PURE__ */ Symbol("_vei");
|
|
3451
|
+
function Is(e, t, n, r, i = null) {
|
|
3452
|
+
let a = e[Fs] || (e[Fs] = {}), o = a[t];
|
|
3453
|
+
if (r && o) o.value = Us(r, t);
|
|
3447
3454
|
else {
|
|
3448
|
-
let [n, s] =
|
|
3449
|
-
r ?
|
|
3455
|
+
let [n, s] = Rs(t);
|
|
3456
|
+
r ? Ns(e, n, a[t] = Hs(Us(r, t), i), s) : o && (Ps(e, n, o, s), a[t] = void 0);
|
|
3450
3457
|
}
|
|
3451
3458
|
}
|
|
3452
|
-
var
|
|
3453
|
-
function
|
|
3459
|
+
var Ls = /(?:Once|Passive|Capture)$/;
|
|
3460
|
+
function Rs(e) {
|
|
3454
3461
|
let t;
|
|
3455
|
-
if (
|
|
3462
|
+
if (Ls.test(e)) {
|
|
3456
3463
|
t = {};
|
|
3457
3464
|
let n;
|
|
3458
|
-
for (; n = e.match(
|
|
3465
|
+
for (; n = e.match(Ls);) e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
|
|
3459
3466
|
}
|
|
3460
3467
|
return [e[2] === ":" ? e.slice(3) : E(e.slice(2)), t];
|
|
3461
3468
|
}
|
|
3462
|
-
var
|
|
3463
|
-
function
|
|
3469
|
+
var zs = 0, Bs = /* @__PURE__ */ Promise.resolve(), Vs = () => zs ||= (Bs.then(() => zs = 0), Date.now());
|
|
3470
|
+
function Hs(e, t) {
|
|
3464
3471
|
let n = (e) => {
|
|
3465
3472
|
if (!e._vts) e._vts = Date.now();
|
|
3466
3473
|
else if (e._vts <= n.attached) return;
|
|
3467
|
-
jn(
|
|
3474
|
+
jn(Ws(e, n.value), t, 5, [e]);
|
|
3468
3475
|
};
|
|
3469
|
-
return n.value = e, n.attached =
|
|
3476
|
+
return n.value = e, n.attached = Vs(), n;
|
|
3470
3477
|
}
|
|
3471
|
-
function
|
|
3472
|
-
return b(e) || g(e) ? e : (
|
|
3478
|
+
function Us(e, t) {
|
|
3479
|
+
return b(e) || g(e) ? e : (os(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
3473
3480
|
Expected function or array of functions, received type ${typeof e}.`), c);
|
|
3474
3481
|
}
|
|
3475
|
-
function
|
|
3482
|
+
function Ws(e, t) {
|
|
3476
3483
|
if (g(t)) {
|
|
3477
3484
|
let n = e.stopImmediatePropagation;
|
|
3478
3485
|
return e.stopImmediatePropagation = () => {
|
|
3479
3486
|
n.call(e), e._stopped = !0;
|
|
3480
3487
|
}, t.map((e) => (t) => !t._stopped && e && e(t));
|
|
3481
|
-
}
|
|
3488
|
+
}
|
|
3489
|
+
return t;
|
|
3482
3490
|
}
|
|
3483
|
-
var
|
|
3491
|
+
var Gs = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Ks = (e, t, n, r, i, a) => {
|
|
3484
3492
|
let o = i === "svg";
|
|
3485
|
-
t === "class" ?
|
|
3493
|
+
t === "class" ? gs(e, r, o) : t === "style" ? Cs(e, n, r) : u(t) ? d(t) || Is(e, t, n, r, a) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : qs(e, t, r, o)) ? (Ms(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && js(e, t, r, o, a, t !== "value")) : e._isVueCE && (Js(e, t) || e._def.__asyncLoader && (/[A-Z]/.test(t) || !x(r))) ? Ms(e, T(t), r, a, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), js(e, t, r, o));
|
|
3486
3494
|
};
|
|
3487
|
-
function
|
|
3488
|
-
if (r) return !!(t === "innerHTML" || t === "textContent" || t in e &&
|
|
3495
|
+
function qs(e, t, n, r) {
|
|
3496
|
+
if (r) return !!(t === "innerHTML" || t === "textContent" || t in e && Gs(t) && b(n));
|
|
3489
3497
|
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") return !1;
|
|
3490
3498
|
if (t === "width" || t === "height") {
|
|
3491
3499
|
let t = e.tagName;
|
|
3492
3500
|
if (t === "IMG" || t === "VIDEO" || t === "CANVAS" || t === "SOURCE") return !1;
|
|
3493
3501
|
}
|
|
3494
|
-
return
|
|
3502
|
+
return Gs(t) && x(n) ? !1 : t in e;
|
|
3495
3503
|
}
|
|
3496
|
-
function
|
|
3504
|
+
function Js(e, t) {
|
|
3497
3505
|
let n = e._def.props;
|
|
3498
3506
|
if (!n) return !1;
|
|
3499
3507
|
let r = T(t);
|
|
3500
3508
|
return Array.isArray(n) ? n.some((e) => T(e) === r) : Object.keys(n).some((e) => T(e) === r);
|
|
3501
3509
|
}
|
|
3502
|
-
var
|
|
3503
|
-
function
|
|
3504
|
-
return
|
|
3510
|
+
var Ys = /* @__PURE__ */ f({ patchProp: Ks }, ms), Xs;
|
|
3511
|
+
function Zs() {
|
|
3512
|
+
return Xs ||= qa(Ys);
|
|
3505
3513
|
}
|
|
3506
|
-
var
|
|
3507
|
-
let t =
|
|
3508
|
-
|
|
3514
|
+
var Qs = ((...e) => {
|
|
3515
|
+
let t = Zs().createApp(...e);
|
|
3516
|
+
ec(t), tc(t);
|
|
3509
3517
|
let { mount: n } = t;
|
|
3510
3518
|
return t.mount = (e) => {
|
|
3511
|
-
let r =
|
|
3519
|
+
let r = nc(e);
|
|
3512
3520
|
if (!r) return;
|
|
3513
3521
|
let i = t._component;
|
|
3514
3522
|
!b(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
|
|
3515
|
-
let a = n(r, !1,
|
|
3523
|
+
let a = n(r, !1, $s(r));
|
|
3516
3524
|
return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), a;
|
|
3517
3525
|
}, t;
|
|
3518
3526
|
});
|
|
3519
|
-
function
|
|
3527
|
+
function $s(e) {
|
|
3520
3528
|
if (e instanceof SVGElement) return "svg";
|
|
3521
3529
|
if (typeof MathMLElement == "function" && e instanceof MathMLElement) return "mathml";
|
|
3522
3530
|
}
|
|
3523
|
-
function
|
|
3531
|
+
function ec(e) {
|
|
3524
3532
|
Object.defineProperty(e.config, "isNativeTag", {
|
|
3525
3533
|
value: (e) => Ce(e) || we(e) || Te(e),
|
|
3526
3534
|
writable: !1
|
|
3527
3535
|
});
|
|
3528
3536
|
}
|
|
3529
|
-
function
|
|
3530
|
-
if (
|
|
3537
|
+
function tc(e) {
|
|
3538
|
+
if (Go()) {
|
|
3531
3539
|
let t = e.config.isCustomElement;
|
|
3532
3540
|
Object.defineProperty(e.config, "isCustomElement", {
|
|
3533
3541
|
get() {
|
|
3534
3542
|
return t;
|
|
3535
3543
|
},
|
|
3536
3544
|
set() {
|
|
3537
|
-
|
|
3545
|
+
os("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.");
|
|
3538
3546
|
}
|
|
3539
3547
|
});
|
|
3540
3548
|
let n = e.config.compilerOptions, r = "The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka \"full build\"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader's `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc";
|
|
3541
3549
|
Object.defineProperty(e.config, "compilerOptions", {
|
|
3542
3550
|
get() {
|
|
3543
|
-
return
|
|
3551
|
+
return os(r), n;
|
|
3544
3552
|
},
|
|
3545
3553
|
set() {
|
|
3546
|
-
|
|
3554
|
+
os(r);
|
|
3547
3555
|
}
|
|
3548
3556
|
});
|
|
3549
3557
|
}
|
|
3550
3558
|
}
|
|
3551
|
-
function
|
|
3559
|
+
function nc(e) {
|
|
3552
3560
|
if (x(e)) {
|
|
3553
3561
|
let t = document.querySelector(e);
|
|
3554
|
-
return t ||
|
|
3562
|
+
return t || os(`Failed to mount app: mount target selector "${e}" returned null.`), t;
|
|
3555
3563
|
}
|
|
3556
|
-
return window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" &&
|
|
3564
|
+
return window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" && os("mounting on a ShadowRoot with `{mode: \"closed\"}` may lead to unpredictable bugs"), e;
|
|
3557
3565
|
}
|
|
3558
3566
|
//#endregion
|
|
3559
3567
|
//#region ../../node_modules/.pnpm/vue@3.5.31_typescript@7.0.2/node_modules/vue/dist/vue.runtime.esm-bundler.js
|
|
3560
|
-
function
|
|
3561
|
-
|
|
3568
|
+
function rc() {
|
|
3569
|
+
is();
|
|
3562
3570
|
}
|
|
3563
|
-
|
|
3571
|
+
rc();
|
|
3564
3572
|
//#endregion
|
|
3565
3573
|
//#region ../../node_modules/.pnpm/birpc@2.9.0/node_modules/birpc/dist/index.mjs
|
|
3566
|
-
var
|
|
3567
|
-
function
|
|
3574
|
+
var ic = "q", ac = "s", oc = 6e4;
|
|
3575
|
+
function sc(e) {
|
|
3568
3576
|
return e;
|
|
3569
3577
|
}
|
|
3570
|
-
var
|
|
3571
|
-
function
|
|
3572
|
-
let { post: n, on: r, off: i = () => {}, eventNames: a = [], serialize: o =
|
|
3578
|
+
var cc = sc, { clearTimeout: lc, setTimeout: uc } = globalThis, dc = Math.random.bind(Math);
|
|
3579
|
+
function fc(e, t) {
|
|
3580
|
+
let { post: n, on: r, off: i = () => {}, eventNames: a = [], serialize: o = sc, deserialize: s = cc, resolver: c, bind: l = "rpc", timeout: u = oc } = t, d = !1, f = /* @__PURE__ */ new Map(), p, m;
|
|
3573
3581
|
async function h(e, r, i, a) {
|
|
3574
3582
|
if (d) throw Error(`[birpc] rpc is closed, cannot call "${e}"`);
|
|
3575
3583
|
let s = {
|
|
3576
3584
|
m: e,
|
|
3577
3585
|
a: r,
|
|
3578
|
-
t:
|
|
3586
|
+
t: ic
|
|
3579
3587
|
};
|
|
3580
3588
|
a && (s.o = !0);
|
|
3581
3589
|
let c = async (e) => n(o(e));
|
|
@@ -3588,11 +3596,11 @@ function hc(e, t) {
|
|
|
3588
3596
|
} finally {
|
|
3589
3597
|
p = void 0;
|
|
3590
3598
|
}
|
|
3591
|
-
let { promise: l, resolve: h, reject: g } =
|
|
3599
|
+
let { promise: l, resolve: h, reject: g } = pc(), _ = hc();
|
|
3592
3600
|
s.i = _;
|
|
3593
3601
|
let v;
|
|
3594
3602
|
async function y(n = s) {
|
|
3595
|
-
return u >= 0 && (v =
|
|
3603
|
+
return u >= 0 && (v = uc(() => {
|
|
3596
3604
|
try {
|
|
3597
3605
|
if (t.onTimeoutError?.call(m, e, r) !== !0) throw Error(`[birpc] timeout on calling "${e}"`);
|
|
3598
3606
|
} catch (e) {
|
|
@@ -3612,7 +3620,7 @@ function hc(e, t) {
|
|
|
3612
3620
|
if (t.onGeneralError?.call(m, e) !== !0) throw e;
|
|
3613
3621
|
return;
|
|
3614
3622
|
} finally {
|
|
3615
|
-
|
|
3623
|
+
lc(v), f.delete(_);
|
|
3616
3624
|
}
|
|
3617
3625
|
return l;
|
|
3618
3626
|
}
|
|
@@ -3661,7 +3669,7 @@ function hc(e, t) {
|
|
|
3661
3669
|
if (t.onGeneralError?.call(m, e) !== !0) throw e;
|
|
3662
3670
|
return;
|
|
3663
3671
|
}
|
|
3664
|
-
if (a.t ===
|
|
3672
|
+
if (a.t === ic) {
|
|
3665
3673
|
let { m: r, a: s, o: u } = a, d, f, p = await (c ? c.call(m, r, e[r]) : e[r]);
|
|
3666
3674
|
if (u && (p ||= () => void 0), !p) f = /* @__PURE__ */ Error(`[birpc] function "${r}" not found`);
|
|
3667
3675
|
else try {
|
|
@@ -3673,7 +3681,7 @@ function hc(e, t) {
|
|
|
3673
3681
|
if (f && t.onError && t.onError.call(m, f, r, s), f && t.onFunctionError && t.onFunctionError.call(m, f, r, s) === !0) return;
|
|
3674
3682
|
if (!f) try {
|
|
3675
3683
|
await n(o({
|
|
3676
|
-
t:
|
|
3684
|
+
t: ac,
|
|
3677
3685
|
i: a.i,
|
|
3678
3686
|
r: d
|
|
3679
3687
|
}), ...i);
|
|
@@ -3683,7 +3691,7 @@ function hc(e, t) {
|
|
|
3683
3691
|
}
|
|
3684
3692
|
try {
|
|
3685
3693
|
await n(o({
|
|
3686
|
-
t:
|
|
3694
|
+
t: ac,
|
|
3687
3695
|
i: a.i,
|
|
3688
3696
|
e: f
|
|
3689
3697
|
}), ...i);
|
|
@@ -3693,12 +3701,12 @@ function hc(e, t) {
|
|
|
3693
3701
|
}
|
|
3694
3702
|
} else {
|
|
3695
3703
|
let { i: e, r: t, e: n } = a, r = f.get(e);
|
|
3696
|
-
r && (
|
|
3704
|
+
r && (lc(r.timeoutId), n ? r.reject(n) : r.resolve(t)), f.delete(e);
|
|
3697
3705
|
}
|
|
3698
3706
|
}
|
|
3699
3707
|
return p = r(y), m;
|
|
3700
3708
|
}
|
|
3701
|
-
function
|
|
3709
|
+
function pc() {
|
|
3702
3710
|
let e, t;
|
|
3703
3711
|
return {
|
|
3704
3712
|
promise: new Promise((n, r) => {
|
|
@@ -3708,23 +3716,23 @@ function gc() {
|
|
|
3708
3716
|
reject: t
|
|
3709
3717
|
};
|
|
3710
3718
|
}
|
|
3711
|
-
var
|
|
3712
|
-
function
|
|
3719
|
+
var mc = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
3720
|
+
function hc(e = 21) {
|
|
3713
3721
|
let t = "", n = e;
|
|
3714
|
-
for (; n--;) t +=
|
|
3722
|
+
for (; n--;) t += mc[dc() * 64 | 0];
|
|
3715
3723
|
return t;
|
|
3716
3724
|
}
|
|
3717
3725
|
//#endregion
|
|
3718
3726
|
//#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/editor/internal/initialize.js
|
|
3719
|
-
function
|
|
3727
|
+
function gc() {
|
|
3720
3728
|
return r;
|
|
3721
3729
|
}
|
|
3722
|
-
globalThis.MonacoEnvironment?.globalAPI && (globalThis.monaco =
|
|
3730
|
+
globalThis.MonacoEnvironment?.globalAPI && (globalThis.monaco = gc());
|
|
3723
3731
|
//#endregion
|
|
3724
3732
|
//#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/_.contribution.js
|
|
3725
|
-
var
|
|
3733
|
+
var _c = {}, vc = {}, yc = class e {
|
|
3726
3734
|
static getOrCreate(t) {
|
|
3727
|
-
return
|
|
3735
|
+
return vc[t] || (vc[t] = new e(t)), vc[t];
|
|
3728
3736
|
}
|
|
3729
3737
|
constructor(e) {
|
|
3730
3738
|
this._languageId = e, this._loadingTriggered = !1, this._lazyLoadPromise = new Promise((e, t) => {
|
|
@@ -3732,13 +3740,13 @@ var bc = {}, xc = {}, Sc = class e {
|
|
|
3732
3740
|
});
|
|
3733
3741
|
}
|
|
3734
3742
|
load() {
|
|
3735
|
-
return this._loadingTriggered || (this._loadingTriggered = !0,
|
|
3743
|
+
return this._loadingTriggered || (this._loadingTriggered = !0, _c[this._languageId].loader().then((e) => this._lazyLoadPromiseResolve(e), (e) => this._lazyLoadPromiseReject(e))), this._lazyLoadPromise;
|
|
3736
3744
|
}
|
|
3737
3745
|
};
|
|
3738
3746
|
function $(e) {
|
|
3739
3747
|
let n = e.id;
|
|
3740
|
-
|
|
3741
|
-
let r =
|
|
3748
|
+
_c[n] = e, t.register(e);
|
|
3749
|
+
let r = yc.getOrCreate(n);
|
|
3742
3750
|
t.registerTokensProviderFactory(n, { create: async () => (await r.load()).language }), t.onLanguageEncountered(n, async () => {
|
|
3743
3751
|
let e = await r.load();
|
|
3744
3752
|
t.setLanguageConfiguration(n, e.conf);
|
|
@@ -3771,7 +3779,7 @@ $({
|
|
|
3771
3779
|
"text/template",
|
|
3772
3780
|
"text/ng-template"
|
|
3773
3781
|
],
|
|
3774
|
-
loader: () => import("./html-
|
|
3782
|
+
loader: () => import("./html-BtI1mgAb.js")
|
|
3775
3783
|
}), $({
|
|
3776
3784
|
id: "css",
|
|
3777
3785
|
extensions: [".css"],
|
|
@@ -3811,7 +3819,7 @@ $({
|
|
|
3811
3819
|
"js"
|
|
3812
3820
|
],
|
|
3813
3821
|
mimetypes: ["text/javascript"],
|
|
3814
|
-
loader: () => import("./javascript-
|
|
3822
|
+
loader: () => import("./javascript-CsLyoDyq.js")
|
|
3815
3823
|
}), $({
|
|
3816
3824
|
id: "typescript",
|
|
3817
3825
|
extensions: [
|
|
@@ -3826,7 +3834,7 @@ $({
|
|
|
3826
3834
|
"typescript"
|
|
3827
3835
|
],
|
|
3828
3836
|
mimetypes: ["text/typescript"],
|
|
3829
|
-
loader: () => import("./typescript-
|
|
3837
|
+
loader: () => import("./typescript-DdUYzFye.js")
|
|
3830
3838
|
}), $({
|
|
3831
3839
|
id: "xml",
|
|
3832
3840
|
extensions: [
|
|
@@ -3856,7 +3864,7 @@ $({
|
|
|
3856
3864
|
"application/xaml+xml",
|
|
3857
3865
|
"application/xml-dtd"
|
|
3858
3866
|
],
|
|
3859
|
-
loader: () => import("./xml-
|
|
3867
|
+
loader: () => import("./xml-YkclMbCx.js")
|
|
3860
3868
|
}), $({
|
|
3861
3869
|
id: "yaml",
|
|
3862
3870
|
extensions: [".yaml", ".yml"],
|
|
@@ -3867,7 +3875,7 @@ $({
|
|
|
3867
3875
|
"yml"
|
|
3868
3876
|
],
|
|
3869
3877
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
3870
|
-
loader: () => import("./yaml-
|
|
3878
|
+
loader: () => import("./yaml-nzDq4-PC.js")
|
|
3871
3879
|
}), $({
|
|
3872
3880
|
id: "markdown",
|
|
3873
3881
|
extensions: [
|
|
@@ -3886,7 +3894,7 @@ $({
|
|
|
3886
3894
|
id: "mdx",
|
|
3887
3895
|
extensions: [".mdx"],
|
|
3888
3896
|
aliases: ["MDX", "mdx"],
|
|
3889
|
-
loader: () => import("./mdx-
|
|
3897
|
+
loader: () => import("./mdx-BXUwpKml.js")
|
|
3890
3898
|
}), $({
|
|
3891
3899
|
id: "pug",
|
|
3892
3900
|
extensions: [".jade", ".pug"],
|
|
@@ -3915,7 +3923,7 @@ $({
|
|
|
3915
3923
|
"hbs"
|
|
3916
3924
|
],
|
|
3917
3925
|
mimetypes: ["text/x-handlebars-template"],
|
|
3918
|
-
loader: () => import("./handlebars-
|
|
3926
|
+
loader: () => import("./handlebars-D8oWedcX.js")
|
|
3919
3927
|
}), $({
|
|
3920
3928
|
id: "shell",
|
|
3921
3929
|
extensions: [".sh", ".bash"],
|
|
@@ -3924,7 +3932,7 @@ $({
|
|
|
3924
3932
|
});
|
|
3925
3933
|
//#endregion
|
|
3926
3934
|
//#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/language/css/monaco.contribution.js
|
|
3927
|
-
var
|
|
3935
|
+
var bc = class {
|
|
3928
3936
|
constructor(e, t, n) {
|
|
3929
3937
|
this._onDidChange = new i(), this._languageId = e, this.setOptions(t), this.setModeConfiguration(n);
|
|
3930
3938
|
}
|
|
@@ -3952,7 +3960,7 @@ var Cc = class {
|
|
|
3952
3960
|
setModeConfiguration(e) {
|
|
3953
3961
|
this._modeConfiguration = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
|
|
3954
3962
|
}
|
|
3955
|
-
},
|
|
3963
|
+
}, xc = {
|
|
3956
3964
|
validate: !0,
|
|
3957
3965
|
lint: {
|
|
3958
3966
|
compatibleVendorPrefixes: "ignore",
|
|
@@ -3983,7 +3991,7 @@ var Cc = class {
|
|
|
3983
3991
|
maxPreserveNewLines: void 0,
|
|
3984
3992
|
preserveNewLines: !0
|
|
3985
3993
|
}
|
|
3986
|
-
},
|
|
3994
|
+
}, Sc = {
|
|
3987
3995
|
completionItems: !0,
|
|
3988
3996
|
hovers: !0,
|
|
3989
3997
|
documentSymbols: !0,
|
|
@@ -3997,18 +4005,18 @@ var Cc = class {
|
|
|
3997
4005
|
selectionRanges: !0,
|
|
3998
4006
|
documentFormattingEdits: !0,
|
|
3999
4007
|
documentRangeFormattingEdits: !0
|
|
4000
|
-
},
|
|
4001
|
-
function
|
|
4002
|
-
return import("./cssMode-
|
|
4008
|
+
}, Cc = new bc("css", xc, Sc), wc = new bc("scss", xc, Sc), Tc = new bc("less", xc, Sc);
|
|
4009
|
+
function Ec() {
|
|
4010
|
+
return import("./cssMode-BjT8Ilz9.js");
|
|
4003
4011
|
}
|
|
4004
4012
|
t.onLanguage("less", () => {
|
|
4005
|
-
|
|
4013
|
+
Ec().then((e) => e.setupMode(Tc));
|
|
4006
4014
|
}), t.onLanguage("scss", () => {
|
|
4007
|
-
|
|
4015
|
+
Ec().then((e) => e.setupMode(wc));
|
|
4008
4016
|
}), t.onLanguage("css", () => {
|
|
4009
|
-
|
|
4017
|
+
Ec().then((e) => e.setupMode(Cc));
|
|
4010
4018
|
});
|
|
4011
|
-
var
|
|
4019
|
+
var Dc = new class {
|
|
4012
4020
|
constructor(e, t, n) {
|
|
4013
4021
|
this._onDidChange = new i(), this._languageId = e, this.setDiagnosticsOptions(t), this.setModeConfiguration(n);
|
|
4014
4022
|
}
|
|
@@ -4051,8 +4059,8 @@ var Ac = new class {
|
|
|
4051
4059
|
diagnostics: !0,
|
|
4052
4060
|
selectionRanges: !0
|
|
4053
4061
|
});
|
|
4054
|
-
function
|
|
4055
|
-
return import("./jsonMode-
|
|
4062
|
+
function Oc() {
|
|
4063
|
+
return import("./jsonMode-Gp85lTwz.js");
|
|
4056
4064
|
}
|
|
4057
4065
|
t.register({
|
|
4058
4066
|
id: "json",
|
|
@@ -4068,11 +4076,11 @@ t.register({
|
|
|
4068
4076
|
aliases: ["JSON", "json"],
|
|
4069
4077
|
mimetypes: ["application/json"]
|
|
4070
4078
|
}), t.onLanguage("json", () => {
|
|
4071
|
-
|
|
4079
|
+
Oc().then((e) => e.setupMode(Dc));
|
|
4072
4080
|
});
|
|
4073
4081
|
//#endregion
|
|
4074
4082
|
//#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/language/html/monaco.contribution.js
|
|
4075
|
-
var
|
|
4083
|
+
var kc = class {
|
|
4076
4084
|
constructor(e, t, n) {
|
|
4077
4085
|
this._onDidChange = new i(), this._languageId = e, this.setOptions(t), this.setModeConfiguration(n);
|
|
4078
4086
|
}
|
|
@@ -4094,7 +4102,7 @@ var Mc = class {
|
|
|
4094
4102
|
setModeConfiguration(e) {
|
|
4095
4103
|
this._modeConfiguration = e || /* @__PURE__ */ Object.create(null), this._onDidChange.fire(this);
|
|
4096
4104
|
}
|
|
4097
|
-
},
|
|
4105
|
+
}, Ac = {
|
|
4098
4106
|
format: {
|
|
4099
4107
|
tabSize: 4,
|
|
4100
4108
|
insertSpaces: !1,
|
|
@@ -4112,7 +4120,7 @@ var Mc = class {
|
|
|
4112
4120
|
suggest: {},
|
|
4113
4121
|
data: { useDefaultDataProvider: !0 }
|
|
4114
4122
|
};
|
|
4115
|
-
function
|
|
4123
|
+
function jc(e) {
|
|
4116
4124
|
return {
|
|
4117
4125
|
completionItems: !0,
|
|
4118
4126
|
hovers: !0,
|
|
@@ -4123,19 +4131,19 @@ function Pc(e) {
|
|
|
4123
4131
|
colors: !0,
|
|
4124
4132
|
foldingRanges: !0,
|
|
4125
4133
|
selectionRanges: !0,
|
|
4126
|
-
diagnostics: e ===
|
|
4127
|
-
documentFormattingEdits: e ===
|
|
4128
|
-
documentRangeFormattingEdits: e ===
|
|
4134
|
+
diagnostics: e === Mc,
|
|
4135
|
+
documentFormattingEdits: e === Mc,
|
|
4136
|
+
documentRangeFormattingEdits: e === Mc
|
|
4129
4137
|
};
|
|
4130
4138
|
}
|
|
4131
|
-
var
|
|
4132
|
-
|
|
4133
|
-
function
|
|
4134
|
-
return import("./htmlMode-
|
|
4139
|
+
var Mc = "html", Nc = "handlebars", Pc = "razor";
|
|
4140
|
+
Ic(Mc, Ac, jc(Mc)).defaults, Ic(Nc, Ac, jc(Nc)).defaults, Ic(Pc, Ac, jc(Pc)).defaults;
|
|
4141
|
+
function Fc() {
|
|
4142
|
+
return import("./htmlMode-nJv21bwP.js");
|
|
4135
4143
|
}
|
|
4136
|
-
function
|
|
4137
|
-
let i = new
|
|
4138
|
-
a = (await
|
|
4144
|
+
function Ic(e, n = Ac, r = jc(e)) {
|
|
4145
|
+
let i = new kc(e, n, r), a, o = t.onLanguage(e, async () => {
|
|
4146
|
+
a = (await Fc()).setupMode(i);
|
|
4139
4147
|
});
|
|
4140
4148
|
return {
|
|
4141
4149
|
defaults: i,
|
|
@@ -4152,7 +4160,7 @@ self.MonacoEnvironment = { getWorker() {
|
|
|
4152
4160
|
} };
|
|
4153
4161
|
//#endregion
|
|
4154
4162
|
//#region src/ide/EditorPanel.vue?vue&type=script&setup=true&lang.ts
|
|
4155
|
-
var
|
|
4163
|
+
var Lc = { class: "editor-panel" }, Rc = /*@__PURE__*/ Hr({
|
|
4156
4164
|
__name: "EditorPanel",
|
|
4157
4165
|
props: {
|
|
4158
4166
|
files: {},
|
|
@@ -4160,7 +4168,7 @@ var Bc = { class: "editor-panel" }, Vc = /*@__PURE__*/ Hr({
|
|
|
4160
4168
|
},
|
|
4161
4169
|
emits: ["file-change"],
|
|
4162
4170
|
setup(t, { expose: r, emit: i }) {
|
|
4163
|
-
let a = t, o = i, s = /* @__PURE__ */
|
|
4171
|
+
let a = t, o = i, s = /* @__PURE__ */ an(new Map(Object.entries(a.files))), c = /* @__PURE__ */ an(a.activeFile ?? Object.keys(a.files)[0] ?? "");
|
|
4164
4172
|
r({
|
|
4165
4173
|
editableFiles: s,
|
|
4166
4174
|
currentFile: c,
|
|
@@ -4227,17 +4235,17 @@ var Bc = { class: "editor-panel" }, Vc = /*@__PURE__*/ Hr({
|
|
|
4227
4235
|
f.length = 0;
|
|
4228
4236
|
for (let e of d.values()) e.dispose();
|
|
4229
4237
|
d.clear(), u?.dispose(), u = null;
|
|
4230
|
-
}), (e, t) => (J(), Y("div",
|
|
4238
|
+
}), (e, t) => (J(), Y("div", Lc, [X("div", {
|
|
4231
4239
|
ref_key: "editorContainer",
|
|
4232
4240
|
ref: l,
|
|
4233
4241
|
class: "editor-container"
|
|
4234
4242
|
}, null, 512)]));
|
|
4235
4243
|
}
|
|
4236
|
-
}),
|
|
4244
|
+
}), zc = (e, t) => {
|
|
4237
4245
|
let n = e.__vccOpts || e;
|
|
4238
4246
|
for (let [e, r] of t) n[e] = r;
|
|
4239
4247
|
return n;
|
|
4240
|
-
},
|
|
4248
|
+
}, Bc = /*#__PURE__*/ zc(Rc, [["__scopeId", "data-v-133e6e1a"]]), Vc = /^[a-z0-9]+(-[a-z0-9]+)*$/, Hc = (e, t, n, r = "") => {
|
|
4241
4249
|
let i = e.split(":");
|
|
4242
4250
|
if (e.slice(0, 1) === "@") {
|
|
4243
4251
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -4250,7 +4258,7 @@ var Bc = { class: "editor-panel" }, Vc = /*@__PURE__*/ Hr({
|
|
|
4250
4258
|
prefix: n,
|
|
4251
4259
|
name: e
|
|
4252
4260
|
};
|
|
4253
|
-
return t && !
|
|
4261
|
+
return t && !Uc(a) ? null : a;
|
|
4254
4262
|
}
|
|
4255
4263
|
let a = i[0], o = a.split("-");
|
|
4256
4264
|
if (o.length > 1) {
|
|
@@ -4259,7 +4267,7 @@ var Bc = { class: "editor-panel" }, Vc = /*@__PURE__*/ Hr({
|
|
|
4259
4267
|
prefix: o.shift(),
|
|
4260
4268
|
name: o.join("-")
|
|
4261
4269
|
};
|
|
4262
|
-
return t && !
|
|
4270
|
+
return t && !Uc(e) ? null : e;
|
|
4263
4271
|
}
|
|
4264
4272
|
if (n && r === "") {
|
|
4265
4273
|
let e = {
|
|
@@ -4267,38 +4275,38 @@ var Bc = { class: "editor-panel" }, Vc = /*@__PURE__*/ Hr({
|
|
|
4267
4275
|
prefix: "",
|
|
4268
4276
|
name: a
|
|
4269
4277
|
};
|
|
4270
|
-
return t && !
|
|
4278
|
+
return t && !Uc(e, n) ? null : e;
|
|
4271
4279
|
}
|
|
4272
4280
|
return null;
|
|
4273
|
-
},
|
|
4281
|
+
}, Uc = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, Wc = Object.freeze({
|
|
4274
4282
|
left: 0,
|
|
4275
4283
|
top: 0,
|
|
4276
4284
|
width: 16,
|
|
4277
4285
|
height: 16
|
|
4278
|
-
}),
|
|
4286
|
+
}), Gc = Object.freeze({
|
|
4279
4287
|
rotate: 0,
|
|
4280
4288
|
vFlip: !1,
|
|
4281
4289
|
hFlip: !1
|
|
4282
|
-
}),
|
|
4283
|
-
...
|
|
4284
|
-
...
|
|
4285
|
-
}),
|
|
4286
|
-
...
|
|
4290
|
+
}), Kc = Object.freeze({
|
|
4291
|
+
...Wc,
|
|
4292
|
+
...Gc
|
|
4293
|
+
}), qc = Object.freeze({
|
|
4294
|
+
...Kc,
|
|
4287
4295
|
body: "",
|
|
4288
4296
|
hidden: !1
|
|
4289
4297
|
});
|
|
4290
|
-
function
|
|
4298
|
+
function Jc(e, t) {
|
|
4291
4299
|
let n = {};
|
|
4292
4300
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
4293
4301
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
4294
4302
|
return r && (n.rotate = r), n;
|
|
4295
4303
|
}
|
|
4296
|
-
function
|
|
4297
|
-
let n =
|
|
4298
|
-
for (let r in
|
|
4304
|
+
function Yc(e, t) {
|
|
4305
|
+
let n = Jc(e, t);
|
|
4306
|
+
for (let r in qc) r in Gc ? r in e && !(r in n) && (n[r] = Gc[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
4299
4307
|
return n;
|
|
4300
4308
|
}
|
|
4301
|
-
function
|
|
4309
|
+
function Xc(e, t) {
|
|
4302
4310
|
let n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
|
|
4303
4311
|
function a(e) {
|
|
4304
4312
|
if (n[e]) return i[e] = [];
|
|
@@ -4311,54 +4319,54 @@ function $c(e, t) {
|
|
|
4311
4319
|
}
|
|
4312
4320
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
4313
4321
|
}
|
|
4314
|
-
function
|
|
4322
|
+
function Zc(e, t, n) {
|
|
4315
4323
|
let r = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null), a = {};
|
|
4316
4324
|
function o(e) {
|
|
4317
|
-
a =
|
|
4325
|
+
a = Yc(r[e] || i[e], a);
|
|
4318
4326
|
}
|
|
4319
|
-
return o(t), n.forEach(o),
|
|
4327
|
+
return o(t), n.forEach(o), Yc(e, a);
|
|
4320
4328
|
}
|
|
4321
|
-
function
|
|
4329
|
+
function Qc(e, t) {
|
|
4322
4330
|
let n = [];
|
|
4323
4331
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
4324
4332
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
4325
4333
|
t(e, null), n.push(e);
|
|
4326
4334
|
});
|
|
4327
|
-
let r =
|
|
4335
|
+
let r = Xc(e);
|
|
4328
4336
|
for (let i in r) {
|
|
4329
4337
|
let a = r[i];
|
|
4330
|
-
a && (t(i,
|
|
4338
|
+
a && (t(i, Zc(e, i, a)), n.push(i));
|
|
4331
4339
|
}
|
|
4332
4340
|
return n;
|
|
4333
4341
|
}
|
|
4334
|
-
var
|
|
4342
|
+
var $c = {
|
|
4335
4343
|
provider: "",
|
|
4336
4344
|
aliases: {},
|
|
4337
4345
|
not_found: {},
|
|
4338
|
-
...
|
|
4346
|
+
...Wc
|
|
4339
4347
|
};
|
|
4340
|
-
function
|
|
4348
|
+
function el(e, t) {
|
|
4341
4349
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
4342
4350
|
return !0;
|
|
4343
4351
|
}
|
|
4344
|
-
function
|
|
4352
|
+
function tl(e) {
|
|
4345
4353
|
if (typeof e != "object" || !e) return null;
|
|
4346
4354
|
let t = e;
|
|
4347
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
4355
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !el(e, $c)) return null;
|
|
4348
4356
|
let n = t.icons;
|
|
4349
4357
|
for (let e in n) {
|
|
4350
4358
|
let t = n[e];
|
|
4351
|
-
if (!e || typeof t.body != "string" || !
|
|
4359
|
+
if (!e || typeof t.body != "string" || !el(t, qc)) return null;
|
|
4352
4360
|
}
|
|
4353
4361
|
let r = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
4354
4362
|
for (let e in r) {
|
|
4355
4363
|
let t = r[e], i = t.parent;
|
|
4356
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
4364
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !el(t, qc)) return null;
|
|
4357
4365
|
}
|
|
4358
4366
|
return t;
|
|
4359
4367
|
}
|
|
4360
|
-
var
|
|
4361
|
-
function
|
|
4368
|
+
var nl = /* @__PURE__ */ Object.create(null);
|
|
4369
|
+
function rl(e, t) {
|
|
4362
4370
|
return {
|
|
4363
4371
|
provider: e,
|
|
4364
4372
|
prefix: t,
|
|
@@ -4366,66 +4374,66 @@ function ol(e, t) {
|
|
|
4366
4374
|
missing: /* @__PURE__ */ new Set()
|
|
4367
4375
|
};
|
|
4368
4376
|
}
|
|
4369
|
-
function
|
|
4370
|
-
let n =
|
|
4371
|
-
return n[t] || (n[t] =
|
|
4377
|
+
function il(e, t) {
|
|
4378
|
+
let n = nl[e] || (nl[e] = /* @__PURE__ */ Object.create(null));
|
|
4379
|
+
return n[t] || (n[t] = rl(e, t));
|
|
4372
4380
|
}
|
|
4373
|
-
function
|
|
4374
|
-
return
|
|
4381
|
+
function al(e, t) {
|
|
4382
|
+
return tl(t) ? Qc(t, (t, n) => {
|
|
4375
4383
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
4376
4384
|
}) : [];
|
|
4377
4385
|
}
|
|
4378
|
-
function
|
|
4386
|
+
function ol(e, t, n) {
|
|
4379
4387
|
try {
|
|
4380
4388
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
4381
4389
|
} catch {}
|
|
4382
4390
|
return !1;
|
|
4383
4391
|
}
|
|
4384
|
-
var
|
|
4385
|
-
function
|
|
4386
|
-
return typeof e == "boolean" && (
|
|
4392
|
+
var sl = !1;
|
|
4393
|
+
function cl(e) {
|
|
4394
|
+
return typeof e == "boolean" && (sl = e), sl;
|
|
4387
4395
|
}
|
|
4388
|
-
function
|
|
4389
|
-
let t = typeof e == "string" ?
|
|
4396
|
+
function ll(e) {
|
|
4397
|
+
let t = typeof e == "string" ? Hc(e, !0, sl) : e;
|
|
4390
4398
|
if (t) {
|
|
4391
|
-
let e =
|
|
4399
|
+
let e = il(t.provider, t.prefix), n = t.name;
|
|
4392
4400
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
4393
4401
|
}
|
|
4394
4402
|
}
|
|
4395
|
-
function
|
|
4396
|
-
let n =
|
|
4403
|
+
function ul(e, t) {
|
|
4404
|
+
let n = Hc(e, !0, sl);
|
|
4397
4405
|
if (!n) return !1;
|
|
4398
|
-
let r =
|
|
4399
|
-
return t ?
|
|
4406
|
+
let r = il(n.provider, n.prefix);
|
|
4407
|
+
return t ? ol(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
4400
4408
|
}
|
|
4401
|
-
function
|
|
4409
|
+
function dl(e, t) {
|
|
4402
4410
|
if (typeof e != "object") return !1;
|
|
4403
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
4411
|
+
if (typeof t != "string" && (t = e.provider || ""), sl && !t && !e.prefix) {
|
|
4404
4412
|
let t = !1;
|
|
4405
|
-
return
|
|
4406
|
-
|
|
4413
|
+
return tl(e) && (e.prefix = "", Qc(e, (e, n) => {
|
|
4414
|
+
ul(e, n) && (t = !0);
|
|
4407
4415
|
})), t;
|
|
4408
4416
|
}
|
|
4409
4417
|
let n = e.prefix;
|
|
4410
|
-
return
|
|
4418
|
+
return Uc({
|
|
4411
4419
|
prefix: n,
|
|
4412
4420
|
name: "a"
|
|
4413
|
-
}) ? !!
|
|
4421
|
+
}) ? !!al(il(t, n), e) : !1;
|
|
4414
4422
|
}
|
|
4415
|
-
var
|
|
4423
|
+
var fl = Object.freeze({
|
|
4416
4424
|
width: null,
|
|
4417
4425
|
height: null
|
|
4418
|
-
}),
|
|
4419
|
-
...
|
|
4420
|
-
...
|
|
4421
|
-
}),
|
|
4422
|
-
function
|
|
4426
|
+
}), pl = Object.freeze({
|
|
4427
|
+
...fl,
|
|
4428
|
+
...Gc
|
|
4429
|
+
}), ml = /(-?[0-9.]*[0-9]+[0-9.]*)/g, hl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
4430
|
+
function gl(e, t, n) {
|
|
4423
4431
|
if (t === 1) return e;
|
|
4424
4432
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
4425
4433
|
if (typeof e != "string") return e;
|
|
4426
|
-
let r = e.split(
|
|
4434
|
+
let r = e.split(ml);
|
|
4427
4435
|
if (r === null || !r.length) return e;
|
|
4428
|
-
let i = [], a = r.shift(), o =
|
|
4436
|
+
let i = [], a = r.shift(), o = hl.test(a);
|
|
4429
4437
|
for (;;) {
|
|
4430
4438
|
if (o) {
|
|
4431
4439
|
let e = parseFloat(a);
|
|
@@ -4435,7 +4443,7 @@ function yl(e, t, n) {
|
|
|
4435
4443
|
o = !o;
|
|
4436
4444
|
}
|
|
4437
4445
|
}
|
|
4438
|
-
function
|
|
4446
|
+
function _l(e, t = "defs") {
|
|
4439
4447
|
let n = "", r = e.indexOf("<" + t);
|
|
4440
4448
|
for (; r >= 0;) {
|
|
4441
4449
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -4449,20 +4457,20 @@ function bl(e, t = "defs") {
|
|
|
4449
4457
|
content: e
|
|
4450
4458
|
};
|
|
4451
4459
|
}
|
|
4452
|
-
function
|
|
4460
|
+
function vl(e, t) {
|
|
4453
4461
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
4454
4462
|
}
|
|
4455
|
-
function
|
|
4456
|
-
let r =
|
|
4457
|
-
return
|
|
4463
|
+
function yl(e, t, n) {
|
|
4464
|
+
let r = _l(e);
|
|
4465
|
+
return vl(r.defs, t + r.content + n);
|
|
4458
4466
|
}
|
|
4459
|
-
var
|
|
4460
|
-
function
|
|
4467
|
+
var bl = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
4468
|
+
function xl(e, t) {
|
|
4461
4469
|
let n = {
|
|
4462
|
-
...
|
|
4470
|
+
...Kc,
|
|
4463
4471
|
...e
|
|
4464
4472
|
}, r = {
|
|
4465
|
-
...
|
|
4473
|
+
...pl,
|
|
4466
4474
|
...t
|
|
4467
4475
|
}, i = {
|
|
4468
4476
|
left: n.left,
|
|
@@ -4481,16 +4489,14 @@ function wl(e, t) {
|
|
|
4481
4489
|
case 2:
|
|
4482
4490
|
t.unshift("rotate(180 " + (i.width / 2 + i.left).toString() + " " + (i.height / 2 + i.top).toString() + ")");
|
|
4483
4491
|
break;
|
|
4484
|
-
case 3:
|
|
4485
|
-
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
4486
|
-
break;
|
|
4492
|
+
case 3: s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
4487
4493
|
}
|
|
4488
|
-
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a =
|
|
4494
|
+
o % 2 == 1 && (i.left !== i.top && (s = i.left, i.left = i.top, i.top = s), i.width !== i.height && (s = i.width, i.width = i.height, i.height = s)), t.length && (a = yl(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
4489
4495
|
});
|
|
4490
4496
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
4491
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
4497
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = gl(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? gl(u, l / c) : s === "auto" ? l : s);
|
|
4492
4498
|
let f = {}, p = (e, t) => {
|
|
4493
|
-
|
|
4499
|
+
bl(t) || (f[e] = t.toString());
|
|
4494
4500
|
};
|
|
4495
4501
|
p("width", u), p("height", d);
|
|
4496
4502
|
let m = [
|
|
@@ -4505,25 +4511,25 @@ function wl(e, t) {
|
|
|
4505
4511
|
body: a
|
|
4506
4512
|
};
|
|
4507
4513
|
}
|
|
4508
|
-
var
|
|
4509
|
-
function
|
|
4514
|
+
var Sl = /\sid="(\S+)"/g, Cl = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), wl = 0;
|
|
4515
|
+
function Tl(e, t = Cl) {
|
|
4510
4516
|
let n = [], r;
|
|
4511
|
-
for (; r =
|
|
4517
|
+
for (; r = Sl.exec(e);) n.push(r[1]);
|
|
4512
4518
|
if (!n.length) return e;
|
|
4513
4519
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
4514
4520
|
return n.forEach((n) => {
|
|
4515
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
4521
|
+
let r = typeof t == "function" ? t(n) : t + (wl++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
4516
4522
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
4517
4523
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
4518
4524
|
}
|
|
4519
|
-
var
|
|
4520
|
-
function
|
|
4521
|
-
|
|
4525
|
+
var El = /* @__PURE__ */ Object.create(null);
|
|
4526
|
+
function Dl(e, t) {
|
|
4527
|
+
El[e] = t;
|
|
4522
4528
|
}
|
|
4523
|
-
function
|
|
4524
|
-
return
|
|
4529
|
+
function Ol(e) {
|
|
4530
|
+
return El[e] || El[""];
|
|
4525
4531
|
}
|
|
4526
|
-
function
|
|
4532
|
+
function kl(e) {
|
|
4527
4533
|
let t;
|
|
4528
4534
|
if (typeof e.resources == "string") t = [e.resources];
|
|
4529
4535
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -4538,23 +4544,23 @@ function Ml(e) {
|
|
|
4538
4544
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
4539
4545
|
};
|
|
4540
4546
|
}
|
|
4541
|
-
for (var
|
|
4542
|
-
|
|
4543
|
-
function
|
|
4544
|
-
let n =
|
|
4545
|
-
return n
|
|
4547
|
+
for (var Al = /* @__PURE__ */ Object.create(null), jl = ["https://api.simplesvg.com", "https://api.unisvg.com"], Ml = []; jl.length > 0;) jl.length === 1 || Math.random() > .5 ? Ml.push(jl.shift()) : Ml.push(jl.pop());
|
|
4548
|
+
Al[""] = kl({ resources: ["https://api.iconify.design"].concat(Ml) });
|
|
4549
|
+
function Nl(e, t) {
|
|
4550
|
+
let n = kl(t);
|
|
4551
|
+
return n !== null && (Al[e] = n, !0);
|
|
4546
4552
|
}
|
|
4547
|
-
function
|
|
4548
|
-
return
|
|
4553
|
+
function Pl(e) {
|
|
4554
|
+
return Al[e];
|
|
4549
4555
|
}
|
|
4550
|
-
var
|
|
4556
|
+
var Fl = (() => {
|
|
4551
4557
|
let e;
|
|
4552
4558
|
try {
|
|
4553
4559
|
if (e = fetch, typeof e == "function") return e;
|
|
4554
4560
|
} catch {}
|
|
4555
4561
|
})();
|
|
4556
|
-
function
|
|
4557
|
-
let n =
|
|
4562
|
+
function Il(e, t) {
|
|
4563
|
+
let n = Pl(e);
|
|
4558
4564
|
if (!n) return 0;
|
|
4559
4565
|
let r;
|
|
4560
4566
|
if (!n.maxURL) r = 0;
|
|
@@ -4568,11 +4574,11 @@ function zl(e, t) {
|
|
|
4568
4574
|
}
|
|
4569
4575
|
return r;
|
|
4570
4576
|
}
|
|
4571
|
-
function
|
|
4577
|
+
function Ll(e) {
|
|
4572
4578
|
return e === 404;
|
|
4573
4579
|
}
|
|
4574
|
-
var
|
|
4575
|
-
let r = [], i =
|
|
4580
|
+
var Rl = (e, t, n) => {
|
|
4581
|
+
let r = [], i = Il(e, t), a = "icons", o = {
|
|
4576
4582
|
type: a,
|
|
4577
4583
|
provider: e,
|
|
4578
4584
|
prefix: t,
|
|
@@ -4587,21 +4593,21 @@ var Vl = (e, t, n) => {
|
|
|
4587
4593
|
}, s = n.length), o.icons.push(n);
|
|
4588
4594
|
}), r.push(o), r;
|
|
4589
4595
|
};
|
|
4590
|
-
function
|
|
4596
|
+
function zl(e) {
|
|
4591
4597
|
if (typeof e == "string") {
|
|
4592
|
-
let t =
|
|
4598
|
+
let t = Pl(e);
|
|
4593
4599
|
if (t) return t.path;
|
|
4594
4600
|
}
|
|
4595
4601
|
return "/";
|
|
4596
4602
|
}
|
|
4597
|
-
var
|
|
4598
|
-
prepare:
|
|
4603
|
+
var Bl = {
|
|
4604
|
+
prepare: Rl,
|
|
4599
4605
|
send: (e, t, n) => {
|
|
4600
|
-
if (!
|
|
4606
|
+
if (!Fl) {
|
|
4601
4607
|
n("abort", 424);
|
|
4602
4608
|
return;
|
|
4603
4609
|
}
|
|
4604
|
-
let r =
|
|
4610
|
+
let r = zl(t.provider);
|
|
4605
4611
|
switch (t.type) {
|
|
4606
4612
|
case "icons": {
|
|
4607
4613
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -4618,11 +4624,11 @@ var Ul = {
|
|
|
4618
4624
|
return;
|
|
4619
4625
|
}
|
|
4620
4626
|
let i = 503;
|
|
4621
|
-
|
|
4627
|
+
Fl(e + r).then((e) => {
|
|
4622
4628
|
let t = e.status;
|
|
4623
4629
|
if (t !== 200) {
|
|
4624
4630
|
setTimeout(() => {
|
|
4625
|
-
n(
|
|
4631
|
+
n(Ll(t) ? "abort" : "next", t);
|
|
4626
4632
|
});
|
|
4627
4633
|
return;
|
|
4628
4634
|
}
|
|
@@ -4642,7 +4648,7 @@ var Ul = {
|
|
|
4642
4648
|
});
|
|
4643
4649
|
}
|
|
4644
4650
|
};
|
|
4645
|
-
function
|
|
4651
|
+
function Vl(e) {
|
|
4646
4652
|
let t = {
|
|
4647
4653
|
loaded: [],
|
|
4648
4654
|
missing: [],
|
|
@@ -4657,7 +4663,7 @@ function Wl(e) {
|
|
|
4657
4663
|
return e.forEach((e) => {
|
|
4658
4664
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
4659
4665
|
r = e;
|
|
4660
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), c = s[a] || (s[a] =
|
|
4666
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), c = s[a] || (s[a] = il(i, a)), l;
|
|
4661
4667
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending;
|
|
4662
4668
|
let u = {
|
|
4663
4669
|
provider: i,
|
|
@@ -4667,13 +4673,13 @@ function Wl(e) {
|
|
|
4667
4673
|
l.push(u);
|
|
4668
4674
|
}), t;
|
|
4669
4675
|
}
|
|
4670
|
-
function
|
|
4676
|
+
function Hl(e, t) {
|
|
4671
4677
|
e.forEach((e) => {
|
|
4672
4678
|
let n = e.loaderCallbacks;
|
|
4673
4679
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
4674
4680
|
});
|
|
4675
4681
|
}
|
|
4676
|
-
function
|
|
4682
|
+
function Ul(e) {
|
|
4677
4683
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
4678
4684
|
e.pendingCallbacksFlag = !1;
|
|
4679
4685
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -4696,13 +4702,13 @@ function Kl(e) {
|
|
|
4696
4702
|
});
|
|
4697
4703
|
else return n = !0, !0;
|
|
4698
4704
|
return !1;
|
|
4699
|
-
}), a.pending.length !== o && (n ||
|
|
4705
|
+
}), a.pending.length !== o && (n || Hl([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
4700
4706
|
});
|
|
4701
4707
|
}));
|
|
4702
4708
|
}
|
|
4703
|
-
var
|
|
4704
|
-
function
|
|
4705
|
-
let r =
|
|
4709
|
+
var Wl = 0;
|
|
4710
|
+
function Gl(e, t, n) {
|
|
4711
|
+
let r = Wl++, i = Hl.bind(null, n, r);
|
|
4706
4712
|
if (!t.pending.length) return i;
|
|
4707
4713
|
let a = {
|
|
4708
4714
|
id: r,
|
|
@@ -4714,14 +4720,14 @@ function Jl(e, t, n) {
|
|
|
4714
4720
|
(e.loaderCallbacks ||= []).push(a);
|
|
4715
4721
|
}), i;
|
|
4716
4722
|
}
|
|
4717
|
-
function
|
|
4723
|
+
function Kl(e, t = !0, n = !1) {
|
|
4718
4724
|
let r = [];
|
|
4719
4725
|
return e.forEach((e) => {
|
|
4720
|
-
let i = typeof e == "string" ?
|
|
4726
|
+
let i = typeof e == "string" ? Hc(e, t, n) : e;
|
|
4721
4727
|
i && r.push(i);
|
|
4722
4728
|
}), r;
|
|
4723
4729
|
}
|
|
4724
|
-
var
|
|
4730
|
+
var ql = {
|
|
4725
4731
|
resources: [],
|
|
4726
4732
|
index: 0,
|
|
4727
4733
|
timeout: 2e3,
|
|
@@ -4729,7 +4735,7 @@ var Xl = {
|
|
|
4729
4735
|
random: !1,
|
|
4730
4736
|
dataAfterTimeout: !1
|
|
4731
4737
|
};
|
|
4732
|
-
function
|
|
4738
|
+
function Jl(e, t, n, r) {
|
|
4733
4739
|
let i = e.resources.length, a = e.random ? Math.floor(Math.random() * i) : e.index, o;
|
|
4734
4740
|
if (e.random) {
|
|
4735
4741
|
let t = e.resources.slice(0);
|
|
@@ -4823,16 +4829,16 @@ function Zl(e, t, n, r) {
|
|
|
4823
4829
|
}
|
|
4824
4830
|
return setTimeout(x), _;
|
|
4825
4831
|
}
|
|
4826
|
-
function
|
|
4832
|
+
function Yl(e) {
|
|
4827
4833
|
let t = {
|
|
4828
|
-
...
|
|
4834
|
+
...ql,
|
|
4829
4835
|
...e
|
|
4830
4836
|
}, n = [];
|
|
4831
4837
|
function r() {
|
|
4832
4838
|
n = n.filter((e) => e().status === "pending");
|
|
4833
4839
|
}
|
|
4834
4840
|
function i(e, i, a) {
|
|
4835
|
-
let o =
|
|
4841
|
+
let o = Jl(t, e, i, (e, t) => {
|
|
4836
4842
|
r(), a && a(e, t);
|
|
4837
4843
|
});
|
|
4838
4844
|
return n.push(o), o;
|
|
@@ -4850,53 +4856,53 @@ function Ql(e) {
|
|
|
4850
4856
|
cleanup: r
|
|
4851
4857
|
};
|
|
4852
4858
|
}
|
|
4853
|
-
function
|
|
4854
|
-
var
|
|
4855
|
-
function
|
|
4856
|
-
if (!
|
|
4857
|
-
let t =
|
|
4859
|
+
function Xl() {}
|
|
4860
|
+
var Zl = /* @__PURE__ */ Object.create(null);
|
|
4861
|
+
function Ql(e) {
|
|
4862
|
+
if (!Zl[e]) {
|
|
4863
|
+
let t = Pl(e);
|
|
4858
4864
|
if (!t) return;
|
|
4859
|
-
|
|
4865
|
+
Zl[e] = {
|
|
4860
4866
|
config: t,
|
|
4861
|
-
redundancy:
|
|
4867
|
+
redundancy: Yl(t)
|
|
4862
4868
|
};
|
|
4863
4869
|
}
|
|
4864
|
-
return
|
|
4870
|
+
return Zl[e];
|
|
4865
4871
|
}
|
|
4866
|
-
function
|
|
4872
|
+
function $l(e, t, n) {
|
|
4867
4873
|
let r, i;
|
|
4868
4874
|
if (typeof e == "string") {
|
|
4869
|
-
let t =
|
|
4870
|
-
if (!t) return n(void 0, 424),
|
|
4875
|
+
let t = Ol(e);
|
|
4876
|
+
if (!t) return n(void 0, 424), Xl;
|
|
4871
4877
|
i = t.send;
|
|
4872
|
-
let a =
|
|
4878
|
+
let a = Ql(e);
|
|
4873
4879
|
a && (r = a.redundancy);
|
|
4874
4880
|
} else {
|
|
4875
|
-
let t =
|
|
4881
|
+
let t = kl(e);
|
|
4876
4882
|
if (t) {
|
|
4877
|
-
r =
|
|
4878
|
-
let n =
|
|
4883
|
+
r = Yl(t);
|
|
4884
|
+
let n = Ol(e.resources ? e.resources[0] : "");
|
|
4879
4885
|
n && (i = n.send);
|
|
4880
4886
|
}
|
|
4881
4887
|
}
|
|
4882
|
-
return !r || !i ? (n(void 0, 424),
|
|
4888
|
+
return !r || !i ? (n(void 0, 424), Xl) : r.query(t, i, n)().abort;
|
|
4883
4889
|
}
|
|
4884
|
-
function
|
|
4885
|
-
function
|
|
4890
|
+
function eu() {}
|
|
4891
|
+
function tu(e) {
|
|
4886
4892
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
4887
|
-
e.iconsLoaderFlag = !1,
|
|
4893
|
+
e.iconsLoaderFlag = !1, Ul(e);
|
|
4888
4894
|
}));
|
|
4889
4895
|
}
|
|
4890
|
-
function
|
|
4896
|
+
function nu(e) {
|
|
4891
4897
|
let t = [], n = [];
|
|
4892
4898
|
return e.forEach((e) => {
|
|
4893
|
-
(e.match(
|
|
4899
|
+
(e.match(Vc) ? t : n).push(e);
|
|
4894
4900
|
}), {
|
|
4895
4901
|
valid: t,
|
|
4896
4902
|
invalid: n
|
|
4897
4903
|
};
|
|
4898
4904
|
}
|
|
4899
|
-
function
|
|
4905
|
+
function ru(e, t, n) {
|
|
4900
4906
|
function r() {
|
|
4901
4907
|
let n = e.pendingIcons;
|
|
4902
4908
|
t.forEach((t) => {
|
|
@@ -4904,38 +4910,38 @@ function ou(e, t, n) {
|
|
|
4904
4910
|
});
|
|
4905
4911
|
}
|
|
4906
4912
|
if (n && typeof n == "object") try {
|
|
4907
|
-
if (!
|
|
4913
|
+
if (!al(e, n).length) {
|
|
4908
4914
|
r();
|
|
4909
4915
|
return;
|
|
4910
4916
|
}
|
|
4911
4917
|
} catch (e) {
|
|
4912
4918
|
console.error(e);
|
|
4913
4919
|
}
|
|
4914
|
-
r(),
|
|
4920
|
+
r(), tu(e);
|
|
4915
4921
|
}
|
|
4916
|
-
function
|
|
4922
|
+
function iu(e, t) {
|
|
4917
4923
|
e instanceof Promise ? e.then((e) => {
|
|
4918
4924
|
t(e);
|
|
4919
4925
|
}).catch(() => {
|
|
4920
4926
|
t(null);
|
|
4921
4927
|
}) : t(e);
|
|
4922
4928
|
}
|
|
4923
|
-
function
|
|
4924
|
-
e.iconsToLoad
|
|
4929
|
+
function au(e, t) {
|
|
4930
|
+
e.iconsToLoad = e.iconsToLoad ? e.iconsToLoad.concat(t).sort() : t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
4925
4931
|
e.iconsQueueFlag = !1;
|
|
4926
4932
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
4927
4933
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
4928
4934
|
let i = e.loadIcon;
|
|
4929
4935
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
4930
|
-
|
|
4931
|
-
|
|
4936
|
+
iu(e.loadIcons(r, n, t), (t) => {
|
|
4937
|
+
ru(e, r, t);
|
|
4932
4938
|
});
|
|
4933
4939
|
return;
|
|
4934
4940
|
}
|
|
4935
4941
|
if (i) {
|
|
4936
4942
|
r.forEach((r) => {
|
|
4937
|
-
|
|
4938
|
-
|
|
4943
|
+
iu(i(r, n, t), (t) => {
|
|
4944
|
+
ru(e, [r], t ? {
|
|
4939
4945
|
prefix: n,
|
|
4940
4946
|
icons: { [r]: t }
|
|
4941
4947
|
} : null);
|
|
@@ -4943,26 +4949,26 @@ function cu(e, t) {
|
|
|
4943
4949
|
});
|
|
4944
4950
|
return;
|
|
4945
4951
|
}
|
|
4946
|
-
let { valid: a, invalid: o } =
|
|
4947
|
-
if (o.length &&
|
|
4948
|
-
let s = n.match(
|
|
4952
|
+
let { valid: a, invalid: o } = nu(r);
|
|
4953
|
+
if (o.length && ru(e, o, null), !a.length) return;
|
|
4954
|
+
let s = n.match(Vc) ? Ol(t) : null;
|
|
4949
4955
|
if (!s) {
|
|
4950
|
-
|
|
4956
|
+
ru(e, a, null);
|
|
4951
4957
|
return;
|
|
4952
4958
|
}
|
|
4953
4959
|
s.prepare(t, n, a).forEach((n) => {
|
|
4954
|
-
|
|
4955
|
-
|
|
4960
|
+
$l(t, n, (t) => {
|
|
4961
|
+
ru(e, n.icons, t);
|
|
4956
4962
|
});
|
|
4957
4963
|
});
|
|
4958
4964
|
}));
|
|
4959
4965
|
}
|
|
4960
|
-
var
|
|
4961
|
-
let n =
|
|
4966
|
+
var ou = (e, t) => {
|
|
4967
|
+
let n = Vl(Kl(e, !0, cl()));
|
|
4962
4968
|
if (!n.pending.length) {
|
|
4963
4969
|
let e = !0;
|
|
4964
4970
|
return t && setTimeout(() => {
|
|
4965
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
4971
|
+
e && t(n.loaded, n.missing, n.pending, eu);
|
|
4966
4972
|
}), () => {
|
|
4967
4973
|
e = !1;
|
|
4968
4974
|
};
|
|
@@ -4971,39 +4977,37 @@ var lu = (e, t) => {
|
|
|
4971
4977
|
return n.pending.forEach((e) => {
|
|
4972
4978
|
let { provider: t, prefix: n } = e;
|
|
4973
4979
|
if (n === o && t === a) return;
|
|
4974
|
-
a = t, o = n, i.push(
|
|
4980
|
+
a = t, o = n, i.push(il(t, n));
|
|
4975
4981
|
let s = r[t] || (r[t] = /* @__PURE__ */ Object.create(null));
|
|
4976
4982
|
s[n] || (s[n] = []);
|
|
4977
4983
|
}), n.pending.forEach((e) => {
|
|
4978
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
4984
|
+
let { provider: t, prefix: n, name: i } = e, a = il(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
4979
4985
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
4980
4986
|
}), i.forEach((e) => {
|
|
4981
4987
|
let t = r[e.provider][e.prefix];
|
|
4982
|
-
t.length &&
|
|
4983
|
-
}), t ?
|
|
4988
|
+
t.length && au(e, t);
|
|
4989
|
+
}), t ? Gl(t, n, i) : eu;
|
|
4984
4990
|
};
|
|
4985
|
-
function
|
|
4991
|
+
function su(e, t) {
|
|
4986
4992
|
let n = { ...e };
|
|
4987
4993
|
for (let e in t) {
|
|
4988
4994
|
let r = t[e], i = typeof r;
|
|
4989
|
-
e in
|
|
4995
|
+
e in fl ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
4990
4996
|
}
|
|
4991
4997
|
return n;
|
|
4992
4998
|
}
|
|
4993
|
-
var
|
|
4994
|
-
function
|
|
4995
|
-
t.split(
|
|
4999
|
+
var cu = /[\s,]+/;
|
|
5000
|
+
function lu(e, t) {
|
|
5001
|
+
t.split(cu).forEach((t) => {
|
|
4996
5002
|
switch (t.trim()) {
|
|
4997
5003
|
case "horizontal":
|
|
4998
5004
|
e.hFlip = !0;
|
|
4999
5005
|
break;
|
|
5000
|
-
case "vertical":
|
|
5001
|
-
e.vFlip = !0;
|
|
5002
|
-
break;
|
|
5006
|
+
case "vertical": e.vFlip = !0;
|
|
5003
5007
|
}
|
|
5004
5008
|
});
|
|
5005
5009
|
}
|
|
5006
|
-
function
|
|
5010
|
+
function uu(e, t = 0) {
|
|
5007
5011
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
5008
5012
|
function r(e) {
|
|
5009
5013
|
for (; e < 0;) e += 4;
|
|
@@ -5012,7 +5016,8 @@ function pu(e, t = 0) {
|
|
|
5012
5016
|
if (n === "") {
|
|
5013
5017
|
let t = parseInt(e);
|
|
5014
5018
|
return isNaN(t) ? 0 : r(t);
|
|
5015
|
-
}
|
|
5019
|
+
}
|
|
5020
|
+
if (n !== e) {
|
|
5016
5021
|
let t = 0;
|
|
5017
5022
|
switch (n) {
|
|
5018
5023
|
case "%":
|
|
@@ -5027,51 +5032,51 @@ function pu(e, t = 0) {
|
|
|
5027
5032
|
}
|
|
5028
5033
|
return t;
|
|
5029
5034
|
}
|
|
5030
|
-
function
|
|
5035
|
+
function du(e, t) {
|
|
5031
5036
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
5032
5037
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
5033
5038
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
5034
5039
|
}
|
|
5035
|
-
function
|
|
5040
|
+
function fu(e) {
|
|
5036
5041
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
5037
5042
|
}
|
|
5038
|
-
function
|
|
5039
|
-
return "data:image/svg+xml," +
|
|
5043
|
+
function pu(e) {
|
|
5044
|
+
return "data:image/svg+xml," + fu(e);
|
|
5040
5045
|
}
|
|
5041
|
-
function
|
|
5042
|
-
return "url(\"" +
|
|
5046
|
+
function mu(e) {
|
|
5047
|
+
return "url(\"" + pu(e) + "\")";
|
|
5043
5048
|
}
|
|
5044
|
-
var
|
|
5045
|
-
...
|
|
5049
|
+
var hu = {
|
|
5050
|
+
...pl,
|
|
5046
5051
|
inline: !1
|
|
5047
|
-
},
|
|
5052
|
+
}, gu = {
|
|
5048
5053
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5049
5054
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
5050
5055
|
"aria-hidden": !0,
|
|
5051
5056
|
role: "img"
|
|
5052
|
-
},
|
|
5057
|
+
}, _u = { display: "inline-block" }, vu = { backgroundColor: "currentColor" }, yu = { backgroundColor: "transparent" }, bu = {
|
|
5053
5058
|
Image: "var(--svg)",
|
|
5054
5059
|
Repeat: "no-repeat",
|
|
5055
5060
|
Size: "100% 100%"
|
|
5056
|
-
},
|
|
5057
|
-
webkitMask:
|
|
5058
|
-
mask:
|
|
5059
|
-
background:
|
|
5061
|
+
}, xu = {
|
|
5062
|
+
webkitMask: vu,
|
|
5063
|
+
mask: vu,
|
|
5064
|
+
background: yu
|
|
5060
5065
|
};
|
|
5061
|
-
for (let e in
|
|
5062
|
-
let t =
|
|
5063
|
-
for (let n in
|
|
5066
|
+
for (let e in xu) {
|
|
5067
|
+
let t = xu[e];
|
|
5068
|
+
for (let n in bu) t[e + n] = bu[n];
|
|
5064
5069
|
}
|
|
5065
|
-
var
|
|
5070
|
+
var Su = {};
|
|
5066
5071
|
["horizontal", "vertical"].forEach((e) => {
|
|
5067
5072
|
let t = e.slice(0, 1) + "Flip";
|
|
5068
|
-
|
|
5073
|
+
Su[e + "-flip"] = t, Su[e.slice(0, 1) + "-flip"] = t, Su[e + "Flip"] = t;
|
|
5069
5074
|
});
|
|
5070
|
-
function
|
|
5075
|
+
function Cu(e) {
|
|
5071
5076
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
5072
5077
|
}
|
|
5073
|
-
var
|
|
5074
|
-
let n =
|
|
5078
|
+
var wu = (e, t) => {
|
|
5079
|
+
let n = su(hu, t), r = { ...gu }, i = t.mode || "svg", a = {}, o = t.style, s = typeof o == "object" && !(o instanceof Array) ? o : {};
|
|
5075
5080
|
for (let e in t) {
|
|
5076
5081
|
let i = t[e];
|
|
5077
5082
|
if (i !== void 0) switch (e) {
|
|
@@ -5086,55 +5091,55 @@ var Du = (e, t) => {
|
|
|
5086
5091
|
n[e] = i === !0 || i === "true" || i === 1;
|
|
5087
5092
|
break;
|
|
5088
5093
|
case "flip":
|
|
5089
|
-
typeof i == "string" &&
|
|
5094
|
+
typeof i == "string" && lu(n, i);
|
|
5090
5095
|
break;
|
|
5091
5096
|
case "color":
|
|
5092
5097
|
a.color = i;
|
|
5093
5098
|
break;
|
|
5094
5099
|
case "rotate":
|
|
5095
|
-
typeof i == "string" ? n[e] =
|
|
5100
|
+
typeof i == "string" ? n[e] = uu(i) : typeof i == "number" && (n[e] = i);
|
|
5096
5101
|
break;
|
|
5097
5102
|
case "ariaHidden":
|
|
5098
5103
|
case "aria-hidden":
|
|
5099
5104
|
i !== !0 && i !== "true" && delete r["aria-hidden"];
|
|
5100
5105
|
break;
|
|
5101
5106
|
default: {
|
|
5102
|
-
let t =
|
|
5103
|
-
t ? (i === !0 || i === "true" || i === 1) && (n[t] = !0) :
|
|
5107
|
+
let t = Su[e];
|
|
5108
|
+
t ? (i === !0 || i === "true" || i === 1) && (n[t] = !0) : hu[e] === void 0 && (r[e] = i);
|
|
5104
5109
|
}
|
|
5105
5110
|
}
|
|
5106
5111
|
}
|
|
5107
|
-
let c =
|
|
5112
|
+
let c = xl(e, n), l = c.attributes;
|
|
5108
5113
|
if (n.inline && (a.verticalAlign = "-0.125em"), i === "svg") {
|
|
5109
5114
|
r.style = {
|
|
5110
5115
|
...a,
|
|
5111
5116
|
...s
|
|
5112
5117
|
}, Object.assign(r, l);
|
|
5113
5118
|
let e = 0, n = t.id;
|
|
5114
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), r.innerHTML =
|
|
5119
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), r.innerHTML = Tl(c.body, n ? () => n + "ID" + e++ : "iconifyVue"), rs("svg", r);
|
|
5115
5120
|
}
|
|
5116
|
-
let { body: u, width: d, height: f } = e, p = i === "mask" || i !== "bg" && u.indexOf("currentColor") !== -1, m =
|
|
5121
|
+
let { body: u, width: d, height: f } = e, p = i === "mask" || i !== "bg" && u.indexOf("currentColor") !== -1, m = du(u, {
|
|
5117
5122
|
...l,
|
|
5118
5123
|
width: d + "",
|
|
5119
5124
|
height: f + ""
|
|
5120
5125
|
});
|
|
5121
5126
|
return r.style = {
|
|
5122
5127
|
...a,
|
|
5123
|
-
"--svg":
|
|
5124
|
-
width:
|
|
5125
|
-
height:
|
|
5126
|
-
...
|
|
5127
|
-
...p ?
|
|
5128
|
+
"--svg": mu(m),
|
|
5129
|
+
width: Cu(l.width),
|
|
5130
|
+
height: Cu(l.height),
|
|
5131
|
+
..._u,
|
|
5132
|
+
...p ? vu : yu,
|
|
5128
5133
|
...s
|
|
5129
|
-
},
|
|
5134
|
+
}, rs("span", r);
|
|
5130
5135
|
};
|
|
5131
|
-
if (
|
|
5136
|
+
if (cl(!0), Dl("", Bl), typeof document < "u" && typeof window < "u") {
|
|
5132
5137
|
let e = window;
|
|
5133
5138
|
if (e.IconifyPreload !== void 0) {
|
|
5134
5139
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
5135
5140
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
5136
5141
|
try {
|
|
5137
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
5142
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !dl(e)) && console.error(n);
|
|
5138
5143
|
} catch {
|
|
5139
5144
|
console.error(n);
|
|
5140
5145
|
}
|
|
@@ -5147,33 +5152,33 @@ if (dl(!0), Al("", Ul), typeof document < "u" && typeof window < "u") {
|
|
|
5147
5152
|
try {
|
|
5148
5153
|
let r = t[e];
|
|
5149
5154
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
5150
|
-
|
|
5155
|
+
Nl(e, r) || console.error(n);
|
|
5151
5156
|
} catch {
|
|
5152
5157
|
console.error(n);
|
|
5153
5158
|
}
|
|
5154
5159
|
}
|
|
5155
5160
|
}
|
|
5156
5161
|
}
|
|
5157
|
-
var
|
|
5158
|
-
...
|
|
5162
|
+
var Tu = {
|
|
5163
|
+
...Kc,
|
|
5159
5164
|
body: ""
|
|
5160
|
-
},
|
|
5161
|
-
let n = /* @__PURE__ */
|
|
5165
|
+
}, Eu = /* @__PURE__ */ Hr((e, { emit: t }) => {
|
|
5166
|
+
let n = /* @__PURE__ */ an(null);
|
|
5162
5167
|
function r() {
|
|
5163
5168
|
n.value &&= (n.value.abort?.(), null);
|
|
5164
5169
|
}
|
|
5165
|
-
let i = /* @__PURE__ */
|
|
5170
|
+
let i = /* @__PURE__ */ an(!!e.ssr), a = /* @__PURE__ */ an(""), o = /* @__PURE__ */ on(null);
|
|
5166
5171
|
function s() {
|
|
5167
5172
|
let i = e.icon;
|
|
5168
5173
|
if (typeof i == "object" && i && typeof i.body == "string") return a.value = "", { data: i };
|
|
5169
5174
|
let o;
|
|
5170
|
-
if (typeof i != "string" || (o =
|
|
5171
|
-
let s =
|
|
5175
|
+
if (typeof i != "string" || (o = Hc(i, !1, !0)) === null) return null;
|
|
5176
|
+
let s = ll(o);
|
|
5172
5177
|
if (!s) {
|
|
5173
5178
|
let e = n.value;
|
|
5174
5179
|
return (!e || e.name !== i) && (s === null ? n.value = { name: i } : n.value = {
|
|
5175
5180
|
name: i,
|
|
5176
|
-
abort:
|
|
5181
|
+
abort: ou([o], c)
|
|
5177
5182
|
}), null;
|
|
5178
5183
|
}
|
|
5179
5184
|
r(), a.value !== i && (a.value = i, Vn(() => {
|
|
@@ -5199,13 +5204,13 @@ var Ou = {
|
|
|
5199
5204
|
i.value = !0, c();
|
|
5200
5205
|
}), Pr(() => e.icon, c), li(r), () => {
|
|
5201
5206
|
let t = o.value;
|
|
5202
|
-
if (!t) return
|
|
5207
|
+
if (!t) return wu(Tu, e);
|
|
5203
5208
|
let n = e;
|
|
5204
5209
|
return t.classes && (n = {
|
|
5205
5210
|
...e,
|
|
5206
5211
|
class: t.classes.join(" ")
|
|
5207
|
-
}),
|
|
5208
|
-
...
|
|
5212
|
+
}), wu({
|
|
5213
|
+
...Kc,
|
|
5209
5214
|
...t.data
|
|
5210
5215
|
}, n);
|
|
5211
5216
|
};
|
|
@@ -5231,59 +5236,59 @@ var Ou = {
|
|
|
5231
5236
|
"title"
|
|
5232
5237
|
],
|
|
5233
5238
|
emits: ["load"]
|
|
5234
|
-
}),
|
|
5239
|
+
}), Du = {
|
|
5235
5240
|
width: 32,
|
|
5236
5241
|
height: 32,
|
|
5237
5242
|
body: "<path fill=\"#dcb67a\" d=\"M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z\"/><path fill=\"#dcb67a\" d=\"M25.7 13.7H.5l3.8 12.8h25.2l-3.8-12.8z\"/>"
|
|
5238
|
-
},
|
|
5243
|
+
}, Ou = {
|
|
5239
5244
|
width: 32,
|
|
5240
5245
|
height: 32,
|
|
5241
5246
|
body: "<path fill=\"#007acc\" d=\"M23.827 8.243a4.424 4.424 0 0 1 2.223 1.281a5.853 5.853 0 0 1 .852 1.143c.011.045-1.534 1.083-2.471 1.662c-.034.023-.169-.124-.322-.35a2.014 2.014 0 0 0-1.67-1c-1.077-.074-1.771.49-1.766 1.433a1.3 1.3 0 0 0 .153.666c.237.49.677.784 2.059 1.383c2.544 1.095 3.636 1.817 4.31 2.843a5.158 5.158 0 0 1 .416 4.333a4.764 4.764 0 0 1-3.932 2.815a10.9 10.9 0 0 1-2.708-.028a6.531 6.531 0 0 1-3.616-1.884a6.278 6.278 0 0 1-.926-1.371a2.655 2.655 0 0 1 .327-.208c.158-.09.756-.434 1.32-.761l1.024-.6l.214.312a4.771 4.771 0 0 0 1.35 1.292a3.3 3.3 0 0 0 3.458-.175a1.545 1.545 0 0 0 .2-1.974c-.276-.395-.84-.727-2.443-1.422a8.8 8.8 0 0 1-3.349-2.055a4.687 4.687 0 0 1-.976-1.777a7.116 7.116 0 0 1-.062-2.268a4.332 4.332 0 0 1 3.644-3.374a9 9 0 0 1 2.691.084Zm-8.343 1.483l.011 1.454h-4.63v13.148H7.6V11.183H2.97V9.755a13.986 13.986 0 0 1 .04-1.466c.017-.023 2.832-.034 6.245-.028l6.211.017Z\"/>"
|
|
5242
|
-
},
|
|
5247
|
+
}, ku = {
|
|
5243
5248
|
width: 32,
|
|
5244
5249
|
height: 32,
|
|
5245
5250
|
body: "<path fill=\"#f5de19\" d=\"M18.774 19.7a3.727 3.727 0 0 0 3.376 2.078c1.418 0 2.324-.709 2.324-1.688c0-1.173-.931-1.589-2.491-2.272l-.856-.367c-2.469-1.052-4.11-2.37-4.11-5.156c0-2.567 1.956-4.52 5.012-4.52A5.058 5.058 0 0 1 26.9 10.52l-2.665 1.711a2.327 2.327 0 0 0-2.2-1.467a1.489 1.489 0 0 0-1.638 1.467c0 1.027.636 1.442 2.1 2.078l.856.366c2.908 1.247 4.549 2.518 4.549 5.376c0 3.081-2.42 4.769-5.671 4.769a6.575 6.575 0 0 1-6.236-3.5ZM6.686 20c.538.954 1.027 1.76 2.2 1.76c1.124 0 1.834-.44 1.834-2.15V7.975h3.422v11.683c0 3.543-2.078 5.156-5.11 5.156A5.312 5.312 0 0 1 3.9 21.688Z\"/>"
|
|
5246
|
-
},
|
|
5251
|
+
}, Au = {
|
|
5247
5252
|
width: 32,
|
|
5248
5253
|
height: 32,
|
|
5249
5254
|
body: "<path fill=\"#41b883\" d=\"M24.4 3.925H30l-14 24.15L2 3.925h10.71l3.29 5.6l3.22-5.6Z\"/><path fill=\"#41b883\" d=\"m2 3.925l14 24.15l14-24.15h-5.6L16 18.415L7.53 3.925Z\"/><path fill=\"#35495e\" d=\"M7.53 3.925L16 18.485l8.4-14.56h-5.18L16 9.525l-3.29-5.6Z\"/>"
|
|
5250
|
-
},
|
|
5255
|
+
}, ju = {
|
|
5251
5256
|
width: 32,
|
|
5252
5257
|
height: 32,
|
|
5253
5258
|
body: "<path fill=\"#ff3e00\" d=\"M26.47 5.7a8.973 8.973 0 0 0-11.793-2.454L7.96 7.4a7.461 7.461 0 0 0-3.481 5.009a7.686 7.686 0 0 0 .8 5.058a7.358 7.358 0 0 0-1.151 2.8a7.789 7.789 0 0 0 1.4 6.028a8.977 8.977 0 0 0 11.794 2.458L24.04 24.6a7.468 7.468 0 0 0 3.481-5.009a7.673 7.673 0 0 0-.8-5.062a7.348 7.348 0 0 0 1.152-2.8A7.785 7.785 0 0 0 26.47 5.7\"/><path fill=\"#fff\" d=\"M14.022 26.64A5.413 5.413 0 0 1 8.3 24.581a4.678 4.678 0 0 1-.848-3.625a4.307 4.307 0 0 1 .159-.61l.127-.375l.344.238a8.76 8.76 0 0 0 2.628 1.274l.245.073l-.025.237a1.441 1.441 0 0 0 .271.968a1.63 1.63 0 0 0 1.743.636a1.512 1.512 0 0 0 .411-.175l6.7-4.154a1.366 1.366 0 0 0 .633-.909a1.407 1.407 0 0 0-.244-1.091a1.634 1.634 0 0 0-1.726-.622a1.509 1.509 0 0 0-.413.176l-2.572 1.584a4.934 4.934 0 0 1-1.364.582a5.415 5.415 0 0 1-5.727-2.06a4.678 4.678 0 0 1-.831-3.628A4.507 4.507 0 0 1 9.9 10.09l6.708-4.154a4.932 4.932 0 0 1 1.364-.581A5.413 5.413 0 0 1 23.7 7.414a4.679 4.679 0 0 1 .848 3.625a4.272 4.272 0 0 1-.159.61l-.127.375l-.344-.237a8.713 8.713 0 0 0-2.628-1.274l-.245-.074l.025-.237a1.438 1.438 0 0 0-.272-.968a1.629 1.629 0 0 0-1.725-.622a1.484 1.484 0 0 0-.411.176l-6.722 4.14a1.353 1.353 0 0 0-.631.908a1.394 1.394 0 0 0 .244 1.092a1.634 1.634 0 0 0 1.726.621a1.538 1.538 0 0 0 .413-.175l2.562-1.585a4.9 4.9 0 0 1 1.364-.581a5.417 5.417 0 0 1 5.728 2.059a4.681 4.681 0 0 1 .843 3.625a4.5 4.5 0 0 1-2.089 3.013l-6.707 4.154a4.9 4.9 0 0 1-1.364.581\"/>"
|
|
5254
|
-
},
|
|
5259
|
+
}, Mu = {
|
|
5255
5260
|
width: 32,
|
|
5256
5261
|
height: 32,
|
|
5257
5262
|
body: "<path fill=\"#1572b6\" d=\"M5.902 27.201L3.656 2h24.688l-2.249 25.197L15.985 30L5.902 27.201z\"/><path fill=\"#33a9dc\" d=\"m16 27.858l8.17-2.265l1.922-21.532H16v23.797z\"/><path fill=\"#fff\" d=\"M16 13.191h4.09l.282-3.165H16V6.935h7.75l-.074.829l-.759 8.518H16v-3.091z\"/><path fill=\"#ebebeb\" d=\"m16.019 21.218l-.014.004l-3.442-.93l-.22-2.465H9.24l.433 4.853l6.331 1.758l.015-.004v-3.216z\"/><path fill=\"#fff\" d=\"m19.827 16.151l-.372 4.139l-3.447.93v3.216l6.336-1.756l.047-.522l.537-6.007h-3.101z\"/><path fill=\"#ebebeb\" d=\"M16.011 6.935v3.091H8.545l-.062-.695l-.141-1.567l-.074-.829h7.743zM16 13.191v3.091h-3.399l-.062-.695l-.14-1.567l-.074-.829H16z\"/>"
|
|
5258
|
-
},
|
|
5263
|
+
}, Nu = {
|
|
5259
5264
|
width: 32,
|
|
5260
5265
|
height: 32,
|
|
5261
5266
|
body: "<path fill=\"#e44f26\" d=\"M5.902 27.201L3.655 2h24.69l-2.25 25.197L15.985 30L5.902 27.201z\"/><path fill=\"#f1662a\" d=\"m16 27.858l8.17-2.265l1.922-21.532H16v23.797z\"/><path fill=\"#ebebeb\" d=\"M16 13.407h-4.09l-.282-3.165H16V7.151H8.25l.074.83l.759 8.517H16v-3.091zm0 8.027l-.014.004l-3.442-.929l-.22-2.465H9.221l.433 4.852l6.332 1.758l.014-.004v-3.216z\"/><path fill=\"#fff\" d=\"M15.989 13.407v3.091h3.806l-.358 4.009l-3.448.93v3.216l6.337-1.757l.046-.522l.726-8.137l.076-.83h-7.185zm0-6.256v3.091h7.466l.062-.694l.141-1.567l.074-.83h-7.743z\"/>"
|
|
5262
|
-
},
|
|
5267
|
+
}, Pu = {
|
|
5263
5268
|
width: 32,
|
|
5264
5269
|
height: 32,
|
|
5265
5270
|
body: "<path fill=\"#f5de19\" d=\"M4.014 14.976a2.51 2.51 0 0 0 1.567-.518a2.377 2.377 0 0 0 .805-1.358a15.261 15.261 0 0 0 .214-2.944q.012-2.085.075-2.747a5.236 5.236 0 0 1 .418-1.686a3.025 3.025 0 0 1 .755-1.018A3.046 3.046 0 0 1 9 4.125A6.762 6.762 0 0 1 10.544 4h.7v1.96h-.387a2.338 2.338 0 0 0-1.723.468a3.4 3.4 0 0 0-.425 2.092a36.054 36.054 0 0 1-.137 4.133a4.734 4.734 0 0 1-.768 2.06A4.567 4.567 0 0 1 6.1 16a3.809 3.809 0 0 1 1.992 1.754a8.861 8.861 0 0 1 .618 3.865q0 2.435.05 2.9a1.755 1.755 0 0 0 .504 1.181a2.639 2.639 0 0 0 1.592.337h.387V28h-.7a5.655 5.655 0 0 1-1.773-.2a2.97 2.97 0 0 1-1.324-.93a3.353 3.353 0 0 1-.681-1.63a24.175 24.175 0 0 1-.165-3.234a16.469 16.469 0 0 0-.214-3.106a2.408 2.408 0 0 0-.805-1.361a2.489 2.489 0 0 0-1.567-.524Zm23.972 2.035a2.489 2.489 0 0 0-1.567.524a2.408 2.408 0 0 0-.805 1.361a16.469 16.469 0 0 0-.212 3.109a24.175 24.175 0 0 1-.169 3.234a3.353 3.353 0 0 1-.681 1.63a2.97 2.97 0 0 1-1.324.93a5.655 5.655 0 0 1-1.773.2h-.7V26.04h.387a2.639 2.639 0 0 0 1.592-.337a1.755 1.755 0 0 0 .506-1.186q.05-.462.05-2.9a8.861 8.861 0 0 1 .618-3.865A3.809 3.809 0 0 1 25.9 16a4.567 4.567 0 0 1-1.7-1.286a4.734 4.734 0 0 1-.768-2.06a36.054 36.054 0 0 1-.137-4.133a3.4 3.4 0 0 0-.425-2.092a2.338 2.338 0 0 0-1.723-.468h-.387V4h.7a6.762 6.762 0 0 1 1.54.125a3.046 3.046 0 0 1 1.149.581a3.025 3.025 0 0 1 .755 1.018a5.236 5.236 0 0 1 .418 1.686q.062.662.075 2.747a15.261 15.261 0 0 0 .212 2.947a2.377 2.377 0 0 0 .805 1.355a2.51 2.51 0 0 0 1.567.518Z\"/>"
|
|
5266
|
-
},
|
|
5271
|
+
}, Fu = {
|
|
5267
5272
|
width: 32,
|
|
5268
5273
|
height: 32,
|
|
5269
5274
|
body: "<path fill=\"#ffe885\" d=\"M2 12.218c.755 0 1.51-.008 2.264 0l.053.038l2.761 2.758c.891-.906 1.8-1.794 2.7-2.7c.053-.052.11-.113.192-.1h1.823a1.4 1.4 0 0 1 .353.019c-.7.67-1.377 1.369-2.069 2.05L5.545 18.8c-.331.324-.648.663-.989.975c-.754.022-1.511.007-2.266.007c1.223-1.209 2.431-2.433 3.658-3.637c-1.321-1.304-2.63-2.62-3.948-3.927Zm10.7 0h1.839v7.566c-.611 0-1.222.012-1.832-.008v-4.994c-1.6 1.607-3.209 3.2-4.811 4.8c-.089.08-.166.217-.305.194c-.824-.006-1.649 0-2.474 0Q8.916 16 12.7 12.218Zm2.258.002c.47-.009.939 0 1.409 0c.836.853 1.69 1.689 2.536 2.532q1.268-1.267 2.539-2.532h1.4q-.008 3.784 0 7.567c-.471 0-.943.006-1.414 0q.008-2.387 0-4.773c-.844.843-1.676 1.7-2.526 2.536c-.856-.835-1.687-1.695-2.532-2.541c0 1.594-.006 3.188.006 4.781c-.472 0-.943.005-1.415 0q-.003-3.79-.003-7.57Zm8.301-.003c.472 0 .944-.007 1.416 0q-.007 3.083 0 6.166h3.782c.063.006.144-.012.191.045c.448.454.907.9 1.353 1.354q-3.371.007-6.741 0q.007-3.782-.001-7.565Z\"/>"
|
|
5270
|
-
},
|
|
5275
|
+
}, Iu = {
|
|
5271
5276
|
width: 32,
|
|
5272
5277
|
height: 32,
|
|
5273
5278
|
body: "<path fill=\"#ffb13b\" stroke=\"#000\" stroke-width=\"3.73\" d=\"M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z\"/><path fill=\"#ffb13b\" stroke=\"#000\" stroke-width=\"3.73\" d=\"M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z\"/><path fill=\"#ffb13b\" stroke=\"#000\" stroke-width=\"3.73\" d=\"M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z\"/><path fill=\"#ffb13b\" stroke=\"#000\" stroke-width=\"3.73\" d=\"M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z\"/><path fill=\"#ffb13b\" d=\"M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z\"/><path fill=\"#ffb13b\" d=\"M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z\"/><path fill=\"#ffb13b\" d=\"M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z\"/><path fill=\"#ffb13b\" d=\"M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z\"/><path d=\"M2 16.056h28v9.894a4.035 4.035 0 0 1-4.106 4.106H6.106A4.035 4.035 0 0 1 2 25.95Z\"/><path fill=\"#fff\" d=\"M6.2 23.045a3.628 3.628 0 1 1 6.2-2.565h-2.13a1.5 1.5 0 1 0-2.57 1.061a1.6 1.6 0 0 0 1.062.441a4.118 4.118 0 0 1 2.566 1.063a3.628 3.628 0 1 1-6.194 2.565h2.13a1.5 1.5 0 1 0 2.566-1.06a1.948 1.948 0 0 0-1.063-.44A4.465 4.465 0 0 1 6.2 23.045Zm13.451-6.193L17.085 29.24H14.96L12.4 16.852h2.12l1.5 7.255l1.5-7.255Zm3.629 5.131h3.628v3.628a3.628 3.628 0 1 1-7.257 0V20.48a3.628 3.628 0 0 1 7.257 0h-2.125a1.5 1.5 0 1 0-3.005 0v5.13a1.5 1.5 0 0 0 3.005 0v-1.5h-1.5v-2.127Z\"/>"
|
|
5274
|
-
},
|
|
5279
|
+
}, Lu = {
|
|
5275
5280
|
width: 32,
|
|
5276
5281
|
height: 32,
|
|
5277
5282
|
body: "<path fill=\"#2dcc9f\" d=\"M30 5.851v20.298H2V5.851h28\"/><path fill=\"#fff\" d=\"M24.232 8.541a2.2 2.2 0 1 0 1.127.623a2.212 2.212 0 0 0-1.127-.623M18.111 20.1q-2.724-3.788-5.45-7.575L4.579 23.766h10.9q1.316-1.832 2.634-3.663M22.057 16q-2.793 3.882-5.584 7.765h11.169Q24.851 19.882 22.057 16Z\"/>"
|
|
5278
|
-
},
|
|
5283
|
+
}, Ru = {
|
|
5279
5284
|
width: 32,
|
|
5280
5285
|
height: 32,
|
|
5281
5286
|
body: "<path fill=\"#c5c5c5\" d=\"M20.414 2H5v28h22V8.586ZM7 28V4h12v6h6v18Z\"/>"
|
|
5282
|
-
},
|
|
5287
|
+
}, zu = {
|
|
5283
5288
|
width: 32,
|
|
5284
5289
|
height: 32,
|
|
5285
5290
|
body: "<path fill=\"#c09553\" d=\"M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z\"/>"
|
|
5286
|
-
},
|
|
5291
|
+
}, Bu = { key: 0 }, Vu = { class: "chevron" }, Hu = /*#__PURE__*/ zc(/* @__PURE__ */ Hr({
|
|
5287
5292
|
__name: "FileTreeNode",
|
|
5288
5293
|
props: {
|
|
5289
5294
|
node: {},
|
|
@@ -5292,40 +5297,40 @@ var Ou = {
|
|
|
5292
5297
|
},
|
|
5293
5298
|
emits: ["select"],
|
|
5294
5299
|
setup(e, { emit: t }) {
|
|
5295
|
-
let n = t, r = /* @__PURE__ */
|
|
5296
|
-
ts:
|
|
5297
|
-
tsx:
|
|
5298
|
-
js:
|
|
5299
|
-
jsx:
|
|
5300
|
-
mjs:
|
|
5301
|
-
vue:
|
|
5302
|
-
svelte:
|
|
5303
|
-
css:
|
|
5304
|
-
html:
|
|
5305
|
-
json:
|
|
5306
|
-
yaml:
|
|
5307
|
-
yml:
|
|
5308
|
-
svg:
|
|
5309
|
-
png:
|
|
5310
|
-
jpg:
|
|
5311
|
-
jpeg:
|
|
5312
|
-
gif:
|
|
5313
|
-
webp:
|
|
5300
|
+
let n = t, r = /* @__PURE__ */ an(!0), i = {
|
|
5301
|
+
ts: Ou,
|
|
5302
|
+
tsx: Ou,
|
|
5303
|
+
js: ku,
|
|
5304
|
+
jsx: ku,
|
|
5305
|
+
mjs: ku,
|
|
5306
|
+
vue: Au,
|
|
5307
|
+
svelte: ju,
|
|
5308
|
+
css: Mu,
|
|
5309
|
+
html: Nu,
|
|
5310
|
+
json: Pu,
|
|
5311
|
+
yaml: Fu,
|
|
5312
|
+
yml: Fu,
|
|
5313
|
+
svg: Iu,
|
|
5314
|
+
png: Lu,
|
|
5315
|
+
jpg: Lu,
|
|
5316
|
+
jpeg: Lu,
|
|
5317
|
+
gif: Lu,
|
|
5318
|
+
webp: Lu
|
|
5314
5319
|
};
|
|
5315
5320
|
function a(e) {
|
|
5316
5321
|
let t = e.split(".").pop()?.toLowerCase() ?? "";
|
|
5317
|
-
return i[t] ??
|
|
5322
|
+
return i[t] ?? Ru;
|
|
5318
5323
|
}
|
|
5319
5324
|
return (t, i) => {
|
|
5320
5325
|
let o = hi("FileTreeNode", !0);
|
|
5321
|
-
return e.node.isDir ? (J(), Y("div",
|
|
5326
|
+
return e.node.isDir ? (J(), Y("div", Bu, [X("div", {
|
|
5322
5327
|
class: "tree-item dir",
|
|
5323
5328
|
style: k({ paddingLeft: e.depth * 16 + 8 + "px" }),
|
|
5324
5329
|
onClick: i[0] ||= (e) => r.value = !r.value
|
|
5325
5330
|
}, [
|
|
5326
|
-
X("span",
|
|
5327
|
-
Z(ln(
|
|
5328
|
-
icon: r.value ? ln(
|
|
5331
|
+
X("span", Vu, Me(r.value ? "▾" : "▸"), 1),
|
|
5332
|
+
Z(ln(Eu), {
|
|
5333
|
+
icon: r.value ? ln(Du) : ln(zu),
|
|
5329
5334
|
width: 16
|
|
5330
5335
|
}, null, 8, ["icon"]),
|
|
5331
5336
|
X("span", null, Me(e.node.name), 1)
|
|
@@ -5339,14 +5344,14 @@ var Ou = {
|
|
|
5339
5344
|
"node",
|
|
5340
5345
|
"active-file",
|
|
5341
5346
|
"depth"
|
|
5342
|
-
]))), 128))], 512), [[
|
|
5347
|
+
]))), 128))], 512), [[ys, r.value]])])) : (J(), Y("div", {
|
|
5343
5348
|
key: 1,
|
|
5344
5349
|
class: A(["tree-item file", { active: e.node.path === e.activeFile }]),
|
|
5345
5350
|
style: k({ paddingLeft: e.depth * 16 + 8 + "px" }),
|
|
5346
5351
|
onClick: i[2] ||= (t) => n("select", e.node.path)
|
|
5347
5352
|
}, [
|
|
5348
5353
|
i[3] ||= X("span", { class: "chevron" }, null, -1),
|
|
5349
|
-
Z(ln(
|
|
5354
|
+
Z(ln(Eu), {
|
|
5350
5355
|
icon: a(e.node.name),
|
|
5351
5356
|
width: 16
|
|
5352
5357
|
}, null, 8, ["icon"]),
|
|
@@ -5354,7 +5359,7 @@ var Ou = {
|
|
|
5354
5359
|
], 6));
|
|
5355
5360
|
};
|
|
5356
5361
|
}
|
|
5357
|
-
}), [["__scopeId", "data-v-aca10893"]]),
|
|
5362
|
+
}), [["__scopeId", "data-v-aca10893"]]), Uu = { class: "file-explorer" }, Wu = { class: "explorer-header" }, Gu = { class: "explorer-tree" }, Ku = /*#__PURE__*/ zc(/* @__PURE__ */ Hr({
|
|
5358
5363
|
__name: "FileExplorer",
|
|
5359
5364
|
props: {
|
|
5360
5365
|
files: {},
|
|
@@ -5362,7 +5367,7 @@ var Ou = {
|
|
|
5362
5367
|
},
|
|
5363
5368
|
emits: ["select"],
|
|
5364
5369
|
setup(e, { emit: t }) {
|
|
5365
|
-
let n = e, r = t, i =
|
|
5370
|
+
let n = e, r = t, i = ns(() => {
|
|
5366
5371
|
let e = [];
|
|
5367
5372
|
for (let [t] of n.files) {
|
|
5368
5373
|
let n = t.replace(/^\//, "").split("/"), r = e;
|
|
@@ -5382,10 +5387,10 @@ var Ou = {
|
|
|
5382
5387
|
e.sort((e, t) => e.isDir === t.isDir ? e.name.localeCompare(t.name) : e.isDir ? -1 : 1);
|
|
5383
5388
|
for (let t of e) t.children.length > 0 && a(t.children);
|
|
5384
5389
|
}
|
|
5385
|
-
return (t, n) => (J(), Y("div",
|
|
5386
|
-
icon: ln(
|
|
5390
|
+
return (t, n) => (J(), Y("div", Uu, [X("div", Wu, [Z(ln(Eu), {
|
|
5391
|
+
icon: ln(Du),
|
|
5387
5392
|
width: 16
|
|
5388
|
-
}, null, 8, ["icon"]), n[1] ||= X("span", null, "Explorer", -1)]), X("div",
|
|
5393
|
+
}, null, 8, ["icon"]), n[1] ||= X("span", null, "Explorer", -1)]), X("div", Gu, [(J(!0), Y(G, null, yi(i.value, (t) => (J(), po(Hu, {
|
|
5389
5394
|
key: t.path,
|
|
5390
5395
|
node: t,
|
|
5391
5396
|
"active-file": e.activeFile,
|
|
@@ -5393,14 +5398,14 @@ var Ou = {
|
|
|
5393
5398
|
onSelect: n[0] ||= (e) => r("select", e)
|
|
5394
5399
|
}, null, 8, ["node", "active-file"]))), 128))])]));
|
|
5395
5400
|
}
|
|
5396
|
-
}), [["__scopeId", "data-v-b3c37870"]]),
|
|
5401
|
+
}), [["__scopeId", "data-v-b3c37870"]]), qu = ["onMousedown"], Ju = /*#__PURE__*/ zc(/* @__PURE__ */ Hr({
|
|
5397
5402
|
__name: "SplitPane",
|
|
5398
5403
|
props: {
|
|
5399
5404
|
sizes: { default: () => [] },
|
|
5400
5405
|
minSize: { default: 50 }
|
|
5401
5406
|
},
|
|
5402
5407
|
setup(e, { expose: t }) {
|
|
5403
|
-
let n = Gr("container"), r = /* @__PURE__ */
|
|
5408
|
+
let n = Gr("container"), r = /* @__PURE__ */ an([]), i = -1;
|
|
5404
5409
|
function a() {
|
|
5405
5410
|
if (!n.value) return;
|
|
5406
5411
|
let e = n.value.offsetWidth, t = { sizes: r.value.length ? r.value : [] };
|
|
@@ -5439,18 +5444,18 @@ var Ou = {
|
|
|
5439
5444
|
key: 0,
|
|
5440
5445
|
class: A(["split-grip", { active: ln(i) === n }]),
|
|
5441
5446
|
onMousedown: (e) => s(n, e)
|
|
5442
|
-
}, null, 42,
|
|
5447
|
+
}, null, 42, qu)) : wo("", !0)], 64))), 128))], 512));
|
|
5443
5448
|
}
|
|
5444
|
-
}), [["__scopeId", "data-v-ce5d7cd9"]]),
|
|
5449
|
+
}), [["__scopeId", "data-v-ce5d7cd9"]]), Yu = { class: "app" }, Xu = { class: "app-header" }, Zu = { class: "project-name" }, Qu = { class: "status-container" }, $u = {
|
|
5445
5450
|
key: 0,
|
|
5446
5451
|
class: "sync-status"
|
|
5447
|
-
},
|
|
5452
|
+
}, ed = { class: "app-main" }, td = { class: "preview-panel" }, nd = { class: "preview-header" }, rd = { class: "preview-status-container" }, id = { class: "preview-content" }, ad = {
|
|
5448
5453
|
key: 0,
|
|
5449
5454
|
class: "loading-overlay"
|
|
5450
|
-
},
|
|
5455
|
+
}, od = {
|
|
5451
5456
|
key: 0,
|
|
5452
5457
|
class: "devtools-panel"
|
|
5453
|
-
},
|
|
5458
|
+
}, sd = { class: "devtools-header" }, cd = ["src"], ld = /*#__PURE__*/ zc(/* @__PURE__ */ Hr({
|
|
5454
5459
|
__name: "IdeApp",
|
|
5455
5460
|
props: {
|
|
5456
5461
|
manifest: {},
|
|
@@ -5460,10 +5465,10 @@ var Ou = {
|
|
|
5460
5465
|
devtoolsUrl: {}
|
|
5461
5466
|
},
|
|
5462
5467
|
setup(e) {
|
|
5463
|
-
let t = e, n = /* @__PURE__ */
|
|
5468
|
+
let t = e, n = /* @__PURE__ */ an(!1), r = Gr("editorPanel"), i = Gr("previewContainer"), a = Gr("splitPane"), o = /* @__PURE__ */ an(!1), s = /* @__PURE__ */ an("Initializing..."), c = /* @__PURE__ */ an(""), l = t.VrowzerFactory({ basePath: t.basePath }), u = null, d = null;
|
|
5464
5469
|
function f() {
|
|
5465
5470
|
u = new WebSocket(`ws://localhost:${t.rpcPort}`), u.onopen = () => {
|
|
5466
|
-
console.log("[Vrowzer IDE] RPC connected"), d =
|
|
5471
|
+
console.log("[Vrowzer IDE] RPC connected"), d = fc({ onFileChanged(e, t) {
|
|
5467
5472
|
console.log("[Vrowzer IDE] external file change:", e), r.value?.editableFiles.has(e) && r.value.editableFiles.set(e, t), l.updateFile(e, t);
|
|
5468
5473
|
} }, {
|
|
5469
5474
|
post: (e) => u.send(e),
|
|
@@ -5511,21 +5516,21 @@ var Ou = {
|
|
|
5511
5516
|
function h(e) {
|
|
5512
5517
|
r.value?.selectFile(e);
|
|
5513
5518
|
}
|
|
5514
|
-
let g =
|
|
5515
|
-
return (t, l) => (J(), Y("div",
|
|
5519
|
+
let g = ns(() => r.value?.editableFiles ?? /* @__PURE__ */ new Map()), _ = ns(() => r.value?.currentFile ?? "");
|
|
5520
|
+
return (t, l) => (J(), Y("div", Yu, [X("header", Xu, [
|
|
5516
5521
|
l[2] ||= X("h1", null, "Vrowzer IDE", -1),
|
|
5517
5522
|
l[3] ||= X("span", { class: "subtitle" }, "experimental", -1),
|
|
5518
|
-
X("span",
|
|
5519
|
-
X("div",
|
|
5523
|
+
X("span", Zu, Me(e.manifest.name), 1),
|
|
5524
|
+
X("div", Qu, [c.value ? (J(), Y("span", $u, Me(c.value), 1)) : wo("", !0), e.devtoolsUrl ? (J(), Y("button", {
|
|
5520
5525
|
key: 1,
|
|
5521
5526
|
class: A(["devtools-btn", { active: n.value }]),
|
|
5522
5527
|
title: "Toggle Vite DevTools",
|
|
5523
5528
|
onClick: l[0] ||= (e) => n.value = !n.value
|
|
5524
|
-
}, " DevTools ", 2)) :
|
|
5525
|
-
]), X("main",
|
|
5529
|
+
}, " DevTools ", 2)) : wo("", !0)])
|
|
5530
|
+
]), X("main", ed, [X("div", {
|
|
5526
5531
|
class: "main-top",
|
|
5527
5532
|
style: k({ flex: n.value ? "0 0 60%" : "1" })
|
|
5528
|
-
}, [Z(
|
|
5533
|
+
}, [Z(Ju, {
|
|
5529
5534
|
ref_key: "splitPane",
|
|
5530
5535
|
ref: a,
|
|
5531
5536
|
sizes: [
|
|
@@ -5535,46 +5540,46 @@ var Ou = {
|
|
|
5535
5540
|
],
|
|
5536
5541
|
"min-size": 100
|
|
5537
5542
|
}, {
|
|
5538
|
-
"panel-0": Er(() => [Z(
|
|
5543
|
+
"panel-0": Er(() => [Z(Ku, {
|
|
5539
5544
|
files: g.value,
|
|
5540
5545
|
"active-file": _.value,
|
|
5541
5546
|
onSelect: h
|
|
5542
5547
|
}, null, 8, ["files", "active-file"])]),
|
|
5543
|
-
"panel-1": Er(() => [Z(
|
|
5548
|
+
"panel-1": Er(() => [Z(Bc, {
|
|
5544
5549
|
ref_key: "editorPanel",
|
|
5545
5550
|
ref: r,
|
|
5546
5551
|
files: e.manifest.files,
|
|
5547
5552
|
"active-file": e.manifest.activeFile,
|
|
5548
5553
|
onFileChange: p
|
|
5549
5554
|
}, null, 8, ["files", "active-file"])]),
|
|
5550
|
-
"panel-2": Er(() => [X("div",
|
|
5555
|
+
"panel-2": Er(() => [X("div", td, [X("div", nd, [l[4] ||= X("span", null, "Preview by MessageChannel base HMR", -1), X("div", rd, [
|
|
5551
5556
|
o.value ? (J(), Y("button", {
|
|
5552
5557
|
key: 0,
|
|
5553
5558
|
class: "reload-btn",
|
|
5554
5559
|
title: "Reload preview",
|
|
5555
5560
|
onClick: m
|
|
5556
|
-
}, " Reload ")) :
|
|
5561
|
+
}, " Reload ")) : wo("", !0),
|
|
5557
5562
|
X("span", { class: A(["status-dot", { ready: o.value }]) }, null, 2),
|
|
5558
5563
|
X("span", { class: A(["status", o.value ? "ready" : "loading"]) }, Me(s.value), 3)
|
|
5559
|
-
])]), X("div",
|
|
5564
|
+
])]), X("div", id, [o.value ? wo("", !0) : (J(), Y("div", ad, [X("p", null, Me(s.value), 1)])), X("div", {
|
|
5560
5565
|
ref_key: "previewContainer",
|
|
5561
5566
|
ref: i,
|
|
5562
5567
|
class: "preview-iframe-container"
|
|
5563
5568
|
}, null, 512)])])]),
|
|
5564
5569
|
_: 1
|
|
5565
|
-
}, 512)], 4), n.value && e.devtoolsUrl ? (J(), Y("div",
|
|
5570
|
+
}, 512)], 4), n.value && e.devtoolsUrl ? (J(), Y("div", od, [X("div", sd, [l[5] ||= X("span", null, "Vite DevTools", -1), X("button", {
|
|
5566
5571
|
class: "devtools-close",
|
|
5567
5572
|
onClick: l[1] ||= (e) => n.value = !1
|
|
5568
5573
|
}, "✕")]), X("iframe", {
|
|
5569
5574
|
src: e.devtoolsUrl,
|
|
5570
5575
|
class: "devtools-iframe"
|
|
5571
|
-
}, null, 8,
|
|
5576
|
+
}, null, 8, cd)])) : wo("", !0)])]));
|
|
5572
5577
|
}
|
|
5573
5578
|
}), [["__scopeId", "data-v-4a731d73"]]);
|
|
5574
5579
|
//#endregion
|
|
5575
5580
|
//#region src/ide/main.ts
|
|
5576
|
-
function
|
|
5577
|
-
let t =
|
|
5581
|
+
function ud(e) {
|
|
5582
|
+
let t = Qs(ld, {
|
|
5578
5583
|
manifest: e.manifest,
|
|
5579
5584
|
basePath: e.basePath,
|
|
5580
5585
|
VrowzerFactory: e.Vrowzer,
|
|
@@ -5583,5 +5588,5 @@ function pd(e) {
|
|
|
5583
5588
|
});
|
|
5584
5589
|
return t.mount("#app"), t;
|
|
5585
5590
|
}
|
|
5586
|
-
window.__vrowzer_ide_mount__ =
|
|
5591
|
+
window.__vrowzer_ide_mount__ = ud;
|
|
5587
5592
|
//#endregion
|