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