ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js
2023-09-06 09:51:55 +08:00

2 lines
57 KiB
JavaScript

function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={},n=()=>{},o=()=>!1,r=/^on[^a-z]/,s=e=>r.test(e),i=Object.assign,c=Array.isArray,l=e=>"string"==typeof e,a=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,u=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),f=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),d=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},h=/-(\w)/g,m=d((e=>e.replace(h,((e,t)=>t?t.toUpperCase():"")))),g=/\B([A-Z])/g,y=d((e=>e.replace(g,"-$1").toLowerCase())),v=d((e=>e.charAt(0).toUpperCase()+e.slice(1))),b=d((e=>e?`on${v(e)}`:""));function S(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const x=/;(?![^(]*\))/g,k=/:([^]+)/,N=/\/\*[^]*?\*\//g;const E=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),T=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),_=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function w(e){throw e}function O(e){}function $(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),j=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Z=Symbol(""),Y=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[C]:"Fragment",[M]:"Teleport",[I]:"Suspense",[P]:"KeepAlive",[R]:"BaseTransition",[V]:"openBlock",[L]:"createBlock",[A]:"createElementBlock",[B]:"createVNode",[j]:"createElementVNode",[F]:"createCommentVNode",[D]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[J]:"resolveDynamicComponent",[U]:"resolveDirective",[z]:"resolveFilter",[G]:"withDirectives",[K]:"renderList",[q]:"renderSlot",[Z]:"createSlots",[Y]:"toDisplayString",[Q]:"mergeProps",[X]:"normalizeClass",[ee]:"normalizeStyle",[te]:"normalizeProps",[ne]:"guardReactiveProps",[oe]:"toHandlers",[re]:"camelize",[se]:"capitalize",[ie]:"toHandlerKey",[ce]:"setBlockTracking",[le]:"pushScopeId",[ae]:"popScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function be(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(V),e.helper(Ae(e.inSSR,a))):e.helper(Le(e.inSSR,a)),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Se(e,t=ye){return{type:17,loc:t,elements:e}}function xe(e,t=ye){return{type:15,loc:t,properties:e}}function ke(e,t){return{type:16,loc:ye,key:l(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ee(e,t){return{type:5,loc:t,content:l(e)?Ne(e,!1,t):e}}function Te(e,t=ye){return{type:8,loc:t,children:e}}function _e(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function we(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function $e(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ce(e){return{type:21,body:e,loc:ye}}function Me(e){return{type:22,elements:e,loc:ye}}function Ie(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}}function Pe(e,t){return{type:24,left:e,right:t,loc:ye}}function Re(e){return{type:25,expressions:e,loc:ye}}function Ve(e){return{type:26,returns:e,loc:ye}}function Le(e,t){return e||t?B:j}function Ae(e,t){return e||t?L:A}function Be(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Le(o,e.isComponent)),t(V),t(Ae(o,e.isComponent)))}const je=e=>4===e.type&&e.isStatic,Fe=(e,t)=>e===t||e===y(t);function De(e){return Fe(e,"Teleport")?M:Fe(e,"Suspense")?I:Fe(e,"KeepAlive")?P:Fe(e,"BaseTransition")?R:void 0}const He=/^\d|[^\$\w]/,We=e=>!He.test(e),Je=/[A-Za-z_$\xA0-\uFFFF]/,Ue=/[\.\?\w$\xA0-\uFFFF]/,ze=/\s+[.[]\s*|\s*[.[]\s+/g,Ge=e=>{e=e.trim().replace(ze,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Je:Ue).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},Ke=n,qe=Ge;function Ze(e,t,n){const o={source:e.source.slice(t,t+n),start:Ye(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ye(e.start,e.source,t+n)),o}function Ye(e,t,n=t.length){return Qe(i({},e),t,n)}function Qe(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Xe(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function et(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(l(t)?r.name===t:t.test(r.name)))return r}}function tt(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&nt(s.arg,t))return s}}function nt(e,t){return!(!e||!je(e)||e.content!==t)}function ot(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function rt(e){return 5===e.type||2===e.type}function st(e){return 7===e.type&&"slot"===e.name}function it(e){return 1===e.type&&3===e.tagType}function ct(e){return 1===e.type&&2===e.tagType}const lt=new Set([te,ne]);function at(e,t=[]){if(e&&!l(e)&&14===e.type){const n=e.callee;if(!l(n)&&lt.has(n))return at(e.arguments[0],t.concat(e))}return[e,t]}function pt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!l(s)&&14===s.type){const e=at(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||l(s))o=xe([t]);else if(14===s.type){const e=s.arguments[0];l(e)||15!==e.type?s.callee===oe?o=_e(n.helper(Q),[xe([t]),s]):s.arguments.unshift(xe([t])):ut(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(ut(t,s)||s.properties.unshift(t),o=s):(o=_e(n.helper(Q),[xe([t]),s]),r&&r.callee===ne&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function ut(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function ft(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function dt(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(dt(o.arg,t)||dt(o.exp,t)))return!0}return e.children.some((e=>dt(e,t)));case 11:return!!dt(e.source,t)||e.children.some((e=>dt(e,t)));case 9:return e.branches.some((e=>dt(e,t)));case 10:return!!dt(e.condition,t)||e.children.some((e=>dt(e,t)));case 4:return!e.isStatic&&We(e.content)&&!!t[e.content];case 8:return e.children.some((e=>p(e)&&dt(e,t)));case 5:case 12:return dt(e.content,t);default:return!1}}function ht(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}const mt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function gt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function yt(e,t){const n=gt("MODE",t),o=gt(e,t);return 3===n?!0===o:!1!==o}function vt(e,t,n,...o){return yt(e,t)}function bt(e,t,n,...o){if("suppress-warning"===gt(e,t))return;const{message:r,link:s}=mt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const St=/&(gt|lt|amp|apos|quot);/g,xt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},kt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:o,isPreTag:o,isCustomElement:o,decodeEntities:e=>e.replace(St,((e,t)=>xt[t])),onError:w,onWarn:O,comments:!1};function Nt(e,t={}){const n=function(e,t){const n=i({},kt);let o;for(o in t)n[o]=void 0===t[o]?kt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Bt(n);return ve(Et(n,0,[]),jt(n,o))}function Et(e,t,n){const o=Ft(n),r=o?o.ns:0,s=[];for(;!zt(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&Dt(i,e.options.delimiters[0]))l=Vt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=Dt(i,"\x3c!--")?wt(e):Dt(i,"<!DOCTYPE")?Ot(e):Dt(i,"<![CDATA[")&&0!==r?_t(e,n):Ot(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ht(e,3);continue}if(/[a-z]/i.test(i[2])){It(e,Ct.End,o);continue}Ut(e,12,2),l=Ot(e)}else/[a-z]/i.test(i[1])?(l=$t(e,n),yt("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&Mt(e.name)))&&(l=l.children)):"?"===i[1]&&(Ut(e,21,1),l=Ot(e));if(l||(l=Lt(e,t)),c(l))for(let e=0;e<l.length;e++)Tt(s,l[e]);else Tt(s,l)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function Tt(e,t){if(2===t.type){const n=Ft(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function _t(e,t){Ht(e,9);const n=Et(e,3,t);return 0===e.source.length||Ht(e,3),n}function wt(e){const t=Bt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Ht(e,s-r+1),r=s+1;Ht(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ht(e,e.source.length);return{type:3,content:n,loc:jt(e,t)}}function Ot(e){const t=Bt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ht(e,e.source.length)):(o=e.source.slice(n,r),Ht(e,r+1)),{type:3,content:o,loc:jt(e,t)}}function $t(e,t){const n=e.inPre,o=e.inVPre,r=Ft(t),s=It(e,Ct.Start,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=Et(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&vt("COMPILER_INLINE_TEMPLATE",e)){const n=jt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Gt(e.source,s.tag))It(e,Ct.End,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Dt(e.loc.source,"\x3c!--")}return s.loc=jt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}var Ct=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(Ct||{});const Mt=e("if,else,else-if,for,slot");function It(e,t,n){const o=Bt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],c=e.options.getNamespace(s,n);Ht(e,r[0].length),Wt(e);const l=Bt(e),a=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let p=Pt(e,t);0===t&&!e.inVPre&&p.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,i(e,l),e.source=a,p=Pt(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=Dt(e.source,"/>"),Ht(e,u?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?p.some((e=>7===e.type&&Mt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||De(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(vt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&nt(e.arg,"is")&&vt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,p,e)&&(f=1)),{type:1,ns:c,tag:s,tagType:f,props:p,isSelfClosing:u,children:[],loc:jt(e,o),codegenNode:void 0}}function Pt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Dt(e.source,">")&&!Dt(e.source,"/>");){if(Dt(e.source,"/")){Ht(e,1),Wt(e);continue}const r=Rt(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Wt(e)}return n}function Rt(e,t){var n;const o=Bt(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r),t.add(r);{const t=/["'<]/g;let n;for(;n=t.exec(r);)Ut(e,17,n.index)}let s;Ht(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Wt(e),Ht(e,1),Wt(e),s=function(e){const t=Bt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ht(e,1);const t=e.source.indexOf(o);-1===t?n=At(e,e.source.length,4):(n=At(e,t,4),Ht(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Ut(e,18,r.index);n=At(e,t[0].length,4)}return{content:n,isQuoted:r,loc:jt(e,t)}}(e));const i=jt(e,o);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let c,l=Dt(r,"."),a=t[1]||(l||Dt(r,":")?"bind":Dt(r,"@")?"on":"slot");if(t[2]){const s="slot"===a,i=r.lastIndexOf(t[2],r.length-((null==(n=t[3])?void 0:n.length)||0)),l=jt(e,Jt(e,o,i),Jt(e,o,i+t[2].length+(s&&t[3]||"").length));let p=t[2],u=!0;p.startsWith("[")?(u=!1,p.endsWith("]")?p=p.slice(1,p.length-1):(Ut(e,27),p=p.slice(1))):s&&(p+=t[3]||""),c={type:4,content:p,isStatic:u,constType:u?3:0,loc:l}}if(s&&s.isQuoted){const e=s.loc;e.start.offset++,e.start.column++,e.end=Ye(e.start,s.content),e.source=e.source.slice(1,-1)}const p=t[3]?t[3].slice(1).split("."):[];return l&&p.push("prop"),"bind"===a&&c&&p.includes("sync")&&vt("COMPILER_V_BIND_SYNC",e,0)&&(a="model",p.splice(p.indexOf("sync"),1)),{type:7,name:a,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:c,modifiers:p,loc:i}}return!e.inVPre&&Dt(r,"v-"),{type:6,name:r,value:s&&{type:2,content:s.content,loc:s.loc},loc:i}}function Vt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Bt(e);Ht(e,n.length);const i=Bt(e),c=Bt(e),l=r-n.length,a=e.source.slice(0,l),p=At(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Qe(i,a,f);return Qe(c,a,l-(p.length-u.length-f)),Ht(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:jt(e,i,c)},loc:jt(e,s)}}function Lt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Bt(e);return{type:2,content:At(e,o,t),loc:jt(e,r)}}function At(e,t,n){const o=e.source.slice(0,t);return Ht(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Bt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function jt(e,t,n){return{start:t,end:n=n||Bt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ft(e){return e[e.length-1]}function Dt(e,t){return e.startsWith(t)}function Ht(e,t){const{source:n}=e;Qe(e,n,t),e.source=n.slice(t)}function Wt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ht(e,t[0].length)}function Jt(e,t,n){return Ye(t,e.originalSource.slice(t.offset,n),n)}function Ut(e,t,n,o=Bt(e)){n&&(o.offset+=n,o.column+=n),e.options.onError($(t,{start:o,end:o,source:""}))}function zt(e,t,n){const o=e.source;switch(t){case 0:if(Dt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Gt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ft(n);if(e&&Gt(o,e.tag))return!0;break}case 3:if(Dt(o,"]]>"))return!0}return!o}function Gt(e,t){return Dt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Kt(e,t){Zt(e,t,qt(e,e.children[0]))}function qt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ct(t)}function Zt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Yt(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=nn(n);if((!o||512===o||1===o)&&en(e,t)>=2){const o=tn(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Zt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Zt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&c(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function Yt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(nn(r))return n.set(e,0),0;{let o=3;const s=en(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Yt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Yt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(V),t.removeHelper(Ae(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Le(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Yt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(l(o)||a(o))continue;const r=Yt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Qt=new Set([X,ee,te,ne]);function Xt(e,t){if(14===e.type&&!l(e.callee)&&Qt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Yt(n,t);if(14===n.type)return Xt(n,t)}return 0}function en(e,t){let n=3;const o=tn(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Yt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Yt(s,t):14===s.type?Xt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function tn(e){const t=e.codegenNode;if(13===t.type)return t.props}function nn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function on(e,{filename:o="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:i=!1,nodeTransforms:c=[],directiveTransforms:a={},transformHoist:p=null,isBuiltInComponent:u=n,isCustomElement:f=n,expressionPlugins:d=[],scopeId:h=null,slotted:g=!0,ssr:y=!1,inSSR:b=!1,ssrCssVars:S="",bindingMetadata:x=t,inline:k=!1,isTS:N=!1,onError:E=w,onWarn:T=O,compatConfig:_}){const $=o.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:$&&v(m($[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:i,nodeTransforms:c,directiveTransforms:a,transformHoist:p,isBuiltInComponent:u,isCustomElement:f,expressionPlugins:d,scopeId:h,slotted:g,ssr:y,inSSR:b,ssrCssVars:S,bindingMetadata:x,inline:k,isTS:N,onError:E,onWarn:T,compatConfig:_,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${me[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){l(e)&&(e=Ne(e)),C.hoists.push(e);const t=Ne(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>$e(C.cached++,e,t)};return C.filters=new Set,C}function rn(e,t){const n=on(e,t);sn(e,n),t.hoistStatic&&Kt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(qt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Be(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=be(t,n(C),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function sn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(c(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(F);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)sn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];l(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,sn(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function cn(e,t){const n=l(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(st))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const ln="/*#__PURE__*/",an=e=>`${me[e]}: _${me[e]}`;function pn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}function un(e,t={}){const n=pn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,f=!s&&"module"!==o,d=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[B,j,F,D,H].filter((e=>i.includes(e))).map(an).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),mn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,d);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(an).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(fn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(fn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),fn(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?mn(e.codegenNode,n):r("null"),f&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function fn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?z:"component"===t?W:U);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${ft(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function dn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),hn(e,t,n),n&&t.deindent(),t.push("]")}function hn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const a=e[i];l(a)?r(a):c(a)?dn(a,t):mn(a,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function mn(e,t){if(l(e))t.push(e);else if(a(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:mn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:gn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(Y)}(`),mn(e.content,t),n(")")}(e,t);break;case 8:yn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(F)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(G)+"(");u&&n(`(${o(V)}(${f?"true":""}), `);r&&n(ln);const h=u?Ae(t.inSSR,d):Le(t.inSSR,d);n(o(h)+"(",e),hn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),mn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=l(e.callee)?e.callee:o(e.callee);r&&n(ln);n(s+"(",e),hn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];vn(e,t),n(": "),mn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){dn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:a,isSlot:p}=e;p&&n(`_${me[pe]}(`);n("(",e),c(s)?hn(s,t):s&&mn(s,t);n(") => "),(a||l)&&(n("{"),o());i?(a&&n("return "),c(i)?dn(i,t):mn(i,t)):l&&mn(l,t);(a||l)&&(r(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!We(n.content);e&&i("("),gn(n,t),e&&i(")")}else i("("),mn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),mn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;mn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(ce)}(-1),`),i());n(`_cache[${e.index}] = `),mn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ce)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:hn(e.body,t,!0,!1)}}function gn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function yn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];l(o)?t.push(o):mn(o,t)}}function vn(e,t){const{push:n}=t;if(8===e.type)n("["),yn(e,t),n("]");else if(e.isStatic){n(We(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function bn(e,t,n=!1,o=[],r=Object.create(null)){}function Sn(e,t,n){return!1}function xn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function kn(e,t){for(const n of e.params)for(const e of En(n))t(e)}function Nn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of En(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function En(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)En("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&En(e,t)}));break;case"RestElement":En(e.argument,t);break;case"AssignmentPattern":En(e.left,t)}return t}const Tn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),_n=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,wn=(e,t)=>_n(t)&&t.key===e,On=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],$n=(e,t)=>{if(5===e.type)e.content=Cn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Cn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Cn(n,t))}}};function Cn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}function Mn(e){return l(e)?e:4===e.type?e.content:e.children.map(Mn).join("")}const In=cn(/^(if|else|else-if)$/,((e,t,n)=>Pn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Vn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=Vn(t,i+e.branches.length-1,n)}}}))));function Pn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError($(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=Rn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError($(30,e.loc)),n.removeNode();const r=Rn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);sn(r,n),s&&s(),n.currentNode=null}else n.onError($(30,e.loc));break}n.removeNode(i)}}}}function Rn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!et(e,"for")?e.children:[e],userKey:tt(e,"key"),isTemplateIf:n}}function Vn(e,t,n){return e.condition?Oe(e.condition,Ln(e,t,n),_e(n.helper(F),['""',"true"])):Ln(e,t,n)}function Ln(e,t,n){const{helper:o}=n,r=ke("key",Ne(`${t}`,!1,ye,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return pt(e,r,n),e}{let t=64;return be(n,o(C),xe([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ht(e);return 13===t.type&&Be(t,n),pt(t,r,n),e}}const An=cn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Bn(e,t,n,(t=>{const s=_e(o(K),[t.source]),i=it(e),c=et(e,"memo"),l=tt(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?ke("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=be(n,o(C),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=ct(e)?e:i&&1===e.children.length&&ct(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&pt(l,p,n)):d?l=be(n,o(C),p?xe([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&pt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(V),r(Ae(n.inSSR,l.isComponent))):r(Le(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(V),o(Ae(n.inSSR,l.isComponent))):o(Le(n.inSSR,l.isComponent))),c){const e=we(Jn(t.parseResult,[Ne("_cached")]));e.body=Ce([Te(["const _memo = (",c.exp,")"]),Te(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Te(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(we(Jn(t.parseResult),l,!0))}}))}));function Bn(e,t,n,o){if(!t.exp)return void n.onError($(31,t.loc));const r=Hn(t.exp);if(!r)return void n.onError($(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:it(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const jn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Fn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Dn=/^\(|\)$/g;function Hn(e,t){const n=e.loc,o=e.content,r=o.match(jn);if(!r)return;const[,s,i]=r,c={source:Wn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Dn,"").trim();const a=s.indexOf(l),p=l.match(Fn);if(p){l=l.replace(Fn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Wn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Wn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Wn(n,l,a)),c}function Wn(e,t,n){return Ne(t,!1,Ze(e,n,t.length))}function Jn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const Un=Ne("undefined",!1),zn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=et(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Gn=(e,t)=>{let n;if(it(e)&&e.props.some(st)&&(n=et(e,"for"))){const e=n.parseResult=Hn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},Kn=(e,t,n)=>we(e,t,!1,!0,t.length?t[0].loc:n);function qn(e,t,n=Kn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=et(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!je(e)&&(c=!0),s.push(ke(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!it(e)||!(r=et(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError($(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:b}=r;let S;je(y)?S=y?y.content:"default":c=!0;const x=n(v,h,m);let k,N,E;if(k=et(e,"if"))c=!0,i.push(Oe(k.exp,Zn(y,x,d++),Un));else if(N=et(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&it(e)&&et(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Oe(N.exp,Zn(y,x,d++),Un):Zn(y,x,d++)}else t.onError($(30,N.loc))}else if(E=et(e,"for")){c=!0;const e=E.parseResult||Hn(E.exp);e?i.push(_e(t.helper(K),[e.source,we(Jn(e),Zn(y,x),!0)])):t.onError($(32,E.loc))}else{if(S){if(f.has(S)){t.onError($(38,b));continue}f.add(S),"default"===S&&(p=!0)}s.push(ke(y,x))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),ke("default",s)};a?u.length&&u.some((e=>Qn(e)))&&(p?t.onError($(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:Yn(e.children)?3:1;let m=xe(s.concat(ke("_",Ne(h+"",!1))),r);return i.length&&(m=_e(t.helper(Z),[m,Se(i)])),{slots:m,hasDynamicSlots:c}}function Zn(e,t,n){const o=[ke("name",e),ke("fn",t)];return null!=n&&o.push(ke("key",Ne(String(n),!0))),xe(o)}function Yn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Yn(n.children))return!0;break;case 9:if(Yn(n.branches))return!0;break;case 10:case 11:if(Yn(n.children))return!0}}return!1}function Qn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Qn(e.content))}const Xn=new WeakMap,eo=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?to(e,t):`"${n}"`;const i=p(s)&&s.callee===J;let c,l,a,u,f,d,h=0,m=i||s===M||s===I||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=no(e,t,void 0,r,i);c=n.props,h=n.patchFlag,f=n.dynamicPropNames;const o=n.directives;d=o&&o.length?Se(o.map((e=>so(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===P&&(m=!0,h|=1024);if(r&&s!==M&&s!==P){const{slots:n,hasDynamicSlots:o}=qn(e,t);l=n,o&&(h|=1024)}else if(1===e.children.length&&s!==M){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Yt(n,t)&&(h|=1),l=r||2===o?n:e.children}else l=e.children}0!==h&&(a=String(h),f&&f.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(f))),e.codegenNode=be(t,s,c,l,a,u,d,!!m,!1,r,e.loc)};function to(e,t,n=!1){let{tag:o}=e;const r=io(o),s=tt(e,"is");if(s)if(r||yt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return _e(t.helper(J),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&et(e,"is");if(i&&i.exp)return _e(t.helper(J),[i.exp]);const c=De(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),ft(o,"component"))}function no(e,t,n=e.props,o,r,i=!1){const{tag:c,loc:l,children:p}=e;let d=[];const h=[],m=[],g=p.length>0;let y=!1,v=0,b=!1,S=!1,x=!1,k=!1,N=!1,E=!1;const T=[],_=e=>{d.length&&(h.push(xe(oo(d),l)),d=[]),e&&h.push(e)},w=({key:e,value:n})=>{if(je(e)){const i=e.content,c=s(i);if(!c||o&&!r||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||u(i)||(k=!0),c&&u(i)&&(E=!0),20===n.type||(4===n.type||8===n.type)&&Yt(n,t)>0)return;"ref"===i?b=!0:"class"===i?S=!0:"style"===i?x=!0:"key"===i||T.includes(i)||T.push(i),!o||"class"!==i&&"style"!==i||T.includes(i)||T.push(i)}else N=!0};for(let s=0;s<n.length;s++){const r=n[s];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(b=!0,t.scopes.vFor>0&&d.push(ke(Ne("ref_for",!0),Ne("true")))),"is"===n&&(io(c)||o&&o.content.startsWith("vue:")||yt("COMPILER_IS_ON_ELEMENT",t)))continue;d.push(ke(Ne(n,!0,Ze(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:s,exp:p,loc:u}=r,v="bind"===n,b="on"===n;if("slot"===n){o||t.onError($(40,u));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&nt(s,"is")&&(io(c)||yt("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&i)continue;if((v&&nt(s,"key")||b&&g&&nt(s,"vue:before-update"))&&(y=!0),v&&nt(s,"ref")&&t.scopes.vFor>0&&d.push(ke(Ne("ref_for",!0),Ne("true"))),!s&&(v||b)){if(N=!0,p)if(v){if(_(),yt("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(p);continue}h.push(p)}else _({type:14,loc:u,callee:t.helper(oe),arguments:o?[p]:[p,"true"]});else t.onError($(v?34:35,u));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:o}=S(r,e,t);!i&&n.forEach(w),b&&s&&!je(s)?_(xe(n,l)):d.push(...n),o&&(m.push(r),a(o)&&Xn.set(r,o))}else f(n)||(m.push(r),g&&(y=!0))}}let O;if(h.length?(_(),O=h.length>1?_e(t.helper(Q),h,l):h[0]):d.length&&(O=xe(oo(d),l)),N?v|=16:(S&&!o&&(v|=2),x&&!o&&(v|=4),T.length&&(v|=8),k&&(v|=32)),y||0!==v&&32!==v||!(b||E||m.length>0)||(v|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<O.properties.length;t++){const r=O.properties[t].key;je(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=O.properties[e],s=O.properties[n];o?O=_e(t.helper(te),[O]):(r&&!je(r.value)&&(r.value=_e(t.helper(X),[r.value])),s&&(x||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=_e(t.helper(ee),[s.value])));break;case 14:break;default:O=_e(t.helper(te),[_e(t.helper(ne),[O])])}return{props:O,directives:m,patchFlag:v,dynamicPropNames:T,shouldUseBlock:y}}function oo(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,c=t.get(i);c?("style"===i||"class"===i||s(i))&&ro(c,r):(t.set(i,r),n.push(r))}return n}function ro(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function so(e,t){const n=[],o=Xn.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(ft(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ne("true",!1,r);n.push(xe(e.modifiers.map((e=>ke(e,t))),r))}return Se(n,e.loc)}function io(e){return"component"===e||"Component"===e}const co=(e,t)=>{if(ct(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=lo(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=we([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(q),i,o)}};function lo(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=m(t.name),r.push(t))):"bind"===t.name&&nt(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&je(t.arg)&&(t.arg.content=m(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=no(e,t,r,!1,!1);n=o,s.length&&t.onError($(36,s[0].loc))}return{slotName:o,slotProps:n}}const ao=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,po=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Ne(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?b(m(e)):`on:${e}`,!0,i.loc)}else c=Te([`${n.helperString(ie)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ie)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=qe(l.content),t=!(e||ao.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ke(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},uo=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?m(i.content):`${n.helperString(re)}(${i.content})`:(i.children.unshift(`${n.helperString(re)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&fo(i,"."),r.includes("attr")&&fo(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[ke(i,Ne("",!0,s))]}:{props:[ke(i,o)]}},fo=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ho=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(rt(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!rt(s)){o=void 0;break}o||(o=n[e]=Te([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(rt(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Yt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(D),r)}}}}},mo=new WeakSet,go=(e,t)=>{if(1===e.type&&et(e,"once",!0)){if(mo.has(e)||t.inVOnce||t.inSSR)return;return mo.add(e),t.inVOnce=!0,t.helper(ce),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},yo=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError($(41,e.loc)),vo();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return vo();if(!i.trim()||!qe(i))return n.onError($(42,o.loc)),vo();const l=r||Ne("modelValue",!0),a=r?je(r)?`onUpdate:${m(r.content)}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=Te([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[ke(l,e.exp),ke(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(We(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?je(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";u.push(ke(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return vo(u)};function vo(e=[]){return{props:e}}const bo=/[\w).+\-_$\]]/,So=(e,t)=>{yt("COMPILER_FILTER",t)&&(5===e.type&&xo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&xo(e.exp,t)})))};function xo(e,t){if(4===e.type)ko(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?ko(o,t):8===o.type?xo(e,t):5===o.type&&xo(o.content,t))}}function ko(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&bo.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=No(i,m[s],t);e.content=i}}function No(e,t,n){n.helper(z);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ft(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ft(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Eo=new WeakSet,To=(e,t)=>{if(1===e.type){const n=et(e,"memo");if(!n||Eo.has(e))return;return Eo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Be(o,t),e.codegenNode=_e(t.helper(de),[n.exp,we(void 0,o),"_cache",String(t.cached++)]))}}};function _o(e){return[[go,In,To,An,So,co,eo,zn,ho],{on:po,bind:uo,model:yo}]}function wo(e,t={}){const n=t.onError||w,o="module"===t.mode;!0===t.prefixIdentifiers?n($(47)):o&&n($(48));t.cacheHandlers&&n($(49)),t.scopeId&&!o&&n($(50));const r=l(e)?Nt(e,t):e,[s,c]=_o();return rn(r,i({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:i({},c,t.directiveTransforms||{})})),un(r,i({},t,{prefixIdentifiers:false}))}const Oo=()=>({props:[]}),$o=Symbol(""),Co=Symbol(""),Mo=Symbol(""),Io=Symbol(""),Po=Symbol(""),Ro=Symbol(""),Vo=Symbol(""),Lo=Symbol(""),Ao=Symbol(""),Bo=Symbol("");let jo;ge({[$o]:"vModelRadio",[Co]:"vModelCheckbox",[Mo]:"vModelText",[Io]:"vModelSelect",[Po]:"vModelDynamic",[Ro]:"withModifiers",[Vo]:"withKeys",[Lo]:"vShow",[Ao]:"Transition",[Bo]:"TransitionGroup"});const Fo=e("style,iframe,script,noscript",!0),Do={isVoidTag:_,isNativeTag:e=>E(e)||T(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return jo||(jo=document.createElement("div")),t?(jo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,jo.children[0].getAttribute("foo")):(jo.innerHTML=e,jo.textContent)},isBuiltInComponent:e=>Fe(e,"Transition")?Ao:Fe(e,"TransitionGroup")?Bo:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Fo(e))return 2}return 0}},Ho=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:Wo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Wo=(e,t)=>{const n=function(e){const t={};return e.replace(N,"").split(x).forEach((e=>{if(e){const n=e.split(k);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function Jo(e,t){return $(e,t)}const Uo=e("passive,once,capture"),zo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Go=e("left,right"),Ko=e("onkeyup,onkeydown,onkeypress",!0),qo=(e,t)=>je(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Zo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yo=[Ho],Qo={cloak:Oo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Jo(53,r)),t.children.length&&(n.onError(Jo(54,r)),t.children.length=0),{props:[ke(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Jo(55,r)),t.children.length&&(n.onError(Jo(56,r)),t.children.length=0),{props:[ke(Ne("textContent",!0),o?Yt(o,n)>0?o:_e(n.helperString(Y),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=yo(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(Jo(58,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=Mo,c=!1;if("input"===r||s){const o=tt(t,"type");if(o){if(7===o.type)i=Po;else if(o.value)switch(o.value.content){case"radio":i=$o;break;case"checkbox":i=Co;break;case"file":c=!0,n.onError(Jo(59,e.loc))}}else ot(t)&&(i=Po)}else"select"===r&&(i=Io);c||(o.needRuntime=n.helper(i))}else n.onError(Jo(57,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>po(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&vt("COMPILER_V_ON_NATIVE",n)||Uo(o)?i.push(o):Go(o)?je(e)?Ko(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):zo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=qo(r,"onContextmenu")),c.includes("middle")&&(r=qo(r,"onMouseup")),c.length&&(s=_e(n.helper(Ro),[s,JSON.stringify(c)])),!i.length||je(r)&&!Ko(r.content)||(s=_e(n.helper(Vo),[s,JSON.stringify(i)])),l.length){const e=l.map(v).join("");r=je(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[ke(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Jo(61,r)),{props:[],needRuntime:n.helper(Lo)}}};function Xo(e,t={}){return wo(e,i({},Do,t,{nodeTransforms:[Zo,...Yo,...t.nodeTransforms||[]],directiveTransforms:i({},Qo,t.directiveTransforms||{}),transformHoist:null}))}function er(e,t={}){return Nt(e,i({},Do,t))}export{R as BASE_TRANSITION,re as CAMELIZE,se as CAPITALIZE,L as CREATE_BLOCK,F as CREATE_COMMENT,A as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,Z as CREATE_SLOTS,H as CREATE_STATIC,D as CREATE_TEXT,B as CREATE_VNODE,Qo as DOMDirectiveTransforms,Yo as DOMNodeTransforms,C as FRAGMENT,ne as GUARD_REACTIVE_PROPS,he as IS_MEMO_SAME,fe as IS_REF,P as KEEP_ALIVE,Q as MERGE_PROPS,X as NORMALIZE_CLASS,te as NORMALIZE_PROPS,ee as NORMALIZE_STYLE,V as OPEN_BLOCK,ae as POP_SCOPE_ID,le as PUSH_SCOPE_ID,K as RENDER_LIST,q as RENDER_SLOT,W as RESOLVE_COMPONENT,U as RESOLVE_DIRECTIVE,J as RESOLVE_DYNAMIC_COMPONENT,z as RESOLVE_FILTER,ce as SET_BLOCK_TRACKING,I as SUSPENSE,M as TELEPORT,Y as TO_DISPLAY_STRING,oe as TO_HANDLERS,ie as TO_HANDLER_KEY,Ao as TRANSITION,Bo as TRANSITION_GROUP,On as TS_NODE_TYPES,ue as UNREF,Co as V_MODEL_CHECKBOX,Po as V_MODEL_DYNAMIC,$o as V_MODEL_RADIO,Io as V_MODEL_SELECT,Mo as V_MODEL_TEXT,Vo as V_ON_WITH_KEYS,Ro as V_ON_WITH_MODIFIERS,Lo as V_SHOW,pe as WITH_CTX,G as WITH_DIRECTIVES,de as WITH_MEMO,Ye as advancePositionWithClone,Qe as advancePositionWithMutation,Xe as assert,wo as baseCompile,Nt as baseParse,so as buildDirectiveArgs,no as buildProps,qn as buildSlots,vt as checkCompatEnabled,Xo as compile,Be as convertToBlock,Se as createArrayExpression,Pe as createAssignmentExpression,Ce as createBlockStatement,$e as createCacheExpression,_e as createCallExpression,$ as createCompilerError,Te as createCompoundExpression,Oe as createConditionalExpression,Jo as createDOMCompilerError,Jn as createForLoopParams,we as createFunctionExpression,Ie as createIfStatement,Ee as createInterpolation,xe as createObjectExpression,ke as createObjectProperty,Ve as createReturnStatement,ve as createRoot,Re as createSequenceExpression,Ne as createSimpleExpression,cn as createStructuralDirectiveTransform,Me as createTemplateLiteral,on as createTransformContext,be as createVNodeCall,En as extractIdentifiers,et as findDir,tt as findProp,un as generate,S as generateCodeFrame,_o as getBaseTransformPreset,Yt as getConstantType,Ze as getInnerRange,ht as getMemoedVNodeCall,Ae as getVNodeBlockHelper,Le as getVNodeHelper,ot as hasDynamicKeyVBind,dt as hasScopeRef,me as helperNameMap,pt as injectProp,Fe as isBuiltInType,De as isCoreComponent,Tn as isFunctionType,xn as isInDestructureAssignment,qe as isMemberExpression,Ge as isMemberExpressionBrowser,Ke as isMemberExpressionNode,Sn as isReferencedIdentifier,We as isSimpleIdentifier,ct as isSlotOutlet,nt as isStaticArgOf,je as isStaticExp,_n as isStaticProperty,wn as isStaticPropertyKey,it as isTemplateNode,rt as isText,st as isVSlot,ye as locStub,Oo as noopDirectiveTransform,er as parse,Do as parserOptions,Cn as processExpression,Bn as processFor,Pn as processIf,lo as processSlotOutlet,ge as registerRuntimeHelpers,to as resolveComponentType,Mn as stringifyExpression,ft as toValidAssetId,zn as trackSlotScopes,Gn as trackVForSlotScopes,rn as transform,uo as transformBind,eo as transformElement,$n as transformExpression,yo as transformModel,po as transformOn,Ho as transformStyle,sn as traverseNode,Nn as walkBlockDeclarations,kn as walkFunctionParams,bn as walkIdentifiers,bt as warnDeprecation};