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