UNPKG

@simoko/tw-zip

Version:
12 lines (11 loc) 219 kB
(function () { 'use strict'; var Bp=Object.create;var yr=Object.defineProperty;var jp=Object.getOwnPropertyDescriptor;var Hp=Object.getOwnPropertyNames,Mc=Object.getOwnPropertySymbols,Up=Object.getPrototypeOf,Fc=Object.prototype.hasOwnProperty,Kp=Object.prototype.propertyIsEnumerable;var $c=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fi=(e,t)=>{for(var n in t||(t={}))Fc.call(t,n)&&$c(e,n,t[n]);if(Mc)for(var n of Mc(t))Kp.call(t,n)&&$c(e,n,t[n]);return e};var Un=(e,t)=>()=>(e&&(t=e(e=0)),t);var pi=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),di=(e,t)=>{for(var n in t)yr(e,n,{get:t[n],enumerable:!0});},Ds=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Hp(t))!Fc.call(e,s)&&s!==n&&yr(e,s,{get:()=>t[s],enumerable:!(r=jp(t,s))||r.enumerable});return e},xc=(e,t,n)=>(Ds(e,t,"default"),n&&Ds(n,t,"default")),Wp=(e,t,n)=>(n=e!=null?Bp(Up(e)):{},Ds(t||!e||!e.__esModule?yr(n,"default",{value:e,enumerable:!0}):n,e)),Kn=e=>Ds(yr({},"__esModule",{value:!0}),e);var Di={};di(Di,{EMPTY_ARR:()=>$t,EMPTY_OBJ:()=>oe,NO:()=>Ft,NOOP:()=>pe,PatchFlagNames:()=>Ze,camelize:()=>ue,capitalize:()=>Se,def:()=>hn,escapeHtml:()=>hd,escapeHtmlComment:()=>gd,extend:()=>Q,genPropsAccessExp:()=>Xp,generateCodeFrame:()=>yi,getGlobalThis:()=>xt,hasChanged:()=>st,hasOwn:()=>re,hyphenate:()=>be,includeBooleanAttr:()=>Cs,invokeArrayFns:()=>ot,isArray:()=>F,isBooleanAttr:()=>ld,isBuiltInDirective:()=>br,isDate:()=>mi,isFunction:()=>z,isGloballyAllowed:()=>Ss,isGloballyWhitelisted:()=>Qp,isHTMLTag:()=>Or,isIntegerKey:()=>Nr,isKnownHtmlAttr:()=>fd,isKnownSvgAttr:()=>pd,isMap:()=>pt,isModelListener:()=>pn,isObject:()=>te,isOn:()=>Ue,isPlainObject:()=>ws,isPromise:()=>Wn,isRegExp:()=>gi,isReservedProp:()=>ht,isSSRSafeAttrName:()=>ad,isSVGTag:()=>Dr,isSet:()=>dt,isSpecialBooleanAttr:()=>bi,isString:()=>Y,isSymbol:()=>Ye,isVoidTag:()=>Ni,looseEqual:()=>mt,looseIndexOf:()=>qn,looseToNumber:()=>mn,makeMap:()=>de,normalizeClass:()=>Bt,normalizeProps:()=>vi,normalizeStyle:()=>Lt,objectToString:()=>Ei,parseStringStyle:()=>Vs,propsToAttrMap:()=>ud,remove:()=>vr,slotFlagsText:()=>_i,stringifyStyle:()=>rd,toDisplayString:()=>Oi,toHandlerKey:()=>$e,toNumber:()=>gn,toRawType:()=>zn,toTypeString:()=>dn});function de(e,t){let n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function Xp(e){return Zp.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function yi(e,t=0,n=e.length){let r=e.split(/(\r?\n)/),s=r.filter((l,c)=>c%2===1);r=r.filter((l,c)=>c%2===0);let o=0,i=[];for(let l=0;l<r.length;l++)if(o+=r[l].length+(s[l]&&s[l].length||0),o>=t){for(let c=l-Bc;c<=l+Bc||n>o;c++){if(c<0||c>=r.length)continue;let a=c+1;i.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${r[c]}`);let f=r[c].length,u=s[c]&&s[c].length||0;if(c===l){let d=t-(o-(f+u)),g=Math.max(1,n>o?f-d:n-t);i.push(" | "+" ".repeat(d)+"^".repeat(g));}else if(c>l){if(n>o){let d=Math.max(Math.min(n-o,f),1);i.push(" | "+"^".repeat(d));}o+=f+u;}}break}return i.join(` `)}function Lt(e){if(F(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],s=Y(r)?Vs(r):Lt(r);if(s)for(let o in s)t[o]=s[o];}return t}else if(Y(e)||te(e))return e}function Vs(e){let t={};return e.replace(nd,"").split(ed).forEach(n=>{if(n){let r=n.split(td);r.length>1&&(t[r[0].trim()]=r[1].trim());}}),t}function rd(e){let t="";if(!e||Y(e))return t;for(let n in e){let r=e[n],s=n.startsWith("--")?n:be(n);(Y(r)||typeof r=="number")&&(t+=`${s}:${r};`);}return t}function Bt(e){let t="";if(Y(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){let r=Bt(e[n]);r&&(t+=r+" ");}else if(te(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}function vi(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Y(t)&&(e.class=Bt(t)),n&&(e.style=Lt(n)),e}function Cs(e){return !!e||e===""}function ad(e){if(hi.hasOwnProperty(e))return hi[e];let t=cd.test(e);return t&&console.error(`unsafe attribute name: ${e}`),hi[e]=!t}function hd(e){let t=""+e,n=dd.exec(t);if(!n)return t;let r="",s,o,i=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 39:s="&#39;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}i!==o&&(r+=t.slice(i,o)),i=o+1,r+=s;}return i!==o?r+t.slice(i,o):r}function gd(e){return e.replace(md,"")}function Ed(e,t){if(e.length!==t.length)return !1;let n=!0;for(let r=0;n&&r<e.length;r++)n=mt(e[r],t[r]);return n}function mt(e,t){if(e===t)return !0;let n=mi(e),r=mi(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ye(e),r=Ye(t),n||r)return e===t;if(n=F(e),r=F(t),n||r)return n&&r?Ed(e,t):!1;if(n=te(e),r=te(t),n||r){if(!n||!r)return !1;let s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return !1;for(let i in e){let l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!mt(e[i],t[i]))return !1}}return String(e)===String(t)}function qn(e,t){return e.findIndex(n=>mt(n,t))}var oe,$t,pe,Ft,zp,Ue,pn,Q,vr,qp,re,F,pt,dt,mi,gi,z,Y,Ye,te,Wn,Ei,dn,zn,ws,Nr,ht,br,Ts,Jp,ue,Yp,be,Se,$e,st,ot,hn,mn,gn,Lc,xt,Zp,Ze,_i,Gp,Ss,Qp,Bc,ed,td,nd,sd,od,id,Or,Dr,Ni,jc,bi,ld,cd,hi,ud,fd,pd,dd,md,Oi,Hc,gt=Un(()=>{oe=process.env.NODE_ENV!=="production"?Object.freeze({}):{},$t=process.env.NODE_ENV!=="production"?Object.freeze([]):[],pe=()=>{},Ft=()=>!1,zp=/^on[^a-z]/,Ue=e=>zp.test(e),pn=e=>e.startsWith("onUpdate:"),Q=Object.assign,vr=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1);},qp=Object.prototype.hasOwnProperty,re=(e,t)=>qp.call(e,t),F=Array.isArray,pt=e=>dn(e)==="[object Map]",dt=e=>dn(e)==="[object Set]",mi=e=>dn(e)==="[object Date]",gi=e=>dn(e)==="[object RegExp]",z=e=>typeof e=="function",Y=e=>typeof e=="string",Ye=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",Wn=e=>(te(e)||z(e))&&z(e.then)&&z(e.catch),Ei=Object.prototype.toString,dn=e=>Ei.call(e),zn=e=>dn(e).slice(8,-1),ws=e=>dn(e)==="[object Object]",Nr=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ht=de(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),br=de("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ts=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jp=/-(\w)/g,ue=Ts(e=>e.replace(Jp,(t,n)=>n?n.toUpperCase():"")),Yp=/\B([A-Z])/g,be=Ts(e=>e.replace(Yp,"-$1").toLowerCase()),Se=Ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),$e=Ts(e=>e?`on${Se(e)}`:""),st=(e,t)=>!Object.is(e,t),ot=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t);},hn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n});},mn=e=>{let t=parseFloat(e);return isNaN(t)?e:t},gn=e=>{let t=Y(e)?Number(e):NaN;return isNaN(t)?e:t},xt=()=>Lc||(Lc=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),Zp=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;Ze={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},_i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Gp="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Ss=de(Gp),Qp=Ss,Bc=2;ed=/;(?![^(]*\))/g,td=/:([^]+)/,nd=/\/\*[^]*?\*\//g;sd="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",od="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",id="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Or=de(sd),Dr=de(od),Ni=de(id),jc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bi=de(jc),ld=de(jc+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");cd=/[>/="'\u0009\u000a\u000c\u0020]/,hi={};ud={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},fd=de("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),pd=de("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),dd=/["'&<>]/;md=/^-?>|<!--|-->|--!>|<!-$/g;Oi=e=>Y(e)?e:e==null?"":F(e)||te(e)&&(e.toString===Ei||!z(e.toString))?JSON.stringify(e,Hc,2):String(e),Hc=(e,t)=>t&&t.__v_isRef?Hc(e,t.value):pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:dt(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!F(t)&&!ws(t)?String(t):t;});function ki(e){throw e}function oa(e){process.env.NODE_ENV!=="production"&&console.warn(`[Vue warn] ${e.message}`);}function ie(e,t,n,r){let s=process.env.NODE_ENV!=="production"?(n||_d)[e]+(r||""):e,o=new SyntaxError(String(s));return o.code=e,o.loc=t,o}function Li(e){Object.getOwnPropertySymbols(e).forEach(t=>{_n[t]=e[t];});}function fa(e,t=De){return {type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Xn(e,t,n,r,s,o,i,l=!1,c=!1,a=!1,f=De){return e&&(l?(e.helper(Kt),e.helper(Nn(e.inSSR,a))):e.helper(vn(e.inSSR,a)),i&&e.helper(Ys)),{type:13,tag:t,props:n,children:r,patchFlag:s,dynamicProps:o,directives:i,isBlock:l,disableTracking:c,isComponent:a,loc:f}}function rr(e,t=De){return {type:17,loc:t,elements:e}}function Ke(e,t=De){return {type:15,loc:t,properties:e}}function he(e,t){return {type:16,loc:De,key:Y(e)?ne(e,!0):e,value:t}}function ne(e,t=!1,n=De,r=0){return {type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function yd(e,t){return {type:5,loc:t,content:Y(e)?ne(e,!1,t):e}}function We(e,t=De){return {type:8,loc:t,children:e}}function ge(e,t=[],n=De){return {type:14,loc:n,callee:e,arguments:t}}function yn(e,t=void 0,n=!1,r=!1,s=De){return {type:18,params:e,returns:t,newline:n,isSlot:r,loc:s}}function Ls(e,t,n,r=!0){return {type:19,test:e,consequent:t,alternate:n,newline:r,loc:De}}function pa(e,t,n=!1){return {type:20,index:e,value:t,isVNode:n,loc:De}}function da(e){return {type:21,body:e,loc:De}}function vd(e){return {type:22,elements:e,loc:De}}function Nd(e,t,n){return {type:23,test:e,consequent:t,alternate:n,loc:De}}function bd(e,t){return {type:24,left:e,right:t,loc:De}}function Od(e){return {type:25,expressions:e,loc:De}}function Dd(e){return {type:26,returns:e,loc:De}}function vn(e,t){return e||t?Us:Ks}function Nn(e,t){return e||t?Ri:Ai}function no(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(vn(r,e.isComponent)),t(Kt),t(Nn(r,e.isComponent)));}function Bi(e){if(Tt(e,"Teleport"))return Jn;if(Tt(e,"Suspense"))return Hs;if(Tt(e,"KeepAlive"))return Sr;if(Tt(e,"BaseTransition"))return Ii}function Hi(e,t,n){let s={source:e.source.slice(t,t+n),start:kr(e.start,e.source,t),end:e.end};return n!=null&&(s.end=kr(e.start,e.source,t+n)),s}function kr(e,t,n=t.length){return Ir(Q({},e),t,n)}function Ir(e,t,n=t.length){let r=0,s=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(r++,s=o);return e.offset+=n,e.line+=r,e.column=s===-1?e.column+n:n-s,e}function Ti(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Fe(e,t,n=!1){for(let r=0;r<e.props.length;r++){let s=e.props[r];if(s.type===7&&(n||s.exp)&&(Y(t)?s.name===t:t.test(s.name)))return s}}function Wt(e,t,n=!1,r=!1){for(let s=0;s<e.props.length;s++){let o=e.props[s];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||r))return o}else if(o.name==="bind"&&(o.exp||r)&&Ht(o.arg,t))return o}}function Ht(e,t){return !!(e&&Ce(e)&&e.content===t)}function Ui(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Rs(e){return e.type===5||e.type===2}function Ki(e){return e.type===7&&e.name==="slot"}function Gn(e){return e.type===1&&e.tagType===3}function Rr(e){return e.type===1&&e.tagType===2}function ma(e,t=[]){if(e&&!Y(e)&&e.type===14){let n=e.callee;if(!Y(n)&&Pd.has(n))return ma(e.arguments[0],t.concat(e))}return [e,t]}function Ar(e,t,n){let r,s=e.type===13?e.props:e.arguments[2],o=[],i;if(s&&!Y(s)&&s.type===14){let l=ma(s);s=l[0],o=l[1],i=o[o.length-1];}if(s==null||Y(s))r=Ke([t]);else if(s.type===14){let l=s.arguments[0];!Y(l)&&l.type===15?Uc(t,l)||l.properties.unshift(t):s.callee===Qs?r=ge(n.helper(Cr),[Ke([t]),s]):s.arguments.unshift(Ke([t])),!r&&(r=s);}else s.type===15?(Uc(t,s)||s.properties.unshift(t),r=s):(r=ge(n.helper(Cr),[Ke([t]),s]),i&&i.callee===nr&&(i=o[o.length-2]));e.type===13?i?i.arguments[0]=r:e.props=r:i?i.arguments[0]=r:e.arguments[2]=r;}function Uc(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===r);}return n}function Qn(e,t){return `_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function it(e,t){if(!e||Object.keys(t).length===0)return !1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(it(r.arg,t)||it(r.exp,t)))return !0}return e.children.some(n=>it(n,t));case 11:return it(e.source,t)?!0:e.children.some(n=>it(n,t));case 9:return e.branches.some(n=>it(n,t));case 10:return it(e.condition,t)?!0:e.children.some(n=>it(n,t));case 4:return !e.isStatic&&$r(e.content)&&!!t[e.content];case 8:return e.children.some(n=>te(n)&&it(n,t));case 5:case 12:return it(e.content,t);case 2:case 3:return !1;default:return process.env.NODE_ENV,!1}}function ga(e){return e.type===14&&e.callee===to?e.arguments[1].returns:e}function Si(e,t){let n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function Ut(e,t){let n=Si("MODE",t),r=Si(e,t);return n===3?r===!0:r!==!1}function St(e,t,n,...r){let s=Ut(e,t);return process.env.NODE_ENV!=="production"&&s&&Fr(e,t,n,...r),s}function Fr(e,t,n,...r){if(Si(e,t)==="suppress-warning")return;let{message:o,link:i}=kd[e],l=`(deprecation ${e}) ${typeof o=="function"?o(...r):o}${i?` Details: ${i}`:""}`,c=new SyntaxError(l);c.code=e,n&&(c.loc=n),t.onWarn(c);}function ro(e,t={}){let n=Ad(e,t),r=ze(n);return fa(Wi(n,0,[]),qe(n,r))}function Ad(e,t){let n=Q({},Kc),r;for(r in t)n[r]=t[r]===void 0?Kc[r]:t[r];return {options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function Wi(e,t,n){let r=so(n),s=r?r.ns:0,o=[];for(;!Ud(e,t,n);){let l=e.source,c;if(t===0||t===1){if(!e.inVPre&&Pe(l,e.options.delimiters[0]))c=jd(e,t);else if(t===0&&l[0]==="<")if(l.length===1)le(e,5,1);else if(l[1]==="!")Pe(l,"<!--")?c=$d(e):Pe(l,"<!DOCTYPE")?c=wr(e):Pe(l,"<![CDATA[")?s!==0?c=Md(e,n):(le(e,1),c=wr(e)):(le(e,11),c=wr(e));else if(l[1]==="/")if(l.length===2)le(e,5,2);else if(l[2]===">"){le(e,14,2),Oe(e,3);continue}else if(/[a-z]/i.test(l[2])){le(e,23),Vi(e,1,r);continue}else le(e,12,2),c=wr(e);else /[a-z]/i.test(l[1])?(c=Fd(e,n),Ut("COMPILER_NATIVE_TEMPLATE",e)&&c&&c.tag==="template"&&!c.props.some(a=>a.type===7&&Ea(a.name))&&(process.env.NODE_ENV!=="production"&&Fr("COMPILER_NATIVE_TEMPLATE",e,c.loc),c=c.children)):l[1]==="?"?(le(e,21,1),c=wr(e)):le(e,12,1);}if(c||(c=Hd(e,t)),F(c))for(let a=0;a<c.length;a++)Wc(o,c[a]);else Wc(o,c);}let i=!1;if(t!==2&&t!==1){let l=e.options.whitespace!=="preserve";for(let c=0;c<o.length;c++){let a=o[c];if(a.type===2)if(e.inPre)a.content=a.content.replace(/\r\n/g,` `);else if(/[^\t\r\n\f ]/.test(a.content))l&&(a.content=a.content.replace(/[\t\r\n\f ]+/g," "));else {let f=o[c-1],u=o[c+1];!f||!u||l&&(f.type===3&&u.type===3||f.type===3&&u.type===1||f.type===1&&u.type===3||f.type===1&&u.type===1&&/[\r\n]/.test(a.content))?(i=!0,o[c]=null):a.content=" ";}else a.type===3&&!e.options.comments&&(i=!0,o[c]=null);}if(e.inPre&&r&&e.options.isPreTag(r.tag)){let c=o[0];c&&c.type===2&&(c.content=c.content.replace(/^\r?\n/,""));}}return i?o.filter(Boolean):o}function Wc(e,t){if(t.type===2){let n=so(e);if(n&&n.type===2&&n.loc.end.offset===t.loc.start.offset){n.content+=t.content,n.loc.end=t.loc.end,n.loc.source+=t.loc.source;return}}e.push(t);}function Md(e,t){Oe(e,9);let n=Wi(e,3,t);return e.source.length===0?le(e,6):Oe(e,3),n}function $d(e){let t=ze(e),n,r=/--(\!)?>/.exec(e.source);if(!r)n=e.source.slice(4),Oe(e,e.source.length),le(e,7);else {r.index<=3&&le(e,0),r[1]&&le(e,10),n=e.source.slice(4,r.index);let s=e.source.slice(0,r.index),o=1,i=0;for(;(i=s.indexOf("<!--",o))!==-1;)Oe(e,i-o+1),i+4<s.length&&le(e,16),o=i+1;Oe(e,r.index+r[0].length-o+1);}return {type:3,content:n,loc:qe(e,t)}}function wr(e){let t=ze(e),n=e.source[1]==="?"?1:2,r,s=e.source.indexOf(">");return s===-1?(r=e.source.slice(n),Oe(e,e.source.length)):(r=e.source.slice(n,s),Oe(e,s+1)),{type:3,content:r,loc:qe(e,t)}}function Fd(e,t){let n=e.inPre,r=e.inVPre,s=so(t),o=Vi(e,0,s),i=e.inPre&&!n,l=e.inVPre&&!r;if(o.isSelfClosing||e.options.isVoidTag(o.tag))return i&&(e.inPre=!1),l&&(e.inVPre=!1),o;t.push(o);let c=e.options.getTextMode(o,s),a=Wi(e,c,t);t.pop();{let f=o.props.find(u=>u.type===6&&u.name==="inline-template");if(f&&St("COMPILER_INLINE_TEMPLATE",e,f.loc)){let u=qe(e,o.loc.end);f.value={type:2,content:u.source,loc:u};}}if(o.children=a,Ci(e.source,o.tag))Vi(e,1,s);else if(le(e,24,0,o.loc.start),e.source.length===0&&o.tag.toLowerCase()==="script"){let f=a[0];f&&Pe(f.loc.source,"<!--")&&le(e,8);}return o.loc=qe(e,o.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),o}function Vi(e,t,n){let r=ze(e),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),o=s[1],i=e.options.getNamespace(o,n);Oe(e,s[0].length),Mr(e);let l=ze(e),c=e.source;e.options.isPreTag(o)&&(e.inPre=!0);let a=zc(e,t);t===0&&!e.inVPre&&a.some(d=>d.type===7&&d.name==="pre")&&(e.inVPre=!0,Q(e,l),e.source=c,a=zc(e,t).filter(d=>d.name!=="v-pre"));let f=!1;if(e.source.length===0?le(e,9):(f=Pe(e.source,"/>"),t===1&&f&&le(e,4),Oe(e,f?2:1)),t===1)return;if(process.env.NODE_ENV!=="production"&&Ut("COMPILER_V_IF_V_FOR_PRECEDENCE",e)){let d=!1,g=!1;for(let _=0;_<a.length;_++){let D=a[_];if(D.type===7&&(D.name==="if"?d=!0:D.name==="for"&&(g=!0)),d&&g){Fr("COMPILER_V_IF_V_FOR_PRECEDENCE",e,qe(e,r));break}}}let u=0;return e.inVPre||(o==="slot"?u=2:o==="template"?a.some(d=>d.type===7&&Ea(d.name))&&(u=3):xd(o,a,e)&&(u=1)),{type:1,ns:i,tag:o,tagType:u,props:a,isSelfClosing:f,children:[],loc:qe(e,r),codegenNode:void 0}}function xd(e,t,n){let r=n.options;if(r.isCustomElement(e))return !1;if(e==="component"||/^[A-Z]/.test(e)||Bi(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return !0;for(let s=0;s<t.length;s++){let o=t[s];if(o.type===6){if(o.name==="is"&&o.value){if(o.value.content.startsWith("vue:"))return !0;if(St("COMPILER_IS_ON_ELEMENT",n,o.loc))return !0}}else {if(o.name==="is")return !0;if(o.name==="bind"&&Ht(o.arg,"is")&&St("COMPILER_IS_ON_ELEMENT",n,o.loc))return !0}}}function zc(e,t){let n=[],r=new Set;for(;e.source.length>0&&!Pe(e.source,">")&&!Pe(e.source,"/>");){if(Pe(e.source,"/")){le(e,22),Oe(e,1),Mr(e);continue}t===1&&le(e,3);let s=Ld(e,r);s.type===6&&s.value&&s.name==="class"&&(s.value.content=s.value.content.replace(/\s+/g," ").trim()),t===0&&n.push(s),/^[^\t\r\n\f />]/.test(e.source)&&le(e,15),Mr(e);}return n}function Ld(e,t){var n;let r=ze(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&le(e,2),t.add(o),o[0]==="="&&le(e,19);{let c=/["'<]/g,a;for(;a=c.exec(o);)le(e,17,a.index);}Oe(e,o.length);let i;/^[\t\r\n\f ]*=/.test(e.source)&&(Mr(e),Oe(e,1),Mr(e),i=Bd(e),i||le(e,13));let l=qe(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){let c=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),a=Pe(o,"."),f=c[1]||(a||Pe(o,":")?"bind":Pe(o,"@")?"on":"slot"),u;if(c[2]){let g=f==="slot",_=o.lastIndexOf(c[2],o.length-(((n=c[3])==null?void 0:n.length)||0)),D=qe(e,qc(e,r,_),qc(e,r,_+c[2].length+(g&&c[3]||"").length)),S=c[2],R=!0;S.startsWith("[")?(R=!1,S.endsWith("]")?S=S.slice(1,S.length-1):(le(e,27),S=S.slice(1))):g&&(S+=c[3]||""),u={type:4,content:S,isStatic:R,constType:R?3:0,loc:D};}if(i&&i.isQuoted){let g=i.loc;g.start.offset++,g.start.column++,g.end=kr(g.start,i.content),g.source=g.source.slice(1,-1);}let d=c[3]?c[3].slice(1).split("."):[];return a&&d.push("prop"),f==="bind"&&u&&(d.includes("sync")&&St("COMPILER_V_BIND_SYNC",e,l,u.loc.source)&&(f="model",d.splice(d.indexOf("sync"),1)),process.env.NODE_ENV!=="production"&&d.includes("prop")&&St("COMPILER_V_BIND_PROP",e,l)),{type:7,name:f,exp:i&&{type:4,content:i.content,isStatic:!1,constType:0,loc:i.loc},arg:u,modifiers:d,loc:l}}return !e.inVPre&&Pe(o,"v-")&&le(e,26),{type:6,name:o,value:i&&{type:2,content:i.content,loc:i.loc},loc:l}}function Bd(e){let t=ze(e),n,r=e.source[0],s=r==='"'||r==="'";if(s){Oe(e,1);let o=e.source.indexOf(r);o===-1?n=Tr(e,e.source.length,4):(n=Tr(e,o,4),Oe(e,1));}else {let o=/^[^\t\r\n\f >]+/.exec(e.source);if(!o)return;let i=/["'<=`]/g,l;for(;l=i.exec(o[0]);)le(e,18,l.index);n=Tr(e,o[0].length,4);}return {content:n,isQuoted:s,loc:qe(e,t)}}function jd(e,t){let[n,r]=e.options.delimiters,s=e.source.indexOf(r,n.length);if(s===-1){le(e,25);return}let o=ze(e);Oe(e,n.length);let i=ze(e),l=ze(e),c=s-n.length,a=e.source.slice(0,c),f=Tr(e,c,t),u=f.trim(),d=f.indexOf(u);d>0&&Ir(i,a,d);let g=c-(f.length-u.length-d);return Ir(l,a,g),Oe(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:qe(e,i,l)},loc:qe(e,o)}}function Hd(e,t){let n=t===3?["]]>"]:["<",e.options.delimiters[0]],r=e.source.length;for(let i=0;i<n.length;i++){let l=e.source.indexOf(n[i],1);l!==-1&&r>l&&(r=l);}let s=ze(e);return {type:2,content:Tr(e,r,t),loc:qe(e,s)}}function Tr(e,t,n){let r=e.source.slice(0,t);return Oe(e,t),n===2||n===3||!r.includes("&")?r:e.options.decodeEntities(r,n===4)}function ze(e){let{column:t,line:n,offset:r}=e;return {column:t,line:n,offset:r}}function qe(e,t,n){return n=n||ze(e),{start:t,end:n,source:e.originalSource.slice(t.offset,n.offset)}}function so(e){return e[e.length-1]}function Pe(e,t){return e.startsWith(t)}function Oe(e,t){let{source:n}=e;Ir(e,n,t),e.source=n.slice(t);}function Mr(e){let t=/^[\t\r\n\f ]+/.exec(e.source);t&&Oe(e,t[0].length);}function qc(e,t,n){return kr(t,e.originalSource.slice(t.offset,n),n)}function le(e,t,n,r=ze(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(ie(t,{start:r,end:r,source:""}));}function Ud(e,t,n){let r=e.source;switch(t){case 0:if(Pe(r,"</")){for(let s=n.length-1;s>=0;--s)if(Ci(r,n[s].tag))return !0}break;case 1:case 2:{let s=so(n);if(s&&Ci(r,s.tag))return !0;break}case 3:if(Pe(r,"]]>"))return !0;break}return !r}function Ci(e,t){return Pe(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Kd(e,t){As(e,t,_a(e,e.children[0]));}function _a(e,t){let{children:n}=e;return n.length===1&&t.type===1&&!Rr(t)}function As(e,t,n=!1){let{children:r}=e,s=r.length,o=0;for(let i=0;i<r.length;i++){let l=r[i];if(l.type===1&&l.tagType===0){let c=n?0:xe(l,t);if(c>0){if(c>=2){l.codegenNode.patchFlag=-1+(process.env.NODE_ENV!=="production"?" /* HOISTED */":""),l.codegenNode=t.hoist(l.codegenNode),o++;continue}}else {let a=l.codegenNode;if(a.type===13){let f=ba(a);if((!f||f===512||f===1)&&va(l,t)>=2){let u=Na(l);u&&(a.props=t.hoist(u));}a.dynamicProps&&(a.dynamicProps=t.hoist(a.dynamicProps));}}}if(l.type===1){let c=l.tagType===1;c&&t.scopes.vSlot++,As(l,t),c&&t.scopes.vSlot--;}else if(l.type===11)As(l,t,l.children.length===1);else if(l.type===9)for(let c=0;c<l.branches.length;c++)As(l.branches[c],t,l.branches[c].children.length===1);}if(o&&t.transformHoist&&t.transformHoist(r,t,e),o&&o===s&&e.type===1&&e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&F(e.codegenNode.children)){let i=t.hoist(rr(e.codegenNode.children));t.hmr&&(i.content=`[...${i.content}]`),e.codegenNode.children=i;}}function xe(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject")return 0;if(ba(s))return n.set(e,0),0;{let l=3,c=va(e,t);if(c===0)return n.set(e,0),0;c<l&&(l=c);for(let a=0;a<e.children.length;a++){let f=xe(e.children[a],t);if(f===0)return n.set(e,0),0;f<l&&(l=f);}if(l>1)for(let a=0;a<e.props.length;a++){let f=e.props[a];if(f.type===7&&f.name==="bind"&&f.exp){let u=xe(f.exp,t);if(u===0)return n.set(e,0),0;u<l&&(l=u);}}if(s.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(Kt),t.removeHelper(Nn(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(vn(t.inSSR,s.isComponent));}return n.set(e,l),l}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return xe(e.content,t);case 4:return e.constType;case 8:let i=3;for(let l=0;l<e.children.length;l++){let c=e.children[l];if(Y(c)||Ye(c))continue;let a=xe(c,t);if(a===0)return 0;a<i&&(i=a);}return i;default:return process.env.NODE_ENV,0}}function ya(e,t){if(e.type===14&&!Y(e.callee)&&Wd.has(e.callee)){let n=e.arguments[0];if(n.type===4)return xe(n,t);if(n.type===14)return ya(n,t)}return 0}function va(e,t){let n=3,r=Na(e);if(r&&r.type===15){let{properties:s}=r;for(let o=0;o<s.length;o++){let{key:i,value:l}=s[o],c=xe(i,t);if(c===0)return c;c<n&&(n=c);let a;if(l.type===4?a=xe(l,t):l.type===14?a=ya(l,t):a=0,a===0)return a;a<n&&(n=a);}}return n}function Na(e){let t=e.codegenNode;if(t.type===13)return t.props}function ba(e){let t=e.patchFlag;return t?parseInt(t,10):void 0}function Oa(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:s=!1,cacheHandlers:o=!1,nodeTransforms:i=[],directiveTransforms:l={},transformHoist:c=null,isBuiltInComponent:a=pe,isCustomElement:f=pe,expressionPlugins:u=[],scopeId:d=null,slotted:g=!0,ssr:_=!1,inSSR:D=!1,ssrCssVars:S="",bindingMetadata:R=oe,inline:w=!1,isTS:h=!1,onError:E=ki,onWarn:y=oa,compatConfig:L}){let x=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),v={selfName:x&&Se(ue(x[1])),prefixIdentifiers:n,hoistStatic:r,hmr:s,cacheHandlers:o,nodeTransforms:i,directiveTransforms:l,transformHoist:c,isBuiltInComponent:a,isCustomElement:f,expressionPlugins:u,scopeId:d,slotted:g,ssr:_,inSSR:D,ssrCssVars:S,bindingMetadata:R,inline:w,isTS:h,onError:E,onWarn:y,compatConfig:L,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){let T=v.helpers.get(O)||0;return v.helpers.set(O,T+1),O},removeHelper(O){let T=v.helpers.get(O);if(T){let I=T-1;I?v.helpers.set(O,I):v.helpers.delete(O);}},helperString(O){return `_${_n[v.helper(O)]}`},replaceNode(O){if(process.env.NODE_ENV!=="production"){if(!v.currentNode)throw new Error("Node being replaced is already removed.");if(!v.parent)throw new Error("Cannot replace root node.")}v.parent.children[v.childIndex]=v.currentNode=O;},removeNode(O){if(process.env.NODE_ENV!=="production"&&!v.parent)throw new Error("Cannot remove root node.");let T=v.parent.children,I=O?T.indexOf(O):v.currentNode?v.childIndex:-1;if(process.env.NODE_ENV!=="production"&&I<0)throw new Error("node being removed is not a child of current parent");!O||O===v.currentNode?(v.currentNode=null,v.onNodeRemoved()):v.childIndex>I&&(v.childIndex--,v.onNodeRemoved()),v.parent.children.splice(I,1);},onNodeRemoved:()=>{},addIdentifiers(O){},removeIdentifiers(O){},hoist(O){Y(O)&&(O=ne(O)),v.hoists.push(O);let T=ne(`_hoisted_${v.hoists.length}`,!1,O.loc,2);return T.hoisted=O,T},cache(O,T=!1){return pa(v.cached++,O,T)}};return v.filters=new Set,v}function Da(e,t){let n=Oa(e,t);xr(e,n),t.hoistStatic&&Kd(e,n),t.ssr||zd(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters];}function zd(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let s=r[0];if(_a(e,s)&&s.codegenNode){let o=s.codegenNode;o.type===13&&no(o,t),e.codegenNode=o;}else e.codegenNode=s;}else if(r.length>1){let s=64,o=Ze[64];process.env.NODE_ENV!=="production"&&r.filter(i=>i.type!==3).length===1&&(s|=2048,o+=`, ${Ze[2048]}`),e.codegenNode=Xn(t,n(Yn),void 0,e.children,s+(process.env.NODE_ENV!=="production"?` /* ${o} */`:""),void 0,void 0,!0,void 0,!1);}}function qd(e,t){let n=0,r=()=>{n--;};for(;n<e.children.length;n++){let s=e.children[n];Y(s)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=r,xr(s,t));}}function xr(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let o=0;o<n.length;o++){let i=n[o](e,t);if(i&&(F(i)?r.push(...i):r.push(i)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(er);break;case 5:t.ssr||t.helper(tr);break;case 9:for(let o=0;o<e.branches.length;o++)xr(e.branches[o],t);break;case 10:case 11:case 1:case 0:qd(e,t);break}t.currentNode=e;let s=r.length;for(;s--;)r[s]();}function zi(e,t){let n=Y(e)?r=>r===e:r=>e.test(r);return (r,s)=>{if(r.type===1){let{props:o}=r;if(r.tagType===3&&o.some(Ki))return;let i=[];for(let l=0;l<o.length;l++){let c=o[l];if(c.type===7&&n(c.name)){o.splice(l,1),l--;let a=t(r,c,s);a&&i.push(a);}}return i}}}function Jc(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:s="template.vue.html",scopeId:o=null,optimizeImports:i=!1,runtimeGlobalName:l="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:f=!1,isTS:u=!1,inSSR:d=!1}){let g={mode:t,prefixIdentifiers:n,sourceMap:r,filename:s,scopeId:o,optimizeImports:i,runtimeGlobalName:l,runtimeModuleName:c,ssrRuntimeModuleName:a,ssr:f,isTS:u,inSSR:d,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(D){return `_${_n[D]}`},push(D,S){g.code+=D;},indent(){_(++g.indentLevel);},deindent(D=!1){D?--g.indentLevel:_(--g.indentLevel);},newline(){_(g.indentLevel);}};function _(D){g.push(` `+" ".repeat(D));}return g}function Ta(e,t={}){let n=Jc(e,t);t.onContextCreated&&t.onContextCreated(n);let {mode:r,push:s,prefixIdentifiers:o,indent:i,deindent:l,newline:c,scopeId:a,ssr:f}=n,u=Array.from(e.helpers),d=u.length>0,g=!o&&r!=="module",D=n;Jd(e,D);let S=f?"ssrRender":"render",w=(f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${S}(${w}) {`),i(),g&&(s("with (_ctx) {"),i(),d&&(s(`const { ${u.map(wa).join(", ")} } = _Vue`),s(` `),c())),e.components.length&&(wi(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(wi(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),wi(e.filters,"filter",n),c()),e.temps>0){s("let ");for(let h=0;h<e.temps;h++)s(`${h>0?", ":""}_temp${h}`);}return (e.components.length||e.directives.length||e.temps)&&(s(` `),c()),f||s("return "),e.codegenNode?ke(e.codegenNode,n):s("null"),g&&(l(),s("}")),l(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Jd(e,t){let{ssr:n,prefixIdentifiers:r,push:s,newline:o,runtimeModuleName:i,runtimeGlobalName:l,ssrRuntimeModuleName:c}=t,a=l,f=Array.from(e.helpers);if(f.length>0&&(s(`const _Vue = ${a} `),e.hoists.length)){let u=[Us,Ks,er,Ws,Mi].filter(d=>f.includes(d)).map(wa).join(", ");s(`const { ${u} } = _Vue `);}Yd(e.hoists,t),o(),s("return ");}function wi(e,t,{helper:n,push:r,newline:s,isTS:o}){let i=n(t==="filter"?Js:t==="component"?zs:qs);for(let l=0;l<e.length;l++){let c=e[l],a=c.endsWith("__self");a&&(c=c.slice(0,-6)),r(`const ${Qn(c,t)} = ${i}(${JSON.stringify(c)}${a?", true":""})${o?"!":""}`),l<e.length-1&&s();}}function Yd(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r,helper:s,scopeId:o,mode:i}=t;r();for(let l=0;l<e.length;l++){let c=e[l];c&&(n(`const _hoisted_${l+1} = `),ke(c,t),r());}t.pure=!1;}function Zd(e){return Y(e)||e.type===4||e.type===2||e.type===5||e.type===8}function qi(e,t){let n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(r=>F(r)||!Zd(r));t.push("["),n&&t.indent(),Lr(e,t,n),n&&t.deindent(),t.push("]");}function Lr(e,t,n=!1,r=!0){let{push:s,newline:o}=t;for(let i=0;i<e.length;i++){let l=e[i];Y(l)?s(l):F(l)?qi(l,t):ke(l,t),i<e.length-1&&(n?(r&&s(","),o()):r&&s(", "));}}function ke(e,t){if(Y(e)){t.push(e);return}if(Ye(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&Ti(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ke(e.codegenNode,t);break;case 2:Xd(e,t);break;case 4:Sa(e,t);break;case 5:Gd(e,t);break;case 12:ke(e.codegenNode,t);break;case 8:Va(e,t);break;case 3:eh(e,t);break;case 13:th(e,t);break;case 14:rh(e,t);break;case 15:sh(e,t);break;case 17:oh(e,t);break;case 18:ih(e,t);break;case 19:lh(e,t);break;case 20:ch(e,t);break;case 21:Lr(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return Ti(!1,`unhandled codegen node type: ${e.type}`),e}}function Xd(e,t){t.push(JSON.stringify(e.content),e);}function Sa(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e);}function Gd(e,t){let{push:n,helper:r,pure:s}=t;s&&n(oo),n(`${r(tr)}(`),ke(e.content,t),n(")");}function Va(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];Y(r)?t.push(r):ke(r,t);}}function Qd(e,t){let{push:n}=t;if(e.type===8)n("["),Va(e,t),n("]");else if(e.isStatic){let r=$r(e.content)?e.content:JSON.stringify(e.content);n(r,e);}else n(`[${e.content}]`,e);}function eh(e,t){let{push:n,helper:r,pure:s}=t;s&&n(oo),n(`${r(er)}(${JSON.stringify(e.content)})`,e);}function th(e,t){let{push:n,helper:r,pure:s}=t,{tag:o,props:i,children:l,patchFlag:c,dynamicProps:a,directives:f,isBlock:u,disableTracking:d,isComponent:g}=e;f&&n(r(Ys)+"("),u&&n(`(${r(Kt)}(${d?"true":""}), `),s&&n(oo);let _=u?Nn(t.inSSR,g):vn(t.inSSR,g);n(r(_)+"(",e),Lr(nh([o,i,l,c,a]),t),n(")"),u&&n(")"),f&&(n(", "),ke(f,t),n(")"));}function nh(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function rh(e,t){let{push:n,helper:r,pure:s}=t,o=Y(e.callee)?e.callee:r(e.callee);s&&n(oo),n(o+"(",e),Lr(e.arguments,t),n(")");}function sh(e,t){let{push:n,indent:r,deindent:s,newline:o}=t,{properties:i}=e;if(!i.length){n("{}",e);return}let l=i.length>1||process.env.NODE_ENV!=="production"&&i.some(c=>c.value.type!==4);n(l?"{":"{ "),l&&r();for(let c=0;c<i.length;c++){let{key:a,value:f}=i[c];Qd(a,t),n(": "),ke(f,t),c<i.length-1&&(n(","),o());}l&&s(),n(l?"}":" }");}function oh(e,t){qi(e.elements,t);}function ih(e,t){let{push:n,indent:r,deindent:s}=t,{params:o,returns:i,body:l,newline:c,isSlot:a}=e;a&&n(`_${_n[eo]}(`),n("(",e),F(o)?Lr(o,t):o&&ke(o,t),n(") => "),(c||l)&&(n("{"),r()),i?(c&&n("return "),F(i)?qi(i,t):ke(i,t)):l&&ke(l,t),(c||l)&&(s(),n("}")),a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"));}function lh(e,t){let{test:n,consequent:r,alternate:s,newline:o}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(n.type===4){let u=!$r(n.content);u&&i("("),Sa(n,t),u&&i(")");}else i("("),ke(n,t),i(")");o&&l(),t.indentLevel++,o||i(" "),i("? "),ke(r,t),t.indentLevel--,o&&a(),o||i(" "),i(": ");let f=s.type===19;f||t.indentLevel++,ke(s,t),f||t.indentLevel--,o&&c(!0);}function ch(e,t){let{push:n,helper:r,indent:s,deindent:o,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(s(),n(`${r(Pr)}(-1),`),i()),n(`_cache[${e.index}] = `),ke(e.value,t),e.isVNode&&(n(","),i(),n(`${r(Pr)}(1),`),i(),n(`_cache[${e.index}]`),o()),n(")");}function ah(e,t,n=!1,r=[],s=Object.create(null)){}function uh(e,t,n){return !1}function fh(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){let r=t[n];if(r.type==="AssignmentExpression")return !0;if(r.type!=="ObjectProperty"&&!r.type.endsWith("Pattern"))break}}return !1}function ph(e,t){for(let n of e.params)for(let r of jt(n))t(r);}function dh(e,t){for(let n of e.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(let r of n.declarations)for(let s of jt(r.id))t(s);}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id);}}function jt(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(let r of e.properties)r.type==="RestElement"?jt(r.argument,t):jt(r.value,t);break;case"ArrayPattern":e.elements.forEach(r=>{r&&jt(r,t);});break;case"RestElement":jt(e.argument,t);break;case"AssignmentPattern":jt(e.left,t);break}return t}function En(e,t,n=!1,r=!1){let s=e.content;if(s.trim())try{new Function(r?` ${s} `:`return ${n?`(${s}) => {}`:`(${s})`}`);}catch(o){let i=o.message,l=s.replace(_h,"").match(Eh);l&&(i=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(ie(45,e.loc,void 0,i));}}function Ms(e,t,n=!1,r=!1,s=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&En(e,t,n,r),e}function ka(e){return Y(e)?e:e.type===4?e.content:e.children.map(ka).join("")}function Ia(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){let s=t.exp?t.exp.loc:e.loc;n.onError(ie(28,t.loc)),t.exp=ne("true",!1,s);}if(process.env.NODE_ENV!=="production"&&t.exp&&En(t.exp,n),t.name==="if"){let s=Yc(e,t),o={type:9,loc:e.loc,branches:[s]};if(n.replaceNode(o),r)return r(o,s,!0)}else {let s=n.parent.children,o=[],i=s.indexOf(e);for(;i-->=-1;){let l=s[i];if(l&&l.type===3){n.removeNode(l),process.env.NODE_ENV!=="production"&&o.unshift(l);continue}if(l&&l.type===2&&!l.content.trim().length){n.removeNode(l);continue}if(l&&l.type===9){t.name==="else-if"&&l.branches[l.branches.length-1].condition===void 0&&n.onError(ie(30,e.loc)),n.removeNode();let c=Yc(e,t);if(process.env.NODE_ENV!=="production"&&o.length&&!(n.parent&&n.parent.type===1&&Tt(n.parent.tag,"transition"))&&(c.children=[...o,...c.children]),process.env.NODE_ENV!=="production"){let f=c.userKey;f&&l.branches.forEach(({userKey:u})=>{vh(u,f)&&n.onError(ie(29,c.userKey.loc));});}l.branches.push(c);let a=r&&r(l,c,!1);xr(c,n),a&&a(),n.currentNode=null;}else n.onError(ie(30,e.loc));break}}}function Yc(e,t){let n=e.tagType===3;return {type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Fe(e,"for")?e.children:[e],userKey:Wt(e,"key"),isTemplateIf:n}}function Zc(e,t,n){return e.condition?Ls(e.condition,Xc(e,t,n),ge(n.helper(er),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):Xc(e,t,n)}function Xc(e,t,n){let{helper:r}=n,s=he("key",ne(`${t}`,!1,De,2)),{children:o}=e,i=o[0];if(o.length!==1||i.type!==1)if(o.length===1&&i.type===11){let c=i.codegenNode;return Ar(c,s,n),c}else {let c=64,a=Ze[64];return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&o.filter(f=>f.type!==3).length===1&&(c|=2048,a+=`, ${Ze[2048]}`),Xn(n,r(Yn),Ke([s]),o,c+(process.env.NODE_ENV!=="production"?` /* ${a} */`:""),void 0,void 0,!0,!1,!1,e.loc)}else {let c=i.codegenNode,a=ga(c);return a.type===13&&no(a,n),Ar(a,s,n),c}}function vh(e,t){if(!e||e.type!==t.type)return !1;if(e.type===6){if(e.value.content!==t.value.content)return !1}else {let n=e.exp,r=t.exp;if(n.type!==r.type||n.type!==4||n.isStatic!==r.isStatic||n.content!==r.content)return !1}return !0}function Nh(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value);}function Ra(e,t,n,r){if(!t.exp){n.onError(ie(31,t.loc));return}let s=Ji(t.exp,n);if(!s){n.onError(ie(32,t.loc));return}let{addIdentifiers:o,removeIdentifiers:i,scopes:l}=n,{source:c,value:a,key:f,index:u}=s,d={type:11,loc:t.loc,source:c,valueAlias:a,keyAlias:f,objectIndexAlias:u,parseResult:s,children:Gn(e)?e.children:[e]};n.replaceNode(d),l.vFor++;let g=r&&r(d);return ()=>{l.vFor--,g&&g();}}function Ji(e,t){let n=e.loc,r=e.content,s=r.match(Oh);if(!s)return;let[,o,i]=s,l={source:Ps(n,i.trim(),r.indexOf(i,o.length)),value:void 0,key:void 0,index:void 0};process.env.NODE_ENV!=="production"&&En(l.source,t);let c=o.trim().replace(Dh,"").trim(),a=o.indexOf(c),f=c.match(Gc);if(f){c=c.replace(Gc,"").trim();let u=f[1].trim(),d;if(u&&(d=r.indexOf(u,a+c.length),l.key=Ps(n,u,d),process.env.NODE_ENV!=="production"&&En(l.key,t,!0)),f[2]){let g=f[2].trim();g&&(l.index=Ps(n,g,r.indexOf(g,l.key?d+u.length:a+c.length)),process.env.NODE_ENV!=="production"&&En(l.index,t,!0));}}return c&&(l.value=Ps(n,c,a),process.env.NODE_ENV!=="production"&&En(l.value,t,!0)),l}function Ps(e,t,n){return ne(t,!1,Hi(e,n,t.length))}function Bs({value:e,key:t,index:n},r=[]){return wh([e,t,n,...r])}function wh(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||ne("_".repeat(r+1),!1))}function Ma(e,t,n=Sh){t.helper(eo);let{children:r,loc:s}=e,o=[],i=[],l=t.scopes.vSlot>0||t.scopes.vFor>0,c=Fe(e,"slot",!0);if(c){let{arg:S,exp:R}=c;S&&!Ce(S)&&(l=!0),o.push(he(S||ne("default",!0),n(R,void 0,r,s)));}let a=!1,f=!1,u=[],d=new Set,g=0;for(let S=0;S<r.length;S++){let R=r[S],w;if(!Gn(R)||!(w=Fe(R,"slot",!0))){R.type!==3&&u.push(R);continue}if(c){t.onError(ie(37,w.loc));break}a=!0;let{children:h,loc:E}=R,{arg:y=ne("default",!0),exp:L,loc:x}=w,v;Ce(y)?v=y?y.content:"default":l=!0;let O=Fe(R,"for"),T=n(L,O==null?void 0:O.exp,h,E),I,V;if(I=Fe(R,"if"))l=!0,i.push(Ls(I.exp,ks(y,T,g++),Qc));else if(V=Fe(R,/^else(-if)?$/,!0)){let j=S,X;for(;j--&&(X=r[j],X.type===3););if(X&&Gn(X)&&Fe(X,"if")){r.splice(S,1),S--;let G=i[i.length-1];for(;G.alternate.type===19;)G=G.alternate;G.alternate=V.exp?Ls(V.exp,ks(y,T,g++),Qc):ks(y,T,g++);}else t.onError(ie(30,V.loc));}else if(O){l=!0;let j=O.parseResult||Ji(O.exp,t);j?i.push(ge(t.helper(Zs),[j.source,yn(Bs(j),ks(y,T),!0)])):t.onError(ie(32,O.loc));}else {if(v){if(d.has(v)){t.onError(ie(38,x));continue}d.add(v),v==="default"&&(f=!0);}o.push(he(y,T));}}if(!c){let S=(R,w)=>{let h=n(R,void 0,w,s);return t.compatConfig&&(h.isNonScopedSlot=!0),he("default",h)};a?u.length&&u.some(R=>$a(R))&&(f?t.onError(ie(39,u[0].loc)):o.push(S(void 0,u))):o.push(S(void 0,r));}let _=l?2:$s(e.children)?3:1,D=Ke(o.concat(he("_",ne(_+(process.env.NODE_ENV!=="production"?` /* ${_i[_]} */`:""),!1))),s);return i.length&&(D=ge(t.helper(Fi),[D,rr(i)])),{slots:D,hasDynamicSlots:l}}function ks(e,t,n){let r=[he("name",e),he("fn",t)];return n!=null&&r.push(he("key",ne(String(n),!0))),Ke(r)}function $s(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||$s(n.children))return !0;break;case 9:if($s(n.branches))return !0;break;case 10:case 11:if($s(n.children))return !0;break}}return !1}function $a(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():$a(e.content)}function La(e,t,n=!1){let{tag:r}=e,s=Pi(r),o=Wt(e,"is");if(o)if(s||Ut("COMPILER_IS_ON_ELEMENT",t)){let c=o.type===6?o.value&&ne(o.value.content,!0):o.exp;if(c)return ge(t.helper(Vr),[c])}else o.type===6&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));let i=!s&&Fe(e,"is");if(i&&i.exp)return process.env.NODE_ENV!=="production"&&t.onWarn(ie(52,i.loc)),ge(t.helper(Vr),[i.exp]);let l=Bi(r)||t.isBuiltInComponent(r);return l?(n||t.helper(l),l):(t.helper(zs),t.components.add(r),Qn(r,"component"))}function Yi(e,t,n=e.props,r,s,o=!1){let{tag:i,loc:l,children:c}=e,a=[],f=[],u=[],d=c.length>0,g=!1,_=0,D=!1,S=!1,R=!1,w=!1,h=!1,E=!1,y=[],L=O=>{a.length&&(f.push(Ke(ea(a),l)),a=[]),O&&f.push(O);},x=({key:O,value:T})=>{if(Ce(O)){let I=O.content,V=Ue(I);if(V&&(!r||s)&&I.toLowerCase()!=="onclick"&&I!=="onUpdate:modelValue"&&!ht(I)&&(w=!0),V&&ht(I)&&(E=!0),T.type===20||(T.type===4||T.type===8)&&xe(T,t)>0)return;I==="ref"?D=!0:I==="class"?S=!0:I==="style"?R=!0:I!=="key"&&!y.includes(I)&&y.push(I),r&&(I==="class"||I==="style")&&!y.includes(I)&&y.push(I);}else h=!0;};for(let O=0;O<n.length;O++){let T=n[O];if(T.type===6){let{loc:I,name:V,value:j}=T,X=!0;if(V==="ref"&&(D=!0,t.scopes.vFor>0&&a.push(he(ne("ref_for",!0),ne("true")))),V==="is"&&(Pi(i)||j&&j.content.startsWith("vue:")||Ut("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(he(ne(V,!0,Hi(I,0,V.length)),ne(j?j.content:"",X,j?j.loc:I)));}else {let{name:I,arg:V,exp:j,loc:X}=T,G=I==="bind",K=I==="on";if(I==="slot"){r||t.onError(ie(40,X));continue}if(I==="once"||I==="memo"||I==="is"||G&&Ht(V,"is")&&(Pi(i)||Ut("COMPILER_IS_ON_ELEMENT",t))||K&&o)continue;if((G&&Ht(V,"key")||K&&d&&Ht(V,"vue:before-update"))&&(g=!0),G&&Ht(V,"ref")&&t.scopes.vFor>0&&a.push(he(ne("ref_for",!0),ne("true"))),!V&&(G||K)){if(h=!0,j)if(G){if(L(),process.env.NODE_ENV!=="production"&&f.some(ve=>ve.type===15?ve.properties.some(({key:nt})=>nt.type!==4||!nt.isStatic?!0:nt.content!=="class"&&nt.content!=="style"&&!Ue(nt.content)):!0)&&St("COMPILER_V_BIND_OBJECT_ORDER",t,X),Ut("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(j);continue}f.push(j);}else L({type:14,loc:X,callee:t.helper(Qs),arguments:r?[j]:[j,"true"]});else t.onError(ie(G?34:35,X));continue}let q=t.directiveTransforms[I];if(q){let{props:H,needRuntime:ve}=q(T,e,t);!o&&H.forEach(x),K&&V&&!Ce(V)?L(Ke(H,l)):a.push(...H),ve&&(u.push(T),Ye(ve)&&Fa.set(T,ve));}else br(I)||(u.push(T),d&&(g=!0));}}let v;if(f.length?(L(),f.length>1?v=ge(t.helper(Cr),f,l):v=f[0]):a.length&&(v=Ke(ea(a),l)),h?_|=16:(S&&!r&&(_|=2),R&&!r&&(_|=4),y.length&&(_|=8),w&&(_|=32)),!g&&(_===0||_===32)&&(D||E||u.length>0)&&(_|=512),!t.inSSR&&v)switch(v.type){case 15:let O=-1,T=-1,I=!1;for(let X=0;X<v.properties.length;X++){let G=v.properties[X].key;Ce(G)?G.content==="class"?O=X:G.content==="style"&&(T=X):G.isHandlerKey||(I=!0);}let V=v.properties[O],j=v.properties[T];I?v=ge(t.helper(Zn),[v]):(V&&!Ce(V.value)&&(V.value=ge(t.helper(Xs),[V.value])),j&&(R||j.value.type===4&&j.value.content.trim()[0]==="["||j.value.type===17)&&(j.value=ge(t.helper(Gs),[j.value])));break;case 14:break;default:v=ge(t.helper(Zn),[ge(t.helper(nr),[v])]);break}return {props:v,directives:u,pat