/** * @vue/compiler-dom v3.6.0-rc.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ var VueCompilerDOM=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}let n={},r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=Object.assign,s=Array.isArray,c=e=>typeof e==`string`,l=e=>typeof e==`symbol`,u=e=>typeof e==`object`&&!!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`),p=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},m=/-(\w)/g,h=(e,t)=>t?t.toUpperCase():``,g=p(e=>e.replace(m,h)),_=p(e=>e.charAt(0).toUpperCase()+e.slice(1)),ee=p(e=>e?`on${_(e)}`:``),te=e=>`${e===`modelValue`||e===`model-value`?`model`:e}Modifiers${e===`model`?`$`:``}`;function v(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(` `)}let y=/;(?![^(]*\))/g,b=/:([^]+)/,x=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function S(e){let t={};return e.replace(x,e=>e.startsWith(`/*`)?``:e).split(y).forEach(e=>{if(e){let n=e.split(b);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}let ne=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`),C=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`),re=t(`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`),ie=t(`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`),w=Symbol(``),ae=Symbol(``),T=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=Symbol(``),Ve=Symbol(``),He={[w]:`Fragment`,[ae]:`Teleport`,[T]:`Suspense`,[oe]:`KeepAlive`,[se]:`BaseTransition`,[ce]:`openBlock`,[le]:`createBlock`,[ue]:`createElementBlock`,[de]:`createVNode`,[fe]:`createElementVNode`,[pe]:`createCommentVNode`,[me]:`createTextVNode`,[he]:`createStaticVNode`,[ge]:`resolveComponent`,[_e]:`resolveDynamicComponent`,[ve]:`resolveDirective`,[ye]:`resolveFilter`,[be]:`withDirectives`,[xe]:`renderList`,[Se]:`renderSlot`,[Ce]:`createSlots`,[we]:`toDisplayString`,[Te]:`mergeProps`,[Ee]:`normalizeClass`,[De]:`normalizeStyle`,[Oe]:`normalizeProps`,[ke]:`guardReactiveProps`,[Ae]:`toHandlers`,[je]:`camelize`,[Me]:`capitalize`,[Ne]:`toHandlerKey`,[Pe]:`setBlockTracking`,[Fe]:`pushScopeId`,[Ie]:`popScopeId`,[Le]:`withCtx`,[Re]:`unref`,[ze]:`isRef`,[Be]:`withMemo`,[Ve]:`isMemoSame`};function Ue(e){Object.getOwnPropertySymbols(e).forEach(t=>{He[t]=e[t]})}let We={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`},Ge={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},Ke={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},E={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function qe(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:E}}function Je(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=E){return e&&(s?(e.helper(ce),e.helper(st(e.inSSR,l))):e.helper(ot(e.inSSR,l)),o&&e.helper(be)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function Ye(e,t=E){return{type:17,loc:t,elements:e}}function D(e,t=E){return{type:15,loc:t,properties:e}}function O(e,t){return{type:16,loc:E,key:c(e)?k(e,!0):e,value:t}}function k(e,t=!1,n=E,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Xe(e,t){return{type:5,loc:t,content:c(e)?k(e,!1,t):e}}function A(e,t=E){return{type:8,loc:t,children:e}}function j(e,t=[],n=E){return{type:14,loc:n,callee:e,arguments:t}}function Ze(e,t=void 0,n=!1,r=!1,i=E){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function Qe(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:E}}function $e(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:E}}function et(e){return{type:21,body:e,loc:E}}function tt(e){return{type:22,elements:e,loc:E}}function nt(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:E}}function rt(e,t){return{type:24,left:e,right:t,loc:E}}function it(e){return{type:25,expressions:e,loc:E}}function at(e){return{type:26,returns:e,loc:E}}function ot(e,t){return e||t?de:fe}function st(e,t){return e||t?le:ue}function ct(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(ot(r,e.isComponent)),t(ce),t(st(r,e.isComponent)))}let lt=new Uint8Array([123,123]),ut=new Uint8Array([125,125]);function dt(e){return e>=97&&e<=122||e>=65&&e<=90}function M(e){return e===32||e===10||e===9||e===12||e===13}function ft(e){return e===47||e===62||M(e)}function pt(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?ft(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||M(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart=e||(this.state===28?this.currentSequence===N.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){}};let ht={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`},gt={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_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