@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
|
-
var VueCompilerDOM=function(e){"use strict";function t(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 n={},o=()=>{},r=()=>!1,s=/^on[^a-z]/,i=e=>s.test(e),c=Object.assign,l=Array.isArray,a=e=>"string"==typeof e,p=e=>"symbol"==typeof e,u=e=>null!==e&&"object"==typeof e,d=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),f=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},m=/-(\w)/g,g=h((e=>e.replace(m,((e,t)=>t?t.toUpperCase():"")))),y=/\B([A-Z])/g,v=h((e=>e.replace(y,"-$1").toLowerCase())),b=h((e=>e.charAt(0).toUpperCase()+e.slice(1))),S=h((e=>e?`on${b(e)}`:""));const E=/;(?![^(]*\))/g,x=/:([^]+)/,T=/\/\*[^]*?\*\//g;const N=t("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"),_=t("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"),k=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function O(e){throw e}function C(e){}function I(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const M={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:""},w=Symbol(""),R=Symbol(""),P=Symbol(""),$=Symbol(""),L=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),U=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=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={[w]:"Fragment",[R]:"Teleport",[P]:"Suspense",[$]:"KeepAlive",[L]:"BaseTransition",[V]:"openBlock",[A]:"createBlock",[D]:"createElementBlock",[B]:"createVNode",[F]:"createElementVNode",[j]:"createCommentVNode",[U]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[K]:"resolveDynamicComponent",[J]:"resolveDirective",[G]:"resolveFilter",[z]:"withDirectives",[q]:"renderList",[Y]:"renderSlot",[Z]:"createSlots",[X]:"toDisplayString",[Q]:"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(V),e.helper(Re(e.inSSR,a))):e.helper(we(e.inSSR,a)),i&&e.helper(z)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Ee(e,t=ve){return{type:17,loc:t,elements:e}}function xe(e,t=ve){return{type:15,loc:t,properties:e}}function Te(e,t){return{type:16,loc:ve,key:a(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 _e(e,t=ve){return{type:8,loc:t,children:e}}function ke(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 Me(e){return{type:21,body:e,loc:ve}}function we(e,t){return e||t?B:F}function Re(e,t){return e||t?A:D}function Pe(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(we(o,e.isComponent)),t(V),t(Re(o,e.isComponent)))}const $e=e=>4===e.type&&e.isStatic,Le=(e,t)=>e===t||e===v(t);function Ve(e){return Le(e,"Teleport")?R:Le(e,"Suspense")?P:Le(e,"KeepAlive")?$:Le(e,"BaseTransition")?L:void 0}const Ae=/^\d|[^\$\w]/,De=e=>!Ae.test(e),Be=/[A-Za-z_$\xA0-\uFFFF]/,Fe=/[\.\?\w$\xA0-\uFFFF]/,je=/\s+[.[]\s*|\s*[.[]\s+/g,Ue=e=>{e=e.trim().replace(je,(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?Be:Fe).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},He=o,We=Ue;function Ke(e,t,n){const o={source:e.source.slice(t,t+n),start:Je(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Je(e.start,e.source,t+n)),o}function Je(e,t,n=t.length){return Ge(c({},e),t,n)}function Ge(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 ze(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)&&(a(t)?r.name===t:t.test(r.name)))return r}}function qe(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)&&Ye(s.arg,t))return s}}function Ye(e,t){return!(!e||!$e(e)||e.content!==t)}function Ze(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Xe(e){return 5===e.type||2===e.type}function Qe(e){return 7===e.type&&"slot"===e.name}function et(e){return 1===e.type&&3===e.tagType}function tt(e){return 1===e.type&&2===e.tagType}const nt=new Set([ne,oe]);function ot(e,t=[]){if(e&&!a(e)&&14===e.type){const n=e.callee;if(!a(n)&&nt.has(n))return ot(e.arguments[0],t.concat(e))}return[e,t]}function rt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!a(s)&&14===s.type){const e=ot(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||a(s))o=xe([t]);else if(14===s.type){const e=s.arguments[0];a(e)||15!==e.type?s.callee===re?o=ke(n.helper(Q),[xe([t]),s]):s.arguments.unshift(xe([t])):st(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(st(t,s)||s.properties.unshift(t),o=s):(o=ke(n.helper(Q),[xe([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 st(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 it(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ct(e){return 14===e.type&&e.callee===he?e.arguments[1].returns:e}const lt={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 at(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function pt(e,t){const n=at("MODE",t),o=at(e,t);return 3===n?!0===o:!1!==o}function ut(e,t,n,...o){return pt(e,t)}const dt=/&(gt|lt|amp|apos|quot);/g,ft={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ht={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r,isPreTag:r,isCustomElement:r,decodeEntities:e=>e.replace(dt,((e,t)=>ft[t])),onError:O,onWarn:C,comments:!1};function mt(e,t={}){const n=function(e,t){const n=c({},ht);let o;for(o in t)n[o]=void 0===t[o]?ht[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=It(n);return be(gt(n,0,[]),Mt(n,o))}function gt(e,t,n){const o=wt(n),r=o?o.ns:0,s=[];for(;!At(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Rt(i,e.options.delimiters[0]))c=kt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Rt(i,"\x3c!--")?bt(e):Rt(i,"<!DOCTYPE")?St(e):Rt(i,"<![CDATA[")&&0!==r?vt(e,n):St(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Pt(e,3);continue}if(/[a-z]/i.test(i[2])){Tt(e,1,o);continue}Vt(e,12,2),c=St(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),pt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&xt(e.name)))&&(c=c.children)):"?"===i[1]&&(Vt(e,21,1),c=St(e));if(c||(c=Ot(e,t)),l(c))for(let e=0;e<c.length;e++)yt(s,c[e]);else yt(s,c)}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 yt(e,t){if(2===t.type){const n=wt(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 vt(e,t){Pt(e,9);const n=gt(e,3,t);return 0===e.source.length||Pt(e,3),n}function bt(e){const t=It(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));)Pt(e,s-r+1),r=s+1;Pt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Pt(e,e.source.length);return{type:3,content:n,loc:Mt(e,t)}}function St(e){const t=It(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Pt(e,e.source.length)):(o=e.source.slice(n,r),Pt(e,r+1)),{type:3,content:o,loc:Mt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=wt(t),s=Tt(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=gt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ut("COMPILER_INLINE_TEMPLATE",e)){const n=Mt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Dt(e.source,s.tag))Tt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Rt(e.loc.source,"\x3c!--")}return s.loc=Mt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const xt=t("if,else,else-if,for,slot");function Tt(e,t,n){const o=It(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Pt(e,r[0].length),$t(e);const l=It(e),a=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let p=Nt(e,t);0===t&&!e.inVPre&&p.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,c(e,l),e.source=a,p=Nt(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=Rt(e.source,"/>"),Pt(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&&xt(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)||Ve(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(ut("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ye(e.arg,"is")&&ut("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,p,e)&&(d=1)),{type:1,ns:i,tag:s,tagType:d,props:p,isSelfClosing:u,children:[],loc:Mt(e,o),codegenNode:void 0}}function Nt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Rt(e.source,">")&&!Rt(e.source,"/>");){if(Rt(e.source,"/")){Pt(e,1),$t(e);continue}const r=_t(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),$t(e)}return n}function _t(e,t){var n;const o=It(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);)Vt(e,17,n.index)}let s;Pt(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&($t(e),Pt(e,1),$t(e),s=function(e){const t=It(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Pt(e,1);const t=e.source.indexOf(o);-1===t?n=Ct(e,e.source.length,4):(n=Ct(e,t,4),Pt(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]);)Vt(e,18,r.index);n=Ct(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Mt(e,t)}}(e));const i=Mt(e,o);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let c,l=Rt(r,"."),a=t[1]||(l||Rt(r,":")?"bind":Rt(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=Mt(e,Lt(e,o,i),Lt(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):(Vt(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=Je(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")&&ut("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&&Rt(r,"v-"),{type:6,name:r,value:s&&{type:2,content:s.content,loc:s.loc},loc:i}}function kt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=It(e);Pt(e,n.length);const i=It(e),c=It(e),l=r-n.length,a=e.source.slice(0,l),p=Ct(e,l,t),u=p.trim(),d=p.indexOf(u);d>0&&Ge(i,a,d);return Ge(c,a,l-(p.length-u.length-d)),Pt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Mt(e,i,c)},loc:Mt(e,s)}}function Ot(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=It(e);return{type:2,content:Ct(e,o,t),loc:Mt(e,r)}}function Ct(e,t,n){const o=e.source.slice(0,t);return Pt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function It(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Mt(e,t,n){return{start:t,end:n=n||It(e),source:e.originalSource.slice(t.offset,n.offset)}}function wt(e){return e[e.length-1]}function Rt(e,t){return e.startsWith(t)}function Pt(e,t){const{source:n}=e;Ge(e,n,t),e.source=n.slice(t)}function $t(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Pt(e,t[0].length)}function Lt(e,t,n){return Je(t,e.originalSource.slice(t.offset,n),n)}function Vt(e,t,n,o=It(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(I(t,{start:o,end:o,source:""}))}function At(e,t,n){const o=e.source;switch(t){case 0:if(Rt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Dt(o,n[e].tag))return!0;break;case 1:case 2:{const e=wt(n);if(e&&Dt(o,e.tag))return!0;break}case 3:if(Rt(o,"]]>"))return!0}return!o}function Dt(e,t){return Rt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Bt(e,t){jt(e,t,Ft(e,e.children[0]))}function Ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!tt(t)}function jt(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:Ut(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=Gt(n);if((!o||512===o||1===o)&&Kt(e,t)>=2){const o=Jt(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++,jt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)jt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)jt(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&&l(e.codegenNode.children)){const n=t.hoist(Ee(e.codegenNode.children));t.hmr&&(n.content=`[...${n.content}]`),e.codegenNode.children=n}}function Ut(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(Gt(r))return n.set(e,0),0;{let o=3;const s=Kt(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=Ut(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=Ut(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(V),t.removeHelper(Re(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(we(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 Ut(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(a(o)||p(o))continue;const r=Ut(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Ht=new Set([ee,te,ne,oe]);function Wt(e,t){if(14===e.type&&!a(e.callee)&&Ht.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Ut(n,t);if(14===n.type)return Wt(n,t)}return 0}function Kt(e,t){let n=3;const o=Jt(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=Ut(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Ut(s,t):14===s.type?Wt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Jt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Gt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function zt(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:c=!1,nodeTransforms:l=[],directiveTransforms:p={},transformHoist:u=null,isBuiltInComponent:d=o,isCustomElement:f=o,expressionPlugins:h=[],scopeId:m=null,slotted:y=!0,ssr:v=!1,inSSR:S=!1,ssrCssVars:E="",bindingMetadata:x=n,inline:T=!1,isTS:N=!1,onError:_=O,onWarn:k=C,compatConfig:I}){const M=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={selfName:M&&b(g(M[1])),prefixIdentifiers:r,hoistStatic:s,hmr:i,cacheHandlers:c,nodeTransforms:l,directiveTransforms:p,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:h,scopeId:m,slotted:y,ssr:v,inSSR:S,ssrCssVars:E,bindingMetadata:x,inline:T,isTS:N,onError:_,onWarn:k,compatConfig:I,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=w.helpers.get(e)||0;return w.helpers.set(e,t+1),e},removeHelper(e){const t=w.helpers.get(e);if(t){const n=t-1;n?w.helpers.set(e,n):w.helpers.delete(e)}},helperString:e=>`_${ge[w.helper(e)]}`,replaceNode(e){w.parent.children[w.childIndex]=w.currentNode=e},removeNode(e){const t=e?w.parent.children.indexOf(e):w.currentNode?w.childIndex:-1;e&&e!==w.currentNode?w.childIndex>t&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){a(e)&&(e=Ne(e)),w.hoists.push(e);const t=Ne(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ie(w.cached++,e,t)};return w.filters=new Set,w}function qt(e,t){const n=zt(e,t);Yt(e,n),t.hoistStatic&&Bt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ft(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Pe(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=Se(t,n(w),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 Yt(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&&(l(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(j);break;case 5:t.ssr||t.helper(X);break;case 9:for(let n=0;n<e.branches.length;n++)Yt(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];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Yt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Zt(e,t){const n=a(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(Qe))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 Xt="/*#__PURE__*/",Qt=e=>`${ge[e]}: _${ge[e]}`;function en(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 tn(e,t={}){const n=en(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,j,U,H].filter((e=>i.includes(e))).map(Qt).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} = `),sn(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(Qt).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(nn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nn(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?sn(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 nn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?G:"component"===t?W:J);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 ${it(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function on(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rn(e,t,n),n&&t.deindent(),t.push("]")}function rn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):l(c)?on(c,t):sn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function sn(e,t){if(a(e))t.push(e);else if(p(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:sn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:cn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(X)}(`),sn(e.content,t),n(")")}(e,t);break;case 8:ln(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(j)}(${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(z)+"(");u&&n(`(${o(V)}(${d?"true":""}), `);r&&n(Xt);const h=u?Re(t.inSSR,f):we(t.inSSR,f);n(o(h)+"(",e),rn(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(", "),sn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=a(e.callee)?e.callee:o(e.callee);r&&n(Xt);n(s+"(",e),rn(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];an(e,t),n(": "),sn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){on(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:a,isSlot:p}=e;p&&n(`_${ge[ue]}(`);n("(",e),l(s)?rn(s,t):s&&sn(s,t);n(") => "),(a||c)&&(n("{"),o());i?(a&&n("return "),l(i)?on(i,t):sn(i,t)):c&&sn(c,t);(a||c)&&(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=!De(n.content);e&&i("("),cn(n,t),e&&i(")")}else i("("),sn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),sn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;sn(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}] = `),sn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(le)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:rn(e.body,t,!0,!1)}}function cn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function ln(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):sn(o,t)}}function an(e,t){const{push:n}=t;if(8===e.type)n("["),ln(e,t),n("]");else if(e.isStatic){n(De(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,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 o of e.properties)pn("RestElement"===o.type?o.argument:o.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 un=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function dn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const fn=Zt(/^(if|else|else-if)$/,((e,t,n)=>hn(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=gn(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=gn(t,i+e.branches.length-1,n)}}}))));function hn(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(I(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=mn(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(I(30,e.loc)),n.removeNode();const r=mn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Yt(r,n),s&&s(),n.currentNode=null}else n.onError(I(30,e.loc));break}n.removeNode(i)}}}}function mn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!ze(e,"for")?e.children:[e],userKey:qe(e,"key"),isTemplateIf:n}}function gn(e,t,n){return e.condition?Ce(e.condition,yn(e,t,n),ke(n.helper(j),['""',"true"])):yn(e,t,n)}function yn(e,t,n){const{helper:o}=n,r=Te("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 rt(e,r,n),e}{let t=64;return Se(n,o(w),xe([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ct(e);return 13===t.type&&Pe(t,n),rt(t,r,n),e}}const vn=Zt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return bn(e,t,n,(t=>{const s=ke(o(q),[t.source]),i=et(e),c=ze(e,"memo"),l=qe(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?Te("key",a):null,u=4===t.source.type&&t.source.constType>0,d=u?64:l?128:256;return t.codegenNode=Se(n,o(w),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=tt(e)?e:i&&1===e.children.length&&tt(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&rt(l,p,n)):f?l=Se(n,o(w),p?xe([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,i&&p&&rt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(V),r(Re(n.inSSR,l.isComponent))):r(we(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(V),o(Re(n.inSSR,l.isComponent))):o(we(n.inSSR,l.isComponent))),c){const e=Oe(_n(t.parseResult,[Ne("_cached")]));e.body=Me([_e(["const _memo = (",c.exp,")"]),_e(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(me)}(_cached, _memo)) return _cached`]),_e(["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(_n(t.parseResult),l,!0))}}))}));function bn(e,t,n,o){if(!t.exp)return void n.onError(I(31,t.loc));const r=Tn(t.exp);if(!r)return void n.onError(I(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:et(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Sn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,En=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,xn=/^\(|\)$/g;function Tn(e,t){const n=e.loc,o=e.content,r=o.match(Sn);if(!r)return;const[,s,i]=r,c={source:Nn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(xn,"").trim();const a=s.indexOf(l),p=l.match(En);if(p){l=l.replace(En,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Nn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Nn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Nn(n,l,a)),c}function Nn(e,t,n){return Ne(t,!1,Ke(e,n,t.length))}function _n({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 kn=Ne("undefined",!1),On=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=ze(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Cn=(e,t,n,o)=>Oe(e,n,!1,!0,n.length?n[0].loc:o);function In(e,t,n=Cn){t.helper(ue);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=ze(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!$e(e)&&(c=!0),s.push(Te(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(!et(e)||!(r=ze(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError(I(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:b}=r;let S;$e(y)?S=y?y.content:"default":c=!0;const E=ze(e,"for"),x=n(v,null==E?void 0:E.exp,h,m);let T,N;if(T=ze(e,"if"))c=!0,i.push(Ce(T.exp,Mn(y,x,f++),kn));else if(N=ze(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&et(e)&&ze(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,Mn(y,x,f++),kn):Mn(y,x,f++)}else t.onError(I(30,N.loc))}else if(E){c=!0;const e=E.parseResult||Tn(E.exp);e?i.push(ke(t.helper(q),[e.source,Oe(_n(e),Mn(y,x),!0)])):t.onError(I(32,E.loc))}else{if(S){if(d.has(S)){t.onError(I(38,b));continue}d.add(S),"default"===S&&(p=!0)}s.push(Te(y,x))}}if(!l){const e=(e,o)=>{const s=n(e,void 0,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Te("default",s)};a?u.length&&u.some((e=>Rn(e)))&&(p?t.onError(I(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:wn(e.children)?3:1;let m=xe(s.concat(Te("_",Ne(h+"",!1))),r);return i.length&&(m=ke(t.helper(Z),[m,Ee(i)])),{slots:m,hasDynamicSlots:c}}function Mn(e,t,n){const o=[Te("name",e),Te("fn",t)];return null!=n&&o.push(Te("key",Ne(String(n),!0))),xe(o)}function wn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||wn(n.children))return!0;break;case 9:if(wn(n.branches))return!0;break;case 10:case 11:if(wn(n.children))return!0}}return!1}function Rn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Rn(e.content))}const Pn=new WeakMap,$n=(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?Ln(e,t):`"${n}"`;const i=u(s)&&s.callee===K;let c,l,a,p,d,f,h=0,m=i||s===R||s===P||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Vn(e,t,void 0,r,i);c=n.props,h=n.patchFlag,d=n.dynamicPropNames;const o=n.directives;f=o&&o.length?Ee(o.map((e=>Bn(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===$&&(m=!0,h|=1024);if(r&&s!==R&&s!==$){const{slots:n,hasDynamicSlots:o}=In(e,t);l=n,o&&(h|=1024)}else if(1===e.children.length&&s!==R){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ut(n,t)&&(h|=1),l=r||2===o?n:e.children}else l=e.children}0!==h&&(a=String(h),d&&d.length&&(p=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,p,f,!!m,!1,r,e.loc)};function Ln(e,t,n=!1){let{tag:o}=e;const r=Fn(o),s=qe(e,"is");if(s)if(r||pt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return ke(t.helper(K),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&ze(e,"is");if(i&&i.exp)return ke(t.helper(K),[i.exp]);const c=Ve(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),it(o,"component"))}function Vn(e,t,n=e.props,o,r,s=!1){const{tag:c,loc:l,children:a}=e;let u=[];const h=[],m=[],g=a.length>0;let y=!1,v=0,b=!1,S=!1,E=!1,x=!1,T=!1,N=!1;const _=[],k=e=>{u.length&&(h.push(xe(An(u),l)),u=[]),e&&h.push(e)},O=({key:e,value:n})=>{if($e(e)){const s=e.content,c=i(s);if(!c||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||d(s)||(x=!0),c&&d(s)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&Ut(n,t)>0)return;"ref"===s?b=!0:"class"===s?S=!0:"style"===s?E=!0:"key"===s||_.includes(s)||_.push(s),!o||"class"!==s&&"style"!==s||_.includes(s)||_.push(s)}else T=!0};for(let i=0;i<n.length;i++){const r=n[i];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(b=!0,t.scopes.vFor>0&&u.push(Te(Ne("ref_for",!0),Ne("true")))),"is"===n&&(Fn(c)||o&&o.content.startsWith("vue:")||pt("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Te(Ne(n,!0,Ke(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:i,exp:a,loc:d}=r,v="bind"===n,b="on"===n;if("slot"===n){o||t.onError(I(40,d));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&Ye(i,"is")&&(Fn(c)||pt("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&s)continue;if((v&&Ye(i,"key")||b&&g&&Ye(i,"vue:before-update"))&&(y=!0),v&&Ye(i,"ref")&&t.scopes.vFor>0&&u.push(Te(Ne("ref_for",!0),Ne("true"))),!i&&(v||b)){if(T=!0,a)if(v){if(k(),pt("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(a);continue}h.push(a)}else k({type:14,loc:d,callee:t.helper(re),arguments:o?[a]:[a,"true"]});else t.onError(I(v?34:35,d));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:o}=S(r,e,t);!s&&n.forEach(O),b&&i&&!$e(i)?k(xe(n,l)):u.push(...n),o&&(m.push(r),p(o)&&Pn.set(r,o))}else f(n)||(m.push(r),g&&(y=!0))}}let C;if(h.length?(k(),C=h.length>1?ke(t.helper(Q),h,l):h[0]):u.length&&(C=xe(An(u),l)),T?v|=16:(S&&!o&&(v|=2),E&&!o&&(v|=4),_.length&&(v|=8),x&&(v|=32)),y||0!==v&&32!==v||!(b||N||m.length>0)||(v|=512),!t.inSSR&&C)switch(C.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<C.properties.length;t++){const r=C.properties[t].key;$e(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=C.properties[e],s=C.properties[n];o?C=ke(t.helper(ne),[C]):(r&&!$e(r.value)&&(r.value=ke(t.helper(ee),[r.value])),s&&(E||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=ke(t.helper(te),[s.value])));break;case 14:break;default:C=ke(t.helper(ne),[ke(t.helper(oe),[C])])}return{props:C,directives:m,patchFlag:v,dynamicPropNames:_,shouldUseBlock:y}}function An(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 s=r.key.content,c=t.get(s);c?("style"===s||"class"===s||i(s))&&Dn(c,r):(t.set(s,r),n.push(r))}return n}function Dn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Ee([e.value,t.value],e.loc)}function Bn(e,t){const n=[],o=Pn.get(e);o?n.push(t.helperString(o)):(t.helper(J),t.directives.add(e.name),n.push(it(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(xe(e.modifiers.map((e=>Te(e,t))),r))}return Ee(n,e.loc)}function Fn(e){return"component"===e||"Component"===e}const jn=(e,t)=>{if(tt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Un(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=ke(t.helper(Y),i,o)}};function Un(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=g(t.name),r.push(t))):"bind"===t.name&&Ye(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&$e(t.arg)&&(t.arg.content=g(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Vn(e,t,r,!1,!1);n=o,s.length&&t.onError(I(36,s[0].loc))}return{slotName:o,slotProps:n}}const Hn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Wn=(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)?S(g(e)):`on:${e}`,!0,i.loc)}else c=_e([`${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=We(l.content),t=!(e||Hn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Te(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},Kn=(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?g(i.content):`${n.helperString(se)}(${i.content})`:(i.children.unshift(`${n.helperString(se)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Jn(i,"."),r.includes("attr")&&Jn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Te(i,Ne("",!0,s))]}:{props:[Te(i,o)]}},Jn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Gn=(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(Xe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Xe(s)){o=void 0;break}o||(o=n[e]=_e([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(Xe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ut(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:ke(t.helper(U),r)}}}}},zn=new WeakSet,qn=(e,t)=>{if(1===e.type&&ze(e,"once",!0)){if(zn.has(e)||t.inVOnce||t.inSSR)return;return zn.add(e),t.inVOnce=!0,t.helper(le),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Yn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(I(41,e.loc)),Zn();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return Zn();if(!i.trim()||!We(i))return n.onError(I(42,o.loc)),Zn();const l=r||Ne("modelValue",!0),a=r?$e(r)?`onUpdate:${g(r.content)}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=_e([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[Te(l,e.exp),Te(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(De(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?$e(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";u.push(Te(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return Zn(u)};function Zn(e=[]){return{props:e}}const Xn=/[\w).+\-_$\]]/,Qn=(e,t)=>{pt("COMPILER_FILTER",t)&&(5===e.type&&eo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&eo(e.exp,t)})))};function eo(e,t){if(4===e.type)to(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?to(o,t):8===o.type?eo(e,t):5===o.type&&eo(o.content,t))}}function to(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&&Xn.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=no(i,m[s],t);e.content=i}}function no(e,t,n){n.helper(G);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${it(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${it(r,"filter")}(${e}${")"!==s?","+s:s}`}}const oo=new WeakSet,ro=(e,t)=>{if(1===e.type){const n=ze(e,"memo");if(!n||oo.has(e))return;return oo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Pe(o,t),e.codegenNode=ke(t.helper(he),[n.exp,Oe(void 0,o),"_cache",String(t.cached++)]))}}};function so(e){return[[qn,fn,ro,vn,Qn,jn,$n,On,Gn],{on:Wn,bind:Kn,model:Yn}]}function io(e,t={}){const n=t.onError||O,o="module"===t.mode;!0===t.prefixIdentifiers?n(I(47)):o&&n(I(48));t.cacheHandlers&&n(I(49)),t.scopeId&&!o&&n(I(50));const r=a(e)?mt(e,t):e,[s,i]=so();return qt(r,c({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:c({},i,t.directiveTransforms||{})})),tn(r,c({},t,{prefixIdentifiers:false}))}const co=()=>({props:[]}),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol(""),ho=Symbol(""),mo=Symbol(""),go=Symbol(""),yo=Symbol(""),vo=Symbol("");let bo;ye({[lo]:"vModelRadio",[ao]:"vModelCheckbox",[po]:"vModelText",[uo]:"vModelSelect",[fo]:"vModelDynamic",[ho]:"withModifiers",[mo]:"withKeys",[go]:"vShow",[yo]:"Transition",[vo]:"TransitionGroup"});const So=t("style,iframe,script,noscript",!0),Eo={isVoidTag:k,isNativeTag:e=>N(e)||_(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=>Le(e,"Transition")?yo:Le(e,"TransitionGroup")?vo: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(So(e))return 2}return 0}},xo=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:To(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},To=(e,t)=>{const n=function(e){const t={};return e.replace(T,"").split(E).forEach((e=>{if(e){const n=e.split(x);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function No(e,t){return I(e,t)}const _o={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."},ko=t("passive,once,capture"),Oo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Co=t("left,right"),Io=t("onkeyup,onkeydown,onkeypress",!0),Mo=(e,t)=>$e(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,wo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Ro=[xo],Po={cloak:co,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(No(53,r)),t.children.length&&(n.onError(No(54,r)),t.children.length=0),{props:[Te(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(No(55,r)),t.children.length&&(n.onError(No(56,r)),t.children.length=0),{props:[Te(Ne("textContent",!0),o?Ut(o,n)>0?o:ke(n.helperString(X),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=Yn(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(No(58,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=po,c=!1;if("input"===r||s){const o=qe(t,"type");if(o){if(7===o.type)i=fo;else if(o.value)switch(o.value.content){case"radio":i=lo;break;case"checkbox":i=ao;break;case"file":c=!0,n.onError(No(59,e.loc))}}else Ze(t)&&(i=fo)}else"select"===r&&(i=uo);c||(o.needRuntime=n.helper(i))}else n.onError(No(57,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Wn(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&&ut("COMPILER_V_ON_NATIVE",n)||ko(o)?i.push(o):Co(o)?$e(e)?Io(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Oo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Mo(r,"onContextmenu")),c.includes("middle")&&(r=Mo(r,"onMouseup")),c.length&&(s=ke(n.helper(ho),[s,JSON.stringify(c)])),!i.length||$e(r)&&!Io(r.content)||(s=ke(n.helper(mo),[s,JSON.stringify(i)])),l.length){const e=l.map(b).join("");r=$e(r)?Ne(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[Te(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(No(61,r)),{props:[],needRuntime:n.helper(go)}}};return e.BASE_TRANSITION=L,e.CAMELIZE=se,e.CAPITALIZE=ie,e.CREATE_BLOCK=A,e.CREATE_COMMENT=j,e.CREATE_ELEMENT_BLOCK=D,e.CREATE_ELEMENT_VNODE=F,e.CREATE_SLOTS=Z,e.CREATE_STATIC=H,e.CREATE_TEXT=U,e.CREATE_VNODE=B,e.DOMDirectiveTransforms=Po,e.DOMErrorMessages=_o,e.DOMNodeTransforms=Ro,e.FRAGMENT=w,e.GUARD_REACTIVE_PROPS=oe,e.IS_MEMO_SAME=me,e.IS_REF=fe,e.KEEP_ALIVE=$,e.MERGE_PROPS=Q,e.NORMALIZE_CLASS=ee,e.NORMALIZE_PROPS=ne,e.NORMALIZE_STYLE=te,e.OPEN_BLOCK=V,e.POP_SCOPE_ID=pe,e.PUSH_SCOPE_ID=ae,e.RENDER_LIST=q,e.RENDER_SLOT=Y,e.RESOLVE_COMPONENT=W,e.RESOLVE_DIRECTIVE=J,e.RESOLVE_DYNAMIC_COMPONENT=K,e.RESOLVE_FILTER=G,e.SET_BLOCK_TRACKING=le,e.SUSPENSE=P,e.TELEPORT=R,e.TO_DISPLAY_STRING=X,e.TO_HANDLERS=re,e.TO_HANDLER_KEY=ce,e.TRANSITION=yo,e.TRANSITION_GROUP=vo,e.TS_NODE_TYPES=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],e.UNREF=de,e.V_MODEL_CHECKBOX=ao,e.V_MODEL_DYNAMIC=fo,e.V_MODEL_RADIO=lo,e.V_MODEL_SELECT=uo,e.V_MODEL_TEXT=po,e.V_ON_WITH_KEYS=mo,e.V_ON_WITH_MODIFIERS=ho,e.V_SHOW=go,e.WITH_CTX=ue,e.WITH_DIRECTIVES=z,e.WITH_MEMO=he,e.advancePositionWithClone=Je,e.advancePositionWithMutation=Ge,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=io,e.baseParse=mt,e.buildDirectiveArgs=Bn,e.buildProps=Vn,e.buildSlots=In,e.checkCompatEnabled=ut,e.compile=function(e,t={}){return io(e,c({},Eo,t,{nodeTransforms:[wo,...Ro,...t.nodeTransforms||[]],directiveTransforms:c({},Po,t.directiveTransforms||{}),transformHoist:null}))},e.convertToBlock=Pe,e.createArrayExpression=Ee,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ve}},e.createBlockStatement=Me,e.createCacheExpression=Ie,e.createCallExpression=ke,e.createCompilerError=I,e.createCompoundExpression=_e,e.createConditionalExpression=Ce,e.createDOMCompilerError=No,e.createForLoopParams=_n,e.createFunctionExpression=Oe,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ve}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:a(e)?Ne(e,!1,t):e}},e.createObjectExpression=xe,e.createObjectProperty=Te,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ve}},e.createRoot=be,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ve}},e.createSimpleExpression=Ne,e.createStructuralDirectiveTransform=Zt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ve}},e.createTransformContext=zt,e.createVNodeCall=Se,e.errorMessages=M,e.extractIdentifiers=pn,e.findDir=ze,e.findProp=qe,e.generate=tn,e.generateCodeFrame=function(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")},e.getBaseTransformPreset=so,e.getConstantType=Ut,e.getInnerRange=Ke,e.getMemoedVNodeCall=ct,e.getVNodeBlockHelper=Re,e.getVNodeHelper=we,e.hasDynamicKeyVBind=Ze,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&De(t.content)&&!!n[t.content];case 8:return t.children.some((t=>u(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=ge,e.injectProp=rt,e.isBuiltInType=Le,e.isCoreComponent=Ve,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isMemberExpression=We,e.isMemberExpressionBrowser=Ue,e.isMemberExpressionNode=He,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=De,e.isSlotOutlet=tt,e.isStaticArgOf=Ye,e.isStaticExp=$e,e.isStaticProperty=un,e.isStaticPropertyKey=(e,t)=>un(t)&&t.key===e,e.isTemplateNode=et,e.isText=Xe,e.isVSlot=Qe,e.locStub=ve,e.noopDirectiveTransform=co,e.parse=function(e,t={}){return mt(e,c({},Eo,t))},e.parserOptions=Eo,e.processExpression=dn,e.processFor=bn,e.processIf=hn,e.processSlotOutlet=Un,e.registerRuntimeHelpers=ye,e.resolveComponentType=Ln,e.stringifyExpression=function e(t){return a(t)?t:4===t.type?t.content:t.children.map(e).join("")},e.toValidAssetId=it,e.trackSlotScopes=On,e.trackVForSlotScopes=(e,t)=>{let n;if(et(e)&&e.props.some(Qe)&&(n=ze(e,"for"))){const e=n.parseResult=Tn(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)}}}},e.transform=qt,e.transformBind=Kn,e.transformElement=$n,e.transformExpression=(e,t)=>{if(5===e.type)e.content=dn(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=dn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=dn(n,t))}}},e.transformModel=Yn,e.transformOn=Wn,e.transformStyle=xo,e.traverseNode=Yt,e.walkBlockDeclarations=function(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)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of pn(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,o=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===at(e,t))return;const{message:r,link:s}=lt[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)},e}({});
|
|
1
|
+
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const n={},s=()=>{},i=()=>!1,o=/^on[^a-z]/,r=e=>o.test(e),a=Object.assign,c=Array.isArray,l=e=>"string"==typeof e,h=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,d=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),u=t("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))},m=/-(\w)/g,g=f((e=>e.replace(m,((e,t)=>t?t.toUpperCase():"")))),y=f((e=>e.charAt(0).toUpperCase()+e.slice(1))),S=f((e=>e?`on${y(e)}`:""));const b=/;(?![^(]*\))/g,v=/:([^]+)/,x=/\/\*[^]*?\*\//g;const E=t("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"),T=t("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"),I=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),N=Symbol(""),C=Symbol(""),k=Symbol(""),A=Symbol(""),_=Symbol(""),O=Symbol(""),w=Symbol(""),R=Symbol(""),M=Symbol(""),L=Symbol(""),D=Symbol(""),P=Symbol(""),$=Symbol(""),V=Symbol(""),B=Symbol(""),F=Symbol(""),q=Symbol(""),U=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),X=Symbol(""),Y=Symbol(""),Q=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),se=Symbol(""),ie=Symbol(""),oe=Symbol(""),re=Symbol(""),ae=Symbol(""),ce=Symbol(""),le=Symbol(""),he={[N]:"Fragment",[C]:"Teleport",[k]:"Suspense",[A]:"KeepAlive",[_]:"BaseTransition",[O]:"openBlock",[w]:"createBlock",[R]:"createElementBlock",[M]:"createVNode",[L]:"createElementVNode",[D]:"createCommentVNode",[P]:"createTextVNode",[$]:"createStaticVNode",[V]:"resolveComponent",[B]:"resolveDynamicComponent",[F]:"resolveDirective",[q]:"resolveFilter",[U]:"withDirectives",[j]:"renderList",[H]:"renderSlot",[W]:"createSlots",[K]:"toDisplayString",[J]:"mergeProps",[G]:"normalizeClass",[z]:"normalizeStyle",[X]:"normalizeProps",[Y]:"guardReactiveProps",[Q]:"toHandlers",[Z]:"camelize",[ee]:"capitalize",[te]:"toHandlerKey",[ne]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[oe]:"withCtx",[re]:"unref",[ae]:"isRef",[ce]:"withMemo",[le]:"isMemoSame"};function pe(e){Object.getOwnPropertySymbols(e).forEach((t=>{he[t]=e[t]}))}const de={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:de}}function fe(e,t,n,s,i,o,r,a=!1,c=!1,l=!1,h=de){return e&&(a?(e.helper(O),e.helper(Ce(e.inSSR,l))):e.helper(Ne(e.inSSR,l)),r&&e.helper(U)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:o,directives:r,isBlock:a,disableTracking:c,isComponent:l,loc:h}}function me(e,t=de){return{type:17,loc:t,elements:e}}function ge(e,t=de){return{type:15,loc:t,properties:e}}function ye(e,t){return{type:16,loc:de,key:l(e)?Se(e,!0):e,value:t}}function Se(e,t=!1,n=de,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function be(e,t=de){return{type:8,loc:t,children:e}}function ve(e,t=[],n=de){return{type:14,loc:n,callee:e,arguments:t}}function xe(e,t=void 0,n=!1,s=!1,i=de){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Ee(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:de}}function Te(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:de}}function Ie(e){return{type:21,body:e,loc:de}}function Ne(e,t){return e||t?M:L}function Ce(e,t){return e||t?w:R}function ke(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(Ne(s,e.isComponent)),t(O),t(Ce(s,e.isComponent)))}const Ae=new Uint8Array([123,123]),_e=new Uint8Array([125,125]);function Oe(e){return e>=97&&e<=122||e>=65&&e<=90}function we(e){return 32===e||10===e||9===e||12===e||13===e}function Re(e){return 47===e||62===e||we(e)}function Me(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Le={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 De={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 Pe(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function $e(e,t){const n=Pe("MODE",t),s=Pe(e,t);return 3===n?!0===s:!1!==s}function Ve(e,t,n,...s){return $e(e,t)}function Be(e){throw e}function Fe(e){}function qe(e,t,n,s){const i=new SyntaxError(String(`https://vuejs.org/errors/#compiler-${e}`));return i.code=e,i.loc=t,i}const Ue={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:""},je=e=>4===e.type&&e.isStatic;function He(e){switch(e){case"Teleport":case"teleport":return C;case"Suspense":case"suspense":return k;case"KeepAlive":case"keep-alive":return A;case"BaseTransition":case"base-transition":return _}}const We=/^\d|[^\$\w]/,Ke=e=>!We.test(e),Je=/[A-Za-z_$\xA0-\uFFFF]/,Ge=/[\.\?\w$\xA0-\uFFFF]/,ze=/\s+[.[]\s*|\s*[.[]\s+/g,Xe=e=>{e=e.trim().replace(ze,(e=>e.trim()));let t=0,n=[],s=0,i=0,o=null;for(let r=0;r<e.length;r++){const a=e.charAt(r);switch(t){case 0:if("["===a)n.push(t),t=1,s++;else if("("===a)n.push(t),t=2,i++;else if(!(0===r?Je:Ge).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(t),t=3,o=a):"["===a?s++:"]"===a&&(--s||(t=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(t),t=3,o=a;else if("("===a)i++;else if(")"===a){if(r===e.length-1)return!1;--i||(t=n.pop())}break;case 3:a===o&&(t=n.pop(),o=null)}}return!s&&!i},Ye=s,Qe=Xe;function Ze(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 et(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)&&(l(t)?i.name===t:t.test(i.name)))return i}}function tt(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)&&nt(o.arg,t))return o}}function nt(e,t){return!(!e||!je(e)||e.content!==t)}function st(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function it(e){return 5===e.type||2===e.type}function ot(e){return 7===e.type&&"slot"===e.name}function rt(e){return 1===e.type&&3===e.tagType}function at(e){return 1===e.type&&2===e.tagType}const ct=new Set([X,Y]);function lt(e,t=[]){if(e&&!l(e)&&14===e.type){const n=e.callee;if(!l(n)&&ct.has(n))return lt(e.arguments[0],t.concat(e))}return[e,t]}function ht(e,t,n){let s,i,o=13===e.type?e.props:e.arguments[2],r=[];if(o&&!l(o)&&14===o.type){const e=lt(o);o=e[0],r=e[1],i=r[r.length-1]}if(null==o||l(o))s=ge([t]);else if(14===o.type){const e=o.arguments[0];l(e)||15!==e.type?o.callee===Q?s=ve(n.helper(J),[ge([t]),o]):o.arguments.unshift(ge([t])):pt(t,e)||e.properties.unshift(t),!s&&(s=o)}else 15===o.type?(pt(t,o)||o.properties.unshift(t),s=o):(s=ve(n.helper(J),[ge([t]),o]),i&&i.callee===Y&&(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 pt(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 dt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ut(e){return 14===e.type&&e.callee===ce?e.arguments[1].returns:e}const ft=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,mt={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:i,isPreTag:i,isCustomElement:i,onError:Be,onWarn:Fe,comments:!1};let gt=mt,yt=null,St="",bt=null,vt=null,xt="",Et=-1,Tt=-1,It=0,Nt=!1,Ct=null;const kt=[],At=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=Ae,this.delimiterClose=_e,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=Ae,this.delimiterClose=_e}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?Re(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||we(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===Le.TitleEnd||this.currentSequence===Le.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===Le.Cdata[this.sequenceIndex]?++this.sequenceIndex===Le.Cdata.length&&(this.state=28,this.currentSequence=Le.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===Le.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(Oe(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){Re(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Re(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Me("</"+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){we(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=Oe(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||we(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):we(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):we(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||Re(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||Re(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||Re(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||Re(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||Re(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)):we(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):we(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){we(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=Le.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===Le.ScriptEnd[3]?this.startSpecial(Le.ScriptEnd,4):t===Le.StyleEnd[3]?this.startSpecial(Le.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===Le.TitleEnd[3]?this.startSpecial(Le.TitleEnd,4):t===Le.TextareaEnd[3]?this.startSpecial(Le.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===Le.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){}}(kt,{onerr:Gt,ontext(e,t){Mt(wt(e,t),e,t)},ontextentity(e,t,n){Mt(e,t,n)},oninterpolation(e,t){if(Nt)return Mt(wt(e,t),e,t);let n=e+At.delimiterOpen.length,s=t-At.delimiterClose.length;for(;we(St.charCodeAt(n));)n++;for(;we(St.charCodeAt(s-1));)s--;let i=wt(n,s);i.includes("&")&&(i=gt.decodeEntities(i,!1)),Ht({type:5,content:Se(i,!1,Wt(n,s)),loc:Wt(e,t)})},onopentagname(e,t){const n=wt(e,t);bt={type:1,tag:n,ns:gt.getNamespace(n,kt[0],gt.ns),tagType:0,props:[],children:[],loc:Wt(e-1,t),codegenNode:void 0},At.inSFCRoot&&(bt.innerLoc=Wt(t+Dt(t)+1,t))},onopentagend(e){Rt(e)},onclosetag(e,t){const n=wt(e,t);if(!gt.isVoidTag(n)){let s=!1;for(let e=0;e<kt.length;e++){if(kt[e].tag.toLowerCase()===n.toLowerCase()){s=!0;for(let n=0;n<=e;n++){Lt(kt.shift(),t,n<e)}break}}s||Pt(e,60)}},onselfclosingtag(e){var t;const n=bt.tag;bt.isSelfClosing=!0,Rt(e),(null==(t=kt[0])?void 0:t.tag)===n&&Lt(kt.shift(),e)},onattribname(e,t){vt={type:6,name:wt(e,t),nameLoc:Wt(e,t),value:void 0,loc:Wt(e)}},ondirname(e,t){const n=wt(e,t),s="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Nt||""===s)vt={type:6,name:n,nameLoc:Wt(e,t),value:void 0,loc:Wt(e)};else if(vt={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?["prop"]:[],loc:Wt(e)},"pre"===s){Nt=!0,Ct=bt;const e=bt.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=Jt(e[t]))}},ondirarg(e,t){if(e===t)return;const n=wt(e,t);if(Nt)vt.name+=n,Kt(vt.nameLoc,t);else{const s="["!==n[0];vt.arg=Se(s?n:n.slice(1,-1),s,Wt(e,t),s?3:0)}},ondirmodifier(e,t){const n=wt(e,t);if(Nt)vt.name+="."+n,Kt(vt.nameLoc,t);else if("slot"===vt.name){const e=vt.arg;e&&(e.content+="."+n,Kt(e.loc,t))}else vt.modifiers.push(n)},onattribdata(e,t){xt+=wt(e,t),Et<0&&(Et=e),Tt=t},onattribentity(e,t,n){xt+=e,Et<0&&(Et=t),Tt=n},onattribnameend(e){const t=wt(vt.loc.start.offset,e);7===vt.type&&(vt.rawName=t),bt.props.some((e=>(7===e.type?e.rawName:e.name)===t))},onattribend(e,t){if(bt&&vt){if(Kt(vt.loc,t),0!==e)if(xt.includes("&")&&(xt=gt.decodeEntities(xt,!0)),6===vt.type)"class"===vt.name&&(xt=jt(xt).trim()),vt.value={type:2,content:xt,loc:1===e?Wt(Et,Tt):Wt(Et-1,Tt+1)},At.inSFCRoot&&"template"===bt.tag&&"lang"===vt.name&&xt&&"html"!==xt&&At.enterRCDATA(Me("</template"),0);else{vt.exp=Se(xt,!1,Wt(Et,Tt)),"for"===vt.name&&(vt.forParseResult=function(e){const t=e.loc,n=e.content,s=n.match(ft);if(!s)return;const[,i,o]=s,r=(e,n)=>{const s=t.start.offset+n;return Se(e,!1,Wt(s,s+e.length))},a={source:r(o.trim(),n.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(Ot,"").trim();const l=i.indexOf(c),h=c.match(_t);if(h){c=c.replace(_t,"").trim();const e=h[1].trim();let t;if(e&&(t=n.indexOf(e,l+c.length),a.key=r(e,t)),h[2]){const s=h[2].trim();s&&(a.index=r(s,n.indexOf(s,a.key?t+e.length:l+c.length)))}}c&&(a.value=r(c,l));return a}(vt.exp));let e=-1;"bind"===vt.name&&(e=vt.modifiers.indexOf("sync"))>-1&&Ve("COMPILER_V_BIND_SYNC",gt,0)&&(vt.name="model",vt.modifiers.splice(e,1))}7===vt.type&&"pre"===vt.name||bt.props.push(vt)}xt="",Et=Tt=-1},oncomment(e,t){gt.comments&&Ht({type:3,content:wt(e,t),loc:Wt(e-4,t+3)})},onend(){const e=St.length;for(let t=0;t<kt.length;t++)Lt(kt[t],e-1)},oncdata(e,t){0!==kt[0].ns&&Mt(wt(e,t),e,t)},onprocessinginstruction(e){0===(kt[0]?kt[0].ns:gt.ns)&&Gt(21,e-1)}}),_t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ot=/^\(|\)$/g;function wt(e,t){return St.slice(e,t)}function Rt(e){Ht(bt);const{tag:t,ns:n}=bt;0===n&>.isPreTag(t)&&It++,gt.isVoidTag(t)?Lt(bt,e):(kt.unshift(bt),1!==n&&2!==n||(At.inXML=!0)),bt=null}function Mt(e,t,n){var s;{const t=null==(s=kt[0])?void 0:s.tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=gt.decodeEntities(e,!1))}const i=kt[0]||yt,o=i.children[i.children.length-1];2===(null==o?void 0:o.type)?(o.content+=e,Kt(o.loc,n)):i.children.push({type:2,content:e,loc:Wt(t,n)})}function Lt(e,t,n=!1){Kt(e.loc,n?Pt(t,60):t+Dt(t)+1),At.inSFCRoot&&(e.innerLoc.end=a({},e.children.length?e.children[e.children.length-1].loc.end:e.innerLoc.start),e.innerLoc.source=wt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i}=e;Nt||("slot"===s?e.tagType=2:Vt(e)?e.tagType=3:function({tag:e,props:t}){var n;if(gt.isCustomElement(e))return!1;if("component"===e||(s=e.charCodeAt(0),s>64&&s<91)||He(e)||(null==(n=gt.isBuiltInComponent)?void 0:n.call(gt,e))||gt.isNativeTag&&!gt.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(Ve("COMPILER_IS_ON_ELEMENT",gt))return!0}}else if("bind"===e.name&&nt(e.arg,"is")&&Ve("COMPILER_IS_ON_ELEMENT",gt))return!0}return!1}(e)&&(e.tagType=1)),At.inRCDATA||(e.children=Ft(e.children,e.tag)),0===i&>.isPreTag(s)&&It--,Ct===e&&(Nt=!1,Ct=null),At.inXML&&0===(kt[0]?kt[0].ns:gt.ns)&&(At.inXML=!1);{const t=e.props;if($e("COMPILER_NATIVE_TEMPLATE",gt)&&"template"===e.tag&&!Vt(e)){const t=kt[0]||yt,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&&Ve("COMPILER_INLINE_TEMPLATE",gt)&&e.children.length&&(n.value={type:2,content:wt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Dt(e,t){let n=0;for(;62!==St.charCodeAt(e+n)&&e+n<St.length;)n++;return n}function Pt(e,t){let n=e;for(;St.charCodeAt(n)!==t&&n>=0;)n--;return n}const $t=new Set(["if","else","else-if","for","slot"]);function Vt({tag:e,props:t}){if("template"===e)for(let n=0;n<t.length;n++)if(7===t[n].type&&$t.has(t[n].name))return!0;return!1}const Bt=/\r\n/g;function Ft(e,t){var n,s;const i="preserve"!==gt.whitespace;let o=!1;for(let r=0;r<e.length;r++){const t=e[r];if(2===t.type)if(It)t.content=t.content.replace(Bt,"\n");else if(qt(t.content)){const a=null==(n=e[r-1])?void 0:n.type,c=null==(s=e[r+1])?void 0:s.type;!a||!c||i&&(3===a&&(3===c||1===c)||1===a&&(3===c||1===c&&Ut(t.content)))?(o=!0,e[r]=null):t.content=" "}else i&&(t.content=jt(t.content))}if(It&&t&>.isPreTag(t)){const t=e[0];t&&2===t.type&&(t.content=t.content.replace(/^\r?\n/,""))}return o?e.filter(Boolean):e}function qt(e){for(let t=0;t<e.length;t++)if(!we(e.charCodeAt(t)))return!1;return!0}function Ut(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function jt(e){let t="",n=!1;for(let s=0;s<e.length;s++)we(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Ht(e){(kt[0]||yt).children.push(e)}function Wt(e,t){return{start:At.getPos(e),end:null==t?t:At.getPos(t),source:null==t?t:wt(e,t)}}function Kt(e,t){e.end=At.getPos(t),e.source=wt(e.start.offset,t)}function Jt(e){const t={type:6,name:e.rawName,nameLoc:Wt(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 Gt(e,t){gt.onError(qe(e,Wt(t,t)))}function zt(e,t){if(At.reset(),bt=null,vt=null,xt="",Et=-1,Tt=-1,kt.length=0,St=e,gt=a({},mt),t){let e;for(e in t)null!=t[e]&&(gt[e]=t[e])}At.mode="html"===gt.parseMode?1:"sfc"===gt.parseMode?2:0;const n=null==t?void 0:t.delimiters;n&&(At.delimiterOpen=Me(n[0]),At.delimiterClose=Me(n[1]));const s=yt=ue([],e);return At.parse(St),s.loc=Wt(0,e.length),s.children=Ft(s.children),yt=null,s}function Xt(e,t){Qt(e,t,Yt(e,e.children[0]))}function Yt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!at(t)}function Qt(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:Zt(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=on(n);if((!s||512===s||1===s)&&nn(e,t)>=2){const s=sn(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++,Qt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Qt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Qt(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 Zt(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(on(i))return n.set(e,0),0;{let s=3;const o=nn(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=Zt(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=Zt(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(O),t.removeHelper(Ce(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Ne(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 Zt(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(l(s)||h(s))continue;const i=Zt(s,t);if(0===i)return 0;i<o&&(o=i)}return o}}const en=new Set([G,z,X,Y]);function tn(e,t){if(14===e.type&&!l(e.callee)&&en.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Zt(n,t);if(14===n.type)return tn(n,t)}return 0}function nn(e,t){let n=3;const s=sn(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=Zt(i,t);if(0===r)return r;let a;if(r<n&&(n=r),a=4===o.type?Zt(o,t):14===o.type?tn(o,t):0,0===a)return a;a<n&&(n=a)}}return n}function sn(e){const t=e.codegenNode;if(13===t.type)return t.props}function on(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function rn(e,{filename:t="",prefixIdentifiers:i=!1,hoistStatic:o=!1,hmr:r=!1,cacheHandlers:a=!1,nodeTransforms:c=[],directiveTransforms:h={},transformHoist:p=null,isBuiltInComponent:d=s,isCustomElement:u=s,expressionPlugins:f=[],scopeId:m=null,slotted:S=!0,ssr:b=!1,inSSR:v=!1,ssrCssVars:x="",bindingMetadata:E=n,inline:T=!1,isTS:I=!1,onError:N=Be,onWarn:C=Fe,compatConfig:k}){const A=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),_={selfName:A&&y(g(A[1])),prefixIdentifiers:i,hoistStatic:o,hmr:r,cacheHandlers:a,nodeTransforms:c,directiveTransforms:h,transformHoist:p,isBuiltInComponent:d,isCustomElement:u,expressionPlugins:f,scopeId:m,slotted:S,ssr:b,inSSR:v,ssrCssVars:x,bindingMetadata:E,inline:T,isTS:I,onError:N,onWarn:C,compatConfig:k,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=>`_${he[_.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=Se(e)),_.hoists.push(e);const t=Se(`_hoisted_${_.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Te(_.cached++,e,t)};return _.filters=new Set,_}function an(e,t){const n=rn(e,t);cn(e,n),t.hoistStatic&&Xt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:s}=e;if(1===s.length){const n=s[0];if(Yt(e,n)&&n.codegenNode){const s=n.codegenNode;13===s.type&&ke(s,t),e.codegenNode=s}else e.codegenNode=n}else if(s.length>1){let s=64;e.codegenNode=fe(t,n(N),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 cn(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(D);break;case 5:t.ssr||t.helper(K);break;case 9:for(let n=0;n<e.branches.length;n++)cn(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];l(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=s,cn(i,t))}}(e,t)}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function ln(e,t){const n=l(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(ot))return;const o=[];for(let r=0;r<i.length;r++){const a=i[r];if(7===a.type&&n(a.name)){i.splice(r,1),r--;const n=t(e,a,s);n&&o.push(n)}}return o}}}const hn="/*#__PURE__*/",pn=e=>`${he[e]}: _${he[e]}`;function dn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:s=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:r=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:h=!1,isTS:p=!1,inSSR:d=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:o,optimizeImports:r,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:h,isTS:p,inSSR:d,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 un(e,t={}){const n=dn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:o,indent:r,deindent:a,newline:c,ssr:l}=n,h=Array.from(e.helpers),p=h.length>0,d=!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 { ${[M,L,D,P,$].filter((e=>r.includes(e))).map(pn).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} = `),yn(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(),d&&(i("with (_ctx) {"),r(),p&&(i(`const { ${h.map(pn).join(", ")} } = _Vue\n`,-1),c())),e.components.length&&(fn(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(fn(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),fn(e.filters,"filter",n),c()),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),c()),l||i("return "),e.codegenNode?yn(e.codegenNode,n):i("null"),d&&(a(),i("}")),a(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function fn(e,t,{helper:n,push:s,newline:i,isTS:o}){const r=n("filter"===t?q:"component"===t?V:F);for(let a=0;a<e.length;a++){let n=e[a];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),s(`const ${dt(n,t)} = ${r}(${JSON.stringify(n)}${c?", true":""})${o?"!":""}`),a<e.length-1&&i()}}function mn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),gn(e,t,n),n&&t.deindent(),t.push("]")}function gn(e,t,n=!1,s=!0){const{push:i,newline:o}=t;for(let r=0;r<e.length;r++){const a=e[r];l(a)?i(a,-3):c(a)?mn(a,t):yn(a,t),r<e.length-1&&(n?(s&&i(","),o()):s&&i(", "))}}function yn(e,t){if(l(e))t.push(e,-3);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:yn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Sn(e,t);break;case 5:!function(e,t){const{push:n,helper:s,pure:i}=t;i&&n(hn);n(`${s(K)}(`),yn(e.content,t),n(")")}(e,t);break;case 8:bn(e,t);break;case 3:!function(e,t){const{push:n,helper:s,pure:i}=t;i&&n(hn);n(`${s(D)}(${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:a,patchFlag:c,dynamicProps:l,directives:h,isBlock:p,disableTracking:d,isComponent:u}=e;h&&n(s(U)+"(");p&&n(`(${s(O)}(${d?"true":""}), `);i&&n(hn);const f=p?Ce(t.inSSR,u):Ne(t.inSSR,u);n(s(f)+"(",-2,e),gn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([o,r,a,c,l]),t),n(")"),p&&n(")");h&&(n(", "),yn(h,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:s,pure:i}=t,o=l(e.callee)?e.callee:s(e.callee);i&&n(hn);n(o+"(",-2,e),gn(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 a=r.length>1||!1;n(a?"{":"{ "),a&&s();for(let c=0;c<r.length;c++){const{key:e,value:s}=r[c];vn(e,t),n(": "),yn(s,t),c<r.length-1&&(n(","),o())}a&&i(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){mn(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)?gn(o,t):o&&yn(o,t);n(") => "),(l||a)&&(n("{"),s());r?(l&&n("return "),c(r)?mn(r,t):yn(r,t)):a&&yn(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:a,deindent:c,newline:l}=t;if(4===n.type){const e=!Ke(n.content);e&&r("("),Sn(n,t),e&&r(")")}else r("("),yn(n,t),r(")");o&&a(),t.indentLevel++,o||r(" "),r("? "),yn(s,t),t.indentLevel--,o&&l(),o||r(" "),r(": ");const h=19===i.type;h||t.indentLevel++;yn(i,t),h||t.indentLevel--;o&&c(!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}] = `),yn(e.value,t),e.isVNode&&(n(","),r(),n(`${s(ne)}(1),`),r(),n(`_cache[${e.index}]`),o());n(")")}(e,t);break;case 21:gn(e.body,t,!0,!1)}}function Sn(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function bn(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];l(s)?t.push(s,-3):yn(s,t)}}function vn(e,t){const{push:n}=t;if(8===e.type)n("["),bn(e,t),n("]");else if(e.isStatic){n(Ke(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}function xn(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)xn("RestElement"===s.type?s.argument:s.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&xn(e,t)}));break;case"RestElement":xn(e.argument,t);break;case"AssignmentPattern":xn(e.left,t)}return t}const En=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function Tn(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return e}const In=ln(/^(if|else|else-if)$/,((e,t,n)=>Nn(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=kn(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=kn(t,r+e.branches.length-1,n)}}}))));function Nn(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(qe(28,t.loc)),t.exp=Se("true",!1,s)}if("if"===t.name){const i=Cn(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(qe(30,e.loc)),n.removeNode();const i=Cn(e,t);r.branches.push(i);const o=s&&s(r,i,!1);cn(i,n),o&&o(),n.currentNode=null}else n.onError(qe(30,e.loc));break}n.removeNode(r)}}}}function Cn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!et(e,"for")?e.children:[e],userKey:tt(e,"key"),isTemplateIf:n}}function kn(e,t,n){return e.condition?Ee(e.condition,An(e,t,n),ve(n.helper(D),['""',"true"])):An(e,t,n)}function An(e,t,n){const{helper:s}=n,i=ye("key",Se(`${t}`,!1,de,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 ht(e,i,n),e}{let t=64;return fe(n,s(N),ge([i]),o,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=r.codegenNode,t=ut(e);return 13===t.type&&ke(t,n),ht(t,i,n),e}}const _n=ln("for",((e,t,n)=>{const{helper:s,removeHelper:i}=n;return On(e,t,n,(t=>{const o=ve(s(j),[t.source]),r=rt(e),a=et(e,"memo"),c=tt(e,"key"),l=c&&(6===c.type?Se(c.value.content,!0):c.exp),h=c?ye("key",l):null,p=4===t.source.type&&t.source.constType>0,d=p?64:c?128:256;return t.codegenNode=fe(n,s(N),void 0,o,d+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const{children:d}=t,u=1!==d.length||1!==d[0].type,f=at(e)?e:r&&1===e.children.length&&at(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,r&&h&&ht(c,h,n)):u?c=fe(n,s(N),h?ge([h]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=d[0].codegenNode,r&&h&&ht(c,h,n),c.isBlock!==!p&&(c.isBlock?(i(O),i(Ce(n.inSSR,c.isComponent))):i(Ne(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(s(O),s(Ce(n.inSSR,c.isComponent))):s(Ne(n.inSSR,c.isComponent))),a){const e=xe(Rn(t.parseResult,[Se("_cached")]));e.body=Ie([be(["const _memo = (",a.exp,")"]),be(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(le)}(_cached, _memo)) return _cached`]),be(["const _item = ",c]),Se("_item.memo = _memo"),Se("return _item")]),o.arguments.push(e,Se("_cache"),Se(String(n.cached++)))}else o.arguments.push(xe(Rn(t.parseResult),c,!0))}}))}));function On(e,t,n,s){if(!t.exp)return void n.onError(qe(31,t.loc));const i=t.forParseResult;if(!i)return void n.onError(qe(32,t.loc));wn(i);const{scopes:o}=n,{source:r,value:a,key:c,index:l}=i,h={type:11,loc:t.loc,source:r,valueAlias:a,keyAlias:c,objectIndexAlias:l,parseResult:i,children:rt(e)?e.children:[e]};n.replaceNode(h),o.vFor++;const p=s&&s(h);return()=>{o.vFor--,p&&p()}}function wn(e,t){e.finalized||(e.finalized=!0)}function Rn({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||Se("_".repeat(t+1),!1)))}([e,t,n,...s])}const Mn=Se("undefined",!1),Ln=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=et(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Dn=(e,t,n,s)=>xe(e,n,!1,!0,n.length?n[0].loc:s);function Pn(e,t,n=Dn){t.helper(oe);const{children:s,loc:i}=e,o=[],r=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const c=et(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!je(e)&&(a=!0),o.push(ye(e||Se("default",!0),n(t,void 0,s,i)))}let l=!1,h=!1;const p=[],d=new Set;let u=0;for(let g=0;g<s.length;g++){const e=s[g];let i;if(!rt(e)||!(i=et(e,"slot",!0))){3!==e.type&&p.push(e);continue}if(c){t.onError(qe(37,i.loc));break}l=!0;const{children:f,loc:m}=e,{arg:y=Se("default",!0),exp:S,loc:b}=i;let v;je(y)?v=y?y.content:"default":a=!0;const x=et(e,"for"),E=n(S,x,f,m);let T,I;if(T=et(e,"if"))a=!0,r.push(Ee(T.exp,$n(y,E,u++),Mn));else if(I=et(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=s[n],3===e.type););if(e&&rt(e)&&et(e,"if")){s.splice(g,1),g--;let e=r[r.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=I.exp?Ee(I.exp,$n(y,E,u++),Mn):$n(y,E,u++)}else t.onError(qe(30,I.loc))}else if(x){a=!0;const e=x.forParseResult;e?(wn(e),r.push(ve(t.helper(j),[e.source,xe(Rn(e),$n(y,E),!0)]))):t.onError(qe(32,x.loc))}else{if(v){if(d.has(v)){t.onError(qe(38,b));continue}d.add(v),"default"===v&&(h=!0)}o.push(ye(y,E))}}if(!c){const e=(e,s)=>{const o=n(e,void 0,s,i);return t.compatConfig&&(o.isNonScopedSlot=!0),ye("default",o)};l?p.length&&p.some((e=>Bn(e)))&&(h?t.onError(qe(39,p[0].loc)):o.push(e(void 0,p))):o.push(e(void 0,s))}const f=a?2:Vn(e.children)?3:1;let m=ge(o.concat(ye("_",Se(f+"",!1))),i);return r.length&&(m=ve(t.helper(W),[m,me(r)])),{slots:m,hasDynamicSlots:a}}function $n(e,t,n){const s=[ye("name",e),ye("fn",t)];return null!=n&&s.push(ye("key",Se(String(n),!0))),ge(s)}function Vn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Vn(n.children))return!0;break;case 9:if(Vn(n.branches))return!0;break;case 10:case 11:if(Vn(n.children))return!0}}return!1}function Bn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Bn(e.content))}const Fn=new WeakMap,qn=(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?Un(e,t):`"${n}"`;const r=p(o)&&o.callee===B;let a,c,l,h,d,u,f=0,m=r||o===C||o===k||!i&&("svg"===n||"foreignObject"===n);if(s.length>0){const n=jn(e,t,void 0,i,r);a=n.props,f=n.patchFlag,d=n.dynamicPropNames;const s=n.directives;u=s&&s.length?me(s.map((e=>Kn(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){o===A&&(m=!0,f|=1024);if(i&&o!==C&&o!==A){const{slots:n,hasDynamicSlots:s}=Pn(e,t);c=n,s&&(f|=1024)}else if(1===e.children.length&&o!==C){const n=e.children[0],s=n.type,i=5===s||8===s;i&&0===Zt(n,t)&&(f|=1),c=i||2===s?n:e.children}else c=e.children}0!==f&&(l=String(f),d&&d.length&&(h=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+"]"}(d))),e.codegenNode=fe(t,o,a,c,l,h,u,!!m,!1,i,e.loc)};function Un(e,t,n=!1){let{tag:s}=e;const i=Jn(s),o=tt(e,"is");if(o)if(i||$e("COMPILER_IS_ON_ELEMENT",t)){const e=6===o.type?o.value&&Se(o.value.content,!0):o.exp;if(e)return ve(t.helper(B),[e])}else 6===o.type&&o.value.content.startsWith("vue:")&&(s=o.value.content.slice(4));const r=He(s)||t.isBuiltInComponent(s);return r?(n||t.helper(r),r):(t.helper(V),t.components.add(s),dt(s,"component"))}function jn(e,t,n=e.props,s,i,o=!1){const{tag:a,loc:c,children:l}=e;let p=[];const f=[],m=[],g=l.length>0;let y=!1,S=0,b=!1,v=!1,x=!1,E=!1,T=!1,I=!1;const N=[],C=e=>{p.length&&(f.push(ge(Hn(p),c)),p=[]),e&&f.push(e)},k=({key:e,value:n})=>{if(je(e)){const o=e.content,a=r(o);if(!a||s&&!i||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||d(o)||(E=!0),a&&d(o)&&(I=!0),20===n.type||(4===n.type||8===n.type)&&Zt(n,t)>0)return;"ref"===o?b=!0:"class"===o?v=!0:"style"===o?x=!0:"key"===o||N.includes(o)||N.push(o),!s||"class"!==o&&"style"!==o||N.includes(o)||N.push(o)}else T=!0};for(let r=0;r<n.length;r++){const i=n[r];if(6===i.type){const{loc:e,name:n,nameLoc:s,value:o}=i;let r=!0;if("ref"===n&&(b=!0,t.scopes.vFor>0&&p.push(ye(Se("ref_for",!0),Se("true")))),"is"===n&&(Jn(a)||o&&o.content.startsWith("vue:")||$e("COMPILER_IS_ON_ELEMENT",t)))continue;p.push(ye(Se(n,!0,s),Se(o?o.content:"",r,o?o.loc:e)))}else{const{name:n,arg:r,exp:l,loc:d,modifiers:b}=i,v="bind"===n,x="on"===n;if("slot"===n){s||t.onError(qe(40,d));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&nt(r,"is")&&(Jn(a)||$e("COMPILER_IS_ON_ELEMENT",t)))continue;if(x&&o)continue;if((v&&nt(r,"key")||x&&g&&nt(r,"vue:before-update"))&&(y=!0),v&&nt(r,"ref")&&t.scopes.vFor>0&&p.push(ye(Se("ref_for",!0),Se("true"))),!r&&(v||x)){if(T=!0,l)if(v){if(C(),$e("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(l);continue}f.push(l)}else C({type:14,loc:d,callee:t.helper(Q),arguments:s?[l]:[l,"true"]});else t.onError(qe(v?34:35,d));continue}v&&b.includes("prop")&&(S|=32);const E=t.directiveTransforms[n];if(E){const{props:n,needRuntime:s}=E(i,e,t);!o&&n.forEach(k),x&&r&&!je(r)?C(ge(n,c)):p.push(...n),s&&(m.push(i),h(s)&&Fn.set(i,s))}else u(n)||(m.push(i),g&&(y=!0))}}let A;if(f.length?(C(),A=f.length>1?ve(t.helper(J),f,c):f[0]):p.length&&(A=ge(Hn(p),c)),T?S|=16:(v&&!s&&(S|=2),x&&!s&&(S|=4),N.length&&(S|=8),E&&(S|=32)),y||0!==S&&32!==S||!(b||I||m.length>0)||(S|=512),!t.inSSR&&A)switch(A.type){case 15:let e=-1,n=-1,s=!1;for(let t=0;t<A.properties.length;t++){const i=A.properties[t].key;je(i)?"class"===i.content?e=t:"style"===i.content&&(n=t):i.isHandlerKey||(s=!0)}const i=A.properties[e],o=A.properties[n];s?A=ve(t.helper(X),[A]):(i&&!je(i.value)&&(i.value=ve(t.helper(G),[i.value])),o&&(x||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=ve(t.helper(z),[o.value])));break;case 14:break;default:A=ve(t.helper(X),[ve(t.helper(Y),[A])])}return{props:A,directives:m,patchFlag:S,dynamicPropNames:N,shouldUseBlock:y}}function Hn(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 o=i.key.content,a=t.get(o);a?("style"===o||"class"===o||r(o))&&Wn(a,i):(t.set(o,i),n.push(i))}return n}function Wn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=me([e.value,t.value],e.loc)}function Kn(e,t){const n=[],s=Fn.get(e);s?n.push(t.helperString(s)):(t.helper(F),t.directives.add(e.name),n.push(dt(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=Se("true",!1,i);n.push(ge(e.modifiers.map((e=>ye(e,t))),i))}return me(n,e.loc)}function Jn(e){return"component"===e||"Component"===e}const Gn=(e,t)=>{if(at(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:o}=zn(e,t),r=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;o&&(r[2]=o,a=3),n.length&&(r[3]=xe([],n,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),r.splice(a),e.codegenNode=ve(t.helper(H),r,s)}};function zn(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=g(t.name),i.push(t))):"bind"===t.name&&nt(t.arg,"name")?t.exp&&(s=t.exp):("bind"===t.name&&t.arg&&je(t.arg)&&(t.arg.content=g(t.arg.content)),i.push(t))}if(i.length>0){const{props:s,directives:o}=jn(e,t,i,!1,!1);n=s,o.length&&t.onError(qe(36,o[0].loc))}return{slotName:s,slotProps:n}}const Xn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Yn=(e,t,n,s)=>{const{loc:i,modifiers:o,arg:r}=e;let a;if(4===r.type)if(r.isStatic){let e=r.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);a=Se(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?S(g(e)):`on:${e}`,!0,r.loc)}else a=be([`${n.helperString(te)}(`,r,")"]);else a=r,a.children.unshift(`${n.helperString(te)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Qe(c.content),t=!(e||Xn.test(c.content)),n=c.content.includes(";");(t||l&&e)&&(c=be([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let h={props:[ye(a,c||Se("() => {}",!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},Qn=(e,t,n)=>{const{modifiers:s,loc:i}=e,o=e.arg;let{exp:r}=e;if(!r&&4===o.type){const t=g(o.content);r=e.exp=Se(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?g(o.content):`${n.helperString(Z)}(${o.content})`:(o.children.unshift(`${n.helperString(Z)}(`),o.children.push(")"))),n.inSSR||(s.includes("prop")&&Zn(o,"."),s.includes("attr")&&Zn(o,"^")),!r||4===r.type&&!r.content.trim()?{props:[ye(o,Se("",!0,i))]}:{props:[ye(o,r)]}},Zn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},es=(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(it(t)){i=!0;for(let i=e+1;i<n.length;i++){const o=n[i];if(!it(o)){s=void 0;break}s||(s=n[e]=be([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(it(s)||8===s.type){const i=[];2===s.type&&" "===s.content||i.push(s),t.ssr||0!==Zt(s,t)||i.push("1"),n[e]={type:12,content:s,loc:s.loc,codegenNode:ve(t.helper(P),i)}}}}},ts=new WeakSet,ns=(e,t)=>{if(1===e.type&&et(e,"once",!0)){if(ts.has(e)||t.inVOnce||t.inSSR)return;return ts.add(e),t.inVOnce=!0,t.helper(ne),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},ss=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(qe(41,e.loc)),is();const o=s.loc.source,r=4===s.type?s.content:o,a=n.bindingMetadata[o];if("props"===a||"props-aliased"===a)return is();if(!r.trim()||!Qe(r))return n.onError(qe(42,s.loc)),is();const c=i||Se("modelValue",!0),l=i?je(i)?`onUpdate:${g(i.content)}`:be(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;h=be([`${n.isTS?"($event: any)":"$event"} => ((`,s,") = $event)"]);const p=[ye(c,e.exp),ye(l,h)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ke(e)?e:JSON.stringify(e))+": true")).join(", "),n=i?je(i)?`${i.content}Modifiers`:be([i,' + "Modifiers"']):"modelModifiers";p.push(ye(n,Se(`{ ${t} }`,!1,e.loc,2)))}return is(p)};function is(e=[]){return{props:e}}const os=/[\w).+\-_$\]]/,rs=(e,t)=>{$e("COMPILER_FILTER",t)&&(5===e.type&&as(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&as(e.exp,t)})))};function as(e,t){if(4===e.type)cs(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];"object"==typeof s&&(4===s.type?cs(s,t):8===s.type?as(e,t):5===s.type&&as(s.content,t))}}function cs(e,t){const n=e.content;let s,i,o,r,a=!1,c=!1,l=!1,h=!1,p=0,d=0,u=0,f=0,m=[];for(o=0;o<n.length;o++)if(i=s,s=n.charCodeAt(o),a)39===s&&92!==i&&(a=!1);else if(c)34===s&&92!==i&&(c=!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)||p||d||u){switch(s){case 34:c=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:u++;break;case 41:u--;break;case 91:d++;break;case 93:d--;break;case 123:p++;break;case 125:p--}if(47===s){let e,t=o-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&os.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=ls(r,m[o],t);e.content=r}}function ls(e,t,n){n.helper(q);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${dt(t,"filter")}(${e})`;{const i=t.slice(0,s),o=t.slice(s+1);return n.filters.add(i),`${dt(i,"filter")}(${e}${")"!==o?","+o:o}`}}const hs=new WeakSet,ps=(e,t)=>{if(1===e.type){const n=et(e,"memo");if(!n||hs.has(e))return;return hs.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&ke(s,t),e.codegenNode=ve(t.helper(ce),[n.exp,xe(void 0,s),"_cache",String(t.cached++)]))}}};function ds(e){return[[ns,In,ps,_n,rs,Gn,qn,Ln,es],{on:Yn,bind:Qn,model:ss}]}function us(e,t={}){const n=t.onError||Be,s="module"===t.mode;!0===t.prefixIdentifiers?n(qe(47)):s&&n(qe(48));t.cacheHandlers&&n(qe(49)),t.scopeId&&!s&&n(qe(50));const i=l(e)?zt(e,t):e,[o,r]=ds();return an(i,a({},t,{prefixIdentifiers:false,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:a({},r,t.directiveTransforms||{})})),un(i,a({},t,{prefixIdentifiers:false}))}const fs=()=>({props:[]}),ms=Symbol(""),gs=Symbol(""),ys=Symbol(""),Ss=Symbol(""),bs=Symbol(""),vs=Symbol(""),xs=Symbol(""),Es=Symbol(""),Ts=Symbol(""),Is=Symbol("");let Ns;pe({[ms]:"vModelRadio",[gs]:"vModelCheckbox",[ys]:"vModelText",[Ss]:"vModelSelect",[bs]:"vModelDynamic",[vs]:"withModifiers",[xs]:"withKeys",[Es]:"vShow",[Ts]:"Transition",[Is]:"TransitionGroup"});const Cs={parseMode:"html",isVoidTag:I,isNativeTag:e=>E(e)||T(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Ns||(Ns=document.createElement("div")),t?(Ns.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Ns.children[0].getAttribute("foo")):(Ns.innerHTML=e,Ns.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Ts:"TransitionGroup"===e||"transition-group"===e?Is: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:Se("style",!0,t.loc),exp:As(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},As=(e,t)=>{const n=function(e){const t={};return e.replace(x,"").split(b).forEach((e=>{if(e){const n=e.split(v);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Se(JSON.stringify(n),!1,t,3)};function _s(e,t){return qe(e,t)}const Os={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."},ws=t("passive,once,capture"),Rs=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ms=t("left,right"),Ls=t("onkeyup,onkeydown,onkeypress",!0),Ds=(e,t)=>je(e)&&"onclick"===e.content.toLowerCase()?Se(t,!0):4!==e.type?be(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ps=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},$s=[ks],Vs={cloak:fs,html:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(_s(53,i)),t.children.length&&(n.onError(_s(54,i)),t.children.length=0),{props:[ye(Se("innerHTML",!0,i),s||Se("",!0))]}},text:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(_s(55,i)),t.children.length&&(n.onError(_s(56,i)),t.children.length=0),{props:[ye(Se("textContent",!0),s?Zt(s,n)>0?s:ve(n.helperString(K),[s],i):Se("",!0))]}},model:(e,t,n)=>{const s=ss(e,t,n);if(!s.props.length||1===t.tagType)return s;e.arg&&n.onError(_s(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let r=ys,a=!1;if("input"===i||o){const s=tt(t,"type");if(s){if(7===s.type)r=bs;else if(s.value)switch(s.value.content){case"radio":r=ms;break;case"checkbox":r=gs;break;case"file":a=!0,n.onError(_s(59,e.loc))}}else st(t)&&(r=bs)}else"select"===i&&(r=Ss);a||(s.needRuntime=n.helper(r))}else n.onError(_s(57,e.loc));return s.props=s.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),s},on:(e,t,n)=>Yn(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:a,eventOptionModifiers:c}=((e,t,n,s)=>{const i=[],o=[],r=[];for(let a=0;a<t.length;a++){const s=t[a];"native"===s&&Ve("COMPILER_V_ON_NATIVE",n)||ws(s)?r.push(s):Ms(s)?je(e)?Ls(e.content)?i.push(s):o.push(s):(i.push(s),o.push(s)):Rs(s)?o.push(s):i.push(s)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:r}})(i,s,n);if(a.includes("right")&&(i=Ds(i,"onContextmenu")),a.includes("middle")&&(i=Ds(i,"onMouseup")),a.length&&(o=ve(n.helper(vs),[o,JSON.stringify(a)])),!r.length||je(i)&&!Ls(i.content)||(o=ve(n.helper(xs),[o,JSON.stringify(r)])),c.length){const e=c.map(y).join("");i=je(i)?Se(`${i.content}${e}`,!0):be(["(",i,`) + "${e}"`])}return{props:[ye(i,o)]}})),show:(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(_s(61,i)),{props:[],needRuntime:n.helper(Es)}}};return e.BASE_TRANSITION=_,e.CAMELIZE=Z,e.CAPITALIZE=ee,e.CREATE_BLOCK=w,e.CREATE_COMMENT=D,e.CREATE_ELEMENT_BLOCK=R,e.CREATE_ELEMENT_VNODE=L,e.CREATE_SLOTS=W,e.CREATE_STATIC=$,e.CREATE_TEXT=P,e.CREATE_VNODE=M,e.DOMDirectiveTransforms=Vs,e.DOMErrorMessages=Os,e.DOMNodeTransforms=$s,e.FRAGMENT=N,e.GUARD_REACTIVE_PROPS=Y,e.IS_MEMO_SAME=le,e.IS_REF=ae,e.KEEP_ALIVE=A,e.MERGE_PROPS=J,e.NORMALIZE_CLASS=G,e.NORMALIZE_PROPS=X,e.NORMALIZE_STYLE=z,e.OPEN_BLOCK=O,e.POP_SCOPE_ID=ie,e.PUSH_SCOPE_ID=se,e.RENDER_LIST=j,e.RENDER_SLOT=H,e.RESOLVE_COMPONENT=V,e.RESOLVE_DIRECTIVE=F,e.RESOLVE_DYNAMIC_COMPONENT=B,e.RESOLVE_FILTER=q,e.SET_BLOCK_TRACKING=ne,e.SUSPENSE=k,e.TELEPORT=C,e.TO_DISPLAY_STRING=K,e.TO_HANDLERS=Q,e.TO_HANDLER_KEY=te,e.TRANSITION=Ts,e.TRANSITION_GROUP=Is,e.TS_NODE_TYPES=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],e.UNREF=re,e.V_MODEL_CHECKBOX=gs,e.V_MODEL_DYNAMIC=bs,e.V_MODEL_RADIO=ms,e.V_MODEL_SELECT=Ss,e.V_MODEL_TEXT=ys,e.V_ON_WITH_KEYS=xs,e.V_ON_WITH_MODIFIERS=vs,e.V_SHOW=Es,e.WITH_CTX=oe,e.WITH_DIRECTIVES=U,e.WITH_MEMO=ce,e.advancePositionWithClone=function(e,t,n=t.length){return Ze({offset:e.offset,line:e.line,column:e.column},t,n)},e.advancePositionWithMutation=Ze,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=us,e.baseParse=zt,e.buildDirectiveArgs=Kn,e.buildProps=jn,e.buildSlots=Pn,e.checkCompatEnabled=Ve,e.compile=function(e,t={}){return us(e,a({},Cs,t,{nodeTransforms:[Ps,...$s,...t.nodeTransforms||[]],directiveTransforms:a({},Vs,t.directiveTransforms||{}),transformHoist:null}))},e.convertToBlock=ke,e.createArrayExpression=me,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:de}},e.createBlockStatement=Ie,e.createCacheExpression=Te,e.createCallExpression=ve,e.createCompilerError=qe,e.createCompoundExpression=be,e.createConditionalExpression=Ee,e.createDOMCompilerError=_s,e.createForLoopParams=Rn,e.createFunctionExpression=xe,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:de}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:l(e)?Se(e,!1,t):e}},e.createObjectExpression=ge,e.createObjectProperty=ye,e.createReturnStatement=function(e){return{type:26,returns:e,loc:de}},e.createRoot=ue,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:de}},e.createSimpleExpression=Se,e.createStructuralDirectiveTransform=ln,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:de}},e.createTransformContext=rn,e.createVNodeCall=fe,e.errorMessages=Ue,e.extractIdentifiers=xn,e.findDir=et,e.findProp=tt,e.forAliasRE=ft,e.generate=un,e.generateCodeFrame=function(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 a=0;a<s.length;a++)if(o+=s[a].length+(i[a]&&i[a].length||0),o>=t){for(let e=a-2;e<=a+2||n>o;e++){if(e<0||e>=s.length)continue;const c=e+1;r.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[e]}`);const l=s[e].length,h=i[e]&&i[e].length||0;if(e===a){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>a){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")},e.getBaseTransformPreset=ds,e.getConstantType=Zt,e.getMemoedVNodeCall=ut,e.getVNodeBlockHelper=Ce,e.getVNodeHelper=Ne,e.hasDynamicKeyVBind=st,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let s=0;s<t.props.length;s++){const i=t.props[s];if(7===i.type&&(e(i.arg,n)||e(i.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&Ke(t.content)&&!!n[t.content];case 8:return t.children.some((t=>p(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=he,e.injectProp=ht,e.isCoreComponent=He,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isMemberExpression=Qe,e.isMemberExpressionBrowser=Xe,e.isMemberExpressionNode=Ye,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Ke,e.isSlotOutlet=at,e.isStaticArgOf=nt,e.isStaticExp=je,e.isStaticProperty=En,e.isStaticPropertyKey=(e,t)=>En(t)&&t.key===e,e.isTemplateNode=rt,e.isText=it,e.isVSlot=ot,e.locStub=de,e.noopDirectiveTransform=fs,e.parse=function(e,t={}){return zt(e,a({},Cs,t))},e.parserOptions=Cs,e.processExpression=Tn,e.processFor=On,e.processIf=Nn,e.processSlotOutlet=zn,e.registerRuntimeHelpers=pe,e.resolveComponentType=Un,e.stringifyExpression=function e(t){return l(t)?t:4===t.type?t.content:t.children.map(e).join("")},e.toValidAssetId=dt,e.trackSlotScopes=Ln,e.trackVForSlotScopes=(e,t)=>{let n;if(rt(e)&&e.props.some(ot)&&(n=et(e,"for"))){const e=n.forParseResult;if(e){wn(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)}}}},e.transform=an,e.transformBind=Qn,e.transformElement=qn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Tn(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=Tn(e,t,"slot"===s.name)),n&&4===n.type&&!n.isStatic&&(s.arg=Tn(n,t))}}},e.transformModel=ss,e.transformOn=Yn,e.transformStyle=ks,e.traverseNode=cn,e.walkBlockDeclarations=function(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 xn(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 xn(n.id))t(e)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of xn(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,s=[],i=Object.create(null)){},e.warnDeprecation=function(e,t,n,...s){if("suppress-warning"===Pe(e,t))return;const{message:i,link:o}=De[e],r=`(deprecation ${e}) ${"function"==typeof i?i(...s):i}${o?`\n Details: ${o}`:""}`,a=new SyntaxError(r);a.code=e,n&&(a.loc=n),t.onWarn(a)},e}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.4.0-alpha.
|
|
3
|
+
"version": "3.4.0-alpha.3",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vue/shared": "3.4.0-alpha.
|
|
41
|
-
"@vue/compiler-core": "3.4.0-alpha.
|
|
40
|
+
"@vue/shared": "3.4.0-alpha.3",
|
|
41
|
+
"@vue/compiler-core": "3.4.0-alpha.3"
|
|
42
42
|
}
|
|
43
43
|
}
|