@vue/compiler-dom 3.4.0-alpha.1 → 3.4.0-alpha.3
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 +11 -2364
- package/dist/compiler-dom.cjs.prod.js +8 -2362
- package/dist/compiler-dom.d.ts +2 -2
- package/dist/compiler-dom.esm-browser.js +1819 -1130
- package/dist/compiler-dom.esm-browser.prod.js +1 -1
- package/dist/compiler-dom.esm-bundler.js +12 -26
- package/dist/compiler-dom.global.js +1819 -1131
- package/dist/compiler-dom.global.prod.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={},n=()=>{},o=()=>!1,r=/^on[^a-z]/,s=e=>r.test(e),i=Object.assign,c=Array.isArray,l=e=>"string"==typeof e,a=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,u=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),d=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},h=/-(\w)/g,m=f((e=>e.replace(h,((e,t)=>t?t.toUpperCase():"")))),g=/\B([A-Z])/g,y=f((e=>e.replace(g,"-$1").toLowerCase())),v=f((e=>e.charAt(0).toUpperCase()+e.slice(1))),b=f((e=>e?`on${v(e)}`:""));function S(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const x=/;(?![^(]*\))/g,k=/:([^]+)/,E=/\/\*[^]*?\*\//g;const N=e("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"),w=e("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"),T=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function _(e){throw e}function O(e){}function C(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const I={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.",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.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},$=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),j=Symbol(""),B=Symbol(""),F=Symbol(""),U=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),q=Symbol(""),K=Symbol(""),G=Symbol(""),Z=Symbol(""),Y=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),de=Symbol(""),fe=Symbol(""),he=Symbol(""),me=Symbol(""),ge={[$]:"Fragment",[M]:"Teleport",[P]:"Suspense",[R]:"KeepAlive",[V]:"BaseTransition",[L]:"openBlock",[A]:"createBlock",[j]:"createElementBlock",[B]:"createVNode",[F]:"createElementVNode",[U]:"createCommentVNode",[D]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[J]:"resolveDynamicComponent",[z]:"resolveDirective",[q]:"resolveFilter",[K]:"withDirectives",[G]:"renderList",[Z]:"renderSlot",[Y]:"createSlots",[Q]:"toDisplayString",[X]:"mergeProps",[ee]:"normalizeClass",[te]:"normalizeStyle",[ne]:"normalizeProps",[oe]:"guardReactiveProps",[re]:"toHandlers",[se]:"camelize",[ie]:"capitalize",[ce]:"toHandlerKey",[le]:"setBlockTracking",[ae]:"pushScopeId",[pe]:"popScopeId",[ue]:"withCtx",[de]:"unref",[fe]:"isRef",[he]:"withMemo",[me]:"isMemoSame"};function ye(e){Object.getOwnPropertySymbols(e).forEach((t=>{ge[t]=e[t]}))}const ve={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function be(e,t=ve){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Se(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ve){return e&&(c?(e.helper(L),e.helper(je(e.inSSR,a))):e.helper(Ae(e.inSSR,a)),i&&e.helper(K)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function xe(e,t=ve){return{type:17,loc:t,elements:e}}function ke(e,t=ve){return{type:15,loc:t,properties:e}}function Ee(e,t){return{type:16,loc:ve,key:l(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ve,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function we(e,t){return{type:5,loc:t,content:l(e)?Ne(e,!1,t):e}}function Te(e,t=ve){return{type:8,loc:t,children:e}}function _e(e,t=[],n=ve){return{type:14,loc:n,callee:e,arguments:t}}function Oe(e,t=void 0,n=!1,o=!1,r=ve){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ce(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ve}}function Ie(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ve}}function $e(e){return{type:21,body:e,loc:ve}}function Me(e){return{type:22,elements:e,loc:ve}}function Pe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ve}}function Re(e,t){return{type:24,left:e,right:t,loc:ve}}function Ve(e){return{type:25,expressions:e,loc:ve}}function Le(e){return{type:26,returns:e,loc:ve}}function Ae(e,t){return e||t?B:F}function je(e,t){return e||t?A:j}function Be(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Ae(o,e.isComponent)),t(L),t(je(o,e.isComponent)))}const Fe=e=>4===e.type&&e.isStatic,Ue=(e,t)=>e===t||e===y(t);function De(e){return Ue(e,"Teleport")?M:Ue(e,"Suspense")?P:Ue(e,"KeepAlive")?R:Ue(e,"BaseTransition")?V:void 0}const He=/^\d|[^\$\w]/,We=e=>!He.test(e),Je=/[A-Za-z_$\xA0-\uFFFF]/,ze=/[\.\?\w$\xA0-\uFFFF]/,qe=/\s+[.[]\s*|\s*[.[]\s+/g,Ke=e=>{e=e.trim().replace(qe,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Je:ze).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},Ge=n,Ze=Ke;function Ye(e,t,n){const o={source:e.source.slice(t,t+n),start:Qe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Qe(e.start,e.source,t+n)),o}function Qe(e,t,n=t.length){return Xe(i({},e),t,n)}function Xe(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function et(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function tt(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(l(t)?r.name===t:t.test(r.name)))return r}}function nt(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&ot(s.arg,t))return s}}function ot(e,t){return!(!e||!Fe(e)||e.content!==t)}function rt(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function st(e){return 5===e.type||2===e.type}function it(e){return 7===e.type&&"slot"===e.name}function ct(e){return 1===e.type&&3===e.tagType}function lt(e){return 1===e.type&&2===e.tagType}const at=new Set([ne,oe]);function pt(e,t=[]){if(e&&!l(e)&&14===e.type){const n=e.callee;if(!l(n)&&at.has(n))return pt(e.arguments[0],t.concat(e))}return[e,t]}function ut(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!l(s)&&14===s.type){const e=pt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||l(s))o=ke([t]);else if(14===s.type){const e=s.arguments[0];l(e)||15!==e.type?s.callee===re?o=_e(n.helper(X),[ke([t]),s]):s.arguments.unshift(ke([t])):dt(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(dt(t,s)||s.properties.unshift(t),o=s):(o=_e(n.helper(X),[ke([t]),s]),r&&r.callee===oe&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function dt(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function ft(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ht(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(ht(o.arg,t)||ht(o.exp,t)))return!0}return e.children.some((e=>ht(e,t)));case 11:return!!ht(e.source,t)||e.children.some((e=>ht(e,t)));case 9:return e.branches.some((e=>ht(e,t)));case 10:return!!ht(e.condition,t)||e.children.some((e=>ht(e,t)));case 4:return!e.isStatic&&We(e.content)&&!!t[e.content];case 8:return e.children.some((e=>p(e)&&ht(e,t)));case 5:case 12:return ht(e.content,t);default:return!1}}function mt(e){return 14===e.type&&e.callee===he?e.arguments[1].returns:e}const gt={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_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},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_FILTER:{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 yt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function vt(e,t){const n=yt("MODE",t),o=yt(e,t);return 3===n?!0===o:!1!==o}function bt(e,t,n,...o){return vt(e,t)}function St(e,t,n,...o){if("suppress-warning"===yt(e,t))return;const{message:r,link:s}=gt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const xt=/&(gt|lt|amp|apos|quot);/g,kt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Et={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:o,isPreTag:o,isCustomElement:o,decodeEntities:e=>e.replace(xt,((e,t)=>kt[t])),onError:_,onWarn:O,comments:!1};function Nt(e,t={}){const n=function(e,t){const n=i({},Et);let o;for(o in t)n[o]=void 0===t[o]?Et[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=jt(n);return be(wt(n,0,[]),Bt(n,o))}function wt(e,t,n){const o=Ft(n),r=o?o.ns:0,s=[];for(;!zt(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&Ut(i,e.options.delimiters[0]))l=Vt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=Ut(i,"\x3c!--")?Ot(e):Ut(i,"<!DOCTYPE")?Ct(e):Ut(i,"<![CDATA[")&&0!==r?_t(e,n):Ct(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Dt(e,3);continue}if(/[a-z]/i.test(i[2])){Mt(e,1,o);continue}Jt(e,12,2),l=Ct(e)}else/[a-z]/i.test(i[1])?(l=It(e,n),vt("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&$t(e.name)))&&(l=l.children)):"?"===i[1]&&(Jt(e,21,1),l=Ct(e));if(l||(l=Lt(e,t)),c(l))for(let e=0;e<l.length;e++)Tt(s,l[e]);else Tt(s,l)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function Tt(e,t){if(2===t.type){const n=Ft(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function _t(e,t){Dt(e,9);const n=wt(e,3,t);return 0===e.source.length||Dt(e,3),n}function Ot(e){const t=jt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Dt(e,s-r+1),r=s+1;Dt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Dt(e,e.source.length);return{type:3,content:n,loc:Bt(e,t)}}function Ct(e){const t=jt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Dt(e,e.source.length)):(o=e.source.slice(n,r),Dt(e,r+1)),{type:3,content:o,loc:Bt(e,t)}}function It(e,t){const n=e.inPre,o=e.inVPre,r=Ft(t),s=Mt(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=wt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&bt("COMPILER_INLINE_TEMPLATE",e)){const n=Bt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,qt(e.source,s.tag))Mt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ut(e.loc.source,"\x3c!--")}return s.loc=Bt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const $t=e("if,else,else-if,for,slot");function Mt(e,t,n){const o=jt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],c=e.options.getNamespace(s,n);Dt(e,r[0].length),Ht(e);const l=jt(e),a=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let p=Pt(e,t);0===t&&!e.inVPre&&p.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,i(e,l),e.source=a,p=Pt(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=Ut(e.source,"/>"),Dt(e,u?2:1)),1===t)return;let d=0;return e.inVPre||("slot"===s?d=2:"template"===s?p.some((e=>7===e.type&&$t(e.name)))&&(d=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||De(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(bt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&ot(e.arg,"is")&&bt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,p,e)&&(d=1)),{type:1,ns:c,tag:s,tagType:d,props:p,isSelfClosing:u,children:[],loc:Bt(e,o),codegenNode:void 0}}function Pt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ut(e.source,">")&&!Ut(e.source,"/>");){if(Ut(e.source,"/")){Dt(e,1),Ht(e);continue}const r=Rt(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Ht(e)}return n}function Rt(e,t){var n;const o=jt(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r),t.add(r);{const t=/["'<]/g;let n;for(;n=t.exec(r);)Jt(e,17,n.index)}let s;Dt(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ht(e),Dt(e,1),Ht(e),s=function(e){const t=jt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Dt(e,1);const t=e.source.indexOf(o);-1===t?n=At(e,e.source.length,4):(n=At(e,t,4),Dt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Jt(e,18,r.index);n=At(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Bt(e,t)}}(e));const i=Bt(e,o);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let c,l=Ut(r,"."),a=t[1]||(l||Ut(r,":")?"bind":Ut(r,"@")?"on":"slot");if(t[2]){const s="slot"===a,i=r.lastIndexOf(t[2],r.length-((null==(n=t[3])?void 0:n.length)||0)),l=Bt(e,Wt(e,o,i),Wt(e,o,i+t[2].length+(s&&t[3]||"").length));let p=t[2],u=!0;p.startsWith("[")?(u=!1,p.endsWith("]")?p=p.slice(1,p.length-1):(Jt(e,27),p=p.slice(1))):s&&(p+=t[3]||""),c={type:4,content:p,isStatic:u,constType:u?3:0,loc:l}}if(s&&s.isQuoted){const e=s.loc;e.start.offset++,e.start.column++,e.end=Qe(e.start,s.content),e.source=e.source.slice(1,-1)}const p=t[3]?t[3].slice(1).split("."):[];return l&&p.push("prop"),"bind"===a&&c&&p.includes("sync")&&bt("COMPILER_V_BIND_SYNC",e,0)&&(a="model",p.splice(p.indexOf("sync"),1)),{type:7,name:a,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:c,modifiers:p,loc:i}}return!e.inVPre&&Ut(r,"v-"),{type:6,name:r,value:s&&{type:2,content:s.content,loc:s.loc},loc:i}}function Vt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=jt(e);Dt(e,n.length);const i=jt(e),c=jt(e),l=r-n.length,a=e.source.slice(0,l),p=At(e,l,t),u=p.trim(),d=p.indexOf(u);d>0&&Xe(i,a,d);return Xe(c,a,l-(p.length-u.length-d)),Dt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Bt(e,i,c)},loc:Bt(e,s)}}function Lt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=jt(e);return{type:2,content:At(e,o,t),loc:Bt(e,r)}}function At(e,t,n){const o=e.source.slice(0,t);return Dt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function jt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Bt(e,t,n){return{start:t,end:n=n||jt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ft(e){return e[e.length-1]}function Ut(e,t){return e.startsWith(t)}function Dt(e,t){const{source:n}=e;Xe(e,n,t),e.source=n.slice(t)}function Ht(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Dt(e,t[0].length)}function Wt(e,t,n){return Qe(t,e.originalSource.slice(t.offset,n),n)}function Jt(e,t,n,o=jt(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(C(t,{start:o,end:o,source:""}))}function zt(e,t,n){const o=e.source;switch(t){case 0:if(Ut(o,"</"))for(let e=n.length-1;e>=0;--e)if(qt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ft(n);if(e&&qt(o,e.tag))return!0;break}case 3:if(Ut(o,"]]>"))return!0}return!o}function qt(e,t){return Ut(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Kt(e,t){Zt(e,t,Gt(e,e.children[0]))}function Gt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!lt(t)}function Zt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Yt(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=nn(n);if((!o||512===o||1===o)&&en(e,t)>=2){const o=tn(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Zt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Zt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t,1===e.branches[n].children.length)}if(s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&c(e.codegenNode.children)){const n=t.hoist(xe(e.codegenNode.children));t.hmr&&(n.content=`[...${n.content}]`),e.codegenNode.children=n}}function Yt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(nn(r))return n.set(e,0),0;{let o=3;const s=en(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Yt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Yt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(L),t.removeHelper(je(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Ae(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Yt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(l(o)||a(o))continue;const r=Yt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Qt=new Set([ee,te,ne,oe]);function Xt(e,t){if(14===e.type&&!l(e.callee)&&Qt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Yt(n,t);if(14===n.type)return Xt(n,t)}return 0}function en(e,t){let n=3;const o=tn(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Yt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Yt(s,t):14===s.type?Xt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function tn(e){const t=e.codegenNode;if(13===t.type)return t.props}function nn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function on(e,{filename:o="",prefixIdentifiers:r=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:c=!1,nodeTransforms:a=[],directiveTransforms:p={},transformHoist:u=null,isBuiltInComponent:d=n,isCustomElement:f=n,expressionPlugins:h=[],scopeId:g=null,slotted:y=!0,ssr:b=!1,inSSR:S=!1,ssrCssVars:x="",bindingMetadata:k=t,inline:E=!1,isTS:N=!1,onError:w=_,onWarn:T=O,compatConfig:C}){const I=o.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),$={selfName:I&&v(m(I[1])),prefixIdentifiers:r,hoistStatic:s,hmr:i,cacheHandlers:c,nodeTransforms:a,directiveTransforms:p,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:h,scopeId:g,slotted:y,ssr:b,inSSR:S,ssrCssVars:x,bindingMetadata:k,inline:E,isTS:N,onError:w,onWarn:T,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=$.helpers.get(e)||0;return $.helpers.set(e,t+1),e},removeHelper(e){const t=$.helpers.get(e);if(t){const n=t-1;n?$.helpers.set(e,n):$.helpers.delete(e)}},helperString:e=>`_${ge[$.helper(e)]}`,replaceNode(e){$.parent.children[$.childIndex]=$.currentNode=e},removeNode(e){const t=e?$.parent.children.indexOf(e):$.currentNode?$.childIndex:-1;e&&e!==$.currentNode?$.childIndex>t&&($.childIndex--,$.onNodeRemoved()):($.currentNode=null,$.onNodeRemoved()),$.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){l(e)&&(e=Ne(e)),$.hoists.push(e);const t=Ne(`_hoisted_${$.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ie($.cached++,e,t)};return $.filters=new Set,$}function rn(e,t){const n=on(e,t);sn(e,n),t.hoistStatic&&Kt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Gt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Be(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=Se(t,n($),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function sn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(c(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(U);break;case 5:t.ssr||t.helper(Q);break;case 9:for(let n=0;n<e.branches.length;n++)sn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];l(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,sn(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function cn(e,t){const n=l(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(it))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const ln="/*#__PURE__*/",an=e=>`${ge[e]}: _${ge[e]}`;function pn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:d=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:d,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${ge[e]}`,push(e,t){f.code+=e},indent(){h(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:h(--f.indentLevel)},newline(){h(f.indentLevel)}};function h(e){f.push("\n"+" ".repeat(e))}return f}function un(e,t={}){const n=pn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,d=!s&&"module"!==o,f=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[B,F,U,D,H].filter((e=>i.includes(e))).map(an).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),mn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,f);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),d&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(an).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(dn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(dn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),dn(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("\n"),l()),a||r("return "),e.codegenNode?mn(e.codegenNode,n):r("null"),d&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function dn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?q:"component"===t?W:z);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${ft(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function fn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),hn(e,t,n),n&&t.deindent(),t.push("]")}function hn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const a=e[i];l(a)?r(a):c(a)?fn(a,t):mn(a,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function mn(e,t){if(l(e))t.push(e);else if(a(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:mn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:gn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(Q)}(`),mn(e.content,t),n(")")}(e,t);break;case 8:yn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(U)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:d,isComponent:f}=e;p&&n(o(K)+"(");u&&n(`(${o(L)}(${d?"true":""}), `);r&&n(ln);const h=u?je(t.inSSR,f):Ae(t.inSSR,f);n(o(h)+"(",e),hn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),mn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=l(e.callee)?e.callee:o(e.callee);r&&n(ln);n(s+"(",e),hn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];vn(e,t),n(": "),mn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){fn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:a,isSlot:p}=e;p&&n(`_${ge[ue]}(`);n("(",e),c(s)?hn(s,t):s&&mn(s,t);n(") => "),(a||l)&&(n("{"),o());i?(a&&n("return "),c(i)?fn(i,t):mn(i,t)):l&&mn(l,t);(a||l)&&(r(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!We(n.content);e&&i("("),gn(n,t),e&&i(")")}else i("("),mn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),mn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;mn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(le)}(-1),`),i());n(`_cache[${e.index}] = `),mn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(le)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:hn(e.body,t,!0,!1)}}function gn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function yn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];l(o)?t.push(o):mn(o,t)}}function vn(e,t){const{push:n}=t;if(8===e.type)n("["),yn(e,t),n("]");else if(e.isStatic){n(We(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function bn(e,t,n=!1,o=[],r=Object.create(null)){}function Sn(e,t,n){return!1}function xn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function kn(e,t){for(const n of e.params)for(const e of Nn(n))t(e)}function En(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of Nn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function Nn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)Nn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Nn(e,t)}));break;case"RestElement":Nn(e.argument,t);break;case"AssignmentPattern":Nn(e.left,t)}return t}const wn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Tn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,_n=(e,t)=>Tn(t)&&t.key===e,On=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],Cn=(e,t)=>{if(5===e.type)e.content=In(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=In(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=In(n,t))}}};function In(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}function $n(e){return l(e)?e:4===e.type?e.content:e.children.map($n).join("")}const Mn=cn(/^(if|else|else-if)$/,((e,t,n)=>Pn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Vn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=Vn(t,i+e.branches.length-1,n)}}}))));function Pn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(C(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=Rn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(C(30,e.loc)),n.removeNode();const r=Rn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);sn(r,n),s&&s(),n.currentNode=null}else n.onError(C(30,e.loc));break}n.removeNode(i)}}}}function Rn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:nt(e,"key"),isTemplateIf:n}}function Vn(e,t,n){return e.condition?Ce(e.condition,Ln(e,t,n),_e(n.helper(U),['""',"true"])):Ln(e,t,n)}function Ln(e,t,n){const{helper:o}=n,r=Ee("key",Ne(`${t}`,!1,ve,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return ut(e,r,n),e}{let t=64;return Se(n,o($),ke([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=mt(e);return 13===t.type&&Be(t,n),ut(t,r,n),e}}const An=cn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return jn(e,t,n,(t=>{const s=_e(o(G),[t.source]),i=ct(e),c=tt(e,"memo"),l=nt(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?Ee("key",a):null,u=4===t.source.type&&t.source.constType>0,d=u?64:l?128:256;return t.codegenNode=Se(n,o($),void 0,s,d+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:d}=t,f=1!==d.length||1!==d[0].type,h=lt(e)?e:i&&1===e.children.length&<(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&ut(l,p,n)):f?l=Se(n,o($),p?ke([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,i&&p&&ut(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(L),r(je(n.inSSR,l.isComponent))):r(Ae(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(L),o(je(n.inSSR,l.isComponent))):o(Ae(n.inSSR,l.isComponent))),c){const e=Oe(Wn(t.parseResult,[Ne("_cached")]));e.body=$e([Te(["const _memo = (",c.exp,")"]),Te(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(me)}(_cached, _memo)) return _cached`]),Te(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(Oe(Wn(t.parseResult),l,!0))}}))}));function jn(e,t,n,o){if(!t.exp)return void n.onError(C(31,t.loc));const r=Dn(t.exp);if(!r)return void n.onError(C(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:ct(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Bn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Fn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Un=/^\(|\)$/g;function Dn(e,t){const n=e.loc,o=e.content,r=o.match(Bn);if(!r)return;const[,s,i]=r,c={source:Hn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Un,"").trim();const a=s.indexOf(l),p=l.match(Fn);if(p){l=l.replace(Fn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Hn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Hn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Hn(n,l,a)),c}function Hn(e,t,n){return Ne(t,!1,Ye(e,n,t.length))}function Wn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const Jn=Ne("undefined",!1),zn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=tt(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},qn=(e,t)=>{let n;if(ct(e)&&e.props.some(it)&&(n=tt(e,"for"))){const e=n.parseResult=Dn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},Kn=(e,t,n,o)=>Oe(e,n,!1,!0,n.length?n[0].loc:o);function Gn(e,t,n=Kn){t.helper(ue);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=tt(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Fe(e)&&(c=!0),s.push(Ee(e||Ne("default",!0),n(t,void 0,o,r)))}let a=!1,p=!1;const u=[],d=new Set;let f=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!ct(e)||!(r=tt(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError(C(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:b}=r;let S;Fe(y)?S=y?y.content:"default":c=!0;const x=tt(e,"for"),k=n(v,null==x?void 0:x.exp,h,m);let E,N;if(E=tt(e,"if"))c=!0,i.push(Ce(E.exp,Zn(y,k,f++),Jn));else if(N=tt(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&ct(e)&&tt(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Ce(N.exp,Zn(y,k,f++),Jn):Zn(y,k,f++)}else t.onError(C(30,N.loc))}else if(x){c=!0;const e=x.parseResult||Dn(x.exp);e?i.push(_e(t.helper(G),[e.source,Oe(Wn(e),Zn(y,k),!0)])):t.onError(C(32,x.loc))}else{if(S){if(d.has(S)){t.onError(C(38,b));continue}d.add(S),"default"===S&&(p=!0)}s.push(Ee(y,k))}}if(!l){const e=(e,o)=>{const s=n(e,void 0,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Ee("default",s)};a?u.length&&u.some((e=>Qn(e)))&&(p?t.onError(C(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:Yn(e.children)?3:1;let m=ke(s.concat(Ee("_",Ne(h+"",!1))),r);return i.length&&(m=_e(t.helper(Y),[m,xe(i)])),{slots:m,hasDynamicSlots:c}}function Zn(e,t,n){const o=[Ee("name",e),Ee("fn",t)];return null!=n&&o.push(Ee("key",Ne(String(n),!0))),ke(o)}function Yn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Yn(n.children))return!0;break;case 9:if(Yn(n.branches))return!0;break;case 10:case 11:if(Yn(n.children))return!0}}return!1}function Qn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Qn(e.content))}const Xn=new WeakMap,eo=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?to(e,t):`"${n}"`;const i=p(s)&&s.callee===J;let c,l,a,u,d,f,h=0,m=i||s===M||s===P||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=no(e,t,void 0,r,i);c=n.props,h=n.patchFlag,d=n.dynamicPropNames;const o=n.directives;f=o&&o.length?xe(o.map((e=>so(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===R&&(m=!0,h|=1024);if(r&&s!==M&&s!==R){const{slots:n,hasDynamicSlots:o}=Gn(e,t);l=n,o&&(h|=1024)}else if(1===e.children.length&&s!==M){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Yt(n,t)&&(h|=1),l=r||2===o?n:e.children}else l=e.children}0!==h&&(a=String(h),d&&d.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(d))),e.codegenNode=Se(t,s,c,l,a,u,f,!!m,!1,r,e.loc)};function to(e,t,n=!1){let{tag:o}=e;const r=io(o),s=nt(e,"is");if(s)if(r||vt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return _e(t.helper(J),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&tt(e,"is");if(i&&i.exp)return _e(t.helper(J),[i.exp]);const c=De(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),ft(o,"component"))}function no(e,t,n=e.props,o,r,i=!1){const{tag:c,loc:l,children:p}=e;let f=[];const h=[],m=[],g=p.length>0;let y=!1,v=0,b=!1,S=!1,x=!1,k=!1,E=!1,N=!1;const w=[],T=e=>{f.length&&(h.push(ke(oo(f),l)),f=[]),e&&h.push(e)},_=({key:e,value:n})=>{if(Fe(e)){const i=e.content,c=s(i);if(!c||o&&!r||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||u(i)||(k=!0),c&&u(i)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&Yt(n,t)>0)return;"ref"===i?b=!0:"class"===i?S=!0:"style"===i?x=!0:"key"===i||w.includes(i)||w.push(i),!o||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else E=!0};for(let s=0;s<n.length;s++){const r=n[s];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(b=!0,t.scopes.vFor>0&&f.push(Ee(Ne("ref_for",!0),Ne("true")))),"is"===n&&(io(c)||o&&o.content.startsWith("vue:")||vt("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(Ee(Ne(n,!0,Ye(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:s,exp:p,loc:u}=r,v="bind"===n,b="on"===n;if("slot"===n){o||t.onError(C(40,u));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&ot(s,"is")&&(io(c)||vt("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&i)continue;if((v&&ot(s,"key")||b&&g&&ot(s,"vue:before-update"))&&(y=!0),v&&ot(s,"ref")&&t.scopes.vFor>0&&f.push(Ee(Ne("ref_for",!0),Ne("true"))),!s&&(v||b)){if(E=!0,p)if(v){if(T(),vt("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(p);continue}h.push(p)}else T({type:14,loc:u,callee:t.helper(re),arguments:o?[p]:[p,"true"]});else t.onError(C(v?34:35,u));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:o}=S(r,e,t);!i&&n.forEach(_),b&&s&&!Fe(s)?T(ke(n,l)):f.push(...n),o&&(m.push(r),a(o)&&Xn.set(r,o))}else d(n)||(m.push(r),g&&(y=!0))}}let O;if(h.length?(T(),O=h.length>1?_e(t.helper(X),h,l):h[0]):f.length&&(O=ke(oo(f),l)),E?v|=16:(S&&!o&&(v|=2),x&&!o&&(v|=4),w.length&&(v|=8),k&&(v|=32)),y||0!==v&&32!==v||!(b||N||m.length>0)||(v|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<O.properties.length;t++){const r=O.properties[t].key;Fe(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=O.properties[e],s=O.properties[n];o?O=_e(t.helper(ne),[O]):(r&&!Fe(r.value)&&(r.value=_e(t.helper(ee),[r.value])),s&&(x||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=_e(t.helper(te),[s.value])));break;case 14:break;default:O=_e(t.helper(ne),[_e(t.helper(oe),[O])])}return{props:O,directives:m,patchFlag:v,dynamicPropNames:w,shouldUseBlock:y}}function oo(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,c=t.get(i);c?("style"===i||"class"===i||s(i))&&ro(c,r):(t.set(i,r),n.push(r))}return n}function ro(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=xe([e.value,t.value],e.loc)}function so(e,t){const n=[],o=Xn.get(e);o?n.push(t.helperString(o)):(t.helper(z),t.directives.add(e.name),n.push(ft(e.name,"directive")));const{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"));const t=Ne("true",!1,r);n.push(ke(e.modifiers.map((e=>Ee(e,t))),r))}return xe(n,e.loc)}function io(e){return"component"===e||"Component"===e}const co=(e,t)=>{if(lt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=lo(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Oe([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(Z),i,o)}};function lo(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=m(t.name),r.push(t))):"bind"===t.name&&ot(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Fe(t.arg)&&(t.arg.content=m(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=no(e,t,r,!1,!1);n=o,s.length&&t.onError(C(36,s[0].loc))}return{slotName:o,slotProps:n}}const ao=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,po=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Ne(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?b(m(e)):`on:${e}`,!0,i.loc)}else c=Te([`${n.helperString(ce)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ce)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Ze(l.content),t=!(e||ao.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Ee(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},uo=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?m(i.content):`${n.helperString(se)}(${i.content})`:(i.children.unshift(`${n.helperString(se)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&fo(i,"."),r.includes("attr")&&fo(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Ee(i,Ne("",!0,s))]}:{props:[Ee(i,o)]}},fo=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ho=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(st(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!st(s)){o=void 0;break}o||(o=n[e]=Te([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.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<n.length;e++){const o=n[e];if(st(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Yt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(D),r)}}}}},mo=new WeakSet,go=(e,t)=>{if(1===e.type&&tt(e,"once",!0)){if(mo.has(e)||t.inVOnce||t.inSSR)return;return mo.add(e),t.inVOnce=!0,t.helper(le),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},yo=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(C(41,e.loc)),vo();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return vo();if(!i.trim()||!Ze(i))return n.onError(C(42,o.loc)),vo();const l=r||Ne("modelValue",!0),a=r?Fe(r)?`onUpdate:${m(r.content)}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=Te([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[Ee(l,e.exp),Ee(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(We(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Fe(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";u.push(Ee(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return vo(u)};function vo(e=[]){return{props:e}}const bo=/[\w).+\-_$\]]/,So=(e,t)=>{vt("COMPILER_FILTER",t)&&(5===e.type&&xo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&xo(e.exp,t)})))};function xo(e,t){if(4===e.type)ko(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?ko(o,t):8===o.type?xo(e,t):5===o.type&&xo(o.content,t))}}function ko(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,d=0,f=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||d||f){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:f++;break;case 41:f--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&bo.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Eo(i,m[s],t);e.content=i}}function Eo(e,t,n){n.helper(q);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ft(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ft(r,"filter")}(${e}${")"!==s?","+s:s}`}}const No=new WeakSet,wo=(e,t)=>{if(1===e.type){const n=tt(e,"memo");if(!n||No.has(e))return;return No.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Be(o,t),e.codegenNode=_e(t.helper(he),[n.exp,Oe(void 0,o),"_cache",String(t.cached++)]))}}};function To(e){return[[go,Mn,wo,An,So,co,eo,zn,ho],{on:po,bind:uo,model:yo}]}function _o(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(C(47)):o&&n(C(48));t.cacheHandlers&&n(C(49)),t.scopeId&&!o&&n(C(50));const r=l(e)?Nt(e,t):e,[s,c]=To();return rn(r,i({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:i({},c,t.directiveTransforms||{})})),un(r,i({},t,{prefixIdentifiers:false}))}const Oo=()=>({props:[]}),Co=Symbol(""),Io=Symbol(""),$o=Symbol(""),Mo=Symbol(""),Po=Symbol(""),Ro=Symbol(""),Vo=Symbol(""),Lo=Symbol(""),Ao=Symbol(""),jo=Symbol("");let Bo;ye({[Co]:"vModelRadio",[Io]:"vModelCheckbox",[$o]:"vModelText",[Mo]:"vModelSelect",[Po]:"vModelDynamic",[Ro]:"withModifiers",[Vo]:"withKeys",[Lo]:"vShow",[Ao]:"Transition",[jo]:"TransitionGroup"});const Fo=e("style,iframe,script,noscript",!0),Uo={isVoidTag:T,isNativeTag:e=>N(e)||w(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Bo||(Bo=document.createElement("div")),t?(Bo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Bo.children[0].getAttribute("foo")):(Bo.innerHTML=e,Bo.textContent)},isBuiltInComponent:e=>Ue(e,"Transition")?Ao:Ue(e,"TransitionGroup")?jo:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)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)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Fo(e))return 2}return 0}},Do=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:Ne("style",!0,t.loc),exp:Ho(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Ho=(e,t)=>{const n=function(e){const t={};return e.replace(E,"").split(x).forEach((e=>{if(e){const n=e.split(k);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function Wo(e,t){return C(e,t)}const Jo={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."},zo=e("passive,once,capture"),qo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ko=e("left,right"),Go=e("onkeyup,onkeydown,onkeypress",!0),Zo=(e,t)=>Fe(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Yo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Qo=[Do],Xo={cloak:Oo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(53,r)),t.children.length&&(n.onError(Wo(54,r)),t.children.length=0),{props:[Ee(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(55,r)),t.children.length&&(n.onError(Wo(56,r)),t.children.length=0),{props:[Ee(Ne("textContent",!0),o?Yt(o,n)>0?o:_e(n.helperString(Q),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=yo(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(Wo(58,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=$o,c=!1;if("input"===r||s){const o=nt(t,"type");if(o){if(7===o.type)i=Po;else if(o.value)switch(o.value.content){case"radio":i=Co;break;case"checkbox":i=Io;break;case"file":c=!0,n.onError(Wo(59,e.loc))}}else rt(t)&&(i=Po)}else"select"===r&&(i=Mo);c||(o.needRuntime=n.helper(i))}else n.onError(Wo(57,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>po(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&bt("COMPILER_V_ON_NATIVE",n)||zo(o)?i.push(o):Ko(o)?Fe(e)?Go(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):qo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Zo(r,"onContextmenu")),c.includes("middle")&&(r=Zo(r,"onMouseup")),c.length&&(s=_e(n.helper(Ro),[s,JSON.stringify(c)])),!i.length||Fe(r)&&!Go(r.content)||(s=_e(n.helper(Vo),[s,JSON.stringify(i)])),l.length){const e=l.map(v).join("");r=Fe(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[Ee(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(61,r)),{props:[],needRuntime:n.helper(Lo)}}};function er(e,t={}){return _o(e,i({},Uo,t,{nodeTransforms:[Yo,...Qo,...t.nodeTransforms||[]],directiveTransforms:i({},Xo,t.directiveTransforms||{}),transformHoist:null}))}function tr(e,t={}){return Nt(e,i({},Uo,t))}export{V as BASE_TRANSITION,se as CAMELIZE,ie as CAPITALIZE,A as CREATE_BLOCK,U as CREATE_COMMENT,j as CREATE_ELEMENT_BLOCK,F as CREATE_ELEMENT_VNODE,Y as CREATE_SLOTS,H as CREATE_STATIC,D as CREATE_TEXT,B as CREATE_VNODE,Xo as DOMDirectiveTransforms,Jo as DOMErrorMessages,Qo as DOMNodeTransforms,$ as FRAGMENT,oe as GUARD_REACTIVE_PROPS,me as IS_MEMO_SAME,fe as IS_REF,R as KEEP_ALIVE,X as MERGE_PROPS,ee as NORMALIZE_CLASS,ne as NORMALIZE_PROPS,te as NORMALIZE_STYLE,L as OPEN_BLOCK,pe as POP_SCOPE_ID,ae as PUSH_SCOPE_ID,G as RENDER_LIST,Z as RENDER_SLOT,W as RESOLVE_COMPONENT,z as RESOLVE_DIRECTIVE,J as RESOLVE_DYNAMIC_COMPONENT,q as RESOLVE_FILTER,le as SET_BLOCK_TRACKING,P as SUSPENSE,M as TELEPORT,Q as TO_DISPLAY_STRING,re as TO_HANDLERS,ce as TO_HANDLER_KEY,Ao as TRANSITION,jo as TRANSITION_GROUP,On as TS_NODE_TYPES,de as UNREF,Io as V_MODEL_CHECKBOX,Po as V_MODEL_DYNAMIC,Co as V_MODEL_RADIO,Mo as V_MODEL_SELECT,$o as V_MODEL_TEXT,Vo as V_ON_WITH_KEYS,Ro as V_ON_WITH_MODIFIERS,Lo as V_SHOW,ue as WITH_CTX,K as WITH_DIRECTIVES,he as WITH_MEMO,Qe as advancePositionWithClone,Xe as advancePositionWithMutation,et as assert,_o as baseCompile,Nt as baseParse,so as buildDirectiveArgs,no as buildProps,Gn as buildSlots,bt as checkCompatEnabled,er as compile,Be as convertToBlock,xe as createArrayExpression,Re as createAssignmentExpression,$e as createBlockStatement,Ie as createCacheExpression,_e as createCallExpression,C as createCompilerError,Te as createCompoundExpression,Ce as createConditionalExpression,Wo as createDOMCompilerError,Wn as createForLoopParams,Oe as createFunctionExpression,Pe as createIfStatement,we as createInterpolation,ke as createObjectExpression,Ee as createObjectProperty,Le as createReturnStatement,be as createRoot,Ve as createSequenceExpression,Ne as createSimpleExpression,cn as createStructuralDirectiveTransform,Me as createTemplateLiteral,on as createTransformContext,Se as createVNodeCall,I as errorMessages,Nn as extractIdentifiers,tt as findDir,nt as findProp,un as generate,S as generateCodeFrame,To as getBaseTransformPreset,Yt as getConstantType,Ye as getInnerRange,mt as getMemoedVNodeCall,je as getVNodeBlockHelper,Ae as getVNodeHelper,rt as hasDynamicKeyVBind,ht as hasScopeRef,ge as helperNameMap,ut as injectProp,Ue as isBuiltInType,De as isCoreComponent,wn as isFunctionType,xn as isInDestructureAssignment,Ze as isMemberExpression,Ke as isMemberExpressionBrowser,Ge as isMemberExpressionNode,Sn as isReferencedIdentifier,We as isSimpleIdentifier,lt as isSlotOutlet,ot as isStaticArgOf,Fe as isStaticExp,Tn as isStaticProperty,_n as isStaticPropertyKey,ct as isTemplateNode,st as isText,it as isVSlot,ve as locStub,Oo as noopDirectiveTransform,tr as parse,Uo as parserOptions,In as processExpression,jn as processFor,Pn as processIf,lo as processSlotOutlet,ye as registerRuntimeHelpers,to as resolveComponentType,$n as stringifyExpression,ft as toValidAssetId,zn as trackSlotScopes,qn as trackVForSlotScopes,rn as transform,uo as transformBind,eo as transformElement,Cn as transformExpression,yo as transformModel,po as transformOn,Do as transformStyle,sn as traverseNode,En as walkBlockDeclarations,kn as walkFunctionParams,bn as walkIdentifiers,St as warnDeprecation};
|
|
1
|
+
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=()=>{},s=()=>!1,i=/^on[^a-z]/,o=e=>i.test(e),r=Object.assign,c=Array.isArray,a=e=>"string"==typeof e,l=e=>"symbol"==typeof e,h=e=>null!==e&&"object"==typeof e,d=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),p=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),u=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},f=/-(\w)/g,m=u((e=>e.replace(f,((e,t)=>t?t.toUpperCase():"")))),g=u((e=>e.charAt(0).toUpperCase()+e.slice(1))),y=u((e=>e?`on${g(e)}`:""));function b(e,t=0,n=e.length){let s=e.split(/(\r?\n)/);const i=s.filter(((e,t)=>t%2==1));s=s.filter(((e,t)=>t%2==0));let o=0;const r=[];for(let c=0;c<s.length;c++)if(o+=s[c].length+(i[c]&&i[c].length||0),o>=t){for(let e=c-2;e<=c+2||n>o;e++){if(e<0||e>=s.length)continue;const a=e+1;r.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${s[e]}`);const l=s[e].length,h=i[e]&&i[e].length||0;if(e===c){const e=t-(o-(l+h)),s=Math.max(1,n>o?l-e:n-t);r.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(e>c){if(n>o){const e=Math.max(Math.min(n-o,l),1);r.push(" | "+"^".repeat(e))}o+=l+h}}break}return r.join("\n")}const v=/;(?![^(]*\))/g,S=/:([^]+)/,x=/\/\*[^]*?\*\//g;const k=e("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"),I=e("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"),N=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),T=Symbol(""),E=Symbol(""),C=Symbol(""),w=Symbol(""),A=Symbol(""),_=Symbol(""),O=Symbol(""),M=Symbol(""),$=Symbol(""),R=Symbol(""),L=Symbol(""),P=Symbol(""),D=Symbol(""),V=Symbol(""),F=Symbol(""),q=Symbol(""),B=Symbol(""),U=Symbol(""),j=Symbol(""),H=Symbol(""),J=Symbol(""),W=Symbol(""),z=Symbol(""),K=Symbol(""),G=Symbol(""),Q=Symbol(""),X=Symbol(""),Y=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),se=Symbol(""),ie=Symbol(""),oe=Symbol(""),re=Symbol(""),ce=Symbol(""),ae=Symbol(""),le=Symbol(""),he={[T]:"Fragment",[E]:"Teleport",[C]:"Suspense",[w]:"KeepAlive",[A]:"BaseTransition",[_]:"openBlock",[O]:"createBlock",[M]:"createElementBlock",[$]:"createVNode",[R]:"createElementVNode",[L]:"createCommentVNode",[P]:"createTextVNode",[D]:"createStaticVNode",[V]:"resolveComponent",[F]:"resolveDynamicComponent",[q]:"resolveDirective",[B]:"resolveFilter",[U]:"withDirectives",[j]:"renderList",[H]:"renderSlot",[J]:"createSlots",[W]:"toDisplayString",[z]:"mergeProps",[K]:"normalizeClass",[G]:"normalizeStyle",[Q]:"normalizeProps",[X]:"guardReactiveProps",[Y]:"toHandlers",[Z]:"camelize",[ee]:"capitalize",[te]:"toHandlerKey",[ne]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[oe]:"withCtx",[re]:"unref",[ce]:"isRef",[ae]:"withMemo",[le]:"isMemoSame"};function de(e){Object.getOwnPropertySymbols(e).forEach((t=>{he[t]=e[t]}))}const pe={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ue(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:pe}}function fe(e,t,n,s,i,o,r,c=!1,a=!1,l=!1,h=pe){return e&&(c?(e.helper(_),e.helper(Me(e.inSSR,l))):e.helper(Oe(e.inSSR,l)),r&&e.helper(U)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:o,directives:r,isBlock:c,disableTracking:a,isComponent:l,loc:h}}function me(e,t=pe){return{type:17,loc:t,elements:e}}function ge(e,t=pe){return{type:15,loc:t,properties:e}}function ye(e,t){return{type:16,loc:pe,key:a(e)?be(e,!0):e,value:t}}function be(e,t=!1,n=pe,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function ve(e,t){return{type:5,loc:t,content:a(e)?be(e,!1,t):e}}function Se(e,t=pe){return{type:8,loc:t,children:e}}function xe(e,t=[],n=pe){return{type:14,loc:n,callee:e,arguments:t}}function ke(e,t=void 0,n=!1,s=!1,i=pe){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Ie(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:pe}}function Ne(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:pe}}function Te(e){return{type:21,body:e,loc:pe}}function Ee(e){return{type:22,elements:e,loc:pe}}function Ce(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:pe}}function we(e,t){return{type:24,left:e,right:t,loc:pe}}function Ae(e){return{type:25,expressions:e,loc:pe}}function _e(e){return{type:26,returns:e,loc:pe}}function Oe(e,t){return e||t?$:R}function Me(e,t){return e||t?O:M}function $e(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(Oe(s,e.isComponent)),t(_),t(Me(s,e.isComponent)))}const Re=new Uint8Array([123,123]),Le=new Uint8Array([125,125]);function Pe(e){return e>=97&&e<=122||e>=65&&e<=90}function De(e){return 32===e||10===e||9===e||12===e||13===e}function Ve(e){return 47===e||62===e||De(e)}function Fe(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const qe={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])};const Be={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_FILTER:{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 Ue(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function je(e,t){const n=Ue("MODE",t),s=Ue(e,t);return 3===n?!0===s:!1!==s}function He(e,t,n,...s){return je(e,t)}function Je(e,t,n,...s){if("suppress-warning"===Ue(e,t))return;const{message:i,link:o}=Be[e],r=`(deprecation ${e}) ${"function"==typeof i?i(...s):i}${o?`\n Details: ${o}`:""}`,c=new SyntaxError(r);c.code=e,n&&(c.loc=n),t.onWarn(c)}function We(e){throw e}function ze(e){}function Ke(e,t,n,s){const i=new SyntaxError(String(`https://vuejs.org/errors/#compiler-${e}`));return i.code=e,i.loc=t,i}const Ge={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.",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.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},Qe=e=>4===e.type&&e.isStatic;function Xe(e){switch(e){case"Teleport":case"teleport":return E;case"Suspense":case"suspense":return C;case"KeepAlive":case"keep-alive":return w;case"BaseTransition":case"base-transition":return A}}const Ye=/^\d|[^\$\w]/,Ze=e=>!Ye.test(e),et=/[A-Za-z_$\xA0-\uFFFF]/,tt=/[\.\?\w$\xA0-\uFFFF]/,nt=/\s+[.[]\s*|\s*[.[]\s+/g,st=e=>{e=e.trim().replace(nt,(e=>e.trim()));let t=0,n=[],s=0,i=0,o=null;for(let r=0;r<e.length;r++){const c=e.charAt(r);switch(t){case 0:if("["===c)n.push(t),t=1,s++;else if("("===c)n.push(t),t=2,i++;else if(!(0===r?et:tt).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,o=c):"["===c?s++:"]"===c&&(--s||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,o=c;else if("("===c)i++;else if(")"===c){if(r===e.length-1)return!1;--i||(t=n.pop())}break;case 3:c===o&&(t=n.pop(),o=null)}}return!s&&!i},it=n,ot=st;function rt(e,t,n=t.length){return ct({offset:e.offset,line:e.line,column:e.column},t,n)}function ct(e,t,n=t.length){let s=0,i=-1;for(let o=0;o<n;o++)10===t.charCodeAt(o)&&(s++,i=o);return e.offset+=n,e.line+=s,e.column=-1===i?e.column+n:n-i,e}function at(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function lt(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(7===i.type&&(n||i.exp)&&(a(t)?i.name===t:t.test(i.name)))return i}}function ht(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||s))return o}else if("bind"===o.name&&(o.exp||s)&&dt(o.arg,t))return o}}function dt(e,t){return!(!e||!Qe(e)||e.content!==t)}function pt(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function ut(e){return 5===e.type||2===e.type}function ft(e){return 7===e.type&&"slot"===e.name}function mt(e){return 1===e.type&&3===e.tagType}function gt(e){return 1===e.type&&2===e.tagType}const yt=new Set([Q,X]);function bt(e,t=[]){if(e&&!a(e)&&14===e.type){const n=e.callee;if(!a(n)&&yt.has(n))return bt(e.arguments[0],t.concat(e))}return[e,t]}function vt(e,t,n){let s,i,o=13===e.type?e.props:e.arguments[2],r=[];if(o&&!a(o)&&14===o.type){const e=bt(o);o=e[0],r=e[1],i=r[r.length-1]}if(null==o||a(o))s=ge([t]);else if(14===o.type){const e=o.arguments[0];a(e)||15!==e.type?o.callee===Y?s=xe(n.helper(z),[ge([t]),o]):o.arguments.unshift(ge([t])):St(t,e)||e.properties.unshift(t),!s&&(s=o)}else 15===o.type?(St(t,o)||o.properties.unshift(t),s=o):(s=xe(n.helper(z),[ge([t]),o]),i&&i.callee===X&&(i=r[r.length-2]));13===e.type?i?i.arguments[0]=s:e.props=s:i?i.arguments[0]=s:e.arguments[2]=s}function St(e,t){let n=!1;if(4===e.key.type){const s=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===s))}return n}function xt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function kt(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const s=e.props[n];if(7===s.type&&(kt(s.arg,t)||kt(s.exp,t)))return!0}return e.children.some((e=>kt(e,t)));case 11:return!!kt(e.source,t)||e.children.some((e=>kt(e,t)));case 9:return e.branches.some((e=>kt(e,t)));case 10:return!!kt(e.condition,t)||e.children.some((e=>kt(e,t)));case 4:return!e.isStatic&&Ze(e.content)&&!!t[e.content];case 8:return e.children.some((e=>h(e)&&kt(e,t)));case 5:case 12:return kt(e.content,t);default:return!1}}function It(e){return 14===e.type&&e.callee===ae?e.arguments[1].returns:e}const Nt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Tt={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:s,isPreTag:s,isCustomElement:s,onError:We,onWarn:ze,comments:!1};let Et=Tt,Ct=null,wt="",At=null,_t=null,Ot="",Mt=-1,$t=-1,Rt=0,Lt=!1,Pt=null;const Dt=[],Vt=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Re,this.delimiterClose=Le,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Re,this.delimiterClose=Le}getPos(e){let t=1,n=e+1;for(let s=this.newlines.length-1;s>=0;s--){const i=this.newlines[s];if(e>i){t=s+2,n=e-i;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Ve(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||De(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===qe.TitleEnd||this.currentSequence===qe.TextareaEnd&&!this.inSFCRoot?e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===qe.Cdata[this.sequenceIndex]?++this.sequenceIndex===qe.Cdata.length&&(this.state=28,this.currentSequence=qe.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===qe.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){if(33===e)this.state=22,this.sectionStart=this.index+1;else if(63===e)this.state=24,this.sectionStart=this.index+1;else if(Pe(e))if(this.sectionStart=this.index,0===this.mode)this.state=6;else if(this.inSFCRoot)this.state=34;else if(this.inXML)this.state=6;else{const t=32|e;this.state=116===t?30:115===t?29:6}else 47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Ve(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Ve(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Fe("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){De(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=Pe(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||De(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):De(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):De(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||Ve(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||Ve(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||Ve(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||Ve(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||Ve(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):De(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):De(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){De(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=qe.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===qe.ScriptEnd[3]?this.startSpecial(qe.ScriptEnd,4):t===qe.StyleEnd[3]?this.startSpecial(qe.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===qe.TitleEnd[3]?this.startSpecial(qe.TitleEnd,4):t===qe.TextareaEnd[3]?this.startSpecial(qe.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===qe.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(Dt,{onerr:on,ontext(e,t){jt(Bt(e,t),e,t)},ontextentity(e,t,n){jt(e,t,n)},oninterpolation(e,t){if(Lt)return jt(Bt(e,t),e,t);let n=e+Vt.delimiterOpen.length,s=t-Vt.delimiterClose.length;for(;De(wt.charCodeAt(n));)n++;for(;De(wt.charCodeAt(s-1));)s--;let i=Bt(n,s);i.includes("&")&&(i=Et.decodeEntities(i,!1)),en({type:5,content:be(i,!1,tn(n,s)),loc:tn(e,t)})},onopentagname(e,t){const n=Bt(e,t);At={type:1,tag:n,ns:Et.getNamespace(n,Dt[0],Et.ns),tagType:0,props:[],children:[],loc:tn(e-1,t),codegenNode:void 0},Vt.inSFCRoot&&(At.innerLoc=tn(t+Jt(t)+1,t))},onopentagend(e){Ut(e)},onclosetag(e,t){const n=Bt(e,t);if(!Et.isVoidTag(n)){let s=!1;for(let e=0;e<Dt.length;e++){if(Dt[e].tag.toLowerCase()===n.toLowerCase()){s=!0;for(let n=0;n<=e;n++){Ht(Dt.shift(),t,n<e)}break}}s||Wt(e,60)}},onselfclosingtag(e){var t;const n=At.tag;At.isSelfClosing=!0,Ut(e),(null==(t=Dt[0])?void 0:t.tag)===n&&Ht(Dt.shift(),e)},onattribname(e,t){_t={type:6,name:Bt(e,t),nameLoc:tn(e,t),value:void 0,loc:tn(e)}},ondirname(e,t){const n=Bt(e,t),s="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Lt||""===s)_t={type:6,name:n,nameLoc:tn(e,t),value:void 0,loc:tn(e)};else if(_t={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?["prop"]:[],loc:tn(e)},"pre"===s){Lt=!0,Pt=At;const e=At.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=sn(e[t]))}},ondirarg(e,t){if(e===t)return;const n=Bt(e,t);if(Lt)_t.name+=n,nn(_t.nameLoc,t);else{const s="["!==n[0];_t.arg=be(s?n:n.slice(1,-1),s,tn(e,t),s?3:0)}},ondirmodifier(e,t){const n=Bt(e,t);if(Lt)_t.name+="."+n,nn(_t.nameLoc,t);else if("slot"===_t.name){const e=_t.arg;e&&(e.content+="."+n,nn(e.loc,t))}else _t.modifiers.push(n)},onattribdata(e,t){Ot+=Bt(e,t),Mt<0&&(Mt=e),$t=t},onattribentity(e,t,n){Ot+=e,Mt<0&&(Mt=t),$t=n},onattribnameend(e){const t=Bt(_t.loc.start.offset,e);7===_t.type&&(_t.rawName=t),At.props.some((e=>(7===e.type?e.rawName:e.name)===t))},onattribend(e,t){if(At&&_t){if(nn(_t.loc,t),0!==e)if(Ot.includes("&")&&(Ot=Et.decodeEntities(Ot,!0)),6===_t.type)"class"===_t.name&&(Ot=Zt(Ot).trim()),_t.value={type:2,content:Ot,loc:1===e?tn(Mt,$t):tn(Mt-1,$t+1)},Vt.inSFCRoot&&"template"===At.tag&&"lang"===_t.name&&Ot&&"html"!==Ot&&Vt.enterRCDATA(Fe("</template"),0);else{_t.exp=be(Ot,!1,tn(Mt,$t)),"for"===_t.name&&(_t.forParseResult=function(e){const t=e.loc,n=e.content,s=n.match(Nt);if(!s)return;const[,i,o]=s,r=(e,n)=>{const s=t.start.offset+n;return be(e,!1,tn(s,s+e.length))},c={source:r(o.trim(),n.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(qt,"").trim();const l=i.indexOf(a),h=a.match(Ft);if(h){a=a.replace(Ft,"").trim();const e=h[1].trim();let t;if(e&&(t=n.indexOf(e,l+a.length),c.key=r(e,t)),h[2]){const s=h[2].trim();s&&(c.index=r(s,n.indexOf(s,c.key?t+e.length:l+a.length)))}}a&&(c.value=r(a,l));return c}(_t.exp));let e=-1;"bind"===_t.name&&(e=_t.modifiers.indexOf("sync"))>-1&&He("COMPILER_V_BIND_SYNC",Et,0)&&(_t.name="model",_t.modifiers.splice(e,1))}7===_t.type&&"pre"===_t.name||At.props.push(_t)}Ot="",Mt=$t=-1},oncomment(e,t){Et.comments&&en({type:3,content:Bt(e,t),loc:tn(e-4,t+3)})},onend(){const e=wt.length;for(let t=0;t<Dt.length;t++)Ht(Dt[t],e-1)},oncdata(e,t){0!==Dt[0].ns&&jt(Bt(e,t),e,t)},onprocessinginstruction(e){0===(Dt[0]?Dt[0].ns:Et.ns)&&on(21,e-1)}}),Ft=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qt=/^\(|\)$/g;function Bt(e,t){return wt.slice(e,t)}function Ut(e){en(At);const{tag:t,ns:n}=At;0===n&&Et.isPreTag(t)&&Rt++,Et.isVoidTag(t)?Ht(At,e):(Dt.unshift(At),1!==n&&2!==n||(Vt.inXML=!0)),At=null}function jt(e,t,n){var s;{const t=null==(s=Dt[0])?void 0:s.tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=Et.decodeEntities(e,!1))}const i=Dt[0]||Ct,o=i.children[i.children.length-1];2===(null==o?void 0:o.type)?(o.content+=e,nn(o.loc,n)):i.children.push({type:2,content:e,loc:tn(t,n)})}function Ht(e,t,n=!1){nn(e.loc,n?Wt(t,60):t+Jt(t)+1),Vt.inSFCRoot&&(e.innerLoc.end=r({},e.children.length?e.children[e.children.length-1].loc.end:e.innerLoc.start),e.innerLoc.source=Bt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i}=e;Lt||("slot"===s?e.tagType=2:Kt(e)?e.tagType=3:function({tag:e,props:t}){var n;if(Et.isCustomElement(e))return!1;if("component"===e||(s=e.charCodeAt(0),s>64&&s<91)||Xe(e)||(null==(n=Et.isBuiltInComponent)?void 0:n.call(Et,e))||Et.isNativeTag&&!Et.isNativeTag(e))return!0;var s;for(let i=0;i<t.length;i++){const e=t[i];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(He("COMPILER_IS_ON_ELEMENT",Et))return!0}}else if("bind"===e.name&&dt(e.arg,"is")&&He("COMPILER_IS_ON_ELEMENT",Et))return!0}return!1}(e)&&(e.tagType=1)),Vt.inRCDATA||(e.children=Qt(e.children,e.tag)),0===i&&Et.isPreTag(s)&&Rt--,Pt===e&&(Lt=!1,Pt=null),Vt.inXML&&0===(Dt[0]?Dt[0].ns:Et.ns)&&(Vt.inXML=!1);{const t=e.props;if(je("COMPILER_NATIVE_TEMPLATE",Et)&&"template"===e.tag&&!Kt(e)){const t=Dt[0]||Ct,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find((e=>6===e.type&&"inline-template"===e.name));n&&He("COMPILER_INLINE_TEMPLATE",Et)&&e.children.length&&(n.value={type:2,content:Bt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Jt(e,t){let n=0;for(;62!==wt.charCodeAt(e+n)&&e+n<wt.length;)n++;return n}function Wt(e,t){let n=e;for(;wt.charCodeAt(n)!==t&&n>=0;)n--;return n}const zt=new Set(["if","else","else-if","for","slot"]);function Kt({tag:e,props:t}){if("template"===e)for(let n=0;n<t.length;n++)if(7===t[n].type&&zt.has(t[n].name))return!0;return!1}const Gt=/\r\n/g;function Qt(e,t){var n,s;const i="preserve"!==Et.whitespace;let o=!1;for(let r=0;r<e.length;r++){const t=e[r];if(2===t.type)if(Rt)t.content=t.content.replace(Gt,"\n");else if(Xt(t.content)){const c=null==(n=e[r-1])?void 0:n.type,a=null==(s=e[r+1])?void 0:s.type;!c||!a||i&&(3===c&&(3===a||1===a)||1===c&&(3===a||1===a&&Yt(t.content)))?(o=!0,e[r]=null):t.content=" "}else i&&(t.content=Zt(t.content))}if(Rt&&t&&Et.isPreTag(t)){const t=e[0];t&&2===t.type&&(t.content=t.content.replace(/^\r?\n/,""))}return o?e.filter(Boolean):e}function Xt(e){for(let t=0;t<e.length;t++)if(!De(e.charCodeAt(t)))return!1;return!0}function Yt(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function Zt(e){let t="",n=!1;for(let s=0;s<e.length;s++)De(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function en(e){(Dt[0]||Ct).children.push(e)}function tn(e,t){return{start:Vt.getPos(e),end:null==t?t:Vt.getPos(t),source:null==t?t:Bt(e,t)}}function nn(e,t){e.end=Vt.getPos(t),e.source=Bt(e.start.offset,t)}function sn(e){const t={type:6,name:e.rawName,nameLoc:tn(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function on(e,t){Et.onError(Ke(e,tn(t,t)))}function rn(e,t){if(Vt.reset(),At=null,_t=null,Ot="",Mt=-1,$t=-1,Dt.length=0,wt=e,Et=r({},Tt),t){let e;for(e in t)null!=t[e]&&(Et[e]=t[e])}Vt.mode="html"===Et.parseMode?1:"sfc"===Et.parseMode?2:0;const n=null==t?void 0:t.delimiters;n&&(Vt.delimiterOpen=Fe(n[0]),Vt.delimiterClose=Fe(n[1]));const s=Ct=ue([],e);return Vt.parse(wt),s.loc=tn(0,e.length),s.children=Qt(s.children),Ct=null,s}function cn(e,t){ln(e,t,an(e,e.children[0]))}function an(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!gt(t)}function ln(e,t,n=!1){const{children:s}=e,i=s.length;let o=0;for(let r=0;r<s.length;r++){const e=s[r];if(1===e.type&&0===e.tagType){const s=n?0:hn(e,t);if(s>0){if(s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o++;continue}}else{const n=e.codegenNode;if(13===n.type){const s=mn(n);if((!s||512===s||1===s)&&un(e,t)>=2){const s=fn(e);s&&(n.props=t.hoist(s))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,ln(e,t),n&&t.scopes.vSlot--}else if(11===e.type)ln(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)ln(e.branches[n],t,1===e.branches[n].children.length)}if(o&&t.transformHoist&&t.transformHoist(s,t,e),o&&o===i&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&c(e.codegenNode.children)){const n=t.hoist(me(e.codegenNode.children));t.hmr&&(n.content=`[...${n.content}]`),e.codegenNode.children=n}}function hn(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=n.get(e);if(void 0!==s)return s;const i=e.codegenNode;if(13!==i.type)return 0;if(i.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(mn(i))return n.set(e,0),0;{let s=3;const o=un(e,t);if(0===o)return n.set(e,0),0;o<s&&(s=o);for(let i=0;i<e.children.length;i++){const o=hn(e.children[i],t);if(0===o)return n.set(e,0),0;o<s&&(s=o)}if(s>1)for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&"bind"===o.name&&o.exp){const i=hn(o.exp,t);if(0===i)return n.set(e,0),0;i<s&&(s=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(_),t.removeHelper(Me(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Oe(t.inSSR,i.isComponent))}return n.set(e,s),s}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return hn(e.content,t);case 4:return e.constType;case 8:let o=3;for(let n=0;n<e.children.length;n++){const s=e.children[n];if(a(s)||l(s))continue;const i=hn(s,t);if(0===i)return 0;i<o&&(o=i)}return o}}const dn=new Set([K,G,Q,X]);function pn(e,t){if(14===e.type&&!a(e.callee)&&dn.has(e.callee)){const n=e.arguments[0];if(4===n.type)return hn(n,t);if(14===n.type)return pn(n,t)}return 0}function un(e,t){let n=3;const s=fn(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:i,value:o}=e[s],r=hn(i,t);if(0===r)return r;let c;if(r<n&&(n=r),c=4===o.type?hn(o,t):14===o.type?pn(o,t):0,0===c)return c;c<n&&(n=c)}}return n}function fn(e){const t=e.codegenNode;if(13===t.type)return t.props}function mn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function gn(e,{filename:s="",prefixIdentifiers:i=!1,hoistStatic:o=!1,hmr:r=!1,cacheHandlers:c=!1,nodeTransforms:l=[],directiveTransforms:h={},transformHoist:d=null,isBuiltInComponent:p=n,isCustomElement:u=n,expressionPlugins:f=[],scopeId:y=null,slotted:b=!0,ssr:v=!1,inSSR:S=!1,ssrCssVars:x="",bindingMetadata:k=t,inline:I=!1,isTS:N=!1,onError:T=We,onWarn:E=ze,compatConfig:C}){const w=s.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={selfName:w&&g(m(w[1])),prefixIdentifiers:i,hoistStatic:o,hmr:r,cacheHandlers:c,nodeTransforms:l,directiveTransforms:h,transformHoist:d,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:y,slotted:b,ssr:v,inSSR:S,ssrCssVars:x,bindingMetadata:k,inline:I,isTS:N,onError:T,onWarn:E,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=A.helpers.get(e)||0;return A.helpers.set(e,t+1),e},removeHelper(e){const t=A.helpers.get(e);if(t){const n=t-1;n?A.helpers.set(e,n):A.helpers.delete(e)}},helperString:e=>`_${he[A.helper(e)]}`,replaceNode(e){A.parent.children[A.childIndex]=A.currentNode=e},removeNode(e){const t=e?A.parent.children.indexOf(e):A.currentNode?A.childIndex:-1;e&&e!==A.currentNode?A.childIndex>t&&(A.childIndex--,A.onNodeRemoved()):(A.currentNode=null,A.onNodeRemoved()),A.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){a(e)&&(e=be(e)),A.hoists.push(e);const t=be(`_hoisted_${A.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ne(A.cached++,e,t)};return A.filters=new Set,A}function yn(e,t){const n=gn(e,t);bn(e,n),t.hoistStatic&&cn(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:s}=e;if(1===s.length){const n=s[0];if(an(e,n)&&n.codegenNode){const s=n.codegenNode;13===s.type&&$e(s,t),e.codegenNode=s}else e.codegenNode=n}else if(s.length>1){let s=64;e.codegenNode=fe(t,n(T),void 0,e.children,s+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function bn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&(c(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(L);break;case 5:t.ssr||t.helper(W);break;case 9:for(let n=0;n<e.branches.length;n++)bn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];a(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=s,bn(i,t))}}(e,t)}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function vn(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(ft))return;const o=[];for(let r=0;r<i.length;r++){const c=i[r];if(7===c.type&&n(c.name)){i.splice(r,1),r--;const n=t(e,c,s);n&&o.push(n)}}return o}}}const Sn="/*#__PURE__*/",xn=e=>`${he[e]}: _${he[e]}`;function kn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:s=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:r=!1,runtimeGlobalName:c="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:h=!1,isTS:d=!1,inSSR:p=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:o,optimizeImports:r,runtimeGlobalName:c,runtimeModuleName:a,ssrRuntimeModuleName:l,ssr:h,isTS:d,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${he[e]}`,push(e,t=-2,n){u.code+=e},indent(){f(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:f(--u.indentLevel)},newline(){f(u.indentLevel)}};function f(e){u.push("\n"+" ".repeat(e),0)}return u}function In(e,t={}){const n=kn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:o,indent:r,deindent:c,newline:a,ssr:l}=n,h=Array.from(e.helpers),d=h.length>0,p=!o&&"module"!==s,u=n;!function(e,t){const{push:n,newline:s,runtimeGlobalName:i}=t,o=i,r=Array.from(e.helpers);if(r.length>0&&(n(`const _Vue = ${o}\n`,-1),e.hoists.length)){n(`const { ${[$,R,L,P,D].filter((e=>r.includes(e))).map(xn).join(", ")} } = _Vue\n`,-1)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const o=e[i];o&&(n(`const _hoisted_${i+1} = `),Cn(o,t),s())}t.pure=!1})(e.hoists,t),s(),n("return ")}(e,u);if(i(`function ${l?"ssrRender":"render"}(${(l?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),r(),p&&(i("with (_ctx) {"),r(),d&&(i(`const { ${h.map(xn).join(", ")} } = _Vue\n`,-1),a())),e.components.length&&(Nn(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Nn(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Nn(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let t=0;t<e.temps;t++)i(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i("\n",0),a()),l||i("return "),e.codegenNode?Cn(e.codegenNode,n):i("null"),p&&(c(),i("}")),c(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Nn(e,t,{helper:n,push:s,newline:i,isTS:o}){const r=n("filter"===t?B:"component"===t?V:q);for(let c=0;c<e.length;c++){let n=e[c];const a=n.endsWith("__self");a&&(n=n.slice(0,-6)),s(`const ${xt(n,t)} = ${r}(${JSON.stringify(n)}${a?", true":""})${o?"!":""}`),c<e.length-1&&i()}}function Tn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),En(e,t,n),n&&t.deindent(),t.push("]")}function En(e,t,n=!1,s=!0){const{push:i,newline:o}=t;for(let r=0;r<e.length;r++){const l=e[r];a(l)?i(l,-3):c(l)?Tn(l,t):Cn(l,t),r<e.length-1&&(n?(s&&i(","),o()):s&&i(", "))}}function Cn(e,t){if(a(e))t.push(e,-3);else if(l(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Cn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:wn(e,t);break;case 5:!function(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Sn);n(`${s(W)}(`),Cn(e.content,t),n(")")}(e,t);break;case 8:An(e,t);break;case 3:!function(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Sn);n(`${s(L)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:s,pure:i}=t,{tag:o,props:r,children:c,patchFlag:a,dynamicProps:l,directives:h,isBlock:d,disableTracking:p,isComponent:u}=e;h&&n(s(U)+"(");d&&n(`(${s(_)}(${p?"true":""}), `);i&&n(Sn);const f=d?Me(t.inSSR,u):Oe(t.inSSR,u);n(s(f)+"(",-2,e),En(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([o,r,c,a,l]),t),n(")"),d&&n(")");h&&(n(", "),Cn(h,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:s,pure:i}=t,o=a(e.callee)?e.callee:s(e.callee);i&&n(Sn);n(o+"(",-2,e),En(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:s,deindent:i,newline:o}=t,{properties:r}=e;if(!r.length)return void n("{}",-2,e);const c=r.length>1||!1;n(c?"{":"{ "),c&&s();for(let a=0;a<r.length;a++){const{key:e,value:s}=r[a];_n(e,t),n(": "),Cn(s,t),a<r.length-1&&(n(","),o())}c&&i(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Tn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:s,deindent:i}=t,{params:o,returns:r,body:a,newline:l,isSlot:h}=e;h&&n(`_${he[oe]}(`);n("(",-2,e),c(o)?En(o,t):o&&Cn(o,t);n(") => "),(l||a)&&(n("{"),s());r?(l&&n("return "),c(r)?Tn(r,t):Cn(r,t)):a&&Cn(a,t);(l||a)&&(i(),n("}"));h&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:s,alternate:i,newline:o}=e,{push:r,indent:c,deindent:a,newline:l}=t;if(4===n.type){const e=!Ze(n.content);e&&r("("),wn(n,t),e&&r(")")}else r("("),Cn(n,t),r(")");o&&c(),t.indentLevel++,o||r(" "),r("? "),Cn(s,t),t.indentLevel--,o&&l(),o||r(" "),r(": ");const h=19===i.type;h||t.indentLevel++;Cn(i,t),h||t.indentLevel--;o&&a(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:s,indent:i,deindent:o,newline:r}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(`${s(ne)}(-1),`),r());n(`_cache[${e.index}] = `),Cn(e.value,t),e.isVNode&&(n(","),r(),n(`${s(ne)}(1),`),r(),n(`_cache[${e.index}]`),o());n(")")}(e,t);break;case 21:En(e.body,t,!0,!1)}}function wn(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function An(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];a(s)?t.push(s,-3):Cn(s,t)}}function _n(e,t){const{push:n}=t;if(8===e.type)n("["),An(e,t),n("]");else if(e.isStatic){n(Ze(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}function On(e,t,n=!1,s=[],i=Object.create(null)){}function Mn(e,t,n){return!1}function $n(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function Rn(e,t){for(const n of e.params)for(const e of Pn(n))t(e)}function Ln(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of Pn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}else if("ForOfStatement"===n.type||"ForInStatement"===n.type||"ForStatement"===n.type){const e="ForStatement"===n.type?n.init:n.left;if(e&&"VariableDeclaration"===e.type)for(const n of e.declarations)for(const e of Pn(n.id))t(e)}}function Pn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const s of e.properties)Pn("RestElement"===s.type?s.argument:s.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Pn(e,t)}));break;case"RestElement":Pn(e.argument,t);break;case"AssignmentPattern":Pn(e.left,t)}return t}const Dn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Vn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Fn=(e,t)=>Vn(t)&&t.key===e,qn=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],Bn=(e,t)=>{if(5===e.type)e.content=Un(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const s=e.props[n];if(7===s.type&&"for"!==s.name){const e=s.exp,n=s.arg;!e||4!==e.type||"on"===s.name&&n||(s.exp=Un(e,t,"slot"===s.name)),n&&4===n.type&&!n.isStatic&&(s.arg=Un(n,t))}}};function Un(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return e}function jn(e){return a(e)?e:4===e.type?e.content:e.children.map(jn).join("")}const Hn=vn(/^(if|else|else-if)$/,((e,t,n)=>Jn(e,t,n,((e,t,s)=>{const i=n.parent.children;let o=i.indexOf(e),r=0;for(;o-- >=0;){const e=i[o];e&&9===e.type&&(r+=e.branches.length)}return()=>{if(s)e.codegenNode=zn(t,r,n);else{const s=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);s.alternate=zn(t,r+e.branches.length-1,n)}}}))));function Jn(e,t,n,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(Ke(28,t.loc)),t.exp=be("true",!1,s)}if("if"===t.name){const i=Wn(e,t),o={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(o),s)return s(o,i,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-- >=-1;){const r=i[o];if(r&&3===r.type)n.removeNode(r);else{if(!r||2!==r.type||r.content.trim().length){if(r&&9===r.type){"else-if"===t.name&&void 0===r.branches[r.branches.length-1].condition&&n.onError(Ke(30,e.loc)),n.removeNode();const i=Wn(e,t);r.branches.push(i);const o=s&&s(r,i,!1);bn(i,n),o&&o(),n.currentNode=null}else n.onError(Ke(30,e.loc));break}n.removeNode(r)}}}}function Wn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!lt(e,"for")?e.children:[e],userKey:ht(e,"key"),isTemplateIf:n}}function zn(e,t,n){return e.condition?Ie(e.condition,Kn(e,t,n),xe(n.helper(L),['""',"true"])):Kn(e,t,n)}function Kn(e,t,n){const{helper:s}=n,i=ye("key",be(`${t}`,!1,pe,2)),{children:o}=e,r=o[0];if(1!==o.length||1!==r.type){if(1===o.length&&11===r.type){const e=r.codegenNode;return vt(e,i,n),e}{let t=64;return fe(n,s(T),ge([i]),o,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=r.codegenNode,t=It(e);return 13===t.type&&$e(t,n),vt(t,i,n),e}}const Gn=vn("for",((e,t,n)=>{const{helper:s,removeHelper:i}=n;return Qn(e,t,n,(t=>{const o=xe(s(j),[t.source]),r=mt(e),c=lt(e,"memo"),a=ht(e,"key"),l=a&&(6===a.type?be(a.value.content,!0):a.exp),h=a?ye("key",l):null,d=4===t.source.type&&t.source.constType>0,p=d?64:a?128:256;return t.codegenNode=fe(n,s(T),void 0,o,p+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let a;const{children:p}=t,u=1!==p.length||1!==p[0].type,f=gt(e)?e:r&&1===e.children.length&>(e.children[0])?e.children[0]:null;if(f?(a=f.codegenNode,r&&h&&vt(a,h,n)):u?a=fe(n,s(T),h?ge([h]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(a=p[0].codegenNode,r&&h&&vt(a,h,n),a.isBlock!==!d&&(a.isBlock?(i(_),i(Me(n.inSSR,a.isComponent))):i(Oe(n.inSSR,a.isComponent))),a.isBlock=!d,a.isBlock?(s(_),s(Me(n.inSSR,a.isComponent))):s(Oe(n.inSSR,a.isComponent))),c){const e=ke(Yn(t.parseResult,[be("_cached")]));e.body=Te([Se(["const _memo = (",c.exp,")"]),Se(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(le)}(_cached, _memo)) return _cached`]),Se(["const _item = ",a]),be("_item.memo = _memo"),be("return _item")]),o.arguments.push(e,be("_cache"),be(String(n.cached++)))}else o.arguments.push(ke(Yn(t.parseResult),a,!0))}}))}));function Qn(e,t,n,s){if(!t.exp)return void n.onError(Ke(31,t.loc));const i=t.forParseResult;if(!i)return void n.onError(Ke(32,t.loc));Xn(i);const{scopes:o}=n,{source:r,value:c,key:a,index:l}=i,h={type:11,loc:t.loc,source:r,valueAlias:c,keyAlias:a,objectIndexAlias:l,parseResult:i,children:mt(e)?e.children:[e]};n.replaceNode(h),o.vFor++;const d=s&&s(h);return()=>{o.vFor--,d&&d()}}function Xn(e,t){e.finalized||(e.finalized=!0)}function Yn({value:e,key:t,index:n},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||be("_".repeat(t+1),!1)))}([e,t,n,...s])}const Zn=be("undefined",!1),es=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=lt(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ts=(e,t)=>{let n;if(mt(e)&&e.props.some(ft)&&(n=lt(e,"for"))){const e=n.forParseResult;if(e){Xn(e);const{value:n,key:s,index:i}=e,{addIdentifiers:o,removeIdentifiers:r}=t;return n&&o(n),s&&o(s),i&&o(i),()=>{n&&r(n),s&&r(s),i&&r(i)}}}},ns=(e,t,n,s)=>ke(e,n,!1,!0,n.length?n[0].loc:s);function ss(e,t,n=ns){t.helper(oe);const{children:s,loc:i}=e,o=[],r=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const a=lt(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!Qe(e)&&(c=!0),o.push(ye(e||be("default",!0),n(t,void 0,s,i)))}let l=!1,h=!1;const d=[],p=new Set;let u=0;for(let g=0;g<s.length;g++){const e=s[g];let i;if(!mt(e)||!(i=lt(e,"slot",!0))){3!==e.type&&d.push(e);continue}if(a){t.onError(Ke(37,i.loc));break}l=!0;const{children:f,loc:m}=e,{arg:y=be("default",!0),exp:b,loc:v}=i;let S;Qe(y)?S=y?y.content:"default":c=!0;const x=lt(e,"for"),k=n(b,x,f,m);let I,N;if(I=lt(e,"if"))c=!0,r.push(Ie(I.exp,is(y,k,u++),Zn));else if(N=lt(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=s[n],3===e.type););if(e&&mt(e)&<(e,"if")){s.splice(g,1),g--;let e=r[r.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Ie(N.exp,is(y,k,u++),Zn):is(y,k,u++)}else t.onError(Ke(30,N.loc))}else if(x){c=!0;const e=x.forParseResult;e?(Xn(e),r.push(xe(t.helper(j),[e.source,ke(Yn(e),is(y,k),!0)]))):t.onError(Ke(32,x.loc))}else{if(S){if(p.has(S)){t.onError(Ke(38,v));continue}p.add(S),"default"===S&&(h=!0)}o.push(ye(y,k))}}if(!a){const e=(e,s)=>{const o=n(e,void 0,s,i);return t.compatConfig&&(o.isNonScopedSlot=!0),ye("default",o)};l?d.length&&d.some((e=>rs(e)))&&(h?t.onError(Ke(39,d[0].loc)):o.push(e(void 0,d))):o.push(e(void 0,s))}const f=c?2:os(e.children)?3:1;let m=ge(o.concat(ye("_",be(f+"",!1))),i);return r.length&&(m=xe(t.helper(J),[m,me(r)])),{slots:m,hasDynamicSlots:c}}function is(e,t,n){const s=[ye("name",e),ye("fn",t)];return null!=n&&s.push(ye("key",be(String(n),!0))),ge(s)}function os(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||os(n.children))return!0;break;case 9:if(os(n.branches))return!0;break;case 10:case 11:if(os(n.children))return!0}}return!1}function rs(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():rs(e.content))}const cs=new WeakMap,as=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:s}=e,i=1===e.tagType;let o=i?ls(e,t):`"${n}"`;const r=h(o)&&o.callee===F;let c,a,l,d,p,u,f=0,m=r||o===E||o===C||!i&&("svg"===n||"foreignObject"===n);if(s.length>0){const n=hs(e,t,void 0,i,r);c=n.props,f=n.patchFlag,p=n.dynamicPropNames;const s=n.directives;u=s&&s.length?me(s.map((e=>us(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){o===w&&(m=!0,f|=1024);if(i&&o!==E&&o!==w){const{slots:n,hasDynamicSlots:s}=ss(e,t);a=n,s&&(f|=1024)}else if(1===e.children.length&&o!==E){const n=e.children[0],s=n.type,i=5===s||8===s;i&&0===hn(n,t)&&(f|=1),a=i||2===s?n:e.children}else a=e.children}0!==f&&(l=String(f),p&&p.length&&(d=function(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=fe(t,o,c,a,l,d,u,!!m,!1,i,e.loc)};function ls(e,t,n=!1){let{tag:s}=e;const i=fs(s),o=ht(e,"is");if(o)if(i||je("COMPILER_IS_ON_ELEMENT",t)){const e=6===o.type?o.value&&be(o.value.content,!0):o.exp;if(e)return xe(t.helper(F),[e])}else 6===o.type&&o.value.content.startsWith("vue:")&&(s=o.value.content.slice(4));const r=Xe(s)||t.isBuiltInComponent(s);return r?(n||t.helper(r),r):(t.helper(V),t.components.add(s),xt(s,"component"))}function hs(e,t,n=e.props,s,i,r=!1){const{tag:c,loc:a,children:h}=e;let u=[];const f=[],m=[],g=h.length>0;let y=!1,b=0,v=!1,S=!1,x=!1,k=!1,I=!1,N=!1;const T=[],E=e=>{u.length&&(f.push(ge(ds(u),a)),u=[]),e&&f.push(e)},C=({key:e,value:n})=>{if(Qe(e)){const r=e.content,c=o(r);if(!c||s&&!i||"onclick"===r.toLowerCase()||"onUpdate:modelValue"===r||d(r)||(k=!0),c&&d(r)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&hn(n,t)>0)return;"ref"===r?v=!0:"class"===r?S=!0:"style"===r?x=!0:"key"===r||T.includes(r)||T.push(r),!s||"class"!==r&&"style"!==r||T.includes(r)||T.push(r)}else I=!0};for(let o=0;o<n.length;o++){const i=n[o];if(6===i.type){const{loc:e,name:n,nameLoc:s,value:o}=i;let r=!0;if("ref"===n&&(v=!0,t.scopes.vFor>0&&u.push(ye(be("ref_for",!0),be("true")))),"is"===n&&(fs(c)||o&&o.content.startsWith("vue:")||je("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(ye(be(n,!0,s),be(o?o.content:"",r,o?o.loc:e)))}else{const{name:n,arg:o,exp:h,loc:d,modifiers:v}=i,S="bind"===n,x="on"===n;if("slot"===n){s||t.onError(Ke(40,d));continue}if("once"===n||"memo"===n)continue;if("is"===n||S&&dt(o,"is")&&(fs(c)||je("COMPILER_IS_ON_ELEMENT",t)))continue;if(x&&r)continue;if((S&&dt(o,"key")||x&&g&&dt(o,"vue:before-update"))&&(y=!0),S&&dt(o,"ref")&&t.scopes.vFor>0&&u.push(ye(be("ref_for",!0),be("true"))),!o&&(S||x)){if(I=!0,h)if(S){if(E(),je("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(h);continue}f.push(h)}else E({type:14,loc:d,callee:t.helper(Y),arguments:s?[h]:[h,"true"]});else t.onError(Ke(S?34:35,d));continue}S&&v.includes("prop")&&(b|=32);const k=t.directiveTransforms[n];if(k){const{props:n,needRuntime:s}=k(i,e,t);!r&&n.forEach(C),x&&o&&!Qe(o)?E(ge(n,a)):u.push(...n),s&&(m.push(i),l(s)&&cs.set(i,s))}else p(n)||(m.push(i),g&&(y=!0))}}let w;if(f.length?(E(),w=f.length>1?xe(t.helper(z),f,a):f[0]):u.length&&(w=ge(ds(u),a)),I?b|=16:(S&&!s&&(b|=2),x&&!s&&(b|=4),T.length&&(b|=8),k&&(b|=32)),y||0!==b&&32!==b||!(v||N||m.length>0)||(b|=512),!t.inSSR&&w)switch(w.type){case 15:let e=-1,n=-1,s=!1;for(let t=0;t<w.properties.length;t++){const i=w.properties[t].key;Qe(i)?"class"===i.content?e=t:"style"===i.content&&(n=t):i.isHandlerKey||(s=!0)}const i=w.properties[e],o=w.properties[n];s?w=xe(t.helper(Q),[w]):(i&&!Qe(i.value)&&(i.value=xe(t.helper(K),[i.value])),o&&(x||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=xe(t.helper(G),[o.value])));break;case 14:break;default:w=xe(t.helper(Q),[xe(t.helper(X),[w])])}return{props:w,directives:m,patchFlag:b,dynamicPropNames:T,shouldUseBlock:y}}function ds(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(8===i.key.type||!i.key.isStatic){n.push(i);continue}const r=i.key.content,c=t.get(r);c?("style"===r||"class"===r||o(r))&&ps(c,i):(t.set(r,i),n.push(i))}return n}function ps(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=me([e.value,t.value],e.loc)}function us(e,t){const n=[],s=cs.get(e);s?n.push(t.helperString(s)):(t.helper(q),t.directives.add(e.name),n.push(xt(e.name,"directive")));const{loc:i}=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"));const t=be("true",!1,i);n.push(ge(e.modifiers.map((e=>ye(e,t))),i))}return me(n,e.loc)}function fs(e){return"component"===e||"Component"===e}const ms=(e,t)=>{if(gt(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:o}=gs(e,t),r=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let c=2;o&&(r[2]=o,c=3),n.length&&(r[3]=ke([],n,!1,!1,s),c=4),t.scopeId&&!t.slotted&&(c=5),r.splice(c),e.codegenNode=xe(t.helper(H),r,s)}};function gs(e,t){let n,s='"default"';const i=[];for(let o=0;o<e.props.length;o++){const t=e.props[o];6===t.type?t.value&&("name"===t.name?s=JSON.stringify(t.value.content):(t.name=m(t.name),i.push(t))):"bind"===t.name&&dt(t.arg,"name")?t.exp&&(s=t.exp):("bind"===t.name&&t.arg&&Qe(t.arg)&&(t.arg.content=m(t.arg.content)),i.push(t))}if(i.length>0){const{props:s,directives:o}=hs(e,t,i,!1,!1);n=s,o.length&&t.onError(Ke(36,o[0].loc))}return{slotName:s,slotProps:n}}const ys=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,bs=(e,t,n,s)=>{const{loc:i,modifiers:o,arg:r}=e;let c;if(4===r.type)if(r.isStatic){let e=r.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=be(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?y(m(e)):`on:${e}`,!0,r.loc)}else c=Se([`${n.helperString(te)}(`,r,")"]);else c=r,c.children.unshift(`${n.helperString(te)}(`),c.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let l=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const e=ot(a.content),t=!(e||ys.test(a.content)),n=a.content.includes(";");(t||l&&e)&&(a=Se([`${t?"$event":"(...args)"} => ${n?"{":"("}`,a,n?"}":")"]))}let h={props:[ye(c,a||be("() => {}",!1,i))]};return s&&(h=s(h)),l&&(h.props[0].value=n.cache(h.props[0].value)),h.props.forEach((e=>e.key.isHandlerKey=!0)),h},vs=(e,t,n)=>{const{modifiers:s,loc:i}=e,o=e.arg;let{exp:r}=e;if(!r&&4===o.type){const t=m(o.content);r=e.exp=be(t,!1,o.loc)}return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),s.includes("camel")&&(4===o.type?o.content=o.isStatic?m(o.content):`${n.helperString(Z)}(${o.content})`:(o.children.unshift(`${n.helperString(Z)}(`),o.children.push(")"))),n.inSSR||(s.includes("prop")&&Ss(o,"."),s.includes("attr")&&Ss(o,"^")),!r||4===r.type&&!r.content.trim()?{props:[ye(o,be("",!0,i))]}:{props:[ye(o,r)]}},Ss=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},xs=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let s,i=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ut(t)){i=!0;for(let i=e+1;i<n.length;i++){const o=n[i];if(!ut(o)){s=void 0;break}s||(s=n[e]=Se([t],t.loc)),s.children.push(" + ",o),n.splice(i,1),i--}}}if(i&&(1!==n.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<n.length;e++){const s=n[e];if(ut(s)||8===s.type){const i=[];2===s.type&&" "===s.content||i.push(s),t.ssr||0!==hn(s,t)||i.push("1"),n[e]={type:12,content:s,loc:s.loc,codegenNode:xe(t.helper(P),i)}}}}},ks=new WeakSet,Is=(e,t)=>{if(1===e.type&<(e,"once",!0)){if(ks.has(e)||t.inVOnce||t.inSSR)return;return ks.add(e),t.inVOnce=!0,t.helper(ne),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Ns=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(Ke(41,e.loc)),Ts();const o=s.loc.source,r=4===s.type?s.content:o,c=n.bindingMetadata[o];if("props"===c||"props-aliased"===c)return Ts();if(!r.trim()||!ot(r))return n.onError(Ke(42,s.loc)),Ts();const a=i||be("modelValue",!0),l=i?Qe(i)?`onUpdate:${m(i.content)}`:Se(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;h=Se([`${n.isTS?"($event: any)":"$event"} => ((`,s,") = $event)"]);const d=[ye(a,e.exp),ye(l,h)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ze(e)?e:JSON.stringify(e))+": true")).join(", "),n=i?Qe(i)?`${i.content}Modifiers`:Se([i,' + "Modifiers"']):"modelModifiers";d.push(ye(n,be(`{ ${t} }`,!1,e.loc,2)))}return Ts(d)};function Ts(e=[]){return{props:e}}const Es=/[\w).+\-_$\]]/,Cs=(e,t)=>{je("COMPILER_FILTER",t)&&(5===e.type&&ws(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&ws(e.exp,t)})))};function ws(e,t){if(4===e.type)As(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];"object"==typeof s&&(4===s.type?As(s,t):8===s.type?ws(e,t):5===s.type&&ws(s.content,t))}}function As(e,t){const n=e.content;let s,i,o,r,c=!1,a=!1,l=!1,h=!1,d=0,p=0,u=0,f=0,m=[];for(o=0;o<n.length;o++)if(i=s,s=n.charCodeAt(o),c)39===s&&92!==i&&(c=!1);else if(a)34===s&&92!==i&&(a=!1);else if(l)96===s&&92!==i&&(l=!1);else if(h)47===s&&92!==i&&(h=!1);else if(124!==s||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||d||p||u){switch(s){case 34:a=!0;break;case 39:c=!0;break;case 96:l=!0;break;case 40:u++;break;case 41:u--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===s){let e,t=o-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Es.test(e)||(h=!0)}}else void 0===r?(f=o+1,r=n.slice(0,o).trim()):g();function g(){m.push(n.slice(f,o).trim()),f=o+1}if(void 0===r?r=n.slice(0,o).trim():0!==f&&g(),m.length){for(o=0;o<m.length;o++)r=_s(r,m[o],t);e.content=r}}function _s(e,t,n){n.helper(B);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${xt(t,"filter")}(${e})`;{const i=t.slice(0,s),o=t.slice(s+1);return n.filters.add(i),`${xt(i,"filter")}(${e}${")"!==o?","+o:o}`}}const Os=new WeakSet,Ms=(e,t)=>{if(1===e.type){const n=lt(e,"memo");if(!n||Os.has(e))return;return Os.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&$e(s,t),e.codegenNode=xe(t.helper(ae),[n.exp,ke(void 0,s),"_cache",String(t.cached++)]))}}};function $s(e){return[[Is,Hn,Ms,Gn,Cs,ms,as,es,xs],{on:bs,bind:vs,model:Ns}]}function Rs(e,t={}){const n=t.onError||We,s="module"===t.mode;!0===t.prefixIdentifiers?n(Ke(47)):s&&n(Ke(48));t.cacheHandlers&&n(Ke(49)),t.scopeId&&!s&&n(Ke(50));const i=a(e)?rn(e,t):e,[o,c]=$s();return yn(i,r({},t,{prefixIdentifiers:false,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:r({},c,t.directiveTransforms||{})})),In(i,r({},t,{prefixIdentifiers:false}))}const Ls=()=>({props:[]}),Ps=Symbol(""),Ds=Symbol(""),Vs=Symbol(""),Fs=Symbol(""),qs=Symbol(""),Bs=Symbol(""),Us=Symbol(""),js=Symbol(""),Hs=Symbol(""),Js=Symbol("");let Ws;de({[Ps]:"vModelRadio",[Ds]:"vModelCheckbox",[Vs]:"vModelText",[Fs]:"vModelSelect",[qs]:"vModelDynamic",[Bs]:"withModifiers",[Us]:"withKeys",[js]:"vShow",[Hs]:"Transition",[Js]:"TransitionGroup"});const zs={parseMode:"html",isVoidTag:N,isNativeTag:e=>k(e)||I(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Ws||(Ws=document.createElement("div")),t?(Ws.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Ws.children[0].getAttribute("foo")):(Ws.innerHTML=e,Ws.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Hs:"TransitionGroup"===e||"transition-group"===e?Js:void 0,getNamespace(e,t,n){let s=t?t.ns:n;if(t&&2===s)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)))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(s=0);else t&&1===s&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(s=0));if(0===s){if("svg"===e)return 1;if("math"===e)return 2}return s}},Ks=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:be("style",!0,t.loc),exp:Gs(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Gs=(e,t)=>{const n=function(e){const t={};return e.replace(x,"").split(v).forEach((e=>{if(e){const n=e.split(S);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return be(JSON.stringify(n),!1,t,3)};function Qs(e,t){return Ke(e,t)}const Xs={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."},Ys=e("passive,once,capture"),Zs=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ei=e("left,right"),ti=e("onkeyup,onkeydown,onkeypress",!0),ni=(e,t)=>Qe(e)&&"onclick"===e.content.toLowerCase()?be(t,!0):4!==e.type?Se(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,si=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},ii=[Ks],oi={cloak:Ls,html:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Qs(53,i)),t.children.length&&(n.onError(Qs(54,i)),t.children.length=0),{props:[ye(be("innerHTML",!0,i),s||be("",!0))]}},text:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Qs(55,i)),t.children.length&&(n.onError(Qs(56,i)),t.children.length=0),{props:[ye(be("textContent",!0),s?hn(s,n)>0?s:xe(n.helperString(W),[s],i):be("",!0))]}},model:(e,t,n)=>{const s=Ns(e,t,n);if(!s.props.length||1===t.tagType)return s;e.arg&&n.onError(Qs(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let r=Vs,c=!1;if("input"===i||o){const s=ht(t,"type");if(s){if(7===s.type)r=qs;else if(s.value)switch(s.value.content){case"radio":r=Ps;break;case"checkbox":r=Ds;break;case"file":c=!0,n.onError(Qs(59,e.loc))}}else pt(t)&&(r=qs)}else"select"===i&&(r=Fs);c||(s.needRuntime=n.helper(r))}else n.onError(Qs(57,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,n)=>bs(e,t,n,(t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:i,value:o}=t.props[0];const{keyModifiers:r,nonKeyModifiers:c,eventOptionModifiers:a}=((e,t,n,s)=>{const i=[],o=[],r=[];for(let c=0;c<t.length;c++){const s=t[c];"native"===s&&He("COMPILER_V_ON_NATIVE",n)||Ys(s)?r.push(s):ei(s)?Qe(e)?ti(e.content)?i.push(s):o.push(s):(i.push(s),o.push(s)):Zs(s)?o.push(s):i.push(s)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:r}})(i,s,n);if(c.includes("right")&&(i=ni(i,"onContextmenu")),c.includes("middle")&&(i=ni(i,"onMouseup")),c.length&&(o=xe(n.helper(Bs),[o,JSON.stringify(c)])),!r.length||Qe(i)&&!ti(i.content)||(o=xe(n.helper(Us),[o,JSON.stringify(r)])),a.length){const e=a.map(g).join("");i=Qe(i)?be(`${i.content}${e}`,!0):Se(["(",i,`) + "${e}"`])}return{props:[ye(i,o)]}})),show:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Qs(61,i)),{props:[],needRuntime:n.helper(js)}}};function ri(e,t={}){return Rs(e,r({},zs,t,{nodeTransforms:[si,...ii,...t.nodeTransforms||[]],directiveTransforms:r({},oi,t.directiveTransforms||{}),transformHoist:null}))}function ci(e,t={}){return rn(e,r({},zs,t))}export{A as BASE_TRANSITION,Z as CAMELIZE,ee as CAPITALIZE,O as CREATE_BLOCK,L as CREATE_COMMENT,M as CREATE_ELEMENT_BLOCK,R as CREATE_ELEMENT_VNODE,J as CREATE_SLOTS,D as CREATE_STATIC,P as CREATE_TEXT,$ as CREATE_VNODE,oi as DOMDirectiveTransforms,Xs as DOMErrorMessages,ii as DOMNodeTransforms,T as FRAGMENT,X as GUARD_REACTIVE_PROPS,le as IS_MEMO_SAME,ce as IS_REF,w as KEEP_ALIVE,z as MERGE_PROPS,K as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,G as NORMALIZE_STYLE,_ as OPEN_BLOCK,ie as POP_SCOPE_ID,se as PUSH_SCOPE_ID,j as RENDER_LIST,H as RENDER_SLOT,V as RESOLVE_COMPONENT,q as RESOLVE_DIRECTIVE,F as RESOLVE_DYNAMIC_COMPONENT,B as RESOLVE_FILTER,ne as SET_BLOCK_TRACKING,C as SUSPENSE,E as TELEPORT,W as TO_DISPLAY_STRING,Y as TO_HANDLERS,te as TO_HANDLER_KEY,Hs as TRANSITION,Js as TRANSITION_GROUP,qn as TS_NODE_TYPES,re as UNREF,Ds as V_MODEL_CHECKBOX,qs as V_MODEL_DYNAMIC,Ps as V_MODEL_RADIO,Fs as V_MODEL_SELECT,Vs as V_MODEL_TEXT,Us as V_ON_WITH_KEYS,Bs as V_ON_WITH_MODIFIERS,js as V_SHOW,oe as WITH_CTX,U as WITH_DIRECTIVES,ae as WITH_MEMO,rt as advancePositionWithClone,ct as advancePositionWithMutation,at as assert,Rs as baseCompile,rn as baseParse,us as buildDirectiveArgs,hs as buildProps,ss as buildSlots,He as checkCompatEnabled,ri as compile,$e as convertToBlock,me as createArrayExpression,we as createAssignmentExpression,Te as createBlockStatement,Ne as createCacheExpression,xe as createCallExpression,Ke as createCompilerError,Se as createCompoundExpression,Ie as createConditionalExpression,Qs as createDOMCompilerError,Yn as createForLoopParams,ke as createFunctionExpression,Ce as createIfStatement,ve as createInterpolation,ge as createObjectExpression,ye as createObjectProperty,_e as createReturnStatement,ue as createRoot,Ae as createSequenceExpression,be as createSimpleExpression,vn as createStructuralDirectiveTransform,Ee as createTemplateLiteral,gn as createTransformContext,fe as createVNodeCall,Ge as errorMessages,Pn as extractIdentifiers,lt as findDir,ht as findProp,Nt as forAliasRE,In as generate,b as generateCodeFrame,$s as getBaseTransformPreset,hn as getConstantType,It as getMemoedVNodeCall,Me as getVNodeBlockHelper,Oe as getVNodeHelper,pt as hasDynamicKeyVBind,kt as hasScopeRef,he as helperNameMap,vt as injectProp,Xe as isCoreComponent,Dn as isFunctionType,$n as isInDestructureAssignment,ot as isMemberExpression,st as isMemberExpressionBrowser,it as isMemberExpressionNode,Mn as isReferencedIdentifier,Ze as isSimpleIdentifier,gt as isSlotOutlet,dt as isStaticArgOf,Qe as isStaticExp,Vn as isStaticProperty,Fn as isStaticPropertyKey,mt as isTemplateNode,ut as isText,ft as isVSlot,pe as locStub,Ls as noopDirectiveTransform,ci as parse,zs as parserOptions,Un as processExpression,Qn as processFor,Jn as processIf,gs as processSlotOutlet,de as registerRuntimeHelpers,ls as resolveComponentType,jn as stringifyExpression,xt as toValidAssetId,es as trackSlotScopes,ts as trackVForSlotScopes,yn as transform,vs as transformBind,as as transformElement,Bn as transformExpression,Ns as transformModel,bs as transformOn,Ks as transformStyle,bn as traverseNode,Ln as walkBlockDeclarations,Rn as walkFunctionParams,On as walkIdentifiers,Je as warnDeprecation};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerRuntimeHelpers,
|
|
1
|
+
import { registerRuntimeHelpers, createSimpleExpression, createCompilerError, createObjectProperty, getConstantType, createCallExpression, TO_DISPLAY_STRING, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, findDir, isStaticArgOf, transformOn as transformOn$1, isStaticExp, createCompoundExpression, checkCompatEnabled, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';
|
|
2
2
|
export * from '@vue/compiler-core';
|
|
3
|
-
import { isVoidTag, isHTMLTag, isSVGTag,
|
|
3
|
+
import { isVoidTag, isHTMLTag, isSVGTag, parseStringStyle, capitalize, makeMap, extend } from '@vue/shared';
|
|
4
4
|
|
|
5
5
|
const V_MODEL_RADIO = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelRadio` : ``);
|
|
6
6
|
const V_MODEL_CHECKBOX = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelCheckbox` : ``);
|
|
@@ -39,25 +39,22 @@ function decodeHtmlBrowser(raw, asAttr = false) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
const isRawTextContainer = /* @__PURE__ */ makeMap(
|
|
43
|
-
"style,iframe,script,noscript",
|
|
44
|
-
true
|
|
45
|
-
);
|
|
46
42
|
const parserOptions = {
|
|
43
|
+
parseMode: "html",
|
|
47
44
|
isVoidTag,
|
|
48
45
|
isNativeTag: (tag) => isHTMLTag(tag) || isSVGTag(tag),
|
|
49
46
|
isPreTag: (tag) => tag === "pre",
|
|
50
47
|
decodeEntities: decodeHtmlBrowser ,
|
|
51
48
|
isBuiltInComponent: (tag) => {
|
|
52
|
-
if (
|
|
49
|
+
if (tag === "Transition" || tag === "transition") {
|
|
53
50
|
return TRANSITION;
|
|
54
|
-
} else if (
|
|
51
|
+
} else if (tag === "TransitionGroup" || tag === "transition-group") {
|
|
55
52
|
return TRANSITION_GROUP;
|
|
56
53
|
}
|
|
57
54
|
},
|
|
58
55
|
// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
|
|
59
|
-
getNamespace(tag, parent) {
|
|
60
|
-
let ns = parent ? parent.ns :
|
|
56
|
+
getNamespace(tag, parent, rootNamespace) {
|
|
57
|
+
let ns = parent ? parent.ns : rootNamespace;
|
|
61
58
|
if (parent && ns === 2) {
|
|
62
59
|
if (parent.tag === "annotation-xml") {
|
|
63
60
|
if (tag === "svg") {
|
|
@@ -85,18 +82,6 @@ const parserOptions = {
|
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
84
|
return ns;
|
|
88
|
-
},
|
|
89
|
-
// https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments
|
|
90
|
-
getTextMode({ tag, ns }) {
|
|
91
|
-
if (ns === 0) {
|
|
92
|
-
if (tag === "textarea" || tag === "title") {
|
|
93
|
-
return 1;
|
|
94
|
-
}
|
|
95
|
-
if (isRawTextContainer(tag)) {
|
|
96
|
-
return 2;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return 0;
|
|
100
85
|
}
|
|
101
86
|
};
|
|
102
87
|
|
|
@@ -211,8 +196,8 @@ const transformModel = (dir, node, context) => {
|
|
|
211
196
|
);
|
|
212
197
|
}
|
|
213
198
|
function checkDuplicatedValue() {
|
|
214
|
-
const value =
|
|
215
|
-
if (value) {
|
|
199
|
+
const value = findDir(node, "bind");
|
|
200
|
+
if (value && isStaticArgOf(value.arg, "value")) {
|
|
216
201
|
context.onError(
|
|
217
202
|
createDOMCompilerError(
|
|
218
203
|
60,
|
|
@@ -417,6 +402,7 @@ const transformTransition = (node, context) => {
|
|
|
417
402
|
node.props.push({
|
|
418
403
|
type: 6,
|
|
419
404
|
name: "persisted",
|
|
405
|
+
nameLoc: node.loc,
|
|
420
406
|
value: void 0,
|
|
421
407
|
loc: node.loc
|
|
422
408
|
});
|
|
@@ -461,9 +447,9 @@ const DOMDirectiveTransforms = {
|
|
|
461
447
|
// override compiler-core
|
|
462
448
|
show: transformShow
|
|
463
449
|
};
|
|
464
|
-
function compile(
|
|
450
|
+
function compile(src, options = {}) {
|
|
465
451
|
return baseCompile(
|
|
466
|
-
|
|
452
|
+
src,
|
|
467
453
|
extend({}, parserOptions, options, {
|
|
468
454
|
nodeTransforms: [
|
|
469
455
|
// ignore <script> and <tag>
|