@vue/compiler-dom 3.5.14 → 3.5.16
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/compiler-dom.cjs.js +4 -1
- package/dist/compiler-dom.cjs.prod.js +1 -1
- package/dist/compiler-dom.esm-browser.js +7 -3
- package/dist/compiler-dom.esm-browser.prod.js +2 -2
- package/dist/compiler-dom.esm-bundler.js +4 -1
- package/dist/compiler-dom.global.js +7 -3
- package/dist/compiler-dom.global.prod.js +2 -2
- package/package.json +3 -3
package/dist/compiler-dom.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -694,6 +694,9 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
694
694
|
};
|
|
695
695
|
|
|
696
696
|
function isValidHTMLNesting(parent, child) {
|
|
697
|
+
if (parent === "template") {
|
|
698
|
+
return true;
|
|
699
|
+
}
|
|
697
700
|
if (parent in onlyValidChildren) {
|
|
698
701
|
return onlyValidChildren[parent].has(child);
|
|
699
702
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5092,9 +5092,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5092
5092
|
hasDynamicKeys = true;
|
|
5093
5093
|
if (exp) {
|
|
5094
5094
|
if (isVBind) {
|
|
5095
|
-
pushRefVForMarker();
|
|
5096
|
-
pushMergeArg();
|
|
5097
5095
|
{
|
|
5096
|
+
pushMergeArg();
|
|
5098
5097
|
{
|
|
5099
5098
|
const hasOverridableKeys = mergeArgs.some((arg2) => {
|
|
5100
5099
|
if (arg2.type === 15) {
|
|
@@ -5124,6 +5123,8 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
5124
5123
|
continue;
|
|
5125
5124
|
}
|
|
5126
5125
|
}
|
|
5126
|
+
pushRefVForMarker();
|
|
5127
|
+
pushMergeArg();
|
|
5127
5128
|
mergeArgs.push(exp);
|
|
5128
5129
|
} else {
|
|
5129
5130
|
pushMergeArg({
|
|
@@ -6395,6 +6396,9 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
6395
6396
|
};
|
|
6396
6397
|
|
|
6397
6398
|
function isValidHTMLNesting(parent, child) {
|
|
6399
|
+
if (parent === "template") {
|
|
6400
|
+
return true;
|
|
6401
|
+
}
|
|
6398
6402
|
if (parent in onlyValidChildren) {
|
|
6399
6403
|
return onlyValidChildren[parent].has(child);
|
|
6400
6404
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/let e;function t(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let n={},i=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),o=Object.assign,a=Array.isArray,l=e=>"string"==typeof e,c=e=>"symbol"==typeof e,h=e=>null!==e&&"object"==typeof e,d=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),p=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),u=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},f=/-(\w)/g,E=u(e=>e.replace(f,(e,t)=>t?t.toUpperCase():"")),_=u(e=>e.charAt(0).toUpperCase()+e.slice(1)),m=u(e=>e?`on${_(e)}`:"");function S(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let i=e.split(/(\r?\n)/),r=i.filter((e,t)=>t%2==1);i=i.filter((e,t)=>t%2==0);let s=0,o=[];for(let e=0;e<i.length;e++)if((s+=i[e].length+(r[e]&&r[e].length||0))>=t){for(let a=e-2;a<=e+2||n>s;a++){if(a<0||a>=i.length)continue;let l=a+1;o.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${i[a]}`);let c=i[a].length,h=r[a]&&r[a].length||0;if(a===e){let e=t-(s-(c+h)),i=Math.max(1,n>s?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(i))}else if(a>e){if(n>s){let e=Math.max(Math.min(n-s,c),1);o.push(" | "+"^".repeat(e))}s+=c+h}}break}return o.join(`
|
|
@@ -11,4 +11,4 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
11
11
|
`,-1),f.hoists.length)){let e=[D,V,k,X,w].filter(e=>y.includes(e)).map(n_).join(", ");S(`const { ${e} } = _Vue
|
|
12
12
|
`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:i}=t;i();for(let r=0;r<e.length;r++){let s=e[r];s&&(n(`const _hoisted_${r+1} = `),nN(s,t),i())}t.pure=!1})(f.hoists,E),g(),S("return ");let O=(h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(r(`function ${h?"ssrRender":"render"}(${O}) {`),o(),u&&(r("with (_ctx) {"),o(),p&&(r(`const { ${d.map(n_).join(", ")} } = _Vue
|
|
13
13
|
`,-1),l())),e.components.length&&(nS(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nS(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nS(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
|
|
14
|
-
`,0),l()),h||r("return "),e.codegenNode?nN(e.codegenNode,n):r("null"),u&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nS(e,t,{helper:n,push:i,newline:r,isTS:s}){let o=n("filter"===t?$:"component"===t?U:B);for(let n=0;n<e.length;n++){let a=e[n],l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${tD(a,t)} = ${o}(${JSON.stringify(a)}${l?", true":""})${s?"!":""}`),n<e.length-1&&r()}}function ng(e,t){let n=e.length>3;t.push("["),n&&t.indent(),nT(e,t,n),n&&t.deindent(),t.push("]")}function nT(e,t,n=!1,i=!0){let{push:r,newline:s}=t;for(let o=0;o<e.length;o++){let c=e[o];l(c)?r(c,-3):a(c)?ng(c,t):nN(c,t),o<e.length-1&&(n?(i&&r(","),s()):i&&r(", "))}}function nN(e,t){if(l(e))return void t.push(e,-3);if(c(e))return void t.push(t.helper(e));switch(e.type){case 1:case 9:case 11:case 12:nN(e.codegenNode,t);break;case 2:n=e,t.push(JSON.stringify(n.content),-3,n);break;case 4:nI(e,t);break;case 5:var n,i,r,s=e,o=t;let{push:h,helper:d,pure:p}=o;p&&h(nE),h(`${d(j)}(`),nN(s.content,o),h(")");break;case 8:ny(e,t);break;case 3:var u=e,f=t;let{push:E,helper:_,pure:m}=f;m&&E(nE),E(`${_(k)}(${JSON.stringify(u.content)})`,-3,u);break;case 13:let S;var g=e,T=t;let{push:N,helper:I,pure:y}=T,{tag:O,props:A,children:C,patchFlag:b,dynamicProps:v,directives:R,isBlock:x,disableTracking:M,isComponent:P}=g;b&&(S=String(b)),R&&N(I(H)+"("),x&&N(`(${I(L)}(${M?"true":""}), `),y&&N(nE),N(I(x?eX(T.inSSR,P):ek(T.inSSR,P))+"(",-2,g),nT(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([O,A,C,S,v]),T),N(")"),x&&N(")"),R&&(N(", "),nN(R,T),N(")"));break;case 14:var D=e,V=t;let{push:X,helper:w,pure:U}=V,F=l(D.callee)?D.callee:w(D.callee);U&&X(nE),X(F+"(",-2,D),nT(D.arguments,V),X(")");break;case 15:!function(e,t){let{push:n,indent:i,deindent:r,newline:s}=t,{properties:o}=e;if(!o.length)return n("{}",-2,e);let a=o.length>1;n(a?"{":"{ "),a&&i();for(let e=0;e<o.length;e++){let{key:i,value:r}=o[e],{push:a}=t;8===i.type?(a("["),ny(i,t),a("]")):i.isStatic?a(tl(i.content)?i.content:JSON.stringify(i.content),-2,i):a(`[${i.content}]`,-3,i),n(": "),nN(r,t),e<o.length-1&&(n(","),s())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:i=e,r=t,ng(i.elements,r);break;case 18:var B=e,$=t;let{push:G,indent:q,deindent:J}=$,{params:W,returns:K,body:Y,newline:Q,isSlot:z}=B;z&&G(`_${ed[eo]}(`),G("(",-2,B),a(W)?nT(W,$):W&&nN(W,$),G(") => "),(Q||Y)&&(G("{"),q()),K?(Q&&G("return "),a(K)?ng(K,$):nN(K,$)):Y&&nN(Y,$),(Q||Y)&&(J(),G("}")),z&&(B.isNonScopedSlot&&G(", undefined, true"),G(")"));break;case 19:var Z=e,ee=t;let{test:et,consequent:en,alternate:er,newline:es}=Z,{push:ea,indent:el,deindent:ec,newline:eh}=ee;if(4===et.type){let e=!tl(et.content);e&&ea("("),nI(et,ee),e&&ea(")")}else ea("("),nN(et,ee),ea(")");es&&el(),ee.indentLevel++,es||ea(" "),ea("? "),nN(en,ee),ee.indentLevel--,es&&eh(),es||ea(" "),ea(": ");let ep=19===er.type;!ep&&ee.indentLevel++,nN(er,ee),!ep&&ee.indentLevel--,es&&ec(!0);break;case 20:var eu=e,ef=t;let{push:eE,helper:e_,indent:em,deindent:eS,newline:eg}=ef,{needPauseTracking:eT,needArraySpread:eN}=eu;eN&&eE("[...("),eE(`_cache[${eu.index}] || (`),eT&&(em(),eE(`${e_(ei)}(-1`),eu.inVOnce&&eE(", true"),eE("),"),eg(),eE("(")),eE(`_cache[${eu.index}] = `),nN(eu.value,ef),eT&&(eE(`).cacheIndex = ${eu.index},`),eg(),eE(`${e_(ei)}(1),`),eg(),eE(`_cache[${eu.index}]`),eS()),eE(")"),eN&&eE(")]");break;case 21:nT(e.body,t,!0,!1)}}function nI(e,t){let{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function ny(e,t){for(let n=0;n<e.children.length;n++){let i=e.children[n];l(i)?t.push(i,-3):nN(i,t)}}let nO=(e,t)=>{if(5===e.type)e.content=nA(e.content,t);else if(1===e.type){let n=ty(e,"memo");for(let i=0;i<e.props.length;i++){let r=e.props[i];if(7===r.type&&"for"!==r.name){let e=r.exp,i=r.arg;!e||4!==e.type||"on"===r.name&&i||n&&i&&4===i.type&&"key"===i.content||(r.exp=nA(e,t,"slot"===r.name)),i&&4===i.type&&!i.isStatic&&(r.arg=nA(i,t))}}}};function nA(e,t,n=!1,i=!1,r=Object.create(t.identifiers)){return e}function nC(e){return l(e)?e:4===e.type?e.content:e.children.map(nC).join("")}let nb=nf(/^(if|else|else-if)$/,(e,t,n)=>nv(e,t,n,(e,t,i)=>{let r=n.parent.children,s=r.indexOf(e),o=0;for(;s-- >=0;){let e=r[s];e&&9===e.type&&(o+=e.branches.length)}return()=>{i?e.codegenNode=nx(t,o,n):function(e){for(;;)if(19===e.type)if(19!==e.alternate.type)return e;else e=e.alternate;else 20===e.type&&(e=e.value)}(e.codegenNode).alternate=nx(t,o+e.branches.length-1,n)}}));function nv(e,t,n,i){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){let i=t.exp?t.exp.loc:e.loc;n.onError(e1(28,t.loc)),t.exp=ey("true",!1,i)}if("if"===t.name){var r;let s=nR(e,t),o={type:9,loc:nt((r=e.loc).start.offset,r.end.offset),branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{let r=n.parent.children,s=r.indexOf(e);for(;s-- >=-1;){let o=r[s];if(o&&3===o.type||o&&2===o.type&&!o.content.trim().length){n.removeNode(o);continue}if(o&&9===o.type){"else-if"===t.name&&void 0===o.branches[o.branches.length-1].condition&&n.onError(e1(30,e.loc)),n.removeNode();let r=nR(e,t);o.branches.push(r);let s=i&&i(o,r,!1);nu(r,n),s&&s(),n.currentNode=null}else n.onError(e1(30,e.loc));break}}}function nR(e,t){let n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!ty(e,"for")?e.children:[e],userKey:tO(e,"key"),isTemplateIf:n}}function nx(e,t,n){return e.condition?ev(e.condition,nL(e,t,n),eC(n.helper(k),['""',"true"])):nL(e,t,n)}function nL(e,t,n){let{helper:i}=n,r=eI("key",ey(`${t}`,!1,em,2)),{children:s}=e,o=s[0];if(1!==s.length||1!==o.type)if(1!==s.length||11!==o.type)return eg(n,i(C),eN([r]),s,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode;return tM(e,r,n),e}{let e=o.codegenNode,t=tk(e);return 13===t.type&&ew(t,n),tM(t,r,n),e}}let nM=(e,t,n)=>{let{modifiers:i,loc:r}=e,s=e.arg,{exp:o}=e;if(o&&4===o.type&&!o.content.trim()&&(o=void 0),!o){if(4!==s.type||!s.isStatic)return n.onError(e1(52,s.loc)),{props:[eI(s,ey("",!0,r))]};nP(e),o=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),i.some(e=>"camel"===e.content)&&(4===s.type?s.isStatic?s.content=E(s.content):s.content=`${n.helperString(ee)}(${s.content})`:(s.children.unshift(`${n.helperString(ee)}(`),s.children.push(")"))),!n.inSSR&&(i.some(e=>"prop"===e.content)&&nD(s,"."),i.some(e=>"attr"===e.content)&&nD(s,"^")),{props:[eI(s,o)]}},nP=(e,t)=>{let n=e.arg;e.exp=ey(E(n.content),!1,n.loc)},nD=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},nV=nf("for",(e,t,n)=>{let{helper:i,removeHelper:r}=n;return nk(e,t,n,t=>{let s=eC(i(G),[t.source]),o=tR(e),a=ty(e,"memo"),l=tO(e,"key",!1,!0);l&&7===l.type&&!l.exp&&nP(l);let c=l&&(6===l.type?l.value?ey(l.value.content,!0):void 0:l.exp),h=l&&c?eI("key",c):null,d=4===t.source.type&&t.source.constType>0,p=d?64:l?128:256;return t.codegenNode=eg(n,i(C),void 0,s,p,void 0,void 0,!0,!d,!1,e.loc),()=>{let l,{children:p}=t,u=1!==p.length||1!==p[0].type,f=tx(e)?e:o&&1===e.children.length&&tx(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,o&&h&&tM(l,h,n)):u?l=eg(n,i(C),h?eN([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=p[0].codegenNode,o&&h&&tM(l,h,n),!d!==l.isBlock&&(l.isBlock?(r(L),r(eX(n.inSSR,l.isComponent))):r(ek(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(i(L),i(eX(n.inSSR,l.isComponent))):i(ek(n.inSSR,l.isComponent))),a){let e=eb(nw(t.parseResult,[ey("_cached")]));e.body=ex([eA(["const _memo = (",a.exp,")"]),eA(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(eh)}(_cached, _memo)) return _cached`]),eA(["const _item = ",l]),ey("_item.memo = _memo"),ey("return _item")]),s.arguments.push(e,ey("_cache"),ey(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(eb(nw(t.parseResult),l,!0))}})});function nk(e,t,n,i){if(!t.exp)return void n.onError(e1(31,t.loc));let r=t.forParseResult;if(!r)return void n.onError(e1(32,t.loc));nX(r);let{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:h,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:h,objectIndexAlias:d,parseResult:r,children:tR(e)?e.children:[e]};n.replaceNode(p),a.vFor++;let u=i&&i(p);return()=>{a.vFor--,u&&u()}}function nX(e,t){e.finalized||(e.finalized=!0)}function nw({value:e,key:t,index:n},i=[]){var r=[e,t,n,...i];let s=r.length;for(;s--&&!r[s];);return r.slice(0,s+1).map((e,t)=>e||ey("_".repeat(t+1),!1))}let nU=ey("undefined",!1),nF=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let n=ty(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},nB=(e,t)=>{let n;if(tR(e)&&e.props.some(tv)&&(n=ty(e,"for"))){let e=n.forParseResult;if(e){nX(e);let{value:n,key:i,index:r}=e,{addIdentifiers:s,removeIdentifiers:o}=t;return n&&s(n),i&&s(i),r&&s(r),()=>{n&&o(n),i&&o(i),r&&o(r)}}}},n$=(e,t,n,i)=>eb(e,n,!1,!0,n.length?n[0].loc:i);function nH(e,t,n=n$){t.helper(eo);let{children:i,loc:r}=e,s=[],o=[],a=t.scopes.vSlot>0||t.scopes.vFor>0,l=ty(e,"slot",!0);if(l){let{arg:e,exp:t}=l;e&&!ts(e)&&(a=!0),s.push(eI(e||ey("default",!0),n(t,void 0,i,r)))}let c=!1,h=!1,d=[],p=new Set,u=0;for(let e=0;e<i.length;e++){let r,f,E,_,m=i[e];if(!tR(m)||!(r=ty(m,"slot",!0))){3!==m.type&&d.push(m);continue}if(l){t.onError(e1(37,r.loc));break}c=!0;let{children:S,loc:g}=m,{arg:T=ey("default",!0),exp:N,loc:I}=r;ts(T)?f=T?T.content:"default":a=!0;let y=ty(m,"for"),O=n(N,y,S,g);if(E=ty(m,"if"))a=!0,o.push(ev(E.exp,nG(T,O,u++),nU));else if(_=ty(m,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&3===(n=i[r]).type;);if(n&&tR(n)&&ty(n,/^(else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=_.exp?ev(_.exp,nG(T,O,u++),nU):nG(T,O,u++)}else t.onError(e1(30,_.loc))}else if(y){a=!0;let e=y.forParseResult;e?(nX(e),o.push(eC(t.helper(G),[e.source,eb(nw(e),nG(T,O),!0)]))):t.onError(e1(32,y.loc))}else{if(f){if(p.has(f)){t.onError(e1(38,I));continue}p.add(f),"default"===f&&(h=!0)}s.push(eI(T,O))}}if(!l){let e=(e,i)=>{let s=n(e,void 0,i,r);return t.compatConfig&&(s.isNonScopedSlot=!0),eI("default",s)};c?d.length&&d.some(e=>(function e(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():e(t.content))})(e))&&(h?t.onError(e1(39,d[0].loc)):s.push(e(void 0,d))):s.push(e(void 0,i))}let f=a?2:!function e(t){for(let n=0;n<t.length;n++){let i=t[n];switch(i.type){case 1:if(2===i.tagType||e(i.children))return!0;break;case 9:if(e(i.branches))return!0;break;case 10:case 11:if(e(i.children))return!0}}return!1}(e.children)?1:3,E=eN(s.concat(eI("_",ey(f+"",!1))),r);return o.length&&(E=eC(t.helper(J),[E,eT(o)])),{slots:E,hasDynamicSlots:a}}function nG(e,t,n){let i=[eI("name",e),eI("fn",t)];return null!=n&&i.push(eI("key",ey(String(n),!0))),eN(i)}let nq=new WeakMap,nJ=(e,t)=>function(){let n,i,r,s,o;if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let{tag:a,props:l}=e,c=1===e.tagType,d=c?nj(e,t):`"${a}"`,p=h(d)&&d.callee===F,u=0,f=p||d===b||d===v||!c&&("svg"===a||"foreignObject"===a||"math"===a);if(l.length>0){let i=nW(e,t,void 0,c,p);n=i.props,u=i.patchFlag,s=i.dynamicPropNames;let r=i.directives;o=r&&r.length?eT(r.map(e=>nY(e,t))):void 0,i.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(d===R&&(f=!0,u|=1024),c&&d!==b&&d!==R){let{slots:n,hasDynamicSlots:r}=nH(e,t);i=n,r&&(u|=1024)}else if(1===e.children.length&&d!==b){let n=e.children[0],r=n.type,s=5===r||8===r;s&&0===na(n,t)&&(u|=1),i=s||2===r?n:e.children}else i=e.children;s&&s.length&&(r=function(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}(s)),e.codegenNode=eg(t,d,n,i,0===u?void 0:u,r,o,!!f,!1,c,e.loc)};function nj(e,t,n=!1){let{tag:i}=e,r=nQ(i),s=tO(e,"is",!1,!0);if(s)if(r||eK("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&ey(s.value.content,!0):(e=s.exp)||(e=ey("is",!1,s.arg.loc)),e)return eC(t.helper(F),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(i=s.value.content.slice(4));let o=to(i)||t.isBuiltInComponent(i);return o?(n||t.helper(o),o):(t.helper(U),t.components.add(i),tD(i,"component"))}function nW(e,t,n=e.props,i,r,o=!1){let a,{tag:l,loc:h,children:u}=e,f=[],E=[],_=[],m=u.length>0,S=!1,g=0,T=!1,N=!1,I=!1,y=!1,O=!1,A=!1,C=[],b=e=>{f.length&&(E.push(eN(nK(f),h)),f=[]),e&&E.push(e)},v=()=>{t.scopes.vFor>0&&f.push(eI(ey("ref_for",!0),ey("true")))},R=({key:e,value:n})=>{if(ts(e)){let o=e.content,a=s(o);a&&(!i||r)&&"onclick"!==o.toLowerCase()&&"onUpdate:modelValue"!==o&&!d(o)&&(y=!0),a&&d(o)&&(A=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&na(n,t)>0||("ref"===o?T=!0:"class"===o?N=!0:"style"===o?I=!0:"key"===o||C.includes(o)||C.push(o),i&&("class"===o||"style"===o)&&!C.includes(o)&&C.push(o))}else O=!0};for(let r=0;r<n.length;r++){let s=n[r];if(6===s.type){let{loc:e,name:n,nameLoc:i,value:r}=s;if("ref"===n&&(T=!0,v()),"is"===n&&(nQ(l)||r&&r.content.startsWith("vue:")||eK("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(eI(ey(n,!0,i),ey(r?r.content:"",!0,r?r.loc:e)))}else{let{name:n,arg:r,exp:a,loc:d,modifiers:u}=s,T="bind"===n,N="on"===n;if("slot"===n){i||t.onError(e1(40,d));continue}if("once"===n||"memo"===n||"is"===n||T&&tA(r,"is")&&(nQ(l)||eK("COMPILER_IS_ON_ELEMENT",t))||N&&o)continue;if((T&&tA(r,"key")||N&&m&&tA(r,"vue:before-update"))&&(S=!0),T&&tA(r,"ref")&&v(),!r&&(T||N)){if(O=!0,a)if(T){if(v(),b(),eK("COMPILER_V_BIND_OBJECT_ORDER",t)){E.unshift(a);continue}E.push(a)}else b({type:14,loc:d,callee:t.helper(Z),arguments:i?[a]:[a,"true"]});else t.onError(e1(T?34:35,d));continue}T&&u.some(e=>"prop"===e.content)&&(g|=32);let I=t.directiveTransforms[n];if(I){let{props:n,needRuntime:i}=I(s,e,t);o||n.forEach(R),N&&r&&!ts(r)?b(eN(n,h)):f.push(...n),i&&(_.push(s),c(i)&&nq.set(s,i))}else!p(n)&&(_.push(s),m&&(S=!0))}}if(E.length?(b(),a=E.length>1?eC(t.helper(W),E,h):E[0]):f.length&&(a=eN(nK(f),h)),O?g|=16:(N&&!i&&(g|=2),I&&!i&&(g|=4),C.length&&(g|=8),y&&(g|=32)),!S&&(0===g||32===g)&&(T||A||_.length>0)&&(g|=512),!t.inSSR&&a)switch(a.type){case 15:let x=-1,L=-1,M=!1;for(let e=0;e<a.properties.length;e++){let t=a.properties[e].key;ts(t)?"class"===t.content?x=e:"style"===t.content&&(L=e):t.isHandlerKey||(M=!0)}let P=a.properties[x],D=a.properties[L];M?a=eC(t.helper(Q),[a]):(P&&!ts(P.value)&&(P.value=eC(t.helper(K),[P.value])),D&&(I||4===D.value.type&&"["===D.value.content.trim()[0]||17===D.value.type)&&(D.value=eC(t.helper(Y),[D.value])));break;case 14:break;default:a=eC(t.helper(Q),[eC(t.helper(z),[a])])}return{props:a,directives:_,patchFlag:g,dynamicPropNames:C,shouldUseBlock:S}}function nK(e){let t=new Map,n=[];for(let o=0;o<e.length;o++){var i,r;let a=e[o];if(8===a.key.type||!a.key.isStatic){n.push(a);continue}let l=a.key.content,c=t.get(l);c?("style"===l||"class"===l||s(l))&&(i=c,r=a,17===i.value.type?i.value.elements.push(r.value):i.value=eT([i.value,r.value],i.loc)):(t.set(l,a),n.push(a))}return n}function nY(e,t){let n=[],i=nq.get(e);i?n.push(t.helperString(i)):(t.helper(B),t.directives.add(e.name),n.push(tD(e.name,"directive")));let{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));let t=ey("true",!1,r);n.push(eN(e.modifiers.map(e=>eI(e,t)),r))}return eT(n,e.loc)}function nQ(e){return"component"===e||"Component"===e}let nz=(e,t)=>{if(tx(e)){let{children:n,loc:i}=e,{slotName:r,slotProps:s}=nZ(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=eb([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=eC(t.helper(q),o,i)}};function nZ(e,t){let n,i='"default"',r=[];for(let t=0;t<e.props.length;t++){let n=e.props[t];if(6===n.type)n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=E(n.name),r.push(n)));else if("bind"===n.name&&tA(n.arg,"name")){if(n.exp)i=n.exp;else if(n.arg&&4===n.arg.type){let e=E(n.arg.content);i=n.exp=ey(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&ts(n.arg)&&(n.arg.content=E(n.arg.content)),r.push(n)}if(r.length>0){let{props:i,directives:s}=nW(e,t,r,!1,!1);n=i,s.length&&t.onError(e1(36,s[0].loc))}return{slotName:i,slotProps:n}}let n1=(e,t,n,i)=>{let r,{loc:s,modifiers:o,arg:a}=e;if(!e.exp&&!o.length,4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),r=ey(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?m(E(e)):`on:${e}`,!0,a.loc)}else r=eA([`${n.helperString(en)}(`,a,")"]);else(r=a).children.unshift(`${n.helperString(en)}(`),r.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){let e=tE(l),t=!(e||tg(l)),n=l.content.includes(";");(t||c&&e)&&(l=eA([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let h={props:[eI(r,l||ey("() => {}",!1,s))]};return i&&(h=i(h)),c&&(h.props[0].value=n.cache(h.props[0].value)),h.props.forEach(e=>e.key.isHandlerKey=!0),h},n0=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let n,i=e.children,r=!1;for(let e=0;e<i.length;e++){let t=i[e];if(tb(t)){r=!0;for(let r=e+1;r<i.length;r++){let s=i[r];if(tb(s))n||(n=i[e]=eA([t],t.loc)),n.children.push(" + ",s),i.splice(r,1),r--;else{n=void 0;break}}}}if(r&&(1!==i.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<i.length;e++){let n=i[e];if(tb(n)||8===n.type){let r=[];(2!==n.type||" "!==n.content)&&r.push(n),t.ssr||0!==na(n,t)||r.push("1"),i[e]={type:12,content:n,loc:n.loc,codegenNode:eC(t.helper(X),r)}}}}},n2=new WeakSet,n3=(e,t)=>{if(1===e.type&&ty(e,"once",!0)&&!n2.has(e)&&!t.inVOnce&&!t.inSSR)return n2.add(e),t.inVOnce=!0,t.helper(ei),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}},n4=(e,t,n)=>{let i,{exp:r,arg:s}=e;if(!r)return n.onError(e1(41,e.loc)),n6();let o=r.loc.source.trim(),a=4===r.type?r.content:o,l=n.bindingMetadata[o];if("props"===l||"props-aliased"===l)return r.loc,n6();if(!a.trim()||!tE(r))return n.onError(e1(42,r.loc)),n6();let c=s||ey("modelValue",!0),h=s?ts(s)?`onUpdate:${E(s.content)}`:eA(['"onUpdate:" + ',s]):"onUpdate:modelValue",d=n.isTS?"($event: any)":"$event";i=eA([`${d} => ((`,r,") = $event)"]);let p=[eI(c,e.exp),eI(h,i)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map(e=>e.content).map(e=>(tl(e)?e:JSON.stringify(e))+": true").join(", "),n=s?ts(s)?`${s.content}Modifiers`:eA([s,' + "Modifiers"']):"modelModifiers";p.push(eI(n,ey(`{ ${t} }`,!1,e.loc,2)))}return n6(p)};function n6(e=[]){return{props:e}}let n5=/[\w).+\-_$\]]/,n9=(e,t)=>{eK("COMPILER_FILTERS",t)&&(5===e.type?n7(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&n7(e.exp,t)}))};function n7(e,t){if(4===e.type)n8(e,t);else for(let n=0;n<e.children.length;n++){let i=e.children[n];"object"==typeof i&&(4===i.type?n8(i,t):8===i.type?n7(e,t):5===i.type&&n7(i.content,t))}}function n8(e,t){let n=e.content,i=!1,r=!1,s=!1,o=!1,a=0,l=0,c=0,h=0,d,p,u,f,E=[];for(u=0;u<n.length;u++)if(p=d,d=n.charCodeAt(u),i)39===d&&92!==p&&(i=!1);else if(r)34===d&&92!==p&&(r=!1);else if(s)96===d&&92!==p&&(s=!1);else if(o)47===d&&92!==p&&(o=!1);else if(124!==d||124===n.charCodeAt(u+1)||124===n.charCodeAt(u-1)||a||l||c){switch(d){case 34:r=!0;break;case 39:i=!0;break;case 96:s=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--}if(47===d){let e,t=u-1;for(;t>=0&&" "===(e=n.charAt(t));t--);e&&n5.test(e)||(o=!0)}}else void 0===f?(h=u+1,f=n.slice(0,u).trim()):_();function _(){E.push(n.slice(h,u).trim()),h=u+1}if(void 0===f?f=n.slice(0,u).trim():0!==h&&_(),E.length){for(u=0;u<E.length;u++)f=function(e,t,n){n.helper($);let i=t.indexOf("(");if(i<0)return n.filters.add(t),`${tD(t,"filter")}(${e})`;{let r=t.slice(0,i),s=t.slice(i+1);return n.filters.add(r),`${tD(r,"filter")}(${e}${")"!==s?","+s:s}`}}(f,E[u],t);e.content=f,e.ast=void 0}}let ie=new WeakSet,it=(e,t)=>{if(1===e.type){let n=ty(e,"memo");if(!(!n||ie.has(e)))return ie.add(e),()=>{let i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&ew(i,t),e.codegenNode=eC(t.helper(ec),[n.exp,eb(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function ii(e){return[[n3,nb,it,nV,n9,nz,nJ,nF,n0],{on:n1,bind:nM,model:n4}]}function ir(e,t={}){let n=t.onError||ez,i="module"===t.mode;!0===t.prefixIdentifiers?n(e1(47)):i&&n(e1(48)),t.cacheHandlers&&n(e1(49)),t.scopeId&&!i&&n(e1(50));let r=o({},t,{prefixIdentifiers:!1}),s=l(e)?ns(e,r):e,[a,c]=ii();return np(s,o({},r,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:o({},c,t.directiveTransforms||{})})),nm(s,r)}let is={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},io=()=>({props:[]}),ia=Symbol(""),il=Symbol(""),ic=Symbol(""),ih=Symbol(""),id=Symbol(""),ip=Symbol(""),iu=Symbol(""),iE=Symbol(""),i_=Symbol(""),im=Symbol("");ep({[ia]:"vModelRadio",[il]:"vModelCheckbox",[ic]:"vModelText",[ih]:"vModelSelect",[id]:"vModelDynamic",[ip]:"withModifiers",[iu]:"withKeys",[iE]:"vShow",[i_]:"Transition",[im]:"TransitionGroup"});let iS={parseMode:"html",isVoidTag:A,isNativeTag:e=>I(e)||y(e)||O(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(t,n=!1){return(e||(e=document.createElement("div")),n)?(e.innerHTML=`<div foo="${t.replace(/"/g,""")}">`,e.children[0].getAttribute("foo")):(e.innerHTML=t,e.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?i_:"TransitionGroup"===e||"transition-group"===e?im:void 0,getNamespace(e,t,n){let i=t?t.ns:n;if(t&&2===i)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(i=0);else t&&1===i&&("foreignObject"===t.tag||"desc"===t.tag||"title"===t.tag)&&(i=0);if(0===i){if("svg"===e)return 1;if("math"===e)return 2}return i}},ig=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:ey("style",!0,t.loc),exp:iT(t.value.content,t.loc),modifiers:[],loc:t.loc})})},iT=(e,t)=>ey(JSON.stringify(function(e){let t={};return e.replace(N,"").split(g).forEach(e=>{if(e){let n=e.split(T);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e)),!1,t,3);function iN(e,t){return e1(e,t)}let iI={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},iy={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},iO=t("passive,once,capture"),iA=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),iC=t("left,right"),ib=t("onkeyup,onkeydown,onkeypress"),iv=(e,t,n,i)=>{let r=[],s=[],o=[];for(let i=0;i<t.length;i++){let a=t[i].content;"native"===a&&eY("COMPILER_V_ON_NATIVE",n)||iO(a)?o.push(a):iC(a)?ts(e)?ib(e.content.toLowerCase())?r.push(a):s.push(a):(r.push(a),s.push(a)):iA(a)?s.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:o}},iR=(e,t)=>ts(e)&&"onclick"===e.content.toLowerCase()?ey(t,!0):4!==e.type?eA(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ix=(e,t)=>{1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&t.removeNode()},iL=[ig],iM={cloak:io,html:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(53,r)),t.children.length&&(n.onError(iN(54,r)),t.children.length=0),{props:[eI(ey("innerHTML",!0,r),i||ey("",!0))]}},text:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(55,r)),t.children.length&&(n.onError(iN(56,r)),t.children.length=0),{props:[eI(ey("textContent",!0),i?na(i,n)>0?i:eC(n.helperString(j),[i],r):ey("",!0))]}},model:(e,t,n)=>{let i=n4(e,t,n);if(!i.props.length||1===t.tagType)return i;e.arg&&n.onError(iN(58,e.arg.loc));let{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let o=ic,a=!1;if("input"===r||s){let i=tO(t,"type");if(i){if(7===i.type)o=id;else if(i.value)switch(i.value.content){case"radio":o=ia;break;case"checkbox":o=il;break;case"file":a=!0,n.onError(iN(59,e.loc))}}else tC(t)&&(o=id)}else"select"===r&&(o=ih);a||(i.needRuntime=n.helper(o))}else n.onError(iN(57,e.loc));return i.props=i.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),i},on:(e,t,n)=>n1(e,t,n,t=>{let{modifiers:i}=e;if(!i.length)return t;let{key:r,value:s}=t.props[0],{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=iv(r,i,n,e.loc);if(a.includes("right")&&(r=iR(r,"onContextmenu")),a.includes("middle")&&(r=iR(r,"onMouseup")),a.length&&(s=eC(n.helper(ip),[s,JSON.stringify(a)])),o.length&&(!ts(r)||ib(r.content.toLowerCase()))&&(s=eC(n.helper(iu),[s,JSON.stringify(o)])),l.length){let e=l.map(_).join("");r=ts(r)?ey(`${r.content}${e}`,!0):eA(["(",r,`) + "${e}"`])}return{props:[eI(r,s)]}}),show:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(61,r)),{props:[],needRuntime:n.helper(iE)}}};function iP(e,t={}){return ir(e,o({},iS,t,{nodeTransforms:[ix,...iL,...t.nodeTransforms||[]],directiveTransforms:o({},iM,t.directiveTransforms||{}),transformHoist:null}))}function iD(e,t={}){return ns(e,o({},iS,t))}export{x as BASE_TRANSITION,is as BindingTypes,ee as CAMELIZE,et as CAPITALIZE,M as CREATE_BLOCK,k as CREATE_COMMENT,P as CREATE_ELEMENT_BLOCK,V as CREATE_ELEMENT_VNODE,J as CREATE_SLOTS,w as CREATE_STATIC,X as CREATE_TEXT,D as CREATE_VNODE,eJ as CompilerDeprecationTypes,e_ as ConstantTypes,iM as DOMDirectiveTransforms,iI as DOMErrorCodes,iy as DOMErrorMessages,iL as DOMNodeTransforms,eE as ElementTypes,e0 as ErrorCodes,C as FRAGMENT,z as GUARD_REACTIVE_PROPS,eh as IS_MEMO_SAME,el as IS_REF,R as KEEP_ALIVE,W as MERGE_PROPS,K as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,Y as NORMALIZE_STYLE,eu as Namespaces,ef as NodeTypes,L as OPEN_BLOCK,es as POP_SCOPE_ID,er as PUSH_SCOPE_ID,G as RENDER_LIST,q as RENDER_SLOT,U as RESOLVE_COMPONENT,B as RESOLVE_DIRECTIVE,F as RESOLVE_DYNAMIC_COMPONENT,$ as RESOLVE_FILTER,ei as SET_BLOCK_TRACKING,v as SUSPENSE,b as TELEPORT,j as TO_DISPLAY_STRING,Z as TO_HANDLERS,en as TO_HANDLER_KEY,i_ as TRANSITION,im as TRANSITION_GROUP,ti as TS_NODE_TYPES,ea as UNREF,il as V_MODEL_CHECKBOX,id as V_MODEL_DYNAMIC,ia as V_MODEL_RADIO,ih as V_MODEL_SELECT,ic as V_MODEL_TEXT,iu as V_ON_WITH_KEYS,ip as V_ON_WITH_MODIFIERS,iE as V_SHOW,eo as WITH_CTX,H as WITH_DIRECTIVES,ec as WITH_MEMO,tT as advancePositionWithClone,tN as advancePositionWithMutation,tI as assert,ir as baseCompile,ns as baseParse,nY as buildDirectiveArgs,nW as buildProps,nH as buildSlots,eY as checkCompatEnabled,iP as compile,ew as convertToBlock,eT as createArrayExpression,eP as createAssignmentExpression,ex as createBlockStatement,eR as createCacheExpression,eC as createCallExpression,e1 as createCompilerError,eA as createCompoundExpression,ev as createConditionalExpression,iN as createDOMCompilerError,nw as createForLoopParams,eb as createFunctionExpression,eM as createIfStatement,eO as createInterpolation,eN as createObjectExpression,eI as createObjectProperty,eV as createReturnStatement,eS as createRoot,eD as createSequenceExpression,ey as createSimpleExpression,nf as createStructuralDirectiveTransform,eL as createTemplateLiteral,nd as createTransformContext,eg as createVNodeCall,e2 as errorMessages,e8 as extractIdentifiers,ty as findDir,tO as findProp,tX as forAliasRE,nm as generate,S as generateCodeFrame,ii as getBaseTransformPreset,na as getConstantType,tk as getMemoedVNodeCall,eX as getVNodeBlockHelper,ek as getVNodeHelper,tC as hasDynamicKeyVBind,tV as hasScopeRef,ed as helperNameMap,tM as injectProp,to as isCoreComponent,tg as isFnExpression,tm as isFnExpressionBrowser,tS as isFnExpressionNode,te as isFunctionType,e6 as isInDestructureAssignment,e5 as isInNewExpression,tE as isMemberExpression,tu as isMemberExpressionBrowser,tf as isMemberExpressionNode,e4 as isReferencedIdentifier,tl as isSimpleIdentifier,tx as isSlotOutlet,tA as isStaticArgOf,ts as isStaticExp,tt as isStaticProperty,tn as isStaticPropertyKey,tR as isTemplateNode,tb as isText,tv as isVSlot,em as locStub,io as noopDirectiveTransform,iD as parse,iS as parserOptions,nA as processExpression,nk as processFor,nv as processIf,nZ as processSlotOutlet,ep as registerRuntimeHelpers,nj as resolveComponentType,nC as stringifyExpression,tD as toValidAssetId,nF as trackSlotScopes,nB as trackVForSlotScopes,np as transform,nM as transformBind,nJ as transformElement,nO as transformExpression,n4 as transformModel,n1 as transformOn,ig as transformStyle,nu as traverseNode,tr as unwrapTSNode,e7 as walkBlockDeclarations,e9 as walkFunctionParams,e3 as walkIdentifiers,eQ as warnDeprecation};
|
|
14
|
+
`,0),l()),h||r("return "),e.codegenNode?nN(e.codegenNode,n):r("null"),u&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nS(e,t,{helper:n,push:i,newline:r,isTS:s}){let o=n("filter"===t?$:"component"===t?U:B);for(let n=0;n<e.length;n++){let a=e[n],l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${tD(a,t)} = ${o}(${JSON.stringify(a)}${l?", true":""})${s?"!":""}`),n<e.length-1&&r()}}function ng(e,t){let n=e.length>3;t.push("["),n&&t.indent(),nT(e,t,n),n&&t.deindent(),t.push("]")}function nT(e,t,n=!1,i=!0){let{push:r,newline:s}=t;for(let o=0;o<e.length;o++){let c=e[o];l(c)?r(c,-3):a(c)?ng(c,t):nN(c,t),o<e.length-1&&(n?(i&&r(","),s()):i&&r(", "))}}function nN(e,t){if(l(e))return void t.push(e,-3);if(c(e))return void t.push(t.helper(e));switch(e.type){case 1:case 9:case 11:case 12:nN(e.codegenNode,t);break;case 2:n=e,t.push(JSON.stringify(n.content),-3,n);break;case 4:nI(e,t);break;case 5:var n,i,r,s=e,o=t;let{push:h,helper:d,pure:p}=o;p&&h(nE),h(`${d(j)}(`),nN(s.content,o),h(")");break;case 8:ny(e,t);break;case 3:var u=e,f=t;let{push:E,helper:_,pure:m}=f;m&&E(nE),E(`${_(k)}(${JSON.stringify(u.content)})`,-3,u);break;case 13:let S;var g=e,T=t;let{push:N,helper:I,pure:y}=T,{tag:O,props:A,children:C,patchFlag:b,dynamicProps:v,directives:R,isBlock:x,disableTracking:M,isComponent:P}=g;b&&(S=String(b)),R&&N(I(H)+"("),x&&N(`(${I(L)}(${M?"true":""}), `),y&&N(nE),N(I(x?eX(T.inSSR,P):ek(T.inSSR,P))+"(",-2,g),nT(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([O,A,C,S,v]),T),N(")"),x&&N(")"),R&&(N(", "),nN(R,T),N(")"));break;case 14:var D=e,V=t;let{push:X,helper:w,pure:U}=V,F=l(D.callee)?D.callee:w(D.callee);U&&X(nE),X(F+"(",-2,D),nT(D.arguments,V),X(")");break;case 15:!function(e,t){let{push:n,indent:i,deindent:r,newline:s}=t,{properties:o}=e;if(!o.length)return n("{}",-2,e);let a=o.length>1;n(a?"{":"{ "),a&&i();for(let e=0;e<o.length;e++){let{key:i,value:r}=o[e],{push:a}=t;8===i.type?(a("["),ny(i,t),a("]")):i.isStatic?a(tl(i.content)?i.content:JSON.stringify(i.content),-2,i):a(`[${i.content}]`,-3,i),n(": "),nN(r,t),e<o.length-1&&(n(","),s())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:i=e,r=t,ng(i.elements,r);break;case 18:var B=e,$=t;let{push:G,indent:q,deindent:J}=$,{params:W,returns:K,body:Y,newline:Q,isSlot:z}=B;z&&G(`_${ed[eo]}(`),G("(",-2,B),a(W)?nT(W,$):W&&nN(W,$),G(") => "),(Q||Y)&&(G("{"),q()),K?(Q&&G("return "),a(K)?ng(K,$):nN(K,$)):Y&&nN(Y,$),(Q||Y)&&(J(),G("}")),z&&(B.isNonScopedSlot&&G(", undefined, true"),G(")"));break;case 19:var Z=e,ee=t;let{test:et,consequent:en,alternate:er,newline:es}=Z,{push:ea,indent:el,deindent:ec,newline:eh}=ee;if(4===et.type){let e=!tl(et.content);e&&ea("("),nI(et,ee),e&&ea(")")}else ea("("),nN(et,ee),ea(")");es&&el(),ee.indentLevel++,es||ea(" "),ea("? "),nN(en,ee),ee.indentLevel--,es&&eh(),es||ea(" "),ea(": ");let ep=19===er.type;!ep&&ee.indentLevel++,nN(er,ee),!ep&&ee.indentLevel--,es&&ec(!0);break;case 20:var eu=e,ef=t;let{push:eE,helper:e_,indent:em,deindent:eS,newline:eg}=ef,{needPauseTracking:eT,needArraySpread:eN}=eu;eN&&eE("[...("),eE(`_cache[${eu.index}] || (`),eT&&(em(),eE(`${e_(ei)}(-1`),eu.inVOnce&&eE(", true"),eE("),"),eg(),eE("(")),eE(`_cache[${eu.index}] = `),nN(eu.value,ef),eT&&(eE(`).cacheIndex = ${eu.index},`),eg(),eE(`${e_(ei)}(1),`),eg(),eE(`_cache[${eu.index}]`),eS()),eE(")"),eN&&eE(")]");break;case 21:nT(e.body,t,!0,!1)}}function nI(e,t){let{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function ny(e,t){for(let n=0;n<e.children.length;n++){let i=e.children[n];l(i)?t.push(i,-3):nN(i,t)}}let nO=(e,t)=>{if(5===e.type)e.content=nA(e.content,t);else if(1===e.type){let n=ty(e,"memo");for(let i=0;i<e.props.length;i++){let r=e.props[i];if(7===r.type&&"for"!==r.name){let e=r.exp,i=r.arg;!e||4!==e.type||"on"===r.name&&i||n&&i&&4===i.type&&"key"===i.content||(r.exp=nA(e,t,"slot"===r.name)),i&&4===i.type&&!i.isStatic&&(r.arg=nA(i,t))}}}};function nA(e,t,n=!1,i=!1,r=Object.create(t.identifiers)){return e}function nC(e){return l(e)?e:4===e.type?e.content:e.children.map(nC).join("")}let nb=nf(/^(if|else|else-if)$/,(e,t,n)=>nv(e,t,n,(e,t,i)=>{let r=n.parent.children,s=r.indexOf(e),o=0;for(;s-- >=0;){let e=r[s];e&&9===e.type&&(o+=e.branches.length)}return()=>{i?e.codegenNode=nx(t,o,n):function(e){for(;;)if(19===e.type)if(19!==e.alternate.type)return e;else e=e.alternate;else 20===e.type&&(e=e.value)}(e.codegenNode).alternate=nx(t,o+e.branches.length-1,n)}}));function nv(e,t,n,i){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){let i=t.exp?t.exp.loc:e.loc;n.onError(e1(28,t.loc)),t.exp=ey("true",!1,i)}if("if"===t.name){var r;let s=nR(e,t),o={type:9,loc:nt((r=e.loc).start.offset,r.end.offset),branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{let r=n.parent.children,s=r.indexOf(e);for(;s-- >=-1;){let o=r[s];if(o&&3===o.type||o&&2===o.type&&!o.content.trim().length){n.removeNode(o);continue}if(o&&9===o.type){"else-if"===t.name&&void 0===o.branches[o.branches.length-1].condition&&n.onError(e1(30,e.loc)),n.removeNode();let r=nR(e,t);o.branches.push(r);let s=i&&i(o,r,!1);nu(r,n),s&&s(),n.currentNode=null}else n.onError(e1(30,e.loc));break}}}function nR(e,t){let n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!ty(e,"for")?e.children:[e],userKey:tO(e,"key"),isTemplateIf:n}}function nx(e,t,n){return e.condition?ev(e.condition,nL(e,t,n),eC(n.helper(k),['""',"true"])):nL(e,t,n)}function nL(e,t,n){let{helper:i}=n,r=eI("key",ey(`${t}`,!1,em,2)),{children:s}=e,o=s[0];if(1!==s.length||1!==o.type)if(1!==s.length||11!==o.type)return eg(n,i(C),eN([r]),s,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode;return tM(e,r,n),e}{let e=o.codegenNode,t=tk(e);return 13===t.type&&ew(t,n),tM(t,r,n),e}}let nM=(e,t,n)=>{let{modifiers:i,loc:r}=e,s=e.arg,{exp:o}=e;if(o&&4===o.type&&!o.content.trim()&&(o=void 0),!o){if(4!==s.type||!s.isStatic)return n.onError(e1(52,s.loc)),{props:[eI(s,ey("",!0,r))]};nP(e),o=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),i.some(e=>"camel"===e.content)&&(4===s.type?s.isStatic?s.content=E(s.content):s.content=`${n.helperString(ee)}(${s.content})`:(s.children.unshift(`${n.helperString(ee)}(`),s.children.push(")"))),!n.inSSR&&(i.some(e=>"prop"===e.content)&&nD(s,"."),i.some(e=>"attr"===e.content)&&nD(s,"^")),{props:[eI(s,o)]}},nP=(e,t)=>{let n=e.arg;e.exp=ey(E(n.content),!1,n.loc)},nD=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},nV=nf("for",(e,t,n)=>{let{helper:i,removeHelper:r}=n;return nk(e,t,n,t=>{let s=eC(i(G),[t.source]),o=tR(e),a=ty(e,"memo"),l=tO(e,"key",!1,!0);l&&7===l.type&&!l.exp&&nP(l);let c=l&&(6===l.type?l.value?ey(l.value.content,!0):void 0:l.exp),h=l&&c?eI("key",c):null,d=4===t.source.type&&t.source.constType>0,p=d?64:l?128:256;return t.codegenNode=eg(n,i(C),void 0,s,p,void 0,void 0,!0,!d,!1,e.loc),()=>{let l,{children:p}=t,u=1!==p.length||1!==p[0].type,f=tx(e)?e:o&&1===e.children.length&&tx(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,o&&h&&tM(l,h,n)):u?l=eg(n,i(C),h?eN([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=p[0].codegenNode,o&&h&&tM(l,h,n),!d!==l.isBlock&&(l.isBlock?(r(L),r(eX(n.inSSR,l.isComponent))):r(ek(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(i(L),i(eX(n.inSSR,l.isComponent))):i(ek(n.inSSR,l.isComponent))),a){let e=eb(nw(t.parseResult,[ey("_cached")]));e.body=ex([eA(["const _memo = (",a.exp,")"]),eA(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(eh)}(_cached, _memo)) return _cached`]),eA(["const _item = ",l]),ey("_item.memo = _memo"),ey("return _item")]),s.arguments.push(e,ey("_cache"),ey(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(eb(nw(t.parseResult),l,!0))}})});function nk(e,t,n,i){if(!t.exp)return void n.onError(e1(31,t.loc));let r=t.forParseResult;if(!r)return void n.onError(e1(32,t.loc));nX(r);let{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:h,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:h,objectIndexAlias:d,parseResult:r,children:tR(e)?e.children:[e]};n.replaceNode(p),a.vFor++;let u=i&&i(p);return()=>{a.vFor--,u&&u()}}function nX(e,t){e.finalized||(e.finalized=!0)}function nw({value:e,key:t,index:n},i=[]){var r=[e,t,n,...i];let s=r.length;for(;s--&&!r[s];);return r.slice(0,s+1).map((e,t)=>e||ey("_".repeat(t+1),!1))}let nU=ey("undefined",!1),nF=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let n=ty(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},nB=(e,t)=>{let n;if(tR(e)&&e.props.some(tv)&&(n=ty(e,"for"))){let e=n.forParseResult;if(e){nX(e);let{value:n,key:i,index:r}=e,{addIdentifiers:s,removeIdentifiers:o}=t;return n&&s(n),i&&s(i),r&&s(r),()=>{n&&o(n),i&&o(i),r&&o(r)}}}},n$=(e,t,n,i)=>eb(e,n,!1,!0,n.length?n[0].loc:i);function nH(e,t,n=n$){t.helper(eo);let{children:i,loc:r}=e,s=[],o=[],a=t.scopes.vSlot>0||t.scopes.vFor>0,l=ty(e,"slot",!0);if(l){let{arg:e,exp:t}=l;e&&!ts(e)&&(a=!0),s.push(eI(e||ey("default",!0),n(t,void 0,i,r)))}let c=!1,h=!1,d=[],p=new Set,u=0;for(let e=0;e<i.length;e++){let r,f,E,_,m=i[e];if(!tR(m)||!(r=ty(m,"slot",!0))){3!==m.type&&d.push(m);continue}if(l){t.onError(e1(37,r.loc));break}c=!0;let{children:S,loc:g}=m,{arg:T=ey("default",!0),exp:N,loc:I}=r;ts(T)?f=T?T.content:"default":a=!0;let y=ty(m,"for"),O=n(N,y,S,g);if(E=ty(m,"if"))a=!0,o.push(ev(E.exp,nG(T,O,u++),nU));else if(_=ty(m,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&3===(n=i[r]).type;);if(n&&tR(n)&&ty(n,/^(else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=_.exp?ev(_.exp,nG(T,O,u++),nU):nG(T,O,u++)}else t.onError(e1(30,_.loc))}else if(y){a=!0;let e=y.forParseResult;e?(nX(e),o.push(eC(t.helper(G),[e.source,eb(nw(e),nG(T,O),!0)]))):t.onError(e1(32,y.loc))}else{if(f){if(p.has(f)){t.onError(e1(38,I));continue}p.add(f),"default"===f&&(h=!0)}s.push(eI(T,O))}}if(!l){let e=(e,i)=>{let s=n(e,void 0,i,r);return t.compatConfig&&(s.isNonScopedSlot=!0),eI("default",s)};c?d.length&&d.some(e=>(function e(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():e(t.content))})(e))&&(h?t.onError(e1(39,d[0].loc)):s.push(e(void 0,d))):s.push(e(void 0,i))}let f=a?2:!function e(t){for(let n=0;n<t.length;n++){let i=t[n];switch(i.type){case 1:if(2===i.tagType||e(i.children))return!0;break;case 9:if(e(i.branches))return!0;break;case 10:case 11:if(e(i.children))return!0}}return!1}(e.children)?1:3,E=eN(s.concat(eI("_",ey(f+"",!1))),r);return o.length&&(E=eC(t.helper(J),[E,eT(o)])),{slots:E,hasDynamicSlots:a}}function nG(e,t,n){let i=[eI("name",e),eI("fn",t)];return null!=n&&i.push(eI("key",ey(String(n),!0))),eN(i)}let nq=new WeakMap,nJ=(e,t)=>function(){let n,i,r,s,o;if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let{tag:a,props:l}=e,c=1===e.tagType,d=c?nj(e,t):`"${a}"`,p=h(d)&&d.callee===F,u=0,f=p||d===b||d===v||!c&&("svg"===a||"foreignObject"===a||"math"===a);if(l.length>0){let i=nW(e,t,void 0,c,p);n=i.props,u=i.patchFlag,s=i.dynamicPropNames;let r=i.directives;o=r&&r.length?eT(r.map(e=>nY(e,t))):void 0,i.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(d===R&&(f=!0,u|=1024),c&&d!==b&&d!==R){let{slots:n,hasDynamicSlots:r}=nH(e,t);i=n,r&&(u|=1024)}else if(1===e.children.length&&d!==b){let n=e.children[0],r=n.type,s=5===r||8===r;s&&0===na(n,t)&&(u|=1),i=s||2===r?n:e.children}else i=e.children;s&&s.length&&(r=function(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}(s)),e.codegenNode=eg(t,d,n,i,0===u?void 0:u,r,o,!!f,!1,c,e.loc)};function nj(e,t,n=!1){let{tag:i}=e,r=nQ(i),s=tO(e,"is",!1,!0);if(s)if(r||eK("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&ey(s.value.content,!0):(e=s.exp)||(e=ey("is",!1,s.arg.loc)),e)return eC(t.helper(F),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(i=s.value.content.slice(4));let o=to(i)||t.isBuiltInComponent(i);return o?(n||t.helper(o),o):(t.helper(U),t.components.add(i),tD(i,"component"))}function nW(e,t,n=e.props,i,r,o=!1){let a,{tag:l,loc:h,children:u}=e,f=[],E=[],_=[],m=u.length>0,S=!1,g=0,T=!1,N=!1,I=!1,y=!1,O=!1,A=!1,C=[],b=e=>{f.length&&(E.push(eN(nK(f),h)),f=[]),e&&E.push(e)},v=()=>{t.scopes.vFor>0&&f.push(eI(ey("ref_for",!0),ey("true")))},R=({key:e,value:n})=>{if(ts(e)){let o=e.content,a=s(o);a&&(!i||r)&&"onclick"!==o.toLowerCase()&&"onUpdate:modelValue"!==o&&!d(o)&&(y=!0),a&&d(o)&&(A=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&na(n,t)>0||("ref"===o?T=!0:"class"===o?N=!0:"style"===o?I=!0:"key"===o||C.includes(o)||C.push(o),i&&("class"===o||"style"===o)&&!C.includes(o)&&C.push(o))}else O=!0};for(let r=0;r<n.length;r++){let s=n[r];if(6===s.type){let{loc:e,name:n,nameLoc:i,value:r}=s;if("ref"===n&&(T=!0,v()),"is"===n&&(nQ(l)||r&&r.content.startsWith("vue:")||eK("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(eI(ey(n,!0,i),ey(r?r.content:"",!0,r?r.loc:e)))}else{let{name:n,arg:r,exp:a,loc:d,modifiers:u}=s,T="bind"===n,N="on"===n;if("slot"===n){i||t.onError(e1(40,d));continue}if("once"===n||"memo"===n||"is"===n||T&&tA(r,"is")&&(nQ(l)||eK("COMPILER_IS_ON_ELEMENT",t))||N&&o)continue;if((T&&tA(r,"key")||N&&m&&tA(r,"vue:before-update"))&&(S=!0),T&&tA(r,"ref")&&v(),!r&&(T||N)){if(O=!0,a)if(T){if(b(),eK("COMPILER_V_BIND_OBJECT_ORDER",t)){E.unshift(a);continue}v(),b(),E.push(a)}else b({type:14,loc:d,callee:t.helper(Z),arguments:i?[a]:[a,"true"]});else t.onError(e1(T?34:35,d));continue}T&&u.some(e=>"prop"===e.content)&&(g|=32);let I=t.directiveTransforms[n];if(I){let{props:n,needRuntime:i}=I(s,e,t);o||n.forEach(R),N&&r&&!ts(r)?b(eN(n,h)):f.push(...n),i&&(_.push(s),c(i)&&nq.set(s,i))}else!p(n)&&(_.push(s),m&&(S=!0))}}if(E.length?(b(),a=E.length>1?eC(t.helper(W),E,h):E[0]):f.length&&(a=eN(nK(f),h)),O?g|=16:(N&&!i&&(g|=2),I&&!i&&(g|=4),C.length&&(g|=8),y&&(g|=32)),!S&&(0===g||32===g)&&(T||A||_.length>0)&&(g|=512),!t.inSSR&&a)switch(a.type){case 15:let x=-1,L=-1,M=!1;for(let e=0;e<a.properties.length;e++){let t=a.properties[e].key;ts(t)?"class"===t.content?x=e:"style"===t.content&&(L=e):t.isHandlerKey||(M=!0)}let P=a.properties[x],D=a.properties[L];M?a=eC(t.helper(Q),[a]):(P&&!ts(P.value)&&(P.value=eC(t.helper(K),[P.value])),D&&(I||4===D.value.type&&"["===D.value.content.trim()[0]||17===D.value.type)&&(D.value=eC(t.helper(Y),[D.value])));break;case 14:break;default:a=eC(t.helper(Q),[eC(t.helper(z),[a])])}return{props:a,directives:_,patchFlag:g,dynamicPropNames:C,shouldUseBlock:S}}function nK(e){let t=new Map,n=[];for(let o=0;o<e.length;o++){var i,r;let a=e[o];if(8===a.key.type||!a.key.isStatic){n.push(a);continue}let l=a.key.content,c=t.get(l);c?("style"===l||"class"===l||s(l))&&(i=c,r=a,17===i.value.type?i.value.elements.push(r.value):i.value=eT([i.value,r.value],i.loc)):(t.set(l,a),n.push(a))}return n}function nY(e,t){let n=[],i=nq.get(e);i?n.push(t.helperString(i)):(t.helper(B),t.directives.add(e.name),n.push(tD(e.name,"directive")));let{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));let t=ey("true",!1,r);n.push(eN(e.modifiers.map(e=>eI(e,t)),r))}return eT(n,e.loc)}function nQ(e){return"component"===e||"Component"===e}let nz=(e,t)=>{if(tx(e)){let{children:n,loc:i}=e,{slotName:r,slotProps:s}=nZ(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=eb([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=eC(t.helper(q),o,i)}};function nZ(e,t){let n,i='"default"',r=[];for(let t=0;t<e.props.length;t++){let n=e.props[t];if(6===n.type)n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=E(n.name),r.push(n)));else if("bind"===n.name&&tA(n.arg,"name")){if(n.exp)i=n.exp;else if(n.arg&&4===n.arg.type){let e=E(n.arg.content);i=n.exp=ey(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&ts(n.arg)&&(n.arg.content=E(n.arg.content)),r.push(n)}if(r.length>0){let{props:i,directives:s}=nW(e,t,r,!1,!1);n=i,s.length&&t.onError(e1(36,s[0].loc))}return{slotName:i,slotProps:n}}let n1=(e,t,n,i)=>{let r,{loc:s,modifiers:o,arg:a}=e;if(!e.exp&&!o.length,4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),r=ey(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?m(E(e)):`on:${e}`,!0,a.loc)}else r=eA([`${n.helperString(en)}(`,a,")"]);else(r=a).children.unshift(`${n.helperString(en)}(`),r.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){let e=tE(l),t=!(e||tg(l)),n=l.content.includes(";");(t||c&&e)&&(l=eA([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let h={props:[eI(r,l||ey("() => {}",!1,s))]};return i&&(h=i(h)),c&&(h.props[0].value=n.cache(h.props[0].value)),h.props.forEach(e=>e.key.isHandlerKey=!0),h},n0=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let n,i=e.children,r=!1;for(let e=0;e<i.length;e++){let t=i[e];if(tb(t)){r=!0;for(let r=e+1;r<i.length;r++){let s=i[r];if(tb(s))n||(n=i[e]=eA([t],t.loc)),n.children.push(" + ",s),i.splice(r,1),r--;else{n=void 0;break}}}}if(r&&(1!==i.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<i.length;e++){let n=i[e];if(tb(n)||8===n.type){let r=[];(2!==n.type||" "!==n.content)&&r.push(n),t.ssr||0!==na(n,t)||r.push("1"),i[e]={type:12,content:n,loc:n.loc,codegenNode:eC(t.helper(X),r)}}}}},n2=new WeakSet,n3=(e,t)=>{if(1===e.type&&ty(e,"once",!0)&&!n2.has(e)&&!t.inVOnce&&!t.inSSR)return n2.add(e),t.inVOnce=!0,t.helper(ei),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}},n4=(e,t,n)=>{let i,{exp:r,arg:s}=e;if(!r)return n.onError(e1(41,e.loc)),n6();let o=r.loc.source.trim(),a=4===r.type?r.content:o,l=n.bindingMetadata[o];if("props"===l||"props-aliased"===l)return r.loc,n6();if(!a.trim()||!tE(r))return n.onError(e1(42,r.loc)),n6();let c=s||ey("modelValue",!0),h=s?ts(s)?`onUpdate:${E(s.content)}`:eA(['"onUpdate:" + ',s]):"onUpdate:modelValue",d=n.isTS?"($event: any)":"$event";i=eA([`${d} => ((`,r,") = $event)"]);let p=[eI(c,e.exp),eI(h,i)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map(e=>e.content).map(e=>(tl(e)?e:JSON.stringify(e))+": true").join(", "),n=s?ts(s)?`${s.content}Modifiers`:eA([s,' + "Modifiers"']):"modelModifiers";p.push(eI(n,ey(`{ ${t} }`,!1,e.loc,2)))}return n6(p)};function n6(e=[]){return{props:e}}let n5=/[\w).+\-_$\]]/,n9=(e,t)=>{eK("COMPILER_FILTERS",t)&&(5===e.type?n7(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&n7(e.exp,t)}))};function n7(e,t){if(4===e.type)n8(e,t);else for(let n=0;n<e.children.length;n++){let i=e.children[n];"object"==typeof i&&(4===i.type?n8(i,t):8===i.type?n7(e,t):5===i.type&&n7(i.content,t))}}function n8(e,t){let n=e.content,i=!1,r=!1,s=!1,o=!1,a=0,l=0,c=0,h=0,d,p,u,f,E=[];for(u=0;u<n.length;u++)if(p=d,d=n.charCodeAt(u),i)39===d&&92!==p&&(i=!1);else if(r)34===d&&92!==p&&(r=!1);else if(s)96===d&&92!==p&&(s=!1);else if(o)47===d&&92!==p&&(o=!1);else if(124!==d||124===n.charCodeAt(u+1)||124===n.charCodeAt(u-1)||a||l||c){switch(d){case 34:r=!0;break;case 39:i=!0;break;case 96:s=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--}if(47===d){let e,t=u-1;for(;t>=0&&" "===(e=n.charAt(t));t--);e&&n5.test(e)||(o=!0)}}else void 0===f?(h=u+1,f=n.slice(0,u).trim()):_();function _(){E.push(n.slice(h,u).trim()),h=u+1}if(void 0===f?f=n.slice(0,u).trim():0!==h&&_(),E.length){for(u=0;u<E.length;u++)f=function(e,t,n){n.helper($);let i=t.indexOf("(");if(i<0)return n.filters.add(t),`${tD(t,"filter")}(${e})`;{let r=t.slice(0,i),s=t.slice(i+1);return n.filters.add(r),`${tD(r,"filter")}(${e}${")"!==s?","+s:s}`}}(f,E[u],t);e.content=f,e.ast=void 0}}let ie=new WeakSet,it=(e,t)=>{if(1===e.type){let n=ty(e,"memo");if(!(!n||ie.has(e)))return ie.add(e),()=>{let i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&ew(i,t),e.codegenNode=eC(t.helper(ec),[n.exp,eb(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function ii(e){return[[n3,nb,it,nV,n9,nz,nJ,nF,n0],{on:n1,bind:nM,model:n4}]}function ir(e,t={}){let n=t.onError||ez,i="module"===t.mode;!0===t.prefixIdentifiers?n(e1(47)):i&&n(e1(48)),t.cacheHandlers&&n(e1(49)),t.scopeId&&!i&&n(e1(50));let r=o({},t,{prefixIdentifiers:!1}),s=l(e)?ns(e,r):e,[a,c]=ii();return np(s,o({},r,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:o({},c,t.directiveTransforms||{})})),nm(s,r)}let is={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},io=()=>({props:[]}),ia=Symbol(""),il=Symbol(""),ic=Symbol(""),ih=Symbol(""),id=Symbol(""),ip=Symbol(""),iu=Symbol(""),iE=Symbol(""),i_=Symbol(""),im=Symbol("");ep({[ia]:"vModelRadio",[il]:"vModelCheckbox",[ic]:"vModelText",[ih]:"vModelSelect",[id]:"vModelDynamic",[ip]:"withModifiers",[iu]:"withKeys",[iE]:"vShow",[i_]:"Transition",[im]:"TransitionGroup"});let iS={parseMode:"html",isVoidTag:A,isNativeTag:e=>I(e)||y(e)||O(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(t,n=!1){return(e||(e=document.createElement("div")),n)?(e.innerHTML=`<div foo="${t.replace(/"/g,""")}">`,e.children[0].getAttribute("foo")):(e.innerHTML=t,e.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?i_:"TransitionGroup"===e||"transition-group"===e?im:void 0,getNamespace(e,t,n){let i=t?t.ns:n;if(t&&2===i)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(i=0);else t&&1===i&&("foreignObject"===t.tag||"desc"===t.tag||"title"===t.tag)&&(i=0);if(0===i){if("svg"===e)return 1;if("math"===e)return 2}return i}},ig=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:ey("style",!0,t.loc),exp:iT(t.value.content,t.loc),modifiers:[],loc:t.loc})})},iT=(e,t)=>ey(JSON.stringify(function(e){let t={};return e.replace(N,"").split(g).forEach(e=>{if(e){let n=e.split(T);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e)),!1,t,3);function iN(e,t){return e1(e,t)}let iI={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},iy={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},iO=t("passive,once,capture"),iA=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),iC=t("left,right"),ib=t("onkeyup,onkeydown,onkeypress"),iv=(e,t,n,i)=>{let r=[],s=[],o=[];for(let i=0;i<t.length;i++){let a=t[i].content;"native"===a&&eY("COMPILER_V_ON_NATIVE",n)||iO(a)?o.push(a):iC(a)?ts(e)?ib(e.content.toLowerCase())?r.push(a):s.push(a):(r.push(a),s.push(a)):iA(a)?s.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:o}},iR=(e,t)=>ts(e)&&"onclick"===e.content.toLowerCase()?ey(t,!0):4!==e.type?eA(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,ix=(e,t)=>{1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&t.removeNode()},iL=[ig],iM={cloak:io,html:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(53,r)),t.children.length&&(n.onError(iN(54,r)),t.children.length=0),{props:[eI(ey("innerHTML",!0,r),i||ey("",!0))]}},text:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(55,r)),t.children.length&&(n.onError(iN(56,r)),t.children.length=0),{props:[eI(ey("textContent",!0),i?na(i,n)>0?i:eC(n.helperString(j),[i],r):ey("",!0))]}},model:(e,t,n)=>{let i=n4(e,t,n);if(!i.props.length||1===t.tagType)return i;e.arg&&n.onError(iN(58,e.arg.loc));let{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let o=ic,a=!1;if("input"===r||s){let i=tO(t,"type");if(i){if(7===i.type)o=id;else if(i.value)switch(i.value.content){case"radio":o=ia;break;case"checkbox":o=il;break;case"file":a=!0,n.onError(iN(59,e.loc))}}else tC(t)&&(o=id)}else"select"===r&&(o=ih);a||(i.needRuntime=n.helper(o))}else n.onError(iN(57,e.loc));return i.props=i.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),i},on:(e,t,n)=>n1(e,t,n,t=>{let{modifiers:i}=e;if(!i.length)return t;let{key:r,value:s}=t.props[0],{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=iv(r,i,n,e.loc);if(a.includes("right")&&(r=iR(r,"onContextmenu")),a.includes("middle")&&(r=iR(r,"onMouseup")),a.length&&(s=eC(n.helper(ip),[s,JSON.stringify(a)])),o.length&&(!ts(r)||ib(r.content.toLowerCase()))&&(s=eC(n.helper(iu),[s,JSON.stringify(o)])),l.length){let e=l.map(_).join("");r=ts(r)?ey(`${r.content}${e}`,!0):eA(["(",r,`) + "${e}"`])}return{props:[eI(r,s)]}}),show:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(iN(61,r)),{props:[],needRuntime:n.helper(iE)}}};function iP(e,t={}){return ir(e,o({},iS,t,{nodeTransforms:[ix,...iL,...t.nodeTransforms||[]],directiveTransforms:o({},iM,t.directiveTransforms||{}),transformHoist:null}))}function iD(e,t={}){return ns(e,o({},iS,t))}export{x as BASE_TRANSITION,is as BindingTypes,ee as CAMELIZE,et as CAPITALIZE,M as CREATE_BLOCK,k as CREATE_COMMENT,P as CREATE_ELEMENT_BLOCK,V as CREATE_ELEMENT_VNODE,J as CREATE_SLOTS,w as CREATE_STATIC,X as CREATE_TEXT,D as CREATE_VNODE,eJ as CompilerDeprecationTypes,e_ as ConstantTypes,iM as DOMDirectiveTransforms,iI as DOMErrorCodes,iy as DOMErrorMessages,iL as DOMNodeTransforms,eE as ElementTypes,e0 as ErrorCodes,C as FRAGMENT,z as GUARD_REACTIVE_PROPS,eh as IS_MEMO_SAME,el as IS_REF,R as KEEP_ALIVE,W as MERGE_PROPS,K as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,Y as NORMALIZE_STYLE,eu as Namespaces,ef as NodeTypes,L as OPEN_BLOCK,es as POP_SCOPE_ID,er as PUSH_SCOPE_ID,G as RENDER_LIST,q as RENDER_SLOT,U as RESOLVE_COMPONENT,B as RESOLVE_DIRECTIVE,F as RESOLVE_DYNAMIC_COMPONENT,$ as RESOLVE_FILTER,ei as SET_BLOCK_TRACKING,v as SUSPENSE,b as TELEPORT,j as TO_DISPLAY_STRING,Z as TO_HANDLERS,en as TO_HANDLER_KEY,i_ as TRANSITION,im as TRANSITION_GROUP,ti as TS_NODE_TYPES,ea as UNREF,il as V_MODEL_CHECKBOX,id as V_MODEL_DYNAMIC,ia as V_MODEL_RADIO,ih as V_MODEL_SELECT,ic as V_MODEL_TEXT,iu as V_ON_WITH_KEYS,ip as V_ON_WITH_MODIFIERS,iE as V_SHOW,eo as WITH_CTX,H as WITH_DIRECTIVES,ec as WITH_MEMO,tT as advancePositionWithClone,tN as advancePositionWithMutation,tI as assert,ir as baseCompile,ns as baseParse,nY as buildDirectiveArgs,nW as buildProps,nH as buildSlots,eY as checkCompatEnabled,iP as compile,ew as convertToBlock,eT as createArrayExpression,eP as createAssignmentExpression,ex as createBlockStatement,eR as createCacheExpression,eC as createCallExpression,e1 as createCompilerError,eA as createCompoundExpression,ev as createConditionalExpression,iN as createDOMCompilerError,nw as createForLoopParams,eb as createFunctionExpression,eM as createIfStatement,eO as createInterpolation,eN as createObjectExpression,eI as createObjectProperty,eV as createReturnStatement,eS as createRoot,eD as createSequenceExpression,ey as createSimpleExpression,nf as createStructuralDirectiveTransform,eL as createTemplateLiteral,nd as createTransformContext,eg as createVNodeCall,e2 as errorMessages,e8 as extractIdentifiers,ty as findDir,tO as findProp,tX as forAliasRE,nm as generate,S as generateCodeFrame,ii as getBaseTransformPreset,na as getConstantType,tk as getMemoedVNodeCall,eX as getVNodeBlockHelper,ek as getVNodeHelper,tC as hasDynamicKeyVBind,tV as hasScopeRef,ed as helperNameMap,tM as injectProp,to as isCoreComponent,tg as isFnExpression,tm as isFnExpressionBrowser,tS as isFnExpressionNode,te as isFunctionType,e6 as isInDestructureAssignment,e5 as isInNewExpression,tE as isMemberExpression,tu as isMemberExpressionBrowser,tf as isMemberExpressionNode,e4 as isReferencedIdentifier,tl as isSimpleIdentifier,tx as isSlotOutlet,tA as isStaticArgOf,ts as isStaticExp,tt as isStaticProperty,tn as isStaticPropertyKey,tR as isTemplateNode,tb as isText,tv as isVSlot,em as locStub,io as noopDirectiveTransform,iD as parse,iS as parserOptions,nA as processExpression,nk as processFor,nv as processIf,nZ as processSlotOutlet,ep as registerRuntimeHelpers,nj as resolveComponentType,nC as stringifyExpression,tD as toValidAssetId,nF as trackSlotScopes,nB as trackVForSlotScopes,np as transform,nM as transformBind,nJ as transformElement,nO as transformExpression,n4 as transformModel,n1 as transformOn,ig as transformStyle,nu as traverseNode,tr as unwrapTSNode,e7 as walkBlockDeclarations,e9 as walkFunctionParams,e3 as walkIdentifiers,eQ as warnDeprecation};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -474,6 +474,9 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
474
474
|
};
|
|
475
475
|
|
|
476
476
|
function isValidHTMLNesting(parent, child) {
|
|
477
|
+
if (parent === "template") {
|
|
478
|
+
return true;
|
|
479
|
+
}
|
|
477
480
|
if (parent in onlyValidChildren) {
|
|
478
481
|
return onlyValidChildren[parent].has(child);
|
|
479
482
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -5095,9 +5095,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5095
5095
|
hasDynamicKeys = true;
|
|
5096
5096
|
if (exp) {
|
|
5097
5097
|
if (isVBind) {
|
|
5098
|
-
pushRefVForMarker();
|
|
5099
|
-
pushMergeArg();
|
|
5100
5098
|
{
|
|
5099
|
+
pushMergeArg();
|
|
5101
5100
|
{
|
|
5102
5101
|
const hasOverridableKeys = mergeArgs.some((arg2) => {
|
|
5103
5102
|
if (arg2.type === 15) {
|
|
@@ -5127,6 +5126,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5127
5126
|
continue;
|
|
5128
5127
|
}
|
|
5129
5128
|
}
|
|
5129
|
+
pushRefVForMarker();
|
|
5130
|
+
pushMergeArg();
|
|
5130
5131
|
mergeArgs.push(exp);
|
|
5131
5132
|
} else {
|
|
5132
5133
|
pushMergeArg({
|
|
@@ -6398,6 +6399,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
6398
6399
|
};
|
|
6399
6400
|
|
|
6400
6401
|
function isValidHTMLNesting(parent, child) {
|
|
6402
|
+
if (parent === "template") {
|
|
6403
|
+
return true;
|
|
6404
|
+
}
|
|
6401
6405
|
if (parent in onlyValidChildren) {
|
|
6402
6406
|
return onlyValidChildren[parent].has(child);
|
|
6403
6407
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-dom v3.5.
|
|
2
|
+
* @vue/compiler-dom v3.5.16
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/var VueCompilerDOM=function(e){"use strict";let t;function n(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}let i={},r=()=>{},s=()=>!1,o=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),a=Object.assign,l=Array.isArray,c=e=>"string"==typeof e,h=e=>"symbol"==typeof e,d=e=>null!==e&&"object"==typeof e,p=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),u=n("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),f=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,_=f(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),m=f(e=>e.charAt(0).toUpperCase()+e.slice(1)),S=f(e=>e?`on${m(e)}`:""),g=/;(?![^(]*\))/g,T=/:([^]+)/,N=/\/\*[^]*?\*\//g,I=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),y=n("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),O=n("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),A=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),C=Symbol(""),b=Symbol(""),v=Symbol(""),R=Symbol(""),x=Symbol(""),L=Symbol(""),M=Symbol(""),D=Symbol(""),P=Symbol(""),V=Symbol(""),k=Symbol(""),X=Symbol(""),w=Symbol(""),U=Symbol(""),F=Symbol(""),B=Symbol(""),$=Symbol(""),H=Symbol(""),G=Symbol(""),q=Symbol(""),J=Symbol(""),j=Symbol(""),W=Symbol(""),K=Symbol(""),Y=Symbol(""),Q=Symbol(""),z=Symbol(""),Z=Symbol(""),ee=Symbol(""),et=Symbol(""),en=Symbol(""),ei=Symbol(""),er=Symbol(""),es=Symbol(""),eo=Symbol(""),ea=Symbol(""),el=Symbol(""),ec=Symbol(""),eh=Symbol(""),ed={[C]:"Fragment",[b]:"Teleport",[v]:"Suspense",[R]:"KeepAlive",[x]:"BaseTransition",[L]:"openBlock",[M]:"createBlock",[D]:"createElementBlock",[P]:"createVNode",[V]:"createElementVNode",[k]:"createCommentVNode",[X]:"createTextVNode",[w]:"createStaticVNode",[U]:"resolveComponent",[F]:"resolveDynamicComponent",[B]:"resolveDirective",[$]:"resolveFilter",[H]:"withDirectives",[G]:"renderList",[q]:"renderSlot",[J]:"createSlots",[j]:"toDisplayString",[W]:"mergeProps",[K]:"normalizeClass",[Y]:"normalizeStyle",[Q]:"normalizeProps",[z]:"guardReactiveProps",[Z]:"toHandlers",[ee]:"camelize",[et]:"capitalize",[en]:"toHandlerKey",[ei]:"setBlockTracking",[er]:"pushScopeId",[es]:"popScopeId",[eo]:"withCtx",[ea]:"unref",[el]:"isRef",[ec]:"withMemo",[eh]:"isMemoSame"};function ep(e){Object.getOwnPropertySymbols(e).forEach(t=>{ed[t]=e[t]})}let eu={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ef(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:eu}}function eE(e,t,n,i,r,s,o,a=!1,l=!1,c=!1,h=eu){return e&&(a?(e.helper(L),e.helper(eb(e.inSSR,c))):e.helper(eC(e.inSSR,c)),o&&e.helper(H)),{type:13,tag:t,props:n,children:i,patchFlag:r,dynamicProps:s,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:h}}function e_(e,t=eu){return{type:17,loc:t,elements:e}}function em(e,t=eu){return{type:15,loc:t,properties:e}}function eS(e,t){return{type:16,loc:eu,key:c(e)?eg(e,!0):e,value:t}}function eg(e,t=!1,n=eu,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function eT(e,t=eu){return{type:8,loc:t,children:e}}function eN(e,t=[],n=eu){return{type:14,loc:n,callee:e,arguments:t}}function eI(e,t,n=!1,i=!1,r=eu){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:r}}function ey(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:eu}}function eO(e,t,n=!1,i=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:i,needArraySpread:!1,loc:eu}}function eA(e){return{type:21,body:e,loc:eu}}function eC(e,t){return e||t?P:V}function eb(e,t){return e||t?M:D}function ev(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(eC(i,e.isComponent)),t(L),t(eb(i,e.isComponent)))}let eR=new Uint8Array([123,123]),ex=new Uint8Array([125,125]);function eL(e){return e>=97&&e<=122||e>=65&&e<=90}function eM(e){return 32===e||10===e||9===e||12===e||13===e}function eD(e){return 47===e||62===e||eM(e)}function eP(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}let eV={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},ek={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function eX(e,{compatConfig:t}){let n=t&&t[e];return"MODE"===e?n||3:n}function ew(e,t){let n=eX("MODE",t),i=eX(e,t);return 3===n?!0===i:!1!==i}function eU(e,t,n,...i){return ew(e,t)}function eF(e){throw e}function eB(e){}function e$(e,t,n,i){let r=SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return r.code=e,r.loc=t,r}let eH={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
@@ -9,6 +9,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
9
9
|
`,-1),f.hoists.length)){let e=[P,V,k,X,w].filter(e=>y.includes(e)).map(tQ).join(", ");S(`const { ${e} } = _Vue
|
|
10
10
|
`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:i}=t;i();for(let r=0;r<e.length;r++){let s=e[r];s&&(n(`const _hoisted_${r+1} = `),t2(s,t),i())}t.pure=!1})(f.hoists,E),g(),S("return ");let O=(h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(r(`function ${h?"ssrRender":"render"}(${O}) {`),o(),u&&(r("with (_ctx) {"),o(),p&&(r(`const { ${d.map(tQ).join(", ")} } = _Vue
|
|
11
11
|
`,-1),l())),e.components.length&&(tZ(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(tZ(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),tZ(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r(`
|
|
12
|
-
`,0),l()),h||r("return "),e.codegenNode?t2(e.codegenNode,n):r("null"),u&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function tZ(e,t,{helper:n,push:i,newline:r,isTS:s}){let o=n("filter"===t?$:"component"===t?U:B);for(let n=0;n<e.length;n++){let a=e[n],l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${to(a,t)} = ${o}(${JSON.stringify(a)}${l?", true":""})${s?"!":""}`),n<e.length-1&&r()}}function t1(e,t){let n=e.length>3;t.push("["),n&&t.indent(),t0(e,t,n),n&&t.deindent(),t.push("]")}function t0(e,t,n=!1,i=!0){let{push:r,newline:s}=t;for(let o=0;o<e.length;o++){let a=e[o];c(a)?r(a,-3):l(a)?t1(a,t):t2(a,t),o<e.length-1&&(n?(i&&r(","),s()):i&&r(", "))}}function t2(e,t){if(c(e))return void t.push(e,-3);if(h(e))return void t.push(t.helper(e));switch(e.type){case 1:case 9:case 11:case 12:t2(e.codegenNode,t);break;case 2:n=e,t.push(JSON.stringify(n.content),-3,n);break;case 4:t3(e,t);break;case 5:var n,i,r,s=e,o=t;let{push:a,helper:d,pure:p}=o;p&&a(tY),a(`${d(j)}(`),t2(s.content,o),a(")");break;case 8:t4(e,t);break;case 3:var u=e,f=t;let{push:E,helper:_,pure:m}=f;m&&E(tY),E(`${_(k)}(${JSON.stringify(u.content)})`,-3,u);break;case 13:let S;var g=e,T=t;let{push:N,helper:I,pure:y}=T,{tag:O,props:A,children:C,patchFlag:b,dynamicProps:v,directives:R,isBlock:x,disableTracking:M,isComponent:D}=g;b&&(S=String(b)),R&&N(I(H)+"("),x&&N(`(${I(L)}(${M?"true":""}), `),y&&N(tY),N(I(x?eb(T.inSSR,D):eC(T.inSSR,D))+"(",-2,g),t0(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([O,A,C,S,v]),T),N(")"),x&&N(")"),R&&(N(", "),t2(R,T),N(")"));break;case 14:var P=e,V=t;let{push:X,helper:w,pure:U}=V,F=c(P.callee)?P.callee:w(P.callee);U&&X(tY),X(F+"(",-2,P),t0(P.arguments,V),X(")");break;case 15:!function(e,t){let{push:n,indent:i,deindent:r,newline:s}=t,{properties:o}=e;if(!o.length)return n("{}",-2,e);let a=o.length>1;n(a?"{":"{ "),a&&i();for(let e=0;e<o.length;e++){let{key:i,value:r}=o[e],{push:a}=t;8===i.type?(a("["),t4(i,t),a("]")):i.isStatic?a(eY(i.content)?i.content:JSON.stringify(i.content),-2,i):a(`[${i.content}]`,-3,i),n(": "),t2(r,t),e<o.length-1&&(n(","),s())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:i=e,r=t,t1(i.elements,r);break;case 18:var B=e,$=t;let{push:G,indent:q,deindent:J}=$,{params:W,returns:K,body:Y,newline:Q,isSlot:z}=B;z&&G(`_${ed[eo]}(`),G("(",-2,B),l(W)?t0(W,$):W&&t2(W,$),G(") => "),(Q||Y)&&(G("{"),q()),K?(Q&&G("return "),l(K)?t1(K,$):t2(K,$)):Y&&t2(Y,$),(Q||Y)&&(J(),G("}")),z&&(B.isNonScopedSlot&&G(", undefined, true"),G(")"));break;case 19:var Z=e,ee=t;let{test:et,consequent:en,alternate:er,newline:es}=Z,{push:ea,indent:el,deindent:ec,newline:eh}=ee;if(4===et.type){let e=!eY(et.content);e&&ea("("),t3(et,ee),e&&ea(")")}else ea("("),t2(et,ee),ea(")");es&&el(),ee.indentLevel++,es||ea(" "),ea("? "),t2(en,ee),ee.indentLevel--,es&&eh(),es||ea(" "),ea(": ");let ep=19===er.type;!ep&&ee.indentLevel++,t2(er,ee),!ep&&ee.indentLevel--,es&&ec(!0);break;case 20:var eu=e,ef=t;let{push:eE,helper:e_,indent:em,deindent:eS,newline:eg}=ef,{needPauseTracking:eT,needArraySpread:eN}=eu;eN&&eE("[...("),eE(`_cache[${eu.index}] || (`),eT&&(em(),eE(`${e_(ei)}(-1`),eu.inVOnce&&eE(", true"),eE("),"),eg(),eE("(")),eE(`_cache[${eu.index}] = `),t2(eu.value,ef),eT&&(eE(`).cacheIndex = ${eu.index},`),eg(),eE(`${e_(ei)}(1),`),eg(),eE(`_cache[${eu.index}]`),eS()),eE(")"),eN&&eE(")]");break;case 21:t0(e.body,t,!0,!1)}}function t3(e,t){let{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function t4(e,t){for(let n=0;n<e.children.length;n++){let i=e.children[n];c(i)?t.push(i,-3):t2(i,t)}}function t6(e,t,n=!1,i=!1,r=Object.create(t.identifiers)){return e}let t5=tK(/^(if|else|else-if)$/,(e,t,n)=>t9(e,t,n,(e,t,i)=>{let r=n.parent.children,s=r.indexOf(e),o=0;for(;s-- >=0;){let e=r[s];e&&9===e.type&&(o+=e.branches.length)}return()=>{i?e.codegenNode=t8(t,o,n):function(e){for(;;)if(19===e.type)if(19!==e.alternate.type)return e;else e=e.alternate;else 20===e.type&&(e=e.value)}(e.codegenNode).alternate=t8(t,o+e.branches.length-1,n)}}));function t9(e,t,n,i){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){let i=t.exp?t.exp.loc:e.loc;n.onError(e$(28,t.loc)),t.exp=eg("true",!1,i)}if("if"===t.name){var r;let s=t7(e,t),o={type:9,loc:tk((r=e.loc).start.offset,r.end.offset),branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{let r=n.parent.children,s=r.indexOf(e);for(;s-- >=-1;){let o=r[s];if(o&&3===o.type||o&&2===o.type&&!o.content.trim().length){n.removeNode(o);continue}if(o&&9===o.type){"else-if"===t.name&&void 0===o.branches[o.branches.length-1].condition&&n.onError(e$(30,e.loc)),n.removeNode();let r=t7(e,t);o.branches.push(r);let s=i&&i(o,r,!1);tW(r,n),s&&s(),n.currentNode=null}else n.onError(e$(30,e.loc));break}}}function t7(e,t){let n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!e6(e,"for")?e.children:[e],userKey:e5(e,"key"),isTemplateIf:n}}function t8(e,t,n){return e.condition?ey(e.condition,ne(e,t,n),eN(n.helper(k),['""',"true"])):ne(e,t,n)}function ne(e,t,n){let{helper:i}=n,r=eS("key",eg(`${t}`,!1,eu,2)),{children:s}=e,o=s[0];if(1!==s.length||1!==o.type)if(1!==s.length||11!==o.type)return eE(n,i(C),em([r]),s,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode;return tr(e,r,n),e}{let e=o.codegenNode,t=ta(e);return 13===t.type&&ev(t,n),tr(t,r,n),e}}let nt=(e,t,n)=>{let{modifiers:i,loc:r}=e,s=e.arg,{exp:o}=e;if(o&&4===o.type&&!o.content.trim()&&(o=void 0),!o){if(4!==s.type||!s.isStatic)return n.onError(e$(52,s.loc)),{props:[eS(s,eg("",!0,r))]};nn(e),o=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),i.some(e=>"camel"===e.content)&&(4===s.type?s.isStatic?s.content=_(s.content):s.content=`${n.helperString(ee)}(${s.content})`:(s.children.unshift(`${n.helperString(ee)}(`),s.children.push(")"))),!n.inSSR&&(i.some(e=>"prop"===e.content)&&ni(s,"."),i.some(e=>"attr"===e.content)&&ni(s,"^")),{props:[eS(s,o)]}},nn=(e,t)=>{let n=e.arg;e.exp=eg(_(n.content),!1,n.loc)},ni=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},nr=tK("for",(e,t,n)=>{let{helper:i,removeHelper:r}=n;return ns(e,t,n,t=>{let s=eN(i(G),[t.source]),o=tt(e),a=e6(e,"memo"),l=e5(e,"key",!1,!0);l&&7===l.type&&!l.exp&&nn(l);let c=l&&(6===l.type?l.value?eg(l.value.content,!0):void 0:l.exp),h=l&&c?eS("key",c):null,d=4===t.source.type&&t.source.constType>0,p=d?64:l?128:256;return t.codegenNode=eE(n,i(C),void 0,s,p,void 0,void 0,!0,!d,!1,e.loc),()=>{let l,{children:p}=t,u=1!==p.length||1!==p[0].type,f=tn(e)?e:o&&1===e.children.length&&tn(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,o&&h&&tr(l,h,n)):u?l=eE(n,i(C),h?em([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=p[0].codegenNode,o&&h&&tr(l,h,n),!d!==l.isBlock&&(l.isBlock?(r(L),r(eb(n.inSSR,l.isComponent))):r(eC(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(i(L),i(eb(n.inSSR,l.isComponent))):i(eC(n.inSSR,l.isComponent))),a){let e=eI(na(t.parseResult,[eg("_cached")]));e.body=eA([eT(["const _memo = (",a.exp,")"]),eT(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(eh)}(_cached, _memo)) return _cached`]),eT(["const _item = ",l]),eg("_item.memo = _memo"),eg("return _item")]),s.arguments.push(e,eg("_cache"),eg(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(eI(na(t.parseResult),l,!0))}})});function ns(e,t,n,i){if(!t.exp)return void n.onError(e$(31,t.loc));let r=t.forParseResult;if(!r)return void n.onError(e$(32,t.loc));no(r);let{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:h,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:h,objectIndexAlias:d,parseResult:r,children:tt(e)?e.children:[e]};n.replaceNode(p),a.vFor++;let u=i&&i(p);return()=>{a.vFor--,u&&u()}}function no(e,t){e.finalized||(e.finalized=!0)}function na({value:e,key:t,index:n},i=[]){var r=[e,t,n,...i];let s=r.length;for(;s--&&!r[s];);return r.slice(0,s+1).map((e,t)=>e||eg("_".repeat(t+1),!1))}let nl=eg("undefined",!1),nc=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let n=e6(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},nh=(e,t,n,i)=>eI(e,n,!1,!0,n.length?n[0].loc:i);function nd(e,t,n=nh){t.helper(eo);let{children:i,loc:r}=e,s=[],o=[],a=t.scopes.vSlot>0||t.scopes.vFor>0,l=e6(e,"slot",!0);if(l){let{arg:e,exp:t}=l;e&&!ej(e)&&(a=!0),s.push(eS(e||eg("default",!0),n(t,void 0,i,r)))}let c=!1,h=!1,d=[],p=new Set,u=0;for(let e=0;e<i.length;e++){let r,f,E,_,m=i[e];if(!tt(m)||!(r=e6(m,"slot",!0))){3!==m.type&&d.push(m);continue}if(l){t.onError(e$(37,r.loc));break}c=!0;let{children:S,loc:g}=m,{arg:T=eg("default",!0),exp:N,loc:I}=r;ej(T)?f=T?T.content:"default":a=!0;let y=e6(m,"for"),O=n(N,y,S,g);if(E=e6(m,"if"))a=!0,o.push(ey(E.exp,np(T,O,u++),nl));else if(_=e6(m,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&3===(n=i[r]).type;);if(n&&tt(n)&&e6(n,/^(else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=_.exp?ey(_.exp,np(T,O,u++),nl):np(T,O,u++)}else t.onError(e$(30,_.loc))}else if(y){a=!0;let e=y.forParseResult;e?(no(e),o.push(eN(t.helper(G),[e.source,eI(na(e),np(T,O),!0)]))):t.onError(e$(32,y.loc))}else{if(f){if(p.has(f)){t.onError(e$(38,I));continue}p.add(f),"default"===f&&(h=!0)}s.push(eS(T,O))}}if(!l){let e=(e,i)=>{let s=n(e,void 0,i,r);return t.compatConfig&&(s.isNonScopedSlot=!0),eS("default",s)};c?d.length&&d.some(e=>(function e(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():e(t.content))})(e))&&(h?t.onError(e$(39,d[0].loc)):s.push(e(void 0,d))):s.push(e(void 0,i))}let f=a?2:!function e(t){for(let n=0;n<t.length;n++){let i=t[n];switch(i.type){case 1:if(2===i.tagType||e(i.children))return!0;break;case 9:if(e(i.branches))return!0;break;case 10:case 11:if(e(i.children))return!0}}return!1}(e.children)?1:3,E=em(s.concat(eS("_",eg(f+"",!1))),r);return o.length&&(E=eN(t.helper(J),[E,e_(o)])),{slots:E,hasDynamicSlots:a}}function np(e,t,n){let i=[eS("name",e),eS("fn",t)];return null!=n&&i.push(eS("key",eg(String(n),!0))),em(i)}let nu=new WeakMap,nf=(e,t)=>function(){let n,i,r,s,o;if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let{tag:a,props:l}=e,c=1===e.tagType,h=c?nE(e,t):`"${a}"`,p=d(h)&&h.callee===F,u=0,f=p||h===b||h===v||!c&&("svg"===a||"foreignObject"===a||"math"===a);if(l.length>0){let i=n_(e,t,void 0,c,p);n=i.props,u=i.patchFlag,s=i.dynamicPropNames;let r=i.directives;o=r&&r.length?e_(r.map(e=>nS(e,t))):void 0,i.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(h===R&&(f=!0,u|=1024),c&&h!==b&&h!==R){let{slots:n,hasDynamicSlots:r}=nd(e,t);i=n,r&&(u|=1024)}else if(1===e.children.length&&h!==b){let n=e.children[0],r=n.type,s=5===r||8===r;s&&0===t$(n,t)&&(u|=1),i=s||2===r?n:e.children}else i=e.children;s&&s.length&&(r=function(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}(s)),e.codegenNode=eE(t,h,n,i,0===u?void 0:u,r,o,!!f,!1,c,e.loc)};function nE(e,t,n=!1){let{tag:i}=e,r=ng(i),s=e5(e,"is",!1,!0);if(s)if(r||ew("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&eg(s.value.content,!0):(e=s.exp)||(e=eg("is",!1,s.arg.loc)),e)return eN(t.helper(F),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(i=s.value.content.slice(4));let o=eW(i)||t.isBuiltInComponent(i);return o?(n||t.helper(o),o):(t.helper(U),t.components.add(i),to(i,"component"))}function n_(e,t,n=e.props,i,r,s=!1){let a,{tag:l,loc:c,children:d}=e,f=[],E=[],_=[],m=d.length>0,S=!1,g=0,T=!1,N=!1,I=!1,y=!1,O=!1,A=!1,C=[],b=e=>{f.length&&(E.push(em(nm(f),c)),f=[]),e&&E.push(e)},v=()=>{t.scopes.vFor>0&&f.push(eS(eg("ref_for",!0),eg("true")))},R=({key:e,value:n})=>{if(ej(e)){let s=e.content,a=o(s);a&&(!i||r)&&"onclick"!==s.toLowerCase()&&"onUpdate:modelValue"!==s&&!p(s)&&(y=!0),a&&p(s)&&(A=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&t$(n,t)>0||("ref"===s?T=!0:"class"===s?N=!0:"style"===s?I=!0:"key"===s||C.includes(s)||C.push(s),i&&("class"===s||"style"===s)&&!C.includes(s)&&C.push(s))}else O=!0};for(let r=0;r<n.length;r++){let o=n[r];if(6===o.type){let{loc:e,name:n,nameLoc:i,value:r}=o;if("ref"===n&&(T=!0,v()),"is"===n&&(ng(l)||r&&r.content.startsWith("vue:")||ew("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(eS(eg(n,!0,i),eg(r?r.content:"",!0,r?r.loc:e)))}else{let{name:n,arg:r,exp:a,loc:d,modifiers:p}=o,T="bind"===n,N="on"===n;if("slot"===n){i||t.onError(e$(40,d));continue}if("once"===n||"memo"===n||"is"===n||T&&e9(r,"is")&&(ng(l)||ew("COMPILER_IS_ON_ELEMENT",t))||N&&s)continue;if((T&&e9(r,"key")||N&&m&&e9(r,"vue:before-update"))&&(S=!0),T&&e9(r,"ref")&&v(),!r&&(T||N)){if(O=!0,a)if(T){if(v(),b(),ew("COMPILER_V_BIND_OBJECT_ORDER",t)){E.unshift(a);continue}E.push(a)}else b({type:14,loc:d,callee:t.helper(Z),arguments:i?[a]:[a,"true"]});else t.onError(e$(T?34:35,d));continue}T&&p.some(e=>"prop"===e.content)&&(g|=32);let I=t.directiveTransforms[n];if(I){let{props:n,needRuntime:i}=I(o,e,t);s||n.forEach(R),N&&r&&!ej(r)?b(em(n,c)):f.push(...n),i&&(_.push(o),h(i)&&nu.set(o,i))}else!u(n)&&(_.push(o),m&&(S=!0))}}if(E.length?(b(),a=E.length>1?eN(t.helper(W),E,c):E[0]):f.length&&(a=em(nm(f),c)),O?g|=16:(N&&!i&&(g|=2),I&&!i&&(g|=4),C.length&&(g|=8),y&&(g|=32)),!S&&(0===g||32===g)&&(T||A||_.length>0)&&(g|=512),!t.inSSR&&a)switch(a.type){case 15:let x=-1,L=-1,M=!1;for(let e=0;e<a.properties.length;e++){let t=a.properties[e].key;ej(t)?"class"===t.content?x=e:"style"===t.content&&(L=e):t.isHandlerKey||(M=!0)}let D=a.properties[x],P=a.properties[L];M?a=eN(t.helper(Q),[a]):(D&&!ej(D.value)&&(D.value=eN(t.helper(K),[D.value])),P&&(I||4===P.value.type&&"["===P.value.content.trim()[0]||17===P.value.type)&&(P.value=eN(t.helper(Y),[P.value])));break;case 14:break;default:a=eN(t.helper(Q),[eN(t.helper(z),[a])])}return{props:a,directives:_,patchFlag:g,dynamicPropNames:C,shouldUseBlock:S}}function nm(e){let t=new Map,n=[];for(let s=0;s<e.length;s++){var i,r;let a=e[s];if(8===a.key.type||!a.key.isStatic){n.push(a);continue}let l=a.key.content,c=t.get(l);c?("style"===l||"class"===l||o(l))&&(i=c,r=a,17===i.value.type?i.value.elements.push(r.value):i.value=e_([i.value,r.value],i.loc)):(t.set(l,a),n.push(a))}return n}function nS(e,t){let n=[],i=nu.get(e);i?n.push(t.helperString(i)):(t.helper(B),t.directives.add(e.name),n.push(to(e.name,"directive")));let{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));let t=eg("true",!1,r);n.push(em(e.modifiers.map(e=>eS(e,t)),r))}return e_(n,e.loc)}function ng(e){return"component"===e||"Component"===e}let nT=(e,t)=>{if(tn(e)){let{children:n,loc:i}=e,{slotName:r,slotProps:s}=nN(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=eI([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=eN(t.helper(q),o,i)}};function nN(e,t){let n,i='"default"',r=[];for(let t=0;t<e.props.length;t++){let n=e.props[t];if(6===n.type)n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=_(n.name),r.push(n)));else if("bind"===n.name&&e9(n.arg,"name")){if(n.exp)i=n.exp;else if(n.arg&&4===n.arg.type){let e=_(n.arg.content);i=n.exp=eg(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&ej(n.arg)&&(n.arg.content=_(n.arg.content)),r.push(n)}if(r.length>0){let{props:i,directives:s}=n_(e,t,r,!1,!1);n=i,s.length&&t.onError(e$(36,s[0].loc))}return{slotName:i,slotProps:n}}let nI=(e,t,n,i)=>{let r,{loc:s,modifiers:o,arg:a}=e;if(!e.exp&&!o.length,4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),r=eg(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?S(_(e)):`on:${e}`,!0,a.loc)}else r=eT([`${n.helperString(en)}(`,a,")"]);else(r=a).children.unshift(`${n.helperString(en)}(`),r.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){let e=e0(l),t=!(e||e3(l)),n=l.content.includes(";");(t||c&&e)&&(l=eT([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let h={props:[eS(r,l||eg("() => {}",!1,s))]};return i&&(h=i(h)),c&&(h.props[0].value=n.cache(h.props[0].value)),h.props.forEach(e=>e.key.isHandlerKey=!0),h},ny=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let n,i=e.children,r=!1;for(let e=0;e<i.length;e++){let t=i[e];if(e8(t)){r=!0;for(let r=e+1;r<i.length;r++){let s=i[r];if(e8(s))n||(n=i[e]=eT([t],t.loc)),n.children.push(" + ",s),i.splice(r,1),r--;else{n=void 0;break}}}}if(r&&(1!==i.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<i.length;e++){let n=i[e];if(e8(n)||8===n.type){let r=[];(2!==n.type||" "!==n.content)&&r.push(n),t.ssr||0!==t$(n,t)||r.push("1"),i[e]={type:12,content:n,loc:n.loc,codegenNode:eN(t.helper(X),r)}}}}},nO=new WeakSet,nA=(e,t)=>{if(1===e.type&&e6(e,"once",!0)&&!nO.has(e)&&!t.inVOnce&&!t.inSSR)return nO.add(e),t.inVOnce=!0,t.helper(ei),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}},nC=(e,t,n)=>{let i,{exp:r,arg:s}=e;if(!r)return n.onError(e$(41,e.loc)),nb();let o=r.loc.source.trim(),a=4===r.type?r.content:o,l=n.bindingMetadata[o];if("props"===l||"props-aliased"===l)return r.loc,nb();if(!a.trim()||!e0(r))return n.onError(e$(42,r.loc)),nb();let c=s||eg("modelValue",!0),h=s?ej(s)?`onUpdate:${_(s.content)}`:eT(['"onUpdate:" + ',s]):"onUpdate:modelValue",d=n.isTS?"($event: any)":"$event";i=eT([`${d} => ((`,r,") = $event)"]);let p=[eS(c,e.exp),eS(h,i)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map(e=>e.content).map(e=>(eY(e)?e:JSON.stringify(e))+": true").join(", "),n=s?ej(s)?`${s.content}Modifiers`:eT([s,' + "Modifiers"']):"modelModifiers";p.push(eS(n,eg(`{ ${t} }`,!1,e.loc,2)))}return nb(p)};function nb(e=[]){return{props:e}}let nv=/[\w).+\-_$\]]/,nR=(e,t)=>{ew("COMPILER_FILTERS",t)&&(5===e.type?nx(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&nx(e.exp,t)}))};function nx(e,t){if(4===e.type)nL(e,t);else for(let n=0;n<e.children.length;n++){let i=e.children[n];"object"==typeof i&&(4===i.type?nL(i,t):8===i.type?nx(e,t):5===i.type&&nx(i.content,t))}}function nL(e,t){let n=e.content,i=!1,r=!1,s=!1,o=!1,a=0,l=0,c=0,h=0,d,p,u,f,E=[];for(u=0;u<n.length;u++)if(p=d,d=n.charCodeAt(u),i)39===d&&92!==p&&(i=!1);else if(r)34===d&&92!==p&&(r=!1);else if(s)96===d&&92!==p&&(s=!1);else if(o)47===d&&92!==p&&(o=!1);else if(124!==d||124===n.charCodeAt(u+1)||124===n.charCodeAt(u-1)||a||l||c){switch(d){case 34:r=!0;break;case 39:i=!0;break;case 96:s=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--}if(47===d){let e,t=u-1;for(;t>=0&&" "===(e=n.charAt(t));t--);e&&nv.test(e)||(o=!0)}}else void 0===f?(h=u+1,f=n.slice(0,u).trim()):_();function _(){E.push(n.slice(h,u).trim()),h=u+1}if(void 0===f?f=n.slice(0,u).trim():0!==h&&_(),E.length){for(u=0;u<E.length;u++)f=function(e,t,n){n.helper($);let i=t.indexOf("(");if(i<0)return n.filters.add(t),`${to(t,"filter")}(${e})`;{let r=t.slice(0,i),s=t.slice(i+1);return n.filters.add(r),`${to(r,"filter")}(${e}${")"!==s?","+s:s}`}}(f,E[u],t);e.content=f,e.ast=void 0}}let nM=new WeakSet,nD=(e,t)=>{if(1===e.type){let n=e6(e,"memo");if(!(!n||nM.has(e)))return nM.add(e),()=>{let i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&ev(i,t),e.codegenNode=eN(t.helper(ec),[n.exp,eI(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function nP(e){return[[nA,t5,nD,nr,nR,nT,nf,nc,ny],{on:nI,bind:nt,model:nC}]}function nV(e,t={}){let n=t.onError||eF,i="module"===t.mode;!0===t.prefixIdentifiers?n(e$(47)):i&&n(e$(48)),t.cacheHandlers&&n(e$(49)),t.scopeId&&!i&&n(e$(50));let r=a({},t,{prefixIdentifiers:!1}),s=c(e)?tF(e,r):e,[o,l]=nP();return tj(s,a({},r,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:a({},l,t.directiveTransforms||{})})),tz(s,r)}let nk=()=>({props:[]}),nX=Symbol(""),nw=Symbol(""),nU=Symbol(""),nF=Symbol(""),nB=Symbol(""),n$=Symbol(""),nH=Symbol(""),nG=Symbol(""),nq=Symbol(""),nJ=Symbol("");ep({[nX]:"vModelRadio",[nw]:"vModelCheckbox",[nU]:"vModelText",[nF]:"vModelSelect",[nB]:"vModelDynamic",[n$]:"withModifiers",[nH]:"withKeys",[nG]:"vShow",[nq]:"Transition",[nJ]:"TransitionGroup"});let nj={parseMode:"html",isVoidTag:A,isNativeTag:e=>I(e)||y(e)||O(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,n=!1){return(t||(t=document.createElement("div")),n)?(t.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,t.children[0].getAttribute("foo")):(t.innerHTML=e,t.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?nq:"TransitionGroup"===e||"transition-group"===e?nJ:void 0,getNamespace(e,t,n){let i=t?t.ns:n;if(t&&2===i)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(i=0);else t&&1===i&&("foreignObject"===t.tag||"desc"===t.tag||"title"===t.tag)&&(i=0);if(0===i){if("svg"===e)return 1;if("math"===e)return 2}return i}},nW=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:eg("style",!0,t.loc),exp:nK(t.value.content,t.loc),modifiers:[],loc:t.loc})})},nK=(e,t)=>eg(JSON.stringify(function(e){let t={};return e.replace(N,"").split(g).forEach(e=>{if(e){let n=e.split(T);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e)),!1,t,3),nY=n("passive,once,capture"),nQ=n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),nz=n("left,right"),nZ=n("onkeyup,onkeydown,onkeypress"),n1=(e,t,n,i)=>{let r=[],s=[],o=[];for(let i=0;i<t.length;i++){let a=t[i].content;"native"===a&&eU("COMPILER_V_ON_NATIVE",n)||nY(a)?o.push(a):nz(a)?ej(e)?nZ(e.content.toLowerCase())?r.push(a):s.push(a):(r.push(a),s.push(a)):nQ(a)?s.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:o}},n0=(e,t)=>ej(e)&&"onclick"===e.content.toLowerCase()?eg(t,!0):4!==e.type?eT(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,n2=(e,t)=>{1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&t.removeNode()},n3=[nW],n4={cloak:nk,html:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(53,r)),t.children.length&&(n.onError(e$(54,r)),t.children.length=0),{props:[eS(eg("innerHTML",!0,r),i||eg("",!0))]}},text:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(55,r)),t.children.length&&(n.onError(e$(56,r)),t.children.length=0),{props:[eS(eg("textContent",!0),i?t$(i,n)>0?i:eN(n.helperString(j),[i],r):eg("",!0))]}},model:(e,t,n)=>{let i=nC(e,t,n);if(!i.props.length||1===t.tagType)return i;e.arg&&n.onError(e$(58,e.arg.loc));let{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let o=nU,a=!1;if("input"===r||s){let i=e5(t,"type");if(i){if(7===i.type)o=nB;else if(i.value)switch(i.value.content){case"radio":o=nX;break;case"checkbox":o=nw;break;case"file":a=!0,n.onError(e$(59,e.loc))}}else e7(t)&&(o=nB)}else"select"===r&&(o=nF);a||(i.needRuntime=n.helper(o))}else n.onError(e$(57,e.loc));return i.props=i.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),i},on:(e,t,n)=>nI(e,t,n,t=>{let{modifiers:i}=e;if(!i.length)return t;let{key:r,value:s}=t.props[0],{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=n1(r,i,n,e.loc);if(a.includes("right")&&(r=n0(r,"onContextmenu")),a.includes("middle")&&(r=n0(r,"onMouseup")),a.length&&(s=eN(n.helper(n$),[s,JSON.stringify(a)])),o.length&&(!ej(r)||nZ(r.content.toLowerCase()))&&(s=eN(n.helper(nH),[s,JSON.stringify(o)])),l.length){let e=l.map(m).join("");r=ej(r)?eg(`${r.content}${e}`,!0):eT(["(",r,`) + "${e}"`])}return{props:[eS(r,s)]}}),show:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(61,r)),{props:[],needRuntime:n.helper(nG)}}};return e.BASE_TRANSITION=x,e.BindingTypes={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},e.CAMELIZE=ee,e.CAPITALIZE=et,e.CREATE_BLOCK=M,e.CREATE_COMMENT=k,e.CREATE_ELEMENT_BLOCK=D,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=J,e.CREATE_STATIC=w,e.CREATE_TEXT=X,e.CREATE_VNODE=P,e.CompilerDeprecationTypes={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},e.ConstantTypes={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},e.DOMDirectiveTransforms=n4,e.DOMErrorCodes={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},e.DOMErrorMessages={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},e.DOMNodeTransforms=n3,e.ElementTypes={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},e.ErrorCodes={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},e.FRAGMENT=C,e.GUARD_REACTIVE_PROPS=z,e.IS_MEMO_SAME=eh,e.IS_REF=el,e.KEEP_ALIVE=R,e.MERGE_PROPS=W,e.NORMALIZE_CLASS=K,e.NORMALIZE_PROPS=Q,e.NORMALIZE_STYLE=Y,e.Namespaces={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},e.NodeTypes={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},e.OPEN_BLOCK=L,e.POP_SCOPE_ID=es,e.PUSH_SCOPE_ID=er,e.RENDER_LIST=G,e.RENDER_SLOT=q,e.RESOLVE_COMPONENT=U,e.RESOLVE_DIRECTIVE=B,e.RESOLVE_DYNAMIC_COMPONENT=F,e.RESOLVE_FILTER=$,e.SET_BLOCK_TRACKING=ei,e.SUSPENSE=v,e.TELEPORT=b,e.TO_DISPLAY_STRING=j,e.TO_HANDLERS=Z,e.TO_HANDLER_KEY=en,e.TRANSITION=nq,e.TRANSITION_GROUP=nJ,e.TS_NODE_TYPES=eJ,e.UNREF=ea,e.V_MODEL_CHECKBOX=nw,e.V_MODEL_DYNAMIC=nB,e.V_MODEL_RADIO=nX,e.V_MODEL_SELECT=nF,e.V_MODEL_TEXT=nU,e.V_ON_WITH_KEYS=nH,e.V_ON_WITH_MODIFIERS=n$,e.V_SHOW=nG,e.WITH_CTX=eo,e.WITH_DIRECTIVES=H,e.WITH_MEMO=ec,e.advancePositionWithClone=function(e,t,n=t.length){return e4({offset:e.offset,line:e.line,column:e.column},t,n)},e.advancePositionWithMutation=e4,e.assert=function(e,t){if(!e)throw Error(t||"unexpected compiler condition")},e.baseCompile=nV,e.baseParse=tF,e.buildDirectiveArgs=nS,e.buildProps=n_,e.buildSlots=nd,e.checkCompatEnabled=eU,e.compile=function(e,t={}){return nV(e,a({},nj,t,{nodeTransforms:[n2,...n3,...t.nodeTransforms||[]],directiveTransforms:a({},n4,t.directiveTransforms||{}),transformHoist:null}))},e.convertToBlock=ev,e.createArrayExpression=e_,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:eu}},e.createBlockStatement=eA,e.createCacheExpression=eO,e.createCallExpression=eN,e.createCompilerError=e$,e.createCompoundExpression=eT,e.createConditionalExpression=ey,e.createDOMCompilerError=function(e,t){return e$(e,t)},e.createForLoopParams=na,e.createFunctionExpression=eI,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:eu}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:c(e)?eg(e,!1,t):e}},e.createObjectExpression=em,e.createObjectProperty=eS,e.createReturnStatement=function(e){return{type:26,returns:e,loc:eu}},e.createRoot=ef,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:eu}},e.createSimpleExpression=eg,e.createStructuralDirectiveTransform=tK,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:eu}},e.createTransformContext=tJ,e.createVNodeCall=eE,e.errorMessages=eH,e.extractIdentifiers=eG,e.findDir=e6,e.findProp=e5,e.forAliasRE=tl,e.generate=tz,e.generateCodeFrame=function(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let i=e.split(/(\r?\n)/),r=i.filter((e,t)=>t%2==1);i=i.filter((e,t)=>t%2==0);let s=0,o=[];for(let e=0;e<i.length;e++)if((s+=i[e].length+(r[e]&&r[e].length||0))>=t){for(let a=e-2;a<=e+2||n>s;a++){if(a<0||a>=i.length)continue;let l=a+1;o.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${i[a]}`);let c=i[a].length,h=r[a]&&r[a].length||0;if(a===e){let e=t-(s-(c+h)),i=Math.max(1,n>s?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(i))}else if(a>e){if(n>s){let e=Math.max(Math.min(n-s,c),1);o.push(" | "+"^".repeat(e))}s+=c+h}}break}return o.join(`
|
|
12
|
+
`,0),l()),h||r("return "),e.codegenNode?t2(e.codegenNode,n):r("null"),u&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function tZ(e,t,{helper:n,push:i,newline:r,isTS:s}){let o=n("filter"===t?$:"component"===t?U:B);for(let n=0;n<e.length;n++){let a=e[n],l=a.endsWith("__self");l&&(a=a.slice(0,-6)),i(`const ${to(a,t)} = ${o}(${JSON.stringify(a)}${l?", true":""})${s?"!":""}`),n<e.length-1&&r()}}function t1(e,t){let n=e.length>3;t.push("["),n&&t.indent(),t0(e,t,n),n&&t.deindent(),t.push("]")}function t0(e,t,n=!1,i=!0){let{push:r,newline:s}=t;for(let o=0;o<e.length;o++){let a=e[o];c(a)?r(a,-3):l(a)?t1(a,t):t2(a,t),o<e.length-1&&(n?(i&&r(","),s()):i&&r(", "))}}function t2(e,t){if(c(e))return void t.push(e,-3);if(h(e))return void t.push(t.helper(e));switch(e.type){case 1:case 9:case 11:case 12:t2(e.codegenNode,t);break;case 2:n=e,t.push(JSON.stringify(n.content),-3,n);break;case 4:t3(e,t);break;case 5:var n,i,r,s=e,o=t;let{push:a,helper:d,pure:p}=o;p&&a(tY),a(`${d(j)}(`),t2(s.content,o),a(")");break;case 8:t4(e,t);break;case 3:var u=e,f=t;let{push:E,helper:_,pure:m}=f;m&&E(tY),E(`${_(k)}(${JSON.stringify(u.content)})`,-3,u);break;case 13:let S;var g=e,T=t;let{push:N,helper:I,pure:y}=T,{tag:O,props:A,children:C,patchFlag:b,dynamicProps:v,directives:R,isBlock:x,disableTracking:M,isComponent:D}=g;b&&(S=String(b)),R&&N(I(H)+"("),x&&N(`(${I(L)}(${M?"true":""}), `),y&&N(tY),N(I(x?eb(T.inSSR,D):eC(T.inSSR,D))+"(",-2,g),t0(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([O,A,C,S,v]),T),N(")"),x&&N(")"),R&&(N(", "),t2(R,T),N(")"));break;case 14:var P=e,V=t;let{push:X,helper:w,pure:U}=V,F=c(P.callee)?P.callee:w(P.callee);U&&X(tY),X(F+"(",-2,P),t0(P.arguments,V),X(")");break;case 15:!function(e,t){let{push:n,indent:i,deindent:r,newline:s}=t,{properties:o}=e;if(!o.length)return n("{}",-2,e);let a=o.length>1;n(a?"{":"{ "),a&&i();for(let e=0;e<o.length;e++){let{key:i,value:r}=o[e],{push:a}=t;8===i.type?(a("["),t4(i,t),a("]")):i.isStatic?a(eY(i.content)?i.content:JSON.stringify(i.content),-2,i):a(`[${i.content}]`,-3,i),n(": "),t2(r,t),e<o.length-1&&(n(","),s())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:i=e,r=t,t1(i.elements,r);break;case 18:var B=e,$=t;let{push:G,indent:q,deindent:J}=$,{params:W,returns:K,body:Y,newline:Q,isSlot:z}=B;z&&G(`_${ed[eo]}(`),G("(",-2,B),l(W)?t0(W,$):W&&t2(W,$),G(") => "),(Q||Y)&&(G("{"),q()),K?(Q&&G("return "),l(K)?t1(K,$):t2(K,$)):Y&&t2(Y,$),(Q||Y)&&(J(),G("}")),z&&(B.isNonScopedSlot&&G(", undefined, true"),G(")"));break;case 19:var Z=e,ee=t;let{test:et,consequent:en,alternate:er,newline:es}=Z,{push:ea,indent:el,deindent:ec,newline:eh}=ee;if(4===et.type){let e=!eY(et.content);e&&ea("("),t3(et,ee),e&&ea(")")}else ea("("),t2(et,ee),ea(")");es&&el(),ee.indentLevel++,es||ea(" "),ea("? "),t2(en,ee),ee.indentLevel--,es&&eh(),es||ea(" "),ea(": ");let ep=19===er.type;!ep&&ee.indentLevel++,t2(er,ee),!ep&&ee.indentLevel--,es&&ec(!0);break;case 20:var eu=e,ef=t;let{push:eE,helper:e_,indent:em,deindent:eS,newline:eg}=ef,{needPauseTracking:eT,needArraySpread:eN}=eu;eN&&eE("[...("),eE(`_cache[${eu.index}] || (`),eT&&(em(),eE(`${e_(ei)}(-1`),eu.inVOnce&&eE(", true"),eE("),"),eg(),eE("(")),eE(`_cache[${eu.index}] = `),t2(eu.value,ef),eT&&(eE(`).cacheIndex = ${eu.index},`),eg(),eE(`${e_(ei)}(1),`),eg(),eE(`_cache[${eu.index}]`),eS()),eE(")"),eN&&eE(")]");break;case 21:t0(e.body,t,!0,!1)}}function t3(e,t){let{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function t4(e,t){for(let n=0;n<e.children.length;n++){let i=e.children[n];c(i)?t.push(i,-3):t2(i,t)}}function t6(e,t,n=!1,i=!1,r=Object.create(t.identifiers)){return e}let t5=tK(/^(if|else|else-if)$/,(e,t,n)=>t9(e,t,n,(e,t,i)=>{let r=n.parent.children,s=r.indexOf(e),o=0;for(;s-- >=0;){let e=r[s];e&&9===e.type&&(o+=e.branches.length)}return()=>{i?e.codegenNode=t8(t,o,n):function(e){for(;;)if(19===e.type)if(19!==e.alternate.type)return e;else e=e.alternate;else 20===e.type&&(e=e.value)}(e.codegenNode).alternate=t8(t,o+e.branches.length-1,n)}}));function t9(e,t,n,i){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){let i=t.exp?t.exp.loc:e.loc;n.onError(e$(28,t.loc)),t.exp=eg("true",!1,i)}if("if"===t.name){var r;let s=t7(e,t),o={type:9,loc:tk((r=e.loc).start.offset,r.end.offset),branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{let r=n.parent.children,s=r.indexOf(e);for(;s-- >=-1;){let o=r[s];if(o&&3===o.type||o&&2===o.type&&!o.content.trim().length){n.removeNode(o);continue}if(o&&9===o.type){"else-if"===t.name&&void 0===o.branches[o.branches.length-1].condition&&n.onError(e$(30,e.loc)),n.removeNode();let r=t7(e,t);o.branches.push(r);let s=i&&i(o,r,!1);tW(r,n),s&&s(),n.currentNode=null}else n.onError(e$(30,e.loc));break}}}function t7(e,t){let n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!e6(e,"for")?e.children:[e],userKey:e5(e,"key"),isTemplateIf:n}}function t8(e,t,n){return e.condition?ey(e.condition,ne(e,t,n),eN(n.helper(k),['""',"true"])):ne(e,t,n)}function ne(e,t,n){let{helper:i}=n,r=eS("key",eg(`${t}`,!1,eu,2)),{children:s}=e,o=s[0];if(1!==s.length||1!==o.type)if(1!==s.length||11!==o.type)return eE(n,i(C),em([r]),s,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode;return tr(e,r,n),e}{let e=o.codegenNode,t=ta(e);return 13===t.type&&ev(t,n),tr(t,r,n),e}}let nt=(e,t,n)=>{let{modifiers:i,loc:r}=e,s=e.arg,{exp:o}=e;if(o&&4===o.type&&!o.content.trim()&&(o=void 0),!o){if(4!==s.type||!s.isStatic)return n.onError(e$(52,s.loc)),{props:[eS(s,eg("",!0,r))]};nn(e),o=e.exp}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),i.some(e=>"camel"===e.content)&&(4===s.type?s.isStatic?s.content=_(s.content):s.content=`${n.helperString(ee)}(${s.content})`:(s.children.unshift(`${n.helperString(ee)}(`),s.children.push(")"))),!n.inSSR&&(i.some(e=>"prop"===e.content)&&ni(s,"."),i.some(e=>"attr"===e.content)&&ni(s,"^")),{props:[eS(s,o)]}},nn=(e,t)=>{let n=e.arg;e.exp=eg(_(n.content),!1,n.loc)},ni=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},nr=tK("for",(e,t,n)=>{let{helper:i,removeHelper:r}=n;return ns(e,t,n,t=>{let s=eN(i(G),[t.source]),o=tt(e),a=e6(e,"memo"),l=e5(e,"key",!1,!0);l&&7===l.type&&!l.exp&&nn(l);let c=l&&(6===l.type?l.value?eg(l.value.content,!0):void 0:l.exp),h=l&&c?eS("key",c):null,d=4===t.source.type&&t.source.constType>0,p=d?64:l?128:256;return t.codegenNode=eE(n,i(C),void 0,s,p,void 0,void 0,!0,!d,!1,e.loc),()=>{let l,{children:p}=t,u=1!==p.length||1!==p[0].type,f=tn(e)?e:o&&1===e.children.length&&tn(e.children[0])?e.children[0]:null;if(f?(l=f.codegenNode,o&&h&&tr(l,h,n)):u?l=eE(n,i(C),h?em([h]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(l=p[0].codegenNode,o&&h&&tr(l,h,n),!d!==l.isBlock&&(l.isBlock?(r(L),r(eb(n.inSSR,l.isComponent))):r(eC(n.inSSR,l.isComponent))),l.isBlock=!d,l.isBlock?(i(L),i(eb(n.inSSR,l.isComponent))):i(eC(n.inSSR,l.isComponent))),a){let e=eI(na(t.parseResult,[eg("_cached")]));e.body=eA([eT(["const _memo = (",a.exp,")"]),eT(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(eh)}(_cached, _memo)) return _cached`]),eT(["const _item = ",l]),eg("_item.memo = _memo"),eg("return _item")]),s.arguments.push(e,eg("_cache"),eg(String(n.cached.length))),n.cached.push(null)}else s.arguments.push(eI(na(t.parseResult),l,!0))}})});function ns(e,t,n,i){if(!t.exp)return void n.onError(e$(31,t.loc));let r=t.forParseResult;if(!r)return void n.onError(e$(32,t.loc));no(r);let{addIdentifiers:s,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:h,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:h,objectIndexAlias:d,parseResult:r,children:tt(e)?e.children:[e]};n.replaceNode(p),a.vFor++;let u=i&&i(p);return()=>{a.vFor--,u&&u()}}function no(e,t){e.finalized||(e.finalized=!0)}function na({value:e,key:t,index:n},i=[]){var r=[e,t,n,...i];let s=r.length;for(;s--&&!r[s];);return r.slice(0,s+1).map((e,t)=>e||eg("_".repeat(t+1),!1))}let nl=eg("undefined",!1),nc=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){let n=e6(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},nh=(e,t,n,i)=>eI(e,n,!1,!0,n.length?n[0].loc:i);function nd(e,t,n=nh){t.helper(eo);let{children:i,loc:r}=e,s=[],o=[],a=t.scopes.vSlot>0||t.scopes.vFor>0,l=e6(e,"slot",!0);if(l){let{arg:e,exp:t}=l;e&&!ej(e)&&(a=!0),s.push(eS(e||eg("default",!0),n(t,void 0,i,r)))}let c=!1,h=!1,d=[],p=new Set,u=0;for(let e=0;e<i.length;e++){let r,f,E,_,m=i[e];if(!tt(m)||!(r=e6(m,"slot",!0))){3!==m.type&&d.push(m);continue}if(l){t.onError(e$(37,r.loc));break}c=!0;let{children:S,loc:g}=m,{arg:T=eg("default",!0),exp:N,loc:I}=r;ej(T)?f=T?T.content:"default":a=!0;let y=e6(m,"for"),O=n(N,y,S,g);if(E=e6(m,"if"))a=!0,o.push(ey(E.exp,np(T,O,u++),nl));else if(_=e6(m,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&3===(n=i[r]).type;);if(n&&tt(n)&&e6(n,/^(else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=_.exp?ey(_.exp,np(T,O,u++),nl):np(T,O,u++)}else t.onError(e$(30,_.loc))}else if(y){a=!0;let e=y.forParseResult;e?(no(e),o.push(eN(t.helper(G),[e.source,eI(na(e),np(T,O),!0)]))):t.onError(e$(32,y.loc))}else{if(f){if(p.has(f)){t.onError(e$(38,I));continue}p.add(f),"default"===f&&(h=!0)}s.push(eS(T,O))}}if(!l){let e=(e,i)=>{let s=n(e,void 0,i,r);return t.compatConfig&&(s.isNonScopedSlot=!0),eS("default",s)};c?d.length&&d.some(e=>(function e(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():e(t.content))})(e))&&(h?t.onError(e$(39,d[0].loc)):s.push(e(void 0,d))):s.push(e(void 0,i))}let f=a?2:!function e(t){for(let n=0;n<t.length;n++){let i=t[n];switch(i.type){case 1:if(2===i.tagType||e(i.children))return!0;break;case 9:if(e(i.branches))return!0;break;case 10:case 11:if(e(i.children))return!0}}return!1}(e.children)?1:3,E=em(s.concat(eS("_",eg(f+"",!1))),r);return o.length&&(E=eN(t.helper(J),[E,e_(o)])),{slots:E,hasDynamicSlots:a}}function np(e,t,n){let i=[eS("name",e),eS("fn",t)];return null!=n&&i.push(eS("key",eg(String(n),!0))),em(i)}let nu=new WeakMap,nf=(e,t)=>function(){let n,i,r,s,o;if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;let{tag:a,props:l}=e,c=1===e.tagType,h=c?nE(e,t):`"${a}"`,p=d(h)&&h.callee===F,u=0,f=p||h===b||h===v||!c&&("svg"===a||"foreignObject"===a||"math"===a);if(l.length>0){let i=n_(e,t,void 0,c,p);n=i.props,u=i.patchFlag,s=i.dynamicPropNames;let r=i.directives;o=r&&r.length?e_(r.map(e=>nS(e,t))):void 0,i.shouldUseBlock&&(f=!0)}if(e.children.length>0)if(h===R&&(f=!0,u|=1024),c&&h!==b&&h!==R){let{slots:n,hasDynamicSlots:r}=nd(e,t);i=n,r&&(u|=1024)}else if(1===e.children.length&&h!==b){let n=e.children[0],r=n.type,s=5===r||8===r;s&&0===t$(n,t)&&(u|=1),i=s||2===r?n:e.children}else i=e.children;s&&s.length&&(r=function(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}(s)),e.codegenNode=eE(t,h,n,i,0===u?void 0:u,r,o,!!f,!1,c,e.loc)};function nE(e,t,n=!1){let{tag:i}=e,r=ng(i),s=e5(e,"is",!1,!0);if(s)if(r||ew("COMPILER_IS_ON_ELEMENT",t)){let e;if(6===s.type?e=s.value&&eg(s.value.content,!0):(e=s.exp)||(e=eg("is",!1,s.arg.loc)),e)return eN(t.helper(F),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(i=s.value.content.slice(4));let o=eW(i)||t.isBuiltInComponent(i);return o?(n||t.helper(o),o):(t.helper(U),t.components.add(i),to(i,"component"))}function n_(e,t,n=e.props,i,r,s=!1){let a,{tag:l,loc:c,children:d}=e,f=[],E=[],_=[],m=d.length>0,S=!1,g=0,T=!1,N=!1,I=!1,y=!1,O=!1,A=!1,C=[],b=e=>{f.length&&(E.push(em(nm(f),c)),f=[]),e&&E.push(e)},v=()=>{t.scopes.vFor>0&&f.push(eS(eg("ref_for",!0),eg("true")))},R=({key:e,value:n})=>{if(ej(e)){let s=e.content,a=o(s);a&&(!i||r)&&"onclick"!==s.toLowerCase()&&"onUpdate:modelValue"!==s&&!p(s)&&(y=!0),a&&p(s)&&(A=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&t$(n,t)>0||("ref"===s?T=!0:"class"===s?N=!0:"style"===s?I=!0:"key"===s||C.includes(s)||C.push(s),i&&("class"===s||"style"===s)&&!C.includes(s)&&C.push(s))}else O=!0};for(let r=0;r<n.length;r++){let o=n[r];if(6===o.type){let{loc:e,name:n,nameLoc:i,value:r}=o;if("ref"===n&&(T=!0,v()),"is"===n&&(ng(l)||r&&r.content.startsWith("vue:")||ew("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(eS(eg(n,!0,i),eg(r?r.content:"",!0,r?r.loc:e)))}else{let{name:n,arg:r,exp:a,loc:d,modifiers:p}=o,T="bind"===n,N="on"===n;if("slot"===n){i||t.onError(e$(40,d));continue}if("once"===n||"memo"===n||"is"===n||T&&e9(r,"is")&&(ng(l)||ew("COMPILER_IS_ON_ELEMENT",t))||N&&s)continue;if((T&&e9(r,"key")||N&&m&&e9(r,"vue:before-update"))&&(S=!0),T&&e9(r,"ref")&&v(),!r&&(T||N)){if(O=!0,a)if(T){if(b(),ew("COMPILER_V_BIND_OBJECT_ORDER",t)){E.unshift(a);continue}v(),b(),E.push(a)}else b({type:14,loc:d,callee:t.helper(Z),arguments:i?[a]:[a,"true"]});else t.onError(e$(T?34:35,d));continue}T&&p.some(e=>"prop"===e.content)&&(g|=32);let I=t.directiveTransforms[n];if(I){let{props:n,needRuntime:i}=I(o,e,t);s||n.forEach(R),N&&r&&!ej(r)?b(em(n,c)):f.push(...n),i&&(_.push(o),h(i)&&nu.set(o,i))}else!u(n)&&(_.push(o),m&&(S=!0))}}if(E.length?(b(),a=E.length>1?eN(t.helper(W),E,c):E[0]):f.length&&(a=em(nm(f),c)),O?g|=16:(N&&!i&&(g|=2),I&&!i&&(g|=4),C.length&&(g|=8),y&&(g|=32)),!S&&(0===g||32===g)&&(T||A||_.length>0)&&(g|=512),!t.inSSR&&a)switch(a.type){case 15:let x=-1,L=-1,M=!1;for(let e=0;e<a.properties.length;e++){let t=a.properties[e].key;ej(t)?"class"===t.content?x=e:"style"===t.content&&(L=e):t.isHandlerKey||(M=!0)}let D=a.properties[x],P=a.properties[L];M?a=eN(t.helper(Q),[a]):(D&&!ej(D.value)&&(D.value=eN(t.helper(K),[D.value])),P&&(I||4===P.value.type&&"["===P.value.content.trim()[0]||17===P.value.type)&&(P.value=eN(t.helper(Y),[P.value])));break;case 14:break;default:a=eN(t.helper(Q),[eN(t.helper(z),[a])])}return{props:a,directives:_,patchFlag:g,dynamicPropNames:C,shouldUseBlock:S}}function nm(e){let t=new Map,n=[];for(let s=0;s<e.length;s++){var i,r;let a=e[s];if(8===a.key.type||!a.key.isStatic){n.push(a);continue}let l=a.key.content,c=t.get(l);c?("style"===l||"class"===l||o(l))&&(i=c,r=a,17===i.value.type?i.value.elements.push(r.value):i.value=e_([i.value,r.value],i.loc)):(t.set(l,a),n.push(a))}return n}function nS(e,t){let n=[],i=nu.get(e);i?n.push(t.helperString(i)):(t.helper(B),t.directives.add(e.name),n.push(to(e.name,"directive")));let{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));let t=eg("true",!1,r);n.push(em(e.modifiers.map(e=>eS(e,t)),r))}return e_(n,e.loc)}function ng(e){return"component"===e||"Component"===e}let nT=(e,t)=>{if(tn(e)){let{children:n,loc:i}=e,{slotName:r,slotProps:s}=nN(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],a=2;s&&(o[2]=s,a=3),n.length&&(o[3]=eI([],n,!1,!1,i),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=eN(t.helper(q),o,i)}};function nN(e,t){let n,i='"default"',r=[];for(let t=0;t<e.props.length;t++){let n=e.props[t];if(6===n.type)n.value&&("name"===n.name?i=JSON.stringify(n.value.content):(n.name=_(n.name),r.push(n)));else if("bind"===n.name&&e9(n.arg,"name")){if(n.exp)i=n.exp;else if(n.arg&&4===n.arg.type){let e=_(n.arg.content);i=n.exp=eg(e,!1,n.arg.loc)}}else"bind"===n.name&&n.arg&&ej(n.arg)&&(n.arg.content=_(n.arg.content)),r.push(n)}if(r.length>0){let{props:i,directives:s}=n_(e,t,r,!1,!1);n=i,s.length&&t.onError(e$(36,s[0].loc))}return{slotName:i,slotProps:n}}let nI=(e,t,n,i)=>{let r,{loc:s,modifiers:o,arg:a}=e;if(!e.exp&&!o.length,4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),r=eg(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?S(_(e)):`on:${e}`,!0,a.loc)}else r=eT([`${n.helperString(en)}(`,a,")"]);else(r=a).children.unshift(`${n.helperString(en)}(`),r.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){let e=e0(l),t=!(e||e3(l)),n=l.content.includes(";");(t||c&&e)&&(l=eT([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let h={props:[eS(r,l||eg("() => {}",!1,s))]};return i&&(h=i(h)),c&&(h.props[0].value=n.cache(h.props[0].value)),h.props.forEach(e=>e.key.isHandlerKey=!0),h},ny=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{let n,i=e.children,r=!1;for(let e=0;e<i.length;e++){let t=i[e];if(e8(t)){r=!0;for(let r=e+1;r<i.length;r++){let s=i[r];if(e8(s))n||(n=i[e]=eT([t],t.loc)),n.children.push(" + ",s),i.splice(r,1),r--;else{n=void 0;break}}}}if(r&&(1!==i.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name])||"template"===e.tag)))for(let e=0;e<i.length;e++){let n=i[e];if(e8(n)||8===n.type){let r=[];(2!==n.type||" "!==n.content)&&r.push(n),t.ssr||0!==t$(n,t)||r.push("1"),i[e]={type:12,content:n,loc:n.loc,codegenNode:eN(t.helper(X),r)}}}}},nO=new WeakSet,nA=(e,t)=>{if(1===e.type&&e6(e,"once",!0)&&!nO.has(e)&&!t.inVOnce&&!t.inSSR)return nO.add(e),t.inVOnce=!0,t.helper(ei),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}},nC=(e,t,n)=>{let i,{exp:r,arg:s}=e;if(!r)return n.onError(e$(41,e.loc)),nb();let o=r.loc.source.trim(),a=4===r.type?r.content:o,l=n.bindingMetadata[o];if("props"===l||"props-aliased"===l)return r.loc,nb();if(!a.trim()||!e0(r))return n.onError(e$(42,r.loc)),nb();let c=s||eg("modelValue",!0),h=s?ej(s)?`onUpdate:${_(s.content)}`:eT(['"onUpdate:" + ',s]):"onUpdate:modelValue",d=n.isTS?"($event: any)":"$event";i=eT([`${d} => ((`,r,") = $event)"]);let p=[eS(c,e.exp),eS(h,i)];if(e.modifiers.length&&1===t.tagType){let t=e.modifiers.map(e=>e.content).map(e=>(eY(e)?e:JSON.stringify(e))+": true").join(", "),n=s?ej(s)?`${s.content}Modifiers`:eT([s,' + "Modifiers"']):"modelModifiers";p.push(eS(n,eg(`{ ${t} }`,!1,e.loc,2)))}return nb(p)};function nb(e=[]){return{props:e}}let nv=/[\w).+\-_$\]]/,nR=(e,t)=>{ew("COMPILER_FILTERS",t)&&(5===e.type?nx(e.content,t):1===e.type&&e.props.forEach(e=>{7===e.type&&"for"!==e.name&&e.exp&&nx(e.exp,t)}))};function nx(e,t){if(4===e.type)nL(e,t);else for(let n=0;n<e.children.length;n++){let i=e.children[n];"object"==typeof i&&(4===i.type?nL(i,t):8===i.type?nx(e,t):5===i.type&&nx(i.content,t))}}function nL(e,t){let n=e.content,i=!1,r=!1,s=!1,o=!1,a=0,l=0,c=0,h=0,d,p,u,f,E=[];for(u=0;u<n.length;u++)if(p=d,d=n.charCodeAt(u),i)39===d&&92!==p&&(i=!1);else if(r)34===d&&92!==p&&(r=!1);else if(s)96===d&&92!==p&&(s=!1);else if(o)47===d&&92!==p&&(o=!1);else if(124!==d||124===n.charCodeAt(u+1)||124===n.charCodeAt(u-1)||a||l||c){switch(d){case 34:r=!0;break;case 39:i=!0;break;case 96:s=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--}if(47===d){let e,t=u-1;for(;t>=0&&" "===(e=n.charAt(t));t--);e&&nv.test(e)||(o=!0)}}else void 0===f?(h=u+1,f=n.slice(0,u).trim()):_();function _(){E.push(n.slice(h,u).trim()),h=u+1}if(void 0===f?f=n.slice(0,u).trim():0!==h&&_(),E.length){for(u=0;u<E.length;u++)f=function(e,t,n){n.helper($);let i=t.indexOf("(");if(i<0)return n.filters.add(t),`${to(t,"filter")}(${e})`;{let r=t.slice(0,i),s=t.slice(i+1);return n.filters.add(r),`${to(r,"filter")}(${e}${")"!==s?","+s:s}`}}(f,E[u],t);e.content=f,e.ast=void 0}}let nM=new WeakSet,nD=(e,t)=>{if(1===e.type){let n=e6(e,"memo");if(!(!n||nM.has(e)))return nM.add(e),()=>{let i=e.codegenNode||t.currentNode.codegenNode;i&&13===i.type&&(1!==e.tagType&&ev(i,t),e.codegenNode=eN(t.helper(ec),[n.exp,eI(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))}}};function nP(e){return[[nA,t5,nD,nr,nR,nT,nf,nc,ny],{on:nI,bind:nt,model:nC}]}function nV(e,t={}){let n=t.onError||eF,i="module"===t.mode;!0===t.prefixIdentifiers?n(e$(47)):i&&n(e$(48)),t.cacheHandlers&&n(e$(49)),t.scopeId&&!i&&n(e$(50));let r=a({},t,{prefixIdentifiers:!1}),s=c(e)?tF(e,r):e,[o,l]=nP();return tj(s,a({},r,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:a({},l,t.directiveTransforms||{})})),tz(s,r)}let nk=()=>({props:[]}),nX=Symbol(""),nw=Symbol(""),nU=Symbol(""),nF=Symbol(""),nB=Symbol(""),n$=Symbol(""),nH=Symbol(""),nG=Symbol(""),nq=Symbol(""),nJ=Symbol("");ep({[nX]:"vModelRadio",[nw]:"vModelCheckbox",[nU]:"vModelText",[nF]:"vModelSelect",[nB]:"vModelDynamic",[n$]:"withModifiers",[nH]:"withKeys",[nG]:"vShow",[nq]:"Transition",[nJ]:"TransitionGroup"});let nj={parseMode:"html",isVoidTag:A,isNativeTag:e=>I(e)||y(e)||O(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:function(e,n=!1){return(t||(t=document.createElement("div")),n)?(t.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,t.children[0].getAttribute("foo")):(t.innerHTML=e,t.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?nq:"TransitionGroup"===e||"transition-group"===e?nJ:void 0,getNamespace(e,t,n){let i=t?t.ns:n;if(t&&2===i)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(i=0);else t&&1===i&&("foreignObject"===t.tag||"desc"===t.tag||"title"===t.tag)&&(i=0);if(0===i){if("svg"===e)return 1;if("math"===e)return 2}return i}},nW=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:eg("style",!0,t.loc),exp:nK(t.value.content,t.loc),modifiers:[],loc:t.loc})})},nK=(e,t)=>eg(JSON.stringify(function(e){let t={};return e.replace(N,"").split(g).forEach(e=>{if(e){let n=e.split(T);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e)),!1,t,3),nY=n("passive,once,capture"),nQ=n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),nz=n("left,right"),nZ=n("onkeyup,onkeydown,onkeypress"),n1=(e,t,n,i)=>{let r=[],s=[],o=[];for(let i=0;i<t.length;i++){let a=t[i].content;"native"===a&&eU("COMPILER_V_ON_NATIVE",n)||nY(a)?o.push(a):nz(a)?ej(e)?nZ(e.content.toLowerCase())?r.push(a):s.push(a):(r.push(a),s.push(a)):nQ(a)?s.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:o}},n0=(e,t)=>ej(e)&&"onclick"===e.content.toLowerCase()?eg(t,!0):4!==e.type?eT(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,n2=(e,t)=>{1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&t.removeNode()},n3=[nW],n4={cloak:nk,html:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(53,r)),t.children.length&&(n.onError(e$(54,r)),t.children.length=0),{props:[eS(eg("innerHTML",!0,r),i||eg("",!0))]}},text:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(55,r)),t.children.length&&(n.onError(e$(56,r)),t.children.length=0),{props:[eS(eg("textContent",!0),i?t$(i,n)>0?i:eN(n.helperString(j),[i],r):eg("",!0))]}},model:(e,t,n)=>{let i=nC(e,t,n);if(!i.props.length||1===t.tagType)return i;e.arg&&n.onError(e$(58,e.arg.loc));let{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let o=nU,a=!1;if("input"===r||s){let i=e5(t,"type");if(i){if(7===i.type)o=nB;else if(i.value)switch(i.value.content){case"radio":o=nX;break;case"checkbox":o=nw;break;case"file":a=!0,n.onError(e$(59,e.loc))}}else e7(t)&&(o=nB)}else"select"===r&&(o=nF);a||(i.needRuntime=n.helper(o))}else n.onError(e$(57,e.loc));return i.props=i.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),i},on:(e,t,n)=>nI(e,t,n,t=>{let{modifiers:i}=e;if(!i.length)return t;let{key:r,value:s}=t.props[0],{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=n1(r,i,n,e.loc);if(a.includes("right")&&(r=n0(r,"onContextmenu")),a.includes("middle")&&(r=n0(r,"onMouseup")),a.length&&(s=eN(n.helper(n$),[s,JSON.stringify(a)])),o.length&&(!ej(r)||nZ(r.content.toLowerCase()))&&(s=eN(n.helper(nH),[s,JSON.stringify(o)])),l.length){let e=l.map(m).join("");r=ej(r)?eg(`${r.content}${e}`,!0):eT(["(",r,`) + "${e}"`])}return{props:[eS(r,s)]}}),show:(e,t,n)=>{let{exp:i,loc:r}=e;return i||n.onError(e$(61,r)),{props:[],needRuntime:n.helper(nG)}}};return e.BASE_TRANSITION=x,e.BindingTypes={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},e.CAMELIZE=ee,e.CAPITALIZE=et,e.CREATE_BLOCK=M,e.CREATE_COMMENT=k,e.CREATE_ELEMENT_BLOCK=D,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=J,e.CREATE_STATIC=w,e.CREATE_TEXT=X,e.CREATE_VNODE=P,e.CompilerDeprecationTypes={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},e.ConstantTypes={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},e.DOMDirectiveTransforms=n4,e.DOMErrorCodes={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},e.DOMErrorMessages={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},e.DOMNodeTransforms=n3,e.ElementTypes={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},e.ErrorCodes={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},e.FRAGMENT=C,e.GUARD_REACTIVE_PROPS=z,e.IS_MEMO_SAME=eh,e.IS_REF=el,e.KEEP_ALIVE=R,e.MERGE_PROPS=W,e.NORMALIZE_CLASS=K,e.NORMALIZE_PROPS=Q,e.NORMALIZE_STYLE=Y,e.Namespaces={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},e.NodeTypes={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},e.OPEN_BLOCK=L,e.POP_SCOPE_ID=es,e.PUSH_SCOPE_ID=er,e.RENDER_LIST=G,e.RENDER_SLOT=q,e.RESOLVE_COMPONENT=U,e.RESOLVE_DIRECTIVE=B,e.RESOLVE_DYNAMIC_COMPONENT=F,e.RESOLVE_FILTER=$,e.SET_BLOCK_TRACKING=ei,e.SUSPENSE=v,e.TELEPORT=b,e.TO_DISPLAY_STRING=j,e.TO_HANDLERS=Z,e.TO_HANDLER_KEY=en,e.TRANSITION=nq,e.TRANSITION_GROUP=nJ,e.TS_NODE_TYPES=eJ,e.UNREF=ea,e.V_MODEL_CHECKBOX=nw,e.V_MODEL_DYNAMIC=nB,e.V_MODEL_RADIO=nX,e.V_MODEL_SELECT=nF,e.V_MODEL_TEXT=nU,e.V_ON_WITH_KEYS=nH,e.V_ON_WITH_MODIFIERS=n$,e.V_SHOW=nG,e.WITH_CTX=eo,e.WITH_DIRECTIVES=H,e.WITH_MEMO=ec,e.advancePositionWithClone=function(e,t,n=t.length){return e4({offset:e.offset,line:e.line,column:e.column},t,n)},e.advancePositionWithMutation=e4,e.assert=function(e,t){if(!e)throw Error(t||"unexpected compiler condition")},e.baseCompile=nV,e.baseParse=tF,e.buildDirectiveArgs=nS,e.buildProps=n_,e.buildSlots=nd,e.checkCompatEnabled=eU,e.compile=function(e,t={}){return nV(e,a({},nj,t,{nodeTransforms:[n2,...n3,...t.nodeTransforms||[]],directiveTransforms:a({},n4,t.directiveTransforms||{}),transformHoist:null}))},e.convertToBlock=ev,e.createArrayExpression=e_,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:eu}},e.createBlockStatement=eA,e.createCacheExpression=eO,e.createCallExpression=eN,e.createCompilerError=e$,e.createCompoundExpression=eT,e.createConditionalExpression=ey,e.createDOMCompilerError=function(e,t){return e$(e,t)},e.createForLoopParams=na,e.createFunctionExpression=eI,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:eu}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:c(e)?eg(e,!1,t):e}},e.createObjectExpression=em,e.createObjectProperty=eS,e.createReturnStatement=function(e){return{type:26,returns:e,loc:eu}},e.createRoot=ef,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:eu}},e.createSimpleExpression=eg,e.createStructuralDirectiveTransform=tK,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:eu}},e.createTransformContext=tJ,e.createVNodeCall=eE,e.errorMessages=eH,e.extractIdentifiers=eG,e.findDir=e6,e.findProp=e5,e.forAliasRE=tl,e.generate=tz,e.generateCodeFrame=function(e,t=0,n=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(n=Math.max(0,Math.min(n,e.length))))return"";let i=e.split(/(\r?\n)/),r=i.filter((e,t)=>t%2==1);i=i.filter((e,t)=>t%2==0);let s=0,o=[];for(let e=0;e<i.length;e++)if((s+=i[e].length+(r[e]&&r[e].length||0))>=t){for(let a=e-2;a<=e+2||n>s;a++){if(a<0||a>=i.length)continue;let l=a+1;o.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${i[a]}`);let c=i[a].length,h=r[a]&&r[a].length||0;if(a===e){let e=t-(s-(c+h)),i=Math.max(1,n>s?c-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(i))}else if(a>e){if(n>s){let e=Math.max(Math.min(n-s,c),1);o.push(" | "+"^".repeat(e))}s+=c+h}}break}return o.join(`
|
|
13
13
|
`)},e.getBaseTransformPreset=nP,e.getConstantType=t$,e.getMemoedVNodeCall=ta,e.getVNodeBlockHelper=eb,e.getVNodeHelper=eC,e.hasDynamicKeyVBind=e7,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let i=0;i<t.props.length;i++){let r=t.props[i];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:if(e(t.source,n))return!0;return t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:if(e(t.condition,n))return!0;return t.children.some(t=>e(t,n));case 4:return!t.isStatic&&eY(t.content)&&!!n[t.content];case 8:return t.children.some(t=>d(t)&&e(t,n));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=ed,e.injectProp=tr,e.isCoreComponent=eW,e.isFnExpression=e3,e.isFnExpressionBrowser=e3,e.isFnExpressionNode=r,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){let n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isInNewExpression=function(e){let t=e.length;for(;t--;){let n=e[t];if("NewExpression"===n.type)return!0;if("MemberExpression"!==n.type)break}return!1},e.isMemberExpression=e0,e.isMemberExpressionBrowser=e0,e.isMemberExpressionNode=r,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=eY,e.isSlotOutlet=tn,e.isStaticArgOf=e9,e.isStaticExp=ej,e.isStaticProperty=eq,e.isStaticPropertyKey=(e,t)=>eq(t)&&t.key===e,e.isTemplateNode=tt,e.isText=e8,e.isVSlot=te,e.locStub=eu,e.noopDirectiveTransform=nk,e.parse=function(e,t={}){return tF(e,a({},nj,t))},e.parserOptions=nj,e.processExpression=t6,e.processFor=ns,e.processIf=t9,e.processSlotOutlet=nN,e.registerRuntimeHelpers=ep,e.resolveComponentType=nE,e.stringifyExpression=function e(t){return c(t)?t:4===t.type?t.content:t.children.map(e).join("")},e.toValidAssetId=to,e.trackSlotScopes=nc,e.trackVForSlotScopes=(e,t)=>{let n;if(tt(e)&&e.props.some(te)&&(n=e6(e,"for"))){let e=n.forParseResult;if(e){no(e);let{value:n,key:i,index:r}=e,{addIdentifiers:s,removeIdentifiers:o}=t;return n&&s(n),i&&s(i),r&&s(r),()=>{n&&o(n),i&&o(i),r&&o(r)}}}},e.transform=tj,e.transformBind=nt,e.transformElement=nf,e.transformExpression=(e,t)=>{if(5===e.type)e.content=t6(e.content,t);else if(1===e.type){let n=e6(e,"memo");for(let i=0;i<e.props.length;i++){let r=e.props[i];if(7===r.type&&"for"!==r.name){let e=r.exp,i=r.arg;!e||4!==e.type||"on"===r.name&&i||n&&i&&4===i.type&&"key"===i.content||(r.exp=t6(e,t,"slot"===r.name)),i&&4===i.type&&!i.isStatic&&(r.arg=t6(i,t))}}}},e.transformModel=nC,e.transformOn=nI,e.transformStyle=nW,e.traverseNode=tW,e.unwrapTSNode=function e(t){return eJ.includes(t.type)?e(t.expression):t},e.walkBlockDeclarations=function(e,t){for(let i of e.body)if("VariableDeclaration"===i.type){if(i.declare)continue;for(let e of i.declarations)for(let n of eG(e.id))t(n)}else if("FunctionDeclaration"===i.type||"ClassDeclaration"===i.type){if(i.declare||!i.id)continue;t(i.id)}else{var n;("ForOfStatement"===(n=i).type||"ForInStatement"===n.type||"ForStatement"===n.type)&&function(e,t,n){let i="ForStatement"===e.type?e.init:e.left;if(i&&"VariableDeclaration"===i.type&&"var"===i.kind&&t)for(let e of i.declarations)for(let t of eG(e.id))n(t)}(i,!0,t)}},e.walkFunctionParams=function(e,t){for(let n of e.params)for(let e of eG(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,i=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...i){if("suppress-warning"===eX(e,t))return;let{message:r,link:s}=ek[e],o=SyntaxError(`(deprecation ${e}) ${"function"==typeof r?r(...i):r}${s?`
|
|
14
14
|
Details: ${s}`:""}`);o.code=e,n&&(o.loc=n),t.onWarn(o)},e}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.16",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vue/shared": "3.5.
|
|
55
|
-
"@vue/compiler-core": "3.5.
|
|
54
|
+
"@vue/shared": "3.5.16",
|
|
55
|
+
"@vue/compiler-core": "3.5.16"
|
|
56
56
|
}
|
|
57
57
|
}
|