10 lines
79 KiB
JavaScript
10 lines
79 KiB
JavaScript
import{O as ke,e as se,a as w,dr as Je,G as xt,ds as qn,J as Xs,g as he,E as jn,N as Us,bq as Jn,d as ce,o as Bs,dt as gs,du as Wn,dv as Kn,dw as Yn,dx as zn,dy as Qn,dz as ft,dA as Zn,dB as Xt,dC as ei}from"../jse/index-index-CO0ZsLf2.js";import{cW as ti}from"./bootstrap-DsjPfOC_.js";var Lt={exports:{}},Mt={};const Ce=Symbol(""),Oe=Symbol(""),ht=Symbol(""),Ve=Symbol(""),Ut=Symbol(""),pe=Symbol(""),Bt=Symbol(""),Ht=Symbol(""),ut=Symbol(""),pt=Symbol(""),Me=Symbol(""),dt=Symbol(""),$t=Symbol(""),Et=Symbol(""),mt=Symbol(""),_t=Symbol(""),St=Symbol(""),gt=Symbol(""),Tt=Symbol(""),Gt=Symbol(""),qt=Symbol(""),Be=Symbol(""),we=Symbol(""),Nt=Symbol(""),It=Symbol(""),Ae=Symbol(""),Pe=Symbol(""),yt=Symbol(""),nt=Symbol(""),Hs=Symbol(""),it=Symbol(""),Fe=Symbol(""),$s=Symbol(""),Gs=Symbol(""),Ot=Symbol(""),qs=Symbol(""),js=Symbol(""),Ct=Symbol(""),jt=Symbol(""),Se={[Ce]:"Fragment",[Oe]:"Teleport",[ht]:"Suspense",[Ve]:"KeepAlive",[Ut]:"BaseTransition",[pe]:"openBlock",[Bt]:"createBlock",[Ht]:"createElementBlock",[ut]:"createVNode",[pt]:"createElementVNode",[Me]:"createCommentVNode",[dt]:"createTextVNode",[$t]:"createStaticVNode",[Et]:"resolveComponent",[mt]:"resolveDynamicComponent",[_t]:"resolveDirective",[St]:"resolveFilter",[gt]:"withDirectives",[Tt]:"renderList",[Gt]:"renderSlot",[qt]:"createSlots",[Be]:"toDisplayString",[we]:"mergeProps",[Nt]:"normalizeClass",[It]:"normalizeStyle",[Ae]:"normalizeProps",[Pe]:"guardReactiveProps",[yt]:"toHandlers",[nt]:"camelize",[Hs]:"capitalize",[it]:"toHandlerKey",[Fe]:"setBlockTracking",[$s]:"pushScopeId",[Gs]:"popScopeId",[Ot]:"withCtx",[qs]:"unref",[js]:"isRef",[Ct]:"withMemo",[jt]:"isMemoSame"};function Js(e){Object.getOwnPropertySymbols(e).forEach(t=>{Se[t]=e[t]})}const si={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},ni={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"},ii={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ri={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"},F={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ws(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:F}}function ve(e,t,s,n,i,r,o,l=!1,a=!1,c=!1,h=F){return e&&(l?(e.helper(pe),e.helper(Ne(e.inSSR,c))):e.helper(Te(e.inSSR,c)),o&&e.helper(gt)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:h}}function ue(e,t=F){return{type:17,loc:t,elements:e}}function W(e,t=F){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:F,key:w(e)?_(e,!0):e,value:t}}function _(e,t=!1,s=F,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function oi(e,t){return{type:5,loc:t,content:w(e)?_(e,!1,t):e}}function K(e,t=F){return{type:8,loc:t,children:e}}function V(e,t=[],s=F){return{type:14,loc:s,callee:e,arguments:t}}function ge(e,t=void 0,s=!1,n=!1,i=F){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function rt(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:F}}function Ks(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:F}}function Ys(e){return{type:21,body:e,loc:F}}function ai(e){return{type:22,elements:e,loc:F}}function li(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:F}}function ci(e,t){return{type:24,left:e,right:t,loc:F}}function fi(e){return{type:25,expressions:e,loc:F}}function hi(e){return{type:26,returns:e,loc:F}}function Te(e,t){return e||t?ut:pt}function Ne(e,t){return e||t?Bt:Ht}function At(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(Te(n,e.isComponent)),t(pe),t(Ne(n,e.isComponent)))}const Ts=new Uint8Array([123,123]),Ns=new Uint8Array([125,125]);function Is(e){return e>=97&&e<=122||e>=65&&e<=90}function J(e){return e===32||e===10||e===9||e===12||e===13}function ae(e){return e===47||e===62||J(e)}function ot(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const U={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])};class ui{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Ts,this.delimiterClose=Ns,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Ts,this.delimiterClose=Ns}getPos(t){let s=1,n=t+1;for(let i=this.newlines.length-1;i>=0;i--){const r=this.newlines[i];if(t>r){s=i+2,n=t-r;break}}return{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?ae(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||J(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===U.TitleEnd||this.currentSequence===U.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===U.Cdata[this.sequenceIndex]?++this.sequenceIndex===U.Cdata.length&&(this.state=28,this.currentSequence=U.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===U.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):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):Is(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ae(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ae(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(ot("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){J(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Is(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||J(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):J(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):J(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ae(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ae(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ae(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ae(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ae(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):J(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):J(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){J(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=U.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===U.ScriptEnd[3]?this.startSpecial(U.ScriptEnd,4):t===U.StyleEnd[3]?this.startSpecial(U.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===U.TitleEnd[3]?this.startSpecial(U.TitleEnd,4):t===U.TextareaEnd[3]?this.startSpecial(U.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===U.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):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,t))}emitCodePoint(t,s){}}const pi={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"},di={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Dt(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function _e(e,t){const s=Dt("MODE",t),n=Dt(e,t);return s===3?n===!0:n!==!1}function be(e,t,s,...n){return _e(e,t)}function Ei(e,t,s,...n){if(Dt(e,t)==="suppress-warning")return;const{message:r,link:o}=di[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...n):r}${o?`
|
|
Details: ${o}`:""}`,a=new SyntaxError(l);a.code=e,s&&(a.loc=s),t.onWarn(a)}function Jt(e){throw e}function zs(e){}function b(e,t,s,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const mi={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},_i={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
Use 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.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",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.',53:""};function Si(e,t,s=!1,n=[],i=Object.create(null)){}function gi(e,t,s){return!1}function Ti(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let s=t.length;for(;s--;){const n=t[s];if(n.type==="AssignmentExpression")return!0;if(n.type!=="ObjectProperty"&&!n.type.endsWith("Pattern"))break}}return!1}function Ni(e){let t=e.length;for(;t--;){const s=e[t];if(s.type==="NewExpression")return!0;if(s.type!=="MemberExpression")break}return!1}function Ii(e,t){for(const s of e.params)for(const n of Q(s))t(n)}function Qs(e,t){const s=e.type==="SwitchCase"?e.consequent:e.body;for(const n of s)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const i of n.declarations)for(const r of Q(i.id))t(r)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else yi(n)?Oi(n,!0,t):n.type==="SwitchStatement"&&Ci(n,!0,t)}function yi(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function Oi(e,t,s){const n=e.type==="ForStatement"?e.init:e.left;if(n&&n.type==="VariableDeclaration"&&(n.kind==="var"?t:!t))for(const i of n.declarations)for(const r of Q(i.id))s(r)}function Ci(e,t,s){for(const n of e.cases){for(const i of n.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const r of i.declarations)for(const o of Q(r.id))s(o);Qs(n,s)}}function Q(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let s=e;for(;s.type==="MemberExpression";)s=s.object;t.push(s);break;case"ObjectPattern":for(const n of e.properties)n.type==="RestElement"?Q(n.argument,t):Q(n.value,t);break;case"ArrayPattern":e.elements.forEach(n=>{n&&Q(n,t)});break;case"RestElement":Q(e.argument,t);break;case"AssignmentPattern":Q(e.left,t);break}return t}const Ai=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Zs=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,vi=(e,t)=>Zs(t)&&t.key===e,en=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function tn(e){return en.includes(e.type)?tn(e.expression):e}const G=e=>e.type===4&&e.isStatic;function Wt(e){switch(e){case"Teleport":case"teleport":return Oe;case"Suspense":case"suspense":return ht;case"KeepAlive":case"keep-alive":return Ve;case"BaseTransition":case"base-transition":return Ut}}const bi=/^$|^\d|[^\$\w\xA0-\uFFFF]/,He=e=>!bi.test(e),Kt=/[A-Za-z_$\xA0-\uFFFF]/,Ri=/[\.\?\w$\xA0-\uFFFF]/,Li=/\s+[.[]\s*|\s*[.[]\s+/g,sn=e=>e.type===4?e.content:e.loc.source,nn=e=>{const t=sn(e).trim().replace(Li,l=>l.trim());let s=0,n=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(s){case 0:if(a==="[")n.push(s),s=1,i++;else if(a==="(")n.push(s),s=2,r++;else if(!(l===0?Kt:Ri).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(n.push(s),s=3,o=a):a==="["?i++:a==="]"&&(--i||(s=n.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")n.push(s),s=3,o=a;else if(a==="(")r++;else if(a===")"){if(l===t.length-1)return!1;--r||(s=n.pop())}break;case 3:a===o&&(s=n.pop(),o=null);break}}return!i&&!r},Mi=ke,Yt=nn,Pi=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,rn=e=>Pi.test(sn(e)),Di=ke,on=rn;function ki(e,t,s=t.length){return an({offset:e.offset,line:e.line,column:e.column},t,s)}function an(e,t,s=t.length){let n=0,i=-1;for(let r=0;r<s;r++)t.charCodeAt(r)===10&&(n++,i=r);return e.offset+=s,e.line+=n,e.column=i===-1?e.column+s:s-i,e}function Vi(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function $(e,t,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(s||i.exp)&&(w(t)?i.name===t:t.test(i.name)))return i}}function $e(e,t,s=!1,n=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(s)continue;if(r.name===t&&(r.value||n))return r}else if(r.name==="bind"&&(r.exp||n)&&fe(r.arg,t))return r}}function fe(e,t){return!!(e&&G(e)&&e.content===t)}function ln(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function ze(e){return e.type===5||e.type===2}function kt(e){return e.type===7&&e.name==="pre"}function zt(e){return e.type===7&&e.name==="slot"}function Re(e){return e.type===1&&e.tagType===3}function xe(e){return e.type===1&&e.tagType===2}const wi=new Set([Ae,Pe]);function cn(e,t=[]){if(e&&!w(e)&&e.type===14){const s=e.callee;if(!w(s)&&wi.has(s))return cn(e.arguments[0],t.concat(e))}return[e,t]}function Xe(e,t,s){let n,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!w(i)&&i.type===14){const l=cn(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||w(i))n=W([t]);else if(i.type===14){const l=i.arguments[0];!w(l)&&l.type===15?ys(t,l)||l.properties.unshift(t):i.callee===yt?n=V(s.helper(we),[W([t]),i]):i.arguments.unshift(W([t])),!n&&(n=i)}else i.type===15?(ys(t,i)||i.properties.unshift(t),n=i):(n=V(s.helper(we),[W([t]),i]),o&&o.callee===Pe&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=n:e.props=n:o?o.arguments[0]=n:e.arguments[2]=n}function ys(e,t){let s=!1;if(e.key.type===4){const n=e.key.content;s=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return s}function Le(e,t){return`_${t}_${e.replace(/[^\w]/g,(s,n)=>s==="-"?"_":e.charCodeAt(n).toString())}`}function Y(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let s=0;s<e.props.length;s++){const n=e.props[s];if(n.type===7&&(Y(n.arg,t)||Y(n.exp,t)))return!0}return e.children.some(s=>Y(s,t));case 11:return Y(e.source,t)?!0:e.children.some(s=>Y(s,t));case 9:return e.branches.some(s=>Y(s,t));case 10:return Y(e.condition,t)?!0:e.children.some(s=>Y(s,t));case 4:return!e.isStatic&&He(e.content)&&!!t[e.content];case 8:return e.children.some(s=>Us(s)&&Y(s,t));case 5:case 12:return Y(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function fn(e){return e.type===14&&e.callee===Ct?e.arguments[1].returns:e}const hn=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Qt(e){for(let t=0;t<e.length;t++)if(!J(e.charCodeAt(t)))return!1;return!0}function vt(e){return e.type===2&&Qt(e.content)||e.type===12&&vt(e.content)}function Zt(e){return e.type===3||vt(e)}const un={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Je,isPreTag:Je,isIgnoreNewlineTag:Je,isCustomElement:Je,onError:Jt,onWarn:zs,comments:!1,prefixIdentifiers:!1};let y=un,Ue=null,ne="",B=null,T=null,q="",te=-1,Ee=-1,es=0,le=!1,Vt=null;const R=[],L=new ui(R,{onerr:ee,ontext(e,t){We(X(e,t),e,t)},ontextentity(e,t,s){We(e,t,s)},oninterpolation(e,t){if(le)return We(X(e,t),e,t);let s=e+L.delimiterOpen.length,n=t-L.delimiterClose.length;for(;J(ne.charCodeAt(s));)s++;for(;J(ne.charCodeAt(n-1));)n--;let i=X(s,n);i.includes("&")&&(i=y.decodeEntities(i,!1)),wt({type:5,content:Ze(i,!1,P(s,n)),loc:P(e,t)})},onopentagname(e,t){const s=X(e,t);B={type:1,tag:s,ns:y.getNamespace(s,R[0],y.ns),tagType:0,props:[],children:[],loc:P(e-1,t),codegenNode:void 0}},onopentagend(e){Cs(e)},onclosetag(e,t){const s=X(e,t);if(!y.isVoidTag(s)){let n=!1;for(let i=0;i<R.length;i++)if(R[i].tag.toLowerCase()===s.toLowerCase()){n=!0,i>0&&ee(24,R[0].loc.start.offset);for(let o=0;o<=i;o++){const l=R.shift();Qe(l,t,o<i)}break}n||ee(23,pn(e,60))}},onselfclosingtag(e){const t=B.tag;B.isSelfClosing=!0,Cs(e),R[0]&&R[0].tag===t&&Qe(R.shift(),e)},onattribname(e,t){T={type:6,name:X(e,t),nameLoc:P(e,t),value:void 0,loc:P(e)}},ondirname(e,t){const s=X(e,t),n=s==="."||s===":"?"bind":s==="@"?"on":s==="#"?"slot":s.slice(2);if(!le&&n===""&&ee(26,e),le||n==="")T={type:6,name:s,nameLoc:P(e,t),value:void 0,loc:P(e)};else if(T={type:7,name:n,rawName:s,exp:void 0,arg:void 0,modifiers:s==="."?[_("prop")]:[],loc:P(e)},n==="pre"){le=L.inVPre=!0,Vt=B;const i=B.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=ji(i[r]))}},ondirarg(e,t){if(e===t)return;const s=X(e,t);if(le&&!kt(T))T.name+=s,me(T.nameLoc,t);else{const n=s[0]!=="[";T.arg=Ze(n?s:s.slice(1,-1),n,P(e,t),n?3:0)}},ondirmodifier(e,t){const s=X(e,t);if(le&&!kt(T))T.name+="."+s,me(T.nameLoc,t);else if(T.name==="slot"){const n=T.arg;n&&(n.content+="."+s,me(n.loc,t))}else{const n=_(s,!0,P(e,t));T.modifiers.push(n)}},onattribdata(e,t){q+=X(e,t),te<0&&(te=e),Ee=t},onattribentity(e,t,s){q+=e,te<0&&(te=t),Ee=s},onattribnameend(e){const t=T.loc.start.offset,s=X(t,e);T.type===7&&(T.rawName=s),B.props.some(n=>(n.type===7?n.rawName:n.name)===s)&&ee(2,t)},onattribend(e,t){if(B&&T){if(me(T.loc,t),e!==0)if(q.includes("&")&&(q=y.decodeEntities(q,!0)),T.type===6)T.name==="class"&&(q=En(q).trim()),e===1&&!q&&ee(13,t),T.value={type:2,content:q,loc:e===1?P(te,Ee):P(te-1,Ee+1)},L.inSFCRoot&&B.tag==="template"&&T.name==="lang"&&q&&q!=="html"&&L.enterRCDATA(ot("</template"),0);else{let s=0;T.exp=Ze(q,!1,P(te,Ee),0,s),T.name==="for"&&(T.forParseResult=xi(T.exp));let n=-1;T.name==="bind"&&(n=T.modifiers.findIndex(i=>i.content==="sync"))>-1&&be("COMPILER_V_BIND_SYNC",y,T.loc,T.arg.loc.source)&&(T.name="model",T.modifiers.splice(n,1))}(T.type!==7||T.name!=="pre")&&B.props.push(T)}q="",te=Ee=-1},oncomment(e,t){y.comments&&wt({type:3,content:X(e,t),loc:P(e-4,t+3)})},onend(){const e=ne.length;for(let t=0;t<R.length;t++)Qe(R[t],e-1),ee(24,R[t].loc.start.offset)},oncdata(e,t){R[0].ns!==0?We(X(e,t),e,t):ee(1,e-9)},onprocessinginstruction(e){(R[0]?R[0].ns:y.ns)===0&&ee(21,e-1)}}),Os=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fi=/^\(|\)$/g;function xi(e){const t=e.loc,s=e.content,n=s.match(hn);if(!n)return;const[,i,r]=n,o=(f,p,u=!1)=>{const d=t.start.offset+p,E=d+f.length;return Ze(f,!1,P(d,E),0,u?1:0)},l={source:o(r.trim(),s.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(Fi,"").trim();const c=i.indexOf(a),h=a.match(Os);if(h){a=a.replace(Os,"").trim();const f=h[1].trim();let p;if(f&&(p=s.indexOf(f,c+a.length),l.key=o(f,p,!0)),h[2]){const u=h[2].trim();u&&(l.index=o(u,s.indexOf(u,l.key?p+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function X(e,t){return ne.slice(e,t)}function Cs(e){L.inSFCRoot&&(B.innerLoc=P(e+1,e+1)),wt(B);const{tag:t,ns:s}=B;s===0&&y.isPreTag(t)&&es++,y.isVoidTag(t)?Qe(B,e):(R.unshift(B),(s===1||s===2)&&(L.inXML=!0)),B=null}function We(e,t,s){{const r=R[0]&&R[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=y.decodeEntities(e,!1))}const n=R[0]||Ue,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,me(i.loc,s)):n.children.push({type:2,content:e,loc:P(t,s)})}function Qe(e,t,s=!1){s?me(e.loc,pn(t,60)):me(e.loc,Xi(t,62)+1),L.inSFCRoot&&(e.children.length?e.innerLoc.end=se({},e.children[e.children.length-1].loc.end):e.innerLoc.end=se({},e.innerLoc.start),e.innerLoc.source=X(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:r}=e;if(le||(n==="slot"?e.tagType=2:As(e)?e.tagType=3:Bi(e)&&(e.tagType=1)),L.inRCDATA||(e.children=dn(r)),i===0&&y.isIgnoreNewlineTag(n)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&y.isPreTag(n)&&es--,Vt===e&&(le=L.inVPre=!1,Vt=null),L.inXML&&(R[0]?R[0].ns:y.ns)===0&&(L.inXML=!1);{const o=e.props;if(!L.inSFCRoot&&_e("COMPILER_NATIVE_TEMPLATE",y)&&e.tag==="template"&&!As(e)){const a=R[0]||Ue,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&be("COMPILER_INLINE_TEMPLATE",y,l.loc)&&e.children.length&&(l.value={type:2,content:X(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Xi(e,t){let s=e;for(;ne.charCodeAt(s)!==t&&s<ne.length-1;)s++;return s}function pn(e,t){let s=e;for(;ne.charCodeAt(s)!==t&&s>=0;)s--;return s}const Ui=new Set(["if","else","else-if","for","slot"]);function As({tag:e,props:t}){if(e==="template"){for(let s=0;s<t.length;s++)if(t[s].type===7&&Ui.has(t[s].name))return!0}return!1}function Bi({tag:e,props:t}){if(y.isCustomElement(e))return!1;if(e==="component"||Hi(e.charCodeAt(0))||Wt(e)||y.isBuiltInComponent&&y.isBuiltInComponent(e)||y.isNativeTag&&!y.isNativeTag(e))return!0;for(let s=0;s<t.length;s++){const n=t[s];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(be("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}}else if(n.name==="bind"&&fe(n.arg,"is")&&be("COMPILER_IS_ON_ELEMENT",y,n.loc))return!0}return!1}function Hi(e){return e>64&&e<91}const $i=/\r\n/g;function dn(e){const t=y.whitespace!=="preserve";let s=!1;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===2)if(es)i.content=i.content.replace($i,`
|
|
`);else if(Qt(i.content)){const r=e[n-1]&&e[n-1].type,o=e[n+1]&&e[n+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&Gi(i.content)))?(s=!0,e[n]=null):i.content=" "}else t&&(i.content=En(i.content))}return s?e.filter(Boolean):e}function Gi(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(s===10||s===13)return!0}return!1}function En(e){let t="",s=!1;for(let n=0;n<e.length;n++)J(e.charCodeAt(n))?s||(t+=" ",s=!0):(t+=e[n],s=!1);return t}function wt(e){(R[0]||Ue).children.push(e)}function P(e,t){return{start:L.getPos(e),end:t==null?t:L.getPos(t),source:t==null?t:X(e,t)}}function qi(e){return P(e.start.offset,e.end.offset)}function me(e,t){e.end=L.getPos(t),e.source=X(e.start.offset,t)}function ji(e){const t={type:6,name:e.rawName,nameLoc:P(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function Ze(e,t=!1,s,n=0,i=0){return _(e,t,s,n)}function ee(e,t,s){y.onError(b(e,P(t,t)))}function Ji(){L.reset(),B=null,T=null,q="",te=-1,Ee=-1,R.length=0}function ts(e,t){if(Ji(),ne=e,y=se({},un),t){let i;for(i in t)t[i]!=null&&(y[i]=t[i])}L.mode=y.parseMode==="html"?1:y.parseMode==="sfc"?2:0,L.inXML=y.ns===1||y.ns===2;const s=t&&t.delimiters;s&&(L.delimiterOpen=ot(s[0]),L.delimiterClose=ot(s[1]));const n=Ue=Ws([],e);return L.parse(ne),n.loc=P(0,e.length),n.children=dn(n.children),Ue=null,n}function Wi(e,t){et(e,void 0,t,!!mn(e))}function mn(e){const t=e.children.filter(s=>s.type!==3);return t.length===1&&t[0].type===1&&!xe(t[0])?t[0]:null}function et(e,t,s,n=!1,i=!1){const{children:r}=e,o=[];for(let h=0;h<r.length;h++){const f=r[h];if(f.type===1&&f.tagType===0){const p=n?0:j(f,s);if(p>0){if(p>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const u=f.codegenNode;if(u.type===13){const d=u.patchFlag;if((d===void 0||d===512||d===1)&&Sn(f,s)>=2){const E=gn(f);E&&(u.props=s.hoist(E))}u.dynamicProps&&(u.dynamicProps=s.hoist(u.dynamicProps))}}}else if(f.type===12&&(n?0:j(f,s))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),o.push(f);continue}if(f.type===1){const p=f.tagType===1;p&&s.scopes.vSlot++,et(f,e,s,!1,i),p&&s.scopes.vSlot--}else if(f.type===11)et(f,e,s,f.children.length===1,!0);else if(f.type===9)for(let p=0;p<f.branches.length;p++)et(f.branches[p],e,s,f.branches[p].children.length===1,i)}let l=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&ce(e.codegenNode.children))e.codegenNode.children=a(ue(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ce(e.codegenNode.children)&&e.codegenNode.children.type===15){const h=c(e.codegenNode,"default");h&&(h.returns=a(ue(h.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!ce(t.codegenNode.children)&&t.codegenNode.children.type===15){const h=$(e,"slot",!0),f=h&&h.arg&&c(t.codegenNode,h.arg);f&&(f.returns=a(ue(f.returns)),l=!0)}}if(!l)for(const h of o)h.codegenNode=s.cache(h.codegenNode);function a(h){const f=s.cache(h);return f.needArraySpread=!0,f}function c(h,f){if(h.children&&!ce(h.children)&&h.children.type===15){const p=h.children.properties.find(u=>u.key===f||u.key.content===f);return p&&p.value}}o.length&&s.transformHoist&&s.transformHoist(r,s,e)}function j(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=s.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=Sn(e,t);if(l===0)return s.set(e,0),0;l<o&&(o=l);for(let a=0;a<e.children.length;a++){const c=j(e.children[a],t);if(c===0)return s.set(e,0),0;c<o&&(o=c)}if(o>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const h=j(c.exp,t);if(h===0)return s.set(e,0),0;h<o&&(o=h)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return s.set(e,0),0;t.removeHelper(pe),t.removeHelper(Ne(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Te(t.inSSR,i.isComponent))}return s.set(e,o),o}else return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return j(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const l=e.children[o];if(w(l)||xt(l))continue;const a=j(l,t);if(a===0)return 0;a<r&&(r=a)}return r;case 20:return 2;default:return 0}}const Ki=new Set([Nt,It,Ae,Pe]);function _n(e,t){if(e.type===14&&!w(e.callee)&&Ki.has(e.callee)){const s=e.arguments[0];if(s.type===4)return j(s,t);if(s.type===14)return _n(s,t)}return 0}function Sn(e,t){let s=3;const n=gn(e);if(n&&n.type===15){const{properties:i}=n;for(let r=0;r<i.length;r++){const{key:o,value:l}=i[r],a=j(o,t);if(a===0)return a;a<s&&(s=a);let c;if(l.type===4?c=j(l,t):l.type===14?c=_n(l,t):c=0,c===0)return c;c<s&&(s=c)}}return s}function gn(e){const t=e.codegenNode;if(t.type===13)return t.props}function Tn(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:n=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=ke,isCustomElement:h=ke,expressionPlugins:f=[],scopeId:p=null,slotted:u=!0,ssr:d=!1,inSSR:E=!1,ssrCssVars:N="",bindingMetadata:g=jn,inline:v=!1,isTS:z=!1,onError:Ie=Jt,onWarn:x=zs,compatConfig:Z}){const re=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:t,selfName:re&&Xs(he(re[1])),prefixIdentifiers:s,hoistStatic:n,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:h,expressionPlugins:f,scopeId:p,slotted:u,ssr:d,inSSR:E,ssrCssVars:N,bindingMetadata:g,inline:v,isTS:z,onError:Ie,onWarn:x,compatConfig:Z,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(m){const O=I.helpers.get(m)||0;return I.helpers.set(m,O+1),m},removeHelper(m){const O=I.helpers.get(m);if(O){const C=O-1;C?I.helpers.set(m,C):I.helpers.delete(m)}},helperString(m){return`_${Se[I.helper(m)]}`},replaceNode(m){I.parent.children[I.childIndex]=I.currentNode=m},removeNode(m){const O=I.parent.children,C=m?O.indexOf(m):I.currentNode?I.childIndex:-1;!m||m===I.currentNode?(I.currentNode=null,I.onNodeRemoved()):I.childIndex>C&&(I.childIndex--,I.onNodeRemoved()),I.parent.children.splice(C,1)},onNodeRemoved:ke,addIdentifiers(m){},removeIdentifiers(m){},hoist(m){w(m)&&(m=_(m)),I.hoists.push(m);const O=_(`_hoisted_${I.hoists.length}`,!1,m.loc,2);return O.hoisted=m,O},cache(m,O=!1,C=!1){const S=Ks(I.cached.length,m,O,C);return I.cached.push(S),S}};return I.filters=new Set,I}function Nn(e,t){const s=Tn(e,t);Ge(e,s),t.hoistStatic&&Wi(e,s),t.ssr||Yi(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function Yi(e,t){const{helper:s}=t,{children:n}=e;if(n.length===1){const i=mn(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&At(r,t),e.codegenNode=r}else e.codegenNode=n[0]}else if(n.length>1){let i=64;e.codegenNode=ve(t,s(Ce),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function zi(e,t){let s=0;const n=()=>{s--};for(;s<e.children.length;s++){const i=e.children[s];w(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=n,Ge(i,t))}}function Ge(e,t){t.currentNode=e;const{nodeTransforms:s}=t,n=[];for(let r=0;r<s.length;r++){const o=s[r](e,t);if(o&&(ce(o)?n.push(...o):n.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Me);break;case 5:t.ssr||t.helper(Be);break;case 9:for(let r=0;r<e.branches.length;r++)Ge(e.branches[r],t);break;case 10:case 11:case 1:case 0:zi(e,t);break}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function ss(e,t){const s=w(e)?n=>n===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:r}=n;if(n.tagType===3&&r.some(zt))return;const o=[];for(let l=0;l<r.length;l++){const a=r[l];if(a.type===7&&s(a.name)){r.splice(l,1),l--;const c=t(n,a,i);c&&o.push(c)}}return o}}}const bt="/*@__PURE__*/",In=e=>`${Se[e]}: _${Se[e]}`;function Qi(e,{mode:t="function",prefixIdentifiers:s=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:h=!1,isTS:f=!1,inSSR:p=!1}){const u={mode:t,prefixIdentifiers:s,sourceMap:n,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:h,isTS:f,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(E){return`_${Se[E]}`},push(E,N=-2,g){u.code+=E},indent(){d(++u.indentLevel)},deindent(E=!1){E?--u.indentLevel:d(--u.indentLevel)},newline(){d(u.indentLevel)}};function d(E){u.push(`
|
|
`+" ".repeat(E),0)}return u}function yn(e,t={}){const s=Qi(e,t);t.onContextCreated&&t.onContextCreated(s);const{mode:n,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:h}=s,f=Array.from(e.helpers),p=f.length>0,u=!r&&n!=="module";Zi(e,s);const E=h?"ssrRender":"render",g=(h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${E}(${g}) {`),o(),u&&(i("with (_ctx) {"),o(),p&&(i(`const { ${f.map(In).join(", ")} } = _Vue
|
|
`,-1),a())),e.components.length&&(Pt(e.components,"component",s),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Pt(e.directives,"directive",s),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Pt(e.filters,"filter",s),a()),e.temps>0){i("let ");for(let v=0;v<e.temps;v++)i(`${v>0?", ":""}_temp${v}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
`,0),a()),h||i("return "),e.codegenNode?H(e.codegenNode,s):i("null"),u&&(l(),i("}")),l(),i("}"),{ast:e,code:s.code,preamble:"",map:s.map?s.map.toJSON():void 0}}function Zi(e,t){const{ssr:s,prefixIdentifiers:n,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,h=Array.from(e.helpers);if(h.length>0&&(i(`const _Vue = ${c}
|
|
`,-1),e.hoists.length)){const f=[ut,pt,Me,dt,$t].filter(p=>h.includes(p)).map(In).join(", ");i(`const { ${f} } = _Vue
|
|
`,-1)}er(e.hoists,t),r(),i("return ")}function Pt(e,t,{helper:s,push:n,newline:i,isTS:r}){const o=s(t==="filter"?St:t==="component"?Et:_t);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),n(`const ${Le(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function er(e,t){if(!e.length)return;t.pure=!0;const{push:s,newline:n}=t;n();for(let i=0;i<e.length;i++){const r=e[i];r&&(s(`const _hoisted_${i+1} = `),H(r,t),n())}t.pure=!1}function ns(e,t){const s=e.length>3||!1;t.push("["),s&&t.indent(),qe(e,t,s),s&&t.deindent(),t.push("]")}function qe(e,t,s=!1,n=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];w(l)?i(l,-3):ce(l)?ns(l,t):H(l,t),o<e.length-1&&(s?(n&&i(","),r()):n&&i(", "))}}function H(e,t){if(w(e)){t.push(e,-3);return}if(xt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:H(e.codegenNode,t);break;case 2:tr(e,t);break;case 4:On(e,t);break;case 5:sr(e,t);break;case 12:H(e.codegenNode,t);break;case 8:Cn(e,t);break;case 3:ir(e,t);break;case 13:rr(e,t);break;case 14:ar(e,t);break;case 15:lr(e,t);break;case 17:cr(e,t);break;case 18:fr(e,t);break;case 19:hr(e,t);break;case 20:ur(e,t);break;case 21:qe(e.body,t,!0,!1);break}}function tr(e,t){t.push(JSON.stringify(e.content),-3,e)}function On(e,t){const{content:s,isStatic:n}=e;t.push(n?JSON.stringify(s):s,-3,e)}function sr(e,t){const{push:s,helper:n,pure:i}=t;i&&s(bt),s(`${n(Be)}(`),H(e.content,t),s(")")}function Cn(e,t){for(let s=0;s<e.children.length;s++){const n=e.children[s];w(n)?t.push(n,-3):H(n,t)}}function nr(e,t){const{push:s}=t;if(e.type===8)s("["),Cn(e,t),s("]");else if(e.isStatic){const n=He(e.content)?e.content:JSON.stringify(e.content);s(n,-2,e)}else s(`[${e.content}]`,-3,e)}function ir(e,t){const{push:s,helper:n,pure:i}=t;i&&s(bt),s(`${n(Me)}(${JSON.stringify(e.content)})`,-3,e)}function rr(e,t){const{push:s,helper:n,pure:i}=t,{tag:r,props:o,children:l,patchFlag:a,dynamicProps:c,directives:h,isBlock:f,disableTracking:p,isComponent:u}=e;let d;a&&(d=String(a)),h&&s(n(gt)+"("),f&&s(`(${n(pe)}(${p?"true":""}), `),i&&s(bt);const E=f?Ne(t.inSSR,u):Te(t.inSSR,u);s(n(E)+"(",-2,e),qe(or([r,o,l,d,c]),t),s(")"),f&&s(")"),h&&(s(", "),H(h,t),s(")"))}function or(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(s=>s||"null")}function ar(e,t){const{push:s,helper:n,pure:i}=t,r=w(e.callee)?e.callee:n(e.callee);i&&s(bt),s(r+"(",-2,e),qe(e.arguments,t),s(")")}function lr(e,t){const{push:s,indent:n,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){s("{}",-2,e);return}const l=o.length>1||!1;s(l?"{":"{ "),l&&n();for(let a=0;a<o.length;a++){const{key:c,value:h}=o[a];nr(c,t),s(": "),H(h,t),a<o.length-1&&(s(","),r())}l&&i(),s(l?"}":" }")}function cr(e,t){ns(e.elements,t)}function fr(e,t){const{push:s,indent:n,deindent:i}=t,{params:r,returns:o,body:l,newline:a,isSlot:c}=e;c&&s(`_${Se[Ot]}(`),s("(",-2,e),ce(r)?qe(r,t):r&&H(r,t),s(") => "),(a||l)&&(s("{"),n()),o?(a&&s("return "),ce(o)?ns(o,t):H(o,t)):l&&H(l,t),(a||l)&&(i(),s("}")),c&&(e.isNonScopedSlot&&s(", undefined, true"),s(")"))}function hr(e,t){const{test:s,consequent:n,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(s.type===4){const f=!He(s.content);f&&o("("),On(s,t),f&&o(")")}else o("("),H(s,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),H(n,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const h=i.type===19;h||t.indentLevel++,H(i,t),h||t.indentLevel--,r&&a(!0)}function ur(e,t){const{push:s,helper:n,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&s("[...("),s(`_cache[${e.index}] || (`),l&&(i(),s(`${n(Fe)}(-1`),e.inVOnce&&s(", true"),s("),"),o(),s("(")),s(`_cache[${e.index}] = `),H(e.value,t),l&&(s(`).cacheIndex = ${e.index},`),o(),s(`${n(Fe)}(1),`),o(),s(`_cache[${e.index}]`),r()),s(")"),a&&s(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const pr=(e,t)=>{if(e.type===5)e.content=tt(e.content,t);else if(e.type===1){const s=$(e,"memo");for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(s&&o&&o.type===4&&o.content==="key")&&(i.exp=tt(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=tt(o,t))}}}};function tt(e,t,s=!1,n=!1,i=Object.create(t.identifiers)){return e}function An(e){return w(e)?e:e.type===4?e.content:e.children.map(An).join("")}const dr=ss(/^(?:if|else|else-if)$/,(e,t,s)=>vn(e,t,s,(n,i,r)=>{const o=s.parent.children;let l=o.indexOf(n),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)n.codegenNode=bs(i,a,s);else{const c=Er(n.codegenNode);c.alternate=bs(i,a+n.branches.length-1,s)}}}));function vn(e,t,s,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;s.onError(b(28,t.loc)),t.exp=_("true",!1,i)}if(t.name==="if"){const i=vs(e,t),r={type:9,loc:qi(e.loc),branches:[i]};if(s.replaceNode(r),n)return n(r,i,!0)}else{const i=s.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&Zt(o)){s.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&s.onError(b(30,e.loc)),s.removeNode();const l=vs(e,t);o.branches.push(l);const a=n&&n(o,l,!1);Ge(l,s),a&&a(),s.currentNode=null}else s.onError(b(30,e.loc));break}}}function vs(e,t){const s=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:s&&!$(e,"for")?e.children:[e],userKey:$e(e,"key"),isTemplateIf:s}}function bs(e,t,s){return e.condition?rt(e.condition,Rs(e,t,s),V(s.helper(Me),['""',"true"])):Rs(e,t,s)}function Rs(e,t,s){const{helper:n}=s,i=D("key",_(`${t}`,!1,F,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return Xe(a,i,s),a}else return ve(s,n(Ce),W([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const a=o.codegenNode,c=fn(a);return c.type===13&&At(c,s),Xe(c,i,s),a}}function Er(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const mr=ss("for",(e,t,s)=>{const{helper:n,removeHelper:i}=s;return bn(e,t,s,r=>{const o=V(n(Tt),[r.source]),l=Re(e),a=$(e,"memo"),c=$e(e,"key",!1,!0);c&&c.type;let h=c&&(c.type===6?c.value?_(c.value.content,!0):void 0:c.exp);const f=c&&h?D("key",h):null,p=r.source.type===4&&r.source.constType>0,u=p?64:c?128:256;return r.codegenNode=ve(s,n(Ce),void 0,o,u,void 0,void 0,!0,!p,!1,e.loc),()=>{let d;const{children:E}=r,N=E.length!==1||E[0].type!==1,g=xe(e)?e:l&&e.children.length===1&&xe(e.children[0])?e.children[0]:null;if(g?(d=g.codegenNode,l&&f&&Xe(d,f,s)):N?d=ve(s,n(Ce),f?W([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(d=E[0].codegenNode,l&&f&&Xe(d,f,s),d.isBlock!==!p&&(d.isBlock?(i(pe),i(Ne(s.inSSR,d.isComponent))):i(Te(s.inSSR,d.isComponent))),d.isBlock=!p,d.isBlock?(n(pe),n(Ne(s.inSSR,d.isComponent))):n(Te(s.inSSR,d.isComponent))),a){const v=ge(at(r.parseResult,[_("_cached")]));v.body=Ys([K(["const _memo = (",a.exp,")"]),K(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${s.helperString(jt)}(_cached, _memo)) return _cached`]),K(["const _item = ",d]),_("_item.memo = _memo"),_("return _item")]),o.arguments.push(v,_("_cache"),_(String(s.cached.length))),s.cached.push(null)}else o.arguments.push(ge(at(r.parseResult),d,!0))}})});function bn(e,t,s,n){if(!t.exp){s.onError(b(31,t.loc));return}const i=t.forParseResult;if(!i){s.onError(b(32,t.loc));return}is(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=s,{source:a,value:c,key:h,index:f}=i,p={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:h,objectIndexAlias:f,parseResult:i,children:Re(e)?e.children:[e]};s.replaceNode(p),l.vFor++;const u=n&&n(p);return()=>{l.vFor--,u&&u()}}function is(e,t){e.finalized||(e.finalized=!0)}function at({value:e,key:t,index:s},n=[]){return _r([e,t,s,...n])}function _r(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((s,n)=>s||_("_".repeat(n+1),!1))}const Ls=_("undefined",!1),Rn=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const s=$(e,"slot");if(s)return s.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Sr=(e,t)=>{let s;if(Re(e)&&e.props.some(zt)&&(s=$(e,"for"))){const n=s.forParseResult;if(n){is(n);const{value:i,key:r,index:o}=n,{addIdentifiers:l,removeIdentifiers:a}=t;return i&&l(i),r&&l(r),o&&l(o),()=>{i&&a(i),r&&a(r),o&&a(o)}}}},gr=(e,t,s,n)=>ge(e,s,!1,!0,s.length?s[0].loc:n);function Ln(e,t,s=gr){t.helper(Ot);const{children:n,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=$(e,"slot",!0);if(a){const{arg:N,exp:g}=a;N&&!G(N)&&(l=!0),r.push(D(N||_("default",!0),s(g,void 0,n,i)))}let c=!1,h=!1;const f=[],p=new Set;let u=0;for(let N=0;N<n.length;N++){const g=n[N];let v;if(!Re(g)||!(v=$(g,"slot",!0))){g.type!==3&&f.push(g);continue}if(a){t.onError(b(37,v.loc));break}c=!0;const{children:z,loc:Ie}=g,{arg:x=_("default",!0),exp:Z,loc:re}=v;let I;G(x)?I=x?x.content:"default":l=!0;const m=$(g,"for"),O=s(Z,m,z,Ie);let C,S;if(C=$(g,"if"))l=!0,o.push(rt(C.exp,Ke(x,O,u++),Ls));else if(S=$(g,/^else(?:-if)?$/,!0)){let A=N,k;for(;A--&&(k=n[A],!!Zt(k)););if(k&&Re(k)&&$(k,/^(?:else-)?if$/)){let M=o[o.length-1];for(;M.alternate.type===19;)M=M.alternate;M.alternate=S.exp?rt(S.exp,Ke(x,O,u++),Ls):Ke(x,O,u++)}else t.onError(b(30,S.loc))}else if(m){l=!0;const A=m.forParseResult;A?(is(A),o.push(V(t.helper(Tt),[A.source,ge(at(A),Ke(x,O),!0)]))):t.onError(b(32,m.loc))}else{if(I){if(p.has(I)){t.onError(b(38,re));continue}p.add(I),I==="default"&&(h=!0)}r.push(D(x,O))}}if(!a){const N=(g,v)=>{const z=s(g,void 0,v,i);return t.compatConfig&&(z.isNonScopedSlot=!0),D("default",z)};c?f.length&&!f.every(vt)&&(h?t.onError(b(39,f[0].loc)):r.push(N(void 0,f))):r.push(N(void 0,n))}const d=l?2:st(e.children)?3:1;let E=W(r.concat(D("_",_(d+"",!1))),i);return o.length&&(E=V(t.helper(qt),[E,ue(o)])),{slots:E,hasDynamicSlots:l}}function Ke(e,t,s){const n=[D("name",e),D("fn",t)];return s!=null&&n.push(D("key",_(String(s),!0))),W(n)}function st(e){for(let t=0;t<e.length;t++){const s=e[t];switch(s.type){case 1:if(s.tagType===2||st(s.children))return!0;break;case 9:if(st(s.branches))return!0;break;case 10:case 11:if(st(s.children))return!0;break}}return!1}const Mn=new WeakMap,Pn=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:i}=e,r=e.tagType===1;let o=r?Dn(e,t):`"${n}"`;const l=Us(o)&&o.callee===mt;let a,c,h=0,f,p,u,d=l||o===Oe||o===ht||!r&&(n==="svg"||n==="foreignObject"||n==="math");if(i.length>0){const E=rs(e,t,void 0,r,l);a=E.props,h=E.patchFlag,p=E.dynamicPropNames;const N=E.directives;u=N&&N.length?ue(N.map(g=>kn(g,t))):void 0,E.shouldUseBlock&&(d=!0)}if(e.children.length>0)if(o===Ve&&(d=!0,h|=1024),r&&o!==Oe&&o!==Ve){const{slots:N,hasDynamicSlots:g}=Ln(e,t);c=N,g&&(h|=1024)}else if(e.children.length===1&&o!==Oe){const N=e.children[0],g=N.type,v=g===5||g===8;v&&j(N,t)===0&&(h|=1),v||g===2?c=N:c=e.children}else c=e.children;p&&p.length&&(f=Nr(p)),e.codegenNode=ve(t,o,a,c,h===0?void 0:h,f,u,!!d,!1,r,e.loc)};function Dn(e,t,s=!1){let{tag:n}=e;const i=Ft(n),r=$e(e,"is",!1,!0);if(r)if(i||_e("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&_(r.value.content,!0):(l=r.exp,l||(l=_("is",!1,r.arg.loc))),l)return V(t.helper(mt),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const o=Wt(n)||t.isBuiltInComponent(n);return o?(s||t.helper(o),o):(t.helper(Et),t.components.add(n),Le(n,"component"))}function rs(e,t,s=e.props,n,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const h=[],f=[],p=a.length>0;let u=!1,d=0,E=!1,N=!1,g=!1,v=!1,z=!1,Ie=!1;const x=[],Z=O=>{c.length&&(h.push(W(Ms(c),l)),c=[]),O&&h.push(O)},re=()=>{t.scopes.vFor>0&&c.push(D(_("ref_for",!0),_("true")))},I=({key:O,value:C})=>{if(G(O)){const S=O.content,A=Bs(S);if(A&&(!n||i)&&S.toLowerCase()!=="onclick"&&S!=="onUpdate:modelValue"&&!gs(S)&&(v=!0),A&&gs(S)&&(Ie=!0),A&&C.type===14&&(C=C.arguments[0]),C.type===20||(C.type===4||C.type===8)&&j(C,t)>0)return;S==="ref"?E=!0:S==="class"?N=!0:S==="style"?g=!0:S!=="key"&&!x.includes(S)&&x.push(S),n&&(S==="class"||S==="style")&&!x.includes(S)&&x.push(S)}else z=!0};for(let O=0;O<s.length;O++){const C=s[O];if(C.type===6){const{loc:S,name:A,nameLoc:k,value:M}=C;let oe=!0;if(A==="ref"&&(E=!0,re()),A==="is"&&(Ft(o)||M&&M.content.startsWith("vue:")||_e("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(D(_(A,!0,k),_(M?M.content:"",oe,M?M.loc:S)))}else{const{name:S,arg:A,exp:k,loc:M,modifiers:oe}=C,de=S==="bind",je=S==="on";if(S==="slot"){n||t.onError(b(40,M));continue}if(S==="once"||S==="memo"||S==="is"||de&&fe(A,"is")&&(Ft(o)||_e("COMPILER_IS_ON_ELEMENT",t))||je&&r)continue;if((de&&fe(A,"key")||je&&p&&fe(A,"vue:before-update"))&&(u=!0),de&&fe(A,"ref")&&re(),!A&&(de||je)){if(z=!0,k)if(de){if(Z(),_e("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(k);continue}re(),Z(),h.push(k)}else Z({type:14,loc:M,callee:t.helper(yt),arguments:n?[k]:[k,"true"]});else t.onError(b(de?34:35,M));continue}de&&oe.some(De=>De.content==="prop")&&(d|=32);const Ss=t.directiveTransforms[S];if(Ss){const{props:De,needRuntime:Rt}=Ss(C,e,t);!r&&De.forEach(I),je&&A&&!G(A)?Z(W(De,l)):c.push(...De),Rt&&(f.push(C),xt(Rt)&&Mn.set(C,Rt))}else qn(S)||(f.push(C),p&&(u=!0))}}let m;if(h.length?(Z(),h.length>1?m=V(t.helper(we),h,l):m=h[0]):c.length&&(m=W(Ms(c),l)),z?d|=16:(N&&!n&&(d|=2),g&&!n&&(d|=4),x.length&&(d|=8),v&&(d|=32)),!u&&(d===0||d===32)&&(E||Ie||f.length>0)&&(d|=512),!t.inSSR&&m)switch(m.type){case 15:let O=-1,C=-1,S=!1;for(let M=0;M<m.properties.length;M++){const oe=m.properties[M].key;G(oe)?oe.content==="class"?O=M:oe.content==="style"&&(C=M):oe.isHandlerKey||(S=!0)}const A=m.properties[O],k=m.properties[C];S?m=V(t.helper(Ae),[m]):(A&&!G(A.value)&&(A.value=V(t.helper(Nt),[A.value])),k&&(g||k.value.type===4&&k.value.content.trim()[0]==="["||k.value.type===17)&&(k.value=V(t.helper(It),[k.value])));break;case 14:break;default:m=V(t.helper(Ae),[V(t.helper(Pe),[m])]);break}return{props:m,directives:f,patchFlag:d,dynamicPropNames:x,shouldUseBlock:u}}function Ms(e){const t=new Map,s=[];for(let n=0;n<e.length;n++){const i=e[n];if(i.key.type===8||!i.key.isStatic){s.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||Bs(r))&&Tr(o,i):(t.set(r,i),s.push(i))}return s}function Tr(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=ue([e.value,t.value],e.loc)}function kn(e,t){const s=[],n=Mn.get(e);n?s.push(t.helperString(n)):(t.helper(_t),t.directives.add(e.name),s.push(Le(e.name,"directive")));const{loc:i}=e;if(e.exp&&s.push(e.exp),e.arg&&(e.exp||s.push("void 0"),s.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||s.push("void 0"),s.push("void 0"));const r=_("true",!1,i);s.push(W(e.modifiers.map(o=>D(o,r)),i))}return ue(s,e.loc)}function Nr(e){let t="[";for(let s=0,n=e.length;s<n;s++)t+=JSON.stringify(e[s]),s<n-1&&(t+=", ");return t+"]"}function Ft(e){return e==="component"||e==="Component"}const Ir=(e,t)=>{if(xe(e)){const{children:s,loc:n}=e,{slotName:i,slotProps:r}=Vn(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),s.length&&(o[3]=ge([],s,!1,!1,n),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=V(t.helper(Gt),o,n)}};function Vn(e,t){let s='"default"',n;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?s=JSON.stringify(o.value.content):(o.name=he(o.name),i.push(o)));else if(o.name==="bind"&&fe(o.arg,"name")){if(o.exp)s=o.exp;else if(o.arg&&o.arg.type===4){const l=he(o.arg.content);s=o.exp=_(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&G(o.arg)&&(o.arg.content=he(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=rs(e,t,i,!1,!1);n=r,o.length&&t.onError(b(36,o[0].loc))}return{slotName:s,slotProps:n}}const os=(e,t,s,n)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&s.onError(b(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const p=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Jn(he(f)):`on:${f}`;l=_(p,!0,o.loc)}else l=K([`${s.helperString(it)}(`,o,")"]);else l=o,l.children.unshift(`${s.helperString(it)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=s.cacheHandlers&&!a&&!s.inVOnce;if(a){const f=Yt(a),p=!(f||on(a)),u=a.content.includes(";");(p||c&&f)&&(a=K([`${p?"$event":"(...args)"} => ${u?"{":"("}`,a,u?"}":")"]))}let h={props:[D(l,a||_("() => {}",!1,i))]};return n&&(h=n(h)),c&&(h.props[0].value=s.cache(h.props[0].value)),h.props.forEach(f=>f.key.isHandlerKey=!0),h},wn=(e,t,s)=>{const{modifiers:n,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),n.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=he(r.content):r.content=`${s.helperString(nt)}(${r.content})`:(r.children.unshift(`${s.helperString(nt)}(`),r.children.push(")"))),s.inSSR||(n.some(l=>l.content==="prop")&&Ps(r,"."),n.some(l=>l.content==="attr")&&Ps(r,"^")),{props:[D(r,o)]}},Ps=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},yr=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const s=e.children;let n,i=!1;for(let r=0;r<s.length;r++){const o=s[r];if(ze(o)){i=!0;for(let l=r+1;l<s.length;l++){const a=s[l];if(ze(a))n||(n=s[r]=K([o],o.loc)),n.children.push(" + ",a),s.splice(l,1),l--;else{n=void 0;break}}}}if(!(!i||s.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<s.length;r++){const o=s[r];if(ze(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&j(o,t)===0&&l.push("1"),s[r]={type:12,content:o,loc:o.loc,codegenNode:V(t.helper(dt),l)}}}}},Ds=new WeakSet,Or=(e,t)=>{if(e.type===1&&$(e,"once",!0))return Ds.has(e)||t.inVOnce||t.inSSR?void 0:(Ds.add(e),t.inVOnce=!0,t.helper(Fe),()=>{t.inVOnce=!1;const s=t.currentNode;s.codegenNode&&(s.codegenNode=t.cache(s.codegenNode,!0,!0))})},as=(e,t,s)=>{const{exp:n,arg:i}=e;if(!n)return s.onError(b(41,e.loc)),Ye();const r=n.loc.source.trim(),o=n.type===4?n.content:r,l=s.bindingMetadata[r];if(l==="props"||l==="props-aliased")return s.onError(b(44,n.loc)),Ye();if(!o.trim()||!Yt(n))return s.onError(b(42,n.loc)),Ye();const a=i||_("modelValue",!0),c=i?G(i)?`onUpdate:${he(i.content)}`:K(['"onUpdate:" + ',i]):"onUpdate:modelValue";let h;const f=s.isTS?"($event: any)":"$event";h=K([`${f} => ((`,n,") = $event)"]);const p=[D(a,e.exp),D(c,h)];if(e.modifiers.length&&t.tagType===1){const u=e.modifiers.map(E=>E.content).map(E=>(He(E)?E:JSON.stringify(E))+": true").join(", "),d=i?G(i)?`${i.content}Modifiers`:K([i,' + "Modifiers"']):"modelModifiers";p.push(D(d,_(`{ ${u} }`,!1,e.loc,2)))}return Ye(p)};function Ye(e=[]){return{props:e}}const Cr=/[\w).+\-_$\]]/,Ar=(e,t)=>{_e("COMPILER_FILTERS",t)&&(e.type===5?lt(e.content,t):e.type===1&&e.props.forEach(s=>{s.type===7&&s.name!=="for"&&s.exp&<(s.exp,t)}))};function lt(e,t){if(e.type===4)ks(e,t);else for(let s=0;s<e.children.length;s++){const n=e.children[s];typeof n=="object"&&(n.type===4?ks(n,t):n.type===8?lt(e,t):n.type===5&<(n.content,t))}}function ks(e,t){const s=e.content;let n=!1,i=!1,r=!1,o=!1,l=0,a=0,c=0,h=0,f,p,u,d,E=[];for(u=0;u<s.length;u++)if(p=f,f=s.charCodeAt(u),n)f===39&&p!==92&&(n=!1);else if(i)f===34&&p!==92&&(i=!1);else if(r)f===96&&p!==92&&(r=!1);else if(o)f===47&&p!==92&&(o=!1);else if(f===124&&s.charCodeAt(u+1)!==124&&s.charCodeAt(u-1)!==124&&!l&&!a&&!c)d===void 0?(h=u+1,d=s.slice(0,u).trim()):N();else{switch(f){case 34:i=!0;break;case 39:n=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let g=u-1,v;for(;g>=0&&(v=s.charAt(g),v===" ");g--);(!v||!Cr.test(v))&&(o=!0)}}d===void 0?d=s.slice(0,u).trim():h!==0&&N();function N(){E.push(s.slice(h,u).trim()),h=u+1}if(E.length){for(u=0;u<E.length;u++)d=vr(d,E[u],t);e.content=d,e.ast=void 0}}function vr(e,t,s){s.helper(St);const n=t.indexOf("(");if(n<0)return s.filters.add(t),`${Le(t,"filter")}(${e})`;{const i=t.slice(0,n),r=t.slice(n+1);return s.filters.add(i),`${Le(i,"filter")}(${e}${r!==")"?","+r:r}`}}const Vs=new WeakSet,br=(e,t)=>{if(e.type===1){const s=$(e,"memo");return!s||Vs.has(e)||t.inSSR?void 0:(Vs.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&At(n,t),e.codegenNode=V(t.helper(Ct),[s.exp,ge(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}},Fn=(e,t)=>{if(e.type===1){for(const s of e.props)if(s.type===7&&s.name==="bind"&&(!s.exp||s.exp.type===4&&!s.exp.content.trim())&&s.arg){const n=s.arg;if(n.type!==4||!n.isStatic)t.onError(b(52,n.loc)),s.exp=_("",!0,n.loc);else{const i=he(n.content);(Kt.test(i[0])||i[0]==="-")&&(s.exp=_(i,!1,n.loc))}}}};function xn(e){return[[Fn,Or,dr,br,mr,Ar,Ir,Pn,Rn,yr],{on:os,bind:wn,model:as}]}function Xn(e,t={}){const s=t.onError||Jt,n=t.mode==="module";t.prefixIdentifiers===!0?s(b(47)):n&&s(b(48));const i=!1;t.cacheHandlers&&s(b(49)),t.scopeId&&!n&&s(b(50));const r=se({},t,{prefixIdentifiers:i}),o=w(e)?ts(e,r):e,[l,a]=xn();return Nn(o,se({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:se({},a,t.directiveTransforms||{})})),yn(o,r)}const Rr={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},Un=()=>({props:[]});const ls=Symbol(""),cs=Symbol(""),fs=Symbol(""),hs=Symbol(""),ct=Symbol(""),us=Symbol(""),ps=Symbol(""),ds=Symbol(""),Es=Symbol(""),ms=Symbol("");Js({[ls]:"vModelRadio",[cs]:"vModelCheckbox",[fs]:"vModelText",[hs]:"vModelSelect",[ct]:"vModelDynamic",[us]:"withModifiers",[ps]:"withKeys",[ds]:"vShow",[Es]:"Transition",[ms]:"TransitionGroup"});let ye;function Lr(e,t=!1){return ye||(ye=document.createElement("div")),t?(ye.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,ye.children[0].getAttribute("foo")):(ye.innerHTML=e,ye.textContent)}const _s={parseMode:"html",isVoidTag:zn,isNativeTag:e=>Wn(e)||Kn(e)||Yn(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Lr,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Es;if(e==="TransitionGroup"||e==="transition-group")return ms},getNamespace(e,t,s){let n=t?t.ns:s;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},Bn=e=>{e.type===1&&e.props.forEach((t,s)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[s]={type:7,name:"bind",arg:_("style",!0,t.loc),exp:Mr(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Mr=(e,t)=>{const s=Qn(e);return _(JSON.stringify(s),!1,t,3)};function ie(e,t){return b(e,t)}const Pr={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},Dr={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."},kr=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ie(53,i)),t.children.length&&(s.onError(ie(54,i)),t.children.length=0),{props:[D(_("innerHTML",!0,i),n||_("",!0))]}},Vr=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ie(55,i)),t.children.length&&(s.onError(ie(56,i)),t.children.length=0),{props:[D(_("textContent",!0),n?j(n,s)>0?n:V(s.helperString(Be),[n],i):_("",!0))]}},wr=(e,t,s)=>{const n=as(e,t,s);if(!n.props.length||t.tagType===1)return n;e.arg&&s.onError(ie(58,e.arg.loc));const{tag:i}=t,r=s.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=fs,l=!1;if(i==="input"||r){const a=$e(t,"type");if(a){if(a.type===7)o=ct;else if(a.value)switch(a.value.content){case"radio":o=ls;break;case"checkbox":o=cs;break;case"file":l=!0,s.onError(ie(59,e.loc));break}}else ln(t)&&(o=ct)}else i==="select"&&(o=hs);l||(n.needRuntime=s.helper(o))}else s.onError(ie(57,e.loc));return n.props=n.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),n},Fr=ft("passive,once,capture"),xr=ft("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Xr=ft("left,right"),Hn=ft("onkeyup,onkeydown,onkeypress"),Ur=(e,t,s,n)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&be("COMPILER_V_ON_NATIVE",s)||Fr(a)?o.push(a):Xr(a)?G(e)?Hn(e.content.toLowerCase())?i.push(a):r.push(a):(i.push(a),r.push(a)):xr(a)?r.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},ws=(e,t)=>G(e)&&e.content.toLowerCase()==="onclick"?_(t,!0):e.type!==4?K(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Br=(e,t,s)=>os(e,t,s,n=>{const{modifiers:i}=e;if(!i.length)return n;let{key:r,value:o}=n.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=Ur(r,i,s,e.loc);if(a.includes("right")&&(r=ws(r,"onContextmenu")),a.includes("middle")&&(r=ws(r,"onMouseup")),a.length&&(o=V(s.helper(us),[o,JSON.stringify(a)])),l.length&&(!G(r)||Hn(r.content.toLowerCase()))&&(o=V(s.helper(ps),[o,JSON.stringify(l)])),c.length){const h=c.map(Xs).join("");r=G(r)?_(`${r.content}${h}`,!0):K(["(",r,`) + "${h}"`])}return{props:[D(r,o)]}}),Hr=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(ie(61,i)),{props:[],needRuntime:s.helper(ds)}},$r=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},$n=[Bn],Gn={cloak:Un,html:kr,text:Vr,model:wr,on:Br,show:Hr};function Gr(e,t={}){return Xn(e,se({},_s,t,{nodeTransforms:[$r,...$n,...t.nodeTransforms||[]],directiveTransforms:se({},Gn,t.directiveTransforms||{}),transformHoist:null}))}function qr(e,t={}){return ts(e,se({},_s,t))}const jr=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Ut,BindingTypes:Rr,CAMELIZE:nt,CAPITALIZE:Hs,CREATE_BLOCK:Bt,CREATE_COMMENT:Me,CREATE_ELEMENT_BLOCK:Ht,CREATE_ELEMENT_VNODE:pt,CREATE_SLOTS:qt,CREATE_STATIC:$t,CREATE_TEXT:dt,CREATE_VNODE:ut,CompilerDeprecationTypes:pi,ConstantTypes:ri,DOMDirectiveTransforms:Gn,DOMErrorCodes:Pr,DOMErrorMessages:Dr,DOMNodeTransforms:$n,ElementTypes:ii,ErrorCodes:mi,FRAGMENT:Ce,GUARD_REACTIVE_PROPS:Pe,IS_MEMO_SAME:jt,IS_REF:js,KEEP_ALIVE:Ve,MERGE_PROPS:we,NORMALIZE_CLASS:Nt,NORMALIZE_PROPS:Ae,NORMALIZE_STYLE:It,Namespaces:si,NodeTypes:ni,OPEN_BLOCK:pe,POP_SCOPE_ID:Gs,PUSH_SCOPE_ID:$s,RENDER_LIST:Tt,RENDER_SLOT:Gt,RESOLVE_COMPONENT:Et,RESOLVE_DIRECTIVE:_t,RESOLVE_DYNAMIC_COMPONENT:mt,RESOLVE_FILTER:St,SET_BLOCK_TRACKING:Fe,SUSPENSE:ht,TELEPORT:Oe,TO_DISPLAY_STRING:Be,TO_HANDLERS:yt,TO_HANDLER_KEY:it,TRANSITION:Es,TRANSITION_GROUP:ms,TS_NODE_TYPES:en,UNREF:qs,V_MODEL_CHECKBOX:cs,V_MODEL_DYNAMIC:ct,V_MODEL_RADIO:ls,V_MODEL_SELECT:hs,V_MODEL_TEXT:fs,V_ON_WITH_KEYS:ps,V_ON_WITH_MODIFIERS:us,V_SHOW:ds,WITH_CTX:Ot,WITH_DIRECTIVES:gt,WITH_MEMO:Ct,advancePositionWithClone:ki,advancePositionWithMutation:an,assert:Vi,baseCompile:Xn,baseParse:ts,buildDirectiveArgs:kn,buildProps:rs,buildSlots:Ln,checkCompatEnabled:be,compile:Gr,convertToBlock:At,createArrayExpression:ue,createAssignmentExpression:ci,createBlockStatement:Ys,createCacheExpression:Ks,createCallExpression:V,createCompilerError:b,createCompoundExpression:K,createConditionalExpression:rt,createDOMCompilerError:ie,createForLoopParams:at,createFunctionExpression:ge,createIfStatement:li,createInterpolation:oi,createObjectExpression:W,createObjectProperty:D,createReturnStatement:hi,createRoot:Ws,createSequenceExpression:fi,createSimpleExpression:_,createStructuralDirectiveTransform:ss,createTemplateLiteral:ai,createTransformContext:Tn,createVNodeCall:ve,errorMessages:_i,extractIdentifiers:Q,findDir:$,findProp:$e,forAliasRE:hn,generate:yn,generateCodeFrame:Zn,getBaseTransformPreset:xn,getConstantType:j,getMemoedVNodeCall:fn,getVNodeBlockHelper:Ne,getVNodeHelper:Te,hasDynamicKeyVBind:ln,hasScopeRef:Y,helperNameMap:Se,injectProp:Xe,isAllWhitespace:Qt,isCommentOrWhitespace:Zt,isCoreComponent:Wt,isFnExpression:on,isFnExpressionBrowser:rn,isFnExpressionNode:Di,isFunctionType:Ai,isInDestructureAssignment:Ti,isInNewExpression:Ni,isMemberExpression:Yt,isMemberExpressionBrowser:nn,isMemberExpressionNode:Mi,isReferencedIdentifier:gi,isSimpleIdentifier:He,isSlotOutlet:xe,isStaticArgOf:fe,isStaticExp:G,isStaticProperty:Zs,isStaticPropertyKey:vi,isTemplateNode:Re,isText:ze,isVPre:kt,isVSlot:zt,isWhitespaceText:vt,locStub:F,noopDirectiveTransform:Un,parse:qr,parserOptions:_s,processExpression:tt,processFor:bn,processIf:vn,processSlotOutlet:Vn,registerRuntimeHelpers:Js,resolveComponentType:Dn,stringifyExpression:An,toValidAssetId:Le,trackSlotScopes:Rn,trackVForSlotScopes:Sr,transform:Nn,transformBind:wn,transformElement:Pn,transformExpression:pr,transformModel:as,transformOn:os,transformStyle:Bn,transformVBindShorthand:Fn,traverseNode:Ge,unwrapTSNode:tn,validFirstIdentCharRE:Kt,walkBlockDeclarations:Qs,walkFunctionParams:Ii,walkIdentifiers:Si,warnDeprecation:Ei},Symbol.toStringTag,{value:"Module"})),Jr=Xt(jr),Wr=Xt(ti),Kr=Xt(ei);var Fs;function Yr(){return Fs||(Fs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Jr,s=Wr,n=Kr;function i(a){var c=Object.create(null);if(a)for(var h in a)c[h]=a[h];return c.default=a,Object.freeze(c)}var r=i(s);const o=Object.create(null);function l(a,c){if(!n.isString(a))if(a.nodeType)a=a.innerHTML;else return n.NOOP;const h=n.genCacheKey(a,c),f=o[h];if(f)return f;if(a[0]==="#"){const E=document.querySelector(a);a=E?E.innerHTML:""}const p=n.extend({hoistStatic:!0,onError:void 0,onWarn:n.NOOP},c);!p.isCustomElement&&typeof customElements!="undefined"&&(p.isCustomElement=E=>!!customElements.get(E));const{code:u}=t.compile(a,p),d=new Function("Vue",u)(r);return d._rc=!0,o[h]=d}s.registerRuntimeCompiler(l),e.compile=l,Object.keys(s).forEach(function(a){a!=="default"&&!Object.prototype.hasOwnProperty.call(e,a)&&(e[a]=s[a])})}(Mt)),Mt}var xs;function Zr(){return xs||(xs=1,Lt.exports=Yr()),Lt.exports}export{Zr as r};
|