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