/** * @vue/compiler-dom v3.6.0-rc.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}const t={},n=()=>{},r=()=>!1,i=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=Object.assign,o=Array.isArray,s=e=>typeof e==`string`,c=e=>typeof e==`symbol`,l=e=>typeof e==`object`&&!!e,u=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),d=e(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),f=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},p=/-(\w)/g,m=(e,t)=>t?t.toUpperCase():``,h=f(e=>e.replace(p,m)),g=f(e=>e.charAt(0).toUpperCase()+e.slice(1)),_=f(e=>e?`on${g(e)}`:``),ee=e=>`${e===`modelValue`||e===`model-value`?`model`:e}Modifiers${e===`model`?`$`:``}`;function te(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return``;let r=e.split(/(\r?\n)/),i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let a=0,o=[];for(let e=0;e=t){for(let s=e-2;s<=e+2||n>a;s++){if(s<0||s>=r.length)continue;let c=s+1;o.push(`${c}${` `.repeat(Math.max(3-String(c).length,0))}| ${r[s]}`);let l=r[s].length,u=i[s]&&i[s].length||0;if(s===e){let e=t-(a-(l+u)),r=Math.max(1,n>a?l-e:n-t);o.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(s>e){if(n>a){let e=Math.max(Math.min(n-a,l),1);o.push(` | `+`^`.repeat(e))}a+=l+u}}break}return o.join(` `)}const v=/;(?![^(]*\))/g,y=/:([^]+)/,b=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function x(e){let t={};return e.replace(b,e=>e.startsWith(`/*`)?``:e).split(v).forEach(e=>{if(e){let n=e.split(y);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}const S=e(`html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot`),ne=e(`svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view`),C=e(`annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics`),re=e(`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`),w=Symbol(``),T=Symbol(``),ie=Symbol(``),E=Symbol(``),ae=Symbol(``),oe=Symbol(``),se=Symbol(``),ce=Symbol(``),le=Symbol(``),ue=Symbol(``),de=Symbol(``),fe=Symbol(``),pe=Symbol(``),me=Symbol(``),he=Symbol(``),ge=Symbol(``),_e=Symbol(``),ve=Symbol(``),ye=Symbol(``),be=Symbol(``),xe=Symbol(``),Se=Symbol(``),Ce=Symbol(``),we=Symbol(``),Te=Symbol(``),Ee=Symbol(``),De=Symbol(``),Oe=Symbol(``),ke=Symbol(``),Ae=Symbol(``),je=Symbol(``),Me=Symbol(``),Ne=Symbol(``),Pe=Symbol(``),Fe=Symbol(``),Ie=Symbol(``),Le=Symbol(``),Re=Symbol(``),ze=Symbol(``),Be={[w]:`Fragment`,[T]:`Teleport`,[ie]:`Suspense`,[E]:`KeepAlive`,[ae]:`BaseTransition`,[oe]:`openBlock`,[se]:`createBlock`,[ce]:`createElementBlock`,[le]:`createVNode`,[ue]:`createElementVNode`,[de]:`createCommentVNode`,[fe]:`createTextVNode`,[pe]:`createStaticVNode`,[me]:`resolveComponent`,[he]:`resolveDynamicComponent`,[ge]:`resolveDirective`,[_e]:`resolveFilter`,[ve]:`withDirectives`,[ye]:`renderList`,[be]:`renderSlot`,[xe]:`createSlots`,[Se]:`toDisplayString`,[Ce]:`mergeProps`,[we]:`normalizeClass`,[Te]:`normalizeStyle`,[Ee]:`normalizeProps`,[De]:`guardReactiveProps`,[Oe]:`toHandlers`,[ke]:`camelize`,[Ae]:`capitalize`,[je]:`toHandlerKey`,[Me]:`setBlockTracking`,[Ne]:`pushScopeId`,[Pe]:`popScopeId`,[Fe]:`withCtx`,[Ie]:`unref`,[Le]:`isRef`,[Re]:`withMemo`,[ze]:`isMemoSame`};function Ve(e){Object.getOwnPropertySymbols(e).forEach(t=>{Be[t]=e[t]})}const He={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},Ue={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},We={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},D={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function Ge(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:D}}function Ke(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=D){return e&&(s?(e.helper(oe),e.helper(at(e.inSSR,l))):e.helper(it(e.inSSR,l)),o&&e.helper(ve)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function qe(e,t=D){return{type:17,loc:t,elements:e}}function O(e,t=D){return{type:15,loc:t,properties:e}}function k(e,t){return{type:16,loc:D,key:s(e)?A(e,!0):e,value:t}}function A(e,t=!1,n=D,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Je(e,t){return{type:5,loc:t,content:s(e)?A(e,!1,t):e}}function j(e,t=D){return{type:8,loc:t,children:e}}function M(e,t=[],n=D){return{type:14,loc:n,callee:e,arguments:t}}function Ye(e,t=void 0,n=!1,r=!1,i=D){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Xe(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:D}}function Ze(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:D}}function Qe(e){return{type:21,body:e,loc:D}}function $e(e){return{type:22,elements:e,loc:D}}function et(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:D}}function tt(e,t){return{type:24,left:e,right:t,loc:D}}function nt(e){return{type:25,expressions:e,loc:D}}function rt(e){return{type:26,returns:e,loc:D}}function it(e,t){return e||t?le:ue}function at(e,t){return e||t?se:ce}function ot(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(it(r,e.isComponent)),t(oe),t(at(r,e.isComponent)))}const st=new Uint8Array([123,123]),ct=new Uint8Array([125,125]);function lt(e){return e>=97&&e<=122||e>=65&&e<=90}function N(e){return e===32||e===10||e===9||e===12||e===13}function ut(e){return e===47||e===62||N(e)}function dt(e){let t=new Uint8Array(e.length);for(let n=0;n100){let t=-1,n=r;for(;t+1>>1;this.newlines[r]=0;t--)if(e>this.newlines[t]){i=t;break}return i>=0&&(t=i+2,n=e-this.newlines[i]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&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){let 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){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?ut(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||N(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart=e||(this.state===28?this.currentSequence===P.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===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.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}};const pt={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},mt={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