@dcloudio/uni-cli-shared 3.0.0-4080720251210001 → 3.0.0-5000320260312001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +6 -1
- package/dist/deps.js +6 -1
- package/dist/dom2/index.d.ts +1 -0
- package/dist/dom2/index.js +17 -0
- package/dist/dom2/sharedData.d.ts +2 -0
- package/dist/dom2/sharedData.js +19 -0
- package/dist/easycom.js +34 -5
- package/dist/env/define.d.ts +3 -0
- package/dist/env/define.js +12 -0
- package/dist/hbx/alias.js +15 -17
- package/dist/hbx/index.d.ts +1 -1
- package/dist/hbx/index.js +4 -2
- package/dist/hbx/log.d.ts +5 -0
- package/dist/hbx/log.js +44 -1
- package/dist/i18n.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/json/app/manifest/index.d.ts +1 -0
- package/dist/json/app/manifest/index.js +3 -1
- package/dist/json/mp/pages.js +0 -5
- package/dist/json/pages.d.ts +2 -2
- package/dist/json/pages.js +4 -1
- package/dist/json/uni-x/index.d.ts +1 -1
- package/dist/json/utils.js +31 -22
- package/dist/logs/console.js +1 -1
- package/dist/logs/index.d.ts +11 -0
- package/dist/logs/index.js +34 -1
- package/dist/messages/en.d.ts +6 -3
- package/dist/messages/en.js +6 -3
- package/dist/messages/index.d.ts +11 -5
- package/dist/messages/zh_CN.d.ts +5 -2
- package/dist/messages/zh_CN.js +5 -2
- package/dist/mp/assets.d.ts +1 -0
- package/dist/mp/assets.js +27 -1
- package/dist/mp/externalClasses.d.ts +38 -2
- package/dist/mp/externalClasses.js +90 -4
- package/dist/mp/index.d.ts +4 -3
- package/dist/mp/index.js +11 -1
- package/dist/mp/plugin.d.ts +1 -0
- package/dist/mp/plugin.js +14 -1
- package/dist/mp/style.d.ts +1 -0
- package/dist/mp/style.js +8 -1
- package/dist/mp/usingComponents.d.ts +1 -0
- package/dist/mp/usingComponents.js +17 -1
- package/dist/postcss/index.d.ts +2 -0
- package/dist/postcss/index.js +3 -1
- package/dist/postcss/plugins/stylePluginExternal.d.ts +17 -0
- package/dist/postcss/plugins/stylePluginExternal.js +127 -0
- package/dist/postcss/plugins/stylePluginScoped.js +30 -0
- package/dist/preprocess/context.js +2 -0
- package/dist/preprocess/index.d.ts +9 -6
- package/dist/preprocess/index.js +33 -8
- package/dist/resolve.js +5 -1
- package/dist/uni_modules.js +20 -4
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +9 -6
- package/dist/utsUtils.d.ts +1 -0
- package/dist/utsUtils.js +2 -1
- package/dist/vite/autoImport.js +91 -6
- package/dist/vite/plugins/console.js +1 -1
- package/dist/vite/plugins/cssScoped.js +2 -1
- package/dist/vite/plugins/easycom.js +7 -0
- package/dist/vite/plugins/json.js +69 -2
- package/dist/vite/plugins/pre.js +4 -2
- package/dist/vite/plugins/sfc.js +1 -1
- package/dist/vite/plugins/stats.js +32 -0
- package/dist/vite/plugins/uts/ext-api.js +1 -1
- package/dist/vite/plugins/uts/uni_modules.js +12 -0
- package/dist/vite/plugins/uts/uvue.js +7 -2
- package/dist/vite/plugins/vitejs/plugins/asset.d.ts +1 -0
- package/dist/vite/plugins/vitejs/plugins/asset.js +19 -1
- package/dist/vite/plugins/vitejs/plugins/css.d.ts +2 -1
- package/dist/vite/plugins/vitejs/plugins/css.js +27 -10
- package/dist/vite/utils/ast.d.ts +2 -1
- package/dist/vite/utils/ast.js +5 -1
- package/dist/vue/parse.d.ts +2 -0
- package/dist/vue/parse.js +3 -1
- package/dist/vue/transforms/index.d.ts +1 -0
- package/dist/vue/transforms/index.js +1 -0
- package/dist/vue/transforms/transformLineBreak.d.ts +2 -0
- package/dist/vue/transforms/transformLineBreak.js +15 -0
- package/dist/vue/transforms/transformTag.d.ts +1 -1
- package/dist/vue/transforms/transformTag.js +5 -0
- package/dist/vue/transforms/x/transformMPBuiltInTag.js +2 -2
- package/dist/vue/utils.js +8 -1
- package/lib/@vue/compiler-core/dist/compiler-core.cjs.js +42 -23
- package/lib/@vue/compiler-core/dist/compiler-core.cjs.prod.js +42 -23
- package/lib/@vue/compiler-core/dist/compiler-core.esm-bundler.js +39 -19
- package/lib/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +4635 -1024
- package/lib/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +8762 -7849
- package/lib/dom2/app/@vitejs/plugin-vue/LICENSE +21 -0
- package/lib/dom2/app/@vitejs/plugin-vue/README.md +278 -0
- package/lib/dom2/app/@vitejs/plugin-vue/dist/index.cjs +3353 -0
- package/lib/dom2/app/@vitejs/plugin-vue/dist/index.d.cts +113 -0
- package/lib/dom2/app/@vitejs/plugin-vue/dist/index.d.mts +111 -0
- package/lib/dom2/app/@vitejs/plugin-vue/dist/index.d.ts +113 -0
- package/lib/dom2/app/@vitejs/plugin-vue/dist/index.mjs +3338 -0
- package/lib/dom2/app/@vitejs/plugin-vue/package.json +50 -0
- package/lib/dom2/app/@vue/compiler-core/LICENSE +21 -0
- package/lib/dom2/app/@vue/compiler-core/README.md +1 -0
- package/lib/dom2/app/@vue/compiler-core/dist/compiler-core.cjs.js +5492 -0
- package/lib/dom2/app/@vue/compiler-core/dist/compiler-core.cjs.prod.js +5436 -0
- package/lib/dom2/app/@vue/compiler-core/dist/compiler-core.d.ts +1187 -0
- package/lib/dom2/app/@vue/compiler-core/dist/compiler-core.esm-bundler.js +4335 -0
- package/lib/dom2/app/@vue/compiler-core/index.js +7 -0
- package/lib/dom2/app/@vue/compiler-core/package.json +58 -0
- package/lib/dom2/app/@vue/compiler-dom/LICENSE +21 -0
- package/lib/dom2/app/@vue/compiler-dom/README.md +1 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.cjs.js +762 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +736 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.d.ts +73 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.esm-browser.js +5051 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js +11 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +557 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.global.js +5234 -0
- package/lib/dom2/app/@vue/compiler-dom/dist/compiler-dom.global.prod.js +11 -0
- package/lib/dom2/app/@vue/compiler-dom/index.js +7 -0
- package/lib/dom2/app/@vue/compiler-dom/package.json +57 -0
- package/lib/dom2/app/@vue/compiler-sfc/LICENSE +21 -0
- package/lib/dom2/app/@vue/compiler-sfc/README.md +80 -0
- package/lib/dom2/app/@vue/compiler-sfc/dist/compiler-sfc.cjs.js +15528 -0
- package/lib/dom2/app/@vue/compiler-sfc/dist/compiler-sfc.d.ts +11595 -0
- package/lib/dom2/app/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +41525 -0
- package/lib/dom2/app/@vue/compiler-sfc/package.json +68 -0
- package/lib/dom2/app/@vue/compiler-vapor/LICENSE +21 -0
- package/lib/dom2/app/@vue/compiler-vapor/README.md +1 -0
- package/lib/dom2/app/@vue/compiler-vapor/dist/compiler-vapor.cjs.js +3584 -0
- package/lib/dom2/app/@vue/compiler-vapor/dist/compiler-vapor.d.ts +22858 -0
- package/lib/dom2/app/@vue/compiler-vapor/dist/compiler-vapor.esm-browser.js +22438 -0
- package/lib/dom2/app/@vue/compiler-vapor/package.json +51 -0
- package/lib/dom2/app/@vue/compiler-vapor-dom2/dist/compiler-vapor-dom2.cjs.js +1 -0
- package/lib/dom2/app/@vue/compiler-vapor-dom2/package.json +56 -0
- package/lib/dom2/app/@vue/shared/LICENSE +21 -0
- package/lib/dom2/app/@vue/shared/README.md +3 -0
- package/lib/dom2/app/@vue/shared/dist/shared.cjs.js +773 -0
- package/lib/dom2/app/@vue/shared/dist/shared.cjs.prod.js +773 -0
- package/lib/dom2/app/@vue/shared/dist/shared.d.ts +412 -0
- package/lib/dom2/app/@vue/shared/dist/shared.esm-bundler.js +688 -0
- package/lib/dom2/app/@vue/shared/index.js +7 -0
- package/lib/dom2/app/@vue/shared/package.json +47 -0
- package/lib/preprocess/lib/preprocess.js +9 -3
- package/lib/vapor/@vue/compiler-core/dist/compiler-core.cjs.js +1 -1
- package/lib/vapor/@vue/compiler-core/dist/compiler-core.cjs.prod.js +1 -1
- package/package.json +8 -6
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/compiler-dom v3.6.0-beta.5
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
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,__cid,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)),v=p(e=>e?`on${_(e)}`:``),ee=e=>`${e===`modelValue`||e===`model-value`?`model`:e}Modifiers${e===`model`?`$`:``}`;function y(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<r.length;e++)if(a+=r[e].length+(i[e]&&i[e].length||0),a>=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(`
|
|
7
|
+
`)}let b=/;(?![^(]*\))/g,x=/:([^]+)/,te=/\/\*[^]*?\*\//g;function ne(e){let t={};return e.replace(te,``).split(b).forEach(e=>{if(e){let n=e.split(x);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}let re=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`),S=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`),C=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(``),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=Symbol(``),Ue={[w]:`Fragment`,[ae]:`Teleport`,[oe]:`Suspense`,[se]:`KeepAlive`,[ce]:`BaseTransition`,[le]:`openBlock`,[ue]:`createBlock`,[de]:`createElementBlock`,[fe]:`createVNode`,[pe]:`createElementVNode`,[me]:`createCommentVNode`,[he]:`createTextVNode`,[ge]:`createStaticVNode`,[_e]:`resolveComponent`,[ve]:`resolveDynamicComponent`,[ye]:`resolveDirective`,[be]:`resolveFilter`,[xe]:`withDirectives`,[Se]:`renderList`,[Ce]:`renderSlot`,[we]:`createSlots`,[Te]:`toDisplayString`,[Ee]:`mergeProps`,[De]:`normalizeClass`,[Oe]:`normalizeStyle`,[ke]:`normalizeProps`,[Ae]:`guardReactiveProps`,[je]:`toHandlers`,[Me]:`camelize`,[Ne]:`capitalize`,[Pe]:`toHandlerKey`,[Fe]:`setBlockTracking`,[Ie]:`pushScopeId`,[Le]:`popScopeId`,[Re]:`withCtx`,[ze]:`unref`,[Be]:`isRef`,[Ve]:`withMemo`,[He]:`isMemoSame`};function We(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ue[t]=e[t]})}let Ge={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`},Ke={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},qe={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`},T={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``};function Je(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:T}}function Ye(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=T){return e&&(s?(e.helper(le),e.helper(ct(e.inSSR,l))):e.helper(st(e.inSSR,l)),o&&e.helper(xe)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function Xe(e,t=T){return{type:17,loc:t,elements:e}}function E(e,t=T){return{type:15,loc:t,properties:e}}function D(e,t){return{type:16,loc:T,key:c(e)?O(e,!0):e,value:t}}function O(e,t=!1,n=T,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Ze(e,t){return{type:5,loc:t,content:c(e)?O(e,!1,t):e}}function k(e,t=T){return{type:8,loc:t,children:e}}function A(e,t=[],n=T){return{type:14,loc:n,callee:e,arguments:t}}function Qe(e,t=void 0,n=!1,r=!1,i=T){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function $e(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:T}}function et(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:T}}function tt(e){return{type:21,body:e,loc:T}}function nt(e){return{type:22,elements:e,loc:T}}function rt(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:T}}function it(e,t){return{type:24,left:e,right:t,loc:T}}function at(e){return{type:25,expressions:e,loc:T}}function ot(e){return{type:26,returns:e,loc:T}}function st(e,t){return e||t?fe:pe}function ct(e,t){return e||t?ue:de}function lt(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(st(r,e.isComponent)),t(le),t(ct(r,e.isComponent)))}let ut=new Uint8Array([123,123]),dt=new Uint8Array([125,125]);function ft(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 pt(e){return e===47||e===62||j(e)}function mt(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}let M={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])};var ht=class{get inSFCRoot(){return this.mode===2&&this.stack.length===0}constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=ut,this.delimiterClose=dt,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=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=ut,this.delimiterClose=dt}getPos(e){let t=1,n=e+1,r=this.newlines.length,i=-1;if(r>100){let t=-1,n=r;for(;t+1<n;){let r=t+n>>>1;this.newlines[r]<e?t=r:n=r}i=t}else for(let t=r-1;t>=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.inRCDATA?this.state=32:this.state=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?pt(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||j(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===M.TitleEnd||this.currentSequence===M.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===M.Cdata[this.sequenceIndex]?++this.sequenceIndex===M.Cdata.length&&(this.state=28,this.currentSequence=M.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===M.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):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):ft(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){pt(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(pt(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(mt(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){j(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ft(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||j(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):j(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===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(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):j(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||pt(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||pt(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||pt(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||pt(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||pt(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):j(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):j(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){j(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=M.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===M.ScriptEnd[3]?this.startSpecial(M.ScriptEnd,4):e===M.StyleEnd[3]?this.startSpecial(M.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===M.TitleEnd[3]?this.startSpecial(M.TitleEnd,4):e===M.TextareaEnd[3]?this.startSpecial(M.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();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(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===M.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 gt={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`},_t={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 vt(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function yt(e,t){let n=vt(`MODE`,t),r=vt(e,t);return n===3?r===!0:r!==!1}function bt(e,t,n,...r){return yt(e,t)}function xt(e,t,n,...r){if(vt(e,t)===`suppress-warning`)return;let{message:i,link:a}=_t[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`\n Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function St(e){throw e}function Ct(e){}function N(e,t,n,r){let i=`https://vuejs.org/error-reference/#compiler-${e}`,a=SyntaxError(String(i));return a.code=e,a.loc=t,a}let wt={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_V_MODEL_ON_CONST:45,45:`X_V_MODEL_ON_CONST`,X_INVALID_EXPRESSION:46,46:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:47,47:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:48,48:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:49,49:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:50,50:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:51,51:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:52,52:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:54,54:`__EXTEND_POINT__`},Tt={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.`,53:`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.
|
|
8
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`v-model cannot be used on a const binding because it is not writable.`,46:`Error parsing JavaScript expression: `,47:`<KeepAlive> expects exactly one child component.`,52:`@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.`,48:`"prefixIdentifiers" option is not supported in this build of compiler.`,49:`ES module mode is not supported in this build of compiler.`,50:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,51:`"scopeId" option is only supported in module mode.`,54:``};function Et(e,t,n=!1,r=[],i=Object.create(null)){}function Dt(e,t,n){return!1}function Ot(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function kt(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function At(e,t){for(let n of e.params)for(let e of P(n))t(e)}function jt(e,t){let n=e.type===`SwitchCase`?e.consequent:e.body;for(let e of n)if(e.type===`VariableDeclaration`){if(e.declare)continue;for(let n of e.declarations)for(let e of P(n.id))t(e)}else if(e.type===`FunctionDeclaration`||e.type===`ClassDeclaration`){if(e.declare||!e.id)continue;t(e.id)}else Mt(e)?Nt(e,!0,t):e.type===`SwitchStatement`&&Pt(e,!0,t)}function Mt(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function Nt(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of P(e.id))n(t)}function Pt(e,t,n){for(let r of e.cases){for(let e of r.consequent)if(e.type===`VariableDeclaration`&&(e.kind===`var`?t:!t))for(let t of e.declarations)for(let e of P(t.id))n(e);jt(r,n)}}function P(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?P(n.argument,t):P(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&P(e,t)});break;case`RestElement`:P(e.argument,t);break;case`AssignmentPattern`:P(e.left,t);break}return t}let Ft=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),It=e=>!!e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,Lt=(e,t)=>It(t)&&t.key===e,Rt=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`];function zt(e){return Rt.includes(e.type)?zt(e.expression):e}function F(e){switch(e=zt(e),e.type){case`UnaryExpression`:return F(e.argument);case`LogicalExpression`:case`BinaryExpression`:return F(e.left)&&F(e.right);case`ConditionalExpression`:return F(e.test)&&F(e.consequent)&&F(e.alternate);case`SequenceExpression`:case`TemplateLiteral`:return e.expressions.every(e=>F(e));case`ParenthesizedExpression`:return F(e.expression);case`StringLiteral`:case`NumericLiteral`:case`BooleanLiteral`:case`NullLiteral`:case`BigIntLiteral`:return!0}return!1}function Bt(e,t){if(F(e))return!0;switch(e=zt(e),e.type){case`Identifier`:return t[e.name]===`literal-const`;case`RegExpLiteral`:return!0;case`ObjectExpression`:return e.properties.every(e=>e.type===`ObjectMethod`?!1:e.type===`SpreadElement`?Bt(e.argument,t):(!e.computed||Bt(e.key,t))&&Bt(e.value,t));case`ArrayExpression`:return e.elements.every(e=>e===null?!0:e.type===`SpreadElement`?Bt(e.argument,t):Bt(e,t))}return!1}let I=e=>e.type===4&&e.isStatic;function Vt(e){switch(e){case`Teleport`:case`teleport`:return ae;case`Suspense`:case`suspense`:return oe;case`KeepAlive`:case`keep-alive`:return se;case`BaseTransition`:case`base-transition`:return ce}}let Ht=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ut=e=>!Ht.test(e);var L=function(e){return e[e.inMemberExp=0]=`inMemberExp`,e[e.inBrackets=1]=`inBrackets`,e[e.inParens=2]=`inParens`,e[e.inString=3]=`inString`,e}(L||{});let Wt=/[A-Za-z_$\xA0-\uFFFF]/,Gt=/[\.\?\w$\xA0-\uFFFF]/,Kt=/\s+[.[]\s*|\s*[.[]\s+/g,qt=e=>e.type===4?e.content:e.loc.source,Jt=e=>{let t=qt(e).trim().replace(Kt,e=>e.trim()),n=L.inMemberExp,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case L.inMemberExp:if(s===`[`)r.push(n),n=L.inBrackets,i++;else if(s===`(`)r.push(n),n=L.inParens,a++;else if(!(e===0?Wt:Gt).test(s))return!1;break;case L.inBrackets:s===`'`||s===`"`||s==="`"?(r.push(n),n=L.inString,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case L.inParens:if(s===`'`||s===`"`||s==="`")r.push(n),n=L.inString,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case L.inString:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Yt=r,Xt=Jt,Zt=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Qt=e=>Zt.test(qt(e)),$t=r,en=Qt;function tn(e,t,n=t.length){return nn({offset:e.offset,line:e.line,column:e.column},t,n)}function nn(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function rn(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function R(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(c(t)?i.name===t:t.test(i.name)))return i}}function an(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&on(a.arg,t))return a}}function on(e,t){return!!(e&&I(e)&&e.content===t)}function sn(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function cn(e){return e.type===5||e.type===2}function ln(e){return e.type===7&&e.name===`pre`}function un(e){return e.type===7&&e.name===`slot`}function dn(e){return e.type===1&&e.tagType===3}function fn(e){return e.type===1&&e.tagType===2}let pn=new Set([ke,Ae]);function mn(e,t=[]){if(e&&!c(e)&&e.type===14){let n=e.callee;if(!c(n)&&pn.has(n))return mn(e.arguments[0],t.concat(e))}return[e,t]}function hn(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!c(i)&&i.type===14){let e=mn(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||c(i))r=E([t]);else if(i.type===14){let e=i.arguments[0];!c(e)&&e.type===15?gn(t,e)||e.properties.unshift(t):i.callee===je?r=A(n.helper(Ee),[E([t]),i]):i.arguments.unshift(E([t])),!r&&(r=i)}else i.type===15?(gn(t,i)||i.properties.unshift(t),r=i):(r=A(n.helper(Ee),[E([t]),i]),o&&o.callee===Ae&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function gn(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function _n(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function z(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(z(r.arg,t)||z(r.exp,t)))return!0}return e.children.some(e=>z(e,t));case 11:return z(e.source,t)?!0:e.children.some(e=>z(e,t));case 9:return e.branches.some(e=>z(e,t));case 10:return z(e.condition,t)?!0:e.children.some(e=>z(e,t));case 4:return!e.isStatic&&Ut(e.content)&&!!t[e.content];case 8:return e.children.some(e=>u(e)&&z(e,t));case 5:case 12:return z(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function vn(e){return e.type===14&&e.callee===Ve?e.arguments[1].returns:e}function yn(e){return e.children.filter(e=>!Tn(e))}function bn(e){return yn(e).length===1}function xn(e){let t=!1;for(let n of yn(e))if(n.type===9||n.type===1&&R(n,`if`)){if(t)return!1;t=!0}else if(!t||!(n.type===1&&R(n,/^else(-if)?$/,!0)))return!1;return!0}let Sn=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Cn(e){for(let t=0;t<e.length;t++)if(!j(e.charCodeAt(t)))return!1;return!0}function wn(e){return e.type===2&&Cn(e.content)||e.type===12&&wn(e.content)}function Tn(e){return e.type===3||wn(e)}let En={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:i,isPreTag:i,isIgnoreNewlineTag:i,isCustomElement:i,onError:St,onWarn:Ct,comments:!1,prefixIdentifiers:!1},B=En,Dn=null,V=``,H=null,U=null,W=``,G=-1,On=-1,kn=0,An=!1,jn=null,K=[],q=new ht(K,{onerr:X,ontext(e,t){In(J(e,t),e,t)},ontextentity(e,t,n){In(e,t,n)},oninterpolation(e,t){if(An)return In(J(e,t),e,t);let n=e+q.delimiterOpen.length,r=t-q.delimiterClose.length;for(;j(V.charCodeAt(n));)n++;for(;j(V.charCodeAt(r-1));)r--;let i=J(n,r);i.includes(`&`)&&(i=B.decodeEntities(i,!1)),Jn({type:5,content:$n(i,!1,Y(n,r)),loc:Y(e,t)})},onopentagname(e,t){let n=J(e,t);H={type:1,tag:n,ns:B.getNamespace(n,K[0],B.ns),tagType:0,props:[],children:[],loc:Y(e-1,t),codegenNode:void 0}},onopentagend(e){Fn(e)},onclosetag(e,t){let n=J(e,t);if(!B.isVoidTag(n)){let r=!1;for(let e=0;e<K.length;e++)if(K[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&X(24,K[0].loc.start.offset);for(let n=0;n<=e;n++)Ln(K.shift(),t,n<e);break}r||X(23,zn(e,60))}},onselfclosingtag(e){let t=H.tag;H.isSelfClosing=!0,Fn(e),K[0]&&K[0].tag===t&&Ln(K.shift(),e)},onattribname(e,t){U={type:6,name:J(e,t),nameLoc:Y(e,t),value:void 0,loc:Y(e)}},ondirname(e,t){let n=J(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!An&&r===``&&X(26,e),An||r===``)U={type:6,name:n,nameLoc:Y(e,t),value:void 0,loc:Y(e)};else if(U={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[O(`prop`)]:[],loc:Y(e)},r===`pre`){An=q.inVPre=!0,jn=H;let e=H.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=Zn(e[t]))}},ondirarg(e,t){if(e===t)return;let n=J(e,t);if(An&&!ln(U))U.name+=n,Xn(U.nameLoc,t);else{let r=n[0]!==`[`;U.arg=$n(r?n:n.slice(1,-1),r,Y(e,t),r?3:0)}},ondirmodifier(e,t){let n=J(e,t);if(An&&!ln(U))U.name+=`.`+n,Xn(U.nameLoc,t);else if(U.name===`slot`){let e=U.arg;e&&(e.content+=`.`+n,Xn(e.loc,t))}else{let r=O(n,!0,Y(e,t));U.modifiers.push(r)}},onattribdata(e,t){W+=J(e,t),G<0&&(G=e),On=t},onattribentity(e,t,n){W+=e,G<0&&(G=t),On=n},onattribnameend(e){let t=U.loc.start.offset,n=J(t,e);U.type===7&&(U.rawName=n),H.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&X(2,t)},onattribend(e,t){if(H&&U){if(Xn(U.loc,t),e!==0)if(W.includes(`&`)&&(W=B.decodeEntities(W,!0)),U.type===6)U.name===`class`&&(W=qn(W).trim()),e===1&&!W&&X(13,t),U.value={type:2,content:W,loc:e===1?Y(G,On):Y(G-1,On+1)},q.inSFCRoot&&H.tag===`template`&&U.name===`lang`&&W&&W!==`html`&&q.enterRCDATA(mt(`</template`),0);else{let e=Qn.Normal;U.exp=$n(W,!1,Y(G,On),0,e),U.name===`for`&&(U.forParseResult=Pn(U.exp));let t=-1;U.name===`bind`&&(t=U.modifiers.findIndex(e=>e.content===`sync`))>-1&&bt(`COMPILER_V_BIND_SYNC`,B,U.loc,U.arg.loc.source)&&(U.name=`model`,U.modifiers.splice(t,1))}(U.type!==7||U.name!==`pre`)&&H.props.push(U)}W=``,G=On=-1},oncomment(e,t){B.comments&&Jn({type:3,content:J(e,t),loc:Y(e-4,t+3)})},onend(){let e=V.length;for(let t=0;t<K.length;t++)Ln(K[t],e-1),X(24,K[t].loc.start.offset)},oncdata(e,t){K[0].ns===0?X(1,e-9):In(J(e,t),e,t)},onprocessinginstruction(e){(K[0]?K[0].ns:B.ns)===0&&X(21,e-1)}}),Mn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nn=/^\(|\)$/g;function Pn(e){let t=e.loc,n=e.content,r=n.match(Sn);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return $n(e,!1,Y(i,i+e.length),0,r?Qn.Params:Qn.Normal)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(Nn,``).trim(),l=i.indexOf(c),u=c.match(Mn);if(u){c=c.replace(Mn,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function J(e,t){return V.slice(e,t)}function Fn(e){q.inSFCRoot&&(H.innerLoc=Y(e+1,e+1)),Jn(H);let{tag:t,ns:n}=H;n===0&&B.isPreTag(t)&&kn++,B.isVoidTag(t)?Ln(H,e):(K.unshift(H),(n===1||n===2)&&(q.inXML=!0)),H=null}function In(e,t,n){{let t=K[0]&&K[0].tag;t!==`script`&&t!==`style`&&e.includes(`&`)&&(e=B.decodeEntities(e,!1))}let r=K[0]||Dn,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,Xn(i.loc,n)):r.children.push({type:2,content:e,loc:Y(t,n)})}function Ln(e,t,n=!1){n?Xn(e.loc,zn(t,60)):Xn(e.loc,Rn(t,62)+1),q.inSFCRoot&&(e.children.length?e.innerLoc.end=o({},e.children[e.children.length-1].loc.end):e.innerLoc.end=o({},e.innerLoc.start),e.innerLoc.source=J(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(An||(r===`slot`?e.tagType=2:Vn(e)?e.tagType=3:Hn(e)&&(e.tagType=1)),q.inRCDATA||(e.children=Gn(a)),i===0&&B.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&B.isPreTag(r)&&kn--,jn===e&&(An=q.inVPre=!1,jn=null),q.inXML&&(K[0]?K[0].ns:B.ns)===0&&(q.inXML=!1);{let t=e.props;if(!q.inSFCRoot&&yt(`COMPILER_NATIVE_TEMPLATE`,B)&&e.tag===`template`&&!Vn(e)){let t=K[0]||Dn,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&bt(`COMPILER_INLINE_TEMPLATE`,B,n.loc)&&e.children.length&&(n.value={type:2,content:J(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function Rn(e,t){let n=e;for(;V.charCodeAt(n)!==t&&n<V.length-1;)n++;return n}function zn(e,t){let n=e;for(;V.charCodeAt(n)!==t&&n>=0;)n--;return n}let Bn=new Set([`if`,`else`,`else-if`,`for`,`slot`]);function Vn({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&Bn.has(t[e].name))return!0}return!1}function Hn({tag:e,props:t}){if(B.isCustomElement(e))return!1;if(e===`component`||Un(e.charCodeAt(0))||Vt(e)||B.isBuiltInComponent&&B.isBuiltInComponent(e)||B.isNativeTag&&!B.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||bt(`COMPILER_IS_ON_ELEMENT`,B,n.loc)))return!0}else if(n.name===`bind`&&on(n.arg,`is`)&&bt(`COMPILER_IS_ON_ELEMENT`,B,n.loc))return!0}return!1}function Un(e){return e>64&&e<91}let Wn=/\r\n/g;function Gn(e){let t=B.whitespace!==`preserve`,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(i.type===2)if(kn)i.content=i.content.replace(Wn,`
|
|
9
|
+
`);else if(Cn(i.content)){let a=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!a||!o||t&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&Kn(i.content)))?(n=!0,e[r]=null):i.content=` `}else t&&(i.content=qn(i.content))}return n?e.filter(Boolean):e}function Kn(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function qn(e){let t=``,n=!1;for(let r=0;r<e.length;r++)j(e.charCodeAt(r))?n||(t+=` `,n=!0):(t+=e[r],n=!1);return t}function Jn(e){(K[0]||Dn).children.push(e)}function Y(e,t){return{start:q.getPos(e),end:t==null?t:q.getPos(t),source:t==null?t:J(e,t)}}function Yn(e){return Y(e.start.offset,e.end.offset)}function Xn(e,t){e.end=q.getPos(t),e.source=J(e.start.offset,t)}function Zn(e){let t={type:6,name:e.rawName,nameLoc:Y(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}var Qn=function(e){return e[e.Normal=0]=`Normal`,e[e.Params=1]=`Params`,e[e.Statements=2]=`Statements`,e[e.Skip=3]=`Skip`,e}(Qn||{});function $n(e,t=!1,n,r=0,i=Qn.Normal){return O(e,t,n,r)}function X(e,t,n){B.onError(N(e,Y(t,t),void 0,n))}function er(){q.reset(),H=null,U=null,W=``,G=-1,On=-1,K.length=0}function tr(e,t){if(er(),V=e,B=o({},En),t){let e;for(e in t)t[e]!=null&&(B[e]=t[e])}q.mode=B.parseMode===`html`?1:B.parseMode===`sfc`?2:0,q.inXML=B.ns===1||B.ns===2;let n=t&&t.delimiters;n&&(q.delimiterOpen=mt(n[0]),q.delimiterClose=mt(n[1]));let r=Dn=Je([],e);return q.parse(V),r.loc=Y(0,e.length),r.children=Gn(r.children),Dn=null,r}function nr(e,t){ir(e,void 0,t,!!rr(e))}function rr(e){let t=e.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!fn(t[0])?t[0]:null}function ir(e,t,n,r=!1,i=!1){let{children:a}=e,o=[];for(let t=0;t<a.length;t++){let s=a[t];if(s.type===1&&s.tagType===0){let e=r?0:Z(s,n);if(e>0){if(e>=2){s.codegenNode.patchFlag=-1,o.push(s);continue}}else{let e=s.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&sr(s,n)>=2){let t=cr(s);t&&(e.props=n.hoist(t))}e.dynamicProps&&(e.dynamicProps=n.hoist(e.dynamicProps))}}}else if(s.type===12&&(r?0:Z(s,n))>=2){s.codegenNode.type===14&&s.codegenNode.arguments.length>0&&s.codegenNode.arguments.push(`-1`),o.push(s);continue}if(s.type===1){let t=s.tagType===1;t&&n.scopes.vSlot++,ir(s,e,n,!1,i),t&&n.scopes.vSlot--}else if(s.type===11)ir(s,e,n,s.children.length===1,!0);else if(s.type===9)for(let t=0;t<s.branches.length;t++)ir(s.branches[t],e,n,s.branches[t].children.length===1,i)}let c=!1;if(o.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&s(e.codegenNode.children))e.codegenNode.children=l(Xe(e.codegenNode.children)),c=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!s(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=u(e.codegenNode,`default`);t&&(t.returns=l(Xe(t.returns)),c=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!s(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=R(e,`slot`,!0),r=n&&n.arg&&u(t.codegenNode,n.arg);r&&(r.returns=l(Xe(r.returns)),c=!0)}}if(!c)for(let e of o)e.codegenNode=n.cache(e.codegenNode);function l(e){let t=n.cache(e);return t.needArraySpread=!0,t}function u(e,t){if(e.children&&!s(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}o.length&&n.transformHoist&&n.transformHoist(a,n,e)}function Z(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let 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 r=3,a=sr(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=Z(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=Z(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(le),t.removeHelper(ct(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(st(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Z(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(c(r)||l(r))continue;let i=Z(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}let ar=new Set([De,Oe,ke,Ae]);function or(e,t){if(e.type===14&&!c(e.callee)&&ar.has(e.callee)){let n=e.arguments[0];if(n.type===4)return Z(n,t);if(n.type===14)return or(n,t)}return 0}function sr(e,t){let n=3,r=cr(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=Z(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?Z(a,t):a.type===14?or(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function cr(e){let t=e.codegenNode;if(t.type===13)return t.props}function lr(e){let t=e.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/);return t?_(g(t[1])):null}function ur(e,{filename:t=``,prefixIdentifiers:i=!1,hoistStatic:a=!1,hmr:o=!1,cacheHandlers:s=!1,nodeTransforms:l=[],directiveTransforms:u={},transformHoist:d=null,isBuiltInComponent:f=r,isCustomElement:p=r,isUserComponent:m=e=>e.tagType===1,expressionPlugins:h=[],scopeId:g=null,slotted:_=!0,ssr:v=!1,inSSR:ee=!1,ssrCssVars:y=``,bindingMetadata:b=n,inline:x=!1,isTS:te=!1,onError:ne=St,onWarn:re=Ct,compatConfig:S}){let C={filename:t,selfName:lr(t),prefixIdentifiers:i,hoistStatic:a,hmr:o,cacheHandlers:s,nodeTransforms:l,directiveTransforms:u,transformHoist:d,isBuiltInComponent:f,isCustomElement:p,isUserComponent:m,expressionPlugins:h,scopeId:g,slotted:_,ssr:v,inSSR:ee,ssrCssVars:y,bindingMetadata:b,inline:x,isTS:te,onError:ne,onWarn:re,compatConfig:S,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(e){let t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){let t=C.helpers.get(e);if(t){let n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString(e){return`_${Ue[C.helper(e)]}`},replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){let t=C.parent.children,n=e?t.indexOf(e):C.currentNode?C.childIndex:-1;!e||e===C.currentNode?(C.currentNode=null,C.onNodeRemoved()):C.childIndex>n&&(C.childIndex--,C.onNodeRemoved()),C.parent.children.splice(n,1)},onNodeRemoved:r,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){c(e)&&(e=O(e)),C.hoists.push(e);let t=O(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=et(C.cached.length,e,t,n);return C.cached.push(r),r}};return C.filters=new Set,C}function dr(e,t){let n=ur(e,t);mr(e,n),t.hoistStatic&&nr(e,n),t.ssr||fr(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function fr(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=rr(e);if(n&&n.codegenNode){let r=n.codegenNode;r.type===13&<(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else r.length>1&&(e.codegenNode=Ye(t,n(w),void 0,e.children,64,void 0,void 0,!0,void 0,!1))}function pr(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];c(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,mr(i,t))}}function mr(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(s(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(me);break;case 5:t.ssr||t.helper(Te);break;case 9:for(let n=0;n<e.branches.length;n++)mr(e.branches[n],t);break;case 10:case 11:case 1:case 0:pr(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function hr(e,t){let n=c(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(un))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}let gr=`/*@__PURE__*/`,_r=e=>`${Ue[e]}: _${Ue[e]}`,vr={Start:0,0:`Start`,End:-1,"-1":`End`,None:-2,"-2":`None`,Unknown:-3,"-3":`Unknown`};function yr(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${Ue[e]}`},push(e,t=-2,n){p.code+=e},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
|
|
10
|
+
`+` `.repeat(e),0)}return p}function br(e,t={}){let n=yr(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(xr(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(_r).join(`, `)} } = _Vue\n`,-1),c())),e.components.length&&(Sr(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Sr(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),Sr(e.filters,`filter`,n),c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
11
|
+
`,0),c()),u||i(`return `),e.codegenNode?Q(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0,helpers:e.helpers}}function xr(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}\n`,-1),e.hoists.length&&i(`const { ${[fe,pe,me,he,ge].filter(e=>u.includes(e)).map(_r).join(`, `)} } = _Vue\n`,-1)),Cr(e.hoists,t),a(),i(`return `)}function Sr(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?be:t===`component`?_e:ye);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${_n(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function Cr(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),Q(a,t),r())}t.pure=!1}function wr(e,t){let n=e.length>3||!1;t.push(`[`),n&&t.indent(),Tr(e,t,n),n&&t.deindent(),t.push(`]`)}function Tr(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let l=e[o];c(l)?i(l,-3):s(l)?wr(l,t):Q(l,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function Q(e,t){if(c(e)){t.push(e,-3);return}if(l(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Q(e.codegenNode,t);break;case 2:Er(e,t);break;case 4:Dr(e,t);break;case 5:Or(e,t);break;case 12:Q(e.codegenNode,t);break;case 8:kr(e,t);break;case 3:jr(e,t);break;case 13:Mr(e,t);break;case 14:Pr(e,t);break;case 15:Fr(e,t);break;case 17:Ir(e,t);break;case 18:Lr(e,t);break;case 19:Rr(e,t);break;case 20:zr(e,t);break;case 21:Tr(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function Er(e,t){t.push(JSON.stringify(e.content),-3,e)}function Dr(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function Or(e,t){let{push:n,helper:r,pure:i}=t;i&&n(gr),n(`${r(Te)}(`),Q(e.content,t),n(`)`)}function kr(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];c(r)?t.push(r,-3):Q(r,t)}}function Ar(e,t){let{push:n}=t;e.type===8?(n(`[`),kr(e,t),n(`]`)):e.isStatic?n(Ut(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function jr(e,t){let{push:n,helper:r,pure:i}=t;i&&n(gr),n(`${r(me)}(${JSON.stringify(e.content)})`,-3,e)}function Mr(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=String(c)),u&&n(r(xe)+`(`),d&&n(`(${r(le)}(${f?`true`:``}), `),i&&n(gr),n(r(d?ct(t.inSSR,p):st(t.inSSR,p))+`(`,-2,e),Tr(Nr([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),Q(u,t),n(`)`))}function Nr(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Pr(e,t){let{push:n,helper:r,pure:i}=t,a=c(e.callee)?e.callee:r(e.callee);i&&n(gr),n(a+`(`,-2,e),Tr(e.arguments,t),n(`)`)}function Fr(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||!1;n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];Ar(r,t),n(`: `),Q(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Ir(e,t){wr(e.elements,t)}function Lr(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:c,newline:l,isSlot:u}=e;u&&n(`_${Ue[Re]}(`),n(`(`,-2,e),s(a)?Tr(a,t):a&&Q(a,t),n(`) => `),(l||c)&&(n(`{`),r()),o?(l&&n(`return `),s(o)?wr(o,t):Q(o,t)):c&&Q(c,t),(l||c)&&(i(),n(`}`)),u&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function Rr(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Ut(n.content);e&&o(`(`),Dr(n,t),e&&o(`)`)}else o(`(`),Q(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),Q(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,Q(i,t),u||t.indentLevel--,a&&c(!0)}function zr(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(Fe)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),Q(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(Fe)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}let Br=t(`true,false,null,this`),Vr=(e,t)=>{if(e.type===5)e.content=Hr(e.content,t);else if(e.type===1){let n=R(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let e=i.exp,r=i.arg;e&&e.type===4&&!(i.name===`on`&&r)&&!(n&&r&&r.type===4&&r.content===`key`)&&(i.exp=Hr(e,t,i.name===`slot`)),r&&r.type===4&&!r.isStatic&&(i.arg=Hr(r,t))}}}};function Hr(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return e}function Ur(e){return c(e)?e:e.type===4?e.content:e.children.map(Ur).join(``)}let Wr=hr(/^(?:if|else|else-if)$/,(e,t,n)=>Gr(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=qr(t,o,n);else{let r=Yr(e.codegenNode);r.alternate=qr(t,o+e.branches.length-1,n)}}}));function Gr(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(N(28,t.loc)),t.exp=O(`true`,!1,r)}if(t.name===`if`){let i=Kr(e,t),a={type:9,loc:Yn(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=i.indexOf(e);for(;a-->=-1;){let o=i[a];if(o&&Tn(o)){n.removeNode(o);continue}if(o&&o.type===9){(t.name===`else-if`||t.name===`else`)&&o.branches[o.branches.length-1].condition===void 0&&n.onError(N(30,e.loc)),n.removeNode();let i=Kr(e,t);o.branches.push(i);let a=r&&r(o,i,!1);mr(i,n),a&&a(),n.currentNode=null}else n.onError(N(30,e.loc));break}}}function Kr(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!R(e,`for`)?e.children:[e],userKey:an(e,`key`),isTemplateIf:n}}function qr(e,t,n){return e.condition?$e(e.condition,Jr(e,t,n),A(n.helper(me),[`""`,`true`])):Jr(e,t,n)}function Jr(e,t,n){let{helper:r}=n,i=D(`key`,O(`${t}`,!1,T,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return hn(e,i,n),e}else return Ye(n,r(w),E([i]),a,64,void 0,void 0,!0,!1,!1,e.loc);else{let e=o.codegenNode,t=vn(e);return t.type===13&<(t,n),hn(t,i,n),e}}function Yr(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}let Xr=hr(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return Zr(e,t,n,t=>{let a=A(r(Se),[t.source]),o=dn(e),s=R(e,`memo`),c=an(e,`key`,!1,!0);c&&c.type;let l=c&&(c.type===6?c.value?O(c.value.content,!0):void 0:c.exp),u=c&&l?D(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=Ye(n,r(w),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t,p=f.length!==1||f[0].type!==1,m=fn(e)?e:o&&e.children.length===1&&fn(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&u&&hn(c,u,n)):p?c=Ye(n,r(w),u?E([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,o&&u&&hn(c,u,n),c.isBlock!==!d&&(c.isBlock?(i(le),i(ct(n.inSSR,c.isComponent))):i(st(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(r(le),r(ct(n.inSSR,c.isComponent))):r(st(n.inSSR,c.isComponent))),s){let e=Qe($r(t.parseResult,[O(`_cached`)]));e.body=tt([k([`const _memo = (`,s.exp,`)`]),k([`if (_cached`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(He)}(_cached, _memo)) return _cached`]),k([`const _item = `,c]),O(`_item.memo = _memo`),O(`return _item`)]),a.arguments.push(e,O(`_cache`),O(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(Qe($r(t.parseResult),c,!0))}})});function Zr(e,t,n,r){if(!t.exp){n.onError(N(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(N(32,t.loc));return}Qr(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:dn(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function Qr(e,t){e.finalized||(e.finalized=!0)}function $r({value:e,key:t,index:n},r=[]){return ei([e,t,n,...r])}function ei(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||O(`_`.repeat(t+1),!1))}let ti=O(`undefined`,!1),ni=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=R(e,`slot`);if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ri=(e,t)=>{let n;if(dn(e)&&e.props.some(un)&&(n=R(e,`for`))){let e=n.forParseResult;if(e){Qr(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},ii=(e,t,n,r)=>Qe(e,n,!1,!0,n.length?n[0].loc:r);function ai(e,t,n=ii){t.helper(Re);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0,c=R(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!I(e)&&(s=!0),a.push(D(e||O(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!dn(i)||!(m=R(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(N(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=O(`default`,!0),exp:v,loc:ee}=m,y;I(_)?y=_?_.content:`default`:s=!0;let b=R(i,`for`),x=n(v,b,h,g),te,ne;if(te=R(i,`if`))s=!0,o.push($e(te.exp,oi(_,x,p++),ti));else if(ne=R(i,/^else(?:-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],Tn(i)););if(i&&dn(i)&&R(i,/^(?:else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=ne.exp?$e(ne.exp,oi(_,x,p++),ti):oi(_,x,p++)}else t.onError(N(30,ne.loc))}else if(b){s=!0;let e=b.forParseResult;e?(Qr(e,t),o.push(A(t.helper(Se),[e.source,Qe($r(e),oi(_,x),!0)]))):t.onError(N(32,b.loc))}else{if(y){if(f.has(y)){t.onError(N(38,ee));continue}f.add(y),y===`default`&&(u=!0)}a.push(D(_,x))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),D(`default`,a)};l?d.length&&!d.every(wn)&&(u?t.onError(N(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:si(e.children)?3:1,h=E(a.concat(D(`_`,O(m+``,!1))),i);return o.length&&(h=A(t.helper(we),[h,Xe(o)])),{slots:h,hasDynamicSlots:s}}function oi(e,t,n){let r=[D(`name`,e),D(`fn`,t)];return n!=null&&r.push(D(`key`,O(String(n),!0))),E(r)}function si(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||si(n.children))return!0;break;case 9:if(si(n.branches))return!0;break;case 10:case 11:if(si(n.children))return!0;break;default:break}}return!1}let ci=new WeakMap,li=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?ui(e,t):`"${n}"`,o=u(a)&&a.callee===ve,s,c,l=0,d,f,p,m=o||a===ae||a===oe||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=di(e,t,void 0,i,o);s=n.props,l=n.patchFlag,f=n.dynamicPropNames;let r=n.directives;p=r&&r.length?Xe(r.map(e=>mi(e,t))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(a===se&&(m=!0,l|=1024),i&&a!==ae&&a!==se){let{slots:n,hasDynamicSlots:r}=ai(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==ae){let n=e.children[0],r=n.type,i=r===5||r===8;i&&Z(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;f&&f.length&&(d=hi(f)),e.codegenNode=Ye(t,a,s,c,l===0?void 0:l,d,p,!!m,!1,i,e.loc)};function ui(e,t,n=!1){let{tag:r}=e,i=gi(r),a=an(e,`is`,!1,!0);if(a)if(i||yt(`COMPILER_IS_ON_ELEMENT`,t)){let e;if(a.type===6?e=a.value&&O(a.value.content,!0):(e=a.exp,e||(e=O(`is`,!1,a.arg.loc))),e)return A(t.helper(ve),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=Vt(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(_e),t.components.add(r),_n(r,`component`))}function di(e,t,n=e.props,r,i,o=!1){let{tag:s,loc:c,children:u}=e,p=[],m=[],h=[],g=u.length>0,_=!1,v=0,ee=!1,y=!1,b=!1,x=!1,te=!1,ne=!1,re=[],S=e=>{p.length&&(m.push(E(fi(p),c)),p=[]),e&&m.push(e)},C=()=>{t.scopes.vFor>0&&p.push(D(O(`ref_for`,!0),O(`true`)))},ie=({key:e,value:n})=>{if(I(e)){let o=e.content,s=a(o);if(s&&(!r||i)&&o.toLowerCase()!==`onclick`&&o!==`onUpdate:modelValue`&&!d(o)&&(x=!0),s&&d(o)&&(ne=!0),s&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&Z(n,t)>0)return;o===`ref`?ee=!0:o===`class`?y=!0:o===`style`?b=!0:o!==`key`&&!re.includes(o)&&re.push(o),r&&(o===`class`||o===`style`)&&!re.includes(o)&&re.push(o)}else te=!0};for(let i=0;i<n.length;i++){let a=n[i];if(a.type===6){let{loc:e,name:n,nameLoc:r,value:i}=a;if(n===`ref`&&(ee=!0,C()),n===`is`&&(gi(s)||i&&i.content.startsWith(`vue:`)||yt(`COMPILER_IS_ON_ELEMENT`,t)))continue;p.push(D(O(n,!0,r),O(i?i.content:``,!0,i?i.loc:e)))}else{let{name:n,arg:i,exp:u,loc:d,modifiers:ee}=a,y=n===`bind`,b=n===`on`;if(n===`slot`){r||t.onError(N(40,d));continue}if(n===`once`||n===`memo`||n===`is`||y&&on(i,`is`)&&(gi(s)||yt(`COMPILER_IS_ON_ELEMENT`,t))||b&&o)continue;if((y&&on(i,`key`)||b&&g&&on(i,`vue:before-update`))&&(_=!0),y&&on(i,`ref`)&&C(),!i&&(y||b)){if(te=!0,u)if(y){if(S(),yt(`COMPILER_V_BIND_OBJECT_ORDER`,t)){m.unshift(u);continue}C(),S(),m.push(u)}else S({type:14,loc:d,callee:t.helper(je),arguments:r?[u]:[u,`true`]});else t.onError(N(y?34:35,d));continue}y&&ee.some(e=>e.content===`prop`)&&(v|=32);let x=t.directiveTransforms[n];if(x){let{props:n,needRuntime:r}=x(a,e,t);!o&&n.forEach(ie),b&&i&&!I(i)?S(E(n,c)):p.push(...n),r&&(h.push(a),l(r)&&ci.set(a,r))}else f(n)||(h.push(a),g&&(_=!0))}}let w;if(m.length?(S(),w=m.length>1?A(t.helper(Ee),m,c):m[0]):p.length&&(w=E(fi(p),c)),te?v|=16:(y&&!r&&(v|=2),b&&!r&&(v|=4),re.length&&(v|=8),x&&(v|=32)),!_&&(v===0||v===32)&&(ee||ne||h.length>0)&&(v|=512),!t.inSSR&&w)switch(w.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<w.properties.length;t++){let i=w.properties[t].key;I(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=w.properties[e],a=w.properties[n];r?w=A(t.helper(ke),[w]):(i&&!I(i.value)&&(i.value=A(t.helper(De),[i.value])),a&&(b||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=A(t.helper(Oe),[a.value])));break;case 14:break;default:w=A(t.helper(ke),[A(t.helper(Ae),[w])]);break}return{props:w,directives:h,patchFlag:v,dynamicPropNames:re,shouldUseBlock:_}}function fi(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let o=i.key.content,s=t.get(o);s?(o===`style`||o===`class`||a(o))&&pi(s,i):(t.set(o,i),n.push(i))}return n}function pi(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Xe([e.value,t.value],e.loc)}function mi(e,t){let n=[],r=ci.get(e);r?n.push(t.helperString(r)):(t.helper(ye),t.directives.add(e.name),n.push(_n(e.name,`directive`)));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=O(`true`,!1,i);n.push(E(e.modifiers.map(e=>D(e,t)),i))}return Xe(n,e.loc)}function hi(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function gi(e){return e===`component`||e===`Component`}let _i=(e,t)=>{if(fn(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=vi(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=Qe([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=A(t.helper(Ce),o,r)}};function vi(e,t){let n=`"default"`,r,i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];r.type===6?r.value&&(r.name===`name`?n=JSON.stringify(r.value.content):(r.name=g(r.name),i.push(r))):r.name===`bind`&&on(r.arg,`name`)?r.exp?n=r.exp:r.arg&&r.arg.type===4&&(n=r.exp=O(g(r.arg.content),!1,r.arg.loc)):(r.name===`bind`&&r.arg&&I(r.arg)&&(r.arg.content=g(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:a}=di(e,t,i,!1,!1);r=n,a.length&&t.onError(N(36,a[0].loc))}return{slotName:n,slotProps:r}}let yi=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(N(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=O(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?v(g(e)):`on:${e}`,!0,o.loc)}else s=k([`${n.helperString(Pe)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(Pe)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let e=Xt(c,n),t=!(e||en(c,n)),r=c.content.includes(`;`);(t||l&&e)&&(c=k([`${t?`$event`:`(...args)`} => ${r?`{`:`(`}`,c,r?`}`:`)`]))}let u={props:[D(s,c||O(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},bi=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),a.type===4?a.isStatic||(a.content=a.content?`${a.content} || ""`:`""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=g(a.content):a.content=`${n.helperString(Me)}(${a.content})`:(a.children.unshift(`${n.helperString(Me)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&xi(a,`.`),r.some(e=>e.content===`attr`)&&xi(a,`^`)),{props:[D(a,o)]}},xi=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},Si=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(cn(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(cn(a))r||(r=n[e]=k([t],t.loc)),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(cn(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&Z(r,t)===0&&i.push(`1`),n[e]={type:12,content:r,loc:r.loc,codegenNode:A(t.helper(he),i)}}}}},Ci=new WeakSet,wi=(e,t)=>{if(e.type===1&&R(e,`once`,!0))return Ci.has(e)||t.inVOnce||t.inSSR?void 0:(Ci.add(e),t.inVOnce=!0,t.helper(Fe),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},Ti=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(N(41,e.loc)),Ei();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(N(44,r.loc)),Ei();if(s===`literal-const`||s===`setup-const`)return n.onError(N(45,r.loc)),Ei();if(!o.trim()||!Xt(r,n))return n.onError(N(42,r.loc)),Ei();let c=i||O(`modelValue`,!0),l=i?I(i)?`onUpdate:${g(i.content)}`:k([`"onUpdate:" + `,i]):`onUpdate:modelValue`,u;u=k([`${n.isTS?`($event: any)`:`$event`} => ((`,r,`) = $event)`]);let d=[D(c,e.exp),D(l,u)];if(e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(Ut(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?I(i)?ee(i.content):k([i,` + "Modifiers"`]):`modelModifiers`;d.push(D(n,O(`{ ${t} }`,!1,e.loc,2)))}return Ei(d)};function Ei(e=[]){return{props:e}}let Di=/[\w).+\-_$\]]/,Oi=(e,t)=>{yt(`COMPILER_FILTERS`,t)&&(e.type===5?ki(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&ki(e.exp,t)}))};function ki(e,t){if(e.type===4)Ai(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?Ai(r,t):r.type===8?ki(e,t):r.type===5&&ki(r.content,t))}}function Ai(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!Di.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(p=0;p<h.length;p++)m=ji(m,h[p],t);e.content=m,e.ast=void 0}}function ji(e,t,n){n.helper(be);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${_n(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${_n(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}let Mi=new WeakSet,Ni=(e,t)=>{if(e.type===1){let n=R(e,`memo`);return!n||Mi.has(e)||t.inSSR?void 0:(Mi.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&<(r,t),e.codegenNode=A(t.helper(Ve),[n.exp,Qe(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},Pi=(e,t)=>{if(e.type===1){for(let n of e.props)if(n.type===7&&n.name===`bind`&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){let e=n.arg;if(e.type!==4||!e.isStatic)t.onError(N(53,e.loc)),n.exp=O(``,!0,e.loc);else{let t=g(e.content);(Wt.test(t[0])||t[0]===`-`)&&(n.exp=O(t,!1,e.loc))}}}};function Fi(e){return[[Pi,wi,Wr,Ni,Xr,...[Oi],...[],_i,li,ni,Si],{on:yi,bind:bi,model:Ti}]}function Ii(e,t={}){let n=t.onError||St,r=t.mode===`module`;t.prefixIdentifiers===!0?n(N(48)):r&&n(N(49)),t.cacheHandlers&&n(N(50)),t.scopeId&&!r&&n(N(51));let i=o({},t,{prefixIdentifiers:!1}),a=c(e)?tr(e,i):e,[s,l]=Fi(!1);return dr(a,o({},i,{nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:o({},l,t.directiveTransforms||{})})),br(a,i)}let Li={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`},Ri=()=>({props:[]}),zi=Symbol(``),Bi=Symbol(``),Vi=Symbol(``),Hi=Symbol(``),Ui=Symbol(``),Wi=Symbol(``),Gi=Symbol(``),Ki=Symbol(``),qi=Symbol(``),Ji=Symbol(``);We({[zi]:`vModelRadio`,[Bi]:`vModelCheckbox`,[Vi]:`vModelText`,[Hi]:`vModelSelect`,[Ui]:`vModelDynamic`,[Wi]:`withModifiers`,[Gi]:`withKeys`,[Ki]:`vShow`,[qi]:`Transition`,[Ji]:`TransitionGroup`});let Yi;function Xi(e,t=!1){return Yi||(Yi=document.createElement(`div`)),t?(Yi.innerHTML=`<div foo="${e.replace(/"/g,`"`)}">`,Yi.children[0].getAttribute(`foo`)):(Yi.innerHTML=e,Yi.textContent)}let Zi={parseMode:`html`,isVoidTag:ie,isNativeTag:e=>re(e)||S(e)||C(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:Xi,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return qi;if(e===`TransitionGroup`||e===`transition-group`)return Ji},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(S(e))return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else /^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(S(e))return 1;if(C(e))return 2}return r}},Qi=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:O(`style`,!0,t.loc),exp:$i(t.value.content,t.loc),modifiers:[],loc:t.loc})})},$i=(e,t)=>{let n=ne(e);return O(JSON.stringify(n),!1,t,3)};function $(e,t){return N(e,t,void 0)}let ea={X_V_HTML_NO_EXPRESSION:54,54:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:55,55:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:56,56:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:57,57:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:58,58:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:59,59:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:61,61:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:62,62:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:63,63:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:64,64:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:65,65:`__EXTEND_POINT__`},ta={54:`v-html is missing expression.`,55:`v-html will override element children.`,56:`v-text is missing expression.`,57:`v-text will override element children.`,58:`v-model can only be used on <input>, <textarea> and <select> elements.`,59:`v-model argument is not supported on plain elements.`,60:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,61:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,62:`v-show is missing expression.`,63:`<Transition> expects exactly one child element or component.`,64:`Tags with side effect (<script> and <style>) are ignored in client component templates.`,65:``},na=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError($(54,i)),t.children.length&&(n.onError($(55,i)),t.children.length=0),{props:[D(O(`innerHTML`,!0,i),r||O(``,!0))]}},ra=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError($(56,i)),t.children.length&&(n.onError($(57,i)),t.children.length=0),{props:[D(O(`textContent`,!0),r?Z(r,n)>0?r:A(n.helperString(Te),[r],i):O(``,!0))]}},ia=(e,t,n)=>{let r=Ti(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError($(59,e.arg.loc));let{tag:i}=t,a=n.isCustomElement(i);if(i===`input`||i===`textarea`||i===`select`||a){let o=Vi,s=!1;if(i===`input`||a){let r=an(t,`type`);if(r){if(r.type===7)o=Ui;else if(r.value)switch(r.value.content){case`radio`:o=zi;break;case`checkbox`:o=Bi;break;case`file`:s=!0,n.onError($(60,e.loc));break;default:break}}else sn(t)&&(o=Ui)}else i===`select`&&(o=Hi);s||(r.needRuntime=n.helper(o))}else n.onError($(58,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},aa=t(`passive,once,capture`),oa=t(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),sa=t(`left,right`),ca=t(`onkeyup,onkeydown,onkeypress`),la=(e,t,n,r)=>{let i=[],a=[],o=[];for(let s=0;s<t.length;s++){let l=t[s].content;if(l===`native`&&n&&bt(`COMPILER_V_ON_NATIVE`,n,r))o.push(l);else if(aa(l))o.push(l);else{let t=c(e)?e:I(e)?e.content:null;sa(l)?t?ca(t.toLowerCase())?i.push(l):a.push(l):(i.push(l),a.push(l)):oa(l)?a.push(l):i.push(l)}}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},ua=(e,t)=>I(e)&&e.content.toLowerCase()===`onclick`?O(t,!0):e.type===4?e:k([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),da=(e,t,n)=>yi(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=la(i,r,n,e.loc);if(s.includes(`right`)&&(i=ua(i,`onContextmenu`)),s.includes(`middle`)&&(i=ua(i,`onMouseup`)),s.length&&(a=A(n.helper(Wi),[a,JSON.stringify(s)])),o.length&&(!I(i)||ca(i.content.toLowerCase()))&&(a=A(n.helper(Gi),[a,JSON.stringify(o)])),c.length){let e=c.map(_).join(``);i=I(i)?O(`${i.content}${e}`,!0):k([`(`,i,`) + "${e}"`])}return{props:[D(i,a)]}}),fa=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError($(62,i)),{props:[],needRuntime:n.helper(Ki)}};function pa(e,t,n=ma){return()=>{if(!e.children.length)return;n(e)&&t($(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}));let r=e.children[0];if(r.type===1)for(let t of r.props)t.type===7&&t.name===`show`&&e.props.push({type:6,name:`persisted`,nameLoc:e.loc,value:void 0,loc:e.loc})}}function ma(e){let t=e.children=e.children.filter(e=>!Tn(e)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(ma)}let ha=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&t.removeNode()};function ga(e,t){return e===`template`?!0:e in ya?ya[e].has(t):t in ba?ba[t].has(e):!(e in xa&&xa[e].has(t)||t in Sa&&Sa[t].has(e))}let _a=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),va=new Set([]),ya={head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`,`hr`]),table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),script:va,iframe:va,option:va,textarea:va,style:va,title:va},ba={html:va,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},xa={p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},Sa={a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:_a,h2:_a,h3:_a,h4:_a,h5:_a,h6:_a},Ca=[Qi,...[]],wa={cloak:Ri,html:na,text:ra,model:ia,on:da,show:fa};function Ta(e,t={}){return Ii(e,o({},Zi,t,{nodeTransforms:[ha,...Ca,...t.nodeTransforms||[]],directiveTransforms:o({},wa,t.directiveTransforms||{}),transformHoist:null}))}function Ea(e,t={}){return tr(e,o({},Zi,t))}return e.BASE_TRANSITION=ce,e.BindingTypes=Li,e.CAMELIZE=Me,e.CAPITALIZE=Ne,e.CREATE_BLOCK=ue,e.CREATE_COMMENT=me,e.CREATE_ELEMENT_BLOCK=de,e.CREATE_ELEMENT_VNODE=pe,e.CREATE_SLOTS=we,e.CREATE_STATIC=ge,e.CREATE_TEXT=he,e.CREATE_VNODE=fe,e.CompilerDeprecationTypes=gt,e.ConstantTypes=qe,e.DOMDirectiveTransforms=wa,e.DOMErrorCodes=ea,e.DOMErrorMessages=ta,e.DOMNodeTransforms=Ca,e.ElementTypes=Ke,e.ErrorCodes=wt,e.FRAGMENT=w,e.GUARD_REACTIVE_PROPS=Ae,e.IS_MEMO_SAME=He,e.IS_REF=Be,e.KEEP_ALIVE=se,e.MERGE_PROPS=Ee,e.NORMALIZE_CLASS=De,e.NORMALIZE_PROPS=ke,e.NORMALIZE_STYLE=Oe,e.NewlineType=vr,e.NodeTypes=Ge,e.OPEN_BLOCK=le,e.POP_SCOPE_ID=Le,e.PUSH_SCOPE_ID=Ie,e.RENDER_LIST=Se,e.RENDER_SLOT=Ce,e.RESOLVE_COMPONENT=_e,e.RESOLVE_DIRECTIVE=ye,e.RESOLVE_DYNAMIC_COMPONENT=ve,e.RESOLVE_FILTER=be,e.SET_BLOCK_TRACKING=Fe,e.SUSPENSE=oe,e.TELEPORT=ae,e.TO_DISPLAY_STRING=Te,e.TO_HANDLERS=je,e.TO_HANDLER_KEY=Pe,e.TRANSITION=qi,e.TRANSITION_GROUP=Ji,e.TS_NODE_TYPES=Rt,e.UNREF=ze,e.V_MODEL_CHECKBOX=Bi,e.V_MODEL_DYNAMIC=Ui,e.V_MODEL_RADIO=zi,e.V_MODEL_SELECT=Hi,e.V_MODEL_TEXT=Vi,e.V_ON_WITH_KEYS=Gi,e.V_ON_WITH_MODIFIERS=Wi,e.V_SHOW=Ki,e.WITH_CTX=Re,e.WITH_DIRECTIVES=xe,e.WITH_MEMO=Ve,e.advancePositionWithClone=tn,e.advancePositionWithMutation=nn,e.assert=rn,e.baseCompile=Ii,e.baseParse=tr,e.buildDirectiveArgs=mi,e.buildProps=di,e.buildSlots=ai,e.checkCompatEnabled=bt,e.compile=Ta,e.convertToBlock=lt,e.createArrayExpression=Xe,e.createAssignmentExpression=it,e.createBlockStatement=tt,e.createCacheExpression=et,e.createCallExpression=A,e.createCompilerError=N,e.createCompoundExpression=k,e.createConditionalExpression=$e,e.createDOMCompilerError=$,e.createExp=$n,e.createForLoopParams=$r,e.createFunctionExpression=Qe,e.createIfStatement=rt,e.createInterpolation=Ze,e.createObjectExpression=E,e.createObjectProperty=D,e.createReturnStatement=ot,e.createRoot=Je,e.createSequenceExpression=at,e.createSimpleExpression=O,e.createStructuralDirectiveTransform=hr,e.createTemplateLiteral=nt,e.createTransformContext=ur,e.createVNodeCall=Ye,e.defaultOnError=St,e.defaultOnWarn=Ct,e.errorMessages=Tt,e.extractIdentifiers=P,e.filterNonCommentChildren=yn,e.findDir=R,e.findProp=an,e.forAliasRE=Sn,e.generate=br,e.generateCodeFrame=y,e.getBaseTransformPreset=Fi,e.getConstantType=Z,e.getMemoedVNodeCall=vn,e.getSelfName=lr,e.getVNodeBlockHelper=ct,e.getVNodeHelper=st,e.hasDynamicKeyVBind=sn,e.hasScopeRef=z,e.hasSingleChild=bn,e.helperNameMap=Ue,e.injectProp=hn,e.isAllWhitespace=Cn,e.isCommentOrWhitespace=Tn,e.isConstantNode=Bt,e.isCoreComponent=Vt,e.isFnExpression=en,e.isFnExpressionBrowser=Qt,e.isFnExpressionNode=$t,e.isFunctionType=Ft,e.isInDestructureAssignment=Ot,e.isInNewExpression=kt,e.isKeyboardEvent=ca,e.isLiteralWhitelisted=Br,e.isMemberExpression=Xt,e.isMemberExpressionBrowser=Jt,e.isMemberExpressionNode=Yt,e.isReferencedIdentifier=Dt,e.isSimpleIdentifier=Ut,e.isSingleIfBlock=xn,e.isSlotOutlet=fn,e.isStaticArgOf=on,e.isStaticExp=I,e.isStaticNode=F,e.isStaticProperty=It,e.isStaticPropertyKey=Lt,e.isTemplateNode=dn,e.isText=cn,e.isVPre=ln,e.isVSlot=un,e.isValidHTMLNesting=ga,e.isWhitespaceText=wn,e.locStub=T,e.noopDirectiveTransform=Ri,e.parse=Ea,e.parserOptions=Zi,e.postTransformTransition=pa,e.processExpression=Hr,e.processFor=Zr,e.processIf=Gr,e.processSlotOutlet=vi,e.registerRuntimeHelpers=We,e.resolveComponentType=ui,e.resolveModifiers=la,e.stringifyExpression=Ur,e.toValidAssetId=_n,e.trackSlotScopes=ni,e.trackVForSlotScopes=ri,e.transform=dr,e.transformBind=bi,e.transformElement=li,e.transformExpression=Vr,e.transformModel=Ti,e.transformOn=yi,e.transformStyle=Qi,e.transformVBindShorthand=Pi,e.traverseNode=mr,e.unwrapTSNode=zt,e.validFirstIdentCharRE=Wt,e.walkBlockDeclarations=jt,e.walkFunctionParams=At,e.walkIdentifiers=Et,e.warnDeprecation=xt,e})({});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vue/compiler-dom",
|
|
3
|
+
"version": "3.6.0-alpha.2",
|
|
4
|
+
"description": "@vue/compiler-dom",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"module": "dist/compiler-dom.esm-bundler.js",
|
|
7
|
+
"types": "dist/compiler-dom.d.ts",
|
|
8
|
+
"unpkg": "dist/compiler-dom.global.js",
|
|
9
|
+
"jsdelivr": "dist/compiler-dom.global.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/compiler-dom.d.ts",
|
|
17
|
+
"node": {
|
|
18
|
+
"production": "./dist/compiler-dom.cjs.prod.js",
|
|
19
|
+
"development": "./dist/compiler-dom.cjs.js",
|
|
20
|
+
"default": "./index.js"
|
|
21
|
+
},
|
|
22
|
+
"module": "./dist/compiler-dom.esm-bundler.js",
|
|
23
|
+
"import": "./dist/compiler-dom.esm-bundler.js",
|
|
24
|
+
"require": "./index.js"
|
|
25
|
+
},
|
|
26
|
+
"./*": "./*"
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"buildOptions": {
|
|
30
|
+
"name": "VueCompilerDOM",
|
|
31
|
+
"compat": true,
|
|
32
|
+
"formats": [
|
|
33
|
+
"esm-bundler",
|
|
34
|
+
"esm-browser",
|
|
35
|
+
"cjs",
|
|
36
|
+
"global"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/vuejs/core.git",
|
|
42
|
+
"directory": "packages/compiler-dom"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"vue"
|
|
46
|
+
],
|
|
47
|
+
"author": "Evan You",
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/vuejs/core/issues"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@vue/shared": "workspace:*",
|
|
55
|
+
"@vue/compiler-core": "workspace:*"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018-present, Yuxi (Evan) You
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# @vue/compiler-sfc
|
|
2
|
+
|
|
3
|
+
> Lower level utilities for compiling Vue Single File Components
|
|
4
|
+
|
|
5
|
+
**Note: as of 3.2.13+, this package is included as a dependency of the main `vue` package and can be accessed as `vue/compiler-sfc`. This means you no longer need to explicitly install this package and ensure its version match that of `vue`'s. Just use the main `vue/compiler-sfc` deep import instead.**
|
|
6
|
+
|
|
7
|
+
This package contains lower level utilities that you can use if you are writing a plugin / transform for a bundler or module system that compiles Vue Single File Components (SFCs) into JavaScript. It is used in [vue-loader](https://github.com/vuejs/vue-loader) and [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue).
|
|
8
|
+
|
|
9
|
+
## API
|
|
10
|
+
|
|
11
|
+
The API is intentionally low-level due to the various considerations when integrating Vue SFCs in a build system:
|
|
12
|
+
|
|
13
|
+
- Separate hot-module replacement (HMR) for script, template and styles
|
|
14
|
+
|
|
15
|
+
- template updates should not reset component state
|
|
16
|
+
- style updates should be performed without component re-render
|
|
17
|
+
|
|
18
|
+
- Leveraging the tool's plugin system for pre-processor handling. e.g. `<style lang="scss">` should be processed by the corresponding webpack loader.
|
|
19
|
+
|
|
20
|
+
- In some cases, transformers of each block in an SFC do not share the same execution context. For example, when used with `thread-loader` or other parallelized configurations, the template sub-loader in `vue-loader` may not have access to the full SFC and its descriptor.
|
|
21
|
+
|
|
22
|
+
The general idea is to generate a facade module that imports the individual blocks of the component. The trick is the module imports itself with different query strings so that the build system can handle each request as "virtual" modules:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
+--------------------+
|
|
26
|
+
| |
|
|
27
|
+
| script transform |
|
|
28
|
+
+----->+ |
|
|
29
|
+
| +--------------------+
|
|
30
|
+
|
|
|
31
|
+
+--------------------+ | +--------------------+
|
|
32
|
+
| | | | |
|
|
33
|
+
| facade transform +----------->+ template transform |
|
|
34
|
+
| | | | |
|
|
35
|
+
+--------------------+ | +--------------------+
|
|
36
|
+
|
|
|
37
|
+
| +--------------------+
|
|
38
|
+
+----->+ |
|
|
39
|
+
| style transform |
|
|
40
|
+
| |
|
|
41
|
+
+--------------------+
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Where the facade module looks like this:
|
|
45
|
+
|
|
46
|
+
```js
|
|
47
|
+
// main script
|
|
48
|
+
import script from '/project/foo.vue?vue&type=script'
|
|
49
|
+
// template compiled to render function
|
|
50
|
+
import { render } from '/project/foo.vue?vue&type=template&id=xxxxxx'
|
|
51
|
+
// css
|
|
52
|
+
import '/project/foo.vue?vue&type=style&index=0&id=xxxxxx'
|
|
53
|
+
|
|
54
|
+
// attach render function to script
|
|
55
|
+
script.render = render
|
|
56
|
+
|
|
57
|
+
// attach additional metadata
|
|
58
|
+
// some of these should be dev only
|
|
59
|
+
script.__file = 'example.vue'
|
|
60
|
+
script.__scopeId = 'xxxxxx'
|
|
61
|
+
|
|
62
|
+
// additional tooling-specific HMR handling code
|
|
63
|
+
// using __VUE_HMR_API__ global
|
|
64
|
+
|
|
65
|
+
export default script
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### High Level Workflow
|
|
69
|
+
|
|
70
|
+
1. In facade transform, parse the source into descriptor with the `parse` API and generate the above facade module code based on the descriptor;
|
|
71
|
+
|
|
72
|
+
2. In script transform, use `compileScript` to process the script. This handles features like `<script setup>` and CSS variable injection. Alternatively, this can be done directly in the facade module (with the code inlined instead of imported), but it will require rewriting `export default` to a temp variable (a `rewriteDefault` convenience API is provided for this purpose) so additional options can be attached to the exported object.
|
|
73
|
+
|
|
74
|
+
3. In template transform, use `compileTemplate` to compile the raw template into render function code.
|
|
75
|
+
|
|
76
|
+
4. In style transform, use `compileStyle` to compile raw CSS to handle `<style scoped>`, `<style module>` and CSS variable injection.
|
|
77
|
+
|
|
78
|
+
Options needed for these APIs can be passed via the query string.
|
|
79
|
+
|
|
80
|
+
For detailed API references and options, check out the source type definitions. For actual usage of these APIs, check out [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue) or [vue-loader](https://github.com/vuejs/vue-loader/tree/next).
|