@datagouv/components-next 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{JsonPreview.client-Boqx8dM7.js → JsonPreview.client-B02h-wXN.js} +2 -2
- package/dist/{MapContainer.client-DbRyTZ69.js → MapContainer.client-DPN0WBuA.js} +1 -1
- package/dist/{PdfPreview.client-wbXsTNTV.js → PdfPreview.client-E2yon-e5.js} +2 -2
- package/dist/{Pmtiles.client-pnjwffA_.js → Pmtiles.client-D3ar7TqV.js} +1 -1
- package/dist/Swagger.client-FFfBn3xr.js +4 -0
- package/dist/{XmlPreview.client-Z6TgGP2G.js → XmlPreview.client-GLR3L2Ub.js} +2 -2
- package/dist/components-next.css +3 -3
- package/dist/components-next.js +26 -26
- package/dist/main-BpD9swJ2.js +101023 -0
- package/dist/{pdf-vue3-CwfAPVHf.js → pdf-vue3-BxkITVfK.js} +1 -1
- package/dist/{text-clamp.esm--JneuJHF.js → text-clamp.esm-Cj58jMQJ.js} +1 -1
- package/dist/{vue3-json-viewer-CWdqwDBZ.js → vue3-json-viewer-CjJTUwus.js} +1 -1
- package/dist/{vue3-xml-viewer.common-B4U761SY.js → vue3-xml-viewer.common-yvwmMyER.js} +799 -805
- package/package.json +16 -4
- package/src/components/ResourceAccordion/ResourceAccordion.vue +2 -2
- package/src/components/ResourceAccordion/Swagger.client.vue +2 -2
- package/src/functions/markdown.ts +60 -33
- package/dist/Swagger.client-DwYQ-RDs.js +0 -4
- package/dist/main-CLgZLazG.js +0 -105813
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as et, P as ge, Q as j, R as
|
|
2
|
-
function
|
|
1
|
+
import { O as et, P as ge, Q as j, R as ut, S as tn, T as cn, U as _i, V as pi, W as ds, X as Ce, Y as ui, Z as fs, $ as di, a0 as he, a1 as Un, a2 as Et, a3 as fi, a4 as hi, a5 as mi, a6 as Ei, a7 as vi, a8 as Mt, a9 as Ni, aa as _n, ab as gi, ac as Si, k as Ti } from "./main-BpD9swJ2.js";
|
|
2
|
+
function yi(e, t) {
|
|
3
3
|
for (var n = 0; n < t.length; n++) {
|
|
4
4
|
const r = t[n];
|
|
5
5
|
if (typeof r != "string" && !Array.isArray(r)) {
|
|
@@ -15,15 +15,15 @@ function Oi(e, t) {
|
|
|
15
15
|
}
|
|
16
16
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
var zt = { exports: {} },
|
|
18
|
+
var zt = { exports: {} }, dt = { exports: {} }, Qt = {};
|
|
19
19
|
/**
|
|
20
|
-
* @vue/compiler-core v3.5.
|
|
20
|
+
* @vue/compiler-core v3.5.17
|
|
21
21
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
22
|
* @license MIT
|
|
23
23
|
**/
|
|
24
|
-
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""),
|
|
24
|
+
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), tt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), pn = Symbol(
|
|
25
25
|
process.env.NODE_ENV !== "production" ? "BaseTransition" : ""
|
|
26
|
-
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""),
|
|
26
|
+
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), un = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), dn = Symbol(
|
|
27
27
|
process.env.NODE_ENV !== "production" ? "createElementBlock" : ""
|
|
28
28
|
), Lt = Symbol(process.env.NODE_ENV !== "production" ? "createVNode" : ""), Vt = Symbol(
|
|
29
29
|
process.env.NODE_ENV !== "production" ? "createElementVNode" : ""
|
|
@@ -31,7 +31,7 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
31
31
|
process.env.NODE_ENV !== "production" ? "createCommentVNode" : ""
|
|
32
32
|
), kt = Symbol(
|
|
33
33
|
process.env.NODE_ENV !== "production" ? "createTextVNode" : ""
|
|
34
|
-
),
|
|
34
|
+
), fn = Symbol(
|
|
35
35
|
process.env.NODE_ENV !== "production" ? "createStaticVNode" : ""
|
|
36
36
|
), wt = Symbol(
|
|
37
37
|
process.env.NODE_ENV !== "production" ? "resolveComponent" : ""
|
|
@@ -43,9 +43,9 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
43
43
|
process.env.NODE_ENV !== "production" ? "resolveFilter" : ""
|
|
44
44
|
), Ft = Symbol(
|
|
45
45
|
process.env.NODE_ENV !== "production" ? "withDirectives" : ""
|
|
46
|
-
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""),
|
|
46
|
+
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), hn = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), mn = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), lt = Symbol(
|
|
47
47
|
process.env.NODE_ENV !== "production" ? "toDisplayString" : ""
|
|
48
|
-
),
|
|
48
|
+
), nt = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), $t = Symbol(
|
|
49
49
|
process.env.NODE_ENV !== "production" ? "normalizeClass" : ""
|
|
50
50
|
), jt = Symbol(
|
|
51
51
|
process.env.NODE_ENV !== "production" ? "normalizeStyle" : ""
|
|
@@ -53,64 +53,64 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
53
53
|
process.env.NODE_ENV !== "production" ? "normalizeProps" : ""
|
|
54
54
|
), Ze = Symbol(
|
|
55
55
|
process.env.NODE_ENV !== "production" ? "guardReactiveProps" : ""
|
|
56
|
-
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""),
|
|
56
|
+
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""), hs = Symbol(process.env.NODE_ENV !== "production" ? "capitalize" : ""), It = Symbol(
|
|
57
57
|
process.env.NODE_ENV !== "production" ? "toHandlerKey" : ""
|
|
58
|
-
),
|
|
58
|
+
), st = Symbol(
|
|
59
59
|
process.env.NODE_ENV !== "production" ? "setBlockTracking" : ""
|
|
60
|
-
),
|
|
60
|
+
), ms = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), Es = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Kt = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), vs = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), Ns = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), Wt = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), En = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), Xe = {
|
|
61
61
|
[We]: "Fragment",
|
|
62
62
|
[Ke]: "Teleport",
|
|
63
63
|
[Pt]: "Suspense",
|
|
64
|
-
[
|
|
65
|
-
[
|
|
64
|
+
[tt]: "KeepAlive",
|
|
65
|
+
[pn]: "BaseTransition",
|
|
66
66
|
[De]: "openBlock",
|
|
67
|
-
[
|
|
68
|
-
[
|
|
67
|
+
[un]: "createBlock",
|
|
68
|
+
[dn]: "createElementBlock",
|
|
69
69
|
[Lt]: "createVNode",
|
|
70
70
|
[Vt]: "createElementVNode",
|
|
71
71
|
[Qe]: "createCommentVNode",
|
|
72
72
|
[kt]: "createTextVNode",
|
|
73
|
-
[
|
|
73
|
+
[fn]: "createStaticVNode",
|
|
74
74
|
[wt]: "resolveComponent",
|
|
75
75
|
[Xt]: "resolveDynamicComponent",
|
|
76
76
|
[Bt]: "resolveDirective",
|
|
77
77
|
[xt]: "resolveFilter",
|
|
78
78
|
[Ft]: "withDirectives",
|
|
79
79
|
[Ut]: "renderList",
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
80
|
+
[hn]: "renderSlot",
|
|
81
|
+
[mn]: "createSlots",
|
|
82
|
+
[lt]: "toDisplayString",
|
|
83
|
+
[nt]: "mergeProps",
|
|
84
84
|
[$t]: "normalizeClass",
|
|
85
85
|
[jt]: "normalizeStyle",
|
|
86
86
|
[Ge]: "normalizeProps",
|
|
87
87
|
[Ze]: "guardReactiveProps",
|
|
88
88
|
[Ht]: "toHandlers",
|
|
89
89
|
[Ot]: "camelize",
|
|
90
|
-
[
|
|
90
|
+
[hs]: "capitalize",
|
|
91
91
|
[It]: "toHandlerKey",
|
|
92
|
-
[
|
|
93
|
-
[
|
|
94
|
-
[
|
|
92
|
+
[st]: "setBlockTracking",
|
|
93
|
+
[ms]: "pushScopeId",
|
|
94
|
+
[Es]: "popScopeId",
|
|
95
95
|
[Kt]: "withCtx",
|
|
96
96
|
[vs]: "unref",
|
|
97
|
-
[
|
|
97
|
+
[Ns]: "isRef",
|
|
98
98
|
[Wt]: "withMemo",
|
|
99
|
-
[
|
|
99
|
+
[En]: "isMemoSame"
|
|
100
100
|
};
|
|
101
|
-
function
|
|
101
|
+
function gs(e) {
|
|
102
102
|
Object.getOwnPropertySymbols(e).forEach((t) => {
|
|
103
103
|
Xe[t] = e[t];
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
const
|
|
106
|
+
const Oi = {
|
|
107
107
|
HTML: 0,
|
|
108
108
|
0: "HTML",
|
|
109
109
|
SVG: 1,
|
|
110
110
|
1: "SVG",
|
|
111
111
|
MATH_ML: 2,
|
|
112
112
|
2: "MATH_ML"
|
|
113
|
-
},
|
|
113
|
+
}, Ii = {
|
|
114
114
|
ROOT: 0,
|
|
115
115
|
0: "ROOT",
|
|
116
116
|
ELEMENT: 1,
|
|
@@ -165,7 +165,7 @@ const Ii = {
|
|
|
165
165
|
25: "JS_SEQUENCE_EXPRESSION",
|
|
166
166
|
JS_RETURN_STATEMENT: 26,
|
|
167
167
|
26: "JS_RETURN_STATEMENT"
|
|
168
|
-
},
|
|
168
|
+
}, Ci = {
|
|
169
169
|
ELEMENT: 0,
|
|
170
170
|
0: "ELEMENT",
|
|
171
171
|
COMPONENT: 1,
|
|
@@ -174,7 +174,7 @@ const Ii = {
|
|
|
174
174
|
2: "SLOT",
|
|
175
175
|
TEMPLATE: 3,
|
|
176
176
|
3: "TEMPLATE"
|
|
177
|
-
},
|
|
177
|
+
}, bi = {
|
|
178
178
|
NOT_CONSTANT: 0,
|
|
179
179
|
0: "NOT_CONSTANT",
|
|
180
180
|
CAN_SKIP_PATCH: 1,
|
|
@@ -188,7 +188,7 @@ const Ii = {
|
|
|
188
188
|
end: { line: 1, column: 1, offset: 0 },
|
|
189
189
|
source: ""
|
|
190
190
|
};
|
|
191
|
-
function
|
|
191
|
+
function Ss(e, t = "") {
|
|
192
192
|
return {
|
|
193
193
|
type: 0,
|
|
194
194
|
source: t,
|
|
@@ -250,7 +250,7 @@ function C(e, t = !1, n = W, r = 0) {
|
|
|
250
250
|
constType: t ? 3 : r
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Ai(e, t) {
|
|
254
254
|
return {
|
|
255
255
|
type: 5,
|
|
256
256
|
loc: t,
|
|
@@ -292,7 +292,7 @@ function Ct(e, t, n, r = !0) {
|
|
|
292
292
|
loc: W
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Ts(e, t, n = !1, r = !1) {
|
|
296
296
|
return {
|
|
297
297
|
type: 20,
|
|
298
298
|
index: e,
|
|
@@ -303,21 +303,21 @@ function ys(e, t, n = !1, r = !1) {
|
|
|
303
303
|
loc: W
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ys(e) {
|
|
307
307
|
return {
|
|
308
308
|
type: 21,
|
|
309
309
|
body: e,
|
|
310
310
|
loc: W
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function Di(e) {
|
|
314
314
|
return {
|
|
315
315
|
type: 22,
|
|
316
316
|
elements: e,
|
|
317
317
|
loc: W
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ri(e, t, n) {
|
|
321
321
|
return {
|
|
322
322
|
type: 23,
|
|
323
323
|
test: e,
|
|
@@ -326,7 +326,7 @@ function Mi(e, t, n) {
|
|
|
326
326
|
loc: W
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Mi(e, t) {
|
|
330
330
|
return {
|
|
331
331
|
type: 24,
|
|
332
332
|
left: e,
|
|
@@ -334,14 +334,14 @@ function Pi(e, t) {
|
|
|
334
334
|
loc: W
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function Pi(e) {
|
|
338
338
|
return {
|
|
339
339
|
type: 25,
|
|
340
340
|
expressions: e,
|
|
341
341
|
loc: W
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function Li(e) {
|
|
345
345
|
return {
|
|
346
346
|
type: 26,
|
|
347
347
|
returns: e,
|
|
@@ -352,13 +352,13 @@ function xe(e, t) {
|
|
|
352
352
|
return e || t ? Lt : Vt;
|
|
353
353
|
}
|
|
354
354
|
function Fe(e, t) {
|
|
355
|
-
return e || t ?
|
|
355
|
+
return e || t ? un : dn;
|
|
356
356
|
}
|
|
357
357
|
function Gt(e, { helper: t, removeHelper: n, inSSR: r }) {
|
|
358
358
|
e.isBlock || (e.isBlock = !0, n(xe(r, e.isComponent)), t(De), t(Fe(r, e.isComponent)));
|
|
359
359
|
}
|
|
360
|
-
const
|
|
361
|
-
function
|
|
360
|
+
const $n = new Uint8Array([123, 123]), jn = new Uint8Array([125, 125]);
|
|
361
|
+
function Hn(e) {
|
|
362
362
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
363
363
|
}
|
|
364
364
|
function ce(e) {
|
|
@@ -400,15 +400,15 @@ const J = {
|
|
|
400
400
|
])
|
|
401
401
|
// `</textarea
|
|
402
402
|
};
|
|
403
|
-
class
|
|
403
|
+
class Vi {
|
|
404
404
|
constructor(t, n) {
|
|
405
|
-
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen =
|
|
405
|
+
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen = $n, this.delimiterClose = jn, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
|
|
406
406
|
}
|
|
407
407
|
get inSFCRoot() {
|
|
408
408
|
return this.mode === 2 && this.stack.length === 0;
|
|
409
409
|
}
|
|
410
410
|
reset() {
|
|
411
|
-
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen =
|
|
411
|
+
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen = $n, this.delimiterClose = jn;
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
* Generate Position object with line / column information using recorded
|
|
@@ -519,7 +519,7 @@ class ki {
|
|
|
519
519
|
this.inRCDATA = !0, this.currentSequence = t, this.sequenceIndex = n;
|
|
520
520
|
}
|
|
521
521
|
stateBeforeTagName(t) {
|
|
522
|
-
t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) :
|
|
522
|
+
t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : Hn(t) ? (this.sectionStart = this.index, this.mode === 0 ? this.state = 6 : this.inSFCRoot ? this.state = 34 : this.inXML ? this.state = 6 : t === 116 ? this.state = 30 : this.state = t === 115 ? 29 : 6) : t === 47 ? this.state = 8 : (this.state = 1, this.stateText(t));
|
|
523
523
|
}
|
|
524
524
|
stateInTagName(t) {
|
|
525
525
|
Oe(t) && this.handleTagName(t);
|
|
@@ -534,7 +534,7 @@ class ki {
|
|
|
534
534
|
this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t);
|
|
535
535
|
}
|
|
536
536
|
stateBeforeClosingTagName(t) {
|
|
537
|
-
ce(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state =
|
|
537
|
+
ce(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = Hn(t) ? 9 : 27, this.sectionStart = this.index));
|
|
538
538
|
}
|
|
539
539
|
stateInClosingTagName(t) {
|
|
540
540
|
(t === 62 || ce(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
|
|
@@ -794,7 +794,7 @@ class ki {
|
|
|
794
794
|
emitCodePoint(t, n) {
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const ki = {
|
|
798
798
|
COMPILER_IS_ON_ELEMENT: "COMPILER_IS_ON_ELEMENT",
|
|
799
799
|
COMPILER_V_BIND_SYNC: "COMPILER_V_BIND_SYNC",
|
|
800
800
|
COMPILER_V_BIND_OBJECT_ORDER: "COMPILER_V_BIND_OBJECT_ORDER",
|
|
@@ -803,7 +803,7 @@ const wi = {
|
|
|
803
803
|
COMPILER_NATIVE_TEMPLATE: "COMPILER_NATIVE_TEMPLATE",
|
|
804
804
|
COMPILER_INLINE_TEMPLATE: "COMPILER_INLINE_TEMPLATE",
|
|
805
805
|
COMPILER_FILTERS: "COMPILER_FILTERS"
|
|
806
|
-
},
|
|
806
|
+
}, wi = {
|
|
807
807
|
COMPILER_IS_ON_ELEMENT: {
|
|
808
808
|
message: 'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',
|
|
809
809
|
link: "https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"
|
|
@@ -846,26 +846,26 @@ function Ae(e, t) {
|
|
|
846
846
|
}
|
|
847
847
|
function Ue(e, t, n, ...r) {
|
|
848
848
|
const a = Ae(e, t);
|
|
849
|
-
return process.env.NODE_ENV !== "production" && a &&
|
|
849
|
+
return process.env.NODE_ENV !== "production" && a && rt(e, t, n, ...r), a;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function rt(e, t, n, ...r) {
|
|
852
852
|
if (nn(e, t) === "suppress-warning")
|
|
853
853
|
return;
|
|
854
|
-
const { message: i, link: l } =
|
|
854
|
+
const { message: i, link: l } = wi[e], s = `(deprecation ${e}) ${typeof i == "function" ? i(...r) : i}${l ? `
|
|
855
855
|
Details: ${l}` : ""}`, o = new SyntaxError(s);
|
|
856
856
|
o.code = e, n && (o.loc = n), t.onWarn(o);
|
|
857
857
|
}
|
|
858
858
|
function vn(e) {
|
|
859
859
|
throw e;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Os(e) {
|
|
862
862
|
process.env.NODE_ENV !== "production" && console.warn(`[Vue warn] ${e.message}`);
|
|
863
863
|
}
|
|
864
864
|
function P(e, t, n, r) {
|
|
865
|
-
const a = process.env.NODE_ENV !== "production" ? (n ||
|
|
865
|
+
const a = process.env.NODE_ENV !== "production" ? (n || Is)[e] + (r || "") : `https://vuejs.org/error-reference/#compiler-${e}`, i = new SyntaxError(String(a));
|
|
866
866
|
return i.code = e, i.loc = t, i;
|
|
867
867
|
}
|
|
868
|
-
const
|
|
868
|
+
const Xi = {
|
|
869
869
|
ABRUPT_CLOSING_OF_EMPTY_COMMENT: 0,
|
|
870
870
|
0: "ABRUPT_CLOSING_OF_EMPTY_COMMENT",
|
|
871
871
|
CDATA_IN_HTML_CONTENT: 1,
|
|
@@ -974,7 +974,7 @@ const Bi = {
|
|
|
974
974
|
52: "X_V_BIND_INVALID_SAME_NAME_ARGUMENT",
|
|
975
975
|
__EXTEND_POINT__: 53,
|
|
976
976
|
53: "__EXTEND_POINT__"
|
|
977
|
-
},
|
|
977
|
+
}, Is = {
|
|
978
978
|
// parse errors
|
|
979
979
|
0: "Illegal comment.",
|
|
980
980
|
1: "CDATA section is allowed only in XML context.",
|
|
@@ -1036,12 +1036,12 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
1036
1036
|
// just to fulfill types
|
|
1037
1037
|
53: ""
|
|
1038
1038
|
};
|
|
1039
|
-
function
|
|
1039
|
+
function Bi(e, t, n = !1, r = [], a = /* @__PURE__ */ Object.create(null)) {
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function xi(e, t, n) {
|
|
1042
1042
|
return !1;
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function Fi(e, t) {
|
|
1045
1045
|
if (e && (e.type === "ObjectProperty" || e.type === "ArrayPattern")) {
|
|
1046
1046
|
let n = t.length;
|
|
1047
1047
|
for (; n--; ) {
|
|
@@ -1054,7 +1054,7 @@ function Ui(e, t) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
return !1;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function Ui(e) {
|
|
1058
1058
|
let t = e.length;
|
|
1059
1059
|
for (; t--; ) {
|
|
1060
1060
|
const n = e[t];
|
|
@@ -1065,34 +1065,34 @@ function $i(e) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
return !1;
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function $i(e, t) {
|
|
1069
1069
|
for (const n of e.params)
|
|
1070
|
-
for (const r of
|
|
1070
|
+
for (const r of ve(n))
|
|
1071
1071
|
t(r);
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function ji(e, t) {
|
|
1074
1074
|
for (const n of e.body)
|
|
1075
1075
|
if (n.type === "VariableDeclaration") {
|
|
1076
1076
|
if (n.declare) continue;
|
|
1077
1077
|
for (const r of n.declarations)
|
|
1078
|
-
for (const a of
|
|
1078
|
+
for (const a of ve(r.id))
|
|
1079
1079
|
t(a);
|
|
1080
1080
|
} else if (n.type === "FunctionDeclaration" || n.type === "ClassDeclaration") {
|
|
1081
1081
|
if (n.declare || !n.id) continue;
|
|
1082
1082
|
t(n.id);
|
|
1083
|
-
} else
|
|
1083
|
+
} else Hi(n) && Ki(n, !0, t);
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function Hi(e) {
|
|
1086
1086
|
return e.type === "ForOfStatement" || e.type === "ForInStatement" || e.type === "ForStatement";
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function Ki(e, t, n) {
|
|
1089
1089
|
const r = e.type === "ForStatement" ? e.init : e.left;
|
|
1090
1090
|
if (r && r.type === "VariableDeclaration" && (r.kind === "var" && t))
|
|
1091
1091
|
for (const a of r.declarations)
|
|
1092
|
-
for (const i of
|
|
1092
|
+
for (const i of ve(a.id))
|
|
1093
1093
|
n(i);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function ve(e, t = []) {
|
|
1096
1096
|
switch (e.type) {
|
|
1097
1097
|
case "Identifier":
|
|
1098
1098
|
t.push(e);
|
|
@@ -1105,23 +1105,23 @@ function Ne(e, t = []) {
|
|
|
1105
1105
|
break;
|
|
1106
1106
|
case "ObjectPattern":
|
|
1107
1107
|
for (const r of e.properties)
|
|
1108
|
-
r.type === "RestElement" ?
|
|
1108
|
+
r.type === "RestElement" ? ve(r.argument, t) : ve(r.value, t);
|
|
1109
1109
|
break;
|
|
1110
1110
|
case "ArrayPattern":
|
|
1111
1111
|
e.elements.forEach((r) => {
|
|
1112
|
-
r &&
|
|
1112
|
+
r && ve(r, t);
|
|
1113
1113
|
});
|
|
1114
1114
|
break;
|
|
1115
1115
|
case "RestElement":
|
|
1116
|
-
|
|
1116
|
+
ve(e.argument, t);
|
|
1117
1117
|
break;
|
|
1118
1118
|
case "AssignmentPattern":
|
|
1119
|
-
|
|
1119
|
+
ve(e.left, t);
|
|
1120
1120
|
break;
|
|
1121
1121
|
}
|
|
1122
1122
|
return t;
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Wi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), Cs = (e) => e && (e.type === "ObjectProperty" || e.type === "ObjectMethod") && !e.computed, Gi = (e, t) => Cs(t) && t.key === e, bs = [
|
|
1125
1125
|
"TSAsExpression",
|
|
1126
1126
|
// foo as number
|
|
1127
1127
|
"TSTypeAssertion",
|
|
@@ -1133,11 +1133,11 @@ const Gi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), bs
|
|
|
1133
1133
|
"TSSatisfiesExpression"
|
|
1134
1134
|
// foo satisfies T
|
|
1135
1135
|
];
|
|
1136
|
-
function
|
|
1137
|
-
return
|
|
1136
|
+
function As(e) {
|
|
1137
|
+
return bs.includes(e.type) ? As(e.expression) : e;
|
|
1138
1138
|
}
|
|
1139
1139
|
const ne = (e) => e.type === 4 && e.isStatic;
|
|
1140
|
-
function
|
|
1140
|
+
function Nn(e) {
|
|
1141
1141
|
switch (e) {
|
|
1142
1142
|
case "Teleport":
|
|
1143
1143
|
case "teleport":
|
|
@@ -1147,14 +1147,14 @@ function gn(e) {
|
|
|
1147
1147
|
return Pt;
|
|
1148
1148
|
case "KeepAlive":
|
|
1149
1149
|
case "keep-alive":
|
|
1150
|
-
return
|
|
1150
|
+
return tt;
|
|
1151
1151
|
case "BaseTransition":
|
|
1152
1152
|
case "base-transition":
|
|
1153
|
-
return
|
|
1153
|
+
return pn;
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
-
const
|
|
1157
|
-
const t =
|
|
1156
|
+
const Ji = /^\d|[^\$\w\xA0-\uFFFF]/, ct = (e) => !Ji.test(e), Yi = /[A-Za-z_$\xA0-\uFFFF]/, qi = /[\.\?\w$\xA0-\uFFFF]/, zi = /\s+[.[]\s*|\s*[.[]\s+/g, Ds = (e) => e.type === 4 ? e.content : e.loc.source, Rs = (e) => {
|
|
1157
|
+
const t = Ds(e).trim().replace(zi, (s) => s.trim());
|
|
1158
1158
|
let n = 0, r = [], a = 0, i = 0, l = null;
|
|
1159
1159
|
for (let s = 0; s < t.length; s++) {
|
|
1160
1160
|
const o = t.charAt(s);
|
|
@@ -1164,7 +1164,7 @@ const Yi = /^$|^\d|[^\$\w\xA0-\uFFFF]/, _t = (e) => !Yi.test(e), qi = /[A-Za-z_$
|
|
|
1164
1164
|
r.push(n), n = 1, a++;
|
|
1165
1165
|
else if (o === "(")
|
|
1166
1166
|
r.push(n), n = 2, i++;
|
|
1167
|
-
else if (!(s === 0 ?
|
|
1167
|
+
else if (!(s === 0 ? Yi : qi).test(o))
|
|
1168
1168
|
return !1;
|
|
1169
1169
|
break;
|
|
1170
1170
|
case 1:
|
|
@@ -1187,9 +1187,9 @@ const Yi = /^$|^\d|[^\$\w\xA0-\uFFFF]/, _t = (e) => !Yi.test(e), qi = /[A-Za-z_$
|
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
return !a && !i;
|
|
1190
|
-
},
|
|
1191
|
-
function
|
|
1192
|
-
return
|
|
1190
|
+
}, Qi = et, gn = Rs, Zi = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, Ms = (e) => Zi.test(Ds(e)), eo = et, Ps = Ms;
|
|
1191
|
+
function to(e, t, n = t.length) {
|
|
1192
|
+
return Ls(
|
|
1193
1193
|
{
|
|
1194
1194
|
offset: e.offset,
|
|
1195
1195
|
line: e.line,
|
|
@@ -1199,7 +1199,7 @@ function no(e, t, n = t.length) {
|
|
|
1199
1199
|
n
|
|
1200
1200
|
);
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Ls(e, t, n = t.length) {
|
|
1203
1203
|
let r = 0, a = -1;
|
|
1204
1204
|
for (let i = 0; i < n; i++)
|
|
1205
1205
|
t.charCodeAt(i) === 10 && (r++, a = i);
|
|
@@ -1223,14 +1223,14 @@ function Ye(e, t, n = !1, r = !1) {
|
|
|
1223
1223
|
if (n) continue;
|
|
1224
1224
|
if (i.name === t && (i.value || r))
|
|
1225
1225
|
return i;
|
|
1226
|
-
} else if (i.name === "bind" && (i.exp || r) &&
|
|
1226
|
+
} else if (i.name === "bind" && (i.exp || r) && Ne(i.arg, t))
|
|
1227
1227
|
return i;
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function Ne(e, t) {
|
|
1231
1231
|
return !!(e && ne(e) && e.content === t);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Vs(e) {
|
|
1234
1234
|
return e.props.some(
|
|
1235
1235
|
(t) => t.type === 7 && t.name === "bind" && (!t.arg || // v-bind="obj"
|
|
1236
1236
|
t.arg.type !== 4 || // v-bind:[_ctx.foo]
|
|
@@ -1238,54 +1238,51 @@ function ks(e) {
|
|
|
1238
1238
|
// v-bind:[foo]
|
|
1239
1239
|
);
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function vt(e) {
|
|
1242
1242
|
return e.type === 5 || e.type === 2;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1245
|
-
return e.type === 7 && e.name === "pre";
|
|
1246
|
-
}
|
|
1247
|
-
function Tn(e) {
|
|
1244
|
+
function Sn(e) {
|
|
1248
1245
|
return e.type === 7 && e.name === "slot";
|
|
1249
1246
|
}
|
|
1250
1247
|
function qe(e) {
|
|
1251
1248
|
return e.type === 1 && e.tagType === 3;
|
|
1252
1249
|
}
|
|
1253
|
-
function
|
|
1250
|
+
function it(e) {
|
|
1254
1251
|
return e.type === 1 && e.tagType === 2;
|
|
1255
1252
|
}
|
|
1256
|
-
const
|
|
1257
|
-
function
|
|
1253
|
+
const no = /* @__PURE__ */ new Set([Ge, Ze]);
|
|
1254
|
+
function ks(e, t = []) {
|
|
1258
1255
|
if (e && !j(e) && e.type === 14) {
|
|
1259
1256
|
const n = e.callee;
|
|
1260
|
-
if (!j(n) &&
|
|
1261
|
-
return
|
|
1257
|
+
if (!j(n) && no.has(n))
|
|
1258
|
+
return ks(
|
|
1262
1259
|
e.arguments[0],
|
|
1263
1260
|
t.concat(e)
|
|
1264
1261
|
);
|
|
1265
1262
|
}
|
|
1266
1263
|
return [e, t];
|
|
1267
1264
|
}
|
|
1268
|
-
function
|
|
1265
|
+
function ot(e, t, n) {
|
|
1269
1266
|
let r, a = e.type === 13 ? e.props : e.arguments[2], i = [], l;
|
|
1270
1267
|
if (a && !j(a) && a.type === 14) {
|
|
1271
|
-
const s =
|
|
1268
|
+
const s = ks(a);
|
|
1272
1269
|
a = s[0], i = s[1], l = i[i.length - 1];
|
|
1273
1270
|
}
|
|
1274
1271
|
if (a == null || j(a))
|
|
1275
1272
|
r = _e([t]);
|
|
1276
1273
|
else if (a.type === 14) {
|
|
1277
1274
|
const s = a.arguments[0];
|
|
1278
|
-
!j(s) && s.type === 15 ?
|
|
1275
|
+
!j(s) && s.type === 15 ? Kn(t, s) || s.properties.unshift(t) : a.callee === Ht ? r = $(n.helper(nt), [
|
|
1279
1276
|
_e([t]),
|
|
1280
1277
|
a
|
|
1281
1278
|
]) : a.arguments.unshift(_e([t])), !r && (r = a);
|
|
1282
|
-
} else a.type === 15 ? (
|
|
1279
|
+
} else a.type === 15 ? (Kn(t, a) || a.properties.unshift(t), r = a) : (r = $(n.helper(nt), [
|
|
1283
1280
|
_e([t]),
|
|
1284
1281
|
a
|
|
1285
1282
|
]), l && l.callee === Ze && (l = i[i.length - 2]));
|
|
1286
1283
|
e.type === 13 ? l ? l.arguments[0] = r : e.props = r : l ? l.arguments[0] = r : e.arguments[2] = r;
|
|
1287
1284
|
}
|
|
1288
|
-
function
|
|
1285
|
+
function Kn(e, t) {
|
|
1289
1286
|
let n = !1;
|
|
1290
1287
|
if (e.key.type === 4) {
|
|
1291
1288
|
const r = e.key.content;
|
|
@@ -1316,9 +1313,9 @@ function fe(e, t) {
|
|
|
1316
1313
|
case 10:
|
|
1317
1314
|
return fe(e.condition, t) ? !0 : e.children.some((n) => fe(n, t));
|
|
1318
1315
|
case 4:
|
|
1319
|
-
return !e.isStatic &&
|
|
1316
|
+
return !e.isStatic && ct(e.content) && !!t[e.content];
|
|
1320
1317
|
case 8:
|
|
1321
|
-
return e.children.some((n) =>
|
|
1318
|
+
return e.children.some((n) => fs(n) && fe(n, t));
|
|
1322
1319
|
case 5:
|
|
1323
1320
|
case 12:
|
|
1324
1321
|
return fe(e.content, t);
|
|
@@ -1330,42 +1327,42 @@ function fe(e, t) {
|
|
|
1330
1327
|
return process.env.NODE_ENV, !1;
|
|
1331
1328
|
}
|
|
1332
1329
|
}
|
|
1333
|
-
function
|
|
1330
|
+
function ws(e) {
|
|
1334
1331
|
return e.type === 14 && e.callee === Wt ? e.arguments[1].returns : e;
|
|
1335
1332
|
}
|
|
1336
|
-
const
|
|
1333
|
+
const Xs = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Bs = {
|
|
1337
1334
|
parseMode: "base",
|
|
1338
1335
|
ns: 0,
|
|
1339
1336
|
delimiters: ["{{", "}}"],
|
|
1340
1337
|
getNamespace: () => 0,
|
|
1341
|
-
isVoidTag:
|
|
1342
|
-
isPreTag:
|
|
1343
|
-
isIgnoreNewlineTag:
|
|
1344
|
-
isCustomElement:
|
|
1338
|
+
isVoidTag: ut,
|
|
1339
|
+
isPreTag: ut,
|
|
1340
|
+
isIgnoreNewlineTag: ut,
|
|
1341
|
+
isCustomElement: ut,
|
|
1345
1342
|
onError: vn,
|
|
1346
|
-
onWarn:
|
|
1343
|
+
onWarn: Os,
|
|
1347
1344
|
comments: process.env.NODE_ENV !== "production",
|
|
1348
1345
|
prefixIdentifiers: !1
|
|
1349
1346
|
};
|
|
1350
|
-
let
|
|
1351
|
-
const k = [], V = new
|
|
1347
|
+
let D = Bs, at = null, Se = "", z = null, R = null, ae = "", Ee = -1, Le = -1, Tn = 0, Ie = !1, rn = null;
|
|
1348
|
+
const k = [], V = new Vi(k, {
|
|
1352
1349
|
onerr: oe,
|
|
1353
1350
|
ontext(e, t) {
|
|
1354
|
-
|
|
1351
|
+
ft(Y(e, t), e, t);
|
|
1355
1352
|
},
|
|
1356
1353
|
ontextentity(e, t, n) {
|
|
1357
|
-
|
|
1354
|
+
ft(e, t, n);
|
|
1358
1355
|
},
|
|
1359
1356
|
oninterpolation(e, t) {
|
|
1360
1357
|
if (Ie)
|
|
1361
|
-
return
|
|
1358
|
+
return ft(Y(e, t), e, t);
|
|
1362
1359
|
let n = e + V.delimiterOpen.length, r = t - V.delimiterClose.length;
|
|
1363
1360
|
for (; ce(Se.charCodeAt(n)); )
|
|
1364
1361
|
n++;
|
|
1365
1362
|
for (; ce(Se.charCodeAt(r - 1)); )
|
|
1366
1363
|
r--;
|
|
1367
1364
|
let a = Y(n, r);
|
|
1368
|
-
a.includes("&") && (a =
|
|
1365
|
+
a.includes("&") && (a = D.decodeEntities(a, !1)), on({
|
|
1369
1366
|
type: 5,
|
|
1370
1367
|
content: gt(a, !1, U(n, r)),
|
|
1371
1368
|
loc: U(e, t)
|
|
@@ -1376,7 +1373,7 @@ const k = [], V = new ki(k, {
|
|
|
1376
1373
|
z = {
|
|
1377
1374
|
type: 1,
|
|
1378
1375
|
tag: n,
|
|
1379
|
-
ns:
|
|
1376
|
+
ns: D.getNamespace(n, k[0], D.ns),
|
|
1380
1377
|
tagType: 0,
|
|
1381
1378
|
// will be refined on tag close
|
|
1382
1379
|
props: [],
|
|
@@ -1386,30 +1383,30 @@ const k = [], V = new ki(k, {
|
|
|
1386
1383
|
};
|
|
1387
1384
|
},
|
|
1388
1385
|
onopentagend(e) {
|
|
1389
|
-
|
|
1386
|
+
Gn(e);
|
|
1390
1387
|
},
|
|
1391
1388
|
onclosetag(e, t) {
|
|
1392
1389
|
const n = Y(e, t);
|
|
1393
|
-
if (!
|
|
1390
|
+
if (!D.isVoidTag(n)) {
|
|
1394
1391
|
let r = !1;
|
|
1395
1392
|
for (let a = 0; a < k.length; a++)
|
|
1396
1393
|
if (k[a].tag.toLowerCase() === n.toLowerCase()) {
|
|
1397
1394
|
r = !0, a > 0 && oe(24, k[0].loc.start.offset);
|
|
1398
1395
|
for (let l = 0; l <= a; l++) {
|
|
1399
1396
|
const s = k.shift();
|
|
1400
|
-
|
|
1397
|
+
Nt(s, t, l < a);
|
|
1401
1398
|
}
|
|
1402
1399
|
break;
|
|
1403
1400
|
}
|
|
1404
|
-
r || oe(23,
|
|
1401
|
+
r || oe(23, xs(e, 60));
|
|
1405
1402
|
}
|
|
1406
1403
|
},
|
|
1407
1404
|
onselfclosingtag(e) {
|
|
1408
1405
|
const t = z.tag;
|
|
1409
|
-
z.isSelfClosing = !0,
|
|
1406
|
+
z.isSelfClosing = !0, Gn(e), k[0] && k[0].tag === t && Nt(k.shift(), e);
|
|
1410
1407
|
},
|
|
1411
1408
|
onattribname(e, t) {
|
|
1412
|
-
|
|
1409
|
+
R = {
|
|
1413
1410
|
type: 6,
|
|
1414
1411
|
name: Y(e, t),
|
|
1415
1412
|
nameLoc: U(e, t),
|
|
@@ -1420,14 +1417,14 @@ const k = [], V = new ki(k, {
|
|
|
1420
1417
|
ondirname(e, t) {
|
|
1421
1418
|
const n = Y(e, t), r = n === "." || n === ":" ? "bind" : n === "@" ? "on" : n === "#" ? "slot" : n.slice(2);
|
|
1422
1419
|
if (!Ie && r === "" && oe(26, e), Ie || r === "")
|
|
1423
|
-
|
|
1420
|
+
R = {
|
|
1424
1421
|
type: 6,
|
|
1425
1422
|
name: n,
|
|
1426
1423
|
nameLoc: U(e, t),
|
|
1427
1424
|
value: void 0,
|
|
1428
1425
|
loc: U(e)
|
|
1429
1426
|
};
|
|
1430
|
-
else if (
|
|
1427
|
+
else if (R = {
|
|
1431
1428
|
type: 7,
|
|
1432
1429
|
name: r,
|
|
1433
1430
|
rawName: n,
|
|
@@ -1436,20 +1433,20 @@ const k = [], V = new ki(k, {
|
|
|
1436
1433
|
modifiers: n === "." ? [C("prop")] : [],
|
|
1437
1434
|
loc: U(e)
|
|
1438
1435
|
}, r === "pre") {
|
|
1439
|
-
Ie = V.inVPre = !0,
|
|
1436
|
+
Ie = V.inVPre = !0, rn = z;
|
|
1440
1437
|
const a = z.props;
|
|
1441
1438
|
for (let i = 0; i < a.length; i++)
|
|
1442
|
-
a[i].type === 7 && (a[i] =
|
|
1439
|
+
a[i].type === 7 && (a[i] = fo(a[i]));
|
|
1443
1440
|
}
|
|
1444
1441
|
},
|
|
1445
1442
|
ondirarg(e, t) {
|
|
1446
1443
|
if (e === t) return;
|
|
1447
1444
|
const n = Y(e, t);
|
|
1448
|
-
if (Ie
|
|
1449
|
-
|
|
1445
|
+
if (Ie)
|
|
1446
|
+
R.name += n, ke(R.nameLoc, t);
|
|
1450
1447
|
else {
|
|
1451
1448
|
const r = n[0] !== "[";
|
|
1452
|
-
|
|
1449
|
+
R.arg = gt(
|
|
1453
1450
|
r ? n : n.slice(1, -1),
|
|
1454
1451
|
r,
|
|
1455
1452
|
U(e, t),
|
|
@@ -1459,14 +1456,14 @@ const k = [], V = new ki(k, {
|
|
|
1459
1456
|
},
|
|
1460
1457
|
ondirmodifier(e, t) {
|
|
1461
1458
|
const n = Y(e, t);
|
|
1462
|
-
if (Ie
|
|
1463
|
-
|
|
1464
|
-
else if (
|
|
1465
|
-
const r =
|
|
1459
|
+
if (Ie)
|
|
1460
|
+
R.name += "." + n, ke(R.nameLoc, t);
|
|
1461
|
+
else if (R.name === "slot") {
|
|
1462
|
+
const r = R.arg;
|
|
1466
1463
|
r && (r.content += "." + n, ke(r.loc, t));
|
|
1467
1464
|
} else {
|
|
1468
1465
|
const r = C(n, !0, U(e, t));
|
|
1469
|
-
|
|
1466
|
+
R.modifiers.push(r);
|
|
1470
1467
|
}
|
|
1471
1468
|
},
|
|
1472
1469
|
onattribdata(e, t) {
|
|
@@ -1476,48 +1473,48 @@ const k = [], V = new ki(k, {
|
|
|
1476
1473
|
ae += e, Ee < 0 && (Ee = t), Le = n;
|
|
1477
1474
|
},
|
|
1478
1475
|
onattribnameend(e) {
|
|
1479
|
-
const t =
|
|
1480
|
-
|
|
1476
|
+
const t = R.loc.start.offset, n = Y(t, e);
|
|
1477
|
+
R.type === 7 && (R.rawName = n), z.props.some(
|
|
1481
1478
|
(r) => (r.type === 7 ? r.rawName : r.name) === n
|
|
1482
1479
|
) && oe(2, t);
|
|
1483
1480
|
},
|
|
1484
1481
|
onattribend(e, t) {
|
|
1485
|
-
if (z &&
|
|
1486
|
-
if (ke(
|
|
1487
|
-
if (ae.includes("&") && (ae =
|
|
1482
|
+
if (z && R) {
|
|
1483
|
+
if (ke(R.loc, t), e !== 0)
|
|
1484
|
+
if (ae.includes("&") && (ae = D.decodeEntities(
|
|
1488
1485
|
ae,
|
|
1489
1486
|
!0
|
|
1490
|
-
)),
|
|
1491
|
-
|
|
1487
|
+
)), R.type === 6)
|
|
1488
|
+
R.name === "class" && (ae = Us(ae).trim()), e === 1 && !ae && oe(13, t), R.value = {
|
|
1492
1489
|
type: 2,
|
|
1493
1490
|
content: ae,
|
|
1494
1491
|
loc: e === 1 ? U(Ee, Le) : U(Ee - 1, Le + 1)
|
|
1495
|
-
}, V.inSFCRoot && z.tag === "template" &&
|
|
1492
|
+
}, V.inSFCRoot && z.tag === "template" && R.name === "lang" && ae && ae !== "html" && V.enterRCDATA(bt("</template"), 0);
|
|
1496
1493
|
else {
|
|
1497
1494
|
let n = 0;
|
|
1498
|
-
|
|
1495
|
+
R.exp = gt(
|
|
1499
1496
|
ae,
|
|
1500
1497
|
!1,
|
|
1501
1498
|
U(Ee, Le),
|
|
1502
1499
|
0,
|
|
1503
1500
|
n
|
|
1504
|
-
),
|
|
1501
|
+
), R.name === "for" && (R.forParseResult = ro(R.exp));
|
|
1505
1502
|
let r = -1;
|
|
1506
|
-
|
|
1503
|
+
R.name === "bind" && (r = R.modifiers.findIndex(
|
|
1507
1504
|
(a) => a.content === "sync"
|
|
1508
1505
|
)) > -1 && Ue(
|
|
1509
1506
|
"COMPILER_V_BIND_SYNC",
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
) && (
|
|
1507
|
+
D,
|
|
1508
|
+
R.loc,
|
|
1509
|
+
R.arg.loc.source
|
|
1510
|
+
) && (R.name = "model", R.modifiers.splice(r, 1));
|
|
1514
1511
|
}
|
|
1515
|
-
(
|
|
1512
|
+
(R.type !== 7 || R.name !== "pre") && z.props.push(R);
|
|
1516
1513
|
}
|
|
1517
1514
|
ae = "", Ee = Le = -1;
|
|
1518
1515
|
},
|
|
1519
1516
|
oncomment(e, t) {
|
|
1520
|
-
|
|
1517
|
+
D.comments && on({
|
|
1521
1518
|
type: 3,
|
|
1522
1519
|
content: Y(e, t),
|
|
1523
1520
|
loc: U(e - 4, t + 3)
|
|
@@ -1561,20 +1558,20 @@ const k = [], V = new ki(k, {
|
|
|
1561
1558
|
break;
|
|
1562
1559
|
}
|
|
1563
1560
|
for (let t = 0; t < k.length; t++)
|
|
1564
|
-
|
|
1561
|
+
Nt(k[t], e - 1), oe(24, k[t].loc.start.offset);
|
|
1565
1562
|
},
|
|
1566
1563
|
oncdata(e, t) {
|
|
1567
|
-
k[0].ns !== 0 ?
|
|
1564
|
+
k[0].ns !== 0 ? ft(Y(e, t), e, t) : oe(1, e - 9);
|
|
1568
1565
|
},
|
|
1569
1566
|
onprocessinginstruction(e) {
|
|
1570
|
-
(k[0] ? k[0].ns :
|
|
1567
|
+
(k[0] ? k[0].ns : D.ns) === 0 && oe(
|
|
1571
1568
|
21,
|
|
1572
1569
|
e - 1
|
|
1573
1570
|
);
|
|
1574
1571
|
}
|
|
1575
|
-
}),
|
|
1576
|
-
function
|
|
1577
|
-
const t = e.loc, n = e.content, r = n.match(
|
|
1572
|
+
}), Wn = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, so = /^\(|\)$/g;
|
|
1573
|
+
function ro(e) {
|
|
1574
|
+
const t = e.loc, n = e.content, r = n.match(Xs);
|
|
1578
1575
|
if (!r) return;
|
|
1579
1576
|
const [, a, i] = r, l = (_, u, d = !1) => {
|
|
1580
1577
|
const E = t.start.offset + u, f = E + _.length;
|
|
@@ -1593,10 +1590,10 @@ function io(e) {
|
|
|
1593
1590
|
index: void 0,
|
|
1594
1591
|
finalized: !1
|
|
1595
1592
|
};
|
|
1596
|
-
let o = a.trim().replace(
|
|
1597
|
-
const c = a.indexOf(o), p = o.match(
|
|
1593
|
+
let o = a.trim().replace(so, "").trim();
|
|
1594
|
+
const c = a.indexOf(o), p = o.match(Wn);
|
|
1598
1595
|
if (p) {
|
|
1599
|
-
o = o.replace(
|
|
1596
|
+
o = o.replace(Wn, "").trim();
|
|
1600
1597
|
const _ = p[1].trim();
|
|
1601
1598
|
let u;
|
|
1602
1599
|
if (_ && (u = n.indexOf(_, c + o.length), s.key = l(_, u, !0)), p[2]) {
|
|
@@ -1616,47 +1613,47 @@ function io(e) {
|
|
|
1616
1613
|
function Y(e, t) {
|
|
1617
1614
|
return Se.slice(e, t);
|
|
1618
1615
|
}
|
|
1619
|
-
function
|
|
1620
|
-
V.inSFCRoot && (z.innerLoc = U(e + 1, e + 1)),
|
|
1616
|
+
function Gn(e) {
|
|
1617
|
+
V.inSFCRoot && (z.innerLoc = U(e + 1, e + 1)), on(z);
|
|
1621
1618
|
const { tag: t, ns: n } = z;
|
|
1622
|
-
n === 0 &&
|
|
1619
|
+
n === 0 && D.isPreTag(t) && Tn++, D.isVoidTag(t) ? Nt(z, e) : (k.unshift(z), (n === 1 || n === 2) && (V.inXML = !0)), z = null;
|
|
1623
1620
|
}
|
|
1624
|
-
function
|
|
1621
|
+
function ft(e, t, n) {
|
|
1625
1622
|
{
|
|
1626
1623
|
const i = k[0] && k[0].tag;
|
|
1627
|
-
i !== "script" && i !== "style" && e.includes("&") && (e =
|
|
1624
|
+
i !== "script" && i !== "style" && e.includes("&") && (e = D.decodeEntities(e, !1));
|
|
1628
1625
|
}
|
|
1629
|
-
const r = k[0] ||
|
|
1626
|
+
const r = k[0] || at, a = r.children[r.children.length - 1];
|
|
1630
1627
|
a && a.type === 2 ? (a.content += e, ke(a.loc, n)) : r.children.push({
|
|
1631
1628
|
type: 2,
|
|
1632
1629
|
content: e,
|
|
1633
1630
|
loc: U(t, n)
|
|
1634
1631
|
});
|
|
1635
1632
|
}
|
|
1636
|
-
function
|
|
1637
|
-
n ? ke(e.loc,
|
|
1633
|
+
function Nt(e, t, n = !1) {
|
|
1634
|
+
n ? ke(e.loc, xs(t, 60)) : ke(e.loc, io(t, 62) + 1), V.inSFCRoot && (e.children.length ? e.innerLoc.end = ge({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = ge({}, e.innerLoc.start), e.innerLoc.source = Y(
|
|
1638
1635
|
e.innerLoc.start.offset,
|
|
1639
1636
|
e.innerLoc.end.offset
|
|
1640
1637
|
));
|
|
1641
1638
|
const { tag: r, ns: a, children: i } = e;
|
|
1642
|
-
if (Ie || (r === "slot" ? e.tagType = 2 :
|
|
1639
|
+
if (Ie || (r === "slot" ? e.tagType = 2 : Jn(e) ? e.tagType = 3 : ao(e) && (e.tagType = 1)), V.inRCDATA || (e.children = Fs(i)), a === 0 && D.isIgnoreNewlineTag(r)) {
|
|
1643
1640
|
const l = i[0];
|
|
1644
1641
|
l && l.type === 2 && (l.content = l.content.replace(/^\r?\n/, ""));
|
|
1645
1642
|
}
|
|
1646
|
-
a === 0 &&
|
|
1643
|
+
a === 0 && D.isPreTag(r) && Tn--, rn === e && (Ie = V.inVPre = !1, rn = null), V.inXML && (k[0] ? k[0].ns : D.ns) === 0 && (V.inXML = !1);
|
|
1647
1644
|
{
|
|
1648
1645
|
const l = e.props;
|
|
1649
1646
|
if (process.env.NODE_ENV !== "production" && Ae(
|
|
1650
1647
|
"COMPILER_V_IF_V_FOR_PRECEDENCE",
|
|
1651
|
-
|
|
1648
|
+
D
|
|
1652
1649
|
)) {
|
|
1653
1650
|
let o = !1, c = !1;
|
|
1654
1651
|
for (let p = 0; p < l.length; p++) {
|
|
1655
1652
|
const _ = l[p];
|
|
1656
1653
|
if (_.type === 7 && (_.name === "if" ? o = !0 : _.name === "for" && (c = !0)), o && c) {
|
|
1657
|
-
|
|
1654
|
+
rt(
|
|
1658
1655
|
"COMPILER_V_IF_V_FOR_PRECEDENCE",
|
|
1659
|
-
|
|
1656
|
+
D,
|
|
1660
1657
|
e.loc
|
|
1661
1658
|
);
|
|
1662
1659
|
break;
|
|
@@ -1665,14 +1662,14 @@ function vt(e, t, n = !1) {
|
|
|
1665
1662
|
}
|
|
1666
1663
|
if (!V.inSFCRoot && Ae(
|
|
1667
1664
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1668
|
-
|
|
1669
|
-
) && e.tag === "template" && !
|
|
1670
|
-
process.env.NODE_ENV !== "production" &&
|
|
1665
|
+
D
|
|
1666
|
+
) && e.tag === "template" && !Jn(e)) {
|
|
1667
|
+
process.env.NODE_ENV !== "production" && rt(
|
|
1671
1668
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1672
|
-
|
|
1669
|
+
D,
|
|
1673
1670
|
e.loc
|
|
1674
1671
|
);
|
|
1675
|
-
const o = k[0] ||
|
|
1672
|
+
const o = k[0] || at, c = o.children.indexOf(e);
|
|
1676
1673
|
o.children.splice(c, 1, ...e.children);
|
|
1677
1674
|
}
|
|
1678
1675
|
const s = l.find(
|
|
@@ -1680,7 +1677,7 @@ function vt(e, t, n = !1) {
|
|
|
1680
1677
|
);
|
|
1681
1678
|
s && Ue(
|
|
1682
1679
|
"COMPILER_INLINE_TEMPLATE",
|
|
1683
|
-
|
|
1680
|
+
D,
|
|
1684
1681
|
s.loc
|
|
1685
1682
|
) && e.children.length && (s.value = {
|
|
1686
1683
|
type: 2,
|
|
@@ -1692,29 +1689,29 @@ function vt(e, t, n = !1) {
|
|
|
1692
1689
|
});
|
|
1693
1690
|
}
|
|
1694
1691
|
}
|
|
1695
|
-
function
|
|
1692
|
+
function io(e, t) {
|
|
1696
1693
|
let n = e;
|
|
1697
1694
|
for (; Se.charCodeAt(n) !== t && n < Se.length - 1; ) n++;
|
|
1698
1695
|
return n;
|
|
1699
1696
|
}
|
|
1700
|
-
function
|
|
1697
|
+
function xs(e, t) {
|
|
1701
1698
|
let n = e;
|
|
1702
1699
|
for (; Se.charCodeAt(n) !== t && n >= 0; ) n--;
|
|
1703
1700
|
return n;
|
|
1704
1701
|
}
|
|
1705
|
-
const
|
|
1706
|
-
function
|
|
1702
|
+
const oo = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
|
|
1703
|
+
function Jn({ tag: e, props: t }) {
|
|
1707
1704
|
if (e === "template") {
|
|
1708
1705
|
for (let n = 0; n < t.length; n++)
|
|
1709
|
-
if (t[n].type === 7 &&
|
|
1706
|
+
if (t[n].type === 7 && oo.has(t[n].name))
|
|
1710
1707
|
return !0;
|
|
1711
1708
|
}
|
|
1712
1709
|
return !1;
|
|
1713
1710
|
}
|
|
1714
|
-
function
|
|
1715
|
-
if (
|
|
1711
|
+
function ao({ tag: e, props: t }) {
|
|
1712
|
+
if (D.isCustomElement(e))
|
|
1716
1713
|
return !1;
|
|
1717
|
-
if (e === "component" ||
|
|
1714
|
+
if (e === "component" || lo(e.charCodeAt(0)) || Nn(e) || D.isBuiltInComponent && D.isBuiltInComponent(e) || D.isNativeTag && !D.isNativeTag(e))
|
|
1718
1715
|
return !0;
|
|
1719
1716
|
for (let n = 0; n < t.length; n++) {
|
|
1720
1717
|
const r = t[n];
|
|
@@ -1724,16 +1721,16 @@ function lo({ tag: e, props: t }) {
|
|
|
1724
1721
|
return !0;
|
|
1725
1722
|
if (Ue(
|
|
1726
1723
|
"COMPILER_IS_ON_ELEMENT",
|
|
1727
|
-
|
|
1724
|
+
D,
|
|
1728
1725
|
r.loc
|
|
1729
1726
|
))
|
|
1730
1727
|
return !0;
|
|
1731
1728
|
}
|
|
1732
1729
|
} else if (
|
|
1733
1730
|
// :is on plain element - only treat as component in compat mode
|
|
1734
|
-
r.name === "bind" &&
|
|
1731
|
+
r.name === "bind" && Ne(r.arg, "is") && Ue(
|
|
1735
1732
|
"COMPILER_IS_ON_ELEMENT",
|
|
1736
|
-
|
|
1733
|
+
D,
|
|
1737
1734
|
r.loc
|
|
1738
1735
|
)
|
|
1739
1736
|
)
|
|
@@ -1741,33 +1738,33 @@ function lo({ tag: e, props: t }) {
|
|
|
1741
1738
|
}
|
|
1742
1739
|
return !1;
|
|
1743
1740
|
}
|
|
1744
|
-
function
|
|
1741
|
+
function lo(e) {
|
|
1745
1742
|
return e > 64 && e < 91;
|
|
1746
1743
|
}
|
|
1747
|
-
const
|
|
1748
|
-
function
|
|
1749
|
-
const t =
|
|
1744
|
+
const co = /\r\n/g;
|
|
1745
|
+
function Fs(e) {
|
|
1746
|
+
const t = D.whitespace !== "preserve";
|
|
1750
1747
|
let n = !1;
|
|
1751
1748
|
for (let r = 0; r < e.length; r++) {
|
|
1752
1749
|
const a = e[r];
|
|
1753
1750
|
if (a.type === 2)
|
|
1754
|
-
if (
|
|
1755
|
-
a.content = a.content.replace(
|
|
1751
|
+
if (Tn)
|
|
1752
|
+
a.content = a.content.replace(co, `
|
|
1756
1753
|
`);
|
|
1757
|
-
else if (
|
|
1754
|
+
else if (_o(a.content)) {
|
|
1758
1755
|
const i = e[r - 1] && e[r - 1].type, l = e[r + 1] && e[r + 1].type;
|
|
1759
|
-
!i || !l || t && (i === 3 && (l === 3 || l === 1) || i === 1 && (l === 3 || l === 1 &&
|
|
1760
|
-
} else t && (a.content =
|
|
1756
|
+
!i || !l || t && (i === 3 && (l === 3 || l === 1) || i === 1 && (l === 3 || l === 1 && po(a.content))) ? (n = !0, e[r] = null) : a.content = " ";
|
|
1757
|
+
} else t && (a.content = Us(a.content));
|
|
1761
1758
|
}
|
|
1762
1759
|
return n ? e.filter(Boolean) : e;
|
|
1763
1760
|
}
|
|
1764
|
-
function
|
|
1761
|
+
function _o(e) {
|
|
1765
1762
|
for (let t = 0; t < e.length; t++)
|
|
1766
1763
|
if (!ce(e.charCodeAt(t)))
|
|
1767
1764
|
return !1;
|
|
1768
1765
|
return !0;
|
|
1769
1766
|
}
|
|
1770
|
-
function
|
|
1767
|
+
function po(e) {
|
|
1771
1768
|
for (let t = 0; t < e.length; t++) {
|
|
1772
1769
|
const n = e.charCodeAt(t);
|
|
1773
1770
|
if (n === 10 || n === 13)
|
|
@@ -1775,14 +1772,14 @@ function uo(e) {
|
|
|
1775
1772
|
}
|
|
1776
1773
|
return !1;
|
|
1777
1774
|
}
|
|
1778
|
-
function
|
|
1775
|
+
function Us(e) {
|
|
1779
1776
|
let t = "", n = !1;
|
|
1780
1777
|
for (let r = 0; r < e.length; r++)
|
|
1781
1778
|
ce(e.charCodeAt(r)) ? n || (t += " ", n = !0) : (t += e[r], n = !1);
|
|
1782
1779
|
return t;
|
|
1783
1780
|
}
|
|
1784
|
-
function
|
|
1785
|
-
(k[0] ||
|
|
1781
|
+
function on(e) {
|
|
1782
|
+
(k[0] || at).children.push(e);
|
|
1786
1783
|
}
|
|
1787
1784
|
function U(e, t) {
|
|
1788
1785
|
return {
|
|
@@ -1793,13 +1790,13 @@ function U(e, t) {
|
|
|
1793
1790
|
source: t == null ? t : Y(e, t)
|
|
1794
1791
|
};
|
|
1795
1792
|
}
|
|
1796
|
-
function
|
|
1793
|
+
function uo(e) {
|
|
1797
1794
|
return U(e.start.offset, e.end.offset);
|
|
1798
1795
|
}
|
|
1799
1796
|
function ke(e, t) {
|
|
1800
1797
|
e.end = V.getPos(t), e.source = Y(e.start.offset, t);
|
|
1801
1798
|
}
|
|
1802
|
-
function
|
|
1799
|
+
function fo(e) {
|
|
1803
1800
|
const t = {
|
|
1804
1801
|
type: 6,
|
|
1805
1802
|
name: e.rawName,
|
|
@@ -1824,42 +1821,42 @@ function gt(e, t = !1, n, r = 0, a = 0) {
|
|
|
1824
1821
|
return C(e, t, n, r);
|
|
1825
1822
|
}
|
|
1826
1823
|
function oe(e, t, n) {
|
|
1827
|
-
|
|
1824
|
+
D.onError(
|
|
1828
1825
|
P(e, U(t, t), void 0, n)
|
|
1829
1826
|
);
|
|
1830
1827
|
}
|
|
1831
|
-
function
|
|
1832
|
-
V.reset(), z = null,
|
|
1828
|
+
function ho() {
|
|
1829
|
+
V.reset(), z = null, R = null, ae = "", Ee = -1, Le = -1, k.length = 0;
|
|
1833
1830
|
}
|
|
1834
|
-
function
|
|
1835
|
-
if (
|
|
1831
|
+
function yn(e, t) {
|
|
1832
|
+
if (ho(), Se = e, D = ge({}, Bs), t) {
|
|
1836
1833
|
let a;
|
|
1837
1834
|
for (a in t)
|
|
1838
|
-
t[a] != null && (
|
|
1835
|
+
t[a] != null && (D[a] = t[a]);
|
|
1839
1836
|
}
|
|
1840
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1837
|
+
if (process.env.NODE_ENV !== "production" && !D.decodeEntities)
|
|
1841
1838
|
throw new Error(
|
|
1842
1839
|
"[@vue/compiler-core] decodeEntities option is required in browser builds."
|
|
1843
1840
|
);
|
|
1844
|
-
V.mode =
|
|
1841
|
+
V.mode = D.parseMode === "html" ? 1 : D.parseMode === "sfc" ? 2 : 0, V.inXML = D.ns === 1 || D.ns === 2;
|
|
1845
1842
|
const n = t && t.delimiters;
|
|
1846
1843
|
n && (V.delimiterOpen = bt(n[0]), V.delimiterClose = bt(n[1]));
|
|
1847
|
-
const r =
|
|
1848
|
-
return V.parse(Se), r.loc = U(0, e.length), r.children =
|
|
1844
|
+
const r = at = Ss([], e);
|
|
1845
|
+
return V.parse(Se), r.loc = U(0, e.length), r.children = Fs(r.children), at = null, r;
|
|
1849
1846
|
}
|
|
1850
|
-
function
|
|
1847
|
+
function mo(e, t) {
|
|
1851
1848
|
St(
|
|
1852
1849
|
e,
|
|
1853
1850
|
void 0,
|
|
1854
1851
|
t,
|
|
1855
1852
|
// Root node is unfortunately non-hoistable due to potential parent
|
|
1856
1853
|
// fallthrough attributes.
|
|
1857
|
-
|
|
1854
|
+
!!$s(e)
|
|
1858
1855
|
);
|
|
1859
1856
|
}
|
|
1860
|
-
function
|
|
1857
|
+
function $s(e) {
|
|
1861
1858
|
const t = e.children.filter((n) => n.type !== 3);
|
|
1862
|
-
return t.length === 1 && t[0].type === 1 && !
|
|
1859
|
+
return t.length === 1 && t[0].type === 1 && !it(t[0]) ? t[0] : null;
|
|
1863
1860
|
}
|
|
1864
1861
|
function St(e, t, n, r = !1, a = !1) {
|
|
1865
1862
|
const { children: i } = e, l = [];
|
|
@@ -1876,17 +1873,15 @@ function St(e, t, n, r = !1, a = !1) {
|
|
|
1876
1873
|
const E = u.codegenNode;
|
|
1877
1874
|
if (E.type === 13) {
|
|
1878
1875
|
const f = E.patchFlag;
|
|
1879
|
-
if ((f === void 0 || f === 512 || f === 1) &&
|
|
1880
|
-
const
|
|
1881
|
-
|
|
1876
|
+
if ((f === void 0 || f === 512 || f === 1) && Hs(u, n) >= 2) {
|
|
1877
|
+
const N = Ks(u);
|
|
1878
|
+
N && (E.props = n.hoist(N));
|
|
1882
1879
|
}
|
|
1883
1880
|
E.dynamicProps && (E.dynamicProps = n.hoist(E.dynamicProps));
|
|
1884
1881
|
}
|
|
1885
1882
|
}
|
|
1886
1883
|
} else if (u.type === 12 && (r ? 0 : le(u, n)) >= 2) {
|
|
1887
|
-
|
|
1888
|
-
-1 + (process.env.NODE_ENV !== "production" ? ` /* ${tt[-1]} */` : "")
|
|
1889
|
-
), l.push(u);
|
|
1884
|
+
l.push(u);
|
|
1890
1885
|
continue;
|
|
1891
1886
|
}
|
|
1892
1887
|
if (u.type === 1) {
|
|
@@ -1960,7 +1955,7 @@ function le(e, t) {
|
|
|
1960
1955
|
return 0;
|
|
1961
1956
|
if (a.patchFlag === void 0) {
|
|
1962
1957
|
let l = 3;
|
|
1963
|
-
const s =
|
|
1958
|
+
const s = Hs(e, t);
|
|
1964
1959
|
if (s === 0)
|
|
1965
1960
|
return n.set(e, 0), 0;
|
|
1966
1961
|
s < l && (l = s);
|
|
@@ -2007,7 +2002,7 @@ function le(e, t) {
|
|
|
2007
2002
|
let i = 3;
|
|
2008
2003
|
for (let l = 0; l < e.children.length; l++) {
|
|
2009
2004
|
const s = e.children[l];
|
|
2010
|
-
if (j(s) ||
|
|
2005
|
+
if (j(s) || cn(s))
|
|
2011
2006
|
continue;
|
|
2012
2007
|
const o = le(s, t);
|
|
2013
2008
|
if (o === 0)
|
|
@@ -2021,25 +2016,25 @@ function le(e, t) {
|
|
|
2021
2016
|
return process.env.NODE_ENV, 0;
|
|
2022
2017
|
}
|
|
2023
2018
|
}
|
|
2024
|
-
const
|
|
2019
|
+
const Eo = /* @__PURE__ */ new Set([
|
|
2025
2020
|
$t,
|
|
2026
2021
|
jt,
|
|
2027
2022
|
Ge,
|
|
2028
2023
|
Ze
|
|
2029
2024
|
]);
|
|
2030
|
-
function
|
|
2031
|
-
if (e.type === 14 && !j(e.callee) &&
|
|
2025
|
+
function js(e, t) {
|
|
2026
|
+
if (e.type === 14 && !j(e.callee) && Eo.has(e.callee)) {
|
|
2032
2027
|
const n = e.arguments[0];
|
|
2033
2028
|
if (n.type === 4)
|
|
2034
2029
|
return le(n, t);
|
|
2035
2030
|
if (n.type === 14)
|
|
2036
|
-
return
|
|
2031
|
+
return js(n, t);
|
|
2037
2032
|
}
|
|
2038
2033
|
return 0;
|
|
2039
2034
|
}
|
|
2040
|
-
function
|
|
2035
|
+
function Hs(e, t) {
|
|
2041
2036
|
let n = 3;
|
|
2042
|
-
const r =
|
|
2037
|
+
const r = Ks(e);
|
|
2043
2038
|
if (r && r.type === 15) {
|
|
2044
2039
|
const { properties: a } = r;
|
|
2045
2040
|
for (let i = 0; i < a.length; i++) {
|
|
@@ -2048,19 +2043,19 @@ function Ks(e, t) {
|
|
|
2048
2043
|
return o;
|
|
2049
2044
|
o < n && (n = o);
|
|
2050
2045
|
let c;
|
|
2051
|
-
if (s.type === 4 ? c = le(s, t) : s.type === 14 ? c =
|
|
2046
|
+
if (s.type === 4 ? c = le(s, t) : s.type === 14 ? c = js(s, t) : c = 0, c === 0)
|
|
2052
2047
|
return c;
|
|
2053
2048
|
c < n && (n = c);
|
|
2054
2049
|
}
|
|
2055
2050
|
}
|
|
2056
2051
|
return n;
|
|
2057
2052
|
}
|
|
2058
|
-
function
|
|
2053
|
+
function Ks(e) {
|
|
2059
2054
|
const t = e.codegenNode;
|
|
2060
2055
|
if (t.type === 13)
|
|
2061
2056
|
return t.props;
|
|
2062
2057
|
}
|
|
2063
|
-
function
|
|
2058
|
+
function Ws(e, {
|
|
2064
2059
|
filename: t = "",
|
|
2065
2060
|
prefixIdentifiers: n = !1,
|
|
2066
2061
|
hoistStatic: r = !1,
|
|
@@ -2076,18 +2071,18 @@ function Gs(e, {
|
|
|
2076
2071
|
slotted: d = !0,
|
|
2077
2072
|
ssr: E = !1,
|
|
2078
2073
|
inSSR: f = !1,
|
|
2079
|
-
ssrCssVars:
|
|
2080
|
-
bindingMetadata: O =
|
|
2074
|
+
ssrCssVars: N = "",
|
|
2075
|
+
bindingMetadata: O = ui,
|
|
2081
2076
|
inline: y = !1,
|
|
2082
2077
|
isTS: w = !1,
|
|
2083
2078
|
onError: se = vn,
|
|
2084
|
-
onWarn: F =
|
|
2079
|
+
onWarn: F = Os,
|
|
2085
2080
|
compatConfig: re
|
|
2086
2081
|
}) {
|
|
2087
2082
|
const X = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), b = {
|
|
2088
2083
|
// options
|
|
2089
2084
|
filename: t,
|
|
2090
|
-
selfName: X &&
|
|
2085
|
+
selfName: X && ds(Ce(X[1])),
|
|
2091
2086
|
prefixIdentifiers: n,
|
|
2092
2087
|
hoistStatic: r,
|
|
2093
2088
|
hmr: a,
|
|
@@ -2102,7 +2097,7 @@ function Gs(e, {
|
|
|
2102
2097
|
slotted: d,
|
|
2103
2098
|
ssr: E,
|
|
2104
2099
|
inSSR: f,
|
|
2105
|
-
ssrCssVars:
|
|
2100
|
+
ssrCssVars: N,
|
|
2106
2101
|
bindingMetadata: O,
|
|
2107
2102
|
inline: y,
|
|
2108
2103
|
isTS: w,
|
|
@@ -2179,25 +2174,25 @@ function Gs(e, {
|
|
|
2179
2174
|
return m.hoisted = I, m;
|
|
2180
2175
|
},
|
|
2181
2176
|
cache(I, m = !1, S = !1) {
|
|
2182
|
-
const
|
|
2177
|
+
const v = Ts(
|
|
2183
2178
|
b.cached.length,
|
|
2184
2179
|
I,
|
|
2185
2180
|
m,
|
|
2186
2181
|
S
|
|
2187
2182
|
);
|
|
2188
|
-
return b.cached.push(
|
|
2183
|
+
return b.cached.push(v), v;
|
|
2189
2184
|
}
|
|
2190
2185
|
};
|
|
2191
2186
|
return b.filters = /* @__PURE__ */ new Set(), b;
|
|
2192
2187
|
}
|
|
2193
|
-
function
|
|
2194
|
-
const n =
|
|
2195
|
-
|
|
2188
|
+
function Gs(e, t) {
|
|
2189
|
+
const n = Ws(e, t);
|
|
2190
|
+
_t(e, n), t.hoistStatic && mo(e, n), t.ssr || vo(e, n), e.helpers = /* @__PURE__ */ new Set([...n.helpers.keys()]), e.components = [...n.components], e.directives = [...n.directives], e.imports = n.imports, e.hoists = n.hoists, e.temps = n.temps, e.cached = n.cached, e.transformed = !0, e.filters = [...n.filters];
|
|
2196
2191
|
}
|
|
2197
2192
|
function vo(e, t) {
|
|
2198
2193
|
const { helper: n } = t, { children: r } = e;
|
|
2199
2194
|
if (r.length === 1) {
|
|
2200
|
-
const a =
|
|
2195
|
+
const a = $s(e);
|
|
2201
2196
|
if (a && a.codegenNode) {
|
|
2202
2197
|
const i = a.codegenNode;
|
|
2203
2198
|
i.type === 13 && Gt(i, t), e.codegenNode = i;
|
|
@@ -2219,17 +2214,17 @@ function vo(e, t) {
|
|
|
2219
2214
|
);
|
|
2220
2215
|
}
|
|
2221
2216
|
}
|
|
2222
|
-
function
|
|
2217
|
+
function No(e, t) {
|
|
2223
2218
|
let n = 0;
|
|
2224
2219
|
const r = () => {
|
|
2225
2220
|
n--;
|
|
2226
2221
|
};
|
|
2227
2222
|
for (; n < e.children.length; n++) {
|
|
2228
2223
|
const a = e.children[n];
|
|
2229
|
-
j(a) || (t.grandParent = t.parent, t.parent = e, t.childIndex = n, t.onNodeRemoved = r,
|
|
2224
|
+
j(a) || (t.grandParent = t.parent, t.parent = e, t.childIndex = n, t.onNodeRemoved = r, _t(a, t));
|
|
2230
2225
|
}
|
|
2231
2226
|
}
|
|
2232
|
-
function
|
|
2227
|
+
function _t(e, t) {
|
|
2233
2228
|
t.currentNode = e;
|
|
2234
2229
|
const { nodeTransforms: n } = t, r = [];
|
|
2235
2230
|
for (let i = 0; i < n.length; i++) {
|
|
@@ -2244,18 +2239,18 @@ function pt(e, t) {
|
|
|
2244
2239
|
t.ssr || t.helper(Qe);
|
|
2245
2240
|
break;
|
|
2246
2241
|
case 5:
|
|
2247
|
-
t.ssr || t.helper(
|
|
2242
|
+
t.ssr || t.helper(lt);
|
|
2248
2243
|
break;
|
|
2249
2244
|
// for container types, further traverse downwards
|
|
2250
2245
|
case 9:
|
|
2251
2246
|
for (let i = 0; i < e.branches.length; i++)
|
|
2252
|
-
|
|
2247
|
+
_t(e.branches[i], t);
|
|
2253
2248
|
break;
|
|
2254
2249
|
case 10:
|
|
2255
2250
|
case 11:
|
|
2256
2251
|
case 1:
|
|
2257
2252
|
case 0:
|
|
2258
|
-
|
|
2253
|
+
No(e, t);
|
|
2259
2254
|
break;
|
|
2260
2255
|
}
|
|
2261
2256
|
t.currentNode = e;
|
|
@@ -2263,12 +2258,12 @@ function pt(e, t) {
|
|
|
2263
2258
|
for (; a--; )
|
|
2264
2259
|
r[a]();
|
|
2265
2260
|
}
|
|
2266
|
-
function
|
|
2261
|
+
function On(e, t) {
|
|
2267
2262
|
const n = j(e) ? (r) => r === e : (r) => e.test(r);
|
|
2268
2263
|
return (r, a) => {
|
|
2269
2264
|
if (r.type === 1) {
|
|
2270
2265
|
const { props: i } = r;
|
|
2271
|
-
if (r.tagType === 3 && i.some(
|
|
2266
|
+
if (r.tagType === 3 && i.some(Sn))
|
|
2272
2267
|
return;
|
|
2273
2268
|
const l = [];
|
|
2274
2269
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -2283,8 +2278,8 @@ function In(e, t) {
|
|
|
2283
2278
|
}
|
|
2284
2279
|
};
|
|
2285
2280
|
}
|
|
2286
|
-
const Jt = "/*@__PURE__*/",
|
|
2287
|
-
function
|
|
2281
|
+
const Jt = "/*@__PURE__*/", Js = (e) => `${Xe[e]}: _${Xe[e]}`;
|
|
2282
|
+
function go(e, {
|
|
2288
2283
|
mode: t = "function",
|
|
2289
2284
|
prefixIdentifiers: n = t === "module",
|
|
2290
2285
|
sourceMap: r = !1,
|
|
@@ -2322,7 +2317,7 @@ function So(e, {
|
|
|
2322
2317
|
helper(f) {
|
|
2323
2318
|
return `_${Xe[f]}`;
|
|
2324
2319
|
},
|
|
2325
|
-
push(f,
|
|
2320
|
+
push(f, N = -2, O) {
|
|
2326
2321
|
d.code += f;
|
|
2327
2322
|
},
|
|
2328
2323
|
indent() {
|
|
@@ -2345,8 +2340,8 @@ function So(e, {
|
|
|
2345
2340
|
}
|
|
2346
2341
|
return d;
|
|
2347
2342
|
}
|
|
2348
|
-
function
|
|
2349
|
-
const n =
|
|
2343
|
+
function Ys(e, t = {}) {
|
|
2344
|
+
const n = go(e, t);
|
|
2350
2345
|
t.onContextCreated && t.onContextCreated(n);
|
|
2351
2346
|
const {
|
|
2352
2347
|
mode: r,
|
|
@@ -2358,10 +2353,10 @@ function qs(e, t = {}) {
|
|
|
2358
2353
|
scopeId: c,
|
|
2359
2354
|
ssr: p
|
|
2360
2355
|
} = n, _ = Array.from(e.helpers), u = _.length > 0, d = !i && r !== "module";
|
|
2361
|
-
|
|
2356
|
+
So(e, n);
|
|
2362
2357
|
const f = p ? "ssrRender" : "render", O = (p ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
|
|
2363
2358
|
if (a(`function ${f}(${O}) {`), l(), d && (a("with (_ctx) {"), l(), u && (a(
|
|
2364
|
-
`const { ${_.map(
|
|
2359
|
+
`const { ${_.map(Js).join(", ")} } = _Vue
|
|
2365
2360
|
`,
|
|
2366
2361
|
-1
|
|
2367
2362
|
/* End */
|
|
@@ -2382,7 +2377,7 @@ function qs(e, t = {}) {
|
|
|
2382
2377
|
map: n.map ? n.map.toJSON() : void 0
|
|
2383
2378
|
};
|
|
2384
2379
|
}
|
|
2385
|
-
function
|
|
2380
|
+
function So(e, t) {
|
|
2386
2381
|
const {
|
|
2387
2382
|
ssr: n,
|
|
2388
2383
|
prefixIdentifiers: r,
|
|
@@ -2403,8 +2398,8 @@ function To(e, t) {
|
|
|
2403
2398
|
Vt,
|
|
2404
2399
|
Qe,
|
|
2405
2400
|
kt,
|
|
2406
|
-
|
|
2407
|
-
].filter((u) => p.includes(u)).map(
|
|
2401
|
+
fn
|
|
2402
|
+
].filter((u) => p.includes(u)).map(Js).join(", ");
|
|
2408
2403
|
a(
|
|
2409
2404
|
`const { ${_} } = _Vue
|
|
2410
2405
|
`,
|
|
@@ -2412,7 +2407,7 @@ function To(e, t) {
|
|
|
2412
2407
|
/* End */
|
|
2413
2408
|
);
|
|
2414
2409
|
}
|
|
2415
|
-
|
|
2410
|
+
To(e.hoists, t), i(), a("return ");
|
|
2416
2411
|
}
|
|
2417
2412
|
function Zt(e, t, { helper: n, push: r, newline: a, isTS: i }) {
|
|
2418
2413
|
const l = n(
|
|
@@ -2426,7 +2421,7 @@ function Zt(e, t, { helper: n, push: r, newline: a, isTS: i }) {
|
|
|
2426
2421
|
), s < e.length - 1 && a();
|
|
2427
2422
|
}
|
|
2428
2423
|
}
|
|
2429
|
-
function
|
|
2424
|
+
function To(e, t) {
|
|
2430
2425
|
if (!e.length)
|
|
2431
2426
|
return;
|
|
2432
2427
|
t.pure = !0;
|
|
@@ -2438,14 +2433,14 @@ function yo(e, t) {
|
|
|
2438
2433
|
}
|
|
2439
2434
|
t.pure = !1;
|
|
2440
2435
|
}
|
|
2441
|
-
function
|
|
2436
|
+
function yo(e) {
|
|
2442
2437
|
return j(e) || e.type === 4 || e.type === 2 || e.type === 5 || e.type === 8;
|
|
2443
2438
|
}
|
|
2444
|
-
function
|
|
2445
|
-
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) => he(r) || !
|
|
2446
|
-
t.push("["), n && t.indent(),
|
|
2439
|
+
function In(e, t) {
|
|
2440
|
+
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) => he(r) || !yo(r));
|
|
2441
|
+
t.push("["), n && t.indent(), pt(e, t, n), n && t.deindent(), t.push("]");
|
|
2447
2442
|
}
|
|
2448
|
-
function
|
|
2443
|
+
function pt(e, t, n = !1, r = !0) {
|
|
2449
2444
|
const { push: a, newline: i } = t;
|
|
2450
2445
|
for (let l = 0; l < e.length; l++) {
|
|
2451
2446
|
const s = e[l];
|
|
@@ -2453,7 +2448,7 @@ function ut(e, t, n = !1, r = !0) {
|
|
|
2453
2448
|
s,
|
|
2454
2449
|
-3
|
|
2455
2450
|
/* Unknown */
|
|
2456
|
-
) : he(s) ?
|
|
2451
|
+
) : he(s) ? In(s, t) : Z(s, t), l < e.length - 1 && (n ? (r && a(","), i()) : r && a(", "));
|
|
2457
2452
|
}
|
|
2458
2453
|
}
|
|
2459
2454
|
function Z(e, t) {
|
|
@@ -2465,7 +2460,7 @@ function Z(e, t) {
|
|
|
2465
2460
|
);
|
|
2466
2461
|
return;
|
|
2467
2462
|
}
|
|
2468
|
-
if (
|
|
2463
|
+
if (cn(e)) {
|
|
2469
2464
|
t.push(t.helper(e));
|
|
2470
2465
|
return;
|
|
2471
2466
|
}
|
|
@@ -2479,46 +2474,46 @@ function Z(e, t) {
|
|
|
2479
2474
|
), Z(e.codegenNode, t);
|
|
2480
2475
|
break;
|
|
2481
2476
|
case 2:
|
|
2482
|
-
|
|
2477
|
+
Oo(e, t);
|
|
2483
2478
|
break;
|
|
2484
2479
|
case 4:
|
|
2485
|
-
|
|
2480
|
+
qs(e, t);
|
|
2486
2481
|
break;
|
|
2487
2482
|
case 5:
|
|
2488
|
-
|
|
2483
|
+
Io(e, t);
|
|
2489
2484
|
break;
|
|
2490
2485
|
case 12:
|
|
2491
2486
|
Z(e.codegenNode, t);
|
|
2492
2487
|
break;
|
|
2493
2488
|
case 8:
|
|
2494
|
-
|
|
2489
|
+
zs(e, t);
|
|
2495
2490
|
break;
|
|
2496
2491
|
case 3:
|
|
2497
|
-
|
|
2492
|
+
bo(e, t);
|
|
2498
2493
|
break;
|
|
2499
2494
|
case 13:
|
|
2500
|
-
|
|
2495
|
+
Ao(e, t);
|
|
2501
2496
|
break;
|
|
2502
2497
|
case 14:
|
|
2503
|
-
|
|
2498
|
+
Ro(e, t);
|
|
2504
2499
|
break;
|
|
2505
2500
|
case 15:
|
|
2506
|
-
|
|
2501
|
+
Mo(e, t);
|
|
2507
2502
|
break;
|
|
2508
2503
|
case 17:
|
|
2509
|
-
|
|
2504
|
+
Po(e, t);
|
|
2510
2505
|
break;
|
|
2511
2506
|
case 18:
|
|
2512
|
-
|
|
2507
|
+
Lo(e, t);
|
|
2513
2508
|
break;
|
|
2514
2509
|
case 19:
|
|
2515
|
-
|
|
2510
|
+
Vo(e, t);
|
|
2516
2511
|
break;
|
|
2517
2512
|
case 20:
|
|
2518
|
-
|
|
2513
|
+
ko(e, t);
|
|
2519
2514
|
break;
|
|
2520
2515
|
case 21:
|
|
2521
|
-
|
|
2516
|
+
pt(e.body, t, !0, !1);
|
|
2522
2517
|
break;
|
|
2523
2518
|
// SSR only types
|
|
2524
2519
|
case 22:
|
|
@@ -2539,10 +2534,10 @@ function Z(e, t) {
|
|
|
2539
2534
|
return sn(!1, `unhandled codegen node type: ${e.type}`), e;
|
|
2540
2535
|
}
|
|
2541
2536
|
}
|
|
2542
|
-
function
|
|
2537
|
+
function Oo(e, t) {
|
|
2543
2538
|
t.push(JSON.stringify(e.content), -3, e);
|
|
2544
2539
|
}
|
|
2545
|
-
function
|
|
2540
|
+
function qs(e, t) {
|
|
2546
2541
|
const { content: n, isStatic: r } = e;
|
|
2547
2542
|
t.push(
|
|
2548
2543
|
r ? JSON.stringify(n) : n,
|
|
@@ -2550,11 +2545,11 @@ function zs(e, t) {
|
|
|
2550
2545
|
e
|
|
2551
2546
|
);
|
|
2552
2547
|
}
|
|
2553
|
-
function
|
|
2548
|
+
function Io(e, t) {
|
|
2554
2549
|
const { push: n, helper: r, pure: a } = t;
|
|
2555
|
-
a && n(Jt), n(`${r(
|
|
2550
|
+
a && n(Jt), n(`${r(lt)}(`), Z(e.content, t), n(")");
|
|
2556
2551
|
}
|
|
2557
|
-
function
|
|
2552
|
+
function zs(e, t) {
|
|
2558
2553
|
for (let n = 0; n < e.children.length; n++) {
|
|
2559
2554
|
const r = e.children[n];
|
|
2560
2555
|
j(r) ? t.push(
|
|
@@ -2564,17 +2559,17 @@ function Qs(e, t) {
|
|
|
2564
2559
|
) : Z(r, t);
|
|
2565
2560
|
}
|
|
2566
2561
|
}
|
|
2567
|
-
function
|
|
2562
|
+
function Co(e, t) {
|
|
2568
2563
|
const { push: n } = t;
|
|
2569
2564
|
if (e.type === 8)
|
|
2570
|
-
n("["),
|
|
2565
|
+
n("["), zs(e, t), n("]");
|
|
2571
2566
|
else if (e.isStatic) {
|
|
2572
|
-
const r =
|
|
2567
|
+
const r = ct(e.content) ? e.content : JSON.stringify(e.content);
|
|
2573
2568
|
n(r, -2, e);
|
|
2574
2569
|
} else
|
|
2575
2570
|
n(`[${e.content}]`, -3, e);
|
|
2576
2571
|
}
|
|
2577
|
-
function
|
|
2572
|
+
function bo(e, t) {
|
|
2578
2573
|
const { push: n, helper: r, pure: a } = t;
|
|
2579
2574
|
a && n(Jt), n(
|
|
2580
2575
|
`${r(Qe)}(${JSON.stringify(e.content)})`,
|
|
@@ -2582,7 +2577,7 @@ function Ao(e, t) {
|
|
|
2582
2577
|
e
|
|
2583
2578
|
);
|
|
2584
2579
|
}
|
|
2585
|
-
function
|
|
2580
|
+
function Ao(e, t) {
|
|
2586
2581
|
const { push: n, helper: r, pure: a } = t, {
|
|
2587
2582
|
tag: i,
|
|
2588
2583
|
props: l,
|
|
@@ -2598,31 +2593,31 @@ function Do(e, t) {
|
|
|
2598
2593
|
if (o)
|
|
2599
2594
|
if (process.env.NODE_ENV !== "production")
|
|
2600
2595
|
if (o < 0)
|
|
2601
|
-
E = o + ` /* ${
|
|
2596
|
+
E = o + ` /* ${Et[o]} */`;
|
|
2602
2597
|
else {
|
|
2603
|
-
const
|
|
2604
|
-
E = o + ` /* ${
|
|
2598
|
+
const N = Object.keys(Et).map(Number).filter((O) => O > 0 && o & O).map((O) => Et[O]).join(", ");
|
|
2599
|
+
E = o + ` /* ${N} */`;
|
|
2605
2600
|
}
|
|
2606
2601
|
else
|
|
2607
2602
|
E = String(o);
|
|
2608
2603
|
p && n(r(Ft) + "("), _ && n(`(${r(De)}(${u ? "true" : ""}), `), a && n(Jt);
|
|
2609
2604
|
const f = _ ? Fe(t.inSSR, d) : xe(t.inSSR, d);
|
|
2610
|
-
n(r(f) + "(", -2, e),
|
|
2611
|
-
|
|
2605
|
+
n(r(f) + "(", -2, e), pt(
|
|
2606
|
+
Do([i, l, s, E, c]),
|
|
2612
2607
|
t
|
|
2613
2608
|
), n(")"), _ && n(")"), p && (n(", "), Z(p, t), n(")"));
|
|
2614
2609
|
}
|
|
2615
|
-
function
|
|
2610
|
+
function Do(e) {
|
|
2616
2611
|
let t = e.length;
|
|
2617
2612
|
for (; t-- && e[t] == null; )
|
|
2618
2613
|
;
|
|
2619
2614
|
return e.slice(0, t + 1).map((n) => n || "null");
|
|
2620
2615
|
}
|
|
2621
|
-
function
|
|
2616
|
+
function Ro(e, t) {
|
|
2622
2617
|
const { push: n, helper: r, pure: a } = t, i = j(e.callee) ? e.callee : r(e.callee);
|
|
2623
|
-
a && n(Jt), n(i + "(", -2, e),
|
|
2618
|
+
a && n(Jt), n(i + "(", -2, e), pt(e.arguments, t), n(")");
|
|
2624
2619
|
}
|
|
2625
|
-
function
|
|
2620
|
+
function Mo(e, t) {
|
|
2626
2621
|
const { push: n, indent: r, deindent: a, newline: i } = t, { properties: l } = e;
|
|
2627
2622
|
if (!l.length) {
|
|
2628
2623
|
n("{}", -2, e);
|
|
@@ -2632,22 +2627,22 @@ function Po(e, t) {
|
|
|
2632
2627
|
n(s ? "{" : "{ "), s && r();
|
|
2633
2628
|
for (let o = 0; o < l.length; o++) {
|
|
2634
2629
|
const { key: c, value: p } = l[o];
|
|
2635
|
-
|
|
2630
|
+
Co(c, t), n(": "), Z(p, t), o < l.length - 1 && (n(","), i());
|
|
2636
2631
|
}
|
|
2637
2632
|
s && a(), n(s ? "}" : " }");
|
|
2638
2633
|
}
|
|
2639
|
-
function
|
|
2640
|
-
|
|
2634
|
+
function Po(e, t) {
|
|
2635
|
+
In(e.elements, t);
|
|
2641
2636
|
}
|
|
2642
|
-
function
|
|
2637
|
+
function Lo(e, t) {
|
|
2643
2638
|
const { push: n, indent: r, deindent: a } = t, { params: i, returns: l, body: s, newline: o, isSlot: c } = e;
|
|
2644
|
-
c && n(`_${Xe[Kt]}(`), n("(", -2, e), he(i) ?
|
|
2639
|
+
c && n(`_${Xe[Kt]}(`), n("(", -2, e), he(i) ? pt(i, t) : i && Z(i, t), n(") => "), (o || s) && (n("{"), r()), l ? (o && n("return "), he(l) ? In(l, t) : Z(l, t)) : s && Z(s, t), (o || s) && (a(), n("}")), c && (e.isNonScopedSlot && n(", undefined, true"), n(")"));
|
|
2645
2640
|
}
|
|
2646
|
-
function
|
|
2641
|
+
function Vo(e, t) {
|
|
2647
2642
|
const { test: n, consequent: r, alternate: a, newline: i } = e, { push: l, indent: s, deindent: o, newline: c } = t;
|
|
2648
2643
|
if (n.type === 4) {
|
|
2649
|
-
const _ = !
|
|
2650
|
-
_ && l("("),
|
|
2644
|
+
const _ = !ct(n.content);
|
|
2645
|
+
_ && l("("), qs(n, t), _ && l(")");
|
|
2651
2646
|
} else
|
|
2652
2647
|
l("("), Z(n, t), l(")");
|
|
2653
2648
|
i && s(), t.indentLevel++, i || l(" "), l("? "), Z(r, t), t.indentLevel--, i && c(), i || l(" "), l(": ");
|
|
@@ -2657,13 +2652,13 @@ function ko(e, t) {
|
|
|
2657
2652
|
/* without newline */
|
|
2658
2653
|
);
|
|
2659
2654
|
}
|
|
2660
|
-
function
|
|
2655
|
+
function ko(e, t) {
|
|
2661
2656
|
const { push: n, helper: r, indent: a, deindent: i, newline: l } = t, { needPauseTracking: s, needArraySpread: o } = e;
|
|
2662
|
-
o && n("[...("), n(`_cache[${e.index}] || (`), s && (a(), n(`${r(
|
|
2657
|
+
o && n("[...("), n(`_cache[${e.index}] || (`), s && (a(), n(`${r(st)}(-1`), e.inVOnce && n(", true"), n("),"), l(), n("(")), n(`_cache[${e.index}] = `), Z(e.value, t), s && (n(`).cacheIndex = ${e.index},`), l(), n(`${r(st)}(1),`), l(), n(`_cache[${e.index}]`), i()), n(")"), o && n(")]");
|
|
2663
2658
|
}
|
|
2664
|
-
const
|
|
2659
|
+
const wo = new RegExp(
|
|
2665
2660
|
"\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
|
|
2666
|
-
),
|
|
2661
|
+
), Xo = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
|
|
2667
2662
|
function we(e, t, n = !1, r = !1) {
|
|
2668
2663
|
const a = e.content;
|
|
2669
2664
|
if (a.trim())
|
|
@@ -2673,7 +2668,7 @@ function we(e, t, n = !1, r = !1) {
|
|
|
2673
2668
|
);
|
|
2674
2669
|
} catch (i) {
|
|
2675
2670
|
let l = i.message;
|
|
2676
|
-
const s = a.replace(
|
|
2671
|
+
const s = a.replace(Xo, "").match(wo);
|
|
2677
2672
|
s && (l = `avoid using JavaScript keyword as property name: "${s[0]}"`), t.onError(
|
|
2678
2673
|
P(
|
|
2679
2674
|
45,
|
|
@@ -2684,7 +2679,7 @@ function we(e, t, n = !1, r = !1) {
|
|
|
2684
2679
|
);
|
|
2685
2680
|
}
|
|
2686
2681
|
}
|
|
2687
|
-
const
|
|
2682
|
+
const Qs = (e, t) => {
|
|
2688
2683
|
if (e.type === 5)
|
|
2689
2684
|
e.content = Tt(
|
|
2690
2685
|
e.content,
|
|
@@ -2710,12 +2705,12 @@ const Zs = (e, t) => {
|
|
|
2710
2705
|
function Tt(e, t, n = !1, r = !1, a = Object.create(t.identifiers)) {
|
|
2711
2706
|
return process.env.NODE_ENV !== "production" && we(e, t, n, r), e;
|
|
2712
2707
|
}
|
|
2713
|
-
function
|
|
2714
|
-
return j(e) ? e : e.type === 4 ? e.content : e.children.map(
|
|
2708
|
+
function Zs(e) {
|
|
2709
|
+
return j(e) ? e : e.type === 4 ? e.content : e.children.map(Zs).join("");
|
|
2715
2710
|
}
|
|
2716
|
-
const
|
|
2711
|
+
const Bo = On(
|
|
2717
2712
|
/^(if|else|else-if)$/,
|
|
2718
|
-
(e, t, n) =>
|
|
2713
|
+
(e, t, n) => er(e, t, n, (r, a, i) => {
|
|
2719
2714
|
const l = n.parent.children;
|
|
2720
2715
|
let s = l.indexOf(r), o = 0;
|
|
2721
2716
|
for (; s-- >= 0; ) {
|
|
@@ -2724,14 +2719,14 @@ const xo = In(
|
|
|
2724
2719
|
}
|
|
2725
2720
|
return () => {
|
|
2726
2721
|
if (i)
|
|
2727
|
-
r.codegenNode =
|
|
2722
|
+
r.codegenNode = qn(
|
|
2728
2723
|
a,
|
|
2729
2724
|
o,
|
|
2730
2725
|
n
|
|
2731
2726
|
);
|
|
2732
2727
|
else {
|
|
2733
|
-
const c =
|
|
2734
|
-
c.alternate =
|
|
2728
|
+
const c = Fo(r.codegenNode);
|
|
2729
|
+
c.alternate = qn(
|
|
2735
2730
|
a,
|
|
2736
2731
|
o + r.branches.length - 1,
|
|
2737
2732
|
n
|
|
@@ -2740,7 +2735,7 @@ const xo = In(
|
|
|
2740
2735
|
};
|
|
2741
2736
|
})
|
|
2742
2737
|
);
|
|
2743
|
-
function
|
|
2738
|
+
function er(e, t, n, r) {
|
|
2744
2739
|
if (t.name !== "else" && (!t.exp || !t.exp.content.trim())) {
|
|
2745
2740
|
const a = t.exp ? t.exp.loc : e.loc;
|
|
2746
2741
|
n.onError(
|
|
@@ -2748,9 +2743,9 @@ function tr(e, t, n, r) {
|
|
|
2748
2743
|
), t.exp = C("true", !1, a);
|
|
2749
2744
|
}
|
|
2750
2745
|
if (process.env.NODE_ENV !== "production" && t.exp && we(t.exp, n), t.name === "if") {
|
|
2751
|
-
const a =
|
|
2746
|
+
const a = Yn(e, t), i = {
|
|
2752
2747
|
type: 9,
|
|
2753
|
-
loc:
|
|
2748
|
+
loc: uo(e.loc),
|
|
2754
2749
|
branches: [a]
|
|
2755
2750
|
};
|
|
2756
2751
|
if (n.replaceNode(i), r)
|
|
@@ -2772,12 +2767,12 @@ function tr(e, t, n, r) {
|
|
|
2772
2767
|
t.name === "else-if" && s.branches[s.branches.length - 1].condition === void 0 && n.onError(
|
|
2773
2768
|
P(30, e.loc)
|
|
2774
2769
|
), n.removeNode();
|
|
2775
|
-
const o =
|
|
2770
|
+
const o = Yn(e, t);
|
|
2776
2771
|
if (process.env.NODE_ENV !== "production" && i.length && // #3619 ignore comments if the v-if is direct child of <transition>
|
|
2777
2772
|
!(n.parent && n.parent.type === 1 && (n.parent.tag === "transition" || n.parent.tag === "Transition")) && (o.children = [...i, ...o.children]), process.env.NODE_ENV !== "production") {
|
|
2778
2773
|
const p = o.userKey;
|
|
2779
2774
|
p && s.branches.forEach(({ userKey: _ }) => {
|
|
2780
|
-
|
|
2775
|
+
xo(_, p) && n.onError(
|
|
2781
2776
|
P(
|
|
2782
2777
|
29,
|
|
2783
2778
|
o.userKey.loc
|
|
@@ -2787,7 +2782,7 @@ function tr(e, t, n, r) {
|
|
|
2787
2782
|
}
|
|
2788
2783
|
s.branches.push(o);
|
|
2789
2784
|
const c = r && r(s, o, !1);
|
|
2790
|
-
|
|
2785
|
+
_t(o, n), c && c(), n.currentNode = null;
|
|
2791
2786
|
} else
|
|
2792
2787
|
n.onError(
|
|
2793
2788
|
P(30, e.loc)
|
|
@@ -2796,7 +2791,7 @@ function tr(e, t, n, r) {
|
|
|
2796
2791
|
}
|
|
2797
2792
|
}
|
|
2798
2793
|
}
|
|
2799
|
-
function
|
|
2794
|
+
function Yn(e, t) {
|
|
2800
2795
|
const n = e.tagType === 3;
|
|
2801
2796
|
return {
|
|
2802
2797
|
type: 10,
|
|
@@ -2807,19 +2802,19 @@ function qn(e, t) {
|
|
|
2807
2802
|
isTemplateIf: n
|
|
2808
2803
|
};
|
|
2809
2804
|
}
|
|
2810
|
-
function
|
|
2805
|
+
function qn(e, t, n) {
|
|
2811
2806
|
return e.condition ? Ct(
|
|
2812
2807
|
e.condition,
|
|
2813
|
-
|
|
2808
|
+
zn(e, t, n),
|
|
2814
2809
|
// make sure to pass in asBlock: true so that the comment node call
|
|
2815
2810
|
// closes the current block.
|
|
2816
2811
|
$(n.helper(Qe), [
|
|
2817
2812
|
process.env.NODE_ENV !== "production" ? '"v-if"' : '""',
|
|
2818
2813
|
"true"
|
|
2819
2814
|
])
|
|
2820
|
-
) :
|
|
2815
|
+
) : zn(e, t, n);
|
|
2821
2816
|
}
|
|
2822
|
-
function
|
|
2817
|
+
function zn(e, t, n) {
|
|
2823
2818
|
const { helper: r } = n, a = x(
|
|
2824
2819
|
"key",
|
|
2825
2820
|
C(
|
|
@@ -2832,7 +2827,7 @@ function Qn(e, t, n) {
|
|
|
2832
2827
|
if (i.length !== 1 || l.type !== 1)
|
|
2833
2828
|
if (i.length === 1 && l.type === 11) {
|
|
2834
2829
|
const o = l.codegenNode;
|
|
2835
|
-
return
|
|
2830
|
+
return ot(o, a, n), o;
|
|
2836
2831
|
} else {
|
|
2837
2832
|
let o = 64;
|
|
2838
2833
|
return process.env.NODE_ENV !== "production" && !e.isTemplateIf && i.filter((c) => c.type !== 3).length === 1 && (o |= 2048), Je(
|
|
@@ -2850,11 +2845,11 @@ function Qn(e, t, n) {
|
|
|
2850
2845
|
);
|
|
2851
2846
|
}
|
|
2852
2847
|
else {
|
|
2853
|
-
const o = l.codegenNode, c =
|
|
2854
|
-
return c.type === 13 && Gt(c, n),
|
|
2848
|
+
const o = l.codegenNode, c = ws(o);
|
|
2849
|
+
return c.type === 13 && Gt(c, n), ot(c, a, n), o;
|
|
2855
2850
|
}
|
|
2856
2851
|
}
|
|
2857
|
-
function
|
|
2852
|
+
function xo(e, t) {
|
|
2858
2853
|
if (!e || e.type !== t.type)
|
|
2859
2854
|
return !1;
|
|
2860
2855
|
if (e.type === 6) {
|
|
@@ -2867,7 +2862,7 @@ function Fo(e, t) {
|
|
|
2867
2862
|
}
|
|
2868
2863
|
return !0;
|
|
2869
2864
|
}
|
|
2870
|
-
function
|
|
2865
|
+
function Fo(e) {
|
|
2871
2866
|
for (; ; )
|
|
2872
2867
|
if (e.type === 19)
|
|
2873
2868
|
if (e.alternate.type === 19)
|
|
@@ -2876,7 +2871,7 @@ function Uo(e) {
|
|
|
2876
2871
|
return e;
|
|
2877
2872
|
else e.type === 20 && (e = e.value);
|
|
2878
2873
|
}
|
|
2879
|
-
const
|
|
2874
|
+
const tr = (e, t, n) => {
|
|
2880
2875
|
const { modifiers: r, loc: a } = e, i = e.arg;
|
|
2881
2876
|
let { exp: l } = e;
|
|
2882
2877
|
if (l && l.type === 4 && !l.content.trim() && (l = void 0), !l) {
|
|
@@ -2891,25 +2886,25 @@ const nr = (e, t, n) => {
|
|
|
2891
2886
|
x(i, C("", !0, a))
|
|
2892
2887
|
]
|
|
2893
2888
|
};
|
|
2894
|
-
|
|
2889
|
+
nr(e), l = e.exp;
|
|
2895
2890
|
}
|
|
2896
|
-
return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content =
|
|
2891
|
+
return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), r.some((s) => s.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Ce(i.content) : i.content = `${n.helperString(Ot)}(${i.content})` : (i.children.unshift(`${n.helperString(Ot)}(`), i.children.push(")"))), n.inSSR || (r.some((s) => s.content === "prop") && Qn(i, "."), r.some((s) => s.content === "attr") && Qn(i, "^")), {
|
|
2897
2892
|
props: [x(i, l)]
|
|
2898
2893
|
};
|
|
2899
|
-
},
|
|
2894
|
+
}, nr = (e, t) => {
|
|
2900
2895
|
const n = e.arg, r = Ce(n.content);
|
|
2901
2896
|
e.exp = C(r, !1, n.loc);
|
|
2902
|
-
},
|
|
2897
|
+
}, Qn = (e, t) => {
|
|
2903
2898
|
e.type === 4 ? e.isStatic ? e.content = t + e.content : e.content = `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
|
|
2904
|
-
},
|
|
2899
|
+
}, Uo = On(
|
|
2905
2900
|
"for",
|
|
2906
2901
|
(e, t, n) => {
|
|
2907
2902
|
const { helper: r, removeHelper: a } = n;
|
|
2908
|
-
return
|
|
2903
|
+
return sr(e, t, n, (i) => {
|
|
2909
2904
|
const l = $(r(Ut), [
|
|
2910
2905
|
i.source
|
|
2911
2906
|
]), s = qe(e), o = Q(e, "memo"), c = Ye(e, "key", !1, !0);
|
|
2912
|
-
c && c.type === 7 && !c.exp &&
|
|
2907
|
+
c && c.type === 7 && !c.exp && nr(c);
|
|
2913
2908
|
let _ = c && (c.type === 6 ? c.value ? C(c.value.content, !0) : void 0 : c.exp);
|
|
2914
2909
|
const u = c && _ ? x("key", _) : null, d = i.source.type === 4 && i.source.constType > 0, E = d ? 64 : c ? 128 : 256;
|
|
2915
2910
|
return i.codegenNode = Je(
|
|
@@ -2926,7 +2921,7 @@ const nr = (e, t, n) => {
|
|
|
2926
2921
|
e.loc
|
|
2927
2922
|
), () => {
|
|
2928
2923
|
let f;
|
|
2929
|
-
const { children:
|
|
2924
|
+
const { children: N } = i;
|
|
2930
2925
|
process.env.NODE_ENV !== "production" && s && e.children.some((w) => {
|
|
2931
2926
|
if (w.type === 1) {
|
|
2932
2927
|
const se = Ye(w, "key");
|
|
@@ -2939,8 +2934,8 @@ const nr = (e, t, n) => {
|
|
|
2939
2934
|
), !0;
|
|
2940
2935
|
}
|
|
2941
2936
|
});
|
|
2942
|
-
const O =
|
|
2943
|
-
if (y ? (f = y.codegenNode, s && u &&
|
|
2937
|
+
const O = N.length !== 1 || N[0].type !== 1, y = it(e) ? e : s && e.children.length === 1 && it(e.children[0]) ? e.children[0] : null;
|
|
2938
|
+
if (y ? (f = y.codegenNode, s && u && ot(f, u, n)) : O ? f = Je(
|
|
2944
2939
|
n,
|
|
2945
2940
|
r(We),
|
|
2946
2941
|
u ? _e([u]) : void 0,
|
|
@@ -2951,7 +2946,7 @@ const nr = (e, t, n) => {
|
|
|
2951
2946
|
!0,
|
|
2952
2947
|
void 0,
|
|
2953
2948
|
!1
|
|
2954
|
-
) : (f =
|
|
2949
|
+
) : (f = N[0].codegenNode, s && u && ot(f, u, n), f.isBlock !== !d && (f.isBlock ? (a(De), a(
|
|
2955
2950
|
Fe(n.inSSR, f.isComponent)
|
|
2956
2951
|
)) : a(
|
|
2957
2952
|
xe(n.inSSR, f.isComponent)
|
|
@@ -2961,13 +2956,13 @@ const nr = (e, t, n) => {
|
|
|
2961
2956
|
C("_cached")
|
|
2962
2957
|
])
|
|
2963
2958
|
);
|
|
2964
|
-
w.body =
|
|
2959
|
+
w.body = ys([
|
|
2965
2960
|
de(["const _memo = (", o.exp, ")"]),
|
|
2966
2961
|
de([
|
|
2967
2962
|
"if (_cached",
|
|
2968
2963
|
..._ ? [" && _cached.key === ", _] : [],
|
|
2969
2964
|
` && ${n.helperString(
|
|
2970
|
-
|
|
2965
|
+
En
|
|
2971
2966
|
)}(_cached, _memo)) return _cached`
|
|
2972
2967
|
]),
|
|
2973
2968
|
de(["const _item = ", f]),
|
|
@@ -2990,7 +2985,7 @@ const nr = (e, t, n) => {
|
|
|
2990
2985
|
});
|
|
2991
2986
|
}
|
|
2992
2987
|
);
|
|
2993
|
-
function
|
|
2988
|
+
function sr(e, t, n, r) {
|
|
2994
2989
|
if (!t.exp) {
|
|
2995
2990
|
n.onError(
|
|
2996
2991
|
P(31, t.loc)
|
|
@@ -3004,7 +2999,7 @@ function rr(e, t, n, r) {
|
|
|
3004
2999
|
);
|
|
3005
3000
|
return;
|
|
3006
3001
|
}
|
|
3007
|
-
|
|
3002
|
+
Cn(a, n);
|
|
3008
3003
|
const { addIdentifiers: i, removeIdentifiers: l, scopes: s } = n, { source: o, value: c, key: p, index: _ } = a, u = {
|
|
3009
3004
|
type: 11,
|
|
3010
3005
|
loc: t.loc,
|
|
@@ -3021,7 +3016,7 @@ function rr(e, t, n, r) {
|
|
|
3021
3016
|
s.vFor--, d && d();
|
|
3022
3017
|
};
|
|
3023
3018
|
}
|
|
3024
|
-
function
|
|
3019
|
+
function Cn(e, t) {
|
|
3025
3020
|
e.finalized || (process.env.NODE_ENV !== "production" && (we(e.source, t), e.key && we(
|
|
3026
3021
|
e.key,
|
|
3027
3022
|
t,
|
|
@@ -3037,15 +3032,15 @@ function bn(e, t) {
|
|
|
3037
3032
|
)), e.finalized = !0);
|
|
3038
3033
|
}
|
|
3039
3034
|
function At({ value: e, key: t, index: n }, r = []) {
|
|
3040
|
-
return
|
|
3035
|
+
return $o([e, t, n, ...r]);
|
|
3041
3036
|
}
|
|
3042
|
-
function
|
|
3037
|
+
function $o(e) {
|
|
3043
3038
|
let t = e.length;
|
|
3044
3039
|
for (; t-- && !e[t]; )
|
|
3045
3040
|
;
|
|
3046
3041
|
return e.slice(0, t + 1).map((n, r) => n || C("_".repeat(r + 1), !1));
|
|
3047
3042
|
}
|
|
3048
|
-
const
|
|
3043
|
+
const Zn = C("undefined", !1), rr = (e, t) => {
|
|
3049
3044
|
if (e.type === 1 && (e.tagType === 1 || e.tagType === 3)) {
|
|
3050
3045
|
const n = Q(e, "slot");
|
|
3051
3046
|
if (n)
|
|
@@ -3053,35 +3048,35 @@ const es = C("undefined", !1), ir = (e, t) => {
|
|
|
3053
3048
|
t.scopes.vSlot--;
|
|
3054
3049
|
};
|
|
3055
3050
|
}
|
|
3056
|
-
},
|
|
3051
|
+
}, jo = (e, t) => {
|
|
3057
3052
|
let n;
|
|
3058
|
-
if (qe(e) && e.props.some(
|
|
3053
|
+
if (qe(e) && e.props.some(Sn) && (n = Q(e, "for"))) {
|
|
3059
3054
|
const r = n.forParseResult;
|
|
3060
3055
|
if (r) {
|
|
3061
|
-
|
|
3056
|
+
Cn(r, t);
|
|
3062
3057
|
const { value: a, key: i, index: l } = r, { addIdentifiers: s, removeIdentifiers: o } = t;
|
|
3063
3058
|
return a && s(a), i && s(i), l && s(l), () => {
|
|
3064
3059
|
a && o(a), i && o(i), l && o(l);
|
|
3065
3060
|
};
|
|
3066
3061
|
}
|
|
3067
3062
|
}
|
|
3068
|
-
},
|
|
3063
|
+
}, Ho = (e, t, n, r) => Be(
|
|
3069
3064
|
e,
|
|
3070
3065
|
n,
|
|
3071
3066
|
!1,
|
|
3072
3067
|
!0,
|
|
3073
3068
|
n.length ? n[0].loc : r
|
|
3074
3069
|
);
|
|
3075
|
-
function
|
|
3070
|
+
function ir(e, t, n = Ho) {
|
|
3076
3071
|
t.helper(Kt);
|
|
3077
3072
|
const { children: r, loc: a } = e, i = [], l = [];
|
|
3078
3073
|
let s = t.scopes.vSlot > 0 || t.scopes.vFor > 0;
|
|
3079
3074
|
const o = Q(e, "slot", !0);
|
|
3080
3075
|
if (o) {
|
|
3081
|
-
const { arg:
|
|
3082
|
-
|
|
3076
|
+
const { arg: N, exp: O } = o;
|
|
3077
|
+
N && !ne(N) && (s = !0), i.push(
|
|
3083
3078
|
x(
|
|
3084
|
-
|
|
3079
|
+
N || C("default", !0),
|
|
3085
3080
|
n(O, void 0, r, a)
|
|
3086
3081
|
)
|
|
3087
3082
|
);
|
|
@@ -3089,8 +3084,8 @@ function or(e, t, n = Ko) {
|
|
|
3089
3084
|
let c = !1, p = !1;
|
|
3090
3085
|
const _ = [], u = /* @__PURE__ */ new Set();
|
|
3091
3086
|
let d = 0;
|
|
3092
|
-
for (let
|
|
3093
|
-
const O = r[
|
|
3087
|
+
for (let N = 0; N < r.length; N++) {
|
|
3088
|
+
const O = r[N];
|
|
3094
3089
|
let y;
|
|
3095
3090
|
if (!qe(O) || !(y = Q(O, "slot", !0))) {
|
|
3096
3091
|
O.type !== 3 && _.push(O);
|
|
@@ -3111,50 +3106,50 @@ function or(e, t, n = Ko) {
|
|
|
3111
3106
|
let b;
|
|
3112
3107
|
ne(F) ? b = F ? F.content : "default" : s = !0;
|
|
3113
3108
|
const I = Q(O, "for"), m = n(re, I, w, se);
|
|
3114
|
-
let S,
|
|
3109
|
+
let S, v;
|
|
3115
3110
|
if (S = Q(O, "if"))
|
|
3116
3111
|
s = !0, l.push(
|
|
3117
3112
|
Ct(
|
|
3118
3113
|
S.exp,
|
|
3119
|
-
|
|
3120
|
-
|
|
3114
|
+
ht(F, m, d++),
|
|
3115
|
+
Zn
|
|
3121
3116
|
)
|
|
3122
3117
|
);
|
|
3123
|
-
else if (
|
|
3118
|
+
else if (v = Q(
|
|
3124
3119
|
O,
|
|
3125
3120
|
/^else(-if)?$/,
|
|
3126
3121
|
!0
|
|
3127
3122
|
/* allowEmpty */
|
|
3128
3123
|
)) {
|
|
3129
|
-
let g =
|
|
3130
|
-
for (; g-- && (T = r[g], !(T.type !== 3 &&
|
|
3124
|
+
let g = N, T;
|
|
3125
|
+
for (; g-- && (T = r[g], !(T.type !== 3 && an(T))); )
|
|
3131
3126
|
;
|
|
3132
3127
|
if (T && qe(T) && Q(T, /^(else-)?if$/)) {
|
|
3133
3128
|
let A = l[l.length - 1];
|
|
3134
3129
|
for (; A.alternate.type === 19; )
|
|
3135
3130
|
A = A.alternate;
|
|
3136
|
-
A.alternate =
|
|
3137
|
-
|
|
3138
|
-
|
|
3131
|
+
A.alternate = v.exp ? Ct(
|
|
3132
|
+
v.exp,
|
|
3133
|
+
ht(
|
|
3139
3134
|
F,
|
|
3140
3135
|
m,
|
|
3141
3136
|
d++
|
|
3142
3137
|
),
|
|
3143
|
-
|
|
3144
|
-
) :
|
|
3138
|
+
Zn
|
|
3139
|
+
) : ht(F, m, d++);
|
|
3145
3140
|
} else
|
|
3146
3141
|
t.onError(
|
|
3147
|
-
P(30,
|
|
3142
|
+
P(30, v.loc)
|
|
3148
3143
|
);
|
|
3149
3144
|
} else if (I) {
|
|
3150
3145
|
s = !0;
|
|
3151
3146
|
const g = I.forParseResult;
|
|
3152
|
-
g ? (
|
|
3147
|
+
g ? (Cn(g, t), l.push(
|
|
3153
3148
|
$(t.helper(Ut), [
|
|
3154
3149
|
g.source,
|
|
3155
3150
|
Be(
|
|
3156
3151
|
At(g),
|
|
3157
|
-
|
|
3152
|
+
ht(F, m),
|
|
3158
3153
|
!0
|
|
3159
3154
|
)
|
|
3160
3155
|
])
|
|
@@ -3181,21 +3176,21 @@ function or(e, t, n = Ko) {
|
|
|
3181
3176
|
}
|
|
3182
3177
|
}
|
|
3183
3178
|
if (!o) {
|
|
3184
|
-
const
|
|
3179
|
+
const N = (O, y) => {
|
|
3185
3180
|
const w = n(O, void 0, y, a);
|
|
3186
3181
|
return t.compatConfig && (w.isNonScopedSlot = !0), x("default", w);
|
|
3187
3182
|
};
|
|
3188
3183
|
c ? _.length && // #3766
|
|
3189
3184
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
3190
3185
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
3191
|
-
_.some((O) =>
|
|
3186
|
+
_.some((O) => an(O)) && (p ? t.onError(
|
|
3192
3187
|
P(
|
|
3193
3188
|
39,
|
|
3194
3189
|
_[0].loc
|
|
3195
3190
|
)
|
|
3196
3191
|
) : i.push(
|
|
3197
|
-
|
|
3198
|
-
)) : i.push(
|
|
3192
|
+
N(void 0, _)
|
|
3193
|
+
)) : i.push(N(void 0, r));
|
|
3199
3194
|
}
|
|
3200
3195
|
const E = s ? 2 : yt(e.children) ? 3 : 1;
|
|
3201
3196
|
let f = _e(
|
|
@@ -3205,14 +3200,14 @@ function or(e, t, n = Ko) {
|
|
|
3205
3200
|
// 2 = compiled but dynamic = can skip normalization, but must run diff
|
|
3206
3201
|
// 1 = compiled and static = can skip normalization AND diff as optimized
|
|
3207
3202
|
C(
|
|
3208
|
-
E + (process.env.NODE_ENV !== "production" ? ` /* ${
|
|
3203
|
+
E + (process.env.NODE_ENV !== "production" ? ` /* ${pi[E]} */` : ""),
|
|
3209
3204
|
!1
|
|
3210
3205
|
)
|
|
3211
3206
|
)
|
|
3212
3207
|
),
|
|
3213
3208
|
a
|
|
3214
3209
|
);
|
|
3215
|
-
return l.length && (f = $(t.helper(
|
|
3210
|
+
return l.length && (f = $(t.helper(mn), [
|
|
3216
3211
|
f,
|
|
3217
3212
|
be(l)
|
|
3218
3213
|
])), {
|
|
@@ -3220,7 +3215,7 @@ function or(e, t, n = Ko) {
|
|
|
3220
3215
|
hasDynamicSlots: s
|
|
3221
3216
|
};
|
|
3222
3217
|
}
|
|
3223
|
-
function
|
|
3218
|
+
function ht(e, t, n) {
|
|
3224
3219
|
const r = [
|
|
3225
3220
|
x("name", e),
|
|
3226
3221
|
x("fn", t)
|
|
@@ -3248,15 +3243,15 @@ function yt(e) {
|
|
|
3248
3243
|
}
|
|
3249
3244
|
return !1;
|
|
3250
3245
|
}
|
|
3251
|
-
function
|
|
3252
|
-
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() :
|
|
3246
|
+
function an(e) {
|
|
3247
|
+
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() : an(e.content);
|
|
3253
3248
|
}
|
|
3254
|
-
const
|
|
3249
|
+
const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
3255
3250
|
if (e = t.currentNode, !(e.type === 1 && (e.tagType === 0 || e.tagType === 1)))
|
|
3256
3251
|
return;
|
|
3257
3252
|
const { tag: r, props: a } = e, i = e.tagType === 1;
|
|
3258
|
-
let l = i ?
|
|
3259
|
-
const s =
|
|
3253
|
+
let l = i ? lr(e, t) : `"${r}"`;
|
|
3254
|
+
const s = fs(l) && l.callee === Xt;
|
|
3260
3255
|
let o, c, p = 0, _, u, d, E = (
|
|
3261
3256
|
// dynamic component may resolve to plain elements
|
|
3262
3257
|
s || l === Ke || l === Pt || !i && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
@@ -3266,7 +3261,7 @@ const ar = /* @__PURE__ */ new WeakMap(), lr = (e, t) => function() {
|
|
|
3266
3261
|
(r === "svg" || r === "foreignObject" || r === "math")
|
|
3267
3262
|
);
|
|
3268
3263
|
if (a.length > 0) {
|
|
3269
|
-
const f =
|
|
3264
|
+
const f = bn(
|
|
3270
3265
|
e,
|
|
3271
3266
|
t,
|
|
3272
3267
|
void 0,
|
|
@@ -3274,13 +3269,13 @@ const ar = /* @__PURE__ */ new WeakMap(), lr = (e, t) => function() {
|
|
|
3274
3269
|
s
|
|
3275
3270
|
);
|
|
3276
3271
|
o = f.props, p = f.patchFlag, u = f.dynamicPropNames;
|
|
3277
|
-
const
|
|
3278
|
-
d =
|
|
3279
|
-
|
|
3272
|
+
const N = f.directives;
|
|
3273
|
+
d = N && N.length ? be(
|
|
3274
|
+
N.map((O) => cr(O, t))
|
|
3280
3275
|
) : void 0, f.shouldUseBlock && (E = !0);
|
|
3281
3276
|
}
|
|
3282
3277
|
if (e.children.length > 0)
|
|
3283
|
-
if (l ===
|
|
3278
|
+
if (l === tt && (E = !0, p |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
|
|
3284
3279
|
P(46, {
|
|
3285
3280
|
start: e.children[0].loc.start,
|
|
3286
3281
|
end: e.children[e.children.length - 1].loc.end,
|
|
@@ -3288,15 +3283,15 @@ const ar = /* @__PURE__ */ new WeakMap(), lr = (e, t) => function() {
|
|
|
3288
3283
|
})
|
|
3289
3284
|
)), i && // Teleport is not a real component and has dedicated runtime handling
|
|
3290
3285
|
l !== Ke && // explained above.
|
|
3291
|
-
l !==
|
|
3292
|
-
const { slots:
|
|
3293
|
-
c =
|
|
3286
|
+
l !== tt) {
|
|
3287
|
+
const { slots: N, hasDynamicSlots: O } = ir(e, t);
|
|
3288
|
+
c = N, O && (p |= 1024);
|
|
3294
3289
|
} else if (e.children.length === 1 && l !== Ke) {
|
|
3295
|
-
const
|
|
3296
|
-
y && le(
|
|
3290
|
+
const N = e.children[0], O = N.type, y = O === 5 || O === 8;
|
|
3291
|
+
y && le(N, t) === 0 && (p |= 1), y || O === 2 ? c = N : c = e.children;
|
|
3297
3292
|
} else
|
|
3298
3293
|
c = e.children;
|
|
3299
|
-
u && u.length && (_ =
|
|
3294
|
+
u && u.length && (_ = Wo(u)), e.codegenNode = Je(
|
|
3300
3295
|
t,
|
|
3301
3296
|
l,
|
|
3302
3297
|
o,
|
|
@@ -3310,9 +3305,9 @@ const ar = /* @__PURE__ */ new WeakMap(), lr = (e, t) => function() {
|
|
|
3310
3305
|
e.loc
|
|
3311
3306
|
);
|
|
3312
3307
|
};
|
|
3313
|
-
function
|
|
3308
|
+
function lr(e, t, n = !1) {
|
|
3314
3309
|
let { tag: r } = e;
|
|
3315
|
-
const a =
|
|
3310
|
+
const a = ln(r), i = Ye(
|
|
3316
3311
|
e,
|
|
3317
3312
|
"is",
|
|
3318
3313
|
!1,
|
|
@@ -3330,17 +3325,17 @@ function cr(e, t, n = !1) {
|
|
|
3330
3325
|
s
|
|
3331
3326
|
]);
|
|
3332
3327
|
} else i.type === 6 && i.value.content.startsWith("vue:") && (r = i.value.content.slice(4));
|
|
3333
|
-
const l =
|
|
3328
|
+
const l = Nn(r) || t.isBuiltInComponent(r);
|
|
3334
3329
|
return l ? (n || t.helper(l), l) : (t.helper(wt), t.components.add(r), ze(r, "component"));
|
|
3335
3330
|
}
|
|
3336
|
-
function
|
|
3331
|
+
function bn(e, t, n = e.props, r, a, i = !1) {
|
|
3337
3332
|
const { tag: l, loc: s, children: o } = e;
|
|
3338
3333
|
let c = [];
|
|
3339
3334
|
const p = [], _ = [], u = o.length > 0;
|
|
3340
|
-
let d = !1, E = 0, f = !1,
|
|
3335
|
+
let d = !1, E = 0, f = !1, N = !1, O = !1, y = !1, w = !1, se = !1;
|
|
3341
3336
|
const F = [], re = (m) => {
|
|
3342
3337
|
c.length && (p.push(
|
|
3343
|
-
_e(
|
|
3338
|
+
_e(es(c), s)
|
|
3344
3339
|
), c = []), m && p.push(m);
|
|
3345
3340
|
}, X = () => {
|
|
3346
3341
|
t.scopes.vFor > 0 && c.push(
|
|
@@ -3351,23 +3346,23 @@ function An(e, t, n = e.props, r, a, i = !1) {
|
|
|
3351
3346
|
);
|
|
3352
3347
|
}, b = ({ key: m, value: S }) => {
|
|
3353
3348
|
if (ne(m)) {
|
|
3354
|
-
const
|
|
3349
|
+
const v = m.content, g = tn(v);
|
|
3355
3350
|
if (g && (!r || a) && // omit the flag for click handlers because hydration gives click
|
|
3356
3351
|
// dedicated fast path.
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3352
|
+
v.toLowerCase() !== "onclick" && // omit v-model handlers
|
|
3353
|
+
v !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
|
|
3354
|
+
!Un(v) && (y = !0), g && Un(v) && (se = !0), g && S.type === 14 && (S = S.arguments[0]), S.type === 20 || (S.type === 4 || S.type === 8) && le(S, t) > 0)
|
|
3360
3355
|
return;
|
|
3361
|
-
|
|
3356
|
+
v === "ref" ? f = !0 : v === "class" ? N = !0 : v === "style" ? O = !0 : v !== "key" && !F.includes(v) && F.push(v), r && (v === "class" || v === "style") && !F.includes(v) && F.push(v);
|
|
3362
3357
|
} else
|
|
3363
3358
|
w = !0;
|
|
3364
3359
|
};
|
|
3365
3360
|
for (let m = 0; m < n.length; m++) {
|
|
3366
3361
|
const S = n[m];
|
|
3367
3362
|
if (S.type === 6) {
|
|
3368
|
-
const { loc:
|
|
3363
|
+
const { loc: v, name: g, nameLoc: T, value: A } = S;
|
|
3369
3364
|
let M = !0;
|
|
3370
|
-
if (g === "ref" && (f = !0, X()), g === "is" && (
|
|
3365
|
+
if (g === "ref" && (f = !0, X()), g === "is" && (ln(l) || A && A.content.startsWith("vue:") || Ae(
|
|
3371
3366
|
"COMPILER_IS_ON_ELEMENT",
|
|
3372
3367
|
t
|
|
3373
3368
|
)))
|
|
@@ -3378,28 +3373,28 @@ function An(e, t, n = e.props, r, a, i = !1) {
|
|
|
3378
3373
|
C(
|
|
3379
3374
|
A ? A.content : "",
|
|
3380
3375
|
M,
|
|
3381
|
-
A ? A.loc :
|
|
3376
|
+
A ? A.loc : v
|
|
3382
3377
|
)
|
|
3383
3378
|
)
|
|
3384
3379
|
);
|
|
3385
3380
|
} else {
|
|
3386
|
-
const { name:
|
|
3387
|
-
if (
|
|
3381
|
+
const { name: v, arg: g, exp: T, loc: A, modifiers: M } = S, ee = v === "bind", q = v === "on";
|
|
3382
|
+
if (v === "slot") {
|
|
3388
3383
|
r || t.onError(
|
|
3389
3384
|
P(40, A)
|
|
3390
3385
|
);
|
|
3391
3386
|
continue;
|
|
3392
3387
|
}
|
|
3393
|
-
if (
|
|
3388
|
+
if (v === "once" || v === "memo" || v === "is" || ee && Ne(g, "is") && (ln(l) || Ae(
|
|
3394
3389
|
"COMPILER_IS_ON_ELEMENT",
|
|
3395
3390
|
t
|
|
3396
3391
|
)) || q && i)
|
|
3397
3392
|
continue;
|
|
3398
3393
|
if (
|
|
3399
3394
|
// #938: elements with dynamic keys should be forced into blocks
|
|
3400
|
-
(ee &&
|
|
3395
|
+
(ee && Ne(g, "key") || // inline before-update hooks need to force block so that it is invoked
|
|
3401
3396
|
// before children
|
|
3402
|
-
q && u &&
|
|
3397
|
+
q && u && Ne(g, "vue:before-update")) && (d = !0), ee && Ne(g, "ref") && X(), !g && (ee || q)
|
|
3403
3398
|
) {
|
|
3404
3399
|
if (w = !0, T)
|
|
3405
3400
|
if (ee) {
|
|
@@ -3432,31 +3427,31 @@ function An(e, t, n = e.props, r, a, i = !1) {
|
|
|
3432
3427
|
continue;
|
|
3433
3428
|
}
|
|
3434
3429
|
ee && M.some((H) => H.content === "prop") && (E |= 32);
|
|
3435
|
-
const Te = t.directiveTransforms[
|
|
3430
|
+
const Te = t.directiveTransforms[v];
|
|
3436
3431
|
if (Te) {
|
|
3437
3432
|
const { props: H, needRuntime: pe } = Te(S, e, t);
|
|
3438
|
-
!i && H.forEach(b), q && g && !ne(g) ? re(_e(H, s)) : c.push(...H), pe && (_.push(S),
|
|
3439
|
-
} else
|
|
3433
|
+
!i && H.forEach(b), q && g && !ne(g) ? re(_e(H, s)) : c.push(...H), pe && (_.push(S), cn(pe) && or.set(S, pe));
|
|
3434
|
+
} else _i(v) || (_.push(S), u && (d = !0));
|
|
3440
3435
|
}
|
|
3441
3436
|
}
|
|
3442
3437
|
let I;
|
|
3443
3438
|
if (p.length ? (re(), p.length > 1 ? I = $(
|
|
3444
|
-
t.helper(
|
|
3439
|
+
t.helper(nt),
|
|
3445
3440
|
p,
|
|
3446
3441
|
s
|
|
3447
3442
|
) : I = p[0]) : c.length && (I = _e(
|
|
3448
|
-
|
|
3443
|
+
es(c),
|
|
3449
3444
|
s
|
|
3450
|
-
)), w ? E |= 16 : (
|
|
3445
|
+
)), w ? E |= 16 : (N && !r && (E |= 2), O && !r && (E |= 4), F.length && (E |= 8), y && (E |= 32)), !d && (E === 0 || E === 32) && (f || se || _.length > 0) && (E |= 512), !t.inSSR && I)
|
|
3451
3446
|
switch (I.type) {
|
|
3452
3447
|
case 15:
|
|
3453
|
-
let m = -1, S = -1,
|
|
3448
|
+
let m = -1, S = -1, v = !1;
|
|
3454
3449
|
for (let A = 0; A < I.properties.length; A++) {
|
|
3455
3450
|
const M = I.properties[A].key;
|
|
3456
|
-
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (
|
|
3451
|
+
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (v = !0);
|
|
3457
3452
|
}
|
|
3458
3453
|
const g = I.properties[m], T = I.properties[S];
|
|
3459
|
-
|
|
3454
|
+
v ? I = $(
|
|
3460
3455
|
t.helper(Ge),
|
|
3461
3456
|
[I]
|
|
3462
3457
|
) : (g && !ne(g.value) && (g.value = $(
|
|
@@ -3492,7 +3487,7 @@ function An(e, t, n = e.props, r, a, i = !1) {
|
|
|
3492
3487
|
shouldUseBlock: d
|
|
3493
3488
|
};
|
|
3494
3489
|
}
|
|
3495
|
-
function
|
|
3490
|
+
function es(e) {
|
|
3496
3491
|
const t = /* @__PURE__ */ new Map(), n = [];
|
|
3497
3492
|
for (let r = 0; r < e.length; r++) {
|
|
3498
3493
|
const a = e[r];
|
|
@@ -3501,18 +3496,18 @@ function ts(e) {
|
|
|
3501
3496
|
continue;
|
|
3502
3497
|
}
|
|
3503
3498
|
const i = a.key.content, l = t.get(i);
|
|
3504
|
-
l ? (i === "style" || i === "class" || tn(i)) &&
|
|
3499
|
+
l ? (i === "style" || i === "class" || tn(i)) && Ko(l, a) : (t.set(i, a), n.push(a));
|
|
3505
3500
|
}
|
|
3506
3501
|
return n;
|
|
3507
3502
|
}
|
|
3508
|
-
function
|
|
3503
|
+
function Ko(e, t) {
|
|
3509
3504
|
e.value.type === 17 ? e.value.elements.push(t.value) : e.value = be(
|
|
3510
3505
|
[e.value, t.value],
|
|
3511
3506
|
e.loc
|
|
3512
3507
|
);
|
|
3513
3508
|
}
|
|
3514
|
-
function
|
|
3515
|
-
const n = [], r =
|
|
3509
|
+
function cr(e, t) {
|
|
3510
|
+
const n = [], r = or.get(e);
|
|
3516
3511
|
r ? n.push(t.helperString(r)) : (t.helper(Bt), t.directives.add(e.name), n.push(ze(e.name, "directive")));
|
|
3517
3512
|
const { loc: a } = e;
|
|
3518
3513
|
if (e.exp && n.push(e.exp), e.arg && (e.exp || n.push("void 0"), n.push(e.arg)), Object.keys(e.modifiers).length) {
|
|
@@ -3529,18 +3524,18 @@ function _r(e, t) {
|
|
|
3529
3524
|
}
|
|
3530
3525
|
return be(n, e.loc);
|
|
3531
3526
|
}
|
|
3532
|
-
function
|
|
3527
|
+
function Wo(e) {
|
|
3533
3528
|
let t = "[";
|
|
3534
3529
|
for (let n = 0, r = e.length; n < r; n++)
|
|
3535
3530
|
t += JSON.stringify(e[n]), n < r - 1 && (t += ", ");
|
|
3536
3531
|
return t + "]";
|
|
3537
3532
|
}
|
|
3538
|
-
function
|
|
3533
|
+
function ln(e) {
|
|
3539
3534
|
return e === "component" || e === "Component";
|
|
3540
3535
|
}
|
|
3541
|
-
const
|
|
3542
|
-
if (
|
|
3543
|
-
const { children: n, loc: r } = e, { slotName: a, slotProps: i } =
|
|
3536
|
+
const Go = (e, t) => {
|
|
3537
|
+
if (it(e)) {
|
|
3538
|
+
const { children: n, loc: r } = e, { slotName: a, slotProps: i } = _r(e, t), l = [
|
|
3544
3539
|
t.prefixIdentifiers ? "_ctx.$slots" : "$slots",
|
|
3545
3540
|
a,
|
|
3546
3541
|
"{}",
|
|
@@ -3549,20 +3544,20 @@ const Jo = (e, t) => {
|
|
|
3549
3544
|
];
|
|
3550
3545
|
let s = 2;
|
|
3551
3546
|
i && (l[2] = i, s = 3), n.length && (l[3] = Be([], n, !1, !1, r), s = 4), t.scopeId && !t.slotted && (s = 5), l.splice(s), e.codegenNode = $(
|
|
3552
|
-
t.helper(
|
|
3547
|
+
t.helper(hn),
|
|
3553
3548
|
l,
|
|
3554
3549
|
r
|
|
3555
3550
|
);
|
|
3556
3551
|
}
|
|
3557
3552
|
};
|
|
3558
|
-
function
|
|
3553
|
+
function _r(e, t) {
|
|
3559
3554
|
let n = '"default"', r;
|
|
3560
3555
|
const a = [];
|
|
3561
3556
|
for (let i = 0; i < e.props.length; i++) {
|
|
3562
3557
|
const l = e.props[i];
|
|
3563
3558
|
if (l.type === 6)
|
|
3564
3559
|
l.value && (l.name === "name" ? n = JSON.stringify(l.value.content) : (l.name = Ce(l.name), a.push(l)));
|
|
3565
|
-
else if (l.name === "bind" &&
|
|
3560
|
+
else if (l.name === "bind" && Ne(l.arg, "name")) {
|
|
3566
3561
|
if (l.exp)
|
|
3567
3562
|
n = l.exp;
|
|
3568
3563
|
else if (l.arg && l.arg.type === 4) {
|
|
@@ -3573,7 +3568,7 @@ function pr(e, t) {
|
|
|
3573
3568
|
l.name === "bind" && l.arg && ne(l.arg) && (l.arg.content = Ce(l.arg.content)), a.push(l);
|
|
3574
3569
|
}
|
|
3575
3570
|
if (a.length > 0) {
|
|
3576
|
-
const { props: i, directives: l } =
|
|
3571
|
+
const { props: i, directives: l } = bn(
|
|
3577
3572
|
e,
|
|
3578
3573
|
t,
|
|
3579
3574
|
a,
|
|
@@ -3592,7 +3587,7 @@ function pr(e, t) {
|
|
|
3592
3587
|
slotProps: r
|
|
3593
3588
|
};
|
|
3594
3589
|
}
|
|
3595
|
-
const
|
|
3590
|
+
const An = (e, t, n, r) => {
|
|
3596
3591
|
const { loc: a, modifiers: i, arg: l } = e;
|
|
3597
3592
|
!e.exp && !i.length && n.onError(P(35, a));
|
|
3598
3593
|
let s;
|
|
@@ -3603,7 +3598,7 @@ const Dn = (e, t, n, r) => {
|
|
|
3603
3598
|
const u = t.tagType !== 0 || _.startsWith("vnode") || !/[A-Z]/.test(_) ? (
|
|
3604
3599
|
// for non-element and vnode lifecycle event listeners, auto convert
|
|
3605
3600
|
// it to camelCase. See issue #2249
|
|
3606
|
-
|
|
3601
|
+
di(Ce(_))
|
|
3607
3602
|
) : (
|
|
3608
3603
|
// preserve case for plain element listeners that have uppercase
|
|
3609
3604
|
// letters, as these may be custom elements' custom events
|
|
@@ -3622,7 +3617,7 @@ const Dn = (e, t, n, r) => {
|
|
|
3622
3617
|
o && !o.content.trim() && (o = void 0);
|
|
3623
3618
|
let c = n.cacheHandlers && !o && !n.inVOnce;
|
|
3624
3619
|
if (o) {
|
|
3625
|
-
const _ =
|
|
3620
|
+
const _ = gn(o), u = !(_ || Ps(o)), d = o.content.includes(";");
|
|
3626
3621
|
process.env.NODE_ENV !== "production" && we(
|
|
3627
3622
|
o,
|
|
3628
3623
|
n,
|
|
@@ -3643,18 +3638,18 @@ const Dn = (e, t, n, r) => {
|
|
|
3643
3638
|
]
|
|
3644
3639
|
};
|
|
3645
3640
|
return r && (p = r(p)), c && (p.props[0].value = n.cache(p.props[0].value)), p.props.forEach((_) => _.key.isHandlerKey = !0), p;
|
|
3646
|
-
},
|
|
3641
|
+
}, Jo = (e, t) => {
|
|
3647
3642
|
if (e.type === 0 || e.type === 1 || e.type === 11 || e.type === 10)
|
|
3648
3643
|
return () => {
|
|
3649
3644
|
const n = e.children;
|
|
3650
3645
|
let r, a = !1;
|
|
3651
3646
|
for (let i = 0; i < n.length; i++) {
|
|
3652
3647
|
const l = n[i];
|
|
3653
|
-
if (
|
|
3648
|
+
if (vt(l)) {
|
|
3654
3649
|
a = !0;
|
|
3655
3650
|
for (let s = i + 1; s < n.length; s++) {
|
|
3656
3651
|
const o = n[s];
|
|
3657
|
-
if (
|
|
3652
|
+
if (vt(o))
|
|
3658
3653
|
r || (r = n[i] = de(
|
|
3659
3654
|
[l],
|
|
3660
3655
|
l.loc
|
|
@@ -3680,10 +3675,10 @@ const Dn = (e, t, n, r) => {
|
|
|
3680
3675
|
) && e.tag !== "template")))
|
|
3681
3676
|
for (let i = 0; i < n.length; i++) {
|
|
3682
3677
|
const l = n[i];
|
|
3683
|
-
if (
|
|
3678
|
+
if (vt(l) || l.type === 8) {
|
|
3684
3679
|
const s = [];
|
|
3685
3680
|
(l.type !== 2 || l.content !== " ") && s.push(l), !t.ssr && le(l, t) === 0 && s.push(
|
|
3686
|
-
1 + (process.env.NODE_ENV !== "production" ? ` /* ${
|
|
3681
|
+
1 + (process.env.NODE_ENV !== "production" ? ` /* ${Et[1]} */` : "")
|
|
3687
3682
|
), n[i] = {
|
|
3688
3683
|
type: 12,
|
|
3689
3684
|
content: l,
|
|
@@ -3696,9 +3691,9 @@ const Dn = (e, t, n, r) => {
|
|
|
3696
3691
|
}
|
|
3697
3692
|
}
|
|
3698
3693
|
};
|
|
3699
|
-
},
|
|
3694
|
+
}, ts = /* @__PURE__ */ new WeakSet(), Yo = (e, t) => {
|
|
3700
3695
|
if (e.type === 1 && Q(e, "once", !0))
|
|
3701
|
-
return
|
|
3696
|
+
return ts.has(e) || t.inVOnce || t.inSSR ? void 0 : (ts.add(e), t.inVOnce = !0, t.helper(st), () => {
|
|
3702
3697
|
t.inVOnce = !1;
|
|
3703
3698
|
const n = t.currentNode;
|
|
3704
3699
|
n.codegenNode && (n.codegenNode = t.cache(
|
|
@@ -3707,19 +3702,19 @@ const Dn = (e, t, n, r) => {
|
|
|
3707
3702
|
!0
|
|
3708
3703
|
));
|
|
3709
3704
|
});
|
|
3710
|
-
},
|
|
3705
|
+
}, Dn = (e, t, n) => {
|
|
3711
3706
|
const { exp: r, arg: a } = e;
|
|
3712
3707
|
if (!r)
|
|
3713
3708
|
return n.onError(
|
|
3714
3709
|
P(41, e.loc)
|
|
3715
|
-
),
|
|
3710
|
+
), mt();
|
|
3716
3711
|
const i = r.loc.source.trim(), l = r.type === 4 ? r.content : i, s = n.bindingMetadata[i];
|
|
3717
3712
|
if (s === "props" || s === "props-aliased")
|
|
3718
|
-
return n.onError(P(44, r.loc)),
|
|
3719
|
-
if (!l.trim() || !
|
|
3713
|
+
return n.onError(P(44, r.loc)), mt();
|
|
3714
|
+
if (!l.trim() || !gn(r))
|
|
3720
3715
|
return n.onError(
|
|
3721
3716
|
P(42, r.loc)
|
|
3722
|
-
),
|
|
3717
|
+
), mt();
|
|
3723
3718
|
const o = a || C("modelValue", !0), c = a ? ne(a) ? `onUpdate:${Ce(a.content)}` : de(['"onUpdate:" + ', a]) : "onUpdate:modelValue";
|
|
3724
3719
|
let p;
|
|
3725
3720
|
const _ = n.isTS ? "($event: any)" : "$event";
|
|
@@ -3735,7 +3730,7 @@ const Dn = (e, t, n, r) => {
|
|
|
3735
3730
|
x(c, p)
|
|
3736
3731
|
];
|
|
3737
3732
|
if (e.modifiers.length && t.tagType === 1) {
|
|
3738
|
-
const d = e.modifiers.map((f) => f.content).map((f) => (
|
|
3733
|
+
const d = e.modifiers.map((f) => f.content).map((f) => (ct(f) ? f : JSON.stringify(f)) + ": true").join(", "), E = a ? ne(a) ? `${a.content}Modifiers` : de([a, ' + "Modifiers"']) : "modelModifiers";
|
|
3739
3734
|
u.push(
|
|
3740
3735
|
x(
|
|
3741
3736
|
E,
|
|
@@ -3748,26 +3743,26 @@ const Dn = (e, t, n, r) => {
|
|
|
3748
3743
|
)
|
|
3749
3744
|
);
|
|
3750
3745
|
}
|
|
3751
|
-
return
|
|
3746
|
+
return mt(u);
|
|
3752
3747
|
};
|
|
3753
|
-
function
|
|
3748
|
+
function mt(e = []) {
|
|
3754
3749
|
return { props: e };
|
|
3755
3750
|
}
|
|
3756
|
-
const
|
|
3751
|
+
const qo = /[\w).+\-_$\]]/, zo = (e, t) => {
|
|
3757
3752
|
Ae("COMPILER_FILTERS", t) && (e.type === 5 ? Dt(e.content, t) : e.type === 1 && e.props.forEach((n) => {
|
|
3758
3753
|
n.type === 7 && n.name !== "for" && n.exp && Dt(n.exp, t);
|
|
3759
3754
|
}));
|
|
3760
3755
|
};
|
|
3761
3756
|
function Dt(e, t) {
|
|
3762
3757
|
if (e.type === 4)
|
|
3763
|
-
|
|
3758
|
+
ns(e, t);
|
|
3764
3759
|
else
|
|
3765
3760
|
for (let n = 0; n < e.children.length; n++) {
|
|
3766
3761
|
const r = e.children[n];
|
|
3767
|
-
typeof r == "object" && (r.type === 4 ?
|
|
3762
|
+
typeof r == "object" && (r.type === 4 ? ns(r, t) : r.type === 8 ? Dt(e, t) : r.type === 5 && Dt(r.content, t));
|
|
3768
3763
|
}
|
|
3769
3764
|
}
|
|
3770
|
-
function
|
|
3765
|
+
function ns(e, t) {
|
|
3771
3766
|
const n = e.content;
|
|
3772
3767
|
let r = !1, a = !1, i = !1, l = !1, s = 0, o = 0, c = 0, p = 0, _, u, d, E, f = [];
|
|
3773
3768
|
for (d = 0; d < n.length; d++)
|
|
@@ -3781,7 +3776,7 @@ function ss(e, t) {
|
|
|
3781
3776
|
_ === 47 && u !== 92 && (l = !1);
|
|
3782
3777
|
else if (_ === 124 && // pipe
|
|
3783
3778
|
n.charCodeAt(d + 1) !== 124 && n.charCodeAt(d - 1) !== 124 && !s && !o && !c)
|
|
3784
|
-
E === void 0 ? (p = d + 1, E = n.slice(0, d).trim()) :
|
|
3779
|
+
E === void 0 ? (p = d + 1, E = n.slice(0, d).trim()) : N();
|
|
3785
3780
|
else {
|
|
3786
3781
|
switch (_) {
|
|
3787
3782
|
case 34:
|
|
@@ -3824,24 +3819,24 @@ function ss(e, t) {
|
|
|
3824
3819
|
let O = d - 1, y;
|
|
3825
3820
|
for (; O >= 0 && (y = n.charAt(O), y === " "); O--)
|
|
3826
3821
|
;
|
|
3827
|
-
(!y || !
|
|
3822
|
+
(!y || !qo.test(y)) && (l = !0);
|
|
3828
3823
|
}
|
|
3829
3824
|
}
|
|
3830
|
-
E === void 0 ? E = n.slice(0, d).trim() : p !== 0 &&
|
|
3831
|
-
function
|
|
3825
|
+
E === void 0 ? E = n.slice(0, d).trim() : p !== 0 && N();
|
|
3826
|
+
function N() {
|
|
3832
3827
|
f.push(n.slice(p, d).trim()), p = d + 1;
|
|
3833
3828
|
}
|
|
3834
3829
|
if (f.length) {
|
|
3835
|
-
for (process.env.NODE_ENV !== "production" &&
|
|
3830
|
+
for (process.env.NODE_ENV !== "production" && rt(
|
|
3836
3831
|
"COMPILER_FILTERS",
|
|
3837
3832
|
t,
|
|
3838
3833
|
e.loc
|
|
3839
3834
|
), d = 0; d < f.length; d++)
|
|
3840
|
-
E =
|
|
3835
|
+
E = Qo(E, f[d], t);
|
|
3841
3836
|
e.content = E, e.ast = void 0;
|
|
3842
3837
|
}
|
|
3843
3838
|
}
|
|
3844
|
-
function
|
|
3839
|
+
function Qo(e, t, n) {
|
|
3845
3840
|
n.helper(xt);
|
|
3846
3841
|
const r = t.indexOf("(");
|
|
3847
3842
|
if (r < 0)
|
|
@@ -3851,10 +3846,10 @@ function Zo(e, t, n) {
|
|
|
3851
3846
|
return n.filters.add(a), `${ze(a, "filter")}(${e}${i !== ")" ? "," + i : i}`;
|
|
3852
3847
|
}
|
|
3853
3848
|
}
|
|
3854
|
-
const
|
|
3849
|
+
const ss = /* @__PURE__ */ new WeakSet(), Zo = (e, t) => {
|
|
3855
3850
|
if (e.type === 1) {
|
|
3856
3851
|
const n = Q(e, "memo");
|
|
3857
|
-
return !n ||
|
|
3852
|
+
return !n || ss.has(e) ? void 0 : (ss.add(e), () => {
|
|
3858
3853
|
const r = e.codegenNode || t.currentNode.codegenNode;
|
|
3859
3854
|
r && r.type === 13 && (e.tagType !== 1 && Gt(r, t), e.codegenNode = $(t.helper(Wt), [
|
|
3860
3855
|
n.exp,
|
|
@@ -3865,36 +3860,36 @@ const rs = /* @__PURE__ */ new WeakSet(), ea = (e, t) => {
|
|
|
3865
3860
|
});
|
|
3866
3861
|
}
|
|
3867
3862
|
};
|
|
3868
|
-
function
|
|
3863
|
+
function pr(e) {
|
|
3869
3864
|
return [
|
|
3870
3865
|
[
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3866
|
+
Yo,
|
|
3867
|
+
Bo,
|
|
3868
|
+
Zo,
|
|
3869
|
+
Uo,
|
|
3870
|
+
zo,
|
|
3871
|
+
...process.env.NODE_ENV !== "production" ? [Qs] : [],
|
|
3872
|
+
Go,
|
|
3873
|
+
ar,
|
|
3874
|
+
rr,
|
|
3875
|
+
Jo
|
|
3881
3876
|
],
|
|
3882
3877
|
{
|
|
3883
|
-
on:
|
|
3884
|
-
bind:
|
|
3885
|
-
model:
|
|
3878
|
+
on: An,
|
|
3879
|
+
bind: tr,
|
|
3880
|
+
model: Dn
|
|
3886
3881
|
}
|
|
3887
3882
|
];
|
|
3888
3883
|
}
|
|
3889
|
-
function
|
|
3884
|
+
function ur(e, t = {}) {
|
|
3890
3885
|
const n = t.onError || vn, r = t.mode === "module";
|
|
3891
3886
|
t.prefixIdentifiers === !0 ? n(P(47)) : r && n(P(48));
|
|
3892
3887
|
const a = !1;
|
|
3893
3888
|
t.cacheHandlers && n(P(49)), t.scopeId && !r && n(P(50));
|
|
3894
3889
|
const i = ge({}, t, {
|
|
3895
3890
|
prefixIdentifiers: a
|
|
3896
|
-
}), l = j(e) ?
|
|
3897
|
-
return
|
|
3891
|
+
}), l = j(e) ? yn(e, i) : e, [s, o] = pr();
|
|
3892
|
+
return Gs(
|
|
3898
3893
|
l,
|
|
3899
3894
|
ge({}, i, {
|
|
3900
3895
|
nodeTransforms: [
|
|
@@ -3909,9 +3904,9 @@ function dr(e, t = {}) {
|
|
|
3909
3904
|
// user transforms
|
|
3910
3905
|
)
|
|
3911
3906
|
})
|
|
3912
|
-
),
|
|
3907
|
+
), Ys(l, i);
|
|
3913
3908
|
}
|
|
3914
|
-
const
|
|
3909
|
+
const ea = {
|
|
3915
3910
|
DATA: "data",
|
|
3916
3911
|
PROPS: "props",
|
|
3917
3912
|
PROPS_ALIASED: "props-aliased",
|
|
@@ -3922,53 +3917,53 @@ const ta = {
|
|
|
3922
3917
|
SETUP_REF: "setup-ref",
|
|
3923
3918
|
OPTIONS: "options",
|
|
3924
3919
|
LITERAL_CONST: "literal-const"
|
|
3925
|
-
},
|
|
3920
|
+
}, dr = () => ({ props: [] });
|
|
3926
3921
|
/**
|
|
3927
|
-
* @vue/compiler-dom v3.5.
|
|
3922
|
+
* @vue/compiler-dom v3.5.17
|
|
3928
3923
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3929
3924
|
* @license MIT
|
|
3930
3925
|
**/
|
|
3931
|
-
const
|
|
3926
|
+
const Rn = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), Mn = Symbol(
|
|
3932
3927
|
process.env.NODE_ENV !== "production" ? "vModelCheckbox" : ""
|
|
3933
|
-
),
|
|
3928
|
+
), Pn = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), Ln = Symbol(
|
|
3934
3929
|
process.env.NODE_ENV !== "production" ? "vModelSelect" : ""
|
|
3935
3930
|
), Rt = Symbol(
|
|
3936
3931
|
process.env.NODE_ENV !== "production" ? "vModelDynamic" : ""
|
|
3937
|
-
),
|
|
3932
|
+
), Vn = Symbol(
|
|
3938
3933
|
process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
|
|
3939
|
-
),
|
|
3934
|
+
), kn = Symbol(
|
|
3940
3935
|
process.env.NODE_ENV !== "production" ? "vOnKeysGuard" : ""
|
|
3941
|
-
),
|
|
3936
|
+
), wn = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Yt = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), Xn = Symbol(
|
|
3942
3937
|
process.env.NODE_ENV !== "production" ? "TransitionGroup" : ""
|
|
3943
3938
|
);
|
|
3944
|
-
|
|
3945
|
-
[
|
|
3946
|
-
[
|
|
3947
|
-
[
|
|
3948
|
-
[
|
|
3939
|
+
gs({
|
|
3940
|
+
[Rn]: "vModelRadio",
|
|
3941
|
+
[Mn]: "vModelCheckbox",
|
|
3942
|
+
[Pn]: "vModelText",
|
|
3943
|
+
[Ln]: "vModelSelect",
|
|
3949
3944
|
[Rt]: "vModelDynamic",
|
|
3950
|
-
[
|
|
3951
|
-
[
|
|
3952
|
-
[
|
|
3945
|
+
[Vn]: "withModifiers",
|
|
3946
|
+
[kn]: "withKeys",
|
|
3947
|
+
[wn]: "vShow",
|
|
3953
3948
|
[Yt]: "Transition",
|
|
3954
|
-
[
|
|
3949
|
+
[Xn]: "TransitionGroup"
|
|
3955
3950
|
});
|
|
3956
3951
|
let je;
|
|
3957
|
-
function
|
|
3952
|
+
function ta(e, t = !1) {
|
|
3958
3953
|
return je || (je = document.createElement("div")), t ? (je.innerHTML = `<div foo="${e.replace(/"/g, """)}">`, je.children[0].getAttribute("foo")) : (je.innerHTML = e, je.textContent);
|
|
3959
3954
|
}
|
|
3960
|
-
const
|
|
3955
|
+
const Bn = {
|
|
3961
3956
|
parseMode: "html",
|
|
3962
|
-
isVoidTag:
|
|
3963
|
-
isNativeTag: (e) =>
|
|
3957
|
+
isVoidTag: Ei,
|
|
3958
|
+
isNativeTag: (e) => fi(e) || hi(e) || mi(e),
|
|
3964
3959
|
isPreTag: (e) => e === "pre",
|
|
3965
3960
|
isIgnoreNewlineTag: (e) => e === "pre" || e === "textarea",
|
|
3966
|
-
decodeEntities:
|
|
3961
|
+
decodeEntities: ta,
|
|
3967
3962
|
isBuiltInComponent: (e) => {
|
|
3968
3963
|
if (e === "Transition" || e === "transition")
|
|
3969
3964
|
return Yt;
|
|
3970
3965
|
if (e === "TransitionGroup" || e === "transition-group")
|
|
3971
|
-
return
|
|
3966
|
+
return Xn;
|
|
3972
3967
|
},
|
|
3973
3968
|
// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
|
|
3974
3969
|
getNamespace(e, t, n) {
|
|
@@ -3990,18 +3985,18 @@ const xn = {
|
|
|
3990
3985
|
}
|
|
3991
3986
|
return r;
|
|
3992
3987
|
}
|
|
3993
|
-
},
|
|
3988
|
+
}, fr = (e) => {
|
|
3994
3989
|
e.type === 1 && e.props.forEach((t, n) => {
|
|
3995
3990
|
t.type === 6 && t.name === "style" && t.value && (e.props[n] = {
|
|
3996
3991
|
type: 7,
|
|
3997
3992
|
name: "bind",
|
|
3998
3993
|
arg: C("style", !0, t.loc),
|
|
3999
|
-
exp:
|
|
3994
|
+
exp: na(t.value.content, t.loc),
|
|
4000
3995
|
modifiers: [],
|
|
4001
3996
|
loc: t.loc
|
|
4002
3997
|
});
|
|
4003
3998
|
});
|
|
4004
|
-
},
|
|
3999
|
+
}, na = (e, t) => {
|
|
4005
4000
|
const n = vi(e);
|
|
4006
4001
|
return C(
|
|
4007
4002
|
JSON.stringify(n),
|
|
@@ -4014,10 +4009,10 @@ function ue(e, t) {
|
|
|
4014
4009
|
return P(
|
|
4015
4010
|
e,
|
|
4016
4011
|
t,
|
|
4017
|
-
process.env.NODE_ENV !== "production" ?
|
|
4012
|
+
process.env.NODE_ENV !== "production" ? hr : void 0
|
|
4018
4013
|
);
|
|
4019
4014
|
}
|
|
4020
|
-
const
|
|
4015
|
+
const sa = {
|
|
4021
4016
|
X_V_HTML_NO_EXPRESSION: 53,
|
|
4022
4017
|
53: "X_V_HTML_NO_EXPRESSION",
|
|
4023
4018
|
X_V_HTML_WITH_CHILDREN: 54,
|
|
@@ -4042,7 +4037,7 @@ const ra = {
|
|
|
4042
4037
|
63: "X_IGNORED_SIDE_EFFECT_TAG",
|
|
4043
4038
|
__EXTEND_POINT__: 64,
|
|
4044
4039
|
64: "__EXTEND_POINT__"
|
|
4045
|
-
},
|
|
4040
|
+
}, hr = {
|
|
4046
4041
|
53: "v-html is missing expression.",
|
|
4047
4042
|
54: "v-html will override element children.",
|
|
4048
4043
|
55: "v-text is missing expression.",
|
|
@@ -4054,7 +4049,7 @@ const ra = {
|
|
|
4054
4049
|
61: "v-show is missing expression.",
|
|
4055
4050
|
62: "<Transition> expects exactly one child element or component.",
|
|
4056
4051
|
63: "Tags with side effect (<script> and <style>) are ignored in client component templates."
|
|
4057
|
-
},
|
|
4052
|
+
}, ra = (e, t, n) => {
|
|
4058
4053
|
const { exp: r, loc: a } = e;
|
|
4059
4054
|
return r || n.onError(
|
|
4060
4055
|
ue(53, a)
|
|
@@ -4068,7 +4063,7 @@ const ra = {
|
|
|
4068
4063
|
)
|
|
4069
4064
|
]
|
|
4070
4065
|
};
|
|
4071
|
-
},
|
|
4066
|
+
}, ia = (e, t, n) => {
|
|
4072
4067
|
const { exp: r, loc: a } = e;
|
|
4073
4068
|
return r || n.onError(
|
|
4074
4069
|
ue(55, a)
|
|
@@ -4079,15 +4074,15 @@ const ra = {
|
|
|
4079
4074
|
x(
|
|
4080
4075
|
C("textContent", !0),
|
|
4081
4076
|
r ? le(r, n) > 0 ? r : $(
|
|
4082
|
-
n.helperString(
|
|
4077
|
+
n.helperString(lt),
|
|
4083
4078
|
[r],
|
|
4084
4079
|
a
|
|
4085
4080
|
) : C("", !0)
|
|
4086
4081
|
)
|
|
4087
4082
|
]
|
|
4088
4083
|
};
|
|
4089
|
-
},
|
|
4090
|
-
const r =
|
|
4084
|
+
}, oa = (e, t, n) => {
|
|
4085
|
+
const r = Dn(e, t, n);
|
|
4091
4086
|
if (!r.props.length || t.tagType === 1)
|
|
4092
4087
|
return r;
|
|
4093
4088
|
e.arg && n.onError(
|
|
@@ -4098,7 +4093,7 @@ const ra = {
|
|
|
4098
4093
|
);
|
|
4099
4094
|
function a() {
|
|
4100
4095
|
const s = Q(t, "bind");
|
|
4101
|
-
s &&
|
|
4096
|
+
s && Ne(s.arg, "value") && n.onError(
|
|
4102
4097
|
ue(
|
|
4103
4098
|
60,
|
|
4104
4099
|
s.loc
|
|
@@ -4107,7 +4102,7 @@ const ra = {
|
|
|
4107
4102
|
}
|
|
4108
4103
|
const { tag: i } = t, l = n.isCustomElement(i);
|
|
4109
4104
|
if (i === "input" || i === "textarea" || i === "select" || l) {
|
|
4110
|
-
let s =
|
|
4105
|
+
let s = Pn, o = !1;
|
|
4111
4106
|
if (i === "input" || l) {
|
|
4112
4107
|
const c = Ye(t, "type");
|
|
4113
4108
|
if (c) {
|
|
@@ -4116,10 +4111,10 @@ const ra = {
|
|
|
4116
4111
|
else if (c.value)
|
|
4117
4112
|
switch (c.value.content) {
|
|
4118
4113
|
case "radio":
|
|
4119
|
-
s =
|
|
4114
|
+
s = Rn;
|
|
4120
4115
|
break;
|
|
4121
4116
|
case "checkbox":
|
|
4122
|
-
s =
|
|
4117
|
+
s = Mn;
|
|
4123
4118
|
break;
|
|
4124
4119
|
case "file":
|
|
4125
4120
|
o = !0, n.onError(
|
|
@@ -4133,8 +4128,8 @@ const ra = {
|
|
|
4133
4128
|
process.env.NODE_ENV !== "production" && a();
|
|
4134
4129
|
break;
|
|
4135
4130
|
}
|
|
4136
|
-
} else
|
|
4137
|
-
} else i === "select" ? s =
|
|
4131
|
+
} else Vs(t) ? s = Rt : process.env.NODE_ENV !== "production" && a();
|
|
4132
|
+
} else i === "select" ? s = Ln : process.env.NODE_ENV !== "production" && a();
|
|
4138
4133
|
o || (r.needRuntime = n.helper(s));
|
|
4139
4134
|
} else
|
|
4140
4135
|
n.onError(
|
|
@@ -4146,10 +4141,10 @@ const ra = {
|
|
|
4146
4141
|
return r.props = r.props.filter(
|
|
4147
4142
|
(s) => !(s.key.type === 4 && s.key.content === "modelValue")
|
|
4148
4143
|
), r;
|
|
4149
|
-
},
|
|
4144
|
+
}, aa = /* @__PURE__ */ Mt("passive,once,capture"), la = /* @__PURE__ */ Mt(
|
|
4150
4145
|
// event propagation management
|
|
4151
4146
|
"stop,prevent,self,ctrl,shift,alt,meta,exact,middle"
|
|
4152
|
-
),
|
|
4147
|
+
), ca = /* @__PURE__ */ Mt("left,right"), mr = /* @__PURE__ */ Mt("onkeyup,onkeydown,onkeypress"), _a = (e, t, n, r) => {
|
|
4153
4148
|
const a = [], i = [], l = [];
|
|
4154
4149
|
for (let s = 0; s < t.length; s++) {
|
|
4155
4150
|
const o = t[s].content;
|
|
@@ -4157,52 +4152,52 @@ const ra = {
|
|
|
4157
4152
|
"COMPILER_V_ON_NATIVE",
|
|
4158
4153
|
n,
|
|
4159
4154
|
r
|
|
4160
|
-
) ||
|
|
4155
|
+
) || aa(o) ? l.push(o) : ca(o) ? ne(e) ? mr(e.content.toLowerCase()) ? a.push(o) : i.push(o) : (a.push(o), i.push(o)) : la(o) ? i.push(o) : a.push(o);
|
|
4161
4156
|
}
|
|
4162
4157
|
return {
|
|
4163
4158
|
keyModifiers: a,
|
|
4164
4159
|
nonKeyModifiers: i,
|
|
4165
4160
|
eventOptionModifiers: l
|
|
4166
4161
|
};
|
|
4167
|
-
},
|
|
4162
|
+
}, rs = (e, t) => ne(e) && e.content.toLowerCase() === "onclick" ? C(t, !0) : e.type !== 4 ? de([
|
|
4168
4163
|
"(",
|
|
4169
4164
|
e,
|
|
4170
4165
|
`) === "onClick" ? "${t}" : (`,
|
|
4171
4166
|
e,
|
|
4172
4167
|
")"
|
|
4173
|
-
]) : e,
|
|
4168
|
+
]) : e, pa = (e, t, n) => An(e, t, n, (r) => {
|
|
4174
4169
|
const { modifiers: a } = e;
|
|
4175
4170
|
if (!a.length) return r;
|
|
4176
4171
|
let { key: i, value: l } = r.props[0];
|
|
4177
|
-
const { keyModifiers: s, nonKeyModifiers: o, eventOptionModifiers: c } =
|
|
4178
|
-
if (o.includes("right") && (i =
|
|
4172
|
+
const { keyModifiers: s, nonKeyModifiers: o, eventOptionModifiers: c } = _a(i, a, n, e.loc);
|
|
4173
|
+
if (o.includes("right") && (i = rs(i, "onContextmenu")), o.includes("middle") && (i = rs(i, "onMouseup")), o.length && (l = $(n.helper(Vn), [
|
|
4179
4174
|
l,
|
|
4180
4175
|
JSON.stringify(o)
|
|
4181
4176
|
])), s.length && // if event name is dynamic, always wrap with keys guard
|
|
4182
|
-
(!ne(i) ||
|
|
4177
|
+
(!ne(i) || mr(i.content.toLowerCase())) && (l = $(n.helper(kn), [
|
|
4183
4178
|
l,
|
|
4184
4179
|
JSON.stringify(s)
|
|
4185
4180
|
])), c.length) {
|
|
4186
|
-
const p = c.map(
|
|
4181
|
+
const p = c.map(ds).join("");
|
|
4187
4182
|
i = ne(i) ? C(`${i.content}${p}`, !0) : de(["(", i, `) + "${p}"`]);
|
|
4188
4183
|
}
|
|
4189
4184
|
return {
|
|
4190
4185
|
props: [x(i, l)]
|
|
4191
4186
|
};
|
|
4192
|
-
}),
|
|
4187
|
+
}), ua = (e, t, n) => {
|
|
4193
4188
|
const { exp: r, loc: a } = e;
|
|
4194
4189
|
return r || n.onError(
|
|
4195
4190
|
ue(61, a)
|
|
4196
4191
|
), {
|
|
4197
4192
|
props: [],
|
|
4198
|
-
needRuntime: n.helper(
|
|
4193
|
+
needRuntime: n.helper(wn)
|
|
4199
4194
|
};
|
|
4200
|
-
},
|
|
4195
|
+
}, da = (e, t) => {
|
|
4201
4196
|
if (e.type === 1 && e.tagType === 1 && t.isBuiltInComponent(e.tag) === Yt)
|
|
4202
4197
|
return () => {
|
|
4203
4198
|
if (!e.children.length)
|
|
4204
4199
|
return;
|
|
4205
|
-
|
|
4200
|
+
Er(e) && t.onError(
|
|
4206
4201
|
ue(
|
|
4207
4202
|
62,
|
|
4208
4203
|
{
|
|
@@ -4224,13 +4219,13 @@ const ra = {
|
|
|
4224
4219
|
});
|
|
4225
4220
|
};
|
|
4226
4221
|
};
|
|
4227
|
-
function
|
|
4222
|
+
function Er(e) {
|
|
4228
4223
|
const t = e.children = e.children.filter(
|
|
4229
4224
|
(r) => r.type !== 3 && !(r.type === 2 && !r.content.trim())
|
|
4230
4225
|
), n = t[0];
|
|
4231
|
-
return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(
|
|
4226
|
+
return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(Er);
|
|
4232
4227
|
}
|
|
4233
|
-
const
|
|
4228
|
+
const fa = (e, t) => {
|
|
4234
4229
|
e.type === 1 && e.tagType === 0 && (e.tag === "script" || e.tag === "style") && (process.env.NODE_ENV !== "production" && t.onError(
|
|
4235
4230
|
ue(
|
|
4236
4231
|
63,
|
|
@@ -4238,10 +4233,10 @@ const ha = (e, t) => {
|
|
|
4238
4233
|
)
|
|
4239
4234
|
), t.removeNode());
|
|
4240
4235
|
};
|
|
4241
|
-
function
|
|
4242
|
-
return e === "template" ? !0 : e in
|
|
4236
|
+
function ha(e, t) {
|
|
4237
|
+
return e === "template" ? !0 : e in is ? is[e].has(t) : t in os ? os[t].has(e) : !(e in as && as[e].has(t) || t in ls && ls[t].has(e));
|
|
4243
4238
|
}
|
|
4244
|
-
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]),
|
|
4239
|
+
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]), is = {
|
|
4245
4240
|
head: /* @__PURE__ */ new Set([
|
|
4246
4241
|
"base",
|
|
4247
4242
|
"basefront",
|
|
@@ -4271,7 +4266,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4271
4266
|
textarea: Ve,
|
|
4272
4267
|
style: Ve,
|
|
4273
4268
|
title: Ve
|
|
4274
|
-
},
|
|
4269
|
+
}, os = {
|
|
4275
4270
|
// sections
|
|
4276
4271
|
html: Ve,
|
|
4277
4272
|
body: /* @__PURE__ */ new Set(["html"]),
|
|
@@ -4294,7 +4289,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4294
4289
|
// li: new Set(["ul", "ol"]),
|
|
4295
4290
|
summary: /* @__PURE__ */ new Set(["details"]),
|
|
4296
4291
|
area: /* @__PURE__ */ new Set(["map"])
|
|
4297
|
-
},
|
|
4292
|
+
}, as = {
|
|
4298
4293
|
p: /* @__PURE__ */ new Set([
|
|
4299
4294
|
"address",
|
|
4300
4295
|
"article",
|
|
@@ -4368,7 +4363,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4368
4363
|
"ul",
|
|
4369
4364
|
"var"
|
|
4370
4365
|
])
|
|
4371
|
-
},
|
|
4366
|
+
}, ls = {
|
|
4372
4367
|
a: /* @__PURE__ */ new Set(["a"]),
|
|
4373
4368
|
button: /* @__PURE__ */ new Set(["button"]),
|
|
4374
4369
|
dd: /* @__PURE__ */ new Set(["dd", "dt"]),
|
|
@@ -4381,41 +4376,41 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4381
4376
|
h4: He,
|
|
4382
4377
|
h5: He,
|
|
4383
4378
|
h6: He
|
|
4384
|
-
},
|
|
4385
|
-
if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !
|
|
4379
|
+
}, ma = (e, t) => {
|
|
4380
|
+
if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !ha(t.parent.tag, e.tag)) {
|
|
4386
4381
|
const n = new SyntaxError(
|
|
4387
4382
|
`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`
|
|
4388
4383
|
);
|
|
4389
4384
|
n.loc = e.loc, t.onWarn(n);
|
|
4390
4385
|
}
|
|
4391
4386
|
}, vr = [
|
|
4392
|
-
|
|
4393
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
4394
|
-
],
|
|
4395
|
-
cloak:
|
|
4396
|
-
html:
|
|
4397
|
-
text:
|
|
4398
|
-
model:
|
|
4387
|
+
fr,
|
|
4388
|
+
...process.env.NODE_ENV !== "production" ? [da, ma] : []
|
|
4389
|
+
], Nr = {
|
|
4390
|
+
cloak: dr,
|
|
4391
|
+
html: ra,
|
|
4392
|
+
text: ia,
|
|
4393
|
+
model: oa,
|
|
4399
4394
|
// override compiler-core
|
|
4400
|
-
on:
|
|
4395
|
+
on: pa,
|
|
4401
4396
|
// override compiler-core
|
|
4402
|
-
show:
|
|
4397
|
+
show: ua
|
|
4403
4398
|
};
|
|
4404
|
-
function
|
|
4405
|
-
return
|
|
4399
|
+
function Ea(e, t = {}) {
|
|
4400
|
+
return ur(
|
|
4406
4401
|
e,
|
|
4407
|
-
ge({},
|
|
4402
|
+
ge({}, Bn, t, {
|
|
4408
4403
|
nodeTransforms: [
|
|
4409
4404
|
// ignore <script> and <tag>
|
|
4410
4405
|
// this is not put inside DOMNodeTransforms because that list is used
|
|
4411
4406
|
// by compiler-ssr to generate vnode fallback branches
|
|
4412
|
-
|
|
4407
|
+
fa,
|
|
4413
4408
|
...vr,
|
|
4414
4409
|
...t.nodeTransforms || []
|
|
4415
4410
|
],
|
|
4416
4411
|
directiveTransforms: ge(
|
|
4417
4412
|
{},
|
|
4418
|
-
|
|
4413
|
+
Nr,
|
|
4419
4414
|
t.directiveTransforms || {}
|
|
4420
4415
|
),
|
|
4421
4416
|
transformHoist: null
|
|
@@ -4423,86 +4418,86 @@ function Na(e, t = {}) {
|
|
|
4423
4418
|
);
|
|
4424
4419
|
}
|
|
4425
4420
|
function va(e, t = {}) {
|
|
4426
|
-
return
|
|
4421
|
+
return yn(e, ge({}, Bn, t));
|
|
4427
4422
|
}
|
|
4428
|
-
const
|
|
4423
|
+
const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4429
4424
|
__proto__: null,
|
|
4430
|
-
BASE_TRANSITION:
|
|
4431
|
-
BindingTypes:
|
|
4425
|
+
BASE_TRANSITION: pn,
|
|
4426
|
+
BindingTypes: ea,
|
|
4432
4427
|
CAMELIZE: Ot,
|
|
4433
|
-
CAPITALIZE:
|
|
4434
|
-
CREATE_BLOCK:
|
|
4428
|
+
CAPITALIZE: hs,
|
|
4429
|
+
CREATE_BLOCK: un,
|
|
4435
4430
|
CREATE_COMMENT: Qe,
|
|
4436
|
-
CREATE_ELEMENT_BLOCK:
|
|
4431
|
+
CREATE_ELEMENT_BLOCK: dn,
|
|
4437
4432
|
CREATE_ELEMENT_VNODE: Vt,
|
|
4438
|
-
CREATE_SLOTS:
|
|
4439
|
-
CREATE_STATIC:
|
|
4433
|
+
CREATE_SLOTS: mn,
|
|
4434
|
+
CREATE_STATIC: fn,
|
|
4440
4435
|
CREATE_TEXT: kt,
|
|
4441
4436
|
CREATE_VNODE: Lt,
|
|
4442
|
-
CompilerDeprecationTypes:
|
|
4443
|
-
ConstantTypes:
|
|
4444
|
-
DOMDirectiveTransforms:
|
|
4445
|
-
DOMErrorCodes:
|
|
4446
|
-
DOMErrorMessages:
|
|
4437
|
+
CompilerDeprecationTypes: ki,
|
|
4438
|
+
ConstantTypes: bi,
|
|
4439
|
+
DOMDirectiveTransforms: Nr,
|
|
4440
|
+
DOMErrorCodes: sa,
|
|
4441
|
+
DOMErrorMessages: hr,
|
|
4447
4442
|
DOMNodeTransforms: vr,
|
|
4448
|
-
ElementTypes:
|
|
4449
|
-
ErrorCodes:
|
|
4443
|
+
ElementTypes: Ci,
|
|
4444
|
+
ErrorCodes: Xi,
|
|
4450
4445
|
FRAGMENT: We,
|
|
4451
4446
|
GUARD_REACTIVE_PROPS: Ze,
|
|
4452
|
-
IS_MEMO_SAME:
|
|
4453
|
-
IS_REF:
|
|
4454
|
-
KEEP_ALIVE:
|
|
4455
|
-
MERGE_PROPS:
|
|
4447
|
+
IS_MEMO_SAME: En,
|
|
4448
|
+
IS_REF: Ns,
|
|
4449
|
+
KEEP_ALIVE: tt,
|
|
4450
|
+
MERGE_PROPS: nt,
|
|
4456
4451
|
NORMALIZE_CLASS: $t,
|
|
4457
4452
|
NORMALIZE_PROPS: Ge,
|
|
4458
4453
|
NORMALIZE_STYLE: jt,
|
|
4459
|
-
Namespaces:
|
|
4460
|
-
NodeTypes:
|
|
4454
|
+
Namespaces: Oi,
|
|
4455
|
+
NodeTypes: Ii,
|
|
4461
4456
|
OPEN_BLOCK: De,
|
|
4462
|
-
POP_SCOPE_ID:
|
|
4463
|
-
PUSH_SCOPE_ID:
|
|
4457
|
+
POP_SCOPE_ID: Es,
|
|
4458
|
+
PUSH_SCOPE_ID: ms,
|
|
4464
4459
|
RENDER_LIST: Ut,
|
|
4465
|
-
RENDER_SLOT:
|
|
4460
|
+
RENDER_SLOT: hn,
|
|
4466
4461
|
RESOLVE_COMPONENT: wt,
|
|
4467
4462
|
RESOLVE_DIRECTIVE: Bt,
|
|
4468
4463
|
RESOLVE_DYNAMIC_COMPONENT: Xt,
|
|
4469
4464
|
RESOLVE_FILTER: xt,
|
|
4470
|
-
SET_BLOCK_TRACKING:
|
|
4465
|
+
SET_BLOCK_TRACKING: st,
|
|
4471
4466
|
SUSPENSE: Pt,
|
|
4472
4467
|
TELEPORT: Ke,
|
|
4473
|
-
TO_DISPLAY_STRING:
|
|
4468
|
+
TO_DISPLAY_STRING: lt,
|
|
4474
4469
|
TO_HANDLERS: Ht,
|
|
4475
4470
|
TO_HANDLER_KEY: It,
|
|
4476
4471
|
TRANSITION: Yt,
|
|
4477
|
-
TRANSITION_GROUP:
|
|
4478
|
-
TS_NODE_TYPES:
|
|
4472
|
+
TRANSITION_GROUP: Xn,
|
|
4473
|
+
TS_NODE_TYPES: bs,
|
|
4479
4474
|
UNREF: vs,
|
|
4480
|
-
V_MODEL_CHECKBOX:
|
|
4475
|
+
V_MODEL_CHECKBOX: Mn,
|
|
4481
4476
|
V_MODEL_DYNAMIC: Rt,
|
|
4482
|
-
V_MODEL_RADIO:
|
|
4483
|
-
V_MODEL_SELECT:
|
|
4484
|
-
V_MODEL_TEXT:
|
|
4485
|
-
V_ON_WITH_KEYS:
|
|
4486
|
-
V_ON_WITH_MODIFIERS:
|
|
4487
|
-
V_SHOW:
|
|
4477
|
+
V_MODEL_RADIO: Rn,
|
|
4478
|
+
V_MODEL_SELECT: Ln,
|
|
4479
|
+
V_MODEL_TEXT: Pn,
|
|
4480
|
+
V_ON_WITH_KEYS: kn,
|
|
4481
|
+
V_ON_WITH_MODIFIERS: Vn,
|
|
4482
|
+
V_SHOW: wn,
|
|
4488
4483
|
WITH_CTX: Kt,
|
|
4489
4484
|
WITH_DIRECTIVES: Ft,
|
|
4490
4485
|
WITH_MEMO: Wt,
|
|
4491
|
-
advancePositionWithClone:
|
|
4492
|
-
advancePositionWithMutation:
|
|
4486
|
+
advancePositionWithClone: to,
|
|
4487
|
+
advancePositionWithMutation: Ls,
|
|
4493
4488
|
assert: sn,
|
|
4494
|
-
baseCompile:
|
|
4495
|
-
baseParse:
|
|
4496
|
-
buildDirectiveArgs:
|
|
4497
|
-
buildProps:
|
|
4498
|
-
buildSlots:
|
|
4489
|
+
baseCompile: ur,
|
|
4490
|
+
baseParse: yn,
|
|
4491
|
+
buildDirectiveArgs: cr,
|
|
4492
|
+
buildProps: bn,
|
|
4493
|
+
buildSlots: ir,
|
|
4499
4494
|
checkCompatEnabled: Ue,
|
|
4500
|
-
compile:
|
|
4495
|
+
compile: Ea,
|
|
4501
4496
|
convertToBlock: Gt,
|
|
4502
4497
|
createArrayExpression: be,
|
|
4503
|
-
createAssignmentExpression:
|
|
4504
|
-
createBlockStatement:
|
|
4505
|
-
createCacheExpression:
|
|
4498
|
+
createAssignmentExpression: Mi,
|
|
4499
|
+
createBlockStatement: ys,
|
|
4500
|
+
createCacheExpression: Ts,
|
|
4506
4501
|
createCallExpression: $,
|
|
4507
4502
|
createCompilerError: P,
|
|
4508
4503
|
createCompoundExpression: de,
|
|
@@ -4510,93 +4505,92 @@ const ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4510
4505
|
createDOMCompilerError: ue,
|
|
4511
4506
|
createForLoopParams: At,
|
|
4512
4507
|
createFunctionExpression: Be,
|
|
4513
|
-
createIfStatement:
|
|
4514
|
-
createInterpolation:
|
|
4508
|
+
createIfStatement: Ri,
|
|
4509
|
+
createInterpolation: Ai,
|
|
4515
4510
|
createObjectExpression: _e,
|
|
4516
4511
|
createObjectProperty: x,
|
|
4517
|
-
createReturnStatement:
|
|
4518
|
-
createRoot:
|
|
4519
|
-
createSequenceExpression:
|
|
4512
|
+
createReturnStatement: Li,
|
|
4513
|
+
createRoot: Ss,
|
|
4514
|
+
createSequenceExpression: Pi,
|
|
4520
4515
|
createSimpleExpression: C,
|
|
4521
|
-
createStructuralDirectiveTransform:
|
|
4522
|
-
createTemplateLiteral:
|
|
4523
|
-
createTransformContext:
|
|
4516
|
+
createStructuralDirectiveTransform: On,
|
|
4517
|
+
createTemplateLiteral: Di,
|
|
4518
|
+
createTransformContext: Ws,
|
|
4524
4519
|
createVNodeCall: Je,
|
|
4525
|
-
errorMessages:
|
|
4526
|
-
extractIdentifiers:
|
|
4520
|
+
errorMessages: Is,
|
|
4521
|
+
extractIdentifiers: ve,
|
|
4527
4522
|
findDir: Q,
|
|
4528
4523
|
findProp: Ye,
|
|
4529
|
-
forAliasRE:
|
|
4530
|
-
generate:
|
|
4531
|
-
generateCodeFrame:
|
|
4532
|
-
getBaseTransformPreset:
|
|
4524
|
+
forAliasRE: Xs,
|
|
4525
|
+
generate: Ys,
|
|
4526
|
+
generateCodeFrame: Ni,
|
|
4527
|
+
getBaseTransformPreset: pr,
|
|
4533
4528
|
getConstantType: le,
|
|
4534
|
-
getMemoedVNodeCall:
|
|
4529
|
+
getMemoedVNodeCall: ws,
|
|
4535
4530
|
getVNodeBlockHelper: Fe,
|
|
4536
4531
|
getVNodeHelper: xe,
|
|
4537
|
-
hasDynamicKeyVBind:
|
|
4532
|
+
hasDynamicKeyVBind: Vs,
|
|
4538
4533
|
hasScopeRef: fe,
|
|
4539
4534
|
helperNameMap: Xe,
|
|
4540
|
-
injectProp:
|
|
4541
|
-
isCoreComponent:
|
|
4542
|
-
isFnExpression:
|
|
4543
|
-
isFnExpressionBrowser:
|
|
4544
|
-
isFnExpressionNode:
|
|
4545
|
-
isFunctionType:
|
|
4546
|
-
isInDestructureAssignment:
|
|
4547
|
-
isInNewExpression:
|
|
4548
|
-
isMemberExpression:
|
|
4549
|
-
isMemberExpressionBrowser:
|
|
4550
|
-
isMemberExpressionNode:
|
|
4551
|
-
isReferencedIdentifier:
|
|
4552
|
-
isSimpleIdentifier:
|
|
4553
|
-
isSlotOutlet:
|
|
4554
|
-
isStaticArgOf:
|
|
4535
|
+
injectProp: ot,
|
|
4536
|
+
isCoreComponent: Nn,
|
|
4537
|
+
isFnExpression: Ps,
|
|
4538
|
+
isFnExpressionBrowser: Ms,
|
|
4539
|
+
isFnExpressionNode: eo,
|
|
4540
|
+
isFunctionType: Wi,
|
|
4541
|
+
isInDestructureAssignment: Fi,
|
|
4542
|
+
isInNewExpression: Ui,
|
|
4543
|
+
isMemberExpression: gn,
|
|
4544
|
+
isMemberExpressionBrowser: Rs,
|
|
4545
|
+
isMemberExpressionNode: Qi,
|
|
4546
|
+
isReferencedIdentifier: xi,
|
|
4547
|
+
isSimpleIdentifier: ct,
|
|
4548
|
+
isSlotOutlet: it,
|
|
4549
|
+
isStaticArgOf: Ne,
|
|
4555
4550
|
isStaticExp: ne,
|
|
4556
|
-
isStaticProperty:
|
|
4557
|
-
isStaticPropertyKey:
|
|
4551
|
+
isStaticProperty: Cs,
|
|
4552
|
+
isStaticPropertyKey: Gi,
|
|
4558
4553
|
isTemplateNode: qe,
|
|
4559
|
-
isText:
|
|
4560
|
-
|
|
4561
|
-
isVSlot: Tn,
|
|
4554
|
+
isText: vt,
|
|
4555
|
+
isVSlot: Sn,
|
|
4562
4556
|
locStub: W,
|
|
4563
|
-
noopDirectiveTransform:
|
|
4557
|
+
noopDirectiveTransform: dr,
|
|
4564
4558
|
parse: va,
|
|
4565
|
-
parserOptions:
|
|
4559
|
+
parserOptions: Bn,
|
|
4566
4560
|
processExpression: Tt,
|
|
4567
|
-
processFor:
|
|
4568
|
-
processIf:
|
|
4569
|
-
processSlotOutlet:
|
|
4570
|
-
registerRuntimeHelpers:
|
|
4571
|
-
resolveComponentType:
|
|
4572
|
-
stringifyExpression:
|
|
4561
|
+
processFor: sr,
|
|
4562
|
+
processIf: er,
|
|
4563
|
+
processSlotOutlet: _r,
|
|
4564
|
+
registerRuntimeHelpers: gs,
|
|
4565
|
+
resolveComponentType: lr,
|
|
4566
|
+
stringifyExpression: Zs,
|
|
4573
4567
|
toValidAssetId: ze,
|
|
4574
|
-
trackSlotScopes:
|
|
4575
|
-
trackVForSlotScopes:
|
|
4576
|
-
transform:
|
|
4577
|
-
transformBind:
|
|
4578
|
-
transformElement:
|
|
4579
|
-
transformExpression:
|
|
4580
|
-
transformModel:
|
|
4581
|
-
transformOn:
|
|
4582
|
-
transformStyle:
|
|
4583
|
-
traverseNode:
|
|
4584
|
-
unwrapTSNode:
|
|
4585
|
-
walkBlockDeclarations:
|
|
4586
|
-
walkFunctionParams:
|
|
4587
|
-
walkIdentifiers:
|
|
4588
|
-
warnDeprecation:
|
|
4589
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4568
|
+
trackSlotScopes: rr,
|
|
4569
|
+
trackVForSlotScopes: jo,
|
|
4570
|
+
transform: Gs,
|
|
4571
|
+
transformBind: tr,
|
|
4572
|
+
transformElement: ar,
|
|
4573
|
+
transformExpression: Qs,
|
|
4574
|
+
transformModel: Dn,
|
|
4575
|
+
transformOn: An,
|
|
4576
|
+
transformStyle: fr,
|
|
4577
|
+
traverseNode: _t,
|
|
4578
|
+
unwrapTSNode: As,
|
|
4579
|
+
walkBlockDeclarations: ji,
|
|
4580
|
+
walkFunctionParams: $i,
|
|
4581
|
+
walkIdentifiers: Bi,
|
|
4582
|
+
warnDeprecation: rt
|
|
4583
|
+
}, Symbol.toStringTag, { value: "Module" })), gr = /* @__PURE__ */ _n(Na), Sr = /* @__PURE__ */ _n(gi), Tr = /* @__PURE__ */ _n(Si);
|
|
4590
4584
|
/**
|
|
4591
|
-
* vue v3.5.
|
|
4585
|
+
* vue v3.5.17
|
|
4592
4586
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4593
4587
|
* @license MIT
|
|
4594
4588
|
**/
|
|
4595
|
-
var
|
|
4596
|
-
function
|
|
4597
|
-
return
|
|
4589
|
+
var cs;
|
|
4590
|
+
function ga() {
|
|
4591
|
+
return cs || (cs = 1, function(e) {
|
|
4598
4592
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4599
|
-
var t =
|
|
4593
|
+
var t = gr, n = Sr, r = Tr;
|
|
4600
4594
|
function a(o) {
|
|
4601
4595
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4602
4596
|
if (o)
|
|
@@ -4638,15 +4632,15 @@ function Sa() {
|
|
|
4638
4632
|
}
|
|
4639
4633
|
var en = {};
|
|
4640
4634
|
/**
|
|
4641
|
-
* vue v3.5.
|
|
4635
|
+
* vue v3.5.17
|
|
4642
4636
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4643
4637
|
* @license MIT
|
|
4644
4638
|
**/
|
|
4645
|
-
var
|
|
4646
|
-
function
|
|
4647
|
-
return
|
|
4639
|
+
var _s;
|
|
4640
|
+
function Sa() {
|
|
4641
|
+
return _s || (_s = 1, function(e) {
|
|
4648
4642
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4649
|
-
var t =
|
|
4643
|
+
var t = gr, n = Sr, r = Tr;
|
|
4650
4644
|
function a(o) {
|
|
4651
4645
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4652
4646
|
if (o)
|
|
@@ -4666,24 +4660,24 @@ function Ta() {
|
|
|
4666
4660
|
if (_)
|
|
4667
4661
|
return _;
|
|
4668
4662
|
if (o[0] === "#") {
|
|
4669
|
-
const
|
|
4670
|
-
|
|
4663
|
+
const N = document.querySelector(o);
|
|
4664
|
+
N || n.warn(`Template element not found or is empty: ${o}`), o = N ? N.innerHTML : "";
|
|
4671
4665
|
}
|
|
4672
4666
|
const u = r.extend(
|
|
4673
4667
|
{
|
|
4674
4668
|
hoistStatic: !0,
|
|
4675
4669
|
onError: E,
|
|
4676
|
-
onWarn: (
|
|
4670
|
+
onWarn: (N) => E(N, !0)
|
|
4677
4671
|
},
|
|
4678
4672
|
c
|
|
4679
4673
|
);
|
|
4680
|
-
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (
|
|
4674
|
+
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (N) => !!customElements.get(N));
|
|
4681
4675
|
const { code: d } = t.compile(o, u);
|
|
4682
|
-
function E(
|
|
4683
|
-
const y = O ?
|
|
4676
|
+
function E(N, O = !1) {
|
|
4677
|
+
const y = O ? N.message : `Template compilation error: ${N.message}`, w = N.loc && r.generateCodeFrame(
|
|
4684
4678
|
o,
|
|
4685
|
-
|
|
4686
|
-
|
|
4679
|
+
N.loc.start.offset,
|
|
4680
|
+
N.loc.end.offset
|
|
4687
4681
|
);
|
|
4688
4682
|
n.warn(w ? `${y}
|
|
4689
4683
|
${w}` : y);
|
|
@@ -4696,13 +4690,13 @@ ${w}` : y);
|
|
|
4696
4690
|
});
|
|
4697
4691
|
}(en)), en;
|
|
4698
4692
|
}
|
|
4693
|
+
var ps;
|
|
4694
|
+
function Ta() {
|
|
4695
|
+
return ps || (ps = 1, process.env.NODE_ENV === "production" ? dt.exports = ga() : dt.exports = Sa()), dt.exports;
|
|
4696
|
+
}
|
|
4699
4697
|
var us;
|
|
4700
4698
|
function ya() {
|
|
4701
|
-
return us || (us = 1,
|
|
4702
|
-
}
|
|
4703
|
-
var ds;
|
|
4704
|
-
function Oa() {
|
|
4705
|
-
return ds || (ds = 1, function(e) {
|
|
4699
|
+
return us || (us = 1, function(e) {
|
|
4706
4700
|
(function() {
|
|
4707
4701
|
var t = {
|
|
4708
4702
|
/***/
|
|
@@ -4802,8 +4796,8 @@ function Oa() {
|
|
|
4802
4796
|
var E = {};
|
|
4803
4797
|
if (_)
|
|
4804
4798
|
for (var f = 0; f < this.length; f++) {
|
|
4805
|
-
var
|
|
4806
|
-
|
|
4799
|
+
var N = this[f][0];
|
|
4800
|
+
N != null && (E[N] = !0);
|
|
4807
4801
|
}
|
|
4808
4802
|
for (var O = 0; O < c.length; O++) {
|
|
4809
4803
|
var y = [].concat(c[O]);
|
|
@@ -4937,16 +4931,16 @@ function Oa() {
|
|
|
4937
4931
|
}
|
|
4938
4932
|
});
|
|
4939
4933
|
function o(m, S) {
|
|
4940
|
-
for (var
|
|
4934
|
+
for (var v = [], g = {}, T = 0; T < S.length; T++) {
|
|
4941
4935
|
var A = S[T], M = A[0], ee = A[1], q = A[2], Te = A[3], H = {
|
|
4942
4936
|
id: m + ":" + T,
|
|
4943
4937
|
css: ee,
|
|
4944
4938
|
media: q,
|
|
4945
4939
|
sourceMap: Te
|
|
4946
4940
|
};
|
|
4947
|
-
g[M] ? g[M].parts.push(H) :
|
|
4941
|
+
g[M] ? g[M].parts.push(H) : v.push(g[M] = { id: M, parts: [H] });
|
|
4948
4942
|
}
|
|
4949
|
-
return
|
|
4943
|
+
return v;
|
|
4950
4944
|
}
|
|
4951
4945
|
var c = typeof document < "u";
|
|
4952
4946
|
if (typeof DEBUG < "u" && DEBUG && !c)
|
|
@@ -4962,9 +4956,9 @@ function Oa() {
|
|
|
4962
4956
|
}
|
|
4963
4957
|
*/
|
|
4964
4958
|
}, _ = c && (document.head || document.getElementsByTagName("head")[0]), u = null, d = 0, E = !1, f = function() {
|
|
4965
|
-
},
|
|
4966
|
-
function w(m, S,
|
|
4967
|
-
E =
|
|
4959
|
+
}, N = null, O = "data-vue-ssr-id", y = typeof navigator < "u" && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
|
|
4960
|
+
function w(m, S, v, g) {
|
|
4961
|
+
E = v, N = g || {};
|
|
4968
4962
|
var T = o(m, S);
|
|
4969
4963
|
return se(T), function(M) {
|
|
4970
4964
|
for (var ee = [], q = 0; q < T.length; q++) {
|
|
@@ -4984,18 +4978,18 @@ function Oa() {
|
|
|
4984
4978
|
}
|
|
4985
4979
|
function se(m) {
|
|
4986
4980
|
for (var S = 0; S < m.length; S++) {
|
|
4987
|
-
var
|
|
4981
|
+
var v = m[S], g = p[v.id];
|
|
4988
4982
|
if (g) {
|
|
4989
4983
|
g.refs++;
|
|
4990
4984
|
for (var T = 0; T < g.parts.length; T++)
|
|
4991
|
-
g.parts[T](
|
|
4992
|
-
for (; T <
|
|
4993
|
-
g.parts.push(re(
|
|
4994
|
-
g.parts.length >
|
|
4985
|
+
g.parts[T](v.parts[T]);
|
|
4986
|
+
for (; T < v.parts.length; T++)
|
|
4987
|
+
g.parts.push(re(v.parts[T]));
|
|
4988
|
+
g.parts.length > v.parts.length && (g.parts.length = v.parts.length);
|
|
4995
4989
|
} else {
|
|
4996
|
-
for (var A = [], T = 0; T <
|
|
4997
|
-
A.push(re(
|
|
4998
|
-
p[
|
|
4990
|
+
for (var A = [], T = 0; T < v.parts.length; T++)
|
|
4991
|
+
A.push(re(v.parts[T]));
|
|
4992
|
+
p[v.id] = { id: v.id, refs: 1, parts: A };
|
|
4999
4993
|
}
|
|
5000
4994
|
}
|
|
5001
4995
|
}
|
|
@@ -5004,7 +4998,7 @@ function Oa() {
|
|
|
5004
4998
|
return m.type = "text/css", _.appendChild(m), m;
|
|
5005
4999
|
}
|
|
5006
5000
|
function re(m) {
|
|
5007
|
-
var S,
|
|
5001
|
+
var S, v, g = document.querySelector("style[" + O + '~="' + m.id + '"]');
|
|
5008
5002
|
if (g) {
|
|
5009
5003
|
if (E)
|
|
5010
5004
|
return f;
|
|
@@ -5012,9 +5006,9 @@ function Oa() {
|
|
|
5012
5006
|
}
|
|
5013
5007
|
if (y) {
|
|
5014
5008
|
var T = d++;
|
|
5015
|
-
g = u || (u = F()), S = b.bind(null, g, T, !1),
|
|
5009
|
+
g = u || (u = F()), S = b.bind(null, g, T, !1), v = b.bind(null, g, T, !0);
|
|
5016
5010
|
} else
|
|
5017
|
-
g = F(), S = I.bind(null, g),
|
|
5011
|
+
g = F(), S = I.bind(null, g), v = function() {
|
|
5018
5012
|
g.parentNode.removeChild(g);
|
|
5019
5013
|
};
|
|
5020
5014
|
return S(m), function(M) {
|
|
@@ -5023,18 +5017,18 @@ function Oa() {
|
|
|
5023
5017
|
return;
|
|
5024
5018
|
S(m = M);
|
|
5025
5019
|
} else
|
|
5026
|
-
|
|
5020
|
+
v();
|
|
5027
5021
|
};
|
|
5028
5022
|
}
|
|
5029
5023
|
var X = /* @__PURE__ */ function() {
|
|
5030
5024
|
var m = [];
|
|
5031
|
-
return function(S,
|
|
5032
|
-
return m[S] =
|
|
5025
|
+
return function(S, v) {
|
|
5026
|
+
return m[S] = v, m.filter(Boolean).join(`
|
|
5033
5027
|
`);
|
|
5034
5028
|
};
|
|
5035
5029
|
}();
|
|
5036
|
-
function b(m, S,
|
|
5037
|
-
var T =
|
|
5030
|
+
function b(m, S, v, g) {
|
|
5031
|
+
var T = v ? "" : g.css;
|
|
5038
5032
|
if (m.styleSheet)
|
|
5039
5033
|
m.styleSheet.cssText = X(S, T);
|
|
5040
5034
|
else {
|
|
@@ -5043,15 +5037,15 @@ function Oa() {
|
|
|
5043
5037
|
}
|
|
5044
5038
|
}
|
|
5045
5039
|
function I(m, S) {
|
|
5046
|
-
var
|
|
5047
|
-
if (g && m.setAttribute("media", g),
|
|
5048
|
-
/*# sourceURL=` + T.sources[0] + " */",
|
|
5040
|
+
var v = S.css, g = S.media, T = S.sourceMap;
|
|
5041
|
+
if (g && m.setAttribute("media", g), N.ssrId && m.setAttribute(O, S.id), T && (v += `
|
|
5042
|
+
/*# sourceURL=` + T.sources[0] + " */", v += `
|
|
5049
5043
|
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(T)))) + " */"), m.styleSheet)
|
|
5050
|
-
m.styleSheet.cssText =
|
|
5044
|
+
m.styleSheet.cssText = v;
|
|
5051
5045
|
else {
|
|
5052
5046
|
for (; m.firstChild; )
|
|
5053
5047
|
m.removeChild(m.firstChild);
|
|
5054
|
-
m.appendChild(document.createTextNode(
|
|
5048
|
+
m.appendChild(document.createTextNode(v));
|
|
5055
5049
|
}
|
|
5056
5050
|
}
|
|
5057
5051
|
}
|
|
@@ -5110,7 +5104,7 @@ function Oa() {
|
|
|
5110
5104
|
default: function() {
|
|
5111
5105
|
return (
|
|
5112
5106
|
/* binding */
|
|
5113
|
-
|
|
5107
|
+
ai
|
|
5114
5108
|
);
|
|
5115
5109
|
}
|
|
5116
5110
|
}), typeof window < "u") {
|
|
@@ -5118,7 +5112,7 @@ function Oa() {
|
|
|
5118
5112
|
l && (r.p = l[1]);
|
|
5119
5113
|
}
|
|
5120
5114
|
r(417);
|
|
5121
|
-
var s =
|
|
5115
|
+
var s = Ta();
|
|
5122
5116
|
function o(h, L, K, B, G, te) {
|
|
5123
5117
|
const ie = (0, s.resolveComponent)("XmlElement");
|
|
5124
5118
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", {
|
|
@@ -5142,7 +5136,7 @@ function Oa() {
|
|
|
5142
5136
|
}, ">", -1)), f = {
|
|
5143
5137
|
key: 0,
|
|
5144
5138
|
class: "child-elements"
|
|
5145
|
-
},
|
|
5139
|
+
}, N = {
|
|
5146
5140
|
key: 1
|
|
5147
5141
|
}, O = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5148
5142
|
class: "bracket"
|
|
@@ -5150,7 +5144,7 @@ function Oa() {
|
|
|
5150
5144
|
class: "bracket"
|
|
5151
5145
|
}, ">", -1));
|
|
5152
5146
|
function w(h, L, K, B, G, te) {
|
|
5153
|
-
const ie = (0, s.resolveComponent)("CaretDown"), ye = (0, s.resolveComponent)("CaretRight"), $e = (0, s.resolveComponent)("XmlElementName"), qt = (0, s.resolveComponent)("XmlAttributeLine"),
|
|
5147
|
+
const ie = (0, s.resolveComponent)("CaretDown"), ye = (0, s.resolveComponent)("CaretRight"), $e = (0, s.resolveComponent)("XmlElementName"), qt = (0, s.resolveComponent)("XmlAttributeLine"), Fn = (0, s.resolveComponent)("XmlElement", !0), me = (0, s.resolveComponent)("XmlElementContent"), li = (0, s.resolveComponent)("XmlCDataSection"), ci = (0, s.resolveComponent)("XmlRemark");
|
|
5154
5148
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", p, [(0, s.createElementVNode)("div", null, [h.selfClosing ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)(s.Fragment, {
|
|
5155
5149
|
key: 0
|
|
5156
5150
|
}, [h.collapsed ? ((0, s.openBlock)(), (0, s.createBlock)(ye, {
|
|
@@ -5168,19 +5162,19 @@ function Oa() {
|
|
|
5168
5162
|
}, null, 8, ["name", "onClick"]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createBlock)(qt, {
|
|
5169
5163
|
key: 1,
|
|
5170
5164
|
attributes: h.attributes
|
|
5171
|
-
}, null, 8, ["attributes"])), h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", u, " /")) : (0, s.createCommentVNode)("", !0), h.selfClosing && h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", d, " ...")) : (0, s.createCommentVNode)("", !0), E]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)("div", f, [(0, s.createElementVNode)("div", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childElements, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5165
|
+
}, null, 8, ["attributes"])), h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", u, " /")) : (0, s.createCommentVNode)("", !0), h.selfClosing && h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", d, " ...")) : (0, s.createCommentVNode)("", !0), E]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)("div", f, [(0, s.createElementVNode)("div", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childElements, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(Fn, {
|
|
5172
5166
|
key: `e${Pe}`,
|
|
5173
5167
|
node: Me
|
|
5174
5168
|
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childContents, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(me, {
|
|
5175
5169
|
key: `t${Pe}`,
|
|
5176
5170
|
node: Me
|
|
5177
|
-
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.cdataSections, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5171
|
+
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.cdataSections, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(li, {
|
|
5178
5172
|
key: `c${Pe}`,
|
|
5179
5173
|
cdataSection: Me
|
|
5180
|
-
}, null, 8, ["cdataSection"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.remarks, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5174
|
+
}, null, 8, ["cdataSection"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.remarks, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(ci, {
|
|
5181
5175
|
key: `r${Pe}`,
|
|
5182
5176
|
remark: Me
|
|
5183
|
-
}, null, 8, ["remark"]))), 128))])])), !h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("div",
|
|
5177
|
+
}, null, 8, ["remark"]))), 128))])])), !h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("div", N, [O, (0, s.createVNode)($e, {
|
|
5184
5178
|
name: h.name,
|
|
5185
5179
|
closing: !0
|
|
5186
5180
|
}, null, 8, ["name"]), y])) : (0, s.createCommentVNode)("", !0)]);
|
|
@@ -5219,7 +5213,7 @@ function Oa() {
|
|
|
5219
5213
|
function S(h, L, K, B, G, te) {
|
|
5220
5214
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", m, (0, s.toDisplayString)(h.content), 1)]);
|
|
5221
5215
|
}
|
|
5222
|
-
var
|
|
5216
|
+
var v = (0, s.defineComponent)({
|
|
5223
5217
|
props: {
|
|
5224
5218
|
node: Text
|
|
5225
5219
|
},
|
|
@@ -5230,7 +5224,7 @@ function Oa() {
|
|
|
5230
5224
|
}
|
|
5231
5225
|
});
|
|
5232
5226
|
r(174);
|
|
5233
|
-
var T = /* @__PURE__ */ (0, X.A)(
|
|
5227
|
+
var T = /* @__PURE__ */ (0, X.A)(v, [["render", S], ["__scopeId", "data-v-75f773a5"]]);
|
|
5234
5228
|
function A(h, L, K, B, G, te) {
|
|
5235
5229
|
const ie = (0, s.resolveComponent)("XmlAttribute");
|
|
5236
5230
|
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.attributes, (ye, $e) => ((0, s.openBlock)(), (0, s.createBlock)(ie, {
|
|
@@ -5261,30 +5255,30 @@ function Oa() {
|
|
|
5261
5255
|
function Re(h, L, K, B, G, te) {
|
|
5262
5256
|
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span", pe, (0, s.toDisplayString)(h.name), 1)]);
|
|
5263
5257
|
}
|
|
5264
|
-
var
|
|
5258
|
+
var Or = (0, s.defineComponent)({
|
|
5265
5259
|
props: {
|
|
5266
5260
|
name: String
|
|
5267
5261
|
}
|
|
5268
5262
|
});
|
|
5269
5263
|
r(656);
|
|
5270
|
-
var
|
|
5271
|
-
const
|
|
5264
|
+
var Ir = /* @__PURE__ */ (0, X.A)(Or, [["render", Re], ["__scopeId", "data-v-17010745"]]);
|
|
5265
|
+
const Cr = {
|
|
5272
5266
|
class: "attribute-value"
|
|
5273
5267
|
};
|
|
5274
|
-
function
|
|
5275
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span",
|
|
5268
|
+
function br(h, L, K, B, G, te) {
|
|
5269
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createElementVNode)("span", Cr, (0, s.toDisplayString)(h.value), 1)]);
|
|
5276
5270
|
}
|
|
5277
|
-
var
|
|
5271
|
+
var Ar = (0, s.defineComponent)({
|
|
5278
5272
|
props: {
|
|
5279
5273
|
value: String
|
|
5280
5274
|
}
|
|
5281
5275
|
});
|
|
5282
5276
|
r(679);
|
|
5283
|
-
var
|
|
5277
|
+
var Dr = /* @__PURE__ */ (0, X.A)(Ar, [["render", br], ["__scopeId", "data-v-36c46cbc"]]), Rr = (0, s.defineComponent)({
|
|
5284
5278
|
name: "XmlElement",
|
|
5285
5279
|
components: {
|
|
5286
|
-
XmlAttributeName:
|
|
5287
|
-
XmlAttributeValue:
|
|
5280
|
+
XmlAttributeName: Ir,
|
|
5281
|
+
XmlAttributeValue: Dr
|
|
5288
5282
|
},
|
|
5289
5283
|
props: {
|
|
5290
5284
|
attribute: Attr
|
|
@@ -5298,24 +5292,24 @@ function Oa() {
|
|
|
5298
5292
|
}
|
|
5299
5293
|
});
|
|
5300
5294
|
r(873);
|
|
5301
|
-
var
|
|
5295
|
+
var Mr = /* @__PURE__ */ (0, X.A)(Rr, [["render", H], ["__scopeId", "data-v-3c430bce"]]), Pr = (0, s.defineComponent)({
|
|
5302
5296
|
name: "XmlElement",
|
|
5303
5297
|
components: {
|
|
5304
|
-
XmlAttribute:
|
|
5298
|
+
XmlAttribute: Mr
|
|
5305
5299
|
},
|
|
5306
5300
|
props: {
|
|
5307
5301
|
attributes: Array
|
|
5308
5302
|
}
|
|
5309
|
-
}),
|
|
5310
|
-
const
|
|
5303
|
+
}), Lr = /* @__PURE__ */ (0, X.A)(Pr, [["render", A]]);
|
|
5304
|
+
const xn = (h) => ((0, s.pushScopeId)("data-v-0fce587a"), h = h(), (0, s.popScopeId)(), h), Vr = {
|
|
5311
5305
|
class: "content"
|
|
5312
|
-
},
|
|
5306
|
+
}, kr = /* @__PURE__ */ xn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "<![CDATA[", -1)), wr = {
|
|
5313
5307
|
class: "inline no-margin-padding"
|
|
5314
|
-
},
|
|
5315
|
-
function
|
|
5316
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div",
|
|
5308
|
+
}, Xr = /* @__PURE__ */ xn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "]]>", -1));
|
|
5309
|
+
function Br(h, L, K, B, G, te) {
|
|
5310
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", Vr, [kr, (0, s.createElementVNode)("pre", wr, (0, s.toDisplayString)(h.content), 1), Xr])]);
|
|
5317
5311
|
}
|
|
5318
|
-
var
|
|
5312
|
+
var xr = (0, s.defineComponent)({
|
|
5319
5313
|
props: {
|
|
5320
5314
|
cdataSection: Text
|
|
5321
5315
|
},
|
|
@@ -5326,16 +5320,16 @@ function Oa() {
|
|
|
5326
5320
|
}
|
|
5327
5321
|
});
|
|
5328
5322
|
r(261);
|
|
5329
|
-
var
|
|
5330
|
-
const
|
|
5323
|
+
var Fr = /* @__PURE__ */ (0, X.A)(xr, [["render", Br], ["__scopeId", "data-v-0fce587a"]]);
|
|
5324
|
+
const Ur = {
|
|
5331
5325
|
class: "content"
|
|
5332
|
-
},
|
|
5326
|
+
}, $r = {
|
|
5333
5327
|
class: "inline no-margin-padding"
|
|
5334
5328
|
};
|
|
5335
|
-
function
|
|
5336
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div",
|
|
5329
|
+
function jr(h, L, K, B, G, te) {
|
|
5330
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", Ur, [(0, s.createTextVNode)(" <!-- "), (0, s.createElementVNode)("pre", $r, (0, s.toDisplayString)(h.content), 1), (0, s.createTextVNode)(" --> ")])]);
|
|
5337
5331
|
}
|
|
5338
|
-
var
|
|
5332
|
+
var Hr = (0, s.defineComponent)({
|
|
5339
5333
|
props: {
|
|
5340
5334
|
remark: Comment
|
|
5341
5335
|
},
|
|
@@ -5346,44 +5340,44 @@ function Oa() {
|
|
|
5346
5340
|
}
|
|
5347
5341
|
});
|
|
5348
5342
|
r(197);
|
|
5349
|
-
var
|
|
5350
|
-
const
|
|
5343
|
+
var Kr = /* @__PURE__ */ (0, X.A)(Hr, [["render", jr], ["__scopeId", "data-v-7bc574c6"]]);
|
|
5344
|
+
const Wr = {
|
|
5351
5345
|
width: "1em",
|
|
5352
5346
|
height: "1em",
|
|
5353
5347
|
viewBox: "0 0 24 24"
|
|
5354
|
-
},
|
|
5348
|
+
}, Gr = [/* @__PURE__ */ (0, s.createElementVNode)("path", {
|
|
5355
5349
|
fill: "currentColor",
|
|
5356
5350
|
d: "m11.998 17l7-8h-14z"
|
|
5357
5351
|
}, null, -1)];
|
|
5358
|
-
function
|
|
5359
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("svg",
|
|
5352
|
+
function Jr(h, L, K, B, G, te) {
|
|
5353
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("svg", Wr, Gr);
|
|
5360
5354
|
}
|
|
5361
|
-
var
|
|
5355
|
+
var Yr = {
|
|
5362
5356
|
name: "CaretDown"
|
|
5363
|
-
},
|
|
5364
|
-
const
|
|
5357
|
+
}, qr = /* @__PURE__ */ (0, X.A)(Yr, [["render", Jr]]);
|
|
5358
|
+
const zr = {
|
|
5365
5359
|
width: "1em",
|
|
5366
5360
|
height: "1em",
|
|
5367
5361
|
viewBox: "0 0 24 24"
|
|
5368
|
-
},
|
|
5362
|
+
}, Qr = [/* @__PURE__ */ (0, s.createElementVNode)("path", {
|
|
5369
5363
|
fill: "currentColor",
|
|
5370
5364
|
d: "m9 19l8-7l-8-7z"
|
|
5371
5365
|
}, null, -1)];
|
|
5372
|
-
function
|
|
5373
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("svg",
|
|
5366
|
+
function Zr(h, L, K, B, G, te) {
|
|
5367
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("svg", zr, Qr);
|
|
5374
5368
|
}
|
|
5375
|
-
var
|
|
5369
|
+
var ei = {
|
|
5376
5370
|
name: "CaretRight"
|
|
5377
|
-
},
|
|
5371
|
+
}, ti = /* @__PURE__ */ (0, X.A)(ei, [["render", Zr]]), ni = (0, s.defineComponent)({
|
|
5378
5372
|
name: "XmlElement",
|
|
5379
5373
|
components: {
|
|
5380
5374
|
XmlElementName: I,
|
|
5381
5375
|
XmlElementContent: T,
|
|
5382
|
-
XmlAttributeLine:
|
|
5383
|
-
XmlCDataSection:
|
|
5384
|
-
XmlRemark:
|
|
5385
|
-
CaretDown:
|
|
5386
|
-
CaretRight:
|
|
5376
|
+
XmlAttributeLine: Lr,
|
|
5377
|
+
XmlCDataSection: Fr,
|
|
5378
|
+
XmlRemark: Kr,
|
|
5379
|
+
CaretDown: qr,
|
|
5380
|
+
CaretRight: ti
|
|
5387
5381
|
},
|
|
5388
5382
|
props: {
|
|
5389
5383
|
node: Element
|
|
@@ -5406,9 +5400,9 @@ function Oa() {
|
|
|
5406
5400
|
}
|
|
5407
5401
|
});
|
|
5408
5402
|
r(309);
|
|
5409
|
-
var
|
|
5403
|
+
var si = /* @__PURE__ */ (0, X.A)(ni, [["render", w], ["__scopeId", "data-v-d071a178"]]), ri = (0, s.defineComponent)({
|
|
5410
5404
|
components: {
|
|
5411
|
-
XmlElement:
|
|
5405
|
+
XmlElement: si
|
|
5412
5406
|
},
|
|
5413
5407
|
props: {
|
|
5414
5408
|
xml: String,
|
|
@@ -5428,16 +5422,16 @@ function Oa() {
|
|
|
5428
5422
|
rootNode: K
|
|
5429
5423
|
};
|
|
5430
5424
|
}
|
|
5431
|
-
}),
|
|
5425
|
+
}), ii = /* @__PURE__ */ (0, X.A)(ri, [["render", o]]), oi = ii, ai = oi;
|
|
5432
5426
|
})(), e.exports = a;
|
|
5433
5427
|
})();
|
|
5434
5428
|
}(zt)), zt.exports;
|
|
5435
5429
|
}
|
|
5436
|
-
var
|
|
5437
|
-
const
|
|
5430
|
+
var yr = ya();
|
|
5431
|
+
const Oa = /* @__PURE__ */ Ti(yr), Ba = /* @__PURE__ */ yi({
|
|
5438
5432
|
__proto__: null,
|
|
5439
|
-
default:
|
|
5440
|
-
}, [
|
|
5433
|
+
default: Oa
|
|
5434
|
+
}, [yr]);
|
|
5441
5435
|
export {
|
|
5442
|
-
|
|
5436
|
+
Ba as v
|
|
5443
5437
|
};
|