@datagouv/components-next 0.0.10 → 0.0.12
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-DFSq3qMS.js → JsonPreview.client-DIkmdH2M.js} +2 -2
- package/dist/{MapContainer.client-CCHOsGLk.js → MapContainer.client-C_ziilUT.js} +1 -1
- package/dist/{PdfPreview.client-Ce-Rk3ui.js → PdfPreview.client-ClQF3S8E.js} +2 -2
- package/dist/{Pmtiles.client-pBRpsEs7.js → Pmtiles.client-FkdZAUG-.js} +1 -1
- package/dist/Swagger.client-QQlOMFC1.js +4 -0
- package/dist/{XmlPreview.client-D62Apole.js → XmlPreview.client-DfHUWkih.js} +2 -2
- package/dist/components-next.css +3 -3
- package/dist/components-next.js +26 -26
- package/dist/{main-CRrqrPkO.js → main-D4D0CyPW.js} +71891 -49066
- package/dist/{pdf-vue3-D9uzcuC5.js → pdf-vue3-DFzYx_2k.js} +1 -1
- package/dist/{text-clamp.esm-CmCeJwgZ.js → text-clamp.esm-pQ8Iya95.js} +1 -1
- package/dist/{vue3-json-viewer-B8azJ68d.js → vue3-json-viewer-AGKmPmT9.js} +1 -1
- package/dist/{vue3-xml-viewer.common-CIro0ncJ.js → vue3-xml-viewer.common-CntqATO7.js} +684 -677
- package/package.json +16 -4
- package/src/components/ResourceAccordion/ResourceAccordion.vue +2 -2
- package/src/functions/markdown.ts +56 -33
- package/dist/Swagger.client-CfS91EWS.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as et, P as ge, Q as j, R as ut, S as tn, T as
|
|
1
|
+
import { O as et, P as ge, Q as j, R as ut, S as tn, T as cn, U as _i, V as pi, W as ds, X as Ce, Y as ui, Z as fs, $ as di, a0 as he, a1 as Un, a2 as Et, a3 as fi, a4 as hi, a5 as mi, a6 as Ei, a7 as vi, a8 as Mt, a9 as Ni, aa as _n, ab as gi, ac as Si, k as Ti } from "./main-D4D0CyPW.js";
|
|
2
2
|
function yi(e, t) {
|
|
3
3
|
for (var n = 0; n < t.length; n++) {
|
|
4
4
|
const r = t[n];
|
|
@@ -17,13 +17,13 @@ function yi(e, t) {
|
|
|
17
17
|
}
|
|
18
18
|
var zt = { exports: {} }, dt = { exports: {} }, Qt = {};
|
|
19
19
|
/**
|
|
20
|
-
* @vue/compiler-core v3.5.
|
|
20
|
+
* @vue/compiler-core v3.5.17
|
|
21
21
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
22
|
* @license MIT
|
|
23
23
|
**/
|
|
24
|
-
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), tt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""),
|
|
24
|
+
const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Pt = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), tt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), pn = Symbol(
|
|
25
25
|
process.env.NODE_ENV !== "production" ? "BaseTransition" : ""
|
|
26
|
-
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""),
|
|
26
|
+
), De = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), un = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), dn = Symbol(
|
|
27
27
|
process.env.NODE_ENV !== "production" ? "createElementBlock" : ""
|
|
28
28
|
), Lt = Symbol(process.env.NODE_ENV !== "production" ? "createVNode" : ""), Vt = Symbol(
|
|
29
29
|
process.env.NODE_ENV !== "production" ? "createElementVNode" : ""
|
|
@@ -31,7 +31,7 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
31
31
|
process.env.NODE_ENV !== "production" ? "createCommentVNode" : ""
|
|
32
32
|
), kt = Symbol(
|
|
33
33
|
process.env.NODE_ENV !== "production" ? "createTextVNode" : ""
|
|
34
|
-
),
|
|
34
|
+
), fn = Symbol(
|
|
35
35
|
process.env.NODE_ENV !== "production" ? "createStaticVNode" : ""
|
|
36
36
|
), wt = Symbol(
|
|
37
37
|
process.env.NODE_ENV !== "production" ? "resolveComponent" : ""
|
|
@@ -43,7 +43,7 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
43
43
|
process.env.NODE_ENV !== "production" ? "resolveFilter" : ""
|
|
44
44
|
), Ft = Symbol(
|
|
45
45
|
process.env.NODE_ENV !== "production" ? "withDirectives" : ""
|
|
46
|
-
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""),
|
|
46
|
+
), Ut = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), hn = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), mn = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), lt = Symbol(
|
|
47
47
|
process.env.NODE_ENV !== "production" ? "toDisplayString" : ""
|
|
48
48
|
), nt = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), $t = Symbol(
|
|
49
49
|
process.env.NODE_ENV !== "production" ? "normalizeClass" : ""
|
|
@@ -53,32 +53,32 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
53
53
|
process.env.NODE_ENV !== "production" ? "normalizeProps" : ""
|
|
54
54
|
), Ze = Symbol(
|
|
55
55
|
process.env.NODE_ENV !== "production" ? "guardReactiveProps" : ""
|
|
56
|
-
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""),
|
|
56
|
+
), Ht = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""), hs = Symbol(process.env.NODE_ENV !== "production" ? "capitalize" : ""), It = Symbol(
|
|
57
57
|
process.env.NODE_ENV !== "production" ? "toHandlerKey" : ""
|
|
58
58
|
), st = Symbol(
|
|
59
59
|
process.env.NODE_ENV !== "production" ? "setBlockTracking" : ""
|
|
60
|
-
),
|
|
60
|
+
), ms = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), Es = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Kt = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), vs = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), Ns = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), Wt = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), En = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), Xe = {
|
|
61
61
|
[We]: "Fragment",
|
|
62
62
|
[Ke]: "Teleport",
|
|
63
63
|
[Pt]: "Suspense",
|
|
64
64
|
[tt]: "KeepAlive",
|
|
65
|
-
[
|
|
65
|
+
[pn]: "BaseTransition",
|
|
66
66
|
[De]: "openBlock",
|
|
67
|
-
[
|
|
68
|
-
[
|
|
67
|
+
[un]: "createBlock",
|
|
68
|
+
[dn]: "createElementBlock",
|
|
69
69
|
[Lt]: "createVNode",
|
|
70
70
|
[Vt]: "createElementVNode",
|
|
71
71
|
[Qe]: "createCommentVNode",
|
|
72
72
|
[kt]: "createTextVNode",
|
|
73
|
-
[
|
|
73
|
+
[fn]: "createStaticVNode",
|
|
74
74
|
[wt]: "resolveComponent",
|
|
75
75
|
[Xt]: "resolveDynamicComponent",
|
|
76
76
|
[Bt]: "resolveDirective",
|
|
77
77
|
[xt]: "resolveFilter",
|
|
78
78
|
[Ft]: "withDirectives",
|
|
79
79
|
[Ut]: "renderList",
|
|
80
|
-
[
|
|
81
|
-
[
|
|
80
|
+
[hn]: "renderSlot",
|
|
81
|
+
[mn]: "createSlots",
|
|
82
82
|
[lt]: "toDisplayString",
|
|
83
83
|
[nt]: "mergeProps",
|
|
84
84
|
[$t]: "normalizeClass",
|
|
@@ -87,18 +87,18 @@ const We = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), Ke =
|
|
|
87
87
|
[Ze]: "guardReactiveProps",
|
|
88
88
|
[Ht]: "toHandlers",
|
|
89
89
|
[Ot]: "camelize",
|
|
90
|
-
[
|
|
90
|
+
[hs]: "capitalize",
|
|
91
91
|
[It]: "toHandlerKey",
|
|
92
92
|
[st]: "setBlockTracking",
|
|
93
|
-
[
|
|
94
|
-
[
|
|
93
|
+
[ms]: "pushScopeId",
|
|
94
|
+
[Es]: "popScopeId",
|
|
95
95
|
[Kt]: "withCtx",
|
|
96
|
-
[
|
|
97
|
-
[
|
|
96
|
+
[vs]: "unref",
|
|
97
|
+
[Ns]: "isRef",
|
|
98
98
|
[Wt]: "withMemo",
|
|
99
|
-
[
|
|
99
|
+
[En]: "isMemoSame"
|
|
100
100
|
};
|
|
101
|
-
function
|
|
101
|
+
function gs(e) {
|
|
102
102
|
Object.getOwnPropertySymbols(e).forEach((t) => {
|
|
103
103
|
Xe[t] = e[t];
|
|
104
104
|
});
|
|
@@ -188,7 +188,7 @@ const Oi = {
|
|
|
188
188
|
end: { line: 1, column: 1, offset: 0 },
|
|
189
189
|
source: ""
|
|
190
190
|
};
|
|
191
|
-
function
|
|
191
|
+
function Ss(e, t = "") {
|
|
192
192
|
return {
|
|
193
193
|
type: 0,
|
|
194
194
|
source: t,
|
|
@@ -204,7 +204,7 @@ function gs(e, t = "") {
|
|
|
204
204
|
loc: W
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
-
function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1,
|
|
207
|
+
function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1, p = W) {
|
|
208
208
|
return e && (s ? (e.helper(De), e.helper(Fe(e.inSSR, c))) : e.helper(xe(e.inSSR, c)), l && e.helper(Ft)), {
|
|
209
209
|
type: 13,
|
|
210
210
|
tag: t,
|
|
@@ -216,7 +216,7 @@ function Je(e, t, n, r, a, i, l, s = !1, o = !1, c = !1, _ = W) {
|
|
|
216
216
|
isBlock: s,
|
|
217
217
|
disableTracking: o,
|
|
218
218
|
isComponent: c,
|
|
219
|
-
loc:
|
|
219
|
+
loc: p
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
function be(e, t = W) {
|
|
@@ -233,7 +233,7 @@ function _e(e, t = W) {
|
|
|
233
233
|
properties: e
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function x(e, t) {
|
|
237
237
|
return {
|
|
238
238
|
type: 16,
|
|
239
239
|
loc: W,
|
|
@@ -292,7 +292,7 @@ function Ct(e, t, n, r = !0) {
|
|
|
292
292
|
loc: W
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Ts(e, t, n = !1, r = !1) {
|
|
296
296
|
return {
|
|
297
297
|
type: 20,
|
|
298
298
|
index: e,
|
|
@@ -303,7 +303,7 @@ function Ss(e, t, n = !1, r = !1) {
|
|
|
303
303
|
loc: W
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function ys(e) {
|
|
307
307
|
return {
|
|
308
308
|
type: 21,
|
|
309
309
|
body: e,
|
|
@@ -352,13 +352,13 @@ function xe(e, t) {
|
|
|
352
352
|
return e || t ? Lt : Vt;
|
|
353
353
|
}
|
|
354
354
|
function Fe(e, t) {
|
|
355
|
-
return e || t ?
|
|
355
|
+
return e || t ? un : dn;
|
|
356
356
|
}
|
|
357
357
|
function Gt(e, { helper: t, removeHelper: n, inSSR: r }) {
|
|
358
358
|
e.isBlock || (e.isBlock = !0, n(xe(r, e.isComponent)), t(De), t(Fe(r, e.isComponent)));
|
|
359
359
|
}
|
|
360
|
-
const
|
|
361
|
-
function
|
|
360
|
+
const $n = new Uint8Array([123, 123]), jn = new Uint8Array([125, 125]);
|
|
361
|
+
function Hn(e) {
|
|
362
362
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
363
363
|
}
|
|
364
364
|
function ce(e) {
|
|
@@ -402,13 +402,13 @@ const J = {
|
|
|
402
402
|
};
|
|
403
403
|
class Vi {
|
|
404
404
|
constructor(t, n) {
|
|
405
|
-
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen =
|
|
405
|
+
this.stack = t, this.cbs = n, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen = $n, this.delimiterClose = jn, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
|
|
406
406
|
}
|
|
407
407
|
get inSFCRoot() {
|
|
408
408
|
return this.mode === 2 && this.stack.length === 0;
|
|
409
409
|
}
|
|
410
410
|
reset() {
|
|
411
|
-
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen =
|
|
411
|
+
this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen = $n, this.delimiterClose = jn;
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
* Generate Position object with line / column information using recorded
|
|
@@ -519,7 +519,7 @@ class 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) : Hn(t) ? (this.sectionStart = this.index, this.mode === 0 ? this.state = 6 : this.inSFCRoot ? this.state = 34 : this.inXML ? this.state = 6 : t === 116 ? this.state = 30 : this.state = t === 115 ? 29 : 6) : t === 47 ? this.state = 8 : (this.state = 1, this.stateText(t));
|
|
523
523
|
}
|
|
524
524
|
stateInTagName(t) {
|
|
525
525
|
Oe(t) && this.handleTagName(t);
|
|
@@ -534,7 +534,7 @@ class 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 = Hn(t) ? 9 : 27, this.sectionStart = this.index));
|
|
538
538
|
}
|
|
539
539
|
stateInClosingTagName(t) {
|
|
540
540
|
(t === 62 || ce(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
|
|
@@ -635,7 +635,7 @@ class Vi {
|
|
|
635
635
|
parse(t) {
|
|
636
636
|
for (this.buffer = t; this.index < this.buffer.length; ) {
|
|
637
637
|
const n = this.buffer.charCodeAt(this.index);
|
|
638
|
-
switch (n === 10 && this.newlines.push(this.index), this.state) {
|
|
638
|
+
switch (n === 10 && this.state !== 33 && this.newlines.push(this.index), this.state) {
|
|
639
639
|
case 1: {
|
|
640
640
|
this.stateText(n);
|
|
641
641
|
break;
|
|
@@ -855,14 +855,14 @@ function rt(e, t, n, ...r) {
|
|
|
855
855
|
Details: ${l}` : ""}`, o = new SyntaxError(s);
|
|
856
856
|
o.code = e, n && (o.loc = n), t.onWarn(o);
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function vn(e) {
|
|
859
859
|
throw e;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Os(e) {
|
|
862
862
|
process.env.NODE_ENV !== "production" && console.warn(`[Vue warn] ${e.message}`);
|
|
863
863
|
}
|
|
864
864
|
function P(e, t, n, r) {
|
|
865
|
-
const a = process.env.NODE_ENV !== "production" ? (n ||
|
|
865
|
+
const a = process.env.NODE_ENV !== "production" ? (n || Is)[e] + (r || "") : `https://vuejs.org/error-reference/#compiler-${e}`, i = new SyntaxError(String(a));
|
|
866
866
|
return i.code = e, i.loc = t, i;
|
|
867
867
|
}
|
|
868
868
|
const Xi = {
|
|
@@ -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
|
+
}, Is = {
|
|
978
978
|
// parse errors
|
|
979
979
|
0: "Illegal comment.",
|
|
980
980
|
1: "CDATA section is allowed only in XML context.",
|
|
@@ -1067,7 +1067,7 @@ function Ui(e) {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
function $i(e, t) {
|
|
1069
1069
|
for (const n of e.params)
|
|
1070
|
-
for (const r of
|
|
1070
|
+
for (const r of ve(n))
|
|
1071
1071
|
t(r);
|
|
1072
1072
|
}
|
|
1073
1073
|
function ji(e, t) {
|
|
@@ -1075,7 +1075,7 @@ function ji(e, t) {
|
|
|
1075
1075
|
if (n.type === "VariableDeclaration") {
|
|
1076
1076
|
if (n.declare) continue;
|
|
1077
1077
|
for (const r of n.declarations)
|
|
1078
|
-
for (const a of
|
|
1078
|
+
for (const a of ve(r.id))
|
|
1079
1079
|
t(a);
|
|
1080
1080
|
} else if (n.type === "FunctionDeclaration" || n.type === "ClassDeclaration") {
|
|
1081
1081
|
if (n.declare || !n.id) continue;
|
|
@@ -1089,10 +1089,10 @@ function Ki(e, t, n) {
|
|
|
1089
1089
|
const r = e.type === "ForStatement" ? e.init : e.left;
|
|
1090
1090
|
if (r && r.type === "VariableDeclaration" && (r.kind === "var" && t))
|
|
1091
1091
|
for (const a of r.declarations)
|
|
1092
|
-
for (const i of
|
|
1092
|
+
for (const i of ve(a.id))
|
|
1093
1093
|
n(i);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function ve(e, t = []) {
|
|
1096
1096
|
switch (e.type) {
|
|
1097
1097
|
case "Identifier":
|
|
1098
1098
|
t.push(e);
|
|
@@ -1105,23 +1105,23 @@ function Ee(e, t = []) {
|
|
|
1105
1105
|
break;
|
|
1106
1106
|
case "ObjectPattern":
|
|
1107
1107
|
for (const r of e.properties)
|
|
1108
|
-
r.type === "RestElement" ?
|
|
1108
|
+
r.type === "RestElement" ? ve(r.argument, t) : ve(r.value, t);
|
|
1109
1109
|
break;
|
|
1110
1110
|
case "ArrayPattern":
|
|
1111
1111
|
e.elements.forEach((r) => {
|
|
1112
|
-
r &&
|
|
1112
|
+
r && ve(r, t);
|
|
1113
1113
|
});
|
|
1114
1114
|
break;
|
|
1115
1115
|
case "RestElement":
|
|
1116
|
-
|
|
1116
|
+
ve(e.argument, t);
|
|
1117
1117
|
break;
|
|
1118
1118
|
case "AssignmentPattern":
|
|
1119
|
-
|
|
1119
|
+
ve(e.left, t);
|
|
1120
1120
|
break;
|
|
1121
1121
|
}
|
|
1122
1122
|
return t;
|
|
1123
1123
|
}
|
|
1124
|
-
const Wi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type),
|
|
1124
|
+
const Wi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), Cs = (e) => e && (e.type === "ObjectProperty" || e.type === "ObjectMethod") && !e.computed, Gi = (e, t) => Cs(t) && t.key === e, bs = [
|
|
1125
1125
|
"TSAsExpression",
|
|
1126
1126
|
// foo as number
|
|
1127
1127
|
"TSTypeAssertion",
|
|
@@ -1133,11 +1133,11 @@ const Wi = (e) => /Function(?:Expression|Declaration)$|Method$/.test(e.type), Is
|
|
|
1133
1133
|
"TSSatisfiesExpression"
|
|
1134
1134
|
// foo satisfies T
|
|
1135
1135
|
];
|
|
1136
|
-
function
|
|
1137
|
-
return
|
|
1136
|
+
function As(e) {
|
|
1137
|
+
return bs.includes(e.type) ? As(e.expression) : e;
|
|
1138
1138
|
}
|
|
1139
1139
|
const ne = (e) => e.type === 4 && e.isStatic;
|
|
1140
|
-
function
|
|
1140
|
+
function Nn(e) {
|
|
1141
1141
|
switch (e) {
|
|
1142
1142
|
case "Teleport":
|
|
1143
1143
|
case "teleport":
|
|
@@ -1150,11 +1150,11 @@ function vn(e) {
|
|
|
1150
1150
|
return tt;
|
|
1151
1151
|
case "BaseTransition":
|
|
1152
1152
|
case "base-transition":
|
|
1153
|
-
return
|
|
1153
|
+
return pn;
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
-
const Ji = /^\d|[^\$\w\xA0-\uFFFF]/, ct = (e) => !Ji.test(e), Yi = /[A-Za-z_$\xA0-\uFFFF]/, qi = /[\.\?\w$\xA0-\uFFFF]/, zi = /\s+[.[]\s*|\s*[.[]\s+/g,
|
|
1157
|
-
const t =
|
|
1156
|
+
const Ji = /^\d|[^\$\w\xA0-\uFFFF]/, ct = (e) => !Ji.test(e), Yi = /[A-Za-z_$\xA0-\uFFFF]/, qi = /[\.\?\w$\xA0-\uFFFF]/, zi = /\s+[.[]\s*|\s*[.[]\s+/g, Ds = (e) => e.type === 4 ? e.content : e.loc.source, Rs = (e) => {
|
|
1157
|
+
const t = Ds(e).trim().replace(zi, (s) => s.trim());
|
|
1158
1158
|
let n = 0, r = [], a = 0, i = 0, l = null;
|
|
1159
1159
|
for (let s = 0; s < t.length; s++) {
|
|
1160
1160
|
const o = t.charAt(s);
|
|
@@ -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
|
-
}, Qi = et,
|
|
1190
|
+
}, Qi = et, gn = Rs, Zi = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, Ms = (e) => Zi.test(Ds(e)), eo = et, Ps = Ms;
|
|
1191
1191
|
function to(e, t, n = t.length) {
|
|
1192
|
-
return
|
|
1192
|
+
return Ls(
|
|
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 Ls(e, t, n = t.length) {
|
|
1203
1203
|
let r = 0, a = -1;
|
|
1204
1204
|
for (let i = 0; i < n; i++)
|
|
1205
1205
|
t.charCodeAt(i) === 10 && (r++, a = i);
|
|
@@ -1230,7 +1230,7 @@ function Ye(e, t, n = !1, r = !1) {
|
|
|
1230
1230
|
function Ne(e, t) {
|
|
1231
1231
|
return !!(e && ne(e) && e.content === t);
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Vs(e) {
|
|
1234
1234
|
return e.props.some(
|
|
1235
1235
|
(t) => t.type === 7 && t.name === "bind" && (!t.arg || // v-bind="obj"
|
|
1236
1236
|
t.arg.type !== 4 || // v-bind:[_ctx.foo]
|
|
@@ -1241,7 +1241,7 @@ function Ls(e) {
|
|
|
1241
1241
|
function vt(e) {
|
|
1242
1242
|
return e.type === 5 || e.type === 2;
|
|
1243
1243
|
}
|
|
1244
|
-
function
|
|
1244
|
+
function Sn(e) {
|
|
1245
1245
|
return e.type === 7 && e.name === "slot";
|
|
1246
1246
|
}
|
|
1247
1247
|
function qe(e) {
|
|
@@ -1251,11 +1251,11 @@ function it(e) {
|
|
|
1251
1251
|
return e.type === 1 && e.tagType === 2;
|
|
1252
1252
|
}
|
|
1253
1253
|
const no = /* @__PURE__ */ new Set([Ge, Ze]);
|
|
1254
|
-
function
|
|
1254
|
+
function ks(e, t = []) {
|
|
1255
1255
|
if (e && !j(e) && e.type === 14) {
|
|
1256
1256
|
const n = e.callee;
|
|
1257
1257
|
if (!j(n) && no.has(n))
|
|
1258
|
-
return
|
|
1258
|
+
return ks(
|
|
1259
1259
|
e.arguments[0],
|
|
1260
1260
|
t.concat(e)
|
|
1261
1261
|
);
|
|
@@ -1265,24 +1265,24 @@ function Vs(e, t = []) {
|
|
|
1265
1265
|
function ot(e, t, n) {
|
|
1266
1266
|
let r, a = e.type === 13 ? e.props : e.arguments[2], i = [], l;
|
|
1267
1267
|
if (a && !j(a) && a.type === 14) {
|
|
1268
|
-
const s =
|
|
1268
|
+
const s = ks(a);
|
|
1269
1269
|
a = s[0], i = s[1], l = i[i.length - 1];
|
|
1270
1270
|
}
|
|
1271
1271
|
if (a == null || j(a))
|
|
1272
1272
|
r = _e([t]);
|
|
1273
1273
|
else if (a.type === 14) {
|
|
1274
1274
|
const s = a.arguments[0];
|
|
1275
|
-
!j(s) && s.type === 15 ?
|
|
1275
|
+
!j(s) && s.type === 15 ? Kn(t, s) || s.properties.unshift(t) : a.callee === Ht ? r = $(n.helper(nt), [
|
|
1276
1276
|
_e([t]),
|
|
1277
1277
|
a
|
|
1278
1278
|
]) : a.arguments.unshift(_e([t])), !r && (r = a);
|
|
1279
|
-
} else a.type === 15 ? (
|
|
1279
|
+
} else a.type === 15 ? (Kn(t, a) || a.properties.unshift(t), r = a) : (r = $(n.helper(nt), [
|
|
1280
1280
|
_e([t]),
|
|
1281
1281
|
a
|
|
1282
1282
|
]), l && l.callee === Ze && (l = i[i.length - 2]));
|
|
1283
1283
|
e.type === 13 ? l ? l.arguments[0] = r : e.props = r : l ? l.arguments[0] = r : e.arguments[2] = r;
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function Kn(e, t) {
|
|
1286
1286
|
let n = !1;
|
|
1287
1287
|
if (e.key.type === 4) {
|
|
1288
1288
|
const r = e.key.content;
|
|
@@ -1315,7 +1315,7 @@ function fe(e, t) {
|
|
|
1315
1315
|
case 4:
|
|
1316
1316
|
return !e.isStatic && ct(e.content) && !!t[e.content];
|
|
1317
1317
|
case 8:
|
|
1318
|
-
return e.children.some((n) =>
|
|
1318
|
+
return e.children.some((n) => fs(n) && fe(n, t));
|
|
1319
1319
|
case 5:
|
|
1320
1320
|
case 12:
|
|
1321
1321
|
return fe(e.content, t);
|
|
@@ -1327,10 +1327,10 @@ function fe(e, t) {
|
|
|
1327
1327
|
return process.env.NODE_ENV, !1;
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function ws(e) {
|
|
1331
1331
|
return e.type === 14 && e.callee === Wt ? e.arguments[1].returns : e;
|
|
1332
1332
|
}
|
|
1333
|
-
const
|
|
1333
|
+
const Xs = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Bs = {
|
|
1334
1334
|
parseMode: "base",
|
|
1335
1335
|
ns: 0,
|
|
1336
1336
|
delimiters: ["{{", "}}"],
|
|
@@ -1339,14 +1339,14 @@ const ws = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Xs = {
|
|
|
1339
1339
|
isPreTag: ut,
|
|
1340
1340
|
isIgnoreNewlineTag: ut,
|
|
1341
1341
|
isCustomElement: ut,
|
|
1342
|
-
onError:
|
|
1343
|
-
onWarn:
|
|
1342
|
+
onError: vn,
|
|
1343
|
+
onWarn: Os,
|
|
1344
1344
|
comments: process.env.NODE_ENV !== "production",
|
|
1345
1345
|
prefixIdentifiers: !1
|
|
1346
1346
|
};
|
|
1347
|
-
let D =
|
|
1347
|
+
let D = Bs, at = null, Se = "", z = null, R = null, ae = "", Ee = -1, Le = -1, Tn = 0, Ie = !1, rn = null;
|
|
1348
1348
|
const k = [], V = new Vi(k, {
|
|
1349
|
-
onerr:
|
|
1349
|
+
onerr: oe,
|
|
1350
1350
|
ontext(e, t) {
|
|
1351
1351
|
ft(Y(e, t), e, t);
|
|
1352
1352
|
},
|
|
@@ -1383,7 +1383,7 @@ const k = [], V = new Vi(k, {
|
|
|
1383
1383
|
};
|
|
1384
1384
|
},
|
|
1385
1385
|
onopentagend(e) {
|
|
1386
|
-
|
|
1386
|
+
Gn(e);
|
|
1387
1387
|
},
|
|
1388
1388
|
onclosetag(e, t) {
|
|
1389
1389
|
const n = Y(e, t);
|
|
@@ -1391,19 +1391,19 @@ const k = [], V = new Vi(k, {
|
|
|
1391
1391
|
let r = !1;
|
|
1392
1392
|
for (let a = 0; a < k.length; a++)
|
|
1393
1393
|
if (k[a].tag.toLowerCase() === n.toLowerCase()) {
|
|
1394
|
-
r = !0, a > 0 &&
|
|
1394
|
+
r = !0, a > 0 && oe(24, k[0].loc.start.offset);
|
|
1395
1395
|
for (let l = 0; l <= a; l++) {
|
|
1396
1396
|
const s = k.shift();
|
|
1397
1397
|
Nt(s, t, l < a);
|
|
1398
1398
|
}
|
|
1399
1399
|
break;
|
|
1400
1400
|
}
|
|
1401
|
-
r ||
|
|
1401
|
+
r || oe(23, xs(e, 60));
|
|
1402
1402
|
}
|
|
1403
1403
|
},
|
|
1404
1404
|
onselfclosingtag(e) {
|
|
1405
1405
|
const t = z.tag;
|
|
1406
|
-
z.isSelfClosing = !0,
|
|
1406
|
+
z.isSelfClosing = !0, Gn(e), k[0] && k[0].tag === t && Nt(k.shift(), e);
|
|
1407
1407
|
},
|
|
1408
1408
|
onattribname(e, t) {
|
|
1409
1409
|
R = {
|
|
@@ -1416,7 +1416,7 @@ const k = [], V = new Vi(k, {
|
|
|
1416
1416
|
},
|
|
1417
1417
|
ondirname(e, t) {
|
|
1418
1418
|
const n = Y(e, t), r = n === "." || n === ":" ? "bind" : n === "@" ? "on" : n === "#" ? "slot" : n.slice(2);
|
|
1419
|
-
if (!Ie && r === "" &&
|
|
1419
|
+
if (!Ie && r === "" && oe(26, e), Ie || r === "")
|
|
1420
1420
|
R = {
|
|
1421
1421
|
type: 6,
|
|
1422
1422
|
name: n,
|
|
@@ -1467,35 +1467,35 @@ const k = [], V = new Vi(k, {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
},
|
|
1469
1469
|
onattribdata(e, t) {
|
|
1470
|
-
|
|
1470
|
+
ae += Y(e, t), Ee < 0 && (Ee = e), Le = t;
|
|
1471
1471
|
},
|
|
1472
1472
|
onattribentity(e, t, n) {
|
|
1473
|
-
|
|
1473
|
+
ae += e, Ee < 0 && (Ee = t), Le = n;
|
|
1474
1474
|
},
|
|
1475
1475
|
onattribnameend(e) {
|
|
1476
1476
|
const t = R.loc.start.offset, n = Y(t, e);
|
|
1477
1477
|
R.type === 7 && (R.rawName = n), z.props.some(
|
|
1478
1478
|
(r) => (r.type === 7 ? r.rawName : r.name) === n
|
|
1479
|
-
) &&
|
|
1479
|
+
) && oe(2, t);
|
|
1480
1480
|
},
|
|
1481
1481
|
onattribend(e, t) {
|
|
1482
1482
|
if (z && R) {
|
|
1483
1483
|
if (ke(R.loc, t), e !== 0)
|
|
1484
|
-
if (
|
|
1485
|
-
|
|
1484
|
+
if (ae.includes("&") && (ae = D.decodeEntities(
|
|
1485
|
+
ae,
|
|
1486
1486
|
!0
|
|
1487
1487
|
)), R.type === 6)
|
|
1488
|
-
R.name === "class" && (
|
|
1488
|
+
R.name === "class" && (ae = Us(ae).trim()), e === 1 && !ae && oe(13, t), R.value = {
|
|
1489
1489
|
type: 2,
|
|
1490
|
-
content:
|
|
1491
|
-
loc: e === 1 ? U(
|
|
1492
|
-
}, V.inSFCRoot && z.tag === "template" && R.name === "lang" &&
|
|
1490
|
+
content: ae,
|
|
1491
|
+
loc: e === 1 ? U(Ee, Le) : U(Ee - 1, Le + 1)
|
|
1492
|
+
}, V.inSFCRoot && z.tag === "template" && R.name === "lang" && ae && ae !== "html" && V.enterRCDATA(bt("</template"), 0);
|
|
1493
1493
|
else {
|
|
1494
1494
|
let n = 0;
|
|
1495
1495
|
R.exp = gt(
|
|
1496
|
-
|
|
1496
|
+
ae,
|
|
1497
1497
|
!1,
|
|
1498
|
-
U(
|
|
1498
|
+
U(Ee, Le),
|
|
1499
1499
|
0,
|
|
1500
1500
|
n
|
|
1501
1501
|
), R.name === "for" && (R.forParseResult = ro(R.exp));
|
|
@@ -1506,12 +1506,12 @@ const k = [], V = new Vi(k, {
|
|
|
1506
1506
|
"COMPILER_V_BIND_SYNC",
|
|
1507
1507
|
D,
|
|
1508
1508
|
R.loc,
|
|
1509
|
-
R.
|
|
1509
|
+
R.arg.loc.source
|
|
1510
1510
|
) && (R.name = "model", R.modifiers.splice(r, 1));
|
|
1511
1511
|
}
|
|
1512
1512
|
(R.type !== 7 || R.name !== "pre") && z.props.push(R);
|
|
1513
1513
|
}
|
|
1514
|
-
|
|
1514
|
+
ae = "", Ee = Le = -1;
|
|
1515
1515
|
},
|
|
1516
1516
|
oncomment(e, t) {
|
|
1517
1517
|
D.comments && on({
|
|
@@ -1526,17 +1526,17 @@ const k = [], V = new Vi(k, {
|
|
|
1526
1526
|
switch (V.state) {
|
|
1527
1527
|
case 5:
|
|
1528
1528
|
case 8:
|
|
1529
|
-
|
|
1529
|
+
oe(5, e);
|
|
1530
1530
|
break;
|
|
1531
1531
|
case 3:
|
|
1532
1532
|
case 4:
|
|
1533
|
-
|
|
1533
|
+
oe(
|
|
1534
1534
|
25,
|
|
1535
1535
|
V.sectionStart
|
|
1536
1536
|
);
|
|
1537
1537
|
break;
|
|
1538
1538
|
case 28:
|
|
1539
|
-
V.currentSequence === J.CdataEnd ?
|
|
1539
|
+
V.currentSequence === J.CdataEnd ? oe(6, e) : oe(7, e);
|
|
1540
1540
|
break;
|
|
1541
1541
|
case 6:
|
|
1542
1542
|
case 7:
|
|
@@ -1554,31 +1554,31 @@ const k = [], V = new Vi(k, {
|
|
|
1554
1554
|
case 20:
|
|
1555
1555
|
// '
|
|
1556
1556
|
case 21:
|
|
1557
|
-
|
|
1557
|
+
oe(9, e);
|
|
1558
1558
|
break;
|
|
1559
1559
|
}
|
|
1560
1560
|
for (let t = 0; t < k.length; t++)
|
|
1561
|
-
Nt(k[t], e - 1),
|
|
1561
|
+
Nt(k[t], e - 1), oe(24, k[t].loc.start.offset);
|
|
1562
1562
|
},
|
|
1563
1563
|
oncdata(e, t) {
|
|
1564
|
-
k[0].ns !== 0 ? ft(Y(e, t), e, t) :
|
|
1564
|
+
k[0].ns !== 0 ? ft(Y(e, t), e, t) : oe(1, e - 9);
|
|
1565
1565
|
},
|
|
1566
1566
|
onprocessinginstruction(e) {
|
|
1567
|
-
(k[0] ? k[0].ns : D.ns) === 0 &&
|
|
1567
|
+
(k[0] ? k[0].ns : D.ns) === 0 && oe(
|
|
1568
1568
|
21,
|
|
1569
1569
|
e - 1
|
|
1570
1570
|
);
|
|
1571
1571
|
}
|
|
1572
|
-
}),
|
|
1572
|
+
}), Wn = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, so = /^\(|\)$/g;
|
|
1573
1573
|
function ro(e) {
|
|
1574
|
-
const t = e.loc, n = e.content, r = n.match(
|
|
1574
|
+
const t = e.loc, n = e.content, r = n.match(Xs);
|
|
1575
1575
|
if (!r) return;
|
|
1576
|
-
const [, a, i] = r, l = (
|
|
1577
|
-
const
|
|
1576
|
+
const [, a, i] = r, l = (_, u, d = !1) => {
|
|
1577
|
+
const E = t.start.offset + u, f = E + _.length;
|
|
1578
1578
|
return gt(
|
|
1579
|
-
|
|
1579
|
+
_,
|
|
1580
1580
|
!1,
|
|
1581
|
-
U(
|
|
1581
|
+
U(E, f),
|
|
1582
1582
|
0,
|
|
1583
1583
|
d ? 1 : 0
|
|
1584
1584
|
/* Normal */
|
|
@@ -1591,18 +1591,18 @@ function ro(e) {
|
|
|
1591
1591
|
finalized: !1
|
|
1592
1592
|
};
|
|
1593
1593
|
let o = a.trim().replace(so, "").trim();
|
|
1594
|
-
const c = a.indexOf(o),
|
|
1595
|
-
if (
|
|
1596
|
-
o = o.replace(
|
|
1597
|
-
const
|
|
1594
|
+
const c = a.indexOf(o), p = o.match(Wn);
|
|
1595
|
+
if (p) {
|
|
1596
|
+
o = o.replace(Wn, "").trim();
|
|
1597
|
+
const _ = p[1].trim();
|
|
1598
1598
|
let u;
|
|
1599
|
-
if (
|
|
1600
|
-
const d =
|
|
1599
|
+
if (_ && (u = n.indexOf(_, c + o.length), s.key = l(_, u, !0)), p[2]) {
|
|
1600
|
+
const d = p[2].trim();
|
|
1601
1601
|
d && (s.index = l(
|
|
1602
1602
|
d,
|
|
1603
1603
|
n.indexOf(
|
|
1604
1604
|
d,
|
|
1605
|
-
s.key ? u +
|
|
1605
|
+
s.key ? u + _.length : c + o.length
|
|
1606
1606
|
),
|
|
1607
1607
|
!0
|
|
1608
1608
|
));
|
|
@@ -1613,10 +1613,10 @@ function ro(e) {
|
|
|
1613
1613
|
function Y(e, t) {
|
|
1614
1614
|
return Se.slice(e, t);
|
|
1615
1615
|
}
|
|
1616
|
-
function
|
|
1616
|
+
function Gn(e) {
|
|
1617
1617
|
V.inSFCRoot && (z.innerLoc = U(e + 1, e + 1)), on(z);
|
|
1618
1618
|
const { tag: t, ns: n } = z;
|
|
1619
|
-
n === 0 && D.isPreTag(t) &&
|
|
1619
|
+
n === 0 && D.isPreTag(t) && Tn++, D.isVoidTag(t) ? Nt(z, e) : (k.unshift(z), (n === 1 || n === 2) && (V.inXML = !0)), z = null;
|
|
1620
1620
|
}
|
|
1621
1621
|
function ft(e, t, n) {
|
|
1622
1622
|
{
|
|
@@ -1631,16 +1631,16 @@ function ft(e, t, n) {
|
|
|
1631
1631
|
});
|
|
1632
1632
|
}
|
|
1633
1633
|
function Nt(e, t, n = !1) {
|
|
1634
|
-
n ? ke(e.loc,
|
|
1634
|
+
n ? ke(e.loc, xs(t, 60)) : ke(e.loc, io(t, 62) + 1), V.inSFCRoot && (e.children.length ? e.innerLoc.end = ge({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = ge({}, e.innerLoc.start), e.innerLoc.source = Y(
|
|
1635
1635
|
e.innerLoc.start.offset,
|
|
1636
1636
|
e.innerLoc.end.offset
|
|
1637
1637
|
));
|
|
1638
1638
|
const { tag: r, ns: a, children: i } = e;
|
|
1639
|
-
if (Ie || (r === "slot" ? e.tagType = 2 :
|
|
1639
|
+
if (Ie || (r === "slot" ? e.tagType = 2 : Jn(e) ? e.tagType = 3 : ao(e) && (e.tagType = 1)), V.inRCDATA || (e.children = Fs(i)), a === 0 && D.isIgnoreNewlineTag(r)) {
|
|
1640
1640
|
const l = i[0];
|
|
1641
1641
|
l && l.type === 2 && (l.content = l.content.replace(/^\r?\n/, ""));
|
|
1642
1642
|
}
|
|
1643
|
-
a === 0 && D.isPreTag(r) &&
|
|
1643
|
+
a === 0 && D.isPreTag(r) && Tn--, rn === e && (Ie = V.inVPre = !1, rn = null), V.inXML && (k[0] ? k[0].ns : D.ns) === 0 && (V.inXML = !1);
|
|
1644
1644
|
{
|
|
1645
1645
|
const l = e.props;
|
|
1646
1646
|
if (process.env.NODE_ENV !== "production" && Ae(
|
|
@@ -1648,9 +1648,9 @@ function Nt(e, t, n = !1) {
|
|
|
1648
1648
|
D
|
|
1649
1649
|
)) {
|
|
1650
1650
|
let o = !1, c = !1;
|
|
1651
|
-
for (let
|
|
1652
|
-
const
|
|
1653
|
-
if (
|
|
1651
|
+
for (let p = 0; p < l.length; p++) {
|
|
1652
|
+
const _ = l[p];
|
|
1653
|
+
if (_.type === 7 && (_.name === "if" ? o = !0 : _.name === "for" && (c = !0)), o && c) {
|
|
1654
1654
|
rt(
|
|
1655
1655
|
"COMPILER_V_IF_V_FOR_PRECEDENCE",
|
|
1656
1656
|
D,
|
|
@@ -1663,7 +1663,7 @@ function Nt(e, t, n = !1) {
|
|
|
1663
1663
|
if (!V.inSFCRoot && Ae(
|
|
1664
1664
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1665
1665
|
D
|
|
1666
|
-
) && e.tag === "template" && !
|
|
1666
|
+
) && e.tag === "template" && !Jn(e)) {
|
|
1667
1667
|
process.env.NODE_ENV !== "production" && rt(
|
|
1668
1668
|
"COMPILER_NATIVE_TEMPLATE",
|
|
1669
1669
|
D,
|
|
@@ -1694,13 +1694,13 @@ function io(e, t) {
|
|
|
1694
1694
|
for (; Se.charCodeAt(n) !== t && n < Se.length - 1; ) n++;
|
|
1695
1695
|
return n;
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function xs(e, t) {
|
|
1698
1698
|
let n = e;
|
|
1699
1699
|
for (; Se.charCodeAt(n) !== t && n >= 0; ) n--;
|
|
1700
1700
|
return n;
|
|
1701
1701
|
}
|
|
1702
1702
|
const oo = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
|
|
1703
|
-
function
|
|
1703
|
+
function Jn({ tag: e, props: t }) {
|
|
1704
1704
|
if (e === "template") {
|
|
1705
1705
|
for (let n = 0; n < t.length; n++)
|
|
1706
1706
|
if (t[n].type === 7 && oo.has(t[n].name))
|
|
@@ -1711,7 +1711,7 @@ function Gn({ tag: e, props: t }) {
|
|
|
1711
1711
|
function ao({ tag: e, props: t }) {
|
|
1712
1712
|
if (D.isCustomElement(e))
|
|
1713
1713
|
return !1;
|
|
1714
|
-
if (e === "component" || lo(e.charCodeAt(0)) ||
|
|
1714
|
+
if (e === "component" || lo(e.charCodeAt(0)) || Nn(e) || D.isBuiltInComponent && D.isBuiltInComponent(e) || D.isNativeTag && !D.isNativeTag(e))
|
|
1715
1715
|
return !0;
|
|
1716
1716
|
for (let n = 0; n < t.length; n++) {
|
|
1717
1717
|
const r = t[n];
|
|
@@ -1742,21 +1742,21 @@ function lo(e) {
|
|
|
1742
1742
|
return e > 64 && e < 91;
|
|
1743
1743
|
}
|
|
1744
1744
|
const co = /\r\n/g;
|
|
1745
|
-
function
|
|
1746
|
-
const
|
|
1747
|
-
let
|
|
1748
|
-
for (let
|
|
1749
|
-
const
|
|
1750
|
-
if (
|
|
1751
|
-
if (
|
|
1752
|
-
|
|
1745
|
+
function Fs(e) {
|
|
1746
|
+
const t = D.whitespace !== "preserve";
|
|
1747
|
+
let n = !1;
|
|
1748
|
+
for (let r = 0; r < e.length; r++) {
|
|
1749
|
+
const a = e[r];
|
|
1750
|
+
if (a.type === 2)
|
|
1751
|
+
if (Tn)
|
|
1752
|
+
a.content = a.content.replace(co, `
|
|
1753
1753
|
`);
|
|
1754
|
-
else if (_o(
|
|
1755
|
-
const
|
|
1756
|
-
!
|
|
1757
|
-
} else
|
|
1754
|
+
else if (_o(a.content)) {
|
|
1755
|
+
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 && po(a.content))) ? (n = !0, e[r] = null) : a.content = " ";
|
|
1757
|
+
} else t && (a.content = Us(a.content));
|
|
1758
1758
|
}
|
|
1759
|
-
return
|
|
1759
|
+
return n ? e.filter(Boolean) : e;
|
|
1760
1760
|
}
|
|
1761
1761
|
function _o(e) {
|
|
1762
1762
|
for (let t = 0; t < e.length; t++)
|
|
@@ -1772,7 +1772,7 @@ function po(e) {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
return !1;
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1775
|
+
function Us(e) {
|
|
1776
1776
|
let t = "", n = !1;
|
|
1777
1777
|
for (let r = 0; r < e.length; r++)
|
|
1778
1778
|
ce(e.charCodeAt(r)) ? n || (t += " ", n = !0) : (t += e[r], n = !1);
|
|
@@ -1820,16 +1820,16 @@ function fo(e) {
|
|
|
1820
1820
|
function gt(e, t = !1, n, r = 0, a = 0) {
|
|
1821
1821
|
return C(e, t, n, r);
|
|
1822
1822
|
}
|
|
1823
|
-
function
|
|
1823
|
+
function oe(e, t, n) {
|
|
1824
1824
|
D.onError(
|
|
1825
1825
|
P(e, U(t, t), void 0, n)
|
|
1826
1826
|
);
|
|
1827
1827
|
}
|
|
1828
1828
|
function ho() {
|
|
1829
|
-
V.reset(), z = null, R = null,
|
|
1829
|
+
V.reset(), z = null, R = null, ae = "", Ee = -1, Le = -1, k.length = 0;
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1832
|
-
if (ho(), Se = e, D = ge({},
|
|
1831
|
+
function yn(e, t) {
|
|
1832
|
+
if (ho(), Se = e, D = ge({}, Bs), t) {
|
|
1833
1833
|
let a;
|
|
1834
1834
|
for (a in t)
|
|
1835
1835
|
t[a] != null && (D[a] = t[a]);
|
|
@@ -1841,8 +1841,8 @@ function Tn(e, t) {
|
|
|
1841
1841
|
V.mode = D.parseMode === "html" ? 1 : D.parseMode === "sfc" ? 2 : 0, V.inXML = D.ns === 1 || D.ns === 2;
|
|
1842
1842
|
const n = t && t.delimiters;
|
|
1843
1843
|
n && (V.delimiterOpen = bt(n[0]), V.delimiterClose = bt(n[1]));
|
|
1844
|
-
const r = at =
|
|
1845
|
-
return V.parse(Se), r.loc = U(0, e.length), r.children =
|
|
1844
|
+
const r = at = Ss([], e);
|
|
1845
|
+
return V.parse(Se), r.loc = U(0, e.length), r.children = Fs(r.children), at = null, r;
|
|
1846
1846
|
}
|
|
1847
1847
|
function mo(e, t) {
|
|
1848
1848
|
St(
|
|
@@ -1851,90 +1851,97 @@ function mo(e, t) {
|
|
|
1851
1851
|
t,
|
|
1852
1852
|
// Root node is unfortunately non-hoistable due to potential parent
|
|
1853
1853
|
// fallthrough attributes.
|
|
1854
|
-
|
|
1854
|
+
!!$s(e)
|
|
1855
1855
|
);
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1858
|
-
const
|
|
1859
|
-
return
|
|
1857
|
+
function $s(e) {
|
|
1858
|
+
const t = e.children.filter((n) => n.type !== 3);
|
|
1859
|
+
return t.length === 1 && t[0].type === 1 && !it(t[0]) ? t[0] : null;
|
|
1860
1860
|
}
|
|
1861
1861
|
function St(e, t, n, r = !1, a = !1) {
|
|
1862
1862
|
const { children: i } = e, l = [];
|
|
1863
1863
|
for (let _ = 0; _ < i.length; _++) {
|
|
1864
|
-
const
|
|
1865
|
-
if (
|
|
1866
|
-
const
|
|
1867
|
-
if (
|
|
1868
|
-
if (
|
|
1869
|
-
|
|
1864
|
+
const u = i[_];
|
|
1865
|
+
if (u.type === 1 && u.tagType === 0) {
|
|
1866
|
+
const d = r ? 0 : le(u, n);
|
|
1867
|
+
if (d > 0) {
|
|
1868
|
+
if (d >= 2) {
|
|
1869
|
+
u.codegenNode.patchFlag = -1, l.push(u);
|
|
1870
1870
|
continue;
|
|
1871
1871
|
}
|
|
1872
1872
|
} else {
|
|
1873
|
-
const
|
|
1874
|
-
if (
|
|
1875
|
-
const
|
|
1876
|
-
if ((
|
|
1877
|
-
const
|
|
1878
|
-
|
|
1873
|
+
const E = u.codegenNode;
|
|
1874
|
+
if (E.type === 13) {
|
|
1875
|
+
const f = E.patchFlag;
|
|
1876
|
+
if ((f === void 0 || f === 512 || f === 1) && Hs(u, n) >= 2) {
|
|
1877
|
+
const N = Ks(u);
|
|
1878
|
+
N && (E.props = n.hoist(N));
|
|
1879
1879
|
}
|
|
1880
|
-
|
|
1880
|
+
E.dynamicProps && (E.dynamicProps = n.hoist(E.dynamicProps));
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
|
-
} else if (
|
|
1884
|
-
l.push(
|
|
1883
|
+
} else if (u.type === 12 && (r ? 0 : le(u, n)) >= 2) {
|
|
1884
|
+
l.push(u);
|
|
1885
1885
|
continue;
|
|
1886
1886
|
}
|
|
1887
|
-
if (
|
|
1888
|
-
const
|
|
1889
|
-
|
|
1890
|
-
} else if (
|
|
1891
|
-
St(
|
|
1892
|
-
else if (
|
|
1893
|
-
for (let
|
|
1887
|
+
if (u.type === 1) {
|
|
1888
|
+
const d = u.tagType === 1;
|
|
1889
|
+
d && n.scopes.vSlot++, St(u, e, n, !1, a), d && n.scopes.vSlot--;
|
|
1890
|
+
} else if (u.type === 11)
|
|
1891
|
+
St(u, e, n, u.children.length === 1, !0);
|
|
1892
|
+
else if (u.type === 9)
|
|
1893
|
+
for (let d = 0; d < u.branches.length; d++)
|
|
1894
1894
|
St(
|
|
1895
|
-
|
|
1895
|
+
u.branches[d],
|
|
1896
1896
|
e,
|
|
1897
1897
|
n,
|
|
1898
|
-
|
|
1898
|
+
u.branches[d].children.length === 1,
|
|
1899
1899
|
a
|
|
1900
1900
|
);
|
|
1901
1901
|
}
|
|
1902
1902
|
let s = !1;
|
|
1903
|
+
const o = [];
|
|
1903
1904
|
if (l.length === i.length && e.type === 1) {
|
|
1904
|
-
if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 &&
|
|
1905
|
-
e.codegenNode.children =
|
|
1905
|
+
if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 && he(e.codegenNode.children))
|
|
1906
|
+
e.codegenNode.children = c(
|
|
1906
1907
|
be(e.codegenNode.children)
|
|
1907
1908
|
), s = !0;
|
|
1908
|
-
else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !
|
|
1909
|
-
const _ =
|
|
1910
|
-
_ && (_.returns =
|
|
1909
|
+
else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !he(e.codegenNode.children) && e.codegenNode.children.type === 15) {
|
|
1910
|
+
const _ = p(e.codegenNode, "default");
|
|
1911
|
+
_ && (o.push(n.cached.length), _.returns = c(
|
|
1911
1912
|
be(_.returns)
|
|
1912
1913
|
), s = !0);
|
|
1913
|
-
} else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !
|
|
1914
|
-
const _ = Q(e, "slot", !0),
|
|
1915
|
-
|
|
1916
|
-
be(
|
|
1914
|
+
} else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !he(t.codegenNode.children) && t.codegenNode.children.type === 15) {
|
|
1915
|
+
const _ = Q(e, "slot", !0), u = _ && _.arg && p(t.codegenNode, _.arg);
|
|
1916
|
+
u && (o.push(n.cached.length), u.returns = c(
|
|
1917
|
+
be(u.returns)
|
|
1917
1918
|
), s = !0);
|
|
1918
1919
|
}
|
|
1919
1920
|
}
|
|
1920
1921
|
if (!s)
|
|
1921
1922
|
for (const _ of l)
|
|
1922
|
-
_.codegenNode = n.cache(_.codegenNode);
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1923
|
+
o.push(n.cached.length), _.codegenNode = n.cache(_.codegenNode);
|
|
1924
|
+
o.length && e.type === 1 && e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !he(e.codegenNode.children) && e.codegenNode.children.type === 15 && e.codegenNode.children.properties.push(
|
|
1925
|
+
x(
|
|
1926
|
+
"__",
|
|
1927
|
+
C(JSON.stringify(o), !1)
|
|
1928
|
+
)
|
|
1929
|
+
);
|
|
1930
|
+
function c(_) {
|
|
1931
|
+
const u = n.cache(_);
|
|
1932
|
+
return a && n.hmr && (u.needArraySpread = !0), u;
|
|
1933
|
+
}
|
|
1934
|
+
function p(_, u) {
|
|
1935
|
+
if (_.children && !he(_.children) && _.children.type === 15) {
|
|
1936
|
+
const d = _.children.properties.find(
|
|
1937
|
+
(E) => E.key === u || E.key.content === u
|
|
1931
1938
|
);
|
|
1932
|
-
return
|
|
1939
|
+
return d && d.value;
|
|
1933
1940
|
}
|
|
1934
1941
|
}
|
|
1935
1942
|
l.length && n.transformHoist && n.transformHoist(i, n, e);
|
|
1936
1943
|
}
|
|
1937
|
-
function
|
|
1944
|
+
function le(e, t) {
|
|
1938
1945
|
const { constantCache: n } = t;
|
|
1939
1946
|
switch (e.type) {
|
|
1940
1947
|
case 1:
|
|
@@ -1948,12 +1955,12 @@ function ae(e, t) {
|
|
|
1948
1955
|
return 0;
|
|
1949
1956
|
if (a.patchFlag === void 0) {
|
|
1950
1957
|
let l = 3;
|
|
1951
|
-
const s =
|
|
1958
|
+
const s = Hs(e, t);
|
|
1952
1959
|
if (s === 0)
|
|
1953
1960
|
return n.set(e, 0), 0;
|
|
1954
1961
|
s < l && (l = s);
|
|
1955
1962
|
for (let o = 0; o < e.children.length; o++) {
|
|
1956
|
-
const c =
|
|
1963
|
+
const c = le(e.children[o], t);
|
|
1957
1964
|
if (c === 0)
|
|
1958
1965
|
return n.set(e, 0), 0;
|
|
1959
1966
|
c < l && (l = c);
|
|
@@ -1962,10 +1969,10 @@ function ae(e, t) {
|
|
|
1962
1969
|
for (let o = 0; o < e.props.length; o++) {
|
|
1963
1970
|
const c = e.props[o];
|
|
1964
1971
|
if (c.type === 7 && c.name === "bind" && c.exp) {
|
|
1965
|
-
const
|
|
1966
|
-
if (
|
|
1972
|
+
const p = le(c.exp, t);
|
|
1973
|
+
if (p === 0)
|
|
1967
1974
|
return n.set(e, 0), 0;
|
|
1968
|
-
|
|
1975
|
+
p < l && (l = p);
|
|
1969
1976
|
}
|
|
1970
1977
|
}
|
|
1971
1978
|
if (a.isBlock) {
|
|
@@ -1988,16 +1995,16 @@ function ae(e, t) {
|
|
|
1988
1995
|
return 0;
|
|
1989
1996
|
case 5:
|
|
1990
1997
|
case 12:
|
|
1991
|
-
return
|
|
1998
|
+
return le(e.content, t);
|
|
1992
1999
|
case 4:
|
|
1993
2000
|
return e.constType;
|
|
1994
2001
|
case 8:
|
|
1995
2002
|
let i = 3;
|
|
1996
2003
|
for (let l = 0; l < e.children.length; l++) {
|
|
1997
2004
|
const s = e.children[l];
|
|
1998
|
-
if (j(s) ||
|
|
2005
|
+
if (j(s) || cn(s))
|
|
1999
2006
|
continue;
|
|
2000
|
-
const o =
|
|
2007
|
+
const o = le(s, t);
|
|
2001
2008
|
if (o === 0)
|
|
2002
2009
|
return 0;
|
|
2003
2010
|
o < i && (i = o);
|
|
@@ -2015,40 +2022,40 @@ const Eo = /* @__PURE__ */ new Set([
|
|
|
2015
2022
|
Ge,
|
|
2016
2023
|
Ze
|
|
2017
2024
|
]);
|
|
2018
|
-
function
|
|
2025
|
+
function js(e, t) {
|
|
2019
2026
|
if (e.type === 14 && !j(e.callee) && Eo.has(e.callee)) {
|
|
2020
2027
|
const n = e.arguments[0];
|
|
2021
2028
|
if (n.type === 4)
|
|
2022
|
-
return
|
|
2029
|
+
return le(n, t);
|
|
2023
2030
|
if (n.type === 14)
|
|
2024
|
-
return
|
|
2031
|
+
return js(n, t);
|
|
2025
2032
|
}
|
|
2026
2033
|
return 0;
|
|
2027
2034
|
}
|
|
2028
|
-
function
|
|
2035
|
+
function Hs(e, t) {
|
|
2029
2036
|
let n = 3;
|
|
2030
|
-
const r =
|
|
2037
|
+
const r = Ks(e);
|
|
2031
2038
|
if (r && r.type === 15) {
|
|
2032
2039
|
const { properties: a } = r;
|
|
2033
2040
|
for (let i = 0; i < a.length; i++) {
|
|
2034
|
-
const { key: l, value: s } = a[i], o =
|
|
2041
|
+
const { key: l, value: s } = a[i], o = le(l, t);
|
|
2035
2042
|
if (o === 0)
|
|
2036
2043
|
return o;
|
|
2037
2044
|
o < n && (n = o);
|
|
2038
2045
|
let c;
|
|
2039
|
-
if (s.type === 4 ? c =
|
|
2046
|
+
if (s.type === 4 ? c = le(s, t) : s.type === 14 ? c = js(s, t) : c = 0, c === 0)
|
|
2040
2047
|
return c;
|
|
2041
2048
|
c < n && (n = c);
|
|
2042
2049
|
}
|
|
2043
2050
|
}
|
|
2044
2051
|
return n;
|
|
2045
2052
|
}
|
|
2046
|
-
function
|
|
2053
|
+
function Ks(e) {
|
|
2047
2054
|
const t = e.codegenNode;
|
|
2048
2055
|
if (t.type === 13)
|
|
2049
2056
|
return t.props;
|
|
2050
2057
|
}
|
|
2051
|
-
function
|
|
2058
|
+
function Ws(e, {
|
|
2052
2059
|
filename: t = "",
|
|
2053
2060
|
prefixIdentifiers: n = !1,
|
|
2054
2061
|
hoistStatic: r = !1,
|
|
@@ -2058,24 +2065,24 @@ function Ks(e, {
|
|
|
2058
2065
|
directiveTransforms: s = {},
|
|
2059
2066
|
transformHoist: o = null,
|
|
2060
2067
|
isBuiltInComponent: c = et,
|
|
2061
|
-
isCustomElement:
|
|
2062
|
-
expressionPlugins:
|
|
2068
|
+
isCustomElement: p = et,
|
|
2069
|
+
expressionPlugins: _ = [],
|
|
2063
2070
|
scopeId: u = null,
|
|
2064
2071
|
slotted: d = !0,
|
|
2065
|
-
ssr:
|
|
2072
|
+
ssr: E = !1,
|
|
2066
2073
|
inSSR: f = !1,
|
|
2067
2074
|
ssrCssVars: N = "",
|
|
2068
2075
|
bindingMetadata: O = ui,
|
|
2069
2076
|
inline: y = !1,
|
|
2070
2077
|
isTS: w = !1,
|
|
2071
|
-
onError: se =
|
|
2072
|
-
onWarn:
|
|
2073
|
-
compatConfig:
|
|
2078
|
+
onError: se = vn,
|
|
2079
|
+
onWarn: F = Os,
|
|
2080
|
+
compatConfig: re
|
|
2074
2081
|
}) {
|
|
2075
2082
|
const X = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), b = {
|
|
2076
2083
|
// options
|
|
2077
2084
|
filename: t,
|
|
2078
|
-
selfName: X &&
|
|
2085
|
+
selfName: X && ds(Ce(X[1])),
|
|
2079
2086
|
prefixIdentifiers: n,
|
|
2080
2087
|
hoistStatic: r,
|
|
2081
2088
|
hmr: a,
|
|
@@ -2084,19 +2091,19 @@ function Ks(e, {
|
|
|
2084
2091
|
directiveTransforms: s,
|
|
2085
2092
|
transformHoist: o,
|
|
2086
2093
|
isBuiltInComponent: c,
|
|
2087
|
-
isCustomElement:
|
|
2088
|
-
expressionPlugins:
|
|
2094
|
+
isCustomElement: p,
|
|
2095
|
+
expressionPlugins: _,
|
|
2089
2096
|
scopeId: u,
|
|
2090
2097
|
slotted: d,
|
|
2091
|
-
ssr:
|
|
2098
|
+
ssr: E,
|
|
2092
2099
|
inSSR: f,
|
|
2093
2100
|
ssrCssVars: N,
|
|
2094
2101
|
bindingMetadata: O,
|
|
2095
2102
|
inline: y,
|
|
2096
2103
|
isTS: w,
|
|
2097
2104
|
onError: se,
|
|
2098
|
-
onWarn:
|
|
2099
|
-
compatConfig:
|
|
2105
|
+
onWarn: F,
|
|
2106
|
+
compatConfig: re,
|
|
2100
2107
|
// state
|
|
2101
2108
|
root: e,
|
|
2102
2109
|
helpers: /* @__PURE__ */ new Map(),
|
|
@@ -2167,30 +2174,30 @@ function Ks(e, {
|
|
|
2167
2174
|
return m.hoisted = I, m;
|
|
2168
2175
|
},
|
|
2169
2176
|
cache(I, m = !1, S = !1) {
|
|
2170
|
-
const
|
|
2177
|
+
const v = Ts(
|
|
2171
2178
|
b.cached.length,
|
|
2172
2179
|
I,
|
|
2173
2180
|
m,
|
|
2174
2181
|
S
|
|
2175
2182
|
);
|
|
2176
|
-
return b.cached.push(
|
|
2183
|
+
return b.cached.push(v), v;
|
|
2177
2184
|
}
|
|
2178
2185
|
};
|
|
2179
2186
|
return b.filters = /* @__PURE__ */ new Set(), b;
|
|
2180
2187
|
}
|
|
2181
|
-
function
|
|
2182
|
-
const n =
|
|
2188
|
+
function Gs(e, t) {
|
|
2189
|
+
const n = Ws(e, t);
|
|
2183
2190
|
_t(e, n), t.hoistStatic && mo(e, n), t.ssr || vo(e, n), e.helpers = /* @__PURE__ */ new Set([...n.helpers.keys()]), e.components = [...n.components], e.directives = [...n.directives], e.imports = n.imports, e.hoists = n.hoists, e.temps = n.temps, e.cached = n.cached, e.transformed = !0, e.filters = [...n.filters];
|
|
2184
2191
|
}
|
|
2185
2192
|
function vo(e, t) {
|
|
2186
2193
|
const { helper: n } = t, { children: r } = e;
|
|
2187
2194
|
if (r.length === 1) {
|
|
2188
|
-
const a =
|
|
2189
|
-
if (
|
|
2195
|
+
const a = $s(e);
|
|
2196
|
+
if (a && a.codegenNode) {
|
|
2190
2197
|
const i = a.codegenNode;
|
|
2191
2198
|
i.type === 13 && Gt(i, t), e.codegenNode = i;
|
|
2192
2199
|
} else
|
|
2193
|
-
e.codegenNode =
|
|
2200
|
+
e.codegenNode = r[0];
|
|
2194
2201
|
} else if (r.length > 1) {
|
|
2195
2202
|
let a = 64;
|
|
2196
2203
|
process.env.NODE_ENV !== "production" && r.filter((i) => i.type !== 3).length === 1 && (a |= 2048), e.codegenNode = Je(
|
|
@@ -2222,7 +2229,7 @@ function _t(e, t) {
|
|
|
2222
2229
|
const { nodeTransforms: n } = t, r = [];
|
|
2223
2230
|
for (let i = 0; i < n.length; i++) {
|
|
2224
2231
|
const l = n[i](e, t);
|
|
2225
|
-
if (l && (
|
|
2232
|
+
if (l && (he(l) ? r.push(...l) : r.push(l)), t.currentNode)
|
|
2226
2233
|
e = t.currentNode;
|
|
2227
2234
|
else
|
|
2228
2235
|
return;
|
|
@@ -2251,12 +2258,12 @@ function _t(e, t) {
|
|
|
2251
2258
|
for (; a--; )
|
|
2252
2259
|
r[a]();
|
|
2253
2260
|
}
|
|
2254
|
-
function
|
|
2261
|
+
function On(e, t) {
|
|
2255
2262
|
const n = j(e) ? (r) => r === e : (r) => e.test(r);
|
|
2256
2263
|
return (r, a) => {
|
|
2257
2264
|
if (r.type === 1) {
|
|
2258
2265
|
const { props: i } = r;
|
|
2259
|
-
if (r.tagType === 3 && i.some(
|
|
2266
|
+
if (r.tagType === 3 && i.some(Sn))
|
|
2260
2267
|
return;
|
|
2261
2268
|
const l = [];
|
|
2262
2269
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -2271,7 +2278,7 @@ function yn(e, t) {
|
|
|
2271
2278
|
}
|
|
2272
2279
|
};
|
|
2273
2280
|
}
|
|
2274
|
-
const Jt = "/*@__PURE__*/",
|
|
2281
|
+
const Jt = "/*@__PURE__*/", Js = (e) => `${Xe[e]}: _${Xe[e]}`;
|
|
2275
2282
|
function go(e, {
|
|
2276
2283
|
mode: t = "function",
|
|
2277
2284
|
prefixIdentifiers: n = t === "module",
|
|
@@ -2282,8 +2289,8 @@ function go(e, {
|
|
|
2282
2289
|
runtimeGlobalName: s = "Vue",
|
|
2283
2290
|
runtimeModuleName: o = "vue",
|
|
2284
2291
|
ssrRuntimeModuleName: c = "vue/server-renderer",
|
|
2285
|
-
ssr:
|
|
2286
|
-
isTS:
|
|
2292
|
+
ssr: p = !1,
|
|
2293
|
+
isTS: _ = !1,
|
|
2287
2294
|
inSSR: u = !1
|
|
2288
2295
|
}) {
|
|
2289
2296
|
const d = {
|
|
@@ -2296,8 +2303,8 @@ function go(e, {
|
|
|
2296
2303
|
runtimeGlobalName: s,
|
|
2297
2304
|
runtimeModuleName: o,
|
|
2298
2305
|
ssrRuntimeModuleName: c,
|
|
2299
|
-
ssr:
|
|
2300
|
-
isTS:
|
|
2306
|
+
ssr: p,
|
|
2307
|
+
isTS: _,
|
|
2301
2308
|
inSSR: u,
|
|
2302
2309
|
source: e.source,
|
|
2303
2310
|
code: "",
|
|
@@ -2314,16 +2321,16 @@ function go(e, {
|
|
|
2314
2321
|
d.code += f;
|
|
2315
2322
|
},
|
|
2316
2323
|
indent() {
|
|
2317
|
-
|
|
2324
|
+
E(++d.indentLevel);
|
|
2318
2325
|
},
|
|
2319
2326
|
deindent(f = !1) {
|
|
2320
|
-
f ? --d.indentLevel :
|
|
2327
|
+
f ? --d.indentLevel : E(--d.indentLevel);
|
|
2321
2328
|
},
|
|
2322
2329
|
newline() {
|
|
2323
|
-
|
|
2330
|
+
E(d.indentLevel);
|
|
2324
2331
|
}
|
|
2325
2332
|
};
|
|
2326
|
-
function
|
|
2333
|
+
function E(f) {
|
|
2327
2334
|
d.push(
|
|
2328
2335
|
`
|
|
2329
2336
|
` + " ".repeat(f),
|
|
@@ -2333,7 +2340,7 @@ function go(e, {
|
|
|
2333
2340
|
}
|
|
2334
2341
|
return d;
|
|
2335
2342
|
}
|
|
2336
|
-
function
|
|
2343
|
+
function Ys(e, t = {}) {
|
|
2337
2344
|
const n = go(e, t);
|
|
2338
2345
|
t.onContextCreated && t.onContextCreated(n);
|
|
2339
2346
|
const {
|
|
@@ -2344,12 +2351,12 @@ function Js(e, t = {}) {
|
|
|
2344
2351
|
deindent: s,
|
|
2345
2352
|
newline: o,
|
|
2346
2353
|
scopeId: c,
|
|
2347
|
-
ssr:
|
|
2348
|
-
} = n,
|
|
2354
|
+
ssr: p
|
|
2355
|
+
} = n, _ = Array.from(e.helpers), u = _.length > 0, d = !i && r !== "module";
|
|
2349
2356
|
So(e, n);
|
|
2350
|
-
const f =
|
|
2357
|
+
const f = p ? "ssrRender" : "render", O = (p ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
|
|
2351
2358
|
if (a(`function ${f}(${O}) {`), l(), d && (a("with (_ctx) {"), l(), u && (a(
|
|
2352
|
-
`const { ${
|
|
2359
|
+
`const { ${_.map(Js).join(", ")} } = _Vue
|
|
2353
2360
|
`,
|
|
2354
2361
|
-1
|
|
2355
2362
|
/* End */
|
|
@@ -2363,7 +2370,7 @@ function Js(e, t = {}) {
|
|
|
2363
2370
|
`,
|
|
2364
2371
|
0
|
|
2365
2372
|
/* Start */
|
|
2366
|
-
), o()),
|
|
2373
|
+
), o()), p || a("return "), e.codegenNode ? Z(e.codegenNode, n) : a("null"), d && (s(), a("}")), s(), a("}"), {
|
|
2367
2374
|
ast: e,
|
|
2368
2375
|
code: n.code,
|
|
2369
2376
|
preamble: "",
|
|
@@ -2379,22 +2386,22 @@ function So(e, t) {
|
|
|
2379
2386
|
runtimeModuleName: l,
|
|
2380
2387
|
runtimeGlobalName: s,
|
|
2381
2388
|
ssrRuntimeModuleName: o
|
|
2382
|
-
} = t, c = s,
|
|
2383
|
-
if (
|
|
2389
|
+
} = t, c = s, p = Array.from(e.helpers);
|
|
2390
|
+
if (p.length > 0 && (a(
|
|
2384
2391
|
`const _Vue = ${c}
|
|
2385
2392
|
`,
|
|
2386
2393
|
-1
|
|
2387
2394
|
/* End */
|
|
2388
2395
|
), e.hoists.length)) {
|
|
2389
|
-
const
|
|
2396
|
+
const _ = [
|
|
2390
2397
|
Lt,
|
|
2391
2398
|
Vt,
|
|
2392
2399
|
Qe,
|
|
2393
2400
|
kt,
|
|
2394
|
-
|
|
2395
|
-
].filter((u) =>
|
|
2401
|
+
fn
|
|
2402
|
+
].filter((u) => p.includes(u)).map(Js).join(", ");
|
|
2396
2403
|
a(
|
|
2397
|
-
`const { ${
|
|
2404
|
+
`const { ${_} } = _Vue
|
|
2398
2405
|
`,
|
|
2399
2406
|
-1
|
|
2400
2407
|
/* End */
|
|
@@ -2429,8 +2436,8 @@ function To(e, t) {
|
|
|
2429
2436
|
function yo(e) {
|
|
2430
2437
|
return j(e) || e.type === 4 || e.type === 2 || e.type === 5 || e.type === 8;
|
|
2431
2438
|
}
|
|
2432
|
-
function
|
|
2433
|
-
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) =>
|
|
2439
|
+
function In(e, t) {
|
|
2440
|
+
const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((r) => he(r) || !yo(r));
|
|
2434
2441
|
t.push("["), n && t.indent(), pt(e, t, n), n && t.deindent(), t.push("]");
|
|
2435
2442
|
}
|
|
2436
2443
|
function pt(e, t, n = !1, r = !0) {
|
|
@@ -2441,7 +2448,7 @@ function pt(e, t, n = !1, r = !0) {
|
|
|
2441
2448
|
s,
|
|
2442
2449
|
-3
|
|
2443
2450
|
/* Unknown */
|
|
2444
|
-
) :
|
|
2451
|
+
) : he(s) ? In(s, t) : Z(s, t), l < e.length - 1 && (n ? (r && a(","), i()) : r && a(", "));
|
|
2445
2452
|
}
|
|
2446
2453
|
}
|
|
2447
2454
|
function Z(e, t) {
|
|
@@ -2453,7 +2460,7 @@ function Z(e, t) {
|
|
|
2453
2460
|
);
|
|
2454
2461
|
return;
|
|
2455
2462
|
}
|
|
2456
|
-
if (
|
|
2463
|
+
if (cn(e)) {
|
|
2457
2464
|
t.push(t.helper(e));
|
|
2458
2465
|
return;
|
|
2459
2466
|
}
|
|
@@ -2470,7 +2477,7 @@ function Z(e, t) {
|
|
|
2470
2477
|
Oo(e, t);
|
|
2471
2478
|
break;
|
|
2472
2479
|
case 4:
|
|
2473
|
-
|
|
2480
|
+
qs(e, t);
|
|
2474
2481
|
break;
|
|
2475
2482
|
case 5:
|
|
2476
2483
|
Io(e, t);
|
|
@@ -2479,7 +2486,7 @@ function Z(e, t) {
|
|
|
2479
2486
|
Z(e.codegenNode, t);
|
|
2480
2487
|
break;
|
|
2481
2488
|
case 8:
|
|
2482
|
-
|
|
2489
|
+
zs(e, t);
|
|
2483
2490
|
break;
|
|
2484
2491
|
case 3:
|
|
2485
2492
|
bo(e, t);
|
|
@@ -2530,7 +2537,7 @@ function Z(e, t) {
|
|
|
2530
2537
|
function Oo(e, t) {
|
|
2531
2538
|
t.push(JSON.stringify(e.content), -3, e);
|
|
2532
2539
|
}
|
|
2533
|
-
function
|
|
2540
|
+
function qs(e, t) {
|
|
2534
2541
|
const { content: n, isStatic: r } = e;
|
|
2535
2542
|
t.push(
|
|
2536
2543
|
r ? JSON.stringify(n) : n,
|
|
@@ -2542,7 +2549,7 @@ function Io(e, t) {
|
|
|
2542
2549
|
const { push: n, helper: r, pure: a } = t;
|
|
2543
2550
|
a && n(Jt), n(`${r(lt)}(`), Z(e.content, t), n(")");
|
|
2544
2551
|
}
|
|
2545
|
-
function
|
|
2552
|
+
function zs(e, t) {
|
|
2546
2553
|
for (let n = 0; n < e.children.length; n++) {
|
|
2547
2554
|
const r = e.children[n];
|
|
2548
2555
|
j(r) ? t.push(
|
|
@@ -2555,7 +2562,7 @@ function qs(e, t) {
|
|
|
2555
2562
|
function Co(e, t) {
|
|
2556
2563
|
const { push: n } = t;
|
|
2557
2564
|
if (e.type === 8)
|
|
2558
|
-
n("["),
|
|
2565
|
+
n("["), zs(e, t), n("]");
|
|
2559
2566
|
else if (e.isStatic) {
|
|
2560
2567
|
const r = ct(e.content) ? e.content : JSON.stringify(e.content);
|
|
2561
2568
|
n(r, -2, e);
|
|
@@ -2577,28 +2584,28 @@ function Ao(e, t) {
|
|
|
2577
2584
|
children: s,
|
|
2578
2585
|
patchFlag: o,
|
|
2579
2586
|
dynamicProps: c,
|
|
2580
|
-
directives:
|
|
2581
|
-
isBlock:
|
|
2587
|
+
directives: p,
|
|
2588
|
+
isBlock: _,
|
|
2582
2589
|
disableTracking: u,
|
|
2583
2590
|
isComponent: d
|
|
2584
2591
|
} = e;
|
|
2585
|
-
let
|
|
2592
|
+
let E;
|
|
2586
2593
|
if (o)
|
|
2587
2594
|
if (process.env.NODE_ENV !== "production")
|
|
2588
2595
|
if (o < 0)
|
|
2589
|
-
|
|
2596
|
+
E = o + ` /* ${Et[o]} */`;
|
|
2590
2597
|
else {
|
|
2591
2598
|
const N = Object.keys(Et).map(Number).filter((O) => O > 0 && o & O).map((O) => Et[O]).join(", ");
|
|
2592
|
-
|
|
2599
|
+
E = o + ` /* ${N} */`;
|
|
2593
2600
|
}
|
|
2594
2601
|
else
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
const f =
|
|
2602
|
+
E = String(o);
|
|
2603
|
+
p && n(r(Ft) + "("), _ && n(`(${r(De)}(${u ? "true" : ""}), `), a && n(Jt);
|
|
2604
|
+
const f = _ ? Fe(t.inSSR, d) : xe(t.inSSR, d);
|
|
2598
2605
|
n(r(f) + "(", -2, e), pt(
|
|
2599
|
-
Do([i, l, s,
|
|
2606
|
+
Do([i, l, s, E, c]),
|
|
2600
2607
|
t
|
|
2601
|
-
), n(")"),
|
|
2608
|
+
), n(")"), _ && n(")"), p && (n(", "), Z(p, t), n(")"));
|
|
2602
2609
|
}
|
|
2603
2610
|
function Do(e) {
|
|
2604
2611
|
let t = e.length;
|
|
@@ -2619,28 +2626,28 @@ function Mo(e, t) {
|
|
|
2619
2626
|
const s = l.length > 1 || process.env.NODE_ENV !== "production" && l.some((o) => o.value.type !== 4);
|
|
2620
2627
|
n(s ? "{" : "{ "), s && r();
|
|
2621
2628
|
for (let o = 0; o < l.length; o++) {
|
|
2622
|
-
const { key: c, value:
|
|
2623
|
-
Co(c, t), n(": "), Z(
|
|
2629
|
+
const { key: c, value: p } = l[o];
|
|
2630
|
+
Co(c, t), n(": "), Z(p, t), o < l.length - 1 && (n(","), i());
|
|
2624
2631
|
}
|
|
2625
2632
|
s && a(), n(s ? "}" : " }");
|
|
2626
2633
|
}
|
|
2627
2634
|
function Po(e, t) {
|
|
2628
|
-
|
|
2635
|
+
In(e.elements, t);
|
|
2629
2636
|
}
|
|
2630
2637
|
function Lo(e, t) {
|
|
2631
2638
|
const { push: n, indent: r, deindent: a } = t, { params: i, returns: l, body: s, newline: o, isSlot: c } = e;
|
|
2632
|
-
c && n(`_${Xe[Kt]}(`), n("(", -2, e),
|
|
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(")"));
|
|
2633
2640
|
}
|
|
2634
2641
|
function Vo(e, t) {
|
|
2635
2642
|
const { test: n, consequent: r, alternate: a, newline: i } = e, { push: l, indent: s, deindent: o, newline: c } = t;
|
|
2636
2643
|
if (n.type === 4) {
|
|
2637
|
-
const
|
|
2638
|
-
|
|
2644
|
+
const _ = !ct(n.content);
|
|
2645
|
+
_ && l("("), qs(n, t), _ && l(")");
|
|
2639
2646
|
} else
|
|
2640
2647
|
l("("), Z(n, t), l(")");
|
|
2641
2648
|
i && s(), t.indentLevel++, i || l(" "), l("? "), Z(r, t), t.indentLevel--, i && c(), i || l(" "), l(": ");
|
|
2642
|
-
const
|
|
2643
|
-
|
|
2649
|
+
const p = a.type === 19;
|
|
2650
|
+
p || t.indentLevel++, Z(a, t), p || t.indentLevel--, i && o(
|
|
2644
2651
|
!0
|
|
2645
2652
|
/* without newline */
|
|
2646
2653
|
);
|
|
@@ -2672,7 +2679,7 @@ function we(e, t, n = !1, r = !1) {
|
|
|
2672
2679
|
);
|
|
2673
2680
|
}
|
|
2674
2681
|
}
|
|
2675
|
-
const
|
|
2682
|
+
const Qs = (e, t) => {
|
|
2676
2683
|
if (e.type === 5)
|
|
2677
2684
|
e.content = Tt(
|
|
2678
2685
|
e.content,
|
|
@@ -2698,12 +2705,12 @@ const zs = (e, t) => {
|
|
|
2698
2705
|
function Tt(e, t, n = !1, r = !1, a = Object.create(t.identifiers)) {
|
|
2699
2706
|
return process.env.NODE_ENV !== "production" && we(e, t, n, r), e;
|
|
2700
2707
|
}
|
|
2701
|
-
function
|
|
2702
|
-
return j(e) ? e : e.type === 4 ? e.content : e.children.map(
|
|
2708
|
+
function Zs(e) {
|
|
2709
|
+
return j(e) ? e : e.type === 4 ? e.content : e.children.map(Zs).join("");
|
|
2703
2710
|
}
|
|
2704
|
-
const Bo =
|
|
2711
|
+
const Bo = On(
|
|
2705
2712
|
/^(if|else|else-if)$/,
|
|
2706
|
-
(e, t, n) =>
|
|
2713
|
+
(e, t, n) => er(e, t, n, (r, a, i) => {
|
|
2707
2714
|
const l = n.parent.children;
|
|
2708
2715
|
let s = l.indexOf(r), o = 0;
|
|
2709
2716
|
for (; s-- >= 0; ) {
|
|
@@ -2712,14 +2719,14 @@ const Bo = yn(
|
|
|
2712
2719
|
}
|
|
2713
2720
|
return () => {
|
|
2714
2721
|
if (i)
|
|
2715
|
-
r.codegenNode =
|
|
2722
|
+
r.codegenNode = qn(
|
|
2716
2723
|
a,
|
|
2717
2724
|
o,
|
|
2718
2725
|
n
|
|
2719
2726
|
);
|
|
2720
2727
|
else {
|
|
2721
2728
|
const c = Fo(r.codegenNode);
|
|
2722
|
-
c.alternate =
|
|
2729
|
+
c.alternate = qn(
|
|
2723
2730
|
a,
|
|
2724
2731
|
o + r.branches.length - 1,
|
|
2725
2732
|
n
|
|
@@ -2728,7 +2735,7 @@ const Bo = yn(
|
|
|
2728
2735
|
};
|
|
2729
2736
|
})
|
|
2730
2737
|
);
|
|
2731
|
-
function
|
|
2738
|
+
function er(e, t, n, r) {
|
|
2732
2739
|
if (t.name !== "else" && (!t.exp || !t.exp.content.trim())) {
|
|
2733
2740
|
const a = t.exp ? t.exp.loc : e.loc;
|
|
2734
2741
|
n.onError(
|
|
@@ -2736,7 +2743,7 @@ function Zs(e, t, n, r) {
|
|
|
2736
2743
|
), t.exp = C("true", !1, a);
|
|
2737
2744
|
}
|
|
2738
2745
|
if (process.env.NODE_ENV !== "production" && t.exp && we(t.exp, n), t.name === "if") {
|
|
2739
|
-
const a =
|
|
2746
|
+
const a = Yn(e, t), i = {
|
|
2740
2747
|
type: 9,
|
|
2741
2748
|
loc: uo(e.loc),
|
|
2742
2749
|
branches: [a]
|
|
@@ -2760,12 +2767,12 @@ function Zs(e, t, n, r) {
|
|
|
2760
2767
|
t.name === "else-if" && s.branches[s.branches.length - 1].condition === void 0 && n.onError(
|
|
2761
2768
|
P(30, e.loc)
|
|
2762
2769
|
), n.removeNode();
|
|
2763
|
-
const o =
|
|
2770
|
+
const o = Yn(e, t);
|
|
2764
2771
|
if (process.env.NODE_ENV !== "production" && i.length && // #3619 ignore comments if the v-if is direct child of <transition>
|
|
2765
2772
|
!(n.parent && n.parent.type === 1 && (n.parent.tag === "transition" || n.parent.tag === "Transition")) && (o.children = [...i, ...o.children]), process.env.NODE_ENV !== "production") {
|
|
2766
|
-
const
|
|
2767
|
-
|
|
2768
|
-
xo(
|
|
2773
|
+
const p = o.userKey;
|
|
2774
|
+
p && s.branches.forEach(({ userKey: _ }) => {
|
|
2775
|
+
xo(_, p) && n.onError(
|
|
2769
2776
|
P(
|
|
2770
2777
|
29,
|
|
2771
2778
|
o.userKey.loc
|
|
@@ -2784,7 +2791,7 @@ function Zs(e, t, n, r) {
|
|
|
2784
2791
|
}
|
|
2785
2792
|
}
|
|
2786
2793
|
}
|
|
2787
|
-
function
|
|
2794
|
+
function Yn(e, t) {
|
|
2788
2795
|
const n = e.tagType === 3;
|
|
2789
2796
|
return {
|
|
2790
2797
|
type: 10,
|
|
@@ -2795,20 +2802,20 @@ function Jn(e, t) {
|
|
|
2795
2802
|
isTemplateIf: n
|
|
2796
2803
|
};
|
|
2797
2804
|
}
|
|
2798
|
-
function
|
|
2805
|
+
function qn(e, t, n) {
|
|
2799
2806
|
return e.condition ? Ct(
|
|
2800
2807
|
e.condition,
|
|
2801
|
-
|
|
2808
|
+
zn(e, t, n),
|
|
2802
2809
|
// make sure to pass in asBlock: true so that the comment node call
|
|
2803
2810
|
// closes the current block.
|
|
2804
2811
|
$(n.helper(Qe), [
|
|
2805
2812
|
process.env.NODE_ENV !== "production" ? '"v-if"' : '""',
|
|
2806
2813
|
"true"
|
|
2807
2814
|
])
|
|
2808
|
-
) :
|
|
2815
|
+
) : zn(e, t, n);
|
|
2809
2816
|
}
|
|
2810
|
-
function
|
|
2811
|
-
const { helper: r } = n, a =
|
|
2817
|
+
function zn(e, t, n) {
|
|
2818
|
+
const { helper: r } = n, a = x(
|
|
2812
2819
|
"key",
|
|
2813
2820
|
C(
|
|
2814
2821
|
`${t}`,
|
|
@@ -2838,7 +2845,7 @@ function qn(e, t, n) {
|
|
|
2838
2845
|
);
|
|
2839
2846
|
}
|
|
2840
2847
|
else {
|
|
2841
|
-
const o = l.codegenNode, c =
|
|
2848
|
+
const o = l.codegenNode, c = ws(o);
|
|
2842
2849
|
return c.type === 13 && Gt(c, n), ot(c, a, n), o;
|
|
2843
2850
|
}
|
|
2844
2851
|
}
|
|
@@ -2864,7 +2871,7 @@ function Fo(e) {
|
|
|
2864
2871
|
return e;
|
|
2865
2872
|
else e.type === 20 && (e = e.value);
|
|
2866
2873
|
}
|
|
2867
|
-
const
|
|
2874
|
+
const tr = (e, t, n) => {
|
|
2868
2875
|
const { modifiers: r, loc: a } = e, i = e.arg;
|
|
2869
2876
|
let { exp: l } = e;
|
|
2870
2877
|
if (l && l.type === 4 && !l.content.trim() && (l = void 0), !l) {
|
|
@@ -2876,36 +2883,36 @@ const er = (e, t, n) => {
|
|
|
2876
2883
|
)
|
|
2877
2884
|
), {
|
|
2878
2885
|
props: [
|
|
2879
|
-
|
|
2886
|
+
x(i, C("", !0, a))
|
|
2880
2887
|
]
|
|
2881
2888
|
};
|
|
2882
|
-
|
|
2889
|
+
nr(e), l = e.exp;
|
|
2883
2890
|
}
|
|
2884
|
-
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") &&
|
|
2885
|
-
props: [
|
|
2891
|
+
return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), r.some((s) => s.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Ce(i.content) : i.content = `${n.helperString(Ot)}(${i.content})` : (i.children.unshift(`${n.helperString(Ot)}(`), i.children.push(")"))), n.inSSR || (r.some((s) => s.content === "prop") && Qn(i, "."), r.some((s) => s.content === "attr") && Qn(i, "^")), {
|
|
2892
|
+
props: [x(i, l)]
|
|
2886
2893
|
};
|
|
2887
|
-
},
|
|
2894
|
+
}, nr = (e, t) => {
|
|
2888
2895
|
const n = e.arg, r = Ce(n.content);
|
|
2889
2896
|
e.exp = C(r, !1, n.loc);
|
|
2890
|
-
},
|
|
2897
|
+
}, Qn = (e, t) => {
|
|
2891
2898
|
e.type === 4 ? e.isStatic ? e.content = t + e.content : e.content = `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
|
|
2892
|
-
}, Uo =
|
|
2899
|
+
}, Uo = On(
|
|
2893
2900
|
"for",
|
|
2894
2901
|
(e, t, n) => {
|
|
2895
2902
|
const { helper: r, removeHelper: a } = n;
|
|
2896
|
-
return
|
|
2903
|
+
return sr(e, t, n, (i) => {
|
|
2897
2904
|
const l = $(r(Ut), [
|
|
2898
2905
|
i.source
|
|
2899
2906
|
]), s = qe(e), o = Q(e, "memo"), c = Ye(e, "key", !1, !0);
|
|
2900
|
-
c && c.type === 7 && !c.exp &&
|
|
2901
|
-
let
|
|
2902
|
-
const u = c &&
|
|
2907
|
+
c && c.type === 7 && !c.exp && nr(c);
|
|
2908
|
+
let _ = c && (c.type === 6 ? c.value ? C(c.value.content, !0) : void 0 : c.exp);
|
|
2909
|
+
const u = c && _ ? x("key", _) : null, d = i.source.type === 4 && i.source.constType > 0, E = d ? 64 : c ? 128 : 256;
|
|
2903
2910
|
return i.codegenNode = Je(
|
|
2904
2911
|
n,
|
|
2905
2912
|
r(We),
|
|
2906
2913
|
void 0,
|
|
2907
2914
|
l,
|
|
2908
|
-
|
|
2915
|
+
E,
|
|
2909
2916
|
void 0,
|
|
2910
2917
|
void 0,
|
|
2911
2918
|
!0,
|
|
@@ -2949,13 +2956,13 @@ const er = (e, t, n) => {
|
|
|
2949
2956
|
C("_cached")
|
|
2950
2957
|
])
|
|
2951
2958
|
);
|
|
2952
|
-
w.body =
|
|
2959
|
+
w.body = ys([
|
|
2953
2960
|
de(["const _memo = (", o.exp, ")"]),
|
|
2954
2961
|
de([
|
|
2955
2962
|
"if (_cached",
|
|
2956
|
-
...
|
|
2963
|
+
..._ ? [" && _cached.key === ", _] : [],
|
|
2957
2964
|
` && ${n.helperString(
|
|
2958
|
-
|
|
2965
|
+
En
|
|
2959
2966
|
)}(_cached, _memo)) return _cached`
|
|
2960
2967
|
]),
|
|
2961
2968
|
de(["const _item = ", f]),
|
|
@@ -2978,7 +2985,7 @@ const er = (e, t, n) => {
|
|
|
2978
2985
|
});
|
|
2979
2986
|
}
|
|
2980
2987
|
);
|
|
2981
|
-
function
|
|
2988
|
+
function sr(e, t, n, r) {
|
|
2982
2989
|
if (!t.exp) {
|
|
2983
2990
|
n.onError(
|
|
2984
2991
|
P(31, t.loc)
|
|
@@ -2992,14 +2999,14 @@ function nr(e, t, n, r) {
|
|
|
2992
2999
|
);
|
|
2993
3000
|
return;
|
|
2994
3001
|
}
|
|
2995
|
-
|
|
2996
|
-
const { addIdentifiers: i, removeIdentifiers: l, scopes: s } = n, { source: o, value: c, key:
|
|
3002
|
+
Cn(a, n);
|
|
3003
|
+
const { addIdentifiers: i, removeIdentifiers: l, scopes: s } = n, { source: o, value: c, key: p, index: _ } = a, u = {
|
|
2997
3004
|
type: 11,
|
|
2998
3005
|
loc: t.loc,
|
|
2999
3006
|
source: o,
|
|
3000
3007
|
valueAlias: c,
|
|
3001
|
-
keyAlias:
|
|
3002
|
-
objectIndexAlias:
|
|
3008
|
+
keyAlias: p,
|
|
3009
|
+
objectIndexAlias: _,
|
|
3003
3010
|
parseResult: a,
|
|
3004
3011
|
children: qe(e) ? e.children : [e]
|
|
3005
3012
|
};
|
|
@@ -3009,7 +3016,7 @@ function nr(e, t, n, r) {
|
|
|
3009
3016
|
s.vFor--, d && d();
|
|
3010
3017
|
};
|
|
3011
3018
|
}
|
|
3012
|
-
function
|
|
3019
|
+
function Cn(e, t) {
|
|
3013
3020
|
e.finalized || (process.env.NODE_ENV !== "production" && (we(e.source, t), e.key && we(
|
|
3014
3021
|
e.key,
|
|
3015
3022
|
t,
|
|
@@ -3033,7 +3040,7 @@ function $o(e) {
|
|
|
3033
3040
|
;
|
|
3034
3041
|
return e.slice(0, t + 1).map((n, r) => n || C("_".repeat(r + 1), !1));
|
|
3035
3042
|
}
|
|
3036
|
-
const
|
|
3043
|
+
const Zn = C("undefined", !1), rr = (e, t) => {
|
|
3037
3044
|
if (e.type === 1 && (e.tagType === 1 || e.tagType === 3)) {
|
|
3038
3045
|
const n = Q(e, "slot");
|
|
3039
3046
|
if (n)
|
|
@@ -3043,10 +3050,10 @@ const Qn = C("undefined", !1), sr = (e, t) => {
|
|
|
3043
3050
|
}
|
|
3044
3051
|
}, jo = (e, t) => {
|
|
3045
3052
|
let n;
|
|
3046
|
-
if (qe(e) && e.props.some(
|
|
3053
|
+
if (qe(e) && e.props.some(Sn) && (n = Q(e, "for"))) {
|
|
3047
3054
|
const r = n.forParseResult;
|
|
3048
3055
|
if (r) {
|
|
3049
|
-
|
|
3056
|
+
Cn(r, t);
|
|
3050
3057
|
const { value: a, key: i, index: l } = r, { addIdentifiers: s, removeIdentifiers: o } = t;
|
|
3051
3058
|
return a && s(a), i && s(i), l && s(l), () => {
|
|
3052
3059
|
a && o(a), i && o(i), l && o(l);
|
|
@@ -3060,7 +3067,7 @@ const Qn = C("undefined", !1), sr = (e, t) => {
|
|
|
3060
3067
|
!0,
|
|
3061
3068
|
n.length ? n[0].loc : r
|
|
3062
3069
|
);
|
|
3063
|
-
function
|
|
3070
|
+
function ir(e, t, n = Ho) {
|
|
3064
3071
|
t.helper(Kt);
|
|
3065
3072
|
const { children: r, loc: a } = e, i = [], l = [];
|
|
3066
3073
|
let s = t.scopes.vSlot > 0 || t.scopes.vFor > 0;
|
|
@@ -3068,20 +3075,20 @@ function rr(e, t, n = Ho) {
|
|
|
3068
3075
|
if (o) {
|
|
3069
3076
|
const { arg: N, exp: O } = o;
|
|
3070
3077
|
N && !ne(N) && (s = !0), i.push(
|
|
3071
|
-
|
|
3078
|
+
x(
|
|
3072
3079
|
N || C("default", !0),
|
|
3073
3080
|
n(O, void 0, r, a)
|
|
3074
3081
|
)
|
|
3075
3082
|
);
|
|
3076
3083
|
}
|
|
3077
|
-
let c = !1,
|
|
3078
|
-
const
|
|
3084
|
+
let c = !1, p = !1;
|
|
3085
|
+
const _ = [], u = /* @__PURE__ */ new Set();
|
|
3079
3086
|
let d = 0;
|
|
3080
3087
|
for (let N = 0; N < r.length; N++) {
|
|
3081
3088
|
const O = r[N];
|
|
3082
3089
|
let y;
|
|
3083
3090
|
if (!qe(O) || !(y = Q(O, "slot", !0))) {
|
|
3084
|
-
O.type !== 3 &&
|
|
3091
|
+
O.type !== 3 && _.push(O);
|
|
3085
3092
|
continue;
|
|
3086
3093
|
}
|
|
3087
3094
|
if (o) {
|
|
@@ -3092,57 +3099,57 @@ function rr(e, t, n = Ho) {
|
|
|
3092
3099
|
}
|
|
3093
3100
|
c = !0;
|
|
3094
3101
|
const { children: w, loc: se } = O, {
|
|
3095
|
-
arg:
|
|
3096
|
-
exp:
|
|
3102
|
+
arg: F = C("default", !0),
|
|
3103
|
+
exp: re,
|
|
3097
3104
|
loc: X
|
|
3098
3105
|
} = y;
|
|
3099
3106
|
let b;
|
|
3100
|
-
ne(
|
|
3101
|
-
const I = Q(O, "for"), m = n(
|
|
3102
|
-
let S,
|
|
3107
|
+
ne(F) ? b = F ? F.content : "default" : s = !0;
|
|
3108
|
+
const I = Q(O, "for"), m = n(re, I, w, se);
|
|
3109
|
+
let S, v;
|
|
3103
3110
|
if (S = Q(O, "if"))
|
|
3104
3111
|
s = !0, l.push(
|
|
3105
3112
|
Ct(
|
|
3106
3113
|
S.exp,
|
|
3107
|
-
ht(
|
|
3108
|
-
|
|
3114
|
+
ht(F, m, d++),
|
|
3115
|
+
Zn
|
|
3109
3116
|
)
|
|
3110
3117
|
);
|
|
3111
|
-
else if (
|
|
3118
|
+
else if (v = Q(
|
|
3112
3119
|
O,
|
|
3113
3120
|
/^else(-if)?$/,
|
|
3114
3121
|
!0
|
|
3115
3122
|
/* allowEmpty */
|
|
3116
3123
|
)) {
|
|
3117
3124
|
let g = N, T;
|
|
3118
|
-
for (; g-- && (T = r[g], T.type
|
|
3125
|
+
for (; g-- && (T = r[g], !(T.type !== 3 && an(T))); )
|
|
3119
3126
|
;
|
|
3120
3127
|
if (T && qe(T) && Q(T, /^(else-)?if$/)) {
|
|
3121
3128
|
let A = l[l.length - 1];
|
|
3122
3129
|
for (; A.alternate.type === 19; )
|
|
3123
3130
|
A = A.alternate;
|
|
3124
|
-
A.alternate =
|
|
3125
|
-
|
|
3131
|
+
A.alternate = v.exp ? Ct(
|
|
3132
|
+
v.exp,
|
|
3126
3133
|
ht(
|
|
3127
|
-
|
|
3134
|
+
F,
|
|
3128
3135
|
m,
|
|
3129
3136
|
d++
|
|
3130
3137
|
),
|
|
3131
|
-
|
|
3132
|
-
) : ht(
|
|
3138
|
+
Zn
|
|
3139
|
+
) : ht(F, m, d++);
|
|
3133
3140
|
} else
|
|
3134
3141
|
t.onError(
|
|
3135
|
-
P(30,
|
|
3142
|
+
P(30, v.loc)
|
|
3136
3143
|
);
|
|
3137
3144
|
} else if (I) {
|
|
3138
3145
|
s = !0;
|
|
3139
3146
|
const g = I.forParseResult;
|
|
3140
|
-
g ? (
|
|
3147
|
+
g ? (Cn(g, t), l.push(
|
|
3141
3148
|
$(t.helper(Ut), [
|
|
3142
3149
|
g.source,
|
|
3143
3150
|
Be(
|
|
3144
3151
|
At(g),
|
|
3145
|
-
ht(
|
|
3152
|
+
ht(F, m),
|
|
3146
3153
|
!0
|
|
3147
3154
|
)
|
|
3148
3155
|
])
|
|
@@ -3163,44 +3170,44 @@ function rr(e, t, n = Ho) {
|
|
|
3163
3170
|
);
|
|
3164
3171
|
continue;
|
|
3165
3172
|
}
|
|
3166
|
-
u.add(b), b === "default" && (
|
|
3173
|
+
u.add(b), b === "default" && (p = !0);
|
|
3167
3174
|
}
|
|
3168
|
-
i.push(F
|
|
3175
|
+
i.push(x(F, m));
|
|
3169
3176
|
}
|
|
3170
3177
|
}
|
|
3171
3178
|
if (!o) {
|
|
3172
3179
|
const N = (O, y) => {
|
|
3173
3180
|
const w = n(O, void 0, y, a);
|
|
3174
|
-
return t.compatConfig && (w.isNonScopedSlot = !0),
|
|
3181
|
+
return t.compatConfig && (w.isNonScopedSlot = !0), x("default", w);
|
|
3175
3182
|
};
|
|
3176
|
-
c ?
|
|
3183
|
+
c ? _.length && // #3766
|
|
3177
3184
|
// with whitespace: 'preserve', whitespaces between slots will end up in
|
|
3178
3185
|
// implicitDefaultChildren. Ignore if all implicit children are whitespaces.
|
|
3179
|
-
|
|
3186
|
+
_.some((O) => an(O)) && (p ? t.onError(
|
|
3180
3187
|
P(
|
|
3181
3188
|
39,
|
|
3182
|
-
|
|
3189
|
+
_[0].loc
|
|
3183
3190
|
)
|
|
3184
3191
|
) : i.push(
|
|
3185
|
-
N(void 0,
|
|
3192
|
+
N(void 0, _)
|
|
3186
3193
|
)) : i.push(N(void 0, r));
|
|
3187
3194
|
}
|
|
3188
|
-
const
|
|
3195
|
+
const E = s ? 2 : yt(e.children) ? 3 : 1;
|
|
3189
3196
|
let f = _e(
|
|
3190
3197
|
i.concat(
|
|
3191
|
-
|
|
3198
|
+
x(
|
|
3192
3199
|
"_",
|
|
3193
3200
|
// 2 = compiled but dynamic = can skip normalization, but must run diff
|
|
3194
3201
|
// 1 = compiled and static = can skip normalization AND diff as optimized
|
|
3195
3202
|
C(
|
|
3196
|
-
|
|
3203
|
+
E + (process.env.NODE_ENV !== "production" ? ` /* ${pi[E]} */` : ""),
|
|
3197
3204
|
!1
|
|
3198
3205
|
)
|
|
3199
3206
|
)
|
|
3200
3207
|
),
|
|
3201
3208
|
a
|
|
3202
3209
|
);
|
|
3203
|
-
return l.length && (f = $(t.helper(
|
|
3210
|
+
return l.length && (f = $(t.helper(mn), [
|
|
3204
3211
|
f,
|
|
3205
3212
|
be(l)
|
|
3206
3213
|
])), {
|
|
@@ -3210,11 +3217,11 @@ function rr(e, t, n = Ho) {
|
|
|
3210
3217
|
}
|
|
3211
3218
|
function ht(e, t, n) {
|
|
3212
3219
|
const r = [
|
|
3213
|
-
|
|
3214
|
-
|
|
3220
|
+
x("name", e),
|
|
3221
|
+
x("fn", t)
|
|
3215
3222
|
];
|
|
3216
3223
|
return n != null && r.push(
|
|
3217
|
-
|
|
3224
|
+
x("key", C(String(n), !0))
|
|
3218
3225
|
), _e(r);
|
|
3219
3226
|
}
|
|
3220
3227
|
function yt(e) {
|
|
@@ -3236,16 +3243,16 @@ function yt(e) {
|
|
|
3236
3243
|
}
|
|
3237
3244
|
return !1;
|
|
3238
3245
|
}
|
|
3239
|
-
function
|
|
3240
|
-
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() :
|
|
3246
|
+
function an(e) {
|
|
3247
|
+
return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() : an(e.content);
|
|
3241
3248
|
}
|
|
3242
3249
|
const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
3243
3250
|
if (e = t.currentNode, !(e.type === 1 && (e.tagType === 0 || e.tagType === 1)))
|
|
3244
3251
|
return;
|
|
3245
3252
|
const { tag: r, props: a } = e, i = e.tagType === 1;
|
|
3246
3253
|
let l = i ? lr(e, t) : `"${r}"`;
|
|
3247
|
-
const s =
|
|
3248
|
-
let o, c,
|
|
3254
|
+
const s = fs(l) && l.callee === Xt;
|
|
3255
|
+
let o, c, p = 0, _, u, d, E = (
|
|
3249
3256
|
// dynamic component may resolve to plain elements
|
|
3250
3257
|
s || l === Ke || l === Pt || !i && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
3251
3258
|
// updates inside get proper isSVG flag at runtime. (#639, #643)
|
|
@@ -3254,21 +3261,21 @@ const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
|
3254
3261
|
(r === "svg" || r === "foreignObject" || r === "math")
|
|
3255
3262
|
);
|
|
3256
3263
|
if (a.length > 0) {
|
|
3257
|
-
const f =
|
|
3264
|
+
const f = bn(
|
|
3258
3265
|
e,
|
|
3259
3266
|
t,
|
|
3260
3267
|
void 0,
|
|
3261
3268
|
i,
|
|
3262
3269
|
s
|
|
3263
3270
|
);
|
|
3264
|
-
o = f.props,
|
|
3271
|
+
o = f.props, p = f.patchFlag, u = f.dynamicPropNames;
|
|
3265
3272
|
const N = f.directives;
|
|
3266
3273
|
d = N && N.length ? be(
|
|
3267
3274
|
N.map((O) => cr(O, t))
|
|
3268
|
-
) : void 0, f.shouldUseBlock && (
|
|
3275
|
+
) : void 0, f.shouldUseBlock && (E = !0);
|
|
3269
3276
|
}
|
|
3270
3277
|
if (e.children.length > 0)
|
|
3271
|
-
if (l === tt && (
|
|
3278
|
+
if (l === tt && (E = !0, p |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
|
|
3272
3279
|
P(46, {
|
|
3273
3280
|
start: e.children[0].loc.start,
|
|
3274
3281
|
end: e.children[e.children.length - 1].loc.end,
|
|
@@ -3277,22 +3284,22 @@ const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
|
3277
3284
|
)), i && // Teleport is not a real component and has dedicated runtime handling
|
|
3278
3285
|
l !== Ke && // explained above.
|
|
3279
3286
|
l !== tt) {
|
|
3280
|
-
const { slots: N, hasDynamicSlots: O } =
|
|
3281
|
-
c = N, O && (
|
|
3287
|
+
const { slots: N, hasDynamicSlots: O } = ir(e, t);
|
|
3288
|
+
c = N, O && (p |= 1024);
|
|
3282
3289
|
} else if (e.children.length === 1 && l !== Ke) {
|
|
3283
3290
|
const N = e.children[0], O = N.type, y = O === 5 || O === 8;
|
|
3284
|
-
y &&
|
|
3291
|
+
y && le(N, t) === 0 && (p |= 1), y || O === 2 ? c = N : c = e.children;
|
|
3285
3292
|
} else
|
|
3286
3293
|
c = e.children;
|
|
3287
|
-
u && u.length && (
|
|
3294
|
+
u && u.length && (_ = Wo(u)), e.codegenNode = Je(
|
|
3288
3295
|
t,
|
|
3289
3296
|
l,
|
|
3290
3297
|
o,
|
|
3291
3298
|
c,
|
|
3292
|
-
|
|
3293
|
-
|
|
3299
|
+
p === 0 ? void 0 : p,
|
|
3300
|
+
_,
|
|
3294
3301
|
d,
|
|
3295
|
-
!!
|
|
3302
|
+
!!E,
|
|
3296
3303
|
!1,
|
|
3297
3304
|
i,
|
|
3298
3305
|
e.loc
|
|
@@ -3300,7 +3307,7 @@ const or = /* @__PURE__ */ new WeakMap(), ar = (e, t) => function() {
|
|
|
3300
3307
|
};
|
|
3301
3308
|
function lr(e, t, n = !1) {
|
|
3302
3309
|
let { tag: r } = e;
|
|
3303
|
-
const a =
|
|
3310
|
+
const a = ln(r), i = Ye(
|
|
3304
3311
|
e,
|
|
3305
3312
|
"is",
|
|
3306
3313
|
!1,
|
|
@@ -3318,67 +3325,67 @@ function lr(e, t, n = !1) {
|
|
|
3318
3325
|
s
|
|
3319
3326
|
]);
|
|
3320
3327
|
} else i.type === 6 && i.value.content.startsWith("vue:") && (r = i.value.content.slice(4));
|
|
3321
|
-
const l =
|
|
3328
|
+
const l = Nn(r) || t.isBuiltInComponent(r);
|
|
3322
3329
|
return l ? (n || t.helper(l), l) : (t.helper(wt), t.components.add(r), ze(r, "component"));
|
|
3323
3330
|
}
|
|
3324
|
-
function
|
|
3331
|
+
function bn(e, t, n = e.props, r, a, i = !1) {
|
|
3325
3332
|
const { tag: l, loc: s, children: o } = e;
|
|
3326
3333
|
let c = [];
|
|
3327
|
-
const
|
|
3328
|
-
let d = !1,
|
|
3329
|
-
const
|
|
3330
|
-
c.length && (
|
|
3331
|
-
_e(
|
|
3332
|
-
), c = []), m &&
|
|
3334
|
+
const p = [], _ = [], u = o.length > 0;
|
|
3335
|
+
let d = !1, E = 0, f = !1, N = !1, O = !1, y = !1, w = !1, se = !1;
|
|
3336
|
+
const F = [], re = (m) => {
|
|
3337
|
+
c.length && (p.push(
|
|
3338
|
+
_e(es(c), s)
|
|
3339
|
+
), c = []), m && p.push(m);
|
|
3333
3340
|
}, X = () => {
|
|
3334
3341
|
t.scopes.vFor > 0 && c.push(
|
|
3335
|
-
|
|
3342
|
+
x(
|
|
3336
3343
|
C("ref_for", !0),
|
|
3337
3344
|
C("true")
|
|
3338
3345
|
)
|
|
3339
3346
|
);
|
|
3340
3347
|
}, b = ({ key: m, value: S }) => {
|
|
3341
3348
|
if (ne(m)) {
|
|
3342
|
-
const
|
|
3349
|
+
const v = m.content, g = tn(v);
|
|
3343
3350
|
if (g && (!r || a) && // omit the flag for click handlers because hydration gives click
|
|
3344
3351
|
// dedicated fast path.
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
!
|
|
3352
|
+
v.toLowerCase() !== "onclick" && // omit v-model handlers
|
|
3353
|
+
v !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
|
|
3354
|
+
!Un(v) && (y = !0), g && Un(v) && (se = !0), g && S.type === 14 && (S = S.arguments[0]), S.type === 20 || (S.type === 4 || S.type === 8) && le(S, t) > 0)
|
|
3348
3355
|
return;
|
|
3349
|
-
|
|
3356
|
+
v === "ref" ? f = !0 : v === "class" ? N = !0 : v === "style" ? O = !0 : v !== "key" && !F.includes(v) && F.push(v), r && (v === "class" || v === "style") && !F.includes(v) && F.push(v);
|
|
3350
3357
|
} else
|
|
3351
3358
|
w = !0;
|
|
3352
3359
|
};
|
|
3353
3360
|
for (let m = 0; m < n.length; m++) {
|
|
3354
3361
|
const S = n[m];
|
|
3355
3362
|
if (S.type === 6) {
|
|
3356
|
-
const { loc:
|
|
3363
|
+
const { loc: v, name: g, nameLoc: T, value: A } = S;
|
|
3357
3364
|
let M = !0;
|
|
3358
|
-
if (g === "ref" && (f = !0, X()), g === "is" && (
|
|
3365
|
+
if (g === "ref" && (f = !0, X()), g === "is" && (ln(l) || A && A.content.startsWith("vue:") || Ae(
|
|
3359
3366
|
"COMPILER_IS_ON_ELEMENT",
|
|
3360
3367
|
t
|
|
3361
3368
|
)))
|
|
3362
3369
|
continue;
|
|
3363
3370
|
c.push(
|
|
3364
|
-
|
|
3371
|
+
x(
|
|
3365
3372
|
C(g, !0, T),
|
|
3366
3373
|
C(
|
|
3367
3374
|
A ? A.content : "",
|
|
3368
3375
|
M,
|
|
3369
|
-
A ? A.loc :
|
|
3376
|
+
A ? A.loc : v
|
|
3370
3377
|
)
|
|
3371
3378
|
)
|
|
3372
3379
|
);
|
|
3373
3380
|
} else {
|
|
3374
|
-
const { name:
|
|
3375
|
-
if (
|
|
3381
|
+
const { name: v, arg: g, exp: T, loc: A, modifiers: M } = S, ee = v === "bind", q = v === "on";
|
|
3382
|
+
if (v === "slot") {
|
|
3376
3383
|
r || t.onError(
|
|
3377
3384
|
P(40, A)
|
|
3378
3385
|
);
|
|
3379
3386
|
continue;
|
|
3380
3387
|
}
|
|
3381
|
-
if (
|
|
3388
|
+
if (v === "once" || v === "memo" || v === "is" || ee && Ne(g, "is") && (ln(l) || Ae(
|
|
3382
3389
|
"COMPILER_IS_ON_ELEMENT",
|
|
3383
3390
|
t
|
|
3384
3391
|
)) || q && i)
|
|
@@ -3391,7 +3398,7 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3391
3398
|
) {
|
|
3392
3399
|
if (w = !0, T)
|
|
3393
3400
|
if (ee) {
|
|
3394
|
-
if (
|
|
3401
|
+
if (re(), process.env.NODE_ENV !== "production" && p.some((pe) => pe.type === 15 ? pe.properties.some(({ key: Re }) => Re.type !== 4 || !Re.isStatic ? !0 : Re.content !== "class" && Re.content !== "style" && !tn(Re.content)) : !0) && Ue(
|
|
3395
3402
|
"COMPILER_V_BIND_OBJECT_ORDER",
|
|
3396
3403
|
t,
|
|
3397
3404
|
A
|
|
@@ -3399,12 +3406,12 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3399
3406
|
"COMPILER_V_BIND_OBJECT_ORDER",
|
|
3400
3407
|
t
|
|
3401
3408
|
)) {
|
|
3402
|
-
|
|
3409
|
+
p.unshift(T);
|
|
3403
3410
|
continue;
|
|
3404
3411
|
}
|
|
3405
|
-
|
|
3412
|
+
X(), re(), p.push(T);
|
|
3406
3413
|
} else
|
|
3407
|
-
|
|
3414
|
+
re({
|
|
3408
3415
|
type: 14,
|
|
3409
3416
|
loc: A,
|
|
3410
3417
|
callee: t.helper(Ht),
|
|
@@ -3419,32 +3426,32 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3419
3426
|
);
|
|
3420
3427
|
continue;
|
|
3421
3428
|
}
|
|
3422
|
-
ee && M.some((H) => H.content === "prop") && (
|
|
3423
|
-
const Te = t.directiveTransforms[
|
|
3429
|
+
ee && M.some((H) => H.content === "prop") && (E |= 32);
|
|
3430
|
+
const Te = t.directiveTransforms[v];
|
|
3424
3431
|
if (Te) {
|
|
3425
3432
|
const { props: H, needRuntime: pe } = Te(S, e, t);
|
|
3426
|
-
!i && H.forEach(b), q && g && !ne(g) ?
|
|
3427
|
-
} else _i(
|
|
3433
|
+
!i && H.forEach(b), q && g && !ne(g) ? re(_e(H, s)) : c.push(...H), pe && (_.push(S), cn(pe) && or.set(S, pe));
|
|
3434
|
+
} else _i(v) || (_.push(S), u && (d = !0));
|
|
3428
3435
|
}
|
|
3429
3436
|
}
|
|
3430
3437
|
let I;
|
|
3431
|
-
if (
|
|
3438
|
+
if (p.length ? (re(), p.length > 1 ? I = $(
|
|
3432
3439
|
t.helper(nt),
|
|
3433
|
-
|
|
3440
|
+
p,
|
|
3434
3441
|
s
|
|
3435
|
-
) : I =
|
|
3436
|
-
|
|
3442
|
+
) : I = p[0]) : c.length && (I = _e(
|
|
3443
|
+
es(c),
|
|
3437
3444
|
s
|
|
3438
|
-
)), w ?
|
|
3445
|
+
)), w ? E |= 16 : (N && !r && (E |= 2), O && !r && (E |= 4), F.length && (E |= 8), y && (E |= 32)), !d && (E === 0 || E === 32) && (f || se || _.length > 0) && (E |= 512), !t.inSSR && I)
|
|
3439
3446
|
switch (I.type) {
|
|
3440
3447
|
case 15:
|
|
3441
|
-
let m = -1, S = -1,
|
|
3448
|
+
let m = -1, S = -1, v = !1;
|
|
3442
3449
|
for (let A = 0; A < I.properties.length; A++) {
|
|
3443
3450
|
const M = I.properties[A].key;
|
|
3444
|
-
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (
|
|
3451
|
+
ne(M) ? M.content === "class" ? m = A : M.content === "style" && (S = A) : M.isHandlerKey || (v = !0);
|
|
3445
3452
|
}
|
|
3446
3453
|
const g = I.properties[m], T = I.properties[S];
|
|
3447
|
-
|
|
3454
|
+
v ? I = $(
|
|
3448
3455
|
t.helper(Ge),
|
|
3449
3456
|
[I]
|
|
3450
3457
|
) : (g && !ne(g.value) && (g.value = $(
|
|
@@ -3474,13 +3481,13 @@ function Cn(e, t, n = e.props, r, a, i = !1) {
|
|
|
3474
3481
|
}
|
|
3475
3482
|
return {
|
|
3476
3483
|
props: I,
|
|
3477
|
-
directives:
|
|
3478
|
-
patchFlag:
|
|
3479
|
-
dynamicPropNames:
|
|
3484
|
+
directives: _,
|
|
3485
|
+
patchFlag: E,
|
|
3486
|
+
dynamicPropNames: F,
|
|
3480
3487
|
shouldUseBlock: d
|
|
3481
3488
|
};
|
|
3482
3489
|
}
|
|
3483
|
-
function
|
|
3490
|
+
function es(e) {
|
|
3484
3491
|
const t = /* @__PURE__ */ new Map(), n = [];
|
|
3485
3492
|
for (let r = 0; r < e.length; r++) {
|
|
3486
3493
|
const a = e[r];
|
|
@@ -3509,7 +3516,7 @@ function cr(e, t) {
|
|
|
3509
3516
|
n.push(
|
|
3510
3517
|
_e(
|
|
3511
3518
|
e.modifiers.map(
|
|
3512
|
-
(l) =>
|
|
3519
|
+
(l) => x(l, i)
|
|
3513
3520
|
),
|
|
3514
3521
|
a
|
|
3515
3522
|
)
|
|
@@ -3523,7 +3530,7 @@ function Wo(e) {
|
|
|
3523
3530
|
t += JSON.stringify(e[n]), n < r - 1 && (t += ", ");
|
|
3524
3531
|
return t + "]";
|
|
3525
3532
|
}
|
|
3526
|
-
function
|
|
3533
|
+
function ln(e) {
|
|
3527
3534
|
return e === "component" || e === "Component";
|
|
3528
3535
|
}
|
|
3529
3536
|
const Go = (e, t) => {
|
|
@@ -3537,7 +3544,7 @@ const Go = (e, t) => {
|
|
|
3537
3544
|
];
|
|
3538
3545
|
let s = 2;
|
|
3539
3546
|
i && (l[2] = i, s = 3), n.length && (l[3] = Be([], n, !1, !1, r), s = 4), t.scopeId && !t.slotted && (s = 5), l.splice(s), e.codegenNode = $(
|
|
3540
|
-
t.helper(
|
|
3547
|
+
t.helper(hn),
|
|
3541
3548
|
l,
|
|
3542
3549
|
r
|
|
3543
3550
|
);
|
|
@@ -3561,7 +3568,7 @@ function _r(e, t) {
|
|
|
3561
3568
|
l.name === "bind" && l.arg && ne(l.arg) && (l.arg.content = Ce(l.arg.content)), a.push(l);
|
|
3562
3569
|
}
|
|
3563
3570
|
if (a.length > 0) {
|
|
3564
|
-
const { props: i, directives: l } =
|
|
3571
|
+
const { props: i, directives: l } = bn(
|
|
3565
3572
|
e,
|
|
3566
3573
|
t,
|
|
3567
3574
|
a,
|
|
@@ -3580,22 +3587,22 @@ function _r(e, t) {
|
|
|
3580
3587
|
slotProps: r
|
|
3581
3588
|
};
|
|
3582
3589
|
}
|
|
3583
|
-
const
|
|
3590
|
+
const An = (e, t, n, r) => {
|
|
3584
3591
|
const { loc: a, modifiers: i, arg: l } = e;
|
|
3585
3592
|
!e.exp && !i.length && n.onError(P(35, a));
|
|
3586
3593
|
let s;
|
|
3587
3594
|
if (l.type === 4)
|
|
3588
3595
|
if (l.isStatic) {
|
|
3589
|
-
let
|
|
3590
|
-
process.env.NODE_ENV !== "production" &&
|
|
3591
|
-
const u = t.tagType !== 0 ||
|
|
3596
|
+
let _ = l.content;
|
|
3597
|
+
process.env.NODE_ENV !== "production" && _.startsWith("vnode") && n.onError(P(51, l.loc)), _.startsWith("vue:") && (_ = `vnode-${_.slice(4)}`);
|
|
3598
|
+
const u = t.tagType !== 0 || _.startsWith("vnode") || !/[A-Z]/.test(_) ? (
|
|
3592
3599
|
// for non-element and vnode lifecycle event listeners, auto convert
|
|
3593
3600
|
// it to camelCase. See issue #2249
|
|
3594
|
-
di(Ce(
|
|
3601
|
+
di(Ce(_))
|
|
3595
3602
|
) : (
|
|
3596
3603
|
// preserve case for plain element listeners that have uppercase
|
|
3597
3604
|
// letters, as these may be custom elements' custom events
|
|
3598
|
-
`on:${
|
|
3605
|
+
`on:${_}`
|
|
3599
3606
|
);
|
|
3600
3607
|
s = C(u, !0, l.loc);
|
|
3601
3608
|
} else
|
|
@@ -3610,27 +3617,27 @@ const bn = (e, t, n, r) => {
|
|
|
3610
3617
|
o && !o.content.trim() && (o = void 0);
|
|
3611
3618
|
let c = n.cacheHandlers && !o && !n.inVOnce;
|
|
3612
3619
|
if (o) {
|
|
3613
|
-
const
|
|
3620
|
+
const _ = gn(o), u = !(_ || Ps(o)), d = o.content.includes(";");
|
|
3614
3621
|
process.env.NODE_ENV !== "production" && we(
|
|
3615
3622
|
o,
|
|
3616
3623
|
n,
|
|
3617
3624
|
!1,
|
|
3618
3625
|
d
|
|
3619
|
-
), (u || c &&
|
|
3626
|
+
), (u || c && _) && (o = de([
|
|
3620
3627
|
`${u ? "$event" : "(...args)"} => ${d ? "{" : "("}`,
|
|
3621
3628
|
o,
|
|
3622
3629
|
d ? "}" : ")"
|
|
3623
3630
|
]));
|
|
3624
3631
|
}
|
|
3625
|
-
let
|
|
3632
|
+
let p = {
|
|
3626
3633
|
props: [
|
|
3627
|
-
|
|
3634
|
+
x(
|
|
3628
3635
|
s,
|
|
3629
3636
|
o || C("() => {}", !1, a)
|
|
3630
3637
|
)
|
|
3631
3638
|
]
|
|
3632
3639
|
};
|
|
3633
|
-
return r && (
|
|
3640
|
+
return r && (p = r(p)), c && (p.props[0].value = n.cache(p.props[0].value)), p.props.forEach((_) => _.key.isHandlerKey = !0), p;
|
|
3634
3641
|
}, Jo = (e, t) => {
|
|
3635
3642
|
if (e.type === 0 || e.type === 1 || e.type === 11 || e.type === 10)
|
|
3636
3643
|
return () => {
|
|
@@ -3670,7 +3677,7 @@ const bn = (e, t, n, r) => {
|
|
|
3670
3677
|
const l = n[i];
|
|
3671
3678
|
if (vt(l) || l.type === 8) {
|
|
3672
3679
|
const s = [];
|
|
3673
|
-
(l.type !== 2 || l.content !== " ") && s.push(l), !t.ssr &&
|
|
3680
|
+
(l.type !== 2 || l.content !== " ") && s.push(l), !t.ssr && le(l, t) === 0 && s.push(
|
|
3674
3681
|
1 + (process.env.NODE_ENV !== "production" ? ` /* ${Et[1]} */` : "")
|
|
3675
3682
|
), n[i] = {
|
|
3676
3683
|
type: 12,
|
|
@@ -3684,9 +3691,9 @@ const bn = (e, t, n, r) => {
|
|
|
3684
3691
|
}
|
|
3685
3692
|
}
|
|
3686
3693
|
};
|
|
3687
|
-
},
|
|
3694
|
+
}, ts = /* @__PURE__ */ new WeakSet(), Yo = (e, t) => {
|
|
3688
3695
|
if (e.type === 1 && Q(e, "once", !0))
|
|
3689
|
-
return
|
|
3696
|
+
return ts.has(e) || t.inVOnce || t.inSSR ? void 0 : (ts.add(e), t.inVOnce = !0, t.helper(st), () => {
|
|
3690
3697
|
t.inVOnce = !1;
|
|
3691
3698
|
const n = t.currentNode;
|
|
3692
3699
|
n.codegenNode && (n.codegenNode = t.cache(
|
|
@@ -3695,7 +3702,7 @@ const bn = (e, t, n, r) => {
|
|
|
3695
3702
|
!0
|
|
3696
3703
|
));
|
|
3697
3704
|
});
|
|
3698
|
-
},
|
|
3705
|
+
}, Dn = (e, t, n) => {
|
|
3699
3706
|
const { exp: r, arg: a } = e;
|
|
3700
3707
|
if (!r)
|
|
3701
3708
|
return n.onError(
|
|
@@ -3704,29 +3711,29 @@ const bn = (e, t, n, r) => {
|
|
|
3704
3711
|
const i = r.loc.source.trim(), l = r.type === 4 ? r.content : i, s = n.bindingMetadata[i];
|
|
3705
3712
|
if (s === "props" || s === "props-aliased")
|
|
3706
3713
|
return n.onError(P(44, r.loc)), mt();
|
|
3707
|
-
if (!l.trim() || !
|
|
3714
|
+
if (!l.trim() || !gn(r))
|
|
3708
3715
|
return n.onError(
|
|
3709
3716
|
P(42, r.loc)
|
|
3710
3717
|
), mt();
|
|
3711
3718
|
const o = a || C("modelValue", !0), c = a ? ne(a) ? `onUpdate:${Ce(a.content)}` : de(['"onUpdate:" + ', a]) : "onUpdate:modelValue";
|
|
3712
|
-
let
|
|
3713
|
-
const
|
|
3714
|
-
|
|
3715
|
-
`${
|
|
3719
|
+
let p;
|
|
3720
|
+
const _ = n.isTS ? "($event: any)" : "$event";
|
|
3721
|
+
p = de([
|
|
3722
|
+
`${_} => ((`,
|
|
3716
3723
|
r,
|
|
3717
3724
|
") = $event)"
|
|
3718
3725
|
]);
|
|
3719
3726
|
const u = [
|
|
3720
3727
|
// modelValue: foo
|
|
3721
|
-
|
|
3728
|
+
x(o, e.exp),
|
|
3722
3729
|
// "onUpdate:modelValue": $event => (foo = $event)
|
|
3723
|
-
|
|
3730
|
+
x(c, p)
|
|
3724
3731
|
];
|
|
3725
3732
|
if (e.modifiers.length && t.tagType === 1) {
|
|
3726
|
-
const d = e.modifiers.map((f) => f.content).map((f) => (ct(f) ? f : JSON.stringify(f)) + ": true").join(", "),
|
|
3733
|
+
const d = e.modifiers.map((f) => f.content).map((f) => (ct(f) ? f : JSON.stringify(f)) + ": true").join(", "), E = a ? ne(a) ? `${a.content}Modifiers` : de([a, ' + "Modifiers"']) : "modelModifiers";
|
|
3727
3734
|
u.push(
|
|
3728
|
-
|
|
3729
|
-
|
|
3735
|
+
x(
|
|
3736
|
+
E,
|
|
3730
3737
|
C(
|
|
3731
3738
|
`{ ${d} }`,
|
|
3732
3739
|
!1,
|
|
@@ -3748,30 +3755,30 @@ const qo = /[\w).+\-_$\]]/, zo = (e, t) => {
|
|
|
3748
3755
|
};
|
|
3749
3756
|
function Dt(e, t) {
|
|
3750
3757
|
if (e.type === 4)
|
|
3751
|
-
|
|
3758
|
+
ns(e, t);
|
|
3752
3759
|
else
|
|
3753
3760
|
for (let n = 0; n < e.children.length; n++) {
|
|
3754
3761
|
const r = e.children[n];
|
|
3755
|
-
typeof r == "object" && (r.type === 4 ?
|
|
3762
|
+
typeof r == "object" && (r.type === 4 ? ns(r, t) : r.type === 8 ? Dt(e, t) : r.type === 5 && Dt(r.content, t));
|
|
3756
3763
|
}
|
|
3757
3764
|
}
|
|
3758
|
-
function
|
|
3765
|
+
function ns(e, t) {
|
|
3759
3766
|
const n = e.content;
|
|
3760
|
-
let r = !1, a = !1, i = !1, l = !1, s = 0, o = 0, c = 0,
|
|
3767
|
+
let r = !1, a = !1, i = !1, l = !1, s = 0, o = 0, c = 0, p = 0, _, u, d, E, f = [];
|
|
3761
3768
|
for (d = 0; d < n.length; d++)
|
|
3762
|
-
if (u =
|
|
3763
|
-
|
|
3769
|
+
if (u = _, _ = n.charCodeAt(d), r)
|
|
3770
|
+
_ === 39 && u !== 92 && (r = !1);
|
|
3764
3771
|
else if (a)
|
|
3765
|
-
|
|
3772
|
+
_ === 34 && u !== 92 && (a = !1);
|
|
3766
3773
|
else if (i)
|
|
3767
|
-
|
|
3774
|
+
_ === 96 && u !== 92 && (i = !1);
|
|
3768
3775
|
else if (l)
|
|
3769
|
-
|
|
3770
|
-
else if (
|
|
3776
|
+
_ === 47 && u !== 92 && (l = !1);
|
|
3777
|
+
else if (_ === 124 && // pipe
|
|
3771
3778
|
n.charCodeAt(d + 1) !== 124 && n.charCodeAt(d - 1) !== 124 && !s && !o && !c)
|
|
3772
|
-
|
|
3779
|
+
E === void 0 ? (p = d + 1, E = n.slice(0, d).trim()) : N();
|
|
3773
3780
|
else {
|
|
3774
|
-
switch (
|
|
3781
|
+
switch (_) {
|
|
3775
3782
|
case 34:
|
|
3776
3783
|
a = !0;
|
|
3777
3784
|
break;
|
|
@@ -3808,16 +3815,16 @@ function ts(e, t) {
|
|
|
3808
3815
|
s--;
|
|
3809
3816
|
break;
|
|
3810
3817
|
}
|
|
3811
|
-
if (
|
|
3818
|
+
if (_ === 47) {
|
|
3812
3819
|
let O = d - 1, y;
|
|
3813
3820
|
for (; O >= 0 && (y = n.charAt(O), y === " "); O--)
|
|
3814
3821
|
;
|
|
3815
3822
|
(!y || !qo.test(y)) && (l = !0);
|
|
3816
3823
|
}
|
|
3817
3824
|
}
|
|
3818
|
-
|
|
3825
|
+
E === void 0 ? E = n.slice(0, d).trim() : p !== 0 && N();
|
|
3819
3826
|
function N() {
|
|
3820
|
-
f.push(n.slice(
|
|
3827
|
+
f.push(n.slice(p, d).trim()), p = d + 1;
|
|
3821
3828
|
}
|
|
3822
3829
|
if (f.length) {
|
|
3823
3830
|
for (process.env.NODE_ENV !== "production" && rt(
|
|
@@ -3825,8 +3832,8 @@ function ts(e, t) {
|
|
|
3825
3832
|
t,
|
|
3826
3833
|
e.loc
|
|
3827
3834
|
), d = 0; d < f.length; d++)
|
|
3828
|
-
|
|
3829
|
-
e.content =
|
|
3835
|
+
E = Qo(E, f[d], t);
|
|
3836
|
+
e.content = E, e.ast = void 0;
|
|
3830
3837
|
}
|
|
3831
3838
|
}
|
|
3832
3839
|
function Qo(e, t, n) {
|
|
@@ -3839,10 +3846,10 @@ function Qo(e, t, n) {
|
|
|
3839
3846
|
return n.filters.add(a), `${ze(a, "filter")}(${e}${i !== ")" ? "," + i : i}`;
|
|
3840
3847
|
}
|
|
3841
3848
|
}
|
|
3842
|
-
const
|
|
3849
|
+
const ss = /* @__PURE__ */ new WeakSet(), Zo = (e, t) => {
|
|
3843
3850
|
if (e.type === 1) {
|
|
3844
3851
|
const n = Q(e, "memo");
|
|
3845
|
-
return !n ||
|
|
3852
|
+
return !n || ss.has(e) ? void 0 : (ss.add(e), () => {
|
|
3846
3853
|
const r = e.codegenNode || t.currentNode.codegenNode;
|
|
3847
3854
|
r && r.type === 13 && (e.tagType !== 1 && Gt(r, t), e.codegenNode = $(t.helper(Wt), [
|
|
3848
3855
|
n.exp,
|
|
@@ -3861,28 +3868,28 @@ function pr(e) {
|
|
|
3861
3868
|
Zo,
|
|
3862
3869
|
Uo,
|
|
3863
3870
|
zo,
|
|
3864
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
3871
|
+
...process.env.NODE_ENV !== "production" ? [Qs] : [],
|
|
3865
3872
|
Go,
|
|
3866
3873
|
ar,
|
|
3867
|
-
|
|
3874
|
+
rr,
|
|
3868
3875
|
Jo
|
|
3869
3876
|
],
|
|
3870
3877
|
{
|
|
3871
|
-
on:
|
|
3872
|
-
bind:
|
|
3873
|
-
model:
|
|
3878
|
+
on: An,
|
|
3879
|
+
bind: tr,
|
|
3880
|
+
model: Dn
|
|
3874
3881
|
}
|
|
3875
3882
|
];
|
|
3876
3883
|
}
|
|
3877
3884
|
function ur(e, t = {}) {
|
|
3878
|
-
const n = t.onError ||
|
|
3885
|
+
const n = t.onError || vn, r = t.mode === "module";
|
|
3879
3886
|
t.prefixIdentifiers === !0 ? n(P(47)) : r && n(P(48));
|
|
3880
3887
|
const a = !1;
|
|
3881
3888
|
t.cacheHandlers && n(P(49)), t.scopeId && !r && n(P(50));
|
|
3882
3889
|
const i = ge({}, t, {
|
|
3883
3890
|
prefixIdentifiers: a
|
|
3884
|
-
}), l = j(e) ?
|
|
3885
|
-
return
|
|
3891
|
+
}), l = j(e) ? yn(e, i) : e, [s, o] = pr();
|
|
3892
|
+
return Gs(
|
|
3886
3893
|
l,
|
|
3887
3894
|
ge({}, i, {
|
|
3888
3895
|
nodeTransforms: [
|
|
@@ -3897,7 +3904,7 @@ function ur(e, t = {}) {
|
|
|
3897
3904
|
// user transforms
|
|
3898
3905
|
)
|
|
3899
3906
|
})
|
|
3900
|
-
),
|
|
3907
|
+
), Ys(l, i);
|
|
3901
3908
|
}
|
|
3902
3909
|
const ea = {
|
|
3903
3910
|
DATA: "data",
|
|
@@ -3912,40 +3919,40 @@ const ea = {
|
|
|
3912
3919
|
LITERAL_CONST: "literal-const"
|
|
3913
3920
|
}, dr = () => ({ props: [] });
|
|
3914
3921
|
/**
|
|
3915
|
-
* @vue/compiler-dom v3.5.
|
|
3922
|
+
* @vue/compiler-dom v3.5.17
|
|
3916
3923
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
3917
3924
|
* @license MIT
|
|
3918
3925
|
**/
|
|
3919
|
-
const
|
|
3926
|
+
const Rn = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), Mn = Symbol(
|
|
3920
3927
|
process.env.NODE_ENV !== "production" ? "vModelCheckbox" : ""
|
|
3921
|
-
),
|
|
3928
|
+
), Pn = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), Ln = Symbol(
|
|
3922
3929
|
process.env.NODE_ENV !== "production" ? "vModelSelect" : ""
|
|
3923
3930
|
), Rt = Symbol(
|
|
3924
3931
|
process.env.NODE_ENV !== "production" ? "vModelDynamic" : ""
|
|
3925
|
-
), Ln = Symbol(
|
|
3926
|
-
process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
|
|
3927
3932
|
), Vn = Symbol(
|
|
3933
|
+
process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
|
|
3934
|
+
), kn = Symbol(
|
|
3928
3935
|
process.env.NODE_ENV !== "production" ? "vOnKeysGuard" : ""
|
|
3929
|
-
),
|
|
3936
|
+
), wn = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Yt = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), Xn = Symbol(
|
|
3930
3937
|
process.env.NODE_ENV !== "production" ? "TransitionGroup" : ""
|
|
3931
3938
|
);
|
|
3932
|
-
|
|
3933
|
-
[
|
|
3934
|
-
[
|
|
3935
|
-
[
|
|
3936
|
-
[
|
|
3939
|
+
gs({
|
|
3940
|
+
[Rn]: "vModelRadio",
|
|
3941
|
+
[Mn]: "vModelCheckbox",
|
|
3942
|
+
[Pn]: "vModelText",
|
|
3943
|
+
[Ln]: "vModelSelect",
|
|
3937
3944
|
[Rt]: "vModelDynamic",
|
|
3938
|
-
[
|
|
3939
|
-
[
|
|
3940
|
-
[
|
|
3945
|
+
[Vn]: "withModifiers",
|
|
3946
|
+
[kn]: "withKeys",
|
|
3947
|
+
[wn]: "vShow",
|
|
3941
3948
|
[Yt]: "Transition",
|
|
3942
|
-
[
|
|
3949
|
+
[Xn]: "TransitionGroup"
|
|
3943
3950
|
});
|
|
3944
3951
|
let je;
|
|
3945
3952
|
function ta(e, t = !1) {
|
|
3946
3953
|
return je || (je = document.createElement("div")), t ? (je.innerHTML = `<div foo="${e.replace(/"/g, """)}">`, je.children[0].getAttribute("foo")) : (je.innerHTML = e, je.textContent);
|
|
3947
3954
|
}
|
|
3948
|
-
const
|
|
3955
|
+
const Bn = {
|
|
3949
3956
|
parseMode: "html",
|
|
3950
3957
|
isVoidTag: Ei,
|
|
3951
3958
|
isNativeTag: (e) => fi(e) || hi(e) || mi(e),
|
|
@@ -3956,7 +3963,7 @@ const Xn = {
|
|
|
3956
3963
|
if (e === "Transition" || e === "transition")
|
|
3957
3964
|
return Yt;
|
|
3958
3965
|
if (e === "TransitionGroup" || e === "transition-group")
|
|
3959
|
-
return
|
|
3966
|
+
return Xn;
|
|
3960
3967
|
},
|
|
3961
3968
|
// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
|
|
3962
3969
|
getNamespace(e, t, n) {
|
|
@@ -4050,7 +4057,7 @@ const sa = {
|
|
|
4050
4057
|
ue(54, a)
|
|
4051
4058
|
), t.children.length = 0), {
|
|
4052
4059
|
props: [
|
|
4053
|
-
|
|
4060
|
+
x(
|
|
4054
4061
|
C("innerHTML", !0, a),
|
|
4055
4062
|
r || C("", !0)
|
|
4056
4063
|
)
|
|
@@ -4064,9 +4071,9 @@ const sa = {
|
|
|
4064
4071
|
ue(56, a)
|
|
4065
4072
|
), t.children.length = 0), {
|
|
4066
4073
|
props: [
|
|
4067
|
-
|
|
4074
|
+
x(
|
|
4068
4075
|
C("textContent", !0),
|
|
4069
|
-
r ?
|
|
4076
|
+
r ? le(r, n) > 0 ? r : $(
|
|
4070
4077
|
n.helperString(lt),
|
|
4071
4078
|
[r],
|
|
4072
4079
|
a
|
|
@@ -4075,7 +4082,7 @@ const sa = {
|
|
|
4075
4082
|
]
|
|
4076
4083
|
};
|
|
4077
4084
|
}, oa = (e, t, n) => {
|
|
4078
|
-
const r =
|
|
4085
|
+
const r = Dn(e, t, n);
|
|
4079
4086
|
if (!r.props.length || t.tagType === 1)
|
|
4080
4087
|
return r;
|
|
4081
4088
|
e.arg && n.onError(
|
|
@@ -4095,7 +4102,7 @@ const sa = {
|
|
|
4095
4102
|
}
|
|
4096
4103
|
const { tag: i } = t, l = n.isCustomElement(i);
|
|
4097
4104
|
if (i === "input" || i === "textarea" || i === "select" || l) {
|
|
4098
|
-
let s =
|
|
4105
|
+
let s = Pn, o = !1;
|
|
4099
4106
|
if (i === "input" || l) {
|
|
4100
4107
|
const c = Ye(t, "type");
|
|
4101
4108
|
if (c) {
|
|
@@ -4104,10 +4111,10 @@ const sa = {
|
|
|
4104
4111
|
else if (c.value)
|
|
4105
4112
|
switch (c.value.content) {
|
|
4106
4113
|
case "radio":
|
|
4107
|
-
s =
|
|
4114
|
+
s = Rn;
|
|
4108
4115
|
break;
|
|
4109
4116
|
case "checkbox":
|
|
4110
|
-
s =
|
|
4117
|
+
s = Mn;
|
|
4111
4118
|
break;
|
|
4112
4119
|
case "file":
|
|
4113
4120
|
o = !0, n.onError(
|
|
@@ -4121,8 +4128,8 @@ const sa = {
|
|
|
4121
4128
|
process.env.NODE_ENV !== "production" && a();
|
|
4122
4129
|
break;
|
|
4123
4130
|
}
|
|
4124
|
-
} else
|
|
4125
|
-
} else i === "select" ? s =
|
|
4131
|
+
} else Vs(t) ? s = Rt : process.env.NODE_ENV !== "production" && a();
|
|
4132
|
+
} else i === "select" ? s = Ln : process.env.NODE_ENV !== "production" && a();
|
|
4126
4133
|
o || (r.needRuntime = n.helper(s));
|
|
4127
4134
|
} else
|
|
4128
4135
|
n.onError(
|
|
@@ -4152,30 +4159,30 @@ const sa = {
|
|
|
4152
4159
|
nonKeyModifiers: i,
|
|
4153
4160
|
eventOptionModifiers: l
|
|
4154
4161
|
};
|
|
4155
|
-
},
|
|
4162
|
+
}, rs = (e, t) => ne(e) && e.content.toLowerCase() === "onclick" ? C(t, !0) : e.type !== 4 ? de([
|
|
4156
4163
|
"(",
|
|
4157
4164
|
e,
|
|
4158
4165
|
`) === "onClick" ? "${t}" : (`,
|
|
4159
4166
|
e,
|
|
4160
4167
|
")"
|
|
4161
|
-
]) : e, pa = (e, t, n) =>
|
|
4168
|
+
]) : e, pa = (e, t, n) => An(e, t, n, (r) => {
|
|
4162
4169
|
const { modifiers: a } = e;
|
|
4163
4170
|
if (!a.length) return r;
|
|
4164
4171
|
let { key: i, value: l } = r.props[0];
|
|
4165
4172
|
const { keyModifiers: s, nonKeyModifiers: o, eventOptionModifiers: c } = _a(i, a, n, e.loc);
|
|
4166
|
-
if (o.includes("right") && (i =
|
|
4173
|
+
if (o.includes("right") && (i = rs(i, "onContextmenu")), o.includes("middle") && (i = rs(i, "onMouseup")), o.length && (l = $(n.helper(Vn), [
|
|
4167
4174
|
l,
|
|
4168
4175
|
JSON.stringify(o)
|
|
4169
4176
|
])), s.length && // if event name is dynamic, always wrap with keys guard
|
|
4170
|
-
(!ne(i) || mr(i.content.toLowerCase())) && (l = $(n.helper(
|
|
4177
|
+
(!ne(i) || mr(i.content.toLowerCase())) && (l = $(n.helper(kn), [
|
|
4171
4178
|
l,
|
|
4172
4179
|
JSON.stringify(s)
|
|
4173
4180
|
])), c.length) {
|
|
4174
|
-
const
|
|
4175
|
-
i = ne(i) ? C(`${i.content}${
|
|
4181
|
+
const p = c.map(ds).join("");
|
|
4182
|
+
i = ne(i) ? C(`${i.content}${p}`, !0) : de(["(", i, `) + "${p}"`]);
|
|
4176
4183
|
}
|
|
4177
4184
|
return {
|
|
4178
|
-
props: [
|
|
4185
|
+
props: [x(i, l)]
|
|
4179
4186
|
};
|
|
4180
4187
|
}), ua = (e, t, n) => {
|
|
4181
4188
|
const { exp: r, loc: a } = e;
|
|
@@ -4183,7 +4190,7 @@ const sa = {
|
|
|
4183
4190
|
ue(61, a)
|
|
4184
4191
|
), {
|
|
4185
4192
|
props: [],
|
|
4186
|
-
needRuntime: n.helper(
|
|
4193
|
+
needRuntime: n.helper(wn)
|
|
4187
4194
|
};
|
|
4188
4195
|
}, da = (e, t) => {
|
|
4189
4196
|
if (e.type === 1 && e.tagType === 1 && t.isBuiltInComponent(e.tag) === Yt)
|
|
@@ -4227,9 +4234,9 @@ const fa = (e, t) => {
|
|
|
4227
4234
|
), t.removeNode());
|
|
4228
4235
|
};
|
|
4229
4236
|
function ha(e, t) {
|
|
4230
|
-
return e in
|
|
4237
|
+
return e === "template" ? !0 : e in is ? is[e].has(t) : t in os ? os[t].has(e) : !(e in as && as[e].has(t) || t in ls && ls[t].has(e));
|
|
4231
4238
|
}
|
|
4232
|
-
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]),
|
|
4239
|
+
const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /* @__PURE__ */ new Set([]), is = {
|
|
4233
4240
|
head: /* @__PURE__ */ new Set([
|
|
4234
4241
|
"base",
|
|
4235
4242
|
"basefront",
|
|
@@ -4259,7 +4266,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4259
4266
|
textarea: Ve,
|
|
4260
4267
|
style: Ve,
|
|
4261
4268
|
title: Ve
|
|
4262
|
-
},
|
|
4269
|
+
}, os = {
|
|
4263
4270
|
// sections
|
|
4264
4271
|
html: Ve,
|
|
4265
4272
|
body: /* @__PURE__ */ new Set(["html"]),
|
|
@@ -4282,7 +4289,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4282
4289
|
// li: new Set(["ul", "ol"]),
|
|
4283
4290
|
summary: /* @__PURE__ */ new Set(["details"]),
|
|
4284
4291
|
area: /* @__PURE__ */ new Set(["map"])
|
|
4285
|
-
},
|
|
4292
|
+
}, as = {
|
|
4286
4293
|
p: /* @__PURE__ */ new Set([
|
|
4287
4294
|
"address",
|
|
4288
4295
|
"article",
|
|
@@ -4356,7 +4363,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4356
4363
|
"ul",
|
|
4357
4364
|
"var"
|
|
4358
4365
|
])
|
|
4359
|
-
},
|
|
4366
|
+
}, ls = {
|
|
4360
4367
|
a: /* @__PURE__ */ new Set(["a"]),
|
|
4361
4368
|
button: /* @__PURE__ */ new Set(["button"]),
|
|
4362
4369
|
dd: /* @__PURE__ */ new Set(["dd", "dt"]),
|
|
@@ -4392,7 +4399,7 @@ const He = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), Ve = /
|
|
|
4392
4399
|
function Ea(e, t = {}) {
|
|
4393
4400
|
return ur(
|
|
4394
4401
|
e,
|
|
4395
|
-
ge({},
|
|
4402
|
+
ge({}, Bn, t, {
|
|
4396
4403
|
nodeTransforms: [
|
|
4397
4404
|
// ignore <script> and <tag>
|
|
4398
4405
|
// this is not put inside DOMNodeTransforms because that list is used
|
|
@@ -4411,20 +4418,20 @@ function Ea(e, t = {}) {
|
|
|
4411
4418
|
);
|
|
4412
4419
|
}
|
|
4413
4420
|
function va(e, t = {}) {
|
|
4414
|
-
return
|
|
4421
|
+
return yn(e, ge({}, Bn, t));
|
|
4415
4422
|
}
|
|
4416
4423
|
const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4417
4424
|
__proto__: null,
|
|
4418
|
-
BASE_TRANSITION:
|
|
4425
|
+
BASE_TRANSITION: pn,
|
|
4419
4426
|
BindingTypes: ea,
|
|
4420
4427
|
CAMELIZE: Ot,
|
|
4421
|
-
CAPITALIZE:
|
|
4422
|
-
CREATE_BLOCK:
|
|
4428
|
+
CAPITALIZE: hs,
|
|
4429
|
+
CREATE_BLOCK: un,
|
|
4423
4430
|
CREATE_COMMENT: Qe,
|
|
4424
|
-
CREATE_ELEMENT_BLOCK:
|
|
4431
|
+
CREATE_ELEMENT_BLOCK: dn,
|
|
4425
4432
|
CREATE_ELEMENT_VNODE: Vt,
|
|
4426
|
-
CREATE_SLOTS:
|
|
4427
|
-
CREATE_STATIC:
|
|
4433
|
+
CREATE_SLOTS: mn,
|
|
4434
|
+
CREATE_STATIC: fn,
|
|
4428
4435
|
CREATE_TEXT: kt,
|
|
4429
4436
|
CREATE_VNODE: Lt,
|
|
4430
4437
|
CompilerDeprecationTypes: ki,
|
|
@@ -4437,8 +4444,8 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4437
4444
|
ErrorCodes: Xi,
|
|
4438
4445
|
FRAGMENT: We,
|
|
4439
4446
|
GUARD_REACTIVE_PROPS: Ze,
|
|
4440
|
-
IS_MEMO_SAME:
|
|
4441
|
-
IS_REF:
|
|
4447
|
+
IS_MEMO_SAME: En,
|
|
4448
|
+
IS_REF: Ns,
|
|
4442
4449
|
KEEP_ALIVE: tt,
|
|
4443
4450
|
MERGE_PROPS: nt,
|
|
4444
4451
|
NORMALIZE_CLASS: $t,
|
|
@@ -4447,10 +4454,10 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4447
4454
|
Namespaces: Oi,
|
|
4448
4455
|
NodeTypes: Ii,
|
|
4449
4456
|
OPEN_BLOCK: De,
|
|
4450
|
-
POP_SCOPE_ID:
|
|
4451
|
-
PUSH_SCOPE_ID:
|
|
4457
|
+
POP_SCOPE_ID: Es,
|
|
4458
|
+
PUSH_SCOPE_ID: ms,
|
|
4452
4459
|
RENDER_LIST: Ut,
|
|
4453
|
-
RENDER_SLOT:
|
|
4460
|
+
RENDER_SLOT: hn,
|
|
4454
4461
|
RESOLVE_COMPONENT: wt,
|
|
4455
4462
|
RESOLVE_DIRECTIVE: Bt,
|
|
4456
4463
|
RESOLVE_DYNAMIC_COMPONENT: Xt,
|
|
@@ -4462,35 +4469,35 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4462
4469
|
TO_HANDLERS: Ht,
|
|
4463
4470
|
TO_HANDLER_KEY: It,
|
|
4464
4471
|
TRANSITION: Yt,
|
|
4465
|
-
TRANSITION_GROUP:
|
|
4466
|
-
TS_NODE_TYPES:
|
|
4467
|
-
UNREF:
|
|
4468
|
-
V_MODEL_CHECKBOX:
|
|
4472
|
+
TRANSITION_GROUP: Xn,
|
|
4473
|
+
TS_NODE_TYPES: bs,
|
|
4474
|
+
UNREF: vs,
|
|
4475
|
+
V_MODEL_CHECKBOX: Mn,
|
|
4469
4476
|
V_MODEL_DYNAMIC: Rt,
|
|
4470
|
-
V_MODEL_RADIO:
|
|
4471
|
-
V_MODEL_SELECT:
|
|
4472
|
-
V_MODEL_TEXT:
|
|
4473
|
-
V_ON_WITH_KEYS:
|
|
4474
|
-
V_ON_WITH_MODIFIERS:
|
|
4475
|
-
V_SHOW:
|
|
4477
|
+
V_MODEL_RADIO: Rn,
|
|
4478
|
+
V_MODEL_SELECT: Ln,
|
|
4479
|
+
V_MODEL_TEXT: Pn,
|
|
4480
|
+
V_ON_WITH_KEYS: kn,
|
|
4481
|
+
V_ON_WITH_MODIFIERS: Vn,
|
|
4482
|
+
V_SHOW: wn,
|
|
4476
4483
|
WITH_CTX: Kt,
|
|
4477
4484
|
WITH_DIRECTIVES: Ft,
|
|
4478
4485
|
WITH_MEMO: Wt,
|
|
4479
4486
|
advancePositionWithClone: to,
|
|
4480
|
-
advancePositionWithMutation:
|
|
4487
|
+
advancePositionWithMutation: Ls,
|
|
4481
4488
|
assert: sn,
|
|
4482
4489
|
baseCompile: ur,
|
|
4483
|
-
baseParse:
|
|
4490
|
+
baseParse: yn,
|
|
4484
4491
|
buildDirectiveArgs: cr,
|
|
4485
|
-
buildProps:
|
|
4486
|
-
buildSlots:
|
|
4492
|
+
buildProps: bn,
|
|
4493
|
+
buildSlots: ir,
|
|
4487
4494
|
checkCompatEnabled: Ue,
|
|
4488
4495
|
compile: Ea,
|
|
4489
4496
|
convertToBlock: Gt,
|
|
4490
4497
|
createArrayExpression: be,
|
|
4491
4498
|
createAssignmentExpression: Mi,
|
|
4492
|
-
createBlockStatement:
|
|
4493
|
-
createCacheExpression:
|
|
4499
|
+
createBlockStatement: ys,
|
|
4500
|
+
createCacheExpression: Ts,
|
|
4494
4501
|
createCallExpression: $,
|
|
4495
4502
|
createCompilerError: P,
|
|
4496
4503
|
createCompoundExpression: de,
|
|
@@ -4501,94 +4508,94 @@ const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4501
4508
|
createIfStatement: Ri,
|
|
4502
4509
|
createInterpolation: Ai,
|
|
4503
4510
|
createObjectExpression: _e,
|
|
4504
|
-
createObjectProperty:
|
|
4511
|
+
createObjectProperty: x,
|
|
4505
4512
|
createReturnStatement: Li,
|
|
4506
|
-
createRoot:
|
|
4513
|
+
createRoot: Ss,
|
|
4507
4514
|
createSequenceExpression: Pi,
|
|
4508
4515
|
createSimpleExpression: C,
|
|
4509
|
-
createStructuralDirectiveTransform:
|
|
4516
|
+
createStructuralDirectiveTransform: On,
|
|
4510
4517
|
createTemplateLiteral: Di,
|
|
4511
|
-
createTransformContext:
|
|
4518
|
+
createTransformContext: Ws,
|
|
4512
4519
|
createVNodeCall: Je,
|
|
4513
|
-
errorMessages:
|
|
4514
|
-
extractIdentifiers:
|
|
4520
|
+
errorMessages: Is,
|
|
4521
|
+
extractIdentifiers: ve,
|
|
4515
4522
|
findDir: Q,
|
|
4516
4523
|
findProp: Ye,
|
|
4517
|
-
forAliasRE:
|
|
4518
|
-
generate:
|
|
4524
|
+
forAliasRE: Xs,
|
|
4525
|
+
generate: Ys,
|
|
4519
4526
|
generateCodeFrame: Ni,
|
|
4520
4527
|
getBaseTransformPreset: pr,
|
|
4521
|
-
getConstantType:
|
|
4522
|
-
getMemoedVNodeCall:
|
|
4528
|
+
getConstantType: le,
|
|
4529
|
+
getMemoedVNodeCall: ws,
|
|
4523
4530
|
getVNodeBlockHelper: Fe,
|
|
4524
4531
|
getVNodeHelper: xe,
|
|
4525
|
-
hasDynamicKeyVBind:
|
|
4532
|
+
hasDynamicKeyVBind: Vs,
|
|
4526
4533
|
hasScopeRef: fe,
|
|
4527
4534
|
helperNameMap: Xe,
|
|
4528
4535
|
injectProp: ot,
|
|
4529
|
-
isCoreComponent:
|
|
4530
|
-
isFnExpression:
|
|
4531
|
-
isFnExpressionBrowser:
|
|
4536
|
+
isCoreComponent: Nn,
|
|
4537
|
+
isFnExpression: Ps,
|
|
4538
|
+
isFnExpressionBrowser: Ms,
|
|
4532
4539
|
isFnExpressionNode: eo,
|
|
4533
4540
|
isFunctionType: Wi,
|
|
4534
4541
|
isInDestructureAssignment: Fi,
|
|
4535
4542
|
isInNewExpression: Ui,
|
|
4536
|
-
isMemberExpression:
|
|
4537
|
-
isMemberExpressionBrowser:
|
|
4543
|
+
isMemberExpression: gn,
|
|
4544
|
+
isMemberExpressionBrowser: Rs,
|
|
4538
4545
|
isMemberExpressionNode: Qi,
|
|
4539
4546
|
isReferencedIdentifier: xi,
|
|
4540
4547
|
isSimpleIdentifier: ct,
|
|
4541
4548
|
isSlotOutlet: it,
|
|
4542
4549
|
isStaticArgOf: Ne,
|
|
4543
4550
|
isStaticExp: ne,
|
|
4544
|
-
isStaticProperty:
|
|
4551
|
+
isStaticProperty: Cs,
|
|
4545
4552
|
isStaticPropertyKey: Gi,
|
|
4546
4553
|
isTemplateNode: qe,
|
|
4547
4554
|
isText: vt,
|
|
4548
|
-
isVSlot:
|
|
4555
|
+
isVSlot: Sn,
|
|
4549
4556
|
locStub: W,
|
|
4550
4557
|
noopDirectiveTransform: dr,
|
|
4551
4558
|
parse: va,
|
|
4552
|
-
parserOptions:
|
|
4559
|
+
parserOptions: Bn,
|
|
4553
4560
|
processExpression: Tt,
|
|
4554
|
-
processFor:
|
|
4555
|
-
processIf:
|
|
4561
|
+
processFor: sr,
|
|
4562
|
+
processIf: er,
|
|
4556
4563
|
processSlotOutlet: _r,
|
|
4557
|
-
registerRuntimeHelpers:
|
|
4564
|
+
registerRuntimeHelpers: gs,
|
|
4558
4565
|
resolveComponentType: lr,
|
|
4559
|
-
stringifyExpression:
|
|
4566
|
+
stringifyExpression: Zs,
|
|
4560
4567
|
toValidAssetId: ze,
|
|
4561
|
-
trackSlotScopes:
|
|
4568
|
+
trackSlotScopes: rr,
|
|
4562
4569
|
trackVForSlotScopes: jo,
|
|
4563
|
-
transform:
|
|
4564
|
-
transformBind:
|
|
4570
|
+
transform: Gs,
|
|
4571
|
+
transformBind: tr,
|
|
4565
4572
|
transformElement: ar,
|
|
4566
|
-
transformExpression:
|
|
4567
|
-
transformModel:
|
|
4568
|
-
transformOn:
|
|
4573
|
+
transformExpression: Qs,
|
|
4574
|
+
transformModel: Dn,
|
|
4575
|
+
transformOn: An,
|
|
4569
4576
|
transformStyle: fr,
|
|
4570
4577
|
traverseNode: _t,
|
|
4571
|
-
unwrapTSNode:
|
|
4578
|
+
unwrapTSNode: As,
|
|
4572
4579
|
walkBlockDeclarations: ji,
|
|
4573
4580
|
walkFunctionParams: $i,
|
|
4574
4581
|
walkIdentifiers: Bi,
|
|
4575
4582
|
warnDeprecation: rt
|
|
4576
|
-
}, Symbol.toStringTag, { value: "Module" })), gr = /* @__PURE__ */
|
|
4583
|
+
}, Symbol.toStringTag, { value: "Module" })), gr = /* @__PURE__ */ _n(Na), Sr = /* @__PURE__ */ _n(gi), Tr = /* @__PURE__ */ _n(Si);
|
|
4577
4584
|
/**
|
|
4578
|
-
* vue v3.5.
|
|
4585
|
+
* vue v3.5.17
|
|
4579
4586
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4580
4587
|
* @license MIT
|
|
4581
4588
|
**/
|
|
4582
|
-
var
|
|
4589
|
+
var cs;
|
|
4583
4590
|
function ga() {
|
|
4584
|
-
return
|
|
4591
|
+
return cs || (cs = 1, function(e) {
|
|
4585
4592
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4586
4593
|
var t = gr, n = Sr, r = Tr;
|
|
4587
4594
|
function a(o) {
|
|
4588
4595
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4589
4596
|
if (o)
|
|
4590
|
-
for (var
|
|
4591
|
-
c[
|
|
4597
|
+
for (var p in o)
|
|
4598
|
+
c[p] = o[p];
|
|
4592
4599
|
return c.default = o, Object.freeze(c);
|
|
4593
4600
|
}
|
|
4594
4601
|
var i = /* @__PURE__ */ a(n);
|
|
@@ -4599,9 +4606,9 @@ function ga() {
|
|
|
4599
4606
|
o = o.innerHTML;
|
|
4600
4607
|
else
|
|
4601
4608
|
return r.NOOP;
|
|
4602
|
-
const
|
|
4603
|
-
if (
|
|
4604
|
-
return
|
|
4609
|
+
const p = r.genCacheKey(o, c), _ = l[p];
|
|
4610
|
+
if (_)
|
|
4611
|
+
return _;
|
|
4605
4612
|
if (o[0] === "#") {
|
|
4606
4613
|
const f = document.querySelector(o);
|
|
4607
4614
|
o = f ? f.innerHTML : "";
|
|
@@ -4615,8 +4622,8 @@ function ga() {
|
|
|
4615
4622
|
c
|
|
4616
4623
|
);
|
|
4617
4624
|
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (f) => !!customElements.get(f));
|
|
4618
|
-
const { code: d } = t.compile(o, u),
|
|
4619
|
-
return
|
|
4625
|
+
const { code: d } = t.compile(o, u), E = new Function("Vue", d)(i);
|
|
4626
|
+
return E._rc = !0, l[p] = E;
|
|
4620
4627
|
}
|
|
4621
4628
|
n.registerRuntimeCompiler(s), e.compile = s, Object.keys(n).forEach(function(o) {
|
|
4622
4629
|
o !== "default" && !Object.prototype.hasOwnProperty.call(e, o) && (e[o] = n[o]);
|
|
@@ -4625,20 +4632,20 @@ function ga() {
|
|
|
4625
4632
|
}
|
|
4626
4633
|
var en = {};
|
|
4627
4634
|
/**
|
|
4628
|
-
* vue v3.5.
|
|
4635
|
+
* vue v3.5.17
|
|
4629
4636
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4630
4637
|
* @license MIT
|
|
4631
4638
|
**/
|
|
4632
|
-
var
|
|
4639
|
+
var _s;
|
|
4633
4640
|
function Sa() {
|
|
4634
|
-
return
|
|
4641
|
+
return _s || (_s = 1, function(e) {
|
|
4635
4642
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
4636
4643
|
var t = gr, n = Sr, r = Tr;
|
|
4637
4644
|
function a(o) {
|
|
4638
4645
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4639
4646
|
if (o)
|
|
4640
|
-
for (var
|
|
4641
|
-
c[
|
|
4647
|
+
for (var p in o)
|
|
4648
|
+
c[p] = o[p];
|
|
4642
4649
|
return c.default = o, Object.freeze(c);
|
|
4643
4650
|
}
|
|
4644
4651
|
var i = /* @__PURE__ */ a(n);
|
|
@@ -4649,9 +4656,9 @@ function Sa() {
|
|
|
4649
4656
|
o = o.innerHTML;
|
|
4650
4657
|
else
|
|
4651
4658
|
return n.warn("invalid template option: ", o), r.NOOP;
|
|
4652
|
-
const
|
|
4653
|
-
if (
|
|
4654
|
-
return
|
|
4659
|
+
const p = r.genCacheKey(o, c), _ = l[p];
|
|
4660
|
+
if (_)
|
|
4661
|
+
return _;
|
|
4655
4662
|
if (o[0] === "#") {
|
|
4656
4663
|
const N = document.querySelector(o);
|
|
4657
4664
|
N || n.warn(`Template element not found or is empty: ${o}`), o = N ? N.innerHTML : "";
|
|
@@ -4659,14 +4666,14 @@ function Sa() {
|
|
|
4659
4666
|
const u = r.extend(
|
|
4660
4667
|
{
|
|
4661
4668
|
hoistStatic: !0,
|
|
4662
|
-
onError:
|
|
4663
|
-
onWarn: (N) =>
|
|
4669
|
+
onError: E,
|
|
4670
|
+
onWarn: (N) => E(N, !0)
|
|
4664
4671
|
},
|
|
4665
4672
|
c
|
|
4666
4673
|
);
|
|
4667
4674
|
!u.isCustomElement && typeof customElements < "u" && (u.isCustomElement = (N) => !!customElements.get(N));
|
|
4668
4675
|
const { code: d } = t.compile(o, u);
|
|
4669
|
-
function
|
|
4676
|
+
function E(N, O = !1) {
|
|
4670
4677
|
const y = O ? N.message : `Template compilation error: ${N.message}`, w = N.loc && r.generateCodeFrame(
|
|
4671
4678
|
o,
|
|
4672
4679
|
N.loc.start.offset,
|
|
@@ -4676,20 +4683,20 @@ function Sa() {
|
|
|
4676
4683
|
${w}` : y);
|
|
4677
4684
|
}
|
|
4678
4685
|
const f = new Function("Vue", d)(i);
|
|
4679
|
-
return f._rc = !0, l[
|
|
4686
|
+
return f._rc = !0, l[p] = f;
|
|
4680
4687
|
}
|
|
4681
4688
|
n.registerRuntimeCompiler(s), e.compile = s, Object.keys(n).forEach(function(o) {
|
|
4682
4689
|
o !== "default" && !Object.prototype.hasOwnProperty.call(e, o) && (e[o] = n[o]);
|
|
4683
4690
|
});
|
|
4684
4691
|
}(en)), en;
|
|
4685
4692
|
}
|
|
4686
|
-
var
|
|
4693
|
+
var ps;
|
|
4687
4694
|
function Ta() {
|
|
4688
|
-
return
|
|
4695
|
+
return ps || (ps = 1, process.env.NODE_ENV === "production" ? dt.exports = ga() : dt.exports = Sa()), dt.exports;
|
|
4689
4696
|
}
|
|
4690
|
-
var
|
|
4697
|
+
var us;
|
|
4691
4698
|
function ya() {
|
|
4692
|
-
return
|
|
4699
|
+
return us || (us = 1, function(e) {
|
|
4693
4700
|
(function() {
|
|
4694
4701
|
var t = {
|
|
4695
4702
|
/***/
|
|
@@ -4697,7 +4704,7 @@ function ya() {
|
|
|
4697
4704
|
/***/
|
|
4698
4705
|
function(i, l, s) {
|
|
4699
4706
|
s.r(l);
|
|
4700
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4707
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4701
4708
|
u.push([i.id, ".no-margin-padding[data-v-3c430bce]{margin:0;padding:0}.margin-left-sm[data-v-3c430bce]{margin-left:8px}.assignment[data-v-3c430bce]{color:var(--xml-viewer-assignment-color)}.quote[data-v-3c430bce]{color:var(--xml-viewer-quote-color)}", ""]), l.default = u;
|
|
4702
4709
|
}
|
|
4703
4710
|
),
|
|
@@ -4706,7 +4713,7 @@ function ya() {
|
|
|
4706
4713
|
/***/
|
|
4707
4714
|
function(i, l, s) {
|
|
4708
4715
|
s.r(l);
|
|
4709
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4716
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4710
4717
|
u.push([i.id, ".attribute-name[data-v-17010745]{color:var(--xml-viewer-attribute-name-color)}", ""]), l.default = u;
|
|
4711
4718
|
}
|
|
4712
4719
|
),
|
|
@@ -4715,7 +4722,7 @@ function ya() {
|
|
|
4715
4722
|
/***/
|
|
4716
4723
|
function(i, l, s) {
|
|
4717
4724
|
s.r(l);
|
|
4718
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4725
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4719
4726
|
u.push([i.id, ".attribute-value[data-v-36c46cbc]{color:var(--xml-viewer-attribute-value-color);padding:0;margin:0}", ""]), l.default = u;
|
|
4720
4727
|
}
|
|
4721
4728
|
),
|
|
@@ -4724,7 +4731,7 @@ function ya() {
|
|
|
4724
4731
|
/***/
|
|
4725
4732
|
function(i, l, s) {
|
|
4726
4733
|
s.r(l);
|
|
4727
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4734
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4728
4735
|
u.push([i.id, ".content[data-v-0fce587a]{color:var(--xml-viewer-cdata-content-color)}.inline[data-v-0fce587a]{display:inline}.no-margin-padding[data-v-0fce587a]{margin:0;padding:0}", ""]), l.default = u;
|
|
4729
4736
|
}
|
|
4730
4737
|
),
|
|
@@ -4733,7 +4740,7 @@ function ya() {
|
|
|
4733
4740
|
/***/
|
|
4734
4741
|
function(i, l, s) {
|
|
4735
4742
|
s.r(l);
|
|
4736
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4743
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4737
4744
|
u.push([i.id, ".xml-element[data-v-d071a178]{white-space:nowrap;font-size:14px;font-family:Consolas,Menlo,Courier,monospace}.bracket[data-v-d071a178],.caret[data-v-d071a178],.dots[data-v-d071a178]{color:var(--xml-viewer-bracket-color)}.caret[data-v-d071a178]{fill:var(--xml-viewer-bracket-color)}.child-elements>div[data-v-d071a178]{margin-left:20px}.clickable[data-v-d071a178]{cursor:pointer}", ""]), l.default = u;
|
|
4738
4745
|
}
|
|
4739
4746
|
),
|
|
@@ -4742,7 +4749,7 @@ function ya() {
|
|
|
4742
4749
|
/***/
|
|
4743
4750
|
function(i, l, s) {
|
|
4744
4751
|
s.r(l);
|
|
4745
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4752
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4746
4753
|
u.push([i.id, ".content[data-v-75f773a5]{color:var(--xml-viewer-element-content-color)}", ""]), l.default = u;
|
|
4747
4754
|
}
|
|
4748
4755
|
),
|
|
@@ -4751,7 +4758,7 @@ function ya() {
|
|
|
4751
4758
|
/***/
|
|
4752
4759
|
function(i, l, s) {
|
|
4753
4760
|
s.r(l);
|
|
4754
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4761
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4755
4762
|
u.push([i.id, ".bracket[data-v-5a0ac6a5]{color:var(--xml-viewer-bracket-color)}.element-name[data-v-5a0ac6a5]{color:var(--xml-viewer-element-name-color)}", ""]), l.default = u;
|
|
4756
4763
|
}
|
|
4757
4764
|
),
|
|
@@ -4760,7 +4767,7 @@ function ya() {
|
|
|
4760
4767
|
/***/
|
|
4761
4768
|
function(i, l, s) {
|
|
4762
4769
|
s.r(l);
|
|
4763
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4770
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4764
4771
|
u.push([i.id, ".content[data-v-7bc574c6]{color:var(--xml-viewer-remark-content-color)}.inline[data-v-7bc574c6]{display:inline}.no-margin-padding[data-v-7bc574c6]{margin:0;padding:0}", ""]), l.default = u;
|
|
4765
4772
|
}
|
|
4766
4773
|
),
|
|
@@ -4769,7 +4776,7 @@ function ya() {
|
|
|
4769
4776
|
/***/
|
|
4770
4777
|
function(i, l, s) {
|
|
4771
4778
|
s.r(l);
|
|
4772
|
-
var o = s(246), c = /* @__PURE__ */ s.n(o),
|
|
4779
|
+
var o = s(246), c = /* @__PURE__ */ s.n(o), p = s(143), _ = /* @__PURE__ */ s.n(p), u = _()(c());
|
|
4773
4780
|
u.push([i.id, ":root{--xml-viewer-bracket-color:#111;--xml-viewer-assignment-color:#986801;--xml-viewer-quote-color:#50a14f;--xml-viewer-attribute-name-color:#986801;--xml-viewer-attribute-value-color:#50a14f;--xml-viewer-cdata-content-color:#50a14f;--xml-viewer-element-content-color:#383a42;--xml-viewer-element-name-color:#e45649;--xml-viewer-remark-content-color:#a0a1a7}.dark{--xml-viewer-bracket-color:#e1e4e8;--xml-viewer-assignment-color:#b392f0;--xml-viewer-quote-color:#9ecbff;--xml-viewer-attribute-name-color:#b392f0;--xml-viewer-attribute-value-color:#9ecbff;--xml-viewer-cdata-content-color:#9ecbff;--xml-viewer-element-content-color:#e1e4e8;--xml-viewer-element-name-color:#85e89d;--xml-viewer-remark-content-color:#6a737d}", ""]), l.default = u;
|
|
4774
4781
|
}
|
|
4775
4782
|
),
|
|
@@ -4781,20 +4788,20 @@ function ya() {
|
|
|
4781
4788
|
var s = [];
|
|
4782
4789
|
return s.toString = function() {
|
|
4783
4790
|
return this.map(function(c) {
|
|
4784
|
-
var
|
|
4785
|
-
return c[4] && (
|
|
4791
|
+
var p = "", _ = typeof c[5] < "u";
|
|
4792
|
+
return c[4] && (p += "@supports (".concat(c[4], ") {")), c[2] && (p += "@media ".concat(c[2], " {")), _ && (p += "@layer".concat(c[5].length > 0 ? " ".concat(c[5]) : "", " {")), p += l(c), _ && (p += "}"), c[2] && (p += "}"), c[4] && (p += "}"), p;
|
|
4786
4793
|
}).join("");
|
|
4787
|
-
}, s.i = function(c,
|
|
4794
|
+
}, s.i = function(c, p, _, u, d) {
|
|
4788
4795
|
typeof c == "string" && (c = [[null, c, void 0]]);
|
|
4789
|
-
var
|
|
4790
|
-
if (
|
|
4796
|
+
var E = {};
|
|
4797
|
+
if (_)
|
|
4791
4798
|
for (var f = 0; f < this.length; f++) {
|
|
4792
4799
|
var N = this[f][0];
|
|
4793
|
-
N != null && (
|
|
4800
|
+
N != null && (E[N] = !0);
|
|
4794
4801
|
}
|
|
4795
4802
|
for (var O = 0; O < c.length; O++) {
|
|
4796
4803
|
var y = [].concat(c[O]);
|
|
4797
|
-
|
|
4804
|
+
_ && E[y[0]] || (typeof d < "u" && (typeof y[5] > "u" || (y[1] = "@layer".concat(y[5].length > 0 ? " ".concat(y[5]) : "", " {").concat(y[1], "}")), y[5] = d), p && (y[2] && (y[1] = "@media ".concat(y[2], " {").concat(y[1], "}")), y[2] = p), u && (y[4] ? (y[1] = "@supports (".concat(y[4], ") {").concat(y[1], "}"), y[4] = u) : y[4] = "".concat(u)), s.push(y));
|
|
4798
4805
|
}
|
|
4799
4806
|
}, s;
|
|
4800
4807
|
};
|
|
@@ -4815,8 +4822,8 @@ function ya() {
|
|
|
4815
4822
|
function(i, l) {
|
|
4816
4823
|
l.A = (s, o) => {
|
|
4817
4824
|
const c = s.__vccOpts || s;
|
|
4818
|
-
for (const [
|
|
4819
|
-
c[
|
|
4825
|
+
for (const [p, _] of o)
|
|
4826
|
+
c[p] = _;
|
|
4820
4827
|
return c;
|
|
4821
4828
|
};
|
|
4822
4829
|
}
|
|
@@ -4924,23 +4931,23 @@ function ya() {
|
|
|
4924
4931
|
}
|
|
4925
4932
|
});
|
|
4926
4933
|
function o(m, S) {
|
|
4927
|
-
for (var
|
|
4934
|
+
for (var v = [], g = {}, T = 0; T < S.length; T++) {
|
|
4928
4935
|
var A = S[T], M = A[0], ee = A[1], q = A[2], Te = A[3], H = {
|
|
4929
4936
|
id: m + ":" + T,
|
|
4930
4937
|
css: ee,
|
|
4931
4938
|
media: q,
|
|
4932
4939
|
sourceMap: Te
|
|
4933
4940
|
};
|
|
4934
|
-
g[M] ? g[M].parts.push(H) :
|
|
4941
|
+
g[M] ? g[M].parts.push(H) : v.push(g[M] = { id: M, parts: [H] });
|
|
4935
4942
|
}
|
|
4936
|
-
return
|
|
4943
|
+
return v;
|
|
4937
4944
|
}
|
|
4938
4945
|
var c = typeof document < "u";
|
|
4939
4946
|
if (typeof DEBUG < "u" && DEBUG && !c)
|
|
4940
4947
|
throw new Error(
|
|
4941
4948
|
"vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
4942
4949
|
);
|
|
4943
|
-
var
|
|
4950
|
+
var p = {
|
|
4944
4951
|
/*
|
|
4945
4952
|
[id: number]: {
|
|
4946
4953
|
id: number,
|
|
@@ -4948,14 +4955,14 @@ function ya() {
|
|
|
4948
4955
|
parts: Array<(obj?: StyleObjectPart) => void>
|
|
4949
4956
|
}
|
|
4950
4957
|
*/
|
|
4951
|
-
},
|
|
4958
|
+
}, _ = c && (document.head || document.getElementsByTagName("head")[0]), u = null, d = 0, E = !1, f = function() {
|
|
4952
4959
|
}, N = null, O = "data-vue-ssr-id", y = typeof navigator < "u" && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
|
|
4953
|
-
function w(m, S,
|
|
4954
|
-
|
|
4960
|
+
function w(m, S, v, g) {
|
|
4961
|
+
E = v, N = g || {};
|
|
4955
4962
|
var T = o(m, S);
|
|
4956
4963
|
return se(T), function(M) {
|
|
4957
4964
|
for (var ee = [], q = 0; q < T.length; q++) {
|
|
4958
|
-
var Te = T[q], H =
|
|
4965
|
+
var Te = T[q], H = p[Te.id];
|
|
4959
4966
|
H.refs--, ee.push(H);
|
|
4960
4967
|
}
|
|
4961
4968
|
M ? (T = o(m, M), se(T)) : T = [];
|
|
@@ -4964,44 +4971,44 @@ function ya() {
|
|
|
4964
4971
|
if (H.refs === 0) {
|
|
4965
4972
|
for (var pe = 0; pe < H.parts.length; pe++)
|
|
4966
4973
|
H.parts[pe]();
|
|
4967
|
-
delete
|
|
4974
|
+
delete p[H.id];
|
|
4968
4975
|
}
|
|
4969
4976
|
}
|
|
4970
4977
|
};
|
|
4971
4978
|
}
|
|
4972
4979
|
function se(m) {
|
|
4973
4980
|
for (var S = 0; S < m.length; S++) {
|
|
4974
|
-
var
|
|
4981
|
+
var v = m[S], g = p[v.id];
|
|
4975
4982
|
if (g) {
|
|
4976
4983
|
g.refs++;
|
|
4977
4984
|
for (var T = 0; T < g.parts.length; T++)
|
|
4978
|
-
g.parts[T](
|
|
4979
|
-
for (; T <
|
|
4980
|
-
g.parts.push(
|
|
4981
|
-
g.parts.length >
|
|
4985
|
+
g.parts[T](v.parts[T]);
|
|
4986
|
+
for (; T < v.parts.length; T++)
|
|
4987
|
+
g.parts.push(re(v.parts[T]));
|
|
4988
|
+
g.parts.length > v.parts.length && (g.parts.length = v.parts.length);
|
|
4982
4989
|
} else {
|
|
4983
|
-
for (var A = [], T = 0; T <
|
|
4984
|
-
A.push(
|
|
4985
|
-
|
|
4990
|
+
for (var A = [], T = 0; T < v.parts.length; T++)
|
|
4991
|
+
A.push(re(v.parts[T]));
|
|
4992
|
+
p[v.id] = { id: v.id, refs: 1, parts: A };
|
|
4986
4993
|
}
|
|
4987
4994
|
}
|
|
4988
4995
|
}
|
|
4989
|
-
function
|
|
4996
|
+
function F() {
|
|
4990
4997
|
var m = document.createElement("style");
|
|
4991
|
-
return m.type = "text/css",
|
|
4998
|
+
return m.type = "text/css", _.appendChild(m), m;
|
|
4992
4999
|
}
|
|
4993
|
-
function
|
|
4994
|
-
var S,
|
|
5000
|
+
function re(m) {
|
|
5001
|
+
var S, v, g = document.querySelector("style[" + O + '~="' + m.id + '"]');
|
|
4995
5002
|
if (g) {
|
|
4996
|
-
if (
|
|
5003
|
+
if (E)
|
|
4997
5004
|
return f;
|
|
4998
5005
|
g.parentNode.removeChild(g);
|
|
4999
5006
|
}
|
|
5000
5007
|
if (y) {
|
|
5001
5008
|
var T = d++;
|
|
5002
|
-
g = u || (u =
|
|
5009
|
+
g = u || (u = F()), S = b.bind(null, g, T, !1), v = b.bind(null, g, T, !0);
|
|
5003
5010
|
} else
|
|
5004
|
-
g =
|
|
5011
|
+
g = F(), S = I.bind(null, g), v = function() {
|
|
5005
5012
|
g.parentNode.removeChild(g);
|
|
5006
5013
|
};
|
|
5007
5014
|
return S(m), function(M) {
|
|
@@ -5010,18 +5017,18 @@ function ya() {
|
|
|
5010
5017
|
return;
|
|
5011
5018
|
S(m = M);
|
|
5012
5019
|
} else
|
|
5013
|
-
|
|
5020
|
+
v();
|
|
5014
5021
|
};
|
|
5015
5022
|
}
|
|
5016
5023
|
var X = /* @__PURE__ */ function() {
|
|
5017
5024
|
var m = [];
|
|
5018
|
-
return function(S,
|
|
5019
|
-
return m[S] =
|
|
5025
|
+
return function(S, v) {
|
|
5026
|
+
return m[S] = v, m.filter(Boolean).join(`
|
|
5020
5027
|
`);
|
|
5021
5028
|
};
|
|
5022
5029
|
}();
|
|
5023
|
-
function b(m, S,
|
|
5024
|
-
var T =
|
|
5030
|
+
function b(m, S, v, g) {
|
|
5031
|
+
var T = v ? "" : g.css;
|
|
5025
5032
|
if (m.styleSheet)
|
|
5026
5033
|
m.styleSheet.cssText = X(S, T);
|
|
5027
5034
|
else {
|
|
@@ -5030,15 +5037,15 @@ function ya() {
|
|
|
5030
5037
|
}
|
|
5031
5038
|
}
|
|
5032
5039
|
function I(m, S) {
|
|
5033
|
-
var
|
|
5034
|
-
if (g && m.setAttribute("media", g), N.ssrId && m.setAttribute(O, S.id), T && (
|
|
5035
|
-
/*# sourceURL=` + T.sources[0] + " */",
|
|
5040
|
+
var v = S.css, g = S.media, T = S.sourceMap;
|
|
5041
|
+
if (g && m.setAttribute("media", g), N.ssrId && m.setAttribute(O, S.id), T && (v += `
|
|
5042
|
+
/*# sourceURL=` + T.sources[0] + " */", v += `
|
|
5036
5043
|
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(T)))) + " */"), m.styleSheet)
|
|
5037
|
-
m.styleSheet.cssText =
|
|
5044
|
+
m.styleSheet.cssText = v;
|
|
5038
5045
|
else {
|
|
5039
5046
|
for (; m.firstChild; )
|
|
5040
5047
|
m.removeChild(m.firstChild);
|
|
5041
|
-
m.appendChild(document.createTextNode(
|
|
5048
|
+
m.appendChild(document.createTextNode(v));
|
|
5042
5049
|
}
|
|
5043
5050
|
}
|
|
5044
5051
|
}
|
|
@@ -5107,16 +5114,16 @@ function ya() {
|
|
|
5107
5114
|
r(417);
|
|
5108
5115
|
var s = Ta();
|
|
5109
5116
|
function o(h, L, K, B, G, te) {
|
|
5110
|
-
const
|
|
5117
|
+
const ie = (0, s.resolveComponent)("XmlElement");
|
|
5111
5118
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", {
|
|
5112
5119
|
class: (0, s.normalizeClass)(h.theme)
|
|
5113
|
-
}, [(0, s.createVNode)(
|
|
5120
|
+
}, [(0, s.createVNode)(ie, {
|
|
5114
5121
|
node: h.rootNode
|
|
5115
5122
|
}, null, 8, ["node"])], 2);
|
|
5116
5123
|
}
|
|
5117
|
-
const c = (h) => ((0, s.pushScopeId)("data-v-d071a178"), h = h(), (0, s.popScopeId)(), h),
|
|
5124
|
+
const c = (h) => ((0, s.pushScopeId)("data-v-d071a178"), h = h(), (0, s.popScopeId)(), h), p = {
|
|
5118
5125
|
class: "xml-element"
|
|
5119
|
-
},
|
|
5126
|
+
}, _ = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5120
5127
|
class: "bracket"
|
|
5121
5128
|
}, "<", -1)), u = {
|
|
5122
5129
|
key: 2,
|
|
@@ -5124,7 +5131,7 @@ function ya() {
|
|
|
5124
5131
|
}, d = {
|
|
5125
5132
|
key: 3,
|
|
5126
5133
|
class: "dots"
|
|
5127
|
-
},
|
|
5134
|
+
}, E = /* @__PURE__ */ c(() => /* @__PURE__ */ (0, s.createElementVNode)("span", {
|
|
5128
5135
|
class: "bracket"
|
|
5129
5136
|
}, ">", -1)), f = {
|
|
5130
5137
|
key: 0,
|
|
@@ -5137,28 +5144,28 @@ function ya() {
|
|
|
5137
5144
|
class: "bracket"
|
|
5138
5145
|
}, ">", -1));
|
|
5139
5146
|
function w(h, L, K, B, G, te) {
|
|
5140
|
-
const
|
|
5141
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("div",
|
|
5147
|
+
const ie = (0, s.resolveComponent)("CaretDown"), ye = (0, s.resolveComponent)("CaretRight"), $e = (0, s.resolveComponent)("XmlElementName"), qt = (0, s.resolveComponent)("XmlAttributeLine"), Fn = (0, s.resolveComponent)("XmlElement", !0), me = (0, s.resolveComponent)("XmlElementContent"), li = (0, s.resolveComponent)("XmlCDataSection"), ci = (0, s.resolveComponent)("XmlRemark");
|
|
5148
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("div", p, [(0, s.createElementVNode)("div", null, [h.selfClosing ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)(s.Fragment, {
|
|
5142
5149
|
key: 0
|
|
5143
5150
|
}, [h.collapsed ? ((0, s.openBlock)(), (0, s.createBlock)(ye, {
|
|
5144
5151
|
key: 1,
|
|
5145
5152
|
class: "caret",
|
|
5146
5153
|
onClick: h.toggleCollapsed
|
|
5147
|
-
}, null, 8, ["onClick"])) : ((0, s.openBlock)(), (0, s.createBlock)(
|
|
5154
|
+
}, null, 8, ["onClick"])) : ((0, s.openBlock)(), (0, s.createBlock)(ie, {
|
|
5148
5155
|
key: 0,
|
|
5149
5156
|
class: "caret",
|
|
5150
5157
|
onClick: h.toggleCollapsed
|
|
5151
|
-
}, null, 8, ["onClick"]))], 64)),
|
|
5158
|
+
}, null, 8, ["onClick"]))], 64)), _, (0, s.createVNode)($e, {
|
|
5152
5159
|
class: "clickable",
|
|
5153
5160
|
name: h.name,
|
|
5154
5161
|
onClick: h.toggleCollapsed
|
|
5155
5162
|
}, null, 8, ["name", "onClick"]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createBlock)(qt, {
|
|
5156
5163
|
key: 1,
|
|
5157
5164
|
attributes: h.attributes
|
|
5158
|
-
}, 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),
|
|
5165
|
+
}, null, 8, ["attributes"])), h.selfClosing && !h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", u, " /")) : (0, s.createCommentVNode)("", !0), h.selfClosing && h.collapsed ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", d, " ...")) : (0, s.createCommentVNode)("", !0), E]), h.collapsed ? (0, s.createCommentVNode)("", !0) : ((0, s.openBlock)(), (0, s.createElementBlock)("div", f, [(0, s.createElementVNode)("div", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childElements, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(Fn, {
|
|
5159
5166
|
key: `e${Pe}`,
|
|
5160
5167
|
node: Me
|
|
5161
|
-
}, 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)(
|
|
5168
|
+
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.childContents, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(me, {
|
|
5162
5169
|
key: `t${Pe}`,
|
|
5163
5170
|
node: Me
|
|
5164
5171
|
}, null, 8, ["node"]))), 128)), ((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.cdataSections, (Me, Pe) => ((0, s.openBlock)(), (0, s.createBlock)(li, {
|
|
@@ -5176,13 +5183,13 @@ function ya() {
|
|
|
5176
5183
|
key: 0,
|
|
5177
5184
|
class: "bracket"
|
|
5178
5185
|
};
|
|
5179
|
-
function
|
|
5186
|
+
function F(h, L, K, B, G, te) {
|
|
5180
5187
|
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [h.closing ? ((0, s.openBlock)(), (0, s.createElementBlock)("span", se, "/")) : (0, s.createCommentVNode)("", !0), (0, s.createElementVNode)("span", {
|
|
5181
|
-
onClick: L[0] || (L[0] = (...
|
|
5188
|
+
onClick: L[0] || (L[0] = (...ie) => h.onClick && h.onClick(...ie)),
|
|
5182
5189
|
class: "element-name"
|
|
5183
5190
|
}, (0, s.toDisplayString)(h.name), 1)]);
|
|
5184
5191
|
}
|
|
5185
|
-
var
|
|
5192
|
+
var re = (0, s.defineComponent)({
|
|
5186
5193
|
props: {
|
|
5187
5194
|
name: String,
|
|
5188
5195
|
closing: Boolean
|
|
@@ -5199,14 +5206,14 @@ function ya() {
|
|
|
5199
5206
|
emits: ["click"]
|
|
5200
5207
|
});
|
|
5201
5208
|
r(643);
|
|
5202
|
-
var X = r(708), I = /* @__PURE__ */ (0, X.A)(
|
|
5209
|
+
var X = r(708), I = /* @__PURE__ */ (0, X.A)(re, [["render", F], ["__scopeId", "data-v-5a0ac6a5"]]);
|
|
5203
5210
|
const m = {
|
|
5204
5211
|
class: "content"
|
|
5205
5212
|
};
|
|
5206
5213
|
function S(h, L, K, B, G, te) {
|
|
5207
5214
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", m, (0, s.toDisplayString)(h.content), 1)]);
|
|
5208
5215
|
}
|
|
5209
|
-
var
|
|
5216
|
+
var v = (0, s.defineComponent)({
|
|
5210
5217
|
props: {
|
|
5211
5218
|
node: Text
|
|
5212
5219
|
},
|
|
@@ -5217,10 +5224,10 @@ function ya() {
|
|
|
5217
5224
|
}
|
|
5218
5225
|
});
|
|
5219
5226
|
r(174);
|
|
5220
|
-
var T = /* @__PURE__ */ (0, X.A)(
|
|
5227
|
+
var T = /* @__PURE__ */ (0, X.A)(v, [["render", S], ["__scopeId", "data-v-75f773a5"]]);
|
|
5221
5228
|
function A(h, L, K, B, G, te) {
|
|
5222
|
-
const
|
|
5223
|
-
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)(
|
|
5229
|
+
const ie = (0, s.resolveComponent)("XmlAttribute");
|
|
5230
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [((0, s.openBlock)(!0), (0, s.createElementBlock)(s.Fragment, null, (0, s.renderList)(h.attributes, (ye, $e) => ((0, s.openBlock)(), (0, s.createBlock)(ie, {
|
|
5224
5231
|
key: $e,
|
|
5225
5232
|
attribute: ye
|
|
5226
5233
|
}, null, 8, ["attribute"]))), 128))]);
|
|
@@ -5233,8 +5240,8 @@ function ya() {
|
|
|
5233
5240
|
class: "no-margin-padding quote"
|
|
5234
5241
|
}, '"', -1));
|
|
5235
5242
|
function H(h, L, K, B, G, te) {
|
|
5236
|
-
const
|
|
5237
|
-
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createVNode)(
|
|
5243
|
+
const ie = (0, s.resolveComponent)("XmlAttributeName"), ye = (0, s.resolveComponent)("XmlAttributeValue");
|
|
5244
|
+
return (0, s.openBlock)(), (0, s.createElementBlock)("span", null, [(0, s.createVNode)(ie, {
|
|
5238
5245
|
name: h.name,
|
|
5239
5246
|
class: "margin-left-sm"
|
|
5240
5247
|
}, null, 8, ["name"]), ee, q, (0, s.createVNode)(ye, {
|
|
@@ -5294,11 +5301,11 @@ function ya() {
|
|
|
5294
5301
|
attributes: Array
|
|
5295
5302
|
}
|
|
5296
5303
|
}), Lr = /* @__PURE__ */ (0, X.A)(Pr, [["render", A]]);
|
|
5297
|
-
const
|
|
5304
|
+
const xn = (h) => ((0, s.pushScopeId)("data-v-0fce587a"), h = h(), (0, s.popScopeId)(), h), Vr = {
|
|
5298
5305
|
class: "content"
|
|
5299
|
-
}, kr = /* @__PURE__ */
|
|
5306
|
+
}, kr = /* @__PURE__ */ xn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "<![CDATA[", -1)), wr = {
|
|
5300
5307
|
class: "inline no-margin-padding"
|
|
5301
|
-
}, Xr = /* @__PURE__ */
|
|
5308
|
+
}, Xr = /* @__PURE__ */ xn(() => /* @__PURE__ */ (0, s.createElementVNode)("span", null, "]]>", -1));
|
|
5302
5309
|
function Br(h, L, K, B, G, te) {
|
|
5303
5310
|
return (0, s.openBlock)(), (0, s.createElementBlock)("div", null, [(0, s.createElementVNode)("div", Vr, [kr, (0, s.createElementVNode)("pre", wr, (0, s.toDisplayString)(h.content), 1), Xr])]);
|
|
5304
5311
|
}
|
|
@@ -5376,13 +5383,13 @@ function ya() {
|
|
|
5376
5383
|
node: Element
|
|
5377
5384
|
},
|
|
5378
5385
|
setup(h) {
|
|
5379
|
-
const L = (0, s.ref)(!1), K = (0, s.computed)(() => h.node.nodeName), B = (0, s.computed)(() => Array.from(h.node.childNodes)), G = (0, s.computed)(() => B.value && B.value.filter((
|
|
5386
|
+
const L = (0, s.ref)(!1), K = (0, s.computed)(() => h.node.nodeName), B = (0, s.computed)(() => Array.from(h.node.childNodes)), G = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 1)), te = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 3)), ie = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 4)), ye = (0, s.computed)(() => B.value && B.value.filter((me) => me.nodeType === 8)), $e = (0, s.computed)(() => h.node.attributes && Array.from(h.node.attributes) || []), qt = !G.value.length && !te.value.length && !ie.value.length && !ye.value.length;
|
|
5380
5387
|
return {
|
|
5381
5388
|
name: K,
|
|
5382
5389
|
childElements: G,
|
|
5383
5390
|
childContents: te,
|
|
5384
5391
|
attributes: $e,
|
|
5385
|
-
cdataSections:
|
|
5392
|
+
cdataSections: ie,
|
|
5386
5393
|
remarks: ye,
|
|
5387
5394
|
selfClosing: qt,
|
|
5388
5395
|
collapsed: L,
|
|
@@ -5406,8 +5413,8 @@ function ya() {
|
|
|
5406
5413
|
},
|
|
5407
5414
|
setup(h) {
|
|
5408
5415
|
const L = new DOMParser(), K = (0, s.ref)(), B = (G) => {
|
|
5409
|
-
const
|
|
5410
|
-
K.value =
|
|
5416
|
+
const ie = L.parseFromString(G, "text/xml").childNodes[0];
|
|
5417
|
+
K.value = ie;
|
|
5411
5418
|
};
|
|
5412
5419
|
return (0, s.watch)(() => h.xml, (G) => {
|
|
5413
5420
|
B(G);
|