@vue/compiler-dom
Advanced tools
Comparing version 3.0.0-alpha.12 to 3.0.0-alpha.13
@@ -1,1 +0,1 @@ | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,p=Array.isArray,a=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function v(e){throw e}function x(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const b=Symbol(""),S=Symbol(""),N=Symbol(""),k=Symbol(""),T=Symbol(""),$=Symbol(""),w=Symbol(""),I=Symbol(""),C=Symbol(""),O=Symbol(""),M=Symbol(""),_=Symbol(""),E=Symbol(""),P=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),V=Symbol(""),F=Symbol(""),R=Symbol(""),D=Symbol(""),j=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),q={[b]:"Fragment",[S]:"Teleport",[N]:"Suspense",[k]:"KeepAlive",[T]:"BaseTransition",[$]:"openBlock",[w]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[O]:"createTextVNode",[M]:"createStaticVNode",[_]:"resolveComponent",[E]:"resolveDynamicComponent",[P]:"resolveDirective",[L]:"withDirectives",[A]:"renderList",[B]:"renderSlot",[V]:"createSlots",[F]:"toDisplayString",[R]:"mergeProps",[D]:"toHandlers",[j]:"camelize",[H]:"setBlockTracking",[G]:"pushScopeId",[J]:"popScopeId",[U]:"withScopeId",[z]:"withCtx"};function K(e){Object.getOwnPropertySymbols(e).forEach(t=>{q[t]=e[t]})}const W={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(e,t=W){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Z(e,t,n,o,r,s,i,c=!1,l=!1,p=W){return e&&(c?(e.helper($),e.helper(w)):e.helper(I),i&&e.helper(L)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function Q(e,t=W){return{type:17,loc:t,elements:e}}function X(e,t=W){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:W,key:a(e)?te(e,!0):e,value:t}}function te(e,t,n=W,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t){return{type:5,loc:t,content:a(e)?te(e,!1,t):e}}function oe(e,t=W){return{type:8,loc:t,children:e}}function re(e,t=[],n=W){return{type:14,loc:n,callee:e,arguments:t}}function se(e,t,n=!1,o=!1,r=W){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ie(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:W}}function ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:W}}function le(e){return{type:21,body:e,loc:W}}function pe(e){return{type:22,elements:e,loc:W}}function ae(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:W}}function ue(e,t){return{type:24,left:e,right:t,loc:W}}function fe(e){return{type:25,expressions:e,loc:W}}function de(e){return{type:26,returns:e,loc:W}}const he=(e,t)=>e===t||e===g(t);function me(e){return he(e,"Teleport")?S:he(e,"Suspense")?N:he(e,"KeepAlive")?k:he(e,"BaseTransition")?T:void 0}let ge,ye;function ve(e){return window._deps[e]}const xe=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),ge||(ge=ve("@babel/parser").parse),ge(e,t)),be=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),(ye||(ye=ve("estree-walker").walk))(e,t)),Se=/^\d|[^\$\w]/,Ne=e=>!Se.test(e),ke=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Te=e=>ke.test(e);function $e(e,t,n){const o={source:e.source.substr(t,n),start:we(e.start,e.source,t),end:e.end};return null!=n&&(o.end=we(e.start,e.source,t+n)),o}function we(e,t,n=t.length){return Ie({...e},t,n)}function Ie(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ce(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Oe(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)&&(a(t)?r.name===t:t.test(r.name)))return r}}function Me(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&&_e(s.arg,t))return s}}function _e(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Ee(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Pe(e){return 5===e.type||2===e.type}function Le(e){return 7===e.type&&"slot"===e.name}function Ae(e){return 1===e.type&&3===e.tagType}function Be(e){return 1===e.type&&2===e.tagType}function Ve(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||a(r))o=X([t]);else if(14===r.type){const e=r.arguments[0];a(e)||15!==e.type?r.arguments.unshift(X([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=re(n.helper(R),[X([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Fe(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Re(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&&(Re(o.arg,t)||Re(o.exp,t)))return!0}return e.children.some(e=>Re(e,t));case 11:return!!Re(e.source,t)||e.children.some(e=>Re(e,t));case 9:return e.branches.some(e=>Re(e,t));case 10:return!!Re(e.condition,t)||e.children.some(e=>Re(e,t));case 4:return!e.isStatic&&Ne(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&Re(e,t);var n});case 5:case 12:return Re(e.content,t);case 2:case 3:default:return!1}}const De=/&(gt|lt|amp|apos|quot);/g,je={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},He={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(De,(e,t)=>je[t]),onError:v};function Ge(e,t={}){const n=function(e,t){return{options:{...He,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=ot(n);return Y(Je(n,0,[]),rt(n,o))}function Je(e,t,n){const o=st(n),r=o?o.ns:0,s=[];for(;!at(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&it(i,e.options.delimiters[0]))c=et(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=it(i,"\x3c!--")?qe(e):it(i,"<!DOCTYPE")?Ke(e):it(i,"<![CDATA[")&&0!==r?ze(e,n):Ke(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){ct(e,3);continue}if(/[a-z]/i.test(i[2])){Ze(e,1,o);continue}c=Ke(e)}else/[a-z]/i.test(i[1])?c=We(e,n):"?"===i[1]&&(c=Ke(e));if(c||(c=tt(e,t)),p(c))for(let e=0;e<c.length;e++)Ue(s,c[e]);else Ue(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ue(e,t){if(3!==t.type){if(2===t.type){const n=st(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 ze(e,t){ct(e,9);const n=Je(e,3,t);return 0===e.source.length||ct(e,3),n}function qe(e){const t=ot(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));)ct(e,s-r+1),r=s+1;ct(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),ct(e,e.source.length);return{type:3,content:n,loc:rt(e,t)}}function Ke(e){const t=ot(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),ct(e,e.source.length)):(o=e.source.slice(n,r),ct(e,r+1)),{type:3,content:o,loc:rt(e,t)}}function We(e,t){const n=e.inPre,o=e.inVPre,r=st(t),s=Ze(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),p=Je(e,l,t);if(t.pop(),s.children=p,ut(e.source,s.tag))Ze(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&it(e.loc.source,"\x3c!--")}return s.loc=rt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Ye=e("if,else,else-if,for,slot");function Ze(e,t,n){const o=ot(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);ct(e,r[0].length),lt(e);const c=ot(e),l=e.source;let p=Qe(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Qe(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=it(e.source,"/>"),ct(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||me(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&Ye(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:rt(e,o),codegenNode:void 0}}function Qe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!it(e.source,">")&&!it(e.source,"/>");){if(it(e.source,"/")){ct(e,1),lt(e);continue}const r=Xe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),lt(e)}return n}function Xe(e,t){const n=ot(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}ct(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(lt(e),ct(e,1),lt(e),r=function(e){const t=ot(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){ct(e,1);const t=e.source.indexOf(o);-1===t?n=nt(e,e.source.length,4):(n=nt(e,t,4),ct(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]););n=nt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:rt(e,t)}}(e));const s=rt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=rt(e,pt(e,n,r),pt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=we(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(it(o,":")?"bind":it(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function et(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=ot(e);ct(e,n.length);const i=ot(e),c=ot(e),l=r-n.length,p=e.source.slice(0,l),a=nt(e,l,t),u=a.trim(),f=a.indexOf(u);return f>0&&Ie(i,p,f),Ie(c,p,l-(a.length-u.length-f)),ct(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:rt(e,i,c)},loc:rt(e,s)}}function tt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=ot(e);return{type:2,content:nt(e,o,t),loc:rt(e,r)}}function nt(e,t,n){const o=e.source.slice(0,t);return ct(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function ot(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function rt(e,t,n){return{start:t,end:n=n||ot(e),source:e.originalSource.slice(t.offset,n.offset)}}function st(e){return e[e.length-1]}function it(e,t){return e.startsWith(t)}function ct(e,t){const{source:n}=e;Ie(e,n,t),e.source=n.slice(t)}function lt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&ct(e,t[0].length)}function pt(e,t,n){return we(t,e.originalSource.slice(t.offset,n),n)}function at(e,t,n){const o=e.source;switch(t){case 0:if(it(o,"</"))for(let e=n.length-1;e>=0;--e)if(ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=st(n);if(e&&ut(o,e.tag))return!0;break}case 3:if(it(o,"]]>"))return!0}return!o}function ut(e,t){return it(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function ft(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&ht(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=vt(e);if(!(t&&512!==t&&1!==t||mt(i)||gt())){const t=yt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&ht(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,dt(e,e.children[0]))}function dt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Be(t)}function ht(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(vt(o)||mt(e)||gt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!ht(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return ht(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||u(e)||ht(e,t));default:return!1}}function mt(e){return!(!Me(e,"key",!0)&&!Me(e,"ref",!0))}function gt(e){return!1}function yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function vt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function xt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,onError:f=v}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:a,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${q[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ce(++d.cached,e,t)};return d}function bt(e,n){const o=xt(e,n);St(e,o),n.hoistStatic&&ft(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(dt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o($),o(w)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Z(n,o(b),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function St(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(p(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(F);break;case 9:for(let n=0;n<e.branches.length;n++)St(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];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,St(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function Nt(e,t){const n=a(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(Le))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}}}function kt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${q[e]}`,push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${q[e]}: _${q[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,C,O,M].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),It(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${q[e]}: _${q[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Tt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Tt(e.directives,"directive",n),e.temps>0&&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()),p||r("return "),e.codegenNode?It(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Tt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?_:P);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Fe(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function $t(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),wt(e,t,n),n&&t.deindent(),t.push("]")}function wt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):p(c)?$t(c,t):It(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function It(e,t){if(a(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:It(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ct(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(F)}(`),It(e.content,t),n(")")}(e,t);break;case 12:It(e.codegenNode,t);break;case 8:Ot(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:a,isForBlock:u}=e;p&&n(o(L)+"(");a&&n(`(${o($)}(${u?"true":""}), `);n(o(a?w:I)+"(",e),wt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),a&&n(")");p&&(n(", "),It(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=a(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),wt(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Mt(o,t),n(": "),It(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){$t(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${q[z]}(`);n("(",e),p(s)?wt(s,t):s&&It(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?$t(i,t):It(i,t)):c&&It(c,t);(l||c)&&(r(),n("}"));a&&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:p}=t;if(4===n.type){const e=!Ne(n.content);e&&i("("),Ct(n,t),e&&i(")")}else i("("),It(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),It(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;It(r,t),a||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(H)}(-1),`),i());n(`_cache[${e.index}] = `),It(e.value,t),e.isVNode&&(n(","),i(),n(`${o(H)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ct(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ot(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):It(o,t)}}function Mt(e,t){const{push:n}=t;if(8===e.type)n("["),Ot(e,t),n("]");else if(e.isStatic){n(Ne(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const _t=e("true,false,null,this"),Et=(e,t)=>{if(5===e.type)e.content=Pt(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=Pt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pt(n,t))}}};function Pt(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(Ne(s))return o||t.identifiers[s]||n(s)||_t(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${o?"=>{}":""}`;try{c=xe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const p=[],a=Object.create(t.identifiers);be(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>p.some(t=>t.start===e.start))(e)){const o=function(e,t){if((!Lt(t)||t.id!==e&&!t.params.includes(e))&&!Vt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!n(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!a[e.name]&&o?(Bt(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,p.push(e)):Vt(e,t)||(o&&a[e.name]||i||(e.isConstant=!0),p.push(e))}}else Lt(e)&&e.params.forEach(t=>be(t,{enter(t,n){if(!("Identifier"!==t.type||Vt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in a?a[n]++:a[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{a[e]--,0===a[e]&&delete a[e]})}});const u=[];let f;return p.sort((e,t)=>e.start-t.start),p.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=p[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(te(t.name,!1,{source:l,start:we(e.loc.start,l,o),end:we(e.loc.start,l,r)},t.isConstant)),n===p.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=oe(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(a),f}const Lt=e=>/Function(Expression|Declaration)$/.test(e.type),At=e=>e&&"ObjectProperty"===e.type&&!e.computed,Bt=(e,t)=>At(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Vt=(e,t)=>At(t)&&t.key===e;const Ft=Nt(/^(if|else|else-if)$/,(e,t,n)=>Rt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=jt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=jt(t,e.branches.length-1,n)}}));function Rt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Dt(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&&9===i.type){n.removeNode();const r=Dt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);St(r,n),s&&s(),n.currentNode=null}break}}}function Dt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function jt(e,t,n){return e.condition?ie(e.condition,Ht(e,t,n),re(n.helper(C),['""',"true"])):Ht(e,t,n)}function Ht(e,n,o){const{helper:r}=o,s=ee("key",te(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Ve(e,s,o),e}return Z(o,r(b),X([s]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==S||(e.isBlock=!0,r($),r(w)),Ve(e,s,o),e}}const Gt=Nt("for",(e,n,o)=>{const{helper:r}=o;return Jt(e,n,o,n=>{const s=re(r(A),[n.source]),i=Me(e,"key"),c=i?128:256;return n.codegenNode=Z(o,r(b),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ae(e),{children:p}=n,a=p.length>1||1!==p[0].type,u=Be(e)?e:l&&1===e.children.length&&Be(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Ve(c,f,o)):a?c=Z(o,r(b),f?X([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r($),r(w)),s.arguments.push(se(Yt(n.parseResult),c,!0))}})});function Jt(e,t,n,o){if(!t.exp)return;const r=Kt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const Ut=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,zt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qt=/^\(|\)$/g;function Kt(e,t){const n=e.loc,o=e.content,r=o.match(Ut);if(!r)return;const[,s,i]=r,c={source:Wt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(qt,"").trim();const p=s.indexOf(l),a=l.match(zt);if(a){l=l.replace(zt,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Wt(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=Wt(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Wt(n,l,p)),c}function Wt(e,t,n){return te(t,!1,$e(e,n,t.length))}function Yt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const Zt=te("undefined",!1),Qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Oe(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Xt=(e,t)=>{let n;if(Ae(e)&&e.props.some(Le)&&(n=Oe(e,"for"))){const e=n.parseResult=Kt(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)}}}},en=(e,t,n)=>se(e,t,!1,!0,t.length?t[0].loc:n);function tn(e,t,n=en){t.helper(z);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ee("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Oe(e,"slot",!0);if(p){const{arg:e,exp:t}=p;s.push(ee(e||te("default",!0),n(t,o,r)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ae(r)||!(c=Oe(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:m,loc:g}=r,{arg:y=te("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,m,g);let S,N,k;if(S=Oe(r,"if"))l=!0,i.push(ie(S.exp,nn(y,b),Zt));else if(N=Oe(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ae(t)&&Oe(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?ie(N.exp,nn(y,b),Zt):nn(y,b)}}else if(k=Oe(r,"for")){l=!0;const e=k.parseResult||Kt(k.exp);e&&i.push(re(t.helper(A),[e.source,se(Yt(e),nn(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(u=!0)}s.push(ee(y,b))}}var h;p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=X(s.concat(ee("_",te("1",!1))),r);return i.length&&(m=re(t.helper(V),[m,Q(i)])),{slots:m,hasDynamicSlots:l}}function nn(e,t){return X([ee("name",e),ee("fn",t)])}const on=new WeakMap,rn=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?sn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||Me(e,"key",!0));if(o.length>0){const n=cn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Q(o.map(e=>function(e,t){const n=[],o=on.get(e);o?n.push(t.helperString(o)):(t.helper(P),t.directives.add(e.name),n.push(Fe(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=te("true",!1,r);n.push(X(e.modifiers.map(e=>ee(e,t)),r))}return Q(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===k&&(d=!0,f|=1024),r&&s!==S&&s!==k){const{slots:n,hasDynamicSlots:o}=tn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==S){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!ht(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=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+"]"}(a))),e.codegenNode=Z(t,s,i,c,l,p,u,!!d,!1,e.loc)}};function sn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Me(e,"is"):Oe(e,"is");if(r){const e=6===r.type?r.value&&te(r.value.content,!0):r.exp;if(e)return re(t.helper(E),[e])}const s=me(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(_),t.components.add(o),Fe(o,"component"))}function cn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let a=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&ht(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(ee(te(t,!0,$e(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&_e(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(X(ln(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(D),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),u(r)&&on.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(X(ln(c),s)),x=l.length>1?re(t.helper(R),l,s):l[0]):c.length&&(x=X(ln(c),s)),g?a|=16:(d&&(a|=2),h&&(a|=4),y.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(f||p.length>0)||(a|=512),{props:x,directives:p,patchFlag:a,dynamicPropNames:y}}function ln(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 s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&pn(i,r):(t.set(s,r),n.push(r))}return n}function pn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Q([e.value,t.value],e.loc)}const an=(e,t)=>{if(Be(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=un(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=re(t.helper(B),i,o)}};function un(e,t){let n='"default"',o=void 0;const r=Me(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=cn(e,t,s);o=n}return{slotName:n,slotProps:o}}const fn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,dn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=oe(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=Te(l.content),t=!(e||fn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=oe([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[ee(c,l||te("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},hn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(j)}(${i.content})`:(i.children.unshift(`${n.helperString(j)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,s))]}},mn=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Pe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Pe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Pe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:re(n.helper(O),s)}}}}},gn=(e,t)=>{if(1===e.type&&Oe(e,"once",!0))return t.helper(H),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},yn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vn();if(!Te(4===o.type?o.content:o.loc.source))return vn();const s=r||te("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:oe(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ee(s,e.exp),ee(i,oe(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ne(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:oe([r,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return vn(c)};function vn(e=[]){return{props:e}}function xn(e){return[[gn,Ft,Gt,an,rn,Qt,mn],{on:dn,bind:hn,model:yn}]}function bn(e,t={}){const n=t.onError||v,o="module"===t.mode;!0===t.prefixIdentifiers?n(x(43)):o&&n(x(44));t.cacheHandlers&&n(x(45)),t.scopeId&&!o&&n(x(46));const r=a(e)?Ge(e,t):e,[s,i]=xn();return bt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),kt(r,{...t,prefixIdentifiers:!1})}const Sn=()=>({props:[]}),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),$n=Symbol(""),wn=Symbol(""),In=Symbol(""),Cn=Symbol(""),On=Symbol(""),Mn=Symbol(""),_n=Symbol("");let En;K({[Nn]:"vModelRadio",[kn]:"vModelCheckbox",[Tn]:"vModelText",[$n]:"vModelSelect",[wn]:"vModelDynamic",[In]:"withModifiers",[Cn]:"withKeys",[On]:"vShow",[Mn]:"Transition",[_n]:"TransitionGroup"});const Pn=e("style,iframe,script,noscript",!0),Ln={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(En||(En=document.createElement("div"))).innerHTML=e,En.textContent},isBuiltInComponent:e=>he(e,"Transition")?Mn:he(e,"TransitionGroup")?_n: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Pn(e))return 2}return 0}},An=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Fn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Bn=/;(?![^(]*\))/g,Vn=/:(.+)/;function Fn(e,t){const n={};return e.split(Bn).forEach(e=>{if(e){const t=e.split(Vn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function Rn(e,t){return x(e,t)}const Dn=e("passive,once,capture"),jn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Hn=e("onkeyup,onkeydown,onkeypress",!0),Gn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?oe(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Jn=[An],Un={cloak:Sn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,r),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,r),o||te("",!0))]}},model:(e,t,n)=>{const o=yn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=Tn,s=!1;if("input"===r){const n=Me(t,"type");if(n){if(7===n.type)e=wn;else if(n.value)switch(n.value.content){case"radio":e=Nn;break;case"checkbox":e=kn;break;case"file":s=!0}}else Ee(t)&&(e=wn)}else"select"===r&&(e=$n);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>dn(e,0,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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];Dn(s)?o.push(s):jn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Gn(r,"onContextmenu")),c.includes("middle")&&(r=Gn(r,"onMouseup")),c.length&&(s=re(n.helper(In),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Hn(r.content)||(s=re(n.helper(Cn),[s,JSON.stringify(i)])),l.length&&(s=X([ee("handler",s),ee("options",X(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(On)})};function zn(e,t={}){return bn(e,{...Ln,...t,nodeTransforms:[...Jn,...t.nodeTransforms||[]],directiveTransforms:{...Un,...t.directiveTransforms||{}},transformHoist:null})}function qn(e,t={}){return Ge(e,{...Ln,...t})}export{T as BASE_TRANSITION,j as CAMELIZE,w as CREATE_BLOCK,C as CREATE_COMMENT,V as CREATE_SLOTS,M as CREATE_STATIC,O as CREATE_TEXT,I as CREATE_VNODE,Un as DOMDirectiveTransforms,Jn as DOMNodeTransforms,b as FRAGMENT,k as KEEP_ALIVE,R as MERGE_PROPS,$ as OPEN_BLOCK,J as POP_SCOPE_ID,G as PUSH_SCOPE_ID,A as RENDER_LIST,B as RENDER_SLOT,_ as RESOLVE_COMPONENT,P as RESOLVE_DIRECTIVE,E as RESOLVE_DYNAMIC_COMPONENT,H as SET_BLOCK_TRACKING,N as SUSPENSE,S as TELEPORT,F as TO_DISPLAY_STRING,D as TO_HANDLERS,Mn as TRANSITION,_n as TRANSITION_GROUP,kn as V_MODEL_CHECKBOX,wn as V_MODEL_DYNAMIC,Nn as V_MODEL_RADIO,$n as V_MODEL_SELECT,Tn as V_MODEL_TEXT,Cn as V_ON_WITH_KEYS,In as V_ON_WITH_MODIFIERS,On as V_SHOW,z as WITH_CTX,L as WITH_DIRECTIVES,U as WITH_SCOPE_ID,we as advancePositionWithClone,Ie as advancePositionWithMutation,Ce as assert,bn as baseCompile,Ge as baseParse,cn as buildProps,tn as buildSlots,zn as compile,Q as createArrayExpression,ue as createAssignmentExpression,le as createBlockStatement,ce as createCacheExpression,re as createCallExpression,x as createCompilerError,oe as createCompoundExpression,ie as createConditionalExpression,Rn as createDOMCompilerError,Yt as createForLoopParams,se as createFunctionExpression,ae as createIfStatement,ne as createInterpolation,X as createObjectExpression,ee as createObjectProperty,de as createReturnStatement,Y as createRoot,fe as createSequenceExpression,te as createSimpleExpression,Nt as createStructuralDirectiveTransform,pe as createTemplateLiteral,xt as createTransformContext,Z as createVNodeCall,Oe as findDir,Me as findProp,kt as generate,o as generateCodeFrame,xn as getBaseTransformPreset,$e as getInnerRange,Ee as hasDynamicKeyVBind,Re as hasScopeRef,q as helperNameMap,Ve as injectProp,_e as isBindKey,he as isBuiltInType,me as isCoreComponent,Te as isMemberExpression,Ne as isSimpleIdentifier,Be as isSlotOutlet,Ae as isTemplateNode,Pe as isText,Le as isVSlot,ve as loadDep,W as locStub,Sn as noopDirectiveTransform,qn as parse,xe as parseJS,Ln as parserOptions,Pt as processExpression,Jt as processFor,Rt as processIf,un as processSlotOutlet,K as registerRuntimeHelpers,sn as resolveComponentType,Fe as toValidAssetId,Qt as trackSlotScopes,Xt as trackVForSlotScopes,bt as transform,hn as transformBind,rn as transformElement,Et as transformExpression,yn as transformModel,dn as transformOn,An as transformStyle,St as traverseNode,be as walkJS}; | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,p=/^on[^a-z]/,a=Array.isArray,u=e=>"string"==typeof e,f=e=>"symbol"==typeof e,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));function x(e){throw e}function b(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const S=Symbol(""),N=Symbol(""),k=Symbol(""),T=Symbol(""),$=Symbol(""),w=Symbol(""),I=Symbol(""),C=Symbol(""),O=Symbol(""),M=Symbol(""),_=Symbol(""),E=Symbol(""),P=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),V=Symbol(""),F=Symbol(""),R=Symbol(""),D=Symbol(""),j=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),q=Symbol(""),K={[S]:"Fragment",[N]:"Teleport",[k]:"Suspense",[T]:"KeepAlive",[$]:"BaseTransition",[w]:"openBlock",[I]:"createBlock",[C]:"createVNode",[O]:"createCommentVNode",[M]:"createTextVNode",[_]:"createStaticVNode",[E]:"resolveComponent",[P]:"resolveDynamicComponent",[L]:"resolveDirective",[A]:"withDirectives",[B]:"renderList",[V]:"renderSlot",[F]:"createSlots",[R]:"toDisplayString",[D]:"mergeProps",[j]:"toHandlers",[H]:"camelize",[G]:"setBlockTracking",[J]:"pushScopeId",[U]:"popScopeId",[z]:"withScopeId",[q]:"withCtx"};function W(e){Object.getOwnPropertySymbols(e).forEach(t=>{K[t]=e[t]})}const Y={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Z(e,t=Y){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Q(e,t,n,o,r,s,i,c=!1,l=!1,p=Y){return e&&(c?(e.helper(w),e.helper(I)):e.helper(C),i&&e.helper(A)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function X(e,t=Y){return{type:17,loc:t,elements:e}}function ee(e,t=Y){return{type:15,loc:t,properties:e}}function te(e,t){return{type:16,loc:Y,key:u(e)?ne(e,!0):e,value:t}}function ne(e,t,n=Y,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function oe(e,t){return{type:5,loc:t,content:u(e)?ne(e,!1,t):e}}function re(e,t=Y){return{type:8,loc:t,children:e}}function se(e,t=[],n=Y){return{type:14,loc:n,callee:e,arguments:t}}function ie(e,t,n=!1,o=!1,r=Y){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ce(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Y}}function le(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Y}}function pe(e){return{type:21,body:e,loc:Y}}function ae(e){return{type:22,elements:e,loc:Y}}function ue(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Y}}function fe(e,t){return{type:24,left:e,right:t,loc:Y}}function de(e){return{type:25,expressions:e,loc:Y}}function he(e){return{type:26,returns:e,loc:Y}}const me=(e,t)=>e===t||e===y(t);function ge(e){return me(e,"Teleport")?N:me(e,"Suspense")?k:me(e,"KeepAlive")?T:me(e,"BaseTransition")?$:void 0}let ye,ve;function xe(e){return window._deps[e]}const be=(e,t)=>(Oe(!1,"Expression AST analysis can only be performed in non-browser builds."),ye||(ye=xe("@babel/parser").parse),ye(e,t)),Se=(e,t)=>(Oe(!1,"Expression AST analysis can only be performed in non-browser builds."),(ve||(ve=xe("estree-walker").walk))(e,t)),Ne=/^\d|[^\$\w]/,ke=e=>!Ne.test(e),Te=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,$e=e=>Te.test(e);function we(e,t,n){const o={source:e.source.substr(t,n),start:Ie(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ie(e.start,e.source,t+n)),o}function Ie(e,t,n=t.length){return Ce({...e},t,n)}function Ce(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Oe(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Me(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)&&(u(t)?r.name===t:t.test(r.name)))return r}}function _e(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&&Ee(s.arg,t))return s}}function Ee(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Pe(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Le(e){return 5===e.type||2===e.type}function Ae(e){return 7===e.type&&"slot"===e.name}function Be(e){return 1===e.type&&3===e.tagType}function Ve(e){return 1===e.type&&2===e.tagType}function Fe(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||u(r))o=ee([t]);else if(14===r.type){const e=r.arguments[0];u(e)||15!==e.type?r.arguments.unshift(ee([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=se(n.helper(D),[ee([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Re(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function De(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&&(De(o.arg,t)||De(o.exp,t)))return!0}return e.children.some(e=>De(e,t));case 11:return!!De(e.source,t)||e.children.some(e=>De(e,t));case 9:return e.branches.some(e=>De(e,t));case 10:return!!De(e.condition,t)||e.children.some(e=>De(e,t));case 4:return!e.isStatic&&ke(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&De(e,t);var n});case 5:case 12:return De(e.content,t);case 2:case 3:default:return!1}}const je=/&(gt|lt|amp|apos|quot);/g,He={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ge={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(je,(e,t)=>He[t]),onError:x};function Je(e,t={}){const n=function(e,t){return{options:{...Ge,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=rt(n);return Z(Ue(n,0,[]),st(n,o))}function Ue(e,t,n){const o=it(n),r=o?o.ns:0,s=[];for(;!ut(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&ct(i,e.options.delimiters[0]))c=tt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=ct(i,"\x3c!--")?Ke(e):ct(i,"<!DOCTYPE")?We(e):ct(i,"<![CDATA[")&&0!==r?qe(e,n):We(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){lt(e,3);continue}if(/[a-z]/i.test(i[2])){Qe(e,1,o);continue}c=We(e)}else/[a-z]/i.test(i[1])?c=Ye(e,n):"?"===i[1]&&(c=We(e));if(c||(c=nt(e,t)),a(c))for(let e=0;e<c.length;e++)ze(s,c[e]);else ze(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function ze(e,t){if(3!==t.type){if(2===t.type){const n=it(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 qe(e,t){lt(e,9);const n=Ue(e,3,t);return 0===e.source.length||lt(e,3),n}function Ke(e){const t=rt(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));)lt(e,s-r+1),r=s+1;lt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),lt(e,e.source.length);return{type:3,content:n,loc:st(e,t)}}function We(e){const t=rt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),lt(e,e.source.length)):(o=e.source.slice(n,r),lt(e,r+1)),{type:3,content:o,loc:st(e,t)}}function Ye(e,t){const n=e.inPre,o=e.inVPre,r=it(t),s=Qe(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),p=Ue(e,l,t);if(t.pop(),s.children=p,ft(e.source,s.tag))Qe(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&ct(e.loc.source,"\x3c!--")}return s.loc=st(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Ze=e("if,else,else-if,for,slot");function Qe(e,t,n){const o=rt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);lt(e,r[0].length),pt(e);const c=rt(e),l=e.source;let p=Xe(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Xe(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=ct(e.source,"/>"),lt(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||ge(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&Ze(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:st(e,o),codegenNode:void 0}}function Xe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ct(e.source,">")&&!ct(e.source,"/>");){if(ct(e.source,"/")){lt(e,1),pt(e);continue}const r=et(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),pt(e)}return n}function et(e,t){const n=rt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}lt(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(pt(e),lt(e,1),pt(e),r=function(e){const t=rt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){lt(e,1);const t=e.source.indexOf(o);-1===t?n=ot(e,e.source.length,4):(n=ot(e,t,4),lt(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]););n=ot(e,t[0].length,4)}return{content:n,isQuoted:r,loc:st(e,t)}}(e));const s=st(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=st(e,at(e,n,r),at(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ie(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(ct(o,":")?"bind":ct(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function tt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=rt(e);lt(e,n.length);const i=rt(e),c=rt(e),l=r-n.length,p=e.source.slice(0,l),a=ot(e,l,t),u=a.trim(),f=a.indexOf(u);return f>0&&Ce(i,p,f),Ce(c,p,l-(a.length-u.length-f)),lt(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:st(e,i,c)},loc:st(e,s)}}function nt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=rt(e);return{type:2,content:ot(e,o,t),loc:st(e,r)}}function ot(e,t,n){const o=e.source.slice(0,t);return lt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function rt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function st(e,t,n){return{start:t,end:n=n||rt(e),source:e.originalSource.slice(t.offset,n.offset)}}function it(e){return e[e.length-1]}function ct(e,t){return e.startsWith(t)}function lt(e,t){const{source:n}=e;Ce(e,n,t),e.source=n.slice(t)}function pt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&<(e,t[0].length)}function at(e,t,n){return Ie(t,e.originalSource.slice(t.offset,n),n)}function ut(e,t,n){const o=e.source;switch(t){case 0:if(ct(o,"</"))for(let e=n.length-1;e>=0;--e)if(ft(o,n[e].tag))return!0;break;case 1:case 2:{const e=it(n);if(e&&ft(o,e.tag))return!0;break}case 3:if(ct(o,"]]>"))return!0}return!o}function ft(e,t){return ct(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function dt(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&mt(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=xt(e);if(!(t&&512!==t&&1!==t||gt(i)||yt())){const t=vt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&mt(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,ht(e,e.children[0]))}function ht(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ve(t)}function mt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(xt(o)||gt(e)||yt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!mt(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return mt(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>u(e)||f(e)||mt(e,t));default:return!1}}function gt(e){return!(!_e(e,"key",!0)&&!_e(e,"ref",!0))}function yt(e){return!1}function vt(e){const t=e.codegenNode;if(13===t.type)return t.props}function xt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function bt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,onError:f=x}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:a,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${K[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),ne(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>le(++d.cached,e,t)};return d}function St(e,n){const o=bt(e,n);Nt(e,o),n.hoistStatic&&dt(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(ht(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(w),o(I)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Q(n,o(S),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function Nt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(a(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(O);break;case 5:t.ssr||t.helper(R);break;case 9:for(let n=0;n<e.branches.length;n++)Nt(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];u(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Nt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function kt(e,t){const n=u(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(Ae))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}}}function Tt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${K[e]}`,push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${K[e]}: _${K[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[C,O,M,_].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),Ct(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${K[e]}: _${K[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&($t(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&($t(e.directives,"directive",n),e.temps>0&&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()),p||r("return "),e.codegenNode?Ct(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function $t(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?E:L);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Re(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function wt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),It(e,t,n),n&&t.deindent(),t.push("]")}function It(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];u(c)?r(c):a(c)?wt(c,t):Ct(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Ct(e,t){if(u(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Ct(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ot(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(R)}(`),Ct(e.content,t),n(")")}(e,t);break;case 12:Ct(e.codegenNode,t);break;case 8:Mt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:a,isForBlock:u}=e;p&&n(o(A)+"(");a&&n(`(${o(w)}(${u?"true":""}), `);n(o(a?I:C)+"(",e),It(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),a&&n(")");p&&(n(", "),Ct(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=u(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),It(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];_t(o,t),n(": "),Ct(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){wt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:p}=e;p&&n(`_${K[q]}(`);n("(",e),a(s)?It(s,t):s&&Ct(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),a(i)?wt(i,t):Ct(i,t)):c&&Ct(c,t);(l||c)&&(r(),n("}"));p&&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:p}=t;if(4===n.type){const e=!ke(n.content);e&&i("("),Ot(n,t),e&&i(")")}else i("("),Ct(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Ct(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;Ct(r,t),a||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(G)}(-1),`),i());n(`_cache[${e.index}] = `),Ct(e.value,t),e.isVNode&&(n(","),i(),n(`${o(G)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ot(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Mt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];u(o)?t.push(o):Ct(o,t)}}function _t(e,t){const{push:n}=t;if(8===e.type)n("["),Mt(e,t),n("]");else if(e.isStatic){n(ke(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Et=e("true,false,null,this"),Pt=(e,t)=>{if(5===e.type)e.content=Lt(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=Lt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Lt(n,t))}}};function Lt(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(ke(s))return o||t.identifiers[s]||n(s)||Et(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${o?"=>{}":""}`;try{c=be(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const p=[],a=Object.create(t.identifiers);Se(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>p.some(t=>t.start===e.start))(e)){const o=function(e,t){if((!At(t)||t.id!==e&&!t.params.includes(e))&&!Ft(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!n(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!a[e.name]&&o?(Vt(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,p.push(e)):Ft(e,t)||(o&&a[e.name]||i||(e.isConstant=!0),p.push(e))}}else At(e)&&e.params.forEach(t=>Se(t,{enter(t,n){if(!("Identifier"!==t.type||Ft(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in a?a[n]++:a[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{a[e]--,0===a[e]&&delete a[e]})}});const u=[];let f;return p.sort((e,t)=>e.start-t.start),p.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=p[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(ne(t.name,!1,{source:l,start:Ie(e.loc.start,l,o),end:Ie(e.loc.start,l,r)},t.isConstant)),n===p.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=re(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(a),f}const At=e=>/Function(Expression|Declaration)$/.test(e.type),Bt=e=>e&&"ObjectProperty"===e.type&&!e.computed,Vt=(e,t)=>Bt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Ft=(e,t)=>Bt(t)&&t.key===e;const Rt=kt(/^(if|else|else-if)$/,(e,t,n)=>Dt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Ht(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Ht(t,e.branches.length-1,n)}}));function Dt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=ne("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=jt(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&&9===i.type){n.removeNode();const r=jt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Nt(r,n),s&&s(),n.currentNode=null}break}}}function jt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Ht(e,t,n){return e.condition?ce(e.condition,Gt(e,t,n),se(n.helper(O),['""',"true"])):Gt(e,t,n)}function Gt(e,n,o){const{helper:r}=o,s=te("key",ne(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Fe(e,s,o),e}return Q(o,r(S),ee([s]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==N||(e.isBlock=!0,r(w),r(I)),Fe(e,s,o),e}}const Jt=kt("for",(e,n,o)=>{const{helper:r}=o;return Ut(e,n,o,n=>{const s=se(r(B),[n.source]),i=_e(e,"key"),c=i?128:256;return n.codegenNode=Q(o,r(S),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Be(e),{children:p}=n,a=p.length>1||1!==p[0].type,u=Ve(e)?e:l&&1===e.children.length&&Ve(e.children[0])?e.children[0]:null,f=i?te("key",6===i.type?ne(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Fe(c,f,o)):a?c=Q(o,r(S),f?ee([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r(w),r(I)),s.arguments.push(ie(Zt(n.parseResult),c,!0))}})});function Ut(e,t,n,o){if(!t.exp)return;const r=Wt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const zt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Kt=/^\(|\)$/g;function Wt(e,t){const n=e.loc,o=e.content,r=o.match(zt);if(!r)return;const[,s,i]=r,c={source:Yt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Kt,"").trim();const p=s.indexOf(l),a=l.match(qt);if(a){l=l.replace(qt,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Yt(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=Yt(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Yt(n,l,p)),c}function Yt(e,t,n){return ne(t,!1,we(e,n,t.length))}function Zt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(ne("_",!1)),o.push(t)),n&&(t||(e||o.push(ne("_",!1)),o.push(ne("__",!1))),o.push(n)),o}const Qt=ne("undefined",!1),Xt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Me(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},en=(e,t)=>{let n;if(Be(e)&&e.props.some(Ae)&&(n=Me(e,"for"))){const e=n.parseResult=Wt(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)}}}},tn=(e,t,n)=>ie(e,t,!1,!0,t.length?t[0].loc:n);function nn(e,t,n=tn){t.helper(q);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>te("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Me(e,"slot",!0);if(p){const{arg:e,exp:t}=p;s.push(te(e||ne("default",!0),n(t,o,r)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Be(r)||!(c=Me(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:m,loc:g}=r,{arg:y=ne("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,m,g);let S,N,k;if(S=Me(r,"if"))l=!0,i.push(ce(S.exp,on(y,b),Qt));else if(N=Me(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Be(t)&&Me(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?ce(N.exp,on(y,b),Qt):on(y,b)}}else if(k=Me(r,"for")){l=!0;const e=k.parseResult||Wt(k.exp);e&&i.push(se(t.helper(B),[e.source,ie(Zt(e),on(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(u=!0)}s.push(te(y,b))}}var h;p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=ee(s.concat(te("_",ne("1",!1))),r);return i.length&&(m=se(t.helper(F),[m,X(i)])),{slots:m,hasDynamicSlots:l}}function on(e,t){return ee([te("name",e),te("fn",t)])}const rn=new WeakMap,sn=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?cn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||_e(e,"key",!0));if(o.length>0){const n=ln(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?X(o.map(e=>function(e,t){const n=[],o=rn.get(e);o?n.push(t.helperString(o)):(t.helper(L),t.directives.add(e.name),n.push(Re(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(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(ee(e.modifiers.map(e=>te(e,t)),r))}return X(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===T&&(d=!0,f|=1024),r&&s!==N&&s!==T){const{slots:n,hasDynamicSlots:o}=nn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==N){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!mt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=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+"]"}(a))),e.codegenNode=Q(t,s,i,c,l,p,u,!!d,!1,e.loc)}};function cn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?_e(e,"is"):Me(e,"is");if(r){const e=6===r.type?r.value&&ne(r.value.content,!0):r.exp;if(e)return se(t.helper(P),[e])}const s=ge(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(E),t.components.add(o),Re(o,"component"))}function ln(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,d=!1,h=!1,m=!1,g=!1,y=!1;const v=[],x=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>p.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(g=!0),20===t.type||(4===t.type||8===t.type)&&mt(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):m=!0:h=!0}else y=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(d=!0),"is"===t&&"component"===r)continue;c.push(te(ne(t,!0,we(e,0,t.length)),ne(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:d}=p,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ee(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){y=!0,u&&(c.length&&(l.push(ee(pn(c),s)),c=[]),l.push(h?u:{type:14,loc:d,callee:t.helper(j),arguments:[u]}));continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(p,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(p),f(r)&&rn.set(p,r))}else a.push(p)}}let b=void 0;return l.length?(c.length&&l.push(ee(pn(c),s)),b=l.length>1?se(t.helper(D),l,s):l[0]):c.length&&(b=ee(pn(c),s)),y?u|=16:(h&&(u|=2),m&&(u|=4),v.length&&(u|=8),g&&(u|=32)),0!==u&&32!==u||!(d||a.length>0)||(u|=512),{props:b,directives:a,patchFlag:u,dynamicPropNames:v}}function pn(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 s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&an(i,r):(t.set(s,r),n.push(r))}return n}function an(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=X([e.value,t.value],e.loc)}const un=(e,t)=>{if(Ve(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=fn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=se(t.helper(V),i,o)}};function fn(e,t){let n='"default"',o=void 0;const r=_e(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=ln(e,t,s);o=n}return{slotName:n,slotProps:o}}const dn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,hn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=ne(`on${e.startsWith("vnode")?v(m(e)):v(e)}`,!0,i.loc)}else c=re(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=$e(l.content),t=!(e||dn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=re([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[te(c,l||ne("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},mn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?m(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[te(i,o||ne("",!0,s))]}},gn=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Le(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Le(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Le(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:se(n.helper(M),s)}}}}},yn=(e,t)=>{if(1===e.type&&Me(e,"once",!0))return t.helper(G),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},vn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return xn();if(!$e(4===o.type?o.content:o.loc.source))return xn();const s=r||ne("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:re(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[te(s,e.exp),te(i,re(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(ke(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:re([r,' + "Modifiers"']):"modelModifiers";c.push(te(n,ne(`{ ${t} }`,!1,e.loc,!0)))}return xn(c)};function xn(e=[]){return{props:e}}function bn(e){return[[yn,Rt,Jt,un,sn,Xt,gn],{on:hn,bind:mn,model:vn}]}function Sn(e,t={}){const n=t.onError||x,o="module"===t.mode;!0===t.prefixIdentifiers?n(b(43)):o&&n(b(44));t.cacheHandlers&&n(b(45)),t.scopeId&&!o&&n(b(46));const r=u(e)?Je(e,t):e,[s,i]=bn();return St(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),Tt(r,{...t,prefixIdentifiers:!1})}const Nn=()=>({props:[]}),kn=Symbol(""),Tn=Symbol(""),$n=Symbol(""),wn=Symbol(""),In=Symbol(""),Cn=Symbol(""),On=Symbol(""),Mn=Symbol(""),_n=Symbol(""),En=Symbol("");let Pn;W({[kn]:"vModelRadio",[Tn]:"vModelCheckbox",[$n]:"vModelText",[wn]:"vModelSelect",[In]:"vModelDynamic",[Cn]:"withModifiers",[On]:"withKeys",[Mn]:"vShow",[_n]:"Transition",[En]:"TransitionGroup"});const Ln=e("style,iframe,script,noscript",!0),An={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Pn||(Pn=document.createElement("div"))).innerHTML=e,Pn.textContent},isBuiltInComponent:e=>me(e,"Transition")?_n:me(e,"TransitionGroup")?En: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Ln(e))return 2}return 0}},Bn=(e,t)=>{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:Rn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Vn=/;(?![^(]*\))/g,Fn=/:(.+)/;function Rn(e,t){const n={};return e.split(Vn).forEach(e=>{if(e){const t=e.split(Fn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),ne(JSON.stringify(n),!1,t,!0)}function Dn(e,t){return b(e,t)}const jn=e("passive,once,capture"),Hn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Gn=e("onkeyup,onkeydown,onkeypress",!0),Jn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?ne(t,!0):4!==e.type?re(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Un=[Bn],zn={cloak:Nn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[te(ne("innerHTML",!0,r),o||ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[te(ne("textContent",!0,r),o||ne("",!0))]}},model:(e,t,n)=>{const o=vn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=$n,s=!1;if("input"===r){const n=_e(t,"type");if(n){if(7===n.type)e=In;else if(n.value)switch(n.value.content){case"radio":e=kn;break;case"checkbox":e=Tn;break;case"file":s=!0}}else Pe(t)&&(e=In)}else"select"===r&&(e=wn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>hn(e,0,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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];jn(s)?o.push(s):Hn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Jn(r,"onContextmenu")),c.includes("middle")&&(r=Jn(r,"onMouseup")),c.length&&(s=se(n.helper(Cn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Gn(r.content)||(s=se(n.helper(On),[s,JSON.stringify(i)])),l.length&&(s=ee([te("handler",s),te("options",ee(l.map(e=>te(e,ne("true",!1)))))])),{props:[te(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Mn)})};function qn(e,t={}){return Sn(e,{...An,...t,nodeTransforms:[...Un,...t.nodeTransforms||[]],directiveTransforms:{...zn,...t.directiveTransforms||{}},transformHoist:null})}function Kn(e,t={}){return Je(e,{...An,...t})}export{$ as BASE_TRANSITION,H as CAMELIZE,I as CREATE_BLOCK,O as CREATE_COMMENT,F as CREATE_SLOTS,_ as CREATE_STATIC,M as CREATE_TEXT,C as CREATE_VNODE,zn as DOMDirectiveTransforms,Un as DOMNodeTransforms,S as FRAGMENT,T as KEEP_ALIVE,D as MERGE_PROPS,w as OPEN_BLOCK,U as POP_SCOPE_ID,J as PUSH_SCOPE_ID,B as RENDER_LIST,V as RENDER_SLOT,E as RESOLVE_COMPONENT,L as RESOLVE_DIRECTIVE,P as RESOLVE_DYNAMIC_COMPONENT,G as SET_BLOCK_TRACKING,k as SUSPENSE,N as TELEPORT,R as TO_DISPLAY_STRING,j as TO_HANDLERS,_n as TRANSITION,En as TRANSITION_GROUP,Tn as V_MODEL_CHECKBOX,In as V_MODEL_DYNAMIC,kn as V_MODEL_RADIO,wn as V_MODEL_SELECT,$n as V_MODEL_TEXT,On as V_ON_WITH_KEYS,Cn as V_ON_WITH_MODIFIERS,Mn as V_SHOW,q as WITH_CTX,A as WITH_DIRECTIVES,z as WITH_SCOPE_ID,Ie as advancePositionWithClone,Ce as advancePositionWithMutation,Oe as assert,Sn as baseCompile,Je as baseParse,ln as buildProps,nn as buildSlots,qn as compile,X as createArrayExpression,fe as createAssignmentExpression,pe as createBlockStatement,le as createCacheExpression,se as createCallExpression,b as createCompilerError,re as createCompoundExpression,ce as createConditionalExpression,Dn as createDOMCompilerError,Zt as createForLoopParams,ie as createFunctionExpression,ue as createIfStatement,oe as createInterpolation,ee as createObjectExpression,te as createObjectProperty,he as createReturnStatement,Z as createRoot,de as createSequenceExpression,ne as createSimpleExpression,kt as createStructuralDirectiveTransform,ae as createTemplateLiteral,bt as createTransformContext,Q as createVNodeCall,Me as findDir,_e as findProp,Tt as generate,o as generateCodeFrame,bn as getBaseTransformPreset,we as getInnerRange,Pe as hasDynamicKeyVBind,De as hasScopeRef,K as helperNameMap,Fe as injectProp,Ee as isBindKey,me as isBuiltInType,ge as isCoreComponent,$e as isMemberExpression,ke as isSimpleIdentifier,Ve as isSlotOutlet,Be as isTemplateNode,Le as isText,Ae as isVSlot,xe as loadDep,Y as locStub,Nn as noopDirectiveTransform,Kn as parse,be as parseJS,An as parserOptions,Lt as processExpression,Ut as processFor,Dt as processIf,fn as processSlotOutlet,W as registerRuntimeHelpers,cn as resolveComponentType,Re as toValidAssetId,Xt as trackSlotScopes,en as trackVForSlotScopes,St as transform,mn as transformBind,sn as transformElement,Pt as transformExpression,vn as transformModel,hn as transformOn,Bn as transformStyle,Nt as traverseNode,Se as walkJS}; |
@@ -1,1 +0,1 @@ | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,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,feDistanceLight,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"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,a=Array.isArray,p=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function S(e){throw e}function v(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const x=Symbol(""),b=Symbol(""),T=Symbol(""),N=Symbol(""),E=Symbol(""),k=Symbol(""),O=Symbol(""),I=Symbol(""),C=Symbol(""),_=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),V=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),W={[x]:"Fragment",[b]:"Teleport",[T]:"Suspense",[N]:"KeepAlive",[E]:"BaseTransition",[k]:"openBlock",[O]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[_]:"createTextVNode",[w]:"createStaticVNode",[$]:"resolveComponent",[M]:"resolveDynamicComponent",[P]:"resolveDirective",[R]:"withDirectives",[L]:"renderList",[A]:"renderSlot",[D]:"createSlots",[V]:"toDisplayString",[B]:"mergeProps",[F]:"toHandlers",[H]:"camelize",[j]:"setBlockTracking",[G]:"pushScopeId",[K]:"popScopeId",[U]:"withScopeId",[J]:"withCtx"};function Y(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const q={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function z(e,t=q){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function X(e,t,n,o,r,s,i,c=!1,l=!1,a=q){return e&&(c?(e.helper(k),e.helper(O)):e.helper(I),i&&e.helper(R)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function Z(e,t=q){return{type:17,loc:t,elements:e}}function Q(e,t=q){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:q,key:p(e)?te(e,!0):e,value:t}}function te(e,t,n=q,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t=q){return{type:8,loc:t,children:e}}function oe(e,t=[],n=q){return{type:14,loc:n,callee:e,arguments:t}}function re(e,t,n=!1,o=!1,r=q){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function se(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:q}}function ie(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:q}}const ce=(e,t)=>e===t||e===g(t);function le(e){return ce(e,"Teleport")?b:ce(e,"Suspense")?T:ce(e,"KeepAlive")?N:ce(e,"BaseTransition")?E:void 0}let ae,pe;function ue(e){return window._deps[e]}const fe=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),ae||(ae=ue("@babel/parser").parse),ae(e,t)),de=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),(pe||(pe=ue("estree-walker").walk))(e,t)),he=/^\d|[^\$\w]/,me=e=>!he.test(e),ge=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ye=e=>ge.test(e);function Se(e,t,n){const o={source:e.source.substr(t,n),start:ve(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ve(e.start,e.source,t+n)),o}function ve(e,t,n=t.length){return xe({...e},t,n)}function xe(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function be(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Te(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)&&(p(t)?r.name===t:t.test(r.name)))return r}}function Ne(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&&Ee(s.arg,t))return s}}function Ee(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function ke(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Oe(e){return 5===e.type||2===e.type}function Ie(e){return 7===e.type&&"slot"===e.name}function Ce(e){return 1===e.type&&3===e.tagType}function _e(e){return 1===e.type&&2===e.tagType}function we(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||p(r))o=Q([t]);else if(14===r.type){const e=r.arguments[0];p(e)||15!==e.type?r.arguments.unshift(Q([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=oe(n.helper(B),[Q([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function $e(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Me=/&(gt|lt|amp|apos|quot);/g,Pe={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Re={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Me,(e,t)=>Pe[t]),onError:S};function Le(e,t={}){const n=function(e,t){return{options:{...Re,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=qe(n);return z(Ae(n,0,[]),ze(n,o))}function Ae(e,t,n){const o=Xe(n),r=o?o.ns:0,s=[];for(;!nt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&Ze(i,e.options.delimiters[0]))c=Je(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ze(i,"\x3c!--")?Be(e):Ze(i,"<!DOCTYPE")?Fe(e):Ze(i,"<![CDATA[")&&0!==r?Ve(e,n):Fe(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Qe(e,3);continue}if(/[a-z]/i.test(i[2])){Ge(e,1,o);continue}c=Fe(e)}else/[a-z]/i.test(i[1])?c=He(e,n):"?"===i[1]&&(c=Fe(e));if(c||(c=We(e,t)),a(c))for(let e=0;e<c.length;e++)De(s,c[e]);else De(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function De(e,t){if(3!==t.type){if(2===t.type){const n=Xe(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 Ve(e,t){Qe(e,9);const n=Ae(e,3,t);return 0===e.source.length||Qe(e,3),n}function Be(e){const t=qe(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));)Qe(e,s-r+1),r=s+1;Qe(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Qe(e,e.source.length);return{type:3,content:n,loc:ze(e,t)}}function Fe(e){const t=qe(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Qe(e,e.source.length)):(o=e.source.slice(n,r),Qe(e,r+1)),{type:3,content:o,loc:ze(e,t)}}function He(e,t){const n=e.inPre,o=e.inVPre,r=Xe(t),s=Ge(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=Ae(e,l,t);if(t.pop(),s.children=a,ot(e.source,s.tag))Ge(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ze(e.loc.source,"\x3c!--")}return s.loc=ze(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const je=t("if,else,else-if,for,slot");function Ge(e,t,n){const o=qe(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Qe(e,r[0].length),et(e);const c=qe(e),l=e.source;let a=Ke(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=Ke(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Ze(e.source,"/>"),Qe(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||le(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&je(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:ze(e,o),codegenNode:void 0}}function Ke(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ze(e.source,">")&&!Ze(e.source,"/>");){if(Ze(e.source,"/")){Qe(e,1),et(e);continue}const r=Ue(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),et(e)}return n}function Ue(e,t){const n=qe(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}Qe(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(et(e),Qe(e,1),et(e),r=function(e){const t=qe(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Qe(e,1);const t=e.source.indexOf(o);-1===t?n=Ye(e,e.source.length,4):(n=Ye(e,t,4),Qe(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]););n=Ye(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ze(e,t)}}(e));const s=ze(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=ze(e,tt(e,n,r),tt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ve(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Ze(o,":")?"bind":Ze(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Je(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=qe(e);Qe(e,n.length);const i=qe(e),c=qe(e),l=r-n.length,a=e.source.slice(0,l),p=Ye(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&xe(i,a,f),xe(c,a,l-(p.length-u.length-f)),Qe(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:ze(e,i,c)},loc:ze(e,s)}}function We(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=qe(e);return{type:2,content:Ye(e,o,t),loc:ze(e,r)}}function Ye(e,t,n){const o=e.source.slice(0,t);return Qe(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function qe(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ze(e,t,n){return{start:t,end:n=n||qe(e),source:e.originalSource.slice(t.offset,n.offset)}}function Xe(e){return e[e.length-1]}function Ze(e,t){return e.startsWith(t)}function Qe(e,t){const{source:n}=e;xe(e,n,t),e.source=n.slice(t)}function et(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Qe(e,t[0].length)}function tt(e,t,n){return ve(t,e.originalSource.slice(t.offset,n),n)}function nt(e,t,n){const o=e.source;switch(t){case 0:if(Ze(o,"</"))for(let e=n.length-1;e>=0;--e)if(ot(o,n[e].tag))return!0;break;case 1:case 2:{const e=Xe(n);if(e&&ot(o,e.tag))return!0;break}case 3:if(Ze(o,"]]>"))return!0}return!o}function ot(e,t){return Ze(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function rt(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&it(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=pt(e);if(!(t&&512!==t&&1!==t||ct(i)||lt())){const t=at(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&it(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,st(e,e.children[0]))}function st(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!_e(t)}function it(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(pt(o)||ct(e)||lt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!it(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return it(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>p(e)||u(e)||it(e,t));default:return!1}}function ct(e){return!(!Ne(e,"key",!0)&&!Ne(e,"ref",!0))}function lt(e){return!1}function at(e){const t=e.codegenNode;if(13===t.type)return t.props}function pt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ut(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=S}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${W[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ie(++d.cached,e,t)};return d}function ft(e,t){const o=ut(e,t);dt(e,o),t.hoistStatic&&rt(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(st(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(k),o(O)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=X(t,o(x),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function dt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(a(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(V);break;case 9:for(let n=0;n<e.branches.length;n++)dt(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];p(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,dt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function ht(e,t){const n=p(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(Ie))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}}}function mt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${W[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,C,_,w].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),vt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${W[e]}: _${W[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(gt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(gt(e.directives,"directive",n),e.temps>0&&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?vt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function gt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?$:P);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${$e(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function yt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),St(e,t,n),n&&t.deindent(),t.push("]")}function St(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];p(c)?r(c):a(c)?yt(c,t):vt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function vt(e,t){if(p(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:vt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:xt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(V)}(`),vt(e.content,t),n(")")}(e,t);break;case 12:vt(e.codegenNode,t);break;case 8:bt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(R)+"(");p&&n(`(${o(k)}(${u?"true":""}), `);n(o(p?O:I)+"(",e),St(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),vt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=p(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),St(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Tt(o,t),n(": "),vt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){yt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:p}=e;p&&n(`_${W[J]}(`);n("(",e),a(s)?St(s,t):s&&vt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),a(i)?yt(i,t):vt(i,t)):c&&vt(c,t);(l||c)&&(r(),n("}"));p&&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=!me(n.content);e&&i("("),xt(n,t),e&&i(")")}else i("("),vt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),vt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;vt(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(j)}(-1),`),i());n(`_cache[${e.index}] = `),vt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(j)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function xt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function bt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];p(o)?t.push(o):vt(o,t)}}function Tt(e,t){const{push:n}=t;if(8===e.type)n("["),bt(e,t),n("]");else if(e.isStatic){n(me(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Nt=t("true,false,null,this");function Et(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(me(s))return n||t.identifiers[s]||o(s)||Nt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${n?"=>{}":""}`;try{c=fe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const a=[],p=Object.create(t.identifiers);de(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>a.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!kt(t)||t.id!==e&&!t.params.includes(e))&&!Ct(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!o(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!p[e.name]&&n?(It(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,a.push(e)):Ct(e,t)||(n&&p[e.name]||i||(e.isConstant=!0),a.push(e))}}else kt(e)&&e.params.forEach(t=>de(t,{enter(t,n){if(!("Identifier"!==t.type||Ct(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in p?p[n]++:p[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{p[e]--,0===p[e]&&delete p[e]})}});const u=[];let f;return a.sort((e,t)=>e.start-t.start),a.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=a[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(te(t.name,!1,{source:l,start:ve(e.loc.start,l,o),end:ve(e.loc.start,l,r)},t.isConstant)),n===a.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=ne(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(p),f}const kt=e=>/Function(Expression|Declaration)$/.test(e.type),Ot=e=>e&&"ObjectProperty"===e.type&&!e.computed,It=(e,t)=>Ot(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Ct=(e,t)=>Ot(t)&&t.key===e;const _t=ht(/^(if|else|else-if)$/,(e,t,n)=>wt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Mt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Mt(t,e.branches.length-1,n)}}));function wt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=$t(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&&9===i.type){n.removeNode();const r=$t(e,t);i.branches.push(r);const s=o&&o(i,r,!1);dt(r,n),s&&s(),n.currentNode=null}break}}}function $t(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Mt(e,t,n){return e.condition?se(e.condition,Pt(e,t,n),oe(n.helper(C),['""',"true"])):Pt(e,t,n)}function Pt(e,t,o){const{helper:r}=o,s=ee("key",te(t+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return we(e,s,o),e}return X(o,r(x),Q([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==b||(e.isBlock=!0,r(k),r(O)),we(e,s,o),e}}const Rt=ht("for",(e,t,o)=>{const{helper:r}=o;return Lt(e,t,o,t=>{const s=oe(r(L),[t.source]),i=Ne(e,"key"),c=i?128:256;return t.codegenNode=X(o,r(x),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ce(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=_e(e)?e:l&&1===e.children.length&&_e(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&we(c,f,o)):p?c=X(o,r(x),f?Q([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(k),r(O)),s.arguments.push(re(Ht(t.parseResult),c,!0))}})});function Lt(e,t,n,o){if(!t.exp)return;const r=Bt(t.exp);if(!r)return;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:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const At=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Dt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Vt=/^\(|\)$/g;function Bt(e,t){const n=e.loc,o=e.content,r=o.match(At);if(!r)return;const[,s,i]=r,c={source:Ft(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Vt,"").trim();const a=s.indexOf(l),p=l.match(Dt);if(p){l=l.replace(Dt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Ft(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Ft(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Ft(n,l,a)),c}function Ft(e,t,n){return te(t,!1,Se(e,n,t.length))}function Ht({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const jt=te("undefined",!1),Gt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Te(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Kt=(e,t,n)=>re(e,t,!1,!0,t.length?t[0].loc:n);function Ut(e,t,n=Kt){t.helper(J);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ee("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Te(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(ee(e||te("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ce(r)||!(c=Te(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=te("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,T,N;if(b=Te(r,"if"))l=!0,i.push(se(b.exp,Jt(y,x),jt));else if(T=Te(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ce(t)&&Te(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=T.exp?se(T.exp,Jt(y,x),jt):Jt(y,x)}}else if(N=Te(r,"for")){l=!0;const e=N.parseResult||Bt(N.exp);e&&i.push(oe(t.helper(L),[e.source,re(Ht(e),Jt(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ee(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=Q(s.concat(ee("_",te("1",!1))),r);return i.length&&(m=oe(t.helper(D),[m,Z(i)])),{slots:m,hasDynamicSlots:l}}function Jt(e,t){return Q([ee("name",e),ee("fn",t)])}const Wt=new WeakMap,Yt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?qt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||Ne(e,"key",!0));if(o.length>0){const n=zt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Z(o.map(e=>function(e,t){const n=[],o=Wt.get(e);o?n.push(t.helperString(o)):(t.helper(P),t.directives.add(e.name),n.push($e(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=te("true",!1,r);n.push(Q(e.modifiers.map(e=>ee(e,t)),r))}return Z(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===N&&(d=!0,f|=1024),r&&s!==b&&s!==N){const{slots:n,hasDynamicSlots:o}=Ut(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==b){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!it(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=X(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function qt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ne(e,"is"):Te(e,"is");if(r){const e=6===r.type?r.value&&te(r.value.content,!0):r.exp;if(e)return oe(t.helper(M),[e])}const s=le(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper($),t.components.add(o),$e(o,"component"))}function zt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],S=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&it(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(ee(te(t,!0,Se(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=p,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ee(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(Q(Xt(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(F),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(p,e,t);!o&&n.forEach(S),c.push(...n),r&&(a.push(p),u(r)&&Wt.set(p,r))}else a.push(p)}}let v=void 0;return l.length?(c.length&&l.push(Q(Xt(c),s)),v=l.length>1?oe(t.helper(B),l,s):l[0]):c.length&&(v=Q(Xt(c),s)),g?p|=16:(d&&(p|=2),h&&(p|=4),y.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(f||a.length>0)||(p|=512),{props:v,directives:a,patchFlag:p,dynamicPropNames:y}}function Xt(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 s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&Zt(i,r):(t.set(s,r),n.push(r))}return n}function Zt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Z([e.value,t.value],e.loc)}const Qt=(e,t)=>{if(_e(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=en(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=oe(t.helper(A),i,o)}};function en(e,t){let n='"default"',o=void 0;const r=Ne(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=zt(e,t,s);o=n}return{slotName:n,slotProps:o}}const tn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,nn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=ne(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ye(l.content),t=!(e||tn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=ne([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ee(c,l||te("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},on=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,s))]}},rn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Oe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Oe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Oe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:oe(t.helper(_),s)}}}}},sn=(e,t)=>{if(1===e.type&&Te(e,"once",!0))return t.helper(j),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},cn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return ln();if(!ye(4===o.type?o.content:o.loc.source))return ln();const s=r||te("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:ne(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ee(s,e.exp),ee(i,ne(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(me(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:ne([r,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return ln(c)};function ln(e=[]){return{props:e}}function an(e){return[[sn,_t,Rt,Qt,Yt,Gt,rn],{on:nn,bind:on,model:cn}]}function pn(e,t={}){const n=t.onError||S,o="module"===t.mode;!0===t.prefixIdentifiers?n(v(43)):o&&n(v(44));t.cacheHandlers&&n(v(45)),t.scopeId&&!o&&n(v(46));const r=p(e)?Le(e,t):e,[s,i]=an();return ft(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),mt(r,{...t,prefixIdentifiers:!1})}const un=()=>({props:[]}),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol(""),yn=Symbol(""),Sn=Symbol(""),vn=Symbol(""),xn=Symbol(""),bn=Symbol("");let Tn;Y({[fn]:"vModelRadio",[dn]:"vModelCheckbox",[hn]:"vModelText",[mn]:"vModelSelect",[gn]:"vModelDynamic",[yn]:"withModifiers",[Sn]:"withKeys",[vn]:"vShow",[xn]:"Transition",[bn]:"TransitionGroup"});const Nn=t("style,iframe,script,noscript",!0),En={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Tn||(Tn=document.createElement("div"))).innerHTML=e,Tn.textContent},isBuiltInComponent:e=>ce(e,"Transition")?xn:ce(e,"TransitionGroup")?bn: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Nn(e))return 2}return 0}},kn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Cn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},On=/;(?![^(]*\))/g,In=/:(.+)/;function Cn(e,t){const n={};return e.split(On).forEach(e=>{if(e){const t=e.split(In);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function _n(e,t){return v(e,t)}const wn=t("passive,once,capture"),$n=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Mn=t("onkeyup,onkeydown,onkeypress",!0),Pn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?ne(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Rn=[kn],Ln={cloak:un,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,r),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,r),o||te("",!0))]}},model:(e,t,n)=>{const o=cn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=hn,s=!1;if("input"===r){const n=Ne(t,"type");if(n){if(7===n.type)e=gn;else if(n.value)switch(n.value.content){case"radio":e=fn;break;case"checkbox":e=dn;break;case"file":s=!0}}else ke(t)&&(e=gn)}else"select"===r&&(e=mn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>nn(e,0,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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];wn(s)?o.push(s):$n(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Pn(r,"onContextmenu")),c.includes("middle")&&(r=Pn(r,"onMouseup")),c.length&&(s=oe(n.helper(yn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Mn(r.content)||(s=oe(n.helper(Sn),[s,JSON.stringify(i)])),l.length&&(s=Q([ee("handler",s),ee("options",Q(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(vn)})};return e.BASE_TRANSITION=E,e.CAMELIZE=H,e.CREATE_BLOCK=O,e.CREATE_COMMENT=C,e.CREATE_SLOTS=D,e.CREATE_STATIC=w,e.CREATE_TEXT=_,e.CREATE_VNODE=I,e.DOMDirectiveTransforms=Ln,e.DOMNodeTransforms=Rn,e.FRAGMENT=x,e.KEEP_ALIVE=N,e.MERGE_PROPS=B,e.OPEN_BLOCK=k,e.POP_SCOPE_ID=K,e.PUSH_SCOPE_ID=G,e.RENDER_LIST=L,e.RENDER_SLOT=A,e.RESOLVE_COMPONENT=$,e.RESOLVE_DIRECTIVE=P,e.RESOLVE_DYNAMIC_COMPONENT=M,e.SET_BLOCK_TRACKING=j,e.SUSPENSE=T,e.TELEPORT=b,e.TO_DISPLAY_STRING=V,e.TO_HANDLERS=F,e.TRANSITION=xn,e.TRANSITION_GROUP=bn,e.V_MODEL_CHECKBOX=dn,e.V_MODEL_DYNAMIC=gn,e.V_MODEL_RADIO=fn,e.V_MODEL_SELECT=mn,e.V_MODEL_TEXT=hn,e.V_ON_WITH_KEYS=Sn,e.V_ON_WITH_MODIFIERS=yn,e.V_SHOW=vn,e.WITH_CTX=J,e.WITH_DIRECTIVES=R,e.WITH_SCOPE_ID=U,e.advancePositionWithClone=ve,e.advancePositionWithMutation=xe,e.assert=be,e.baseCompile=pn,e.baseParse=Le,e.buildProps=zt,e.buildSlots=Ut,e.compile=function(e,t={}){return pn(e,{...En,...t,nodeTransforms:[...Rn,...t.nodeTransforms||[]],directiveTransforms:{...Ln,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=Z,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:q}},e.createBlockStatement=function(e){return{type:21,body:e,loc:q}},e.createCacheExpression=ie,e.createCallExpression=oe,e.createCompilerError=v,e.createCompoundExpression=ne,e.createConditionalExpression=se,e.createDOMCompilerError=_n,e.createForLoopParams=Ht,e.createFunctionExpression=re,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:q}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:p(e)?te(e,!1,t):e}},e.createObjectExpression=Q,e.createObjectProperty=ee,e.createReturnStatement=function(e){return{type:26,returns:e,loc:q}},e.createRoot=z,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:q}},e.createSimpleExpression=te,e.createStructuralDirectiveTransform=ht,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:q}},e.createTransformContext=ut,e.createVNodeCall=X,e.findDir=Te,e.findProp=Ne,e.generate=mt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=an,e.getInnerRange=Se,e.hasDynamicKeyVBind=ke,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:return!!e(t.source,n)||t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:return!!e(t.condition,n)||t.children.some(t=>e(t,n));case 4:return!t.isStatic&&me(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=W,e.injectProp=we,e.isBindKey=Ee,e.isBuiltInType=ce,e.isCoreComponent=le,e.isMemberExpression=ye,e.isSimpleIdentifier=me,e.isSlotOutlet=_e,e.isTemplateNode=Ce,e.isText=Oe,e.isVSlot=Ie,e.loadDep=ue,e.locStub=q,e.noopDirectiveTransform=un,e.parse=function(e,t={}){return Le(e,{...En,...t})},e.parseJS=fe,e.parserOptions=En,e.processExpression=Et,e.processFor=Lt,e.processIf=wt,e.processSlotOutlet=en,e.registerRuntimeHelpers=Y,e.resolveComponentType=qt,e.toValidAssetId=$e,e.trackSlotScopes=Gt,e.trackVForSlotScopes=(e,t)=>{let n;if(Ce(e)&&e.props.some(Ie)&&(n=Te(e,"for"))){const e=n.parseResult=Bt(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)}}}},e.transform=ft,e.transformBind=on,e.transformElement=Yt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Et(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=Et(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Et(n,t))}}},e.transformModel=cn,e.transformOn=nn,e.transformStyle=kn,e.traverseNode=dt,e.walkJS=de,e}({}); | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,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,feDistanceLight,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"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,a=/^on[^a-z]/,p=Array.isArray,u=e=>"string"==typeof e,f=e=>"symbol"==typeof e,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()),S=d(e=>e.charAt(0).toUpperCase()+e.slice(1));function v(e){throw e}function x(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const b=Symbol(""),T=Symbol(""),N=Symbol(""),E=Symbol(""),k=Symbol(""),O=Symbol(""),I=Symbol(""),C=Symbol(""),_=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),V=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),W=Symbol(""),z={[b]:"Fragment",[T]:"Teleport",[N]:"Suspense",[E]:"KeepAlive",[k]:"BaseTransition",[O]:"openBlock",[I]:"createBlock",[C]:"createVNode",[_]:"createCommentVNode",[w]:"createTextVNode",[$]:"createStaticVNode",[M]:"resolveComponent",[P]:"resolveDynamicComponent",[R]:"resolveDirective",[L]:"withDirectives",[A]:"renderList",[D]:"renderSlot",[V]:"createSlots",[B]:"toDisplayString",[F]:"mergeProps",[H]:"toHandlers",[j]:"camelize",[G]:"setBlockTracking",[K]:"pushScopeId",[U]:"popScopeId",[J]:"withScopeId",[W]:"withCtx"};function Y(e){Object.getOwnPropertySymbols(e).forEach(t=>{z[t]=e[t]})}const q={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function X(e,t=q){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Z(e,t,n,o,r,s,i,c=!1,l=!1,a=q){return e&&(c?(e.helper(O),e.helper(I)):e.helper(C),i&&e.helper(L)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function Q(e,t=q){return{type:17,loc:t,elements:e}}function ee(e,t=q){return{type:15,loc:t,properties:e}}function te(e,t){return{type:16,loc:q,key:u(e)?ne(e,!0):e,value:t}}function ne(e,t,n=q,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function oe(e,t=q){return{type:8,loc:t,children:e}}function re(e,t=[],n=q){return{type:14,loc:n,callee:e,arguments:t}}function se(e,t,n=!1,o=!1,r=q){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ie(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:q}}function ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:q}}const le=(e,t)=>e===t||e===y(t);function ae(e){return le(e,"Teleport")?T:le(e,"Suspense")?N:le(e,"KeepAlive")?E:le(e,"BaseTransition")?k:void 0}let pe,ue;function fe(e){return window._deps[e]}const de=(e,t)=>(Te(!1,"Expression AST analysis can only be performed in non-browser builds."),pe||(pe=fe("@babel/parser").parse),pe(e,t)),he=(e,t)=>(Te(!1,"Expression AST analysis can only be performed in non-browser builds."),(ue||(ue=fe("estree-walker").walk))(e,t)),me=/^\d|[^\$\w]/,ge=e=>!me.test(e),ye=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Se=e=>ye.test(e);function ve(e,t,n){const o={source:e.source.substr(t,n),start:xe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=xe(e.start,e.source,t+n)),o}function xe(e,t,n=t.length){return be({...e},t,n)}function be(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Te(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ne(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)&&(u(t)?r.name===t:t.test(r.name)))return r}}function Ee(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&&ke(s.arg,t))return s}}function ke(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Oe(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Ie(e){return 5===e.type||2===e.type}function Ce(e){return 7===e.type&&"slot"===e.name}function _e(e){return 1===e.type&&3===e.tagType}function we(e){return 1===e.type&&2===e.tagType}function $e(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||u(r))o=ee([t]);else if(14===r.type){const e=r.arguments[0];u(e)||15!==e.type?r.arguments.unshift(ee([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=re(n.helper(F),[ee([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Me(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Pe=/&(gt|lt|amp|apos|quot);/g,Re={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Le={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Pe,(e,t)=>Re[t]),onError:v};function Ae(e,t={}){const n=function(e,t){return{options:{...Le,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=qe(n);return X(De(n,0,[]),Xe(n,o))}function De(e,t,n){const o=Ze(n),r=o?o.ns:0,s=[];for(;!ot(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&Qe(i,e.options.delimiters[0]))c=We(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Qe(i,"\x3c!--")?Fe(e):Qe(i,"<!DOCTYPE")?He(e):Qe(i,"<![CDATA[")&&0!==r?Be(e,n):He(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){et(e,3);continue}if(/[a-z]/i.test(i[2])){Ke(e,1,o);continue}c=He(e)}else/[a-z]/i.test(i[1])?c=je(e,n):"?"===i[1]&&(c=He(e));if(c||(c=ze(e,t)),p(c))for(let e=0;e<c.length;e++)Ve(s,c[e]);else Ve(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ve(e,t){if(3!==t.type){if(2===t.type){const n=Ze(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 Be(e,t){et(e,9);const n=De(e,3,t);return 0===e.source.length||et(e,3),n}function Fe(e){const t=qe(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));)et(e,s-r+1),r=s+1;et(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),et(e,e.source.length);return{type:3,content:n,loc:Xe(e,t)}}function He(e){const t=qe(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),et(e,e.source.length)):(o=e.source.slice(n,r),et(e,r+1)),{type:3,content:o,loc:Xe(e,t)}}function je(e,t){const n=e.inPre,o=e.inVPre,r=Ze(t),s=Ke(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=De(e,l,t);if(t.pop(),s.children=a,rt(e.source,s.tag))Ke(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Qe(e.loc.source,"\x3c!--")}return s.loc=Xe(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Ge=t("if,else,else-if,for,slot");function Ke(e,t,n){const o=qe(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);et(e,r[0].length),tt(e);const c=qe(e),l=e.source;let a=Ue(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=Ue(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Qe(e.source,"/>"),et(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||ae(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&Ge(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Xe(e,o),codegenNode:void 0}}function Ue(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Qe(e.source,">")&&!Qe(e.source,"/>");){if(Qe(e.source,"/")){et(e,1),tt(e);continue}const r=Je(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),tt(e)}return n}function Je(e,t){const n=qe(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}et(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(tt(e),et(e,1),tt(e),r=function(e){const t=qe(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){et(e,1);const t=e.source.indexOf(o);-1===t?n=Ye(e,e.source.length,4):(n=Ye(e,t,4),et(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]););n=Ye(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Xe(e,t)}}(e));const s=Xe(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=Xe(e,nt(e,n,r),nt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=xe(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Qe(o,":")?"bind":Qe(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function We(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=qe(e);et(e,n.length);const i=qe(e),c=qe(e),l=r-n.length,a=e.source.slice(0,l),p=Ye(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&be(i,a,f),be(c,a,l-(p.length-u.length-f)),et(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Xe(e,i,c)},loc:Xe(e,s)}}function ze(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=qe(e);return{type:2,content:Ye(e,o,t),loc:Xe(e,r)}}function Ye(e,t,n){const o=e.source.slice(0,t);return et(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function qe(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Xe(e,t,n){return{start:t,end:n=n||qe(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ze(e){return e[e.length-1]}function Qe(e,t){return e.startsWith(t)}function et(e,t){const{source:n}=e;be(e,n,t),e.source=n.slice(t)}function tt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&et(e,t[0].length)}function nt(e,t,n){return xe(t,e.originalSource.slice(t.offset,n),n)}function ot(e,t,n){const o=e.source;switch(t){case 0:if(Qe(o,"</"))for(let e=n.length-1;e>=0;--e)if(rt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ze(n);if(e&&rt(o,e.tag))return!0;break}case 3:if(Qe(o,"]]>"))return!0}return!o}function rt(e,t){return Qe(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function st(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&ct(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=ut(e);if(!(t&&512!==t&&1!==t||lt(i)||at())){const t=pt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&ct(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,it(e,e.children[0]))}function it(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!we(t)}function ct(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(ut(o)||lt(e)||at())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!ct(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return ct(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>u(e)||f(e)||ct(e,t));default:return!1}}function lt(e){return!(!Ee(e,"key",!0)&&!Ee(e,"ref",!0))}function at(e){return!1}function pt(e){const t=e.codegenNode;if(13===t.type)return t.props}function ut(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ft(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=v}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${z[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),ne(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ce(++d.cached,e,t)};return d}function dt(e,t){const o=ft(e,t);ht(e,o),t.hoistStatic&&st(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(it(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(O),o(I)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Z(t,o(b),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function ht(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(p(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(_);break;case 5:t.ssr||t.helper(B);break;case 9:for(let n=0;n<e.branches.length;n++)ht(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];u(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ht(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function mt(e,t){const n=u(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(Ce))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}}}function gt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${z[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${z[e]}: _${z[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[C,_,w,$].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),xt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${z[e]}: _${z[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(yt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(yt(e.directives,"directive",n),e.temps>0&&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?xt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function yt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?M:R);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Me(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function St(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),vt(e,t,n),n&&t.deindent(),t.push("]")}function vt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];u(c)?r(c):p(c)?St(c,t):xt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function xt(e,t){if(u(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:xt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:bt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(B)}(`),xt(e.content,t),n(")")}(e,t);break;case 12:xt(e.codegenNode,t);break;case 8:Tt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(L)+"(");p&&n(`(${o(O)}(${u?"true":""}), `);n(o(p?I:C)+"(",e),vt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),xt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=u(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),vt(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Nt(o,t),n(": "),xt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){St(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${z[W]}(`);n("(",e),p(s)?vt(s,t):s&&xt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?St(i,t):xt(i,t)):c&&xt(c,t);(l||c)&&(r(),n("}"));a&&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=!ge(n.content);e&&i("("),bt(n,t),e&&i(")")}else i("("),xt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),xt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;xt(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(G)}(-1),`),i());n(`_cache[${e.index}] = `),xt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(G)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function bt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Tt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];u(o)?t.push(o):xt(o,t)}}function Nt(e,t){const{push:n}=t;if(8===e.type)n("["),Tt(e,t),n("]");else if(e.isStatic){n(ge(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Et=t("true,false,null,this");function kt(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(ge(s))return n||t.identifiers[s]||o(s)||Et(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${n?"=>{}":""}`;try{c=de(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const a=[],p=Object.create(t.identifiers);he(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>a.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!Ot(t)||t.id!==e&&!t.params.includes(e))&&!_t(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!o(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!p[e.name]&&n?(Ct(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,a.push(e)):_t(e,t)||(n&&p[e.name]||i||(e.isConstant=!0),a.push(e))}}else Ot(e)&&e.params.forEach(t=>he(t,{enter(t,n){if(!("Identifier"!==t.type||_t(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in p?p[n]++:p[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{p[e]--,0===p[e]&&delete p[e]})}});const u=[];let f;return a.sort((e,t)=>e.start-t.start),a.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=a[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(ne(t.name,!1,{source:l,start:xe(e.loc.start,l,o),end:xe(e.loc.start,l,r)},t.isConstant)),n===a.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=oe(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(p),f}const Ot=e=>/Function(Expression|Declaration)$/.test(e.type),It=e=>e&&"ObjectProperty"===e.type&&!e.computed,Ct=(e,t)=>It(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,_t=(e,t)=>It(t)&&t.key===e;const wt=mt(/^(if|else|else-if)$/,(e,t,n)=>$t(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Pt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Pt(t,e.branches.length-1,n)}}));function $t(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=ne("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Mt(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&&9===i.type){n.removeNode();const r=Mt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);ht(r,n),s&&s(),n.currentNode=null}break}}}function Mt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Pt(e,t,n){return e.condition?ie(e.condition,Rt(e,t,n),re(n.helper(_),['""',"true"])):Rt(e,t,n)}function Rt(e,t,o){const{helper:r}=o,s=te("key",ne(t+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return $e(e,s,o),e}return Z(o,r(b),ee([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==T||(e.isBlock=!0,r(O),r(I)),$e(e,s,o),e}}const Lt=mt("for",(e,t,o)=>{const{helper:r}=o;return At(e,t,o,t=>{const s=re(r(A),[t.source]),i=Ee(e,"key"),c=i?128:256;return t.codegenNode=Z(o,r(b),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=_e(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=we(e)?e:l&&1===e.children.length&&we(e.children[0])?e.children[0]:null,f=i?te("key",6===i.type?ne(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&$e(c,f,o)):p?c=Z(o,r(b),f?ee([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(O),r(I)),s.arguments.push(se(jt(t.parseResult),c,!0))}})});function At(e,t,n,o){if(!t.exp)return;const r=Ft(t.exp);if(!r)return;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:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Dt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Bt=/^\(|\)$/g;function Ft(e,t){const n=e.loc,o=e.content,r=o.match(Dt);if(!r)return;const[,s,i]=r,c={source:Ht(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Bt,"").trim();const a=s.indexOf(l),p=l.match(Vt);if(p){l=l.replace(Vt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Ht(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Ht(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Ht(n,l,a)),c}function Ht(e,t,n){return ne(t,!1,ve(e,n,t.length))}function jt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(ne("_",!1)),o.push(t)),n&&(t||(e||o.push(ne("_",!1)),o.push(ne("__",!1))),o.push(n)),o}const Gt=ne("undefined",!1),Kt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ne(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Ut=(e,t,n)=>se(e,t,!1,!0,t.length?t[0].loc:n);function Jt(e,t,n=Ut){t.helper(W);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>te("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Ne(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(te(e||ne("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!_e(r)||!(c=Ne(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=ne("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,T,N;if(b=Ne(r,"if"))l=!0,i.push(ie(b.exp,Wt(y,x),Gt));else if(T=Ne(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&_e(t)&&Ne(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=T.exp?ie(T.exp,Wt(y,x),Gt):Wt(y,x)}}else if(N=Ne(r,"for")){l=!0;const e=N.parseResult||Ft(N.exp);e&&i.push(re(t.helper(A),[e.source,se(jt(e),Wt(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(te(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=ee(s.concat(te("_",ne("1",!1))),r);return i.length&&(m=re(t.helper(V),[m,Q(i)])),{slots:m,hasDynamicSlots:l}}function Wt(e,t){return ee([te("name",e),te("fn",t)])}const zt=new WeakMap,Yt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?qt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||Ee(e,"key",!0));if(o.length>0){const n=Xt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Q(o.map(e=>function(e,t){const n=[],o=zt.get(e);o?n.push(t.helperString(o)):(t.helper(R),t.directives.add(e.name),n.push(Me(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(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(ee(e.modifiers.map(e=>te(e,t)),r))}return Q(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===E&&(d=!0,f|=1024),r&&s!==T&&s!==E){const{slots:n,hasDynamicSlots:o}=Jt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==T){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!ct(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=Z(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function qt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ee(e,"is"):Ne(e,"is");if(r){const e=6===r.type?r.value&&ne(r.value.content,!0):r.exp;if(e)return re(t.helper(P),[e])}const s=ae(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(M),t.components.add(o),Me(o,"component"))}function Xt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let u=0,d=!1,h=!1,m=!1,g=!1,y=!1;const S=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>a.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(g=!0),20===t.type||(4===t.type||8===t.type)&&ct(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||S.includes(n)||S.push(n):m=!0:h=!0}else y=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(d=!0),"is"===t&&"component"===r)continue;c.push(te(ne(t,!0,ve(e,0,t.length)),ne(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&ke(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){y=!0,u&&(c.length&&(l.push(ee(Zt(c),s)),c=[]),l.push(h?u:{type:14,loc:d,callee:t.helper(H),arguments:[u]}));continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),f(r)&&zt.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(ee(Zt(c),s)),x=l.length>1?re(t.helper(F),l,s):l[0]):c.length&&(x=ee(Zt(c),s)),y?u|=16:(h&&(u|=2),m&&(u|=4),S.length&&(u|=8),g&&(u|=32)),0!==u&&32!==u||!(d||p.length>0)||(u|=512),{props:x,directives:p,patchFlag:u,dynamicPropNames:S}}function Zt(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 s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&Qt(i,r):(t.set(s,r),n.push(r))}return n}function Qt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Q([e.value,t.value],e.loc)}const en=(e,t)=>{if(we(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=tn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=re(t.helper(D),i,o)}};function tn(e,t){let n='"default"',o=void 0;const r=Ee(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=Xt(e,t,s);o=n}return{slotName:n,slotProps:o}}const nn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,on=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=ne(`on${e.startsWith("vnode")?S(m(e)):S(e)}`,!0,i.loc)}else c=oe(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=Se(l.content),t=!(e||nn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=oe([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[te(c,l||ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},rn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?m(i.content):`${n.helperString(j)}(${i.content})`:(i.children.unshift(`${n.helperString(j)}(`),i.children.push(")"))),{props:[te(i,o||ne("",!0,s))]}},sn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Ie(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Ie(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Ie(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:re(t.helper(w),s)}}}}},cn=(e,t)=>{if(1===e.type&&Ne(e,"once",!0))return t.helper(G),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},ln=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return an();if(!Se(4===o.type?o.content:o.loc.source))return an();const s=r||ne("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:oe(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[te(s,e.exp),te(i,oe(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(ge(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:oe([r,' + "Modifiers"']):"modelModifiers";c.push(te(n,ne(`{ ${t} }`,!1,e.loc,!0)))}return an(c)};function an(e=[]){return{props:e}}function pn(e){return[[cn,wt,Lt,en,Yt,Kt,sn],{on:on,bind:rn,model:ln}]}function un(e,t={}){const n=t.onError||v,o="module"===t.mode;!0===t.prefixIdentifiers?n(x(43)):o&&n(x(44));t.cacheHandlers&&n(x(45)),t.scopeId&&!o&&n(x(46));const r=u(e)?Ae(e,t):e,[s,i]=pn();return dt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),gt(r,{...t,prefixIdentifiers:!1})}const fn=()=>({props:[]}),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol(""),yn=Symbol(""),Sn=Symbol(""),vn=Symbol(""),xn=Symbol(""),bn=Symbol(""),Tn=Symbol("");let Nn;Y({[dn]:"vModelRadio",[hn]:"vModelCheckbox",[mn]:"vModelText",[gn]:"vModelSelect",[yn]:"vModelDynamic",[Sn]:"withModifiers",[vn]:"withKeys",[xn]:"vShow",[bn]:"Transition",[Tn]:"TransitionGroup"});const En=t("style,iframe,script,noscript",!0),kn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Nn||(Nn=document.createElement("div"))).innerHTML=e,Nn.textContent},isBuiltInComponent:e=>le(e,"Transition")?bn:le(e,"TransitionGroup")?Tn: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(En(e))return 2}return 0}},On=(e,t)=>{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:_n(t.value.content,t.loc),modifiers:[],loc:t.loc})})},In=/;(?![^(]*\))/g,Cn=/:(.+)/;function _n(e,t){const n={};return e.split(In).forEach(e=>{if(e){const t=e.split(Cn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),ne(JSON.stringify(n),!1,t,!0)}function wn(e,t){return x(e,t)}const $n=t("passive,once,capture"),Mn=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Pn=t("onkeyup,onkeydown,onkeypress",!0),Rn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?ne(t,!0):4!==e.type?oe(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Ln=[On],An={cloak:fn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[te(ne("innerHTML",!0,r),o||ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[te(ne("textContent",!0,r),o||ne("",!0))]}},model:(e,t,n)=>{const o=ln(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=mn,s=!1;if("input"===r){const n=Ee(t,"type");if(n){if(7===n.type)e=yn;else if(n.value)switch(n.value.content){case"radio":e=dn;break;case"checkbox":e=hn;break;case"file":s=!0}}else Oe(t)&&(e=yn)}else"select"===r&&(e=gn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>on(e,0,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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];$n(s)?o.push(s):Mn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Rn(r,"onContextmenu")),c.includes("middle")&&(r=Rn(r,"onMouseup")),c.length&&(s=re(n.helper(Sn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Pn(r.content)||(s=re(n.helper(vn),[s,JSON.stringify(i)])),l.length&&(s=ee([te("handler",s),te("options",ee(l.map(e=>te(e,ne("true",!1)))))])),{props:[te(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(xn)})};return e.BASE_TRANSITION=k,e.CAMELIZE=j,e.CREATE_BLOCK=I,e.CREATE_COMMENT=_,e.CREATE_SLOTS=V,e.CREATE_STATIC=$,e.CREATE_TEXT=w,e.CREATE_VNODE=C,e.DOMDirectiveTransforms=An,e.DOMNodeTransforms=Ln,e.FRAGMENT=b,e.KEEP_ALIVE=E,e.MERGE_PROPS=F,e.OPEN_BLOCK=O,e.POP_SCOPE_ID=U,e.PUSH_SCOPE_ID=K,e.RENDER_LIST=A,e.RENDER_SLOT=D,e.RESOLVE_COMPONENT=M,e.RESOLVE_DIRECTIVE=R,e.RESOLVE_DYNAMIC_COMPONENT=P,e.SET_BLOCK_TRACKING=G,e.SUSPENSE=N,e.TELEPORT=T,e.TO_DISPLAY_STRING=B,e.TO_HANDLERS=H,e.TRANSITION=bn,e.TRANSITION_GROUP=Tn,e.V_MODEL_CHECKBOX=hn,e.V_MODEL_DYNAMIC=yn,e.V_MODEL_RADIO=dn,e.V_MODEL_SELECT=gn,e.V_MODEL_TEXT=mn,e.V_ON_WITH_KEYS=vn,e.V_ON_WITH_MODIFIERS=Sn,e.V_SHOW=xn,e.WITH_CTX=W,e.WITH_DIRECTIVES=L,e.WITH_SCOPE_ID=J,e.advancePositionWithClone=xe,e.advancePositionWithMutation=be,e.assert=Te,e.baseCompile=un,e.baseParse=Ae,e.buildProps=Xt,e.buildSlots=Jt,e.compile=function(e,t={}){return un(e,{...kn,...t,nodeTransforms:[...Ln,...t.nodeTransforms||[]],directiveTransforms:{...An,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=Q,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:q}},e.createBlockStatement=function(e){return{type:21,body:e,loc:q}},e.createCacheExpression=ce,e.createCallExpression=re,e.createCompilerError=x,e.createCompoundExpression=oe,e.createConditionalExpression=ie,e.createDOMCompilerError=wn,e.createForLoopParams=jt,e.createFunctionExpression=se,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:q}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:u(e)?ne(e,!1,t):e}},e.createObjectExpression=ee,e.createObjectProperty=te,e.createReturnStatement=function(e){return{type:26,returns:e,loc:q}},e.createRoot=X,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:q}},e.createSimpleExpression=ne,e.createStructuralDirectiveTransform=mt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:q}},e.createTransformContext=ft,e.createVNodeCall=Z,e.findDir=Ne,e.findProp=Ee,e.generate=gt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=pn,e.getInnerRange=ve,e.hasDynamicKeyVBind=Oe,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some(t=>e(t,n));case 11:return!!e(t.source,n)||t.children.some(t=>e(t,n));case 9:return t.branches.some(t=>e(t,n));case 10:return!!e(t.condition,n)||t.children.some(t=>e(t,n));case 4:return!t.isStatic&&ge(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=z,e.injectProp=$e,e.isBindKey=ke,e.isBuiltInType=le,e.isCoreComponent=ae,e.isMemberExpression=Se,e.isSimpleIdentifier=ge,e.isSlotOutlet=we,e.isTemplateNode=_e,e.isText=Ie,e.isVSlot=Ce,e.loadDep=fe,e.locStub=q,e.noopDirectiveTransform=fn,e.parse=function(e,t={}){return Ae(e,{...kn,...t})},e.parseJS=de,e.parserOptions=kn,e.processExpression=kt,e.processFor=At,e.processIf=$t,e.processSlotOutlet=tn,e.registerRuntimeHelpers=Y,e.resolveComponentType=qt,e.toValidAssetId=Me,e.trackSlotScopes=Kt,e.trackVForSlotScopes=(e,t)=>{let n;if(_e(e)&&e.props.some(Ce)&&(n=Ne(e,"for"))){const e=n.parseResult=Ft(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)}}}},e.transform=dt,e.transformBind=rn,e.transformElement=Yt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=kt(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=kt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=kt(n,t))}}},e.transformModel=ln,e.transformOn=on,e.transformStyle=On,e.traverseNode=ht,e.walkJS=he,e}({}); |
{ | ||
"name": "@vue/compiler-dom", | ||
"version": "3.0.0-alpha.12", | ||
"version": "3.0.0-alpha.13", | ||
"description": "@vue/compiler-dom", | ||
@@ -37,5 +37,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-alpha.12", | ||
"@vue/compiler-core": "3.0.0-alpha.12" | ||
"@vue/shared": "3.0.0-alpha.13", | ||
"@vue/compiler-core": "3.0.0-alpha.13" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
579991
14955
+ Added@vue/compiler-core@3.0.0-alpha.13(transitive)
+ Added@vue/shared@3.0.0-alpha.13(transitive)
- Removed@vue/compiler-core@3.0.0-alpha.12(transitive)
- Removed@vue/shared@3.0.0-alpha.12(transitive)
Updated@vue/shared@3.0.0-alpha.13