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