File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/monitoring/spa/_nuxt/Bb0d5mhF.js
Back
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DPuhIQDR.js","./DPlyd1tm.js","./DfKpJTVM.js","./BQV2YfOE.js","./ButtonElement.DbMj1V34.css","./DeQ5-w6a.js","./BJh7vk31.js","./B7DMRpI3.js","./DJDNWl6f.js","./CF7kvRCg.js","./CEkBLMYc.js","./BRExdNuj.js","./C9SsffiO.js","./MiniAppUpsell.reaI5Rra.css","./h03V4tqj.js","./p6VmSmYy.js","./ChartCard.BvPY5GsS.css","./D4Av98dN.js","./B6yrX0wX.js","./index.CoWMeY0z.css","./SGl50jKA.js","./CsuMjZXV.js","./ZD9jGCFG.js","./D-05UnZ9.js","./Cspagh8L.js","./LanguageSelector.CCD607RT.css","./DL5D-L2v.js","./DmaWTOlN.js","./InputField.CpjrYTq6.css","./D6wwFCeD.js","./DbCmxHzK.js","./Bn5LGqhU.js","./DWiZ0kB7.js","./MainBodyWrapper.CMuyj6iZ.css","./CnajQ3Sl.js","./CH4VOQ6e.js","./D79Klwrd.js","./CT2bCG4G.js","./CzXey_nF.js","./CLEe9OlJ.js","./CUF2SJ4z.js","./CqcqNsCd.js","./BqPUXDkn.js","./QLX-fZnA.js","./CLjC9lRc.js","./CGjwRjWb.js","./CxUJLxqO.js","./B_Ses2CT.js","./Pagination.CSiqjXcl.css","./UniversalDataTable.ywlRUfdz.css","./disk.D-wcYVYx.css","./Ml5FZw3U.js","./yHlBVnyQ.js","./N8_TjD66.js","./alerts.BdNI0ZPC.css","./ByVB9czY.js","./Bz8Iwnmv.js","./Dz4sPL7p.js","./process.6lDNA87g.css","./BWNJman1.js","./BZMRTz8c.js","./WHMLogo.B8IeMEBj.css","./DyUh3n3M.js","./default.CRy7Et6x.css","./Ci0Q0-aN.js","./DzAePXcC.js","./BiszsVj3.js","./error-404.eJ9JyH-Y.css","./DcQwDT0l.js","./error-500.BJjcVhgz.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function kn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const dt={},uo=[],On=()=>{},oo=()=>!1,Fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$f=e=>e.startsWith("onUpdate:"),lt=Object.assign,jf=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uM=Object.prototype.hasOwnProperty,wt=(e,t)=>uM.call(e,t),Fe=Array.isArray,ho=e=>No(e)==="[object Map]",Bs=e=>No(e)==="[object Set]",Wm=e=>No(e)==="[object Date]",Iw=e=>No(e)==="[object RegExp]",Xe=e=>typeof e=="function",Ke=e=>typeof e=="string",li=e=>typeof e=="symbol",Tt=e=>e!==null&&typeof e=="object",Vf=e=>(Tt(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),hy=Object.prototype.toString,No=e=>hy.call(e),Nw=e=>No(e).slice(8,-1),kc=e=>No(e)==="[object Object]",Pc=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_r=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mw=kn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Wf=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},hM=/-\w/g,jt=Wf(e=>e.replace(hM,t=>t.slice(1).toUpperCase())),fM=/\B([A-Z])/g,qn=Wf(e=>e.replace(fM,"-$1").toLowerCase()),Hs=Wf(e=>e.charAt(0).toUpperCase()+e.slice(1)),fo=Wf(e=>e?`on${Hs(e)}`:""),Xn=(e,t)=>!Object.is(e,t),po=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xo=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},Lc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ql=e=>{const t=Ke(e)?Number(e):NaN;return isNaN(t)?e:t};let N_;const Rc=()=>N_||(N_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),dM=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function pM(e){return dM.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function mM(e,t){return e+JSON.stringify(t,(n,i)=>typeof i=="function"?i.toString():i)}const gM={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},yM={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},vM={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},bM={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},_M={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},EM="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,Error,Symbol",fy=kn(EM),xM=fy,M_=2;function Dw(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let i=e.split(/(\r?\n)/);const s=i.filter((h,d)=>d%2===1);i=i.filter((h,d)=>d%2===0);let o=0;const l=[];for(let h=0;h<i.length;h++)if(o+=i[h].length+(s[h]&&s[h].length||0),o>=t){for(let d=h-M_;d<=h+M_||n>o;d++){if(d<0||d>=i.length)continue;const v=d+1;l.push(`${v}${" ".repeat(Math.max(3-String(v).length,0))}| ${i[d]}`);const y=i[d].length,E=s[d]&&s[d].length||0;if(d===h){const C=t-(o-(y+E)),T=Math.max(1,n>o?y-C:n-t);l.push(" | "+" ".repeat(C)+"^".repeat(T))}else if(d>h){if(n>o){const C=Math.max(Math.min(n-o,y),1);l.push(" | "+"^".repeat(C))}o+=y+E}}break}return l.join(` `)}function za(e){if(Fe(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=Ke(i)?dy(i):za(i);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ke(e)||Tt(e))return e}const SM=/;(?![^(]*\))/g,wM=/:([^]+)/,TM=/\/\*[^]*?\*\//g;function dy(e){const t={};return e.replace(TM,"").split(SM).forEach(n=>{if(n){const i=n.split(wM);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function CM(e){if(!e)return"";if(Ke(e))return e;let t="";for(const n in e){const i=e[n];if(Ke(i)||typeof i=="number"){const s=n.startsWith("--")?n:qn(n);t+=`${s}:${i};`}}return t}function Xa(e){let t="";if(Ke(e))t=e;else if(Fe(e))for(let n=0;n<e.length;n++){const i=Xa(e[n]);i&&(t+=i+" ")}else if(Tt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function py(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=Xa(t)),n&&(e.style=za(n)),e}const AM="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",OM="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",kM="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",PM="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Fw=kn(AM),Bw=kn(OM),Hw=kn(kM),Uw=kn(PM),$w="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jw=kn($w),LM=kn($w+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function my(e){return!!e||e===""}const RM=/[>/="'\u0009\u000a\u000c\u0020]/,em={};function IM(e){if(em.hasOwnProperty(e))return em[e];const t=RM.test(e);return t&&console.error(`unsafe attribute name: ${e}`),em[e]=!t}const NM={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},MM=kn("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"),DM=kn("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,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),FM=kn("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function BM(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const HM=/["'&<>]/;function Vw(e){const t=""+e,n=HM.exec(t);if(!n)return t;let i="",s,o,l=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}l!==o&&(i+=t.slice(l,o)),l=o+1,i+=s}return l!==o?i+t.slice(l,o):i}const UM=/^-?>|<!--|-->|--!>|<!-$/g;function $M(e){return e.replace(UM,"")}const Ww=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function jM(e,t){return e.replace(Ww,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function VM(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=Qr(e[i],t[i]);return n}function Qr(e,t){if(e===t)return!0;let n=Wm(e),i=Wm(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=li(e),i=li(t),n||i)return e===t;if(n=Fe(e),i=Fe(t),n||i)return n&&i?VM(e,t):!1;if(n=Tt(e),i=Tt(t),n||i){if(!n||!i)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const l in e){const h=e.hasOwnProperty(l),d=t.hasOwnProperty(l);if(h&&!d||!h&&d||!Qr(e[l],t[l]))return!1}}return String(e)===String(t)}function Ic(e,t){return e.findIndex(n=>Qr(n,t))}const zw=e=>!!(e&&e.__v_isRef===!0),gy=e=>Ke(e)?e:e==null?"":Fe(e)||Tt(e)&&(e.toString===hy||!Xe(e.toString))?zw(e)?gy(e.value):JSON.stringify(e,Xw,2):String(e),Xw=(e,t)=>zw(t)?Xw(e,t.value):ho(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],o)=>(n[tm(i,o)+" =>"]=s,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>tm(n))}:li(t)?tm(t):Tt(t)&&!Fe(t)&&!kc(t)?String(t):t,tm=(e,t="")=>{var n;return li(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Gw(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}const WM=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:uo,EMPTY_OBJ:dt,NO:oo,NOOP:On,PatchFlagNames:yM,PatchFlags:gM,ShapeFlags:vM,SlotFlags:bM,camelize:jt,capitalize:Hs,cssVarNameEscapeSymbolsRE:Ww,def:xo,escapeHtml:Vw,escapeHtmlComment:$M,extend:lt,genCacheKey:mM,genPropsAccessExp:pM,generateCodeFrame:Dw,getEscapedCssVarName:jM,getGlobalThis:Rc,hasChanged:Xn,hasOwn:wt,hyphenate:qn,includeBooleanAttr:my,invokeArrayFns:po,isArray:Fe,isBooleanAttr:LM,isBuiltInDirective:Mw,isDate:Wm,isFunction:Xe,isGloballyAllowed:fy,isGloballyWhitelisted:xM,isHTMLTag:Fw,isIntegerKey:Pc,isKnownHtmlAttr:MM,isKnownMathMLAttr:FM,isKnownSvgAttr:DM,isMap:ho,isMathMLTag:Hw,isModelListener:$f,isObject:Tt,isOn:Fs,isPlainObject:kc,isPromise:Vf,isRegExp:Iw,isRenderableAttrValue:BM,isReservedProp:_r,isSSRSafeAttrName:IM,isSVGTag:Bw,isSet:Bs,isSpecialBooleanAttr:jw,isString:Ke,isSymbol:li,isVoidTag:Uw,looseEqual:Qr,looseIndexOf:Ic,looseToNumber:Lc,makeMap:kn,normalizeClass:Xa,normalizeCssVarValue:Gw,normalizeProps:py,normalizeStyle:za,objectToString:hy,parseStringStyle:dy,propsToAttrMap:NM,remove:jf,slotFlagsText:_M,stringifyStyle:CM,toDisplayString:gy,toHandlerKey:fo,toNumber:Ql,toRawType:Nw,toTypeString:No},Symbol.toStringTag,{value:"Module"}));let Vn;class yy{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Vn,!t&&Vn&&(this.index=(Vn.scopes||(Vn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Vn;try{return Vn=this,t()}finally{Vn=n}}}on(){++this._on===1&&(this.prevScope=Vn,Vn=this)}off(){this._on>0&&--this._on===0&&(Vn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(this.effects.length=0,n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Ga(e){return new yy(e)}function qa(){return Vn}function ec(e,t=!1){Vn&&Vn.cleanups.push(e)}let Ft;const nm=new WeakSet;class tc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Vn&&Vn.active&&Vn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,nm.has(this)&&(nm.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yw(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,D_(this),Kw(this);const t=Ft,n=nr;Ft=this,nr=!0;try{return this.fn()}finally{Jw(this),Ft=t,nr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_y(t);this.deps=this.depsTail=void 0,D_(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nm.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zm(this)&&this.run()}get dirty(){return zm(this)}}let qw=0,jl,Vl;function Yw(e,t=!1){if(e.flags|=8,t){e.next=Vl,Vl=e;return}e.next=jl,jl=e}function vy(){qw++}function by(){if(--qw>0)return;if(Vl){let t=Vl;for(Vl=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jl;){let t=jl;for(jl=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=n}}if(e)throw e}function Kw(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jw(e){let t,n=e.depsTail,i=n;for(;i;){const s=i.prevDep;i.version===-1?(i===n&&(n=s),_y(i),zM(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=s}e.deps=t,e.depsTail=n}function zm(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zw(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zw(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nc)||(e.globalVersion=nc,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zm(e))))return;e.flags|=2;const t=e.dep,n=Ft,i=nr;Ft=e,nr=!0;try{Kw(e);const s=e.fn(e._value);(t.version===0||Xn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ft=n,nr=i,Jw(e),e.flags&=-3}}function _y(e,t=!1){const{dep:n,prevSub:i,nextSub:s}=e;if(i&&(i.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)_y(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function zM(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function XM(e,t){e.effect instanceof tc&&(e=e.effect.fn);const n=new tc(e);t&<(n,t);try{n.run()}catch(s){throw n.stop(),s}const i=n.run.bind(n);return i.effect=n,i}function GM(e){e.effect.stop()}let nr=!0;const Qw=[];function es(){Qw.push(nr),nr=!1}function ts(){const e=Qw.pop();nr=e===void 0?!0:e}function D_(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ft;Ft=void 0;try{t()}finally{Ft=n}}}let nc=0;class qM{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class zf{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ft||!nr||Ft===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ft)n=this.activeLink=new qM(Ft,this),Ft.deps?(n.prevDep=Ft.depsTail,Ft.depsTail.nextDep=n,Ft.depsTail=n):Ft.deps=Ft.depsTail=n,eT(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=Ft.depsTail,n.nextDep=void 0,Ft.depsTail.nextDep=n,Ft.depsTail=n,Ft.deps===n&&(Ft.deps=i)}return n}trigger(t){this.version++,nc++,this.notify(t)}notify(t){vy();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{by()}}}function eT(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)eT(i)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Kh=new WeakMap,mo=Symbol(""),Xm=Symbol(""),ic=Symbol("");function Gn(e,t,n){if(nr&&Ft){let i=Kh.get(e);i||Kh.set(e,i=new Map);let s=i.get(n);s||(i.set(n,s=new zf),s.map=i,s.key=n),s.track()}}function Vr(e,t,n,i,s,o){const l=Kh.get(e);if(!l){nc++;return}const h=d=>{d&&d.trigger()};if(vy(),t==="clear")l.forEach(h);else{const d=Fe(e),v=d&&Pc(n);if(d&&n==="length"){const y=Number(i);l.forEach((E,C)=>{(C==="length"||C===ic||!li(C)&&C>=y)&&h(E)})}else switch((n!==void 0||l.has(void 0))&&h(l.get(n)),v&&h(l.get(ic)),t){case"add":d?v&&h(l.get("length")):(h(l.get(mo)),ho(e)&&h(l.get(Xm)));break;case"delete":d||(h(l.get(mo)),ho(e)&&h(l.get(Xm)));break;case"set":ho(e)&&h(l.get(mo));break}}by()}function YM(e,t){const n=Kh.get(e);return n&&n.get(t)}function na(e){const t=at(e);return t===e?t:(Gn(t,"iterate",ic),pi(e)?t:t.map(sr))}function Xf(e){return Gn(e=at(e),"iterate",ic),e}function bs(e,t){return rr(e)?Ea(Ti(e)?sr(t):t):sr(t)}const KM={__proto__:null,[Symbol.iterator](){return im(this,Symbol.iterator,e=>bs(this,e))},concat(...e){return na(this).concat(...e.map(t=>Fe(t)?na(t):t))},entries(){return im(this,"entries",e=>(e[1]=bs(this,e[1]),e))},every(e,t){return Nr(this,"every",e,t,void 0,arguments)},filter(e,t){return Nr(this,"filter",e,t,n=>n.map(i=>bs(this,i)),arguments)},find(e,t){return Nr(this,"find",e,t,n=>bs(this,n),arguments)},findIndex(e,t){return Nr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nr(this,"findLast",e,t,n=>bs(this,n),arguments)},findLastIndex(e,t){return Nr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nr(this,"forEach",e,t,void 0,arguments)},includes(...e){return rm(this,"includes",e)},indexOf(...e){return rm(this,"indexOf",e)},join(e){return na(this).join(e)},lastIndexOf(...e){return rm(this,"lastIndexOf",e)},map(e,t){return Nr(this,"map",e,t,void 0,arguments)},pop(){return xl(this,"pop")},push(...e){return xl(this,"push",e)},reduce(e,...t){return F_(this,"reduce",e,t)},reduceRight(e,...t){return F_(this,"reduceRight",e,t)},shift(){return xl(this,"shift")},some(e,t){return Nr(this,"some",e,t,void 0,arguments)},splice(...e){return xl(this,"splice",e)},toReversed(){return na(this).toReversed()},toSorted(e){return na(this).toSorted(e)},toSpliced(...e){return na(this).toSpliced(...e)},unshift(...e){return xl(this,"unshift",e)},values(){return im(this,"values",e=>bs(this,e))}};function im(e,t,n){const i=Xf(e),s=i[t]();return i!==e&&!pi(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const JM=Array.prototype;function Nr(e,t,n,i,s,o){const l=Xf(e),h=l!==e&&!pi(e),d=l[t];if(d!==JM[t]){const E=d.apply(e,o);return h?sr(E):E}let v=n;l!==e&&(h?v=function(E,C){return n.call(this,bs(e,E),C,e)}:n.length>2&&(v=function(E,C){return n.call(this,E,C,e)}));const y=d.call(l,v,i);return h&&s?s(y):y}function F_(e,t,n,i){const s=Xf(e);let o=n;return s!==e&&(pi(e)?n.length>3&&(o=function(l,h,d){return n.call(this,l,h,d,e)}):o=function(l,h,d){return n.call(this,l,bs(e,h),d,e)}),s[t](o,...i)}function rm(e,t,n){const i=at(e);Gn(i,"iterate",ic);const s=i[t](...n);return(s===-1||s===!1)&&Nc(n[0])?(n[0]=at(n[0]),i[t](...n)):s}function xl(e,t,n=[]){es(),vy();const i=at(e)[t].apply(e,n);return by(),ts(),i}const ZM=kn("__proto__,__v_isRef,__isVue"),tT=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(li));function QM(e){li(e)||(e=String(e));const t=at(this);return Gn(t,"has",e),t.hasOwnProperty(e)}class nT{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return i===(s?o?lT:aT:o?oT:sT).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const l=Fe(t);if(!s){let d;if(l&&(d=KM[n]))return d;if(n==="hasOwnProperty")return QM}const h=Reflect.get(t,n,mt(t)?t:i);if((li(n)?tT.has(n):ZM(n))||(s||Gn(t,"get",n),o))return h;if(mt(h)){const d=l&&Pc(n)?h:h.value;return s&&Tt(d)?Jh(d):d}return Tt(h)?s?Jh(h):bi(h):h}}class iT extends nT{constructor(t=!1){super(!1,t)}set(t,n,i,s){let o=t[n];const l=Fe(t)&&Pc(n);if(!this._isShallow){const v=rr(o);if(!pi(i)&&!rr(i)&&(o=at(o),i=at(i)),!l&&mt(o)&&!mt(i))return v||(o.value=i),!0}const h=l?Number(n)<t.length:wt(t,n),d=Reflect.set(t,n,i,mt(t)?t:s);return t===at(s)&&(h?Xn(i,o)&&Vr(t,"set",n,i):Vr(t,"add",n,i)),d}deleteProperty(t,n){const i=wt(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&i&&Vr(t,"delete",n,void 0),s}has(t,n){const i=Reflect.has(t,n);return(!li(n)||!tT.has(n))&&Gn(t,"has",n),i}ownKeys(t){return Gn(t,"iterate",Fe(t)?"length":mo),Reflect.ownKeys(t)}}class rT extends nT{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const eD=new iT,tD=new rT,nD=new iT(!0),iD=new rT(!0),Gm=e=>e,Gu=e=>Reflect.getPrototypeOf(e);function rD(e,t,n){return function(...i){const s=this.__v_raw,o=at(s),l=ho(o),h=e==="entries"||e===Symbol.iterator&&l,d=e==="keys"&&l,v=s[e](...i),y=n?Gm:t?Ea:sr;return!t&&Gn(o,"iterate",d?Xm:mo),lt(Object.create(v),{next(){const{value:E,done:C}=v.next();return C?{value:E,done:C}:{value:h?[y(E[0]),y(E[1])]:y(E),done:C}}})}}function qu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sD(e,t){const n={get(s){const o=this.__v_raw,l=at(o),h=at(s);e||(Xn(s,h)&&Gn(l,"get",s),Gn(l,"get",h));const{has:d}=Gu(l),v=t?Gm:e?Ea:sr;if(d.call(l,s))return v(o.get(s));if(d.call(l,h))return v(o.get(h));o!==l&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Gn(at(s),"iterate",mo),s.size},has(s){const o=this.__v_raw,l=at(o),h=at(s);return e||(Xn(s,h)&&Gn(l,"has",s),Gn(l,"has",h)),s===h?o.has(s):o.has(s)||o.has(h)},forEach(s,o){const l=this,h=l.__v_raw,d=at(h),v=t?Gm:e?Ea:sr;return!e&&Gn(d,"iterate",mo),h.forEach((y,E)=>s.call(o,v(y),v(E),l))}};return lt(n,e?{add:qu("add"),set:qu("set"),delete:qu("delete"),clear:qu("clear")}:{add(s){!t&&!pi(s)&&!rr(s)&&(s=at(s));const o=at(this);return Gu(o).has.call(o,s)||(o.add(s),Vr(o,"add",s,s)),this},set(s,o){!t&&!pi(o)&&!rr(o)&&(o=at(o));const l=at(this),{has:h,get:d}=Gu(l);let v=h.call(l,s);v||(s=at(s),v=h.call(l,s));const y=d.call(l,s);return l.set(s,o),v?Xn(o,y)&&Vr(l,"set",s,o):Vr(l,"add",s,o),this},delete(s){const o=at(this),{has:l,get:h}=Gu(o);let d=l.call(o,s);d||(s=at(s),d=l.call(o,s)),h&&h.call(o,s);const v=o.delete(s);return d&&Vr(o,"delete",s,void 0),v},clear(){const s=at(this),o=s.size!==0,l=s.clear();return o&&Vr(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=rD(s,e,t)}),n}function Gf(e,t){const n=sD(e,t);return(i,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(wt(n,s)&&s in i?n:i,s,o)}const oD={get:Gf(!1,!1)},aD={get:Gf(!1,!0)},lD={get:Gf(!0,!1)},cD={get:Gf(!0,!0)},sT=new WeakMap,oT=new WeakMap,aT=new WeakMap,lT=new WeakMap;function uD(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hD(e){return e.__v_skip||!Object.isExtensible(e)?0:uD(Nw(e))}function bi(e){return rr(e)?e:qf(e,!1,eD,oD,sT)}function Qi(e){return qf(e,!1,nD,aD,oT)}function Jh(e){return qf(e,!0,tD,lD,aT)}function fD(e){return qf(e,!0,iD,cD,lT)}function qf(e,t,n,i,s){if(!Tt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=hD(e);if(o===0)return e;const l=s.get(e);if(l)return l;const h=new Proxy(e,o===2?i:n);return s.set(e,h),h}function Ti(e){return rr(e)?Ti(e.__v_raw):!!(e&&e.__v_isReactive)}function rr(e){return!!(e&&e.__v_isReadonly)}function pi(e){return!!(e&&e.__v_isShallow)}function Nc(e){return e?!!e.__v_raw:!1}function at(e){const t=e&&e.__v_raw;return t?at(t):e}function So(e){return!wt(e,"__v_skip")&&Object.isExtensible(e)&&xo(e,"__v_skip",!0),e}const sr=e=>Tt(e)?bi(e):e,Ea=e=>Tt(e)?Jh(e):e;function mt(e){return e?e.__v_isRef===!0:!1}function gt(e){return cT(e,!1)}function or(e){return cT(e,!0)}function cT(e,t){return mt(e)?e:new dD(e,t)}class dD{constructor(t,n){this.dep=new zf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:at(t),this._value=n?t:sr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,i=this.__v_isShallow||pi(t)||rr(t);t=i?t:at(t),Xn(t,n)&&(this._rawValue=t,this._value=i?t:sr(t),this.dep.trigger())}}function pD(e){e.dep&&e.dep.trigger()}function An(e){return mt(e)?e.value:e}function uT(e){return Xe(e)?e():An(e)}const mD={get:(e,t,n)=>t==="__v_raw"?e:An(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return mt(s)&&!mt(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function Ey(e){return Ti(e)?e:new Proxy(e,mD)}class gD{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new zf,{get:i,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function xy(e){return new gD(e)}function hT(e){const t=Fe(e)?new Array(e.length):{};for(const n in e)t[n]=fT(e,n);return t}class yD{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=at(t);let s=!0,o=t;if(!Fe(t)||!Pc(String(n)))do s=!Nc(o)||pi(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=An(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&mt(this._raw[this._key])){const n=this._object[this._key];if(mt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return YM(this._raw,this._key)}}class vD{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Sy(e,t,n){return mt(e)?e:Xe(e)?new vD(e):Tt(e)&&arguments.length>1?fT(e,t,n):gt(e)}function fT(e,t,n){return new yD(e,t,n)}class bD{constructor(t,n,i){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nc-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Ft!==this)return Yw(this,!0),!0}get value(){const t=this.dep.track();return Zw(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _D(e,t,n=!1){let i,s;return Xe(e)?i=e:(i=e.get,s=e.set),new bD(i,s,n)}const ED={GET:"get",HAS:"has",ITERATE:"iterate"},xD={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Yu={},Zh=new WeakMap;let _s;function SD(){return _s}function dT(e,t=!1,n=_s){if(n){let i=Zh.get(n);i||Zh.set(n,i=[]),i.push(e)}}function wD(e,t,n=dt){const{immediate:i,deep:s,once:o,scheduler:l,augmentJob:h,call:d}=n,v=A=>s?A:pi(A)||s===!1||s===0?Wr(A,1):Wr(A);let y,E,C,T,O=!1,P=!1;if(mt(e)?(E=()=>e.value,O=pi(e)):Ti(e)?(E=()=>v(e),O=!0):Fe(e)?(P=!0,O=e.some(A=>Ti(A)||pi(A)),E=()=>e.map(A=>{if(mt(A))return A.value;if(Ti(A))return v(A);if(Xe(A))return d?d(A,2):A()})):Xe(e)?t?E=d?()=>d(e,2):e:E=()=>{if(C){es();try{C()}finally{ts()}}const A=_s;_s=y;try{return d?d(e,3,[T]):e(T)}finally{_s=A}}:E=On,t&&s){const A=E,$=s===!0?1/0:s;E=()=>Wr(A(),$)}const I=qa(),R=()=>{y.stop(),I&&I.active&&jf(I.effects,y)};if(o&&t){const A=t;t=(...$)=>{A(...$),R()}}let D=P?new Array(e.length).fill(Yu):Yu;const F=A=>{if(!(!(y.flags&1)||!y.dirty&&!A))if(t){const $=y.run();if(s||O||(P?$.some((U,N)=>Xn(U,D[N])):Xn($,D))){C&&C();const U=_s;_s=y;try{const N=[$,D===Yu?void 0:P&&D[0]===Yu?[]:D,T];D=$,d?d(t,3,N):t(...N)}finally{_s=U}}}else y.run()};return h&&h(F),y=new tc(E),y.scheduler=l?()=>l(F,!1):F,T=A=>dT(A,!1,y),C=y.onStop=()=>{const A=Zh.get(y);if(A){if(d)d(A,4);else for(const $ of A)$();Zh.delete(y)}},t?i?F(!0):D=y.run():l?l(F.bind(null,!0),!0):y.run(),R.pause=y.pause.bind(y),R.resume=y.resume.bind(y),R.stop=R,R}function Wr(e,t=1/0,n){if(t<=0||!Tt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,mt(e))Wr(e.value,t,n);else if(Fe(e))for(let i=0;i<e.length;i++)Wr(e[i],t,n);else if(Bs(e)||ho(e))e.forEach(i=>{Wr(i,t,n)});else if(kc(e)){for(const i in e)Wr(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&Wr(e[i],t,n)}return e}const pT=[];function TD(e){pT.push(e)}function CD(){pT.pop()}function AD(e,t){}const OD={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},kD={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Ya(e,t,n,i){try{return i?e(...i):e()}catch(s){Mo(s,t,n)}}function Fi(e,t,n,i){if(Xe(e)){const s=Ya(e,t,n,i);return s&&Vf(s)&&s.catch(o=>{Mo(o,t,n)}),s}if(Fe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Fi(e[o],t,n,i));return s}}function Mo(e,t,n,i=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||dt;if(t){let h=t.parent;const d=t.proxy,v=`https://vuejs.org/error-reference/#runtime-${n}`;for(;h;){const y=h.ec;if(y){for(let E=0;E<y.length;E++)if(y[E](e,d,v)===!1)return}h=h.parent}if(o){es(),Ya(o,null,10,[e,d,v]),ts();return}}PD(e,n,s,i,l)}function PD(e,t,n,i=!0,s=!1){if(s)throw e;console.error(e)}const ri=[];let gr=-1;const da=[];let Es=null,la=0;const mT=Promise.resolve();let Qh=null;function Ci(e){const t=Qh||mT;return e?t.then(this?e.bind(this):e):t}function LD(e){let t=gr+1,n=ri.length;for(;t<n;){const i=t+n>>>1,s=ri[i],o=sc(s);o<e||o===e&&s.flags&2?t=i+1:n=i}return t}function wy(e){if(!(e.flags&1)){const t=sc(e),n=ri[ri.length-1];!n||!(e.flags&2)&&t>=sc(n)?ri.push(e):ri.splice(LD(t),0,e),e.flags|=1,gT()}}function gT(){Qh||(Qh=mT.then(yT))}function rc(e){Fe(e)?da.push(...e):Es&&e.id===-1?Es.splice(la+1,0,e):e.flags&1||(da.push(e),e.flags|=1),gT()}function B_(e,t,n=gr+1){for(;n<ri.length;n++){const i=ri[n];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;ri.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function ef(e){if(da.length){const t=[...new Set(da)].sort((n,i)=>sc(n)-sc(i));if(da.length=0,Es){Es.push(...t);return}for(Es=t,la=0;la<Es.length;la++){const n=Es[la];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Es=null,la=0}}const sc=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yT(e){try{for(gr=0;gr<ri.length;gr++){const t=ri[gr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ya(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;gr<ri.length;gr++){const t=ri[gr];t&&(t.flags&=-2)}gr=-1,ri.length=0,ef(),Qh=null,(ri.length||da.length)&&yT()}}let Ki,Ml=[],qm=!1;function Yf(e,...t){Ki?Ki.emit(e,...t):qm||Ml.push({event:e,args:t})}function Ty(e,t){var n,i;Ki=e,Ki?(Ki.enabled=!0,Ml.forEach(({event:s,args:o})=>Ki.emit(s,...o)),Ml=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Ty(o,t)}),setTimeout(()=>{Ki||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,qm=!0,Ml=[])},3e3)):(qm=!0,Ml=[])}function RD(e,t){Yf("app:init",e,t,{Fragment:Zt,Text:xr,Comment:on,Static:Ps})}function ID(e){Yf("app:unmount",e)}const Ym=Cy("component:added"),vT=Cy("component:updated"),ND=Cy("component:removed"),MD=e=>{Ki&&typeof Ki.cleanupBuffer=="function"&&!Ki.cleanupBuffer(e)&&ND(e)};function Cy(e){return t=>{Yf(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function DD(e,t,n){Yf("component:emit",e.appContext.app,e,t,n)}let Fn=null,Kf=null;function oc(e){const t=Fn;return Fn=e,Kf=e&&e.type.__scopeId||null,t}function FD(e){Kf=e}function BD(){Kf=null}const HD=e=>Mc;function Mc(e,t=Fn,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&cc(-1);const o=oc(t);let l;try{l=e(...s)}finally{oc(o),i._d&&cc(1)}return vT(t),l};return i._n=!0,i._c=!0,i._d=!0,i}function UD(e,t){if(Fn===null)return e;const n=Bc(Fn),i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,l,h,d=dt]=t[s];o&&(Xe(o)&&(o={mounted:o,updated:o}),o.deep&&Wr(l),i.push({dir:o,instance:n,value:l,oldValue:void 0,arg:h,modifiers:d}))}return e}function yr(e,t,n,i){const s=e.dirs,o=t&&t.dirs;for(let l=0;l<s.length;l++){const h=s[l];o&&(h.oldValue=o[l].value);let d=h.dir[i];d&&(es(),Fi(d,n,8,[e.el,h,e,t]),ts())}}function Er(e,t){if(Dn){let n=Dn.provides;const i=Dn.parent&&Dn.parent.provides;i===n&&(n=Dn.provides=Object.create(i)),n[e]=t}}function vn(e,t,n=!1){const i=Sn();if(i||go){let s=go?go._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Xe(t)?t.call(i&&i.proxy):t}}function Ka(){return!!(Sn()||go)}const bT=Symbol.for("v-scx"),_T=()=>vn(bT);function Ay(e,t){return Dc(e,null,t)}function $D(e,t){return Dc(e,null,{flush:"post"})}function ET(e,t){return Dc(e,null,{flush:"sync"})}function an(e,t,n){return Dc(e,t,n)}function Dc(e,t,n=dt){const{immediate:i,deep:s,flush:o,once:l}=n,h=lt({},n),d=t&&i||!t&&o!=="post";let v;if(Sa){if(o==="sync"){const T=_T();v=T.__watcherHandles||(T.__watcherHandles=[])}else if(!d){const T=()=>{};return T.stop=On,T.resume=On,T.pause=On,T}}const y=Dn;h.call=(T,O,P)=>Fi(T,y,O,P);let E=!1;o==="post"?h.scheduler=T=>{mn(T,y&&y.suspense)}:o!=="sync"&&(E=!0,h.scheduler=(T,O)=>{O?T():wy(T)}),h.augmentJob=T=>{t&&(T.flags|=4),E&&(T.flags|=2,y&&(T.id=y.uid,T.i=y))};const C=wD(e,t,h);return Sa&&(v?v.push(C):d&&C()),C}function jD(e,t,n){const i=this.proxy,s=Ke(e)?e.includes(".")?xT(i,e):()=>i[e]:e.bind(i,i);let o;Xe(t)?o=t:(o=t.handler,n=t);const l=To(this),h=Dc(s,o.bind(i),n);return l(),h}function xT(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}const ST=Symbol("_vte"),wT=e=>e.__isTeleport,Wl=e=>e&&(e.disabled||e.disabled===""),H_=e=>e&&(e.defer||e.defer===""),U_=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$_=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Km=(e,t)=>{const n=e&&e.to;return Ke(n)?t?t(n):null:n},TT={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,o,l,h,d,v){const{mc:y,pc:E,pbc:C,o:{insert:T,querySelector:O,createText:P,createComment:I}}=v,R=Wl(t.props);let{shapeFlag:D,children:F,dynamicChildren:A}=t;if(e==null){const $=t.el=P(""),U=t.anchor=P("");T($,n,i),T(U,n,i);const N=(Y,K)=>{D&16&&y(F,Y,K,s,o,l,h,d)},J=()=>{const Y=t.target=Km(t.props,O),K=CT(Y,t,P,T);Y&&(l!=="svg"&&U_(Y)?l="svg":l!=="mathml"&&$_(Y)&&(l="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(Y),R||(N(Y,K),_h(t,!1)))};R&&(N(n,U),_h(t,!0)),H_(t.props)?(t.el.__isMounted=!1,mn(()=>{J(),delete t.el.__isMounted},o)):J()}else{if(H_(t.props)&&e.el.__isMounted===!1){mn(()=>{TT.process(e,t,n,i,s,o,l,h,d,v)},o);return}t.el=e.el,t.targetStart=e.targetStart;const $=t.anchor=e.anchor,U=t.target=e.target,N=t.targetAnchor=e.targetAnchor,J=Wl(e.props),Y=J?n:U,K=J?$:N;if(l==="svg"||U_(U)?l="svg":(l==="mathml"||$_(U))&&(l="mathml"),A?(C(e.dynamicChildren,A,Y,s,o,l,h),$y(e,t,!0)):d||E(e,t,Y,K,s,o,l,h,!1),R)J?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ku(t,n,$,v,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const oe=t.target=Km(t.props,O);oe&&Ku(t,oe,null,v,0)}else J&&Ku(t,U,N,v,1);_h(t,R)}},remove(e,t,n,{um:i,o:{remove:s}},o){const{shapeFlag:l,children:h,anchor:d,targetStart:v,targetAnchor:y,target:E,props:C}=e;if(E&&(s(v),s(y)),o&&s(d),l&16){const T=o||!Wl(C);for(let O=0;O<h.length;O++){const P=h[O];i(P,t,n,T,!!P.dynamicChildren)}}},move:Ku,hydrate:VD};function Ku(e,t,n,{o:{insert:i},m:s},o=2){o===0&&i(e.targetAnchor,t,n);const{el:l,anchor:h,shapeFlag:d,children:v,props:y}=e,E=o===2;if(E&&i(l,t,n),(!E||Wl(y))&&d&16)for(let C=0;C<v.length;C++)s(v[C],t,n,2);E&&i(h,t,n)}function VD(e,t,n,i,s,o,{o:{nextSibling:l,parentNode:h,querySelector:d,insert:v,createText:y}},E){function C(P,I,R,D){I.anchor=E(l(P),I,h(P),n,i,s,o),I.targetStart=R,I.targetAnchor=D}const T=t.target=Km(t.props,d),O=Wl(t.props);if(T){const P=T._lpa||T.firstChild;if(t.shapeFlag&16)if(O)C(e,t,P,P&&l(P));else{t.anchor=l(e);let I=P;for(;I;){if(I&&I.nodeType===8){if(I.data==="teleport start anchor")t.targetStart=I;else if(I.data==="teleport anchor"){t.targetAnchor=I,T._lpa=t.targetAnchor&&l(t.targetAnchor);break}}I=l(I)}t.targetAnchor||CT(T,t,y,v),E(P&&l(P),t,T,n,i,s,o)}_h(t,O)}else O&&t.shapeFlag&16&&C(e,t,e,l(e));return t.anchor&&l(t.anchor)}const WD=TT;function _h(e,t){const n=e.ctx;if(n&&n.ut){let i,s;for(t?(i=e.el,s=e.anchor):(i=e.targetStart,s=e.targetAnchor);i&&i!==s;)i.nodeType===1&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function CT(e,t,n,i){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[ST]=o,e&&(i(s,e),i(o,e)),o}const $r=Symbol("_leaveCb"),Ju=Symbol("_enterCb");function Oy(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rs(()=>{e.isMounted=!0}),Ja(()=>{e.isUnmounting=!0}),e}const Li=[Function,Array],ky={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Li,onEnter:Li,onAfterEnter:Li,onEnterCancelled:Li,onBeforeLeave:Li,onLeave:Li,onAfterLeave:Li,onLeaveCancelled:Li,onBeforeAppear:Li,onAppear:Li,onAfterAppear:Li,onAppearCancelled:Li},AT=e=>{const t=e.subTree;return t.component?AT(t.component):t},zD={name:"BaseTransition",props:ky,setup(e,{slots:t}){const n=Sn(),i=Oy();return()=>{const s=t.default&&Jf(t.default(),!0);if(!s||!s.length)return;const o=OT(s),l=at(e),{mode:h}=l;if(i.isLeaving)return sm(o);const d=j_(o);if(!d)return sm(o);let v=xa(d,l,i,n,E=>v=E);d.type!==on&&ns(d,v);let y=n.subTree&&j_(n.subTree);if(y&&y.type!==on&&!Zi(y,d)&&AT(n).type!==on){let E=xa(y,l,i,n);if(ns(y,E),h==="out-in"&&d.type!==on)return i.isLeaving=!0,E.afterLeave=()=>{i.isLeaving=!1,n.job.flags&8||n.update(),delete E.afterLeave,y=void 0},sm(o);h==="in-out"&&d.type!==on?E.delayLeave=(C,T,O)=>{const P=PT(i,y);P[String(y.key)]=y,C[$r]=()=>{T(),C[$r]=void 0,delete v.delayedLeave,y=void 0},v.delayedLeave=()=>{O(),delete v.delayedLeave,y=void 0}}:y=void 0}else y&&(y=void 0);return o}}};function OT(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==on){t=n;break}}return t}const kT=zD;function PT(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function xa(e,t,n,i,s){const{appear:o,mode:l,persisted:h=!1,onBeforeEnter:d,onEnter:v,onAfterEnter:y,onEnterCancelled:E,onBeforeLeave:C,onLeave:T,onAfterLeave:O,onLeaveCancelled:P,onBeforeAppear:I,onAppear:R,onAfterAppear:D,onAppearCancelled:F}=t,A=String(e.key),$=PT(n,e),U=(Y,K)=>{Y&&Fi(Y,i,9,K)},N=(Y,K)=>{const oe=K[1];U(Y,K),Fe(Y)?Y.every(q=>q.length<=1)&&oe():Y.length<=1&&oe()},J={mode:l,persisted:h,beforeEnter(Y){let K=d;if(!n.isMounted)if(o)K=I||d;else return;Y[$r]&&Y[$r](!0);const oe=$[A];oe&&Zi(e,oe)&&oe.el[$r]&&oe.el[$r](),U(K,[Y])},enter(Y){let K=v,oe=y,q=E;if(!n.isMounted)if(o)K=R||v,oe=D||y,q=F||E;else return;let ce=!1;const xe=Y[Ju]=Se=>{ce||(ce=!0,Se?U(q,[Y]):U(oe,[Y]),J.delayedLeave&&J.delayedLeave(),Y[Ju]=void 0)};K?N(K,[Y,xe]):xe()},leave(Y,K){const oe=String(e.key);if(Y[Ju]&&Y[Ju](!0),n.isUnmounting)return K();U(C,[Y]);let q=!1;const ce=Y[$r]=xe=>{q||(q=!0,K(),xe?U(P,[Y]):U(O,[Y]),Y[$r]=void 0,$[oe]===e&&delete $[oe])};$[oe]=e,T?N(T,[Y,ce]):ce()},clone(Y){const K=xa(Y,t,n,i,s);return s&&s(K),K}};return J}function sm(e){if(Fc(e))return e=Cr(e),e.children=null,e}function j_(e){if(!Fc(e))return wT(e.type)&&e.children?OT(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Xe(n.default))return n.default()}}function ns(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ns(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jf(e,t=!1,n){let i=[],s=0;for(let o=0;o<e.length;o++){let l=e[o];const h=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===Zt?(l.patchFlag&128&&s++,i=i.concat(Jf(l.children,t,h))):(t||l.type!==on)&&i.push(h!=null?Cr(l,{key:h}):l)}if(s>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}function Qn(e,t){return Xe(e)?lt({name:e.name},t,{setup:e}):e}function XD(){const e=Sn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Py(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function GD(e){const t=Sn(),n=or(null);if(t){const s=t.refs===dt?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}const tf=new WeakMap;function pa(e,t,n,i,s=!1){if(Fe(e)){e.forEach((O,P)=>pa(O,t&&(Fe(t)?t[P]:t),n,i,s));return}if(qr(i)&&!s){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&pa(e,t,n,i.component.subTree);return}const o=i.shapeFlag&4?Bc(i.component):i.el,l=s?null:o,{i:h,r:d}=e,v=t&&t.r,y=h.refs===dt?h.refs={}:h.refs,E=h.setupState,C=at(E),T=E===dt?oo:O=>wt(C,O);if(v!=null&&v!==d){if(V_(t),Ke(v))y[v]=null,T(v)&&(E[v]=null);else if(mt(v)){v.value=null;const O=t;O.k&&(y[O.k]=null)}}if(Xe(d))Ya(d,h,12,[l,y]);else{const O=Ke(d),P=mt(d);if(O||P){const I=()=>{if(e.f){const R=O?T(d)?E[d]:y[d]:d.value;if(s)Fe(R)&&jf(R,o);else if(Fe(R))R.includes(o)||R.push(o);else if(O)y[d]=[o],T(d)&&(E[d]=y[d]);else{const D=[o];d.value=D,e.k&&(y[e.k]=D)}}else O?(y[d]=l,T(d)&&(E[d]=l)):P&&(d.value=l,e.k&&(y[e.k]=l))};if(l){const R=()=>{I(),tf.delete(e)};R.id=-1,tf.set(e,R),mn(R,n)}else V_(e),I()}}}function V_(e){const t=tf.get(e);t&&(t.flags|=8,tf.delete(e))}let W_=!1;const ia=()=>{W_||(console.error("Hydration completed but contains mismatches."),W_=!0)},qD=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",YD=e=>e.namespaceURI.includes("MathML"),Zu=e=>{if(e.nodeType===1){if(qD(e))return"svg";if(YD(e))return"mathml"}},ha=e=>e.nodeType===8;function KD(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:o,parentNode:l,remove:h,insert:d,createComment:v}}=e,y=(F,A)=>{if(!A.hasChildNodes()){n(null,F,A),ef(),A._vnode=F;return}E(A.firstChild,F,null,null,null),ef(),A._vnode=F},E=(F,A,$,U,N,J=!1)=>{J=J||!!A.dynamicChildren;const Y=ha(F)&&F.data==="[",K=()=>P(F,A,$,U,N,Y),{type:oe,ref:q,shapeFlag:ce,patchFlag:xe}=A;let Se=F.nodeType;A.el=F,xo(F,"__vnode",A,!0),xo(F,"__vueParentComponent",$,!0),xe===-2&&(J=!1,A.dynamicChildren=null);let pe=null;switch(oe){case xr:Se!==3?A.children===""?(d(A.el=s(""),l(F),F),pe=F):pe=K():(F.data!==A.children&&(ia(),F.data=A.children),pe=o(F));break;case on:D(F)?(pe=o(F),R(A.el=F.content.firstChild,F,$)):Se!==8||Y?pe=K():pe=o(F);break;case Ps:if(Y&&(F=o(F),Se=F.nodeType),Se===1||Se===3){pe=F;const Ce=!A.children.length;for(let be=0;be<A.staticCount;be++)Ce&&(A.children+=pe.nodeType===1?pe.outerHTML:pe.data),be===A.staticCount-1&&(A.anchor=pe),pe=o(pe);return Y?o(pe):pe}else K();break;case Zt:Y?pe=O(F,A,$,U,N,J):pe=K();break;default:if(ce&1)(Se!==1||A.type.toLowerCase()!==F.tagName.toLowerCase())&&!D(F)?pe=K():pe=C(F,A,$,U,N,J);else if(ce&6){A.slotScopeIds=N;const Ce=l(F);if(Y?pe=I(F):ha(F)&&F.data==="teleport start"?pe=I(F,F.data,"teleport end"):pe=o(F),t(A,Ce,null,$,U,Zu(Ce),J),qr(A)&&!A.type.__asyncResolved){let be;Y?(be=Ut(Zt),be.anchor=pe?pe.previousSibling:Ce.lastChild):be=F.nodeType===3?Wy(""):Ut("div"),be.el=F,A.component.subTree=be}}else ce&64?Se!==8?pe=K():pe=A.type.hydrate(F,A,$,U,N,J,e,T):ce&128&&(pe=A.type.hydrate(F,A,$,U,Zu(l(F)),N,J,e,E))}return q!=null&&pa(q,null,U,A),pe},C=(F,A,$,U,N,J)=>{J=J||!!A.dynamicChildren;const{type:Y,props:K,patchFlag:oe,shapeFlag:q,dirs:ce,transition:xe}=A,Se=Y==="input"||Y==="option";if(Se||oe!==-1){ce&&yr(A,null,$,"created");let pe=!1;if(D(F)){pe=e1(null,xe)&&$&&$.vnode.props&&$.vnode.props.appear;const be=F.content.firstChild;if(pe){const Pe=be.getAttribute("class");Pe&&(be.$cls=Pe),xe.beforeEnter(be)}R(be,F,$),A.el=F=be}if(q&16&&!(K&&(K.innerHTML||K.textContent))){let be=T(F.firstChild,A,F,$,U,N,J);for(;be;){Qu(F,1)||ia();const Pe=be;be=be.nextSibling,h(Pe)}}else if(q&8){let be=A.children;be[0]===` `&&(F.tagName==="PRE"||F.tagName==="TEXTAREA")&&(be=be.slice(1));const{textContent:Pe}=F;Pe!==be&&Pe!==be.replace(/\r\n|\r/g,` `)&&(Qu(F,0)||ia(),F.textContent=A.children)}if(K){if(Se||!J||oe&48){const be=F.tagName.includes("-");for(const Pe in K)(Se&&(Pe.endsWith("value")||Pe==="indeterminate")||Fs(Pe)&&!_r(Pe)||Pe[0]==="."||be&&!_r(Pe))&&i(F,Pe,null,K[Pe],void 0,$)}else if(K.onClick)i(F,"onClick",null,K.onClick,void 0,$);else if(oe&4&&Ti(K.style))for(const be in K.style)K.style[be]}let Ce;(Ce=K&&K.onVnodeBeforeMount)&&hi(Ce,$,A),ce&&yr(A,null,$,"beforeMount"),((Ce=K&&K.onVnodeMounted)||ce||pe)&&r1(()=>{Ce&&hi(Ce,$,A),pe&&xe.enter(F),ce&&yr(A,null,$,"mounted")},U)}return F.nextSibling},T=(F,A,$,U,N,J,Y)=>{Y=Y||!!A.dynamicChildren;const K=A.children,oe=K.length;for(let q=0;q<oe;q++){const ce=Y?K[q]:K[q]=fi(K[q]),xe=ce.type===xr;F?(xe&&!Y&&q+1<oe&&fi(K[q+1]).type===xr&&(d(s(F.data.slice(ce.children.length)),$,o(F)),F.data=ce.children),F=E(F,ce,U,N,J,Y)):xe&&!ce.children?d(ce.el=s(""),$):(Qu($,1)||ia(),n(null,ce,$,null,U,N,Zu($),J))}return F},O=(F,A,$,U,N,J)=>{const{slotScopeIds:Y}=A;Y&&(N=N?N.concat(Y):Y);const K=l(F),oe=T(o(F),A,K,$,U,N,J);return oe&&ha(oe)&&oe.data==="]"?o(A.anchor=oe):(ia(),d(A.anchor=v("]"),K,oe),oe)},P=(F,A,$,U,N,J)=>{if(Qu(F.parentElement,1)||ia(),A.el=null,J){const oe=I(F);for(;;){const q=o(F);if(q&&q!==oe)h(q);else break}}const Y=o(F),K=l(F);return h(F),n(null,A,K,Y,$,U,Zu(K),N),$&&($.vnode.el=A.el,td($,A.el)),Y},I=(F,A="[",$="]")=>{let U=0;for(;F;)if(F=o(F),F&&ha(F)&&(F.data===A&&U++,F.data===$)){if(U===0)return o(F);U--}return F},R=(F,A,$)=>{const U=A.parentNode;U&&U.replaceChild(F,A);let N=$;for(;N;)N.vnode.el===A&&(N.vnode.el=N.subTree.el=F),N=N.parent},D=F=>F.nodeType===1&&F.tagName==="TEMPLATE";return[y,E]}const z_="data-allow-mismatch",JD={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Qu(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(z_);)e=e.parentElement;const n=e&&e.getAttribute(z_);if(n==null)return!1;if(n==="")return!0;{const i=n.split(",");return t===0&&i.includes("children")?!0:i.includes(JD[t])}}const ZD=Rc().requestIdleCallback||(e=>setTimeout(e,1)),QD=Rc().cancelIdleCallback||(e=>clearTimeout(e)),e2=(e=1e4)=>t=>{const n=ZD(t,{timeout:e});return()=>QD(n)};function t2(e){const{top:t,left:n,bottom:i,right:s}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:l}=window;return(t>0&&t<o||i>0&&i<o)&&(n>0&&n<l||s>0&&s<l)}const n2=e=>(t,n)=>{const i=new IntersectionObserver(s=>{for(const o of s)if(o.isIntersecting){i.disconnect(),t();break}},e);return n(s=>{if(s instanceof Element){if(t2(s))return t(),i.disconnect(),!1;i.observe(s)}}),()=>i.disconnect()},i2=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},r2=(e=[])=>(t,n)=>{Ke(e)&&(e=[e]);let i=!1;const s=l=>{i||(i=!0,o(),t(),l.target.dispatchEvent(new l.constructor(l.type,l)))},o=()=>{n(l=>{for(const h of e)l.removeEventListener(h,s)})};return n(l=>{for(const h of e)l.addEventListener(h,s,{once:!0})}),o};function s2(e,t){if(ha(e)&&e.data==="["){let n=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(ha(i))if(i.data==="]"){if(--n===0)break}else i.data==="["&&n++;i=i.nextSibling}}else t(e)}const qr=e=>!!e.type.__asyncLoader;function Yr(e){Xe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,hydrate:o,timeout:l,suspensible:h=!0,onError:d}=e;let v=null,y,E=0;const C=()=>(E++,v=null,T()),T=()=>{let O;return v||(O=v=t().catch(P=>{if(P=P instanceof Error?P:new Error(String(P)),d)return new Promise((I,R)=>{d(P,()=>I(C()),()=>R(P),E+1)});throw P}).then(P=>O!==v&&v?v:(P&&(P.__esModule||P[Symbol.toStringTag]==="Module")&&(P=P.default),y=P,P)))};return Qn({name:"AsyncComponentWrapper",__asyncLoader:T,__asyncHydrate(O,P,I){let R=!1;(P.bu||(P.bu=[])).push(()=>R=!0);const D=()=>{R||I()},F=o?()=>{const A=o(D,$=>s2(O,$));A&&(P.bum||(P.bum=[])).push(A)}:D;y?F():T().then(()=>!P.isUnmounted&&F())},get __asyncResolved(){return y},setup(){const O=Dn;if(Py(O),y)return()=>eh(y,O);const P=F=>{v=null,Mo(F,O,13,!i)};if(h&&O.suspense||Sa)return T().then(F=>()=>eh(F,O)).catch(F=>(P(F),()=>i?Ut(i,{error:F}):null));const I=gt(!1),R=gt(),D=gt(!!s);return s&&setTimeout(()=>{D.value=!1},s),l!=null&&setTimeout(()=>{if(!I.value&&!R.value){const F=new Error(`Async component timed out after ${l}ms.`);P(F),R.value=F}},l),T().then(()=>{I.value=!0,O.parent&&Fc(O.parent.vnode)&&O.parent.update()}).catch(F=>{P(F),R.value=F}),()=>{if(I.value&&y)return eh(y,O);if(R.value&&i)return Ut(i,{error:R.value});if(n&&!D.value)return eh(n,O)}}})}function eh(e,t){const{ref:n,props:i,children:s,ce:o}=t.vnode,l=Ut(e,i,s);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const Fc=e=>e.type.__isKeepAlive,o2={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Sn(),i=n.ctx;if(!i.renderer)return()=>{const D=t.default&&t.default();return D&&D.length===1?D[0]:D};const s=new Map,o=new Set;let l=null;n.__v_cache=s;const h=n.suspense,{renderer:{p:d,m:v,um:y,o:{createElement:E}}}=i,C=E("div");i.activate=(D,F,A,$,U)=>{const N=D.component;v(D,F,A,0,h),d(N.vnode,D,F,A,N,h,$,D.slotScopeIds,U),mn(()=>{N.isDeactivated=!1,N.a&&po(N.a);const J=D.props&&D.props.onVnodeMounted;J&&hi(J,N.parent,D)},h),Ym(N)},i.deactivate=D=>{const F=D.component;sf(F.m),sf(F.a),v(D,C,null,1,h),mn(()=>{F.da&&po(F.da);const A=D.props&&D.props.onVnodeUnmounted;A&&hi(A,F.parent,D),F.isDeactivated=!0},h),Ym(F)};function T(D){om(D),y(D,n,h,!0)}function O(D){s.forEach((F,A)=>{const $=ag(qr(F)?F.type.__asyncResolved||{}:F.type);$&&!D($)&&P(A)})}function P(D){const F=s.get(D);F&&(!l||!Zi(F,l))?T(F):l&&om(l),s.delete(D),o.delete(D)}an(()=>[e.include,e.exclude],([D,F])=>{D&&O(A=>Dl(D,A)),F&&O(A=>!Dl(F,A))},{flush:"post",deep:!0});let I=null;const R=()=>{I!=null&&(of(n.subTree.type)?mn(()=>{s.set(I,th(n.subTree))},n.subTree.suspense):s.set(I,th(n.subTree)))};return rs(R),Qf(R),Ja(()=>{s.forEach(D=>{const{subTree:F,suspense:A}=n,$=th(F);if(D.type===$.type&&D.key===$.key){om($);const U=$.component.da;U&&mn(U,A);return}T(D)})}),()=>{if(I=null,!t.default)return l=null;const D=t.default(),F=D[0];if(D.length>1)return l=null,D;if(!Tr(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return l=null,F;let A=th(F);if(A.type===on)return l=null,A;const $=A.type,U=ag(qr(A)?A.type.__asyncResolved||{}:$),{include:N,exclude:J,max:Y}=e;if(N&&(!U||!Dl(N,U))||J&&U&&Dl(J,U))return A.shapeFlag&=-257,l=A,F;const K=A.key==null?$:A.key,oe=s.get(K);return A.el&&(A=Cr(A),F.shapeFlag&128&&(F.ssContent=A)),I=K,oe?(A.el=oe.el,A.component=oe.component,A.transition&&ns(A,A.transition),A.shapeFlag|=512,o.delete(K),o.add(K)):(o.add(K),Y&&o.size>parseInt(Y,10)&&P(o.values().next().value)),A.shapeFlag|=256,l=A,of(F.type)?F:A}}},LT=o2;function Dl(e,t){return Fe(e)?e.some(n=>Dl(n,t)):Ke(e)?e.split(",").includes(t):Iw(e)?(e.lastIndex=0,e.test(t)):!1}function Ly(e,t){RT(e,"a",t)}function Ry(e,t){RT(e,"da",t)}function RT(e,t,n=Dn){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Zf(t,i,n),n){let s=n.parent;for(;s&&s.parent;)Fc(s.parent.vnode)&&a2(i,t,n,s),s=s.parent}}function a2(e,t,n,i){const s=Zf(t,e,i,!0);Do(()=>{jf(i[t],s)},n)}function om(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function th(e){return e.shapeFlag&128?e.ssContent:e}function Zf(e,t,n=Dn,i=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{es();const h=To(n),d=Fi(t,n,e,l);return h(),ts(),d});return i?s.unshift(o):s.push(o),o}}const is=e=>(t,n=Dn)=>{(!Sa||e==="sp")&&Zf(e,(...i)=>t(...i),n)},IT=is("bm"),rs=is("m"),Iy=is("bu"),Qf=is("u"),Ja=is("bum"),Do=is("um"),Ny=is("sp"),NT=is("rtg"),MT=is("rtc");function nf(e,t=Dn){Zf("ec",e,t)}const My="components",l2="directives";function c2(e,t){return Dy(My,e,!0,t)||e}const DT=Symbol.for("v-ndc");function FT(e){return Ke(e)?Dy(My,e,!1)||e:e||DT}function u2(e){return Dy(l2,e)}function Dy(e,t,n=!0,i=!1){const s=Fn||Dn;if(s){const o=s.type;if(e===My){const h=ag(o,!1);if(h&&(h===t||h===jt(t)||h===Hs(jt(t))))return o}const l=X_(s[e]||o[e],t)||X_(s.appContext[e],t);return!l&&i?o:l}}function X_(e,t){return e&&(e[t]||e[jt(t)]||e[Hs(jt(t))])}function h2(e,t,n,i){let s;const o=n&&n[i],l=Fe(e);if(l||Ke(e)){const h=l&&Ti(e);let d=!1,v=!1;h&&(d=!pi(e),v=rr(e),e=Xf(e)),s=new Array(e.length);for(let y=0,E=e.length;y<E;y++)s[y]=t(d?v?Ea(sr(e[y])):sr(e[y]):e[y],y,void 0,o&&o[y])}else if(typeof e=="number"){s=new Array(e);for(let h=0;h<e;h++)s[h]=t(h+1,h,void 0,o&&o[h])}else if(Tt(e))if(e[Symbol.iterator])s=Array.from(e,(h,d)=>t(h,d,void 0,o&&o[d]));else{const h=Object.keys(e);s=new Array(h.length);for(let d=0,v=h.length;d<v;d++){const y=h[d];s[d]=t(e[y],y,d,o&&o[d])}}else s=[];return n&&(n[i]=s),s}function f2(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(Fe(i))for(let s=0;s<i.length;s++)e[i[s].name]=i[s].fn;else i&&(e[i.name]=i.key?(...s)=>{const o=i.fn(...s);return o&&(o.key=i.key),o}:i.fn)}return e}function d2(e,t,n={},i,s){if(Fn.ce||Fn.parent&&qr(Fn.parent)&&Fn.parent.ce){const v=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Si(),Ji(Zt,null,[Ut("slot",n,i&&i())],v?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Si();const l=o&&Fy(o(n)),h=n.key||l&&l.key,d=Ji(Zt,{key:(h&&!li(h)?h:`_${t}`)+(!l&&i?"_fb":"")},l||(i?i():[]),l&&e._===1?64:-2);return!s&&d.scopeId&&(d.slotScopeIds=[d.scopeId+"-s"]),o&&o._c&&(o._d=!0),d}function Fy(e){return e.some(t=>Tr(t)?!(t.type===on||t.type===Zt&&!Fy(t.children)):!0)?e:null}function p2(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:fo(i)]=e[i];return n}const Jm=e=>e?u1(e)?Bc(e):Jm(e.parent):null,zl=lt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jm(e.parent),$root:e=>Jm(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>By(e),$forceUpdate:e=>e.f||(e.f=()=>{wy(e.update)}),$nextTick:e=>e.n||(e.n=Ci.bind(e.proxy)),$watch:e=>jD.bind(e)}),am=(e,t)=>e!==dt&&!e.__isScriptSetup&&wt(e,t),Zm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:o,accessCache:l,type:h,appContext:d}=e;if(t[0]!=="$"){const C=l[t];if(C!==void 0)switch(C){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(am(i,t))return l[t]=1,i[t];if(s!==dt&&wt(s,t))return l[t]=2,s[t];if(wt(o,t))return l[t]=3,o[t];if(n!==dt&&wt(n,t))return l[t]=4,n[t];Qm&&(l[t]=0)}}const v=zl[t];let y,E;if(v)return t==="$attrs"&&Gn(e.attrs,"get",""),v(e);if((y=h.__cssModules)&&(y=y[t]))return y;if(n!==dt&&wt(n,t))return l[t]=4,n[t];if(E=d.config.globalProperties,wt(E,t))return E[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:o}=e;return am(s,t)?(s[t]=n,!0):i!==dt&&wt(i,t)?(i[t]=n,!0):wt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,props:o,type:l}},h){let d;return!!(n[h]||e!==dt&&h[0]!=="$"&&wt(e,h)||am(t,h)||wt(o,h)||wt(i,h)||wt(zl,h)||wt(s.config.globalProperties,h)||(d=l.__cssModules)&&d[h])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:wt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},m2=lt({},Zm,{get(e,t){if(t!==Symbol.unscopables)return Zm.get(e,t,e)},has(e,t){return t[0]!=="_"&&!fy(t)}});function g2(){return null}function y2(){return null}function v2(e){}function b2(e){}function _2(){return null}function E2(){}function x2(e,t){return null}function S2(){return BT().slots}function w2(){return BT().attrs}function BT(e){const t=Sn();return t.setupContext||(t.setupContext=d1(t))}function ac(e){return Fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function T2(e,t){const n=ac(e);for(const i in t){if(i.startsWith("__skip"))continue;let s=n[i];s?Fe(s)||Xe(s)?s=n[i]={type:s,default:t[i]}:s.default=t[i]:s===null&&(s=n[i]={default:t[i]}),s&&t[`__skip_${i}`]&&(s.skipFactory=!0)}return n}function C2(e,t){return!e||!t?e||t:Fe(e)&&Fe(t)?e.concat(t):lt({},ac(e),ac(t))}function A2(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function O2(e){const t=Sn();let n=e();return rg(),Vf(n)&&(n=n.catch(i=>{throw To(t),i})),[n,()=>To(t)]}let Qm=!0;function k2(e){const t=By(e),n=e.proxy,i=e.ctx;Qm=!1,t.beforeCreate&&G_(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:l,watch:h,provide:d,inject:v,created:y,beforeMount:E,mounted:C,beforeUpdate:T,updated:O,activated:P,deactivated:I,beforeDestroy:R,beforeUnmount:D,destroyed:F,unmounted:A,render:$,renderTracked:U,renderTriggered:N,errorCaptured:J,serverPrefetch:Y,expose:K,inheritAttrs:oe,components:q,directives:ce,filters:xe}=t;if(v&&P2(v,i,null),l)for(const Ce in l){const be=l[Ce];Xe(be)&&(i[Ce]=be.bind(n))}if(s){const Ce=s.call(n,n);Tt(Ce)&&(e.data=bi(Ce))}if(Qm=!0,o)for(const Ce in o){const be=o[Ce],Pe=Xe(be)?be.bind(n,n):Xe(be.get)?be.get.bind(n,n):On,ot=!Xe(be)&&Xe(be.set)?be.set.bind(n):On,tt=Bt({get:Pe,set:ot});Object.defineProperty(i,Ce,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Je=>tt.value=Je})}if(h)for(const Ce in h)HT(h[Ce],i,n,Ce);if(d){const Ce=Xe(d)?d.call(n):d;Reflect.ownKeys(Ce).forEach(be=>{Er(be,Ce[be])})}y&&G_(y,e,"c");function pe(Ce,be){Fe(be)?be.forEach(Pe=>Ce(Pe.bind(n))):be&&Ce(be.bind(n))}if(pe(IT,E),pe(rs,C),pe(Iy,T),pe(Qf,O),pe(Ly,P),pe(Ry,I),pe(nf,J),pe(MT,U),pe(NT,N),pe(Ja,D),pe(Do,A),pe(Ny,Y),Fe(K))if(K.length){const Ce=e.exposed||(e.exposed={});K.forEach(be=>{Object.defineProperty(Ce,be,{get:()=>n[be],set:Pe=>n[be]=Pe,enumerable:!0})})}else e.exposed||(e.exposed={});$&&e.render===On&&(e.render=$),oe!=null&&(e.inheritAttrs=oe),q&&(e.components=q),ce&&(e.directives=ce),Y&&Py(e)}function P2(e,t,n=On){Fe(e)&&(e=eg(e));for(const i in e){const s=e[i];let o;Tt(s)?"default"in s?o=vn(s.from||i,s.default,!0):o=vn(s.from||i):o=vn(s),mt(o)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[i]=o}}function G_(e,t,n){Fi(Fe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function HT(e,t,n,i){let s=i.includes(".")?xT(n,i):()=>n[i];if(Ke(e)){const o=t[e];Xe(o)&&an(s,o)}else if(Xe(e))an(s,e.bind(n));else if(Tt(e))if(Fe(e))e.forEach(o=>HT(o,t,n,i));else{const o=Xe(e.handler)?e.handler.bind(n):t[e.handler];Xe(o)&&an(s,o,e)}}function By(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,h=o.get(t);let d;return h?d=h:!s.length&&!n&&!i?d=t:(d={},s.length&&s.forEach(v=>rf(d,v,l,!0)),rf(d,t,l)),Tt(t)&&o.set(t,d),d}function rf(e,t,n,i=!1){const{mixins:s,extends:o}=t;o&&rf(e,o,n,!0),s&&s.forEach(l=>rf(e,l,n,!0));for(const l in t)if(!(i&&l==="expose")){const h=L2[l]||n&&n[l];e[l]=h?h(e[l],t[l]):t[l]}return e}const L2={data:q_,props:Y_,emits:Y_,methods:Fl,computed:Fl,beforeCreate:ni,created:ni,beforeMount:ni,mounted:ni,beforeUpdate:ni,updated:ni,beforeDestroy:ni,beforeUnmount:ni,destroyed:ni,unmounted:ni,activated:ni,deactivated:ni,errorCaptured:ni,serverPrefetch:ni,components:Fl,directives:Fl,watch:I2,provide:q_,inject:R2};function q_(e,t){return t?e?function(){return lt(Xe(e)?e.call(this,this):e,Xe(t)?t.call(this,this):t)}:t:e}function R2(e,t){return Fl(eg(e),eg(t))}function eg(e){if(Fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ni(e,t){return e?[...new Set([].concat(e,t))]:t}function Fl(e,t){return e?lt(Object.create(null),e,t):t}function Y_(e,t){return e?Fe(e)&&Fe(t)?[...new Set([...e,...t])]:lt(Object.create(null),ac(e),ac(t??{})):t}function I2(e,t){if(!e)return t;if(!t)return e;const n=lt(Object.create(null),e);for(const i in t)n[i]=ni(e[i],t[i]);return n}function UT(){return{app:null,config:{isNativeTag:oo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let N2=0;function M2(e,t){return function(i,s=null){Xe(i)||(i=lt({},i)),s!=null&&!Tt(s)&&(s=null);const o=UT(),l=new WeakSet,h=[];let d=!1;const v=o.app={_uid:N2++,_component:i,_props:s,_container:null,_context:o,_instance:null,version:lg,get config(){return o.config},set config(y){},use(y,...E){return l.has(y)||(y&&Xe(y.install)?(l.add(y),y.install(v,...E)):Xe(y)&&(l.add(y),y(v,...E))),v},mixin(y){return o.mixins.includes(y)||o.mixins.push(y),v},component(y,E){return E?(o.components[y]=E,v):o.components[y]},directive(y,E){return E?(o.directives[y]=E,v):o.directives[y]},mount(y,E,C){if(!d){const T=v._ceVNode||Ut(i,s);return T.appContext=o,C===!0?C="svg":C===!1&&(C=void 0),E&&t?t(T,y):e(T,y,C),d=!0,v._container=y,y.__vue_app__=v,v._instance=T.component,RD(v,lg),Bc(T.component)}},onUnmount(y){h.push(y)},unmount(){d&&(Fi(h,v._instance,16),e(null,v._container),v._instance=null,ID(v),delete v._container.__vue_app__)},provide(y,E){return o.provides[y]=E,v},runWithContext(y){const E=go;go=v;try{return y()}finally{go=E}}};return v}}let go=null;function D2(e,t,n=dt){const i=Sn(),s=jt(t),o=qn(t),l=$T(e,s),h=xy((d,v)=>{let y,E=dt,C;return ET(()=>{const T=e[s];Xn(y,T)&&(y=T,v())}),{get(){return d(),n.get?n.get(y):y},set(T){const O=n.set?n.set(T):T;if(!Xn(O,y)&&!(E!==dt&&Xn(T,E)))return;const P=i.vnode.props;P&&(t in P||s in P||o in P)&&(`onUpdate:${t}`in P||`onUpdate:${s}`in P||`onUpdate:${o}`in P)||(y=T,v()),i.emit(`update:${t}`,O),Xn(T,O)&&Xn(T,E)&&!Xn(O,C)&&v(),E=T,C=O}}});return h[Symbol.iterator]=()=>{let d=0;return{next(){return d<2?{value:d++?l||dt:h,done:!1}:{done:!0}}}},h}const $T=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jt(t)}Modifiers`]||e[`${qn(t)}Modifiers`];function F2(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||dt;let s=n;const o=t.startsWith("update:"),l=o&&$T(i,t.slice(7));l&&(l.trim&&(s=n.map(y=>Ke(y)?y.trim():y)),l.number&&(s=n.map(Lc))),DD(e,t,s);let h,d=i[h=fo(t)]||i[h=fo(jt(t))];!d&&o&&(d=i[h=fo(qn(t))]),d&&Fi(d,e,6,s);const v=i[h+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[h])return;e.emitted[h]=!0,Fi(v,e,6,s)}}const B2=new WeakMap;function jT(e,t,n=!1){const i=n?B2:t.emitsCache,s=i.get(e);if(s!==void 0)return s;const o=e.emits;let l={},h=!1;if(!Xe(e)){const d=v=>{const y=jT(v,t,!0);y&&(h=!0,lt(l,y))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!o&&!h?(Tt(e)&&i.set(e,null),null):(Fe(o)?o.forEach(d=>l[d]=null):lt(l,o),Tt(e)&&i.set(e,l),l)}function ed(e,t){return!e||!Fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),wt(e,t[0].toLowerCase()+t.slice(1))||wt(e,qn(t))||wt(e,t))}function Eh(e){const{type:t,vnode:n,proxy:i,withProxy:s,propsOptions:[o],slots:l,attrs:h,emit:d,render:v,renderCache:y,props:E,data:C,setupState:T,ctx:O,inheritAttrs:P}=e,I=oc(e);let R,D;try{if(n.shapeFlag&4){const A=s||i,$=A;R=fi(v.call($,A,y,E,T,C,O)),D=h}else{const A=t;R=fi(A.length>1?A(E,{attrs:h,slots:l,emit:d}):A(E,null)),D=t.props?h:U2(h)}}catch(A){Xl.length=0,Mo(A,e,1),R=Ut(on)}let F=R;if(D&&P!==!1){const A=Object.keys(D),{shapeFlag:$}=F;A.length&&$&7&&(o&&A.some($f)&&(D=$2(D,o)),F=Cr(F,D,!1,!0))}return n.dirs&&(F=Cr(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&ns(F,n.transition),R=F,oc(I),R}function H2(e,t=!0){let n;for(let i=0;i<e.length;i++){const s=e[i];if(Tr(s)){if(s.type!==on||s.children==="v-if"){if(n)return;n=s}}else return}return n}const U2=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fs(n))&&((t||(t={}))[n]=e[n]);return t},$2=(e,t)=>{const n={};for(const i in e)(!$f(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function j2(e,t,n){const{props:i,children:s,component:o}=e,{props:l,children:h,patchFlag:d}=t,v=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return i?K_(i,l,v):!!l;if(d&8){const y=t.dynamicProps;for(let E=0;E<y.length;E++){const C=y[E];if(l[C]!==i[C]&&!ed(v,C))return!0}}}else return(s||h)&&(!h||!h.$stable)?!0:i===l?!1:i?l?K_(i,l,v):!0:!!l;return!1}function K_(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const o=i[s];if(t[o]!==e[o]&&!ed(n,o))return!0}return!1}function td({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const VT={},WT=()=>Object.create(VT),zT=e=>Object.getPrototypeOf(e)===VT;function V2(e,t,n,i=!1){const s={},o=WT();e.propsDefaults=Object.create(null),XT(e,t,s,o);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=i?s:Qi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function W2(e,t,n,i){const{props:s,attrs:o,vnode:{patchFlag:l}}=e,h=at(s),[d]=e.propsOptions;let v=!1;if((i||l>0)&&!(l&16)){if(l&8){const y=e.vnode.dynamicProps;for(let E=0;E<y.length;E++){let C=y[E];if(ed(e.emitsOptions,C))continue;const T=t[C];if(d)if(wt(o,C))T!==o[C]&&(o[C]=T,v=!0);else{const O=jt(C);s[O]=tg(d,h,O,T,e,!1)}else T!==o[C]&&(o[C]=T,v=!0)}}}else{XT(e,t,s,o)&&(v=!0);let y;for(const E in h)(!t||!wt(t,E)&&((y=qn(E))===E||!wt(t,y)))&&(d?n&&(n[E]!==void 0||n[y]!==void 0)&&(s[E]=tg(d,h,E,void 0,e,!0)):delete s[E]);if(o!==h)for(const E in o)(!t||!wt(t,E))&&(delete o[E],v=!0)}v&&Vr(e.attrs,"set","")}function XT(e,t,n,i){const[s,o]=e.propsOptions;let l=!1,h;if(t)for(let d in t){if(_r(d))continue;const v=t[d];let y;s&&wt(s,y=jt(d))?!o||!o.includes(y)?n[y]=v:(h||(h={}))[y]=v:ed(e.emitsOptions,d)||(!(d in i)||v!==i[d])&&(i[d]=v,l=!0)}if(o){const d=at(n),v=h||dt;for(let y=0;y<o.length;y++){const E=o[y];n[E]=tg(s,d,E,v[E],e,!wt(v,E))}}return l}function tg(e,t,n,i,s,o){const l=e[n];if(l!=null){const h=wt(l,"default");if(h&&i===void 0){const d=l.default;if(l.type!==Function&&!l.skipFactory&&Xe(d)){const{propsDefaults:v}=s;if(n in v)i=v[n];else{const y=To(s);i=v[n]=d.call(null,t),y()}}else i=d;s.ce&&s.ce._setProp(n,i)}l[0]&&(o&&!h?i=!1:l[1]&&(i===""||i===qn(n))&&(i=!0))}return i}const z2=new WeakMap;function GT(e,t,n=!1){const i=n?z2:t.propsCache,s=i.get(e);if(s)return s;const o=e.props,l={},h=[];let d=!1;if(!Xe(e)){const y=E=>{d=!0;const[C,T]=GT(E,t,!0);lt(l,C),T&&h.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(y),e.extends&&y(e.extends),e.mixins&&e.mixins.forEach(y)}if(!o&&!d)return Tt(e)&&i.set(e,uo),uo;if(Fe(o))for(let y=0;y<o.length;y++){const E=jt(o[y]);J_(E)&&(l[E]=dt)}else if(o)for(const y in o){const E=jt(y);if(J_(E)){const C=o[y],T=l[E]=Fe(C)||Xe(C)?{type:C}:lt({},C),O=T.type;let P=!1,I=!0;if(Fe(O))for(let R=0;R<O.length;++R){const D=O[R],F=Xe(D)&&D.name;if(F==="Boolean"){P=!0;break}else F==="String"&&(I=!1)}else P=Xe(O)&&O.name==="Boolean";T[0]=P,T[1]=I,(P||wt(T,"default"))&&h.push(E)}}const v=[l,h];return Tt(e)&&i.set(e,v),v}function J_(e){return e[0]!=="$"&&!_r(e)}const Hy=e=>e==="_"||e==="_ctx"||e==="$stable",Uy=e=>Fe(e)?e.map(fi):[fi(e)],X2=(e,t,n)=>{if(t._n)return t;const i=Mc((...s)=>Uy(t(...s)),n);return i._c=!1,i},qT=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Hy(s))continue;const o=e[s];if(Xe(o))t[s]=X2(s,o,i);else if(o!=null){const l=Uy(o);t[s]=()=>l}}},YT=(e,t)=>{const n=Uy(t);e.slots.default=()=>n},KT=(e,t,n)=>{for(const i in t)(n||!Hy(i))&&(e[i]=t[i])},G2=(e,t,n)=>{const i=e.slots=WT();if(e.vnode.shapeFlag&32){const s=t._;s?(KT(i,t,n),n&&xo(i,"_",s,!0)):qT(t,i)}else t&&YT(e,t)},q2=(e,t,n)=>{const{vnode:i,slots:s}=e;let o=!0,l=dt;if(i.shapeFlag&32){const h=t._;h?n&&h===1?o=!1:KT(s,t,n):(o=!t.$stable,qT(t,s)),l=t}else t&&(YT(e,t),l={default:1});if(o)for(const h in s)!Hy(h)&&l[h]==null&&delete s[h]},mn=r1;function JT(e){return QT(e)}function ZT(e){return QT(e,KD)}function QT(e,t){const n=Rc();n.__VUE__=!0,Ty(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:s,patchProp:o,createElement:l,createText:h,createComment:d,setText:v,setElementText:y,parentNode:E,nextSibling:C,setScopeId:T=On,insertStaticContent:O}=e,P=(z,G,le,ve=null,fe=null,W=null,X=void 0,ee=null,ae=!!G.dynamicChildren)=>{if(z===G)return;z&&!Zi(z,G)&&(ve=me(z),Je(z,fe,W,!0),z=null),G.patchFlag===-2&&(ae=!1,G.dynamicChildren=null);const{type:he,ref:Ee,shapeFlag:Q}=G;switch(he){case xr:I(z,G,le,ve);break;case on:R(z,G,le,ve);break;case Ps:z==null&&D(G,le,ve,X);break;case Zt:q(z,G,le,ve,fe,W,X,ee,ae);break;default:Q&1?$(z,G,le,ve,fe,W,X,ee,ae):Q&6?ce(z,G,le,ve,fe,W,X,ee,ae):(Q&64||Q&128)&&he.process(z,G,le,ve,fe,W,X,ee,ae,Ie)}Ee!=null&&fe?pa(Ee,z&&z.ref,W,G||z,!G):Ee==null&&z&&z.ref!=null&&pa(z.ref,null,W,z,!0)},I=(z,G,le,ve)=>{if(z==null)i(G.el=h(G.children),le,ve);else{const fe=G.el=z.el;G.children!==z.children&&v(fe,G.children)}},R=(z,G,le,ve)=>{z==null?i(G.el=d(G.children||""),le,ve):G.el=z.el},D=(z,G,le,ve)=>{[z.el,z.anchor]=O(z.children,G,le,ve,z.el,z.anchor)},F=({el:z,anchor:G},le,ve)=>{let fe;for(;z&&z!==G;)fe=C(z),i(z,le,ve),z=fe;i(G,le,ve)},A=({el:z,anchor:G})=>{let le;for(;z&&z!==G;)le=C(z),s(z),z=le;s(G)},$=(z,G,le,ve,fe,W,X,ee,ae)=>{if(G.type==="svg"?X="svg":G.type==="math"&&(X="mathml"),z==null)U(G,le,ve,fe,W,X,ee,ae);else{const he=z.el&&z.el._isVueCE?z.el:null;try{he&&he._beginPatch(),Y(z,G,fe,W,X,ee,ae)}finally{he&&he._endPatch()}}},U=(z,G,le,ve,fe,W,X,ee)=>{let ae,he;const{props:Ee,shapeFlag:Q,transition:se,dirs:Oe}=z;if(ae=z.el=l(z.type,W,Ee&&Ee.is,Ee),Q&8?y(ae,z.children):Q&16&&J(z.children,ae,null,ve,fe,lm(z,W),X,ee),Oe&&yr(z,null,ve,"created"),N(ae,z,z.scopeId,X,ve),Ee){for(const Qe in Ee)Qe!=="value"&&!_r(Qe)&&o(ae,Qe,null,Ee[Qe],W,ve);"value"in Ee&&o(ae,"value",null,Ee.value,W),(he=Ee.onVnodeBeforeMount)&&hi(he,ve,z)}xo(ae,"__vnode",z,!0),xo(ae,"__vueParentComponent",ve,!0),Oe&&yr(z,null,ve,"beforeMount");const Ue=e1(fe,se);Ue&&se.beforeEnter(ae),i(ae,G,le),((he=Ee&&Ee.onVnodeMounted)||Ue||Oe)&&mn(()=>{he&&hi(he,ve,z),Ue&&se.enter(ae),Oe&&yr(z,null,ve,"mounted")},fe)},N=(z,G,le,ve,fe)=>{if(le&&T(z,le),ve)for(let W=0;W<ve.length;W++)T(z,ve[W]);if(fe){let W=fe.subTree;if(G===W||of(W.type)&&(W.ssContent===G||W.ssFallback===G)){const X=fe.vnode;N(z,X,X.scopeId,X.slotScopeIds,fe.parent)}}},J=(z,G,le,ve,fe,W,X,ee,ae=0)=>{for(let he=ae;he<z.length;he++){const Ee=z[he]=ee?xs(z[he]):fi(z[he]);P(null,Ee,G,le,ve,fe,W,X,ee)}},Y=(z,G,le,ve,fe,W,X)=>{const ee=G.el=z.el;ee.__vnode=G;let{patchFlag:ae,dynamicChildren:he,dirs:Ee}=G;ae|=z.patchFlag&16;const Q=z.props||dt,se=G.props||dt;let Oe;if(le&&Zs(le,!1),(Oe=se.onVnodeBeforeUpdate)&&hi(Oe,le,G,z),Ee&&yr(G,z,le,"beforeUpdate"),le&&Zs(le,!0),(Q.innerHTML&&se.innerHTML==null||Q.textContent&&se.textContent==null)&&y(ee,""),he?K(z.dynamicChildren,he,ee,le,ve,lm(G,fe),W):X||be(z,G,ee,null,le,ve,lm(G,fe),W,!1),ae>0){if(ae&16)oe(ee,Q,se,le,fe);else if(ae&2&&Q.class!==se.class&&o(ee,"class",null,se.class,fe),ae&4&&o(ee,"style",Q.style,se.style,fe),ae&8){const Ue=G.dynamicProps;for(let Qe=0;Qe<Ue.length;Qe++){const it=Ue[Qe],kt=Q[it],en=se[it];(en!==kt||it==="value")&&o(ee,it,kt,en,fe,le)}}ae&1&&z.children!==G.children&&y(ee,G.children)}else!X&&he==null&&oe(ee,Q,se,le,fe);((Oe=se.onVnodeUpdated)||Ee)&&mn(()=>{Oe&&hi(Oe,le,G,z),Ee&&yr(G,z,le,"updated")},ve)},K=(z,G,le,ve,fe,W,X)=>{for(let ee=0;ee<G.length;ee++){const ae=z[ee],he=G[ee],Ee=ae.el&&(ae.type===Zt||!Zi(ae,he)||ae.shapeFlag&198)?E(ae.el):le;P(ae,he,Ee,null,ve,fe,W,X,!0)}},oe=(z,G,le,ve,fe)=>{if(G!==le){if(G!==dt)for(const W in G)!_r(W)&&!(W in le)&&o(z,W,G[W],null,fe,ve);for(const W in le){if(_r(W))continue;const X=le[W],ee=G[W];X!==ee&&W!=="value"&&o(z,W,ee,X,fe,ve)}"value"in le&&o(z,"value",G.value,le.value,fe)}},q=(z,G,le,ve,fe,W,X,ee,ae)=>{const he=G.el=z?z.el:h(""),Ee=G.anchor=z?z.anchor:h("");let{patchFlag:Q,dynamicChildren:se,slotScopeIds:Oe}=G;Oe&&(ee=ee?ee.concat(Oe):Oe),z==null?(i(he,le,ve),i(Ee,le,ve),J(G.children||[],le,Ee,fe,W,X,ee,ae)):Q>0&&Q&64&&se&&z.dynamicChildren&&z.dynamicChildren.length===se.length?(K(z.dynamicChildren,se,le,fe,W,X,ee),(G.key!=null||fe&&G===fe.subTree)&&$y(z,G,!0)):be(z,G,le,Ee,fe,W,X,ee,ae)},ce=(z,G,le,ve,fe,W,X,ee,ae)=>{G.slotScopeIds=ee,z==null?G.shapeFlag&512?fe.ctx.activate(G,le,ve,X,ae):xe(G,le,ve,fe,W,X,ae):Se(z,G,ae)},xe=(z,G,le,ve,fe,W,X)=>{const ee=z.component=c1(z,ve,fe);if(Fc(z)&&(ee.ctx.renderer=Ie),h1(ee,!1,X),ee.asyncDep){if(fe&&fe.registerDep(ee,pe,X),!z.el){const ae=ee.subTree=Ut(on);R(null,ae,G,le),z.placeholder=ae.el}}else pe(ee,z,G,le,fe,W,X)},Se=(z,G,le)=>{const ve=G.component=z.component;if(j2(z,G,le))if(ve.asyncDep&&!ve.asyncResolved){Ce(ve,G,le);return}else ve.next=G,ve.update();else G.el=z.el,ve.vnode=G},pe=(z,G,le,ve,fe,W,X)=>{const ee=()=>{if(z.isMounted){let{next:Q,bu:se,u:Oe,parent:Ue,vnode:Qe}=z;{const Pn=t1(z);if(Pn){Q&&(Q.el=Qe.el,Ce(z,Q,X)),Pn.asyncDep.then(()=>{z.isUnmounted||ee()});return}}let it=Q,kt;Zs(z,!1),Q?(Q.el=Qe.el,Ce(z,Q,X)):Q=Qe,se&&po(se),(kt=Q.props&&Q.props.onVnodeBeforeUpdate)&&hi(kt,Ue,Q,Qe),Zs(z,!0);const en=Eh(z),Un=z.subTree;z.subTree=en,P(Un,en,E(Un.el),me(Un),z,fe,W),Q.el=en.el,it===null&&td(z,en.el),Oe&&mn(Oe,fe),(kt=Q.props&&Q.props.onVnodeUpdated)&&mn(()=>hi(kt,Ue,Q,Qe),fe),vT(z)}else{let Q;const{el:se,props:Oe}=G,{bm:Ue,m:Qe,parent:it,root:kt,type:en}=z,Un=qr(G);if(Zs(z,!1),Ue&&po(Ue),!Un&&(Q=Oe&&Oe.onVnodeBeforeMount)&&hi(Q,it,G),Zs(z,!0),se&&we){const Pn=()=>{z.subTree=Eh(z),we(se,z.subTree,z,fe,null)};Un&&en.__asyncHydrate?en.__asyncHydrate(se,z,Pn):Pn()}else{kt.ce&&kt.ce._def.shadowRoot!==!1&&kt.ce._injectChildStyle(en);const Pn=z.subTree=Eh(z);P(null,Pn,le,ve,z,fe,W),G.el=Pn.el}if(Qe&&mn(Qe,fe),!Un&&(Q=Oe&&Oe.onVnodeMounted)){const Pn=G;mn(()=>hi(Q,it,Pn),fe)}(G.shapeFlag&256||it&&qr(it.vnode)&&it.vnode.shapeFlag&256)&&z.a&&mn(z.a,fe),z.isMounted=!0,Ym(z),G=le=ve=null}};z.scope.on();const ae=z.effect=new tc(ee);z.scope.off();const he=z.update=ae.run.bind(ae),Ee=z.job=ae.runIfDirty.bind(ae);Ee.i=z,Ee.id=z.uid,ae.scheduler=()=>wy(Ee),Zs(z,!0),he()},Ce=(z,G,le)=>{G.component=z;const ve=z.vnode.props;z.vnode=G,z.next=null,W2(z,G.props,ve,le),q2(z,G.children,le),es(),B_(z),ts()},be=(z,G,le,ve,fe,W,X,ee,ae=!1)=>{const he=z&&z.children,Ee=z?z.shapeFlag:0,Q=G.children,{patchFlag:se,shapeFlag:Oe}=G;if(se>0){if(se&128){ot(he,Q,le,ve,fe,W,X,ee,ae);return}else if(se&256){Pe(he,Q,le,ve,fe,W,X,ee,ae);return}}Oe&8?(Ee&16&&xt(he,fe,W),Q!==he&&y(le,Q)):Ee&16?Oe&16?ot(he,Q,le,ve,fe,W,X,ee,ae):xt(he,fe,W,!0):(Ee&8&&y(le,""),Oe&16&&J(Q,le,ve,fe,W,X,ee,ae))},Pe=(z,G,le,ve,fe,W,X,ee,ae)=>{z=z||uo,G=G||uo;const he=z.length,Ee=G.length,Q=Math.min(he,Ee);let se;for(se=0;se<Q;se++){const Oe=G[se]=ae?xs(G[se]):fi(G[se]);P(z[se],Oe,le,null,fe,W,X,ee,ae)}he>Ee?xt(z,fe,W,!0,!1,Q):J(G,le,ve,fe,W,X,ee,ae,Q)},ot=(z,G,le,ve,fe,W,X,ee,ae)=>{let he=0;const Ee=G.length;let Q=z.length-1,se=Ee-1;for(;he<=Q&&he<=se;){const Oe=z[he],Ue=G[he]=ae?xs(G[he]):fi(G[he]);if(Zi(Oe,Ue))P(Oe,Ue,le,null,fe,W,X,ee,ae);else break;he++}for(;he<=Q&&he<=se;){const Oe=z[Q],Ue=G[se]=ae?xs(G[se]):fi(G[se]);if(Zi(Oe,Ue))P(Oe,Ue,le,null,fe,W,X,ee,ae);else break;Q--,se--}if(he>Q){if(he<=se){const Oe=se+1,Ue=Oe<Ee?G[Oe].el:ve;for(;he<=se;)P(null,G[he]=ae?xs(G[he]):fi(G[he]),le,Ue,fe,W,X,ee,ae),he++}}else if(he>se)for(;he<=Q;)Je(z[he],fe,W,!0),he++;else{const Oe=he,Ue=he,Qe=new Map;for(he=Ue;he<=se;he++){const Ne=G[he]=ae?xs(G[he]):fi(G[he]);Ne.key!=null&&Qe.set(Ne.key,he)}let it,kt=0;const en=se-Ue+1;let Un=!1,Pn=0;const de=new Array(en);for(he=0;he<en;he++)de[he]=0;for(he=Oe;he<=Q;he++){const Ne=z[he];if(kt>=en){Je(Ne,fe,W,!0);continue}let Ze;if(Ne.key!=null)Ze=Qe.get(Ne.key);else for(it=Ue;it<=se;it++)if(de[it-Ue]===0&&Zi(Ne,G[it])){Ze=it;break}Ze===void 0?Je(Ne,fe,W,!0):(de[Ze-Ue]=he+1,Ze>=Pn?Pn=Ze:Un=!0,P(Ne,G[Ze],le,null,fe,W,X,ee,ae),kt++)}const He=Un?Y2(de):uo;for(it=He.length-1,he=en-1;he>=0;he--){const Ne=Ue+he,Ze=G[Ne],ut=G[Ne+1],_t=Ne+1<Ee?ut.el||n1(ut):ve;de[he]===0?P(null,Ze,le,_t,fe,W,X,ee,ae):Un&&(it<0||he!==He[it]?tt(Ze,le,_t,2):it--)}}},tt=(z,G,le,ve,fe=null)=>{const{el:W,type:X,transition:ee,children:ae,shapeFlag:he}=z;if(he&6){tt(z.component.subTree,G,le,ve);return}if(he&128){z.suspense.move(G,le,ve);return}if(he&64){X.move(z,G,le,Ie);return}if(X===Zt){i(W,G,le);for(let Q=0;Q<ae.length;Q++)tt(ae[Q],G,le,ve);i(z.anchor,G,le);return}if(X===Ps){F(z,G,le);return}if(ve!==2&&he&1&&ee)if(ve===0)ee.beforeEnter(W),i(W,G,le),mn(()=>ee.enter(W),fe);else{const{leave:Q,delayLeave:se,afterLeave:Oe}=ee,Ue=()=>{z.ctx.isUnmounted?s(W):i(W,G,le)},Qe=()=>{W._isLeaving&&W[$r](!0),Q(W,()=>{Ue(),Oe&&Oe()})};se?se(W,Ue,Qe):Qe()}else i(W,G,le)},Je=(z,G,le,ve=!1,fe=!1)=>{const{type:W,props:X,ref:ee,children:ae,dynamicChildren:he,shapeFlag:Ee,patchFlag:Q,dirs:se,cacheIndex:Oe}=z;if(Q===-2&&(fe=!1),ee!=null&&(es(),pa(ee,null,le,z,!0),ts()),Oe!=null&&(G.renderCache[Oe]=void 0),Ee&256){G.ctx.deactivate(z);return}const Ue=Ee&1&&se,Qe=!qr(z);let it;if(Qe&&(it=X&&X.onVnodeBeforeUnmount)&&hi(it,G,z),Ee&6)yt(z.component,le,ve);else{if(Ee&128){z.suspense.unmount(le,ve);return}Ue&&yr(z,null,G,"beforeUnmount"),Ee&64?z.type.remove(z,G,le,Ie,ve):he&&!he.hasOnce&&(W!==Zt||Q>0&&Q&64)?xt(he,G,le,!1,!0):(W===Zt&&Q&384||!fe&&Ee&16)&&xt(ae,G,le),ve&&Ct(z)}(Qe&&(it=X&&X.onVnodeUnmounted)||Ue)&&mn(()=>{it&&hi(it,G,z),Ue&&yr(z,null,G,"unmounted")},le)},Ct=z=>{const{type:G,el:le,anchor:ve,transition:fe}=z;if(G===Zt){bt(le,ve);return}if(G===Ps){A(z);return}const W=()=>{s(le),fe&&!fe.persisted&&fe.afterLeave&&fe.afterLeave()};if(z.shapeFlag&1&&fe&&!fe.persisted){const{leave:X,delayLeave:ee}=fe,ae=()=>X(le,W);ee?ee(z.el,W,ae):ae()}else W()},bt=(z,G)=>{let le;for(;z!==G;)le=C(z),s(z),z=le;s(G)},yt=(z,G,le)=>{const{bum:ve,scope:fe,job:W,subTree:X,um:ee,m:ae,a:he}=z;sf(ae),sf(he),ve&&po(ve),fe.stop(),W&&(W.flags|=8,Je(X,z,G,le)),ee&&mn(ee,G),mn(()=>{z.isUnmounted=!0},G),MD(z)},xt=(z,G,le,ve=!1,fe=!1,W=0)=>{for(let X=W;X<z.length;X++)Je(z[X],G,le,ve,fe)},me=z=>{if(z.shapeFlag&6)return me(z.component.subTree);if(z.shapeFlag&128)return z.suspense.next();const G=C(z.anchor||z.el),le=G&&G[ST];return le?C(le):G};let Te=!1;const Ae=(z,G,le)=>{let ve;z==null?G._vnode&&(Je(G._vnode,null,null,!0),ve=G._vnode.component):P(G._vnode||null,z,G,null,null,null,le),G._vnode=z,Te||(Te=!0,B_(ve),ef(),Te=!1)},Ie={p:P,um:Je,m:tt,r:Ct,mt:xe,mc:J,pc:be,pbc:K,n:me,o:e};let We,we;return t&&([We,we]=t(Ie)),{render:Ae,hydrate:We,createApp:M2(Ae,We)}}function lm({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Zs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function e1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $y(e,t,n=!1){const i=e.children,s=t.children;if(Fe(i)&&Fe(s))for(let o=0;o<i.length;o++){const l=i[o];let h=s[o];h.shapeFlag&1&&!h.dynamicChildren&&((h.patchFlag<=0||h.patchFlag===32)&&(h=s[o]=xs(s[o]),h.el=l.el),!n&&h.patchFlag!==-2&&$y(l,h)),h.type===xr&&(h.patchFlag!==-1?h.el=l.el:h.__elIndex=o+(e.type===Zt?1:0)),h.type===on&&!h.el&&(h.el=l.el)}}function Y2(e){const t=e.slice(),n=[0];let i,s,o,l,h;const d=e.length;for(i=0;i<d;i++){const v=e[i];if(v!==0){if(s=n[n.length-1],e[s]<v){t[i]=s,n.push(i);continue}for(o=0,l=n.length-1;o<l;)h=o+l>>1,e[n[h]]<v?o=h+1:l=h;v<e[n[o]]&&(o>0&&(t[i]=n[o-1]),n[o]=i)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function t1(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:t1(t)}function sf(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function n1(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?n1(t.subTree):null}const of=e=>e.__isSuspense;let ng=0;const K2={name:"Suspense",__isSuspense:!0,process(e,t,n,i,s,o,l,h,d,v){if(e==null)J2(t,n,i,s,o,l,h,d,v);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Z2(e,t,n,i,s,l,h,d,v)}},hydrate:Q2,normalize:eF},nd=K2;function lc(e,t){const n=e.props&&e.props[t];Xe(n)&&n()}function J2(e,t,n,i,s,o,l,h,d){const{p:v,o:{createElement:y}}=d,E=y("div"),C=e.suspense=i1(e,s,i,t,E,n,o,l,h,d);v(null,C.pendingBranch=e.ssContent,E,null,i,C,o,l),C.deps>0?(lc(e,"onPending"),lc(e,"onFallback"),v(null,e.ssFallback,t,n,i,null,o,l),ma(C,e.ssFallback)):C.resolve(!1,!0)}function Z2(e,t,n,i,s,o,l,h,{p:d,um:v,o:{createElement:y}}){const E=t.suspense=e.suspense;E.vnode=t,t.el=e.el;const C=t.ssContent,T=t.ssFallback,{activeBranch:O,pendingBranch:P,isInFallback:I,isHydrating:R}=E;if(P)E.pendingBranch=C,Zi(P,C)?(d(P,C,E.hiddenContainer,null,s,E,o,l,h),E.deps<=0?E.resolve():I&&(R||(d(O,T,n,i,s,null,o,l,h),ma(E,T)))):(E.pendingId=ng++,R?(E.isHydrating=!1,E.activeBranch=P):v(P,s,E),E.deps=0,E.effects.length=0,E.hiddenContainer=y("div"),I?(d(null,C,E.hiddenContainer,null,s,E,o,l,h),E.deps<=0?E.resolve():(d(O,T,n,i,s,null,o,l,h),ma(E,T))):O&&Zi(O,C)?(d(O,C,n,i,s,E,o,l,h),E.resolve(!0)):(d(null,C,E.hiddenContainer,null,s,E,o,l,h),E.deps<=0&&E.resolve()));else if(O&&Zi(O,C))d(O,C,n,i,s,E,o,l,h),ma(E,C);else if(lc(t,"onPending"),E.pendingBranch=C,C.shapeFlag&512?E.pendingId=C.component.suspenseId:E.pendingId=ng++,d(null,C,E.hiddenContainer,null,s,E,o,l,h),E.deps<=0)E.resolve();else{const{timeout:D,pendingId:F}=E;D>0?setTimeout(()=>{E.pendingId===F&&E.fallback(T)},D):D===0&&E.fallback(T)}}function i1(e,t,n,i,s,o,l,h,d,v,y=!1){const{p:E,m:C,um:T,n:O,o:{parentNode:P,remove:I}}=v;let R;const D=tF(e);D&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const F=e.props?Ql(e.props.timeout):void 0,A=o,$={vnode:e,parent:t,parentComponent:n,namespace:l,container:i,hiddenContainer:s,deps:0,pendingId:ng++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!y,isHydrating:y,isUnmounted:!1,effects:[],resolve(U=!1,N=!1){const{vnode:J,activeBranch:Y,pendingBranch:K,pendingId:oe,effects:q,parentComponent:ce,container:xe,isInFallback:Se}=$;let pe=!1;$.isHydrating?$.isHydrating=!1:U||(pe=Y&&K.transition&&K.transition.mode==="out-in",pe&&(Y.transition.afterLeave=()=>{oe===$.pendingId&&(C(K,xe,o===A?O(Y):o,0),rc(q),Se&&J.ssFallback&&(J.ssFallback.el=null))}),Y&&(P(Y.el)===xe&&(o=O(Y)),T(Y,ce,$,!0),!pe&&Se&&J.ssFallback&&mn(()=>J.ssFallback.el=null,$)),pe||C(K,xe,o,0)),ma($,K),$.pendingBranch=null,$.isInFallback=!1;let Ce=$.parent,be=!1;for(;Ce;){if(Ce.pendingBranch){Ce.effects.push(...q),be=!0;break}Ce=Ce.parent}!be&&!pe&&rc(q),$.effects=[],D&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),lc(J,"onResolve")},fallback(U){if(!$.pendingBranch)return;const{vnode:N,activeBranch:J,parentComponent:Y,container:K,namespace:oe}=$;lc(N,"onFallback");const q=O(J),ce=()=>{$.isInFallback&&(E(null,U,K,q,Y,null,oe,h,d),ma($,U))},xe=U.transition&&U.transition.mode==="out-in";xe&&(J.transition.afterLeave=ce),$.isInFallback=!0,T(J,Y,null,!0),xe||ce()},move(U,N,J){$.activeBranch&&C($.activeBranch,U,N,J),$.container=U},next(){return $.activeBranch&&O($.activeBranch)},registerDep(U,N,J){const Y=!!$.pendingBranch;Y&&$.deps++;const K=U.vnode.el;U.asyncDep.catch(oe=>{Mo(oe,U,0)}).then(oe=>{if(U.isUnmounted||$.isUnmounted||$.pendingId!==U.suspenseId)return;U.asyncResolved=!0;const{vnode:q}=U;sg(U,oe,!1),K&&(q.el=K);const ce=!K&&U.subTree.el;N(U,q,P(K||U.subTree.el),K?null:O(U.subTree),$,l,J),ce&&(q.placeholder=null,I(ce)),td(U,q.el),Y&&--$.deps===0&&$.resolve()})},unmount(U,N){$.isUnmounted=!0,$.activeBranch&&T($.activeBranch,n,U,N),$.pendingBranch&&T($.pendingBranch,n,U,N)}};return $}function Q2(e,t,n,i,s,o,l,h,d){const v=t.suspense=i1(t,i,n,e.parentNode,document.createElement("div"),null,s,o,l,h,!0),y=d(e,v.pendingBranch=t.ssContent,n,v,o,l);return v.deps===0&&v.resolve(!1,!0),y}function eF(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=Z_(i?n.default:n),e.ssFallback=i?Z_(n.fallback):Ut(on)}function Z_(e){let t;if(Xe(e)){const n=wo&&e._c;n&&(e._d=!1,Si()),e=e(),n&&(e._d=!0,t=Kn,s1())}return Fe(e)&&(e=H2(e)),e=fi(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function r1(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):rc(e)}function ma(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,td(i,s))}function tF(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Zt=Symbol.for("v-fgt"),xr=Symbol.for("v-txt"),on=Symbol.for("v-cmt"),Ps=Symbol.for("v-stc"),Xl=[];let Kn=null;function Si(e=!1){Xl.push(Kn=e?null:[])}function s1(){Xl.pop(),Kn=Xl[Xl.length-1]||null}let wo=1;function cc(e,t=!1){wo+=e,e<0&&Kn&&t&&(Kn.hasOnce=!0)}function o1(e){return e.dynamicChildren=wo>0?Kn||uo:null,s1(),wo>0&&Kn&&Kn.push(e),e}function a1(e,t,n,i,s,o){return o1(jy(e,t,n,i,s,o,!0))}function Ji(e,t,n,i,s){return o1(Ut(e,t,n,i,s,!0))}function Tr(e){return e?e.__v_isVNode===!0:!1}function Zi(e,t){return e.type===t.type&&e.key===t.key}function nF(e){}const l1=({key:e})=>e??null,xh=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||mt(e)||Xe(e)?{i:Fn,r:e,k:t,f:!!n}:e:null);function jy(e,t=null,n=null,i=0,s=null,o=e===Zt?0:1,l=!1,h=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&l1(t),ref:t&&xh(t),scopeId:Kf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Fn};return h?(zy(d,n),o&128&&e.normalize(d)):n&&(d.shapeFlag|=Ke(n)?8:16),wo>0&&!l&&Kn&&(d.patchFlag>0||o&6)&&d.patchFlag!==32&&Kn.push(d),d}const Ut=iF;function iF(e,t=null,n=null,i=0,s=null,o=!1){if((!e||e===DT)&&(e=on),Tr(e)){const h=Cr(e,t,!0);return n&&zy(h,n),wo>0&&!o&&Kn&&(h.shapeFlag&6?Kn[Kn.indexOf(e)]=h:Kn.push(h)),h.patchFlag=-2,h}if(fF(e)&&(e=e.__vccOpts),t){t=Vy(t);let{class:h,style:d}=t;h&&!Ke(h)&&(t.class=Xa(h)),Tt(d)&&(Nc(d)&&!Fe(d)&&(d=lt({},d)),t.style=za(d))}const l=Ke(e)?1:of(e)?128:wT(e)?64:Tt(e)?4:Xe(e)?2:0;return jy(e,t,n,i,s,l,o,!0)}function Vy(e){return e?Nc(e)||zT(e)?lt({},e):e:null}function Cr(e,t,n=!1,i=!1){const{props:s,ref:o,patchFlag:l,children:h,transition:d}=e,v=t?Xy(s||{},t):s,y={__v_isVNode:!0,__v_skip:!0,type:e.type,props:v,key:v&&l1(v),ref:t&&t.ref?n&&o?Fe(o)?o.concat(xh(t)):[o,xh(t)]:xh(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:h,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Zt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cr(e.ssContent),ssFallback:e.ssFallback&&Cr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&i&&ns(y,d.clone(y)),y}function Wy(e=" ",t=0){return Ut(xr,null,e,t)}function rF(e,t){const n=Ut(Ps,null,e);return n.staticCount=t,n}function sF(e="",t=!1){return t?(Si(),Ji(on,null,e)):Ut(on,null,e)}function fi(e){return e==null||typeof e=="boolean"?Ut(on):Fe(e)?Ut(Zt,null,e.slice()):Tr(e)?xs(e):Ut(xr,null,String(e))}function xs(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cr(e)}function zy(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Fe(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),zy(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!zT(t)?t._ctx=Fn:s===3&&Fn&&(Fn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Xe(t)?(t={default:t,_ctx:Fn},n=32):(t=String(t),i&64?(n=16,t=[Wy(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xy(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const s in i)if(s==="class")t.class!==i.class&&(t.class=Xa([t.class,i.class]));else if(s==="style")t.style=za([t.style,i.style]);else if(Fs(s)){const o=t[s],l=i[s];l&&o!==l&&!(Fe(o)&&o.includes(l))&&(t[s]=o?[].concat(o,l):l)}else s!==""&&(t[s]=i[s])}return t}function hi(e,t,n,i=null){Fi(e,t,7,[n,i])}const oF=UT();let aF=0;function c1(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||oF,o={uid:aF++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yy(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:GT(i,s),emitsOptions:jT(i,s),emit:null,emitted:null,propsDefaults:dt,inheritAttrs:i.inheritAttrs,ctx:dt,data:dt,props:dt,attrs:dt,slots:dt,refs:dt,setupState:dt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=F2.bind(null,o),e.ce&&e.ce(o),o}let Dn=null;const Sn=()=>Dn||Fn;let af,ig;{const e=Rc(),t=(n,i)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(i),o=>{s.length>1?s.forEach(l=>l(o)):s[0](o)}};af=t("__VUE_INSTANCE_SETTERS__",n=>Dn=n),ig=t("__VUE_SSR_SETTERS__",n=>Sa=n)}const To=e=>{const t=Dn;return af(e),e.scope.on(),()=>{e.scope.off(),af(t)}},rg=()=>{Dn&&Dn.scope.off(),af(null)};function u1(e){return e.vnode.shapeFlag&4}let Sa=!1;function h1(e,t=!1,n=!1){t&&ig(t);const{props:i,children:s}=e.vnode,o=u1(e);V2(e,i,o,t),G2(e,s,n||t);const l=o?lF(e,t):void 0;return t&&ig(!1),l}function lF(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zm);const{setup:i}=n;if(i){es();const s=e.setupContext=i.length>1?d1(e):null,o=To(e),l=Ya(i,e,0,[e.props,s]),h=Vf(l);if(ts(),o(),(h||e.sp)&&!qr(e)&&Py(e),h){if(l.then(rg,rg),t)return l.then(d=>{sg(e,d,t)}).catch(d=>{Mo(d,e,0)});e.asyncDep=l}else sg(e,l,t)}else f1(e,t)}function sg(e,t,n){Xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Tt(t)&&(e.devtoolsRawSetupState=t,e.setupState=Ey(t)),f1(e,n)}let lf,og;function cF(e){lf=e,og=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,m2))}}const uF=()=>!lf;function f1(e,t,n){const i=e.type;if(!e.render){if(!t&&lf&&!i.render){const s=i.template||By(e).template;if(s){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:h,compilerOptions:d}=i,v=lt(lt({isCustomElement:o,delimiters:h},l),d);i.render=lf(s,v)}}e.render=i.render||On,og&&og(e)}{const s=To(e);es();try{k2(e)}finally{ts(),s()}}}const hF={get(e,t){return Gn(e,"get",""),e[t]}};function d1(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hF),slots:e.slots,emit:e.emit,expose:t}}function Bc(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ey(So(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zl)return zl[n](e)},has(t,n){return n in t||n in zl}})):e.proxy}function ag(e,t=!0){return Xe(e)?e.displayName||e.name:e.name||t&&e.__name}function fF(e){return Xe(e)&&"__vccOpts"in e}const Bt=(e,t)=>_D(e,t,Sa);function $t(e,t,n){try{cc(-1);const i=arguments.length;return i===2?Tt(t)&&!Fe(t)?Tr(t)?Ut(e,null,[t]):Ut(e,t):Ut(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Tr(n)&&(n=[n]),Ut(e,t,n))}finally{cc(1)}}function dF(){}function pF(e,t,n,i){const s=n[i];if(s&&p1(s,e))return s;const o=t();return o.memo=e.slice(),o.cacheIndex=i,n[i]=o}function p1(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i<n.length;i++)if(Xn(n[i],t[i]))return!1;return wo>0&&Kn&&Kn.push(e),!0}const lg="3.5.27",mF=On,gF=kD,yF=Ki,vF=Ty,bF={createComponentInstance:c1,setupComponent:h1,renderComponentRoot:Eh,setCurrentRenderingInstance:oc,isVNode:Tr,normalizeVNode:fi,getComponentPublicInstance:Bc,ensureValidVNode:Fy,pushWarningContext:TD,popWarningContext:CD},_F=bF,EF=null,xF=null,SF=null;let cg;const Q_=typeof window<"u"&&window.trustedTypes;if(Q_)try{cg=Q_.createPolicy("vue",{createHTML:e=>e})}catch{}const m1=cg?e=>cg.createHTML(e):e=>e,wF="http://www.w3.org/2000/svg",TF="http://www.w3.org/1998/Math/MathML",Ur=typeof document<"u"?document:null,eE=Ur&&Ur.createElement("template"),g1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t==="svg"?Ur.createElementNS(wF,e):t==="mathml"?Ur.createElementNS(TF,e):n?Ur.createElement(e,{is:n}):Ur.createElement(e);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>Ur.createTextNode(e),createComment:e=>Ur.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ur.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,o){const l=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{eE.innerHTML=m1(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const h=eE.content;if(i==="svg"||i==="mathml"){const d=h.firstChild;for(;d.firstChild;)h.appendChild(d.firstChild);h.removeChild(d)}t.insertBefore(h,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ms="transition",Sl="animation",wa=Symbol("_vtc"),y1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v1=lt({},ky,y1),CF=e=>(e.displayName="Transition",e.props=v1,e),b1=CF((e,{slots:t})=>$t(kT,_1(e),t)),Qs=(e,t=[])=>{Fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},tE=e=>e?Fe(e)?e.some(t=>t.length>1):e.length>1:!1;function _1(e){const t={};for(const q in e)q in y1||(t[q]=e[q]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:h=`${n}-enter-to`,appearFromClass:d=o,appearActiveClass:v=l,appearToClass:y=h,leaveFromClass:E=`${n}-leave-from`,leaveActiveClass:C=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,O=AF(s),P=O&&O[0],I=O&&O[1],{onBeforeEnter:R,onEnter:D,onEnterCancelled:F,onLeave:A,onLeaveCancelled:$,onBeforeAppear:U=R,onAppear:N=D,onAppearCancelled:J=F}=t,Y=(q,ce,xe,Se)=>{q._enterCancelled=Se,vs(q,ce?y:h),vs(q,ce?v:l),xe&&xe()},K=(q,ce)=>{q._isLeaving=!1,vs(q,E),vs(q,T),vs(q,C),ce&&ce()},oe=q=>(ce,xe)=>{const Se=q?N:D,pe=()=>Y(ce,q,xe);Qs(Se,[ce,pe]),nE(()=>{vs(ce,q?d:o),mr(ce,q?y:h),tE(Se)||iE(ce,i,P,pe)})};return lt(t,{onBeforeEnter(q){Qs(R,[q]),mr(q,o),mr(q,l)},onBeforeAppear(q){Qs(U,[q]),mr(q,d),mr(q,v)},onEnter:oe(!1),onAppear:oe(!0),onLeave(q,ce){q._isLeaving=!0;const xe=()=>K(q,ce);mr(q,E),q._enterCancelled?(mr(q,C),ug(q)):(ug(q),mr(q,C)),nE(()=>{q._isLeaving&&(vs(q,E),mr(q,T),tE(A)||iE(q,i,I,xe))}),Qs(A,[q,xe])},onEnterCancelled(q){Y(q,!1,void 0,!0),Qs(F,[q])},onAppearCancelled(q){Y(q,!0,void 0,!0),Qs(J,[q])},onLeaveCancelled(q){K(q),Qs($,[q])}})}function AF(e){if(e==null)return null;if(Tt(e))return[cm(e.enter),cm(e.leave)];{const t=cm(e);return[t,t]}}function cm(e){return Ql(e)}function mr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wa]||(e[wa]=new Set)).add(t)}function vs(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[wa];n&&(n.delete(t),n.size||(e[wa]=void 0))}function nE(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let OF=0;function iE(e,t,n,i){const s=e._endId=++OF,o=()=>{s===e._endId&&i()};if(n!=null)return setTimeout(o,n);const{type:l,timeout:h,propCount:d}=E1(e,t);if(!l)return i();const v=l+"end";let y=0;const E=()=>{e.removeEventListener(v,C),o()},C=T=>{T.target===e&&++y>=d&&E()};setTimeout(()=>{y<d&&E()},h+1),e.addEventListener(v,C)}function E1(e,t){const n=window.getComputedStyle(e),i=O=>(n[O]||"").split(", "),s=i(`${ms}Delay`),o=i(`${ms}Duration`),l=rE(s,o),h=i(`${Sl}Delay`),d=i(`${Sl}Duration`),v=rE(h,d);let y=null,E=0,C=0;t===ms?l>0&&(y=ms,E=l,C=o.length):t===Sl?v>0&&(y=Sl,E=v,C=d.length):(E=Math.max(l,v),y=E>0?l>v?ms:Sl:null,C=y?y===ms?o.length:d.length:0);const T=y===ms&&/\b(?:transform|all)(?:,|$)/.test(i(`${ms}Property`).toString());return{type:y,timeout:E,propCount:C,hasTransform:T}}function rE(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>sE(n)+sE(e[i])))}function sE(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ug(e){return(e?e.ownerDocument:document).body.offsetHeight}function kF(e,t,n){const i=e[wa];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cf=Symbol("_vod"),x1=Symbol("_vsh"),S1={name:"show",beforeMount(e,{value:t},{transition:n}){e[cf]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),wl(e,!0),i.enter(e)):i.leave(e,()=>{wl(e,!1)}):wl(e,t))},beforeUnmount(e,{value:t}){wl(e,t)}};function wl(e,t){e.style.display=t?e[cf]:"none",e[x1]=!t}function PF(){S1.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const w1=Symbol("");function LF(e){const t=Sn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>uf(o,s))},i=()=>{const s=e(t.proxy);t.ce?uf(t.ce,s):hg(t.subTree,s),n(s)};Iy(()=>{rc(i)}),rs(()=>{an(i,On,{flush:"post"});const s=new MutationObserver(i);s.observe(t.subTree.el.parentNode,{childList:!0}),Do(()=>s.disconnect())})}function hg(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{hg(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)uf(e.el,t);else if(e.type===Zt)e.children.forEach(n=>hg(n,t));else if(e.type===Ps){let{el:n,anchor:i}=e;for(;n&&(uf(n,t),n!==i);)n=n.nextSibling}}function uf(e,t){if(e.nodeType===1){const n=e.style;let i="";for(const s in t){const o=Gw(t[s]);n.setProperty(`--${s}`,o),i+=`--${s}: ${o};`}n[w1]=i}}const RF=/(?:^|;)\s*display\s*:/;function IF(e,t,n){const i=e.style,s=Ke(n);let o=!1;if(n&&!s){if(t)if(Ke(t))for(const l of t.split(";")){const h=l.slice(0,l.indexOf(":")).trim();n[h]==null&&Sh(i,h,"")}else for(const l in t)n[l]==null&&Sh(i,l,"");for(const l in n)l==="display"&&(o=!0),Sh(i,l,n[l])}else if(s){if(t!==n){const l=i[w1];l&&(n+=";"+l),i.cssText=n,o=RF.test(n)}}else t&&e.removeAttribute("style");cf in e&&(e[cf]=o?i.display:"",e[x1]&&(i.display="none"))}const oE=/\s*!important$/;function Sh(e,t,n){if(Fe(n))n.forEach(i=>Sh(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=NF(e,t);oE.test(n)?e.setProperty(qn(i),n.replace(oE,""),"important"):e[i]=n}}const aE=["Webkit","Moz","ms"],um={};function NF(e,t){const n=um[t];if(n)return n;let i=jt(t);if(i!=="filter"&&i in e)return um[t]=i;i=Hs(i);for(let s=0;s<aE.length;s++){const o=aE[s]+i;if(o in e)return um[t]=o}return t}const lE="http://www.w3.org/1999/xlink";function cE(e,t,n,i,s,o=jw(t)){i&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(lE,t.slice(6,t.length)):e.setAttributeNS(lE,t,n):n==null||o&&!my(n)?e.removeAttribute(t):e.setAttribute(t,o?"":li(n)?String(n):n)}function uE(e,t,n,i,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?m1(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const h=o==="OPTION"?e.getAttribute("value")||"":e.value,d=n==null?e.type==="checkbox"?"on":"":String(n);(h!==d||!("_value"in e))&&(e.value=d),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const h=typeof e[t];h==="boolean"?n=my(n):n==null&&h==="string"?(n="",l=!0):h==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(s||t)}function zr(e,t,n,i){e.addEventListener(t,n,i)}function MF(e,t,n,i){e.removeEventListener(t,n,i)}const hE=Symbol("_vei");function DF(e,t,n,i,s=null){const o=e[hE]||(e[hE]={}),l=o[t];if(i&&l)l.value=i;else{const[h,d]=FF(t);if(i){const v=o[t]=UF(i,s);zr(e,h,v,d)}else l&&(MF(e,h,l,d),o[t]=void 0)}}const fE=/(?:Once|Passive|Capture)$/;function FF(e){let t;if(fE.test(e)){t={};let i;for(;i=e.match(fE);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qn(e.slice(2)),t]}let hm=0;const BF=Promise.resolve(),HF=()=>hm||(BF.then(()=>hm=0),hm=Date.now());function UF(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Fi($F(i,n.value),t,5,[i])};return n.value=e,n.attached=HF(),n}function $F(e,t){if(Fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const dE=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,T1=(e,t,n,i,s,o)=>{const l=s==="svg";t==="class"?kF(e,i,l):t==="style"?IF(e,n,i):Fs(t)?$f(t)||DF(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jF(e,t,i,l))?(uE(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cE(e,t,i,l,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ke(i))?uE(e,jt(t),i,o,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),cE(e,t,i,l))};function jF(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&dE(t)&&Xe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return dE(t)&&Ke(n)?!1:t in e}const pE={};function C1(e,t,n){let i=Qn(e,t);kc(i)&&(i=lt({},i,t));class s extends id{constructor(l){super(i,l,n)}}return s.def=i,s}const VF=((e,t)=>C1(e,t,Yy)),WF=typeof HTMLElement<"u"?HTMLElement:class{};class id extends WF{constructor(t,n={},i=Ca){super(),this._def=t,this._props=n,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==Ca?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(lt({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof id){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Ci(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(i,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:l}=i;let h;if(o&&!Fe(o))for(const d in o){const v=o[d];(v===Number||v&&v.type===Number)&&(d in this._props&&(this._props[d]=Ql(this._props[d])),(h||(h=Object.create(null)))[jt(d)]=!0)}this._numberProps=h,this._resolveProps(i),this.shadowRoot&&this._applyStyles(l),this._mount(i)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(i=>{i.configureApp=this._def.configureApp,t(this._def=i,!0)}):t(this._def)}_mount(t){t.name||(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const i in n)wt(this,i)||Object.defineProperty(this,i,{get:()=>An(n[i])})}_resolveProps(t){const{props:n}=t,i=Fe(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&i.includes(s)&&this._setProp(s,this[s]);for(const s of i.map(jt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let i=n?this.getAttribute(t):pE;const s=jt(t);n&&this._numberProps&&this._numberProps[s]&&(i=Ql(i)),this._setProp(s,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,s=!1){if(n!==this._props[t]&&(this._dirty=!0,n===pE?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),i)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),n===!0?this.setAttribute(qn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(qn(t),n+""):n||this.removeAttribute(qn(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),F1(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Ut(this._def,lt(t,this._props));return this._instance||(n.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const s=(o,l)=>{this.dispatchEvent(new CustomEvent(o,kc(l[0])?lt({detail:l},l[0]):{detail:l}))};i.emit=(o,...l)=>{s(o,l),qn(o)!==o&&s(qn(o),l)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce;for(let s=t.length-1;s>=0;s--){const o=document.createElement("style");i&&o.setAttribute("nonce",i),o.textContent=t[s],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const i=n.nodeType===1&&n.getAttribute("slot")||"default";(t[i]||(t[i]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let i=0;i<t.length;i++){const s=t[i],o=s.getAttribute("name")||"default",l=this._slots[o],h=s.parentNode;if(l)for(const d of l){if(n&&d.nodeType===1){const v=n+"-s",y=document.createTreeWalker(d,1);d.setAttribute(v,"");let E;for(;E=y.nextNode();)E.setAttribute(v,"")}h.insertBefore(d,s)}else for(;s.firstChild;)h.insertBefore(s.firstChild,s);h.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const i of t){const s=i.querySelectorAll("slot");for(let o=0;o<s.length;o++)n.add(s[o])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){}}function A1(e){const t=Sn(),n=t&&t.ce;return n||null}function zF(){const e=A1();return e&&e.shadowRoot}function XF(e="$style"){{const t=Sn();if(!t)return dt;const n=t.type.__cssModules;if(!n)return dt;const i=n[e];return i||dt}}const O1=new WeakMap,k1=new WeakMap,hf=Symbol("_moveCb"),mE=Symbol("_enterCb"),GF=e=>(delete e.props.mode,e),qF=GF({name:"TransitionGroup",props:lt({},v1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Sn(),i=Oy();let s,o;return Qf(()=>{if(!s.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!QF(s[0].el,n.vnode.el,l)){s=[];return}s.forEach(KF),s.forEach(JF);const h=s.filter(ZF);ug(n.vnode.el),h.forEach(d=>{const v=d.el,y=v.style;mr(v,l),y.transform=y.webkitTransform=y.transitionDuration="";const E=v[hf]=C=>{C&&C.target!==v||(!C||C.propertyName.endsWith("transform"))&&(v.removeEventListener("transitionend",E),v[hf]=null,vs(v,l))};v.addEventListener("transitionend",E)}),s=[]}),()=>{const l=at(e),h=_1(l);let d=l.tag||Zt;if(s=[],o)for(let v=0;v<o.length;v++){const y=o[v];y.el&&y.el instanceof Element&&(s.push(y),ns(y,xa(y,h,i,n)),O1.set(y,{left:y.el.offsetLeft,top:y.el.offsetTop}))}o=t.default?Jf(t.default()):[];for(let v=0;v<o.length;v++){const y=o[v];y.key!=null&&ns(y,xa(y,h,i,n))}return Ut(d,null,o)}}}),YF=qF;function KF(e){const t=e.el;t[hf]&&t[hf](),t[mE]&&t[mE]()}function JF(e){k1.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function ZF(e){const t=O1.get(e),n=k1.get(e),i=t.left-n.left,s=t.top-n.top;if(i||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${i}px,${s}px)`,o.transitionDuration="0s",e}}function QF(e,t,n){const i=e.cloneNode(),s=e[wa];s&&s.forEach(h=>{h.split(/\s+/).forEach(d=>d&&i.classList.remove(d))}),n.split(/\s+/).forEach(h=>h&&i.classList.add(h)),i.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(i);const{hasTransform:l}=E1(i);return o.removeChild(i),l}const Rs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Fe(t)?n=>po(t,n):t};function eB(e){e.target.composing=!0}function gE(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ni=Symbol("_assign");function yE(e,t,n){return t&&(e=e.trim()),n&&(e=Lc(e)),e}const ff={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[Ni]=Rs(s);const o=i||s.props&&s.props.type==="number";zr(e,t?"change":"input",l=>{l.target.composing||e[Ni](yE(e.value,n,o))}),(n||o)&&zr(e,"change",()=>{e.value=yE(e.value,n,o)}),t||(zr(e,"compositionstart",eB),zr(e,"compositionend",gE),zr(e,"change",gE))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:s,number:o}},l){if(e[Ni]=Rs(l),e.composing)return;const h=(o||e.type==="number")&&!/^0\d/.test(e.value)?Lc(e.value):e.value,d=t??"";h!==d&&(document.activeElement===e&&e.type!=="range"&&(i&&t===n||s&&e.value.trim()===d)||(e.value=d))}},Gy={deep:!0,created(e,t,n){e[Ni]=Rs(n),zr(e,"change",()=>{const i=e._modelValue,s=Ta(e),o=e.checked,l=e[Ni];if(Fe(i)){const h=Ic(i,s),d=h!==-1;if(o&&!d)l(i.concat(s));else if(!o&&d){const v=[...i];v.splice(h,1),l(v)}}else if(Bs(i)){const h=new Set(i);o?h.add(s):h.delete(s),l(h)}else l(L1(e,o))})},mounted:vE,beforeUpdate(e,t,n){e[Ni]=Rs(n),vE(e,t,n)}};function vE(e,{value:t,oldValue:n},i){e._modelValue=t;let s;if(Fe(t))s=Ic(t,i.props.value)>-1;else if(Bs(t))s=t.has(i.props.value);else{if(t===n)return;s=Qr(t,L1(e,!0))}e.checked!==s&&(e.checked=s)}const qy={created(e,{value:t},n){e.checked=Qr(t,n.props.value),e[Ni]=Rs(n),zr(e,"change",()=>{e[Ni](Ta(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[Ni]=Rs(i),t!==n&&(e.checked=Qr(t,i.props.value))}},P1={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=Bs(t);zr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?Lc(Ta(l)):Ta(l));e[Ni](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Ci(()=>{e._assigning=!1})}),e[Ni]=Rs(i)},mounted(e,{value:t}){bE(e,t)},beforeUpdate(e,t,n){e[Ni]=Rs(n)},updated(e,{value:t}){e._assigning||bE(e,t)}};function bE(e,t){const n=e.multiple,i=Fe(t);if(!(n&&!i&&!Bs(t))){for(let s=0,o=e.options.length;s<o;s++){const l=e.options[s],h=Ta(l);if(n)if(i){const d=typeof h;d==="string"||d==="number"?l.selected=t.some(v=>String(v)===String(h)):l.selected=Ic(t,h)>-1}else l.selected=t.has(h);else if(Qr(Ta(l),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ta(e){return"_value"in e?e._value:e.value}function L1(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const R1={created(e,t,n){nh(e,t,n,null,"created")},mounted(e,t,n){nh(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){nh(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){nh(e,t,n,i,"updated")}};function I1(e,t){switch(e){case"SELECT":return P1;case"TEXTAREA":return ff;default:switch(t){case"checkbox":return Gy;case"radio":return qy;default:return ff}}}function nh(e,t,n,i,s){const l=I1(e.tagName,n.props&&n.props.type)[s];l&&l(e,t,n,i)}function tB(){ff.getSSRProps=({value:e})=>({value:e}),qy.getSSRProps=({value:e},t)=>{if(t.props&&Qr(t.props.value,e))return{checked:!0}},Gy.getSSRProps=({value:e},t)=>{if(Fe(e)){if(t.props&&Ic(e,t.props.value)>-1)return{checked:!0}}else if(Bs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},R1.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=I1(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const nB=["ctrl","shift","alt","meta"],iB={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>nB.some(n=>e[`${n}Key`]&&!t.includes(n))},rB=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=((s,...o)=>{for(let l=0;l<t.length;l++){const h=iB[t[l]];if(h&&h(s,t))return}return e(s,...o)}))},sB={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},oB=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=(s=>{if(!("key"in s))return;const o=qn(s.key);if(t.some(l=>l===o||sB[l]===o))return e(s)}))},N1=lt({patchProp:T1},g1);let Gl,_E=!1;function M1(){return Gl||(Gl=JT(N1))}function D1(){return Gl=_E?Gl:ZT(N1),_E=!0,Gl}const F1=((...e)=>{M1().render(...e)}),aB=((...e)=>{D1().hydrate(...e)}),Ca=((...e)=>{const t=M1().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=H1(i);if(!s)return;const o=t._component;!Xe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const l=n(s,!1,B1(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t}),Yy=((...e)=>{const t=D1().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=H1(i);if(s)return n(s,!0,B1(s))},t});function B1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function H1(e){return Ke(e)?document.querySelector(e):e}let EE=!1;const lB=()=>{EE||(EE=!0,tB(),PF())},cB=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:kT,BaseTransitionPropsValidators:ky,Comment:on,DeprecationTypes:SF,EffectScope:yy,ErrorCodes:OD,ErrorTypeStrings:gF,Fragment:Zt,KeepAlive:LT,ReactiveEffect:tc,Static:Ps,Suspense:nd,Teleport:WD,Text:xr,TrackOpTypes:ED,Transition:b1,TransitionGroup:YF,TriggerOpTypes:xD,VueElement:id,assertNumber:AD,callWithAsyncErrorHandling:Fi,callWithErrorHandling:Ya,camelize:jt,capitalize:Hs,cloneVNode:Cr,compatUtils:xF,computed:Bt,createApp:Ca,createBlock:Ji,createCommentVNode:sF,createElementBlock:a1,createElementVNode:jy,createHydrationRenderer:ZT,createPropsRestProxy:A2,createRenderer:JT,createSSRApp:Yy,createSlots:f2,createStaticVNode:rF,createTextVNode:Wy,createVNode:Ut,customRef:xy,defineAsyncComponent:Yr,defineComponent:Qn,defineCustomElement:C1,defineEmits:y2,defineExpose:v2,defineModel:E2,defineOptions:b2,defineProps:g2,defineSSRCustomElement:VF,defineSlots:_2,devtools:yF,effect:XM,effectScope:Ga,getCurrentInstance:Sn,getCurrentScope:qa,getCurrentWatcher:SD,getTransitionRawChildren:Jf,guardReactiveProps:Vy,h:$t,handleError:Mo,hasInjectionContext:Ka,hydrate:aB,hydrateOnIdle:e2,hydrateOnInteraction:r2,hydrateOnMediaQuery:i2,hydrateOnVisible:n2,initCustomFormatter:dF,initDirectivesForSSR:lB,inject:vn,isMemoSame:p1,isProxy:Nc,isReactive:Ti,isReadonly:rr,isRef:mt,isRuntimeOnly:uF,isShallow:pi,isVNode:Tr,markRaw:So,mergeDefaults:T2,mergeModels:C2,mergeProps:Xy,nextTick:Ci,nodeOps:g1,normalizeClass:Xa,normalizeProps:py,normalizeStyle:za,onActivated:Ly,onBeforeMount:IT,onBeforeUnmount:Ja,onBeforeUpdate:Iy,onDeactivated:Ry,onErrorCaptured:nf,onMounted:rs,onRenderTracked:MT,onRenderTriggered:NT,onScopeDispose:ec,onServerPrefetch:Ny,onUnmounted:Do,onUpdated:Qf,onWatcherCleanup:dT,openBlock:Si,patchProp:T1,popScopeId:BD,provide:Er,proxyRefs:Ey,pushScopeId:FD,queuePostFlushCb:rc,reactive:bi,readonly:Jh,ref:gt,registerRuntimeCompiler:cF,render:F1,renderList:h2,renderSlot:d2,resolveComponent:c2,resolveDirective:u2,resolveDynamicComponent:FT,resolveFilter:EF,resolveTransitionHooks:xa,setBlockTracking:cc,setDevtoolsHook:vF,setTransitionHooks:ns,shallowReactive:Qi,shallowReadonly:fD,shallowRef:or,ssrContextKey:bT,ssrUtils:_F,stop:GM,toDisplayString:gy,toHandlerKey:fo,toHandlers:p2,toRaw:at,toRef:Sy,toRefs:hT,toValue:uT,transformVNodeArgs:nF,triggerRef:pD,unref:An,useAttrs:w2,useCssModule:XF,useCssVars:LF,useHost:A1,useId:XD,useModel:D2,useSSRContext:_T,useShadowRoot:zF,useSlots:S2,useTemplateRef:GD,useTransitionState:Oy,vModelCheckbox:Gy,vModelDynamic:R1,vModelRadio:qy,vModelSelect:P1,vModelText:ff,vShow:S1,version:lg,warn:mF,watch:an,watchEffect:Ay,watchPostEffect:$D,watchSyncEffect:ET,withAsyncContext:O2,withCtx:Mc,withDefaults:x2,withDirectives:UD,withKeys:oB,withMemo:pF,withModifiers:rB,withScopeId:HD},Symbol.toStringTag,{value:"Module"})),uB=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,hB=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,fB=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function dB(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){pB(e);return}return t}function pB(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function uc(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!fB.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(uB.test(e)||hB.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,dB)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}const U1=/#/g,$1=/&/g,mB=/\//g,gB=/=/g,yB=/\?/g,rd=/\+/g,vB=/%5e/gi,bB=/%60/gi,_B=/%7c/gi,EB=/%20/gi,xB=/%2f/gi,SB=/%252f/gi;function j1(e){return encodeURI(""+e).replace(_B,"|")}function fg(e){return j1(typeof e=="string"?e:JSON.stringify(e)).replace(rd,"%2B").replace(EB,"+").replace(U1,"%23").replace($1,"%26").replace(bB,"`").replace(vB,"^").replace(mB,"%2F")}function fm(e){return fg(e).replace(gB,"%3D")}function wB(e){return j1(e).replace(U1,"%23").replace(yB,"%3F").replace(SB,"%2F").replace($1,"%26").replace(rd,"%2B")}function hc(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function TB(e){return hc(e.replace(xB,"%252F"))}function CB(e){return hc(e.replace(rd," "))}function AB(e){return hc(e.replace(rd," "))}function Ky(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const i=n.match(/([^=]+)=?(.*)/)||[];if(i.length<2)continue;const s=CB(i[1]);if(s==="__proto__"||s==="constructor")continue;const o=AB(i[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function OB(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${fm(e)}=${fg(n)}`).join("&"):`${fm(e)}=${fg(t)}`:fm(e)}function kB(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>OB(t,e[t])).filter(Boolean).join("&")}const PB=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,LB=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,RB=/^([/\\]\s*){2,}[^/\\]/,IB=/^[\s\0]*(blob|data|javascript|vbscript):$/i,NB=/\/$|\/\?|\/#/,MB=/^\.?\//;function kr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?PB.test(e):LB.test(e)||(t.acceptRelative?RB.test(e):!1)}function DB(e){return!!e&&IB.test(e)}function dg(e="",t){return t?NB.test(e):e.endsWith("/")}function fc(e="",t){if(!t)return(dg(e)?e.slice(0,-1):e)||"/";if(!dg(e,!0))return e||"/";let n=e,i="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),i=e.slice(s));const[o,...l]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(l.length>0?`?${l.join("?")}`:"")+i}function FB(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(dg(e,!0))return e||"/";let n=e,i="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),i=e.slice(s),!n))return i;const[o,...l]=n.split("?");return o+"/"+(l.length>0?`?${l.join("?")}`:"")+i}function BB(e,t){if(V1(t)||kr(e))return e;const n=fc(t);if(e.startsWith(n)){const i=e[n.length];if(!i||i==="/"||i==="?")return e}return Co(n,e)}function xE(e,t){if(V1(t))return e;const n=fc(t);if(!e.startsWith(n))return e;const i=e[n.length];return i&&i!=="/"&&i!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function sd(e,t){const n=Jy(e),i={...Ky(n.search),...t};return n.search=kB(i),$B(n)}function V1(e){return!e||e==="/"}function HB(e){return e&&e!=="/"}function Co(e,...t){let n=e||"";for(const i of t.filter(s=>HB(s)))if(n){const s=i.replace(MB,"");n=FB(n)+s}else n=i;return n}function W1(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),i=[];let s=0;for(const l of n)if(!(!l||l==="/")){for(const[h,d]of l.split(t).entries())if(!(!d||d===".")){if(d===".."){if(i.length===1&&kr(i[0]))continue;i.pop(),s--;continue}if(h===1&&i[i.length-1]?.endsWith(":/")){i[i.length-1]+="/"+d;continue}i.push(d),s++}}let o=i.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function UB(e,t){return hc(fc(e))===hc(fc(t))}const z1=Symbol.for("ufo:protocolRelative");function Jy(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,E,C=""]=n;return{protocol:E.toLowerCase(),pathname:C,href:E+C,auth:"",host:"",search:"",hash:""}}if(!kr(e,{acceptRelative:!0}))return pg(e);const[,i="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,l="",h=""]=o.match(/([^#/?]*)(.*)?/)||[];i==="file:"&&(h=h.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:d,search:v,hash:y}=pg(h);return{protocol:i.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:l,pathname:d,search:v,hash:y,[z1]:!i}}function pg(e=""){const[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}function $B(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",i=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[z1]?(e.protocol||"")+"//":"")+s+o+t+n+i}class jB extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function VB(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",i=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(i)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",l=`${s}: ${o}${t?` ${t}`:""}`,h=new jB(l,e.error?{cause:e.error}:void 0);for(const d of["request","options","response"])Object.defineProperty(h,d,{get(){return e[d]}});for(const[d,v]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(h,d,{get(){return e.response&&e.response[v]}});return h}const WB=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function SE(e="GET"){return WB.has(e.toUpperCase())}function zB(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const XB=new Set(["image/svg","application/xml","application/xhtml","application/html"]),GB=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function qB(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return GB.test(t)?"json":t==="text/event-stream"?"stream":XB.has(t)||t.startsWith("text/")?"text":"blob"}function YB(e,t,n,i){const s=KB(t?.headers??e?.headers,n?.headers,i);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function KB(e,t,n){if(!t)return new n(e);const i=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))i.set(s,o);return i}async function ih(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const JB=new Set([408,409,425,429,500,502,503,504]),ZB=new Set([101,204,205,304]);function X1(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:i=globalThis.AbortController}=e;async function s(h){const d=h.error&&h.error.name==="AbortError"&&!h.options.timeout||!1;if(h.options.retry!==!1&&!d){let y;typeof h.options.retry=="number"?y=h.options.retry:y=SE(h.options.method)?0:1;const E=h.response&&h.response.status||500;if(y>0&&(Array.isArray(h.options.retryStatusCodes)?h.options.retryStatusCodes.includes(E):JB.has(E))){const C=typeof h.options.retryDelay=="function"?h.options.retryDelay(h):h.options.retryDelay||0;return C>0&&await new Promise(T=>setTimeout(T,C)),o(h.request,{...h.options,retry:y-1})}}const v=VB(h);throw Error.captureStackTrace&&Error.captureStackTrace(v,o),v}const o=async function(d,v={}){const y={request:d,options:YB(d,v,e.defaults,n),response:void 0,error:void 0};if(y.options.method&&(y.options.method=y.options.method.toUpperCase()),y.options.onRequest&&(await ih(y,y.options.onRequest),y.options.headers instanceof n||(y.options.headers=new n(y.options.headers||{}))),typeof y.request=="string"&&(y.options.baseURL&&(y.request=BB(y.request,y.options.baseURL)),y.options.query&&(y.request=sd(y.request,y.options.query),delete y.options.query),"query"in y.options&&delete y.options.query,"params"in y.options&&delete y.options.params),y.options.body&&SE(y.options.method))if(zB(y.options.body)){const T=y.options.headers.get("content-type");typeof y.options.body!="string"&&(y.options.body=T==="application/x-www-form-urlencoded"?new URLSearchParams(y.options.body).toString():JSON.stringify(y.options.body)),T||y.options.headers.set("content-type","application/json"),y.options.headers.has("accept")||y.options.headers.set("accept","application/json")}else("pipeTo"in y.options.body&&typeof y.options.body.pipeTo=="function"||typeof y.options.body.pipe=="function")&&("duplex"in y.options||(y.options.duplex="half"));let E;if(!y.options.signal&&y.options.timeout){const T=new i;E=setTimeout(()=>{const O=new Error("[TimeoutError]: The operation was aborted due to timeout");O.name="TimeoutError",O.code=23,T.abort(O)},y.options.timeout),y.options.signal=T.signal}try{y.response=await t(y.request,y.options)}catch(T){return y.error=T,y.options.onRequestError&&await ih(y,y.options.onRequestError),await s(y)}finally{E&&clearTimeout(E)}if((y.response.body||y.response._bodyInit)&&!ZB.has(y.response.status)&&y.options.method!=="HEAD"){const T=(y.options.parseResponse?"json":y.options.responseType)||qB(y.response.headers.get("content-type")||"");switch(T){case"json":{const O=await y.response.text(),P=y.options.parseResponse||uc;y.response._data=P(O);break}case"stream":{y.response._data=y.response.body||y.response._bodyInit;break}default:y.response._data=await y.response[T]()}}return y.options.onResponse&&await ih(y,y.options.onResponse),!y.options.ignoreResponseError&&y.response.status>=400&&y.response.status<600?(y.options.onResponseError&&await ih(y,y.options.onResponseError),await s(y)):y.response},l=async function(d,v){return(await o(d,v))._data};return l.raw=o,l.native=(...h)=>t(...h),l.create=(h={},d={})=>X1({...e,...d,defaults:{...e.defaults,...d.defaults,...h}}),l}const df=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),QB=df.fetch?(...e)=>df.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),eH=df.Headers,tH=df.AbortController,nH=X1({fetch:QB,Headers:eH,AbortController:tH}),iH=nH,rH=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Zy=()=>rH().app,sH=()=>Zy().baseURL,oH=()=>Zy().buildAssetsDir,aH=(...e)=>W1(G1(),oH(),...e),G1=(...e)=>{const t=Zy(),n=t.cdnURL||t.baseURL;return e.length?W1(n,...e):n};globalThis.__buildAssetsURL=aH,globalThis.__publicAssetsURL=G1;globalThis.$fetch||(globalThis.$fetch=iH.create({baseURL:sH()}));"global"in globalThis||(globalThis.global=globalThis);function mg(e,t={},n){for(const i in e){const s=e[i],o=n?`${n}:${i}`:i;typeof s=="object"&&s!==null?mg(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const lH={run:e=>e()},cH=()=>lH,q1=typeof console.createTask<"u"?console.createTask:cH;function uH(e,t){const n=t.shift(),i=q1(n);return e.reduce((s,o)=>s.then(()=>i.run(()=>o(...t))),Promise.resolve())}function hH(e,t){const n=t.shift(),i=q1(n);return Promise.all(e.map(s=>i.run(()=>s(...t))))}function dm(e,t){for(const n of[...e])n(t)}let fH=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,i={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!i.allowDeprecated){let l=o.message;l||(l=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(l)||(console.warn(l),this._deprecatedMessages.add(l))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let i,s=(...o)=>(typeof i=="function"&&i(),i=void 0,s=void 0,n(...o));return i=this.hook(t,s),i}removeHook(t,n){if(this._hooks[t]){const i=this._hooks[t].indexOf(n);i!==-1&&this._hooks[t].splice(i,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const i=this._hooks[t]||[];delete this._hooks[t];for(const s of i)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=mg(t),i=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of i.splice(0,i.length))s()}}removeHooks(t){const n=mg(t);for(const i in n)this.removeHook(i,n[i])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(uH,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(hH,t,...n)}callHookWith(t,n,...i){const s=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&dm(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],i);return o instanceof Promise?o.finally(()=>{this._after&&s&&dm(this._after,s)}):(this._after&&s&&dm(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function dH(){return new fH}function pH(e={}){let t,n=!1;const i=l=>{if(t&&t!==l)throw new Error("Context conflict")};let s;if(e.asyncContext){const l=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;l?s=new l:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const l=s.getStore();if(l!==void 0)return l}return t};return{use:()=>{const l=o();if(l===void 0)throw new Error("Context is not available");return l},tryUse:()=>o(),set:(l,h)=>{h||i(l),t=l,n=!0},unset:()=>{t=void 0,n=!1},call:(l,h)=>{i(l),t=l;try{return s?s.run(l,h):h()}finally{n||(t=void 0)}},async callAsync(l,h){t=l;const d=()=>{t=l},v=()=>t===l?d:void 0;gg.add(v);try{const y=s?s.run(l,h):h();return n||(t=void 0),await y}finally{gg.delete(v)}}}}function mH(e={}){const t={};return{get(n,i={}){return t[n]||(t[n]=pH({...e,...i})),t[n]}}}const pf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},wE="__unctx__",gH=pf[wE]||(pf[wE]=mH()),yH=(e,t={})=>gH.get(e,t),TE="__unctx_async_handlers__",gg=pf[TE]||(pf[TE]=new Set);function yo(e){const t=[];for(const s of gg){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let i=e();return i&&typeof i=="object"&&"catch"in i&&(i=i.catch(s=>{throw n(),s})),[i,n]}const vH=!1,CE=!1,bH=!1,AE={id:"__nuxt-loader"},_H=!1,CY={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},AY={deep:!1},EH="#__nuxt",Y1="nuxt-app",xH="vite:preloadError";function K1(e=Y1){return yH(e,{asyncContext:!1})}const SH="__nuxt_plugin";function wH(e){let t=0;const n={_id:e.id||Y1||"nuxt-app",_scope:Ga(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:Qi({...e.ssrContext?.payload||{},data:Qi({}),state:bi({}),once:new Set,_errors:Qi({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!qa()?n._scope.run(()=>OE(n,s)):OE(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Qi({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=dH(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const l="$"+s;rh(n,l,o),rh(n.vueApp.config.globalProperties,l,o)},rh(n.vueApp,"$nuxt",n),rh(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(xH,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ct;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const i=n.payload.config;return n.provide("config",i),n}function TH(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function CH(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const i in n)e.provide(i,n[i])}}async function AH(e,t){const n=new Set,i=[],s=[];let o,l=0;async function h(d){const v=d.dependsOn?.filter(y=>t.some(E=>E._name===y)&&!n.has(y))??[];if(v.length>0)i.push([new Set(v),d]);else{const y=CH(e,d).then(async()=>{d._name&&(n.add(d._name),await Promise.all(i.map(async([E,C])=>{E.has(d._name)&&(E.delete(d._name),E.size===0&&(l++,await h(C)))})))}).catch(E=>{if(!d.parallel&&!e.payload.error)throw E;o||=E});d.parallel?s.push(y):await y}}for(const d of t)TH(e,d);for(const d of t)await h(d);if(await Promise.all(s),l)for(let d=0;d<l;d++)await Promise.all(s);if(o)throw e.payload.error||o}function fn(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[SH]:!0,_name:t})}const OH=fn;function OE(e,t,n){const i=()=>t();return K1(e._id).set(e),e.vueApp.runWithContext(i)}function kH(e){let t;return Ka()&&(t=Sn()?.appContext.app.$nuxt),t||=K1(e).tryUse(),t||null}function ct(e){const t=kH(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function oi(e){return ct().$config}function rh(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function pm(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function yg(e,t,n=".",i){if(!pm(t))return yg(e,{},n,i);const s={...t};for(const o of Object.keys(e)){if(o==="__proto__"||o==="constructor")continue;const l=e[o];l!=null&&(i&&i(s,o,l,n)||(Array.isArray(l)&&Array.isArray(s[o])?s[o]=[...l,...s[o]]:pm(l)&&pm(s[o])?s[o]=yg(l,s[o],(n?`${n}.`:"")+o.toString(),i):s[o]=l))}return s}function Qy(e){return(...t)=>t.reduce((n,i)=>yg(n,i,"",e),{})}const J1=Qy(),PH=Qy((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function LH(e,t){try{return t in e}catch{return!1}}class kE extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:vg(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Z1(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function RH(e){if(typeof e=="string")return new kE(e);if(IH(e))return e;const t=new kE(e.message??e.statusMessage??"",{cause:e.cause||e});if(LH(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=vg(e.statusCode,t.statusCode):e.status&&(t.statusCode=vg(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Z1(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function IH(e){return e?.constructor?.__h3_error__===!0}const NH=/[^\u0009\u0020-\u007E]/g;function Z1(e=""){return e.replace(NH,"")}function vg(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Q1=Symbol("layout-meta"),Is=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Zn=()=>ct()?.$router,Aa=()=>Ka()?vn(Is,ct()._route):ct()._route;const MH=()=>{try{if(ct()._processingMiddleware)return!0}catch{return!1}return!1},bg=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?DH(e):Zn().resolve(e).href;if(t?.open){const{target:v="_blank",windowFeatures:y={}}=t.open,E=[];for(const[C,T]of Object.entries(y))T!==void 0&&E.push(`${C.toLowerCase()}=${T}`);return open(n,v,E.join(", ")),Promise.resolve()}const i=kr(n,{acceptRelative:!0}),s=t?.external||i;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:v}=new URL(n,window.location.href);if(v&&DB(v))throw new Error(`Cannot navigate to a URL with '${v}' protocol.`)}const o=MH();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:v,search:y,hash:E}=Jy(e);return{path:v,...y&&{query:Ky(y)},...E&&{hash:E},replace:!0}}return{...e,replace:!0}}return e}const l=Zn(),h=ct();if(s)return h._scope.stop(),t?.replace?location.replace(n):location.href=n,o?h.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const d=typeof e=="string"?FH(e):e;return t?.replace?l.replace(d):l.push(d)};function DH(e){return sd(e.path||"",e.query||{})+(e.hash||"")}function FH(e){const t=Jy(e);return wB(TB(t.pathname))+t.search+t.hash}const eC="__nuxt_error",dc=()=>Sy(ct().payload,"error"),Ss=e=>{const t=vo(e);try{const n=dc();ct().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},BH=async(e={})=>{const t=ct(),n=dc();t.callHook("app:error:cleared",e),e.redirect&&await Zn().replace(e.redirect),n.value=void 0},_g=e=>!!e&&typeof e=="object"&&eC in e,vo=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=RH(e);return Object.defineProperty(t,eC,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function HH(){return tC().__VUE_DEVTOOLS_GLOBAL_HOOK__}function tC(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const UH=typeof Proxy=="function",$H="devtools-plugin:setup",jH="plugin:settings:set";let ra,Eg;function VH(){var e;return ra!==void 0||(typeof window<"u"&&window.performance?(ra=!0,Eg=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(ra=!0,Eg=globalThis.perf_hooks.performance):ra=!1),ra}function WH(){return VH()?Eg.now():Date.now()}class zH{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const i={};if(t.settings)for(const l in t.settings){const h=t.settings[l];i[l]=h.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},i);try{const l=localStorage.getItem(s),h=JSON.parse(l);Object.assign(o,h)}catch{}this.fallbacks={getSettings(){return o},setSettings(l){try{localStorage.setItem(s,JSON.stringify(l))}catch{}o=l},now(){return WH()}},n&&n.on(jH,(l,h)=>{l===this.plugin.id&&this.fallbacks.setSettings(h)}),this.proxiedOn=new Proxy({},{get:(l,h)=>this.target?this.target.on[h]:(...d)=>{this.onQueue.push({method:h,args:d})}}),this.proxiedTarget=new Proxy({},{get:(l,h)=>this.target?this.target[h]:h==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(h)?(...d)=>(this.targetQueue.push({method:h,args:d,resolve:()=>{}}),this.fallbacks[h](...d)):(...d)=>new Promise(v=>{this.targetQueue.push({method:h,args:d,resolve:v})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function od(e,t){const n=e,i=tC(),s=HH(),o=UH&&n.enableEarlyProxy;if(s&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit($H,e,t);else{const l=o?new zH(n,s):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:l}),l&&t(l.proxiedTarget)}}let nC;const Hc=e=>nC=e,iC=Symbol();function xg(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sr||(Sr={}));const ga=typeof window<"u",PE=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function XH(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function ev(e,t,n){const i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){oC(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function rC(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function wh(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const Th=typeof navigator=="object"?navigator:{userAgent:""},sC=/Macintosh/.test(Th.userAgent)&&/AppleWebKit/.test(Th.userAgent)&&!/Safari/.test(Th.userAgent),oC=ga?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!sC?GH:"msSaveOrOpenBlob"in Th?qH:YH:()=>{};function GH(e,t="download",n){const i=document.createElement("a");i.download=t,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?rC(i.href)?ev(e,t,n):(i.target="_blank",wh(i)):wh(i)):(i.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(i.href)},4e4),setTimeout(function(){wh(i)},0))}function qH(e,t="download",n){if(typeof e=="string")if(rC(e))ev(e,t,n);else{const i=document.createElement("a");i.href=e,i.target="_blank",setTimeout(function(){wh(i)})}else navigator.msSaveOrOpenBlob(XH(e,n),t)}function YH(e,t,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof e=="string")return ev(e,t,n);const s=e.type==="application/octet-stream",o=/constructor/i.test(String(PE.HTMLElement))||"safari"in PE,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||s&&o||sC)&&typeof FileReader<"u"){const h=new FileReader;h.onloadend=function(){let d=h.result;if(typeof d!="string")throw i=null,new Error("Wrong reader.result type");d=l?d:d.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=d:location.assign(d),i=null},h.readAsDataURL(e)}else{const h=URL.createObjectURL(e);i?i.location.assign(h):location.href=h,i=null,setTimeout(function(){URL.revokeObjectURL(h)},4e4)}}function Cn(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function tv(e){return"_a"in e&&"install"in e}function aC(){if(!("clipboard"in navigator))return Cn("Your browser doesn't support the Clipboard API","error"),!0}function lC(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(Cn('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function KH(e){if(!aC())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),Cn("Global state copied to clipboard.")}catch(t){if(lC(t))return;Cn("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function JH(e){if(!aC())try{cC(e,JSON.parse(await navigator.clipboard.readText())),Cn("Global state pasted from clipboard.")}catch(t){if(lC(t))return;Cn("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function ZH(e){try{oC(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){Cn("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Mr;function QH(){Mr||(Mr=document.createElement("input"),Mr.type="file",Mr.accept=".json");function e(){return new Promise((t,n)=>{Mr.onchange=async()=>{const i=Mr.files;if(!i)return t(null);const s=i.item(0);return t(s?{text:await s.text(),file:s}:null)},Mr.oncancel=()=>t(null),Mr.onerror=n,Mr.click()})}return e}async function eU(e){try{const n=await QH()();if(!n)return;const{text:i,file:s}=n;cC(e,JSON.parse(i)),Cn(`Global state imported from "${s.name}".`)}catch(t){Cn("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function cC(e,t){for(const n in t){const i=e.state.value[n];i?Object.assign(i,t[n]):e.state.value[n]=t[n]}}function qi(e){return{_custom:{display:e}}}const uC="🍍 Pinia (root)",Ch="_root";function tU(e){return tv(e)?{id:Ch,label:uC}:{id:e.$id,label:e.$id}}function nU(e){if(tv(e)){const n=Array.from(e._s.keys()),i=e._s;return{state:n.map(o=>({editable:!0,key:o,value:e.state.value[o]})),getters:n.filter(o=>i.get(o)._getters).map(o=>{const l=i.get(o);return{editable:!1,key:o,value:l._getters.reduce((h,d)=>(h[d]=l[d],h),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function iU(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:qi(e.type),key:qi(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function rU(e){switch(e){case Sr.direct:return"mutation";case Sr.patchFunction:return"$patch";case Sr.patchObject:return"$patch";default:return"unknown"}}let fa=!0;const Ah=[],no="pinia:mutations",zn="pinia",{assign:sU}=Object,mf=e=>"🍍 "+e;function oU(e,t){od({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ah,app:e},n=>{typeof n.now!="function"&&Cn("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:no,label:"Pinia 🍍",color:15064968}),n.addInspector({id:zn,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{KH(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await JH(t),n.sendInspectorTree(zn),n.sendInspectorState(zn)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{ZH(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await eU(t),n.sendInspectorTree(zn),n.sendInspectorState(zn)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:i=>{const s=t._s.get(i);s?typeof s.$reset!="function"?Cn(`Cannot reset "${i}" store because it doesn't have a "$reset" method implemented.`,"warn"):(s.$reset(),Cn(`Store "${i}" reset.`)):Cn(`Cannot reset "${i}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((i,s)=>{const o=i.componentInstance&&i.componentInstance.proxy;if(o&&o._pStores){const l=i.componentInstance.proxy._pStores;Object.values(l).forEach(h=>{i.instanceData.state.push({type:mf(h.$id),key:"state",editable:!0,value:h._isOptionsAPI?{_custom:{value:at(h.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>h.$reset()}]}}:Object.keys(h.$state).reduce((d,v)=>(d[v]=h.$state[v],d),{})}),h._getters&&h._getters.length&&i.instanceData.state.push({type:mf(h.$id),key:"getters",editable:!1,value:h._getters.reduce((d,v)=>{try{d[v]=h[v]}catch(y){d[v]=y}return d},{})})})}}),n.on.getInspectorTree(i=>{if(i.app===e&&i.inspectorId===zn){let s=[t];s=s.concat(Array.from(t._s.values())),i.rootNodes=(i.filter?s.filter(o=>"$id"in o?o.$id.toLowerCase().includes(i.filter.toLowerCase()):uC.toLowerCase().includes(i.filter.toLowerCase())):s).map(tU)}}),globalThis.$pinia=t,n.on.getInspectorState(i=>{if(i.app===e&&i.inspectorId===zn){const s=i.nodeId===Ch?t:t._s.get(i.nodeId);if(!s)return;s&&(i.nodeId!==Ch&&(globalThis.$store=at(s)),i.state=nU(s))}}),n.on.editInspectorState((i,s)=>{if(i.app===e&&i.inspectorId===zn){const o=i.nodeId===Ch?t:t._s.get(i.nodeId);if(!o)return Cn(`store "${i.nodeId}" not found`,"error");const{path:l}=i;tv(o)?l.unshift("state"):(l.length!==1||!o._customProperties.has(l[0])||l[0]in o.$state)&&l.unshift("$state"),fa=!1,i.set(o,l,i.state.value),fa=!0}}),n.on.editComponentState(i=>{if(i.type.startsWith("🍍")){const s=i.type.replace(/^🍍\s*/,""),o=t._s.get(s);if(!o)return Cn(`store "${s}" not found`,"error");const{path:l}=i;if(l[0]!=="state")return Cn(`Invalid path for store "${s}": ${l} Only state can be modified.`);l[0]="$state",fa=!1,i.set(o,l,i.state.value),fa=!0}})})}function aU(e,t){Ah.includes(mf(t.$id))||Ah.push(mf(t.$id)),od({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ah,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const i=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:l,onError:h,name:d,args:v})=>{const y=hC++;n.addTimelineEvent({layerId:no,event:{time:i(),title:"🛫 "+d,subtitle:"start",data:{store:qi(t.$id),action:qi(d),args:v},groupId:y}}),l(E=>{As=void 0,n.addTimelineEvent({layerId:no,event:{time:i(),title:"🛬 "+d,subtitle:"end",data:{store:qi(t.$id),action:qi(d),args:v,result:E},groupId:y}})}),h(E=>{As=void 0,n.addTimelineEvent({layerId:no,event:{time:i(),logType:"error",title:"💥 "+d,subtitle:"end",data:{store:qi(t.$id),action:qi(d),args:v,error:E},groupId:y}})})},!0),t._customProperties.forEach(l=>{an(()=>An(t[l]),(h,d)=>{n.notifyComponentUpdate(),n.sendInspectorState(zn),fa&&n.addTimelineEvent({layerId:no,event:{time:i(),title:"Change",subtitle:l,data:{newValue:h,oldValue:d},groupId:As}})},{deep:!0})}),t.$subscribe(({events:l,type:h},d)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(zn),!fa)return;const v={time:i(),title:rU(h),data:sU({store:qi(t.$id)},iU(l)),groupId:As};h===Sr.patchFunction?v.subtitle="⤵️":h===Sr.patchObject?v.subtitle="🧩":l&&!Array.isArray(l)&&(v.subtitle=l.type),l&&(v.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:l}}),n.addTimelineEvent({layerId:no,event:v})},{detached:!0,flush:"sync"});const s=t._hotUpdate;t._hotUpdate=So(l=>{s(l),n.addTimelineEvent({layerId:no,event:{time:i(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:qi(t.$id),info:qi("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(zn),n.sendInspectorState(zn)});const{$dispose:o}=t;t.$dispose=()=>{o(),n.notifyComponentUpdate(),n.sendInspectorTree(zn),n.sendInspectorState(zn),n.getSettings().logStoreChanges&&Cn(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(zn),n.sendInspectorState(zn),n.getSettings().logStoreChanges&&Cn(`"${t.$id}" store installed 🆕`)})}let hC=0,As;function LE(e,t,n){const i=t.reduce((s,o)=>(s[o]=at(e)[o],s),{});for(const s in i)e[s]=function(){const o=hC,l=n?new Proxy(e,{get(...d){return As=o,Reflect.get(...d)},set(...d){return As=o,Reflect.set(...d)}}):e;As=o;const h=i[s].apply(l,arguments);return As=void 0,h}}function lU({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){LE(t,Object.keys(n.actions),t._isOptionsAPI);const i=t._hotUpdate;at(t)._hotUpdate=function(s){i.apply(this,arguments),LE(t,Object.keys(s._hmrPayload.actions),!!t._isOptionsAPI)}}aU(e,t)}}function cU(){const e=Ga(!0),t=e.run(()=>gt({}));let n=[],i=[];const s=So({install(o){Hc(s),s._a=o,o.provide(iC,s),o.config.globalProperties.$pinia=s,ga&&oU(o,s),i.forEach(l=>n.push(l)),i=[]},use(o){return this._a?n.push(o):i.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return ga&&typeof Proxy<"u"&&s.use(lU),s}const fC=()=>{};function RE(e,t,n,i=fC){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),i())};return!n&&qa()&&ec(s),s}function sa(e,...t){e.slice().forEach(n=>{n(...t)})}const uU=e=>e(),IE=Symbol(),mm=Symbol();function Sg(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,i)=>e.set(i,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],s=e[n];xg(s)&&xg(i)&&e.hasOwnProperty(n)&&!mt(i)&&!Ti(i)?e[n]=Sg(s,i):e[n]=i}return e}const hU=Symbol();function fU(e){return!xg(e)||!e.hasOwnProperty(hU)}const{assign:Xi}=Object;function dU(e){return!!(mt(e)&&e.effect)}function pU(e,t,n,i){const{state:s,actions:o,getters:l}=t,h=n.state.value[e];let d;function v(){h||(n.state.value[e]=s?s():{});const y=hT(n.state.value[e]);return Xi(y,o,Object.keys(l||{}).reduce((E,C)=>(E[C]=So(Bt(()=>{Hc(n);const T=n._s.get(e);return l[C].call(T,T)})),E),{}))}return d=dC(e,v,t,n,i,!0),d}function dC(e,t,n={},i,s,o){let l;const h=Xi({actions:{}},n),d={deep:!0};let v,y,E=[],C=[],T;const O=i.state.value[e];!o&&!O&&(i.state.value[e]={});const P=gt({});let I;function R(K){let oe;v=y=!1,typeof K=="function"?(K(i.state.value[e]),oe={type:Sr.patchFunction,storeId:e,events:T}):(Sg(i.state.value[e],K),oe={type:Sr.patchObject,payload:K,storeId:e,events:T});const q=I=Symbol();Ci().then(()=>{I===q&&(v=!0)}),y=!0,sa(E,oe,i.state.value[e])}const D=o?function(){const{state:oe}=n,q=oe?oe():{};this.$patch(ce=>{Xi(ce,q)})}:fC;function F(){l.stop(),E=[],C=[],i._s.delete(e)}const A=(K,oe="")=>{if(IE in K)return K[mm]=oe,K;const q=function(){Hc(i);const ce=Array.from(arguments),xe=[],Se=[];function pe(Pe){xe.push(Pe)}function Ce(Pe){Se.push(Pe)}sa(C,{args:ce,name:q[mm],store:N,after:pe,onError:Ce});let be;try{be=K.apply(this&&this.$id===e?this:N,ce)}catch(Pe){throw sa(Se,Pe),Pe}return be instanceof Promise?be.then(Pe=>(sa(xe,Pe),Pe)).catch(Pe=>(sa(Se,Pe),Promise.reject(Pe))):(sa(xe,be),be)};return q[IE]=!0,q[mm]=oe,q},$=So({actions:{},getters:{},state:[],hotState:P}),U={_p:i,$id:e,$onAction:RE.bind(null,C),$patch:R,$reset:D,$subscribe(K,oe={}){const q=RE(E,K,oe.detached,()=>ce()),ce=l.run(()=>an(()=>i.state.value[e],xe=>{(oe.flush==="sync"?y:v)&&K({storeId:e,type:Sr.direct,events:T},xe)},Xi({},d,oe)));return q},$dispose:F},N=bi(ga?Xi({_hmrPayload:$,_customProperties:So(new Set)},U):U);i._s.set(e,N);const Y=(i._a&&i._a.runWithContext||uU)(()=>i._e.run(()=>(l=Ga()).run(()=>t({action:A}))));for(const K in Y){const oe=Y[K];if(mt(oe)&&!dU(oe)||Ti(oe))o||(O&&fU(oe)&&(mt(oe)?oe.value=O[K]:Sg(oe,O[K])),i.state.value[e][K]=oe);else if(typeof oe=="function"){const q=A(oe,K);Y[K]=q,h.actions[K]=oe}}if(Xi(N,Y),Xi(at(N),Y),Object.defineProperty(N,"$state",{get:()=>i.state.value[e],set:K=>{R(oe=>{Xi(oe,K)})}}),ga){const K={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(oe=>{Object.defineProperty(N,oe,Xi({value:N[oe]},K))})}return i._p.forEach(K=>{if(ga){const oe=l.run(()=>K({store:N,app:i._a,pinia:i,options:h}));Object.keys(oe||{}).forEach(q=>N._customProperties.add(q)),Xi(N,oe)}else Xi(N,l.run(()=>K({store:N,app:i._a,pinia:i,options:h})))}),O&&o&&n.hydrate&&n.hydrate(N.$state,O),v=!0,y=!0,N}function nv(e,t,n){let i,s;const o=typeof t=="function";typeof e=="string"?(i=e,s=o?n:t):(s=e,i=e.id);function l(h,d){const v=Ka();return h=h||(v?vn(iC,null):null),h&&Hc(h),h=nC,h._s.has(i)||(o?dC(i,t,s,h):pU(i,s,h)),h._s.get(i)}return l.$id=i,l}function mU(e){const t=yU(e),n=new ArrayBuffer(t.length),i=new DataView(n);for(let s=0;s<n.byteLength;s++)i.setUint8(s,t.charCodeAt(s));return n}const gU="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function yU(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,i=0;for(let s=0;s<e.length;s++)n<<=6,n|=gU.indexOf(e[s]),i+=6,i===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=i=0);return i===12?(n>>=4,t+=String.fromCharCode(n)):i===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const vU=-1,bU=-2,_U=-3,EU=-4,xU=-5,SU=-6;function wU(e,t){return TU(JSON.parse(e),t)}function TU(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,i=Array(n.length);let s=null;function o(l,h=!1){if(l===vU)return;if(l===_U)return NaN;if(l===EU)return 1/0;if(l===xU)return-1/0;if(l===SU)return-0;if(h||typeof l!="number")throw new Error("Invalid input");if(l in i)return i[l];const d=n[l];if(!d||typeof d!="object")i[l]=d;else if(Array.isArray(d))if(typeof d[0]=="string"){const v=d[0],y=t&&Object.hasOwn(t,v)?t[v]:void 0;if(y){let E=d[1];if(typeof E!="number"&&(E=n.push(d[1])-1),s??=new Set,s.has(E))throw new Error("Invalid circular reference");return s.add(E),i[l]=y(o(E)),s.delete(E),i[l]}switch(v){case"Date":i[l]=new Date(d[1]);break;case"Set":const E=new Set;i[l]=E;for(let O=1;O<d.length;O+=1)E.add(o(d[O]));break;case"Map":const C=new Map;i[l]=C;for(let O=1;O<d.length;O+=2)C.set(o(d[O]),o(d[O+1]));break;case"RegExp":i[l]=new RegExp(d[1],d[2]);break;case"Object":i[l]=Object(d[1]);break;case"BigInt":i[l]=BigInt(d[1]);break;case"null":const T=Object.create(null);i[l]=T;for(let O=1;O<d.length;O+=2)T[d[O]]=o(d[O+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[d[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const O=globalThis[v],P=o(d[1]),I=new O(P);i[l]=d[2]!==void 0?I.subarray(d[2],d[3]):I;break}case"ArrayBuffer":{const O=d[1];if(typeof O!="string")throw new Error("Invalid ArrayBuffer encoding");const P=mU(O);i[l]=P;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const O=v.slice(9);i[l]=Temporal[O].from(d[1]);break}case"URL":{const O=new URL(d[1]);i[l]=O;break}case"URLSearchParams":{const O=new URLSearchParams(d[1]);i[l]=O;break}default:throw new Error(`Unknown type ${v}`)}}else{const v=new Array(d.length);i[l]=v;for(let y=0;y<d.length;y+=1){const E=d[y];E!==bU&&(v[y]=o(E))}}else{const v={};i[l]=v;for(const y in d){if(y==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const E=d[y];v[y]=o(E)}}return i[l]}return o(0)}const CU=new Set(["link","style","script","noscript"]),AU=new Set(["title","titleTemplate","script","style","noscript"]),wg=new Set(["base","meta","link","style","script","noscript"]),OU=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),kU=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),PU=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),LU=new Set(["templateParams","htmlAttrs","bodyAttrs"]),RU=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Tg(e,t={},n){for(const i in e){const s=e[i],o=n?`${n}:${i}`:i;typeof s=="object"&&s!==null?Tg(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const pC=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function mC(e,t,n,i){for(let s=n;s<e.length;s+=1)try{const o=i?i.run(()=>e[s](...t)):e[s](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>mC(e,t,s+1,i))}catch(o){return Promise.reject(o)}}function IU(e,t,n){if(e.length>0)return mC(e,t,0,pC(n))}function NU(e,t,n){if(e.length>0){const i=pC(n);return Promise.all(e.map(s=>i.run(()=>s(...t))))}}function gm(e,t){for(const n of[...e])n(t)}var MU=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const i=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,i=(...s)=>(typeof n=="function"&&n(),n=void 0,i=void 0,t(...s));return n=this.hook(e,i),n}removeHook(e,t){const n=this._hooks[e];if(n){const i=n.indexOf(t);i!==-1&&n.splice(i,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const i of n)this.hook(e,i)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Tg(e),n=Object.keys(t).map(i=>this.hook(i,t[i]));return()=>{for(const i of n)i();n.length=0}}removeHooks(e){const t=Tg(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(IU,e,t)}callHookParallel(e,...t){return this.callHookWith(NU,e,t)}callHookWith(e,t,n){const i=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&gm(this._before,i);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&i&&gm(this._after,i)}):(this._after&&i&&gm(this._after,i),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function DU(){return new MU}const FU=["name","property","http-equiv"],BU=new Set(["viewport","description","keywords","robots"]);function gC(e){const t=e.split(":");return t.length?RU.has(t[1]):!1}function Cg(e){const{props:t,tag:n}=e;if(kU.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const i=t.hreflang||t.type;if(i)return`alternate:${i}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const i of FU)if(t[i]!==void 0){const s=t[i],o=s&&typeof s=="string"&&s.includes(":"),l=s&&BU.has(s),d=!(o||l)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${d}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(AU.has(n)){const i=e.textContent||e.innerHTML;if(i)return`${n}:content:${i}`}}function yC(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`}function gf(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>gf(o,t));if(s?.constructor===Object){const o={};for(const l of Object.keys(s))o[l]=gf(s[l],t,l);return o}return s}function HU(e,t){const n=e==="style"?new Map:new Set;function i(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[l,...h]=o.split(":").map(d=>d?d.trim():"");l&&h.length&&n.set(l,h.join(":"))}else o.split(" ").filter(Boolean).forEach(l=>n.add(l))}return typeof t=="string"?e==="style"?t.split(";").forEach(i):i(t):Array.isArray(t)?t.forEach(s=>i(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):i(s))}),n}function vC(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=wg.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([i,s])=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;if(s===null){e.props[i]=null;return}if(i==="class"||i==="style"){e.props[i]=HU(i,s);return}if(PU.has(i)){if((i==="textContent"||i==="innerHTML")&&typeof s=="object"){let v=t.type;if(t.type||(v="application/json"),!v?.endsWith("json")&&v!=="speculationrules")return;t.type=v,e.props.type=v,e[i]=JSON.stringify(s)}else e[i]=s;return}const o=i.startsWith("data-"),l=n&&!o?i.toLowerCase():i,h=String(s),d=e.tag==="meta"&&l==="content";h==="true"||h===""?e.props[l]=o||d?h:!0:!s&&o&&h==="false"?e.props[l]="false":s!==void 0&&(e.props[l]=s)}),e}function UU(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},i=vC({tag:e,props:{}},n);return i.key&&CU.has(i.tag)&&(i.props["data-hid"]=i._h=i.key),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function $U(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let l=0;l<t.length;l++)o=t[l](s,o);return o};e=n(void 0,e);const i=[];return e=gf(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const l of Array.isArray(o)?o:[o])i.push(UU(s,l))}),i.flat()}const NE=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ME={base:-10,title:10},jU={critical:-8,high:-1,low:2},DE={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},VU=/@import/,Tl=e=>e===""||e===!0;function WU(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const i=jU[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:DE;if(t.tag in ME)n=ME[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=DE.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Tl(t.props.async)?n=s.script.async:t.props.src&&!Tl(t.props.defer)&&!Tl(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Tl(t.props.defer)&&t.props.src&&!Tl(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&VU.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+i}function FE(e,t){const n=typeof t=="function"?t(e):t,i=n.key||String(e.plugins.size+1);e.plugins.get(i)||(e.plugins.set(i,n),e.hooks.addHooks(n.hooks||{}))}function zU(e={}){const t=DU();t.addHooks(e.hooks||{});const n=!e.document,i=new Map,s=new Map,o=new Set,l={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:i,headEntries(){return[...i.values()]},use:h=>FE(l,h),push(h,d){const v={...d||{}};delete v.head;const y=v._index??l._entryCount++,E={_i:y,input:h,options:v},C={_poll(T=!1){l.dirty=!0,!T&&o.add(y),t.callHook("entries:updated",l)},dispose(){i.delete(y)&&l.invalidate()},patch(T){(!v.mode||v.mode==="server"&&n||v.mode==="client"&&!n)&&(E.input=T,i.set(y,E),C._poll())}};return C.patch(h),C},async resolveTags(){const h={tagMap:new Map,tags:[],entries:[...l.entries.values()]};for(await t.callHook("entries:resolve",h);o.size;){const C=o.values().next().value;o.delete(C);const T=i.get(C);if(T){const O={tags:$U(T.input,e.propResolvers||[]).map(P=>Object.assign(P,T.options)),entry:T};await t.callHook("entries:normalize",O),T._tags=O.tags.map((P,I)=>(P._w=WU(l,P),P._p=(T._i<<10)+I,P._d=Cg(P),P._d||(P._h=yC(P)),P))}}let d=!1;h.entries.flatMap(C=>(C._tags||[]).map(T=>({...T,props:{...T.props}}))).sort(NE).reduce((C,T)=>{const O=T._d||T._h;if(!C.has(O))return C.set(O,T);const P=C.get(O);if((T?.tagDuplicateStrategy||(LU.has(T.tag)?"merge":null)||(T.key&&T.key===P.key?"merge":null))==="merge"){const R={...P.props};Object.entries(T.props).forEach(([D,F])=>R[D]=D==="style"?new Map([...P.props.style||new Map,...F]):D==="class"?new Set([...P.props.class||new Set,...F]):F),C.set(O,{...T,props:R})}else T._p>>10===P._p>>10&&T.tag==="meta"&&gC(O)?(C.set(O,Object.assign([...Array.isArray(P)?P:[P],T],T)),d=!0):(T._w===P._w?T._p>P._p:T?._w<P?._w)&&C.set(O,T);return C},h.tagMap);const v=h.tagMap.get("title"),y=h.tagMap.get("titleTemplate");if(l._title=v?.textContent,y){const C=y?.textContent;if(l._titleTemplate=C,C){let T=typeof C=="function"?C(v?.textContent):C;typeof T=="string"&&!l.plugins.has("template-params")&&(T=T.replace("%s",v?.textContent||"")),v?T===null?h.tagMap.delete("title"):h.tagMap.set("title",{...v,textContent:T}):(y.tag="title",y.textContent=T)}}h.tags=Array.from(h.tagMap.values()),d&&(h.tags=h.tags.flat().sort(NE)),await t.callHook("tags:beforeResolve",h),await t.callHook("tags:resolve",h),await t.callHook("tags:afterResolve",h);const E=[];for(const C of h.tags){const{innerHTML:T,tag:O,props:P}=C;if(OU.has(O)&&!(Object.keys(P).length===0&&!C.innerHTML&&!C.textContent)&&!(O==="meta"&&!P.content&&!P["http-equiv"]&&!P.charset)){if(O==="script"&&T){if(String(P.type).endsWith("json")){const I=typeof T=="string"?T:JSON.stringify(T);C.innerHTML=I.replace(/</g,"\\u003C")}else typeof T=="string"&&(C.innerHTML=T.replace(new RegExp(`</${O}`,"g"),`<\\/${O}`));C._d=Cg(C)}E.push(C)}}return E},invalidate(){for(const h of i.values())o.add(h._i);l.dirty=!0,t.callHook("entries:updated",l)}};return(e?.plugins||[]).forEach(h=>FE(l,h)),l.hooks.callHook("init",l),e.init?.forEach(h=>h&&l.push(h)),l}const XU=(e,t)=>mt(t)?uT(t):t,iv="usehead";function GU(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(iv,e)}}.install}function qU(){if(Ka()){const e=vn(iv);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function YU(e,t={}){const n=t.head||qU();return n.ssr?n.push(e||{},t):KU(n,e,t)}function KU(e,t,n={}){const i=gt(!1);let s;return Ay(()=>{const l=i.value?{}:gf(t,XU);s?s.patch(l):s=e.push(l,n)}),Sn()&&(Ja(()=>{s.dispose()}),Ry(()=>{i.value=!0}),Ly(()=>{i.value=!1})),s}function JU(e){const t=e||ct();return t.ssrContext?.head||t.runWithContext(()=>{if(Ka()){const n=vn(iv);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function ZU(e,t={}){const n=t.head||JU(t.nuxt);return YU(e,{head:n,...t})}const QU=(e,t)=>[],bC=e=>J1({},...QU().map(t=>t.data).reverse()),e$=bC;function ad(e){const t=typeof e=="string"?e:e.path;try{return e$(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function BE(e,t={}){if(await i$(e)){const n=await n$(e,t);return await _C(n)||null}return null}const t$="_payload.json";async function n$(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||kr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const i=oi(),s=t.hash||(t.fresh?Date.now():i.app.buildId),o=i.app.cdnURL,l=o&&await r$(e)?o:i.app.baseURL;return Co(l,n.pathname,t$+(s?`?${s}`:""))}async function _C(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(SC));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function EC(e){if(e.redirect)return!1;if(e.prerender)return!0}async function xC(e){return!1}async function i$(e=Aa().path){const t=ad({path:e}),n=EC(t);return n!==void 0?n:t.payload?!0:await xC()}async function r$(e=Aa().path){const t=EC(ad({path:e}));return t!==void 0?t:await xC()}let eo=null;async function s$(){if(eo)return eo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await SC(e.textContent||""),n=e.dataset.src?await _C(e.dataset.src):void 0;return eo={...t,...n,...window.__NUXT__},eo.config?.public&&(eo.config.public=bi(eo.config.public)),eo}async function SC(e){return await wU(e,ct()._payloadRevivers)}function wC(e,t){ct()._payloadRevivers[e]=t}const o$=OH(()=>{wC("skipHydrate",e=>{})}),a$=[["NuxtError",e=>vo(e)],["EmptyShallowRef",e=>or(e==="_"?void 0:e==="0n"?BigInt(0):uc(e))],["EmptyRef",e=>gt(e==="_"?void 0:e==="0n"?BigInt(0):uc(e))],["ShallowRef",e=>or(e)],["ShallowReactive",e=>Qi(e)],["Ref",e=>gt(e)],["Reactive",e=>bi(e)]],l$=fn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[i,s]of a$)wC(i,s);Object.assign(e.payload,([t,n]=yo(()=>e.runWithContext(s$)),t=await t,n(),t)),delete window.__NUXT__}});async function rv(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const i={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",i),!!i.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,l=new Promise(T=>{e.resolveTags().then(O=>{T(O.map(P=>{const I=o.get(P._d)||0,R={tag:P,id:(I?`${P._d}:${I}`:P._d)||P._h,shouldRender:!0};return P._d&&gC(P._d)&&o.set(P._d,I+1),R}))})});let h=e._dom;if(!h){h={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const T of["body","head"]){const O=n[T]?.children;for(const P of O){const I=P.tagName.toLowerCase();if(!wg.has(I))continue;const R=vC({tag:I,props:{}},{innerHTML:P.innerHTML,...P.getAttributeNames().reduce((D,F)=>(D[F]=P.getAttribute(F),D),{})||{}});if(R.key=P.getAttribute("data-hid")||void 0,R._d=Cg(R)||yC(R),h.elMap.has(R._d)){let D=1,F=R._d;for(;h.elMap.has(F);)F=`${R._d}:${D++}`;h.elMap.set(F,P)}else h.elMap.set(R._d,P)}}}h.pendingSideEffects={...h.sideEffects},h.sideEffects={};function d(T,O,P){const I=`${T}:${O}`;h.sideEffects[I]=P,delete h.pendingSideEffects[I]}function v({id:T,$el:O,tag:P}){const I=P.tag.endsWith("Attrs");h.elMap.set(T,O),I||(P.textContent&&P.textContent!==O.textContent&&(O.textContent=P.textContent),P.innerHTML&&P.innerHTML!==O.innerHTML&&(O.innerHTML=P.innerHTML),d(T,"el",()=>{O?.remove(),h.elMap.delete(T)}));for(const R in P.props){if(!Object.prototype.hasOwnProperty.call(P.props,R))continue;const D=P.props[R];if(R.startsWith("on")&&typeof D=="function"){const A=O?.dataset;if(A&&A[`${R}fired`]){const $=R.slice(0,-5);D.call(O,new Event($.substring(2)))}O.getAttribute(`data-${R}`)!==""&&((P.tag==="bodyAttrs"?n.defaultView:O).addEventListener(R.substring(2),D.bind(O)),O.setAttribute(`data-${R}`,""));continue}const F=`attr:${R}`;if(R==="class"){if(!D)continue;for(const A of D)I&&d(T,`${F}:${A}`,()=>O.classList.remove(A)),!O.classList.contains(A)&&O.classList.add(A)}else if(R==="style"){if(!D)continue;for(const[A,$]of D)d(T,`${F}:${A}`,()=>{O.style.removeProperty(A)}),O.style.setProperty(A,$)}else D!==!1&&D!==null&&(O.getAttribute(R)!==D&&O.setAttribute(R,D===!0?"":String(D)),I&&d(T,F,()=>O.removeAttribute(R)))}}const y=[],E={bodyClose:void 0,bodyOpen:void 0,head:void 0},C=await l;for(const T of C){const{tag:O,shouldRender:P,id:I}=T;if(P){if(O.tag==="title"){n.title=O.textContent,d("title","",()=>n.title=h.title);continue}T.$el=T.$el||h.elMap.get(I),T.$el?v(T):wg.has(O.tag)&&y.push(T)}}for(const T of y){const O=T.tag.tagPosition||"head";T.$el=n.createElement(T.tag.tag),v(T),E[O]=E[O]||n.createDocumentFragment(),E[O].appendChild(T.$el)}for(const T of C)await e.hooks.callHook("dom:renderTag",T,n,d);E.head&&n.head.appendChild(E.head),E.bodyOpen&&n.body.insertBefore(E.bodyOpen,n.body.firstChild),E.bodyClose&&n.body.appendChild(E.bodyClose);for(const T in h.pendingSideEffects)h.pendingSideEffects[T]();e._dom=h,await e.hooks.callHook("dom:rendered",{renders:C}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function c$(e={}){const t=e.domOptions?.render||rv;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return zU({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function u$(e,t){let n=0;return()=>{const i=++n;t(()=>{n===i&&e()})}}function h$(e={}){const t=c$({domOptions:{render:u$(()=>rv(t),n=>setTimeout(n,0))},...e});return t.install=GU(t),t}const f$={disableDefaults:!0},d$=fn({name:"nuxt:head",enforce:"pre",setup(e){const t=h$(f$);e.vueApp.use(t);{let n=!0;const i=async()=>{n=!1,await rv(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||i()}),e.hooks.hook("app:error",i),e.hooks.hook("app:suspense:resolve",i)}}});const jr=typeof document<"u";function TC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function p$(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&TC(e.default)}const At=Object.assign;function ym(e,t){const n={};for(const i in t){const s=t[i];n[i]=Ai(s)?s.map(e):e(s)}return n}const ql=()=>{},Ai=Array.isArray;function HE(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function m$(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const CC=/#/g,g$=/&/g,y$=/\//g,v$=/=/g,b$=/\?/g,AC=/\+/g,_$=/%5B/g,E$=/%5D/g,OC=/%5E/g,x$=/%60/g,kC=/%7B/g,S$=/%7C/g,PC=/%7D/g,w$=/%20/g;function sv(e){return e==null?"":encodeURI(""+e).replace(S$,"|").replace(_$,"[").replace(E$,"]")}function T$(e){return sv(e).replace(kC,"{").replace(PC,"}").replace(OC,"^")}function Ag(e){return sv(e).replace(AC,"%2B").replace(w$,"+").replace(CC,"%23").replace(g$,"%26").replace(x$,"`").replace(kC,"{").replace(PC,"}").replace(OC,"^")}function C$(e){return Ag(e).replace(v$,"%3D")}function A$(e){return sv(e).replace(CC,"%23").replace(b$,"%3F")}function O$(e){return A$(e).replace(y$,"%2F")}function Oa(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const k$=/\/$/,P$=e=>e.replace(k$,"");function vm(e,t,n="/"){let i,s={},o="",l="";const h=t.indexOf("#");let d=t.indexOf("?");return d=h>=0&&d>h?-1:d,d>=0&&(i=t.slice(0,d),o=t.slice(d,h>0?h:t.length),s=e(o.slice(1))),h>=0&&(i=i||t.slice(0,h),l=t.slice(h,t.length)),i=N$(i??t,n),{fullPath:i+o+l,path:i,query:s,hash:Oa(l)}}function L$(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function UE(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function R$(e,t,n){const i=t.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&Ns(t.matched[i],n.matched[s])&&LC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ns(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function LC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!I$(e[n],t[n]))return!1;return!0}function I$(e,t){return Ai(e)?$E(e,t):Ai(t)?$E(t,e):e?.valueOf()===t?.valueOf()}function $E(e,t){return Ai(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function N$(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),s=i[i.length-1];(s===".."||s===".")&&i.push("");let o=n.length-1,l,h;for(l=0;l<i.length;l++)if(h=i[l],h!==".")if(h==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+i.slice(l).join("/")}const Ii={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Og=(function(e){return e.pop="pop",e.push="push",e})({}),bm=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function M$(e){if(!e)if(jr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),P$(e)}const D$=/^[^#]+#/;function F$(e,t){return e.replace(D$,"#")+t}function B$(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const ld=()=>({left:window.scrollX,top:window.scrollY});function H$(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=B$(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jE(e,t){return(history.state?history.state.position-t:-1)+e}const kg=new Map;function U$(e,t){kg.set(e,t)}function $$(e){const t=kg.get(e);return kg.delete(e),t}function RC(e){return typeof e=="string"||e&&typeof e=="object"}function IC(e){return typeof e=="string"||typeof e=="symbol"}let rn=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const NC=Symbol("");rn.MATCHER_NOT_FOUND+"",rn.NAVIGATION_GUARD_REDIRECT+"",rn.NAVIGATION_ABORTED+"",rn.NAVIGATION_CANCELLED+"",rn.NAVIGATION_DUPLICATED+"";function ka(e,t){return At(new Error,{type:e,[NC]:!0},t)}function Dr(e,t){return e instanceof Error&&NC in e&&(t==null||!!(e.type&t))}const j$=["params","query","hash"];function V$(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of j$)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function W$(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const s=n[i].replace(AC," "),o=s.indexOf("="),l=Oa(o<0?s:s.slice(0,o)),h=o<0?null:Oa(s.slice(o+1));if(l in t){let d=t[l];Ai(d)||(d=t[l]=[d]),d.push(h)}else t[l]=h}return t}function VE(e){let t="";for(let n in e){const i=e[n];if(n=C$(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ai(i)?i.map(s=>s&&Ag(s)):[i&&Ag(i)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function z$(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Ai(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return t}const X$=Symbol(""),WE=Symbol(""),ov=Symbol(""),av=Symbol(""),Pg=Symbol("");function Cl(){let e=[];function t(i){return e.push(i),()=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ws(e,t,n,i,s,o=l=>l()){const l=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((h,d)=>{const v=C=>{C===!1?d(ka(rn.NAVIGATION_ABORTED,{from:n,to:t})):C instanceof Error?d(C):RC(C)?d(ka(rn.NAVIGATION_GUARD_REDIRECT,{from:t,to:C})):(l&&i.enterCallbacks[s]===l&&typeof C=="function"&&l.push(C),h())},y=o(()=>e.call(i&&i.instances[s],t,n,v));let E=Promise.resolve(y);e.length<3&&(E=E.then(v)),E.catch(C=>d(C))})}function _m(e,t,n,i,s=o=>o()){const o=[];for(const l of e)for(const h in l.components){let d=l.components[h];if(!(t!=="beforeRouteEnter"&&!l.instances[h]))if(TC(d)){const v=(d.__vccOpts||d)[t];v&&o.push(ws(v,n,i,l,h,s))}else{let v=d();o.push(()=>v.then(y=>{if(!y)throw new Error(`Couldn't resolve component "${h}" at "${l.path}"`);const E=p$(y)?y.default:y;l.mods[h]=y,l.components[h]=E;const C=(E.__vccOpts||E)[t];return C&&ws(C,n,i,l,h,s)()}))}}return o}function G$(e,t){const n=[],i=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l<o;l++){const h=t.matched[l];h&&(e.matched.find(v=>Ns(v,h))?i.push(h):n.push(h));const d=e.matched[l];d&&(t.matched.find(v=>Ns(v,d))||s.push(d))}return[n,i,s]}function Al(e,t){const n=At({},e,{matched:e.matched.map(i=>rj(i,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function sh(e){return{_custom:{display:e}}}let q$=0;function Y$(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const i=q$++;od({id:"org.vuejs.router"+(i?"."+i:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},s=>{typeof s.now!="function"&&m$("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),s.on.inspectComponent((y,E)=>{y.instanceData&&y.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Al(t.currentRoute.value,"Current Route")})}),s.on.visitComponentTree(({treeNode:y,componentInstance:E})=>{if(E.__vrv_devtools){const C=E.__vrv_devtools;y.tags.push({label:(C.name?`${C.name.toString()}: `:"")+C.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:MC})}Ai(E.__vrl_devtools)&&(E.__devtoolsApi=s,E.__vrl_devtools.forEach(C=>{let T=C.route.path,O=BC,P="",I=0;C.error?(T=C.error,O=ej,I=tj):C.isExactActive?(O=FC,P="This is exactly active"):C.isActive&&(O=DC,P="This link is active"),y.tags.push({label:T,textColor:I,tooltip:P,backgroundColor:O})}))}),an(t.currentRoute,()=>{d(),s.notifyComponentUpdate(),s.sendInspectorTree(h),s.sendInspectorState(h)});const o="router:navigations:"+i;s.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),t.onError((y,E)=>{s.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:E.fullPath,logType:"error",time:s.now(),data:{error:y},groupId:E.meta.__navigationId}})});let l=0;t.beforeEach((y,E)=>{const C={guard:sh("beforeEach"),from:Al(E,"Current Location during this navigation"),to:Al(y,"Target location")};Object.defineProperty(y.meta,"__navigationId",{value:l++}),s.addTimelineEvent({layerId:o,event:{time:s.now(),title:"Start of navigation",subtitle:y.fullPath,data:C,groupId:y.meta.__navigationId}})}),t.afterEach((y,E,C)=>{const T={guard:sh("afterEach")};C?(T.failure={_custom:{type:Error,readOnly:!0,display:C?C.message:"",tooltip:"Navigation Failure",value:C}},T.status=sh("❌")):T.status=sh("✅"),T.from=Al(E,"Current Location during this navigation"),T.to=Al(y,"Target location"),s.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:y.fullPath,time:s.now(),data:T,logType:C?"warning":"default",groupId:y.meta.__navigationId}})});const h="router-inspector:"+i;s.addInspector({id:h,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"});function d(){if(!v)return;const y=v;let E=n.getRoutes().filter(C=>!C.parent||!C.parent.record.components);E.forEach($C),y.filter&&(E=E.filter(C=>Lg(C,y.filter.toLowerCase()))),E.forEach(C=>UC(C,t.currentRoute.value)),y.rootNodes=E.map(HC)}let v;s.on.getInspectorTree(y=>{v=y,y.app===e&&y.inspectorId===h&&d()}),s.on.getInspectorState(y=>{if(y.app===e&&y.inspectorId===h){const E=n.getRoutes().find(C=>C.record.__vd_id===y.nodeId);E&&(y.state={options:J$(E)})}}),s.sendInspectorTree(h),s.sendInspectorState(h)})}function K$(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function J$(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(i=>`${i.name}${K$(i)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(i=>i.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(i=>i.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const MC=15485081,DC=2450411,FC=8702998,Z$=2282478,BC=16486972,Q$=6710886,ej=16704226,tj=12131356;function HC(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:Z$}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:BC}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:MC}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:FC}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:DC}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Q$});let i=n.__vd_id;return i==null&&(i=String(nj++),n.__vd_id=i),{id:i,label:n.path,tags:t,children:e.children.map(HC)}}let nj=0;const ij=/^\/(.*)\/([a-z]*)$/;function UC(e,t){const n=t.matched.length&&Ns(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(i=>Ns(i,e.record))),e.children.forEach(i=>UC(i,t))}function $C(e){e.__vd_match=!1,e.children.forEach($C)}function Lg(e,t){const n=String(e.re).match(ij);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(o=>Lg(o,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const i=e.record.path.toLowerCase(),s=Oa(i);return!t.startsWith("/")&&(s.includes(t)||i.includes(t))||s.startsWith(t)||i.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(o=>Lg(o,t))}function rj(e,t){const n={};for(const i in e)t.includes(i)||(n[i]=e[i]);return n}let sj=()=>location.protocol+"//"+location.host;function jC(e,t){const{pathname:n,search:i,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,h=s.slice(l);return h[0]!=="/"&&(h="/"+h),UE(h,"")}return UE(n,e)+i+s}function oj(e,t,n,i){let s=[],o=[],l=null;const h=({state:C})=>{const T=jC(e,location),O=n.value,P=t.value;let I=0;if(C){if(n.value=T,t.value=C,l&&l===O){l=null;return}I=P?C.position-P.position:0}else i(T);s.forEach(R=>{R(n.value,O,{delta:I,type:Og.pop,direction:I?I>0?bm.forward:bm.back:bm.unknown})})};function d(){l=n.value}function v(C){s.push(C);const T=()=>{const O=s.indexOf(C);O>-1&&s.splice(O,1)};return o.push(T),T}function y(){if(document.visibilityState==="hidden"){const{history:C}=window;if(!C.state)return;C.replaceState(At({},C.state,{scroll:ld()}),"")}}function E(){for(const C of o)C();o=[],window.removeEventListener("popstate",h),window.removeEventListener("pagehide",y),document.removeEventListener("visibilitychange",y)}return window.addEventListener("popstate",h),window.addEventListener("pagehide",y),document.addEventListener("visibilitychange",y),{pauseListeners:d,listen:v,destroy:E}}function zE(e,t,n,i=!1,s=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:s?ld():null}}function aj(e){const{history:t,location:n}=window,i={value:jC(e,n)},s={value:t.state};s.value||o(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(d,v,y){const E=e.indexOf("#"),C=E>-1?(n.host&&document.querySelector("base")?e:e.slice(E))+d:sj()+e+d;try{t[y?"replaceState":"pushState"](v,"",C),s.value=v}catch(T){console.error(T),n[y?"replace":"assign"](C)}}function l(d,v){o(d,At({},t.state,zE(s.value.back,d,s.value.forward,!0),v,{position:s.value.position}),!0),i.value=d}function h(d,v){const y=At({},s.value,t.state,{forward:d,scroll:ld()});o(y.current,y,!0),o(d,At({},zE(i.value,d,null),{position:y.position+1},v),!1),i.value=d}return{location:i,state:s,push:h,replace:l}}function lj(e){e=M$(e);const t=aj(e),n=oj(e,t.state,t.location,t.replace);function i(o,l=!0){l||n.pauseListeners(),history.go(o)}const s=At({location:"",base:e,go:i,createHref:F$.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function cj(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),lj(e)}let ao=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var xn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(xn||{});const uj={type:ao.Static,value:""},hj=/[a-zA-Z0-9_]/;function fj(e){if(!e)return[[]];if(e==="/")return[[uj]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(T){throw new Error(`ERR (${n})/"${v}": ${T}`)}let n=xn.Static,i=n;const s=[];let o;function l(){o&&s.push(o),o=[]}let h=0,d,v="",y="";function E(){v&&(n===xn.Static?o.push({type:ao.Static,value:v}):n===xn.Param||n===xn.ParamRegExp||n===xn.ParamRegExpEnd?(o.length>1&&(d==="*"||d==="+")&&t(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),o.push({type:ao.Param,value:v,regexp:y,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):t("Invalid state to consume buffer"),v="")}function C(){v+=d}for(;h<e.length;){if(d=e[h++],d==="\\"&&n!==xn.ParamRegExp){i=n,n=xn.EscapeNext;continue}switch(n){case xn.Static:d==="/"?(v&&E(),l()):d===":"?(E(),n=xn.Param):C();break;case xn.EscapeNext:C(),n=i;break;case xn.Param:d==="("?n=xn.ParamRegExp:hj.test(d)?C():(E(),n=xn.Static,d!=="*"&&d!=="?"&&d!=="+"&&h--);break;case xn.ParamRegExp:d===")"?y[y.length-1]=="\\"?y=y.slice(0,-1)+d:n=xn.ParamRegExpEnd:y+=d;break;case xn.ParamRegExpEnd:E(),n=xn.Static,d!=="*"&&d!=="?"&&d!=="+"&&h--,y="";break;default:t("Unknown state");break}}return n===xn.ParamRegExp&&t(`Unfinished custom RegExp for param "${v}"`),E(),l(),s}const XE="[^/]+?",dj={sensitive:!1,strict:!1,start:!0,end:!0};var ii=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(ii||{});const pj=/[.+*?^${}()[\]/\\]/g;function mj(e,t){const n=At({},dj,t),i=[];let s=n.start?"^":"";const o=[];for(const v of e){const y=v.length?[]:[ii.Root];n.strict&&!v.length&&(s+="/");for(let E=0;E<v.length;E++){const C=v[E];let T=ii.Segment+(n.sensitive?ii.BonusCaseSensitive:0);if(C.type===ao.Static)E||(s+="/"),s+=C.value.replace(pj,"\\$&"),T+=ii.Static;else if(C.type===ao.Param){const{value:O,repeatable:P,optional:I,regexp:R}=C;o.push({name:O,repeatable:P,optional:I});const D=R||XE;if(D!==XE){T+=ii.BonusCustomRegExp;try{`${D}`}catch(A){throw new Error(`Invalid custom RegExp for param "${O}" (${D}): `+A.message)}}let F=P?`((?:${D})(?:/(?:${D}))*)`:`(${D})`;E||(F=I&&v.length<2?`(?:/${F})`:"/"+F),I&&(F+="?"),s+=F,T+=ii.Dynamic,I&&(T+=ii.BonusOptional),P&&(T+=ii.BonusRepeatable),D===".*"&&(T+=ii.BonusWildcard)}y.push(T)}i.push(y)}if(n.strict&&n.end){const v=i.length-1;i[v][i[v].length-1]+=ii.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const l=new RegExp(s,n.sensitive?"":"i");function h(v){const y=v.match(l),E={};if(!y)return null;for(let C=1;C<y.length;C++){const T=y[C]||"",O=o[C-1];E[O.name]=T&&O.repeatable?T.split("/"):T}return E}function d(v){let y="",E=!1;for(const C of e){(!E||!y.endsWith("/"))&&(y+="/"),E=!1;for(const T of C)if(T.type===ao.Static)y+=T.value;else if(T.type===ao.Param){const{value:O,repeatable:P,optional:I}=T,R=O in v?v[O]:"";if(Ai(R)&&!P)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const D=Ai(R)?R.join("/"):R;if(!D)if(I)C.length<2&&(y.endsWith("/")?y=y.slice(0,-1):E=!0);else throw new Error(`Missing required param "${O}"`);y+=D}}return y||"/"}return{re:l,score:i,keys:o,parse:h,stringify:d}}function gj(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?e.length===1&&e[0]===ii.Static+ii.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ii.Static+ii.Segment?1:-1:0}function VC(e,t){let n=0;const i=e.score,s=t.score;for(;n<i.length&&n<s.length;){const o=gj(i[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-i.length)===1){if(GE(i))return 1;if(GE(s))return-1}return s.length-i.length}function GE(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yj={strict:!1,end:!0,sensitive:!1};function vj(e,t,n){const i=mj(fj(e.path),n),s=At(i,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function bj(e,t){const n=[],i=new Map;t=HE(yj,t);function s(E){return i.get(E)}function o(E,C,T){const O=!T,P=YE(E);P.aliasOf=T&&T.record;const I=HE(t,E),R=[P];if("alias"in E){const A=typeof E.alias=="string"?[E.alias]:E.alias;for(const $ of A)R.push(YE(At({},P,{components:T?T.record.components:P.components,path:$,aliasOf:T?T.record:P})))}let D,F;for(const A of R){const{path:$}=A;if(C&&$[0]!=="/"){const U=C.record.path,N=U[U.length-1]==="/"?"":"/";A.path=C.record.path+($&&N+$)}if(D=vj(A,C,I),T?T.alias.push(D):(F=F||D,F!==D&&F.alias.push(D),O&&E.name&&!KE(D)&&l(E.name)),WC(D)&&d(D),P.children){const U=P.children;for(let N=0;N<U.length;N++)o(U[N],D,T&&T.children[N])}T=T||D}return F?()=>{l(F)}:ql}function l(E){if(IC(E)){const C=i.get(E);C&&(i.delete(E),n.splice(n.indexOf(C),1),C.children.forEach(l),C.alias.forEach(l))}else{const C=n.indexOf(E);C>-1&&(n.splice(C,1),E.record.name&&i.delete(E.record.name),E.children.forEach(l),E.alias.forEach(l))}}function h(){return n}function d(E){const C=xj(E,n);n.splice(C,0,E),E.record.name&&!KE(E)&&i.set(E.record.name,E)}function v(E,C){let T,O={},P,I;if("name"in E&&E.name){if(T=i.get(E.name),!T)throw ka(rn.MATCHER_NOT_FOUND,{location:E});I=T.record.name,O=At(qE(C.params,T.keys.filter(F=>!F.optional).concat(T.parent?T.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),E.params&&qE(E.params,T.keys.map(F=>F.name))),P=T.stringify(O)}else if(E.path!=null)P=E.path,T=n.find(F=>F.re.test(P)),T&&(O=T.parse(P),I=T.record.name);else{if(T=C.name?i.get(C.name):n.find(F=>F.re.test(C.path)),!T)throw ka(rn.MATCHER_NOT_FOUND,{location:E,currentLocation:C});I=T.record.name,O=At({},C.params,E.params),P=T.stringify(O)}const R=[];let D=T;for(;D;)R.unshift(D.record),D=D.parent;return{name:I,path:P,params:O,matched:R,meta:Ej(R)}}e.forEach(E=>o(E));function y(){n.length=0,i.clear()}return{addRoute:o,resolve:v,removeRoute:l,clearRoutes:y,getRoutes:h,getRecordMatcher:s}}function qE(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function YE(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_j(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function _j(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function KE(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ej(e){return e.reduce((t,n)=>At(t,n.meta),{})}function xj(e,t){let n=0,i=t.length;for(;n!==i;){const o=n+i>>1;VC(e,t[o])<0?i=o:n=o+1}const s=Sj(e);return s&&(i=t.lastIndexOf(s,i-1)),i}function Sj(e){let t=e;for(;t=t.parent;)if(WC(t)&&VC(e,t)===0)return t}function WC({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function JE(e){const t=vn(ov),n=vn(av),i=Bt(()=>{const d=An(e.to);return t.resolve(d)}),s=Bt(()=>{const{matched:d}=i.value,{length:v}=d,y=d[v-1],E=n.matched;if(!y||!E.length)return-1;const C=E.findIndex(Ns.bind(null,y));if(C>-1)return C;const T=ZE(d[v-2]);return v>1&&ZE(y)===T&&E[E.length-1].path!==T?E.findIndex(Ns.bind(null,d[v-2])):C}),o=Bt(()=>s.value>-1&&Oj(n.params,i.value.params)),l=Bt(()=>s.value>-1&&s.value===n.matched.length-1&&LC(n.params,i.value.params));function h(d={}){if(Aj(d)){const v=t[An(e.replace)?"replace":"push"](An(e.to)).catch(ql);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>v),v}return Promise.resolve()}if(jr){const d=Sn();if(d){const v={route:i.value,isActive:o.value,isExactActive:l.value,error:null};d.__vrl_devtools=d.__vrl_devtools||[],d.__vrl_devtools.push(v),Ay(()=>{v.route=i.value,v.isActive=o.value,v.isExactActive=l.value,v.error=RC(An(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:i,href:Bt(()=>i.value.href),isActive:o,isExactActive:l,navigate:h}}function wj(e){return e.length===1?e[0]:e}const Tj=Qn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:JE,setup(e,{slots:t}){const n=bi(JE(e)),{options:i}=vn(ov),s=Bt(()=>({[QE(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[QE(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&wj(t.default(n));return e.custom?o:$t("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Cj=Tj;function Aj(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Oj(e,t){for(const n in t){const i=t[n],s=e[n];if(typeof i=="string"){if(i!==s)return!1}else if(!Ai(s)||s.length!==i.length||i.some((o,l)=>o.valueOf()!==s[l].valueOf()))return!1}return!0}function ZE(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const QE=(e,t,n)=>e??t??n,kj=Qn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=vn(Pg),s=Bt(()=>e.route||i.value),o=vn(WE,0),l=Bt(()=>{let v=An(o);const{matched:y}=s.value;let E;for(;(E=y[v])&&!E.components;)v++;return v}),h=Bt(()=>s.value.matched[l.value]);Er(WE,Bt(()=>l.value+1)),Er(X$,h),Er(Pg,s);const d=gt();return an(()=>[d.value,h.value,e.name],([v,y,E],[C,T,O])=>{y&&(y.instances[E]=v,T&&T!==y&&v&&v===C&&(y.leaveGuards.size||(y.leaveGuards=T.leaveGuards),y.updateGuards.size||(y.updateGuards=T.updateGuards))),v&&y&&(!T||!Ns(y,T)||!C)&&(y.enterCallbacks[E]||[]).forEach(P=>P(v))},{flush:"post"}),()=>{const v=s.value,y=e.name,E=h.value,C=E&&E.components[y];if(!C)return ex(n.default,{Component:C,route:v});const T=E.props[y],O=T?T===!0?v.params:typeof T=="function"?T(v):T:null,I=$t(C,At({},O,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(E.instances[y]=null)},ref:d}));if(jr&&I.ref){const R={depth:l.value,name:E.name,path:E.path,meta:E.meta};(Ai(I.ref)?I.ref.map(D=>D.i):[I.ref.i]).forEach(D=>{D.__vrv_devtools=R})}return ex(n.default,{Component:I,route:v})||I}}});function ex(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const zC=kj;function Pj(e){const t=bj(e.routes,e),n=e.parseQuery||W$,i=e.stringifyQuery||VE,s=e.history,o=Cl(),l=Cl(),h=Cl(),d=or(Ii);let v=Ii;jr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=ym.bind(null,me=>""+me),E=ym.bind(null,O$),C=ym.bind(null,Oa);function T(me,Te){let Ae,Ie;return IC(me)?(Ae=t.getRecordMatcher(me),Ie=Te):Ie=me,t.addRoute(Ie,Ae)}function O(me){const Te=t.getRecordMatcher(me);Te&&t.removeRoute(Te)}function P(){return t.getRoutes().map(me=>me.record)}function I(me){return!!t.getRecordMatcher(me)}function R(me,Te){if(Te=At({},Te||d.value),typeof me=="string"){const G=vm(n,me,Te.path),le=t.resolve({path:G.path},Te),ve=s.createHref(G.fullPath);return At(G,le,{params:C(le.params),hash:Oa(G.hash),redirectedFrom:void 0,href:ve})}let Ae;if(me.path!=null)Ae=At({},me,{path:vm(n,me.path,Te.path).path});else{const G=At({},me.params);for(const le in G)G[le]==null&&delete G[le];Ae=At({},me,{params:E(G)}),Te.params=E(Te.params)}const Ie=t.resolve(Ae,Te),We=me.hash||"";Ie.params=y(C(Ie.params));const we=L$(i,At({},me,{hash:T$(We),path:Ie.path})),z=s.createHref(we);return At({fullPath:we,hash:We,query:i===VE?z$(me.query):me.query||{}},Ie,{redirectedFrom:void 0,href:z})}function D(me){return typeof me=="string"?vm(n,me,d.value.path):At({},me)}function F(me,Te){if(v!==me)return ka(rn.NAVIGATION_CANCELLED,{from:Te,to:me})}function A(me){return N(me)}function $(me){return A(At(D(me),{replace:!0}))}function U(me,Te){const Ae=me.matched[me.matched.length-1];if(Ae&&Ae.redirect){const{redirect:Ie}=Ae;let We=typeof Ie=="function"?Ie(me,Te):Ie;return typeof We=="string"&&(We=We.includes("?")||We.includes("#")?We=D(We):{path:We},We.params={}),At({query:me.query,hash:me.hash,params:We.path!=null?{}:me.params},We)}}function N(me,Te){const Ae=v=R(me),Ie=d.value,We=me.state,we=me.force,z=me.replace===!0,G=U(Ae,Ie);if(G)return N(At(D(G),{state:typeof G=="object"?At({},We,G.state):We,force:we,replace:z}),Te||Ae);const le=Ae;le.redirectedFrom=Te;let ve;return!we&&R$(i,Ie,Ae)&&(ve=ka(rn.NAVIGATION_DUPLICATED,{to:le,from:Ie}),tt(Ie,Ie,!0,!1)),(ve?Promise.resolve(ve):K(le,Ie)).catch(fe=>Dr(fe)?Dr(fe,rn.NAVIGATION_GUARD_REDIRECT)?fe:ot(fe):be(fe,le,Ie)).then(fe=>{if(fe){if(Dr(fe,rn.NAVIGATION_GUARD_REDIRECT))return N(At({replace:z},D(fe.to),{state:typeof fe.to=="object"?At({},We,fe.to.state):We,force:we}),Te||le)}else fe=q(le,Ie,!0,z,We);return oe(le,Ie,fe),fe})}function J(me,Te){const Ae=F(me,Te);return Ae?Promise.reject(Ae):Promise.resolve()}function Y(me){const Te=bt.values().next().value;return Te&&typeof Te.runWithContext=="function"?Te.runWithContext(me):me()}function K(me,Te){let Ae;const[Ie,We,we]=G$(me,Te);Ae=_m(Ie.reverse(),"beforeRouteLeave",me,Te);for(const G of Ie)G.leaveGuards.forEach(le=>{Ae.push(ws(le,me,Te))});const z=J.bind(null,me,Te);return Ae.push(z),xt(Ae).then(()=>{Ae=[];for(const G of o.list())Ae.push(ws(G,me,Te));return Ae.push(z),xt(Ae)}).then(()=>{Ae=_m(We,"beforeRouteUpdate",me,Te);for(const G of We)G.updateGuards.forEach(le=>{Ae.push(ws(le,me,Te))});return Ae.push(z),xt(Ae)}).then(()=>{Ae=[];for(const G of we)if(G.beforeEnter)if(Ai(G.beforeEnter))for(const le of G.beforeEnter)Ae.push(ws(le,me,Te));else Ae.push(ws(G.beforeEnter,me,Te));return Ae.push(z),xt(Ae)}).then(()=>(me.matched.forEach(G=>G.enterCallbacks={}),Ae=_m(we,"beforeRouteEnter",me,Te,Y),Ae.push(z),xt(Ae))).then(()=>{Ae=[];for(const G of l.list())Ae.push(ws(G,me,Te));return Ae.push(z),xt(Ae)}).catch(G=>Dr(G,rn.NAVIGATION_CANCELLED)?G:Promise.reject(G))}function oe(me,Te,Ae){h.list().forEach(Ie=>Y(()=>Ie(me,Te,Ae)))}function q(me,Te,Ae,Ie,We){const we=F(me,Te);if(we)return we;const z=Te===Ii,G=jr?history.state:{};Ae&&(Ie||z?s.replace(me.fullPath,At({scroll:z&&G&&G.scroll},We)):s.push(me.fullPath,We)),d.value=me,tt(me,Te,Ae,z),ot()}let ce;function xe(){ce||(ce=s.listen((me,Te,Ae)=>{if(!yt.listening)return;const Ie=R(me),We=U(Ie,yt.currentRoute.value);if(We){N(At(We,{replace:!0,force:!0}),Ie).catch(ql);return}v=Ie;const we=d.value;jr&&U$(jE(we.fullPath,Ae.delta),ld()),K(Ie,we).catch(z=>Dr(z,rn.NAVIGATION_ABORTED|rn.NAVIGATION_CANCELLED)?z:Dr(z,rn.NAVIGATION_GUARD_REDIRECT)?(N(At(D(z.to),{force:!0}),Ie).then(G=>{Dr(G,rn.NAVIGATION_ABORTED|rn.NAVIGATION_DUPLICATED)&&!Ae.delta&&Ae.type===Og.pop&&s.go(-1,!1)}).catch(ql),Promise.reject()):(Ae.delta&&s.go(-Ae.delta,!1),be(z,Ie,we))).then(z=>{z=z||q(Ie,we,!1),z&&(Ae.delta&&!Dr(z,rn.NAVIGATION_CANCELLED)?s.go(-Ae.delta,!1):Ae.type===Og.pop&&Dr(z,rn.NAVIGATION_ABORTED|rn.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),oe(Ie,we,z)}).catch(ql)}))}let Se=Cl(),pe=Cl(),Ce;function be(me,Te,Ae){ot(me);const Ie=pe.list();return Ie.length?Ie.forEach(We=>We(me,Te,Ae)):console.error(me),Promise.reject(me)}function Pe(){return Ce&&d.value!==Ii?Promise.resolve():new Promise((me,Te)=>{Se.add([me,Te])})}function ot(me){return Ce||(Ce=!me,xe(),Se.list().forEach(([Te,Ae])=>me?Ae(me):Te()),Se.reset()),me}function tt(me,Te,Ae,Ie){const{scrollBehavior:We}=e;if(!jr||!We)return Promise.resolve();const we=!Ae&&$$(jE(me.fullPath,0))||(Ie||!Ae)&&history.state&&history.state.scroll||null;return Ci().then(()=>We(me,Te,we)).then(z=>z&&H$(z)).catch(z=>be(z,me,Te))}const Je=me=>s.go(me);let Ct;const bt=new Set,yt={currentRoute:d,listening:!0,addRoute:T,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:P,resolve:R,options:e,push:A,replace:$,go:Je,back:()=>Je(-1),forward:()=>Je(1),beforeEach:o.add,beforeResolve:l.add,afterEach:h.add,onError:pe.add,isReady:Pe,install(me){me.component("RouterLink",Cj),me.component("RouterView",zC),me.config.globalProperties.$router=yt,Object.defineProperty(me.config.globalProperties,"$route",{enumerable:!0,get:()=>An(d)}),jr&&!Ct&&d.value===Ii&&(Ct=!0,A(s.location).catch(Ie=>{}));const Te={};for(const Ie in Ii)Object.defineProperty(Te,Ie,{get:()=>d.value[Ie],enumerable:!0});me.provide(ov,yt),me.provide(av,Qi(Te)),me.provide(Pg,d);const Ae=me.unmount;bt.add(me),me.unmount=function(){bt.delete(me),bt.size<1&&(v=Ii,ce&&ce(),ce=null,d.value=Ii,Ct=!1,Ce=!1),Ae()},jr&&Y$(me,yt,t)}};function xt(me){return me.reduce((Te,Ae)=>Te.then(()=>Y(Ae)),Promise.resolve())}return yt}function XC(e){return vn(av)}const Lj=/(:\w+)\([^)]+\)/g,Rj=/(:\w+)[?+*]/g,Ij=/:\w+/g,Nj=(e,t)=>t.path.replace(Lj,"$1").replace(Rj,"$1").replace(Ij,n=>e.params[n.slice(1)]?.toString()||""),Rg=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),i=t??n?.meta.key??(n&&Nj(e.route,n));return typeof i=="function"?i(e.route):i},Mj=(e,t)=>({default:()=>e?$t(LT,e===!0?{}:e,t):t});function lv(e){return Array.isArray(e)?e:[e]}const Dj="modulepreload",Fj=function(e,t){return new URL(e,t).href},tx={},ft=function(t,n,i){let s=Promise.resolve();if(n&&n.length>0){let v=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(C=>({status:"fulfilled",value:C}),C=>({status:"rejected",reason:C}))))};const l=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),d=h?.nonce||h?.getAttribute("nonce");s=v(n.map(y=>{if(y=Fj(y,i),y in tx)return;tx[y]=!0;const E=y.endsWith(".css"),C=E?'[rel="stylesheet"]':"";if(i)for(let O=l.length-1;O>=0;O--){const P=l[O];if(P.href===y&&(!E||P.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${C}`))return;const T=document.createElement("link");if(T.rel=E?"stylesheet":Dj,E||(T.as="script"),T.crossOrigin="",T.href=y,d&&T.setAttribute("nonce",d),document.head.appendChild(T),E)return new Promise((O,P)=>{T.addEventListener("load",O),T.addEventListener("error",()=>P(new Error(`Unable to preload CSS for ${y}`)))})}))}function o(l){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=l,window.dispatchEvent(h),!h.defaultPrevented)throw l}return s.then(l=>{for(const h of l||[])h.status==="rejected"&&o(h.reason);return t().catch(o)})},Bj={layout:"smalldashboard"},Hj={layout:"login-signup"},Uj={layout:"login-signup"},$j={layout:"login-signup"},jj={layout:"login-signup"},Vj={layout:"login-signup"};function GC(e,t){return function(){return e.apply(t,arguments)}}const{toString:Wj}=Object.prototype,{getPrototypeOf:cv}=Object,{iterator:cd,toStringTag:qC}=Symbol,ud=(e=>t=>{const n=Wj.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ar=e=>(e=e.toLowerCase(),t=>ud(t)===e),hd=e=>t=>typeof t===e,{isArray:Za}=Array,Pa=hd("undefined");function Uc(e){return e!==null&&!Pa(e)&&e.constructor!==null&&!Pa(e.constructor)&&mi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const YC=ar("ArrayBuffer");function zj(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&YC(e.buffer),t}const Xj=hd("string"),mi=hd("function"),KC=hd("number"),$c=e=>e!==null&&typeof e=="object",Gj=e=>e===!0||e===!1,Oh=e=>{if(ud(e)!=="object")return!1;const t=cv(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(qC in e)&&!(cd in e)},qj=e=>{if(!$c(e)||Uc(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Yj=ar("Date"),Kj=ar("File"),Jj=e=>!!(e&&typeof e.uri<"u"),Zj=e=>e&&typeof e.getParts<"u",Qj=ar("Blob"),eV=ar("FileList"),tV=e=>$c(e)&&mi(e.pipe);function nV(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const nx=nV(),ix=typeof nx.FormData<"u"?nx.FormData:void 0,iV=e=>{let t;return e&&(ix&&e instanceof ix||mi(e.append)&&((t=ud(e))==="formdata"||t==="object"&&mi(e.toString)&&e.toString()==="[object FormData]"))},rV=ar("URLSearchParams"),[sV,oV,aV,lV]=["ReadableStream","Request","Response","Headers"].map(ar),cV=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jc(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,s;if(typeof e!="object"&&(e=[e]),Za(e))for(i=0,s=e.length;i<s;i++)t.call(null,e[i],i,e);else{if(Uc(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;let h;for(i=0;i<l;i++)h=o[i],t.call(null,e[h],h,e)}}function JC(e,t){if(Uc(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i=n.length,s;for(;i-- >0;)if(s=n[i],t===s.toLowerCase())return s;return null}const lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ZC=e=>!Pa(e)&&e!==lo;function Ig(){const{caseless:e,skipUndefined:t}=ZC(this)&&this||{},n={},i=(s,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const l=e&&JC(n,o)||o;Oh(n[l])&&Oh(s)?n[l]=Ig(n[l],s):Oh(s)?n[l]=Ig({},s):Za(s)?n[l]=s.slice():(!t||!Pa(s))&&(n[l]=s)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&jc(arguments[s],i);return n}const uV=(e,t,n,{allOwnKeys:i}={})=>(jc(t,(s,o)=>{n&&mi(s)?Object.defineProperty(e,o,{value:GC(s,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),hV=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fV=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},dV=(e,t,n,i)=>{let s,o,l;const h={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)l=s[o],(!i||i(l,e,t))&&!h[l]&&(t[l]=e[l],h[l]=!0);e=n!==!1&&cv(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pV=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},mV=e=>{if(!e)return null;if(Za(e))return e;let t=e.length;if(!KC(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gV=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cv(Uint8Array)),yV=(e,t)=>{const i=(e&&e[cd]).call(e);let s;for(;(s=i.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},vV=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},bV=ar("HTMLFormElement"),_V=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),rx=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),EV=ar("RegExp"),QC=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};jc(n,(s,o)=>{let l;(l=t(s,o,e))!==!1&&(i[o]=l||s)}),Object.defineProperties(e,i)},xV=e=>{QC(e,(t,n)=>{if(mi(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(mi(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},SV=(e,t)=>{const n={},i=s=>{s.forEach(o=>{n[o]=!0})};return Za(e)?i(e):i(String(e).split(t)),n},wV=()=>{},TV=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function CV(e){return!!(e&&mi(e.append)&&e[qC]==="FormData"&&e[cd])}const AV=e=>{const t=new Array(10),n=(i,s)=>{if($c(i)){if(t.indexOf(i)>=0)return;if(Uc(i))return i;if(!("toJSON"in i)){t[s]=i;const o=Za(i)?[]:{};return jc(i,(l,h)=>{const d=n(l,s+1);!Pa(d)&&(o[h]=d)}),t[s]=void 0,o}}return i};return n(e,0)},OV=ar("AsyncFunction"),kV=e=>e&&($c(e)||mi(e))&&mi(e.then)&&mi(e.catch),eA=((e,t)=>e?setImmediate:t?((n,i)=>(lo.addEventListener("message",({source:s,data:o})=>{s===lo&&o===n&&i.length&&i.shift()()},!1),s=>{i.push(s),lo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",mi(lo.postMessage)),PV=typeof queueMicrotask<"u"?queueMicrotask.bind(lo):typeof process<"u"&&process.nextTick||eA,LV=e=>e!=null&&mi(e[cd]),ue={isArray:Za,isArrayBuffer:YC,isBuffer:Uc,isFormData:iV,isArrayBufferView:zj,isString:Xj,isNumber:KC,isBoolean:Gj,isObject:$c,isPlainObject:Oh,isEmptyObject:qj,isReadableStream:sV,isRequest:oV,isResponse:aV,isHeaders:lV,isUndefined:Pa,isDate:Yj,isFile:Kj,isReactNativeBlob:Jj,isReactNative:Zj,isBlob:Qj,isRegExp:EV,isFunction:mi,isStream:tV,isURLSearchParams:rV,isTypedArray:gV,isFileList:eV,forEach:jc,merge:Ig,extend:uV,trim:cV,stripBOM:hV,inherits:fV,toFlatObject:dV,kindOf:ud,kindOfTest:ar,endsWith:pV,toArray:mV,forEachEntry:yV,matchAll:vV,isHTMLForm:bV,hasOwnProperty:rx,hasOwnProp:rx,reduceDescriptors:QC,freezeMethods:xV,toObjectSet:SV,toCamelCase:_V,noop:wV,toFiniteNumber:TV,findKey:JC,global:lo,isContextDefined:ZC,isSpecCompliantForm:CV,toJSONObject:AV,isAsyncFn:OV,isThenable:kV,setImmediate:eA,asap:PV,isIterable:LV};let Ye=class tA extends Error{static from(t,n,i,s,o,l){const h=new tA(t.message,n||t.code,i,s,o);return h.cause=t,h.name=t.name,t.status!=null&&h.status==null&&(h.status=t.status),l&&Object.assign(h,l),h}constructor(t,n,i,s,o){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),s&&(this.request=s),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ue.toJSONObject(this.config),code:this.code,status:this.status}}};Ye.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ye.ERR_BAD_OPTION="ERR_BAD_OPTION";Ye.ECONNABORTED="ECONNABORTED";Ye.ETIMEDOUT="ETIMEDOUT";Ye.ERR_NETWORK="ERR_NETWORK";Ye.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ye.ERR_DEPRECATED="ERR_DEPRECATED";Ye.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ye.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ye.ERR_CANCELED="ERR_CANCELED";Ye.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ye.ERR_INVALID_URL="ERR_INVALID_URL";const RV=null;function Ng(e){return ue.isPlainObject(e)||ue.isArray(e)}function nA(e){return ue.endsWith(e,"[]")?e.slice(0,-2):e}function Em(e,t,n){return e?e.concat(t).map(function(s,o){return s=nA(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function IV(e){return ue.isArray(e)&&!e.some(Ng)}const NV=ue.toFlatObject(ue,{},null,function(t){return/^is[A-Z]/.test(t)});function fd(e,t,n){if(!ue.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ue.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,I){return!ue.isUndefined(I[P])});const i=n.metaTokens,s=n.visitor||y,o=n.dots,l=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&ue.isSpecCompliantForm(t);if(!ue.isFunction(s))throw new TypeError("visitor must be a function");function v(O){if(O===null)return"";if(ue.isDate(O))return O.toISOString();if(ue.isBoolean(O))return O.toString();if(!d&&ue.isBlob(O))throw new Ye("Blob is not supported. Use a Buffer instead.");return ue.isArrayBuffer(O)||ue.isTypedArray(O)?d&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function y(O,P,I){let R=O;if(ue.isReactNative(t)&&ue.isReactNativeBlob(O))return t.append(Em(I,P,o),v(O)),!1;if(O&&!I&&typeof O=="object"){if(ue.endsWith(P,"{}"))P=i?P:P.slice(0,-2),O=JSON.stringify(O);else if(ue.isArray(O)&&IV(O)||(ue.isFileList(O)||ue.endsWith(P,"[]"))&&(R=ue.toArray(O)))return P=nA(P),R.forEach(function(F,A){!(ue.isUndefined(F)||F===null)&&t.append(l===!0?Em([P],A,o):l===null?P:P+"[]",v(F))}),!1}return Ng(O)?!0:(t.append(Em(I,P,o),v(O)),!1)}const E=[],C=Object.assign(NV,{defaultVisitor:y,convertValue:v,isVisitable:Ng});function T(O,P){if(!ue.isUndefined(O)){if(E.indexOf(O)!==-1)throw Error("Circular reference detected in "+P.join("."));E.push(O),ue.forEach(O,function(R,D){(!(ue.isUndefined(R)||R===null)&&s.call(t,R,ue.isString(D)?D.trim():D,P,C))===!0&&T(R,P?P.concat(D):[D])}),E.pop()}}if(!ue.isObject(e))throw new TypeError("data must be an object");return T(e),t}function sx(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function uv(e,t){this._pairs=[],e&&fd(e,this,t)}const iA=uv.prototype;iA.append=function(t,n){this._pairs.push([t,n])};iA.toString=function(t){const n=t?function(i){return t.call(this,i,sx)}:sx;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function MV(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function rA(e,t,n){if(!t)return e;const i=n&&n.encode||MV,s=ue.isFunction(n)?{serialize:n}:n,o=s&&s.serialize;let l;if(o?l=o(t,s):l=ue.isURLSearchParams(t)?t.toString():new uv(t,s).toString(i),l){const h=e.indexOf("#");h!==-1&&(e=e.slice(0,h)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ox{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ue.forEach(this.handlers,function(i){i!==null&&t(i)})}}const hv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},DV=typeof URLSearchParams<"u"?URLSearchParams:uv,FV=typeof FormData<"u"?FormData:null,BV=typeof Blob<"u"?Blob:null,HV={isBrowser:!0,classes:{URLSearchParams:DV,FormData:FV,Blob:BV},protocols:["http","https","file","blob","url","data"]},fv=typeof window<"u"&&typeof document<"u",Mg=typeof navigator=="object"&&navigator||void 0,UV=fv&&(!Mg||["ReactNative","NativeScript","NS"].indexOf(Mg.product)<0),$V=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jV=fv&&window.location.href||"http://localhost",VV=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fv,hasStandardBrowserEnv:UV,hasStandardBrowserWebWorkerEnv:$V,navigator:Mg,origin:jV},Symbol.toStringTag,{value:"Module"})),Yn={...VV,...HV};function WV(e,t){return fd(e,new Yn.classes.URLSearchParams,{visitor:function(n,i,s,o){return Yn.isNode&&ue.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function zV(e){return ue.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function XV(e){const t={},n=Object.keys(e);let i;const s=n.length;let o;for(i=0;i<s;i++)o=n[i],t[o]=e[o];return t}function sA(e){function t(n,i,s,o){let l=n[o++];if(l==="__proto__")return!0;const h=Number.isFinite(+l),d=o>=n.length;return l=!l&&ue.isArray(s)?s.length:l,d?(ue.hasOwnProp(s,l)?s[l]=[s[l],i]:s[l]=i,!h):((!s[l]||!ue.isObject(s[l]))&&(s[l]=[]),t(n,i,s[l],o)&&ue.isArray(s[l])&&(s[l]=XV(s[l])),!h)}if(ue.isFormData(e)&&ue.isFunction(e.entries)){const n={};return ue.forEachEntry(e,(i,s)=>{t(zV(i),s,n,0)}),n}return null}function GV(e,t,n){if(ue.isString(e))try{return(t||JSON.parse)(e),ue.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Vc={transitional:hv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",s=i.indexOf("application/json")>-1,o=ue.isObject(t);if(o&&ue.isHTMLForm(t)&&(t=new FormData(t)),ue.isFormData(t))return s?JSON.stringify(sA(t)):t;if(ue.isArrayBuffer(t)||ue.isBuffer(t)||ue.isStream(t)||ue.isFile(t)||ue.isBlob(t)||ue.isReadableStream(t))return t;if(ue.isArrayBufferView(t))return t.buffer;if(ue.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return WV(t,this.formSerializer).toString();if((h=ue.isFileList(t))||i.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return fd(h?{"files[]":t}:t,d&&new d,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),GV(t)):t}],transformResponse:[function(t){const n=this.transitional||Vc.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(ue.isResponse(t)||ue.isReadableStream(t))return t;if(t&&ue.isString(t)&&(i&&!this.responseType||s)){const l=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(h){if(l)throw h.name==="SyntaxError"?Ye.from(h,Ye.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yn.classes.FormData,Blob:Yn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ue.forEach(["delete","get","head","post","put","patch"],e=>{Vc.headers[e]={}});const qV=ue.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),YV=e=>{const t={};let n,i,s;return e&&e.split(` `).forEach(function(l){s=l.indexOf(":"),n=l.substring(0,s).trim().toLowerCase(),i=l.substring(s+1).trim(),!(!n||t[n]&&qV[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},ax=Symbol("internals"),KV=e=>!/[\r\n]/.test(e);function oA(e,t){if(!(e===!1||e==null)){if(ue.isArray(e)){e.forEach(n=>oA(n,t));return}if(!KV(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}}function Ol(e){return e&&String(e).trim().toLowerCase()}function JV(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(n!==10&&n!==13)break;t-=1}return t===e.length?e:e.slice(0,t)}function kh(e){return e===!1||e==null?e:ue.isArray(e)?e.map(kh):JV(String(e))}function ZV(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const QV=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function xm(e,t,n,i,s){if(ue.isFunction(i))return i.call(this,t,n);if(s&&(t=n),!!ue.isString(t)){if(ue.isString(i))return t.indexOf(i)!==-1;if(ue.isRegExp(i))return i.test(t)}}function e3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function t3(e,t){const n=ue.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(s,o,l){return this[i].call(this,t,s,o,l)},configurable:!0})})}let gi=class{constructor(t){t&&this.set(t)}set(t,n,i){const s=this;function o(h,d,v){const y=Ol(d);if(!y)throw new Error("header name must be a non-empty string");const E=ue.findKey(s,y);(!E||s[E]===void 0||v===!0||v===void 0&&s[E]!==!1)&&(oA(h,d),s[E||d]=kh(h))}const l=(h,d)=>ue.forEach(h,(v,y)=>o(v,y,d));if(ue.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(ue.isString(t)&&(t=t.trim())&&!QV(t))l(YV(t),n);else if(ue.isObject(t)&&ue.isIterable(t)){let h={},d,v;for(const y of t){if(!ue.isArray(y))throw TypeError("Object iterator must return a key-value pair");h[v=y[0]]=(d=h[v])?ue.isArray(d)?[...d,y[1]]:[d,y[1]]:y[1]}l(h,n)}else t!=null&&o(n,t,i);return this}get(t,n){if(t=Ol(t),t){const i=ue.findKey(this,t);if(i){const s=this[i];if(!n)return s;if(n===!0)return ZV(s);if(ue.isFunction(n))return n.call(this,s,i);if(ue.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ol(t),t){const i=ue.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||xm(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let s=!1;function o(l){if(l=Ol(l),l){const h=ue.findKey(i,l);h&&(!n||xm(i,i[h],h,n))&&(delete i[h],s=!0)}}return ue.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const o=n[i];(!t||xm(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,i={};return ue.forEach(this,(s,o)=>{const l=ue.findKey(i,o);if(l){n[l]=kh(s),delete n[o];return}const h=t?e3(o):String(o).trim();h!==o&&delete n[o],n[h]=kh(s),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ue.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=t&&ue.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(s=>i.set(s)),i}static accessor(t){const i=(this[ax]=this[ax]={accessors:{}}).accessors,s=this.prototype;function o(l){const h=Ol(l);i[h]||(t3(s,l),i[h]=!0)}return ue.isArray(t)?t.forEach(o):o(t),this}};gi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ue.reduceDescriptors(gi.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});ue.freezeMethods(gi);function Sm(e,t){const n=this||Vc,i=t||n,s=gi.from(i.headers);let o=i.data;return ue.forEach(e,function(h){o=h.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function aA(e){return!!(e&&e.__CANCEL__)}let Wc=class extends Ye{constructor(t,n,i){super(t??"canceled",Ye.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function lA(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new Ye("Request failed with status code "+n.status,[Ye.ERR_BAD_REQUEST,Ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function n3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function i3(e,t){e=e||10;const n=new Array(e),i=new Array(e);let s=0,o=0,l;return t=t!==void 0?t:1e3,function(d){const v=Date.now(),y=i[o];l||(l=v),n[s]=d,i[s]=v;let E=o,C=0;for(;E!==s;)C+=n[E++],E=E%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),v-l<t)return;const T=y&&v-y;return T?Math.round(C*1e3/T):void 0}}function r3(e,t){let n=0,i=1e3/t,s,o;const l=(v,y=Date.now())=>{n=y,s=null,o&&(clearTimeout(o),o=null),e(...v)};return[(...v)=>{const y=Date.now(),E=y-n;E>=i?l(v,y):(s=v,o||(o=setTimeout(()=>{o=null,l(s)},i-E)))},()=>s&&l(s)]}const yf=(e,t,n=3)=>{let i=0;const s=i3(50,250);return r3(o=>{const l=o.loaded,h=o.lengthComputable?o.total:void 0,d=l-i,v=s(d),y=l<=h;i=l;const E={loaded:l,total:h,progress:h?l/h:void 0,bytes:d,rate:v||void 0,estimated:v&&h&&y?(h-l)/v:void 0,event:o,lengthComputable:h!=null,[t?"download":"upload"]:!0};e(E)},n)},lx=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},cx=e=>(...t)=>ue.asap(()=>e(...t)),s3=Yn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Yn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Yn.origin),Yn.navigator&&/(msie|trident)/i.test(Yn.navigator.userAgent)):()=>!0,o3=Yn.hasStandardBrowserEnv?{write(e,t,n,i,s,o,l){if(typeof document>"u")return;const h=[`${e}=${encodeURIComponent(t)}`];ue.isNumber(n)&&h.push(`expires=${new Date(n).toUTCString()}`),ue.isString(i)&&h.push(`path=${i}`),ue.isString(s)&&h.push(`domain=${s}`),o===!0&&h.push("secure"),ue.isString(l)&&h.push(`SameSite=${l}`),document.cookie=h.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function a3(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function l3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function cA(e,t,n){let i=!a3(t);return e&&(i||n==!1)?l3(e,t):t}const ux=e=>e instanceof gi?{...e}:e;function Ao(e,t){t=t||{};const n={};function i(v,y,E,C){return ue.isPlainObject(v)&&ue.isPlainObject(y)?ue.merge.call({caseless:C},v,y):ue.isPlainObject(y)?ue.merge({},y):ue.isArray(y)?y.slice():y}function s(v,y,E,C){if(ue.isUndefined(y)){if(!ue.isUndefined(v))return i(void 0,v,E,C)}else return i(v,y,E,C)}function o(v,y){if(!ue.isUndefined(y))return i(void 0,y)}function l(v,y){if(ue.isUndefined(y)){if(!ue.isUndefined(v))return i(void 0,v)}else return i(void 0,y)}function h(v,y,E){if(E in t)return i(v,y);if(E in e)return i(void 0,v)}const d={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:h,headers:(v,y,E)=>s(ux(v),ux(y),E,!0)};return ue.forEach(Object.keys({...e,...t}),function(y){if(y==="__proto__"||y==="constructor"||y==="prototype")return;const E=ue.hasOwnProp(d,y)?d[y]:s,C=E(e[y],t[y],y);ue.isUndefined(C)&&E!==h||(n[y]=C)}),n}const uA=e=>{const t=Ao({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:o,headers:l,auth:h}=t;if(t.headers=l=gi.from(l),t.url=rA(cA(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&l.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),ue.isFormData(n)){if(Yn.hasStandardBrowserEnv||Yn.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(ue.isFunction(n.getHeaders)){const d=n.getHeaders(),v=["content-type","content-length"];Object.entries(d).forEach(([y,E])=>{v.includes(y.toLowerCase())&&l.set(y,E)})}}if(Yn.hasStandardBrowserEnv&&(i&&ue.isFunction(i)&&(i=i(t)),i||i!==!1&&s3(t.url))){const d=s&&o&&o3.read(o);d&&l.set(s,d)}return t},c3=typeof XMLHttpRequest<"u",u3=c3&&function(e){return new Promise(function(n,i){const s=uA(e);let o=s.data;const l=gi.from(s.headers).normalize();let{responseType:h,onUploadProgress:d,onDownloadProgress:v}=s,y,E,C,T,O;function P(){T&&T(),O&&O(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let I=new XMLHttpRequest;I.open(s.method.toUpperCase(),s.url,!0),I.timeout=s.timeout;function R(){if(!I)return;const F=gi.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),$={data:!h||h==="text"||h==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:F,config:e,request:I};lA(function(N){n(N),P()},function(N){i(N),P()},$),I=null}"onloadend"in I?I.onloadend=R:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(R)},I.onabort=function(){I&&(i(new Ye("Request aborted",Ye.ECONNABORTED,e,I)),I=null)},I.onerror=function(A){const $=A&&A.message?A.message:"Network Error",U=new Ye($,Ye.ERR_NETWORK,e,I);U.event=A||null,i(U),I=null},I.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const $=s.transitional||hv;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),i(new Ye(A,$.clarifyTimeoutError?Ye.ETIMEDOUT:Ye.ECONNABORTED,e,I)),I=null},o===void 0&&l.setContentType(null),"setRequestHeader"in I&&ue.forEach(l.toJSON(),function(A,$){I.setRequestHeader($,A)}),ue.isUndefined(s.withCredentials)||(I.withCredentials=!!s.withCredentials),h&&h!=="json"&&(I.responseType=s.responseType),v&&([C,O]=yf(v,!0),I.addEventListener("progress",C)),d&&I.upload&&([E,T]=yf(d),I.upload.addEventListener("progress",E),I.upload.addEventListener("loadend",T)),(s.cancelToken||s.signal)&&(y=F=>{I&&(i(!F||F.type?new Wc(null,e,I):F),I.abort(),I=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const D=n3(s.url);if(D&&Yn.protocols.indexOf(D)===-1){i(new Ye("Unsupported protocol "+D+":",Ye.ERR_BAD_REQUEST,e));return}I.send(o||null)})},h3=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let i=new AbortController,s;const o=function(v){if(!s){s=!0,h();const y=v instanceof Error?v:this.reason;i.abort(y instanceof Ye?y:new Wc(y instanceof Error?y.message:y))}};let l=t&&setTimeout(()=>{l=null,o(new Ye(`timeout of ${t}ms exceeded`,Ye.ETIMEDOUT))},t);const h=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(v=>{v.unsubscribe?v.unsubscribe(o):v.removeEventListener("abort",o)}),e=null)};e.forEach(v=>v.addEventListener("abort",o));const{signal:d}=i;return d.unsubscribe=()=>ue.asap(h),d}},f3=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,s;for(;i<n;)s=i+t,yield e.slice(i,s),i=s},d3=async function*(e,t){for await(const n of p3(e))yield*f3(n,t)},p3=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},hx=(e,t,n,i)=>{const s=d3(e,t);let o=0,l,h=d=>{l||(l=!0,i&&i(d))};return new ReadableStream({async pull(d){try{const{done:v,value:y}=await s.next();if(v){h(),d.close();return}let E=y.byteLength;if(n){let C=o+=E;n(C)}d.enqueue(new Uint8Array(y))}catch(v){throw h(v),v}},cancel(d){return h(d),s.return()}},{highWaterMark:2})},fx=64*1024,{isFunction:oh}=ue,m3=(({Request:e,Response:t})=>({Request:e,Response:t}))(ue.global),{ReadableStream:dx,TextEncoder:px}=ue.global,mx=(e,...t)=>{try{return!!e(...t)}catch{return!1}},g3=e=>{e=ue.merge.call({skipUndefined:!0},m3,e);const{fetch:t,Request:n,Response:i}=e,s=t?oh(t):typeof fetch=="function",o=oh(n),l=oh(i);if(!s)return!1;const h=s&&oh(dx),d=s&&(typeof px=="function"?(O=>P=>O.encode(P))(new px):async O=>new Uint8Array(await new n(O).arrayBuffer())),v=o&&h&&mx(()=>{let O=!1;const P=new dx,I=new n(Yn.origin,{body:P,method:"POST",get duplex(){return O=!0,"half"}}).headers.has("Content-Type");return P.cancel(),O&&!I}),y=l&&h&&mx(()=>ue.isReadableStream(new i("").body)),E={stream:y&&(O=>O.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!E[O]&&(E[O]=(P,I)=>{let R=P&&P[O];if(R)return R.call(P);throw new Ye(`Response type '${O}' is not supported`,Ye.ERR_NOT_SUPPORT,I)})});const C=async O=>{if(O==null)return 0;if(ue.isBlob(O))return O.size;if(ue.isSpecCompliantForm(O))return(await new n(Yn.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(ue.isArrayBufferView(O)||ue.isArrayBuffer(O))return O.byteLength;if(ue.isURLSearchParams(O)&&(O=O+""),ue.isString(O))return(await d(O)).byteLength},T=async(O,P)=>{const I=ue.toFiniteNumber(O.getContentLength());return I??C(P)};return async O=>{let{url:P,method:I,data:R,signal:D,cancelToken:F,timeout:A,onDownloadProgress:$,onUploadProgress:U,responseType:N,headers:J,withCredentials:Y="same-origin",fetchOptions:K}=uA(O),oe=t||fetch;N=N?(N+"").toLowerCase():"text";let q=h3([D,F&&F.toAbortSignal()],A),ce=null;const xe=q&&q.unsubscribe&&(()=>{q.unsubscribe()});let Se;try{if(U&&v&&I!=="get"&&I!=="head"&&(Se=await T(J,R))!==0){let tt=new n(P,{method:"POST",body:R,duplex:"half"}),Je;if(ue.isFormData(R)&&(Je=tt.headers.get("content-type"))&&J.setContentType(Je),tt.body){const[Ct,bt]=lx(Se,yf(cx(U)));R=hx(tt.body,fx,Ct,bt)}}ue.isString(Y)||(Y=Y?"include":"omit");const pe=o&&"credentials"in n.prototype,Ce={...K,signal:q,method:I.toUpperCase(),headers:J.normalize().toJSON(),body:R,duplex:"half",credentials:pe?Y:void 0};ce=o&&new n(P,Ce);let be=await(o?oe(ce,K):oe(P,Ce));const Pe=y&&(N==="stream"||N==="response");if(y&&($||Pe&&xe)){const tt={};["status","statusText","headers"].forEach(yt=>{tt[yt]=be[yt]});const Je=ue.toFiniteNumber(be.headers.get("content-length")),[Ct,bt]=$&&lx(Je,yf(cx($),!0))||[];be=new i(hx(be.body,fx,Ct,()=>{bt&&bt(),xe&&xe()}),tt)}N=N||"text";let ot=await E[ue.findKey(E,N)||"text"](be,O);return!Pe&&xe&&xe(),await new Promise((tt,Je)=>{lA(tt,Je,{data:ot,headers:gi.from(be.headers),status:be.status,statusText:be.statusText,config:O,request:ce})})}catch(pe){throw xe&&xe(),pe&&pe.name==="TypeError"&&/Load failed|fetch/i.test(pe.message)?Object.assign(new Ye("Network Error",Ye.ERR_NETWORK,O,ce,pe&&pe.response),{cause:pe.cause||pe}):Ye.from(pe,pe&&pe.code,O,ce,pe&&pe.response)}}},y3=new Map,hA=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:s}=t,o=[i,s,n];let l=o.length,h=l,d,v,y=y3;for(;h--;)d=o[h],v=y.get(d),v===void 0&&y.set(d,v=h?new Map:g3(t)),y=v;return v};hA();const dv={http:RV,xhr:u3,fetch:{get:hA}};ue.forEach(dv,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const gx=e=>`- ${e}`,v3=e=>ue.isFunction(e)||e===null||e===!1;function b3(e,t){e=ue.isArray(e)?e:[e];const{length:n}=e;let i,s;const o={};for(let l=0;l<n;l++){i=e[l];let h;if(s=i,!v3(i)&&(s=dv[(h=String(i)).toLowerCase()],s===void 0))throw new Ye(`Unknown adapter '${h}'`);if(s&&(ue.isFunction(s)||(s=s.get(t))))break;o[h||"#"+l]=s}if(!s){const l=Object.entries(o).map(([d,v])=>`adapter ${d} `+(v===!1?"is not supported by the environment":"is not available in the build"));let h=n?l.length>1?`since : `+l.map(gx).join(` `):" "+gx(l[0]):"as no adapter specified";throw new Ye("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return s}const fA={getAdapter:b3,adapters:dv};function wm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wc(null,e)}function yx(e){return wm(e),e.headers=gi.from(e.headers),e.data=Sm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),fA.getAdapter(e.adapter||Vc.adapter,e)(e).then(function(i){return wm(e),i.data=Sm.call(e,e.transformResponse,i),i.headers=gi.from(i.headers),i},function(i){return aA(i)||(wm(e),i&&i.response&&(i.response.data=Sm.call(e,e.transformResponse,i.response),i.response.headers=gi.from(i.response.headers))),Promise.reject(i)})}const dA="1.15.0",dd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{dd[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const vx={};dd.transitional=function(t,n,i){function s(o,l){return"[Axios v"+dA+"] Transitional option '"+o+"'"+l+(i?". "+i:"")}return(o,l,h)=>{if(t===!1)throw new Ye(s(l," has been removed"+(n?" in "+n:"")),Ye.ERR_DEPRECATED);return n&&!vx[l]&&(vx[l]=!0,console.warn(s(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,l,h):!0}};dd.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function _3(e,t,n){if(typeof e!="object")throw new Ye("options must be an object",Ye.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const o=i[s],l=t[o];if(l){const h=e[o],d=h===void 0||l(h,o,e);if(d!==!0)throw new Ye("option "+o+" must be "+d,Ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ye("Unknown option "+o,Ye.ERR_BAD_OPTION)}}const Ph={assertOptions:_3,validators:dd},Ri=Ph.validators;let bo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ox,response:new ox}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=(()=>{if(!s.stack)return"";const l=s.stack.indexOf(` `);return l===-1?"":s.stack.slice(l+1)})();try{if(!i.stack)i.stack=o;else if(o){const l=o.indexOf(` `),h=l===-1?-1:o.indexOf(` `,l+1),d=h===-1?"":o.slice(h+1);String(i.stack).endsWith(d)||(i.stack+=` `+o)}}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ao(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:o}=n;i!==void 0&&Ph.assertOptions(i,{silentJSONParsing:Ri.transitional(Ri.boolean),forcedJSONParsing:Ri.transitional(Ri.boolean),clarifyTimeoutError:Ri.transitional(Ri.boolean),legacyInterceptorReqResOrdering:Ri.transitional(Ri.boolean)},!1),s!=null&&(ue.isFunction(s)?n.paramsSerializer={serialize:s}:Ph.assertOptions(s,{encode:Ri.function,serialize:Ri.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ph.assertOptions(n,{baseUrl:Ri.spelling("baseURL"),withXsrfToken:Ri.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=o&&ue.merge(o.common,o[n.method]);o&&ue.forEach(["delete","get","head","post","put","patch","common"],O=>{delete o[O]}),n.headers=gi.concat(l,o);const h=[];let d=!0;this.interceptors.request.forEach(function(P){if(typeof P.runWhen=="function"&&P.runWhen(n)===!1)return;d=d&&P.synchronous;const I=n.transitional||hv;I&&I.legacyInterceptorReqResOrdering?h.unshift(P.fulfilled,P.rejected):h.push(P.fulfilled,P.rejected)});const v=[];this.interceptors.response.forEach(function(P){v.push(P.fulfilled,P.rejected)});let y,E=0,C;if(!d){const O=[yx.bind(this),void 0];for(O.unshift(...h),O.push(...v),C=O.length,y=Promise.resolve(n);E<C;)y=y.then(O[E++],O[E++]);return y}C=h.length;let T=n;for(;E<C;){const O=h[E++],P=h[E++];try{T=O(T)}catch(I){P.call(this,I);break}}try{y=yx.call(this,T)}catch(O){return Promise.reject(O)}for(E=0,C=v.length;E<C;)y=y.then(v[E++],v[E++]);return y}getUri(t){t=Ao(this.defaults,t);const n=cA(t.baseURL,t.url,t.allowAbsoluteUrls);return rA(n,t.params,t.paramsSerializer)}};ue.forEach(["delete","get","head","options"],function(t){bo.prototype[t]=function(n,i){return this.request(Ao(i||{},{method:t,url:n,data:(i||{}).data}))}});ue.forEach(["post","put","patch"],function(t){function n(i){return function(o,l,h){return this.request(Ao(h||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:l}))}}bo.prototype[t]=n(),bo.prototype[t+"Form"]=n(!0)});let E3=class pA{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const i=this;this.promise.then(s=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](s);i._listeners=null}),this.promise.then=s=>{let o;const l=new Promise(h=>{i.subscribe(h),o=h}).then(s);return l.cancel=function(){i.unsubscribe(o)},l},t(function(o,l,h){i.reason||(i.reason=new Wc(o,l,h),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new pA(function(s){t=s}),cancel:t}}};function x3(e){return function(n){return e.apply(null,n)}}function S3(e){return ue.isObject(e)&&e.isAxiosError===!0}const Dg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dg).forEach(([e,t])=>{Dg[t]=e});function mA(e){const t=new bo(e),n=GC(bo.prototype.request,t);return ue.extend(n,bo.prototype,t,{allOwnKeys:!0}),ue.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return mA(Ao(e,s))},n}const hn=mA(Vc);hn.Axios=bo;hn.CanceledError=Wc;hn.CancelToken=E3;hn.isCancel=aA;hn.VERSION=dA;hn.toFormData=fd;hn.AxiosError=Ye;hn.Cancel=hn.CanceledError;hn.all=function(t){return Promise.all(t)};hn.spread=x3;hn.isAxiosError=S3;hn.mergeConfig=Ao;hn.AxiosHeaders=gi;hn.formToJSON=e=>sA(ue.isHTMLForm(e)?new FormData(e):e);hn.getAdapter=fA.getAdapter;hn.HttpStatusCode=Dg;hn.default=hn;const{Axios:LY,AxiosError:RY,CanceledError:IY,isCancel:NY,CancelToken:MY,VERSION:DY,all:FY,Cancel:BY,isAxiosError:HY,spread:UY,toFormData:$Y,AxiosHeaders:jY,HttpStatusCode:VY,formToJSON:WY,getAdapter:zY,mergeConfig:XY}=hn,Nn={SIGNIN:"/signin",SIGNIN_WHM:"/user/signin",SIGNUP:"/user/signup",SET_PASSWORD:"/user/set-password",SET_PASSWORD_OTP:"/user/complete-otp-registration",INIT_PASSWORD_RESET:"/user/init-password-reset",PASSWORD_RESET:"/user/password-reset",PASSWORD_RESET_OTP:"/user/password-reset-otp",SSO_GOOGLE:"/connect/google",SSO_MICROSOFT:"/connect/microsoft",PROFILE:"/profile",PROFILE_WHM:"/user/profile",RESEND_VERIFICATION:"/user/resend-verification",RESEND_CODE:"/user/resend-otp-verification",VERIFY_EMAIL:"/user/verify-email",VERIFY_CODE:"/user/verify-otp-email",CNAME_URL:"https://auth.stage.koalityengine.com/v1/application/whitelabel/config/cname/"};function bx(e){return typeof e=="string"?`'${e}'`:new w3().serialize(e)}const w3=(function(){class e{#e=new Map;compare(n,i){const s=typeof n,o=typeof i;return s==="string"&&o==="string"?n.localeCompare(i):s==="number"&&o==="number"?n-i:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(i,!0))}serialize(n,i){if(n===null)return"null";switch(typeof n){case"string":return i?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const i=Object.prototype.toString.call(n);if(i!=="[object Object]")return this.serializeBuiltInType(i.length<10?`unknown:${i}`:i.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const l=n.toJSON();return o+(l!==null&&typeof l=="object"?this.$object(l):`(${this.serialize(l)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,i){const s=this["$"+n];if(s)return s.call(this,i);if(typeof i?.entries=="function")return this.serializeObjectEntries(n,i.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,i){const s=Array.from(i).sort((l,h)=>this.compare(l[0],h[0]));let o=`${n}{`;for(let l=0;l<s.length;l++){const[h,d]=s[l];o+=`${this.serialize(h,!0)}:${this.serialize(d)}`,l<s.length-1&&(o+=",")}return o+"}"}$object(n){let i=this.#e.get(n);return i===void 0&&(this.#e.set(n,`#${this.#e.size}`),i=this.serializeObject(n),this.#e.set(n,i)),i}$function(n){const i=Function.prototype.toString.call(n);return i.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${i.replace(/\s*\n\s*/g,"")}`}$Array(n){let i="[";for(let s=0;s<n.length;s++)i+=this.serialize(n[s]),s<n.length-1&&(i+=",");return i+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((i,s)=>this.compare(i,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function T3(e,t){return e===t||bx(e)===bx(t)}const gA=(e,t)=>({default:()=>e?$t(b1,e===!0?{}:e,t):t.default?.()}),C3=/(:\w+)\([^)]+\)/g,A3=/(:\w+)[?+*]/g,O3=/:\w+/g;function _x(e){const t=e?.meta.key??e.path.replace(C3,"$1").replace(A3,"$1").replace(O3,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function k3(e,t){return e===t||t===Ii?!1:_x(e)!==_x(t)?!0:!e.matched.every((i,s)=>i.components&&i.components.default===t.matched[s]?.components?.default)}const Ex=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),GY=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),yA=e=>{const t=ct();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ex(()=>e())}):Ex(()=>e())},P3="$s";function vA(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,i]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(i!==void 0&&typeof i!="function")throw new Error("[nuxt] [useState] init must be a function: "+i);const s=P3+n,o=ct(),l=Sy(o.payload.state,s);if(l.value===void 0&&i){const h=i();if(mt(h))return o.payload.state[s]=h,h;l.value=h}return l}function L3(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},i=t||{},s=i.decode||R3;let o=0;for(;o<e.length;){const l=e.indexOf("=",o);if(l===-1)break;let h=e.indexOf(";",o);if(h===-1)h=e.length;else if(h<l){o=e.lastIndexOf(";",l-1)+1;continue}const d=e.slice(o,l).trim();if(i?.filter&&!i?.filter(d)){o=h+1;continue}if(n[d]===void 0){let v=e.slice(l+1,h).trim();v.codePointAt(0)===34&&(v=v.slice(1,-1)),n[d]=I3(v,s)}o=h+1}return n}function R3(e){return e.includes("%")?decodeURIComponent(e):e}function I3(e,t){try{return t(e)}catch{return e}}const ah=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function xx(e,t,n){const i=n||{},s=i.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!ah.test(e))throw new TypeError("argument name is invalid");const o=s(t);if(o&&!ah.test(o))throw new TypeError("argument val is invalid");let l=e+"="+o;if(i.maxAge!==void 0&&i.maxAge!==null){const h=i.maxAge-0;if(Number.isNaN(h)||!Number.isFinite(h))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(h)}if(i.domain){if(!ah.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!ah.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if(!N3(i.expires)||Number.isNaN(i.expires.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():i.priority){case"low":{l+="; Priority=Low";break}case"medium":{l+="; Priority=Medium";break}case"high":{l+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(i.sameSite)switch(typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite){case!0:{l+="; SameSite=Strict";break}case"lax":{l+="; SameSite=Lax";break}case"strict":{l+="; SameSite=Strict";break}case"none":{l+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(l+="; Partitioned"),l}function N3(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Yi(e){if(typeof e!="object")return e;var t,n,i=Object.prototype.toString.call(e);if(i==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Yi(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Yi(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Yi(e[t])}return n}if(i==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Yi(e[t]);return n}return i==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Yi(s))}),n):i==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(Yi(o),Yi(s))}),n):i==="[object Date]"?new Date(+e):i==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):i==="[object DataView]"?new e.constructor(Yi(e.buffer)):i==="[object ArrayBuffer]"?e.slice(0):i.slice(-6)==="Array]"?new e.constructor(e):e}const M3={path:"/",watch:!0,decode:e=>{const t=decodeURIComponent(e),n=uc(t);return typeof n=="number"&&(!Number.isFinite(n)||String(n)!==t)?t:n},encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},lh=globalThis.cookieStore;function Yl(e,t){const n={...M3,...t};n.filter??=v=>v===e;const i=Sx(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,l=o||i[e]===void 0||i[e]===null,h=Yi(o?void 0:i[e]??n.default?.()),d=s&&!o?B3(h,s,n.watch&&n.watch!=="shallow"):gt(h);{let v=null;try{!lh&&typeof BroadcastChannel<"u"&&(v=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const y=(O=!1)=>{!O&&(n.readonly||T3(d.value,i[e]))||(F3(e,d.value,n),i[e]=Yi(d.value),v?.postMessage({value:n.encode(d.value)}))},E=O=>{const P=O.refresh?Sx(n)?.[e]:n.decode(O.value);C=!0,d.value=P,i[e]=Yi(P),Ci(()=>{C=!1})};let C=!1;const T=!!qa();if(T&&ec(()=>{C=!0,y(),v?.close()}),lh){const O=P=>{const I=P.changed.find(D=>D.name===e),R=P.deleted.find(D=>D.name===e);I&&E({value:I.value}),R&&E({value:null})};lh.addEventListener("change",O),T&&ec(()=>lh.removeEventListener("change",O))}else v&&(v.onmessage=({data:O})=>E(O));n.watch&&an(d,()=>{C||y()},{deep:n.watch!=="shallow"}),l&&y(l)}return d}function Sx(e={}){return L3(document.cookie,e)}function D3(e,t,n={}){return t==null?xx(e,t,{...n,maxAge:-1}):xx(e,t,n)}function F3(e,t,n={}){document.cookie=D3(e,t,n)}const wx=2147483647;function B3(e,t,n){let i,s,o=0;const l=n?gt(e):{value:e};return qa()&&ec(()=>{s?.(),clearTimeout(i)}),xy((h,d)=>{n&&(s=an(l,d));function v(){o=0,clearTimeout(i);const y=t-o,E=y<wx?y:wx;i=setTimeout(()=>{if(o+=E,o<t)return v();l.value=void 0,d()},E)}return{get(){return h(),l.value},set(y){v(),l.value=y,d()}}})}function H3(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function U3(e,t=Zn()){const{path:n,matched:i}=t.resolve(e);if(!i.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>U3(e,t));t._routePreloaded.add(n);for(const o of i){const l=o.components?.default;if(typeof l!="function")continue;const h=Promise.resolve(l()).catch(()=>{}).finally(()=>s.splice(s.indexOf(h)));s.push(h)}await Promise.all(s)}function $3(e={}){const t=e.path||window.location.pathname;let n={};try{n=uc(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ct().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}function bA(e){return new URL(globalThis.location.href)}const j3={scrollBehavior(e,t,n){const i=ct(),s=Zn().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:_A(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const l=i._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(h=>{if(t===Ii){h(Tx(e,t,n,s));return}i.hooks.hookOnce(l,()=>{requestAnimationFrame(()=>h(Tx(e,t,n,s)))})})}};function _A(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Tx(e,t,n,i){if(n)return n;const s=k3(e,t);return e.hash?{el:e.hash,top:_A(e.hash),behavior:s?i:"instant"}:{left:0,top:0}}const V3={hashMode:!0,scrollBehaviorType:"auto"},gs={...V3,...j3},W3={nuxt:{},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency","cryptocurrency-color","cuida","dashicons","devicon","devicon-plain","dinkie-icons","duo-icons","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-color","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si","si-glyph","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline","streamline-block","streamline-color","streamline-cyber","streamline-cyber-color","streamline-emojis","streamline-flex","streamline-flex-color","streamline-freehand","streamline-freehand-color","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump","streamline-plump-color","streamline-sharp","streamline-sharp-color","streamline-stickies-color","streamline-ultimate","streamline-ultimate-color","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},z3=PH(W3);function X3(){const e=ct();return e._appConfig||=bi(z3),e._appConfig}const G3=nv("base",()=>{const e=gt("en"),t=gt(!1),n=gt(0),i=gt(0),s=gt(!1),o=gt([""]),l=gt(),h=gt("./"),{WHM_EXTRAS:d}=oi().public;return d&&(h.value=document.location.origin+"/templates/monitoring/spa/"),{currentLanguage:e,openDrawer:t,currentStep:n,maxSteps:i,progressVisibleInDrawer:s,steps:o,cnameConfig:l,assetsLink:h,getConfig:async()=>{const y=oi().public.CNAME_CONFIG_PATH||location.host;l.value=(await hn.get(Nn.CNAME_URL+y)).data.data}}},{persist:{key:()=>`${oi().public.PERSIST_KEY||""}-signupBase`,storage:sessionStorage}}),EA=(e,t="json",n=0,i="")=>{if(t&&t.includes("text/html"))return new Error("HTML response");if(!e||typeof e!="object")return;if(e.error)return new Error(e.error);if(n>=400)return e?.location?new Error(e?.location):new Error(i);const s=Object.prototype.hasOwnProperty;for(const o in e)if(s.call(e,o)){const l=EA(e[o]);if(l)return l}},q3=()=>{const e=async(l,h,d,v=!1,y=null)=>{try{const E=await $fetch.raw(h,{method:l,body:d,credentials:v?"include":"omit",ignoreResponseError:!0,headers:y?{"Content-Type":"application/json","X-API-KEY":y}:{}}),C=EA(E._data,E.headers?.get("content-type")||"json",E.status,E.statusText);if(C)throw C;return{data:E._data}}catch(E){return{error:E}}},t=()=>window.CPANEL.security_token,n=()=>{const l="/cgi/monitoring/whm-360-monitoring.cgi#",{WHM_EXTRAS:h,DASHBOARD_LINK:d}=oi().public;if(h){const v=t().split("/")[1];return`${window.location.origin}${d}${v}${l}`}return oi().public.DASHBOARD_LINK};return{apiRequest:e,cpanelPluginHelper:l=>{const h=window.PLUGINS,d=l.reduce((v,y)=>(v[y]=h?.monitoring[y],v),{});if(!d)throw new Error(`No ${l.join(", ")} found in plugins`);return d},cPanelSecurityToken:t,getDashboardLink:()=>n()+"/monitoring",getSignupLink:()=>n()+"/signup"}},Cx={email:"",password:"",name:"",lastName:"",consent:!1,analyticsConsent:!1,token:""},Y3=nv("signup",()=>{const{API_URL:e,WHM_EXTRAS:t}=oi().public,n=e||window.location.origin,i=t,{apiRequest:s,cpanelPluginHelper:o}=q3(),l=bi({...Cx}),h=gt("");return{ssoUrls:{google:Nn.SSO_GOOGLE,microsoft:Nn.SSO_MICROSOFT},signIn:async($,U)=>{if(i){const{data:N,error:J}=await s("POST",n+Nn.SIGNIN_WHM,{email:$,password:U,...o(["apiKey","userId"])},!0);return window.localStorage.setItem("whm-signin",JSON.stringify({apiKey:"userLogged"})),{error:J}}else{const N=new FormData;return N.append("email",$),N.append("password",U),await s("POST",n+Nn.SIGNIN,N,!0)}},signUp:async()=>{const $={email:l.email,...i?{otp:!0}:{}};return await s("POST",n+Nn.SIGNUP,$)},setPassword:async()=>{const $={email:l.email,password:l.password,...i?{code:h.value,...o(["apiKey","userId"])}:{token:l.token}};if(i){const{data:U,error:N}=await s("POST",n+Nn.SET_PASSWORD_OTP,$);return window.localStorage.setItem("whm-signin",JSON.stringify({apiKey:"userLogged"})),{error:N}}else return await s("POST",n+Nn.SET_PASSWORD,$)},resendVerificationEmail:async $=>{const U=`${n}${i?Nn.RESEND_CODE:Nn.RESEND_VERIFICATION}`;return await s("POST",U,{email:$})},triggerPasswordReset:async $=>{const U={email:$,...i?{otp:!0}:{}};return await s("POST",n+Nn.INIT_PASSWORD_RESET,U)},verifyCode:async $=>await s("POST",n+Nn.VERIFY_CODE,{code:$,email:l.email}),verifyEmail:async()=>await s("POST",n+Nn.VERIFY_EMAIL,{token:l.token,email:l.email}),passwordReset:async($,U)=>{const N={password:U,...i?{code:$,email:l.email}:{token:$}},J=`${n}${i?Nn.PASSWORD_RESET_OTP:Nn.PASSWORD_RESET}`;return await s("POST",J,N)},saveAdditionalData:async()=>{const $=i?Nn.PROFILE_WHM:Nn.PROFILE,U=gt(null);if(i){const N=o(["apiKey"]);U.value=typeof N=="object"&&N!==null?N.apiKey:null}return oi().public.MIXPANEL_API_KEY&&(document.cookie=`mp_${oi().public.MIXPANEL_API_KEY}_mixpanel=${l.analyticsConsent?"1":"0"}`),await s("PUT",n+$,{firstName:l.name,familyName:l.lastName,consent:l.consent,analyticsConsent:l.analyticsConsent},!0,U.value)},signUpData:l,clearData:()=>{Object.assign(l,Cx)},clearOtp:()=>{h.value=""},otpCode:h,setOtp:$=>{h.value=$}}},{persist:{key:()=>`${oi().public.PERSIST_KEY||""}-signup`,storage:sessionStorage}}),K3={layout:"login-signup",middleware:()=>{const e=G3();if(!Y3().signUpData.email||!e.currentStep||e.currentStep===0)return bg("/signup")}},J3={layout:"login-signup"},Tm=[{name:"index",path:"/",meta:Bj||{},component:()=>ft(()=>import("./DPuhIQDR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)},{name:"login",path:"/login",meta:Hj||{},component:()=>ft(()=>import("./SGl50jKA.js"),__vite__mapDeps([20,21,22,23,24,6,7,25,26,2,3,4,27,5,18,28,29,30,12,8,9,31,32,33,34,35,36]),import.meta.url)},{name:"reset",path:"/reset",meta:Uj||{},component:()=>ft(()=>import("./CT2bCG4G.js"),__vite__mapDeps([37,38,5,24,6,7,25,31,32,33,36,8,9]),import.meta.url)},{name:"signup",path:"/signup",meta:$j||{},component:()=>ft(()=>import("./CLEe9OlJ.js"),__vite__mapDeps([39,21,22,23,24,6,7,25,26,2,3,4,27,5,18,28,29,30,12,8,9,31,32,33,35,36]),import.meta.url)},{name:"activate-email",path:"/activate-email",meta:jj||{},component:()=>ft(()=>import("./CUF2SJ4z.js"),__vite__mapDeps([40,41,38,5,24,6,7,25,31,32,33,18,2,3,4,36,8,9]),import.meta.url)},{name:"monitoring-cpu",path:"/monitoring/cpu",component:()=>ft(()=>import("./BqPUXDkn.js"),__vite__mapDeps([42,14,15,5,12,16,17,18,7,10,2,3,4,8,9,11]),import.meta.url)},{name:"reset-password",path:"/reset-password",meta:Vj||{},component:()=>ft(()=>import("./QLX-fZnA.js"),__vite__mapDeps([43,41,38,5,24,6,7,25,31,32,33,18,2,3,4,36,8,9]),import.meta.url)},{name:"signup-process",path:"/signup-process",meta:K3||{},component:()=>ft(()=>import("./CLjC9lRc.js"),__vite__mapDeps([44,38,5,24,6,7,25,31,32,33,36]),import.meta.url)},{name:"monitoring-disk",path:"/monitoring/disk",component:()=>ft(()=>import("./CGjwRjWb.js"),__vite__mapDeps([45,46,5,47,12,48,49,15,16,17,18,7,10,2,3,4,8,9,11,50]),import.meta.url)},{name:"monitoring",path:"/monitoring",component:()=>ft(()=>import("./Ml5FZw3U.js"),__vite__mapDeps([51,14,15,5,12,16,17,18,7,10,2,3,4,8,9,11]),import.meta.url)},{name:"redeem-license",path:"/redeem/:license()",meta:J3||{},component:()=>ft(()=>import("./yHlBVnyQ.js"),__vite__mapDeps([52,38,5,24,6,7,25,31,32,33,2,3,4,35,8,9]),import.meta.url)},{name:"monitoring-alerts",path:"/monitoring/alerts",component:()=>ft(()=>import("./N8_TjD66.js"),__vite__mapDeps([53,11,12,9,7,8,5,47,48,18,10,2,3,4,54]),import.meta.url)},{name:"monitoring-memory",path:"/monitoring/memory",component:()=>ft(()=>import("./ByVB9czY.js"),__vite__mapDeps([55,14,15,5,12,16,17,18,7,10,2,3,4,8,9,11]),import.meta.url)},{name:"monitoring-network",path:"/monitoring/network",component:()=>ft(()=>import("./Bz8Iwnmv.js"),__vite__mapDeps([56,14,15,5,12,16,17,18,7,10,2,3,4,8,9,11]),import.meta.url)},{name:"monitoring-process",path:"/monitoring/process",component:()=>ft(()=>import("./Dz4sPL7p.js"),__vite__mapDeps([57,46,5,47,12,48,49,8,9,17,18,7,10,2,3,4,11,58]),import.meta.url)}],Z3=async(e,t)=>{let n,i;if(!e.meta?.validate)return;const s=([n,i]=yo(()=>Promise.resolve(e.meta.validate(e))),n=await n,i(),n);if(s===!0)return;const o=vo({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},xA=nv("userStore",()=>{const e=gt(!1),t=bi({userId:"",nickname:"",firstName:"",familyName:"",email:"",firstDataAvailableDate:"",planSlug:"",planName:"",isAnonymous:null,consent:null,avatar:"",retentionSeconds:null,storeUrl:"",doNotSell:null,customStoreUrl:null}),n=()=>{t.userId="",t.nickname="",t.firstName="",t.familyName="",t.email="",t.firstDataAvailableDate="",t.planSlug="",t.planName="",t.isAnonymous=null,t.consent=null,t.avatar="",t.retentionSeconds=null,t.storeUrl="",t.doNotSell=null,t.customStoreUrl=null},i=Bt(()=>{const s=["enterprise"];return!t.isAnonymous&&!t.doNotSell&&t.storeUrl&&!s.includes(t.planSlug)});return{userIsLoggedIn:e,userDetails:t,clearUserDetails:n,isUserUpgradable:i}}),Q3=(e,t)=>{if(xA().userIsLoggedIn){const{$cpanel:n}=ct();n.login()}},eW=(e,t)=>{const{path:n,query:i,hash:s}=e;if(window.__whmInitialRouteChecked)return;window.__whmInitialRouteChecked=!0;const o=window.location.href.includes("cgi/monitoring/whm-360-monitoring.cgi");if(n==="/"&&o)return bg({path:"/monitoring",query:i,hash:s},{replace:!0});if(n!=="/"&&n.endsWith("/")){const l=n.replace(/\/+$/,"")||"/";return bg({path:l,query:i,hash:s},{})}},tW=e=>{const t=ad({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return kr(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},nW=[Z3,Q3,eW,tW],Fg={};function iW(e,t,n){const{pathname:i,search:s,hash:o}=t,l=e.indexOf("#");if(l>-1){const v=o.includes(e.slice(l))?e.slice(l).length:1;let y=o.slice(v);return y[0]!=="/"&&(y="/"+y),xE(y,"")}const h=xE(i,e),d=!n||UB(h,n)?h:n;return d+(d.includes("?")?"":s)+o}const rW=fn({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,i=oi().app.baseURL;i.includes("#")||(i+="#");const s=gs.history?.(i)??cj(i),o=gs.routes?([t,n]=yo(()=>gs.routes(Tm)),t=await t,n(),t??Tm):Tm;let l;const h=Pj({...gs,scrollBehavior:(I,R,D)=>{if(R===Ii){l=D;return}if(gs.scrollBehavior){if(h.options.scrollBehavior=gs.scrollBehavior,"scrollRestoration"in window.history){const F=h.beforeEach(()=>{F(),window.history.scrollRestoration="manual"})}return gs.scrollBehavior(I,Ii,l||D)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(h);const d=or(h.currentRoute.value);h.afterEach((I,R)=>{d.value=R}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>d.value});const v=iW(i,window.location,e.payload.path),y=or(h.currentRoute.value),E=()=>{y.value=h.currentRoute.value};h.afterEach((I,R)=>{I.matched.at(-1)?.components?.default===R.matched.at(-1)?.components?.default&&E()});const C={sync:E};for(const I in y.value)Object.defineProperty(C,I,{get:()=>y.value[I],enumerable:!0});e._route=Qi(C),e._middleware||={global:[],named:{}};const T=dc();h.afterEach(async(I,R,D)=>{delete e._processingMiddleware,!e.isHydrating&&T.value&&await e.runWithContext(BH),D&&await e.callHook("page:loading:end")});try{[t,n]=yo(()=>h.isReady()),await t,n()}catch(I){[t,n]=yo(()=>e.runWithContext(()=>Ss(I))),await t,n()}const O=v!==h.currentRoute.value.fullPath?h.resolve(v):h.currentRoute.value;E();const P=e.payload.state._layout;return h.beforeEach(async(I,R)=>{await e.callHook("page:loading:start"),I.meta=bi(I.meta),e.isHydrating&&P&&!rr(I.meta.layout)&&(I.meta.layout=P),e._processingMiddleware=!0;{const D=new Set([...nW,...e._middleware.global]);for(const A of I.matched){const $=A.meta.middleware;if($)for(const U of lv($))D.add(U)}const F=ad({path:I.path});if(F.appMiddleware)for(const A in F.appMiddleware)F.appMiddleware[A]?D.add(A):D.delete(A);for(const A of D){const $=typeof A=="string"?e._middleware.named[A]||await Fg[A]?.().then(U=>U.default||U):A;if(!$)throw new Error(`Unknown route middleware: '${A}'.`);try{const U=await e.runWithContext(()=>$(I,R));if(!e.payload.serverRendered&&e.isHydrating&&(U===!1||U instanceof Error)){const N=U||vo({status:404,statusText:`Page Not Found: ${v}`});return await e.runWithContext(()=>Ss(N)),!1}if(U===!0)continue;if(U===!1)return U;if(U)return _g(U)&&U.fatal&&await e.runWithContext(()=>Ss(U)),U}catch(U){const N=vo(U);return N.fatal&&await e.runWithContext(()=>Ss(N)),N}}}}),h.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),h.afterEach(I=>{if(I.matched.length===0&&!T.value)return e.runWithContext(()=>Ss(vo({status:404,fatal:!1,statusText:`Page not found: ${I.fullPath}`,data:{path:I.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in O&&(O.name=void 0),await h.replace({...O,force:!0}),h.options.scrollBehavior=gs.scrollBehavior}catch(I){await e.runWithContext(()=>Ss(I))}}),{provide:{router:h}}}}),sW=fn({name:"nuxt:payload",setup(e){const t=new Set;Zn().beforeResolve(async(n,i)=>{if(n.path===i.path)return;const s=await BE(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),yA(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:i}=new URL(n,window.location.href);i===window.location.hostname&&await BE(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})})})}}),oW=fn(()=>{const e=Zn();yA(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),aW=fn({name:"nuxt:chunk-reload",setup(e){const t=Zn(),n=oi(),i=new Set;t.beforeEach(()=>{i.clear()}),e.hook("app:chunkError",({error:o})=>{i.add(o)});function s(o){const l=Co(n.app.baseURL,o.fullPath);$3({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,l)=>{i.has(o)&&s(l)})}}),lW=fn({name:"pinia",setup(e){const t=cU();return e.vueApp.use(t),Hc(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),cW=Yr(()=>ft(()=>import("./DeQ5-w6a.js"),[],import.meta.url).then(e=>e.default||e.default||e)),uW=[["Icon",cW]],hW=fn({name:"nuxt:global-components",setup(e){for(const[t,n]of uW)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Os={default:Yr(()=>ft(()=>import("./BWNJman1.js"),__vite__mapDeps([59,5,8,9,1,2,3,4,6,7,10,11,12,13,60,61,32,23,62,29,63]),import.meta.url).then(e=>e.default||e)),smalldashboard:Yr(()=>ft(()=>import("./Ci0Q0-aN.js"),__vite__mapDeps([64,11,12,9,7]),import.meta.url).then(e=>e.default||e)),"login-signup":Yr(()=>ft(()=>import("./DzAePXcC.js"),__vite__mapDeps([65,38,5,24,6,7,25,22,23,62,36]),import.meta.url).then(e=>e.default||e))},fW=fn({name:"nuxt:prefetch",setup(e){const t=Zn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const i=n?.meta?.layout;i&&typeof Os[i]=="function"&&await Os[i]()})}),e.hooks.hook("link:prefetch",n=>{if(kr(n))return;const i=t.resolve(n);if(!i)return;const s=i.meta.layout;let o=lv(i.meta.middleware);o=o.filter(l=>typeof l=="string");for(const l of o)typeof Fg[l]=="function"&&Fg[l]();typeof s=="string"&&s in Os&&H3(Os[s])})}}),SA=/^[a-z0-9]+(-[a-z0-9]+)*$/,zc=(e,t,n,i="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const h=s.pop(),d=s.pop(),v={provider:s.length>0?s[0]:i,prefix:d,name:h};return t&&!Lh(v)?null:v}const o=s[0],l=o.split("-");if(l.length>1){const h={provider:i,prefix:l.shift(),name:l.join("-")};return t&&!Lh(h)?null:h}if(n&&i===""){const h={provider:i,prefix:"",name:o};return t&&!Lh(h,n)?null:h}return null},Lh=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,wA=Object.freeze({left:0,top:0,width:16,height:16}),vf=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Qa=Object.freeze({...wA,...vf}),Bg=Object.freeze({...Qa,body:"",hidden:!1});function dW(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const i=((e.rotate||0)+(t.rotate||0))%4;return i&&(n.rotate=i),n}function Ax(e,t){const n=dW(e,t);for(const i in Bg)i in vf?i in e&&!(i in n)&&(n[i]=vf[i]):i in t?n[i]=t[i]:i in e&&(n[i]=e[i]);return n}function pW(e,t){const n=e.icons,i=e.aliases||Object.create(null),s=Object.create(null);function o(l){if(n[l])return s[l]=[];if(!(l in s)){s[l]=null;const h=i[l]&&i[l].parent,d=h&&o(h);d&&(s[l]=[h].concat(d))}return s[l]}return Object.keys(n).concat(Object.keys(i)).forEach(o),s}function mW(e,t,n){const i=e.icons,s=e.aliases||Object.create(null);let o={};function l(h){o=Ax(i[h]||s[h],o)}return l(t),n.forEach(l),Ax(e,o)}function TA(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const i=pW(e);for(const s in i){const o=i[s];o&&(t(s,mW(e,s,o)),n.push(s))}return n}const gW={provider:"",aliases:{},not_found:{},...wA};function Cm(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function CA(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Cm(e,gW))return null;const n=t.icons;for(const s in n){const o=n[s];if(!s||typeof o.body!="string"||!Cm(o,Bg))return null}const i=t.aliases||Object.create(null);for(const s in i){const o=i[s],l=o.parent;if(!s||typeof l!="string"||!n[l]&&!i[l]||!Cm(o,Bg))return null}return t}const Ox=Object.create(null);function yW(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Oo(e,t){const n=Ox[e]||(Ox[e]=Object.create(null));return n[t]||(n[t]=yW(e,t))}function AA(e,t){return CA(t)?TA(t,(n,i)=>{i?e.icons[n]=i:e.missing.add(n)}):[]}function vW(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let pc=!1;function OA(e){return typeof e=="boolean"&&(pc=e),pc}function pv(e){const t=typeof e=="string"?zc(e,!0,pc):e;if(t){const n=Oo(t.provider,t.prefix),i=t.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function bW(e,t){const n=zc(e,!0,pc);if(!n)return!1;const i=Oo(n.provider,n.prefix);return t?vW(i,n.name,t):(i.missing.add(n.name),!0)}function _W(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),pc&&!t&&!e.prefix){let s=!1;return CA(e)&&(e.prefix="",TA(e,(o,l)=>{bW(o,l)&&(s=!0)})),s}const n=e.prefix;if(!Lh({prefix:n,name:"a"}))return!1;const i=Oo(t,n);return!!AA(i,e)}function qY(e){const t=pv(e);return t&&{...Qa,...t}}const kA=Object.freeze({width:null,height:null}),PA=Object.freeze({...kA,...vf}),EW=/(-?[0-9.]*[0-9]+[0-9.]*)/g,xW=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function kx(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const i=e.split(EW);if(i===null||!i.length)return e;const s=[];let o=i.shift(),l=xW.test(o);for(;;){if(l){const h=parseFloat(o);isNaN(h)?s.push(o):s.push(Math.ceil(h*t*n)/n)}else s.push(o);if(o=i.shift(),o===void 0)return s.join("");l=!l}}function SW(e,t="defs"){let n="";const i=e.indexOf("<"+t);for(;i>=0;){const s=e.indexOf(">",i),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const l=e.indexOf(">",o);if(l===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,i).trim()+e.slice(l+1)}return{defs:n,content:e}}function wW(e,t){return e?"<defs>"+e+"</defs>"+t:t}function TW(e,t,n){const i=SW(e);return wW(i.defs,t+i.content+n)}const CW=e=>e==="unset"||e==="undefined"||e==="none";function AW(e,t){const n={...Qa,...e},i={...PA,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,i].forEach(P=>{const I=[],R=P.hFlip,D=P.vFlip;let F=P.rotate;R?D?F+=2:(I.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),I.push("scale(-1 1)"),s.top=s.left=0):D&&(I.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),I.push("scale(1 -1)"),s.top=s.left=0);let A;switch(F<0&&(F-=Math.floor(F/4)*4),F=F%4,F){case 1:A=s.height/2+s.top,I.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:I.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:A=s.width/2+s.left,I.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}F%2===1&&(s.left!==s.top&&(A=s.left,s.left=s.top,s.top=A),s.width!==s.height&&(A=s.width,s.width=s.height,s.height=A)),I.length&&(o=TW(o,'<g transform="'+I.join(" ")+'">',"</g>"))});const l=i.width,h=i.height,d=s.width,v=s.height;let y,E;l===null?(E=h===null?"1em":h==="auto"?v:h,y=kx(E,d/v)):(y=l==="auto"?d:l,E=h===null?kx(y,v/d):h==="auto"?v:h);const C={},T=(P,I)=>{CW(I)||(C[P]=I.toString())};T("width",y),T("height",E);const O=[s.left,s.top,d,v];return C.viewBox=O.join(" "),{attributes:C,viewBox:O,body:o}}const OW=/\sid="(\S+)"/g,kW="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let PW=0;function LW(e,t=kW){const n=[];let i;for(;i=OW.exec(e);)n.push(i[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const l=typeof t=="function"?t(o):t+(PW++).toString(),h=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+h+')([")]|\\.[a-z])',"g"),"$1"+l+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const Hg=Object.create(null);function LA(e,t){Hg[e]=t}function Ug(e){return Hg[e]||Hg[""]}function mv(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const pd=Object.create(null),kl=["https://api.simplesvg.com","https://api.unisvg.com"],Rh=[];for(;kl.length>0;)kl.length===1||Math.random()>.5?Rh.push(kl.shift()):Rh.push(kl.pop());pd[""]=mv({resources:["https://api.iconify.design"].concat(Rh)});function RA(e,t){const n=mv(t);return n===null?!1:(pd[e]=n,!0)}function md(e){return pd[e]}function RW(){return Object.keys(pd)}const IW=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let bf=IW();function NW(e){bf=e}function MW(){return bf}function DW(e,t){const n=md(e);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let s=0;n.resources.forEach(l=>{s=Math.max(s,l.length)});const o=t+".json?icons=";i=n.maxURL-s-n.path.length-o.length}return i}function FW(e){return e===404}const BW=(e,t,n)=>{const i=[],s=DW(e,t),o="icons";let l={type:o,provider:e,prefix:t,icons:[]},h=0;return n.forEach((d,v)=>{h+=d.length+1,h>=s&&v>0&&(i.push(l),l={type:o,provider:e,prefix:t,icons:[]},h=d.length),l.icons.push(d)}),i.push(l),i};function HW(e){if(typeof e=="string"){const t=md(e);if(t)return t.path}return"/"}const UW=(e,t,n)=>{if(!bf){n("abort",424);return}let i=HW(t.provider);switch(t.type){case"icons":{const o=t.prefix,h=t.icons.join(","),d=new URLSearchParams({icons:h});i+=o+".json?"+d.toString();break}case"custom":{const o=t.uri;i+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let s=503;bf(e+i).then(o=>{const l=o.status;if(l!==200){setTimeout(()=>{n(FW(l)?"abort":"next",l)});return}return s=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",s)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",s)})},$W={prepare:BW,send:UW};function jW(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,o)=>s.provider!==o.provider?s.provider.localeCompare(o.provider):s.prefix!==o.prefix?s.prefix.localeCompare(o.prefix):s.name.localeCompare(o.name));let i={provider:"",prefix:"",name:""};return e.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const o=s.provider,l=s.prefix,h=s.name,d=n[o]||(n[o]=Object.create(null)),v=d[l]||(d[l]=Oo(o,l));let y;h in v.icons?y=t.loaded:l===""||v.missing.has(h)?y=t.missing:y=t.pending;const E={provider:o,prefix:l,name:h};y.push(E)}),t}function IA(e,t){e.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(s=>s.id!==t))})}function VW(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const i=e.provider,s=e.prefix;t.forEach(o=>{const l=o.icons,h=l.pending.length;l.pending=l.pending.filter(d=>{if(d.prefix!==s)return!0;const v=d.name;if(e.icons[v])l.loaded.push({provider:i,prefix:s,name:v});else if(e.missing.has(v))l.missing.push({provider:i,prefix:s,name:v});else return n=!0,!0;return!1}),l.pending.length!==h&&(n||IA([e],o.id),o.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),o.abort))})}))}let WW=0;function zW(e,t,n){const i=WW++,s=IA.bind(null,n,i);if(!t.pending.length)return s;const o={id:i,icons:t,callback:e,abort:s};return n.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(o)}),s}function XW(e,t=!0,n=!1){const i=[];return e.forEach(s=>{const o=typeof s=="string"?zc(s,t,n):s;o&&i.push(o)}),i}var GW={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function qW(e,t,n,i){const s=e.resources.length,o=e.random?Math.floor(Math.random()*s):e.index;let l;if(e.random){let U=e.resources.slice(0);for(l=[];U.length>1;){const N=Math.floor(Math.random()*U.length);l.push(U[N]),U=U.slice(0,N).concat(U.slice(N+1))}l=l.concat(U)}else l=e.resources.slice(o).concat(e.resources.slice(0,o));const h=Date.now();let d="pending",v=0,y,E=null,C=[],T=[];typeof i=="function"&&T.push(i);function O(){E&&(clearTimeout(E),E=null)}function P(){d==="pending"&&(d="aborted"),O(),C.forEach(U=>{U.status==="pending"&&(U.status="aborted")}),C=[]}function I(U,N){N&&(T=[]),typeof U=="function"&&T.push(U)}function R(){return{startTime:h,payload:t,status:d,queriesSent:v,queriesPending:C.length,subscribe:I,abort:P}}function D(){d="failed",T.forEach(U=>{U(void 0,y)})}function F(){C.forEach(U=>{U.status==="pending"&&(U.status="aborted")}),C=[]}function A(U,N,J){const Y=N!=="success";switch(C=C.filter(K=>K!==U),d){case"pending":break;case"failed":if(Y||!e.dataAfterTimeout)return;break;default:return}if(N==="abort"){y=J,D();return}if(Y){y=J,C.length||(l.length?$():D());return}if(O(),F(),!e.random){const K=e.resources.indexOf(U.resource);K!==-1&&K!==e.index&&(e.index=K)}d="completed",T.forEach(K=>{K(J)})}function $(){if(d!=="pending")return;O();const U=l.shift();if(U===void 0){if(C.length){E=setTimeout(()=>{O(),d==="pending"&&(F(),D())},e.timeout);return}D();return}const N={status:"pending",resource:U,callback:(J,Y)=>{A(N,J,Y)}};C.push(N),v++,E=setTimeout($,e.rotate),n(U,t,N.callback)}return setTimeout($),R}function NA(e){const t={...GW,...e};let n=[];function i(){n=n.filter(h=>h().status==="pending")}function s(h,d,v){const y=qW(t,h,d,(E,C)=>{i(),v&&v(E,C)});return n.push(y),y}function o(h){return n.find(d=>h(d))||null}return{query:s,find:o,setIndex:h=>{t.index=h},getIndex:()=>t.index,cleanup:i}}function Px(){}const Am=Object.create(null);function YW(e){if(!Am[e]){const t=md(e);if(!t)return;const n=NA(t),i={config:t,redundancy:n};Am[e]=i}return Am[e]}function MA(e,t,n){let i,s;if(typeof e=="string"){const o=Ug(e);if(!o)return n(void 0,424),Px;s=o.send;const l=YW(e);l&&(i=l.redundancy)}else{const o=mv(e);if(o){i=NA(o);const l=e.resources?e.resources[0]:"",h=Ug(l);h&&(s=h.send)}}return!i||!s?(n(void 0,424),Px):i.query(t,s,n)().abort}function Lx(){}function KW(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,VW(e)}))}function JW(e){const t=[],n=[];return e.forEach(i=>{(i.match(SA)?t:n).push(i)}),{valid:t,invalid:n}}function Pl(e,t,n){function i(){const s=e.pendingIcons;t.forEach(o=>{s&&s.delete(o),e.icons[o]||e.missing.add(o)})}if(n&&typeof n=="object")try{if(!AA(e,n).length){i();return}}catch(s){console.error(s)}i(),KW(e)}function Rx(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function ZW(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:i}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const o=e.loadIcon;if(e.loadIcons&&(s.length>1||!o)){Rx(e.loadIcons(s,i,n),y=>{Pl(e,s,y)});return}if(o){s.forEach(y=>{const E=o(y,i,n);Rx(E,C=>{const T=C?{prefix:i,icons:{[y]:C}}:null;Pl(e,[y],T)})});return}const{valid:l,invalid:h}=JW(s);if(h.length&&Pl(e,h,null),!l.length)return;const d=i.match(SA)?Ug(n):null;if(!d){Pl(e,l,null);return}d.prepare(n,i,l).forEach(y=>{MA(n,y,E=>{Pl(e,y.icons,E)})})}))}const DA=(e,t)=>{const n=XW(e,!0,OA()),i=jW(n);if(!i.pending.length){let d=!0;return t&&setTimeout(()=>{d&&t(i.loaded,i.missing,i.pending,Lx)}),()=>{d=!1}}const s=Object.create(null),o=[];let l,h;return i.pending.forEach(d=>{const{provider:v,prefix:y}=d;if(y===h&&v===l)return;l=v,h=y,o.push(Oo(v,y));const E=s[v]||(s[v]=Object.create(null));E[y]||(E[y]=[])}),i.pending.forEach(d=>{const{provider:v,prefix:y,name:E}=d,C=Oo(v,y),T=C.pendingIcons||(C.pendingIcons=new Set);T.has(E)||(T.add(E),s[v][y].push(E))}),o.forEach(d=>{const v=s[d.provider][d.prefix];v.length&&ZW(d,v)}),t?zW(t,i,o):Lx},YY=e=>new Promise((t,n)=>{const i=typeof e=="string"?zc(e,!0):e;if(!i){n(e);return}DA([i||e],s=>{if(s.length&&i){const o=pv(i);if(o){t({...Qa,...o});return}}n(e)})});function QW(e,t,n){Oo("",t).loadIcons=e}function e4(e,t){const n={...e};for(const i in t){const s=t[i],o=typeof s;i in kA?(s===null||s&&(o==="string"||o==="number"))&&(n[i]=s):o===typeof n[i]&&(n[i]=i==="rotate"?s%4:s)}return n}const t4=/[\s,]+/;function n4(e,t){t.split(t4).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function i4(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:i(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/s,o%1===0?i(o):0)}}return t}function r4(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in t)n+=" "+i+'="'+t[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function s4(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function o4(e){return"data:image/svg+xml,"+s4(e)}function a4(e){return'url("'+o4(e)+'")'}const Ix={...PA,inline:!1},l4={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},c4={display:"inline-block"},$g={backgroundColor:"currentColor"},FA={backgroundColor:"transparent"},Nx={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Mx={webkitMask:$g,mask:$g,background:FA};for(const e in Mx){const t=Mx[e];for(const n in Nx)t[e+n]=Nx[n]}const Ih={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ih[e+"-flip"]=t,Ih[e.slice(0,1)+"-flip"]=t,Ih[e+"Flip"]=t});function Dx(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Fx=(e,t)=>{const n=e4(Ix,t),i={...l4},s=t.mode||"svg",o={},l=t.style,h=typeof l=="object"&&!(l instanceof Array)?l:{};for(let P in t){const I=t[P];if(I!==void 0)switch(P){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[P]=I===!0||I==="true"||I===1;break;case"flip":typeof I=="string"&&n4(n,I);break;case"color":o.color=I;break;case"rotate":typeof I=="string"?n[P]=i4(I):typeof I=="number"&&(n[P]=I);break;case"ariaHidden":case"aria-hidden":I!==!0&&I!=="true"&&delete i["aria-hidden"];break;default:{const R=Ih[P];R?(I===!0||I==="true"||I===1)&&(n[R]=!0):Ix[P]===void 0&&(i[P]=I)}}}const d=AW(e,n),v=d.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),s==="svg"){i.style={...o,...h},Object.assign(i,v);let P=0,I=t.id;return typeof I=="string"&&(I=I.replace(/-/g,"_")),i.innerHTML=LW(d.body,I?()=>I+"ID"+P++:"iconifyVue"),$t("svg",i)}const{body:y,width:E,height:C}=e,T=s==="mask"||(s==="bg"?!1:y.indexOf("currentColor")!==-1),O=r4(y,{...v,width:E+"",height:C+""});return i.style={...o,"--svg":a4(O),width:Dx(v.width),height:Dx(v.height),...c4,...T?$g:FA,...h},$t("span",i)};OA(!0);LA("",$W);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!_W(i))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const i="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;RA(n,s)||console.error(i)}catch{console.error(i)}}}}const u4={...Qa,body:""},KY=Qn((e,{emit:t})=>{const n=gt(null);function i(){n.value&&(n.value.abort?.(),n.value=null)}const s=gt(!!e.ssr),o=gt(""),l=or(null);function h(){const v=e.icon;if(typeof v=="object"&&v!==null&&typeof v.body=="string")return o.value="",{data:v};let y;if(typeof v!="string"||(y=zc(v,!1,!0))===null)return null;let E=pv(y);if(!E){const O=n.value;return(!O||O.name!==v)&&(E===null?n.value={name:v}:n.value={name:v,abort:DA([y],d)}),null}i(),o.value!==v&&(o.value=v,Ci(()=>{t("load",v)}));const C=e.customise;if(C){E=Object.assign({},E);const O=C(E.body,y.name,y.prefix,y.provider);typeof O=="string"&&(E.body=O)}const T=["iconify"];return y.prefix!==""&&T.push("iconify--"+y.prefix),y.provider!==""&&T.push("iconify--"+y.provider),{data:E,classes:T}}function d(){const v=h();v?v.data!==l.value?.data&&(l.value=v):l.value=null}return s.value?d():rs(()=>{s.value=!0,d()}),an(()=>e.icon,d),Do(i),()=>{const v=l.value;if(!v)return Fx(u4,e);let y=e;return v.classes&&(y={...e,class:v.classes.join(" ")}),Fx({...Qa,...v.data},y)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Bx={getAPIConfig:md,setAPIModule:LA,sendAPIQuery:MA,setFetch:NW,getFetch:MW,listAPIProviders:RW},h4=fn({name:"@nuxt/icon",setup(){const e=oi(),t=X3().icon;Bx.setFetch($fetch.native);const n=[];if(t.provider==="server"){const s=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(s+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?Bx.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function i(s,o){try{const l=await $fetch(n[0]+"/"+o+".json",{query:{icons:s.join(",")}});if(!l||l.prefix!==o||!l.icons)throw new Error("Invalid data"+JSON.stringify(l));return l}catch(l){return console.error("Failed to load custom icons",l),null}}RA("",{resources:n});for(const s of t.customCollections||[])s&&QW(i,s)}});function f4(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _f=typeof window<"u",Pr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),d4=(e,t,n)=>p4({l:e,k:t,s:n}),p4=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),m4=e=>yd(e)==="[object Date]",Ef=e=>yd(e)==="[object RegExp]",gd=e=>Et(e)&&Object.keys(e).length===0,un=Object.assign,g4=Object.create,Rt=(e=null)=>g4(e);function Hx(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Ux(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function y4(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,s,o)=>`${s}="${Ux(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,s,o)=>`${s}='${Ux(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(i=>{e=e.replace(i,"$1javascript:")}),e}const v4=Object.prototype.hasOwnProperty;function er(e,t){return v4.call(e,t)}const Qt=Array.isArray,Dt=e=>typeof e=="function",De=e=>typeof e=="string",Kt=e=>typeof e=="boolean",St=e=>e!==null&&typeof e=="object",b4=e=>St(e)&&Dt(e.then)&&Dt(e.catch),BA=Object.prototype.toString,yd=e=>BA.call(e),Et=e=>yd(e)==="[object Object]",_4=e=>e==null?"":Qt(e)||Et(e)&&e.toString===BA?JSON.stringify(e,null,2):String(e);function gv(e,t=""){return e.reduce((n,i,s)=>s===0?n+i:n+t+i,"")}function HA(){const e=new Map;return{events:e,on(n,i){const s=e.get(n);s&&s.push(i)||e.set(n,[i])},off(n,i){const s=e.get(n);s&&s.splice(s.indexOf(i)>>>0,1)},emit(n,i){(e.get(n)||[]).slice().map(s=>s(i)),(e.get("*")||[]).slice().map(s=>s(n,i))}}}const ch=e=>!St(e)||Qt(e);function ya(e,t){if(ch(e)||ch(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:i,des:s}=n.pop();Object.keys(i).forEach(o=>{o!=="__proto__"&&(St(i[o])&&!St(s[o])&&(s[o]=Array.isArray(i[o])?[]:Rt()),ch(s[o])||ch(i[o])?s[o]=i[o]:n.push({src:i[o],des:s[o]}))})}}function E4(e,t=e.getCurrentLanguage(),n=e.getCurrentDirection()){const i={htmlAttrs:{},link:[],meta:[]};if(e.dir&&(i.htmlAttrs.dir=n),e.lang&&t&&(i.htmlAttrs.lang=t),e.seo){const s=S4(e);i.link=i.link.concat(s,T4(e)),i.meta=i.meta.concat(C4(e),A4(e),O4(e,e.locales.map(o=>o.language||o.code)))}return i}function x4(e){const t=new Map;for(const n of e){if(!n.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[i,s]=n.language.split("-");i&&s&&(n.isCatchallLocale||!t.has(i))&&t.set(i,n),t.set(n.language,n)}return t}function S4(e){if(!e.hreflangLinks)return[];const t=[],n=x4(e.locales);for(const[i,s]of n.entries()){const o=w4(i,s,e);o&&(t.push(o),e.defaultLocale&&e.defaultLocale===s.code&&t[0].hreflang!=="x-default"&&t.unshift({[e.key]:"i18n-xd",rel:"alternate",href:o.href,hreflang:"x-default"}))}return t}function w4(e,t,n,i=n.strictCanonicals?n.getRouteWithoutQuery():void 0){const s=n.getLocalizedRoute(t.code,i);if(!s)return;const o=sd(kr(s)?s:Co(n.baseUrl,s),n.strictCanonicals?$A(n):{});return{[n.key]:`i18n-alt-${e}`,rel:"alternate",href:o,hreflang:e}}function UA(e,t=e.getCurrentRoute()){const n=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}));return n?sd(Co(e.baseUrl,n.path),$A(e)):""}function T4(e,t=UA(e)){return t?[{[e.key]:"i18n-can",rel:"canonical",href:t}]:[]}function $A(e,t=e.getCurrentRoute()){const i=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}))?.query??{},s={};for(const o of e.canonicalQueries.filter(l=>l in i)){s[o]??=[];for(const l of k4(i[o]))s[o].push(l||"")}return s}function C4(e,t=UA(e)){return t?[{[e.key]:"i18n-og-url",property:"og:url",content:t}]:[]}function A4(e,t=e.getCurrentLanguage()){return t?[{[e.key]:"i18n-og",property:"og:locale",content:jA(t)}]:[]}function O4(e,t,n=e.getCurrentLanguage()){return t.filter(s=>s&&s!==n).map(s=>({[e.key]:`i18n-og-alt-${s}`,property:"og:locale:alternate",content:jA(s)}))}function jA(e=""){return e.replace(/-/g,"_")}function k4(e){return Array.isArray(e)?e:[e]}function VA(e,t,n=e.getLocale()){if(De(t)&&kr(t,{acceptRelative:!0}))return t;try{return zA(e,t,n).fullPath}catch{return""}}function WA(e,t,n=e.getLocale()){try{return zA(e,t,n)}catch{return}}function P4(e){if(!De(e))return un({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:i}=pg(e);return{path:t,query:Ky(n),hash:i}}return{name:e}}function zA(e,t,n){const i=P4(t),s=e.router.resolve(e.resolveLocalizedRouteObject(i,n));return s.name?s:e.router.resolve(t)}function XA(e,t,n=e.router.currentRoute.value){const i=e.getRouteBaseName(n);if(!i)return"";const s={name:i,params:un({},n.params,e.getLocalizedDynamicParams(t)),fullPath:n.fullPath,query:n.query,hash:n.hash,path:n.path,meta:n.meta},o=VA(e,s,t);return e.afterSwitchLocalePath(o,t)}function L4(e,t,n=e.getLocale(),i=e.getLocales(),s=e.getBaseUrl()){const o=i.find(h=>h.code===n)||{},l=typeof t.seo=="object"&&t.seo?.canonicalQueries||[];return s||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{...t,key:"id",locales:i,baseUrl:s,canonicalQueries:l,hreflangLinks:e.routingOptions.hreflangLinks,defaultLocale:e.routingOptions.defaultLocale,strictCanonicals:e.routingOptions.strictCanonicals,getRouteBaseName:e.getRouteBaseName,getCurrentRoute:()=>e.router.currentRoute.value,getCurrentLanguage:()=>o.language,getCurrentDirection:()=>o.dir||"ltr",getLocaleRoute:h=>WA(e,h),getLocalizedRoute:(h,d)=>XA(e,h,d),getRouteWithoutQuery:()=>{try{return un({},e.router.resolve({query:{}}),{meta:e.router.currentRoute.value.meta})}catch{return}}}}function R4(e,{dir:t=!0,lang:n=!0,seo:i=!0}){return E4(L4(e,{dir:t,lang:n,seo:i}))}function I4(e=0){return t=>{const s=(typeof t=="string"?t:t.pathname).split("?")[0].split("/");return s[0]===""&&s.shift(),s.length>e&&s[e]||""}}const GA="___";function qA(e){return typeof e=="string"?e:e!=null?e.toString():""}function Om(e){return qA(typeof e=="object"?e?.name:e).split(GA)[0]}const N4=I4(0),YA=e=>N4(e),M4=e=>e.split(GA).at(1)??"";function D4(e){return String(typeof e!="object"?e:e?.name||e?.path||"")}function F4(e){const t=D4(e);return t[0]==="/"?YA(t):M4(t)}function B4(e){return t=>qA(t)}function H4(e){return t=>t}const mc=["en","de","fr","es","it","ru","ja","pt"],xf={en:[{key:"locale_en_46json_5ace5036",load:()=>ft(()=>import("./fRzoYM4q.js"),[],import.meta.url),cache:!0},{key:"locale_en_46json_4e44fc3f",load:()=>ft(()=>import("./BOqcELHJ.js"),[],import.meta.url),cache:!0}],de:[{key:"locale_de_46json_b54263f5",load:()=>ft(()=>import("./DFlQhyb6.js"),[],import.meta.url),cache:!0},{key:"locale_de_46json_7d5f8e21",load:()=>ft(()=>import("./Bb5Mujnh.js"),[],import.meta.url),cache:!0}],fr:[{key:"locale_fr_46json_aecccdf1",load:()=>ft(()=>import("./BjD_YFoL.js"),[],import.meta.url),cache:!0},{key:"locale_fr_46json_fc94fe81",load:()=>ft(()=>import("./DzSAibEf.js"),[],import.meta.url),cache:!0}],es:[{key:"locale_es_46json_ae46b783",load:()=>ft(()=>import("./CUG8kMjm.js"),[],import.meta.url),cache:!0},{key:"locale_es_46json_3b51b321",load:()=>ft(()=>import("./Djb903uk.js"),[],import.meta.url),cache:!0}],it:[{key:"locale_it_46json_e1d673cd",load:()=>ft(()=>import("./CJjJJswt.js"),[],import.meta.url),cache:!0},{key:"locale_it_46json_56bc4dbe",load:()=>ft(()=>import("./1N6XVRBO.js"),[],import.meta.url),cache:!0}],ru:[{key:"locale_ru_46json_b8e4acba",load:()=>ft(()=>import("./BMDZHAK5.js"),[],import.meta.url),cache:!0},{key:"locale_ru_46json_c40a86ed",load:()=>ft(()=>import("./DKcFsTjC.js"),[],import.meta.url),cache:!0}],ja:[{key:"locale_ja_46json_7d368d0f",load:()=>ft(()=>import("./wACq40ce.js"),[],import.meta.url),cache:!0},{key:"locale_ja_46json_9aa08b62",load:()=>ft(()=>import("./bcMLEW0c.js"),[],import.meta.url),cache:!0}],pt:[{key:"locale_pt_46json_2c8b8d09",load:()=>ft(()=>import("./CzLFTk4L.js"),[],import.meta.url),cache:!0},{key:"locale_pt_46json_76f6d740",load:()=>ft(()=>import("./D0XQ1XAy.js"),[],import.meta.url),cache:!0}]},U4=[],Xc=[{code:"en",language:void 0},{code:"de",language:void 0},{code:"fr",language:void 0},{code:"es",language:void 0},{code:"it",language:void 0},{code:"ru",language:void 0},{code:"ja",language:void 0},{code:"pt",language:void 0}],KA=new Map,$4=Qy((e,t,n)=>{if(t==="messages"||t==="datetimeFormats"||t==="numberFormats")return e[t]??=Rt(null),ya(n,e[t]),!0});async function j4(e){const t=ct();let n={messages:Rt(null)};for(const i of e){const s=await i().then(l=>l.default),o=Dt(s)?await t.runWithContext(()=>s()):s;n=$4(Rt(null),o,n)}return n.fallbackLocale??=!1,n}const V4=e=>yd(e)==="[object Module]",W4=e=>V4(e)||!1;async function z4(e,t){const n=ct();try{const i=await n.runWithContext(t.load).then(s=>W4(s)?s.default:s);return Dt(i)?await n.runWithContext(()=>i(e)):i}catch(i){throw new Error(`Failed loading locale (${e}): `+i.message)}}async function X4(e,t=[]){const n=ct(),i=await Promise.all(t.map(async o=>{const l=G4(o),h=l||await n.runWithContext(()=>z4(e,o));return!l&&o.cache!==!1&&KA.set(o.key,{ttl:Date.now()+86400*1e3,value:h}),h})),s={};for(const o of i)ya(o,s);return s}function G4(e){if(e.cache===!1)return;const t=KA.get(e.key);if(t!=null)return t.ttl>Date.now()?t.value:void 0}function yv(e){return e!=null&&"global"in e&&"mode"in e?e.global:e}function uh(e){const t=yv(e);return"__composer"in t?t.__composer:t}function vd(e,t){return e?e.$config.public.i18n:oi().public.i18n}function bd(e){const t=vd(e).detectBrowserLanguage,n=t||{};return{...n,enabled:!!t,cookieKey:n.cookieKey||"i18n_redirected"}}function q4(e){if(e)return{path:"/"+(De(e)?e:e.path).replace(/^\//,""),code:!De(e)&&e.statusCode||302}}function Y4(e){return Array.isArray(e)?e:[e]}function K4(e,t,n){const i=(o="")=>o.replace(/https?:\/\//,""),s=e.filter(o=>i(o.domain)===t||Y4(o.domains).includes(t));return s.length<=1?s[0]?.code:s.find(o=>o.code===n)?.code||s.find(o=>o.defaultForDomains?.includes(t)??o.domainDefault)?.code}function J4(e,t,n){const i=Xc.find(o=>o.code===n),s=e?.[n]?.domain||i?.domain||i?.domains?.find(o=>o===t.host);if(s)return kr(s,{strict:!0})?s:t.protocol+"//"+s}function Z4(e){const t={};for(const n of mc){const i=Q4(e,[n]),s=ez(n,i);t[n]={fallbacks:i,cacheable:s}}return t}function Q4(e,t){if(e===!1)return[];if(Qt(e))return e;let n=[];if(De(e))return t.every(s=>s!==e)&&n.push(e),n;const i=[...t,"default"];for(const s of i)s in e&&(n=[...n,...e[s].filter(Boolean)]);return n}function $x(e){return xf[e]!=null&&xf[e].every(t=>t.cache!==!1)}function ez(e,t){return $x(e)&&t.every(n=>$x(n))}function tz(e){return Xc.find(t=>!!t.defaultForDomains?.includes(e))?.code}const va=e=>mc.includes(e||""),jx=e=>va(e)?e:void 0,JA=()=>vA("i18n:cached-locale-configs",()=>{}),ZA=()=>vA("i18n:resolved-locale",()=>"");function nz({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:i}){const s=new Date;return Yl(i||"i18n_redirected",{path:"/",readonly:!1,expires:new Date(s.setDate(s.getDate()+365)),sameSite:e?"none":"lax",domain:t||void 0,secure:e||n})}function iz(e,t,n){const i=yv(t),s=vd(e),o=bd(e),l=JA(),h=nz(o),d=new Set,v=I=>l.value[I],y=I=>J4(s.domainLocales,bA(),I),E=yz(e,s.baseUrl),C=ZA(),T=async I=>{const R=v(I)?.fallbacks??[];R.includes(I)||R.push(I);for(const D of R){const F=await e.runWithContext(()=>X4(D,xf[D]));i.mergeLocaleMessage(D,F)}},O=async I=>{if(!(I in xf))return;const R=v(I)?.cacheable?{}:{"Cache-Control":"no-cache"},D=await $fetch(`/_i18n/epTRSNeb/${I}/messages.json`,{headers:R});for(const F of Object.keys(D))i.mergeLocaleMessage(F,D[F])},P={vueI18n:t,initial:!0,preloaded:!1,config:s,rootRedirect:q4(s.rootRedirect),redirectStatusCode:s.redirectStatusCode??302,dynamicResourcesSSG:!0,getDefaultLocale:()=>n,getLocale:()=>An(i.locale),setLocale:async I=>{const R=P.getLocale();I===R||!va(I)||(mt(i.locale)?i.locale.value=I:i.locale=I,await e.callHook("i18n:localeSwitched",{newLocale:I,oldLocale:R}),C.value=I)},setLocaleSuspend:async I=>{va(I)&&(P.vueI18n.__pendingLocale=I,P.vueI18n.__pendingLocalePromise=new Promise(R=>{P.vueI18n.__resolvePendingLocalePromise=async()=>{P.setCookieLocale(I),await P.setLocale(I),P.vueI18n.__pendingLocale=void 0,R()}}),(e.isHydrating||!P.config.skipSettingLocaleOnNavigate)&&await P.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>An(i.locales).map(I=>De(I)?{code:I}:I),setCookieLocale:I=>{o.useCookie&&va(I)&&(h.value=I)},getBaseUrl:I=>Co(I&&y(I)||E(),e.$config.app.baseURL),loadMessages:async I=>{if(!(e.isHydrating&&d.has(I)))try{return P.dynamicResourcesSSG?await T(I):await O(I)}catch(R){console.warn(`Failed to load messages for locale "${I}"`,R)}finally{d.add(I)}},composableCtx:void 0};return P.composableCtx=dz(P,e),P}function vv(e){if(e._nuxtI18n==null)throw new Error("Nuxt I18n context has not been set up yet.");return e._nuxtI18n}function rz(e,t){const n=[];for(const[i,s]of t.entries()){const o=e.find(l=>l.language?.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-i/t.length});break}}for(const[i,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),l=e.find(h=>h.language?.split("-")[0].toLowerCase()===o);if(l){n.push({code:l.code,score:.999-i/t.length});break}}return n}function sz(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function oz(e,t){return rz(e.map(i=>({code:i.code,language:i.language||i.code})),t).sort(sz).at(0)?.code??""}const az=(e,t)=>Yl(t).value||void 0,lz=(e,t)=>F4(t),cz=e=>oz(Xc,navigator.languages),uz=(e,t,n)=>{const i=new URL(window.location.href).host,s=Xc.map(o=>({...o,domain:n[o.code]?.domain??o.domain}));return K4(s,i,YA(t))},bv=(e,t,n)=>{const i=vd(n);return{cookie:()=>az(e,t.cookieKey),header:()=>{},navigator:()=>cz(),host:s=>uz(e,s,i.domainLocales),route:s=>lz(e,s)}},hz=e=>!!e.path&&!e.name;function _d(e){const t=e?._nuxtI18n?.composableCtx;if(!t)throw new Error("i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.");return t}const fz=fc;function dz(e,t=ct()){const n=Zn();bv(void 0,bd(t),t);const i=e.getDefaultLocale(),s=B4();function o(v,y){v.name=Om(v.name||n.currentRoute.value);const E=s(v.name,y);return n.hasRoute(E)&&(v.name=E),v}const l=H4();function h(v,y){const E=l(v,y),C=Om(E);return C?(E.name=s(C,y),E):(E.path=fz(E.path,!0),E)}const d={router:n,_head:void 0,get head(){return this._head??=ZU({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:!1},localePathPayload:pz(),routingOptions:{defaultLocale:i,strictCanonicals:e.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!1},getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getRouteBaseName:Om,getRouteLocalizedParams:()=>n.currentRoute.value.meta.nuxtI18nInternal??{},getLocalizedDynamicParams:v=>d.getRouteLocalizedParams()?.[v],afterSwitchLocalePath:(v,y)=>(d.getRouteLocalizedParams(),v),resolveLocalizedRouteObject:(v,y)=>hz(v)?h(v,y):o(v,y)};return d}function pz(e=ct()){const t=document.querySelector(`[data-nuxt-i18n-slp="${e._id}"]`)?.textContent;return JSON.parse(t||"{}")}async function QA(e,t){const n=vv(e),i=n.getLocale();if(t===i&&!n.initial)return t;const s={oldLocale:i,newLocale:t,initialSetup:n.initial,context:e};let o=await e.callHook("i18n:beforeLocaleSwitch",s);return o!=null,o??=s.newLocale,va(o)&&(t=o),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function mz(e,t,n){return!1}function gz(e,t){const n=bd(e),i=bv(void 0,n,e),s=vv(e),o=De(t)?t:t.path;function*l(){s.initial&&n.enabled&&!mz(n,o,i.route(o))&&(yield i.cookie(),yield i.header(),yield i.navigator(),yield n.fallbackLocale)}for(const h of l())if(h&&va(h))return h;return s.getLocale()||s.getDefaultLocale()||""}function yz(e,t,n,i){return Dt(t)?()=>t(e):()=>t??""}function vz(e,t,n){return{line:e,column:t,offset:n}}function jg(e,t,n){return{start:e,end:t}}const Pt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},bz=17;function Ed(e,t,n={}){const{domain:i,messages:s,args:o}=n,l=e,h=new SyntaxError(String(l));return h.code=e,t&&(h.location=t),h.domain=i,h}function _z(e){throw e}const dr=" ",Ez="\r",jn=` `,xz="\u2028",Sz="\u2029";function wz(e){const t=e;let n=0,i=1,s=1,o=0;const l=N=>t[N]===Ez&&t[N+1]===jn,h=N=>t[N]===jn,d=N=>t[N]===Sz,v=N=>t[N]===xz,y=N=>l(N)||h(N)||d(N)||v(N),E=()=>n,C=()=>i,T=()=>s,O=()=>o,P=N=>l(N)||d(N)||v(N)?jn:t[N],I=()=>P(n),R=()=>P(n+o);function D(){return o=0,y(n)&&(i++,s=0),l(n)&&n++,n++,s++,t[n]}function F(){return l(n+o)&&o++,o++,t[n+o]}function A(){n=0,i=1,s=1,o=0}function $(N=0){o=N}function U(){const N=n+o;for(;N!==n;)D();o=0}return{index:E,line:C,column:T,peekOffset:O,charAt:P,currentChar:I,currentPeek:R,next:D,peek:F,reset:A,resetPeek:$,skipToPeek:U}}const Fr=void 0,Tz=".",Vx="'",Cz="tokenizer";function Az(e,t={}){const n=t.location!==!1,i=wz(e),s=()=>i.index(),o=()=>vz(i.line(),i.column(),i.index()),l=o(),h=s(),d={currentType:13,offset:h,startLoc:l,endLoc:l,lastType:13,lastOffset:h,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},v=()=>d,{onError:y}=t;function E(W,X,ee,...ae){const he=v();if(X.column+=ee,X.offset+=ee,y){const Ee=n?jg(he.startLoc,X):null,Q=Ed(W,Ee,{domain:Cz,args:ae});y(Q)}}function C(W,X,ee){W.endLoc=o(),W.currentType=X;const ae={type:X};return n&&(ae.loc=jg(W.startLoc,W.endLoc)),ee!=null&&(ae.value=ee),ae}const T=W=>C(W,13);function O(W,X){return W.currentChar()===X?(W.next(),X):(E(Pt.EXPECTED_TOKEN,o(),0,X),"")}function P(W){let X="";for(;W.currentPeek()===dr||W.currentPeek()===jn;)X+=W.currentPeek(),W.peek();return X}function I(W){const X=P(W);return W.skipToPeek(),X}function R(W){if(W===Fr)return!1;const X=W.charCodeAt(0);return X>=97&&X<=122||X>=65&&X<=90||X===95}function D(W){if(W===Fr)return!1;const X=W.charCodeAt(0);return X>=48&&X<=57}function F(W,X){const{currentType:ee}=X;if(ee!==2)return!1;P(W);const ae=R(W.currentPeek());return W.resetPeek(),ae}function A(W,X){const{currentType:ee}=X;if(ee!==2)return!1;P(W);const ae=W.currentPeek()==="-"?W.peek():W.currentPeek(),he=D(ae);return W.resetPeek(),he}function $(W,X){const{currentType:ee}=X;if(ee!==2)return!1;P(W);const ae=W.currentPeek()===Vx;return W.resetPeek(),ae}function U(W,X){const{currentType:ee}=X;if(ee!==7)return!1;P(W);const ae=W.currentPeek()===".";return W.resetPeek(),ae}function N(W,X){const{currentType:ee}=X;if(ee!==8)return!1;P(W);const ae=R(W.currentPeek());return W.resetPeek(),ae}function J(W,X){const{currentType:ee}=X;if(!(ee===7||ee===11))return!1;P(W);const ae=W.currentPeek()===":";return W.resetPeek(),ae}function Y(W,X){const{currentType:ee}=X;if(ee!==9)return!1;const ae=()=>{const Ee=W.currentPeek();return Ee==="{"?R(W.peek()):Ee==="@"||Ee==="|"||Ee===":"||Ee==="."||Ee===dr||!Ee?!1:Ee===jn?(W.peek(),ae()):oe(W,!1)},he=ae();return W.resetPeek(),he}function K(W){P(W);const X=W.currentPeek()==="|";return W.resetPeek(),X}function oe(W,X=!0){const ee=(he=!1,Ee="")=>{const Q=W.currentPeek();return Q==="{"||Q==="@"||!Q?he:Q==="|"?!(Ee===dr||Ee===jn):Q===dr?(W.peek(),ee(!0,dr)):Q===jn?(W.peek(),ee(!0,jn)):!0},ae=ee();return X&&W.resetPeek(),ae}function q(W,X){const ee=W.currentChar();return ee===Fr?Fr:X(ee)?(W.next(),ee):null}function ce(W){const X=W.charCodeAt(0);return X>=97&&X<=122||X>=65&&X<=90||X>=48&&X<=57||X===95||X===36}function xe(W){return q(W,ce)}function Se(W){const X=W.charCodeAt(0);return X>=97&&X<=122||X>=65&&X<=90||X>=48&&X<=57||X===95||X===36||X===45}function pe(W){return q(W,Se)}function Ce(W){const X=W.charCodeAt(0);return X>=48&&X<=57}function be(W){return q(W,Ce)}function Pe(W){const X=W.charCodeAt(0);return X>=48&&X<=57||X>=65&&X<=70||X>=97&&X<=102}function ot(W){return q(W,Pe)}function tt(W){let X="",ee="";for(;X=be(W);)ee+=X;return ee}function Je(W){let X="";for(;;){const ee=W.currentChar();if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;if(ee===dr||ee===jn)if(oe(W))X+=ee,W.next();else{if(K(W))break;X+=ee,W.next()}else X+=ee,W.next()}return X}function Ct(W){I(W);let X="",ee="";for(;X=pe(W);)ee+=X;const ae=W.currentChar();if(ae&&ae!=="}"&&ae!==Fr&&ae!==dr&&ae!==jn&&ae!==" "){const he=Ie(W);return E(Pt.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,ee+he),ee+he}return W.currentChar()===Fr&&E(Pt.UNTERMINATED_CLOSING_BRACE,o(),0),ee}function bt(W){I(W);let X="";return W.currentChar()==="-"?(W.next(),X+=`-${tt(W)}`):X+=tt(W),W.currentChar()===Fr&&E(Pt.UNTERMINATED_CLOSING_BRACE,o(),0),X}function yt(W){return W!==Vx&&W!==jn}function xt(W){I(W),O(W,"'");let X="",ee="";for(;X=q(W,yt);)X==="\\"?ee+=me(W):ee+=X;const ae=W.currentChar();return ae===jn||ae===Fr?(E(Pt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),ae===jn&&(W.next(),O(W,"'")),ee):(O(W,"'"),ee)}function me(W){const X=W.currentChar();switch(X){case"\\":case"'":return W.next(),`\\${X}`;case"u":return Te(W,X,4);case"U":return Te(W,X,6);default:return E(Pt.UNKNOWN_ESCAPE_SEQUENCE,o(),0,X),""}}function Te(W,X,ee){O(W,X);let ae="";for(let he=0;he<ee;he++){const Ee=ot(W);if(!Ee){E(Pt.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${X}${ae}${W.currentChar()}`);break}ae+=Ee}return`\\${X}${ae}`}function Ae(W){return W!=="{"&&W!=="}"&&W!==dr&&W!==jn}function Ie(W){I(W);let X="",ee="";for(;X=q(W,Ae);)ee+=X;return ee}function We(W){let X="",ee="";for(;X=xe(W);)ee+=X;return ee}function we(W){const X=ee=>{const ae=W.currentChar();return ae==="{"||ae==="@"||ae==="|"||ae==="("||ae===")"||!ae||ae===dr?ee:(ee+=ae,W.next(),X(ee))};return X("")}function z(W){I(W);const X=O(W,"|");return I(W),X}function G(W,X){let ee=null;switch(W.currentChar()){case"{":return X.braceNest>=1&&E(Pt.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),W.next(),ee=C(X,2,"{"),I(W),X.braceNest++,ee;case"}":return X.braceNest>0&&X.currentType===2&&E(Pt.EMPTY_PLACEHOLDER,o(),0),W.next(),ee=C(X,3,"}"),X.braceNest--,X.braceNest>0&&I(W),X.inLinked&&X.braceNest===0&&(X.inLinked=!1),ee;case"@":return X.braceNest>0&&E(Pt.UNTERMINATED_CLOSING_BRACE,o(),0),ee=le(W,X)||T(X),X.braceNest=0,ee;default:{let he=!0,Ee=!0,Q=!0;if(K(W))return X.braceNest>0&&E(Pt.UNTERMINATED_CLOSING_BRACE,o(),0),ee=C(X,1,z(W)),X.braceNest=0,X.inLinked=!1,ee;if(X.braceNest>0&&(X.currentType===4||X.currentType===5||X.currentType===6))return E(Pt.UNTERMINATED_CLOSING_BRACE,o(),0),X.braceNest=0,ve(W,X);if(he=F(W,X))return ee=C(X,4,Ct(W)),I(W),ee;if(Ee=A(W,X))return ee=C(X,5,bt(W)),I(W),ee;if(Q=$(W,X))return ee=C(X,6,xt(W)),I(W),ee;if(!he&&!Ee&&!Q)return ee=C(X,12,Ie(W)),E(Pt.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,ee.value),I(W),ee;break}}return ee}function le(W,X){const{currentType:ee}=X;let ae=null;const he=W.currentChar();switch((ee===7||ee===8||ee===11||ee===9)&&(he===jn||he===dr)&&E(Pt.INVALID_LINKED_FORMAT,o(),0),he){case"@":return W.next(),ae=C(X,7,"@"),X.inLinked=!0,ae;case".":return I(W),W.next(),C(X,8,".");case":":return I(W),W.next(),C(X,9,":");default:return K(W)?(ae=C(X,1,z(W)),X.braceNest=0,X.inLinked=!1,ae):U(W,X)||J(W,X)?(I(W),le(W,X)):N(W,X)?(I(W),C(X,11,We(W))):Y(W,X)?(I(W),he==="{"?G(W,X)||ae:C(X,10,we(W))):(ee===7&&E(Pt.INVALID_LINKED_FORMAT,o(),0),X.braceNest=0,X.inLinked=!1,ve(W,X))}}function ve(W,X){let ee={type:13};if(X.braceNest>0)return G(W,X)||T(X);if(X.inLinked)return le(W,X)||T(X);switch(W.currentChar()){case"{":return G(W,X)||T(X);case"}":return E(Pt.UNBALANCED_CLOSING_BRACE,o(),0),W.next(),C(X,3,"}");case"@":return le(W,X)||T(X);default:{if(K(W))return ee=C(X,1,z(W)),X.braceNest=0,X.inLinked=!1,ee;if(oe(W))return C(X,0,Je(W));break}}return ee}function fe(){const{currentType:W,offset:X,startLoc:ee,endLoc:ae}=d;return d.lastType=W,d.lastOffset=X,d.lastStartLoc=ee,d.lastEndLoc=ae,d.offset=s(),d.startLoc=o(),i.currentChar()===Fr?C(d,13):ve(i,d)}return{nextToken:fe,currentOffset:s,currentPosition:o,context:v}}const Oz="parser",kz=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Pz(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(t||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function Lz(e={}){const t=e.location!==!1,{onError:n}=e;function i(R,D,F,A,...$){const U=R.currentPosition();if(U.offset+=A,U.column+=A,n){const N=t?jg(F,U):null,J=Ed(D,N,{domain:Oz,args:$});n(J)}}function s(R,D,F){const A={type:R};return t&&(A.start=D,A.end=D,A.loc={start:F,end:F}),A}function o(R,D,F,A){t&&(R.end=D,R.loc&&(R.loc.end=F))}function l(R,D){const F=R.context(),A=s(3,F.offset,F.startLoc);return A.value=D,o(A,R.currentOffset(),R.currentPosition()),A}function h(R,D){const F=R.context(),{lastOffset:A,lastStartLoc:$}=F,U=s(5,A,$);return U.index=parseInt(D,10),R.nextToken(),o(U,R.currentOffset(),R.currentPosition()),U}function d(R,D){const F=R.context(),{lastOffset:A,lastStartLoc:$}=F,U=s(4,A,$);return U.key=D,R.nextToken(),o(U,R.currentOffset(),R.currentPosition()),U}function v(R,D){const F=R.context(),{lastOffset:A,lastStartLoc:$}=F,U=s(9,A,$);return U.value=D.replace(kz,Pz),R.nextToken(),o(U,R.currentOffset(),R.currentPosition()),U}function y(R){const D=R.nextToken(),F=R.context(),{lastOffset:A,lastStartLoc:$}=F,U=s(8,A,$);return D.type!==11?(i(R,Pt.UNEXPECTED_EMPTY_LINKED_MODIFIER,F.lastStartLoc,0),U.value="",o(U,A,$),{nextConsumeToken:D,node:U}):(D.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,pr(D)),U.value=D.value||"",o(U,R.currentOffset(),R.currentPosition()),{node:U})}function E(R,D){const F=R.context(),A=s(7,F.offset,F.startLoc);return A.value=D,o(A,R.currentOffset(),R.currentPosition()),A}function C(R){const D=R.context(),F=s(6,D.offset,D.startLoc);let A=R.nextToken();if(A.type===8){const $=y(R);F.modifier=$.node,A=$.nextConsumeToken||R.nextToken()}switch(A.type!==9&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(A)),A=R.nextToken(),A.type===2&&(A=R.nextToken()),A.type){case 10:A.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(A)),F.key=E(R,A.value||"");break;case 4:A.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(A)),F.key=d(R,A.value||"");break;case 5:A.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(A)),F.key=h(R,A.value||"");break;case 6:A.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(A)),F.key=v(R,A.value||"");break;default:{i(R,Pt.UNEXPECTED_EMPTY_LINKED_KEY,D.lastStartLoc,0);const $=R.context(),U=s(7,$.offset,$.startLoc);return U.value="",o(U,$.offset,$.startLoc),F.key=U,o(F,$.offset,$.startLoc),{nextConsumeToken:A,node:F}}}return o(F,R.currentOffset(),R.currentPosition()),{node:F}}function T(R){const D=R.context(),F=D.currentType===1?R.currentOffset():D.offset,A=D.currentType===1?D.endLoc:D.startLoc,$=s(2,F,A);$.items=[];let U=null;do{const Y=U||R.nextToken();switch(U=null,Y.type){case 0:Y.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(Y)),$.items.push(l(R,Y.value||""));break;case 5:Y.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(Y)),$.items.push(h(R,Y.value||""));break;case 4:Y.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(Y)),$.items.push(d(R,Y.value||""));break;case 6:Y.value==null&&i(R,Pt.UNEXPECTED_LEXICAL_ANALYSIS,D.lastStartLoc,0,pr(Y)),$.items.push(v(R,Y.value||""));break;case 7:{const K=C(R);$.items.push(K.node),U=K.nextConsumeToken||null;break}}}while(D.currentType!==13&&D.currentType!==1);const N=D.currentType===1?D.lastOffset:R.currentOffset(),J=D.currentType===1?D.lastEndLoc:R.currentPosition();return o($,N,J),$}function O(R,D,F,A){const $=R.context();let U=A.items.length===0;const N=s(1,D,F);N.cases=[],N.cases.push(A);do{const J=T(R);U||(U=J.items.length===0),N.cases.push(J)}while($.currentType!==13);return U&&i(R,Pt.MUST_HAVE_MESSAGES_IN_PLURAL,F,0),o(N,R.currentOffset(),R.currentPosition()),N}function P(R){const D=R.context(),{offset:F,startLoc:A}=D,$=T(R);return D.currentType===13?$:O(R,F,A,$)}function I(R){const D=Az(R,un({},e)),F=D.context(),A=s(0,F.offset,F.startLoc);return t&&A.loc&&(A.loc.source=R),A.body=P(D),e.onCacheKey&&(A.cacheKey=e.onCacheKey(R)),F.currentType!==13&&i(D,Pt.UNEXPECTED_LEXICAL_ANALYSIS,F.lastStartLoc,0,R[F.offset]||""),o(A,D.currentOffset(),D.currentPosition()),A}return{parse:I}}function pr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Rz(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Wx(e,t){for(let n=0;n<e.length;n++)_v(e[n],t)}function _v(e,t){switch(e.type){case 1:Wx(e.cases,t),t.helper("plural");break;case 2:Wx(e.items,t);break;case 6:{_v(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Iz(e,t={}){const n=Rz(e);n.helper("normalize"),e.body&&_v(e.body,n);const i=n.context();e.helpers=Array.from(i.helpers)}function Nz(e){const t=e.body;return t.type===2?zx(t):t.cases.forEach(n=>zx(n)),e}function zx(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const i=e.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;t.push(i.value)}if(t.length===e.items.length){e.static=gv(t);for(let n=0;n<e.items.length;n++){const i=e.items[n];(i.type===3||i.type===9)&&delete i.value}}}}function ca(e){switch(e.t=e.type,e.type){case 0:{const t=e;ca(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let i=0;i<n.length;i++)ca(n[i]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let i=0;i<n.length;i++)ca(n[i]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ca(t.key),t.k=t.key,delete t.key,t.modifier&&(ca(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Mz(e,t){const{filename:n,breakLineCode:i,needIndent:s}=t,o=t.location!==!1,l={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0};o&&e.loc&&(l.source=e.loc.source);const h=()=>l;function d(P,I){l.code+=P}function v(P,I=!0){const R=I?i:"";d(s?R+" ".repeat(P):R)}function y(P=!0){const I=++l.indentLevel;P&&v(I)}function E(P=!0){const I=--l.indentLevel;P&&v(I)}function C(){v(l.indentLevel)}return{context:h,push:d,indent:y,deindent:E,newline:C,helper:P=>`_${P}`,needIndent:()=>l.needIndent}}function Dz(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),La(e,t.key),t.modifier?(e.push(", "),La(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Fz(e,t){const{helper:n,needIndent:i}=e;e.push(`${n("normalize")}([`),e.indent(i());const s=t.items.length;for(let o=0;o<s&&(La(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(i()),e.push("])")}function Bz(e,t){const{helper:n,needIndent:i}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(i());const s=t.cases.length;for(let o=0;o<s&&(La(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(i()),e.push("])")}}function Hz(e,t){t.body?La(e,t.body):e.push("null")}function La(e,t){const{helper:n}=e;switch(t.type){case 0:Hz(e,t);break;case 1:Bz(e,t);break;case 2:Fz(e,t);break;case 6:Dz(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Uz=(e,t={})=>{const n=De(t.mode)?t.mode:"normal",i=De(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],h=Mz(e,{filename:i,breakLineCode:s,needIndent:o});h.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),h.indent(o),l.length>0&&(h.push(`const { ${gv(l.map(y=>`${y}: _${y}`),", ")} } = ctx`),h.newline()),h.push("return "),La(h,e),h.deindent(o),h.push("}"),delete e.helpers;const{code:d,map:v}=h.context();return{ast:e,code:d,map:v?v.toJSON():void 0}};function $z(e,t={}){const n=un({},t),i=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,h=Lz(n).parse(e);return i?(o&&Nz(h),s&&ca(h),{ast:h,code:""}):(Iz(h,n),Uz(h,n))}function ir(e){return St(e)&&Ev(e)===0&&(er(e,"b")||er(e,"body"))}const eO=["b","body"];function jz(e){return Us(e,eO)}const tO=["c","cases"];function Vz(e){return Us(e,tO,[])}const nO=["s","static"];function Wz(e){return Us(e,nO)}const iO=["i","items"];function zz(e){return Us(e,iO,[])}const rO=["t","type"];function Ev(e){return Us(e,rO)}const sO=["v","value"];function hh(e,t){const n=Us(e,sO);if(n!=null)return n;throw gc(t)}const oO=["m","modifier"];function Xz(e){return Us(e,oO)}const aO=["k","key"];function Gz(e){const t=Us(e,aO);if(t)return t;throw gc(6)}function Us(e,t,n){for(let i=0;i<t.length;i++){const s=t[i];if(er(e,s)&&e[s]!=null)return e[s]}return n}const lO=[...eO,...tO,...nO,...iO,...aO,...oO,...sO,...rO];function gc(e){return new Error(`unhandled node type: ${e}`)}function km(e){return n=>qz(n,e)}function qz(e,t){const n=jz(t);if(n==null)throw gc(0);if(Ev(n)===1){const o=Vz(n);return e.plural(o.reduce((l,h)=>[...l,Xx(e,h)],[]))}else return Xx(e,n)}function Xx(e,t){const n=Wz(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const i=zz(t).reduce((s,o)=>[...s,Vg(e,o)],[]);return e.normalize(i)}}function Vg(e,t){const n=Ev(t);switch(n){case 3:return hh(t,n);case 9:return hh(t,n);case 4:{const i=t;if(er(i,"k")&&i.k)return e.interpolate(e.named(i.k));if(er(i,"key")&&i.key)return e.interpolate(e.named(i.key));throw gc(n)}case 5:{const i=t;if(er(i,"i")&&yn(i.i))return e.interpolate(e.list(i.i));if(er(i,"index")&&yn(i.index))return e.interpolate(e.list(i.index));throw gc(n)}case 6:{const i=t,s=Xz(i),o=Gz(i);return e.linked(Vg(e,o),s?Vg(e,s):void 0,e.type)}case 7:return hh(t,n);case 8:return hh(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Yz=e=>e;let fh=Rt();function Kz(e,t={}){let n=!1;const i=t.onError||_z;return t.onError=s=>{n=!0,i(s)},{...$z(e,t),detectError:n}}function Jz(e,t){if(De(e)){Kt(t.warnHtmlMessage)&&t.warnHtmlMessage;const i=(t.onCacheKey||Yz)(e),s=fh[i];if(s)return s;const{ast:o,detectError:l}=Kz(e,{...t,location:!1,jit:!0}),h=km(o);return l?h:fh[i]=h}else{const n=e.cacheKey;if(n){const i=fh[n];return i||(fh[n]=km(e))}else return km(e)}}const Xr={INVALID_ARGUMENT:bz,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Zz=24;function Gr(e){return Ed(e,null,void 0)}function xv(e,t){return t.locale!=null?Gx(t.locale):Gx(e.locale)}let Pm;function Gx(e){if(De(e))return e;if(Dt(e)){if(e.resolvedOnce&&Pm!=null)return Pm;if(e.constructor.name==="Function"){const t=e();if(b4(t))throw Gr(Xr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pm=t}else throw Gr(Xr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Gr(Xr.NOT_SUPPORT_LOCALE_TYPE)}function Qz(e,t,n){return[...new Set([n,...Qt(t)?t:St(t)?Object.keys(t):De(t)?[t]:[n]])]}function cO(e,t,n){const i=De(n)?n:Sf,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(i);if(!o){o=[];let l=[n];for(;Qt(l);)l=qx(o,l,t);const h=Qt(t)||!Et(t)?t:t.default?t.default:null;l=De(h)?[h]:h,Qt(l)&&qx(o,l,!1),s.__localeChainCache.set(i,o)}return o}function qx(e,t,n){let i=!0;for(let s=0;s<t.length&&Kt(i);s++){const o=t[s];De(o)&&(i=e5(e,t[s],n))}return i}function e5(e,t,n){let i;const s=t.split("-");do{const o=s.join("-");i=t5(e,o,n),s.splice(-1,1)}while(s.length&&i===!0);return i}function t5(e,t,n){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Qt(n)||Et(n))&&n[s]&&(i=n[s])}return i}const $s=[];$s[0]={w:[0],i:[3,0],"[":[4],o:[7]};$s[1]={w:[1],".":[2],"[":[4],o:[7]};$s[2]={w:[2],i:[3,0],0:[3,0]};$s[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};$s[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};$s[5]={"'":[4,0],o:8,l:[5,0]};$s[6]={'"':[4,0],o:8,l:[6,0]};const n5=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function i5(e){return n5.test(e)}function r5(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function s5(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function o5(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:i5(t)?r5(t):"*"+t}function a5(e){const t=[];let n=-1,i=0,s=0,o,l,h,d,v,y,E;const C=[];C[0]=()=>{l===void 0?l=h:l+=h},C[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},C[2]=()=>{C[0](),s++},C[3]=()=>{if(s>0)s--,i=4,C[0]();else{if(s=0,l===void 0||(l=o5(l),l===!1))return!1;C[1]()}};function T(){const O=e[n+1];if(i===5&&O==="'"||i===6&&O==='"')return n++,h="\\"+O,C[0](),!0}for(;i!==null;)if(n++,o=e[n],!(o==="\\"&&T())){if(d=s5(o),E=$s[i],v=E[d]||E.l||8,v===8||(i=v[0],v[1]!==void 0&&(y=C[v[1]],y&&(h=o,y()===!1))))return;if(i===7)return t}}const Yx=new Map;function l5(e,t){return St(e)?e[t]:null}function c5(e,t){if(!St(e))return null;let n=Yx.get(t);if(n||(n=a5(t),n&&Yx.set(t,n)),!n)return null;const i=n.length;let s=e,o=0;for(;o<i;){const l=n[o];if(lO.includes(l)&&ir(s))return null;const h=s[l];if(h===void 0||Dt(s))return null;s=h,o++}return s}const u5="11.2.8",xd=-1,Sf="en-US",Kx="",Jx=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function h5(){return{upper:(e,t)=>t==="text"&&De(e)?e.toUpperCase():t==="vnode"&&St(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&De(e)?e.toLowerCase():t==="vnode"&&St(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&De(e)?Jx(e):t==="vnode"&&St(e)&&"__v_isVNode"in e?Jx(e.children):e}}let uO;function f5(e){uO=e}let hO;function d5(e){hO=e}let fO;function p5(e){fO=e}let dO=null;const Zx=e=>{dO=e},m5=()=>dO;let Qx=0;function g5(e={}){const t=Dt(e.onWarn)?e.onWarn:f4,n=De(e.version)?e.version:u5,i=De(e.locale)||Dt(e.locale)?e.locale:Sf,s=Dt(i)?Sf:i,o=Qt(e.fallbackLocale)||Et(e.fallbackLocale)||De(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,l=Et(e.messages)?e.messages:Lm(s),h=Et(e.datetimeFormats)?e.datetimeFormats:Lm(s),d=Et(e.numberFormats)?e.numberFormats:Lm(s),v=un(Rt(),e.modifiers,h5()),y=e.pluralRules||Rt(),E=Dt(e.missing)?e.missing:null,C=Kt(e.missingWarn)||Ef(e.missingWarn)?e.missingWarn:!0,T=Kt(e.fallbackWarn)||Ef(e.fallbackWarn)?e.fallbackWarn:!0,O=!!e.fallbackFormat,P=!!e.unresolving,I=Dt(e.postTranslation)?e.postTranslation:null,R=Et(e.processor)?e.processor:null,D=Kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,F=!!e.escapeParameter,A=Dt(e.messageCompiler)?e.messageCompiler:uO,$=Dt(e.messageResolver)?e.messageResolver:hO||l5,U=Dt(e.localeFallbacker)?e.localeFallbacker:fO||Qz,N=St(e.fallbackContext)?e.fallbackContext:void 0,J=e,Y=St(J.__datetimeFormatters)?J.__datetimeFormatters:new Map,K=St(J.__numberFormatters)?J.__numberFormatters:new Map,oe=St(J.__meta)?J.__meta:{};Qx++;const q={version:n,cid:Qx,locale:i,fallbackLocale:o,messages:l,modifiers:v,pluralRules:y,missing:E,missingWarn:C,fallbackWarn:T,fallbackFormat:O,unresolving:P,postTranslation:I,processor:R,warnHtmlMessage:D,escapeParameter:F,messageCompiler:A,messageResolver:$,localeFallbacker:U,fallbackContext:N,onWarn:t,__meta:oe};return q.datetimeFormats=h,q.numberFormats=d,q.__datetimeFormatters=Y,q.__numberFormatters=K,q}const Lm=e=>({[e]:Rt()});function Sv(e,t,n,i,s){const{missing:o,onWarn:l}=e;if(o!==null){const h=o(e,n,t,s);return De(h)?h:t}else return t}function Ll(e,t,n){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function y5(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function v5(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let i=n+1;i<t.length;i++)if(y5(e,t[i]))return!0;return!1}function eS(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__datetimeFormatters:h}=e,[d,v,y,E]=Wg(...t),C=Kt(y.missingWarn)?y.missingWarn:e.missingWarn;Kt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const T=!!y.part,O=xv(e,y),P=l(e,s,O);if(!De(d)||d==="")return new Intl.DateTimeFormat(O,E).format(v);let I={},R,D=null;const F="datetime format";for(let U=0;U<P.length&&(R=P[U],I=n[R]||{},D=I[d],!Et(D));U++)Sv(e,d,R,C,F);if(!Et(D)||!De(R))return i?xd:d;let A=`${R}__${d}`;gd(E)||(A=`${A}__${JSON.stringify(E)}`);let $=h.get(A);return $||($=new Intl.DateTimeFormat(R,un({},D,E)),h.set(A,$)),T?$.formatToParts(v):$.format(v)}const pO=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Wg(...e){const[t,n,i,s]=e,o=Rt();let l=Rt(),h;if(De(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Gr(Xr.INVALID_ISO_DATE_ARGUMENT);const v=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();h=new Date(v);try{h.toISOString()}catch{throw Gr(Xr.INVALID_ISO_DATE_ARGUMENT)}}else if(m4(t)){if(isNaN(t.getTime()))throw Gr(Xr.INVALID_DATE_ARGUMENT);h=t}else if(yn(t))h=t;else throw Gr(Xr.INVALID_ARGUMENT);return De(n)?o.key=n:Et(n)&&Object.keys(n).forEach(d=>{pO.includes(d)?l[d]=n[d]:o[d]=n[d]}),De(i)?o.locale=i:Et(i)&&(l=i),Et(s)&&(l=s),[o.key||"",h,o,l]}function tS(e,t,n){const i=e;for(const s in n){const o=`${t}__${s}`;i.__datetimeFormatters.has(o)&&i.__datetimeFormatters.delete(o)}}function nS(e,...t){const{numberFormats:n,unresolving:i,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__numberFormatters:h}=e,[d,v,y,E]=zg(...t),C=Kt(y.missingWarn)?y.missingWarn:e.missingWarn;Kt(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const T=!!y.part,O=xv(e,y),P=l(e,s,O);if(!De(d)||d==="")return new Intl.NumberFormat(O,E).format(v);let I={},R,D=null;const F="number format";for(let U=0;U<P.length&&(R=P[U],I=n[R]||{},D=I[d],!Et(D));U++)Sv(e,d,R,C,F);if(!Et(D)||!De(R))return i?xd:d;let A=`${R}__${d}`;gd(E)||(A=`${A}__${JSON.stringify(E)}`);let $=h.get(A);return $||($=new Intl.NumberFormat(R,un({},D,E)),h.set(A,$)),T?$.formatToParts(v):$.format(v)}const mO=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zg(...e){const[t,n,i,s]=e,o=Rt();let l=Rt();if(!yn(t))throw Gr(Xr.INVALID_ARGUMENT);const h=t;return De(n)?o.key=n:Et(n)&&Object.keys(n).forEach(d=>{mO.includes(d)?l[d]=n[d]:o[d]=n[d]}),De(i)?o.locale=i:Et(i)&&(l=i),Et(s)&&(l=s),[o.key||"",h,o,l]}function iS(e,t,n){const i=e;for(const s in n){const o=`${t}__${s}`;i.__numberFormatters.has(o)&&i.__numberFormatters.delete(o)}}const b5=e=>e,_5=e=>"",E5="text",x5=e=>e.length===0?"":gv(e),S5=_4;function rS(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function w5(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function T5(e,t){t.count||(t.count=e),t.n||(t.n=e)}function C5(e={}){const t=e.locale,n=w5(e),i=St(e.pluralRules)&&De(t)&&Dt(e.pluralRules[t])?e.pluralRules[t]:rS,s=St(e.pluralRules)&&De(t)&&Dt(e.pluralRules[t])?rS:void 0,o=R=>R[i(n,R.length,s)],l=e.list||[],h=R=>l[R],d=e.named||Rt();yn(e.pluralIndex)&&T5(n,d);const v=R=>d[R];function y(R,D){const F=Dt(e.messages)?e.messages(R,!!D):St(e.messages)?e.messages[R]:!1;return F||(e.parent?e.parent.message(R):_5)}const E=R=>e.modifiers?e.modifiers[R]:b5,C=Et(e.processor)&&Dt(e.processor.normalize)?e.processor.normalize:x5,T=Et(e.processor)&&Dt(e.processor.interpolate)?e.processor.interpolate:S5,O=Et(e.processor)&&De(e.processor.type)?e.processor.type:E5,I={list:h,named:v,plural:o,linked:(R,...D)=>{const[F,A]=D;let $="text",U="";D.length===1?St(F)?(U=F.modifier||U,$=F.type||$):De(F)&&(U=F||U):D.length===2&&(De(F)&&(U=F||U),De(A)&&($=A||$));const N=y(R,!0)(I),J=$==="vnode"&&Qt(N)&&U?N[0]:N;return U?E(U)(J,$):J},message:y,type:O,interpolate:T,normalize:C,values:un(Rt(),l,d)};return I}const sS=()=>"",Kr=e=>Dt(e);function oS(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:s,messageCompiler:o,fallbackLocale:l,messages:h}=e,[d,v]=Xg(...t),y=Kt(v.missingWarn)?v.missingWarn:e.missingWarn,E=Kt(v.fallbackWarn)?v.fallbackWarn:e.fallbackWarn,C=Kt(v.escapeParameter)?v.escapeParameter:e.escapeParameter,T=!!v.resolvedMessage,O=De(v.default)||Kt(v.default)?Kt(v.default)?o?d:()=>d:v.default:n?o?d:()=>d:null,P=n||O!=null&&(De(O)||Dt(O)),I=xv(e,v);C&&A5(v);let[R,D,F]=T?[d,I,h[I]||Rt()]:gO(e,d,I,l,E,y),A=R,$=d;if(!T&&!(De(A)||ir(A)||Kr(A))&&P&&(A=O,$=A),!T&&(!(De(A)||ir(A)||Kr(A))||!De(D)))return s?xd:d;let U=!1;const N=()=>{U=!0},J=Kr(A)?A:yO(e,d,D,A,$,N);if(U)return A;const Y=P5(e,D,F,v),K=C5(Y),oe=O5(e,J,K);let q=i?i(oe,d):oe;return C&&De(q)&&(q=y4(q)),q}function A5(e){Qt(e.list)?e.list=e.list.map(t=>De(t)?Hx(t):t):St(e.named)&&Object.keys(e.named).forEach(t=>{De(e.named[t])&&(e.named[t]=Hx(e.named[t]))})}function gO(e,t,n,i,s,o){const{messages:l,onWarn:h,messageResolver:d,localeFallbacker:v}=e,y=v(e,i,n);let E=Rt(),C,T=null;const O="translate";for(let P=0;P<y.length&&(C=y[P],E=l[C]||Rt(),(T=d(E,t))===null&&(T=E[t]),!(De(T)||ir(T)||Kr(T)));P++)if(!v5(C,y)){const I=Sv(e,t,C,o,O);I!==t&&(T=I)}return[T,C,E]}function yO(e,t,n,i,s,o){const{messageCompiler:l,warnHtmlMessage:h}=e;if(Kr(i)){const v=i;return v.locale=v.locale||n,v.key=v.key||t,v}if(l==null){const v=(()=>i);return v.locale=n,v.key=t,v}const d=l(i,k5(e,n,s,i,h,o));return d.locale=n,d.key=t,d.source=i,d}function O5(e,t,n){return t(n)}function Xg(...e){const[t,n,i]=e,s=Rt();if(!De(t)&&!yn(t)&&!Kr(t)&&!ir(t))throw Gr(Xr.INVALID_ARGUMENT);const o=yn(t)?String(t):(Kr(t),t);return yn(n)?s.plural=n:De(n)?s.default=n:Et(n)&&!gd(n)?s.named=n:Qt(n)&&(s.list=n),yn(i)?s.plural=i:De(i)?s.default=i:Et(i)&&un(s,i),[o,s]}function k5(e,t,n,i,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:l=>{throw o&&o(l),l},onCacheKey:l=>d4(t,n,l)}}function P5(e,t,n,i){const{modifiers:s,pluralRules:o,messageResolver:l,fallbackLocale:h,fallbackWarn:d,missingWarn:v,fallbackContext:y}=e,C={locale:t,modifiers:s,pluralRules:o,messages:(T,O)=>{let P=l(n,T);if(P==null&&(y||O)){const[,,I]=gO(y||e,T,t,h,d,v);P=l(I,T)}if(De(P)||ir(P)){let I=!1;const D=yO(e,T,t,P,T,()=>{I=!0});return I?sS:D}else return Kr(P)?P:sS}};return e.processor&&(C.processor=e.processor),i.list&&(C.list=i.list),i.named&&(C.named=i.named),yn(i.plural)&&(C.pluralIndex=i.plural),C}const L5="11.2.8",Oi={UNEXPECTED_RETURN_TYPE:Zz,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Bi(e,...t){return Ed(e,null,void 0)}const Gg=Pr("__translateVNode"),qg=Pr("__datetimeParts"),Yg=Pr("__numberParts"),wf=Pr("__enableEmitter"),aS=Pr("__disableEmitter"),R5=Pr("__setPluralRules"),I5=Pr("__injectWithOption"),Kg=Pr("__dispose");function yc(e){if(!St(e)||ir(e))return e;for(const t in e)if(er(e,t))if(!t.includes("."))St(e[t])&&yc(e[t]);else{const n=t.split("."),i=n.length-1;let s=e,o=!1;for(let l=0;l<i;l++){if(n[l]==="__proto__")throw new Error(`unsafe key: ${n[l]}`);if(n[l]in s||(s[n[l]]=Rt()),!St(s[n[l]])){o=!0;break}s=s[n[l]]}if(o||(ir(s)?lO.includes(n[i])||delete e[t]:(s[n[i]]=e[t],delete e[t])),!ir(s)){const l=s[n[i]];St(l)&&yc(l)}}return e}function vO(e,t){const{messages:n,__i18n:i,messageResolver:s,flatJson:o}=t,l=Et(n)?n:Qt(i)?Rt():{[e]:Rt()};if(Qt(i)&&i.forEach(h=>{if("locale"in h&&"resource"in h){const{locale:d,resource:v}=h;d?(l[d]=l[d]||Rt(),ya(v,l[d])):ya(v,l)}else De(h)&&ya(JSON.parse(h),l)}),s==null&&o)for(const h in l)er(l,h)&&yc(l[h]);return l}function N5(e){return e.type}function M5(e,t,n){let i=St(t.messages)?t.messages:Rt();"__i18nGlobal"in n&&(i=vO(e.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const s=Object.keys(i);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,i[o])});{if(St(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(St(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function lS(e){return Ut(xr,null,e,0)}function bO(){return Sn()}const cS=()=>[],D5=()=>!1;let uS=0;function hS(e){return((t,n,i,s)=>e(n,i,bO()||void 0,s))}function _O(e={}){const{__root:t,__injectWithOption:n}=e,i=t===void 0,s=e.flatJson,o=_f?gt:or;let l=Kt(e.inheritLocale)?e.inheritLocale:!0;const h=o(t&&l?t.locale.value:De(e.locale)?e.locale:Sf),d=o(t&&l?t.fallbackLocale.value:De(e.fallbackLocale)||Qt(e.fallbackLocale)||Et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:h.value),v=o(vO(h.value,e)),y=o(Et(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),E=o(Et(e.numberFormats)?e.numberFormats:{[h.value]:{}});let C=t?t.missingWarn:Kt(e.missingWarn)||Ef(e.missingWarn)?e.missingWarn:!0,T=t?t.fallbackWarn:Kt(e.fallbackWarn)||Ef(e.fallbackWarn)?e.fallbackWarn:!0,O=t?t.fallbackRoot:Kt(e.fallbackRoot)?e.fallbackRoot:!0,P=!!e.fallbackFormat,I=Dt(e.missing)?e.missing:null,R=Dt(e.missing)?hS(e.missing):null,D=Dt(e.postTranslation)?e.postTranslation:null,F=t?t.warnHtmlMessage:Kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const $=t?t.modifiers:Et(e.modifiers)?e.modifiers:{};let U=e.pluralRules||t&&t.pluralRules,N;N=(()=>{i&&Zx(null);const Q={version:L5,locale:h.value,fallbackLocale:d.value,messages:v.value,modifiers:$,pluralRules:U,missing:R===null?void 0:R,missingWarn:C,fallbackWarn:T,fallbackFormat:P,unresolving:!0,postTranslation:D===null?void 0:D,warnHtmlMessage:F,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Q.datetimeFormats=y.value,Q.numberFormats=E.value,Q.__datetimeFormatters=Et(N)?N.__datetimeFormatters:void 0,Q.__numberFormatters=Et(N)?N.__numberFormatters:void 0;const se=g5(Q);return i&&Zx(se),se})(),Ll(N,h.value,d.value);function Y(){return[h.value,d.value,v.value,y.value,E.value]}const K=Bt({get:()=>h.value,set:Q=>{N.locale=Q,h.value=Q}}),oe=Bt({get:()=>d.value,set:Q=>{N.fallbackLocale=Q,d.value=Q,Ll(N,h.value,Q)}}),q=Bt(()=>v.value),ce=Bt(()=>y.value),xe=Bt(()=>E.value);function Se(){return Dt(D)?D:null}function pe(Q){D=Q,N.postTranslation=Q}function Ce(){return I}function be(Q){Q!==null&&(R=hS(Q)),I=Q,N.missing=R}const Pe=(Q,se,Oe,Ue,Qe,it)=>{Y();let kt;try{i||(N.fallbackContext=t?m5():void 0),kt=Q(N)}finally{i||(N.fallbackContext=void 0)}if(Oe!=="translate exists"&&yn(kt)&&kt===xd||Oe==="translate exists"&&!kt){const[en,Un]=se();return t&&O?Ue(t):Qe(en)}else{if(it(kt))return kt;throw Bi(Oi.UNEXPECTED_RETURN_TYPE)}};function ot(...Q){return Pe(se=>Reflect.apply(oS,null,[se,...Q]),()=>Xg(...Q),"translate",se=>Reflect.apply(se.t,se,[...Q]),se=>se,se=>De(se))}function tt(...Q){const[se,Oe,Ue]=Q;if(Ue&&!St(Ue))throw Bi(Oi.INVALID_ARGUMENT);return ot(se,Oe,un({resolvedMessage:!0},Ue||{}))}function Je(...Q){return Pe(se=>Reflect.apply(eS,null,[se,...Q]),()=>Wg(...Q),"datetime format",se=>Reflect.apply(se.d,se,[...Q]),()=>Kx,se=>De(se)||Qt(se))}function Ct(...Q){return Pe(se=>Reflect.apply(nS,null,[se,...Q]),()=>zg(...Q),"number format",se=>Reflect.apply(se.n,se,[...Q]),()=>Kx,se=>De(se)||Qt(se))}function bt(Q){return Q.map(se=>De(se)||yn(se)||Kt(se)?lS(String(se)):se)}const xt={normalize:bt,interpolate:Q=>Q,type:"vnode"};function me(...Q){return Pe(se=>{let Oe;const Ue=se;try{Ue.processor=xt,Oe=Reflect.apply(oS,null,[Ue,...Q])}finally{Ue.processor=null}return Oe},()=>Xg(...Q),"translate",se=>se[Gg](...Q),se=>[lS(se)],se=>Qt(se))}function Te(...Q){return Pe(se=>Reflect.apply(nS,null,[se,...Q]),()=>zg(...Q),"number format",se=>se[Yg](...Q),cS,se=>De(se)||Qt(se))}function Ae(...Q){return Pe(se=>Reflect.apply(eS,null,[se,...Q]),()=>Wg(...Q),"datetime format",se=>se[qg](...Q),cS,se=>De(se)||Qt(se))}function Ie(Q){U=Q,N.pluralRules=U}function We(Q,se){return Pe(()=>{if(!Q)return!1;const Oe=De(se)?se:h.value,Ue=G(Oe),Qe=N.messageResolver(Ue,Q);return ir(Qe)||Kr(Qe)||De(Qe)},()=>[Q],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[Q,se]),D5,Oe=>Kt(Oe))}function we(Q){let se=null;const Oe=cO(N,d.value,h.value);for(let Ue=0;Ue<Oe.length;Ue++){const Qe=v.value[Oe[Ue]]||{},it=N.messageResolver(Qe,Q);if(it!=null){se=it;break}}return se}function z(Q){const se=we(Q);return se??(t?t.tm(Q)||{}:{})}function G(Q){return v.value[Q]||{}}function le(Q,se){if(s){const Oe={[Q]:se};for(const Ue in Oe)er(Oe,Ue)&&yc(Oe[Ue]);se=Oe[Q]}v.value[Q]=se,N.messages=v.value}function ve(Q,se){v.value[Q]=v.value[Q]||{};const Oe={[Q]:se};if(s)for(const Ue in Oe)er(Oe,Ue)&&yc(Oe[Ue]);se=Oe[Q],ya(se,v.value[Q]),N.messages=v.value}function fe(Q){return y.value[Q]||{}}function W(Q,se){y.value[Q]=se,N.datetimeFormats=y.value,tS(N,Q,se)}function X(Q,se){y.value[Q]=un(y.value[Q]||{},se),N.datetimeFormats=y.value,tS(N,Q,se)}function ee(Q){return E.value[Q]||{}}function ae(Q,se){E.value[Q]=se,N.numberFormats=E.value,iS(N,Q,se)}function he(Q,se){E.value[Q]=un(E.value[Q]||{},se),N.numberFormats=E.value,iS(N,Q,se)}uS++,t&&_f&&(an(t.locale,Q=>{l&&(h.value=Q,N.locale=Q,Ll(N,h.value,d.value))}),an(t.fallbackLocale,Q=>{l&&(d.value=Q,N.fallbackLocale=Q,Ll(N,h.value,d.value))}));const Ee={id:uS,locale:K,fallbackLocale:oe,get inheritLocale(){return l},set inheritLocale(Q){l=Q,Q&&t&&(h.value=t.locale.value,d.value=t.fallbackLocale.value,Ll(N,h.value,d.value))},get availableLocales(){return Object.keys(v.value).sort()},messages:q,get modifiers(){return $},get pluralRules(){return U||{}},get isGlobal(){return i},get missingWarn(){return C},set missingWarn(Q){C=Q,N.missingWarn=C},get fallbackWarn(){return T},set fallbackWarn(Q){T=Q,N.fallbackWarn=T},get fallbackRoot(){return O},set fallbackRoot(Q){O=Q},get fallbackFormat(){return P},set fallbackFormat(Q){P=Q,N.fallbackFormat=P},get warnHtmlMessage(){return F},set warnHtmlMessage(Q){F=Q,N.warnHtmlMessage=Q},get escapeParameter(){return A},set escapeParameter(Q){A=Q,N.escapeParameter=Q},t:ot,getLocaleMessage:G,setLocaleMessage:le,mergeLocaleMessage:ve,getPostTranslationHandler:Se,setPostTranslationHandler:pe,getMissingHandler:Ce,setMissingHandler:be,[R5]:Ie};return Ee.datetimeFormats=ce,Ee.numberFormats=xe,Ee.rt=tt,Ee.te=We,Ee.tm=z,Ee.d=Je,Ee.n=Ct,Ee.getDateTimeFormat=fe,Ee.setDateTimeFormat=W,Ee.mergeDateTimeFormat=X,Ee.getNumberFormat=ee,Ee.setNumberFormat=ae,Ee.mergeNumberFormat=he,Ee[I5]=n,Ee[Gg]=me,Ee[qg]=Ae,Ee[Yg]=Te,Ee}const EO="vue-i18n: composer properties",Rm={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},F5={"vue-i18n-resource-inspector":"Search for scopes ..."},B5={"vue-i18n-timeline":16764185};let Jg;async function H5(e,t){return new Promise((n,i)=>{try{od({id:"vue-devtools-plugin-vue-i18n",label:Rm["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[EO],app:e},s=>{Jg=s,s.on.visitComponentTree(({componentInstance:l,treeNode:h})=>{U5(l,h,t)}),s.on.inspectComponent(({componentInstance:l,instanceData:h})=>{l.__VUE_I18N__&&h&&(t.mode==="legacy"?l.__VUE_I18N__!==t.global.__composer&&fS(h,l.__VUE_I18N__):fS(h,l.__VUE_I18N__))}),s.addInspector({id:"vue-i18n-resource-inspector",label:Rm["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:F5["vue-i18n-resource-inspector"]}),s.on.getInspectorTree(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&z5(l,t)});const o=new Map;s.on.getInspectorState(async l=>{if(l.app===e&&l.inspectorId==="vue-i18n-resource-inspector")if(s.unhighlightElement(),G5(l,t),l.nodeId==="global"){if(!o.has(l.app)){const[h]=await s.getComponentInstances(l.app);o.set(l.app,h)}s.highlightElement(o.get(l.app))}else{const h=X5(l.nodeId,t);h&&s.highlightElement(h)}}),s.on.editInspectorState(l=>{l.app===e&&l.inspectorId==="vue-i18n-resource-inspector"&&Y5(l,t)}),s.addTimelineLayer({id:"vue-i18n-timeline",label:Rm["vue-i18n-timeline"],color:B5["vue-i18n-timeline"]}),n(!0)})}catch(s){console.error(s),i(!1)}})}function xO(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function U5(e,t,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==i){const s={label:`i18n (${xO(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(s)}}function fS(e,t){const n=EO;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:wv(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function wv(e){const t={};return Object.keys(e).forEach(n=>{const i=e[n];Dt(i)&&"source"in i?t[n]=W5(i):ir(i)&&i.loc&&i.loc.source?t[n]=i.loc.source:St(i)?t[n]=wv(i):t[n]=i}),t}const $5={"<":"<",">":">",'"':""","&":"&"};function j5(e){return e.replace(/[<>"&]/g,V5)}function V5(e){return $5[e]||e}function W5(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${j5(e.source)}")`:"(?)"}`}}}function z5(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[i,s]of t.__instances){const o=t.mode==="composition"?s:s.__composer;n!==o&&e.rootNodes.push({id:o.id.toString(),label:`${xO(i)} Scope`})}}function X5(e,t){let n=null;if(e!=="global"){for(const[i,s]of t.__instances.entries())if(s.id.toString()===e){n=i;break}}return n}function SO(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(i=>i.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function G5(e,t){const n=SO(e.nodeId,t);return n&&(e.state=q5(n)),null}function q5(e){const t={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=i;const s="Locale messages info",o=[{type:s,key:"messages",editable:!1,value:wv(e.messages.value)}];t[s]=o;{const l="Datetime formats info",h=[{type:l,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[l]=h;const d="Datetime formats info",v=[{type:d,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[d]=v}return t}function Zg(e,t){if(Jg){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Jg.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Y5(e,t){const n=SO(e.nodeId,t);if(n){const[i]=e.path;i==="locale"&&De(e.state.value)?n.locale.value=e.state.value:i==="fallbackLocale"&&(De(e.state.value)||Qt(e.state.value)||St(e.state.value))?n.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Kt(e.state.value)&&(n.inheritLocale=e.state.value)}}const Tv={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function K5({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((i,s)=>[...i,...s.type===Zt?s.children:[s]],[]):t.reduce((n,i)=>{const s=e[i];return s&&(n[i]=s()),n},Rt())}function wO(){return Zt}const J5=Qn({name:"i18n-t",props:un({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},Tv),setup(e,t){const{slots:n,attrs:i}=t,s=e.i18n||Sd({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(E=>E[0]!=="_"),l=Rt();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=De(e.plural)?+e.plural:e.plural);const h=K5(t,o),d=s[Gg](e.keypath,h,l),v=un(Rt(),i),y=De(e.tag)||St(e.tag)?e.tag:wO();return $t(y,v,d)}}}),dS=J5;function Z5(e){return Qt(e)&&!De(e[0])}function TO(e,t,n,i){const{slots:s,attrs:o}=t;return()=>{const l={part:!0};let h=Rt();e.locale&&(l.locale=e.locale),De(e.format)?l.key=e.format:St(e.format)&&(De(e.format.key)&&(l.key=e.format.key),h=Object.keys(e.format).reduce((C,T)=>n.includes(T)?un(Rt(),C,{[T]:e.format[T]}):C,Rt()));const d=i(e.value,l,h);let v=[l.key];Qt(d)?v=d.map((C,T)=>{const O=s[C.type],P=O?O({[C.type]:C.value,index:T,parts:d}):[C.value];return Z5(P)&&(P[0].key=`${C.type}-${T}`),P}):De(d)&&(v=[d]);const y=un(Rt(),o),E=De(e.tag)||St(e.tag)?e.tag:wO();return $t(E,y,v)}}const Q5=Qn({name:"i18n-n",props:un({value:{type:Number,required:!0},format:{type:[String,Object]}},Tv),setup(e,t){const n=e.i18n||Sd({useScope:e.scope,__useComponent:!0});return TO(e,t,mO,(...i)=>n[Yg](...i))}}),pS=Q5;function eX(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const i=n.__getInstance(t);return i!=null?i.__composer:e.global.__composer}}function tX(e){const t=l=>{const{instance:h,value:d}=l;if(!h||!h.$)throw Bi(Oi.UNEXPECTED_ERROR);const v=eX(e,h.$),y=mS(d);return[Reflect.apply(v.t,v,[...gS(y)]),v]};return{created:(l,h)=>{const[d,v]=t(h);_f&&e.global===v&&(l.__i18nWatcher=an(v.locale,()=>{h.instance&&h.instance.$forceUpdate()})),l.__composer=v,l.textContent=d},unmounted:l=>{_f&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:h})=>{if(l.__composer){const d=l.__composer,v=mS(h);l.textContent=Reflect.apply(d.t,d,[...gS(v)])}},getSSRProps:l=>{const[h]=t(l);return{textContent:h}}}}function mS(e){if(De(e))return{path:e};if(Et(e)){if(!("path"in e))throw Bi(Oi.REQUIRED_VALUE,"path");return e}else throw Bi(Oi.INVALID_VALUE)}function gS(e){const{path:t,locale:n,args:i,choice:s,plural:o}=e,l={},h=i||{};return De(n)&&(l.locale=n),yn(s)&&(l.plural=s),yn(o)&&(l.plural=o),[t,h,l]}function nX(e,t,...n){const i=Et(n[0])?n[0]:{};(!Kt(i.globalInstall)||i.globalInstall)&&([dS.name,"I18nT"].forEach(o=>e.component(o,dS)),[pS.name,"I18nN"].forEach(o=>e.component(o,pS)),[vS.name,"I18nD"].forEach(o=>e.component(o,vS))),e.directive("t",tX(t))}const iX=Pr("global-vue-i18n");function rX(e={}){const t=Kt(e.globalInjection)?e.globalInjection:!0,n=new Map,[i,s]=sX(e),o=Pr("");function l(y){return n.get(y)||null}function h(y,E){n.set(y,E)}function d(y){n.delete(y)}const v={get mode(){return"composition"},async install(y,...E){if(y.__VUE_I18N__=v,y.__VUE_I18N_SYMBOL__=o,y.provide(y.__VUE_I18N_SYMBOL__,v),Et(E[0])){const O=E[0];v.__composerExtend=O.__composerExtend,v.__vueI18nExtend=O.__vueI18nExtend}let C=null;t&&(C=dX(y,v.global)),nX(y,v,...E);const T=y.unmount;y.unmount=()=>{C&&C(),v.dispose(),T()};{if(!await H5(y,v))throw Bi(Oi.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const P=HA();{const I=s;I[wf]&&I[wf](P)}P.on("*",Zg)}},get global(){return s},dispose(){i.stop()},__instances:n,__getInstance:l,__setInstance:h,__deleteInstance:d};return v}function Sd(e={}){const t=bO();if(t==null)throw Bi(Oi.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Bi(Oi.NOT_INSTALLED);const n=oX(t),i=lX(n),s=N5(t),o=aX(e,s);if(o==="global")return M5(i,e,s),i;if(o==="parent"){let d=cX(n,t,e.__useComponent);return d==null&&(d=i),d}const l=n;let h=l.__getInstance(t);if(h==null){const d=un({},e);"__i18n"in s&&(d.__i18n=s.__i18n),i&&(d.__root=i),h=_O(d),l.__composerExtend&&(h[Kg]=l.__composerExtend(h)),hX(l,t,h),l.__setInstance(t,h)}return h}function sX(e,t){const n=Ga(),i=n.run(()=>_O(e));if(i==null)throw Bi(Oi.UNEXPECTED_ERROR);return[n,i]}function oX(e){const t=vn(e.isCE?iX:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Bi(e.isCE?Oi.NOT_INSTALLED_WITH_PROVIDE:Oi.UNEXPECTED_ERROR);return t}function aX(e,t){return gd(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function lX(e){return e.mode==="composition"?e.global:e.global.__composer}function cX(e,t,n=!1){let i=null;const s=t.root;let o=uX(t,n);for(;o!=null;){const l=e;if(e.mode==="composition"&&(i=l.__getInstance(o)),i!=null||s===o)break;o=o.parent}return i}function uX(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function hX(e,t,n){let i=null;rs(()=>{{t.__VUE_I18N__=n,i=HA();const s=n;s[wf]&&s[wf](i),i.on("*",Zg)}},t),Do(()=>{const s=n;i&&i.off("*",Zg),s[aS]&&s[aS](),delete t.__VUE_I18N__,e.__deleteInstance(t);const o=s[Kg];o&&(o(),delete s[Kg])},t)}const fX=["locale","fallbackLocale","availableLocales"],yS=["t","rt","d","n","tm","te"];function dX(e,t){const n=Object.create(null);return fX.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Bi(Oi.UNEXPECTED_ERROR);const l=mt(o.value)?{get(){return o.value.value},set(h){o.value.value=h}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,yS.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Bi(Oi.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,yS.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}const pX=Qn({name:"i18n-d",props:un({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Tv),setup(e,t){const n=e.i18n||Sd({useScope:e.scope,__useComponent:!0});return TO(e,t,pO,(...i)=>n[qg](...i))}}),vS=pX;f5(Jz);d5(c5);p5(cO);function bS(e=ct()){const t=_d(e);return n=>{if(n!=null)return t.getRouteBaseName(n)||void 0}}function mX(e=ct()){const t=_d(e);return(n,i)=>VA(t,n,i)}function gX(e=ct()){const t=_d(e);return(n,i)=>WA(t,n,i)}function CO(e=ct()){const t=_d(e);return n=>XA(t,n)}const _S="nuxt-i18n-slp",yX=new RegExp([`<!--${_S}-\\[(\\w+)\\]-->`,".+?",`<!--/${_S}-->`].join(""),"g"),vX=fn({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){const t=ct(e._id),n=CO(t);t.hook("app:rendered",i=>{i.renderResult?.html!=null&&(i.renderResult.html=i.renderResult.html.replaceAll(yX,(s,o)=>{const l=encodeURI(n(o??""));return s.replace(/href="([^"]+)"/,`href="${l||"#"}" `)}))})}}),bX=fn({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(e){let t,n;const i=ct(e._id),s=vv(i),o=ZA();[t,n]=yo(()=>i.runWithContext(()=>QA(i,s.initial&&o.value||gz(i,i.$router.currentRoute.value)))),await t,n()}}),_X=fn({name:"i18n:plugin:preload",dependsOn:["i18n:plugin"],async setup(e){}});function EX(e,{extendComposer:t,extendComposerInstance:n}){const i=Ga(),s=e.install.bind(e);e.install=(o,...l)=>{const h=un({},l[0]);h.__composerExtend=v=>(n(v,uh(e)),()=>{}),e.mode==="legacy"&&(h.__vueI18nExtend=v=>(n(v,uh(v)),()=>{})),Reflect.apply(s,e,[o,h]);const d=uh(e);if(i.run(()=>{t(d),e.mode==="legacy"&&"__composer"in e.global&&n(e.global,uh(e.global))}),e.mode==="composition"&&o.config.globalProperties.$i18n!=null&&n(o.config.globalProperties.$i18n,d),o.unmount){const v=o.unmount.bind(o);o.unmount=()=>{i.stop(),v()}}}}const xX=async e=>{const t=await j4(U4);t.locale=e||t.locale||"en-US",t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(const n of mc)t.messages[n]??={};return t},SX=fn({name:"i18n:plugin",parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"10.2.1"});const i=ct(e._id),s=vd(i),o=i.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,l=tz(bA().host)||s.defaultLocale||"",h=o||([t,n]=yo(()=>xX(l)),t=await t,n(),t),d=JA();d.value??=Z4(h.fallbackLocale),mc.map(C=>`/_i18n/epTRSNeb/${C}/messages.json`);const v=rX(h),y=bv(void 0,bd(i),i),E=iz(i,v,h.defaultLocale);i._nuxtI18n=E,EX(v,{extendComposer(C){C.locales=Bt(()=>s.locales),C.localeCodes=Bt(()=>mc);const T=gt(E.getBaseUrl());C.baseUrl=Bt(()=>T.value),an(C.locale,()=>T.value=E.getBaseUrl()),C.strategy="no_prefix",C.localeProperties=Bt(()=>Xc.find(O=>O.code===C.locale.value)||{code:C.locale.value}),C.setLocale=async O=>{await QA(i,O),await i.runWithContext(()=>(i.$router.currentRoute.value,void 0))},C.loadLocaleMessages=E.loadMessages,C.differentDomains=!1,C.defaultLocale=h.defaultLocale,C.getBrowserLocale=()=>jx(y.navigator()),C.getLocaleCookie=()=>jx(y.cookie()),C.setLocaleCookie=E.setCookieLocale,C.finalizePendingLocaleChange=async()=>{v.__pendingLocale&&await v.__resolvePendingLocalePromise?.()},C.waitForPendingLocaleChange=async()=>{await v?.__pendingLocalePromise}},extendComposerInstance(C,T){const O=[["locales",()=>T.locales],["localeCodes",()=>T.localeCodes],["baseUrl",()=>T.baseUrl],["strategy",()=>"no_prefix"],["localeProperties",()=>T.localeProperties],["setLocale",()=>P=>Reflect.apply(T.setLocale,T,[P])],["loadLocaleMessages",()=>P=>Reflect.apply(T.loadLocaleMessages,T,[P])],["differentDomains",()=>!1],["defaultLocale",()=>T.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(T.getBrowserLocale,T,[])],["getLocaleCookie",()=>()=>Reflect.apply(T.getLocaleCookie,T,[])],["setLocaleCookie",()=>P=>Reflect.apply(T.setLocaleCookie,T,[P])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])]];for(const[P,I]of O)Object.defineProperty(C,P,{get:I})}}),i.vueApp.use(v),Object.defineProperty(i,"$i18n",{get:()=>yv(v)}),i.provide("localeHead",C=>R4(i._nuxtI18n.composableCtx,C)),i.provide("localePath",mX(i)),i.provide("localeRoute",gX(i)),i.provide("routeBaseName",bS(i)),i.provide("getRouteBaseName",bS(i)),i.provide("switchLocalePath",CO(i))}});function wX(e){return typeof e=="object"&&e!==null}function ES(e,t){return e=wX(e)?e:Object.create(null),new Proxy(e,{get(n,i,s){return i==="key"?Reflect.get(n,i,s):Reflect.get(n,i,s)||Reflect.get(t,i,s)}})}function TX(e,t){return t.reduce((n,i)=>n?.[i],e)}function CX(e,t,n){return t.slice(0,-1).reduce((i,s)=>/^(__proto__)$/.test(s)?{}:i[s]=i[s]||{},e)[t[t.length-1]]=n,e}function AX(e,t){return t.reduce((n,i)=>{const s=i.split(".");return CX(n,s,TX(e,s))},{})}function OX(e,t){return n=>{var i;try{const{storage:s=localStorage,beforeRestore:o=void 0,afterRestore:l=void 0,serializer:h={serialize:JSON.stringify,deserialize:JSON.parse},key:d=t.$id,paths:v=null,debug:y=!1}=n;return{storage:s,beforeRestore:o,afterRestore:l,serializer:h,key:((i=e.key)!=null?i:E=>E)(typeof d=="string"?d:d(t.$id)),paths:v,debug:y}}catch(s){return n.debug&&console.error("[pinia-plugin-persistedstate]",s),null}}}function xS(e,{storage:t,serializer:n,key:i,debug:s}){try{const o=t?.getItem(i);o&&e.$patch(n?.deserialize(o))}catch(o){s&&console.error("[pinia-plugin-persistedstate]",o)}}function SS(e,{storage:t,serializer:n,key:i,paths:s,debug:o}){try{const l=Array.isArray(s)?AX(e,s):e;t.setItem(i,n.serialize(l))}catch(l){o&&console.error("[pinia-plugin-persistedstate]",l)}}function kX(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:i=n},store:s,pinia:o}=t;if(!i)return;if(!(s.$id in o.state.value)){const h=o._s.get(s.$id.replace("__hot:",""));h&&Promise.resolve().then(()=>h.$persist());return}const l=(Array.isArray(i)?i.map(h=>ES(h,e)):[ES(i,e)]).map(OX(e,s)).filter(Boolean);s.$persist=()=>{l.forEach(h=>{SS(s.$state,h)})},s.$hydrate=({runHooks:h=!0}={})=>{l.forEach(d=>{const{beforeRestore:v,afterRestore:y}=d;h&&v?.(t),xS(s,d),h&&y?.(t)})},l.forEach(h=>{const{beforeRestore:d,afterRestore:v}=h;d?.(t),xS(s,h),v?.(t),s.$subscribe((y,E)=>{SS(E,h)},{detached:!0})})}}function wS(e){return{getItem:t=>e?.readonly?Yl(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent,readonly:!0}).value:Yl(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent,readonly:!1}).value,setItem:(t,n)=>{if(e?.readonly)throw new Error("Cannot set a readonly cookie.");Yl(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent,readonly:!1}).value=n}}}function PX(){return{getItem:e=>ct().ssrContext?null:localStorage.getItem(e),setItem:(e,t)=>{ct().ssrContext||localStorage.setItem(e,t)}}}function LX(){return{getItem:e=>ct().ssrContext?null:sessionStorage.getItem(e),setItem:(e,t)=>{ct().ssrContext||sessionStorage.setItem(e,t)}}}const TS={localStorage:PX(),sessionStorage:LX(),cookies:wS(),cookiesWithOptions:wS},RX=fn(e=>{const{cookieOptions:t,debug:n,storage:i}=oi().public.persistedState;e.$pinia.use(kX({storage:i==="cookies"?TS.cookiesWithOptions(t):TS[i],debug:n}))});function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Lt.apply(this,arguments)}function IX(e,t){const n=t.width,i=t.height,s=t.inlineSize,o=t.blockSize;switch(e){case 1:return n!=null?{type:3,value:n,unit:"px"}:{type:1};case 3:return s!=null?{type:3,value:s,unit:"px"}:{type:1};case 2:return i!=null?{type:3,value:i,unit:"px"}:{type:1};case 4:return o!=null?{type:3,value:o,unit:"px"}:{type:1};case 5:return n!=null&&i!=null&&i>0?{type:2,value:n/i}:{type:1};case 6:return n!=null&&i!=null?{type:4,value:i>=n?"portrait":"landscape"}:{type:1}}}function Im(e,t){switch(e.type){case 1:case 2:case 3:case 4:return so(e,t);case 5:{const n=t.sizeFeatures.get(e.feature);return n??{type:1}}case 6:return e.value}}function AO(e){return{type:5,value:e}}function CS(e,t,n){return AO((function(i,s,o){switch(o){case 1:return i===s;case 2:return i>s;case 3:return i>=s;case 4:return i<s;case 5:return i<=s}})(e,t,n))}function Qg(e,t,n){return e==null?t:t==null?e:n(e,t)}function Bl(e,t){switch(e){case"cqw":return t.cqw;case"cqh":return t.cqh;case"cqi":return t.writingAxis===0?t.cqw:t.cqh;case"cqb":return t.writingAxis===1?t.cqw:t.cqh;case"cqmin":return Qg(Bl("cqi",t),Bl("cqb",t),Math.min);case"cqmax":return Qg(Bl("cqi",t),Bl("cqb",t),Math.max)}}function NX(e,{treeContext:t}){switch(e.unit){case"px":return e.value;case"rem":return e.value*t.rootFontSize;case"em":return e.value*t.fontSize;case"cqw":case"cqh":case"cqi":case"cqb":case"cqmin":case"cqmax":return Qg(e.value,Bl(e.unit,t),(n,i)=>n*i)}return null}function AS(e,t){switch(e.type){case 2:return e.value===0?0:null;case 3:return NX(e,t)}return null}function so(e,t){switch(e.type){case 4:return(function(n,i){const s=Im(n.left,i),o=Im(n.right,i),l=n.operator;if(s.type===4&&o.type===4||s.type===5&&o.type===5)return(function(h,d,v){return v===1?AO(h.value===d.value):{type:1}})(s,o,l);if(s.type===3||o.type===3){const h=AS(s,i),d=AS(o,i);if(h!=null&&d!=null)return CS(h,d,l)}else if(s.type===2&&o.type===2)return CS(s.value,o.value,l);return{type:1}})(e,t);case 2:return(function(n,i){const s=so(n.left,i);return s.type!==5||s.value!==!0?s:so(n.right,i)})(e,t);case 3:return(function(n,i){const s=so(n.left,i);return s.type===5&&s.value===!0?s:so(n.right,i)})(e,t);case 1:{const n=so(e.value,t);return n.type===5?{type:5,value:!n.value}:{type:1}}case 5:return OS(Im(e,t));case 6:return OS(e.value)}}function OS(e){switch(e.type){case 5:return e;case 2:case 3:return{type:5,value:e.value>0}}return{type:1}}const Gc=Array.from({length:4},()=>Math.floor(256*Math.random()).toString(16)).join(""),OO=Fo("container"),vc=Fo("container-type"),bc=Fo("container-name"),Nh=`data-cqs-${Gc}`,Mh=`data-cqc-${Gc}`,Hl=Fo("cqw"),Ul=Fo("cqh"),Tf=Fo("cqi"),Cf=Fo("cqb");function Fo(e){return`--cq-${e}-${Gc}`}const ke=Symbol();function kO(e,t){const n={value:t,errorIndices:[],index:-1,at(i){const s=n.index+i;return s>=e.length?t:e[s]},consume:i=>(n.index+=i,n.value=n.at(0),n.value),reconsume(){n.index-=1},error(){n.errorIndices.push(n.index)}};return n}function Hn(e){return kO(e,{type:0})}function*Cv(e){const t=[];let n=!1;for(const A of e){const $=A.codePointAt(0);n&&$!==10&&(n=!1,t.push(10)),$===0||$>=55296&&$<=57343?t.push(65533):$===13?n=!0:t.push($)}const i=kO(t,-1),{at:s,consume:o,error:l,reconsume:h}=i;function d(){return String.fromCodePoint(i.value)}function v(){return{type:13,value:d()}}function y(){for(;to(s(1));)o(1)}function E(){for(;i.value!==-1;)if(o(1),s(0)===42&&s(1)===47)return void o(1);l()}function C(){const[A,$]=(function(){let N=0,J="",Y=s(1);for(Y!==43&&Y!==45||(o(1),J+=d());ui(s(1));)o(1),J+=d();if(s(1)===46&&ui(s(2)))for(N=1,o(1),J+=d();ui(s(1));)o(1),J+=d();if(Y=s(1),Y===69||Y===101){const K=s(2);if(ui(K))for(N=1,o(1),J+=d();ui(s(1));)o(1),J+=d();else if((K===45||K===43)&&ui(s(3)))for(N=1,o(1),J+=d(),o(1),J+=d();ui(s(1));)o(1),J+=d()}return[J,N]})(),U=s(1);return I(U,s(1),s(2))?{type:15,value:A,flag:$,unit:D()}:U===37?(o(1),{type:16,value:A}):{type:17,value:A,flag:$}}function T(){const A=D();let $=s(1);if(A.toLowerCase()==="url"&&$===40){for(o(1);to(s(1))&&to(s(2));)o(1);$=s(1);const U=s(2);return $===34||$===39?{type:23,value:A}:!to($)||U!==34&&U!==39?(function(){let N="";for(y();;){const Y=o(1);if(Y===41)return{type:20,value:N};if(Y===-1)return l(),{type:20,value:N};if(to(Y)){y();const K=s(1);return K===41||K===-1?(o(1),Y===-1&&l(),{type:20,value:N}):(F(),{type:21})}if(Y===34||Y===39||Y===40||(J=Y)>=0&&J<=8||J===11||J>=14&&J<=31||J===127)return l(),F(),{type:21};if(Y===92){if(!oa(Y,s(1)))return l(),{type:21};N+=P()}else N+=d()}var J})():{type:23,value:A}}return $===40?(o(1),{type:23,value:A}):{type:24,value:A}}function O(A){let $="";for(;;){const U=o(1);if(U===-1||U===A)return U===-1&&l(),{type:2,value:$};if(Af(U))return l(),h(),{type:3};if(U===92){const N=s(1);if(N===-1)continue;Af(N)?o(1):$+=P()}else $+=d()}}function P(){const A=o(1);if(kS(A)){const $=[A];for(let N=0;N<5;N++){const J=s(1);if(!kS(J))break;$.push(J),o(1)}to(s(1))&&o(1);let U=parseInt(String.fromCodePoint(...$),16);return(U===0||U>=55296&&U<=57343||U>1114111)&&(U=65533),String.fromCodePoint(U)}return A===-1?(l(),String.fromCodePoint(65533)):d()}function I(A,$,U){return A===45?Dh($)||$===45||oa($,U):!!Dh(A)}function R(A,$,U){return A===43||A===45?ui($)||$===46&&ui(U):!(A!==46||!ui($))||!!ui(A)}function D(){let A="";for(;;){const $=o(1);if(PS($))A+=d();else{if(!oa($,s(1)))return h(),A;A+=P()}}}function F(){for(;;){const A=o(1);if(A===-1)return;oa(A,s(1))&&P()}}for(;;){const A=o(1);if(A===47&&s(1)===42)o(2),E();else if(to(A))y(),yield{type:1};else if(A===34)yield O(A);else if(A===35){const $=s(1);PS($)||oa($,s(2))?yield{type:14,flag:I(s(1),s(2),s(3))?1:0,value:D()}:yield v()}else if(A===39)yield O(A);else if(A===40)yield{type:4};else if(A===41)yield{type:5};else if(A===43)R(A,s(1),s(2))?(h(),yield C()):yield v();else if(A===44)yield{type:6};else if(A===45){const $=s(1),U=s(2);R(A,$,U)?(h(),yield C()):$===45&&U===62?(o(2),yield{type:19}):I(A,$,U)?(h(),yield T()):yield v()}else if(A===46)R(A,s(1),s(2))?(h(),yield C()):yield v();else if(A===58)yield{type:7};else if(A===59)yield{type:8};else if(A===60)s(1)===33&&s(2)===45&&s(3)===45?yield{type:18}:yield v();else if(A===64)I(s(1),s(2),s(3))?yield{type:22,value:D()}:yield v();else if(A===91)yield{type:9};else if(A===92)oa(A,s(1))?(h(),yield T()):(l(),yield v());else if(A===93)yield{type:10};else if(A===123)yield{type:11};else if(A===125)yield{type:12};else if(ui(A))h(),yield C();else if(Dh(A))h(),yield T();else{if(A===-1)return yield{type:0},i.errorIndices;yield{type:13,value:d()}}}}function ui(e){return e>=48&&e<=57}function kS(e){return ui(e)||e>=65&&e<=70||e>=97&&e<=102}function Af(e){return e===10||e===13||e===12}function to(e){return Af(e)||e===9||e===32}function Dh(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128||e===95}function oa(e,t){return e===92&&!Af(t)}function PS(e){return Dh(e)||ui(e)||e===45}const MX={11:12,9:10,4:5};function Kl(e,t){const n=(function(i,s){const o=[];for(;;)switch(i.consume(1).type){case 1:break;case 0:return{type:3,value:o};case 18:case 19:if(s!==!1){i.reconsume();const l=ey(i);l!==ke&&o.push(l)}break;case 22:i.reconsume(),o.push(LO(i));break;default:{i.reconsume();const l=ey(i);l!==ke&&o.push(l);break}}})(Hn(e),t===!0);return Lt({},n,{value:n.value.map(i=>i.type===26?(function(s,o){return s.value.value.type===0?Lt({},s,{value:Lt({},s.value,{value:DX(s.value.value.value)})}):s})(i):i)})}function PO(e){const t=Hn(e),n=[];for(;;){if(t.consume(1).type===0)return n;t.reconsume(),n.push(Ms(t))}}function DX(e){return(function(t){const n=[],i=[];for(;;){const s=t.consume(1);switch(s.type){case 1:case 8:break;case 0:return{type:1,value:[...i,...n]};case 22:t.reconsume(),n.push(LO(t));break;case 24:{const o=[s];let l=t.at(1);for(;l.type!==8&&l.type!==0;)o.push(Ms(t)),l=t.at(1);const h=RO(Hn(o));h!==ke&&i.push(h);break}case 13:if(s.value==="&"){t.reconsume();const o=ey(t);o!==ke&&n.push(o);break}default:{t.error(),t.reconsume();let o=t.at(1);for(;o.type!==8&&o.type!==0;)Ms(t),o=t.at(1);break}}}})(Hn(e))}function Bn(e){for(;e.at(1).type===1;)e.consume(1)}function LO(e){let t=e.consume(1);if(t.type!==22)throw new Error(`Unexpected type ${t.type}`);const n=t.value,i=[];for(;;)switch(t=e.consume(1),t.type){case 8:return{type:25,name:n,prelude:i,value:null};case 0:return e.error(),{type:25,name:n,prelude:i,value:null};case 11:return{type:25,name:n,prelude:i,value:Av(e)};case 28:if(t.source.type===11)return{type:25,name:n,prelude:i,value:t};default:e.reconsume(),i.push(Ms(e))}}function ey(e){let t=e.value;const n=[];for(;;)switch(t=e.consume(1),t.type){case 0:return e.error(),ke;case 11:return{type:26,prelude:n,value:Av(e)};case 28:if(t.source.type===11)return{type:26,prelude:n,value:t};default:e.reconsume(),n.push(Ms(e))}}function RO(e){const t=e.consume(1);if(t.type!==24)throw new Error(`Unexpected type ${t.type}`);const n=t.value,i=[];let s=!1;if(Bn(e),e.at(1).type!==7)return e.error(),ke;for(e.consume(1),Bn(e);e.at(1).type!==0;)i.push(Ms(e));const o=i[i.length-2],l=i[i.length-1];return o&&o.type===13&&o.value==="!"&&l.type===24&&l.value.toLowerCase()==="important"&&(s=!0,i.splice(i.length-2)),{type:29,name:n,value:i,important:s}}function Ms(e){const t=e.consume(1);switch(t.type){case 11:case 9:case 4:return Av(e);case 23:return(function(n){let i=n.value;if(i.type!==23)throw new Error(`Unexpected type ${i.type}`);const s=i.value,o=[];for(;;)switch(i=n.consume(1),i.type){case 5:return{type:27,name:s,value:o};case 0:return n.error(),{type:27,name:s,value:o};default:n.reconsume(),o.push(Ms(n))}})(e);default:return t}}function Av(e){let t=e.value;const n=t,i=MX[n.type];if(!i)throw new Error(`Unexpected type ${t.type}`);const s=[];for(;;)switch(t=e.consume(1),t.type){case i:return{type:28,source:n,value:{type:0,value:s}};case 0:return e.error(),{type:28,source:n,value:{type:0,value:s}};default:e.reconsume(),s.push(Ms(e))}}function Bo(e){return Bn(e),e.at(1).type===0}const FX={11:["{","}"],9:["[","]"],4:["(",")"]};function Ts(e,t){switch(e.type){case 25:return`@${CSS.escape(e.name)} ${e.prelude.map(n=>Ts(n)).join("")}${e.value?Ts(e.value):";"}`;case 26:return`${e.prelude.map(n=>Ts(n)).join("")}${Ts(e.value)}`;case 28:{const[n,i]=FX[e.source.type];return`${n}${IO(e.value)}${i}`}case 27:return`${CSS.escape(e.name)}(${e.value.map(n=>Ts(n)).join("")})`;case 29:return`${CSS.escape(e.name)}:${e.value.map(n=>Ts(n)).join("")}${e.important?" !important":""}`;case 1:return" ";case 8:return";";case 7:return":";case 14:return"#"+CSS.escape(e.value);case 24:return CSS.escape(e.value);case 15:return e.value+CSS.escape(e.unit);case 13:case 17:return e.value;case 2:return`"${CSS.escape(e.value)}"`;case 6:return",";case 20:return"url("+CSS.escape(e.value)+")";case 22:return"@"+CSS.escape(e.value);case 16:return e.value+"%";default:throw new Error(`Unsupported token ${e.type}`)}}function IO(e,t){return e.value.map(n=>{let i=Ts(n);return n.type===29&&e.type!==0&&(i+=";"),i}).join("")}function LS(e){return Ts(e)}function RS(e){const t=e.at(1);return t.type===13&&t.value==="="&&(e.consume(1),!0)}function dh(e,t){const n=[];for(;;){const i=e.at(1);if(i.type===0||t&&i.type===7||i.type===13&&(i.value===">"||i.value==="<"||i.value==="="))break;n.push(e.consume(1))}return n}function IS(e){Bn(e);const t=e.consume(1);return t.type!==13?ke:t.value===">"?RS(e)?3:2:t.value==="<"?RS(e)?5:4:t.value==="="?1:ke}function NS(e){return e===4||e===5}function MS(e){return e===2||e===3}function Rl(e,t,n){const i=(function(o){Bn(o);const l=o.consume(1);return Bn(o),l.type!==24||o.at(1).type!==0?ke:l.value})(Hn(e));if(i===ke)return ke;let s=i.toLowerCase();return s=n?n(s):s,t.has(s)?s:ke}function $l(e){return{type:13,value:e}}function DS(e,t){return{type:29,name:e,value:t,important:!1}}function ko(e){return{type:24,value:e}}function wd(e,t){return{type:27,name:e,value:t}}function Nm(e){return wd("var",[ko(e)])}function ty(e,t){Bn(e);let n=!1,i=e.at(1);if(i.type===24){if(i.value.toLowerCase()!=="not")return ke;e.consume(1),Bn(e),n=!0}let s=(function(l){const h=l.consume(1);switch(h.type){case 28:{if(h.source.type!==4)return ke;const d=ty(Hn(h.value.value),null);return d!==ke?d:{type:4,value:h}}case 27:return{type:4,value:h};default:return ke}})(e);if(s===ke)return ke;s=n?{type:1,value:s}:s,Bn(e),i=e.at(1);const o=i.type===24?i.value.toLowerCase():null;if(o!==null){if(e.consume(1),Bn(e),o!=="and"&&o!=="or"||t!==null&&o!==t)return ke;const l=ty(e,o);return l===ke?ke:{type:o==="and"?2:3,left:s,right:l}}return Bo(e)?s:ke}function NO(e){return ty(e,null)}function Fh(e){switch(e.type){case 1:return[ko("not"),{type:1},...Fh(e.value)];case 2:case 3:return[...Fh(e.left),{type:1},ko(e.type===2?"and":"or"),{type:1},...Fh(e.right)];case 4:return[e.value]}}const MO={width:1,height:2,"inline-size":3,"block-size":4,"aspect-ratio":5,orientation:6},BX=new Set(Object.keys(MO)),HX=new Set(["none","and","not","or","normal","auto"]),UX=new Set(["initial","inherit","revert","revert-layer","unset"]),$X=new Set(["size","inline-size"]);function DO(e,t,n,i){const s=n();if(s===ke)return ke;let o=[s,null];Bn(e);const l=e.at(1);if(l.type===13){if(l.value!==t)return ke;e.consume(1),Bn(e);const h=i();Bn(e),h!==ke&&(o=[s,h])}return Bo(e)?o:ke}function FS(e){const t=e.consume(1);return t.type===17?parseInt(t.value):ke}function BS(e){const t=Hn(e);Bn(t);const n=t.consume(1);let i=ke;switch(n.type){case 17:t.reconsume(),i=(function(s){const o=DO(s,"/",()=>FS(s),()=>FS(s));return o===ke?ke:{type:2,value:o[0]/(o[1]!==null?o[1]:1)}})(t);break;case 15:i={type:3,value:parseInt(n.value),unit:n.unit.toLowerCase()};break;case 24:{const s=n.value.toLowerCase();switch(s){case"landscape":case"portrait":i={type:4,value:s}}}}return i===ke?ke:Bo(t)?{type:6,value:i}:ke}function jX(e){return!Td(e=e.toLowerCase())&&!HX.has(e)}function Of(e,t){const n=[];for(;;){Bn(e);const i=e.at(1);if(i.type!==24||!t(i.value))return n;e.consume(1),n.push(i.value)}}function FO(e){const t=[];for(;;){Bn(e);const n=e.at(1);if(n.type!==24)break;const i=n.value;if(!jX(i))break;e.consume(1),t.push(i)}return t}function Td(e){return UX.has(e)}function Ov(e){return e.map(t=>"cq-"+t)}function kv(e){const t=Of(e,n=>Td(n));return t.length===1?Ov(t):ke}function Pv(e,t){const n=Of(e,s=>s==="none");if(n.length===1)return Ov(n);if(n.length!==0)return ke;if(t){const s=kv(e);if(s!==ke)return s}const i=FO(e);return i.length>0&&(!t||Bo(e))?i:ke}function Lv(e,t){if(t){const n=kv(e);if(n!==ke)return n}return(function(n){const i=Of(n,o=>o==="normal");if(i.length===1)return Ov(i);if(i.length!==0)return ke;const s=Of(n,o=>$X.has(o));return s.length>0&&Bo(n)?s:ke})(e)}function BO(e){const t=Hn(e),n=kv(t);if(n!==ke)return[n,n];const i=DO(t,"/",()=>Pv(t,!1),()=>Lv(t,!1));return i!==ke&&Bo(t)?[i[0],i[1]||[]]:ke}function VX(e){const t=Hn(e),n=FO(t);if(!n||n.length>1)return ke;const i=NO(t);if(i===ke)return ke;const s={features:new Set},o=Bh(i,s);return Bo(t)?{name:n.length>0?n[0]:null,condition:o,features:s.features}:ke}function Bh(e,t){switch(e.type){case 1:return{type:1,value:Bh(e.value,t)};case 2:case 3:return{type:e.type===2?2:3,left:Bh(e.left,t),right:Bh(e.right,t)};case 4:if(e.value.type===28){const n=(function(i,s){const o=(function(h,d){const v=dh(h,!0),y=h.at(1);if(y.type===0){const I=Rl(v,d);return I!==ke&&d.has(I)?{type:1,feature:I}:ke}if(y.type===7){h.consume(1);const I=dh(h,!1);let R=1;const D=Rl(v,d,F=>F.startsWith("min-")?(R=3,F.substring(4)):F.startsWith("max-")?(R=5,F.substring(4)):F);return D!==ke?{type:2,feature:D,bounds:[null,[R,I]]}:ke}const E=IS(h);if(E===ke)return ke;const C=dh(h,!1);if(h.at(1).type===0){const I=Rl(v,d);if(I!==ke)return{type:2,feature:I,bounds:[null,[E,C]]};const R=Rl(C,d);return R!==ke?{type:2,feature:R,bounds:[[E,v],null]}:ke}const T=IS(h);if(T===ke||!(MS(E)&&MS(T)||NS(E)&&NS(T)))return ke;const O=dh(h,!1),P=Rl(C,d);return P!==ke?{type:2,feature:P,bounds:[[E,v],[T,O]]}:ke})(i,BX);if(o===ke)return ke;const l=MO[o.feature];if(l==null)return ke;if(s.features.add(l),o.type===1)return{type:5,feature:l};{const h={type:5,feature:l};let d=ke;if(o.bounds[0]!==null){const v=BS(o.bounds[0][1]);if(v===ke)return ke;d={type:4,operator:o.bounds[0][0],left:v,right:h}}if(o.bounds[1]!==null){const v=BS(o.bounds[1][1]);if(v===ke)return ke;const y={type:4,operator:o.bounds[1][0],left:h,right:v};d=d!==ke?{type:2,left:d,right:y}:y}return d}})(Hn(e.value.value.value),t);if(n!==ke)return n}return{type:6,value:{type:1}}}}let WX=0;const zX={cqw:Hl,cqh:Ul,cqi:Tf,cqb:Cf},XX=CSS.supports("selector(:where(div))"),Hh=":not(.container-query-polyfill)";PO(Array.from(Cv(Hh)));const GX=document.createElement("div"),qX=new Set(["before","after","first-line","first-letter"]);function HS(e,t){return wd("calc",[{type:17,flag:e.flag,value:e.value},$l("*"),t])}function HO(e){return e.map(t=>{switch(t.type){case 15:return(function(n){const i=n.unit,s=zX[i];return s!=null?HS(n,Nm(s)):i==="cqmin"||i==="cqmax"?HS(n,wd(n.unit.slice(2),[Nm(Tf),{type:6},Nm(Cf)])):n})(t);case 27:return Lt({},t,{value:HO(t.value)})}return t})}function UO(e){switch(e.name){case"container":return BO(e.value)?Lt({},e,{name:OO}):e;case"container-name":return Pv(Hn(e.value),!0)?Lt({},e,{name:bc}):e;case"container-type":return Lv(Hn(e.value),!0)!=null?Lt({},e,{name:vc}):e}return Lt({},e,{value:HO(e.value)})}function kf(e,t){return Lt({},e,{value:e.value.map(n=>{switch(n.type){case 25:return Rv(n,t);case 26:return(function(i,s){return s.transformStyleRule(Lt({},i,{value:$O(i.value,s)}))})(n,t);default:return n}})})}function US(e){return e.type===0||e.type===6}function YX(e){for(let t=e.length-1;t>=0;t--)if(e[t].type!==1)return e.slice(0,t+1);return e}function $O(e,t){return(function(n,i){const s=[];let o=null,l=null;for(const h of n.value.value)switch(h.type){case 25:{const d=i?i(h):h;d&&s.push(d)}break;case 29:{const d=UO(h);switch(d.name){case OO:{const v=BO(h.value);v!==ke&&(o=v[0],l=v[1]);break}case bc:{const v=Pv(Hn(h.value),!0);v!==ke&&(o=v);break}case vc:{const v=Lv(Hn(h.value),!0);v!==ke&&(l=v);break}default:s.push(d)}}}return o&&o.length>0&&s.push(DS(bc,[ko(o.join(" "))])),l&&l.length>0&&s.push(DS(vc,[ko(l.join(" "))])),Lt({},n,{value:{type:2,value:s}})})(e,n=>Rv(n,t))}function Uh(e){if(e.type===1)return Lt({},e,{value:Uh(e.value)});if(e.type===2||e.type===3)return Lt({},e,{left:Uh(e.left),right:Uh(e.right)});if(e.type===4&&e.value.type===28){const t=(function(n){const i=Hn(n);return Bn(i),i.at(1).type!==24?ke:RO(i)||ke})(e.value.value.value);if(t!==ke)return Lt({},e,{value:Lt({},e.value,{value:{type:0,value:[UO(t)]}})})}return e}function KX(e,t){let n=NO(Hn(e.prelude));return n=n!==ke?Uh(n):ke,Lt({},e,{prelude:n!==ke?Fh(n):e.prelude,value:e.value?Lt({},e.value,{value:kf(Kl(e.value.value.value),t)}):null})}function Rv(e,t){switch(e.name.toLocaleLowerCase()){case"media":case"layer":return(function(n,i){return Lt({},n,{value:n.value?Lt({},n.value,{value:kf(Kl(n.value.value.value),i)}):null})})(e,t);case"keyframes":return(function(n,i){let s=null;return n.value&&(s=Lt({},n.value,{value:{type:3,value:Kl(n.value.value.value).value.map(o=>{switch(o.type){case 26:return(function(l,h){return Lt({},l,{value:$O(l.value,h)})})(o,i);case 25:return Rv(o,i)}})}})),Lt({},n,{value:s})})(e,t);case"supports":return KX(e,t);case"container":return(function(n,i){if(n.value){const s=VX(n.prelude);if(s!==ke){const o={rule:s,selector:null,parent:i.parent,uid:"c"+WX++},l=new Set,h=[],d=kf(Kl(n.value.value.value),{descriptors:i.descriptors,parent:o,transformStyleRule:v=>{const[y,E]=(function(T,O,P){const I=Hn(T),R=[],D=[];for(;;){if(I.at(1).type===0)return[R,D];const $=Math.max(0,I.index);for(;F=I.at(1),A=I.at(2),!(US(F)||F.type===7&&(A.type===7||A.type===24&&qX.has(A.value.toLowerCase())));)I.consume(1);const U=I.index+1,N=T.slice($,U),J=N.length>0?YX(N):[$l("*")];for(;!US(I.at(1));)I.consume(1);const Y=T.slice(U,Math.max(0,I.index+1));let K=J,oe=[{type:28,source:{type:9},value:{type:0,value:[ko(Y.length>0?Nh:Mh),$l("~"),$l("="),{type:2,value:O}]}}];if(XX)oe=[$l(":"),wd("where",oe)];else{const q=J.map(LS).join("");q.endsWith(Hh)?K=PO(Array.from(Cv(q.substring(0,q.length-Hh.length)))):h.push({actual:q,expected:q+Hh})}R.push(...J),D.push(...K),D.push(...oe),D.push(...Y),I.consume(1)}var F,A})(v.prelude,o.uid);if(h.length>0)return v;const C=y.map(LS).join("");try{GX.matches(C),l.add(C)}catch{}return Lt({},v,{prelude:E})}}).value;if(h.length>0){const v=new Set,y=[];let E=0;for(const{actual:T}of h)E=Math.max(E,T.length);const C=Array.from({length:E},()=>" ").join("");for(const{actual:T,expected:O}of h)v.has(T)||(y.push(`${T}${C.substring(0,E-T.length)} => ${O}`),v.add(T));console.warn(`The :where() pseudo-class is not supported by this browser. To use the Container Query Polyfill, you must modify the selectors under your @container rules: ${y.join(` `)}`)}return l.size>0&&(o.selector=Array.from(l).join(", ")),i.descriptors.push(o),{type:25,name:"media",prelude:[ko("all")],value:Lt({},n.value,{value:{type:3,value:d}})}}}return n})(e,t)}return e}class Pf{constructor(t){this.value=void 0,this.value=t}}function Lf(e,t){if(e===t)return!0;if(typeof e==typeof t&&e!==null&&t!==null&&typeof e=="object"){if(Array.isArray(e)){if(!Array.isArray(t)||t.length!==e.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!Lf(e[n],t[n]))return!1;return!0}if(e instanceof Pf)return t instanceof Pf&&e.value===t.value;{const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let i=0,s=n.length;i<s;i++){const o=n[i];if(!Lf(e[o],t[o]))return!1}return!0}}return!1}const Mm=Symbol("CQ_INSTANCE"),jO=Symbol("CQ_STYLESHEET"),JX=CSS.supports("width: 1svh"),ZX=new Set(["vertical-lr","vertical-rl","sideways-rl","sideways-lr","tb","tb-lr","tb-rl"]),QX=["padding-left","padding-right","border-left-width","border-right-width"],e6=["padding-top","padding-bottom","border-top-width","border-bottom-width"],t6=/(\w*(\s|-))?(table|ruby)(-\w*)?/;class Ra{constructor(t){this.node=void 0,this.node=t}connected(){}disconnected(){}updated(){}}class n6 extends Ra{constructor(t,n){super(t),this.context=void 0,this.controller=null,this.styleSheet=null,this.context=n}connected(){var t=this;const n=this.node;if(n.rel==="stylesheet"){const i=new URL(n.href,document.baseURI);i.origin===location.origin&&(this.controller=VO(async function(s){const o=await fetch(i.toString(),{signal:s}),l=await o.text(),h=t.styleSheet=await t.context.registerStyleSheet({source:l,url:i,signal:s}),d=new Blob([h.source],{type:"text/css"}),v=new Image;v.onload=v.onerror=h.refresh,v.src=n.href=URL.createObjectURL(d)}))}}disconnected(){var t,n;(t=this.controller)==null||t.abort(),this.controller=null,(n=this.styleSheet)==null||n.dispose(),this.styleSheet=null}}class i6 extends Ra{constructor(t,n){super(t),this.context=void 0,this.controller=null,this.styleSheet=null,this.context=n}connected(){var t=this;this.controller=VO(async function(n){const i=t.node,s=t.styleSheet=await t.context.registerStyleSheet({source:i.innerHTML,signal:n});i.innerHTML=s.source,s.refresh()})}disconnected(){var t,n;(t=this.controller)==null||t.abort(),this.controller=null,(n=this.styleSheet)==null||n.dispose(),this.styleSheet=null}}class r6 extends Ra{connected(){const t=`* { ${vc}: cq-normal; ${bc}: cq-none; }`;this.node.innerHTML=window.CSSLayerBlockRule===void 0?t:`@layer cq-polyfill-${Gc} { ${t} }`}}class s6 extends Ra{constructor(t,n){super(t),this.context=void 0,this.styles=void 0,this.context=n,this.styles=window.getComputedStyle(t)}connected(){this.node.style.cssText="position: fixed; top: 0; left: 0; visibility: hidden; "+(JX?"width: 1svw; height: 1svh;":"width: 1%; height: 1%;")}updated(){const t=ny(n=>this.styles.getPropertyValue(n));this.context.viewportChanged({width:t.width,height:t.height})}}function VO(e){const t=new AbortController;return e(t.signal).catch(n=>{if(!(n instanceof DOMException&&n.message==="AbortError"))throw n}),t}function o6(e){let t=0;if(e.length===0||e.startsWith("cq-")&&((e=e.substring(3))==="normal"||Td(e)))return t;const n=e.split(" ");for(const i of n)switch(i){case"size":t|=3;break;case"inline-size":t|=1;break;default:return 0}return t}function a6(e){let t=0;return e!=="none"&&(t|=1,e==="contents"||e==="inline"||t6.test(e)||(t|=2)),t}function $h(e,t){return parseFloat(e(t))}function $S(e,t){return t.reduce((n,i)=>n+$h(e,i),0)}function ny(e){let t=0,n=0;return e("box-sizing")==="border-box"&&(t=$S(e,QX),n=$S(e,e6)),{fontSize:$h(e,"font-size"),width:$h(e,"width")-t,height:$h(e,"height")-n}}function jS(e){return{containerType:o6(e(vc).trim()),containerNames:(n=e(bc).trim(),n.startsWith("cq-")&&((n=n.substring(3))==="none"||Td(n))?new Set([]):new Set(n.length===0?[]:n.split(" "))),writingAxis:(t=e("writing-mode").trim(),ZX.has(t)?1:0),displayFlags:a6(e("display").trim())};var t,n}function ph(e,t,n){n!=null?n!=e.getPropertyValue(t)&&e.setProperty(t,n):e.removeProperty(t)}function l6(e){const t=e[jO];return t??[]}function VS(e,t){e[jO]=t}new Promise(e=>{}),window.CQPolyfill={version:"1.0.2"},"container"in document.documentElement.style||(function(e){function t(R){return R[Mm]||null}const n=document.documentElement;if(t(n))return;const i=document.createElement(`cq-polyfill-${Gc}`),s=document.createElement("style");new MutationObserver(R=>{for(const D of R){for(const F of D.removedNodes){const A=t(F);A?.disconnect()}D.target.nodeType!==Node.DOCUMENT_NODE&&D.target.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&D.target.parentNode===null||D.type==="attributes"&&D.attributeName&&(D.attributeName===Nh||D.attributeName===Mh||D.target instanceof Element&&D.target.getAttribute(D.attributeName)===D.oldValue)||(I(D.target).mutate(),E())}}).observe(n,{childList:!0,subtree:!0,attributes:!0,attributeOldValue:!0});const o=new ResizeObserver(R=>{for(const D of R)I(D.target).resize();I(n).update(O())}),l=new Ra(n);async function h(R,{source:D,url:F,signal:A}){const $=(function(K,oe){try{const q=Array.from(Cv(K));if(oe)for(let xe=0;xe<q.length;xe++){const Se=q[xe];if(Se.type===20)Se.value=new URL(Se.value,oe).toString();else if(Se.type===23&&Se.value.toLowerCase()==="url"){const pe=xe+1<q.length?q[xe+1]:null;pe&&pe.type===2&&(pe.value=new URL(pe.value,oe).toString())}}const ce={descriptors:[],parent:null,transformStyleRule:xe=>xe};return{source:IO(kf(Kl(q,!0),ce)),descriptors:ce.descriptors}}catch(q){return console.warn("An error occurred while transpiling stylesheet: "+q),{source:K,descriptors:[]}}})(D,F?F.toString():void 0);let U=()=>{},N=()=>{};const J=I(n);let Y=!1;return A!=null&&A.aborted||(N=()=>{if(!Y){const{sheet:K}=R;K!=null&&(VS(K,$.descriptors),Y=!0,U=()=>{VS(K),J.mutate(),E()},J.mutate(),E())}}),{source:$.source,dispose:U,refresh:N}}const d={cqw:null,cqh:null};function v({width:R,height:D}){d.cqw=R,d.cqh=D}function y(R,D,F){if(R instanceof Element&&D){let A="";for(const[$,U]of D.conditions){const N=$.value;N.selector!=null&&U!=null&&(2&U)==2&&R.matches(N.selector)&&(A.length>0&&(A+=" "),A+=N.uid)}A.length>0?R.setAttribute(F,A):R.removeAttribute(F)}}function E(){o.unobserve(n),o.observe(n)}const C=()=>{const R=[];for(const D of document.styleSheets)for(const F of l6(D))R.push([new Pf(F),0]);return R},T=window.getComputedStyle(n),O=()=>{const R=A=>T.getPropertyValue(A),D=jS(R),F=ny(R);return{parentState:null,conditions:C(),context:Lt({},d,{fontSize:F.fontSize,rootFontSize:F.fontSize,writingAxis:D.writingAxis}),displayFlags:D.displayFlags,isQueryContainer:!1}},P=R=>R;function I(R){let D=t(R);if(!D){let F,A=null,$=!1;R===n?(F=l,A=P):R===i?($=!0,F=new s6(i,{viewportChanged:v})):F=R===s?new r6(s):R instanceof HTMLLinkElement?new n6(R,{registerStyleSheet:q=>h(R,Lt({},q))}):R instanceof HTMLStyleElement?new i6(R,{registerStyleSheet:q=>h(R,Lt({},q))}):new Ra(R);let U=Symbol();if(A==null&&R instanceof Element){const q=(function(ce){const xe=window.getComputedStyle(ce);return(function(Se){let pe=null;return(...Ce)=>{if(pe==null||!Lf(pe[0],Ce)){const be=((Pe,ot)=>{const{context:tt,conditions:Je}=Pe,Ct=We=>xe.getPropertyValue(We),bt=jS(Ct),yt=Lt({},tt,{writingAxis:bt.writingAxis});let xt=Je,me=!1,Te=bt.displayFlags;(1&Pe.displayFlags)==0&&(Te=0);const{containerType:Ae,containerNames:Ie}=bt;if(Ae>0){const We=Ae>0&&(2&Te)==2,we=new Map(Je.map(z=>[z[0].value,z[1]]));if(xt=[],me=!0,We){const z=ny(Ct);yt.fontSize=z.fontSize;const G=(function(X,ee){const ae={value:ee.width},he={value:ee.height};let Ee=ae,Q=he;if(X.writingAxis===1){const se=Ee;Ee=Q,Q=se}return(2&X.containerType)!=2&&(Q.value=void 0),{width:ae.value,height:he.value,inlineSize:Ee.value,blockSize:Q.value}})(bt,z),le={sizeFeatures:G,treeContext:yt},ve=X=>{const{rule:ee}=X,ae=ee.name,he=ae==null||Ie.has(ae)?(function(Q,se){const Oe=new Map,Ue=se.sizeFeatures;for(const it of Q.features){const kt=IX(it,Ue);if(kt.type===1)return null;Oe.set(it,kt)}const Qe=so(Q.condition,{sizeFeatures:Oe,treeContext:se.treeContext});return Qe.type===5?Qe.value:null})(ee,le):null;var Ee;return he==null?(((Ee=we.get(X))!=null?Ee:0)&&1)===1:he===!0},fe=(X,ee)=>{let ae=X.get(ee);if(ae==null){const he=ve(ee);ae=(he?1:0)|(he!==!0||ee.parent!=null&&(1&fe(X,ee.parent))!=1?0:2),X.set(ee,ae)}return ae},W=new Map;for(const X of Je)xt.push([X[0],fe(W,X[0].value)]);yt.cqw=G.width!=null?G.width/100:tt.cqw,yt.cqh=G.height!=null?G.height/100:tt.cqh}}return{parentState:new Pf(Pe),conditions:xt,context:yt,displayFlags:Te,isQueryContainer:me}})(...Ce);pe!=null&&Lf(pe[1],be)||(pe=[Ce,be])}return pe[1]}})()})(R);A=ce=>q(ce,U)}const N=A||P;let J=null;const Y=q=>{const ce=J;return J=N(q),[J,J!==ce]},K=R instanceof HTMLElement||R instanceof SVGElement?R.style:null;let oe=!1;D={connect(){for(let q=R.firstChild;q!=null;q=q.nextSibling)I(q);F.connected()},disconnect(){R instanceof Element&&(o.unobserve(R),R.removeAttribute(Nh),R.removeAttribute(Mh)),K&&(K.removeProperty(Tf),K.removeProperty(Cf),K.removeProperty(Hl),K.removeProperty(Ul));for(let q=R.firstChild;q!=null;q=q.nextSibling){const ce=t(q);ce?.disconnect()}F.disconnected(),delete R[Mm]},update(q){const[ce,xe]=Y(q);if(xe){if(y(R,q,Mh),y(R,ce,Nh),R instanceof Element){const Se=$||ce.isQueryContainer;Se&&!oe?(o.observe(R),oe=!0):!Se&&oe&&(o.unobserve(R),oe=!1)}if(K){const Se=ce.context,pe=Se.writingAxis;let Ce=null,be=null,Pe=null,ot=null;(pe!==q.context.writingAxis||ce.isQueryContainer)&&(Ce=`var(${pe===0?Hl:Ul})`,be=`var(${pe===1?Hl:Ul})`),q&&!ce.isQueryContainer||(Se.cqw&&(Pe=Se.cqw+"px"),Se.cqh&&(ot=Se.cqh+"px")),ph(K,Tf,Ce),ph(K,Cf,be),ph(K,Hl,Pe),ph(K,Ul,ot)}F.updated()}for(let Se=R.firstChild;Se!=null;Se=Se.nextSibling)I(Se).update(ce)},resize(){U=Symbol()},mutate(){U=Symbol();for(let q=R.firstChild;q!=null;q=q.nextSibling)I(q).mutate()}},R[Mm]=D,D.connect()}return D}n.prepend(s,i),I(n),E()})();const c6=fn(e=>{});var yi="top",Hi="bottom",Ui="right",vi="left",Iv="auto",qc=[yi,Hi,Ui,vi],Ia="start",_c="end",u6="clippingParents",WO="viewport",Il="popper",h6="reference",WS=qc.reduce(function(e,t){return e.concat([t+"-"+Ia,t+"-"+_c])},[]),zO=[].concat(qc,[Iv]).reduce(function(e,t){return e.concat([t,t+"-"+Ia,t+"-"+_c])},[]),f6="beforeRead",d6="read",p6="afterRead",m6="beforeMain",g6="main",y6="afterMain",v6="beforeWrite",b6="write",_6="afterWrite",E6=[f6,d6,p6,m6,g6,y6,v6,b6,_6];function Ar(e){return e?(e.nodeName||"").toLowerCase():null}function lr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Na(e){var t=lr(e).Element;return e instanceof t||e instanceof Element}function Mi(e){var t=lr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function XO(e){if(typeof ShadowRoot>"u")return!1;var t=lr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function x6(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!Mi(o)||!Ar(o)||(Object.assign(o.style,i),Object.keys(s).forEach(function(l){var h=s[l];h===!1?o.removeAttribute(l):o.setAttribute(l,h===!0?"":h)}))})}function S6(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var s=t.elements[i],o=t.attributes[i]||{},l=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),h=l.reduce(function(d,v){return d[v]="",d},{});!Mi(s)||!Ar(s)||(Object.assign(s.style,h),Object.keys(o).forEach(function(d){s.removeAttribute(d)}))})}}var GO={name:"applyStyles",enabled:!0,phase:"write",fn:x6,effect:S6,requires:["computeStyles"]};function wr(e){return e.split("-")[0]}var _o=Math.max,Rf=Math.min,Ma=Math.round;function Da(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),i=1,s=1;if(Mi(e)&&t){var o=e.offsetHeight,l=e.offsetWidth;l>0&&(i=Ma(n.width)/l||1),o>0&&(s=Ma(n.height)/o||1)}return{width:n.width/i,height:n.height/s,top:n.top/s,right:n.right/i,bottom:n.bottom/s,left:n.left/i,x:n.left/i,y:n.top/s}}function Nv(e){var t=Da(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function qO(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&XO(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Or(e){return lr(e).getComputedStyle(e)}function w6(e){return["table","td","th"].indexOf(Ar(e))>=0}function js(e){return((Na(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cd(e){return Ar(e)==="html"?e:e.assignedSlot||e.parentNode||(XO(e)?e.host:null)||js(e)}function zS(e){return!Mi(e)||Or(e).position==="fixed"?null:e.offsetParent}function T6(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Mi(e)){var i=Or(e);if(i.position==="fixed")return null}for(var s=Cd(e);Mi(s)&&["html","body"].indexOf(Ar(s))<0;){var o=Or(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function Yc(e){for(var t=lr(e),n=zS(e);n&&w6(n)&&Or(n).position==="static";)n=zS(n);return n&&(Ar(n)==="html"||Ar(n)==="body"&&Or(n).position==="static")?t:n||T6(e)||t}function Mv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jl(e,t,n){return _o(e,Rf(t,n))}function C6(e,t,n){var i=Jl(e,t,n);return i>n?n:i}function YO(){return{top:0,right:0,bottom:0,left:0}}function KO(e){return Object.assign({},YO(),e)}function JO(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var A6=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,KO(typeof t!="number"?t:JO(t,qc))};function O6(e){var t,n=e.state,i=e.name,s=e.options,o=n.elements.arrow,l=n.modifiersData.popperOffsets,h=wr(n.placement),d=Mv(h),v=[vi,Ui].indexOf(h)>=0,y=v?"height":"width";if(!(!o||!l)){var E=A6(s.padding,n),C=Nv(o),T=d==="y"?yi:vi,O=d==="y"?Hi:Ui,P=n.rects.reference[y]+n.rects.reference[d]-l[d]-n.rects.popper[y],I=l[d]-n.rects.reference[d],R=Yc(o),D=R?d==="y"?R.clientHeight||0:R.clientWidth||0:0,F=P/2-I/2,A=E[T],$=D-C[y]-E[O],U=D/2-C[y]/2+F,N=Jl(A,U,$),J=d;n.modifiersData[i]=(t={},t[J]=N,t.centerOffset=N-U,t)}}function k6(e){var t=e.state,n=e.options,i=n.element,s=i===void 0?"[data-popper-arrow]":i;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||qO(t.elements.popper,s)&&(t.elements.arrow=s))}var P6={name:"arrow",enabled:!0,phase:"main",fn:O6,effect:k6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fa(e){return e.split("-")[1]}var L6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function R6(e){var t=e.x,n=e.y,i=window,s=i.devicePixelRatio||1;return{x:Ma(t*s)/s||0,y:Ma(n*s)/s||0}}function XS(e){var t,n=e.popper,i=e.popperRect,s=e.placement,o=e.variation,l=e.offsets,h=e.position,d=e.gpuAcceleration,v=e.adaptive,y=e.roundOffsets,E=e.isFixed,C=y===!0?R6(l):typeof y=="function"?y(l):l,T=C.x,O=T===void 0?0:T,P=C.y,I=P===void 0?0:P,R=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),F=vi,A=yi,$=window;if(v){var U=Yc(n),N="clientHeight",J="clientWidth";if(U===lr(n)&&(U=js(n),Or(U).position!=="static"&&h==="absolute"&&(N="scrollHeight",J="scrollWidth")),U=U,s===yi||(s===vi||s===Ui)&&o===_c){A=Hi;var Y=E&&$.visualViewport?$.visualViewport.height:U[N];I-=Y-i.height,I*=d?1:-1}if(s===vi||(s===yi||s===Hi)&&o===_c){F=Ui;var K=E&&$.visualViewport?$.visualViewport.width:U[J];O-=K-i.width,O*=d?1:-1}}var oe=Object.assign({position:h},v&&L6);if(d){var q;return Object.assign({},oe,(q={},q[A]=D?"0":"",q[F]=R?"0":"",q.transform=($.devicePixelRatio||1)<=1?"translate("+O+"px, "+I+"px)":"translate3d("+O+"px, "+I+"px, 0)",q))}return Object.assign({},oe,(t={},t[A]=D?I+"px":"",t[F]=R?O+"px":"",t.transform="",t))}function I6(e){var t=e.state,n=e.options,i=n.gpuAcceleration,s=i===void 0?!0:i,o=n.adaptive,l=o===void 0?!0:o,h=n.roundOffsets,d=h===void 0?!0:h,v={placement:wr(t.placement),variation:Fa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,XS(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:d})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,XS(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var N6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:I6,data:{}},mh={passive:!0};function M6(e){var t=e.state,n=e.instance,i=e.options,s=i.scroll,o=s===void 0?!0:s,l=i.resize,h=l===void 0?!0:l,d=lr(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&v.forEach(function(y){y.addEventListener("scroll",n.update,mh)}),h&&d.addEventListener("resize",n.update,mh),function(){o&&v.forEach(function(y){y.removeEventListener("scroll",n.update,mh)}),h&&d.removeEventListener("resize",n.update,mh)}}var D6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:M6,data:{}},F6={left:"right",right:"left",bottom:"top",top:"bottom"};function jh(e){return e.replace(/left|right|bottom|top/g,function(t){return F6[t]})}var B6={start:"end",end:"start"};function GS(e){return e.replace(/start|end/g,function(t){return B6[t]})}function Dv(e){var t=lr(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Fv(e){return Da(js(e)).left+Dv(e).scrollLeft}function H6(e){var t=lr(e),n=js(e),i=t.visualViewport,s=n.clientWidth,o=n.clientHeight,l=0,h=0;return i&&(s=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=i.offsetLeft,h=i.offsetTop)),{width:s,height:o,x:l+Fv(e),y:h}}function U6(e){var t,n=js(e),i=Dv(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=_o(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=_o(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),h=-i.scrollLeft+Fv(e),d=-i.scrollTop;return Or(s||n).direction==="rtl"&&(h+=_o(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:l,x:h,y:d}}function Bv(e){var t=Or(e),n=t.overflow,i=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function ZO(e){return["html","body","#document"].indexOf(Ar(e))>=0?e.ownerDocument.body:Mi(e)&&Bv(e)?e:ZO(Cd(e))}function Zl(e,t){var n;t===void 0&&(t=[]);var i=ZO(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),o=lr(i),l=s?[o].concat(o.visualViewport||[],Bv(i)?i:[]):i,h=t.concat(l);return s?h:h.concat(Zl(Cd(l)))}function iy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function $6(e){var t=Da(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function qS(e,t){return t===WO?iy(H6(e)):Na(t)?$6(t):iy(U6(js(e)))}function j6(e){var t=Zl(Cd(e)),n=["absolute","fixed"].indexOf(Or(e).position)>=0,i=n&&Mi(e)?Yc(e):e;return Na(i)?t.filter(function(s){return Na(s)&&qO(s,i)&&Ar(s)!=="body"&&(n?Or(s).position!=="static":!0)}):[]}function V6(e,t,n){var i=t==="clippingParents"?j6(e):[].concat(t),s=[].concat(i,[n]),o=s[0],l=s.reduce(function(h,d){var v=qS(e,d);return h.top=_o(v.top,h.top),h.right=Rf(v.right,h.right),h.bottom=Rf(v.bottom,h.bottom),h.left=_o(v.left,h.left),h},qS(e,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function QO(e){var t=e.reference,n=e.element,i=e.placement,s=i?wr(i):null,o=i?Fa(i):null,l=t.x+t.width/2-n.width/2,h=t.y+t.height/2-n.height/2,d;switch(s){case yi:d={x:l,y:t.y-n.height};break;case Hi:d={x:l,y:t.y+t.height};break;case Ui:d={x:t.x+t.width,y:h};break;case vi:d={x:t.x-n.width,y:h};break;default:d={x:t.x,y:t.y}}var v=s?Mv(s):null;if(v!=null){var y=v==="y"?"height":"width";switch(o){case Ia:d[v]=d[v]-(t[y]/2-n[y]/2);break;case _c:d[v]=d[v]+(t[y]/2-n[y]/2);break}}return d}function Ec(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=i===void 0?e.placement:i,o=n.boundary,l=o===void 0?u6:o,h=n.rootBoundary,d=h===void 0?WO:h,v=n.elementContext,y=v===void 0?Il:v,E=n.altBoundary,C=E===void 0?!1:E,T=n.padding,O=T===void 0?0:T,P=KO(typeof O!="number"?O:JO(O,qc)),I=y===Il?h6:Il,R=e.rects.popper,D=e.elements[C?I:y],F=V6(Na(D)?D:D.contextElement||js(e.elements.popper),l,d),A=Da(e.elements.reference),$=QO({reference:A,element:R,placement:s}),U=iy(Object.assign({},R,$)),N=y===Il?U:A,J={top:F.top-N.top+P.top,bottom:N.bottom-F.bottom+P.bottom,left:F.left-N.left+P.left,right:N.right-F.right+P.right},Y=e.modifiersData.offset;if(y===Il&&Y){var K=Y[s];Object.keys(J).forEach(function(oe){var q=[Ui,Hi].indexOf(oe)>=0?1:-1,ce=[yi,Hi].indexOf(oe)>=0?"y":"x";J[oe]+=K[ce]*q})}return J}function W6(e,t){t===void 0&&(t={});var n=t,i=n.placement,s=n.boundary,o=n.rootBoundary,l=n.padding,h=n.flipVariations,d=n.allowedAutoPlacements,v=d===void 0?zO:d,y=Fa(i),E=y?h?WS:WS.filter(function(O){return Fa(O)===y}):qc,C=E.filter(function(O){return v.indexOf(O)>=0});C.length===0&&(C=E);var T=C.reduce(function(O,P){return O[P]=Ec(e,{placement:P,boundary:s,rootBoundary:o,padding:l})[wr(P)],O},{});return Object.keys(T).sort(function(O,P){return T[O]-T[P]})}function z6(e){if(wr(e)===Iv)return[];var t=jh(e);return[GS(e),t,GS(t)]}function X6(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,l=n.altAxis,h=l===void 0?!0:l,d=n.fallbackPlacements,v=n.padding,y=n.boundary,E=n.rootBoundary,C=n.altBoundary,T=n.flipVariations,O=T===void 0?!0:T,P=n.allowedAutoPlacements,I=t.options.placement,R=wr(I),D=R===I,F=d||(D||!O?[jh(I)]:z6(I)),A=[I].concat(F).reduce(function(bt,yt){return bt.concat(wr(yt)===Iv?W6(t,{placement:yt,boundary:y,rootBoundary:E,padding:v,flipVariations:O,allowedAutoPlacements:P}):yt)},[]),$=t.rects.reference,U=t.rects.popper,N=new Map,J=!0,Y=A[0],K=0;K<A.length;K++){var oe=A[K],q=wr(oe),ce=Fa(oe)===Ia,xe=[yi,Hi].indexOf(q)>=0,Se=xe?"width":"height",pe=Ec(t,{placement:oe,boundary:y,rootBoundary:E,altBoundary:C,padding:v}),Ce=xe?ce?Ui:vi:ce?Hi:yi;$[Se]>U[Se]&&(Ce=jh(Ce));var be=jh(Ce),Pe=[];if(o&&Pe.push(pe[q]<=0),h&&Pe.push(pe[Ce]<=0,pe[be]<=0),Pe.every(function(bt){return bt})){Y=oe,J=!1;break}N.set(oe,Pe)}if(J)for(var ot=O?3:1,tt=function(yt){var xt=A.find(function(me){var Te=N.get(me);if(Te)return Te.slice(0,yt).every(function(Ae){return Ae})});if(xt)return Y=xt,"break"},Je=ot;Je>0;Je--){var Ct=tt(Je);if(Ct==="break")break}t.placement!==Y&&(t.modifiersData[i]._skip=!0,t.placement=Y,t.reset=!0)}}var G6={name:"flip",enabled:!0,phase:"main",fn:X6,requiresIfExists:["offset"],data:{_skip:!1}};function YS(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function KS(e){return[yi,Ui,Hi,vi].some(function(t){return e[t]>=0})}function q6(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,l=Ec(t,{elementContext:"reference"}),h=Ec(t,{altBoundary:!0}),d=YS(l,i),v=YS(h,s,o),y=KS(d),E=KS(v);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:v,isReferenceHidden:y,hasPopperEscaped:E},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":y,"data-popper-escaped":E})}var Y6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q6};function K6(e,t,n){var i=wr(e),s=[vi,yi].indexOf(i)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=o[0],h=o[1];return l=l||0,h=(h||0)*s,[vi,Ui].indexOf(i)>=0?{x:h,y:l}:{x:l,y:h}}function J6(e){var t=e.state,n=e.options,i=e.name,s=n.offset,o=s===void 0?[0,0]:s,l=zO.reduce(function(y,E){return y[E]=K6(E,t.rects,o),y},{}),h=l[t.placement],d=h.x,v=h.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=v),t.modifiersData[i]=l}var Z6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:J6};function Q6(e){var t=e.state,n=e.name;t.modifiersData[n]=QO({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var eG={name:"popperOffsets",enabled:!0,phase:"read",fn:Q6,data:{}};function tG(e){return e==="x"?"y":"x"}function nG(e){var t=e.state,n=e.options,i=e.name,s=n.mainAxis,o=s===void 0?!0:s,l=n.altAxis,h=l===void 0?!1:l,d=n.boundary,v=n.rootBoundary,y=n.altBoundary,E=n.padding,C=n.tether,T=C===void 0?!0:C,O=n.tetherOffset,P=O===void 0?0:O,I=Ec(t,{boundary:d,rootBoundary:v,padding:E,altBoundary:y}),R=wr(t.placement),D=Fa(t.placement),F=!D,A=Mv(R),$=tG(A),U=t.modifiersData.popperOffsets,N=t.rects.reference,J=t.rects.popper,Y=typeof P=="function"?P(Object.assign({},t.rects,{placement:t.placement})):P,K=typeof Y=="number"?{mainAxis:Y,altAxis:Y}:Object.assign({mainAxis:0,altAxis:0},Y),oe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(U){if(o){var ce,xe=A==="y"?yi:vi,Se=A==="y"?Hi:Ui,pe=A==="y"?"height":"width",Ce=U[A],be=Ce+I[xe],Pe=Ce-I[Se],ot=T?-J[pe]/2:0,tt=D===Ia?N[pe]:J[pe],Je=D===Ia?-J[pe]:-N[pe],Ct=t.elements.arrow,bt=T&&Ct?Nv(Ct):{width:0,height:0},yt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:YO(),xt=yt[xe],me=yt[Se],Te=Jl(0,N[pe],bt[pe]),Ae=F?N[pe]/2-ot-Te-xt-K.mainAxis:tt-Te-xt-K.mainAxis,Ie=F?-N[pe]/2+ot+Te+me+K.mainAxis:Je+Te+me+K.mainAxis,We=t.elements.arrow&&Yc(t.elements.arrow),we=We?A==="y"?We.clientTop||0:We.clientLeft||0:0,z=(ce=oe?.[A])!=null?ce:0,G=Ce+Ae-z-we,le=Ce+Ie-z,ve=Jl(T?Rf(be,G):be,Ce,T?_o(Pe,le):Pe);U[A]=ve,q[A]=ve-Ce}if(h){var fe,W=A==="x"?yi:vi,X=A==="x"?Hi:Ui,ee=U[$],ae=$==="y"?"height":"width",he=ee+I[W],Ee=ee-I[X],Q=[yi,vi].indexOf(R)!==-1,se=(fe=oe?.[$])!=null?fe:0,Oe=Q?he:ee-N[ae]-J[ae]-se+K.altAxis,Ue=Q?ee+N[ae]+J[ae]-se-K.altAxis:Ee,Qe=T&&Q?C6(Oe,ee,Ue):Jl(T?Oe:he,ee,T?Ue:Ee);U[$]=Qe,q[$]=Qe-ee}t.modifiersData[i]=q}}var iG={name:"preventOverflow",enabled:!0,phase:"main",fn:nG,requiresIfExists:["offset"]};function rG(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sG(e){return e===lr(e)||!Mi(e)?Dv(e):rG(e)}function oG(e){var t=e.getBoundingClientRect(),n=Ma(t.width)/e.offsetWidth||1,i=Ma(t.height)/e.offsetHeight||1;return n!==1||i!==1}function aG(e,t,n){n===void 0&&(n=!1);var i=Mi(t),s=Mi(t)&&oG(t),o=js(t),l=Da(e,s),h={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!n)&&((Ar(t)!=="body"||Bv(o))&&(h=sG(t)),Mi(t)?(d=Da(t,!0),d.x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=Fv(o))),{x:l.left+h.scrollLeft-d.x,y:l.top+h.scrollTop-d.y,width:l.width,height:l.height}}function lG(e){var t=new Map,n=new Set,i=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(h){if(!n.has(h)){var d=t.get(h);d&&s(d)}}),i.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),i}function cG(e){var t=lG(e);return E6.reduce(function(n,i){return n.concat(t.filter(function(s){return s.phase===i}))},[])}function uG(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function hG(e){var t=e.reduce(function(n,i){var s=n[i.name];return n[i.name]=s?Object.assign({},s,i,{options:Object.assign({},s.options,i.options),data:Object.assign({},s.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var JS={placement:"bottom",modifiers:[],strategy:"absolute"};function ZS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function fG(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?JS:s;return function(h,d,v){v===void 0&&(v=o);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},JS,o),modifiersData:{},elements:{reference:h,popper:d},attributes:{},styles:{}},E=[],C=!1,T={state:y,setOptions:function(R){var D=typeof R=="function"?R(y.options):R;P(),y.options=Object.assign({},o,y.options,D),y.scrollParents={reference:Na(h)?Zl(h):h.contextElement?Zl(h.contextElement):[],popper:Zl(d)};var F=cG(hG([].concat(i,y.options.modifiers)));return y.orderedModifiers=F.filter(function(A){return A.enabled}),O(),T.update()},forceUpdate:function(){if(!C){var R=y.elements,D=R.reference,F=R.popper;if(ZS(D,F)){y.rects={reference:aG(D,Yc(F),y.options.strategy==="fixed"),popper:Nv(F)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(K){return y.modifiersData[K.name]=Object.assign({},K.data)});for(var A=0;A<y.orderedModifiers.length;A++){if(y.reset===!0){y.reset=!1,A=-1;continue}var $=y.orderedModifiers[A],U=$.fn,N=$.options,J=N===void 0?{}:N,Y=$.name;typeof U=="function"&&(y=U({state:y,options:J,name:Y,instance:T})||y)}}}},update:uG(function(){return new Promise(function(I){T.forceUpdate(),I(y)})}),destroy:function(){P(),C=!0}};if(!ZS(h,d))return T;T.setOptions(v).then(function(I){!C&&v.onFirstUpdate&&v.onFirstUpdate(I)});function O(){y.orderedModifiers.forEach(function(I){var R=I.name,D=I.options,F=D===void 0?{}:D,A=I.effect;if(typeof A=="function"){var $=A({state:y,name:R,instance:T,options:F}),U=function(){};E.push($||U)}})}function P(){E.forEach(function(I){return I()}),E=[]}return T}}var dG=[D6,eG,N6,GO,Z6,G6,iG,P6,Y6],pG=fG({defaultModifiers:dG}),mG="tippy-box",ek="tippy-content",tk="tippy-backdrop",nk="tippy-arrow",ik="tippy-svg-arrow",io={passive:!0,capture:!0},rk=function(){return document.body};function Dm(e,t,n){if(Array.isArray(e)){var i=e[t];return i??(Array.isArray(n)?n[t]:n)}return e}function Hv(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function sk(e,t){return typeof e=="function"?e.apply(void 0,t):e}function QS(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function gG(e){return e.split(/\s+/).filter(Boolean)}function ua(e){return[].concat(e)}function ew(e,t){e.indexOf(t)===-1&&e.push(t)}function yG(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function ok(e){return e.split("-")[0]}function Ba(e){return[].slice.call(e)}function tw(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function ba(){return document.createElement("div")}function Ad(e){return["Element","Fragment"].some(function(t){return Hv(e,t)})}function vG(e){return Hv(e,"NodeList")}function Uv(e){return Hv(e,"MouseEvent")}function bG(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function _G(e){return Ad(e)?[e]:vG(e)?Ba(e):Array.isArray(e)?e:Ba(document.querySelectorAll(e))}function Fm(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function xc(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function ak(e){var t,n=ua(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function EG(e,t){var n=t.clientX,i=t.clientY;return e.every(function(s){var o=s.popperRect,l=s.popperState,h=s.props,d=h.interactiveBorder,v=ok(l.placement),y=l.modifiersData.offset;if(!y)return!0;var E=v==="bottom"?y.top.y:0,C=v==="top"?y.bottom.y:0,T=v==="right"?y.left.x:0,O=v==="left"?y.right.x:0,P=o.top-i+E>d,I=i-o.bottom-C>d,R=o.left-n+T>d,D=n-o.right-O>d;return P||I||R||D})}function Bm(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(s){e[i](s,n)})}function nw(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var vr={isTouch:!1},iw=0;function xG(){vr.isTouch||(vr.isTouch=!0,window.performance&&document.addEventListener("mousemove",lk))}function lk(){var e=performance.now();e-iw<20&&(vr.isTouch=!1,document.removeEventListener("mousemove",lk)),iw=e}function SG(){var e=document.activeElement;if(bG(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function wG(){document.addEventListener("touchstart",xG,io),window.addEventListener("blur",SG)}var TG=typeof window<"u"&&typeof document<"u",CG=TG?!!window.msCrypto:!1,AG={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},OG={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},tr=Object.assign({appendTo:rk,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},AG,OG),kG=Object.keys(tr),PG=function(t){var n=Object.keys(t);n.forEach(function(i){tr[i]=t[i]})};function ck(e){var t=e.plugins||[],n=t.reduce(function(i,s){var o=s.name,l=s.defaultValue;if(o){var h;i[o]=e[o]!==void 0?e[o]:(h=tr[o])!=null?h:l}return i},{});return Object.assign({},e,n)}function LG(e,t){var n=t?Object.keys(ck(Object.assign({},tr,{plugins:t}))):kG,i=n.reduce(function(s,o){var l=(e.getAttribute("data-tippy-"+o)||"").trim();if(!l)return s;if(o==="content")s[o]=l;else try{s[o]=JSON.parse(l)}catch{s[o]=l}return s},{});return i}function rw(e,t){var n=Object.assign({},t,{content:sk(t.content,[e])},t.ignoreAttributes?{}:LG(e,t.plugins));return n.aria=Object.assign({},tr.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var RG=function(){return"innerHTML"};function ry(e,t){e[RG()]=t}function sw(e){var t=ba();return e===!0?t.className=nk:(t.className=ik,Ad(e)?t.appendChild(e):ry(t,e)),t}function ow(e,t){Ad(t.content)?(ry(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?ry(e,t.content):e.textContent=t.content)}function If(e){var t=e.firstElementChild,n=Ba(t.children);return{box:t,content:n.find(function(i){return i.classList.contains(ek)}),arrow:n.find(function(i){return i.classList.contains(nk)||i.classList.contains(ik)}),backdrop:n.find(function(i){return i.classList.contains(tk)})}}function uk(e){var t=ba(),n=ba();n.className=mG,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=ba();i.className=ek,i.setAttribute("data-state","hidden"),ow(i,e.props),t.appendChild(n),n.appendChild(i),s(e.props,e.props);function s(o,l){var h=If(t),d=h.box,v=h.content,y=h.arrow;l.theme?d.setAttribute("data-theme",l.theme):d.removeAttribute("data-theme"),typeof l.animation=="string"?d.setAttribute("data-animation",l.animation):d.removeAttribute("data-animation"),l.inertia?d.setAttribute("data-inertia",""):d.removeAttribute("data-inertia"),d.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?d.setAttribute("role",l.role):d.removeAttribute("role"),(o.content!==l.content||o.allowHTML!==l.allowHTML)&&ow(v,e.props),l.arrow?y?o.arrow!==l.arrow&&(d.removeChild(y),d.appendChild(sw(l.arrow))):d.appendChild(sw(l.arrow)):y&&d.removeChild(y)}return{popper:t,onUpdate:s}}uk.$$tippy=!0;var IG=1,gh=[],Hm=[];function NG(e,t){var n=rw(e,Object.assign({},tr,ck(tw(t)))),i,s,o,l=!1,h=!1,d=!1,v=!1,y,E,C,T=[],O=QS(G,n.interactiveDebounce),P,I=IG++,R=null,D=yG(n.plugins),F={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},A={id:I,reference:e,popper:ba(),popperInstance:R,props:n,state:F,plugins:D,clearDelayTimeouts:Oe,setProps:Ue,setContent:Qe,show:it,hide:kt,hideWithInteractivity:en,enable:Q,disable:se,unmount:Un,destroy:Pn};if(!n.render)return A;var $=n.render(A),U=$.popper,N=$.onUpdate;U.setAttribute("data-tippy-root",""),U.id="tippy-"+A.id,A.popper=U,e._tippy=A,U._tippy=A;var J=D.map(function(de){return de.fn(A)}),Y=e.hasAttribute("aria-expanded");return We(),ot(),Ce(),be("onCreate",[A]),n.showOnCreate&&he(),U.addEventListener("mouseenter",function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()}),U.addEventListener("mouseleave",function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&xe().addEventListener("mousemove",O)}),A;function K(){var de=A.props.touch;return Array.isArray(de)?de:[de,0]}function oe(){return K()[0]==="hold"}function q(){var de;return!!((de=A.props.render)!=null&&de.$$tippy)}function ce(){return P||e}function xe(){var de=ce().parentNode;return de?ak(de):document}function Se(){return If(U)}function pe(de){return A.state.isMounted&&!A.state.isVisible||vr.isTouch||y&&y.type==="focus"?0:Dm(A.props.delay,de?0:1,tr.delay)}function Ce(de){de===void 0&&(de=!1),U.style.pointerEvents=A.props.interactive&&!de?"":"none",U.style.zIndex=""+A.props.zIndex}function be(de,He,Ne){if(Ne===void 0&&(Ne=!0),J.forEach(function(ut){ut[de]&&ut[de].apply(ut,He)}),Ne){var Ze;(Ze=A.props)[de].apply(Ze,He)}}function Pe(){var de=A.props.aria;if(de.content){var He="aria-"+de.content,Ne=U.id,Ze=ua(A.props.triggerTarget||e);Ze.forEach(function(ut){var _t=ut.getAttribute(He);if(A.state.isVisible)ut.setAttribute(He,_t?_t+" "+Ne:Ne);else{var ei=_t&&_t.replace(Ne,"").trim();ei?ut.setAttribute(He,ei):ut.removeAttribute(He)}})}}function ot(){if(!(Y||!A.props.aria.expanded)){var de=ua(A.props.triggerTarget||e);de.forEach(function(He){A.props.interactive?He.setAttribute("aria-expanded",A.state.isVisible&&He===ce()?"true":"false"):He.removeAttribute("aria-expanded")})}}function tt(){xe().removeEventListener("mousemove",O),gh=gh.filter(function(de){return de!==O})}function Je(de){if(!(vr.isTouch&&(d||de.type==="mousedown"))){var He=de.composedPath&&de.composedPath()[0]||de.target;if(!(A.props.interactive&&nw(U,He))){if(ua(A.props.triggerTarget||e).some(function(Ne){return nw(Ne,He)})){if(vr.isTouch||A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else be("onClickOutside",[A,de]);A.props.hideOnClick===!0&&(A.clearDelayTimeouts(),A.hide(),h=!0,setTimeout(function(){h=!1}),A.state.isMounted||xt())}}}function Ct(){d=!0}function bt(){d=!1}function yt(){var de=xe();de.addEventListener("mousedown",Je,!0),de.addEventListener("touchend",Je,io),de.addEventListener("touchstart",bt,io),de.addEventListener("touchmove",Ct,io)}function xt(){var de=xe();de.removeEventListener("mousedown",Je,!0),de.removeEventListener("touchend",Je,io),de.removeEventListener("touchstart",bt,io),de.removeEventListener("touchmove",Ct,io)}function me(de,He){Ae(de,function(){!A.state.isVisible&&U.parentNode&&U.parentNode.contains(U)&&He()})}function Te(de,He){Ae(de,He)}function Ae(de,He){var Ne=Se().box;function Ze(ut){ut.target===Ne&&(Bm(Ne,"remove",Ze),He())}if(de===0)return He();Bm(Ne,"remove",E),Bm(Ne,"add",Ze),E=Ze}function Ie(de,He,Ne){Ne===void 0&&(Ne=!1);var Ze=ua(A.props.triggerTarget||e);Ze.forEach(function(ut){ut.addEventListener(de,He,Ne),T.push({node:ut,eventType:de,handler:He,options:Ne})})}function We(){oe()&&(Ie("touchstart",z,{passive:!0}),Ie("touchend",le,{passive:!0})),gG(A.props.trigger).forEach(function(de){if(de!=="manual")switch(Ie(de,z),de){case"mouseenter":Ie("mouseleave",le);break;case"focus":Ie(CG?"focusout":"blur",ve);break;case"focusin":Ie("focusout",ve);break}})}function we(){T.forEach(function(de){var He=de.node,Ne=de.eventType,Ze=de.handler,ut=de.options;He.removeEventListener(Ne,Ze,ut)}),T=[]}function z(de){var He,Ne=!1;if(!(!A.state.isEnabled||fe(de)||h)){var Ze=((He=y)==null?void 0:He.type)==="focus";y=de,P=de.currentTarget,ot(),!A.state.isVisible&&Uv(de)&&gh.forEach(function(ut){return ut(de)}),de.type==="click"&&(A.props.trigger.indexOf("mouseenter")<0||l)&&A.props.hideOnClick!==!1&&A.state.isVisible?Ne=!0:he(de),de.type==="click"&&(l=!Ne),Ne&&!Ze&&Ee(de)}}function G(de){var He=de.target,Ne=ce().contains(He)||U.contains(He);if(!(de.type==="mousemove"&&Ne)){var Ze=ae().concat(U).map(function(ut){var _t,ei=ut._tippy,Mt=(_t=ei.popperInstance)==null?void 0:_t.state;return Mt?{popperRect:ut.getBoundingClientRect(),popperState:Mt,props:n}:null}).filter(Boolean);EG(Ze,de)&&(tt(),Ee(de))}}function le(de){var He=fe(de)||A.props.trigger.indexOf("click")>=0&&l;if(!He){if(A.props.interactive){A.hideWithInteractivity(de);return}Ee(de)}}function ve(de){A.props.trigger.indexOf("focusin")<0&&de.target!==ce()||A.props.interactive&&de.relatedTarget&&U.contains(de.relatedTarget)||Ee(de)}function fe(de){return vr.isTouch?oe()!==de.type.indexOf("touch")>=0:!1}function W(){X();var de=A.props,He=de.popperOptions,Ne=de.placement,Ze=de.offset,ut=de.getReferenceClientRect,_t=de.moveTransition,ei=q()?If(U).arrow:null,Mt=ut?{getBoundingClientRect:ut,contextElement:ut.contextElement||ce()}:e,nl={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ho){var tn=Ho.state;if(q()){var Xd=Se(),il=Xd.box;["placement","reference-hidden","escaped"].forEach(function(Uo){Uo==="placement"?il.setAttribute("data-placement",tn.placement):tn.attributes.popper["data-popper-"+Uo]?il.setAttribute("data-"+Uo,""):il.removeAttribute("data-"+Uo)}),tn.attributes.popper={}}}},Lr=[{name:"offset",options:{offset:Ze}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!_t}},nl];q()&&ei&&Lr.push({name:"arrow",options:{element:ei,padding:3}}),Lr.push.apply(Lr,He?.modifiers||[]),A.popperInstance=pG(Mt,U,Object.assign({},He,{placement:Ne,onFirstUpdate:C,modifiers:Lr}))}function X(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function ee(){var de=A.props.appendTo,He,Ne=ce();A.props.interactive&&de===rk||de==="parent"?He=Ne.parentNode:He=sk(de,[Ne]),He.contains(U)||He.appendChild(U),A.state.isMounted=!0,W()}function ae(){return Ba(U.querySelectorAll("[data-tippy-root]"))}function he(de){A.clearDelayTimeouts(),de&&be("onTrigger",[A,de]),yt();var He=pe(!0),Ne=K(),Ze=Ne[0],ut=Ne[1];vr.isTouch&&Ze==="hold"&&ut&&(He=ut),He?i=setTimeout(function(){A.show()},He):A.show()}function Ee(de){if(A.clearDelayTimeouts(),be("onUntrigger",[A,de]),!A.state.isVisible){xt();return}if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(de.type)>=0&&l)){var He=pe(!1);He?s=setTimeout(function(){A.state.isVisible&&A.hide()},He):o=requestAnimationFrame(function(){A.hide()})}}function Q(){A.state.isEnabled=!0}function se(){A.hide(),A.state.isEnabled=!1}function Oe(){clearTimeout(i),clearTimeout(s),cancelAnimationFrame(o)}function Ue(de){if(!A.state.isDestroyed){be("onBeforeUpdate",[A,de]),we();var He=A.props,Ne=rw(e,Object.assign({},He,tw(de),{ignoreAttributes:!0}));A.props=Ne,We(),He.interactiveDebounce!==Ne.interactiveDebounce&&(tt(),O=QS(G,Ne.interactiveDebounce)),He.triggerTarget&&!Ne.triggerTarget?ua(He.triggerTarget).forEach(function(Ze){Ze.removeAttribute("aria-expanded")}):Ne.triggerTarget&&e.removeAttribute("aria-expanded"),ot(),Ce(),N&&N(He,Ne),A.popperInstance&&(W(),ae().forEach(function(Ze){requestAnimationFrame(Ze._tippy.popperInstance.forceUpdate)})),be("onAfterUpdate",[A,de])}}function Qe(de){A.setProps({content:de})}function it(){var de=A.state.isVisible,He=A.state.isDestroyed,Ne=!A.state.isEnabled,Ze=vr.isTouch&&!A.props.touch,ut=Dm(A.props.duration,0,tr.duration);if(!(de||He||Ne||Ze)&&!ce().hasAttribute("disabled")&&(be("onShow",[A],!1),A.props.onShow(A)!==!1)){if(A.state.isVisible=!0,q()&&(U.style.visibility="visible"),Ce(),yt(),A.state.isMounted||(U.style.transition="none"),q()){var _t=Se(),ei=_t.box,Mt=_t.content;Fm([ei,Mt],0)}C=function(){var Lr;if(!(!A.state.isVisible||v)){if(v=!0,U.offsetHeight,U.style.transition=A.props.moveTransition,q()&&A.props.animation){var Vs=Se(),Ho=Vs.box,tn=Vs.content;Fm([Ho,tn],ut),xc([Ho,tn],"visible")}Pe(),ot(),ew(Hm,A),(Lr=A.popperInstance)==null||Lr.forceUpdate(),be("onMount",[A]),A.props.animation&&q()&&Te(ut,function(){A.state.isShown=!0,be("onShown",[A])})}},ee()}}function kt(){var de=!A.state.isVisible,He=A.state.isDestroyed,Ne=!A.state.isEnabled,Ze=Dm(A.props.duration,1,tr.duration);if(!(de||He||Ne)&&(be("onHide",[A],!1),A.props.onHide(A)!==!1)){if(A.state.isVisible=!1,A.state.isShown=!1,v=!1,l=!1,q()&&(U.style.visibility="hidden"),tt(),xt(),Ce(!0),q()){var ut=Se(),_t=ut.box,ei=ut.content;A.props.animation&&(Fm([_t,ei],Ze),xc([_t,ei],"hidden"))}Pe(),ot(),A.props.animation?q()&&me(Ze,A.unmount):A.unmount()}}function en(de){xe().addEventListener("mousemove",O),ew(gh,O),O(de)}function Un(){A.state.isVisible&&A.hide(),A.state.isMounted&&(X(),ae().forEach(function(de){de._tippy.unmount()}),U.parentNode&&U.parentNode.removeChild(U),Hm=Hm.filter(function(de){return de!==A}),A.state.isMounted=!1,be("onHidden",[A]))}function Pn(){A.state.isDestroyed||(A.clearDelayTimeouts(),A.unmount(),we(),delete e._tippy,A.state.isDestroyed=!0,be("onDestroy",[A]))}}function Ve(e,t){t===void 0&&(t={});var n=tr.plugins.concat(t.plugins||[]);wG();var i=Object.assign({},t,{plugins:n}),s=_G(e),o=s.reduce(function(l,h){var d=h&&NG(h,i);return d&&l.push(d),l},[]);return Ad(e)?o[0]:o}Ve.defaultProps=tr;Ve.setDefaultProps=PG;Ve.currentInput=vr;Object.assign({},GO,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}});var MG={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var i=If(t.popper),s=i.box,o=i.content,l=t.props.animateFill?DG():null;return{onCreate:function(){l&&(s.insertBefore(l,s.firstElementChild),s.setAttribute("data-animatefill",""),s.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(l){var d=s.style.transitionDuration,v=Number(d.replace("ms",""));o.style.transitionDelay=Math.round(v/10)+"ms",l.style.transitionDuration=d,xc([l],"visible")}},onShow:function(){l&&(l.style.transitionDuration="0ms")},onHide:function(){l&&xc([l],"hidden")}}}};function DG(){var e=ba();return e.className=tk,xc([e],"hidden"),e}var sy={clientX:0,clientY:0},yh=[];function hk(e){var t=e.clientX,n=e.clientY;sy={clientX:t,clientY:n}}function FG(e){e.addEventListener("mousemove",hk)}function BG(e){e.removeEventListener("mousemove",hk)}var HG={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,i=ak(t.props.triggerTarget||n),s=!1,o=!1,l=!0,h=t.props;function d(){return t.props.followCursor==="initial"&&t.state.isVisible}function v(){i.addEventListener("mousemove",C)}function y(){i.removeEventListener("mousemove",C)}function E(){s=!0,t.setProps({getReferenceClientRect:null}),s=!1}function C(P){var I=P.target?n.contains(P.target):!0,R=t.props.followCursor,D=P.clientX,F=P.clientY,A=n.getBoundingClientRect(),$=D-A.left,U=F-A.top;(I||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var J=n.getBoundingClientRect(),Y=D,K=F;R==="initial"&&(Y=J.left+$,K=J.top+U);var oe=R==="horizontal"?J.top:K,q=R==="vertical"?J.right:Y,ce=R==="horizontal"?J.bottom:K,xe=R==="vertical"?J.left:Y;return{width:q-xe,height:ce-oe,top:oe,right:q,bottom:ce,left:xe}}})}function T(){t.props.followCursor&&(yh.push({instance:t,doc:i}),FG(i))}function O(){yh=yh.filter(function(P){return P.instance!==t}),yh.filter(function(P){return P.doc===i}).length===0&&BG(i)}return{onCreate:T,onDestroy:O,onBeforeUpdate:function(){h=t.props},onAfterUpdate:function(I,R){var D=R.followCursor;s||D!==void 0&&h.followCursor!==D&&(O(),D?(T(),t.state.isMounted&&!o&&!d()&&v()):(y(),E()))},onMount:function(){t.props.followCursor&&!o&&(l&&(C(sy),l=!1),d()||v())},onTrigger:function(I,R){Uv(R)&&(sy={clientX:R.clientX,clientY:R.clientY}),o=R.type==="focus"},onHidden:function(){t.props.followCursor&&(E(),y(),l=!0)}}}};function UG(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(i){var s=i.name;return s!==t.name}),[t])})}}var $G={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function i(){return!!t.props.inlinePositioning}var s,o=-1,l=!1,h=[],d={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(T){var O=T.state;i()&&(h.indexOf(O.placement)!==-1&&(h=[]),s!==O.placement&&h.indexOf(O.placement)===-1&&(h.push(O.placement),t.setProps({getReferenceClientRect:function(){return v(O.placement)}})),s=O.placement)}};function v(C){return jG(ok(C),n.getBoundingClientRect(),Ba(n.getClientRects()),o)}function y(C){l=!0,t.setProps(C),l=!1}function E(){l||y(UG(t.props,d))}return{onCreate:E,onAfterUpdate:E,onTrigger:function(T,O){if(Uv(O)){var P=Ba(t.reference.getClientRects()),I=P.find(function(D){return D.left-2<=O.clientX&&D.right+2>=O.clientX&&D.top-2<=O.clientY&&D.bottom+2>=O.clientY}),R=P.indexOf(I);o=R>-1?R:o}},onHidden:function(){o=-1}}}};function jG(e,t,n,i){if(n.length<2||e===null)return t;if(n.length===2&&i>=0&&n[0].left>n[1].right)return n[i]||t;switch(e){case"top":case"bottom":{var s=n[0],o=n[n.length-1],l=e==="top",h=s.top,d=o.bottom,v=l?s.left:o.left,y=l?s.right:o.right,E=y-v,C=d-h;return{top:h,bottom:d,left:v,right:y,width:E,height:C}}case"left":case"right":{var T=Math.min.apply(Math,n.map(function(U){return U.left})),O=Math.max.apply(Math,n.map(function(U){return U.right})),P=n.filter(function(U){return e==="left"?U.left===T:U.right===O}),I=P[0].top,R=P[P.length-1].bottom,D=T,F=O,A=F-D,$=R-I;return{top:I,bottom:R,left:D,right:F,width:A,height:$}}default:return t}}var VG={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,i=t.popper;function s(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function o(v){return t.props.sticky===!0||t.props.sticky===v}var l=null,h=null;function d(){var v=o("reference")?s().getBoundingClientRect():null,y=o("popper")?i.getBoundingClientRect():null;(v&&aw(l,v)||y&&aw(h,y))&&t.popperInstance&&t.popperInstance.update(),l=v,h=y,t.state.isMounted&&requestAnimationFrame(d)}return{onMount:function(){t.props.sticky&&d()}}}};function aw(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ve.setDefaultProps({render:uk});Ve.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const WG=e=>e instanceof Object&&"$"in e&&"$el"in e;function fk(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const i=Sn(),s=gt(),o=gt({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),l=or();let h=null;const d=()=>h||(h=document.createDocumentFragment(),h),v=N=>{let J,Y=mt(N)?N.value:N;return Tr(Y)?(l.value||(l.value=Ca({name:n.appName,setup:()=>()=>mt(N)?N.value:N}),i&&Object.assign(l.value._context,i.appContext),l.value.mount(d())),J=()=>d()):typeof Y=="object"?(l.value||(l.value=Ca({name:n.appName,setup:()=>()=>$t(mt(N)?N.value:N)}),i&&Object.assign(l.value._context,i.appContext),l.value.mount(d())),J=()=>d()):J=Y,J},y=N=>{let J={};return mt(N)?J=N.value||{}:Ti(N)?J={...N}:J={...N},J.content&&(J.content=v(J.content)),J.triggerTarget&&(J.triggerTarget=mt(J.triggerTarget)?J.triggerTarget.value:J.triggerTarget),(!J.plugins||!Array.isArray(J.plugins))&&(J.plugins=[]),J.plugins=J.plugins.filter(Y=>Y.name!=="vueTippyReactiveState"),J.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){o.value.isEnabled=!0},onMount(){o.value.isMounted=!0},onShow(){o.value.isMounted=!0,o.value.isVisible=!0},onShown(){o.value.isShown=!0},onHide(){o.value.isMounted=!1,o.value.isVisible=!1},onHidden(){o.value.isShown=!1},onUnmounted(){o.value.isMounted=!1},onDestroy(){o.value.isDestroyed=!0}})}),J},E=()=>{s.value&&s.value.setProps(y(t))},C=()=>{!s.value||!t.content||s.value.setContent(v(t.content))},T=N=>{var J;(J=s.value)===null||J===void 0||J.setContent(v(N))},O=N=>{var J;(J=s.value)===null||J===void 0||J.setProps(y(N))},P=()=>{var N;s.value&&(s.value.destroy(),s.value=void 0),h=null,(N=l.value)===null||N===void 0||N.unmount(),l.value=void 0},I=()=>{var N;(N=s.value)===null||N===void 0||N.show()},R=()=>{var N;(N=s.value)===null||N===void 0||N.hide()},D=()=>{var N;(N=s.value)===null||N===void 0||N.disable(),o.value.isEnabled=!1},F=()=>{var N;(N=s.value)===null||N===void 0||N.enable(),o.value.isEnabled=!0},A=()=>{var N;(N=s.value)===null||N===void 0||N.unmount()},$=()=>{if(!e)return;let N=mt(e)?e.value:e;typeof N=="function"&&(N=N()),WG(N)&&(N=N.$el),N&&(s.value=Ve(N,y(t)),N.$tippy=U)},U={tippy:s,refresh:E,refreshContent:C,setContent:T,setProps:O,destroy:P,hide:R,show:I,disable:D,enable:F,unmount:A,mount:$,state:o};return n.mount&&(i?i.isMounted?$():rs($):$()),i&&Do(()=>{P()}),mt(t)||Ti(t)?an(t,E,{immediate:!1}):mt(t.content)&&an(t.content,C,{immediate:!1}),U}function zG(e){return typeof e=="function"?e():An(e)}function XG(e){var t,n;const i=zG(e);return(n=(t=i)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:i}const GG=Qn({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Ve.defaultProps.appendTo},aria:{default:()=>Ve.defaultProps.aria},delay:{default:()=>Ve.defaultProps.delay},duration:{default:()=>Ve.defaultProps.duration},getReferenceClientRect:{default:()=>Ve.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Ve.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Ve.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Ve.defaultProps.interactive},interactiveBorder:{default:()=>Ve.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Ve.defaultProps.interactiveDebounce},moveTransition:{default:()=>Ve.defaultProps.moveTransition},offset:{default:()=>Ve.defaultProps.offset},onAfterUpdate:{default:()=>Ve.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Ve.defaultProps.onBeforeUpdate},onCreate:{default:()=>Ve.defaultProps.onCreate},onDestroy:{default:()=>Ve.defaultProps.onDestroy},onHidden:{default:()=>Ve.defaultProps.onHidden},onHide:{default:()=>Ve.defaultProps.onHide},onMount:{default:()=>Ve.defaultProps.onMount},onShow:{default:()=>Ve.defaultProps.onShow},onShown:{default:()=>Ve.defaultProps.onShown},onTrigger:{default:()=>Ve.defaultProps.onTrigger},onUntrigger:{default:()=>Ve.defaultProps.onUntrigger},onClickOutside:{default:()=>Ve.defaultProps.onClickOutside},placement:{default:()=>Ve.defaultProps.placement},plugins:{default:()=>Ve.defaultProps.plugins},popperOptions:{default:()=>Ve.defaultProps.popperOptions},render:{default:()=>Ve.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Ve.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Ve.defaultProps.touch},trigger:{default:()=>Ve.defaultProps.trigger},triggerTarget:{default:()=>Ve.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Ve.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Ve.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Ve.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Ve.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Ve.defaultProps.allowHTML},animation:{default:()=>Ve.defaultProps.animation},arrow:{default:()=>Ve.defaultProps.arrow},content:{default:()=>Ve.defaultProps.content},inertia:{default:()=>Ve.defaultProps.inertia},maxWidth:{default:()=>Ve.defaultProps.maxWidth},role:{default:()=>Ve.defaultProps.role},theme:{default:()=>Ve.defaultProps.theme},zIndex:{default:()=>Ve.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:i}){const s=gt(),o=gt(),l=gt(),h=gt(!1),d=()=>{let T={...e};for(const O of["to","tag","contentTag","contentClass"])T.hasOwnProperty(O)&&delete T[O];return T};let v=()=>XG(s);e.to&&(typeof Element<"u"&&e.to instanceof Element?v=()=>e.to:e.to==="parent"?v=()=>{let T=s.value;return T||(T=s.value=o.value.parentElement),T}:(typeof e.to=="string"||e.to instanceof String)&&(v=()=>document.querySelector(e.to)));const y=fk(v,d());let E=t.content;!E&&e.to==="parent"&&(E=t.default),rs(()=>{h.value=!0,Ci(()=>{E&&y.setContent(()=>l.value)})}),an(y.state,()=>{n("state",An(y.state))},{immediate:!0,deep:!0}),an(()=>e,()=>{y.setProps(d()),E&&y.setContent(()=>l.value)},{deep:!0});let C=bi({elem:s,contentElem:l,mounted:h,...y});return i(C),()=>{const T=(typeof e.contentTag=="string",e.contentTag),O=E?$t(T,{ref:l,style:{display:h.value?"inherit":"none"},class:e.contentClass},E(C)):null;if(e.to==="parent"){const R=[];if(!s.value){const D=$t("span",{ref:o,"data-v-tippy":"",style:{display:"none"}});R.push(D)}return O&&R.push(O),R}const P=t.default?t.default(C):[];if(!e.tag){const R=$t(P[0],{ref:s,"data-v-tippy":""});return O?[R,O]:R}const I=(typeof e.tag=="string",e.tag);return $t(I,{ref:s,"data-v-tippy":""},O?[P,O]:P)}}}),qG=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let lw={};Object.keys(Ve.defaultProps).forEach(e=>{qG.includes(e)?lw[e]={type:Boolean,default:function(){return Ve.defaultProps[e]}}:lw[e]={default:function(){return Ve.defaultProps[e]}}});const YG={mounted(e,t,n){const i=typeof t.value=="string"?{content:t.value}:t.value||{},s=Object.keys(t.modifiers||{}),o=s.find(h=>h!=="arrow"),l=s.findIndex(h=>h==="arrow")!==-1;o&&(i.placement=i.placement||o),l&&(i.arrow=i.arrow!==void 0?i.arrow:!0),n.props&&n.props.onTippyShow&&(i.onShow=function(...h){var d;return(d=n.props)===null||d===void 0?void 0:d.onTippyShow(...h)}),n.props&&n.props.onTippyShown&&(i.onShown=function(...h){var d;return(d=n.props)===null||d===void 0?void 0:d.onTippyShown(...h)}),n.props&&n.props.onTippyHidden&&(i.onHidden=function(...h){var d;return(d=n.props)===null||d===void 0?void 0:d.onTippyHidden(...h)}),n.props&&n.props.onTippyHide&&(i.onHide=function(...h){var d;return(d=n.props)===null||d===void 0?void 0:d.onTippyHide(...h)}),n.props&&n.props.onTippyMount&&(i.onMount=function(...h){var d;return(d=n.props)===null||d===void 0?void 0:d.onTippyMount(...h)}),e.getAttribute("title")&&!i.content&&(i.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!i.content&&(i.content=e.getAttribute("content")),fk(e,i)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};n.content||(n.content=null),e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},KG=Ve.setDefaultProps;KG({ignoreAttributes:!0,plugins:[VG,$G,HG,MG]});const JG=fn(e=>{e.vueApp.component("Tippy",GG),e.vueApp.directive("tippy",YG)});function ZG(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $v(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}),n}var Um={exports:{}},Vh={exports:{}},QG=Vh.exports,cw;function dk(){return cw||(cw=1,(function(e,t){(function(n,i){n._Highcharts=i(),e.exports=n._Highcharts})(typeof window>"u"?QG:window,()=>(()=>{let n,i;var s,o,l,h,d,v,y,E,C,T,O,P,I,R,D,F,A,$={};$.d=(b,r)=>{for(var a in r)$.o(r,a)&&!$.o(b,a)&&Object.defineProperty(b,a,{enumerable:!0,get:r[a]})},$.o=(b,r)=>Object.prototype.hasOwnProperty.call(b,r);var U={};$.d(U,{default:()=>cM}),(function(b){b.SVG_NS="http://www.w3.org/2000/svg",b.product="Highcharts",b.version="12.1.2",b.win=typeof window<"u"?window:{},b.doc=b.win.document,b.svg=b.doc&&b.doc.createElementNS&&!!b.doc.createElementNS(b.SVG_NS,"svg").createSVGRect,b.pageLang=b.doc?.documentElement?.closest("[lang]")?.lang,b.userAgent=b.win.navigator&&b.win.navigator.userAgent||"",b.isChrome=b.win.chrome,b.isFirefox=b.userAgent.indexOf("Firefox")!==-1,b.isMS=/(edge|msie|trident)/i.test(b.userAgent)&&!b.win.opera,b.isSafari=!b.isChrome&&b.userAgent.indexOf("Safari")!==-1,b.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(b.userAgent),b.isWebKit=b.userAgent.indexOf("AppleWebKit")!==-1,b.deg2rad=2*Math.PI/360,b.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],b.noop=function(){},b.supportsPassiveEvents=(function(){let r=!1;if(!b.isMS){let a=Object.defineProperty({},"passive",{get:function(){r=!0}});b.win.addEventListener&&b.win.removeEventListener&&(b.win.addEventListener("testPassive",b.noop,a),b.win.removeEventListener("testPassive",b.noop,a))}return r})(),b.charts=[],b.composed=[],b.dateFormats={},b.seriesTypes={},b.symbolSizes={},b.chartCount=0})(s||(s={}));let N=s,{charts:J,doc:Y,win:K}=N;function oe(b,r,a,c){let u=r?"Highcharts error":"Highcharts warning";b===32&&(b=`${u}: Deprecated member`);let f=be(b),p=f?`${u} #${b}: www.highcharts.com/errors/${b}/`:b.toString();if(c!==void 0){let m="";f&&(p+="?"),Te(c,function(g,_){m+=` - ${_}: ${g}`,f&&(p+=encodeURI(_)+"="+encodeURI(g))}),p+=m}Ie(N,"displayError",{chart:a,code:b,message:p,params:c},function(){if(r)throw Error(p);K.console&&oe.messages.indexOf(p)===-1&&console.warn(p)}),oe.messages.push(p)}function q(b,r){return parseInt(b,r||10)}function ce(b){return typeof b=="string"}function xe(b){let r=Object.prototype.toString.call(b);return r==="[object Array]"||r==="[object Array Iterator]"}function Se(b,r){return!!b&&typeof b=="object"&&(!r||!xe(b))}function pe(b){return Se(b)&&typeof b.nodeType=="number"}function Ce(b){let r=b&&b.constructor;return!!(Se(b,!0)&&!pe(b)&&r&&r.name&&r.name!=="Object")}function be(b){return typeof b=="number"&&!isNaN(b)&&b<1/0&&b>-1/0}function Pe(b){return b!=null}function ot(b,r,a){let c,u=ce(r)&&!Pe(a),f=(p,m)=>{Pe(p)?b.setAttribute(m,p):u?(c=b.getAttribute(m))||m!=="class"||(c=b.getAttribute(m+"Name")):b.removeAttribute(m)};return ce(r)?f(a,r):Te(r,f),c}function tt(b){return xe(b)?b:[b]}function Je(b,r){let a;for(a in b||(b={}),r)b[a]=r[a];return b}function Ct(){let b=arguments,r=b.length;for(let a=0;a<r;a++){let c=b[a];if(c!=null)return c}}function bt(b,r){Je(b.style,r)}function yt(b){return Math.pow(10,Math.floor(Math.log(b)/Math.LN10))}function xt(b,r){return b>1e14?b:parseFloat(b.toPrecision(r||14))}(oe||(oe={})).messages=[],Math.easeInOutSine=function(b){return-.5*(Math.cos(Math.PI*b)-1)};let me=Array.prototype.find?function(b,r){return b.find(r)}:function(b,r){let a,c=b.length;for(a=0;a<c;a++)if(r(b[a],a))return b[a]};function Te(b,r,a){for(let c in b)Object.hasOwnProperty.call(b,c)&&r.call(a||b[c],b[c],c,b)}function Ae(b,r,a){function c(p,m){let g=b.removeEventListener;g&&g.call(b,p,m,!1)}function u(p){let m,g;b.nodeName&&(r?(m={})[r]=!0:m=p,Te(m,function(_,S){if(p[S])for(g=p[S].length;g--;)c(S,p[S][g].fn)}))}let f=typeof b=="function"&&b.prototype||b;if(Object.hasOwnProperty.call(f,"hcEvents")){let p=f.hcEvents;if(r){let m=p[r]||[];a?(p[r]=m.filter(function(g){return a!==g.fn}),c(r,a)):(u(p),p[r]=[])}else u(p),delete f.hcEvents}}function Ie(b,r,a,c){if(a=a||{},Y.createEvent&&(b.dispatchEvent||b.fireEvent&&b!==N)){let u=Y.createEvent("Events");u.initEvent(r,!0,!0),a=Je(u,a),b.dispatchEvent?b.dispatchEvent(a):b.fireEvent(r,a)}else if(b.hcEvents){a.target||Je(a,{preventDefault:function(){a.defaultPrevented=!0},target:b,type:r});let u=[],f=b,p=!1;for(;f.hcEvents;)Object.hasOwnProperty.call(f,"hcEvents")&&f.hcEvents[r]&&(u.length&&(p=!0),u.unshift.apply(u,f.hcEvents[r])),f=Object.getPrototypeOf(f);p&&u.sort((m,g)=>m.order-g.order),u.forEach(m=>{m.fn.call(b,a)===!1&&a.preventDefault()})}c&&!a.defaultPrevented&&c.call(b,a)}let We=(function(){let b=Math.random().toString(36).substring(2,9)+"-",r=0;return function(){return"highcharts-"+(n?"":b)+r++}})();K.jQuery&&(K.jQuery.fn.highcharts=function(){let b=[].slice.call(arguments);if(this[0])return b[0]?(new N[ce(b[0])?b.shift():"Chart"](this[0],b[0],b[1]),this):J[ot(this[0],"data-highcharts-chart")]});let we={addEvent:function(b,r,a,c={}){let u=typeof b=="function"&&b.prototype||b;Object.hasOwnProperty.call(u,"hcEvents")||(u.hcEvents={});let f=u.hcEvents;N.Point&&b instanceof N.Point&&b.series&&b.series.chart&&(b.series.chart.runTrackerClick=!0);let p=b.addEventListener;p&&p.call(b,r,a,!!N.supportsPassiveEvents&&{passive:c.passive===void 0?r.indexOf("touch")!==-1:c.passive,capture:!1}),f[r]||(f[r]=[]);let m={fn:a,order:typeof c.order=="number"?c.order:1/0};return f[r].push(m),f[r].sort((g,_)=>g.order-_.order),function(){Ae(b,r,a)}},arrayMax:function(b){let r=b.length,a=b[0];for(;r--;)b[r]>a&&(a=b[r]);return a},arrayMin:function(b){let r=b.length,a=b[0];for(;r--;)b[r]<a&&(a=b[r]);return a},attr:ot,clamp:function(b,r,a){return b>r?b<a?b:a:r},clearTimeout:function(b){Pe(b)&&clearTimeout(b)},correctFloat:xt,createElement:function(b,r,a,c,u){let f=Y.createElement(b);return r&&Je(f,r),u&&bt(f,{padding:"0",border:"none",margin:"0"}),a&&bt(f,a),c&&c.appendChild(f),f},crisp:function(b,r=0,a){let c=r%2/2,u=a?-1:1;return(Math.round(b*u-c)+c)*u},css:bt,defined:Pe,destroyObjectProperties:function(b,r,a){Te(b,function(c,u){c!==r&&c?.destroy&&c.destroy(),(c?.destroy||!a)&&delete b[u]})},diffObjects:function(b,r,a,c){let u={};return(function f(p,m,g,_){let S=a?m:p;Te(p,function(x,w){if(!_&&c&&c.indexOf(w)>-1&&m[w]){x=tt(x),g[w]=[];for(let k=0;k<Math.max(x.length,m[w].length);k++)m[w][k]&&(x[k]===void 0?g[w][k]=m[w][k]:(g[w][k]={},f(x[k],m[w][k],g[w][k],_+1)))}else Se(x,!0)&&!x.nodeType?(g[w]=xe(x)?[]:{},f(x,m[w]||{},g[w],_+1),Object.keys(g[w]).length!==0||w==="colorAxis"&&_===0||delete g[w]):(p[w]!==m[w]||w in p&&!(w in m))&&w!=="__proto__"&&w!=="constructor"&&(g[w]=S[w])})})(b,r,u,0),u},discardElement:function(b){b&&b.parentElement&&b.parentElement.removeChild(b)},erase:function(b,r){let a=b.length;for(;a--;)if(b[a]===r){b.splice(a,1);break}},error:oe,extend:Je,extendClass:function(b,r){let a=function(){};return a.prototype=new b,Je(a.prototype,r),a},find:me,fireEvent:Ie,getAlignFactor:(b="")=>({center:.5,right:1,middle:.5,bottom:1})[b]||0,getClosestDistance:function(b,r){let a,c,u,f=!r;return b.forEach(p=>{if(p.length>1)for(u=p.length-1;u>0;u--)(c=p[u]-p[u-1])<0&&!f?(r?.(),r=void 0):c&&(a===void 0||c<a)&&(a=c)}),a},getMagnitude:yt,getNestedProperty:function(b,r){let a=b.split(".");for(;a.length&&Pe(r);){let c=a.shift();if(c===void 0||c==="__proto__")return;if(c==="this"){let f;return Se(r)&&(f=r["@this"]),f??r}let u=r[c.replace(/[\\'"]/g,"")];if(!Pe(u)||typeof u=="function"||typeof u.nodeType=="number"||u===K)return;r=u}return r},getStyle:function b(r,a,c){let u;if(a==="width"){let p=Math.min(r.offsetWidth,r.scrollWidth),m=r.getBoundingClientRect&&r.getBoundingClientRect().width;return m<p&&m>=p-1&&(p=Math.floor(m)),Math.max(0,p-(b(r,"padding-left",!0)||0)-(b(r,"padding-right",!0)||0))}if(a==="height")return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(b(r,"padding-top",!0)||0)-(b(r,"padding-bottom",!0)||0));let f=K.getComputedStyle(r,void 0);return f&&(u=f.getPropertyValue(a),Ct(c,a!=="opacity")&&(u=q(u))),u},insertItem:function(b,r){let a,c=b.options.index,u=r.length;for(a=b.options.isInternal?u:0;a<u+1;a++)if(!r[a]||be(c)&&c<Ct(r[a].options.index,r[a]._i)||r[a].options.isInternal){r.splice(a,0,b);break}return a},isArray:xe,isClass:Ce,isDOMElement:pe,isFunction:function(b){return typeof b=="function"},isNumber:be,isObject:Se,isString:ce,merge:function(b,...r){let a,c=[b,...r],u={},f=function(m,g){return typeof m!="object"&&(m={}),Te(g,function(_,S){S!=="__proto__"&&S!=="constructor"&&(!Se(_,!0)||Ce(_)||pe(_)?m[S]=g[S]:m[S]=f(m[S]||{},_))}),m};b===!0&&(u=c[1],c=Array.prototype.slice.call(c,2));let p=c.length;for(a=0;a<p;a++)u=f(u,c[a]);return u},normalizeTickInterval:function(b,r,a,c,u){let f,p=b;a=Ct(a,yt(b));let m=b/a;for(!r&&(r=u?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],c===!1&&(a===1?r=r.filter(function(g){return g%1==0}):a<=.1&&(r=[1/a]))),f=0;f<r.length&&(p=r[f],(!u||!(p*a>=b))&&(u||!(m<=(r[f]+(r[f+1]||r[f]))/2)));f++);return xt(p*a,-Math.round(Math.log(.001)/Math.LN10))},objectEach:Te,offset:function(b){let r=Y.documentElement,a=b.parentElement||b.parentNode?b.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:a.top+(K.pageYOffset||r.scrollTop)-(r.clientTop||0),left:a.left+(K.pageXOffset||r.scrollLeft)-(r.clientLeft||0),width:a.width,height:a.height}},pad:function(b,r,a){return Array((r||2)+1-String(b).replace("-","").length).join(a||"0")+b},pick:Ct,pInt:q,pushUnique:function(b,r){return 0>b.indexOf(r)&&!!b.push(r)},relativeLength:function(b,r,a){return/%$/.test(b)?r*parseFloat(b)/100+(a||0):parseFloat(b)},removeEvent:Ae,replaceNested:function(b,...r){let a,c;do for(c of(a=b,r))b=b.replace(c[0],c[1]);while(b!==a);return b},splat:tt,stableSort:function(b,r){let a,c,u=b.length;for(c=0;c<u;c++)b[c].safeI=c;for(b.sort(function(f,p){return(a=r(f,p))===0?f.safeI-p.safeI:a}),c=0;c<u;c++)delete b[c].safeI},syncTimeout:function(b,r,a){return r>0?setTimeout(b,r,a):(b.call(0,a),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},ucfirst:function(b){return ce(b)?b.substring(0,1).toUpperCase()+b.substring(1):String(b)},uniqueKey:We,useSerialIds:function(b){return n=Ct(b,n)},wrap:function(b,r,a){let c=b[r];b[r]=function(){let u=arguments,f=this;return a.apply(this,[function(){return c.apply(f,arguments.length?arguments:u)}].concat([].slice.call(arguments)))}}},{pageLang:z,win:G}=N,{defined:le,error:ve,extend:fe,isNumber:W,isObject:X,isString:ee,merge:ae,objectEach:he,pad:Ee,splat:Q,timeUnits:se,ucfirst:Oe}=we,Ue=N.isSafari&&G.Intl&&!G.Intl.DateTimeFormat.prototype.formatRange,Qe=b=>b.main===void 0,it=b=>["D","L","M","X","J","V","S"].indexOf(b),kt=class{constructor(b){this.options={timezone:"UTC"},this.variableTimezone=!1,this.Date=G.Date,this.update(b)}update(b={}){this.dTLCache={},this.options=b=ae(!0,this.options,b);let{timezoneOffset:r,useUTC:a}=b;this.Date=b.Date||G.Date||Date;let c=b.timezone;le(a)&&(c=a?"UTC":void 0),r&&r%60==0&&(c="Etc/GMT"+(r>0?"+":"")+r/60),this.variableTimezone=c!=="UTC"&&c?.indexOf("Etc/GMT")!==0,this.timezone=c,["months","shortMonths","weekdays","shortWeekdays"].forEach(u=>{let f=/months/i.test(u),p=/short/.test(u),m={timeZone:"UTC"};m[f?"month":"weekday"]=p?"short":"long",this[u]=(f?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(g=>this.dateFormat(m,(f?31:1)*24*36e5*g))})}toParts(b){let[r,a,c,u,f,p,m]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},b,"es").split(/(?:, |\/|:)/g);return[u,+c-1,a,f,p,m,Math.floor(Number(b)||0)%1e3,it(r)].map(Number)}dateTimeFormat(b,r,a=this.options.locale||z){let c=JSON.stringify(b)+a;ee(b)&&(b=this.str2dtf(b));let u=this.dTLCache[c];if(!u){b.timeZone??(b.timeZone=this.timezone);try{u=new Intl.DateTimeFormat(a,b)}catch(f){/Invalid time zone/i.test(f.message)?(ve(34),b.timeZone="UTC",u=new Intl.DateTimeFormat(a,b)):ve(f.message,!1)}}return this.dTLCache[c]=u,u?.format(r)||""}str2dtf(b,r={}){let a={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(a).forEach(c=>{b.indexOf(c)!==-1&&fe(r,a[c])}),r}makeTime(b,r,a=1,c=0,u,f,p){let m=this.Date.UTC(b,r,a,c,u||0,f||0,p||0);if(this.timezone!=="UTC"){let g=this.getTimezoneOffset(m);if(m+=g,[2,3,8,9,10,11].indexOf(r)!==-1&&(c<5||c>20)){let _=this.getTimezoneOffset(m);g!==_?m+=_-g:g-36e5!==this.getTimezoneOffset(m-36e5)||Ue||(m-=36e5)}}return m}parse(b){if(!ee(b))return b??void 0;let r=(b=b.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(b),a=/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(b);r||a||(b+="Z");let c=Date.parse(b);if(W(c))return c+(!r||a?this.getTimezoneOffset(c):0)}getTimezoneOffset(b){if(this.timezone!=="UTC"){let[r,a,c,u,f=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},b,"en").split(/(GMT|:)/).map(Number),p=-(36e5*(c+f/60));if(W(p))return p}return 0}dateFormat(b,r,a){let c=N.defaultOptions?.lang;if(!le(r)||isNaN(r))return c?.invalidDate||"";if(ee(b=b??"%Y-%m-%d %H:%M:%S")){let u,f=/%\[([a-zA-Z]+)\]/g;for(;u=f.exec(b);)b=b.replace(u[0],this.dateTimeFormat(u[1],r))}if(ee(b)&&b.indexOf("%")!==-1){let u=this,[f,p,m,g,_,S,x,w]=this.toParts(r),k=c?.weekdays||this.weekdays,L=c?.shortWeekdays||this.shortWeekdays,B=c?.months||this.months,H=c?.shortMonths||this.shortMonths;he(fe({a:L?L[w]:k[w].substr(0,3),A:k[w],d:Ee(m),e:Ee(m,2," "),w,b:H[p],B:B[p],m:Ee(p+1),o:p+1,y:f.toString().substr(2,2),Y:f,H:Ee(g),k:g,I:Ee(g%12||12),l:g%12||12,M:Ee(_),p:g<12?"AM":"PM",P:g<12?"am":"pm",S:Ee(S),L:Ee(x,3)},N.dateFormats),function(M,j){if(ee(b))for(;b.indexOf("%"+j)!==-1;)b=b.replace("%"+j,typeof M=="function"?M.call(u,r):M)})}else if(X(b)){let u=(this.getTimezoneOffset(r)||0)/36e5,f=this.timezone||"Etc/GMT"+(u>=0?"+":"")+u,{prefix:p="",suffix:m=""}=b;b=p+this.dateTimeFormat(fe({timeZone:f},b),r)+m}return a?Oe(b):b}resolveDTLFormat(b){return X(b,!0)?X(b,!0)&&Qe(b)?{main:b}:b:{main:(b=Q(b))[0],from:b[1],to:b[2]}}getTimeTicks(b,r,a,c){let u=this,f=[],p={},{count:m=1,unitRange:g}=b,[_,S,x,w,k,L]=u.toParts(r),B=(r||0)%1e3,H;if(c??(c=1),le(r)){if(B=g>=se.second?0:m*Math.floor(B/m),g>=se.second&&(L=g>=se.minute?0:m*Math.floor(L/m)),g>=se.minute&&(k=g>=se.hour?0:m*Math.floor(k/m)),g>=se.hour&&(w=g>=se.day?0:m*Math.floor(w/m)),g>=se.day&&(x=g>=se.month?1:Math.max(1,m*Math.floor(x/m))),g>=se.month&&(S=g>=se.year?0:m*Math.floor(S/m)),g>=se.year&&(_-=_%m),g===se.week){m&&(r=u.makeTime(_,S,x,w,k,L,B));let V=it(this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},r,"es"));x+=-V+c+(V<c?-7:0)}r=u.makeTime(_,S,x,w,k,L,B),u.variableTimezone&&le(a)&&(H=a-r>4*se.month||u.getTimezoneOffset(r)!==u.getTimezoneOffset(a));let M=r,j=1;for(;M<a;)f.push(M),g===se.year?M=u.makeTime(_+j*m,0):g===se.month?M=u.makeTime(_,S+j*m):H&&(g===se.day||g===se.week)?M=u.makeTime(_,S,x+j*m*(g===se.day?1:7)):H&&g===se.hour&&m>1?M=u.makeTime(_,S,x,w+j*m):M+=g*m,j++;f.push(M),g<=se.hour&&f.length<1e4&&f.forEach(V=>{V%18e5==0&&u.dateFormat("%H%M%S%L",V)==="000000000"&&(p[V]="day")})}return f.info=fe(b,{higherRanks:p,totalRange:g*m}),f}getDateFormat(b,r,a,c){let u=this.dateFormat("%m-%d %H:%M:%S.%L",r),f="01-01 00:00:00.000",p={millisecond:15,second:12,minute:9,hour:6,day:3},m="millisecond",g=m;for(m in se){if(b===se.week&&+this.dateFormat("%w",r)===a&&u.substr(6)===f.substr(6)){m="week";break}if(se[m]>b){m=g;break}if(p[m]&&u.substr(p[m])!==f.substr(p[m]))break;m!=="week"&&(g=m)}return this.resolveDTLFormat(c[m]).main}},{isTouchDevice:en}=N,{fireEvent:Un,merge:Pn}=we,de={colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{locale:void 0,loading:"Loading...",months:void 0,shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:b=>Math.sqrt(1-Math.pow(b-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"Week from %[AebY]",month:"%[BY]",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:en?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}},He=new kt(de.time),Ne={defaultOptions:de,defaultTime:He,getOptions:function(){return de},setOptions:function(b){return Un(N,"setOptions",{options:b}),Pn(!0,de,b),b.time&&He.update(de.time),b.lang&&"locale"in b.lang&&He.update({locale:b.lang.locale}),de}},{isNumber:Ze,merge:ut,pInt:_t,defined:ei}=we;class Mt{static parse(r){return r?new Mt(r):Mt.None}constructor(r){let a,c,u,f;this.rgba=[NaN,NaN,NaN,NaN],this.input=r;let p=N.Color;if(p&&p!==Mt)return new p(r);if(typeof r=="object"&&r.stops!==void 0)this.stops=r.stops.map(m=>new Mt(m[1]));else if(typeof r=="string")for(this.input=r=Mt.names[r.toLowerCase()]||r,u=Mt.parsers.length;u--&&!c;)(a=(f=Mt.parsers[u]).regex.exec(r))&&(c=f.parse(a));c&&(this.rgba=c)}get(r){let a=this.input,c=this.rgba;if(typeof a=="object"&&this.stops!==void 0){let u=ut(a);return u.stops=[].slice.call(u.stops),this.stops.forEach((f,p)=>{u.stops[p]=[u.stops[p][0],f.get(r)]}),u}return c&&Ze(c[0])?r!=="rgb"&&(r||c[3]!==1)?r==="a"?`${c[3]}`:"rgba("+c.join(",")+")":"rgb("+c[0]+","+c[1]+","+c[2]+")":a}brighten(r){let a=this.rgba;if(this.stops)this.stops.forEach(function(c){c.brighten(r)});else if(Ze(r)&&r!==0)for(let c=0;c<3;c++)a[c]+=_t(255*r),a[c]<0&&(a[c]=0),a[c]>255&&(a[c]=255);return this}setOpacity(r){return this.rgba[3]=r,this}tweenTo(r,a){let c=this.rgba,u=r.rgba;if(!Ze(c[0])||!Ze(u[0]))return r.input||"none";let f=u[3]!==1||c[3]!==1,p=(g,_)=>g+(c[_]-g)*(1-a),m=u.slice(0,3).map(p).map(Math.round);return f&&m.push(p(u[3],3)),(f?"rgba(":"rgb(")+m.join(",")+")"}}Mt.names={white:"#ffffff",black:"#000000"},Mt.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(b){return[_t(b[1]),_t(b[2]),_t(b[3]),parseFloat(b[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(b){return[_t(b[1]),_t(b[2]),_t(b[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(b){return[_t(b[1]+b[1],16),_t(b[2]+b[2],16),_t(b[3]+b[3],16),ei(b[4])?_t(b[4]+b[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(b){return[_t(b[1],16),_t(b[2],16),_t(b[3],16),ei(b[4])?_t(b[4],16)/255:1]}}],Mt.None=new Mt("");let{parse:nl}=Mt,{win:Lr}=N,{isNumber:Vs,objectEach:Ho}=we;class tn{constructor(r,a,c){this.pos=NaN,this.options=a,this.elem=r,this.prop=c}dSetter(){let r=this.paths,a=r&&r[0],c=r&&r[1],u=this.now||0,f=[];if(u!==1&&a&&c)if(a.length===c.length&&u<1)for(let p=0;p<c.length;p++){let m=a[p],g=c[p],_=[];for(let S=0;S<g.length;S++){let x=m[S],w=g[S];Vs(x)&&Vs(w)&&!(g[0]==="A"&&(S===4||S===5))?_[S]=x+u*(w-x):_[S]=w}f.push(_)}else f=c;else f=this.toD||[];this.elem.attr("d",f,void 0,!0)}update(){let r=this.elem,a=this.prop,c=this.now,u=this.options.step;this[a+"Setter"]?this[a+"Setter"]():r.attr?r.element&&r.attr(a,c,null,!0):r.style[a]=c+this.unit,u&&u.call(r,c,this)}run(r,a,c){let u=this,f=u.options,p=function(_){return!p.stopped&&u.step(_)},m=Lr.requestAnimationFrame||function(_){setTimeout(_,13)},g=function(){for(let _=0;_<tn.timers.length;_++)tn.timers[_]()||tn.timers.splice(_--,1);tn.timers.length&&m(g)};r!==a||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=r,this.end=a,this.unit=c,this.now=this.start,this.pos=0,p.elem=this.elem,p.prop=this.prop,p()&&tn.timers.push(p)===1&&m(g)):(delete f.curAnim[this.prop],f.complete&&Object.keys(f.curAnim).length===0&&f.complete.call(this.elem))}step(r){let a,c,u=+new Date,f=this.options,p=this.elem,m=f.complete,g=f.duration,_=f.curAnim;return p.attr&&!p.element?a=!1:r||u>=g+this.startTime?(this.now=this.end,this.pos=1,this.update(),_[this.prop]=!0,c=!0,Ho(_,function(S){S!==!0&&(c=!1)}),c&&m&&m.call(p),a=!1):(this.pos=f.easing((u-this.startTime)/g),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a=!0),a}initPath(r,a,c){let u=r.startX,f=r.endX,p=c.slice(),m=r.isArea,g=m?2:1,_=a&&c.length>a.length&&c.hasStackedCliffs,S,x,w,k,L=a&&a.slice();if(!L||_)return[p,p];function B(M,j){for(;M.length<x;){let V=M[0],te=j[x-M.length];if(te&&V[0]==="M"&&(te[0]==="C"?M[0]=["C",V[1],V[2],V[1],V[2],V[1],V[2]]:M[0]=["L",V[1],V[2]]),M.unshift(V),m){let ie=M.pop();M.push(M[M.length-1],ie)}}}function H(M){for(;M.length<x;){let j=M[Math.floor(M.length/g)-1].slice();if(j[0]==="C"&&(j[1]=j[5],j[2]=j[6]),m){let V=M[Math.floor(M.length/g)].slice();M.splice(M.length/2,0,j,V)}else M.push(j)}}if(u&&f&&f.length){for(w=0;w<u.length;w++){if(u[w]===f[0]){S=w;break}if(u[0]===f[f.length-u.length+w]){S=w,k=!0;break}if(u[u.length-1]===f[f.length-u.length+w]){S=u.length-w;break}}S===void 0&&(L=[])}return L.length&&Vs(S)&&(x=p.length+S*g,k?(B(L,p),H(p)):(B(p,L),H(L))),[L,p]}fillSetter(){tn.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,nl(this.start).tweenTo(nl(this.end),this.pos),void 0,!0)}}tn.timers=[];let{defined:Xd,getStyle:il,isArray:Uo,isNumber:vP,isObject:Gd,merge:Eb,objectEach:bP,pick:_P}=we;function qd(b){return Gd(b)?Eb({duration:500,defer:0},b):{duration:b?500:0,defer:0}}function xb(b,r){let a=tn.timers.length;for(;a--;)tn.timers[a].elem!==b||r&&r!==tn.timers[a].prop||(tn.timers[a].stopped=!0)}let Ln={animate:function(b,r,a){let c,u="",f,p,m;Gd(a)||(m=arguments,a={duration:m[2],easing:m[3],complete:m[4]}),vP(a.duration)||(a.duration=400),a.easing=typeof a.easing=="function"?a.easing:Math[a.easing]||Math.easeInOutSine,a.curAnim=Eb(r),bP(r,function(g,_){xb(b,_),p=new tn(b,a,_),f=void 0,_==="d"&&Uo(r.d)?(p.paths=p.initPath(b,b.pathArray,r.d),p.toD=r.d,c=0,f=1):b.attr?c=b.attr(_):(c=parseFloat(il(b,_))||0,_!=="opacity"&&(u="px")),f||(f=g),typeof f=="string"&&f.match("px")&&(f=f.replace(/px/g,"")),p.run(c,f,u)})},animObject:qd,getDeferredAnimation:function(b,r,a){let c=qd(r),u=a?[a]:b.series,f=0,p=0;return u.forEach(m=>{let g=qd(m.options.animation);f=Gd(r)&&Xd(r.defer)?c.defer:Math.max(f,g.duration+g.defer),p=Math.min(c.duration,g.duration)}),b.renderer.forExport&&(f=0),{defer:Math.max(0,f-p),duration:Math.min(f,p)}},setAnimation:function(b,r){r.renderer.globalAnimation=_P(b,r.options.chart.animation,!0)},stop:xb},{SVG_NS:Sb,win:EP}=N,{attr:xP,createElement:SP,css:wP,error:wb,isFunction:TP,isString:Tb,objectEach:Cb,splat:CP}=we,{trustedTypes:Yd}=EP,tu=Yd&&TP(Yd.createPolicy)&&Yd.createPolicy("highcharts",{createHTML:b=>b}),AP=tu?tu.createHTML(""):"";class Vt{static filterUserAttributes(r){return Cb(r,(a,c)=>{let u=!0;Vt.allowedAttributes.indexOf(c)===-1&&(u=!1),["background","dynsrc","href","lowsrc","src"].indexOf(c)!==-1&&(u=Tb(a)&&Vt.allowedReferences.some(f=>a.indexOf(f)===0)),u||(wb(33,!1,void 0,{"Invalid attribute in config":`${c}`}),delete r[c]),Tb(a)&&r[c]&&(r[c]=a.replace(/</g,"<"))}),r}static parseStyle(r){return r.split(";").reduce((a,c)=>{let u=c.split(":").map(p=>p.trim()),f=u.shift();return f&&u.length&&(a[f.replace(/-([a-z])/g,p=>p[1].toUpperCase())]=u.join(":")),a},{})}static setElementHTML(r,a){r.innerHTML=Vt.emptyHTML,a&&new Vt(a).addToDOM(r)}constructor(r){this.nodes=typeof r=="string"?this.parseMarkup(r):r}addToDOM(r){return(function a(c,u){let f;return CP(c).forEach(function(p){let m,g=p.tagName,_=p.textContent?N.doc.createTextNode(p.textContent):void 0,S=Vt.bypassHTMLFiltering;if(g)if(g==="#text")m=_;else if(Vt.allowedTags.indexOf(g)!==-1||S){let x=g==="svg"?Sb:u.namespaceURI||Sb,w=N.doc.createElementNS(x,g),k=p.attributes||{};Cb(p,function(L,B){B!=="tagName"&&B!=="attributes"&&B!=="children"&&B!=="style"&&B!=="textContent"&&(k[B]=L)}),xP(w,S?k:Vt.filterUserAttributes(k)),p.style&&wP(w,p.style),_&&w.appendChild(_),a(p.children||[],w),m=w}else wb(33,!1,void 0,{"Invalid tagName in config":g});m&&u.appendChild(m),f=m}),f})(this.nodes,r)}parseMarkup(r){let a,c=[];r=r.trim().replace(/ style=(["'])/g," data-style=$1");try{a=new DOMParser().parseFromString(tu?tu.createHTML(r):r,"text/html")}catch{}if(!a){let f=SP("div");f.innerHTML=r,a={body:f}}let u=(f,p)=>{let m=f.nodeName.toLowerCase(),g={tagName:m};m==="#text"&&(g.textContent=f.textContent||"");let _=f.attributes;if(_){let S={};[].forEach.call(_,x=>{x.name==="data-style"?g.style=Vt.parseStyle(x.value):S[x.name]=x.value}),g.attributes=S}if(f.childNodes.length){let S=[];[].forEach.call(f.childNodes,x=>{u(x,S)}),S.length&&(g.children=S)}p.push(g)};return[].forEach.call(a.body.childNodes,f=>u(f,c)),c}}Vt.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],Vt.allowedReferences=["https://","http://","mailto:","/","../","./","#"],Vt.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],Vt.emptyHTML=AP,Vt.bypassHTMLFiltering=!1;let{defaultOptions:Ab,defaultTime:Ob}=Ne,{pageLang:OP}=N,{extend:kP,getNestedProperty:PP,isArray:LP,isNumber:kb,isObject:RP,isString:IP,pick:NP,ucfirst:MP}=we,nu={add:(b,r)=>b+r,divide:(b,r)=>r!==0?b/r:"",eq:(b,r)=>b==r,each:function(b){let r=arguments[arguments.length-1];return!!LP(b)&&b.map((a,c)=>iu(r.body,kP(RP(a)?a:{"@this":a},{"@index":c,"@first":c===0,"@last":c===b.length-1}))).join("")},ge:(b,r)=>b>=r,gt:(b,r)=>b>r,if:b=>!!b,le:(b,r)=>b<=r,lt:(b,r)=>b<r,multiply:(b,r)=>b*r,ne:(b,r)=>b!=r,subtract:(b,r)=>b-r,ucfirst:MP,unless:b=>!b},Pb={},Lb=b=>/^["'].+["']$/.test(b);function iu(b="",r,a){let c=/\{([\p{L}\d:\.,;\-\/<>\[\]%_@+"'’= #\(\)]+)\}/gu,u=/\(([\p{L}\d:\.,;\-\/<>\[\]%_@+"'= ]+)\)/gu,f=[],p=/f$/,m=/\.(\d)/,g=a?.options.lang||Ab.lang,_=a&&a.time||Ob,S=a&&a.numberFormatter||Rb,x=(H="")=>{let M;return H==="true"||H!=="false"&&((M=Number(H)).toString()===H?M:Lb(H)?H.slice(1,-1):PP(H,r))},w,k,L=0,B;for(;(w=c.exec(b))!==null;){let H=w,M=u.exec(w[1]);M&&(w=M,B=!0),k&&k.isBlock||(k={ctx:r,expression:w[1],find:w[0],isBlock:w[1].charAt(0)==="#",start:w.index,startInner:w.index+w[0].length,length:w[0].length});let j=(k.isBlock?H:w)[1].split(" ")[0].replace("#","");nu[j]&&(k.isBlock&&j===k.fn&&L++,k.fn||(k.fn=j));let V=w[1]==="else";if(k.isBlock&&k.fn&&(w[1]===`/${k.fn}`||V))if(L)!V&&L--;else{let te=k.startInner,ie=b.substr(te,w.index-te);k.body===void 0?(k.body=ie,k.startInner=w.index+w[0].length):k.elseBody=ie,k.find+=ie+w[0],V||(f.push(k),k=void 0)}else k.isBlock||f.push(k);if(M&&!k?.isBlock)break}return f.forEach(H=>{let M,j,{body:V,elseBody:te,expression:ie,fn:ne}=H;if(ne){let Z=[H],re=[],ge=ie.length,ye=0,_e;for(j=0;j<=ge;j++){let Le=ie.charAt(j);_e||Le!=='"'&&Le!=="'"?_e===Le&&(_e=""):_e=Le,_e||Le!==" "&&j!==ge||(re.push(ie.substr(ye,j-ye)),ye=j+1)}for(j=nu[ne].length;j--;)Z.unshift(x(re[j+1]));M=nu[ne].apply(r,Z),H.isBlock&&typeof M=="boolean"&&(M=iu(M?V:te,r,a))}else{let Z=Lb(ie)?[ie]:ie.split(":");if(M=x(Z.shift()||""),Z.length&&typeof M=="number"){let re=Z.join(":");if(p.test(re)){let ge=parseInt((re.match(m)||["","-1"])[1],10);M!==null&&(M=S(M,ge,g.decimalPoint,re.indexOf(",")>-1?g.thousandsSep:""))}else M=_.dateFormat(re,M)}u.lastIndex=0,u.test(H.find)&&IP(M)&&(M=`"${M}"`)}b=b.replace(H.find,NP(M,""))}),B?iu(b,r,a):b}function Rb(b,r,a,c){r=+r;let u,f,[p,m]=(b=+b||0).toString().split("e").map(Number),g=this?.options?.lang||Ab.lang,_=(b.toString().split(".")[1]||"").split("e")[0].length,S=r,x={};a??(a=g.decimalPoint),c??(c=g.thousandsSep),r===-1?r=Math.min(_,20):kb(r)?r&&m<0&&((f=r+m)>=0?(p=+p.toExponential(f).split("e")[0],r=f):(p=Math.floor(p),b=r<20?+(p*Math.pow(10,m)).toFixed(r):0,m=0)):r=2,m&&(r??(r=2),b=p),kb(r)&&r>=0&&(x.minimumFractionDigits=r,x.maximumFractionDigits=r),c===""&&(x.useGrouping=!1);let w=c||a,k=w?"en":this?.locale||g.locale||OP,L=JSON.stringify(x)+k;return u=(Pb[L]??(Pb[L]=new Intl.NumberFormat(k,x))).format(b),w&&(u=u.replace(/([,\.])/g,"_$1").replace(/_\,/g,c??",").replace("_.",a??".")),(r||+u!=0)&&(!(m<0)||S)||(u="0"),m&&+u!=0&&(u+="e"+(m<0?"":"+")+m),u}let $i={dateFormat:function(b,r,a){return Ob.dateFormat(b,r,a)},format:iu,helpers:nu,numberFormat:Rb};(function(b){let r;b.rendererTypes={},b.getRendererType=function(a=r){return b.rendererTypes[a]||b.rendererTypes[r]},b.registerRendererType=function(a,c,u){b.rendererTypes[a]=c,(!r||u)&&(r=a,N.Renderer=c)}})(o||(o={}));let rl=o,{clamp:DP,pick:FP,pushUnique:BP,stableSort:Kd}=we;(l||(l={})).distribute=function b(r,a,c){let u=r,f=u.reducedLen||a,p=(V,te)=>V.target-te.target,m=[],g=r.length,_=[],S=m.push,x,w,k,L=!0,B,H,M=0,j;for(x=g;x--;)M+=r[x].size;if(M>f){for(Kd(r,(V,te)=>(te.rank||0)-(V.rank||0)),k=(j=r[0].rank===r[r.length-1].rank)?g/2:-1,w=j?k:g-1;k&&M>f;)B=r[x=Math.floor(w)],BP(_,x)&&(M-=B.size),w+=k,j&&w>=r.length&&(k/=2,w=k);_.sort((V,te)=>te-V).forEach(V=>S.apply(m,r.splice(V,1)))}for(Kd(r,p),r=r.map(V=>({size:V.size,targets:[V.target],align:FP(V.align,.5)}));L;){for(x=r.length;x--;)B=r[x],H=(Math.min.apply(0,B.targets)+Math.max.apply(0,B.targets))/2,B.pos=DP(H-B.size*B.align,0,a-B.size);for(x=r.length,L=!1;x--;)x>0&&r[x-1].pos+r[x-1].size>r[x].pos&&(r[x-1].size+=r[x].size,r[x-1].targets=r[x-1].targets.concat(r[x].targets),r[x-1].align=.5,r[x-1].pos+r[x-1].size>a&&(r[x-1].pos=a-r[x-1].size),r.splice(x,1),L=!0)}return S.apply(u,m),x=0,r.some(V=>{let te=0;return(V.targets||[]).some(()=>(u[x].pos=V.pos+te,c!==void 0&&Math.abs(u[x].pos-u[x].target)>c?(u.slice(0,x+1).forEach(ie=>delete ie.pos),u.reducedLen=(u.reducedLen||a)-.1*a,u.reducedLen>.1*a&&b(u,a,c),!0):(te+=u[x].size,x++,!1)))}),Kd(u,p),u};let ru=l,{animate:HP,animObject:UP,stop:Ib}=Ln,{deg2rad:Nb,doc:$o,svg:$P,SVG_NS:su,win:jP,isFirefox:VP}=N,{addEvent:WP,attr:Jd,createElement:zP,crisp:ou,css:Mb,defined:cr,erase:XP,extend:sl,fireEvent:Zd,getAlignFactor:Qd,isArray:Db,isFunction:Fb,isNumber:GP,isObject:qP,isString:Bb,merge:ep,objectEach:jo,pick:ji,pInt:au,pushUnique:YP,replaceNested:KP,syncTimeout:JP,uniqueKey:Hb}=we;class bn{_defaultGetter(r){let a=ji(this[r+"Value"],this[r],this.element?this.element.getAttribute(r):null,0);return/^-?[\d\.]+$/.test(a)&&(a=parseFloat(a)),a}_defaultSetter(r,a,c){c.setAttribute(a,r)}add(r){let a,c=this.renderer,u=this.element;return r&&(this.parentGroup=r),this.textStr!==void 0&&this.element.nodeName==="text"&&c.buildText(this),this.added=!0,(!r||r.handleZ||this.zIndex)&&(a=this.zIndexSetter()),a||(r?r.element:c.box).appendChild(u),this.onAdd&&this.onAdd(),this}addClass(r,a){let c=a?"":this.attr("class")||"";return(r=(r||"").split(/ /g).reduce(function(u,f){return c.indexOf(f)===-1&&u.push(f),u},c?[c]:[]).join(" "))!==c&&this.attr("class",r),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(r,a,c,u=!0){let f=this.renderer,p=f.alignedObjects,m=!!r;r?(this.alignOptions=r,this.alignByTranslate=a,this.alignTo=c):(r=this.alignOptions||{},a=this.alignByTranslate,c=this.alignTo);let g=!c||Bb(c)?c||"renderer":void 0;g&&(m&&YP(p,this),c=void 0);let _=ji(c,f[g],f),S=(_.x||0)+(r.x||0)+((_.width||0)-(r.width||0))*Qd(r.align),x=(_.y||0)+(r.y||0)+((_.height||0)-(r.height||0))*Qd(r.verticalAlign),w={"text-align":r?.align};return w[a?"translateX":"x"]=Math.round(S),w[a?"translateY":"y"]=Math.round(x),u&&(this[this.placed?"animate":"attr"](w),this.placed=!0),this.alignAttr=w,this}alignSetter(r){let a={left:"start",center:"middle",right:"end"};a[r]&&(this.alignValue=r,this.element.setAttribute("text-anchor",a[r]))}animate(r,a,c){let u=UP(ji(a,this.renderer.globalAnimation,!0)),f=u.defer;return $o.hidden&&(u.duration=0),u.duration!==0?(c&&(u.complete=c),JP(()=>{this.element&&HP(this,r,u)},f)):(this.attr(r,void 0,c||u.complete),jo(r,function(p,m){u.step&&u.step.call(this,p,{prop:m,pos:1,elem:this})},this)),this}applyTextOutline(r){let a=this.element;r.indexOf("contrast")!==-1&&(r=r.replace(/contrast/g,this.renderer.getContrast(a.style.fill)));let c=r.split(" "),u=c[c.length-1],f=c[0];if(f&&f!=="none"&&N.svg){this.fakeTS=!0,f=f.replace(/(^[\d\.]+)(.*?)$/g,function(S,x,w){return 2*Number(x)+w}),this.removeTextOutline();let p=$o.createElementNS(su,"tspan");Jd(p,{class:"highcharts-text-outline",fill:u,stroke:u,"stroke-width":f,"stroke-linejoin":"round"});let m=a.querySelector("textPath")||a;[].forEach.call(m.childNodes,S=>{let x=S.cloneNode(!0);x.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(w=>x.removeAttribute(w)),p.appendChild(x)});let g=0;[].forEach.call(m.querySelectorAll("text tspan"),S=>{g+=Number(S.getAttribute("dy"))});let _=$o.createElementNS(su,"tspan");_.textContent="",Jd(_,{x:Number(a.getAttribute("x")),dy:-g}),p.appendChild(_),m.insertBefore(p,m.firstChild)}}attr(r,a,c,u){let{element:f}=this,p=bn.symbolCustomAttribs,m,g,_=this,S;return typeof r=="string"&&a!==void 0&&(m=r,(r={})[m]=a),typeof r=="string"?_=(this[r+"Getter"]||this._defaultGetter).call(this,r,f):(jo(r,function(x,w){S=!1,u||Ib(this,w),this.symbolName&&p.indexOf(w)!==-1&&(g||(this.symbolAttr(r),g=!0),S=!0),this.rotation&&(w==="x"||w==="y")&&(this.doTransform=!0),S||(this[w+"Setter"]||this._defaultSetter).call(this,x,w,f)},this),this.afterSetters()),c&&c.call(this),_}clip(r){if(r&&!r.clipPath){let a=Hb()+"-",c=this.renderer.createElement("clipPath").attr({id:a}).add(this.renderer.defs);sl(r,{clipPath:c,id:a,count:0}),r.add(c)}return this.attr("clip-path",r?`url(${this.renderer.url}#${r.id})`:"none")}crisp(r,a){a=Math.round(a||r.strokeWidth||0);let c=r.x||this.x||0,u=r.y||this.y||0,f=(r.width||this.width||0)+c,p=(r.height||this.height||0)+u,m=ou(c,a),g=ou(u,a);return sl(r,{x:m,y:g,width:ou(f,a)-m,height:ou(p,a)-g}),cr(r.strokeWidth)&&(r.strokeWidth=a),r}complexColor(r,a,c){let u=this.renderer,f,p,m,g,_,S,x,w,k,L,B=[],H;Zd(this.renderer,"complexColor",{args:arguments},function(){if(r.radialGradient?p="radialGradient":r.linearGradient&&(p="linearGradient"),p){if(m=r[p],_=u.gradients,S=r.stops,k=c.radialReference,Db(m)&&(r[p]=m={x1:m[0],y1:m[1],x2:m[2],y2:m[3],gradientUnits:"userSpaceOnUse"}),p==="radialGradient"&&k&&!cr(m.gradientUnits)&&(g=m,m=ep(m,u.getRadialAttr(k,g),{gradientUnits:"userSpaceOnUse"})),jo(m,function(M,j){j!=="id"&&B.push(j,M)}),jo(S,function(M){B.push(M)}),_[B=B.join(",")])L=_[B].attr("id");else{m.id=L=Hb();let M=_[B]=u.createElement(p).attr(m).add(u.defs);M.radAttr=g,M.stops=[],S.forEach(function(j){j[1].indexOf("rgba")===0?(x=(f=Mt.parse(j[1])).get("rgb"),w=f.get("a")):(x=j[1],w=1);let V=u.createElement("stop").attr({offset:j[0],"stop-color":x,"stop-opacity":w}).add(M);M.stops.push(V)})}H="url("+u.url+"#"+L+")",c.setAttribute(a,H),c.gradient=B,r.toString=function(){return H}}})}css(r){let a=this.styles,c={},u=this.element,f,p=!a;if(a&&jo(r,function(m,g){a&&a[g]!==m&&(c[g]=m,p=!0)}),p){a&&(r=sl(a,c)),r.width===null||r.width==="auto"?delete this.textWidth:u.nodeName.toLowerCase()==="text"&&r.width&&(f=this.textWidth=au(r.width)),sl(this.styles,r),f&&!$P&&this.renderer.forExport&&delete r.width;let m=VP&&r.fontSize||null;m&&(GP(m)||/^\d+$/.test(m))&&(r.fontSize+="px");let g=ep(r);u.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(_=>g&&delete g[_]),g.color&&(g.fill=g.color)),Mb(u,g)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),r.textOutline&&this.applyTextOutline(r.textOutline)),this}dashstyleSetter(r){let a,c=this["stroke-width"];if(c==="inherit"&&(c=1),r=r&&r.toLowerCase()){let u=r.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(a=u.length;a--;)u[a]=""+au(u[a])*ji(c,NaN);r=u.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",r)}}destroy(){let r=this,a=r.element||{},c=r.renderer,u=a.ownerSVGElement,f=a.nodeName==="SPAN"&&r.parentGroup||void 0,p,m;if(a.onclick=a.onmouseout=a.onmouseover=a.onmousemove=a.point=null,Ib(r),r.clipPath&&u){let g=r.clipPath;[].forEach.call(u.querySelectorAll("[clip-path],[CLIP-PATH]"),function(_){_.getAttribute("clip-path").indexOf(g.element.id)>-1&&_.removeAttribute("clip-path")}),r.clipPath=g.destroy()}if(r.connector=r.connector?.destroy(),r.stops){for(m=0;m<r.stops.length;m++)r.stops[m].destroy();r.stops.length=0,r.stops=void 0}for(r.safeRemoveChild(a);f&&f.div&&f.div.childNodes.length===0;)p=f.parentGroup,r.safeRemoveChild(f.div),delete f.div,f=p;r.alignOptions&&XP(c.alignedObjects,r),jo(r,function(g,_){r[_]&&r[_].parentGroup===r&&r[_].destroy&&r[_].destroy(),delete r[_]})}dSetter(r,a,c){Db(r)&&(typeof r[0]=="string"&&(r=this.renderer.pathToSegments(r)),this.pathArray=r,r=r.reduce((u,f,p)=>f&&f.join?(p?u+" ":"")+f.join(" "):(f||"").toString(),"")),/(NaN| {2}|^$)/.test(r)&&(r="M 0 0"),this[a]!==r&&(c.setAttribute(a,r),this[a]=r)}fillSetter(r,a,c){typeof r=="string"?c.setAttribute(a,r):r&&this.complexColor(r,a,c)}hrefSetter(r,a,c){c.setAttributeNS("http://www.w3.org/1999/xlink",a,r)}getBBox(r,a){let c,u,f,p,{alignValue:m,element:g,renderer:_,styles:S,textStr:x}=this,{cache:w,cacheKeys:k}=_,L=g.namespaceURI===this.SVG_NS,B=ji(a,this.rotation,0),H=_.styledMode?g&&bn.prototype.getStyle.call(g,"font-size"):S.fontSize;if(cr(x)&&((p=x.toString()).indexOf("<")===-1&&(p=p.replace(/\d/g,"0")),p+=["",_.rootFontSize,H,B,this.textWidth,m,S.lineClamp,S.textOverflow,S.fontWeight].join(",")),p&&!r&&(c=w[p]),!c||c.polygon){if(L||_.forExport){try{f=this.fakeTS&&function(j){let V=g.querySelector(".highcharts-text-outline");V&&Mb(V,{display:j})},Fb(f)&&f("none"),c=g.getBBox?sl({},g.getBBox()):{width:g.offsetWidth,height:g.offsetHeight,x:0,y:0},Fb(f)&&f("")}catch{}(!c||c.width<0)&&(c={x:0,y:0,width:0,height:0})}else c=this.htmlGetBBox();u=c.height,L&&(c.height=u={"11px,17":14,"13px,20":16}[`${H||""},${Math.round(u)}`]||u),B&&(c=this.getRotatedBox(c,B));let M={bBox:c};Zd(this,"afterGetBBox",M),c=M.bBox}if(p&&(x===""||c.height>0)){for(;k.length>250;)delete w[k.shift()];w[p]||k.push(p),w[p]=c}return c}getRotatedBox(r,a){let{x:c,y:u,width:f,height:p}=r,{alignValue:m,translateY:g,rotationOriginX:_=0,rotationOriginY:S=0}=this,x=Qd(m),w=Number(this.element.getAttribute("y")||0)-(g?0:u),k=a*Nb,L=(a-90)*Nb,B=Math.cos(k),H=Math.sin(k),M=f*B,j=f*H,V=Math.cos(L),te=Math.sin(L),[[ie,ne],[Z,re]]=[_,S].map(ze=>[ze-ze*B,ze*H]),ge=c+x*(f-M)+ie+re+w*V,ye=ge+M,_e=ye-p*V,Le=_e-M,Re=u+w-x*j-ne+Z+w*te,Be=Re+j,Me=Be-p*te,$e=Me-j,rt=Math.min(ge,ye,_e,Le),Ge=Math.min(Re,Be,Me,$e),qe=Math.max(ge,ye,_e,Le)-rt,st=Math.max(Re,Be,Me,$e)-Ge;return{x:rt,y:Ge,width:qe,height:st,polygon:[[ge,Re],[ye,Be],[_e,Me],[Le,$e]]}}getStyle(r){return jP.getComputedStyle(this.element||this,"").getPropertyValue(r)}hasClass(r){return(""+this.attr("class")).split(" ").indexOf(r)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(r,a){this.onEvents={},this.opacity=1,this.SVG_NS=su,this.element=a==="span"||a==="body"?zP(a):$o.createElementNS(this.SVG_NS,a),this.renderer=r,this.styles={},Zd(this,"afterInit")}on(r,a){let{onEvents:c}=this;return c[r]&&c[r](),c[r]=WP(this.element,r,a),this}opacitySetter(r,a,c){let u=Number(Number(r).toFixed(3));this.opacity=u,c.setAttribute(a,u)}reAlign(){this.alignOptions?.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(r){return this.attr("class",(""+this.attr("class")).replace(Bb(r)?RegExp(`(^| )${r}( |$)`):r," ").replace(/ +/g," ").trim())}removeTextOutline(){let r=this.element.querySelector("tspan.highcharts-text-outline");r&&this.safeRemoveChild(r)}safeRemoveChild(r){let a=r.parentNode;a&&a.removeChild(r)}setRadialReference(r){let a=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=r,a&&a.radAttr&&a.animate(this.renderer.getRadialAttr(r,a.radAttr)),this}shadow(r){let{renderer:a}=this,c=ep(this.parentGroup?.rotation===90?{offsetX:-1,offsetY:-1}:{},qP(r)?r:{}),u=a.shadowDefinition(c);return this.attr({filter:r?`url(${a.url}#${u})`:"none"})}show(r=!0){return this.attr({visibility:r?"inherit":"visible"})}"stroke-widthSetter"(r,a,c){this[a]=r,c.setAttribute(a,r)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let r=this.getStyle("stroke-width"),a=0,c;return/px$/.test(r)?a=au(r):r!==""&&(Jd(c=$o.createElementNS(su,"rect"),{width:r,"stroke-width":0}),this.element.parentNode.appendChild(c),a=c.getBBox().width,c.parentNode.removeChild(c)),a}symbolAttr(r){let a=this;bn.symbolCustomAttribs.forEach(function(c){a[c]=ji(r[c],a[c])}),a.attr({d:a.renderer.symbols[a.symbolName](a.x,a.y,a.width,a.height,a)})}textSetter(r){r!==this.textStr&&(delete this.textPxLength,this.textStr=r,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(r){let a=this.element,c=a.getElementsByTagName("title")[0]||$o.createElementNS(this.SVG_NS,"title");a.insertBefore?a.insertBefore(c,a.firstChild):a.appendChild(c),c.textContent=KP(ji(r,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let r=this.element;return r.parentNode.appendChild(r),this}translate(r,a){return this.attr({translateX:r,translateY:a})}updateTransform(r="transform"){let{element:a,matrix:c,rotation:u=0,rotationOriginX:f,rotationOriginY:p,scaleX:m,scaleY:g,translateX:_=0,translateY:S=0}=this,x=["translate("+_+","+S+")"];cr(c)&&x.push("matrix("+c.join(",")+")"),u&&(x.push("rotate("+u+" "+ji(f,a.getAttribute("x"),0)+" "+ji(p,a.getAttribute("y")||0)+")"),this.text?.element.tagName==="SPAN"&&this.text.attr({rotation:u,rotationOriginX:(f||0)-this.padding,rotationOriginY:(p||0)-this.padding})),(cr(m)||cr(g))&&x.push("scale("+ji(m,1)+" "+ji(g,1)+")"),x.length&&!(this.text||this).textPath&&a.setAttribute(r,x.join(" "))}visibilitySetter(r,a,c){r==="inherit"?c.removeAttribute(a):this[a]!==r&&c.setAttribute(a,r),this[a]=r}xGetter(r){return this.element.nodeName==="circle"&&(r==="x"?r="cx":r==="y"&&(r="cy")),this._defaultGetter(r)}zIndexSetter(r,a){let c=this.renderer,u=this.parentGroup,f=(u||c).element||c.box,p=this.element,m=f===c.box,g,_,S,x=!1,w,k=this.added,L;if(cr(r)?(p.setAttribute("data-z-index",r),r=+r,this[a]===r&&(k=!1)):cr(this[a])&&p.removeAttribute("data-z-index"),this[a]=r,k){for((r=this.zIndex)&&u&&(u.handleZ=!0),L=(g=f.childNodes).length-1;L>=0&&!x;L--)w=!cr(S=(_=g[L]).getAttribute("data-z-index")),_!==p&&(r<0&&w&&!m&&!L?(f.insertBefore(p,g[L]),x=!0):(au(S)<=r||w&&(!cr(r)||r>=0))&&(f.insertBefore(p,g[L+1]),x=!0));x||(f.insertBefore(p,g[m?3:0]),x=!0)}return x}}bn.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],bn.prototype.strokeSetter=bn.prototype.fillSetter,bn.prototype.yGetter=bn.prototype.xGetter,bn.prototype.matrixSetter=bn.prototype.rotationOriginXSetter=bn.prototype.rotationOriginYSetter=bn.prototype.rotationSetter=bn.prototype.scaleXSetter=bn.prototype.scaleYSetter=bn.prototype.translateXSetter=bn.prototype.translateYSetter=bn.prototype.verticalAlignSetter=function(b,r){this[r]=b,this.doTransform=!0};let ur=bn,{defined:Ub,extend:ZP,getAlignFactor:$b,isNumber:ol,merge:QP,pick:lu,removeEvent:jb}=we;class Ws extends ur{constructor(r,a,c,u,f,p,m,g,_,S){let x;super(r,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=a,this.x=c,this.y=u,this.anchorX=p,this.anchorY=m,this.baseline=_,this.className=S,this.addClass(S==="button"?"highcharts-no-tooltip":"highcharts-label"),S&&this.addClass("highcharts-"+S),this.text=r.text(void 0,0,0,g).attr({zIndex:1}),typeof f=="string"&&((x=/^url\((.*?)\)$/.test(f))||this.renderer.symbols[f])&&(this.symbolKey=f),this.bBox=Ws.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=r.styledMode||x,this.deferredAttr={},this.alignFactor=0}alignSetter(r){let a=$b(r);this.textAlign=r,a!==this.alignFactor&&(this.alignFactor=a,this.bBox&&ol(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(r,a){this.anchorX=r,this.boxAttr(a,Math.round(r)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(r,a){this.anchorY=r,this.boxAttr(a,r-this.ySetting)}boxAttr(r,a){this.box?this.box.attr(r,a):this.deferredAttr[r]=a}css(r){if(r){let a={};r=QP(r),Ws.textProps.forEach(c=>{r[c]!==void 0&&(a[c]=r[c],delete r[c])}),this.text.css(a),"fontSize"in a||"fontWeight"in a?this.updateTextPadding():("width"in a||"textOverflow"in a)&&this.updateBoxSize()}return ur.prototype.css.call(this,r)}destroy(){jb(this.element,"mouseenter"),jb(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),ur.prototype.destroy.call(this)}fillSetter(r,a){r&&(this.needsBox=!0),this.fill=r,this.boxAttr(a,r)}getBBox(r,a){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:c,height:u=0,translateX:f=0,translateY:p=0,width:m=0}=this,g=lu(this.paddingLeft,c),_=a??(this.rotation||0),S={width:m,height:u,x:f+this.bBox.x-g,y:p+this.bBox.y-c+this.baselineOffset};return _&&(S=this.getRotatedBox(S,_)),S}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(r){this.heightSetting=r,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:lu(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&Ub(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(r,a){ol(r)?r!==this[a]&&(this[a]=r,this.updateTextPadding()):this[a]=void 0}rSetter(r,a){this.boxAttr(a,r)}strokeSetter(r,a){this.stroke=r,this.boxAttr(a,r)}"stroke-widthSetter"(r,a){r&&(this.needsBox=!0),this["stroke-width"]=r,this.boxAttr(a,r)}"text-alignSetter"(r){this.textAlign=this["text-align"]=r,this.updateTextPadding()}textSetter(r){r!==void 0&&this.text.attr({text:r}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let r,a=this.text,c={},u=this.padding,f=this.bBox=(!ol(this.widthSetting)||!ol(this.heightSetting)||this.textAlign)&&Ub(a.textStr)?a.getBBox(void 0,0):Ws.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||f.height||0)+2*u;let p=this.renderer.fontMetrics(a);if(this.baselineOffset=u+Math.min((this.text.firstLineMetrics||p).b,f.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-p.h)/2),this.needsBox&&!a.textPath){if(!this.box){let m=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();m.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),m.add(this)}r=this.getCrispAdjust(),c.x=r,c.y=(this.baseline?-this.baselineOffset:0)+r,c.width=Math.round(this.width),c.height=Math.round(this.height),this.box.attr(ZP(c,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let r=this.text,a=r.styles.textAlign||this.textAlign;if(!r.textPath){this.updateBoxSize();let c=this.baseline?0:this.baselineOffset,u=(this.paddingLeft??this.padding)+$b(a)*(this.widthSetting??this.bBox.width);(u!==r.x||c!==r.y)&&(r.attr({align:a,x:u}),c!==void 0&&r.attr("y",c)),r.x=u,r.y=c}}widthSetter(r){this.widthSetting=ol(r)?r:void 0,this.doUpdate=!0}getPaddedWidth(){let r=this.padding,a=lu(this.paddingLeft,r),c=lu(this.paddingRight,r);return(this.widthSetting||this.bBox.width||0)+a+c}xSetter(r){this.x=r,this.alignFactor&&(r-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(r),this.attr("translateX",this.xSetting)}ySetter(r){this.ySetting=this.y=Math.round(r),this.attr("translateY",this.ySetting)}}Ws.emptyBBox={width:0,height:0,x:0,y:0},Ws.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let{defined:Vb,isNumber:eL,pick:al}=we;function Wb(b,r,a,c,u){let f=[];if(u){let p=u.start||0,m=al(u.r,a),g=al(u.r,c||a),_=2e-4/(u.borderRadius?1:Math.max(m,1)),S=Math.abs((u.end||0)-p-2*Math.PI)<_,x=(u.end||0)-(S?_:0),w=u.innerR,k=al(u.open,S),L=Math.cos(p),B=Math.sin(p),H=Math.cos(x),M=Math.sin(x),j=al(u.longArc,x-p-Math.PI<_?0:1),V=["A",m,g,0,j,al(u.clockwise,1),b+m*H,r+g*M];V.params={start:p,end:x,cx:b,cy:r},f.push(["M",b+m*L,r+g*B],V),Vb(w)&&((V=["A",w,w,0,j,Vb(u.clockwise)?1-u.clockwise:0,b+w*L,r+w*B]).params={start:x,end:p,cx:b,cy:r},f.push(k?["M",b+w*H,r+w*M]:["L",b+w*H,r+w*M],V)),k||f.push(["Z"])}return f}function zb(b,r,a,c,u){return u&&u.r?tp(b,r,a,c,u):[["M",b,r],["L",b+a,r],["L",b+a,r+c],["L",b,r+c],["Z"]]}function tp(b,r,a,c,u){let f=u?.r||0;return[["M",b+f,r],["L",b+a-f,r],["A",f,f,0,0,1,b+a,r+f],["L",b+a,r+c-f],["A",f,f,0,0,1,b+a-f,r+c],["L",b+f,r+c],["A",f,f,0,0,1,b,r+c-f],["L",b,r+f],["A",f,f,0,0,1,b+f,r],["Z"]]}let Xb={arc:Wb,callout:function(b,r,a,c,u){let f=Math.min(u&&u.r||0,a,c),p=f+6,m=u&&u.anchorX,g=u&&u.anchorY||0,_=tp(b,r,a,c,{r:f});if(!eL(m)||m<a&&m>0&&g<c&&g>0)return _;if(b+m>a-p)if(g>r+p&&g<r+c-p)_.splice(3,1,["L",b+a,g-6],["L",b+a+6,g],["L",b+a,g+6],["L",b+a,r+c-f]);else if(m<a){let S=g<r+p,x=S?r:r+c;_.splice(S?2:5,0,["L",m,g],["L",b+a-f,x])}else _.splice(3,1,["L",b+a,c/2],["L",m,g],["L",b+a,c/2],["L",b+a,r+c-f]);else if(b+m<p)if(g>r+p&&g<r+c-p)_.splice(7,1,["L",b,g+6],["L",b-6,g],["L",b,g-6],["L",b,r+f]);else if(m>0){let S=g<r+p,x=S?r:r+c;_.splice(S?1:6,0,["L",m,g],["L",b+f,x])}else _.splice(7,1,["L",b,c/2],["L",m,g],["L",b,c/2],["L",b,r+f]);else g>c&&m<a-p?_.splice(5,1,["L",m+6,r+c],["L",m,r+c+6],["L",m-6,r+c],["L",b+f,r+c]):g<0&&m>p&&_.splice(1,1,["L",m-6,r],["L",m,r-6],["L",m+6,r],["L",a-f,r]);return _},circle:function(b,r,a,c){return Wb(b+a/2,r+c/2,a/2,c/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(b,r,a,c){return[["M",b+a/2,r],["L",b+a,r+c/2],["L",b+a/2,r+c],["L",b,r+c/2],["Z"]]},rect:zb,roundedRect:tp,square:zb,triangle:function(b,r,a,c){return[["M",b+a/2,r],["L",b+a,r+c],["L",b,r+c],["Z"]]},"triangle-down":function(b,r,a,c){return[["M",b,r],["L",b+a,r],["L",b+a/2,r+c],["Z"]]}},{doc:np,SVG_NS:tL,win:Gb}=N,{attr:ip,extend:nL,fireEvent:iL,isString:rL,objectEach:sL,pick:oL}=we,rp=(b,r)=>b.substring(0,r)+"…",aL=class{constructor(b){let r=b.styles;this.renderer=b.renderer,this.svgElement=b,this.width=b.textWidth,this.textLineHeight=r&&r.lineHeight,this.textOutline=r&&r.textOutline,this.ellipsis=!!(r&&r.textOverflow==="ellipsis"),this.lineClamp=r?.lineClamp,this.noWrap=!!(r&&r.whiteSpace==="nowrap")}buildSVG(){let b=this.svgElement,r=b.element,a=b.renderer,c=oL(b.textStr,"").toString(),u=c.indexOf("<")!==-1,f=r.childNodes,p=!b.added&&a.box,m=[c,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,b.getStyle("font-size"),b.styles.lineClamp,this.width].join(",");if(m!==b.textCache){b.textCache=m,delete b.actualWidth;for(let g=f.length;g--;)r.removeChild(f[g]);if(u||this.ellipsis||this.width||b.textPath||c.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(c))){if(c!==""){p&&p.appendChild(r);let g=new Vt(c);this.modifyTree(g.nodes),g.addToDOM(r),this.modifyDOM(),this.ellipsis&&(r.textContent||"").indexOf("…")!==-1&&b.attr("title",this.unescapeEntities(b.textStr||"",["<",">"])),p&&p.removeChild(r)}}else r.appendChild(np.createTextNode(this.unescapeEntities(c)));rL(this.textOutline)&&b.applyTextOutline&&b.applyTextOutline(this.textOutline)}}modifyDOM(){let b,r=this.svgElement,a=ip(r.element,"x");for(r.firstLineMetrics=void 0;(b=r.element.firstChild)&&/^[\s\u200B]*$/.test(b.textContent||" ");)r.element.removeChild(b);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(p,m)=>{p.nextSibling&&p.previousSibling&&(m===0&&p.previousSibling.nodeType===1&&(r.firstLineMetrics=r.renderer.fontMetrics(p.previousSibling)),ip(p,{dy:this.getLineHeight(p.nextSibling),x:a}))});let c=this.width||0;if(!c)return;let u=(p,m)=>{let g=p.textContent||"",_=g.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(_.length>1||r.element.childNodes.length>1),x=this.getLineHeight(m),w=Math.max(0,c-.8*x),k=0,L=r.actualWidth;if(S){let B=[],H=[];for(;m.firstChild&&m.firstChild!==p;)H.push(m.firstChild),m.removeChild(m.firstChild);for(;_.length;)if(_.length&&!this.noWrap&&k>0&&(B.push(p.textContent||""),p.textContent=_.join(" ").replace(/- /g,"-")),this.truncate(p,void 0,_,k===0&&L||0,c,w,(M,j)=>_.slice(0,j).join(" ").replace(/- /g,"-")),L=r.actualWidth,k++,this.lineClamp&&k>=this.lineClamp){_.length&&(this.truncate(p,p.textContent||"",void 0,0,c,w,rp),p.textContent=p.textContent?.replace("…","")+"…");break}H.forEach(M=>{m.insertBefore(M,p)}),B.forEach(M=>{m.insertBefore(np.createTextNode(M),p);let j=np.createElementNS(tL,"tspan");j.textContent="",ip(j,{dy:x,x:a}),m.insertBefore(j,p)})}else this.ellipsis&&g&&this.truncate(p,g,void 0,0,c,w,rp)},f=p=>{[].slice.call(p.childNodes).forEach(m=>{m.nodeType===Gb.Node.TEXT_NODE?u(m,p):(m.className.baseVal.indexOf("highcharts-br")!==-1&&(r.actualWidth=0),f(m))})};f(r.element)}getLineHeight(b){let r=b.nodeType===Gb.Node.TEXT_NODE?b.parentElement:b;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(r||this.svgElement.element).h}modifyTree(b){let r=(a,c)=>{let{attributes:u={},children:f,style:p={},tagName:m}=a,g=this.renderer.styledMode;if(m==="b"||m==="strong"?g?u.class="highcharts-strong":p.fontWeight="bold":(m==="i"||m==="em")&&(g?u.class="highcharts-emphasized":p.fontStyle="italic"),p&&p.color&&(p.fill=p.color),m==="br"){u.class="highcharts-br",a.textContent="";let _=b[c+1];_&&_.textContent&&(_.textContent=_.textContent.replace(/^ +/gm,""))}else m==="a"&&f&&f.some(_=>_.tagName==="#text")&&(a.children=[{children:f,tagName:"tspan"}]);m!=="#text"&&m!=="a"&&(a.tagName="tspan"),nL(a,{attributes:u,style:p}),f&&f.filter(_=>_.tagName!=="#text").forEach(r)};b.forEach(r),iL(this.svgElement,"afterModifyTree",{nodes:b})}truncate(b,r,a,c,u,f,p){let m,g,_=this.svgElement,{rotation:S}=_,x=[],w=a&&!c?1:0,k=(r||a||"").length,L=k;a||(u=f);let B=function(H,M){let j=M||H,V=b.parentNode;if(V&&x[j]===void 0&&V.getSubStringLength)try{x[j]=c+V.getSubStringLength(0,a?j+1:j)}catch{}return x[j]};if(_.rotation=0,c+(g=B(b.textContent.length))>u){for(;w<=k;)L=Math.ceil((w+k)/2),a&&(m=p(a,L)),g=B(L,m&&m.length-1),w===k?w=k+1:g>u?k=L-1:w=L;k===0?b.textContent="":r&&k===r.length-1||(b.textContent=m||p(r||a,L)),this.ellipsis&&g>u&&this.truncate(b,b.textContent||"",void 0,0,u,f,rp)}a&&a.splice(0,L),_.actualWidth=g,_.rotation=S}unescapeEntities(b,r){return sL(this.renderer.escapes,function(a,c){r&&r.indexOf(a)!==-1||(b=b.toString().replace(RegExp(a,"g"),c))}),b}},{defaultOptions:lL}=Ne,{charts:cL,deg2rad:qb,doc:Vo,isFirefox:Yb,isMS:Kb,isWebKit:uL,noop:hL,SVG_NS:fL,symbolSizes:ll,win:sp}=N,{addEvent:cu,attr:uu,createElement:dL,crisp:Jb,css:hu,defined:zs,destroyObjectProperties:pL,extend:Xs,isArray:mL,isNumber:cl,isObject:ul,isString:gL,merge:op,pick:ap,pInt:yL,replaceNested:vL,uniqueKey:bL}=we;class fu{constructor(r,a,c,u,f,p,m){let g,_,S=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),x=S.element;m||S.css(this.getStyle(u||{})),r.appendChild(x),uu(r,"dir","ltr"),r.innerHTML.indexOf("xmlns")===-1&&uu(x,"xmlns",this.SVG_NS),this.box=x,this.boxWrapper=S,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(Vo.createTextNode("Created with Highcharts 12.1.2")),this.defs=this.createElement("defs").add(),this.allowHTML=p,this.forExport=f,this.styledMode=m,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=S.getStyle("font-size"),this.setSize(a,c,!1),Yb&&r.getBoundingClientRect&&((g=function(){hu(r,{left:0,top:0}),_=r.getBoundingClientRect(),hu(r,{left:Math.ceil(_.left)-_.left+"px",top:Math.ceil(_.top)-_.top+"px"})})(),this.unSubPixelFix=cu(sp,"resize",g))}definition(r){return new Vt([r]).addToDOM(this.defs.element)}getReferenceURL(){if((Yb||uL)&&Vo.getElementsByTagName("base").length){if(!zs(i)){let r=bL(),a=new Vt([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:r},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${r})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(Vo.body);hu(a,{position:"fixed",top:0,left:0,zIndex:9e5});let c=Vo.elementFromPoint(6,6);i=(c&&c.id)==="hitme",Vo.body.removeChild(a)}if(i)return vL(sp.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(r){return this.style=Xs({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},r),this.style}setStyle(r){this.boxWrapper.css(this.getStyle(r))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let r=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),pL(this.gradients||{}),this.gradients=null,this.defs=r.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(r){return new this.Element(this,r)}getRadialAttr(r,a){return{cx:r[0]-r[2]/2+(a.cx||0)*r[2],cy:r[1]-r[2]/2+(a.cy||0)*r[2],r:(a.r||0)*r[2]}}shadowDefinition(r){let a=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(r).map(u=>`${u}-${r[u]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),c=op({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},r);return this.defs.element.querySelector(`#${a}`)||this.definition({tagName:"filter",attributes:{id:a,filterUnits:c.filterUnits},children:this.getShadowFilterContent(c)}),a}getShadowFilterContent(r){return[{tagName:"feDropShadow",attributes:{dx:r.offsetX,dy:r.offsetY,"flood-color":r.color,"flood-opacity":Math.min(5*r.opacity,1),stdDeviation:r.width/2}}]}buildText(r){new aL(r).buildSVG()}getContrast(r){let a=Mt.parse(r).rgba.map(u=>{let f=u/255;return f<=.03928?f/12.92:Math.pow((f+.055)/1.055,2.4)}),c=.2126*a[0]+.7152*a[1]+.0722*a[2];return 1.05/(c+.05)>(c+.05)/.05?"#FFFFFF":"#000000"}button(r,a,c,u,f={},p,m,g,_,S){let x=this.label(r,a,c,_,void 0,void 0,S,void 0,"button"),w=this.styledMode,k=arguments,L=0;f=op(lL.global.buttonTheme,f),w&&(delete f.fill,delete f.stroke,delete f["stroke-width"]);let B=f.states||{},H=f.style||{};delete f.states,delete f.style;let M=[Vt.filterUserAttributes(f)],j=[H];return w||["hover","select","disabled"].forEach((V,te)=>{M.push(op(M[0],Vt.filterUserAttributes(k[te+5]||B[V]||{}))),j.push(M[te+1].style),delete M[te+1].style}),cu(x.element,Kb?"mouseover":"mouseenter",function(){L!==3&&x.setState(1)}),cu(x.element,Kb?"mouseout":"mouseleave",function(){L!==3&&x.setState(L)}),x.setState=(V=0)=>{if(V!==1&&(x.state=L=V),x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][V]),!w){x.attr(M[V]);let te=j[V];ul(te)&&x.css(te)}},x.attr(M[0]),!w&&(x.css(Xs({cursor:"default"},H)),S&&x.text.css({pointerEvents:"none"})),x.on("touchstart",V=>V.stopPropagation()).on("click",function(V){L!==3&&u.call(x,V)})}crispLine(r,a){let[c,u]=r;return zs(c[1])&&c[1]===u[1]&&(c[1]=u[1]=Jb(c[1],a)),zs(c[2])&&c[2]===u[2]&&(c[2]=u[2]=Jb(c[2],a)),r}path(r){let a=this.styledMode?{}:{fill:"none"};return mL(r)?a.d=r:ul(r)&&Xs(a,r),this.createElement("path").attr(a)}circle(r,a,c){let u=ul(r)?r:r===void 0?{}:{x:r,y:a,r:c},f=this.createElement("circle");return f.xSetter=f.ySetter=function(p,m,g){g.setAttribute("c"+m,p)},f.attr(u)}arc(r,a,c,u,f,p){let m;ul(r)?(a=(m=r).y,c=m.r,u=m.innerR,f=m.start,p=m.end,r=m.x):m={innerR:u,start:f,end:p};let g=this.symbol("arc",r,a,c,c,m);return g.r=c,g}rect(r,a,c,u,f,p){let m=ul(r)?r:r===void 0?{}:{x:r,y:a,r:f,width:Math.max(c||0,0),height:Math.max(u||0,0)},g=this.createElement("rect");return this.styledMode||(p!==void 0&&(m["stroke-width"]=p,Xs(m,g.crisp(m))),m.fill="none"),g.rSetter=function(_,S,x){g.r=_,uu(x,{rx:_,ry:_})},g.rGetter=function(){return g.r||0},g.attr(m)}roundedRect(r){return this.symbol("roundedRect").attr(r)}setSize(r,a,c){this.width=r,this.height=a,this.boxWrapper.animate({width:r,height:a},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:ap(c,!0)?void 0:0}),this.alignElements()}g(r){let a=this.createElement("g");return r?a.attr({class:"highcharts-"+r}):a}image(r,a,c,u,f,p){let m={preserveAspectRatio:"none"};cl(a)&&(m.x=a),cl(c)&&(m.y=c),cl(u)&&(m.width=u),cl(f)&&(m.height=f);let g=this.createElement("image").attr(m),_=function(S){g.attr({href:r}),p.call(g,S)};if(p){g.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let S=new sp.Image;cu(S,"load",_),S.src=r,S.complete&&_({})}else g.attr({href:r});return g}symbol(r,a,c,u,f,p){let m,g,_,S,x=this,w=/^url\((.*?)\)$/,k=w.test(r),L=!k&&(this.symbols[r]?r:"circle"),B=L&&this.symbols[L];if(B)typeof a=="number"&&(g=B.call(this.symbols,a||0,c||0,u||0,f||0,p)),m=this.path(g),x.styledMode||m.attr("fill","none"),Xs(m,{symbolName:L||void 0,x:a,y:c,width:u,height:f}),p&&Xs(m,p);else if(k){_=r.match(w)[1];let H=m=this.image(_);H.imgwidth=ap(p&&p.width,ll[_]&&ll[_].width),H.imgheight=ap(p&&p.height,ll[_]&&ll[_].height),S=M=>M.attr({width:M.width,height:M.height}),["width","height"].forEach(M=>{H[`${M}Setter`]=function(j,V){this[V]=j;let{alignByTranslate:te,element:ie,width:ne,height:Z,imgwidth:re,imgheight:ge}=this,ye=V==="width"?re:ge,_e=1;p&&p.backgroundSize==="within"&&ne&&Z&&re&&ge?(_e=Math.min(ne/re,Z/ge),uu(ie,{width:Math.round(re*_e),height:Math.round(ge*_e)})):ie&&ye&&ie.setAttribute(V,ye),!te&&re&&ge&&this.translate(((ne||0)-re*_e)/2,((Z||0)-ge*_e)/2)}}),zs(a)&&H.attr({x:a,y:c}),H.isImg=!0,H.symbolUrl=r,zs(H.imgwidth)&&zs(H.imgheight)?S(H):(H.attr({width:0,height:0}),dL("img",{onload:function(){let M=cL[x.chartIndex];this.width===0&&(hu(this,{position:"absolute",top:"-999em"}),Vo.body.appendChild(this)),ll[_]={width:this.width,height:this.height},H.imgwidth=this.width,H.imgheight=this.height,H.element&&S(H),this.parentNode&&this.parentNode.removeChild(this),x.imgCount--,x.imgCount||!M||M.hasLoaded||M.onload()},src:_}),this.imgCount++)}return m}clipRect(r,a,c,u){return this.rect(r,a,c,u,0)}text(r,a,c,u){let f={};if(u&&(this.allowHTML||!this.forExport))return this.html(r,a,c);f.x=Math.round(a||0),c&&(f.y=Math.round(c)),zs(r)&&(f.text=r);let p=this.createElement("text").attr(f);return u&&(!this.forExport||this.allowHTML)||(p.xSetter=function(m,g,_){let S=_.getElementsByTagName("tspan"),x=_.getAttribute(g);for(let w=0,k;w<S.length;w++)(k=S[w]).getAttribute(g)===x&&k.setAttribute(g,m);_.setAttribute(g,m)}),p}fontMetrics(r){let a=yL(ur.prototype.getStyle.call(r,"font-size")||0),c=a<24?a+3:Math.round(1.2*a),u=Math.round(.8*c);return{h:c,b:u,f:a}}rotCorr(r,a,c){let u=r;return a&&c&&(u=Math.max(u*Math.cos(a*qb),4)),{x:-r/3*Math.sin(a*qb),y:u}}pathToSegments(r){let a=[],c=[],u={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let f=0;f<r.length;f++)gL(c[0])&&cl(r[f])&&c.length===u[c[0].toUpperCase()]&&r.splice(f,0,c[0].replace("M","L").replace("m","l")),typeof r[f]=="string"&&(c.length&&a.push(c.slice(0)),c.length=0),c.push(r[f]);return a.push(c.slice(0)),a}label(r,a,c,u,f,p,m,g,_){return new Ws(this,r,a,c,u,f,p,m,g,_)}alignElements(){this.alignedObjects.forEach(r=>r.align())}}Xs(fu.prototype,{Element:ur,SVG_NS:fL,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:Xb,draw:hL}),rl.registerRendererType("svg",fu,!0);let{composed:_L}=N,{attr:EL,css:Wo,createElement:xL,defined:Zb,extend:SL,getAlignFactor:wL,isNumber:TL,pInt:CL,pushUnique:AL}=we;function Qb(b,r,a){let c=this.div?.style||a.style;ur.prototype[`${r}Setter`].call(this,b,r,a),c&&(c[r]=b)}let OL=(b,r)=>{if(!b.div){let a=EL(b.element,"class"),c=b.css,u=xL("div",a?{className:a}:void 0,{position:"absolute",left:`${b.translateX||0}px`,top:`${b.translateY||0}px`,...b.styles,display:b.display,opacity:b.opacity,visibility:b.visibility},b.parentGroup?.div||r);b.classSetter=(f,p,m)=>{m.setAttribute("class",f),u.className=f},b.translateXSetter=b.translateYSetter=(f,p)=>{b[p]=f,u.style[p==="translateX"?"left":"top"]=`${f}px`,b.doTransform=!0},b.opacitySetter=b.visibilitySetter=Qb,b.css=f=>(c.call(b,f),f.cursor&&(u.style.cursor=f.cursor),f.pointerEvents&&(u.style.pointerEvents=f.pointerEvents),b),b.on=function(){return ur.prototype.on.apply({element:u,onEvents:b.onEvents},arguments),b},b.div=u}return b.div};class hl extends ur{static compose(r){AL(_L,this.compose)&&(r.prototype.html=function(a,c,u){return new hl(this,"span").attr({text:a,x:Math.round(c),y:Math.round(u)})})}constructor(r,a){super(r,a),this.css({position:"absolute",...r.styledMode?{}:{fontFamily:r.style.fontFamily,fontSize:r.style.fontSize}})}getSpanCorrection(r,a,c){this.xCorr=-r*c,this.yCorr=-a}css(r){let a,{element:c}=this,u=c.tagName==="SPAN"&&r&&"width"in r,f=u&&r.width;return u&&(delete r.width,this.textWidth=CL(f)||void 0,a=!0),r?.textOverflow==="ellipsis"&&(r.overflow="hidden"),r?.lineClamp&&(r.display="-webkit-box",r.WebkitLineClamp=r.lineClamp,r.WebkitBoxOrient="vertical",r.overflow="hidden"),TL(Number(r?.fontSize))&&(r.fontSize=r.fontSize+"px"),SL(this.styles,r),Wo(c,r),a&&this.updateTransform(),this}htmlGetBBox(){let{element:r}=this;return{x:r.offsetLeft,y:r.offsetTop,width:r.offsetWidth,height:r.offsetHeight}}updateTransform(){if(!this.added){this.alignOnAdd=!0;return}let{element:r,renderer:a,rotation:c,rotationOriginX:u,rotationOriginY:f,scaleX:p,scaleY:m,styles:g,textAlign:_="left",textWidth:S,translateX:x=0,translateY:w=0,x:k=0,y:L=0}=this,{display:B="block",whiteSpace:H}=g;if(Wo(r,{marginLeft:`${x}px`,marginTop:`${w}px`}),r.tagName==="SPAN"){let M,j=[c,_,r.innerHTML,S,this.textAlign].join(","),V=-(this.parentGroup?.padding*1)||0;if(S!==this.oldTextWidth){let Z=this.textPxLength?this.textPxLength:(Wo(r,{width:"",whiteSpace:H||"nowrap"}),r.offsetWidth),re=S||0;(re>this.oldTextWidth||Z>re)&&(/[ \-]/.test(r.textContent||r.innerText)||r.style.textOverflow==="ellipsis")&&(Wo(r,{width:Z>re||c||p?S+"px":"auto",display:B,whiteSpace:H||"normal"}),this.oldTextWidth=S)}j!==this.cTT&&(M=a.fontMetrics(r).b,Zb(c)&&(c!==(this.oldRotation||0)||_!==this.oldAlign)&&this.setSpanRotation(c,V,V),this.getSpanCorrection(!Zb(c)&&!this.textWidth&&this.textPxLength||r.offsetWidth,M,wL(_)));let{xCorr:te=0,yCorr:ie=0}=this,ne={left:`${k+te}px`,top:`${L+ie}px`,textAlign:_,transformOrigin:`${(u??k)-te-k-V}px ${(f??L)-ie-L-V}px`};(p||m)&&(ne.transform=`scale(${p??1},${m??1})`),Wo(r,ne),this.cTT=j,this.oldRotation=c,this.oldAlign=_}}setSpanRotation(r,a,c){Wo(this.element,{transform:`rotate(${r}deg)`,transformOrigin:`${a}% ${c}px`})}add(r){let a,c=this.renderer.box.parentNode,u=[];if(this.parentGroup=r,r&&!(a=r.div)){let f=r;for(;f;)u.push(f),f=f.parentGroup;for(let p of u.reverse())a=OL(p,c)}return(a||c).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(r){r!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,Vt.setElementHTML(this.element,r??""),this.textStr=r,this.doTransform=!0)}alignSetter(r){this.alignValue=this.textAlign=r,this.doTransform=!0}xSetter(r,a){this[a]=r,this.doTransform=!0}}let Gs=hl.prototype;Gs.visibilitySetter=Gs.opacitySetter=Qb,Gs.ySetter=Gs.rotationSetter=Gs.rotationOriginXSetter=Gs.rotationOriginYSetter=Gs.xSetter,(function(b){b.xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",range:!1},day:{main:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},b.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:r}=this.axis.chart;return r(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0}})(h||(h={}));let kL=h,{addEvent:PL,isFunction:LL,objectEach:RL,removeEvent:IL}=we;(d||(d={})).registerEventOptions=function(b,r){b.eventOptions=b.eventOptions||{},RL(r.events,function(a,c){b.eventOptions[c]!==a&&(b.eventOptions[c]&&(IL(b,c,b.eventOptions[c]),delete b.eventOptions[c]),LL(a)&&(b.eventOptions[c]=a,PL(b,c,a,{order:0})))})};let du=d,{deg2rad:lp}=N,{clamp:NL,correctFloat:pu,defined:cp,destroyObjectProperties:ML,extend:e0,fireEvent:fl,getAlignFactor:DL,isNumber:mu,merge:FL,objectEach:BL,pick:Vi}=we,zo=class{constructor(b,r,a,c,u){this.isNew=!0,this.isNewLabel=!0,this.axis=b,this.pos=r,this.type=a||"",this.parameters=u||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,fl(this,"init"),a||c||this.addLabel()}addLabel(){let b=this,r=b.axis,a=r.options,c=r.chart,u=r.categories,f=r.logarithmic,p=r.names,m=b.pos,g=Vi(b.options&&b.options.labels,a.labels),_=r.tickPositions,S=m===_[0],x=m===_[_.length-1],w=(!g.step||g.step===1)&&r.tickInterval===1,k=_.info,L=b.label,B,H,M,j=this.parameters.category||(u?Vi(u[m],p[m],m):m);f&&mu(j)&&(j=pu(f.lin2log(j))),r.dateTime&&(k?B=(H=c.time.resolveDTLFormat(a.dateTimeLabelFormats[!a.grid&&k.higherRanks[m]||k.unitName])).main:mu(j)&&(B=r.dateTime.getXDateFormat(j,a.dateTimeLabelFormats||{}))),b.isFirst=S,b.isLast=x;let V={axis:r,chart:c,dateTimeLabelFormat:B,isFirst:S,isLast:x,pos:m,tick:b,tickPositionInfo:k,value:j};fl(this,"labelFormat",V);let te=Z=>g.formatter?g.formatter.call(Z,Z):g.format?(Z.text=r.defaultLabelFormatter.call(Z),$i.format(g.format,Z,c)):r.defaultLabelFormatter.call(Z),ie=te.call(V,V),ne=H&&H.list;ne?b.shortenLabel=function(){for(M=0;M<ne.length;M++)if(e0(V,{dateTimeLabelFormat:ne[M]}),L.attr({text:te.call(V,V)}),L.getBBox().width<r.getSlotWidth(b)-2*(g.padding||0))return;L.attr({text:""})}:b.shortenLabel=void 0,w&&r._addedPlotLB&&b.moveLabel(ie,g),cp(L)||b.movedLabel?L&&L.textStr!==ie&&!w&&(!L.textWidth||g.style.width||L.styles.width||L.css({width:null}),L.attr({text:ie}),L.textPxLength=L.getBBox().width):(b.label=L=b.createLabel(ie,g),b.rotation=0)}createLabel(b,r,a){let c=this.axis,{renderer:u,styledMode:f}=c.chart,p=cp(b)&&r.enabled?u.text(b,a?.x,a?.y,r.useHTML).add(c.labelGroup):void 0;if(p){let m=r.style.whiteSpace||"normal";f||p.css(FL(r.style,{whiteSpace:"nowrap"})),p.textPxLength=p.getBBox().width,f||p.css({whiteSpace:m})}return p}destroy(){ML(this,this.axis)}getPosition(b,r,a,c){let u=this.axis,f=u.chart,p=c&&f.oldChartHeight||f.chartHeight,m={x:b?pu(u.translate(r+a,void 0,void 0,c)+u.transB):u.left+u.offset+(u.opposite?(c&&f.oldChartWidth||f.chartWidth)-u.right-u.left:0),y:b?p-u.bottom+u.offset-(u.opposite?u.height:0):pu(p-u.translate(r+a,void 0,void 0,c)-u.transB)};return m.y=NL(m.y,-1e9,1e9),fl(this,"afterGetPosition",{pos:m}),m}getLabelPosition(b,r,a,c,u,f,p,m){let g,_,S=this.axis,x=S.transA,w=S.isLinked&&S.linkedParent?S.linkedParent.reversed:S.reversed,k=S.staggerLines,L=S.tickRotCorr||{x:0,y:0},B=c||S.reserveSpaceDefault?0:-S.labelOffset*(S.labelAlign==="center"?.5:1),H=u.distance,M={};return g=S.side===0?a.rotation?-H:-a.getBBox().height:S.side===2?L.y+H:Math.cos(a.rotation*lp)*(L.y-a.getBBox(!1,0).height/2),cp(u.y)&&(g=S.side===0&&S.horiz?u.y+g:u.y),b=b+Vi(u.x,[0,1,0,-1][S.side]*H)+B+L.x-(f&&c?f*x*(w?-1:1):0),r=r+g-(f&&!c?f*x*(w?1:-1):0),k&&(_=p/(m||1)%k,S.opposite&&(_=k-_-1),r+=_*(S.labelOffset/k)),M.x=b,M.y=Math.round(r),fl(this,"afterGetLabelPosition",{pos:M,tickmarkOffset:f,index:p}),M}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(b,r,a,c,u=!1,f){return f.crispLine([["M",b,r],["L",b+(u?0:-a),r+(u?a:0)]],c)}handleOverflow(b){let r=this.axis,a=r.options.labels,c=b.x,u=r.chart.chartWidth,f=r.chart.spacing,p=Vi(r.labelLeft,Math.min(r.pos,f[3])),m=Vi(r.labelRight,Math.max(r.isRadial?0:r.pos+r.len,u-f[1])),g=this.label,_=this.rotation,S=DL(r.labelAlign||g.attr("align")),x=g.getBBox().width,w=r.getSlotWidth(this),k=w,L=1,B,H,M;_||a.overflow!=="justify"?_<0&&c-S*x<p?M=Math.round(c/Math.cos(_*lp)-p):_>0&&c+S*x>m&&(M=Math.round((u-c)/Math.cos(_*lp))):(B=c-S*x,H=c+(1-S)*x,B<p?k=b.x+k*(1-S)-p:H>m&&(k=m-b.x+k*S,L=-1),(k=Math.min(w,k))<w&&r.labelAlign==="center"&&(b.x+=L*(w-k-S*(w-Math.min(x,k)))),(x>k||r.autoRotation&&(g.styles||{}).width)&&(M=k)),M&&g&&(this.shortenLabel?this.shortenLabel():g.css(e0({},{width:Math.floor(M)+"px",lineClamp:r.isRadial?0:1})))}moveLabel(b,r){let a=this,c=a.label,u=a.axis,f=!1,p;c&&c.textStr===b?(a.movedLabel=c,f=!0,delete a.label):BL(u.ticks,function(m){f||m.isNew||m===a||!m.label||m.label.textStr!==b||(a.movedLabel=m.label,f=!0,m.labelPos=a.movedLabel.xy,delete m.label)}),!f&&(a.labelPos||c)&&(p=a.labelPos||c.xy,a.movedLabel=a.createLabel(b,r,p),a.movedLabel&&a.movedLabel.attr({opacity:0}))}render(b,r,a){let c=this.axis,u=c.horiz,f=this.pos,p=Vi(this.tickmarkOffset,c.tickmarkOffset),m=this.getPosition(u,f,p,r),g=m.x,_=m.y,S=c.pos,x=S+c.len,w=u?g:_;!c.chart.polar&&this.isNew&&(pu(w)<S||w>x)&&(a=0);let k=Vi(a,this.label&&this.label.newOpacity,1);a=Vi(a,1),this.isActive=!0,this.renderGridLine(r,a),this.renderMark(m,a),this.renderLabel(m,r,k,b),this.isNew=!1,fl(this,"afterRender")}renderGridLine(b,r){let a=this.axis,c=a.options,u={},f=this.pos,p=this.type,m=Vi(this.tickmarkOffset,a.tickmarkOffset),g=a.chart.renderer,_=this.gridLine,S,x=c.gridLineWidth,w=c.gridLineColor,k=c.gridLineDashStyle;this.type==="minor"&&(x=c.minorGridLineWidth,w=c.minorGridLineColor,k=c.minorGridLineDashStyle),_||(a.chart.styledMode||(u.stroke=w,u["stroke-width"]=x||0,u.dashstyle=k),p||(u.zIndex=1),b&&(r=0),this.gridLine=_=g.path().attr(u).addClass("highcharts-"+(p?p+"-":"")+"grid-line").add(a.gridGroup)),_&&(S=a.getPlotLinePath({value:f+m,lineWidth:_.strokeWidth(),force:"pass",old:b,acrossPanes:!1}))&&_[b||this.isNew?"attr":"animate"]({d:S,opacity:r})}renderMark(b,r){let a=this.axis,c=a.options,u=a.chart.renderer,f=this.type,p=a.tickSize(f?f+"Tick":"tick"),m=b.x,g=b.y,_=Vi(c[f!=="minor"?"tickWidth":"minorTickWidth"],!f&&a.isXAxis?1:0),S=c[f!=="minor"?"tickColor":"minorTickColor"],x=this.mark,w=!x;p&&(a.opposite&&(p[0]=-p[0]),x||(this.mark=x=u.path().addClass("highcharts-"+(f?f+"-":"")+"tick").add(a.axisGroup),a.chart.styledMode||x.attr({stroke:S,"stroke-width":_})),x[w?"attr":"animate"]({d:this.getMarkPath(m,g,p[0],x.strokeWidth(),a.horiz,u),opacity:r}))}renderLabel(b,r,a,c){let u=this.axis,f=u.horiz,p=u.options,m=this.label,g=p.labels,_=g.step,S=Vi(this.tickmarkOffset,u.tickmarkOffset),x=b.x,w=b.y,k=!0;m&&mu(x)&&(m.xy=b=this.getLabelPosition(x,w,m,f,g,S,c,_),(!this.isFirst||this.isLast||p.showFirstLabel)&&(!this.isLast||this.isFirst||p.showLastLabel)?!f||g.step||g.rotation||r||a===0||this.handleOverflow(b):k=!1,_&&c%_&&(k=!1),k&&mu(b.y)?(b.opacity=a,m[this.isNewLabel?"attr":"animate"](b).show(!0),this.isNewLabel=!1):(m.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let b=this.label,r=this.axis;b&&!this.isNew&&(b.animate({opacity:0},void 0,b.destroy),delete this.label),r.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}},{animObject:HL}=Ln,{xAxis:t0,yAxis:UL}=kL,{defaultOptions:up}=Ne,{registerEventOptions:$L}=du,{deg2rad:jL}=N,{arrayMax:n0,arrayMin:VL,clamp:hp,correctFloat:_i,defined:It,destroyObjectProperties:WL,erase:i0,error:fp,extend:gu,fireEvent:Gt,getClosestDistance:r0,insertItem:zL,isArray:s0,isNumber:je,isString:o0,merge:yu,normalizeTickInterval:XL,objectEach:vu,pick:nt,relativeLength:bu,removeEvent:GL,splat:qL,syncTimeout:YL}=we,a0=(b,r)=>XL(r,void 0,void 0,nt(b.options.allowDecimals,r<.5||b.tickAmount!==void 0),!!b.tickAmount);gu(up,{xAxis:t0,yAxis:yu(t0,UL)});class Xo{constructor(r,a,c){this.init(r,a,c)}init(r,a,c=this.coll){let u=c==="xAxis",f=this.isZAxis||(r.inverted?!u:u);this.chart=r,this.horiz=f,this.isXAxis=u,this.coll=c,Gt(this,"init",{userOptions:a}),this.opposite=nt(a.opposite,this.opposite),this.side=nt(a.side,this.side,f?this.opposite?0:2:this.opposite?1:3),this.setOptions(a);let p=this.options,m=p.labels;this.type??(this.type=p.type||"linear"),this.uniqueNames??(this.uniqueNames=p.uniqueNames??!0),Gt(this,"afterSetType"),this.userOptions=a,this.minPixelPadding=0,this.reversed=nt(p.reversed,this.reversed),this.visible=p.visible,this.zoomEnabled=p.zoomEnabled,this.hasNames=this.type==="category"||p.categories===!0,this.categories=s0(p.categories)&&p.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=It(p.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=p.minRange||p.maxZoom,this.range=p.range,this.offset=p.offset||0,this.max=void 0,this.min=void 0;let g=nt(p.crosshair,qL(r.options.tooltip.crosshairs)[u?0:1]);this.crosshair=g===!0?{}:g,r.axes.indexOf(this)===-1&&(u?r.axes.splice(r.xAxis.length,0,this):r.axes.push(this),zL(this,r[this.coll])),r.orderItems(this.coll),this.series=this.series||[],r.inverted&&!this.isZAxis&&u&&!It(this.reversed)&&(this.reversed=!0),this.labelRotation=je(m.rotation)?m.rotation:void 0,$L(this,p),Gt(this,"afterInit")}setOptions(r){let a=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=yu(a,up[this.coll],r),Gt(this,"afterSetOptions",{userOptions:r})}defaultLabelFormatter(){let r=this.axis,{numberFormatter:a}=this.chart,c=je(this.value)?this.value:NaN,u=r.chart.time,f=r.categories,p=this.dateTimeLabelFormat,m=up.lang,g=m.numericSymbols,_=m.numericSymbolMagnitude||1e3,S=r.logarithmic?Math.abs(c):r.tickInterval,x=g&&g.length,w,k;if(f)k=`${this.value}`;else if(p)k=u.dateFormat(p,c,!0);else if(x&&g&&S>=1e3)for(;x--&&k===void 0;)S>=(w=Math.pow(_,x+1))&&10*c%w==0&&g[x]!==null&&c!==0&&(k=a(c/w,-1)+g[x]);return k===void 0&&(k=Math.abs(c)>=1e4?a(c,-1):a(c,-1,void 0,"")),k}getSeriesExtremes(){let r,a=this;Gt(this,"getSeriesExtremes",null,function(){a.hasVisibleSeries=!1,a.dataMin=a.dataMax=a.threshold=void 0,a.softThreshold=!a.isXAxis,a.series.forEach(c=>{if(c.reserveSpace()){let u=c.options,f,p=u.threshold,m,g;if(a.hasVisibleSeries=!0,a.positiveValuesOnly&&0>=(p||0)&&(p=void 0),a.isXAxis)(f=c.getColumn("x")).length&&(f=a.logarithmic?f.filter(_=>_>0):f,m=(r=c.getXExtremes(f)).min,g=r.max,je(m)||m instanceof Date||(f=f.filter(je),m=(r=c.getXExtremes(f)).min,g=r.max),f.length&&(a.dataMin=Math.min(nt(a.dataMin,m),m),a.dataMax=Math.max(nt(a.dataMax,g),g)));else{let _=c.applyExtremes();je(_.dataMin)&&(m=_.dataMin,a.dataMin=Math.min(nt(a.dataMin,m),m)),je(_.dataMax)&&(g=_.dataMax,a.dataMax=Math.max(nt(a.dataMax,g),g)),It(p)&&(a.threshold=p),(!u.softThreshold||a.positiveValuesOnly)&&(a.softThreshold=!1)}}})}),Gt(this,"afterGetSeriesExtremes")}translate(r,a,c,u,f,p){let m=this.linkedParent||this,g=u&&m.old?m.old.min:m.min;if(!je(g))return NaN;let _=m.minPixelPadding,S=(m.isOrdinal||m.brokenAxis?.hasBreaks||m.logarithmic&&f)&&m.lin2val,x=1,w=0,k=u&&m.old?m.old.transA:m.transA,L=0;return k||(k=m.transA),c&&(x*=-1,w=m.len),m.reversed&&(x*=-1,w-=x*(m.sector||m.len)),a?(L=(r=r*x+w-_)/k+g,S&&(L=m.lin2val(L))):(S&&(r=m.val2lin(r)),L=x*(r-g)*k+w+x*_+(je(p)?k*p:0),m.isRadial||(L=_i(L))),L}toPixels(r,a){return this.translate(this.chart?.time.parse(r)??NaN,!1,!this.horiz,void 0,!0)+(a?0:this.pos)}toValue(r,a){return this.translate(r-(a?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(r){let a=this,c=a.chart,u=a.left,f=a.top,p=r.old,m=r.value,g=r.lineWidth,_=p&&c.oldChartHeight||c.chartHeight,S=p&&c.oldChartWidth||c.chartWidth,x=a.transB,w=r.translatedValue,k=r.force,L,B,H,M,j;function V(ie,ne,Z){return k!=="pass"&&(ie<ne||ie>Z)&&(k?ie=hp(ie,ne,Z):j=!0),ie}let te={value:m,lineWidth:g,old:p,force:k,acrossPanes:r.acrossPanes,translatedValue:w};return Gt(this,"getPlotLinePath",te,function(ie){L=H=(w=hp(w=nt(w,a.translate(m,void 0,void 0,p)),-1e9,1e9))+x,B=M=_-w-x,je(w)?a.horiz?(B=f,M=_-a.bottom+(a.options.isInternal?0:c.scrollablePixelsY||0),L=H=V(L,u,u+a.width)):(L=u,H=S-a.right+(c.scrollablePixelsX||0),B=M=V(B,f,f+a.height)):(j=!0,k=!1),ie.path=j&&!k?void 0:c.renderer.crispLine([["M",L,B],["L",H,M]],g||1)}),te.path}getLinearTickPositions(r,a,c){let u,f,p,m=_i(Math.floor(a/r)*r),g=_i(Math.ceil(c/r)*r),_=[];if(_i(m+r)===m&&(p=20),this.single)return[a];for(u=m;u<=g&&(_.push(u),(u=_i(u+r,p))!==f);)f=u;return _}getMinorTickInterval(){let{minorTicks:r,minorTickInterval:a}=this.options;return r===!0?nt(a,"auto"):r!==!1?a:void 0}getMinorTickPositions(){let r=this.options,a=this.tickPositions,c=this.minorTickInterval,u=this.pointRangePadding||0,f=(this.min||0)-u,p=(this.max||0)+u,m=this.brokenAxis?.hasBreaks?this.brokenAxis.unitLength:p-f,g=[],_;if(m&&m/c<this.len/3){let S=this.logarithmic;if(S)this.paddedTicks.forEach(function(x,w,k){w&&g.push.apply(g,S.getLogTickPositions(c,k[w-1],k[w],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")g=g.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(c),f,p,r.startOfWeek));else for(_=f+(a[0]-f)%c;_<=p&&_!==g[0];_+=c)g.push(_)}return g.length!==0&&this.trimTicks(g),g}adjustForMinRange(){let r=this.options,a=this.logarithmic,c=this.chart.time,{max:u,min:f,minRange:p}=this,m,g,_,S;this.isXAxis&&p===void 0&&!a&&(p=It(r.min)||It(r.max)||It(r.floor)||It(r.ceiling)?null:Math.min(5*(r0(this.series.map(x=>{let w=x.getColumn("x");return x.xIncrement?w.slice(0,2):w}))||0),this.dataMax-this.dataMin)),je(u)&&je(f)&&je(p)&&u-f<p&&(g=this.dataMax-this.dataMin>=p,m=(p-u+f)/2,_=[f-m,c.parse(r.min)??f-m],g&&(_[2]=a?a.log2lin(this.dataMin):this.dataMin),S=[(f=n0(_))+p,c.parse(r.max)??f+p],g&&(S[2]=a?a.log2lin(this.dataMax):this.dataMax),(u=VL(S))-f<p&&(_[0]=u-p,_[1]=c.parse(r.min)??u-p,f=n0(_))),this.minRange=p,this.min=f,this.max=u}getClosest(){let r,a;if(this.categories)a=1;else{let c=[];this.series.forEach(function(u){let f=u.closestPointRange,p=u.getColumn("x");p.length===1?c.push(p[0]):u.sorted&&It(f)&&u.reserveSpace()&&(a=It(a)?Math.min(a,f):f)}),c.length&&(c.sort((u,f)=>u-f),r=r0([c]))}return r&&a?Math.min(r,a):r||a}nameToX(r){let a=s0(this.options.categories),c=a?this.categories:this.names,u=r.options.x,f;return r.series.requireSorting=!1,It(u)||(u=this.uniqueNames&&c?a?c.indexOf(r.name):nt(c.keys[r.name],-1):r.series.autoIncrement()),u===-1?!a&&c&&(f=c.length):je(u)&&(f=u),f!==void 0?(this.names[f]=r.name,this.names.keys[r.name]=f):r.x&&(f=r.x),f}updateNames(){let r=this,a=this.names;a.length>0&&(Object.keys(a.keys).forEach(function(c){delete a.keys[c]}),a.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(c=>{c.xIncrement=null,(!c.points||c.isDirtyData)&&(r.max=Math.max(r.max||0,c.dataTable.rowCount-1),c.processData(),c.generatePoints());let u=c.getColumn("x").slice();c.data.forEach((f,p)=>{let m=u[p];f?.options&&f.name!==void 0&&(m=r.nameToX(f))!==void 0&&m!==f.x&&(u[p]=f.x=m)}),c.dataTable.setColumn("x",u)}))}setAxisTranslation(){let r=this,a=r.max-r.min,c=r.linkedParent,u=!!r.categories,f=r.isXAxis,p=r.axisPointRange||0,m,g=0,_=0,S,x=r.transA;(f||u||p)&&(m=r.getClosest(),c?(g=c.minPointOffset,_=c.pointRangePadding):r.series.forEach(function(w){let k=u?1:f?nt(w.options.pointRange,m,0):r.axisPointRange||0,L=w.options.pointPlacement;if(p=Math.max(p,k),!r.single||u){let B=w.is("xrange")?!f:f;g=Math.max(g,B&&o0(L)?0:k/2),_=Math.max(_,B&&L==="on"?0:k)}}),S=r.ordinal&&r.ordinal.slope&&m?r.ordinal.slope/m:1,r.minPointOffset=g*=S,r.pointRangePadding=_*=S,r.pointRange=Math.min(p,r.single&&u?1:a),f&&m&&(r.closestPointRange=m)),r.translationSlope=r.transA=x=r.staticScale||r.len/(a+_||1),r.transB=r.horiz?r.left:r.bottom,r.minPixelPadding=x*g,Gt(this,"afterSetAxisTranslation")}minFromRange(){let{max:r,min:a}=this;return je(r)&&je(a)&&r-a||void 0}setTickInterval(r){let{categories:a,chart:c,dataMax:u,dataMin:f,dateTime:p,isXAxis:m,logarithmic:g,options:_,softThreshold:S}=this,x=c.time,w=je(this.threshold)?this.threshold:void 0,k=this.minRange||0,{ceiling:L,floor:B,linkedTo:H,softMax:M,softMin:j}=_,V=je(H)&&c[this.coll]?.[H],te=_.tickPixelInterval,ie=_.maxPadding,ne=_.minPadding,Z=0,re,ge=je(_.tickInterval)&&_.tickInterval>=0?_.tickInterval:void 0,ye,_e,Le,Re;if(p||a||V||this.getTickAmount(),Le=nt(this.userMin,x.parse(_.min)),Re=nt(this.userMax,x.parse(_.max)),V?(this.linkedParent=V,re=V.getExtremes(),this.min=nt(re.min,re.dataMin),this.max=nt(re.max,re.dataMax),this.type!==V.type&&fp(11,!0,c)):(S&&It(w)&&je(u)&&je(f)&&(f>=w?(ye=w,ne=0):u<=w&&(_e=w,ie=0)),this.min=nt(Le,ye,f),this.max=nt(Re,_e,u)),je(this.max)&&je(this.min)&&(g&&(this.positiveValuesOnly&&!r&&0>=Math.min(this.min,nt(f,this.min))&&fp(10,!0,c),this.min=_i(g.log2lin(this.min),16),this.max=_i(g.log2lin(this.max),16)),this.range&&je(f)&&(this.userMin=this.min=Le=Math.max(f,this.minFromRange()||0),this.userMax=Re=this.max,this.range=void 0)),Gt(this,"foundExtremes"),this.adjustForMinRange(),je(this.min)&&je(this.max)){if(!je(this.userMin)&&je(j)&&j<this.min&&(this.min=Le=j),!je(this.userMax)&&je(M)&&M>this.max&&(this.max=Re=M),a||this.axisPointRange||this.stacking?.usePercentage||V||!(Z=this.max-this.min)||(!It(Le)&&ne&&(this.min-=Z*ne),It(Re)||!ie||(this.max+=Z*ie)),!je(this.userMin)&&je(B)&&(this.min=Math.max(this.min,B)),!je(this.userMax)&&je(L)&&(this.max=Math.min(this.max,L)),S&&je(f)&&je(u)){let Me=w||0;!It(Le)&&this.min<Me&&f>=Me?this.min=_.minRange?Math.min(Me,this.max-k):Me:!It(Re)&&this.max>Me&&u<=Me&&(this.max=_.minRange?Math.max(Me,this.min+k):Me)}!c.polar&&this.min>this.max&&(It(_.min)?this.max=this.min:It(_.max)&&(this.min=this.max)),Z=this.max-this.min}if(this.min!==this.max&&je(this.min)&&je(this.max)?V&&!ge&&te===V.options.tickPixelInterval?this.tickInterval=ge=V.tickInterval:this.tickInterval=nt(ge,this.tickAmount?Z/Math.max(this.tickAmount-1,1):void 0,a?1:Z*te/Math.max(this.len,te)):this.tickInterval=1,m&&!r){let Me=this.min!==this.old?.min||this.max!==this.old?.max;this.series.forEach(function($e){$e.forceCrop=$e.forceCropping?.(),$e.processData(Me)}),Gt(this,"postProcessData",{hasExtremesChanged:Me})}this.setAxisTranslation(),Gt(this,"initialAxisTranslation"),this.pointRange&&!ge&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Be=nt(_.minTickInterval,p&&!this.series.some(Me=>!Me.sorted)?this.closestPointRange:0);!ge&&this.tickInterval<Be&&(this.tickInterval=Be),p||g||ge||(this.tickInterval=a0(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){let r=this.options,a=r.tickPositions,c=r.tickPositioner,u=this.getMinorTickInterval(),f=!this.isPanning,p=f&&r.startOnTick,m=f&&r.endOnTick,g=[],_;if(this.tickmarkOffset=this.categories&&r.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&It(this.min)&&!this.tickAmount&&(this.min%1==0||r.allowDecimals!==!1),a)g=a.slice();else if(je(this.min)&&je(this.max)){if(!this.ordinal?.positions&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))g=[this.min,this.max],fp(19,!1,this.chart);else if(this.dateTime)g=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,r.units),this.min,this.max,r.startOfWeek,this.ordinal?.positions,this.closestPointRange,!0);else if(this.logarithmic)g=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let S=this.tickInterval,x=S;for(;x<=2*S&&(g=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&g.length>this.tickAmount);)this.tickInterval=a0(this,x*=1.1)}g.length>this.len&&(g=[g[0],g[g.length-1]])[0]===g[1]&&(g.length=1),c&&(this.tickPositions=g,(_=c.apply(this,[this.min,this.max]))&&(g=_))}this.tickPositions=g,this.minorTickInterval=u==="auto"&&this.tickInterval?this.tickInterval/r.minorTicksPerMajor:u,this.paddedTicks=g.slice(0),this.trimTicks(g,p,m),!this.isLinked&&je(this.min)&&je(this.max)&&(this.single&&g.length<2&&!this.categories&&!this.series.some(S=>S.is("heatmap")&&S.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),a||_||this.adjustTickAmount()),Gt(this,"afterSetTickPositions")}trimTicks(r,a,c){let u=r[0],f=r[r.length-1],p=!this.isOrdinal&&this.minPointOffset||0;if(Gt(this,"trimTicks"),!this.isLinked){if(a&&u!==-1/0)this.min=u;else for(;this.min-p>r[0];)r.shift();if(c)this.max=f;else for(;this.max+p<r[r.length-1];)r.pop();r.length===0&&It(u)&&!this.options.tickPositions&&r.push((f+u)/2)}}alignToOthers(){let r,a=this,c=a.chart,u=[this],f=a.options,p=c.options.chart,m=this.coll==="yAxis"&&p.alignThresholds,g=[];if(a.thresholdAlignment=void 0,(p.alignTicks!==!1&&f.alignTicks||m)&&f.startOnTick!==!1&&f.endOnTick!==!1&&!a.logarithmic){let _=x=>{let{horiz:w,options:k}=x;return[w?k.left:k.top,k.width,k.height,k.pane].join(",")},S=_(this);c[this.coll].forEach(function(x){let{series:w}=x;w.length&&w.some(k=>k.visible)&&x!==a&&_(x)===S&&(r=!0,u.push(x))})}if(r&&m){u.forEach(S=>{let x=S.getThresholdAlignment(a);je(x)&&g.push(x)});let _=g.length>1?g.reduce((S,x)=>S+=x,0)/g.length:void 0;u.forEach(S=>{S.thresholdAlignment=_})}return r}getThresholdAlignment(r){if((!je(this.dataMin)||this!==r&&this.series.some(a=>a.isDirty||a.isDirtyData))&&this.getSeriesExtremes(),je(this.threshold)){let a=hp((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(a=1-a),a}}getTickAmount(){let r=this.options,a=r.tickPixelInterval,c=r.tickAmount;It(r.tickInterval)||c||!(this.len<a)||this.isRadial||this.logarithmic||!r.startOnTick||!r.endOnTick||(c=2),!c&&this.alignToOthers()&&(c=Math.ceil(this.len/a)+1),c<4&&(this.finalTickAmt=c,c=5),this.tickAmount=c}adjustTickAmount(){let r=this,{finalTickAmt:a,max:c,min:u,options:f,tickPositions:p,tickAmount:m,thresholdAlignment:g}=r,_=p?.length,S=nt(r.threshold,r.softThreshold?0:null),x,w,k=r.tickInterval,L,B=()=>p.push(_i(p[p.length-1]+k)),H=()=>p.unshift(_i(p[0]-k));if(je(g)&&(L=g<.5?Math.ceil(g*(m-1)):Math.floor(g*(m-1)),f.reversed&&(L=m-1-L)),r.hasData()&&je(u)&&je(c)){let M=()=>{r.transA*=(_-1)/(m-1),r.min=f.startOnTick?p[0]:Math.min(u,p[0]),r.max=f.endOnTick?p[p.length-1]:Math.max(c,p[p.length-1])};if(je(L)&&je(r.threshold)){for(;p[L]!==S||p.length!==m||p[0]>u||p[p.length-1]<c;){for(p.length=0,p.push(r.threshold);p.length<m;)p[L]===void 0||p[L]>r.threshold?H():B();if(k>8*r.tickInterval)break;k*=2}M()}else if(_<m){for(;p.length<m;)p.length%2||u===S?B():H();M()}if(It(a)){for(w=x=p.length;w--;)(a===3&&w%2==1||a<=2&&w>0&&w<x-1)&&p.splice(w,1);r.finalTickAmt=void 0}}}setScale(){let{coll:r,stacking:a}=this,c=!1,u=!1;this.series.forEach(p=>{c=c||p.isDirtyData||p.isDirty,u=u||p.xAxis&&p.xAxis.isDirty||!1}),this.setAxisSize();let f=this.len!==(this.old&&this.old.len);f||c||u||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(a&&r==="yAxis"&&a.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),a&&r==="xAxis"&&a.buildStacks(),this.isDirty||(this.isDirty=f||this.min!==this.old?.min||this.max!==this.old?.max)):a&&a.cleanStacks(),c&&delete this.allExtremes,Gt(this,"afterSetScale")}setExtremes(r,a,c=!0,u,f){let p=this.chart;this.series.forEach(m=>{delete m.kdTree}),r=p.time.parse(r),a=p.time.parse(a),Gt(this,"setExtremes",f=gu(f,{min:r,max:a}),m=>{this.userMin=m.min,this.userMax=m.max,this.eventArgs=m,c&&p.redraw(u)})}setAxisSize(){let r=this.chart,a=this.options,c=a.offsets||[0,0,0,0],u=this.horiz,f=this.width=Math.round(bu(nt(a.width,r.plotWidth-c[3]+c[1]),r.plotWidth)),p=this.height=Math.round(bu(nt(a.height,r.plotHeight-c[0]+c[2]),r.plotHeight)),m=this.top=Math.round(bu(nt(a.top,r.plotTop+c[0]),r.plotHeight,r.plotTop)),g=this.left=Math.round(bu(nt(a.left,r.plotLeft+c[3]),r.plotWidth,r.plotLeft));this.bottom=r.chartHeight-p-m,this.right=r.chartWidth-f-g,this.len=Math.max(u?f:p,0),this.pos=u?g:m}getExtremes(){let r=this.logarithmic;return{min:r?_i(r.lin2log(this.min)):this.min,max:r?_i(r.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(r){let a=this.logarithmic,c=a?a.lin2log(this.min):this.min,u=a?a.lin2log(this.max):this.max;return r===null||r===-1/0?r=c:r===1/0?r=u:c>r?r=c:u<r&&(r=u),this.translate(r,0,1,0,1)}autoLabelAlign(r){let a=(nt(r,0)-90*this.side+720)%360,c={align:"center"};return Gt(this,"autoLabelAlign",c,function(u){a>15&&a<165?u.align="right":a>195&&a<345&&(u.align="left")}),c.align}tickSize(r){let a=this.options,c=nt(a[r==="tick"?"tickWidth":"minorTickWidth"],r==="tick"&&this.isXAxis&&!this.categories?1:0),u=a[r==="tick"?"tickLength":"minorTickLength"],f;c&&u&&(a[r+"Position"]==="inside"&&(u=-u),f=[u,c]);let p={tickSize:f};return Gt(this,"afterTickSize",p),p.tickSize}labelMetrics(){let r=this.chart.renderer,a=this.ticks,c=a[Object.keys(a)[0]]||{};return this.chart.renderer.fontMetrics(c.label||c.movedLabel||r.box)}unsquish(){let r=this.options.labels,a=r.padding||0,c=this.horiz,u=this.tickInterval,f=this.len/(((this.categories?1:0)+this.max-this.min)/u),p=r.rotation,m=_i(.8*this.labelMetrics().h),g=Math.max(this.max-this.min,0),_=function(L){let B=(L+2*a)/(f||1);return(B=B>1?Math.ceil(B):1)*u>g&&L!==1/0&&f!==1/0&&g&&(B=Math.ceil(g/u)),_i(B*u)},S=u,x,w=Number.MAX_VALUE,k;if(c){if(!r.staggerLines&&(je(p)?k=[p]:f<r.autoRotationLimit&&(k=r.autoRotation)),k){let L,B;for(let H of k)(H===p||H&&H>=-90&&H<=90)&&(B=(L=_(Math.abs(m/Math.sin(jL*H))))+Math.abs(H/360))<w&&(w=B,x=H,S=L)}}else S=_(.75*m);return this.autoRotation=k,this.labelRotation=nt(x,je(p)?p:0),r.step?u:S}getSlotWidth(r){let a=this.chart,c=this.horiz,u=this.options.labels,f=Math.max(this.tickPositions.length-(this.categories?0:1),1),p=a.margin[3];if(r&&je(r.slotWidth))return r.slotWidth;if(c&&u.step<2&&!this.isRadial)return u.rotation?0:(this.staggerLines||1)*this.len/f;if(!c){let m=u.style.width;if(m!==void 0)return parseInt(String(m),10);if(p)return p-a.spacing[3]}return .33*a.chartWidth}renderUnsquish(){let r=this.chart,a=r.renderer,c=this.tickPositions,u=this.ticks,f=this.options.labels,p=f.style,m=this.horiz,g=this.getSlotWidth(),_=Math.max(1,Math.round(g-(m?2*(f.padding||0):f.distance||0))),S={},x=this.labelMetrics(),w=p.lineClamp,k,L=w??(Math.floor(this.len/(c.length*x.h))||1),B=0;o0(f.rotation)||(S.rotation=f.rotation||0),c.forEach(function(H){let M=u[H];M.movedLabel&&M.replaceMovedLabel();let j=M.label?.textPxLength||0;j>B&&(B=j)}),this.maxLabelLength=B,this.autoRotation?B>_&&B>x.h?S.rotation=this.labelRotation:this.labelRotation=0:g&&(k=_),S.rotation&&(k=B>.5*r.chartHeight?.33*r.chartHeight:B,w||(L=1)),this.labelAlign=f.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(S.align=this.labelAlign),c.forEach(function(H){let M=u[H],j=M&&M.label,V=p.width,te={};j&&(j.attr(S),M.shortenLabel?M.shortenLabel():k&&!V&&p.whiteSpace!=="nowrap"&&(k<(j.textPxLength||0)||j.element.tagName==="SPAN")?j.css(gu(te,{width:`${k}px`,lineClamp:L})):!j.styles.width||te.width||V||j.css({width:"auto"}),M.rotation=S.rotation)},this),this.tickRotCorr=a.rotCorr(x.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(r){return r.hasData()})||this.options.showEmpty&&It(this.min)&&It(this.max)}addTitle(r){let a,c=this.chart.renderer,u=this.horiz,f=this.opposite,p=this.options.title,m=this.chart.styledMode;this.axisTitle||((a=p.textAlign)||(a=(u?{low:"left",middle:"center",high:"right"}:{low:f?"right":"left",middle:"center",high:f?"left":"right"})[p.align]),this.axisTitle=c.text(p.text||"",0,0,p.useHTML).attr({zIndex:7,rotation:p.rotation||0,align:a}).addClass("highcharts-axis-title"),m||this.axisTitle.css(yu(p.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),m||p.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[r?"show":"hide"](r)}generateTick(r){let a=this.ticks;a[r]?a[r].addLabel():a[r]=new zo(this,r)}createGroups(){let{axisParent:r,chart:a,coll:c,options:u}=this,f=a.renderer,p=(m,g,_)=>f.g(m).attr({zIndex:_}).addClass(`highcharts-${c.toLowerCase()}${g} `+(this.isRadial?`highcharts-radial-axis${g} `:"")+(u.className||"")).add(r);this.axisGroup||(this.gridGroup=p("grid","-grid",u.gridZIndex),this.axisGroup=p("axis","",u.zIndex),this.labelGroup=p("axis-labels","-labels",u.labels.zIndex))}getOffset(){let r=this,{chart:a,horiz:c,options:u,side:f,ticks:p,tickPositions:m,coll:g}=r,_=a.inverted&&!r.isZAxis?[1,0,3,2][f]:f,S=r.hasData(),x=u.title,w=u.labels,k=je(u.crossing),L=a.axisOffset,B=a.clipOffset,H=[-1,1,1,-1][f],M,j=0,V,te=0,ie=0,ne,Z;if(r.showAxis=M=S||u.showEmpty,r.staggerLines=r.horiz&&w.staggerLines||void 0,r.createGroups(),S||r.isLinked?(m.forEach(function(re){r.generateTick(re)}),r.renderUnsquish(),r.reserveSpaceDefault=f===0||f===2||{1:"left",3:"right"}[f]===r.labelAlign,nt(w.reserveSpace,!k&&null,r.labelAlign==="center"||null,r.reserveSpaceDefault)&&m.forEach(function(re){ie=Math.max(p[re].getLabelSize(),ie)}),r.staggerLines&&(ie*=r.staggerLines),r.labelOffset=ie*(r.opposite?-1:1)):vu(p,function(re,ge){re.destroy(),delete p[ge]}),x?.text&&x.enabled!==!1&&(r.addTitle(M),M&&!k&&x.reserveSpace!==!1&&(r.titleOffset=j=r.axisTitle.getBBox()[c?"height":"width"],te=It(V=x.offset)?0:nt(x.margin,c?5:10))),r.renderLine(),r.offset=H*nt(u.offset,L[f]?L[f]+(u.margin||0):0),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},Z=f===0?-r.labelMetrics().h:f===2?r.tickRotCorr.y:0,ne=Math.abs(ie)+te,ie&&(ne-=Z,ne+=H*(c?nt(w.y,r.tickRotCorr.y+H*w.distance):nt(w.x,H*w.distance))),r.axisTitleMargin=nt(V,ne),r.getMaxLabelDimensions&&(r.maxLabelDimensions=r.getMaxLabelDimensions(p,m)),g!=="colorAxis"&&B){let re=this.tickSize("tick");L[f]=Math.max(L[f],(r.axisTitleMargin||0)+j+H*r.offset,ne,m&&m.length&&re?re[0]+H*r.offset:0);let ge=!r.axisLine||u.offset?0:r.axisLine.strokeWidth()/2;B[_]=Math.max(B[_],ge)}Gt(this,"afterGetOffset")}getLinePath(r){let a=this.chart,c=this.opposite,u=this.offset,f=this.horiz,p=this.left+(c?this.width:0)+u,m=a.chartHeight-this.bottom-(c?this.height:0)+u;return c&&(r*=-1),a.renderer.crispLine([["M",f?this.left:p,f?m:this.top],["L",f?a.chartWidth-this.right:p,f?m:a.chartHeight-this.bottom]],r)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(r){let a=this.horiz,c=this.left,u=this.top,f=this.len,p=this.options.title,m=a?c:u,g=this.opposite,_=this.offset,S=p.x,x=p.y,w=this.chart.renderer.fontMetrics(r),k=r?Math.max(r.getBBox(!1,0).height-w.h-1,0):0,L={low:m+(a?0:f),middle:m+f/2,high:m+(a?f:0)}[p.align],B=(a?u+this.height:c)+(a?1:-1)*(g?-1:1)*(this.axisTitleMargin||0)+[-k,k,w.f,-k][this.side],H={x:a?L+S:B+(g?this.width:0)+_+S,y:a?B+x-(g?this.height:0)+_:L+x};return Gt(this,"afterGetTitlePosition",{titlePosition:H}),H}renderMinorTick(r,a){let c=this.minorTicks;c[r]||(c[r]=new zo(this,r,"minor")),a&&c[r].isNew&&c[r].render(null,!0),c[r].render(null,!1,1)}renderTick(r,a,c){let u=this.isLinked,f=this.ticks;(!u||r>=this.min&&r<=this.max||this.grid&&this.grid.isColumn)&&(f[r]||(f[r]=new zo(this,r)),c&&f[r].isNew&&f[r].render(a,!0,-1),f[r].render(a))}render(){let r,a,c=this,u=c.chart,f=c.logarithmic,p=u.renderer,m=c.options,g=c.isLinked,_=c.tickPositions,S=c.axisTitle,x=c.ticks,w=c.minorTicks,k=c.alternateBands,L=m.stackLabels,B=m.alternateGridColor,H=m.crossing,M=c.tickmarkOffset,j=c.axisLine,V=c.showAxis,te=HL(p.globalAnimation);if(c.labelEdge.length=0,c.overlap=!1,[x,w,k].forEach(function(ie){vu(ie,function(ne){ne.isActive=!1})}),je(H)){let ie=this.isXAxis?u.yAxis[0]:u.xAxis[0],ne=[1,-1,-1,1][this.side];if(ie){let Z=ie.toPixels(H,!0);c.horiz&&(Z=ie.len-Z),c.offset=ne*Z}}if(c.hasData()||g){let ie=c.chart.hasRendered&&c.old&&je(c.old.min);c.minorTickInterval&&!c.categories&&c.getMinorTickPositions().forEach(function(ne){c.renderMinorTick(ne,ie)}),_.length&&(_.forEach(function(ne,Z){c.renderTick(ne,Z,ie)}),M&&(c.min===0||c.single)&&(x[-1]||(x[-1]=new zo(c,-1,null,!0)),x[-1].render(-1))),B&&_.forEach(function(ne,Z){a=_[Z+1]!==void 0?_[Z+1]+M:c.max-M,Z%2==0&&ne<c.max&&a<=c.max+(u.polar?-M:M)&&(k[ne]||(k[ne]=new N.PlotLineOrBand(c,{})),r=ne+M,k[ne].options={from:f?f.lin2log(r):r,to:f?f.lin2log(a):a,color:B,className:"highcharts-alternate-grid"},k[ne].render(),k[ne].isActive=!0)}),c._addedPlotLB||(c._addedPlotLB=!0,(m.plotLines||[]).concat(m.plotBands||[]).forEach(function(ne){c.addPlotBandOrLine(ne)}))}[x,w,k].forEach(function(ie){let ne=[],Z=te.duration;vu(ie,function(re,ge){re.isActive||(re.render(ge,!1,0),re.isActive=!1,ne.push(ge))}),YL(function(){let re=ne.length;for(;re--;)ie[ne[re]]&&!ie[ne[re]].isActive&&(ie[ne[re]].destroy(),delete ie[ne[re]])},ie!==k&&u.hasRendered&&Z?Z:0)}),j&&(j[j.isPlaced?"animate":"attr"]({d:this.getLinePath(j.strokeWidth())}),j.isPlaced=!0,j[V?"show":"hide"](V)),S&&V&&(S[S.isNew?"attr":"animate"](c.getTitlePosition(S)),S.isNew=!1),L&&L.enabled&&c.stacking&&c.stacking.renderStackTotals(),c.old={len:c.len,max:c.max,min:c.min,transA:c.transA,userMax:c.userMax,userMin:c.userMin},c.isDirty=!1,Gt(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(r){r.render()})),this.series.forEach(function(r){r.isDirty=!0})}getKeepProps(){return this.keepProps||Xo.keepProps}destroy(r){let a=this,c=a.plotLinesAndBands,u=this.eventOptions;if(Gt(this,"destroy",{keepEvents:r}),r||GL(a),[a.ticks,a.minorTicks,a.alternateBands].forEach(function(f){WL(f)}),c){let f=c.length;for(;f--;)c[f].destroy()}for(let f in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(p){a[p]&&(a[p]=a[p].destroy())}),a.plotLinesAndBandsGroups)a.plotLinesAndBandsGroups[f]=a.plotLinesAndBandsGroups[f].destroy();vu(a,function(f,p){a.getKeepProps().indexOf(p)===-1&&delete a[p]}),this.eventOptions=u}drawCrosshair(r,a){let c=this.crosshair,u=nt(c&&c.snap,!0),f=this.chart,p,m,g,_=this.cross,S;if(Gt(this,"drawCrosshair",{e:r,point:a}),r||(r=this.cross&&this.cross.e),c&&(It(a)||!u)!==!1){if(u?It(a)&&(m=nt(this.coll!=="colorAxis"?a.crosshairPos:null,this.isXAxis?a.plotX:this.len-a.plotY)):m=r&&(this.horiz?r.chartX-this.pos:this.len-r.chartY+this.pos),It(m)&&(S={value:a&&(this.isXAxis?a.x:nt(a.stackY,a.y)),translatedValue:m},f.polar&&gu(S,{isCrosshair:!0,chartX:r&&r.chartX,chartY:r&&r.chartY,point:a}),p=this.getPlotLinePath(S)||null),!It(p)){this.hideCrosshair();return}g=this.categories&&!this.isRadial,_||(this.cross=_=f.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(g?"category ":"thin ")+(c.className||"")).attr({zIndex:nt(c.zIndex,2)}).add(),!f.styledMode&&(_.attr({stroke:c.color||(g?Mt.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":nt(c.width,1)}).css({"pointer-events":"none"}),c.dashStyle&&_.attr({dashstyle:c.dashStyle}))),_.show().attr({d:p}),g&&!c.width&&_.attr({"stroke-width":this.transA}),this.cross.e=r}else this.hideCrosshair();Gt(this,"afterDrawCrosshair",{e:r,point:a})}hideCrosshair(){this.cross&&this.cross.hide(),Gt(this,"afterHideCrosshair")}update(r,a){let c=this.chart;r=yu(this.userOptions,r),this.destroy(!0),this.init(c,r),c.isDirtyBox=!0,nt(a,!0)&&c.redraw()}remove(r){let a=this.chart,c=this.coll,u=this.series,f=u.length;for(;f--;)u[f]&&u[f].remove(!1);i0(a.axes,this),i0(a[c]||[],this),a.orderItems(c),this.destroy(),a.isDirtyBox=!0,nt(r,!0)&&a.redraw()}setTitle(r,a){this.update({title:r},a)}setCategories(r,a){this.update({categories:r},a)}}Xo.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"];let{addEvent:KL,getMagnitude:JL,normalizeTickInterval:ZL,timeUnits:_u}=we;(function(b){function r(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new c(this))}b.compose=function(u){return u.keepProps.includes("dateTime")||(u.keepProps.push("dateTime"),u.prototype.getTimeTicks=r,KL(u,"afterSetType",a)),u};class c{constructor(f){this.axis=f}normalizeTimeTickInterval(f,p){let m=p||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],g=m[m.length-1],_=_u[g[0]],S=g[1],x;for(x=0;x<m.length&&(_=_u[(g=m[x])[0]],S=g[1],!m[x+1]||!(f<=(_*S[S.length-1]+_u[m[x+1][0]])/2));x++);_===_u.year&&f<5*_&&(S=[1,2,5]);let w=ZL(f/_,S,g[0]==="year"?Math.max(JL(f/_),1):1);return{unitRange:_,count:w,unitName:g[0]}}getXDateFormat(f,p){let{axis:m}=this,g=m.chart.time;return m.closestPointRange?g.getDateFormat(m.closestPointRange,f,m.options.startOfWeek,p)||g.resolveDTLFormat(p.year).main:g.resolveDTLFormat(p.day).main}}b.Additions=c})(v||(v={}));let QL=v,{addEvent:l0,normalizeTickInterval:eR,pick:tR}=we;(function(b){function r(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new c(this))}function a(){let u=this.logarithmic;u&&(this.lin2val=function(f){return u.lin2log(f)},this.val2lin=function(f){return u.log2lin(f)})}b.compose=function(u){return u.keepProps.includes("logarithmic")||(u.keepProps.push("logarithmic"),l0(u,"afterSetType",r),l0(u,"afterInit",a)),u};class c{constructor(f){this.axis=f}getLogTickPositions(f,p,m,g){let _=this.axis,S=_.len,x=_.options,w=[];if(g||(this.minorAutoInterval=void 0),f>=.5)f=Math.round(f),w=_.getLinearTickPositions(f,p,m);else if(f>=.08){let k,L,B,H,M,j,V,te=Math.floor(p);for(k=f>.3?[1,2,4]:f>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],L=te;L<m+1&&!V;L++)for(B=0,H=k.length;B<H&&!V;B++)(M=this.log2lin(this.lin2log(L)*k[B]))>p&&(!g||j<=m)&&j!==void 0&&w.push(j),j>m&&(V=!0),j=M}else{let k=this.lin2log(p),L=this.lin2log(m),B=g?_.getMinorTickInterval():x.tickInterval,H=x.tickPixelInterval/(g?5:1),M=g?S/_.tickPositions.length:S;f=eR(f=tR(B==="auto"?null:B,this.minorAutoInterval,(L-k)*H/(M||1))),w=_.getLinearTickPositions(f,k,L).map(this.log2lin),g||(this.minorAutoInterval=f/5)}return g||(_.tickInterval=f),w}lin2log(f){return Math.pow(10,f)}log2lin(f){return Math.log(f)/Math.LN10}}b.Additions=c})(y||(y={}));let nR=y,{erase:iR,extend:rR,isNumber:c0}=we;(function(b){let r;function a(_){return this.addPlotBandOrLine(_,"plotBands")}function c(_,S){let x=this.userOptions,w=new r(this,_);if(this.visible&&(w=w.render()),w){if(this._addedPlotLB||(this._addedPlotLB=!0,(x.plotLines||[]).concat(x.plotBands||[]).forEach(k=>{this.addPlotBandOrLine(k)})),S){let k=x[S]||[];k.push(_),x[S]=k}this.plotLinesAndBands.push(w)}return w}function u(_){return this.addPlotBandOrLine(_,"plotLines")}function f(_,S,x){x=x||this.options;let w=this.getPlotLinePath({value:S,force:!0,acrossPanes:x.acrossPanes}),k=[],L=this.horiz,B=!c0(this.min)||!c0(this.max)||_<this.min&&S<this.min||_>this.max&&S>this.max,H=this.getPlotLinePath({value:_,force:!0,acrossPanes:x.acrossPanes}),M,j=1,V;if(H&&w)for(B&&(V=H.toString()===w.toString(),j=0),M=0;M<H.length;M+=2){let te=H[M],ie=H[M+1],ne=w[M],Z=w[M+1];(te[0]==="M"||te[0]==="L")&&(ie[0]==="M"||ie[0]==="L")&&(ne[0]==="M"||ne[0]==="L")&&(Z[0]==="M"||Z[0]==="L")&&(L&&ne[1]===te[1]?(ne[1]+=j,Z[1]+=j):L||ne[2]!==te[2]||(ne[2]+=j,Z[2]+=j),k.push(["M",te[1],te[2]],["L",ie[1],ie[2]],["L",Z[1],Z[2]],["L",ne[1],ne[2]],["Z"])),k.isFlat=V}return k}function p(_){this.removePlotBandOrLine(_)}function m(_){let S=this.plotLinesAndBands,x=this.options,w=this.userOptions;if(S){let k=S.length;for(;k--;)S[k].id===_&&S[k].destroy();[x.plotLines||[],w.plotLines||[],x.plotBands||[],w.plotBands||[]].forEach(function(L){for(k=L.length;k--;)(L[k]||{}).id===_&&iR(L,L[k])})}}function g(_){this.removePlotBandOrLine(_)}b.compose=function(_,S){let x=S.prototype;return x.addPlotBand||(r=_,rR(x,{addPlotBand:a,addPlotLine:u,addPlotBandOrLine:c,getPlotBandPath:f,removePlotBand:p,removePlotLine:g,removePlotBandOrLine:m})),S}})(E||(E={}));let sR=E,{addEvent:oR,arrayMax:u0,arrayMin:h0,defined:hr,destroyObjectProperties:aR,erase:lR,fireEvent:cR,merge:f0,objectEach:uR,pick:hR}=we;class Eu{static compose(r,a){return oR(r,"afterInit",function(){this.labelCollectors.push(()=>{let c=[];for(let u of this.axes)for(let{label:f,options:p}of u.plotLinesAndBands)f&&!p?.label?.allowOverlap&&c.push(f);return c})}),sR.compose(Eu,a)}constructor(r,a){this.axis=r,this.options=a,this.id=a.id}render(){cR(this,"render");let{axis:r,options:a}=this,{horiz:c,logarithmic:u}=r,{color:f,events:p,zIndex:m=0}=a,{renderer:g,time:_}=r.chart,S={},x=_.parse(a.to),w=_.parse(a.from),k=_.parse(a.value),L=a.borderWidth,B=a.label,{label:H,svgElem:M}=this,j=[],V,te=hr(w)&&hr(x),ie=hr(k),ne=!M,Z={class:"highcharts-plot-"+(te?"band ":"line ")+(a.className||"")},re=te?"bands":"lines";if(!r.chart.styledMode&&(ie?(Z.stroke=f||"#999999",Z["stroke-width"]=hR(a.width,1),a.dashStyle&&(Z.dashstyle=a.dashStyle)):te&&(Z.fill=f||"#e6e9ff",L&&(Z.stroke=a.borderColor,Z["stroke-width"]=L))),S.zIndex=m,re+="-"+m,(V=r.plotLinesAndBandsGroups[re])||(r.plotLinesAndBandsGroups[re]=V=g.g("plot-"+re).attr(S).add()),M||(this.svgElem=M=g.path().attr(Z).add(V)),hr(k))j=r.getPlotLinePath({value:u?.log2lin(k)??k,lineWidth:M.strokeWidth(),acrossPanes:a.acrossPanes});else{if(!(hr(w)&&hr(x)))return;j=r.getPlotBandPath(u?.log2lin(w)??w,u?.log2lin(x)??x,a)}return!this.eventsAdded&&p&&(uR(p,(ge,ye)=>{M?.on(ye,_e=>{p[ye].apply(this,[_e])})}),this.eventsAdded=!0),(ne||!M.d)&&j?.length?M.attr({d:j}):M&&(j?(M.show(),M.animate({d:j})):M.d&&(M.hide(),H&&(this.label=H=H.destroy()))),B&&(hr(B.text)||hr(B.formatter))&&j?.length&&r.width>0&&r.height>0&&!j.isFlat?(B=f0({align:c&&te?"center":void 0,x:c?!te&&4:10,verticalAlign:!c&&te?"middle":void 0,y:c?te?16:10:te?6:-4,rotation:c&&!te?90:0,...te?{inside:!0}:{}},B),this.renderLabel(B,j,te,m)):H&&H.hide(),this}renderLabel(r,a,c,u){let f=this.axis,p=f.chart.renderer,m=r.inside,g=this.label;g||(this.label=g=p.text(this.getLabelText(r),0,0,r.useHTML).attr({align:r.textAlign||r.align,rotation:r.rotation,class:"highcharts-plot-"+(c?"band":"line")+"-label "+(r.className||""),zIndex:u}),f.chart.styledMode||g.css(f0({fontSize:"0.8em",textOverflow:c&&!m?"":"ellipsis"},r.style)),g.add());let _=a.xBounds||[a[0][1],a[1][1],c?a[2][1]:a[0][1]],S=a.yBounds||[a[0][2],a[1][2],c?a[2][2]:a[0][2]],x=h0(_),w=h0(S),k=u0(_)-x;g.align(r,!1,{x,y:w,width:k,height:u0(S)-w}),(!g.alignValue||g.alignValue==="left"||hr(m))&&g.css({width:(r.style?.width||(c&&m?k:g.rotation===90?f.height-(g.alignAttr.y-f.top):(r.clip?f.width:f.chart.chartWidth)-(g.alignAttr.x-f.left)))+"px"}),g.show(!0)}getLabelText(r){return hr(r.formatter)?r.formatter.call(this):r.text}destroy(){lR(this.axis.plotLinesAndBands,this),delete this.axis,aR(this)}}let{animObject:fR}=Ln,{format:d0}=$i,{composed:dR,dateFormats:pR,doc:p0,isSafari:mR}=N,{distribute:gR}=ru,{addEvent:yR,clamp:Go,css:m0,discardElement:vR,extend:bR,fireEvent:g0,isArray:_R,isNumber:ER,isObject:xR,isString:dp,merge:SR,pick:qo,pushUnique:wR,splat:pp,syncTimeout:TR}=we;class mp{constructor(r,a,c){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=r,this.init(r,a),this.pointer=c}bodyFormatter(r){return r.map(a=>{let c=a.series.tooltipOptions,u=a.formatPrefix||"point";return(c[u+"Formatter"]||a.tooltipFormatter).call(a,c[u+"Format"]||"")})}cleanSplit(r){this.chart.series.forEach(function(a){let c=a&&a.tt;c&&(!c.isActive||r?a.tt=c.destroy():c.isActive=!1)})}defaultFormatter(r){let a,c=this.points||pp(this);return(a=(a=[r.headerFooterFormatter(c[0])]).concat(r.bodyFormatter(c))).push(r.headerFooterFormatter(c[0],!0)),a}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),vR(this.container)),we.clearTimeout(this.hideTimer)}getAnchor(r,a){let c,{chart:u,pointer:f}=this,p=u.inverted,m=u.plotTop,g=u.plotLeft;if((r=pp(r))[0].series&&r[0].series.yAxis&&!r[0].series.yAxis.options.reversedStacks&&(r=r.slice().reverse()),this.followPointer&&a)a.chartX===void 0&&(a=f.normalize(a)),c=[a.chartX-g,a.chartY-m];else if(r[0].tooltipPos)c=r[0].tooltipPos;else{let _=0,S=0;r.forEach(function(x){let w=x.pos(!0);w&&(_+=w[0],S+=w[1])}),_/=r.length,S/=r.length,this.shared&&r.length>1&&a&&(p?_=a.chartX:S=a.chartY),c=[_-g,S-m]}return c.map(Math.round)}getClassName(r,a,c){let u=this.options,f=r.series,p=f.options;return[u.className,"highcharts-label",c&&"highcharts-tooltip-header",a?"highcharts-tooltip-box":"highcharts-tooltip",!c&&"highcharts-color-"+qo(r.colorIndex,f.colorIndex),p&&p.className].filter(dp).join(" ")}getLabel({anchorX:r,anchorY:a}={anchorX:0,anchorY:0}){let c=this,u=this.chart.styledMode,f=this.options,p=this.split&&this.allowShared,m=this.container,g=this.chart.renderer;if(this.label){let _=!this.label.hasClass("highcharts-label");(!p&&_||p&&!_)&&this.destroy()}if(!this.label){if(this.outside){let _=this.chart,S=_.options.chart.style,x=rl.getRendererType();this.container=m=N.doc.createElement("div"),m.className="highcharts-tooltip-container "+(_.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),m0(m,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(S&&S.zIndex||0)+3)}),this.renderer=g=new x(m,0,0,S,void 0,void 0,g.styledMode)}if(p?this.label=g.g("tooltip"):(this.label=g.label("",r,a,f.shape,void 0,void 0,f.useHTML,void 0,"tooltip").attr({padding:f.padding,r:f.borderRadius}),u||this.label.attr({fill:f.backgroundColor,"stroke-width":f.borderWidth||0}).css(f.style).css({pointerEvents:f.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),c.outside){let _=this.label;[_.xSetter,_.ySetter].forEach((S,x)=>{_[x?"ySetter":"xSetter"]=w=>{S.call(_,c.distance),_[x?"y":"x"]=w,m&&(m.style[x?"top":"left"]=`${w}px`)}})}this.label.attr({zIndex:8}).shadow(f.shadow).add()}return m&&!m.parentElement&&N.doc.body.appendChild(m),this.label}getPlayingField(){let{body:r,documentElement:a}=p0,{chart:c,distance:u,outside:f}=this;return{width:f?Math.max(r.scrollWidth,a.scrollWidth,r.offsetWidth,a.offsetWidth,a.clientWidth)-2*u-2:c.chartWidth,height:f?Math.max(r.scrollHeight,a.scrollHeight,r.offsetHeight,a.offsetHeight,a.clientHeight):c.chartHeight}}getPosition(r,a,c){let{distance:u,chart:f,outside:p,pointer:m}=this,{inverted:g,plotLeft:_,plotTop:S,polar:x}=f,{plotX:w=0,plotY:k=0}=c,L={},B=g&&c.h||0,{height:H,width:M}=this.getPlayingField(),j=m.getChartPosition(),V=Me=>Me*j.scaleX,te=Me=>Me*j.scaleY,ie=Me=>{let $e=Me==="x";return[Me,$e?M:H,$e?r:a].concat(p?[$e?V(r):te(a),$e?j.left-u+V(w+_):j.top-u+te(k+S),0,$e?M:H]:[$e?r:a,$e?w+_:k+S,$e?_:S,$e?_+f.plotWidth:S+f.plotHeight])},ne=ie("y"),Z=ie("x"),re,ge=!!c.negative;!x&&f.hoverSeries?.yAxis?.reversed&&(ge=!ge);let ye=!this.followPointer&&qo(c.ttBelow,!x&&!g===ge),_e=function(Me,$e,rt,Ge,qe,st,ze){let nn=p?Me==="y"?te(u):V(u):u,qt=(rt-Ge)/2,ht=Ge<qe-u,Nt=qe+u+Ge<$e,dn=qe-nn-rt+qt,Xt=qe+nn-qt;if(ye&&Nt)L[Me]=Xt;else if(!ye&&ht)L[Me]=dn;else if(ht)L[Me]=Math.min(ze-Ge,dn-B<0?dn:dn-B);else{if(!Nt)return!1;L[Me]=Math.max(st,Xt+B+rt>$e?Xt:Xt+B)}},Le=function(Me,$e,rt,Ge,qe){if(qe<u||qe>$e-u)return!1;qe<rt/2?L[Me]=1:qe>$e-Ge/2?L[Me]=$e-Ge-2:L[Me]=qe-rt/2},Re=function(Me){[ne,Z]=[Z,ne],re=Me},Be=()=>{_e.apply(0,ne)!==!1?Le.apply(0,Z)!==!1||re||(Re(!0),Be()):re?L.x=L.y=0:(Re(!0),Be())};return(g&&!x||this.len>1)&&Re(),Be(),L}hide(r){let a=this;we.clearTimeout(this.hideTimer),r=qo(r,this.options.hideDelay),this.isHidden||(this.hideTimer=TR(function(){let c=a.getLabel();a.getLabel().animate({opacity:0},{duration:r&&150,complete:()=>{c.hide(),a.container&&a.container.remove()}}),a.isHidden=!0},r))}init(r,a){this.chart=r,this.options=a,this.crosshairs=[],this.isHidden=!0,this.split=a.split&&!r.inverted&&!r.polar,this.shared=a.shared||this.split,this.outside=qo(a.outside,!!(r.scrollablePixelsX||r.scrollablePixelsY))}shouldStickOnContact(r){return!!(!this.followPointer&&this.options.stickOnContact&&(!r||this.pointer.inClass(r.target,"highcharts-tooltip")))}move(r,a,c,u){let f=this,p=fR(!f.isHidden&&f.options.animation),m=f.followPointer||(f.len||0)>1,g={x:r,y:a};m||(g.anchorX=c,g.anchorY=u),p.step=()=>f.drawTracker(),f.getLabel().animate(g,p)}refresh(r,a){let{chart:c,options:u,pointer:f,shared:p}=this,m=pp(r),g=m[0],_=u.format,S=u.formatter||this.defaultFormatter,x=c.styledMode,w=this.allowShared;if(!u.enabled||!g.series)return;we.clearTimeout(this.hideTimer),this.allowShared=!(!_R(r)&&r.series&&r.series.noSharedTooltip),w=w&&!this.allowShared,this.followPointer=!this.split&&g.series.tooltipOptions.followPointer;let k=this.getAnchor(r,a),L=k[0],B=k[1];p&&this.allowShared&&(f.applyInactiveState(m),m.forEach(j=>j.setState("hover")),g.points=m),this.len=m.length;let H=dp(_)?d0(_,g,c):S.call(g,this);g.points=void 0;let M=g.series;if(this.distance=qo(M.tooltipOptions.distance,16),H===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(H,m);else{let j=L,V=B;if(a&&f.isDirectTouch&&(j=a.chartX-c.plotLeft,V=a.chartY-c.plotTop),c.polar||M.options.clip===!1||m.some(te=>f.isDirectTouch||te.series.shouldShowTooltip(j,V))){let te=this.getLabel(w&&this.tt||{});(!u.style.width||x)&&te.css({width:(this.outside?this.getPlayingField():c.spacingBox).width+"px"}),te.attr({class:this.getClassName(g),text:H&&H.join?H.join(""):H}),this.outside&&te.attr({x:Go(te.x||0,0,this.getPlayingField().width-(te.width||0)-1)}),x||te.attr({stroke:u.borderColor||g.color||M.color||"#666666"}),this.updatePosition({plotX:L,plotY:B,negative:g.negative,ttBelow:g.ttBelow,h:k[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}g0(this,"refresh")}renderSplit(r,a){let c=this,{chart:u,chart:{chartWidth:f,chartHeight:p,plotHeight:m,plotLeft:g,plotTop:_,scrollablePixelsY:S=0,scrollablePixelsX:x,styledMode:w},distance:k,options:L,options:{positioner:B},pointer:H}=c,{scrollLeft:M=0,scrollTop:j=0}=u.scrollablePlotArea?.scrollingContainer||{},V=c.outside&&typeof x!="number"?p0.documentElement.getBoundingClientRect():{left:M,right:M+f},te=c.getLabel(),ie=this.renderer||u.renderer,ne=!!(u.xAxis[0]&&u.xAxis[0].opposite),{left:Z,top:re}=H.getChartPosition(),ge=_+j,ye=0,_e=m-S;function Le(Ge,qe,st,ze,nn=!0){let qt,ht;return st?(qt=ne?0:_e,ht=Go(Ge-ze/2,V.left,V.right-ze-(c.outside?Z:0))):(qt=qe-ge,ht=Go(ht=nn?Ge-ze-k:Ge+k,nn?ht:V.left,V.right)),{x:ht,y:qt}}dp(r)&&(r=[!1,r]);let Re=r.slice(0,a.length+1).reduce(function(Ge,qe,st){if(qe!==!1&&qe!==""){let ze=a[st-1]||{isHeader:!0,plotX:a[0].plotX,plotY:m,series:{}},nn=ze.isHeader,qt=nn?c:ze.series,ht=qt.tt=(function(pn,ti,fr){let ps=pn,{isHeader:El,series:Xu}=ti;if(!ps){let ta={padding:L.padding,r:L.borderRadius};w||(ta.fill=L.backgroundColor,ta["stroke-width"]=L.borderWidth??1),ps=ie.label("",0,0,L[El?"headerShape":"shape"],void 0,void 0,L.useHTML).addClass(c.getClassName(ti,!0,El)).attr(ta).add(te)}return ps.isActive=!0,ps.attr({text:fr}),w||ps.css(L.style).attr({stroke:L.borderColor||ti.color||Xu.color||"#333333"}),ps})(qt.tt,ze,qe.toString()),Nt=ht.getBBox(),dn=Nt.width+ht.strokeWidth();nn&&(ye=Nt.height,_e+=ye,ne&&(ge-=ye));let{anchorX:Xt,anchorY:In}=(function(pn){let ti,fr,{isHeader:ps,plotX:El=0,plotY:Xu=0,series:ta}=pn;if(ps)ti=Math.max(g+El,g),fr=_+m/2;else{let{xAxis:R_,yAxis:I_}=ta;ti=R_.pos+Go(El,-k,R_.len+k),ta.shouldShowTooltip(0,I_.pos-_+Xu,{ignoreX:!0})&&(fr=I_.pos+Xu)}return{anchorX:ti=Go(ti,V.left-k,V.right+k),anchorY:fr}})(ze);if(typeof In=="number"){let pn=Nt.height+1,ti=B?B.call(c,dn,pn,ze):Le(Xt,In,nn,dn);Ge.push({align:B?0:void 0,anchorX:Xt,anchorY:In,boxWidth:dn,point:ze,rank:qo(ti.rank,nn?1:0),size:pn,target:ti.y,tt:ht,x:ti.x})}else ht.isActive=!1}return Ge},[]);!B&&Re.some(Ge=>{let{outside:qe}=c,st=(qe?Z:0)+Ge.anchorX;return st<V.left&&st+Ge.boxWidth<V.right||st<Z-V.left+Ge.boxWidth&&V.right-st>st})&&(Re=Re.map(Ge=>{let{x:qe,y:st}=Le(Ge.anchorX,Ge.anchorY,Ge.point.isHeader,Ge.boxWidth,!1);return bR(Ge,{target:st,x:qe})})),c.cleanSplit(),gR(Re,_e);let Be={left:Z,right:Z};Re.forEach(function(Ge){let{x:qe,boxWidth:st,isHeader:ze}=Ge;!ze&&(c.outside&&Z+qe<Be.left&&(Be.left=Z+qe),!ze&&c.outside&&Be.left+st>Be.right&&(Be.right=Z+qe))}),Re.forEach(function(Ge){let{x:qe,anchorX:st,anchorY:ze,pos:nn,point:{isHeader:qt}}=Ge,ht={visibility:nn===void 0?"hidden":"inherit",x:qe,y:(nn||0)+ge,anchorX:st,anchorY:ze};if(c.outside&&qe<st){let Nt=Z-Be.left;Nt>0&&(qt||(ht.x=qe+Nt,ht.anchorX=st+Nt),qt&&(ht.x=(Be.right-Be.left)/2,ht.anchorX=st+Nt))}Ge.tt.attr(ht)});let{container:Me,outside:$e,renderer:rt}=c;if($e&&Me&&rt){let{width:Ge,height:qe,x:st,y:ze}=te.getBBox();rt.setSize(Ge+st,qe+ze,!1),Me.style.left=Be.left+"px",Me.style.top=re+"px"}mR&&te.attr({opacity:te.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let r=this.chart,a=this.label,c=this.shared?r.hoverPoints:r.hoverPoint;if(!a||!c)return;let u={x:0,y:0,width:0,height:0},f=this.getAnchor(c),p=a.getBBox();f[0]+=r.plotLeft-(a.translateX||0),f[1]+=r.plotTop-(a.translateY||0),u.x=Math.min(0,f[0]),u.y=Math.min(0,f[1]),u.width=f[0]<0?Math.max(Math.abs(f[0]),p.width-f[0]):Math.max(Math.abs(f[0]),p.width),u.height=f[1]<0?Math.max(Math.abs(f[1]),p.height-Math.abs(f[1])):Math.max(Math.abs(f[1]),p.height),this.tracker?this.tracker.attr(u):(this.tracker=a.renderer.rect(u).addClass("highcharts-tracker").add(a),r.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(r){return r.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(r,a){let c=r.series,u=c.tooltipOptions,f=c.xAxis,p=f&&f.dateTime,m={isFooter:a,point:r},g=u.xDateFormat||"",_=u[a?"footerFormat":"headerFormat"];return g0(this,"headerFormatter",m,function(S){if(p&&!g&&ER(r.key)&&(g=p.getXDateFormat(r.key,u.dateTimeLabelFormats)),p&&g){if(xR(g)){let x=g;pR[0]=w=>c.chart.time.dateFormat(x,w),g="%0"}(r.tooltipDateKeys||["key"]).forEach(x=>{_=_.replace(RegExp("point\\."+x+"([ \\)}])",""),`(point.${x}:${g})$1`)})}c.chart.styledMode&&(_=this.styledModeFormat(_)),S.text=d0(_,r,this.chart)}),m.text||""}update(r){this.destroy(),this.init(this.chart,SR(!0,this.options,r))}updatePosition(r){let{chart:a,container:c,distance:u,options:f,pointer:p,renderer:m}=this,{height:g=0,width:_=0}=this.getLabel(),{left:S,top:x,scaleX:w,scaleY:k}=p.getChartPosition(),L=(f.positioner||this.getPosition).call(this,_,g,r),B=N.doc,H=(r.plotX||0)+a.plotLeft,M=(r.plotY||0)+a.plotTop,j;m&&c&&(f.positioner&&(L.x+=S-u,L.y+=x-u),j=(f.borderWidth||0)+2*u+2,m.setSize(Go(_+j,0,B.documentElement.clientWidth)-1,g+j,!1),(w!==1||k!==1)&&(m0(c,{transform:`scale(${w}, ${k})`}),H*=w,M*=k),H+=S-L.x,M+=x-L.y),this.move(Math.round(L.x),Math.round(L.y||0),H,M)}}(function(b){b.compose=function(r){wR(dR,"Core.Tooltip")&&yR(r,"afterInit",function(){let a=this.chart;a.options.tooltip&&(a.tooltip=new b(a,a.options.tooltip,this))})}})(mp||(mp={}));let y0=mp,{animObject:CR}=Ln,{defaultOptions:AR}=Ne,{format:OR}=$i,{addEvent:kR,crisp:PR,erase:LR,extend:xu,fireEvent:gp,getNestedProperty:RR,isArray:IR,isFunction:NR,isNumber:ss,isObject:Su,merge:v0,pick:os,syncTimeout:MR,removeEvent:b0,uniqueKey:DR}=we;class dl{animateBeforeDestroy(){let r=this,a={x:r.startXPos,opacity:0},c=r.getGraphicalProps();c.singular.forEach(function(u){r[u]=r[u].animate(u==="dataLabel"?{x:r[u].startXPos,y:r[u].startYPos,opacity:0}:a)}),c.plural.forEach(function(u){r[u].forEach(function(f){f.element&&f.animate(xu({x:r.startXPos},f.startYPos?{x:f.startXPos,y:f.startYPos}:{}))})})}applyOptions(r,a){let c=this.series,u=c.options.pointValKey||c.pointValKey;return xu(this,r=dl.prototype.optionsToObject.call(this,r)),this.options=this.options?xu(this.options,r):r,r.group&&delete this.group,r.dataLabels&&delete this.dataLabels,u&&(this.y=dl.prototype.getNestedProperty.call(this,u)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&c.xAxis&&c.xAxis.hasNames&&(this.x=c.xAxis.nameToX(this)),this.x===void 0&&c?this.x=a??c.autoIncrement():ss(r.x)&&c.options.relativeXValue?this.x=c.autoIncrement(r.x):typeof this.x=="string"&&(a??(a=c.chart.time.parse(this.x)),ss(a)&&(this.x=a)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let r=this,a=r.series,c=a.chart,u=a.options.dataSorting,f=c.hoverPoints,p=CR(r.series.chart.renderer.globalAnimation),m=()=>{for(let g in(r.graphic||r.graphics||r.dataLabel||r.dataLabels)&&(b0(r),r.destroyElements()),r)delete r[g]};r.legendItem&&c.legend.destroyItem(r),f&&(r.setState(),LR(f,r),f.length||(c.hoverPoints=null)),r===c.hoverPoint&&r.onMouseOut(),u&&u.enabled?(this.animateBeforeDestroy(),MR(m,p.duration)):m(),c.pointCount--}this.destroyed=!0}destroyElements(r){let a=this,c=a.getGraphicalProps(r);c.singular.forEach(function(u){a[u]=a[u].destroy()}),c.plural.forEach(function(u){a[u].forEach(function(f){f&&f.element&&f.destroy()}),delete a[u]})}firePointEvent(r,a,c){let u=this,f=this.series.options;u.manageEvent(r),r==="click"&&f.allowPointSelect&&(c=function(p){!u.destroyed&&u.select&&u.select(null,p.ctrlKey||p.metaKey||p.shiftKey)}),gp(u,r,a,c)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(r){let a,c,u=this,f=[],p={singular:[],plural:[]};for((r=r||{graphic:1,dataLabel:1}).graphic&&f.push("graphic","connector"),r.dataLabel&&f.push("dataLabel","dataLabelPath","dataLabelUpper"),c=f.length;c--;)u[a=f[c]]&&p.singular.push(a);return["graphic","dataLabel"].forEach(function(m){let g=m+"s";r[m]&&u[g]&&p.plural.push(g)}),p}getNestedProperty(r){return r?r.indexOf("custom.")===0?RR(r,this.options):this[r]:void 0}getZone(){let r=this.series,a=r.zones,c=r.zoneAxis||"y",u,f=0;for(u=a[0];this[c]>=u.value;)u=a[++f];return this.nonZonedColor||(this.nonZonedColor=this.color),u&&u.color&&!this.options.color?this.color=u.color:this.color=this.nonZonedColor,u}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(r,a,c){this.formatPrefix="point",this.visible=!0,this.point=this,this.series=r,this.applyOptions(a,c),this.id??(this.id=DR()),this.resolveColor(),r.chart.pointCount++,gp(this,"afterInit")}isValid(){return(ss(this.x)||this.x instanceof Date)&&ss(this.y)}optionsToObject(r){let a=this.series,c=a.options.keys,u=c||a.pointArrayMap||["y"],f=u.length,p={},m,g=0,_=0;if(ss(r)||r===null)p[u[0]]=r;else if(IR(r))for(!c&&r.length>f&&((m=typeof r[0])=="string"?a.xAxis?.dateTime?p.x=a.chart.time.parse(r[0]):p.name=r[0]:m==="number"&&(p.x=r[0]),g++);_<f;)c&&r[g]===void 0||(u[_].indexOf(".")>0?dl.prototype.setNestedProperty(p,r[g],u[_]):p[u[_]]=r[g]),g++,_++;else typeof r=="object"&&(p=r,r.dataLabels&&(a.hasDataLabels=()=>!0),r.marker&&(a._hasPointMarkers=!0));return p}pos(r,a=this.plotY){if(!this.destroyed){let{plotX:c,series:u}=this,{chart:f,xAxis:p,yAxis:m}=u,g=0,_=0;if(ss(c)&&ss(a))return r&&(g=p?p.pos:f.plotLeft,_=m?m.pos:f.plotTop),f.inverted&&p&&m?[m.len-a+_,p.len-c+g]:[c+g,a+_]}}resolveColor(){let r=this.series,a=r.chart.options.chart,c=r.chart.styledMode,u,f,p=a.colorCount,m;delete this.nonZonedColor,r.options.colorByPoint?(c||(u=(f=r.options.colors||r.chart.options.colors)[r.colorCounter],p=f.length),m=r.colorCounter,r.colorCounter++,r.colorCounter===p&&(r.colorCounter=0)):(c||(u=r.color),m=r.colorIndex),this.colorIndex=os(this.options.colorIndex,m),this.color=os(this.options.color,u)}setNestedProperty(r,a,c){return c.split(".").reduce(function(u,f,p,m){let g=m.length-1===p;return u[f]=g?a:Su(u[f],!0)?u[f]:{},u[f]},r),r}shouldDraw(){return!this.isNull}tooltipFormatter(r){let{chart:a,pointArrayMap:c=["y"],tooltipOptions:u}=this.series,{valueDecimals:f="",valuePrefix:p="",valueSuffix:m=""}=u;return a.styledMode&&(r=a.tooltip?.styledModeFormat(r)||r),c.forEach(g=>{g="{point."+g,(p||m)&&(r=r.replace(RegExp(g+"}","g"),p+g+"}"+m)),r=r.replace(RegExp(g+"}","g"),g+":,."+f+"f}")}),OR(r,this,a)}update(r,a,c,u){let f,p=this,m=p.series,g=p.graphic,_=m.chart,S=m.options;function x(){p.applyOptions(r);let w=g&&p.hasMockGraphic,k=p.y===null?!w:w;g&&k&&(p.graphic=g.destroy(),delete p.hasMockGraphic),Su(r,!0)&&(g&&g.element&&r&&r.marker&&r.marker.symbol!==void 0&&(p.graphic=g.destroy()),r?.dataLabels&&p.dataLabel&&(p.dataLabel=p.dataLabel.destroy())),f=p.index;let L={};for(let B of m.dataColumnKeys())L[B]=p[B];m.dataTable.setRow(L,f),S.data[f]=Su(S.data[f],!0)||Su(r,!0)?p.options:os(r,S.data[f]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(_.isDirtyBox=!0),S.legendType==="point"&&(_.isDirtyLegend=!0),a&&_.redraw(c)}a=os(a,!0),u===!1?x():p.firePointEvent("update",{options:r},x)}remove(r,a){this.series.removePoint(this.series.data.indexOf(this),r,a)}select(r,a){let c=this,u=c.series,f=u.chart;r=os(r,!c.selected),this.selectedStaging=r,c.firePointEvent(r?"select":"unselect",{accumulate:a},function(){c.selected=c.options.selected=r,u.options.data[u.data.indexOf(c)]=c.options,c.setState(r&&"select"),a||f.getSelectedPoints().forEach(function(p){let m=p.series;p.selected&&p!==c&&(p.selected=p.options.selected=!1,m.options.data[m.data.indexOf(p)]=p.options,p.setState(f.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),p.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(r){let{inverted:a,pointer:c}=this.series.chart;c&&(r=r?c.normalize(r):c.getChartCoordinatesFromPoint(this,a),c.runPointActions(r,this))}onMouseOut(){let r=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(r.hoverPoints||[]).forEach(function(a){a.setState()}),r.hoverPoints=r.hoverPoint=null}manageEvent(r){let a=v0(this.series.options.point,this.options),c=a.events?.[r];NR(c)&&(!this.hcEvents?.[r]||this.hcEvents?.[r]?.map(u=>u.fn).indexOf(c)===-1)?(this.importedUserEvent?.(),this.importedUserEvent=kR(this,r,c),this.hcEvents&&(this.hcEvents[r].userEvent=!0)):this.importedUserEvent&&!c&&this.hcEvents?.[r]&&this.hcEvents?.[r].userEvent&&(b0(this,r),delete this.hcEvents[r],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(r,a){let c=this.series,u=this.state,f=c.options.states[r||"normal"]||{},p=AR.plotOptions[c.type].marker&&c.options.marker,m=p&&p.enabled===!1,g=p&&p.states&&p.states[r||"normal"]||{},_=g.enabled===!1,S=this.marker||{},x=c.chart,w=p&&c.markerAttribs,k=c.halo,L,B,H,M=c.stateMarkerGraphic,j;if((r=r||"")===this.state&&!a||this.selected&&r!=="select"||f.enabled===!1||r&&(_||m&&g.enabled===!1)||r&&S.states&&S.states[r]&&S.states[r].enabled===!1)return;if(this.state=r,w&&(L=c.markerAttribs(this,r)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),r&&this.graphic.addClass("highcharts-point-"+r),!x.styledMode){B=c.pointAttribs(this,r),H=os(x.options.chart.animation,f.animation);let ne=B.opacity;c.options.inactiveOtherPoints&&ss(ne)&&(this.dataLabels||[]).forEach(function(Z){Z&&!Z.hasClass("highcharts-data-label-hidden")&&(Z.animate({opacity:ne},H),Z.connector&&Z.connector.animate({opacity:ne},H))}),this.graphic.animate(B,H)}L&&this.graphic.animate(L,os(x.options.chart.animation,g.animation,p.animation)),M&&M.hide()}else r&&g&&(j=S.symbol||c.symbol,M&&M.currentSymbol!==j&&(M=M.destroy()),L&&(M?M[a?"animate":"attr"]({x:L.x,y:L.y}):j&&(c.stateMarkerGraphic=M=x.renderer.symbol(j,L.x,L.y,L.width,L.height,v0(p,g)).add(c.markerGroup),M.currentSymbol=j)),!x.styledMode&&M&&this.state!=="inactive"&&M.attr(c.pointAttribs(this,r))),M&&(M[r&&this.isInside?"show":"hide"](),M.element.point=this,M.addClass(this.getClassName(),!0));let V=f.halo,te=this.graphic||M,ie=te&&te.visibility||"inherit";V&&V.size&&te&&ie!=="hidden"&&!this.isCluster?(k||(c.halo=k=x.renderer.path().add(te.parentGroup)),k.show()[a?"animate":"attr"]({d:this.haloPath(V.size)}),k.attr({class:"highcharts-halo highcharts-color-"+os(this.colorIndex,c.colorIndex)+(this.className?" "+this.className:""),visibility:ie,zIndex:-1}),k.point=this,x.styledMode||k.attr(xu({fill:this.color||c.color,"fill-opacity":V.opacity},Vt.filterUserAttributes(V.attributes||{})))):k?.point?.haloPath&&!k.point.destroyed&&k.animate({d:k.point.haloPath(0)},null,k.hide),gp(this,"afterSetState",{state:r})}haloPath(r){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(PR(a[0],1)-r,a[1]-r,2*r,2*r):[]}}let as=dl,{parse:FR}=Mt,{charts:yp,composed:BR,isTouchDevice:HR}=N,{addEvent:ki,attr:UR,css:vp,extend:bp,find:_0,fireEvent:ls,isNumber:wu,isObject:Tu,objectEach:$R,offset:jR,pick:Wi,pushUnique:VR,splat:E0}=we;class _n{applyInactiveState(r){let a=[],c;(r||[]).forEach(function(u){c=u.series,a.push(c),c.linkedParent&&a.push(c.linkedParent),c.linkedSeries&&(a=a.concat(c.linkedSeries)),c.navigatorSeries&&a.push(c.navigatorSeries)}),this.chart.series.forEach(function(u){a.indexOf(u)===-1?u.setState("inactive",!0):u.options.inactiveOtherPoints&&u.setAllPointsToState("inactive")})}destroy(){let r=this;this.eventsToUnbind.forEach(a=>a()),this.eventsToUnbind=[],!N.chartCount&&(_n.unbindDocumentMouseUp.forEach(a=>a.unbind()),_n.unbindDocumentMouseUp.length=0,_n.unbindDocumentTouchEnd&&(_n.unbindDocumentTouchEnd=_n.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),$R(r,function(a,c){r[c]=void 0})}getSelectionMarkerAttrs(r,a){let c={args:{chartX:r,chartY:a},attrs:{},shapeType:"rect"};return ls(this,"getSelectionMarkerAttrs",c,u=>{let f,{chart:p,zoomHor:m,zoomVert:g}=this,{mouseDownX:_=0,mouseDownY:S=0}=p,x=u.attrs;x.x=p.plotLeft,x.y=p.plotTop,x.width=m?1:p.plotWidth,x.height=g?1:p.plotHeight,m&&(f=r-_,x.width=Math.max(1,Math.abs(f)),x.x=(f>0?0:f)+_),g&&(f=a-S,x.height=Math.max(1,Math.abs(f)),x.y=(f>0?0:f)+S)}),c}drag(r){let{chart:a}=this,{mouseDownX:c=0,mouseDownY:u=0}=a,{panning:f,panKey:p,selectionMarkerFill:m}=a.options.chart,g=a.plotLeft,_=a.plotTop,S=a.plotWidth,x=a.plotHeight,w=Tu(f)?f.enabled:f,k=p&&r[`${p}Key`],L=r.chartX,B=r.chartY,H,M=this.selectionMarker;if((!M||!M.touch)&&(L<g?L=g:L>g+S&&(L=g+S),B<_?B=_:B>_+x&&(B=_+x),this.hasDragged=Math.sqrt(Math.pow(c-L,2)+Math.pow(u-B,2)),this.hasDragged>10)){H=a.isInsidePlot(c-g,u-_,{visiblePlotOnly:!0});let{shapeType:j,attrs:V}=this.getSelectionMarkerAttrs(L,B);(a.hasCartesianSeries||a.mapView)&&this.hasZoom&&H&&!k&&!M&&(this.selectionMarker=M=a.renderer[j](),M.attr({class:"highcharts-selection-marker",zIndex:7}).add(),a.styledMode||M.attr({fill:m||FR("#334eff").setOpacity(.25).get()})),M&&M.attr(V),H&&!M&&w&&a.pan(r,f)}}dragStart(r){let a=this.chart;a.mouseIsDown=r.type,a.cancelClick=!1,a.mouseDownX=r.chartX,a.mouseDownY=r.chartY}getSelectionBox(r){let a={args:{marker:r},result:r.getBBox()};return ls(this,"getSelectionBox",a),a.result}drop(r){let a,{chart:c,selectionMarker:u}=this;for(let f of c.axes)f.isPanning&&(f.isPanning=!1,(f.options.startOnTick||f.options.endOnTick||f.series.some(p=>p.boosted))&&(f.forceRedraw=!0,f.setExtremes(f.userMin,f.userMax,!1),a=!0));if(a&&c.redraw(),u&&r){if(this.hasDragged){let f=this.getSelectionBox(u);c.transform({axes:c.axes.filter(p=>p.zoomEnabled&&(p.coll==="xAxis"&&this.zoomX||p.coll==="yAxis"&&this.zoomY)),selection:{originalEvent:r,xAxis:[],yAxis:[],...f},from:f})}wu(c.index)&&(this.selectionMarker=u.destroy())}c&&wu(c.index)&&(vp(c.container,{cursor:c._cursor}),c.cancelClick=this.hasDragged>10,c.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(r,a,c){let u;return r.forEach(function(f){let p=!(f.noSharedTooltip&&a)&&0>f.options.findNearestPointBy.indexOf("y"),m=f.searchPoint(c,p);Tu(m,!0)&&m.series&&(!Tu(u,!0)||(function(g,_){let S=g.distX-_.distX,x=g.dist-_.dist,w=_.series.group?.zIndex-g.series.group?.zIndex;return S!==0&&a?S:x!==0?x:w!==0?w:g.series.index>_.series.index?-1:1})(u,m)>0)&&(u=m)}),u}getChartCoordinatesFromPoint(r,a){let{xAxis:c,yAxis:u}=r.series,f=r.shapeArgs;if(c&&u){let p=r.clientX??r.plotX??0,m=r.plotY||0;return r.isNode&&f&&wu(f.x)&&wu(f.y)&&(p=f.x,m=f.y),a?{chartX:u.len+u.pos-m,chartY:c.len+c.pos-p}:{chartX:p+c.pos,chartY:m+u.pos}}if(f&&f.x&&f.y)return{chartX:f.x,chartY:f.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:r}=this.chart,a=jR(r);this.chartPosition={left:a.left,top:a.top,scaleX:1,scaleY:1};let{offsetHeight:c,offsetWidth:u}=r;return u>2&&c>2&&(this.chartPosition.scaleX=a.width/u,this.chartPosition.scaleY=a.height/c),this.chartPosition}getCoordinates(r){let a={xAxis:[],yAxis:[]};for(let c of this.chart.axes)a[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(r[c.horiz?"chartX":"chartY"])});return a}getHoverData(r,a,c,u,f,p){let m=[],g=function(k){return k.visible&&!(!f&&k.directTouch)&&Wi(k.options.enableMouseTracking,!0)},_=a,S,x={chartX:p?p.chartX:void 0,chartY:p?p.chartY:void 0,shared:f};ls(this,"beforeGetHoverData",x),S=_&&!_.stickyTracking?[_]:c.filter(k=>k.stickyTracking&&(x.filter||g)(k));let w=u&&r||!p?r:this.findNearestKDPoint(S,f,p);return _=w&&w.series,w&&(f&&!_.noSharedTooltip?(S=c.filter(function(k){return x.filter?x.filter(k):g(k)&&!k.noSharedTooltip})).forEach(function(k){let L=_0(k.points,function(B){return B.x===w.x&&!B.isNull});Tu(L)&&(k.boosted&&k.boost&&(L=k.boost.getPoint(L)),m.push(L))}):m.push(w)),ls(this,"afterGetHoverData",x={hoverPoint:w}),{hoverPoint:x.hoverPoint,hoverSeries:_,hoverPoints:m}}getPointFromEvent(r){let a=r.target,c;for(;a&&!c;)c=a.point,a=a.parentNode;return c}onTrackerMouseOut(r){let a=this.chart,c=r.relatedTarget,u=a.hoverSeries;this.isDirectTouch=!1,!u||!c||u.stickyTracking||this.inClass(c,"highcharts-tooltip")||this.inClass(c,"highcharts-series-"+u.index)&&this.inClass(c,"highcharts-tracker")||u.onMouseOut()}inClass(r,a){let c=r,u;for(;c;){if(u=UR(c,"class")){if(u.indexOf(a)!==-1)return!0;if(u.indexOf("highcharts-container")!==-1)return!1}c=c.parentElement}}constructor(r,a){this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=a,this.chart=r,this.runChartClick=!!a.chart.events?.click,this.pinchDown=[],this.setDOMEvents(),ls(this,"afterInit")}normalize(r,a){let c=r.touches,u=c?c.length?c.item(0):Wi(c.changedTouches,r.changedTouches)[0]:r;a||(a=this.getChartPosition());let f=u.pageX-a.left,p=u.pageY-a.top;return bp(r,{chartX:Math.round(f/=a.scaleX),chartY:Math.round(p/=a.scaleY)})}onContainerClick(r){let a=this.chart,c=a.hoverPoint,u=this.normalize(r),f=a.plotLeft,p=a.plotTop;!a.cancelClick&&(c&&this.inClass(u.target,"highcharts-tracker")?(ls(c.series,"click",bp(u,{point:c})),a.hoverPoint&&c.firePointEvent("click",u)):(bp(u,this.getCoordinates(u)),a.isInsidePlot(u.chartX-f,u.chartY-p,{visiblePlotOnly:!0})&&ls(a,"click",u)))}onContainerMouseDown(r){let a=(1&(r.buttons||r.button))==1;r=this.normalize(r),N.isFirefox&&r.button!==0&&this.onContainerMouseMove(r),(r.button===void 0||a)&&(this.zoomOption(r),a&&r.preventDefault?.(),this.dragStart(r))}onContainerMouseLeave(r){let{pointer:a}=yp[Wi(_n.hoverChartIndex,-1)]||{};r=this.normalize(r),this.onContainerMouseMove(r),a&&!this.inClass(r.relatedTarget,"highcharts-tooltip")&&(a.reset(),a.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(r){let a=this.chart,c=a.tooltip,u=this.normalize(r);this.setHoverChartIndex(r),(a.mouseIsDown==="mousedown"||this.touchSelect(u))&&this.drag(u),!a.openMenu&&(this.inClass(u.target,"highcharts-tracker")||a.isInsidePlot(u.chartX-a.plotLeft,u.chartY-a.plotTop,{visiblePlotOnly:!0}))&&!(c&&c.shouldStickOnContact(u))&&(this.inClass(u.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(u))}onDocumentTouchEnd(r){this.onDocumentMouseUp(r)}onContainerTouchMove(r){this.touchSelect(r)?this.onContainerMouseMove(r):this.touch(r)}onContainerTouchStart(r){this.touchSelect(r)?this.onContainerMouseDown(r):(this.zoomOption(r),this.touch(r,!0))}onDocumentMouseMove(r){let a=this.chart,c=a.tooltip,u=this.chartPosition,f=this.normalize(r,u);!u||a.isInsidePlot(f.chartX-a.plotLeft,f.chartY-a.plotTop,{visiblePlotOnly:!0})||c&&c.shouldStickOnContact(f)||f.target!==a.container.ownerDocument&&this.inClass(f.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(r){yp[Wi(_n.hoverChartIndex,-1)]?.pointer?.drop(r)}pinch(r){let a=this,{chart:c,hasZoom:u,lastTouches:f}=a,p=[].map.call(r.touches||[],x=>a.normalize(x)),m=p.length,g=m===1&&(a.inClass(r.target,"highcharts-tracker")&&c.runTrackerClick||a.runChartClick),_=c.tooltip,S=m===1&&Wi(_?.options.followTouchMove,!0);m>1?a.initiated=!0:S&&(a.initiated=!1),u&&a.initiated&&!g&&r.cancelable!==!1&&r.preventDefault(),r.type==="touchstart"?(a.pinchDown=p,a.res=!0,c.mouseDownX=r.chartX):S?this.runPointActions(a.normalize(r)):f&&(ls(c,"touchpan",{originalEvent:r,touches:p},()=>{let x=w=>{let k=w[0],L=w[1]||k;return{x:k.chartX,y:k.chartY,width:L.chartX-k.chartX,height:L.chartY-k.chartY}};c.transform({axes:c.axes.filter(w=>w.zoomEnabled&&(this.zoomHor&&w.horiz||this.zoomVert&&!w.horiz)),to:x(p),from:x(f),trigger:r.type})}),a.res&&(a.res=!1,this.reset(!1,0))),a.lastTouches=p}reset(r,a){let c=this.chart,u=c.hoverSeries,f=c.hoverPoint,p=c.hoverPoints,m=c.tooltip,g=m&&m.shared?p:f;r&&g&&E0(g).forEach(function(_){_.series.isCartesian&&_.plotX===void 0&&(r=!1)}),r?m&&g&&E0(g).length&&(m.refresh(g),m.shared&&p?p.forEach(function(_){_.setState(_.state,!0),_.series.isCartesian&&(_.series.xAxis.crosshair&&_.series.xAxis.drawCrosshair(null,_),_.series.yAxis.crosshair&&_.series.yAxis.drawCrosshair(null,_))}):f&&(f.setState(f.state,!0),c.axes.forEach(function(_){_.crosshair&&f.series[_.coll]===_&&_.drawCrosshair(null,f)}))):(f&&f.onMouseOut(),p&&p.forEach(function(_){_.setState()}),u&&u.onMouseOut(),m&&m.hide(a),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),c.axes.forEach(function(_){_.hideCrosshair()}),c.hoverPoints=c.hoverPoint=void 0)}runPointActions(r,a,c){let u=this.chart,f=u.series,p=u.tooltip&&u.tooltip.options.enabled?u.tooltip:void 0,m=!!p&&p.shared,g=a||u.hoverPoint,_=g&&g.series||u.hoverSeries,S=(!r||r.type!=="touchmove")&&(!!a||_&&_.directTouch&&this.isDirectTouch),x=this.getHoverData(g,_,f,S,m,r);g=x.hoverPoint,_=x.hoverSeries;let w=x.hoverPoints,k=_&&_.tooltipOptions.followPointer&&!_.tooltipOptions.split,L=m&&_&&!_.noSharedTooltip;if(g&&(c||g!==u.hoverPoint||p&&p.isHidden)){if((u.hoverPoints||[]).forEach(function(B){w.indexOf(B)===-1&&B.setState()}),u.hoverSeries!==_&&_.onMouseOver(),this.applyInactiveState(w),(w||[]).forEach(function(B){B.setState("hover")}),u.hoverPoint&&u.hoverPoint.firePointEvent("mouseOut"),!g.series)return;u.hoverPoints=w,u.hoverPoint=g,g.firePointEvent("mouseOver",void 0,()=>{p&&g&&p.refresh(L?w:g,r)})}else if(k&&p&&!p.isHidden){let B=p.getAnchor([{}],r);u.isInsidePlot(B[0],B[1],{visiblePlotOnly:!0})&&p.updatePosition({plotX:B[0],plotY:B[1]})}this.unDocMouseMove||(this.unDocMouseMove=ki(u.container.ownerDocument,"mousemove",B=>yp[_n.hoverChartIndex??-1]?.pointer?.onDocumentMouseMove(B)),this.eventsToUnbind.push(this.unDocMouseMove)),u.axes.forEach(function(B){let H,M=Wi((B.crosshair||{}).snap,!0);!M||(H=u.hoverPoint)&&H.series[B.coll]===B||(H=_0(w,j=>j.series&&j.series[B.coll]===B)),H||!M?B.drawCrosshair(r,H):B.hideCrosshair()})}setDOMEvents(){let r=this.chart.container,a=r.ownerDocument;r.onmousedown=this.onContainerMouseDown.bind(this),r.onmousemove=this.onContainerMouseMove.bind(this),r.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(ki(r,"mouseenter",this.onContainerMouseEnter.bind(this)),ki(r,"mouseleave",this.onContainerMouseLeave.bind(this))),_n.unbindDocumentMouseUp.some(u=>u.doc===a)||_n.unbindDocumentMouseUp.push({doc:a,unbind:ki(a,"mouseup",this.onDocumentMouseUp.bind(this))});let c=this.chart.renderTo.parentElement;for(;c&&c.tagName!=="BODY";)this.eventsToUnbind.push(ki(c,"scroll",()=>{delete this.chartPosition})),c=c.parentElement;this.eventsToUnbind.push(ki(r,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),ki(r,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),_n.unbindDocumentTouchEnd||(_n.unbindDocumentTouchEnd=ki(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),ki(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){if(!HR)return;let r=this.pointerCaptureEventsToUnbind,a=this.chart,c=a.container,u=Wi(a.options.tooltip?.followTouchMove,!0)&&a.series.some(f=>f.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&u?(r.push(ki(c,"pointerdown",f=>{f.target?.hasPointerCapture(f.pointerId)&&f.target?.releasePointerCapture(f.pointerId)}),ki(c,"pointermove",f=>{a.pointer?.getPointFromEvent(f)?.onMouseOver(f)})),a.styledMode||vp(c,{"touch-action":"none"}),c.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!u&&(r.forEach(f=>f()),r.length=0,a.styledMode||vp(c,{"touch-action":Wi(a.options.chart.style?.["touch-action"],"manipulation")}),c.className=c.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(r){let a=this.chart,c=N.charts[Wi(_n.hoverChartIndex,-1)];if(c&&c!==a){let u={relatedTarget:a.container};r&&!r?.relatedTarget&&Object.assign({},r,u),c.pointer?.onContainerMouseLeave(r||u)}c&&c.mouseIsDown||(_n.hoverChartIndex=a.index)}touch(r,a){let c,{chart:u,pinchDown:f=[]}=this;this.setHoverChartIndex(),(r=this.normalize(r)).touches.length===1?u.isInsidePlot(r.chartX-u.plotLeft,r.chartY-u.plotTop,{visiblePlotOnly:!0})&&!u.openMenu?(a&&this.runPointActions(r),r.type==="touchmove"&&(c=!!f[0]&&Math.pow(f[0].chartX-r.chartX,2)+Math.pow(f[0].chartY-r.chartY,2)>=16),Wi(c,!0)&&this.pinch(r)):a&&this.reset():r.touches.length===2&&this.pinch(r)}touchSelect(r){return!!(this.chart.zooming.singleTouch&&r.touches&&r.touches.length===1)}zoomOption(r){let a=this.chart,c=a.inverted,u=a.zooming.type||"",f,p;/touch/.test(r.type)&&(u=Wi(a.zooming.pinchType,u)),this.zoomX=f=/x/.test(u),this.zoomY=p=/y/.test(u),this.zoomHor=f&&!c||p&&c,this.zoomVert=p&&!c||f&&c,this.hasZoom=f||p}}_n.unbindDocumentMouseUp=[],(function(b){b.compose=function(r){VR(BR,"Core.Pointer")&&ki(r,"beforeRender",function(){this.pointer=new b(this,this.options)})}})(_n||(_n={}));let x0=_n,{fireEvent:S0,isArray:WR,objectEach:Cu,uniqueKey:Au}=we,Ou=class{constructor(b={}){this.autoId=!b.id,this.columns={},this.id=b.id||Au(),this.modified=this,this.rowCount=0,this.versionTag=Au();let r=0;Cu(b.columns||{},(a,c)=>{this.columns[c]=a.slice(),r=Math.max(r,a.length)}),this.applyRowCount(r)}applyRowCount(b){this.rowCount=b,Cu(this.columns,r=>{WR(r)&&(r.length=b)})}getColumn(b,r){return this.columns[b]}getColumns(b,r){return(b||Object.keys(this.columns)).reduce((a,c)=>(a[c]=this.columns[c],a),{})}getRow(b,r){return(r||Object.keys(this.columns)).map(a=>this.columns[a]?.[b])}setColumn(b,r=[],a=0,c){this.setColumns({[b]:r},a,c)}setColumns(b,r,a){let c=this.rowCount;Cu(b,(u,f)=>{this.columns[f]=u.slice(),c=u.length}),this.applyRowCount(c),a?.silent||(S0(this,"afterSetColumns"),this.versionTag=Au())}setRow(b,r=this.rowCount,a,c){let{columns:u}=this,f=a?this.rowCount+1:r+1;Cu(b,(p,m)=>{let g=u[m]||c?.addColumns!==!1&&Array(f);g&&(a?g.splice(r,0,p):g[r]=p,u[m]=g)}),f>this.rowCount&&this.applyRowCount(f),c?.silent||(S0(this,"afterSetRows"),this.versionTag=Au())}},{extend:zR,merge:XR,pick:w0}=we;(function(b){function r(a,c,u){let f=this.legendItem=this.legendItem||{},{chart:p,options:m}=this,{baseline:g=0,symbolWidth:_,symbolHeight:S}=a,x=this.symbol||"circle",w=S/2,k=p.renderer,L=f.group,B=g-Math.round((a.fontMetrics?.b||S)*(u?.4:.3)),H={},M,j=m.marker,V=0;if(p.styledMode||(H["stroke-width"]=Math.min(m.lineWidth||0,24),m.dashStyle?H.dashstyle=m.dashStyle:m.linecap==="square"||(H["stroke-linecap"]="round")),f.line=k.path().addClass("highcharts-graph").attr(H).add(L),u&&(f.area=k.path().addClass("highcharts-area").add(L)),H["stroke-linecap"]&&(V=Math.min(f.line.strokeWidth(),_)/2),_){let te=[["M",V,B],["L",_-V,B]];f.line.attr({d:te}),f.area?.attr({d:[...te,["L",_-V,g],["L",V,g]]})}if(j&&j.enabled!==!1&&_){let te=Math.min(w0(j.radius,w),w);x.indexOf("url")===0&&(j=XR(j,{width:S,height:S}),te=0),f.symbol=M=k.symbol(x,_/2-te,B-te,2*te,2*te,zR({context:"legend"},j)).addClass("highcharts-point").add(L),M.isMarker=!0}}b.areaMarker=function(a,c){r.call(this,a,c,!0)},b.lineMarker=r,b.rectangle=function(a,c){let u=c.legendItem||{},f=a.options,p=a.symbolHeight,m=f.squareSymbol,g=m?p:a.symbolWidth;u.symbol=this.chart.renderer.rect(m?(a.symbolWidth-p)/2:0,a.baseline-p+1,g,p,w0(a.options.symbolRadius,p/2)).addClass("highcharts-point").attr({zIndex:3}).add(u.group)}})(C||(C={}));let T0=C,{defaultOptions:C0}=Ne,{extend:GR,extendClass:qR,merge:YR}=we;(function(b){function r(a,c){let u=C0.plotOptions||{},f=c.defaultOptions,p=c.prototype;return p.type=a,p.pointClass||(p.pointClass=as),!b.seriesTypes[a]&&(f&&(u[a]=f),b.seriesTypes[a]=c,!0)}b.seriesTypes=N.seriesTypes,b.registerSeriesType=r,b.seriesType=function(a,c,u,f,p){let m=C0.plotOptions||{};if(c=c||"",m[a]=YR(m[c],u),delete b.seriesTypes[a],r(a,qR(b.seriesTypes[c]||function(){},f)),b.seriesTypes[a].prototype.type=a,p){class g extends as{}GR(g.prototype,p),b.seriesTypes[a].prototype.pointClass=g}return b.seriesTypes[a]}})(T||(T={}));let Jt=T,{animObject:A0,setAnimation:KR}=Ln,{defaultOptions:ku}=Ne,{registerEventOptions:JR}=du,{svg:ZR,win:QR}=N,{seriesTypes:Yo}=Jt,{arrayMax:_p,arrayMin:O0,clamp:k0,correctFloat:P0,crisp:eI,defined:En,destroyObjectProperties:tI,diffObjects:nI,erase:L0,error:Pu,extend:Ko,find:iI,fireEvent:Wt,getClosestDistance:rI,getNestedProperty:R0,insertItem:I0,isArray:N0,isNumber:Tn,isString:sI,merge:Jo,objectEach:Ep,pick:zt,removeEvent:oI,syncTimeout:M0}=we;class Zo{constructor(){this.zoneAxis="y"}init(r,a){let c;Wt(this,"init",{options:a}),this.dataTable??(this.dataTable=new Ou);let u=r.series;this.eventsToUnbind=[],this.chart=r,this.options=this.setOptions(a);let f=this.options,p=f.visible!==!1;this.linkedSeries=[],this.bindAxes(),Ko(this,{name:f.name,state:"",visible:p,selected:f.selected===!0}),JR(this,f);let m=f.events;(m&&m.click||f.point&&f.point.events&&f.point.events.click||f.allowPointSelect)&&(r.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(r.hasCartesianSeries=!0),u.length&&(c=u[u.length-1]),this._i=zt(c&&c._i,-1)+1,this.opacity=this.options.opacity,r.orderItems("series",I0(this,u)),f.dataSorting&&f.dataSorting.enabled?this.setDataSortingOptions():this.points||this.data||this.setData(f.data,!1),Wt(this,"afterInit")}is(r){return Yo[r]&&this instanceof Yo[r]}bindAxes(){let r,a=this,c=a.options,u=a.chart;Wt(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(f){(u[f]||[]).forEach(function(p){r=p.options,(zt(c[f],0)===p.index||c[f]!==void 0&&c[f]===r.id)&&(I0(a,p.series),a[f]=p,p.isDirty=!0)}),a[f]||a.optionalAxis===f||Pu(18,!0,u)})}),Wt(this,"afterBindAxes")}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(r,a){let c=r.marker,u=a.marker||{};return c&&(u.enabled&&!c.enabled||u.symbol!==c.symbol||u.height!==c.height||u.width!==c.width)}autoIncrement(r){let a,c=this.options,{pointIntervalUnit:u,relativeXValue:f}=this.options,p=this.chart.time,m=this.xIncrement??p.parse(c.pointStart)??0;if(this.pointInterval=a=zt(this.pointInterval,c.pointInterval,1),f&&Tn(r)&&(a*=r),u){let g=p.toParts(m);u==="day"?g[2]+=a:u==="month"?g[1]+=a:u==="year"&&(g[0]+=a),a=p.makeTime.apply(p,g)-m}return f&&Tn(r)?m+a:(this.xIncrement=m+a,m)}setDataSortingOptions(){let r=this.options;Ko(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),En(r.pointRange)||(r.pointRange=1)}setOptions(r){let a,c=this.chart,u=c.options.plotOptions,f=c.userOptions||{},p=Jo(r),m=c.styledMode,g={plotOptions:u,userOptions:p};Wt(this,"setOptions",g);let _=g.plotOptions[this.type],S=f.plotOptions||{},x=S.series||{},w=ku.plotOptions[this.type]||{},k=S[this.type]||{};this.userOptions=g.userOptions;let L=Jo(_,u.series,k,p);this.tooltipOptions=Jo(ku.tooltip,ku.plotOptions.series?.tooltip,w?.tooltip,c.userOptions.tooltip,S.series?.tooltip,k.tooltip,p.tooltip),this.stickyTracking=zt(p.stickyTracking,k.stickyTracking,x.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||L.stickyTracking),_.marker===null&&delete L.marker,this.zoneAxis=L.zoneAxis||"y";let B=this.zones=(L.zones||[]).map(H=>({...H}));return(L.negativeColor||L.negativeFillColor)&&!L.zones&&(a={value:L[this.zoneAxis+"Threshold"]||L.threshold||0,className:"highcharts-negative"},m||(a.color=L.negativeColor,a.fillColor=L.negativeFillColor),B.push(a)),B.length&&En(B[B.length-1].value)&&B.push(m?{}:{color:this.color,fillColor:this.fillColor}),Wt(this,"afterSetOptions",{options:L}),L}getName(){return zt(this.options.name,"Series "+(this.index+1))}getCyclic(r,a,c){let u,f,p=this.chart,m=`${r}Index`,g=`${r}Counter`,_=c?.length||p.options.chart.colorCount;!a&&(En(f=zt(r==="color"?this.options.colorIndex:void 0,this[m]))?u=f:(p.series.length||(p[g]=0),u=p[g]%_,p[g]+=1),c&&(a=c[u])),u!==void 0&&(this[m]=u),this[r]=a}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||ku.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let r=this.options.marker;this.getCyclic("symbol",r.symbol,this.chart.options.symbols)}getColumn(r,a){return(a?this.dataTable.modified:this.dataTable).getColumn(r,!0)||[]}findPointIndex(r,a){let c,u,f,p=r.id,m=r.x,g=this.points,_=this.options.dataSorting;if(p){let S=this.chart.get(p);S instanceof as&&(c=S)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let S=x=>!x.touched&&x.index===r.index;if(_&&_.matchByName?S=x=>!x.touched&&x.name===r.name:this.options.relativeXValue&&(S=x=>!x.touched&&x.options.x===r.x),!(c=iI(g,S)))return}return c&&(f=c&&c.index)!==void 0&&(u=!0),f===void 0&&Tn(m)&&(f=this.getColumn("x").indexOf(m,a)),f!==-1&&f!==void 0&&this.cropped&&(f=f>=this.cropStart?f-this.cropStart:f),!u&&Tn(f)&&g[f]&&g[f].touched&&(f=void 0),f}updateData(r,a){let c=this.options,u=c.dataSorting,f=this.points,p=[],m=this.requireSorting,g=r.length===f.length,_,S,x,w,k=!0;if(this.xIncrement=null,r.forEach(function(B,H){let M,j=En(B)&&this.pointClass.prototype.optionsToObject.call({series:this},B)||{},V=j.x;j.id||Tn(V)?((M=this.findPointIndex(j,w))===-1||M===void 0?p.push(B):f[M]&&B!==c.data[M]?(f[M].update(B,!1,null,!1),f[M].touched=!0,m&&(w=M+1)):f[M]&&(f[M].touched=!0),(!g||H!==M||u&&u.enabled||this.hasDerivedData)&&(_=!0)):p.push(B)},this),_)for(S=f.length;S--;)(x=f[S])&&!x.touched&&x.remove&&x.remove(!1,a);else!g||u&&u.enabled?k=!1:(r.forEach(function(B,H){B===f[H].y||f[H].destroyed||f[H].update(B,!1,null,!1)}),p.length=0);if(f.forEach(function(B){B&&(B.touched=!1)}),!k)return!1;p.forEach(function(B){this.addPoint(B,!1,null,null,!1)},this);let L=this.getColumn("x");return this.xIncrement===null&&L.length&&(this.xIncrement=_p(L),this.autoIncrement()),!0}dataColumnKeys(){return["x",...this.pointArrayMap||["y"]]}setData(r,a=!0,c,u){let f=this.points,p=f&&f.length||0,m=this.options,g=this.chart,_=m.dataSorting,S=this.xAxis,x=m.turboThreshold,w=this.dataTable,k=this.dataColumnKeys(),L=this.pointValKey||"y",B=(this.pointArrayMap||[]).length,H=m.keys,M,j,V=0,te=1,ie;g.options.chart.allowMutatingData||(m.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,ie=Jo(!0,r));let ne=(r=ie||r||[]).length;if(_&&_.enabled&&(r=this.sortData(r)),g.options.chart.allowMutatingData&&u!==!1&&ne&&p&&!this.cropped&&!this.hasGroupedData&&this.visible&&!this.boosted&&(j=this.updateData(r,c)),!j){this.xIncrement=null,this.colorCounter=0;let Z=x&&ne>x;if(Z){let re=this.getFirstValidPoint(r),ge=this.getFirstValidPoint(r,ne-1,-1),ye=_e=>!!(N0(_e)&&(H||Tn(_e[0])));if(Tn(re)&&Tn(ge)){let _e=[],Le=[];for(let Re of r)_e.push(this.autoIncrement()),Le.push(Re);w.setColumns({x:_e,[L]:Le})}else if(ye(re)&&ye(ge))if(B){let _e=re.length===B?1:0,Le=Array(k.length).fill(0).map(()=>[]);for(let Re of r){_e&&Le[0].push(this.autoIncrement());for(let Be=_e;Be<=B;Be++)Le[Be]?.push(Re[Be-_e])}w.setColumns(k.reduce((Re,Be,Me)=>(Re[Be]=Le[Me],Re),{}))}else{H&&(V=H.indexOf("x"),te=H.indexOf("y"),V=V>=0?V:0,te=te>=0?te:1),re.length===1&&(te=0);let _e=[],Le=[];if(V===te)for(let Re of r)_e.push(this.autoIncrement()),Le.push(Re[te]);else for(let Re of r)_e.push(Re[V]),Le.push(Re[te]);w.setColumns({x:_e,[L]:Le})}else Z=!1}if(!Z){let re=k.reduce((ge,ye)=>(ge[ye]=[],ge),{});for(M=0;M<ne;M++){let ge=this.pointClass.prototype.applyOptions.apply({series:this},[r[M]]);for(let ye of k)re[ye][M]=ge[ye]}w.setColumns(re)}for(sI(this.getColumn("y")[0])&&Pu(14,!0,g),this.data=[],this.options.data=this.userOptions.data=r,M=p;M--;)f[M]?.destroy();S&&(S.minRange=S.userMinRange),this.isDirty=g.isDirtyBox=!0,this.isDirtyData=!!f,c=!1}m.legendType==="point"&&(this.processData(),this.generatePoints()),a&&g.redraw(c)}sortData(r){let a=this,c=a.options.dataSorting.sortKey||"y",u=function(f,p){return En(p)&&f.pointClass.prototype.optionsToObject.call({series:f},p)||{}};return r.forEach(function(f,p){r[p]=u(a,f),r[p].index=p},this),r.concat().sort((f,p)=>{let m=R0(c,f),g=R0(c,p);return g<m?-1:g>m?1:0}).forEach(function(f,p){f.x=p},this),a.linkedSeries&&a.linkedSeries.forEach(function(f){let p=f.options,m=p.data;p.dataSorting&&p.dataSorting.enabled||!m||(m.forEach(function(g,_){m[_]=u(f,g),r[_]&&(m[_].x=r[_].x,m[_].index=_)}),f.setData(m,!1))}),r}getProcessedData(r){let a=this,{dataTable:c,isCartesian:u,options:f,xAxis:p}=a,m=f.cropThreshold,g=r||a.getExtremesFromAll,_=p?.logarithmic,S=c.rowCount,x,w,k=0,L,B,H,M=a.getColumn("x"),j=c,V=!1;return p&&(B=(L=p.getExtremes()).min,H=L.max,V=!!(p.categories&&!p.names.length),u&&a.sorted&&!g&&(!m||S>m||a.forceCrop)&&(M[S-1]<B||M[0]>H?j=new Ou:a.getColumn(a.pointValKey||"y").length&&(M[0]<B||M[S-1]>H)&&(j=(x=this.cropData(c,B,H)).modified,k=x.start,w=!0))),M=j.getColumn("x")||[],{modified:j,cropped:w,cropStart:k,closestPointRange:rI([_?M.map(_.log2lin):M],()=>a.requireSorting&&!V&&Pu(15,!1,a.chart))}}processData(r){let a=this.xAxis,c=this.dataTable;if(this.isCartesian&&!this.isDirty&&!a.isDirty&&!this.yAxis.isDirty&&!r)return!1;let u=this.getProcessedData();c.modified=u.modified,this.cropped=u.cropped,this.cropStart=u.cropStart,this.closestPointRange=this.basePointRange=u.closestPointRange,Wt(this,"afterProcessData")}cropData(r,a,c){let u=r.getColumn("x",!0)||[],f=u.length,p={},m,g,_=0,S=f;for(m=0;m<f;m++)if(u[m]>=a){_=Math.max(0,m-1);break}for(g=m;g<f;g++)if(u[g]>c){S=g+1;break}for(let x of this.dataColumnKeys()){let w=r.getColumn(x,!0);w&&(p[x]=w.slice(_,S))}return{modified:new Ou({columns:p}),start:_,end:S}}generatePoints(){let r=this.options,a=this.processedData||r.data,c=this.dataTable.modified,u=this.getColumn("x",!0),f=this.pointClass,p=c.rowCount,m=this.cropStart||0,g=this.hasGroupedData,_=r.keys,S=[],x=r.dataGrouping&&r.dataGrouping.groupAll?m:0,w=this.xAxis?.categories,k=this.pointArrayMap||["y"],L=this.dataColumnKeys(),B,H,M,j,V=this.data,te;if(!V&&!g){let ie=[];ie.length=a?.length||0,V=this.data=ie}for(_&&g&&(this.options.keys=!1),j=0;j<p;j++)H=m+j,g?((M=new f(this,c.getRow(j,L)||[])).dataGroup=this.groupMap[x+j],M.dataGroup?.options&&(M.options=M.dataGroup.options,Ko(M,M.dataGroup.options),delete M.dataLabels)):(M=V[H],te=a?a[H]:c.getRow(j,k),M||te===void 0||(V[H]=M=new f(this,te,u[j]))),M&&(M.index=g?x+j:H,S[j]=M,M.category=w?.[M.x]??M.x,M.key=M.name??M.category);if(this.options.keys=_,V&&(p!==(B=V.length)||g))for(j=0;j<B;j++)j!==m||g||(j+=p),V[j]&&(V[j].destroyElements(),V[j].plotX=void 0);this.data=V,this.points=S,Wt(this,"afterGeneratePoints")}getXExtremes(r){return{min:O0(r),max:_p(r)}}getExtremes(r,a){let{xAxis:c,yAxis:u}=this,f=a||this.getExtremesFromAll||this.options.getExtremesFromAll,p=f&&this.cropped?this.dataTable:this.dataTable.modified,m=p.rowCount,g=r||this.stackedYData,_=g?[g]:(this.keysAffectYAxis||this.pointArrayMap||["y"])?.map(ie=>p.getColumn(ie,!0)||[])||[],S=this.getColumn("x",!0),x=[],w=this.requireSorting&&!this.is("column")?1:0,k=!!u&&u.positiveValuesOnly,L=f||this.cropped||!c,B,H,M,j=0,V=0;for(c&&(j=(B=c.getExtremes()).min,V=B.max),M=0;M<m;M++)if(H=S[M],L||(S[M+w]||H)>=j&&(S[M-w]||H)<=V)for(let ie of _){let ne=ie[M];Tn(ne)&&(ne>0||!k)&&x.push(ne)}let te={activeYData:x,dataMin:O0(x),dataMax:_p(x)};return Wt(this,"afterGetExtremes",{dataExtremes:te}),te}applyExtremes(){let r=this.getExtremes();return this.dataMin=r.dataMin,this.dataMax=r.dataMax,r}getFirstValidPoint(r,a=0,c=1){let u=r.length,f=a;for(;f>=0&&f<u;){if(En(r[f]))return r[f];f+=c}}translate(){this.generatePoints();let r=this.options,a=r.stacking,c=this.xAxis,u=this.enabledDataSorting,f=this.yAxis,p=this.points,m=p.length,g=this.pointPlacementToXValue(),_=!!g,S=r.threshold,x=r.startFromThreshold?S:0,w,k,L,B,H=Number.MAX_VALUE;function M(j){return k0(j,-1e9,1e9)}for(w=0;w<m;w++){let j,V=p[w],te=V.x,ie,ne,Z=V.y,re=V.low,ge=a&&f.stacking?.stacks[(this.negStacks&&Z<(x?0:S)?"-":"")+this.stackKey];k=c.translate(te,!1,!1,!1,!0,g),V.plotX=Tn(k)?P0(M(k)):void 0,a&&this.visible&&ge&&ge[te]&&(B=this.getStackIndicator(B,te,this.index),!V.isNull&&B.key&&(ne=(ie=ge[te]).points[B.key]),ie&&N0(ne)&&(re=ne[0],Z=ne[1],re===x&&B.key===ge[te].base&&(re=zt(Tn(S)?S:f.min)),f.positiveValuesOnly&&En(re)&&re<=0&&(re=void 0),V.total=V.stackTotal=zt(ie.total),V.percentage=En(V.y)&&ie.total?V.y/ie.total*100:void 0,V.stackY=Z,this.irregularWidths||ie.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),V.yBottom=En(re)?M(f.translate(re,!1,!0,!1,!0)):void 0,this.dataModify&&(Z=this.dataModify.modifyValue(Z,w)),Tn(Z)&&V.plotX!==void 0&&(j=Tn(j=f.translate(Z,!1,!0,!1,!0))?M(j):void 0),V.plotY=j,V.isInside=this.isPointInside(V),V.clientX=_?P0(c.translate(te,!1,!1,!1,!0,g)):k,V.negative=(V.y||0)<(S||0),V.isNull||V.visible===!1||(L!==void 0&&(H=Math.min(H,Math.abs(k-L))),L=k),V.zone=this.zones.length?V.getZone():void 0,!V.graphic&&this.group&&u&&(V.isNew=!0)}this.closestPointRangePx=H,Wt(this,"afterTranslate")}getValidPoints(r,a,c){let u=this.chart;return(r||this.points||[]).filter(function(f){let{plotX:p,plotY:m}=f;return!!((c||!f.isNull&&Tn(m))&&(!a||u.isInsidePlot(p,m,{inverted:u.inverted})))&&f.visible!==!1})}getClipBox(){let{chart:r,xAxis:a,yAxis:c}=this,{x:u,y:f,width:p,height:m}=Jo(r.clipBox);return a&&a.len!==r.plotSizeX&&(p=a.len),c&&c.len!==r.plotSizeY&&(m=c.len),r.inverted&&!this.invertible&&([p,m]=[m,p]),{x:u,y:f,width:p,height:m}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:r,group:a,markerGroup:c}=this,u=r.sharedClips,f=r.renderer,p=this.getClipBox(),m=this.getSharedClipKey(),g=u[m];g?g.animate(p):u[m]=g=f.clipRect(p),a&&a.clip(this.options.clip===!1?void 0:g),c&&c.clip()}animate(r){let{chart:a,group:c,markerGroup:u}=this,f=a.inverted,p=A0(this.options.animation),m=[this.getSharedClipKey(),p.duration,p.easing,p.defer].join(","),g=a.sharedClips[m],_=a.sharedClips[m+"m"];if(r&&c){let S=this.getClipBox();if(g)g.attr("height",S.height);else{S.width=0,f&&(S.x=a.plotHeight),g=a.renderer.clipRect(S),a.sharedClips[m]=g;let x={x:-99,y:-99,width:f?a.plotWidth+199:99,height:f?99:a.plotHeight+199};_=a.renderer.clipRect(x),a.sharedClips[m+"m"]=_}c.clip(g),u?.clip(_)}else if(g&&!g.hasClass("highcharts-animating")){let S=this.getClipBox(),x=p.step;(u?.element.childNodes.length||a.series.length>1)&&(p.step=function(w,k){x&&x.apply(k,arguments),k.prop==="width"&&_?.element&&_.attr(f?"height":"width",w+99)}),g.addClass("highcharts-animating").animate(S,p)}}afterAnimate(){this.setClip(),Ep(this.chart.sharedClips,(r,a,c)=>{r&&!this.chart.container.querySelector(`[clip-path="url(#${r.id})"]`)&&(r.destroy(),delete c[a])}),this.finishedAnimating=!0,Wt(this,"afterAnimate")}drawPoints(r=this.points){let a,c,u,f,p,m,g,_=this.chart,S=_.styledMode,{colorAxis:x,options:w}=this,k=w.marker,L=this[this.specialGroup||"markerGroup"],B=this.xAxis,H=zt(k.enabled,!B||!!B.isRadial||null,this.closestPointRangePx>=k.enabledThreshold*k.radius);if(k.enabled!==!1||this._hasPointMarkers)for(a=0;a<r.length;a++)if(f=(u=(c=r[a]).graphic)?"animate":"attr",p=c.marker||{},m=!!c.marker,(H&&p.enabled===void 0||p.enabled)&&!c.isNull&&c.visible!==!1){let M=zt(p.symbol,this.symbol,"rect");g=this.markerAttribs(c,c.selected&&"select"),this.enabledDataSorting&&(c.startXPos=B.reversed?-(g.width||0):B.width);let j=c.isInside!==!1;if(!u&&j&&((g.width||0)>0||c.hasImage)&&(c.graphic=u=_.renderer.symbol(M,g.x,g.y,g.width,g.height,m?p:k).add(L),this.enabledDataSorting&&_.hasRendered&&(u.attr({x:c.startXPos}),f="animate")),u&&f==="animate"&&u[j?"show":"hide"](j).animate(g),u){let V=this.pointAttribs(c,S||!c.selected?void 0:"select");S?x&&u.css({fill:V.fill}):u[f](V)}u&&u.addClass(c.getClassName(),!0)}else u&&(c.graphic=u.destroy())}markerAttribs(r,a){let c=this.options,u=c.marker,f=r.marker||{},p=f.symbol||u.symbol,m={},g,_,S=zt(f.radius,u&&u.radius);a&&(g=u.states[a],S=zt((_=f.states&&f.states[a])&&_.radius,g&&g.radius,S&&S+(g&&g.radiusPlus||0))),r.hasImage=p&&p.indexOf("url")===0,r.hasImage&&(S=0);let x=r.pos();return Tn(S)&&x&&(c.crisp&&(x[0]=eI(x[0],r.hasImage?0:p==="rect"?u?.lineWidth||0:1)),m.x=x[0]-S,m.y=x[1]-S),S&&(m.width=m.height=2*S),m}pointAttribs(r,a){let c=this.options.marker,u=r&&r.options,f=u&&u.marker||{},p=u&&u.color,m=r&&r.color,g=r&&r.zone&&r.zone.color,_,S,x=this.color,w,k,L=zt(f.lineWidth,c.lineWidth),B=1;return x=p||g||m||x,w=f.fillColor||c.fillColor||x,k=f.lineColor||c.lineColor||x,a=a||"normal",_=c.states[a]||{},L=zt((S=f.states&&f.states[a]||{}).lineWidth,_.lineWidth,L+zt(S.lineWidthPlus,_.lineWidthPlus,0)),w=S.fillColor||_.fillColor||w,{stroke:k=S.lineColor||_.lineColor||k,"stroke-width":L,fill:w,opacity:B=zt(S.opacity,_.opacity,B)}}destroy(r){let a,c,u,f=this,p=f.chart,m=/AppleWebKit\/533/.test(QR.navigator.userAgent),g=f.data||[];for(Wt(f,"destroy",{keepEventsForUpdate:r}),this.removeEvents(r),(f.axisTypes||[]).forEach(function(_){(u=f[_])&&u.series&&(L0(u.series,f),u.isDirty=u.forceRedraw=!0)}),f.legendItem&&f.chart.legend.destroyItem(f),a=g.length;a--;)(c=g[a])&&c.destroy&&c.destroy();for(let _ of f.zones)tI(_,void 0,!0);we.clearTimeout(f.animationTimeout),Ep(f,function(_,S){_ instanceof ur&&!_.survive&&_[m&&S==="group"?"hide":"destroy"]()}),p.hoverSeries===f&&(p.hoverSeries=void 0),L0(p.series,f),p.orderItems("series"),Ep(f,function(_,S){r&&S==="hcEvents"||delete f[S]})}applyZones(){let{area:r,chart:a,graph:c,zones:u,points:f,xAxis:p,yAxis:m,zoneAxis:g}=this,{inverted:_,renderer:S}=a,x=this[`${g}Axis`],{isXAxis:w,len:k=0,minPointOffset:L=0}=x||{},B=(c?.strokeWidth()||0)/2+1,H=(M,j=0,V=0)=>{_&&(V=k-V);let{translated:te=0,lineClip:ie}=M,ne=V-te;ie?.push(["L",j,Math.abs(ne)<B?V-B*(ne<=0?-1:1):te])};if(u.length&&(c||r)&&x&&Tn(x.min)){let M=x.getExtremes().max+L,j=ie=>{ie.forEach((ne,Z)=>{(ne[0]==="M"||ne[0]==="L")&&(ie[Z]=[ne[0],w?k-ne[1]:ne[1],w?ne[2]:k-ne[2]])})};if(u.forEach(ie=>{ie.lineClip=[],ie.translated=k0(x.toPixels(zt(ie.value,M),!0)||0,0,k)}),c&&!this.showLine&&c.hide(),r&&r.hide(),g==="y"&&f.length<p.len)for(let ie of f){let{plotX:ne,plotY:Z,zone:re}=ie,ge=re&&u[u.indexOf(re)-1];re&&H(re,ne,Z),ge&&H(ge,ne,Z)}let V=[],te=x.toPixels(x.getExtremes().min-L,!0);u.forEach(ie=>{let ne=ie.lineClip||[],Z=Math.round(ie.translated||0);p.reversed&&ne.reverse();let{clip:re,simpleClip:ge}=ie,ye=0,_e=0,Le=p.len,Re=m.len;w?(ye=Z,Le=te):(_e=Z,Re=te);let Be=[["M",ye,_e],["L",Le,_e],["L",Le,Re],["L",ye,Re],["Z"]],Me=[Be[0],...ne,Be[1],Be[2],...V,Be[3],Be[4]];V=ne.reverse(),te=Z,_&&(j(Me),r&&j(Be)),re?(re.animate({d:Me}),ge?.animate({d:Be})):(re=ie.clip=S.path(Me),r&&(ge=ie.simpleClip=S.path(Be))),c&&ie.graph?.clip(re),r&&ie.area?.clip(ge)})}else this.visible&&(c&&c.show(),r&&r.show())}plotGroup(r,a,c,u,f){let p=this[r],m=!p,g={visibility:c,zIndex:u||.1};return En(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(g.opacity=this.opacity),p||(this[r]=p=this.chart.renderer.g().add(f)),p.addClass("highcharts-"+a+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(En(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(p.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),p.attr(g)[m?"attr":"animate"](this.getPlotBox(a)),p}getPlotBox(r){let a=this.xAxis,c=this.yAxis,u=this.chart,f=u.inverted&&!u.polar&&a&&this.invertible&&r==="series";return u.inverted&&(a=c,c=this.xAxis),{translateX:a?a.left:u.plotLeft,translateY:c?c.top:u.plotTop,rotation:f?90:0,rotationOriginX:f?(a.len-c.len)/2:0,rotationOriginY:f?(a.len+c.len)/2:0,scaleX:f?-1:1,scaleY:1}}removeEvents(r){let{eventsToUnbind:a}=this;r||oI(this),a.length&&(a.forEach(c=>{c()}),a.length=0)}render(){let r=this,{chart:a,options:c,hasRendered:u}=r,f=A0(c.animation),p=r.visible?"inherit":"hidden",m=c.zIndex,g=a.seriesGroup,_=r.finishedAnimating?0:f.duration;Wt(this,"render"),r.plotGroup("group","series",p,m,g),r.markerGroup=r.plotGroup("markerGroup","markers",p,m,g),c.clip!==!1&&r.setClip(),_&&r.animate?.(!0),r.drawGraph&&(r.drawGraph(),r.applyZones()),r.visible&&r.drawPoints(),r.drawDataLabels?.(),r.redrawPoints?.(),c.enableMouseTracking&&r.drawTracker?.(),_&&r.animate?.(),u||(_&&f.defer&&(_+=f.defer),r.animationTimeout=M0(()=>{r.afterAnimate()},_||0)),r.isDirty=!1,r.hasRendered=!0,Wt(r,"afterRender")}redraw(){let r=this.isDirty||this.isDirtyData;this.translate(),this.render(),r&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(r,a){let{xAxis:c,yAxis:u}=this,f=this.chart.inverted;return this.searchKDTree({clientX:f?c.len-r.chartY+c.pos:r.chartX-c.pos,plotY:f?u.len-r.chartX+u.pos:r.chartY-u.pos},a,r)}buildKDTree(r){this.buildingKdTree=!0;let a=this,c=a.options.findNearestPointBy.indexOf("y")>-1?2:1;delete a.kdTree,M0(function(){a.kdTree=(function u(f,p,m){let g,_,S=f?.length;if(S)return g=a.kdAxisArray[p%m],f.sort((x,w)=>(x[g]||0)-(w[g]||0)),{point:f[_=Math.floor(S/2)],left:u(f.slice(0,_),p+1,m),right:u(f.slice(_+1),p+1,m)}})(a.getValidPoints(void 0,!a.directTouch),c,c),a.buildingKdTree=!1},a.options.kdNow||r?.type==="touchstart"?0:1)}searchKDTree(r,a,c,u,f){let p=this,[m,g]=this.kdAxisArray,_=a?"distX":"dist",S=(p.options.findNearestPointBy||"").indexOf("y")>-1?2:1,x=!!p.isBubble,w=u||((L,B,H)=>[(L[H]||0)<(B[H]||0)?L:B,!1]),k=f||((L,B)=>L<B);if(this.kdTree||this.buildingKdTree||this.buildKDTree(c),this.kdTree)return(function L(B,H,M,j){let V=H.point,te=p.kdAxisArray[M%j],ie=V,ne=!1;(function(ye,_e){let Le=ye[m],Re=_e[m],Be=En(Le)&&En(Re)?Le-Re:null,Me=ye[g],$e=_e[g],rt=En(Me)&&En($e)?Me-$e:0,Ge=x&&_e.marker?.radius||0;_e.dist=Math.sqrt((Be&&Be*Be||0)+rt*rt)-Ge,_e.distX=En(Be)?Math.abs(Be)-Ge:Number.MAX_VALUE})(B,V);let Z=(B[te]||0)-(V[te]||0)+(x&&V.marker?.radius||0),re=Z<0?"left":"right",ge=Z<0?"right":"left";return H[re]&&([ie,ne]=w(V,L(B,H[re],M+1,j),_)),H[ge]&&k(Math.sqrt(Z*Z),ie[_],ne)&&(ie=w(ie,L(B,H[ge],M+1,j),_)[0]),ie})(r,this.kdTree,S,S)}pointPlacementToXValue(){let{options:r,xAxis:a}=this,c=r.pointPlacement;return c==="between"&&(c=a.reversed?-.5:.5),Tn(c)?c*(r.pointRange||a.pointRange):0}isPointInside(r){let{chart:a,xAxis:c,yAxis:u}=this,{plotX:f=-1,plotY:p=-1}=r;return p>=0&&p<=(u?u.len:a.plotHeight)&&f>=0&&f<=(c?c.len:a.plotWidth)}drawTracker(){let r=this,a=r.options,c=a.trackByArea,u=[].concat((c?r.areaPath:r.graphPath)||[]),f=r.chart,p=f.pointer,m=f.renderer,g=f.options.tooltip?.snap||0,_=()=>{a.enableMouseTracking&&f.hoverSeries!==r&&r.onMouseOver()},S="rgba(192,192,192,"+(ZR?1e-4:.002)+")",x=r.tracker;x?x.attr({d:u}):r.graph&&(r.tracker=x=m.path(u).attr({visibility:r.visible?"inherit":"hidden",zIndex:2}).addClass(c?"highcharts-tracker-area":"highcharts-tracker-line").add(r.group),f.styledMode||x.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:S,fill:c?S:"none","stroke-width":r.graph.strokeWidth()+(c?0:2*g)}),[r.tracker,r.markerGroup,r.dataLabelsGroup].forEach(w=>{w&&(w.addClass("highcharts-tracker").on("mouseover",_).on("mouseout",k=>{p?.onTrackerMouseOut(k)}),a.cursor&&!f.styledMode&&w.css({cursor:a.cursor}),w.on("touchstart",_))})),Wt(this,"afterDrawTracker")}addPoint(r,a,c,u,f){let p,m,g=this.options,{chart:_,data:S,dataTable:x,xAxis:w}=this,k=w&&w.hasNames&&w.names,L=g.data,B=this.getColumn("x");a=zt(a,!0);let H={series:this};this.pointClass.prototype.applyOptions.apply(H,[r]);let M=H.x;if(m=B.length,this.requireSorting&&M<B[m-1])for(p=!0;m&&B[m-1]>M;)m--;x.setRow(H,m,!0,{addColumns:!1}),k&&H.name&&(k[M]=H.name),L?.splice(m,0,r),(p||this.processedData)&&(this.data.splice(m,0,null),this.processData()),g.legendType==="point"&&this.generatePoints(),c&&(S[0]&&S[0].remove?S[0].remove(!1):([S,L,...Object.values(x.getColumns())].filter(En).forEach(j=>{j.shift()}),x.rowCount-=1,Wt(x,"afterDeleteRows"))),f!==!1&&Wt(this,"addPoint",{point:H}),this.isDirty=!0,this.isDirtyData=!0,a&&_.redraw(u)}removePoint(r,a,c){let u=this,{chart:f,data:p,points:m,dataTable:g}=u,_=p[r],S=function(){[m?.length===p.length?m:void 0,p,u.options.data,...Object.values(g.getColumns())].filter(En).forEach(x=>{x.splice(r,1)}),g.rowCount-=1,Wt(g,"afterDeleteRows"),_?.destroy(),u.isDirty=!0,u.isDirtyData=!0,a&&f.redraw()};KR(c,f),a=zt(a,!0),_?_.firePointEvent("remove",null,S):S()}remove(r,a,c,u){let f=this,p=f.chart;function m(){f.destroy(u),p.isDirtyLegend=p.isDirtyBox=!0,p.linkSeries(u),zt(r,!0)&&p.redraw(a)}c!==!1?Wt(f,"remove",null,m):m()}update(r,a){Wt(this,"update",{options:r=nI(r,this.userOptions)});let c=this,u=c.chart,f=c.userOptions,p=c.initialType||c.type,m=u.options.plotOptions,g=Yo[p].prototype,_=c.finishedAnimating&&{animation:!1},S={},x,w,k=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],L=r.type||f.type||u.options.chart.type,B=!(this.hasDerivedData||L&&L!==this.type||r.keys!==void 0||r.pointStart!==void 0||r.pointInterval!==void 0||r.relativeXValue!==void 0||r.joinBy||r.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(M=>c.hasOptionChanged(M)));L=L||p,B?(k.push("data","isDirtyData","isDirtyCanvas","points","dataTable","processedData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),r.visible!==!1&&k.push("area","graph"),c.parallelArrays.forEach(function(M){k.push(M+"Data")}),r.data&&(r.dataSorting&&Ko(c.options.dataSorting,r.dataSorting),this.setData(r.data,!1))):this.dataTable.modified=this.dataTable,r=Jo(f,{index:f.index===void 0?c.index:f.index,pointStart:m?.series?.pointStart??f.pointStart??c.getColumn("x")[0]},!B&&{data:c.options.data},r,_),B&&r.data&&(r.data=c.options.data),(k=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(k)).forEach(function(M){k[M]=c[M],delete c[M]});let H=!1;if(Yo[L]){if(H=L!==c.type,c.remove(!1,!1,!1,!0),H)if(u.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(c,Yo[L].prototype);else{let M=Object.hasOwnProperty.call(c,"hcEvents")&&c.hcEvents;for(w in g)c[w]=void 0;Ko(c,Yo[L].prototype),M?c.hcEvents=M:delete c.hcEvents}}else Pu(17,!0,u,{missingModuleFor:L});if(k.forEach(function(M){c[M]=k[M]}),c.init(u,r),B&&this.points)for(let M of((x=c.options).visible===!1?(S.graphic=1,S.dataLabel=1):(this.hasMarkerChanged(x,f)&&(S.graphic=1),c.hasDataLabels?.()||(S.dataLabel=1)),this.points))M&&M.series&&(M.resolveColor(),Object.keys(S).length&&M.destroyElements(S),x.showInLegend===!1&&M.legendItem&&u.legend.destroyItem(M));c.initialType=p,u.linkSeries(),u.setSortedData(),H&&c.linkedSeries.length&&(c.isDirtyData=!0),Wt(this,"afterUpdate"),zt(a,!0)&&u.redraw(!!B&&void 0)}setName(r){this.name=this.options.name=this.userOptions.name=r,this.chart.isDirtyLegend=!0}hasOptionChanged(r){let a=this.chart,c=this.options[r],u=a.options.plotOptions,f=this.userOptions[r],p=zt(u?.[this.type]?.[r],u?.series?.[r]);return f&&!En(p)?c!==f:c!==zt(p,c)}onMouseOver(){let r=this.chart,a=r.hoverSeries;r.pointer?.setHoverChartIndex(),a&&a!==this&&a.onMouseOut(),this.options.events.mouseOver&&Wt(this,"mouseOver"),this.setState("hover"),r.hoverSeries=this}onMouseOut(){let r=this.options,a=this.chart,c=a.tooltip,u=a.hoverPoint;a.hoverSeries=null,u&&u.onMouseOut(),this&&r.events.mouseOut&&Wt(this,"mouseOut"),c&&!this.stickyTracking&&(!c.shared||this.noSharedTooltip)&&c.hide(),a.series.forEach(function(f){f.setState("",!0)})}setState(r,a){let c=this,u=c.options,f=c.graph,p=u.inactiveOtherPoints,m=u.states,g=zt(m[r||"normal"]&&m[r||"normal"].animation,c.chart.options.chart.animation),_=u.lineWidth,S=u.opacity;if(r=r||"",c.state!==r&&([c.group,c.markerGroup,c.dataLabelsGroup].forEach(function(x){x&&(c.state&&x.removeClass("highcharts-series-"+c.state),r&&x.addClass("highcharts-series-"+r))}),c.state=r,!c.chart.styledMode)){if(m[r]&&m[r].enabled===!1)return;if(r&&(_=m[r].lineWidth||_+(m[r].lineWidthPlus||0),S=zt(m[r].opacity,S)),f&&!f.dashstyle&&Tn(_))for(let x of[f,...this.zones.map(w=>w.graph)])x?.animate({"stroke-width":_},g);p||[c.group,c.markerGroup,c.dataLabelsGroup,c.labelBySeries].forEach(function(x){x&&x.animate({opacity:S},g)})}a&&p&&c.points&&c.setAllPointsToState(r||void 0)}setAllPointsToState(r){this.points.forEach(function(a){a.setState&&a.setState(r)})}setVisible(r,a){let c=this,u=c.chart,f=u.options.chart.ignoreHiddenSeries,p=c.visible;c.visible=r=c.options.visible=c.userOptions.visible=r===void 0?!p:r;let m=r?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(g=>{c[g]?.[m]()}),(u.hoverSeries===c||u.hoverPoint?.series===c)&&c.onMouseOut(),c.legendItem&&u.legend.colorizeItem(c,r),c.isDirty=!0,c.options.stacking&&u.series.forEach(g=>{g.options.stacking&&g.visible&&(g.isDirty=!0)}),c.linkedSeries.forEach(g=>{g.setVisible(r,!1)}),f&&(u.isDirtyBox=!0),Wt(c,m),a!==!1&&u.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(r){this.selected=r=this.options.selected=r===void 0?!this.selected:r,this.checkbox&&(this.checkbox.checked=r),Wt(this,r?"select":"unselect")}shouldShowTooltip(r,a,c={}){return c.series=this,c.visiblePlotOnly=!0,this.chart.isInsidePlot(r,a,c)}drawLegendSymbol(r,a){T0[this.options.legendSymbol||"rectangle"]?.call(this,r,a)}}Zo.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:b}=this.series.chart;return typeof this.y!="number"?"":b(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},Zo.types=Jt.seriesTypes,Zo.registerType=Jt.registerSeriesType,Ko(Zo.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:as,requireSorting:!0,sorted:!0}),Jt.series=Zo;let Ei=Zo,{animObject:aI,setAnimation:lI}=Ln,{registerEventOptions:D0}=du,{composed:cI,marginNames:F0}=N,{distribute:uI}=ru,{format:hI}=$i,{addEvent:Lu,createElement:fI,css:dI,defined:xp,discardElement:pI,find:mI,fireEvent:Rr,isNumber:B0,merge:qs,pick:Pi,pushUnique:gI,relativeLength:yI,stableSort:vI,syncTimeout:bI}=we;class Sp{constructor(r,a){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=r,this.setOptions(a),a.enabled&&(this.render(),D0(this,a),Lu(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),Lu(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(r){let a=Pi(r.padding,8);this.options=r,this.chart.styledMode||(this.itemStyle=r.itemStyle,this.itemHiddenStyle=qs(this.itemStyle,r.itemHiddenStyle)),this.itemMarginTop=r.itemMarginTop,this.itemMarginBottom=r.itemMarginBottom,this.padding=a,this.initialItemY=a-5,this.symbolWidth=Pi(r.symbolWidth,16),this.pages=[],this.proximate=r.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(r,a){let c=this.chart;this.setOptions(qs(!0,this.options,r)),"events"in this.options&&D0(this,this.options),this.destroy(),c.isDirtyLegend=c.isDirtyBox=!0,Pi(a,!0)&&c.redraw(),Rr(this,"afterUpdate",{redraw:a})}colorizeItem(r,a){let c=r.color,{area:u,group:f,label:p,line:m,symbol:g}=r.legendItem||{};if((r instanceof Ei||r instanceof as)&&(r.color=r.options?.legendSymbolColor||c),f?.[a?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:_={}}=this,S=_.color,{fillColor:x,fillOpacity:w,lineColor:k,marker:L}=r.options,B=H=>(!a&&(H.fill&&(H.fill=S),H.stroke&&(H.stroke=S)),H);p?.css(qs(a?this.itemStyle:_)),m?.attr(B({stroke:k||r.color})),g&&g.attr(B(L&&g.isMarker?r.pointAttribs():{fill:r.color})),u?.attr(B({fill:x||r.color,"fill-opacity":x?1:w??.75}))}r.color=c,Rr(this,"afterColorizeItem",{item:r,visible:a})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(r){let{group:a,x:c=0,y:u=0}=r.legendItem||{},f=this.options,p=f.symbolPadding,m=!f.rtl,g=r.checkbox;if(a&&a.element){let _={translateX:m?c:this.legendWidth-c-2*p-4,translateY:u};a[xp(a.translateY)?"animate":"attr"](_,void 0,()=>{Rr(this,"afterPositionItem",{item:r})})}g&&(g.x=c,g.y=u)}destroyItem(r){let a=r.checkbox,c=r.legendItem||{};for(let u of["group","label","line","symbol"])c[u]&&(c[u]=c[u].destroy());a&&pI(a),r.legendItem=void 0}destroy(){for(let r of this.getAllItems())this.destroyItem(r);for(let r of["clipRect","up","down","pager","nav","box","title","group"])this[r]&&(this[r]=this[r].destroy());this.display=null}positionCheckboxes(){let r,a=this.group&&this.group.alignAttr,c=this.clipHeight||this.legendHeight,u=this.titleHeight;a&&(r=a.translateY,this.allItems.forEach(function(f){let p,m=f.checkbox;m&&(p=r+u+m.y+(this.scrollOffset||0)+3,dI(m,{left:a.translateX+f.checkboxOffset+m.x-20+"px",top:p+"px",display:this.proximate||p>r-6&&p<r+c-6?"":"none"}))},this))}renderTitle(){let r=this.options,a=this.padding,c=r.title,u,f=0;c.text&&(this.title||(this.title=this.chart.renderer.label(c.text,a-3,a-4,void 0,void 0,void 0,r.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(c.style),this.title.add(this.group)),c.width||this.title.css({width:this.maxLegendWidth+"px"}),f=(u=this.title.getBBox()).height,this.offsetWidth=u.width,this.contentGroup.attr({translateY:f})),this.titleHeight=f}setText(r){let a=this.options;r.legendItem.label.attr({text:a.labelFormat?hI(a.labelFormat,r,this.chart):a.labelFormatter.call(r)})}renderItem(r){let a=r.legendItem=r.legendItem||{},c=this.chart,u=c.renderer,f=this.options,p=f.layout==="horizontal",m=this.symbolWidth,g=f.symbolPadding||0,_=this.itemStyle,S=this.itemHiddenStyle,x=p?Pi(f.itemDistance,20):0,w=!f.rtl,k=!r.series,L=!k&&r.series.drawLegendSymbol?r.series:r,B=L.options,H=!!this.createCheckboxForItem&&B&&B.showCheckbox,M=f.useHTML,j=r.options.className,V=a.label,te=m+g+x+(H?20:0);!V&&(a.group=u.g("legend-item").addClass("highcharts-"+L.type+"-series highcharts-color-"+r.colorIndex+(j?" "+j:"")+(k?" highcharts-series-"+r.index:"")).attr({zIndex:1}).add(this.scrollGroup),a.label=V=u.text("",w?m+g:-g,this.baseline||0,M),c.styledMode||V.css(qs(r.visible?_:S)),V.attr({align:w?"left":"right",zIndex:2}).add(a.group),!this.baseline&&(this.fontMetrics=u.fontMetrics(V),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,V.attr("y",this.baseline),this.symbolHeight=Pi(f.symbolHeight,this.fontMetrics.f),f.squareSymbol&&(this.symbolWidth=Pi(f.symbolWidth,Math.max(this.symbolHeight,16)),te=this.symbolWidth+g+x+(H?20:0),w&&V.attr("x",this.symbolWidth+g))),L.drawLegendSymbol(this,r),this.setItemEvents&&this.setItemEvents(r,V,M)),H&&!r.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(r),this.colorizeItem(r,r.visible),(c.styledMode||!_.width)&&V.css({width:(f.itemWidth||this.widthOption||c.spacingBox.width)-te+"px"}),this.setText(r);let ie=V.getBBox(),ne=this.fontMetrics&&this.fontMetrics.h||0;r.itemWidth=r.checkboxOffset=f.itemWidth||a.labelWidth||ie.width+te,this.maxItemWidth=Math.max(this.maxItemWidth,r.itemWidth),this.totalItemWidth+=r.itemWidth,this.itemHeight=r.itemHeight=Math.round(a.labelHeight||(ie.height>1.5*ne?ie.height:ne))}layoutItem(r){let a=this.options,c=this.padding,u=a.layout==="horizontal",f=r.itemHeight,p=this.itemMarginBottom,m=this.itemMarginTop,g=u?Pi(a.itemDistance,20):0,_=this.maxLegendWidth,S=a.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:r.itemWidth,x=r.legendItem||{};u&&this.itemX-c+S>_&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=m+this.lastLineHeight+p),this.lastLineHeight=0),this.lastItemY=m+this.itemY+p,this.lastLineHeight=Math.max(f,this.lastLineHeight),x.x=this.itemX,x.y=this.itemY,u?this.itemX+=S:(this.itemY+=m+f+p,this.lastLineHeight=f),this.offsetWidth=this.widthOption||Math.max((u?this.itemX-c-(r.checkbox?0:g):S)+c,this.offsetWidth)}getAllItems(){let r=[];return this.chart.series.forEach(function(a){let c=a&&a.options;a&&Pi(c.showInLegend,!xp(c.linkedTo)&&void 0,!0)&&(r=r.concat((a.legendItem||{}).labels||(c.legendType==="point"?a.data:a)))}),Rr(this,"afterGetAllItems",{allItems:r}),r}getAlignment(){let r=this.options;return this.proximate?r.align.charAt(0)+"tv":r.floating?"":r.align.charAt(0)+r.verticalAlign.charAt(0)+r.layout.charAt(0)}adjustMargins(r,a){let c=this.chart,u=this.options,f=this.getAlignment();f&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(p,m){p.test(f)&&!xp(r[m])&&(c[F0[m]]=Math.max(c[F0[m]],c.legend[(m+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][m]*u[m%2?"x":"y"]+Pi(u.margin,12)+a[m]+(c.titleOffset[m]||0)))})}proximatePositions(){let r,a=this.chart,c=[],u=this.options.align==="left";for(let f of(this.allItems.forEach(function(p){let m,g,_=u,S,x;p.yAxis&&(p.xAxis.options.reversed&&(_=!_),p.points&&(m=mI(_?p.points:p.points.slice(0).reverse(),function(w){return B0(w.plotY)})),g=this.itemMarginTop+p.legendItem.label.getBBox().height+this.itemMarginBottom,x=p.yAxis.top-a.plotTop,S=p.visible?(m?m.plotY:p.yAxis.height)+(x-.3*g):x+p.yAxis.height,c.push({target:S,size:g,item:p}))},this),uI(c,a.plotHeight)))r=f.item.legendItem||{},B0(f.pos)&&(r.y=a.plotTop-a.spacing[0]+f.pos)}render(){let r=this.chart,a=r.renderer,c=this.options,u=this.padding,f=this.getAllItems(),p,m,g,_=this.group,S,x=this.box;this.itemX=u,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=yI(c.width,r.spacingBox.width-u),S=r.spacingBox.width-2*u-c.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(S/=2),this.maxLegendWidth=this.widthOption||S,_||(this.group=_=a.g("legend").addClass(c.className||"").attr({zIndex:7}).add(),this.contentGroup=a.g().attr({zIndex:1}).add(_),this.scrollGroup=a.g().add(this.contentGroup)),this.renderTitle(),vI(f,(w,k)=>(w.options&&w.options.legendIndex||0)-(k.options&&k.options.legendIndex||0)),c.reversed&&f.reverse(),this.allItems=f,this.display=p=!!f.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,f.forEach(this.renderItem,this),f.forEach(this.layoutItem,this),m=(this.widthOption||this.offsetWidth)+u,g=this.lastItemY+this.lastLineHeight+this.titleHeight,g=this.handleOverflow(g)+u,x||(this.box=x=a.rect().addClass("highcharts-legend-box").attr({r:c.borderRadius}).add(_)),r.styledMode||x.attr({stroke:c.borderColor,"stroke-width":c.borderWidth||0,fill:c.backgroundColor||"none"}).shadow(c.shadow),m>0&&g>0&&x[x.placed?"animate":"attr"](x.crisp.call({},{x:0,y:0,width:m,height:g},x.strokeWidth())),_[p?"show":"hide"](),r.styledMode&&_.getStyle("display")==="none"&&(m=g=0),this.legendWidth=m,this.legendHeight=g,p&&this.align(),this.proximate||this.positionItems(),Rr(this,"afterRender")}align(r=this.chart.spacingBox){let a=this.chart,c=this.options,u=r.y;/(lth|ct|rth)/.test(this.getAlignment())&&a.titleOffset[0]>0?u+=a.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&a.titleOffset[2]>0&&(u-=a.titleOffset[2]),u!==r.y&&(r=qs(r,{y:u})),a.hasRendered||(this.group.placed=!1),this.group.align(qs(c,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":c.verticalAlign}),!0,r)}handleOverflow(r){let a=this,c=this.chart,u=c.renderer,f=this.options,p=f.y,m=f.verticalAlign==="top",g=this.padding,_=f.maxHeight,S=f.navigation,x=Pi(S.animation,!0),w=S.arrowSize||12,k=this.pages,L=this.allItems,B=function(Z){typeof Z=="number"?ne.attr({height:Z}):ne&&(a.clipRect=ne.destroy(),a.contentGroup.clip()),a.contentGroup.div&&(a.contentGroup.div.style.clip=Z?"rect("+g+"px,9999px,"+(g+Z)+"px,0)":"auto")},H=function(Z){return a[Z]=u.circle(0,0,1.3*w).translate(w/2,w/2).add(ie),c.styledMode||a[Z].attr("fill","rgba(0,0,0,0.0001)"),a[Z]},M,j,V,te=c.spacingBox.height+(m?-p:p)-g,ie=this.nav,ne=this.clipRect;return f.layout!=="horizontal"||f.verticalAlign==="middle"||f.floating||(te/=2),_&&(te=Math.min(te,_)),k.length=0,r&&te>0&&r>te&&S.enabled!==!1?(this.clipHeight=M=Math.max(te-20-this.titleHeight-g,0),this.currentPage=Pi(this.currentPage,1),this.fullHeight=r,L.forEach((Z,re)=>{let ge=(V=Z.legendItem||{}).y||0,ye=Math.round(V.label.getBBox().height),_e=k.length;(!_e||ge-k[_e-1]>M&&(j||ge)!==k[_e-1])&&(k.push(j||ge),_e++),V.pageIx=_e-1,j&&((L[re-1].legendItem||{}).pageIx=_e-1),re===L.length-1&&ge+ye-k[_e-1]>M&&ge>k[_e-1]&&(k.push(ge),V.pageIx=_e),ge!==j&&(j=ge)}),ne||(ne=a.clipRect=u.clipRect(0,g-2,9999,0),a.contentGroup.clip(ne)),B(M),ie||(this.nav=ie=u.g().attr({zIndex:1}).add(this.group),this.up=u.symbol("triangle",0,0,w,w).add(ie),H("upTracker").on("click",function(){a.scroll(-1,x)}),this.pager=u.text("",15,10).addClass("highcharts-legend-navigation"),!c.styledMode&&S.style&&this.pager.css(S.style),this.pager.add(ie),this.down=u.symbol("triangle-down",0,0,w,w).add(ie),H("downTracker").on("click",function(){a.scroll(1,x)})),a.scroll(0),r=te):ie&&(B(),this.nav=ie.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),r}scroll(r,a){let c=this.chart,u=this.pages,f=u.length,p=this.clipHeight,m=this.options.navigation,g=this.pager,_=this.padding,S=this.currentPage+r;S>f&&(S=f),S>0&&(a!==void 0&&lI(a,c),this.nav.attr({translateX:_,translateY:p+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(x){x.attr({class:S===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),g.attr({text:S+"/"+f}),[this.down,this.downTracker].forEach(function(x){x.attr({x:18+this.pager.getBBox().width,class:S===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),c.styledMode||(this.up.attr({fill:S===1?m.inactiveColor:m.activeColor}),this.upTracker.css({cursor:S===1?"default":"pointer"}),this.down.attr({fill:S===f?m.inactiveColor:m.activeColor}),this.downTracker.css({cursor:S===f?"default":"pointer"})),this.scrollOffset=-u[S-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=S,this.positionCheckboxes(),bI(()=>{Rr(this,"afterScroll",{currentPage:S})},aI(Pi(a,c.renderer.globalAnimation,!0)).duration))}setItemEvents(r,a,c){let u=this,f=r.legendItem||{},p=u.chart.renderer.boxWrapper,m=r instanceof as,g=r instanceof Ei,_="highcharts-legend-"+(m?"point":"series")+"-active",S=u.chart.styledMode,x=c?[a,f.symbol]:[f.group],w=k=>{u.allItems.forEach(L=>{r!==L&&[L].concat(L.linkedSeries||[]).forEach(B=>{B.setState(k,!m)})})};for(let k of x)k&&k.on("mouseover",function(){r.visible&&w("inactive"),r.setState("hover"),r.visible&&p.addClass(_),S||a.css(u.options.itemHoverStyle)}).on("mouseout",function(){u.chart.styledMode||a.css(qs(r.visible?u.itemStyle:u.itemHiddenStyle)),w(""),p.removeClass(_),r.setState()}).on("click",function(L){let B=function(){r.setVisible&&r.setVisible(),w(r.visible?"inactive":"")};p.removeClass(_),Rr(u,"itemClick",{browserEvent:L,legendItem:r},B),m?r.firePointEvent("legendItemClick",{browserEvent:L}):g&&Rr(r,"legendItemClick",{browserEvent:L})})}createCheckboxForItem(r){r.checkbox=fI("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:r.selected,defaultChecked:r.selected},this.options.itemCheckboxStyle,this.chart.container),Lu(r.checkbox,"click",function(a){let c=a.target;Rr(r.series||r,"checkboxClick",{checked:c.checked,item:r},function(){r.select()})})}}(function(b){b.compose=function(r){gI(cI,"Core.Legend")&&Lu(r,"beforeMargins",function(){this.legend=new b(this,this.options.legend)})}})(Sp||(Sp={}));let H0=Sp,{animate:wp,animObject:_I,setAnimation:Tp}=Ln,{defaultOptions:Cp}=Ne,{numberFormat:EI}=$i,{registerEventOptions:U0}=du,{charts:Ys,doc:pl,marginNames:$0,svg:xI,win:j0}=N,{seriesTypes:Ap}=Jt,{addEvent:Op,attr:V0,createElement:kp,css:zi,defined:cs,diffObjects:W0,discardElement:SI,erase:wI,error:Pp,extend:us,find:Lp,fireEvent:vt,getAlignFactor:TI,getStyle:Rp,isArray:CI,isNumber:Qo,isObject:AI,isString:Ru,merge:Ir,objectEach:Ip,pick:Rn,pInt:OI,relativeLength:z0,removeEvent:X0,splat:Iu,syncTimeout:kI,uniqueKey:PI}=we;class hs{static chart(r,a,c){return new hs(r,a,c)}constructor(r,a,c){this.sharedClips={};let u=[...arguments];(Ru(r)||r.nodeName)&&(this.renderTo=u.shift()),this.init(u[0],u[1])}setZoomOptions(){let r=this.options.chart,a=r.zooming;this.zooming={...a,type:Rn(r.zoomType,a.type),key:Rn(r.zoomKey,a.key),pinchType:Rn(r.pinchType,a.pinchType),singleTouch:Rn(r.zoomBySingleTouch,a.singleTouch,!1),resetButton:Ir(a.resetButton,r.resetZoomButton)}}init(r,a){vt(this,"init",{args:arguments},function(){let c=Ir(Cp,r),u=c.chart,f=this.renderTo||u.renderTo;this.userOptions=us({},r),(this.renderTo=Ru(f)?pl.getElementById(f):f)||Pp(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=a,this.isResizing=0,this.options=c,this.axes=[],this.series=[],this.locale=c.lang.locale??this.renderTo.closest("[lang]")?.lang,this.time=new kt(us(c.time||{},{locale:this.locale})),c.time=this.time.options,this.numberFormatter=(u.numberFormatter||EI).bind(this),this.styledMode=u.styledMode,this.hasCartesianSeries=u.showAxes,this.index=Ys.length,Ys.push(this),N.chartCount++,U0(this,u),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),vt(this,"afterInit"),this.firstRender()})}initSeries(r){let a=this.options.chart,c=r.type||a.type,u=Ap[c];u||Pp(17,!0,this,{missingModuleFor:c});let f=new u;return typeof f.init=="function"&&f.init(this,r),f}setSortedData(){this.getSeriesOrderByLinks().forEach(function(r){r.points||r.data||!r.enabledDataSorting||r.setData(r.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(r,a){return r.linkedSeries.length||a.linkedSeries.length?a.linkedSeries.length-r.linkedSeries.length:0})}orderItems(r,a=0){let c=this[r],u=this.options[r]=Iu(this.options[r]).slice(),f=this.userOptions[r]=this.userOptions[r]?Iu(this.userOptions[r]).slice():[];if(this.hasRendered&&(u.splice(a),f.splice(a)),c)for(let p=a,m=c.length;p<m;++p){let g=c[p];g&&(g.index=p,g instanceof Ei&&(g.name=g.getName()),g.options.isInternal||(u[p]=g.options,f[p]=g.userOptions))}}isInsidePlot(r,a,c={}){let{inverted:u,plotBox:f,plotLeft:p,plotTop:m,scrollablePlotBox:g}=this,{scrollLeft:_=0,scrollTop:S=0}=c.visiblePlotOnly&&this.scrollablePlotArea?.scrollingContainer||{},x=c.series,w=c.visiblePlotOnly&&g||f,k=c.inverted?a:r,L=c.inverted?r:a,B={x:k,y:L,isInsidePlot:!0,options:c};if(!c.ignoreX){let H=x&&(u&&!this.polar?x.yAxis:x.xAxis)||{pos:p,len:1/0},M=c.paneCoordinates?H.pos+k:p+k;M>=Math.max(_+p,H.pos)&&M<=Math.min(_+p+w.width,H.pos+H.len)||(B.isInsidePlot=!1)}if(!c.ignoreY&&B.isInsidePlot){let H=!u&&c.axis&&!c.axis.isXAxis&&c.axis||x&&(u?x.xAxis:x.yAxis)||{pos:m,len:1/0},M=c.paneCoordinates?H.pos+L:m+L;M>=Math.max(S+m,H.pos)&&M<=Math.min(S+m+w.height,H.pos+H.len)||(B.isInsidePlot=!1)}return vt(this,"afterIsInsidePlot",B),B.isInsidePlot}redraw(r){vt(this,"beforeRedraw");let a=this.hasCartesianSeries?this.axes:this.colorAxis||[],c=this.series,u=this.pointer,f=this.legend,p=this.userOptions.legend,m=this.renderer,g=m.isHidden(),_=[],S,x,w,k=this.isDirtyBox,L=this.isDirtyLegend,B;for(m.rootFontSize=m.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),Tp(!!this.hasRendered&&r,this),g&&this.temporaryDisplay(),this.layOutTitles(!1),w=c.length;w--;)if(((B=c[w]).options.stacking||B.options.centerInCategory)&&(x=!0,B.isDirty)){S=!0;break}if(S)for(w=c.length;w--;)(B=c[w]).options.stacking&&(B.isDirty=!0);c.forEach(function(H){H.isDirty&&(H.options.legendType==="point"?(typeof H.updateTotals=="function"&&H.updateTotals(),L=!0):p&&(p.labelFormatter||p.labelFormat)&&(L=!0)),H.isDirtyData&&vt(H,"updatedData")}),L&&f&&f.options.enabled&&(f.render(),this.isDirtyLegend=!1),x&&this.getStacks(),a.forEach(function(H){H.updateNames(),H.setScale()}),this.getMargins(),a.forEach(function(H){H.isDirty&&(k=!0)}),a.forEach(function(H){let M=H.min+","+H.max;H.extKey!==M&&(H.extKey=M,_.push(function(){vt(H,"afterSetExtremes",us(H.eventArgs,H.getExtremes())),delete H.eventArgs})),(k||x)&&H.redraw()}),k&&this.drawChartBox(),vt(this,"predraw"),c.forEach(function(H){(k||H.isDirty)&&H.visible&&H.redraw(),H.isDirtyData=!1}),u&&u.reset(!0),m.draw(),vt(this,"redraw"),vt(this,"render"),g&&this.temporaryDisplay(!0),_.forEach(function(H){H.call()})}get(r){let a=this.series;function c(f){return f.id===r||f.options&&f.options.id===r}let u=Lp(this.axes,c)||Lp(this.series,c);for(let f=0;!u&&f<a.length;f++)u=Lp(a[f].points||[],c);return u}createAxes(){let r=this.userOptions;for(let a of(vt(this,"createAxes"),["xAxis","yAxis"]))for(let c of r[a]=Iu(r[a]||{}))new Xo(this,c,a);vt(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce((r,a)=>(a.getPointsCollection().forEach(c=>{Rn(c.selectedStaging,c.selected)&&r.push(c)}),r),[])}getSelectedSeries(){return this.series.filter(r=>r.selected)}setTitle(r,a,c){this.applyDescription("title",r),this.applyDescription("subtitle",a),this.applyDescription("caption",void 0),this.layOutTitles(c)}applyDescription(r,a){let c=this,u=this.options[r]=Ir(this.options[r],a),f=this[r];f&&a&&(this[r]=f=f.destroy()),u&&!f&&((f=this.renderer.text(u.text,0,0,u.useHTML).attr({align:u.align,class:"highcharts-"+r,zIndex:u.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(p,m){c.applyDescription(r,p),c.layOutTitles(m)},this.styledMode||f.css(us(r==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},u.style)),f.textPxLength=f.getBBox().width,f.css({whiteSpace:u.style?.whiteSpace}),this[r]=f)}layOutTitles(r=!0){let a=[0,0,0],{options:c,renderer:u,spacingBox:f}=this;["title","subtitle","caption"].forEach(m=>{let g=this[m],_=this.options[m],S=Ir(f),x=g?.textPxLength||0;if(g&&_){vt(this,"layOutTitle",{alignTo:S,key:m,textPxLength:x});let w=u.fontMetrics(g),k=w.b,L=w.h,B=_.verticalAlign||"top",H=B==="top",M=H&&_.minScale||1,j=m==="title"?H?-3:0:H?a[0]+2:0,V=Math.min(S.width/x,1),te=Math.max(M,V),ie=Ir({y:B==="bottom"?k:j+k},{align:m==="title"?V<M?"left":"center":this.title?.alignValue},_),ne=_.width||(V>M?this.chartWidth:S.width)/te;g.alignValue!==ie.align&&(g.placed=!1);let Z=Math.round(g.css({width:`${ne}px`}).getBBox(_.useHTML).height);if(ie.height=Z,g.align(ie,!1,S).attr({align:ie.align,scaleX:te,scaleY:te,"transform-origin":`${S.x+x*te*TI(ie.align)} ${L}`}),!_.floating){let re=Z*(Z<1.2*L?1:te);B==="top"?a[0]=Math.ceil(a[0]+re):B==="bottom"&&(a[2]=Math.ceil(a[2]+re))}}},this),a[0]&&(c.title?.verticalAlign||"top")==="top"&&(a[0]+=c.title?.margin||0),a[2]&&c.caption?.verticalAlign==="bottom"&&(a[2]+=c.caption?.margin||0);let p=!this.titleOffset||this.titleOffset.join(",")!==a.join(",");this.titleOffset=a,vt(this,"afterLayOutTitles"),!this.isDirtyBox&&p&&(this.isDirtyBox=this.isDirtyLegend=p,this.hasRendered&&r&&this.isDirtyBox&&this.redraw())}getContainerBox(){let r=[].map.call(this.renderTo.children,c=>{if(c!==this.container){let u=c.style.display;return c.style.display="none",[c,u]}}),a={width:Rp(this.renderTo,"width",!0)||0,height:Rp(this.renderTo,"height",!0)||0};return r.filter(Boolean).forEach(([c,u])=>{c.style.display=u}),a}getChartSize(){let r=this.options.chart,a=r.width,c=r.height,u=this.getContainerBox(),f=u.height<=1||!this.renderTo.parentElement?.style.height&&this.renderTo.style.height==="100%";this.chartWidth=Math.max(0,a||u.width||600),this.chartHeight=Math.max(0,z0(c,this.chartWidth)||(f?400:u.height)),this.containerBox=u}temporaryDisplay(r){let a=this.renderTo,c;if(r)for(;a&&a.style;)a.hcOrigStyle&&(zi(a,a.hcOrigStyle),delete a.hcOrigStyle),a.hcOrigDetached&&(pl.body.removeChild(a),a.hcOrigDetached=!1),a=a.parentNode;else for(;a&&a.style&&(pl.body.contains(a)||a.parentNode||(a.hcOrigDetached=!0,pl.body.appendChild(a)),(Rp(a,"display",!1)==="none"||a.hcOricDetached)&&(a.hcOrigStyle={display:a.style.display,height:a.style.height,overflow:a.style.overflow},c={display:"block",overflow:"hidden"},a!==this.renderTo&&(c.height=0),zi(a,c),a.offsetWidth||a.style.setProperty("display","block","important")),(a=a.parentNode)!==pl.body););}setClassName(r){this.container.className="highcharts-container "+(r||"")}getContainer(){let r,a=this.options,c=a.chart,u="data-highcharts-chart",f=PI(),p=this.renderTo,m=OI(V0(p,u));Qo(m)&&Ys[m]&&Ys[m].hasRendered&&Ys[m].destroy(),V0(p,u,this.index),p.innerHTML=Vt.emptyHTML,c.skipClone||p.offsetWidth||this.temporaryDisplay(),this.getChartSize();let g=this.chartHeight,_=this.chartWidth;zi(p,{overflow:"hidden"}),this.styledMode||(r=us({position:"relative",overflow:"hidden",width:_+"px",height:g+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},c.style||{}));let S=kp("div",{id:f},r,p);this.container=S,this.getChartSize(),_===this.chartWidth||(_=this.chartWidth,this.styledMode||zi(S,{width:Rn(c.style?.width,_+"px")})),this.containerBox=this.getContainerBox(),this._cursor=S.style.cursor;let x=c.renderer||!xI?rl.getRendererType(c.renderer):fu;if(this.renderer=new x(S,_,g,void 0,c.forExport,a.exporting&&a.exporting.allowHTML,this.styledMode),Tp(void 0,this),this.setClassName(c.className),this.styledMode)for(let w in a.defs)this.renderer.definition(a.defs[w]);else this.renderer.setStyle(c.style);this.renderer.chartIndex=this.index,vt(this,"afterGetContainer")}getMargins(r){let{spacing:a,margin:c,titleOffset:u}=this;this.resetMargins(),u[0]&&!cs(c[0])&&(this.plotTop=Math.max(this.plotTop,u[0]+a[0])),u[2]&&!cs(c[2])&&(this.marginBottom=Math.max(this.marginBottom,u[2]+a[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(c,a),vt(this,"getMargins"),r||this.getAxisMargins()}getAxisMargins(){let r=this,a=r.axisOffset=[0,0,0,0],c=r.colorAxis,u=r.margin,f=function(p){p.forEach(function(m){m.visible&&m.getOffset()})};r.hasCartesianSeries?f(r.axes):c&&c.length&&f(c),$0.forEach(function(p,m){cs(u[m])||(r[p]+=a[m])}),r.setChartSize()}getOptions(){return W0(this.userOptions,Cp)}reflow(r){let a=this,c=a.containerBox,u=a.getContainerBox();delete a.pointer?.chartPosition,!a.isPrinting&&!a.isResizing&&c&&u.width&&((u.width!==c.width||u.height!==c.height)&&(we.clearTimeout(a.reflowTimeout),a.reflowTimeout=kI(function(){a.container&&a.setSize(void 0,void 0,!1)},r?100:0)),a.containerBox=u)}setReflow(){let r=this,a=c=>{r.options?.chart.reflow&&r.hasLoaded&&r.reflow(c)};if(typeof ResizeObserver=="function")new ResizeObserver(a).observe(r.renderTo);else{let c=Op(j0,"resize",a);Op(this,"destroy",c)}}setSize(r,a,c){let u=this,f=u.renderer;u.isResizing+=1,Tp(c,u);let p=f.globalAnimation;u.oldChartHeight=u.chartHeight,u.oldChartWidth=u.chartWidth,r!==void 0&&(u.options.chart.width=r),a!==void 0&&(u.options.chart.height=a),u.getChartSize();let{chartWidth:m,chartHeight:g,scrollablePixelsX:_=0,scrollablePixelsY:S=0}=u;(u.isDirtyBox||m!==u.oldChartWidth||g!==u.oldChartHeight)&&(u.styledMode||(p?wp:zi)(u.container,{width:`${m+_}px`,height:`${g+S}px`},p),u.setChartSize(!0),f.setSize(m,g,p),u.axes.forEach(function(x){x.isDirty=!0,x.setScale()}),u.isDirtyLegend=!0,u.isDirtyBox=!0,u.layOutTitles(),u.getMargins(),u.redraw(p),u.oldChartHeight=void 0,vt(u,"resize"),setTimeout(()=>{u&&vt(u,"endResize")},_I(p).duration)),u.isResizing-=1}setChartSize(r){let a,c,u,f,{chartHeight:p,chartWidth:m,inverted:g,spacing:_,renderer:S}=this,x=this.clipOffset,w=Math[g?"floor":"round"];this.plotLeft=a=Math.round(this.plotLeft),this.plotTop=c=Math.round(this.plotTop),this.plotWidth=u=Math.max(0,Math.round(m-a-this.marginRight)),this.plotHeight=f=Math.max(0,Math.round(p-c-this.marginBottom)),this.plotSizeX=g?f:u,this.plotSizeY=g?u:f,this.spacingBox=S.spacingBox={x:_[3],y:_[0],width:m-_[3]-_[1],height:p-_[0]-_[2]},this.plotBox=S.plotBox={x:a,y:c,width:u,height:f},x&&(this.clipBox={x:w(x[3]),y:w(x[0]),width:w(this.plotSizeX-x[1]-x[3]),height:w(this.plotSizeY-x[0]-x[2])}),r||(this.axes.forEach(function(k){k.setAxisSize(),k.setAxisTranslation()}),S.alignElements()),vt(this,"afterSetChartSize",{skipAxes:r})}resetMargins(){vt(this,"resetMargins");let r=this,a=r.options.chart,c=a.plotBorderWidth||0,u=c/2;["margin","spacing"].forEach(function(f){let p=a[f],m=AI(p)?p:[p,p,p,p];["Top","Right","Bottom","Left"].forEach(function(g,_){r[f][_]=Rn(a[f+g],m[_])})}),$0.forEach(function(f,p){r[f]=Rn(r.margin[p],r.spacing[p])}),r.axisOffset=[0,0,0,0],r.clipOffset=[u,u,u,u],r.plotBorderWidth=c}drawChartBox(){let r=this.options.chart,a=this.renderer,c=this.chartWidth,u=this.chartHeight,f=this.styledMode,p=this.plotBGImage,m=r.backgroundColor,g=r.plotBackgroundColor,_=r.plotBackgroundImage,S=this.plotLeft,x=this.plotTop,w=this.plotWidth,k=this.plotHeight,L=this.plotBox,B=this.clipRect,H=this.clipBox,M=this.chartBackground,j=this.plotBackground,V=this.plotBorder,te,ie,ne,Z="animate";M||(this.chartBackground=M=a.rect().addClass("highcharts-background").add(),Z="attr"),f?te=ie=M.strokeWidth():(ie=(te=r.borderWidth||0)+(r.shadow?8:0),ne={fill:m||"none"},(te||M["stroke-width"])&&(ne.stroke=r.borderColor,ne["stroke-width"]=te),M.attr(ne).shadow(r.shadow)),M[Z]({x:ie/2,y:ie/2,width:c-ie-te%2,height:u-ie-te%2,r:r.borderRadius}),Z="animate",j||(Z="attr",this.plotBackground=j=a.rect().addClass("highcharts-plot-background").add()),j[Z](L),!f&&(j.attr({fill:g||"none"}).shadow(r.plotShadow),_&&(p?(_!==p.attr("href")&&p.attr("href",_),p.animate(L)):this.plotBGImage=a.image(_,S,x,w,k).add())),B?B.animate({width:H.width,height:H.height}):this.clipRect=a.clipRect(H),Z="animate",V||(Z="attr",this.plotBorder=V=a.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),f||V.attr({stroke:r.plotBorderColor,"stroke-width":r.plotBorderWidth||0,fill:"none"}),V[Z](V.crisp({x:S,y:x,width:w,height:k},-V.strokeWidth())),this.isDirtyBox=!1,vt(this,"afterDrawChartBox")}propFromSeries(){let r,a,c,u=this,f=u.options.chart,p=u.options.series;["inverted","angular","polar"].forEach(function(m){for(a=Ap[f.type],c=f[m]||a&&a.prototype[m],r=p&&p.length;!c&&r--;)(a=Ap[p[r].type])&&a.prototype[m]&&(c=!0);u[m]=c})}linkSeries(r){let a=this,c=a.series;c.forEach(function(u){u.linkedSeries.length=0}),c.forEach(function(u){let{linkedTo:f}=u.options;if(Ru(f)){let p;(p=f===":previous"?a.series[u.index-1]:a.get(f))&&p.linkedParent!==u&&(p.linkedSeries.push(u),u.linkedParent=p,p.enabledDataSorting&&u.setDataSortingOptions(),u.visible=Rn(u.options.visible,p.options.visible,u.visible))}}),vt(this,"afterLinkSeries",{isUpdating:r})}renderSeries(){this.series.forEach(function(r){r.translate(),r.render()})}render(){let r=this.axes,a=this.colorAxis,c=this.renderer,u=this.options.chart.axisLayoutRuns||2,f=S=>{S.forEach(x=>{x.visible&&x.render()})},p=0,m=!0,g,_=0;for(let S of(this.setTitle(),vt(this,"beforeMargins"),this.getStacks?.(),this.getMargins(!0),this.setChartSize(),r)){let{options:x}=S,{labels:w}=x;if(this.hasCartesianSeries&&S.horiz&&S.visible&&w.enabled&&S.series.length&&S.coll!=="colorAxis"&&!this.polar){p=x.tickLength,S.createGroups();let k=new zo(S,0,"",!0),L=k.createLabel("x",w);if(k.destroy(),L&&Rn(w.reserveSpace,!Qo(x.crossing))&&(p=L.getBBox().height+w.distance+Math.max(x.offset||0,0)),p){L?.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-p,0);(m||g||u>1)&&_<u;){let S=this.plotWidth,x=this.plotHeight;for(let w of r)_===0?w.setScale():(w.horiz&&m||!w.horiz&&g)&&w.setTickInterval(!0);_===0?this.getAxisMargins():this.getMargins(),m=S/this.plotWidth>(_?1:1.1),g=x/this.plotHeight>(_?1:1.05),_++}this.drawChartBox(),this.hasCartesianSeries?f(r):a&&a.length&&f(a),this.seriesGroup||(this.seriesGroup=c.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(r){let a=this,c=Ir(!0,this.options.credits,r);c.enabled&&!this.credits&&(this.credits=this.renderer.text(c.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){c.href&&(j0.location.href=c.href)}).attr({align:c.position.align,zIndex:8}),a.styledMode||this.credits.css(c.style),this.credits.add().align(c.position),this.credits.update=function(u){a.credits=a.credits.destroy(),a.addCredits(u)})}destroy(){let r,a=this,c=a.axes,u=a.series,f=a.container,p=f&&f.parentNode;for(vt(a,"destroy"),a.renderer.forExport?wI(Ys,a):Ys[a.index]=void 0,N.chartCount--,a.renderTo.removeAttribute("data-highcharts-chart"),X0(a),r=c.length;r--;)c[r]=c[r].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),r=u.length;r--;)u[r]=u[r].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(m){let g=a[m];g&&g.destroy&&(a[m]=g.destroy())}),f&&(f.innerHTML=Vt.emptyHTML,X0(f),p&&SI(f)),Ip(a,function(m,g){delete a[g]})}firstRender(){let r=this,a=r.options;r.getContainer(),r.resetMargins(),r.setChartSize(),r.propFromSeries(),r.createAxes();let c=CI(a.series)?a.series:[];a.series=[],c.forEach(function(u){r.initSeries(u)}),r.linkSeries(),r.setSortedData(),vt(r,"beforeRender"),r.render(),r.pointer?.getChartPosition(),r.renderer.imgCount||r.hasLoaded||r.onload(),r.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(r){r&&this.index!==void 0&&r.apply(this,[this])},this),vt(this,"load"),vt(this,"render"),cs(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:r,title:a}=this;!r||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(a&&a.element.textContent||"").replace(/</g,"<")}),r.accessibility&&r.accessibility.enabled===!1||Pp('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(r,a,c){let u,f=this;return r&&(a=Rn(a,!0),vt(f,"addSeries",{options:r},function(){u=f.initSeries(r),f.isDirtyLegend=!0,f.linkSeries(),u.enabledDataSorting&&u.setData(r.data,!1),vt(f,"afterAddSeries",{series:u}),a&&f.redraw(c)})),u}addAxis(r,a,c,u){return this.createAxis(a?"xAxis":"yAxis",{axis:r,redraw:c,animation:u})}addColorAxis(r,a,c){return this.createAxis("colorAxis",{axis:r,redraw:a,animation:c})}createAxis(r,a){let c=new Xo(this,a.axis,r);return Rn(a.redraw,!0)&&this.redraw(a.animation),c}showLoading(r){let a=this,c=a.options,u=c.loading,f=function(){p&&zi(p,{left:a.plotLeft+"px",top:a.plotTop+"px",width:a.plotWidth+"px",height:a.plotHeight+"px"})},p=a.loadingDiv,m=a.loadingSpan;p||(a.loadingDiv=p=kp("div",{className:"highcharts-loading highcharts-loading-hidden"},null,a.container)),m||(a.loadingSpan=m=kp("span",{className:"highcharts-loading-inner"},null,p),Op(a,"redraw",f)),p.className="highcharts-loading",Vt.setElementHTML(m,Rn(r,c.lang.loading,"")),a.styledMode||(zi(p,us(u.style,{zIndex:10})),zi(m,u.labelStyle),a.loadingShown||(zi(p,{opacity:0,display:""}),wp(p,{opacity:u.style.opacity||.5},{duration:u.showDuration||0}))),a.loadingShown=!0,f()}hideLoading(){let r=this.options,a=this.loadingDiv;a&&(a.className="highcharts-loading highcharts-loading-hidden",this.styledMode||wp(a,{opacity:0},{duration:r.loading.hideDuration||100,complete:function(){zi(a,{display:"none"})}})),this.loadingShown=!1}update(r,a,c,u){let f,p,m,g=this,_={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},S=r.isResponsiveOptions,x=[];vt(g,"update",{options:r}),S||g.setResponsive(!1,!0),r=W0(r,g.options),g.userOptions=Ir(g.userOptions,r);let w=r.chart;w&&(Ir(!0,g.options.chart,w),this.setZoomOptions(),"className"in w&&g.setClassName(w.className),("inverted"in w||"polar"in w||"type"in w)&&(g.propFromSeries(),f=!0),"alignTicks"in w&&(f=!0),"events"in w&&U0(this,w),Ip(w,function(B,H){g.propsRequireUpdateSeries.indexOf("chart."+H)!==-1&&(p=!0),g.propsRequireDirtyBox.indexOf(H)!==-1&&(g.isDirtyBox=!0),g.propsRequireReflow.indexOf(H)===-1||(g.isDirtyBox=!0,S||(m=!0))}),!g.styledMode&&w.style&&g.renderer.setStyle(g.options.chart.style||{})),!g.styledMode&&r.colors&&(this.options.colors=r.colors),Ip(r,function(B,H){g[H]&&typeof g[H].update=="function"?g[H].update(B,!1):typeof g[_[H]]=="function"?g[_[H]](B):H!=="colors"&&g.collectionsWithUpdate.indexOf(H)===-1&&Ir(!0,g.options[H],r[H]),H!=="chart"&&g.propsRequireUpdateSeries.indexOf(H)!==-1&&(p=!0)}),this.collectionsWithUpdate.forEach(function(B){r[B]&&(Iu(r[B]).forEach(function(H,M){let j,V=cs(H.id);V&&(j=g.get(H.id)),!j&&g[B]&&(j=g[B][Rn(H.index,M)])&&(V&&cs(j.options.id)||j.options.isInternal)&&(j=void 0),j&&j.coll===B&&(j.update(H,!1),c&&(j.touched=!0)),!j&&c&&g.collectionsWithInit[B]&&(g.collectionsWithInit[B][0].apply(g,[H].concat(g.collectionsWithInit[B][1]||[]).concat([!1])).touched=!0)}),c&&g[B].forEach(function(H){H.touched||H.options.isInternal?delete H.touched:x.push(H)}))}),x.forEach(function(B){B.chart&&B.remove&&B.remove(!1)}),f&&g.axes.forEach(function(B){B.update({},!1)}),p&&g.getSeriesOrderByLinks().forEach(function(B){B.chart&&B.update({},!1)},this);let k=w&&w.width,L=w&&(Ru(w.height)?z0(w.height,k||g.chartWidth):w.height);m||Qo(k)&&k!==g.chartWidth||Qo(L)&&L!==g.chartHeight?g.setSize(k,L,u):Rn(a,!0)&&g.redraw(u),vt(g,"afterUpdate",{options:r,redraw:a,animation:u})}setSubtitle(r,a){this.applyDescription("subtitle",r),this.layOutTitles(a)}setCaption(r,a){this.applyDescription("caption",r),this.layOutTitles(a)}showResetZoom(){let r=this,a=Cp.lang,c=r.zooming.resetButton,u=c.theme,f=c.relativeTo==="chart"||c.relativeTo==="spacingBox"?null:"plotBox";function p(){r.zoomOut()}vt(this,"beforeShowResetZoom",null,function(){r.resetZoomButton=r.renderer.button(a.resetZoom,null,null,p,u).attr({align:c.position.align,title:a.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(c.position,!1,f)}),vt(this,"afterShowResetZoom")}zoomOut(){vt(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(r,a){let c=this,u=typeof a=="object"?a:{enabled:a,type:"x"},f=u.type,p=f&&c[{x:"xAxis",xy:"axes",y:"yAxis"}[f]].filter(g=>g.options.panningEnabled&&!g.options.isInternal),m=c.options.chart;m?.panning&&(m.panning=u),vt(this,"pan",{originalEvent:r},()=>{c.transform({axes:p,event:r,to:{x:r.chartX-(c.mouseDownX||0),y:r.chartY-(c.mouseDownY||0)},trigger:"pan"}),zi(c.container,{cursor:"move"})})}transform(r){let{axes:a=this.axes,event:c,from:u={},reset:f,selection:p,to:m={},trigger:g}=r,{inverted:_,time:S}=this,x=!1,w,k;for(let L of(this.hoverPoints?.forEach(B=>B.setState()),a)){let{horiz:B,len:H,minPointOffset:M=0,options:j,reversed:V}=L,te=B?"width":"height",ie=B?"x":"y",ne=Rn(m[te],L.len),Z=Rn(u[te],L.len),re=10>Math.abs(ne)?1:ne/Z,ge=(u[ie]||0)+Z/2-L.pos,ye=ge-((m[ie]??L.pos)+ne/2-L.pos)/re,_e=V&&!_||!V&&_?-1:1;if(!f&&(ge<0||ge>L.len))continue;let Le=L.toValue(ye,!0)+(p||L.isOrdinal?0:M*_e),Re=L.toValue(ye+H/re,!0)-(p||L.isOrdinal?0:M*_e||0),Be=L.allExtremes;if(Le>Re&&([Le,Re]=[Re,Le]),re===1&&!f&&L.coll==="yAxis"&&!Be){for(let ti of L.series){let fr=ti.getExtremes(ti.getProcessedData(!0).modified.getColumn("y")||[],!0);Be??(Be={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),Qo(fr.dataMin)&&Qo(fr.dataMax)&&(Be.dataMin=Math.min(fr.dataMin,Be.dataMin),Be.dataMax=Math.max(fr.dataMax,Be.dataMax))}L.allExtremes=Be}let{dataMin:Me,dataMax:$e,min:rt,max:Ge}=us(L.getExtremes(),Be||{}),qe=S.parse(j.min),st=S.parse(j.max),ze=Me??qe,nn=$e??st,qt=Re-Le,ht=L.categories?0:Math.min(qt,nn-ze),Nt=ze-ht*(cs(qe)?0:j.minPadding),dn=nn+ht*(cs(st)?0:j.maxPadding),Xt=L.allowZoomOutside||re===1||g!=="zoom"&&re>1,In=Math.min(qe??Nt,Nt,Xt?rt:Nt),pn=Math.max(st??dn,dn,Xt?Ge:dn);(!L.isOrdinal||L.options.overscroll||re!==1||f)&&(Le<In&&(Le=In,re>=1&&(Re=Le+qt)),Re>pn&&(Re=pn,re>=1&&(Le=Re-qt)),(f||L.series.length&&(Le!==rt||Re!==Ge)&&Le>=In&&Re<=pn)&&(p?p[L.coll].push({axis:L,min:Le,max:Re}):(L.isPanning=g!=="zoom",L.isPanning&&(k=!0),L.setExtremes(f?void 0:Le,f?void 0:Re,!1,!1,{move:ye,trigger:g,scale:re}),!f&&(Le>In||Re<pn)&&g!=="mousewheel"&&(w=!0)),x=!0),c&&(this[B?"mouseDownX":"mouseDownY"]=c[B?"chartX":"chartY"]))}return x&&(p?vt(this,"selection",p,()=>{delete r.selection,r.trigger="zoom",this.transform(r)}):(!w||k||this.resetZoomButton?!w&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(g==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),x}}us(hs.prototype,{callbacks:[],collectionsWithInit:{xAxis:[hs.prototype.addAxis,[!0]],yAxis:[hs.prototype.addAxis,[!1]],series:[hs.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let{stop:LI}=Ln,{composed:RI}=N,{addEvent:fs,createElement:Nu,css:Np,defined:Mp,erase:II,merge:G0,pushUnique:q0}=we;function NI(){let b=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!b&&(this.scrollablePlotArea=b=new ml(this)),b?.applyFixed()}function Y0(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class ml{static compose(r,a,c){q0(RI,this.compose)&&(fs(r,"afterInit",Y0),fs(a,"afterSetChartSize",u=>this.afterSetSize(u.target,u)),fs(a,"render",NI),fs(c,"show",Y0))}static afterSetSize(r,a){let c,u,f,{minWidth:p,minHeight:m}=r.options.chart.scrollablePlotArea||{},{clipBox:g,plotBox:_,inverted:S,renderer:x}=r;if(!x.forExport&&(p?(r.scrollablePixelsX=c=Math.max(0,p-r.chartWidth),c&&(r.scrollablePlotBox=G0(r.plotBox),_.width=r.plotWidth+=c,g[S?"height":"width"]+=c,f=!0)):m&&(r.scrollablePixelsY=u=Math.max(0,m-r.chartHeight),Mp(u)&&(r.scrollablePlotBox=G0(r.plotBox),_.height=r.plotHeight+=u,g[S?"width":"height"]+=u,f=!1)),Mp(f)&&!a.skipAxes))for(let w of r.axes)(w.horiz===f||r.hasParallelCoordinates&&w.coll==="yAxis")&&(w.setAxisSize(),w.setAxisTranslation())}constructor(r){let a,c=r.options.chart,u=rl.getRendererType(),f=c.scrollablePlotArea||{},p=this.moveFixedElements.bind(this),m={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};r.scrollablePixelsX&&(m.overflowX="auto"),r.scrollablePixelsY&&(m.overflowY="auto"),this.chart=r;let g=this.parentDiv=Nu("div",{className:"highcharts-scrolling-parent"},{position:"relative"},r.renderTo),_=this.scrollingContainer=Nu("div",{className:"highcharts-scrolling"},m,g),S=this.innerContainer=Nu("div",{className:"highcharts-inner-container"},void 0,_),x=this.fixedDiv=Nu("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(c.style?.zIndex||0)+2,top:0},void 0,!0),w=this.fixedRenderer=new u(x,r.chartWidth,r.chartHeight,c.style);this.mask=w.path().attr({fill:c.backgroundColor||"#fff","fill-opacity":f.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),_.parentNode.insertBefore(x,_),Np(r.renderTo,{overflow:"visible"}),fs(r,"afterShowResetZoom",p),fs(r,"afterApplyDrilldown",p),fs(r,"afterLayOutTitles",p),fs(_,"scroll",()=>{let{pointer:k,hoverPoint:L}=r;k&&(delete k.chartPosition,L&&(a=L),k.runPointActions(void 0,a,!0))}),S.appendChild(r.container)}applyFixed(){let{chart:r,fixedRenderer:a,isDirty:c,scrollingContainer:u}=this,{axisOffset:f,chartWidth:p,chartHeight:m,container:g,plotHeight:_,plotLeft:S,plotTop:x,plotWidth:w,scrollablePixelsX:k=0,scrollablePixelsY:L=0}=r,{scrollPositionX:B=0,scrollPositionY:H=0}=r.options.chart.scrollablePlotArea||{},M=p+k,j=m+L;a.setSize(p,m),(c??!0)&&(this.isDirty=!1,this.moveFixedElements()),LI(r.container),Np(g,{width:`${M}px`,height:`${j}px`}),r.renderer.boxWrapper.attr({width:M,height:j,viewBox:[0,0,M,j].join(" ")}),r.chartBackground?.attr({width:M,height:j}),Np(u,{width:`${p}px`,height:`${m}px`}),Mp(c)||(u.scrollLeft=k*B,u.scrollTop=L*H);let V=x-f[0]-1,te=S-f[3]-1,ie=x+_+f[2]+1,ne=S+w+f[1]+1,Z=S+w-k,re=x+_-L,ge=[["M",0,0]];k?ge=[["M",0,V],["L",S-1,V],["L",S-1,ie],["L",0,ie],["Z"],["M",Z,V],["L",p,V],["L",p,ie],["L",Z,ie],["Z"]]:L&&(ge=[["M",te,0],["L",te,x-1],["L",ne,x-1],["L",ne,0],["Z"],["M",te,re],["L",te,m],["L",ne,m],["L",ne,re],["Z"]]),r.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:ge})}moveFixedElements(){let r,{container:a,inverted:c,scrollablePixelsX:u,scrollablePixelsY:f}=this.chart,p=this.fixedRenderer,m=ml.fixedSelectors;if(u&&!c?r=".highcharts-yaxis":u&&c||f&&!c?r=".highcharts-xaxis":f&&c&&(r=".highcharts-yaxis"),r&&!(this.chart.hasParallelCoordinates&&r===".highcharts-yaxis"))for(let g of[`${r}:not(.highcharts-radial-axis)`,`${r}-labels:not(.highcharts-radial-axis-labels)`])q0(m,g);else for(let g of[".highcharts-xaxis",".highcharts-yaxis"])for(let _ of[`${g}:not(.highcharts-radial-axis)`,`${g}-labels:not(.highcharts-radial-axis-labels)`])II(m,_);for(let g of m)[].forEach.call(a.querySelectorAll(g),_=>{(_.namespaceURI===p.SVG_NS?p.box:p.box.parentNode).appendChild(_),_.style.pointerEvents="auto"})}}ml.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];let{format:MI}=$i,{series:DI}=Jt,{destroyObjectProperties:FI,fireEvent:K0,getAlignFactor:Dp,isNumber:Fp,pick:gl}=we,J0=class{constructor(b,r,a,c,u){let f=b.chart.inverted,p=b.reversed;this.axis=b;let m=this.isNegative=!!a!=!!p;this.options=r=r||{},this.x=c,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=u,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:r.align||(f?m?"left":"right":"center"),verticalAlign:r.verticalAlign||(f?"middle":m?"bottom":"top"),y:r.y,x:r.x},this.textAlign=r.textAlign||(f?m?"right":"left":"center")}destroy(){FI(this,this.axis)}render(b){let r=this.axis.chart,a=this.options,c=a.format,u=c?MI(c,this,r):a.formatter.call(this);if(this.label)this.label.attr({text:u,visibility:"hidden"});else{this.label=r.renderer.label(u,null,void 0,a.shape,void 0,void 0,a.useHTML,!1,"stack-labels");let f={r:a.borderRadius||0,text:u,padding:gl(a.padding,5),visibility:"hidden"};r.styledMode||(f.fill=a.backgroundColor,f.stroke=a.borderColor,f["stroke-width"]=a.borderWidth,this.label.css(a.style||{})),this.label.attr(f),this.label.added||this.label.add(b)}this.label.labelrank=r.plotSizeY,K0(this,"afterRender")}setOffset(b,r,a,c,u,f){let{alignOptions:p,axis:m,label:g,options:_,textAlign:S}=this,x=m.chart,w=this.getStackBox({xOffset:b,width:r,boxBottom:a,boxTop:c,defaultX:u,xAxis:f}),{verticalAlign:k}=p;if(g&&w){let L=g.getBBox(void 0,0),B=g.padding,H=gl(_.overflow,"justify")==="justify",M;p.x=_.x||0,p.y=_.y||0;let{x:j,y:V}=this.adjustStackPosition({labelBox:L,verticalAlign:k,textAlign:S});w.x-=j,w.y-=V,g.align(p,!1,w),(M=x.isInsidePlot(g.alignAttr.x+p.x+j,g.alignAttr.y+p.y+V))||(H=!1),H&&DI.prototype.justifyDataLabel.call(m,g,p,g.alignAttr,L,w),g.attr({x:g.alignAttr.x,y:g.alignAttr.y,rotation:_.rotation,rotationOriginX:L.width*Dp(_.textAlign||"center"),rotationOriginY:L.height/2}),gl(!H&&_.crop,!0)&&(M=Fp(g.x)&&Fp(g.y)&&x.isInsidePlot(g.x-B+(g.width||0),g.y)&&x.isInsidePlot(g.x+B,g.y)),g[M?"show":"hide"]()}K0(this,"afterSetOffset",{xOffset:b,width:r})}adjustStackPosition({labelBox:b,verticalAlign:r,textAlign:a}){return{x:b.width/2+b.width/2*(2*Dp(a)-1),y:b.height/2*2*(1-Dp(r))}}getStackBox(b){let r=this.axis,a=r.chart,{boxTop:c,defaultX:u,xOffset:f,width:p,boxBottom:m}=b,g=r.stacking.usePercentage?100:gl(c,this.total,0),_=r.toPixels(g),S=b.xAxis||a.xAxis[0],x=gl(u,S.translate(this.x))+f,w=Math.abs(_-r.toPixels(m||Fp(r.min)&&r.logarithmic&&r.logarithmic.lin2log(r.min)||0)),k=a.inverted,L=this.isNegative;return k?{x:(L?_:_-w)-a.plotLeft,y:S.height-x-p+S.top-a.plotTop,width:w,height:p}:{x:x+S.transB-a.plotLeft,y:(L?_-w:_)-a.plotTop,width:p,height:w}}},{getDeferredAnimation:BI}=Ln,{series:{prototype:HI}}=Jt,{addEvent:Z0,correctFloat:yl,defined:Q0,destroyObjectProperties:UI,fireEvent:$I,isNumber:Bp,objectEach:Ks,pick:Hp}=we;function jI(){let b=this.inverted;this.axes.forEach(r=>{r.stacking&&r.stacking.stacks&&r.hasVisibleSeries&&(r.stacking.oldStacks=r.stacking.stacks)}),this.series.forEach(r=>{let a=r.xAxis&&r.xAxis.options||{};r.options.stacking&&r.reserveSpace()&&(r.stackKey=[r.type,Hp(r.options.stack,""),b?a.top:a.left,b?a.height:a.width].join(","))})}function VI(){let b=this.stacking;if(b){let r=b.stacks;Ks(r,(a,c)=>{UI(a),delete r[c]}),b.stackTotalGroup?.destroy()}}function WI(){this.stacking||(this.stacking=new KI(this))}function zI(b,r,a,c){return!Q0(b)||b.x!==r||c&&b.stackKey!==c?b={x:r,index:0,key:c,stackKey:c}:b.index++,b.key=[a,r,b.index].join(","),b}function XI(){let b,r=this,a=r.yAxis,c=r.stackKey||"",u=a.stacking.stacks,f=r.getColumn("x",!0),p=r.options.stacking,m=r[p+"Stacker"];m&&[c,"-"+c].forEach(g=>{let _=f.length,S,x,w;for(;_--;)S=f[_],b=r.getStackIndicator(b,S,r.index,g),x=u[g]?.[S],(w=x?.points[b.key||""])&&m.call(r,w,x,_)})}function GI(b,r,a){let c=r.total?100/r.total:0;b[0]=yl(b[0]*c),b[1]=yl(b[1]*c),this.stackedYData[a]=b[1]}function qI(b){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?HI.setStackedPoints.call(this,b,"group"):b.stacking.resetStacks())}function YI(b,r){let a,c,u,f,p,m,g,_=r||this.options.stacking;if(!_||!this.reserveSpace()||({group:"xAxis"}[_]||"yAxis")!==b.coll)return;let S=this.getColumn("x",!0),x=this.getColumn(this.pointValKey||"y",!0),w=[],k=x.length,L=this.options,B=L.threshold||0,H=L.startFromThreshold?B:0,M=L.stack,j=r?`${this.type},${_}`:this.stackKey||"",V="-"+j,te=this.negStacks,ie=b.stacking,ne=ie.stacks,Z=ie.oldStacks;for(ie.stacksTouched+=1,g=0;g<k;g++){let re=S[g]||0,ge=x[g],ye=Bp(ge)&&ge||0;m=(a=this.getStackIndicator(a,re,this.index)).key||"",ne[p=(c=te&&ye<(H?0:B))?V:j]||(ne[p]={}),ne[p][re]||(Z[p]?.[re]?(ne[p][re]=Z[p][re],ne[p][re].total=null):ne[p][re]=new J0(b,b.options.stackLabels,!!c,re,M)),u=ne[p][re],ge!==null?(u.points[m]=u.points[this.index]=[Hp(u.cumulative,H)],Q0(u.cumulative)||(u.base=m),u.touched=ie.stacksTouched,a.index>0&&this.singleStacks===!1&&(u.points[m][0]=u.points[this.index+","+re+",0"][0])):(delete u.points[m],delete u.points[this.index]);let _e=u.total||0;_==="percent"?(f=c?j:V,_e=te&&ne[f]?.[re]?(f=ne[f][re]).total=Math.max(f.total||0,_e)+Math.abs(ye):yl(_e+Math.abs(ye))):_==="group"?Bp(ge)&&_e++:_e=yl(_e+ye),_==="group"?u.cumulative=(_e||1)-1:u.cumulative=yl(Hp(u.cumulative,H)+ye),u.total=_e,ge!==null&&(u.points[m].push(u.cumulative),w[g]=u.cumulative,u.hasValidPoints=!0)}_==="percent"&&(ie.usePercentage=!0),_!=="group"&&(this.stackedYData=w),ie.oldStacks={}}class KI{constructor(r){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=r}buildStacks(){let r,a,c=this.axis,u=c.series,f=c.coll==="xAxis",p=c.options.reversedStacks,m=u.length;for(this.resetStacks(),this.usePercentage=!1,a=m;a--;)r=u[p?a:m-a-1],f&&r.setGroupedPoints(c),r.setStackedPoints(c);if(!f)for(a=0;a<m;a++)u[a].modifyStacks();$I(c,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,Ks(this.stacks,r=>{Ks(r,a=>{a.cumulative=a.total})}))}resetStacks(){Ks(this.stacks,r=>{Ks(r,(a,c)=>{Bp(a.touched)&&a.touched<this.stacksTouched?(a.destroy(),delete r[c]):(a.total=null,a.cumulative=null)})})}renderStackTotals(){let r=this.axis,a=r.chart,c=a.renderer,u=this.stacks,f=BI(a,r.options.stackLabels?.animation||!1),p=this.stackTotalGroup=this.stackTotalGroup||c.g("stack-labels").attr({zIndex:6,opacity:0}).add();p.translate(a.plotLeft,a.plotTop),Ks(u,m=>{Ks(m,g=>{g.render(p)})}),p.animate({opacity:1},f)}}(O||(O={})).compose=function(b,r,a){let c=r.prototype,u=a.prototype;c.getStacks||(Z0(b,"init",WI),Z0(b,"destroy",VI),c.getStacks=jI,u.getStackIndicator=zI,u.modifyStacks=XI,u.percentStacker=GI,u.setGroupedPoints=qI,u.setStackedPoints=YI)};let JI=O,{defined:ZI,merge:e_,isObject:QI}=we;class t_ extends Ei{drawGraph(){let r=this.options,a=(this.gappedPath||this.getGraphPath).call(this),c=this.chart.styledMode;[this,...this.zones].forEach((u,f)=>{let p,m=u.graph,g=m?"animate":"attr",_=u.dashStyle||r.dashStyle;m?(m.endX=this.preventGraphAnimation?null:a.xMap,m.animate({d:a})):a.length&&(u.graph=m=this.chart.renderer.path(a).addClass("highcharts-graph"+(f?` highcharts-zone-graph-${f-1} `:" ")+(f&&u.className||"")).attr({zIndex:1}).add(this.group)),m&&!c&&(p={stroke:!f&&r.lineColor||u.color||this.color||"#cccccc","stroke-width":r.lineWidth||0,fill:this.fillGraph&&this.color||"none"},_?p.dashstyle=_:r.linecap!=="square"&&(p["stroke-linecap"]=p["stroke-linejoin"]="round"),m[g](p).shadow(r.shadow&&e_({filterUnits:"userSpaceOnUse"},QI(r.shadow)?r.shadow:{}))),m&&(m.startX=a.xMap,m.isArea=a.isArea)})}getGraphPath(r,a,c){let u=this,f=u.options,p=[],m=[],g,_=f.step,S=(r=r||u.points).reversed;return S&&r.reverse(),(_={right:1,center:2}[_]||_&&3)&&S&&(_=4-_),(r=this.getValidPoints(r,!1,!(f.connectNulls&&!a&&!c))).forEach(function(x,w){let k,L=x.plotX,B=x.plotY,H=r[w-1],M=x.isNull||typeof B!="number";(x.leftCliff||H&&H.rightCliff)&&!c&&(g=!0),M&&!ZI(a)&&w>0?g=!f.connectNulls:M&&!a?g=!0:(w===0||g?k=[["M",x.plotX,x.plotY]]:u.getPointSpline?k=[u.getPointSpline(r,x,w)]:_?(k=_===1?[["L",H.plotX,B]]:_===2?[["L",(H.plotX+L)/2,H.plotY],["L",(H.plotX+L)/2,B]]:[["L",L,H.plotY]]).push(["L",L,B]):k=[["L",L,B]],m.push(x.x),_&&(m.push(x.x),_===2&&m.push(x.x)),p.push.apply(p,k),g=!1)}),p.xMap=m,u.graphPath=p,p}}t_.defaultOptions=e_(Ei.defaultOptions,{legendSymbol:"lineMarker"}),Jt.registerSeriesType("line",t_);let{seriesTypes:{line:Up}}=Jt,{extend:eN,merge:tN,objectEach:nN,pick:Mu}=we;class $p extends Up{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:r,options:a}=this;[this,...this.zones].forEach((c,u)=>{let f={},p=c.fillColor||a.fillColor,m=c.area,g=m?"animate":"attr";m?(m.endX=this.preventGraphAnimation?null:r.xMap,m.animate({d:r})):(f.zIndex=0,(m=c.area=this.chart.renderer.path(r).addClass("highcharts-area"+(u?` highcharts-zone-area-${u-1} `:" ")+(u&&c.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(f.fill=p||c.color||this.color,f["fill-opacity"]=p?1:a.fillOpacity??.75,m.css({pointerEvents:this.stickyTracking?"none":"auto"})),m[g](f),m.startX=r.xMap,m.shiftUnit=a.step?2:1})}getGraphPath(r){let a,c,u,f=Up.prototype.getGraphPath,p=this.options,m=p.stacking,g=this.yAxis,_=[],S=[],x=this.index,w=g.stacking.stacks[this.stackKey],k=p.threshold,L=Math.round(g.getThreshold(p.threshold)),B=Mu(p.connectNulls,m==="percent"),H=function(ne,Z,re){let ge=r[ne],ye=m&&w[ge.x].points[x],_e=ge[re+"Null"]||0,Le=ge[re+"Cliff"]||0,Re,Be,Me=!0;Le||_e?(Re=(_e?ye[0]:ye[1])+Le,Be=ye[0]+Le,Me=!!_e):!m&&r[Z]&&r[Z].isNull&&(Re=Be=k),Re!==void 0&&(S.push({plotX:a,plotY:Re===null?L:g.getThreshold(Re),isNull:Me,isCliff:!0}),_.push({plotX:a,plotY:Be===null?L:g.getThreshold(Be),doCurve:!1}))};r=r||this.points,m&&(r=this.getStackPoints(r));for(let ne=0,Z=r.length;ne<Z;++ne)m||(r[ne].leftCliff=r[ne].rightCliff=r[ne].leftNull=r[ne].rightNull=void 0),c=r[ne].isNull,a=Mu(r[ne].rectPlotX,r[ne].plotX),u=m?Mu(r[ne].yBottom,L):L,c&&!B||(B||H(ne,ne-1,"left"),c&&!m&&B||(S.push(r[ne]),_.push({x:ne,plotX:a,plotY:u})),B||H(ne,ne+1,"right"));let M=f.call(this,S,!0,!0);_.reversed=!0;let j=f.call(this,_,!0,!0),V=j[0];V&&V[0]==="M"&&(j[0]=["L",V[1],V[2]]);let te=M.concat(j);te.length&&te.push(["Z"]);let ie=f.call(this,S,!1,B);return this.chart.series.length>1&&m&&S.some(ne=>ne.isCliff)&&(te.hasStackedCliffs=ie.hasStackedCliffs=!0),te.xMap=M.xMap,this.areaPath=te,ie}getStackPoints(r){let a=this,c=[],u=[],f=this.xAxis,p=this.yAxis,m=p.stacking.stacks[this.stackKey],g={},_=p.series,S=_.length,x=p.options.reversedStacks?1:-1,w=_.indexOf(a);if(r=r||this.points,this.options.stacking){for(let L=0;L<r.length;L++)r[L].leftNull=r[L].rightNull=void 0,g[r[L].x]=r[L];nN(m,function(L,B){L.total!==null&&u.push(B)}),u.sort(function(L,B){return L-B});let k=_.map(L=>L.visible);u.forEach(function(L,B){let H=0,M,j;if(g[L]&&!g[L].isNull)c.push(g[L]),[-1,1].forEach(function(V){let te=V===1?"rightNull":"leftNull",ie=m[u[B+V]],ne=0;if(ie){let Z=w;for(;Z>=0&&Z<S;){let re=_[Z].index;!(M=ie.points[re])&&(re===a.index?g[L][te]=!0:k[Z]&&(j=m[L].points[re])&&(ne-=j[1]-j[0])),Z+=x}}g[L][V===1?"rightCliff":"leftCliff"]=ne});else{let V=w;for(;V>=0&&V<S;){let te=_[V].index;if(M=m[L].points[te]){H=M[1];break}V+=x}H=Mu(H,0),H=p.translate(H,0,1,0,1),c.push({isNull:!0,plotX:f.translate(L,0,0,0,1),x:L,plotY:H,yBottom:H})}})}return c}}$p.defaultOptions=tN(Up.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),eN($p.prototype,{singleStacks:!1}),Jt.registerSeriesType("area",$p);let{line:n_}=Jt.seriesTypes,{merge:iN,pick:Du}=we;class jp extends n_{getPointSpline(r,a,c){let u,f,p,m,g=a.plotX||0,_=a.plotY||0,S=r[c-1],x=r[c+1];function w(L){return L&&!L.isNull&&L.doCurve!==!1&&!a.isCliff}if(w(S)&&w(x)){let L=S.plotX||0,B=S.plotY||0,H=x.plotX||0,M=x.plotY||0,j=0;u=(1.5*g+L)/2.5,f=(1.5*_+B)/2.5,p=(1.5*g+H)/2.5,m=(1.5*_+M)/2.5,p!==u&&(j=(m-f)*(p-g)/(p-u)+_-m),f+=j,m+=j,f>B&&f>_?(f=Math.max(B,_),m=2*_-f):f<B&&f<_&&(f=Math.min(B,_),m=2*_-f),m>M&&m>_?(m=Math.max(M,_),f=2*_-m):m<M&&m<_&&(m=Math.min(M,_),f=2*_-m),a.rightContX=p,a.rightContY=m,a.controlPoints={low:[u,f],high:[p,m]}}let k=["C",Du(S.rightContX,S.plotX,0),Du(S.rightContY,S.plotY,0),Du(u,g,0),Du(f,_,0),g,_];return S.rightContX=S.rightContY=void 0,k}}jp.defaultOptions=iN(n_.defaultOptions),Jt.registerSeriesType("spline",jp);let i_=jp,{area:rN,area:{prototype:Vp}}=Jt.seriesTypes,{extend:sN,merge:oN}=we;class Wp extends i_{}Wp.defaultOptions=oN(i_.defaultOptions,rN.defaultOptions),sN(Wp.prototype,{getGraphPath:Vp.getGraphPath,getStackPoints:Vp.getStackPoints,drawGraph:Vp.drawGraph}),Jt.registerSeriesType("areaspline",Wp);let{animObject:aN}=Ln,{parse:lN}=Mt,{noop:cN}=N,{clamp:Fu,crisp:Bu,defined:r_,extend:s_,fireEvent:o_,isArray:a_,isNumber:Hu,merge:zp,pick:ea,objectEach:uN}=we;class Uu extends Ei{animate(r){let a,c,u=this,f=this.yAxis,p=f.pos,m=f.reversed,g=u.options,{clipOffset:_,inverted:S}=this.chart,x={},w=S?"translateX":"translateY";r&&_?(x.scaleY=.001,c=Fu(f.toPixels(g.threshold||0),p,p+f.len),S?(c+=m?-Math.floor(_[0]):Math.ceil(_[2]),x.translateX=c-f.len):(c+=m?Math.ceil(_[0]):-Math.floor(_[2]),x.translateY=c),u.clipBox&&u.setClip(),u.group.attr(x)):(a=Number(u.group.attr(w)),u.group.animate({scaleY:1},s_(aN(u.options.animation),{step:function(k,L){u.group&&(x[w]=a+L.pos*(p-a),u.group.attr(x))}})))}init(r,a){super.init.apply(this,arguments);let c=this;(r=c.chart).hasRendered&&r.series.forEach(function(u){u.type===c.type&&(u.isDirty=!0)})}getColumnMetrics(){let r=this,a=r.options,c=r.xAxis,u=r.yAxis,f=c.options.reversedStacks,p=c.reversed&&!f||!c.reversed&&f,m={},g,_=0;a.grouping===!1?_=1:r.chart.series.forEach(function(B){let H,M=B.yAxis,j=B.options;B.type===r.type&&B.reserveSpace()&&u.len===M.len&&u.pos===M.pos&&(j.stacking&&j.stacking!=="group"?(m[g=B.stackKey]===void 0&&(m[g]=_++),H=m[g]):j.grouping!==!1&&(H=_++),B.columnIndex=H)});let S=Math.min(Math.abs(c.transA)*(!c.brokenAxis?.hasBreaks&&c.ordinal?.slope||a.pointRange||c.closestPointRange||c.tickInterval||1),c.len),x=S*a.groupPadding,w=(S-2*x)/(_||1),k=Math.min(a.maxPointWidth||c.len,ea(a.pointWidth,w*(1-2*a.pointPadding))),L=(r.columnIndex||0)+(p?1:0);return r.columnMetrics={width:k,offset:(w-k)/2+(x+L*w-S/2)*(p?-1:1),paddedWidth:w,columnCount:_},r.columnMetrics}crispCol(r,a,c,u){let f=this.borderWidth,p=this.chart.inverted;return u=Bu(a+u,f,p)-(a=Bu(a,f,p)),this.options.crisp&&(c=Bu(r+c,f)-(r=Bu(r,f))),{x:r,y:a,width:c,height:u}}adjustForMissingColumns(r,a,c,u){if(!c.isNull&&u.columnCount>1){let f=this.xAxis.series.filter(_=>_.visible).map(_=>_.index),p=0,m=0;uN(this.xAxis.stacking?.stacks,_=>{let S=typeof c.x=="number"?_[c.x.toString()]?.points:void 0,x=S?.[this.index],w={};if(S&&a_(x)){let k=this.index,L=Object.keys(S).filter(B=>!B.match(",")&&S[B]&&S[B].length>1).map(parseFloat).filter(B=>f.indexOf(B)!==-1).filter(B=>{let H=this.chart.series[B].options,M=H.stacking&&H.stack;if(r_(M)){if(Hu(w[M]))return k===B&&(k=w[M]),!1;w[M]=B}return!0}).sort((B,H)=>H-B);p=L.indexOf(k),m=L.length}}),p=this.xAxis.reversed?m-1-p:p;let g=(m-1)*u.paddedWidth+a;r=(c.plotX||0)+g/2-a-p*u.paddedWidth}return r}translate(){let r=this,a=r.chart,c=r.options,u=r.dense=r.closestPointRange*r.xAxis.transA<2,f=r.borderWidth=ea(c.borderWidth,u?0:1),p=r.xAxis,m=r.yAxis,g=c.threshold,_=ea(c.minPointLength,5),S=r.getColumnMetrics(),x=S.width,w=r.pointXOffset=S.offset,k=r.dataMin,L=r.dataMax,B=r.translatedThreshold=m.getThreshold(g),H=r.barW=Math.max(x,1+2*f);c.pointPadding&&c.crisp&&(H=Math.ceil(H)),Ei.prototype.translate.apply(r),r.points.forEach(function(M){let j=ea(M.yBottom,B),V=999+Math.abs(j),te=M.plotX||0,ie=Fu(M.plotY,-V,m.len+V),ne,Z=Math.min(ie,j),re=Math.max(ie,j)-Z,ge=x,ye=te+w,_e=H;_&&Math.abs(re)<_&&(re=_,ne=!m.reversed&&!M.negative||m.reversed&&M.negative,Hu(g)&&Hu(L)&&M.y===g&&L<=g&&(m.min||0)<g&&(k!==L||(m.max||0)<=g)&&(ne=!ne,M.negative=!M.negative),Z=Math.abs(Z-B)>_?j-_:B-(ne?_:0)),r_(M.options.pointWidth)&&(ye-=Math.round(((ge=_e=Math.ceil(M.options.pointWidth))-x)/2)),c.centerInCategory&&(ye=r.adjustForMissingColumns(ye,ge,M,S)),M.barX=ye,M.pointWidth=ge,M.tooltipPos=a.inverted?[Fu(m.len+m.pos-a.plotLeft-ie,m.pos-a.plotLeft,m.len+m.pos-a.plotLeft),p.len+p.pos-a.plotTop-ye-_e/2,re]:[p.left-a.plotLeft+ye+_e/2,Fu(ie+m.pos-a.plotTop,m.pos-a.plotTop,m.len+m.pos-a.plotTop),re],M.shapeType=r.pointClass.prototype.shapeType||"roundedRect",M.shapeArgs=r.crispCol(ye,M.isNull?B:Z,_e,M.isNull?0:re)}),o_(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(r,a){let c=this.options,u=this.pointAttrToOptions||{},f=u.stroke||"borderColor",p=u["stroke-width"]||"borderWidth",m,g,_,S=r&&r.color||this.color,x=r&&r[f]||c[f]||S,w=r&&r.options.dashStyle||c.dashStyle,k=r&&r[p]||c[p]||this[p]||0,L=ea(r&&r.opacity,c.opacity,1);r&&this.zones.length&&(g=r.getZone(),S=r.options.color||g&&(g.color||r.nonZonedColor)||this.color,g&&(x=g.borderColor||x,w=g.dashStyle||w,k=g.borderWidth||k)),a&&r&&(_=(m=zp(c.states[a],r.options.states&&r.options.states[a]||{})).brightness,S=m.color||_!==void 0&&lN(S).brighten(m.brightness).get()||S,x=m[f]||x,k=m[p]||k,w=m.dashStyle||w,L=ea(m.opacity,L));let B={fill:S,stroke:x,"stroke-width":k,opacity:L};return w&&(B.dashstyle=w),B}drawPoints(r=this.points){let a,c=this,u=this.chart,f=c.options,p=u.renderer,m=f.animationLimit||250;r.forEach(function(g){let _=g.plotY,S=g.graphic,x=!!S,w=S&&u.pointCount<m?"animate":"attr";Hu(_)&&g.y!==null?(a=g.shapeArgs,S&&g.hasNewShapeType()&&(S=S.destroy()),c.enabledDataSorting&&(g.startXPos=c.xAxis.reversed?-(a&&a.width||0):c.xAxis.width),!S&&(g.graphic=S=p[g.shapeType](a).add(g.group||c.group),S&&c.enabledDataSorting&&u.hasRendered&&u.pointCount<m&&(S.attr({x:g.startXPos}),x=!0,w="animate")),S&&x&&S[w](zp(a)),u.styledMode||S[w](c.pointAttribs(g,g.selected&&"select")).shadow(g.allowShadow!==!1&&f.shadow),S&&(S.addClass(g.getClassName(),!0),S.attr({visibility:g.visible?"inherit":"hidden"}))):S&&(g.graphic=S.destroy())})}drawTracker(r=this.points){let a,c=this,u=c.chart,f=u.pointer,p=function(m){f?.normalize(m);let g=f?.getPointFromEvent(m),_=!u.scrollablePlotArea||u.isInsidePlot(m.chartX-u.plotLeft,m.chartY-u.plotTop,{visiblePlotOnly:!0});f&&g&&c.options.enableMouseTracking&&_&&(f.isDirectTouch=!0,g.onMouseOver(m))};r.forEach(function(m){a=a_(m.dataLabels)?m.dataLabels:m.dataLabel?[m.dataLabel]:[],m.graphic&&(m.graphic.element.point=m),a.forEach(function(g){(g.div||g.element).point=m})}),c._hasTracking||(c.trackerGroups.forEach(function(m){c[m]&&(c[m].addClass("highcharts-tracker").on("mouseover",p).on("mouseout",function(g){f?.onTrackerMouseOut(g)}).on("touchstart",p),!u.styledMode&&c.options.cursor&&c[m].css({cursor:c.options.cursor}))}),c._hasTracking=!0),o_(this,"afterDrawTracker")}remove(){let r=this,a=r.chart;a.hasRendered&&a.series.forEach(function(c){c.type===r.type&&(c.isDirty=!0)}),Ei.prototype.remove.apply(r,arguments)}}Uu.defaultOptions=zp(Ei.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),s_(Uu.prototype,{directTouch:!0,getSymbol:cN,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),Jt.registerSeriesType("column",Uu);let $u=Uu,{getDeferredAnimation:hN}=Ln,{format:fN}=$i,{defined:Js,extend:l_,fireEvent:Xp,getAlignFactor:c_,isArray:ds,isString:Gp,merge:vl,objectEach:dN,pick:bl,pInt:pN,splat:u_}=we;(function(b){function r(){return g(this).some(S=>S?.enabled)}function a(S,x,w,k,L){let{chart:B,enabledDataSorting:H}=this,M=this.isCartesian&&B.inverted,j=S.plotX,V=S.plotY,te=w.rotation||0,ie=Js(j)&&Js(V)&&B.isInsidePlot(j,Math.round(V),{inverted:M,paneCoordinates:!0,series:this}),ne=te===0&&bl(w.overflow,H?"none":"justify")==="justify",Z=this.visible&&S.visible!==!1&&Js(j)&&(S.series.forceDL||H&&!ne||ie||bl(w.inside,!!this.options.stacking)&&k&&B.isInsidePlot(j,M?k.x+1:k.y+k.height-1,{inverted:M,paneCoordinates:!0,series:this})),re=S.pos();if(Z&&re){var ge;let ye=x.getBBox(),_e=x.getBBox(void 0,0);if(k=l_({x:re[0],y:Math.round(re[1]),width:0,height:0},k||{}),w.alignTo==="plotEdges"&&this.isCartesian&&(k[M?"x":"y"]=0,k[M?"width":"height"]=this.yAxis?.len||0),l_(w,{width:ye.width,height:ye.height}),ge=k,H&&this.xAxis&&!ne&&this.setDataLabelStartPos(S,x,L,ie,ge),x.align(vl(w,{width:_e.width,height:_e.height}),!1,k,!1),x.alignAttr.x+=c_(w.align)*(_e.width-ye.width),x.alignAttr.y+=c_(w.verticalAlign)*(_e.height-ye.height),x[x.placed?"animate":"attr"]({"text-align":x.alignAttr["text-align"]||"center",x:x.alignAttr.x+(ye.width-_e.width)/2,y:x.alignAttr.y+(ye.height-_e.height)/2,rotationOriginX:(x.width||0)/2,rotationOriginY:(x.height||0)/2}),ne&&k.height>=0)this.justifyDataLabel(x,w,x.alignAttr,ye,k,L);else if(bl(w.crop,!0)){let{x:Le,y:Re}=x.alignAttr;Z=B.isInsidePlot(Le,Re,{paneCoordinates:!0,series:this})&&B.isInsidePlot(Le+ye.width-1,Re+ye.height-1,{paneCoordinates:!0,series:this})}w.shape&&!te&&x[L?"attr":"animate"]({anchorX:re[0],anchorY:re[1]})}L&&H&&(x.placed=!1),Z||H&&!ne?(x.show(),x.placed=!0):(x.hide(),x.placed=!1)}function c(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function u(S){let x=this.hasRendered||0,w=this.initDataLabelsGroup().attr({opacity:+x});return!x&&w&&(this.visible&&w.show(),this.options.animation?w.animate({opacity:1},S):w.attr({opacity:1})),w}function f(S){let x;S=S||this.points;let w=this,k=w.chart,L=w.options,B=k.renderer,{backgroundColor:H,plotBackgroundColor:M}=k.options.chart,j=B.getContrast(Gp(M)&&M||Gp(H)&&H||"#000000"),V=g(w),{animation:te,defer:ie}=V[0],ne=ie?hN(k,te,w):{defer:0,duration:0};Xp(this,"drawDataLabels"),w.hasDataLabels?.()&&(x=this.initDataLabels(ne),S.forEach(Z=>{let re=Z.dataLabels||[];u_(m(V,Z.dlOptions||Z.options?.dataLabels)).forEach((ye,_e)=>{let Le=ye.enabled&&(Z.visible||Z.dataLabelOnHidden)&&(!Z.isNull||Z.dataLabelOnNull)&&(function(ht,Nt){let dn=Nt.filter;if(dn){let Xt=dn.operator,In=ht[dn.property],pn=dn.value;return Xt===">"&&In>pn||Xt==="<"&&In<pn||Xt===">="&&In>=pn||Xt==="<="&&In<=pn||Xt==="=="&&In==pn||Xt==="==="&&In===pn||Xt==="!="&&In!=pn||Xt==="!=="&&In!==pn}return!0})(Z,ye),{backgroundColor:Re,borderColor:Be,distance:Me,style:$e={}}=ye,rt,Ge,qe,st={},ze=re[_e],nn=!ze,qt;Le&&(Ge=Js(rt=bl(ye[Z.formatPrefix+"Format"],ye.format))?fN(rt,Z,k):(ye[Z.formatPrefix+"Formatter"]||ye.formatter).call(Z,ye),qe=ye.rotation,!k.styledMode&&($e.color=bl(ye.color,$e.color,Gp(w.color)?w.color:void 0,"#000000"),$e.color==="contrast"?(Re!=="none"&&(qt=Re),Z.contrastColor=B.getContrast(qt!=="auto"&&qt||Z.color||w.color),$e.color=qt||!Js(Me)&&ye.inside||0>pN(Me||0)||L.stacking?Z.contrastColor:j):delete Z.contrastColor,L.cursor&&($e.cursor=L.cursor)),st={r:ye.borderRadius||0,rotation:qe,padding:ye.padding,zIndex:1},k.styledMode||(st.fill=Re==="auto"?Z.color:Re,st.stroke=Be==="auto"?Z.color:Be,st["stroke-width"]=ye.borderWidth),dN(st,(ht,Nt)=>{ht===void 0&&delete st[Nt]})),!ze||Le&&Js(Ge)&&!!ze.div==!!ye.useHTML&&(ze.rotation&&ye.rotation||ze.rotation===ye.rotation)||(ze=void 0,nn=!0),Le&&Js(Ge)&&(ze?st.text=Ge:(ze=B.label(Ge,0,0,ye.shape,void 0,void 0,ye.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+Z.colorIndex+" "+(ye.className||"")+(ye.useHTML?" highcharts-tracker":"")),ze&&(ze.options=ye,ze.attr(st),k.styledMode?$e.width&&ze.css({width:$e.width,textOverflow:$e.textOverflow,whiteSpace:$e.whiteSpace}):ze.css($e).shadow(ye.shadow),Xp(ze,"beforeAddingDataLabel",{labelOptions:ye,point:Z}),ze.added||ze.add(x),w.alignDataLabel(Z,ze,ye,void 0,nn),ze.isActive=!0,re[_e]&&re[_e]!==ze&&re[_e].destroy(),re[_e]=ze))});let ge=re.length;for(;ge--;)re[ge]&&re[ge].isActive?re[ge].isActive=!1:(re[ge]?.destroy(),re.splice(ge,1));Z.dataLabel=re[0],Z.dataLabels=re})),Xp(this,"afterDrawDataLabels")}function p(S,x,w,k,L,B){let H=this.chart,M=x.align,j=x.verticalAlign,V=S.box?0:S.padding||0,te=H.inverted?this.yAxis:this.xAxis,ie=te?te.left-H.plotLeft:0,ne=H.inverted?this.xAxis:this.yAxis,Z=ne?ne.top-H.plotTop:0,{x:re=0,y:ge=0}=x,ye,_e;return(ye=(w.x||0)+V+ie)<0&&(M==="right"&&re>=0?(x.align="left",x.inside=!0):re-=ye,_e=!0),(ye=(w.x||0)+k.width-V+ie)>H.plotWidth&&(M==="left"&&re<=0?(x.align="right",x.inside=!0):re+=H.plotWidth-ye,_e=!0),(ye=w.y+V+Z)<0&&(j==="bottom"&&ge>=0?(x.verticalAlign="top",x.inside=!0):ge-=ye,_e=!0),(ye=(w.y||0)+k.height-V+Z)>H.plotHeight&&(j==="top"&&ge<=0?(x.verticalAlign="bottom",x.inside=!0):ge+=H.plotHeight-ye,_e=!0),_e&&(x.x=re,x.y=ge,S.placed=!B,S.align(x,void 0,L)),_e}function m(S,x){let w=[],k;if(ds(S)&&!ds(x))w=S.map(function(L){return vl(L,x)});else if(ds(x)&&!ds(S))w=x.map(function(L){return vl(S,L)});else if(ds(S)||ds(x)){if(ds(S)&&ds(x))for(k=Math.max(S.length,x.length);k--;)w[k]=vl(S[k],x[k])}else w=vl(S,x);return w}function g(S){let x=S.chart.options.plotOptions;return u_(m(m(x?.series?.dataLabels,x?.[S.type]?.dataLabels),S.options.dataLabels))}function _(S,x,w,k,L){let B=this.chart,H=B.inverted,M=this.xAxis,j=M.reversed,V=((H?x.height:x.width)||0)/2,te=S.pointWidth,ie=te?te/2:0;x.startXPos=H?L.x:j?-V-ie:M.width-V+ie,x.startYPos=H?j?this.yAxis.height-V+ie:-V-ie:L.y,k?x.visibility==="hidden"&&(x.show(),x.attr({opacity:0}).animate({opacity:1})):x.attr({opacity:1}).animate({opacity:0},void 0,x.hide),B.hasRendered&&(w&&x.attr({x:x.startXPos,y:x.startYPos}),x.placed=!0)}b.compose=function(S){let x=S.prototype;x.initDataLabels||(x.initDataLabels=u,x.initDataLabelsGroup=c,x.alignDataLabel=a,x.drawDataLabels=f,x.justifyDataLabel=p,x.setDataLabelStartPos=_,x.hasDataLabels=r)}})(P||(P={}));let ju=P,{composed:mN}=N,{series:h_}=Jt,{merge:gN,pick:_l,pushUnique:yN}=we;(function(b){function r(a,c,u,f,p){let m=this.chart.inverted,g=a.series,_=(g.xAxis?g.xAxis.len:this.chart.plotSizeX)||0,S=(g.yAxis?g.yAxis.len:this.chart.plotSizeY)||0,x=a.dlBox||a.shapeArgs,w=_l(a.below,a.plotY>_l(this.translatedThreshold,S)),k=_l(u.inside,!!this.options.stacking);if(x){if(f=gN(x),!(u.overflow==="allow"&&u.crop===!1)){f.y<0&&(f.height+=f.y,f.y=0);let L=f.y+f.height-S;L>0&&L<f.height-1&&(f.height-=L)}m&&(f={x:S-f.y-f.height,y:_-f.x-f.width,width:f.height,height:f.width}),k||(m?(f.x+=w?0:f.width,f.width=0):(f.y+=w?f.height:0,f.height=0))}u.align=_l(u.align,!m||k?"center":w?"right":"left"),u.verticalAlign=_l(u.verticalAlign,m||k?"middle":w?"top":"bottom"),h_.prototype.alignDataLabel.call(this,a,c,u,f,p),u.inside&&a.contrastColor&&c.css({color:a.contrastColor})}b.compose=function(a){ju.compose(h_),yN(mN,"ColumnDataLabel")&&(a.prototype.alignDataLabel=r)}})(I||(I={}));let vN=I,{extend:bN,merge:_N}=we;class qp extends $u{}qp.defaultOptions=_N($u.defaultOptions,{}),bN(qp.prototype,{inverted:!0}),Jt.registerSeriesType("bar",qp);let{column:EN,line:f_}=Jt.seriesTypes,{addEvent:xN,extend:SN,merge:wN}=we;class Vu extends f_{applyJitter(){let r=this,a=this.options.jitter,c=this.points.length;a&&this.points.forEach(function(u,f){["x","y"].forEach(function(p,m){if(a[p]&&!u.isNull){let g=`plot${p.toUpperCase()}`,_=r[`${p}Axis`],S=a[p]*_.transA;if(_&&!_.logarithmic){let x=Math.max(0,(u[g]||0)-S),w=Math.min(_.len,(u[g]||0)+S);u[g]=x+(w-x)*(function(k){let L=1e4*Math.sin(k);return L-Math.floor(L)})(f+m*c),p==="x"&&(u.clientX=u.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}Vu.defaultOptions=wN(f_.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),SN(Vu.prototype,{drawTracker:EN.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),xN(Vu,"afterTranslate",function(){this.applyJitter()}),Jt.registerSeriesType("scatter",Vu);let{deg2rad:d_}=N,{fireEvent:TN,isNumber:Yp,pick:Wu,relativeLength:CN}=we;(function(b){b.getCenter=function(){let r=this.options,a=this.chart,c=2*(r.slicedOffset||0),u=a.plotWidth-2*c,f=a.plotHeight-2*c,p=r.center,m=Math.min(u,f),g=r.thickness,_,S=r.size,x=r.innerSize||0,w,k;typeof S=="string"&&(S=parseFloat(S)),typeof x=="string"&&(x=parseFloat(x));let L=[Wu(p?.[0],"50%"),Wu(p?.[1],"50%"),Wu(S&&S<0?void 0:r.size,"100%"),Wu(x&&x<0?void 0:r.innerSize||0,"0%")];for(!a.angular||this instanceof Ei||(L[3]=0),w=0;w<4;++w)k=L[w],_=w<2||w===2&&/%$/.test(k),L[w]=CN(k,[u,f,m,L[2]][w])+(_?c:0);return L[3]>L[2]&&(L[3]=L[2]),Yp(g)&&2*g<L[2]&&g>0&&(L[3]=L[2]-2*g),TN(this,"afterGetCenter",{positions:L}),L},b.getStartAndEndRadians=function(r,a){let c=Yp(r)?r:0,u=Yp(a)&&a>c&&a-c<360?a:c+360;return{start:d_*(c+-90),end:d_*(u+-90)}}})(R||(R={}));let p_=R,{setAnimation:AN}=Ln,{addEvent:m_,defined:ON,extend:kN,isNumber:PN,pick:LN,relativeLength:RN}=we;class g_ extends as{getConnectorPath(r){let a=r.dataLabelPosition,c=r.options||{},u=c.connectorShape,f=this.connectorShapes[u]||u;return a&&f.call(this,{...a.computed,alignment:a.alignment},a.connectorPosition,c)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(r){let a=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(a.x,a.y,a.r+r,a.r+r,{innerR:a.r-1,start:a.start,end:a.end,borderRadius:a.borderRadius})}constructor(r,a,c){super(r,a,c),this.half=0,this.name??(this.name="Slice");let u=f=>{this.slice(f.type==="select")};m_(this,"select",u),m_(this,"unselect",u)}isValid(){return PN(this.y)&&this.y>=0}setVisible(r,a=!0){r!==this.visible&&this.update({visible:r??!this.visible},a,void 0,!1)}slice(r,a,c){let u=this.series;AN(c,u.chart),a=LN(a,!0),this.sliced=this.options.sliced=r=ON(r)?r:!this.sliced,u.options.data[u.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}kN(g_.prototype,{connectorShapes:{fixedOffset:function(b,r,a){let c=r.breakAt,u=r.touchingSliceAt,f=a.softConnector?["C",b.x+(b.alignment==="left"?-5:5),b.y,2*c.x-u.x,2*c.y-u.y,c.x,c.y]:["L",c.x,c.y];return[["M",b.x,b.y],f,["L",u.x,u.y]]},straight:function(b,r){let a=r.touchingSliceAt;return[["M",b.x,b.y],["L",a.x,a.y]]},crookedLine:function(b,r,a){let{angle:c=this.angle||0,breakAt:u,touchingSliceAt:f}=r,{series:p}=this,[m,g,_]=p.center,S=_/2,{plotLeft:x,plotWidth:w}=p.chart,k=b.alignment==="left",{x:L,y:B}=b,H=u.x;if(a.crookDistance){let j=RN(a.crookDistance,1);H=k?m+S+(w+x-m-S)*(1-j):x+(m-S)*j}else H=m+(g-B)*Math.tan(c-Math.PI/2);let M=[["M",L,B]];return(k?H<=L&&H>=u.x:H>=L&&H<=u.x)&&M.push(["L",H,B]),M.push(["L",u.x,u.y],["L",f.x,f.y]),M}}});let{getStartAndEndRadians:IN}=p_,{noop:y_}=N,{clamp:NN,extend:MN,fireEvent:v_,merge:Kp,pick:DN}=we;class Jp extends Ei{animate(r){let a=this,c=a.points,u=a.startAngleRad;r||c.forEach(function(f){let p=f.graphic,m=f.shapeArgs;p&&m&&(p.attr({r:DN(f.startR,a.center&&a.center[3]/2),start:u,end:u}),p.animate({r:m.r,start:m.start,end:m.end},a.options.animation))})}drawEmpty(){let r,a,c=this.startAngleRad,u=this.endAngleRad,f=this.options;this.total===0&&this.center?(r=this.center[0],a=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(r,a,this.center[1]/2,0,c,u).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:Xb.arc(r,a,this.center[2]/2,0,{start:c,end:u,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":f.borderWidth,fill:f.fillColor||"none",stroke:f.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let r=this.chart.renderer;this.points.forEach(function(a){a.graphic&&a.hasNewShapeType()&&(a.graphic=a.graphic.destroy()),a.graphic||(a.graphic=r[a.shapeType](a.shapeArgs).add(a.series.group),a.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(r,a,c,u){let f=this.center,p=this.radii?this.radii[c.index]||0:f[2]/2,m=u.dataLabelPosition,g=m?.distance||0,_=Math.asin(NN((r-f[1])/(p+g),-1,1));return f[0]+Math.cos(_)*(p+g)*(a?-1:1)+(g>0?(a?-1:1)*(u.padding||0):0)}hasData(){return!!this.dataTable.rowCount}redrawPoints(){let r,a,c,u,f=this,p=f.chart;this.drawEmpty(),f.group&&!p.styledMode&&f.group.shadow(f.options.shadow),f.points.forEach(function(m){let g={};a=m.graphic,!m.isNull&&a?(u=m.shapeArgs,r=m.getTranslate(),p.styledMode||(c=f.pointAttribs(m,m.selected&&"select")),m.delayedRendering?(a.setRadialReference(f.center).attr(u).attr(r),p.styledMode||a.attr(c).attr({"stroke-linejoin":"round"}),m.delayedRendering=!1):(a.setRadialReference(f.center),p.styledMode||Kp(!0,g,c),Kp(!0,g,u,r),a.animate(g)),a.attr({visibility:m.visible?"inherit":"hidden"}),a.addClass(m.getClassName(),!0)):a&&(m.graphic=a.destroy())})}sortByAngle(r,a){r.sort(function(c,u){return c.angle!==void 0&&(u.angle-c.angle)*a})}translate(r){v_(this,"translate"),this.generatePoints();let a=this.options,c=a.slicedOffset,u=IN(a.startAngle,a.endAngle),f=this.startAngleRad=u.start,p=(this.endAngleRad=u.end)-f,m=this.points,g=a.ignoreHiddenPoint,_=m.length,S,x,w,k,L,B,H,M=0;for(r||(this.center=r=this.getCenter()),B=0;B<_;B++){H=m[B],S=f+M*p,H.isValid()&&(!g||H.visible)&&(M+=H.percentage/100),x=f+M*p;let j={x:r[0],y:r[1],r:r[2]/2,innerR:r[3]/2,start:Math.round(1e3*S)/1e3,end:Math.round(1e3*x)/1e3};H.shapeType="arc",H.shapeArgs=j,(w=(x+S)/2)>1.5*Math.PI?w-=2*Math.PI:w<-Math.PI/2&&(w+=2*Math.PI),H.slicedTranslation={translateX:Math.round(Math.cos(w)*c),translateY:Math.round(Math.sin(w)*c)},k=Math.cos(w)*r[2]/2,L=Math.sin(w)*r[2]/2,H.tooltipPos=[r[0]+.7*k,r[1]+.7*L],H.half=w<-Math.PI/2||w>Math.PI/2?1:0,H.angle=w}v_(this,"afterTranslate")}updateTotals(){let r=this.points,a=r.length,c=this.options.ignoreHiddenPoint,u,f,p=0;for(u=0;u<a;u++)(f=r[u]).isValid()&&(!c||f.visible)&&(p+=f.y);for(u=0,this.total=p;u<a;u++)(f=r[u]).percentage=p>0&&(f.visible||!c)?f.y/p*100:0,f.total=p}}Jp.defaultOptions=Kp(Ei.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),MN(Jp.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:$u.prototype.drawTracker,getCenter:p_.getCenter,getSymbol:y_,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:$u.prototype.pointAttribs,pointClass:g_,requireSorting:!1,searchPoint:y_,trackerGroups:["group","dataLabelsGroup"]}),Jt.registerSeriesType("pie",Jp);let{composed:FN,noop:BN}=N,{distribute:HN}=ru,{series:b_}=Jt,{arrayMax:UN,clamp:__,defined:E_,pick:$N,pushUnique:jN,relativeLength:x_}=we;(function(b){let r={radialDistributionY:function(p,m){return(m.dataLabelPosition?.top||0)+p.distributeBox.pos},radialDistributionX:function(p,m,g,_,S){let x=S.dataLabelPosition;return p.getX(g<(x?.top||0)+2||g>(x?.bottom||0)-2?_:g,m.half,m,S)},justify:function(p,m,g,_){return _[0]+(p.half?-1:1)*(g+(m.dataLabelPosition?.distance||0))},alignToPlotEdges:function(p,m,g,_){let S=p.getBBox().width;return m?S+_:g-S-_},alignToConnectors:function(p,m,g,_){let S=0,x;return p.forEach(function(w){(x=w.dataLabel.getBBox().width)>S&&(S=x)}),m?S+_:g-S-_}};function a(p,m){let g=Math.PI/2,{start:_=0,end:S=0}=p.shapeArgs||{},x=p.angle||0;m>0&&_<g&&S>g&&x>g/2&&x<1.5*g&&(x=x<=g?Math.max(g/2,(_+g)/2):Math.min(1.5*g,(g+S)/2));let{center:w,options:k}=this,L=w[2]/2,B=Math.cos(x),H=Math.sin(x),M=w[0]+B*L,j=w[1]+H*L,V=Math.min((k.slicedOffset||0)+(k.borderWidth||0),m/5);return{natural:{x:M+B*m,y:j+H*m},computed:{},alignment:m<0?"center":p.half?"right":"left",connectorPosition:{angle:x,breakAt:{x:M+B*V,y:j+H*V},touchingSliceAt:{x:M,y:j}},distance:m}}function c(){let p=this,m=p.points,g=p.chart,_=g.plotWidth,S=g.plotHeight,x=g.plotLeft,w=Math.round(g.chartWidth/3),k=p.center,L=k[2]/2,B=k[1],H=[[],[]],M=[0,0,0,0],j=p.dataLabelPositioners,V,te,ie,ne=0;p.visible&&p.hasDataLabels?.()&&(m.forEach(Z=>{(Z.dataLabels||[]).forEach(re=>{re.shortened&&(re.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),re.shortened=!1)})}),b_.prototype.drawDataLabels.apply(p),m.forEach(Z=>{(Z.dataLabels||[]).forEach((re,ge)=>{let ye=k[2]/2,_e=re.options,Le=x_(_e?.distance||0,ye);ge===0&&H[Z.half].push(Z),!E_(_e?.style?.width)&&re.getBBox().width>w&&(re.css({width:Math.round(.7*w)+"px"}),re.shortened=!0),re.dataLabelPosition=this.getDataLabelPosition(Z,Le),ne=Math.max(ne,Le)})}),H.forEach((Z,re)=>{let ge=Z.length,ye=[],_e,Le,Re=0,Be;ge&&(p.sortByAngle(Z,re-.5),ne>0&&(_e=Math.max(0,B-L-ne),Le=Math.min(B+L+ne,g.plotHeight),Z.forEach(Me=>{(Me.dataLabels||[]).forEach($e=>{let rt=$e.dataLabelPosition;rt&&rt.distance>0&&(rt.top=Math.max(0,B-L-rt.distance),rt.bottom=Math.min(B+L+rt.distance,g.plotHeight),Re=$e.getBBox().height||21,$e.lineHeight=g.renderer.fontMetrics($e.text||$e).h+2*$e.padding,Me.distributeBox={target:($e.dataLabelPosition?.natural.y||0)-rt.top+$e.lineHeight/2,size:Re,rank:Me.y},ye.push(Me.distributeBox))})}),HN(ye,Be=Le+Re-_e,Be/5)),Z.forEach(Me=>{(Me.dataLabels||[]).forEach($e=>{let rt=$e.options||{},Ge=Me.distributeBox,qe=$e.dataLabelPosition,st=qe?.natural.y||0,ze=rt.connectorPadding||0,nn=$e.lineHeight||21,qt=(nn-$e.getBBox().height)/2,ht=0,Nt=st,dn="inherit";if(qe){if(ye&&E_(Ge)&&qe.distance>0&&(Ge.pos===void 0?dn="hidden":(ie=Ge.size,Nt=j.radialDistributionY(Me,$e))),rt.justify)ht=j.justify(Me,$e,L,k);else switch(rt.alignTo){case"connectors":ht=j.alignToConnectors(Z,re,_,x);break;case"plotEdges":ht=j.alignToPlotEdges($e,re,_,x);break;default:ht=j.radialDistributionX(p,Me,Nt-qt,st,$e)}if(qe.attribs={visibility:dn,align:qe.alignment},qe.posAttribs={x:ht+(rt.x||0)+({left:ze,right:-ze}[qe.alignment]||0),y:Nt+(rt.y||0)-nn/2},qe.computed.x=ht,qe.computed.y=Nt-qt,$N(rt.crop,!0)){let Xt;ht-(te=$e.getBBox().width)<ze&&re===1?(Xt=Math.round(te-ht+ze),M[3]=Math.max(Xt,M[3])):ht+te>_-ze&&re===0&&(Xt=Math.round(ht+te-_+ze),M[1]=Math.max(Xt,M[1])),Nt-ie/2<0?M[0]=Math.max(Math.round(-Nt+ie/2),M[0]):Nt+ie/2>S&&(M[2]=Math.max(Math.round(Nt+ie/2-S),M[2])),qe.sideOverflow=Xt}}})}))}),(UN(M)===0||this.verifyDataLabelOverflow(M))&&(this.placeDataLabels(),this.points.forEach(Z=>{(Z.dataLabels||[]).forEach(re=>{let{connectorColor:ge,connectorWidth:ye=1}=re.options||{},_e=re.dataLabelPosition;if(ye){let Le;V=re.connector,_e&&_e.distance>0?(Le=!V,V||(re.connector=V=g.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+Z.colorIndex+(Z.className?" "+Z.className:"")).add(p.dataLabelsGroup)),g.styledMode||V.attr({"stroke-width":ye,stroke:ge||Z.color||"#666666"}),V[Le?"attr":"animate"]({d:Z.getConnectorPath(re)}),V.attr({visibility:_e.attribs?.visibility})):V&&(re.connector=V.destroy())}})})))}function u(){this.points.forEach(p=>{(p.dataLabels||[]).forEach(m=>{let g=m.dataLabelPosition;g?(g.sideOverflow&&(m.css({width:Math.max(m.getBBox().width-g.sideOverflow,0)+"px",textOverflow:(m.options?.style||{}).textOverflow||"ellipsis"}),m.shortened=!0),m.attr(g.attribs),m[m.moved?"animate":"attr"](g.posAttribs),m.moved=!0):m&&m.attr({y:-9999})}),delete p.distributeBox},this)}function f(p){let m=this.center,g=this.options,_=g.center,S=g.minSize||80,x=S,w=g.size!==null;return!w&&(_[0]!==null?x=Math.max(m[2]-Math.max(p[1],p[3]),S):(x=Math.max(m[2]-p[1]-p[3],S),m[0]+=(p[3]-p[1])/2),_[1]!==null?x=__(x,S,m[2]-Math.max(p[0],p[2])):(x=__(x,S,m[2]-p[0]-p[2]),m[1]+=(p[0]-p[2])/2),x<m[2]?(m[2]=x,m[3]=Math.min(g.thickness?Math.max(0,x-2*g.thickness):Math.max(0,x_(g.innerSize||0,x)),x),this.translate(m),this.drawDataLabels&&this.drawDataLabels()):w=!0),w}b.compose=function(p){if(ju.compose(b_),jN(FN,"PieDataLabel")){let m=p.prototype;m.dataLabelPositioners=r,m.alignDataLabel=BN,m.drawDataLabels=c,m.getDataLabelPosition=a,m.placeDataLabels=u,m.verifyDataLabelOverflow=f}}})(D||(D={}));let VN=D;(function(b){b.getCenterOfPoints=function(r){let a=r.reduce((c,u)=>(c.x+=u.x,c.y+=u.y,c),{x:0,y:0});return{x:a.x/r.length,y:a.y/r.length}},b.getDistanceBetweenPoints=function(r,a){return Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2))},b.getAngleBetweenPoints=function(r,a){return Math.atan2(a.x-r.x,a.y-r.y)},b.pointInPolygon=function({x:r,y:a},c){let u=c.length,f,p,m=!1;for(f=0,p=u-1;f<u;p=f++){let[g,_]=c[f],[S,x]=c[p];_>a!=x>a&&r<(S-g)*(a-_)/(x-_)+g&&(m=!m)}return m}})(F||(F={}));let{pointInPolygon:WN}=F,{addEvent:zN,fireEvent:S_,objectEach:w_,pick:XN}=we;function GN(b){let r=b.length,a=(S,x)=>!(x.x>=S.x+S.width||x.x+x.width<=S.x||x.y>=S.y+S.height||x.y+x.height<=S.y),c=(S,x)=>{for(let w of S)if(WN({x:w[0],y:w[1]},x))return!0;return!1},u,f,p,m,g,_=!1;for(let S=0;S<r;S++)(u=b[S])&&(u.oldOpacity=u.opacity,u.newOpacity=1,u.absoluteBox=(function(x){if(x&&(!x.alignAttr||x.placed)){let w=x.box?0:x.padding||0,k=x.alignAttr||{x:x.attr("x"),y:x.attr("y")},L=x.getBBox();return x.width=L.width,x.height=L.height,{x:k.x+(x.parentGroup?.translateX||0)+w,y:k.y+(x.parentGroup?.translateY||0)+w,width:(x.width||0)-2*w,height:(x.height||0)-2*w,polygon:L?.polygon}}})(u));b.sort((S,x)=>(x.labelrank||0)-(S.labelrank||0));for(let S=0;S<r;++S){m=(f=b[S])&&f.absoluteBox;let x=m?.polygon;for(let w=S+1;w<r;++w){g=(p=b[w])&&p.absoluteBox;let k=!1;if(m&&g&&f!==p&&f.newOpacity!==0&&p.newOpacity!==0&&f.visibility!=="hidden"&&p.visibility!=="hidden"){let L=g.polygon;if(x&&L&&x!==L?c(x,L)&&(k=!0):a(m,g)&&(k=!0),k){let B=f.labelrank<p.labelrank?f:p,H=B.text;B.newOpacity=0,H?.element.querySelector("textPath")&&H.hide()}}}}for(let S of b)T_(S,this)&&(_=!0);_&&S_(this,"afterHideAllOverlappingLabels")}function T_(b,r){let a,c,u=!1;return b&&(c=b.newOpacity,b.oldOpacity!==c&&(b.hasClass("highcharts-data-label")?(b[c?"removeClass":"addClass"]("highcharts-data-label-hidden"),a=function(){r.styledMode||b.css({pointerEvents:c?"auto":"none"})},u=!0,b[b.isOld?"animate":"attr"]({opacity:c},void 0,a),S_(r,"afterHideOverlappingLabel")):b.attr({opacity:c})),b.isOld=!0),u}function qN(){let b=this,r=[];for(let a of b.labelCollectors||[])r=r.concat(a());for(let a of b.yAxis||[])a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&w_(a.stacking.stacks,c=>{w_(c,u=>{u.label&&r.push(u.label)})});for(let a of b.series||[])if(a.visible&&a.hasDataLabels?.()){let c=u=>{for(let f of u)f.visible&&(f.dataLabels||[]).forEach(p=>{let m=p.options||{};p.labelrank=XN(m.labelrank,f.labelrank,f.shapeArgs?.height),m.allowOverlap??Number(m.distance)>0?(p.oldOpacity=p.opacity,p.newOpacity=1,T_(p,b)):r.push(p)})};c(a.nodes||[]),c(a.points)}this.hideOverlappingLabels(r)}let C_={compose:function(b){let r=b.prototype;r.hideOverlappingLabels||(r.hideOverlappingLabels=GN,zN(b,"render",qN))}},{defaultOptions:YN}=Ne,{noop:A_}=N,{addEvent:O_,extend:KN,isObject:k_,merge:JN,relativeLength:Zp}=we,ZN={radius:0,scope:"stack",where:void 0},P_=A_,L_=A_;function QN(b,r,a,c,u={}){let f=P_(b,r,a,c,u),{innerR:p=0,r:m=a,start:g=0,end:_=0}=u;if(u.open||!u.borderRadius)return f;let S=_-g,x=Math.sin(S/2),w=Math.max(Math.min(Zp(u.borderRadius||0,m-p),(m-p)/2,m*x/(1+x)),0),k=Math.min(w,S/Math.PI*2*p),L=f.length-1;for(;L--;)(function(B,H,M){let j,V,te,ie=B[H],ne=B[H+1];if(ne[0]==="Z"&&(ne=B[0]),(ie[0]==="M"||ie[0]==="L")&&ne[0]==="A"?(j=ie,V=ne,te=!0):ie[0]==="A"&&(ne[0]==="M"||ne[0]==="L")&&(j=ne,V=ie),j&&V&&V.params){let Z=V[1],re=V[5],ge=V.params,{start:ye,end:_e,cx:Le,cy:Re}=ge,Be=re?Z-M:Z+M,Me=Be?Math.asin(M/Be):0,$e=re?Me:-Me,rt=Math.cos(Me)*Be;te?(ge.start=ye+$e,j[1]=Le+rt*Math.cos(ye),j[2]=Re+rt*Math.sin(ye),B.splice(H+1,0,["A",M,M,0,0,1,Le+Z*Math.cos(ge.start),Re+Z*Math.sin(ge.start)])):(ge.end=_e-$e,V[6]=Le+Z*Math.cos(ge.end),V[7]=Re+Z*Math.sin(ge.end),B.splice(H+1,0,["A",M,M,0,0,1,Le+rt*Math.cos(_e),Re+rt*Math.sin(_e)])),V[4]=Math.abs(ge.end-ge.start)<Math.PI?0:1}})(f,L,L>1?k:w);return f}function eM(){if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:b,yAxis:r}=this,a=b.stacking==="percent",c=YN.plotOptions?.[this.type]?.borderRadius,u=Qp(b.borderRadius,k_(c)?c:{}),f=r.options.reversed;for(let p of this.points){let{shapeArgs:m}=p;if(p.shapeType==="roundedRect"&&m){let{width:g=0,height:_=0,y:S=0}=m,x=S,w=_;if(u.scope==="stack"&&p.stackTotal){let H=r.translate(a?100:p.stackTotal,!1,!0,!1,!0),M=r.translate(b.threshold||0,!1,!0,!1,!0),j=this.crispCol(0,Math.min(H,M),0,Math.abs(H-M));x=j.y,w=j.height}let k=(p.negative?-1:1)*(f?-1:1)==-1,L=u.where;!L&&this.is("waterfall")&&Math.abs((p.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(L="all"),L||(L="end");let B=Math.min(Zp(u.radius,g),g/2,L==="all"?_/2:1/0)||0;L==="end"&&(k&&(x-=B),w+=B),KN(m,{brBoxHeight:w,brBoxY:x,r:B})}}}}function Qp(b,r){return k_(b)||(b={radius:b||0}),JN(ZN,r,b)}function tM(){let b=Qp(this.options.borderRadius);for(let r of this.points){let a=r.shapeArgs;a&&(a.borderRadius=Zp(b.radius,(a.r||0)-(a.innerR||0)))}}function nM(b,r,a,c,u={}){let f=L_(b,r,a,c,u),{r:p=0,brBoxHeight:m=c,brBoxY:g=r}=u,_=r-g,S=g+m-(r+c),x=_-p>-.1?0:p,w=S-p>-.1?0:p,k=Math.max(x&&_,0),L=Math.max(w&&S,0),B=[b+x,r],H=[b+a-x,r],M=[b+a,r+x],j=[b+a,r+c-w],V=[b+a-w,r+c],te=[b+w,r+c],ie=[b,r+c-w],ne=[b,r+x],Z=(re,ge)=>Math.sqrt(Math.pow(re,2)-Math.pow(ge,2));if(k){let re=Z(x,x-k);B[0]-=re,H[0]+=re,M[1]=ne[1]=r+x-k}if(c<x-k){let re=Z(x,x-k-c);M[0]=j[0]=b+a-x+re,V[0]=Math.min(M[0],V[0]),te[0]=Math.max(j[0],te[0]),ie[0]=ne[0]=b+x-re,M[1]=ne[1]=r+c}if(L){let re=Z(w,w-L);V[0]+=re,te[0]-=re,j[1]=ie[1]=r+c-w+L}if(c<w-L){let re=Z(w,w-L-c);M[0]=j[0]=b+a-w+re,H[0]=Math.min(M[0],H[0]),B[0]=Math.max(j[0],B[0]),ie[0]=ne[0]=b+w-re,j[1]=ie[1]=r}return f.length=0,f.push(["M",...B],["L",...H],["A",x,x,0,0,1,...M],["L",...j],["A",w,w,0,0,1,...V],["L",...te],["A",w,w,0,0,1,...ie],["L",...ne],["A",x,x,0,0,1,...B],["Z"]),f}let{diffObjects:iM,extend:rM,find:sM,merge:oM,pick:zu,uniqueKey:aM}=we;(function(b){function r(c,u){let f=c.condition;(f.callback||function(){return this.chartWidth<=zu(f.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=zu(f.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=zu(f.minWidth,0)&&this.chartHeight>=zu(f.minHeight,0)}).call(this)&&u.push(c._id)}function a(c,u){let f=this.options.responsive,p=this.currentResponsive,m=[],g;!u&&f&&f.rules&&f.rules.forEach(x=>{x._id===void 0&&(x._id=aM()),this.matchResponsiveRule(x,m)},this);let _=oM(...m.map(x=>sM((f||{}).rules||[],w=>w._id===x)).map(x=>x&&x.chartOptions));_.isResponsiveOptions=!0,m=m.toString()||void 0;let S=p&&p.ruleIds;m===S||(p&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(p.undoOptions,c,!0),this.updatingResponsive=!1),m?((g=iM(_,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:m,mergedOptions:_,undoOptions:g},this.updatingResponsive||this.update(_,c,!0)):this.currentResponsive=void 0)}b.compose=function(c){let u=c.prototype;return u.matchResponsiveRule||rM(u,{matchResponsiveRule:r,setResponsive:a}),c}})(A||(A={}));let lM=A;N.AST=Vt,N.Axis=Xo,N.Chart=hs,N.Color=Mt,N.DataLabel=ju,N.DataTableCore=Ou,N.Fx=tn,N.HTMLElement=hl,N.Legend=H0,N.LegendSymbol=T0,N.OverlappingDataLabels=N.OverlappingDataLabels||C_,N.PlotLineOrBand=Eu,N.Point=as,N.Pointer=x0,N.RendererRegistry=rl,N.Series=Ei,N.SeriesRegistry=Jt,N.StackItem=J0,N.SVGElement=ur,N.SVGRenderer=fu,N.Templating=$i,N.Tick=zo,N.Time=kt,N.Tooltip=y0,N.animate=Ln.animate,N.animObject=Ln.animObject,N.chart=hs.chart,N.color=Mt.parse,N.dateFormat=$i.dateFormat,N.defaultOptions=Ne.defaultOptions,N.distribute=ru.distribute,N.format=$i.format,N.getDeferredAnimation=Ln.getDeferredAnimation,N.getOptions=Ne.getOptions,N.numberFormat=$i.numberFormat,N.seriesType=Jt.seriesType,N.setAnimation=Ln.setAnimation,N.setOptions=Ne.setOptions,N.stop=Ln.stop,N.time=Ne.defaultTime,N.timers=tn.timers,{compose:function(b,r,a){let c=b.types.pie;if(!r.symbolCustomAttribs.includes("borderRadius")){let u=a.prototype.symbols;O_(b,"afterColumnTranslate",eM,{order:9}),O_(c,"afterTranslate",tM),r.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),P_=u.arc,L_=u.roundedRect,u.arc=QN,u.roundedRect=nM}},optionsToObject:Qp}.compose(N.Series,N.SVGElement,N.SVGRenderer),vN.compose(N.Series.types.column),ju.compose(N.Series),QL.compose(N.Axis),hl.compose(N.SVGRenderer),H0.compose(N.Chart),nR.compose(N.Axis),C_.compose(N.Chart),VN.compose(N.Series.types.pie),Eu.compose(N.Chart,N.Axis),x0.compose(N.Chart),lM.compose(N.Chart),ml.compose(N.Axis,N.Chart,N.Series),JI.compose(N.Axis,N.Chart,N.Series),y0.compose(N.Pointer),we.extend(N,we);let cM=N;return U.default})())})(Vh)),Vh.exports}var $m={exports:{}},jm={};const Ha=Symbol(""),_a=Symbol(""),Od=Symbol(""),Sc=Symbol(""),jv=Symbol(""),Ds=Symbol(""),Vv=Symbol(""),Wv=Symbol(""),kd=Symbol(""),Pd=Symbol(""),el=Symbol(""),Ld=Symbol(""),zv=Symbol(""),Rd=Symbol(""),Id=Symbol(""),Nd=Symbol(""),Md=Symbol(""),Dd=Symbol(""),Fd=Symbol(""),Xv=Symbol(""),Gv=Symbol(""),Kc=Symbol(""),wc=Symbol(""),Bd=Symbol(""),Hd=Symbol(""),Ua=Symbol(""),tl=Symbol(""),Ud=Symbol(""),Nf=Symbol(""),pk=Symbol(""),Mf=Symbol(""),Tc=Symbol(""),mk=Symbol(""),gk=Symbol(""),$d=Symbol(""),yk=Symbol(""),vk=Symbol(""),jd=Symbol(""),qv=Symbol(""),Po={[Ha]:"Fragment",[_a]:"Teleport",[Od]:"Suspense",[Sc]:"KeepAlive",[jv]:"BaseTransition",[Ds]:"openBlock",[Vv]:"createBlock",[Wv]:"createElementBlock",[kd]:"createVNode",[Pd]:"createElementVNode",[el]:"createCommentVNode",[Ld]:"createTextVNode",[zv]:"createStaticVNode",[Rd]:"resolveComponent",[Id]:"resolveDynamicComponent",[Nd]:"resolveDirective",[Md]:"resolveFilter",[Dd]:"withDirectives",[Fd]:"renderList",[Xv]:"renderSlot",[Gv]:"createSlots",[Kc]:"toDisplayString",[wc]:"mergeProps",[Bd]:"normalizeClass",[Hd]:"normalizeStyle",[Ua]:"normalizeProps",[tl]:"guardReactiveProps",[Ud]:"toHandlers",[Nf]:"camelize",[pk]:"capitalize",[Mf]:"toHandlerKey",[Tc]:"setBlockTracking",[mk]:"pushScopeId",[gk]:"popScopeId",[$d]:"withCtx",[yk]:"unref",[vk]:"isRef",[jd]:"withMemo",[qv]:"isMemoSame"};function bk(e){Object.getOwnPropertySymbols(e).forEach(t=>{Po[t]=e[t]})}const e8={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},t8={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},n8={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},i8={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},wn={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function _k(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:wn}}function $a(e,t,n,i,s,o,l,h=!1,d=!1,v=!1,y=wn){return e&&(h?(e.helper(Ds),e.helper(Io(e.inSSR,v))):e.helper(Ro(e.inSSR,v)),l&&e.helper(Dd)),{type:13,tag:t,props:n,children:i,patchFlag:s,dynamicProps:o,directives:l,isBlock:h,disableTracking:d,isComponent:v,loc:y}}function Ls(e,t=wn){return{type:17,loc:t,elements:e}}function wi(e,t=wn){return{type:15,loc:t,properties:e}}function cn(e,t){return{type:16,loc:wn,key:Ke(e)?et(e,!0):e,value:t}}function et(e,t=!1,n=wn,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function r8(e,t){return{type:5,loc:t,content:Ke(e)?et(e,!1,t):e}}function Di(e,t=wn){return{type:8,loc:t,children:e}}function gn(e,t=[],n=wn){return{type:14,loc:n,callee:e,arguments:t}}function Lo(e,t=void 0,n=!1,i=!1,s=wn){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:s}}function Df(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:wn}}function Ek(e,t,n=!1,i=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:i,needArraySpread:!1,loc:wn}}function xk(e){return{type:21,body:e,loc:wn}}function s8(e){return{type:22,elements:e,loc:wn}}function o8(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:wn}}function a8(e,t){return{type:24,left:e,right:t,loc:wn}}function l8(e){return{type:25,expressions:e,loc:wn}}function c8(e){return{type:26,returns:e,loc:wn}}function Ro(e,t){return e||t?kd:Pd}function Io(e,t){return e||t?Vv:Wv}function Vd(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(Ro(i,e.isComponent)),t(Ds),t(Io(i,e.isComponent)))}const uw=new Uint8Array([123,123]),hw=new Uint8Array([125,125]);function fw(e){return e>=97&&e<=122||e>=65&&e<=90}function xi(e){return e===32||e===10||e===9||e===12||e===13}function ys(e){return e===47||e===62||xi(e)}function Ff(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const $n={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class u8{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=uw,this.delimiterClose=hw,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=uw,this.delimiterClose=hw}getPos(t){let n=1,i=t+1;const s=this.newlines.length;let o=-1;if(s>100){let l=-1,h=s;for(;l+1<h;){const d=l+h>>>1;this.newlines[d]<t?l=d:h=d}o=l}else for(let l=s-1;l>=0;l--)if(t>this.newlines[l]){o=l;break}return o>=0&&(n=o+2,i=t-this.newlines[o]),{column:i,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ys(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||xi(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===$n.TitleEnd||this.currentSequence===$n.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===$n.Cdata[this.sequenceIndex]?++this.sequenceIndex===$n.Cdata.length&&(this.state=28,this.currentSequence=$n.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===$n.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):fw(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ys(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ys(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Ff("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){xi(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=fw(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||xi(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):xi(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):xi(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ys(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ys(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ys(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ys(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ys(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):xi(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):xi(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){xi(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=$n.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===$n.ScriptEnd[3]?this.startSpecial($n.ScriptEnd,4):t===$n.StyleEnd[3]?this.startSpecial($n.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===$n.TitleEnd[3]?this.startSpecial($n.TitleEnd,4):t===$n.TextareaEnd[3]?this.startSpecial($n.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===$n.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const h8={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},f8={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function oy(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Eo(e,t){const n=oy("MODE",t),i=oy(e,t);return n===3?i===!0:i!==!1}function ja(e,t,n,...i){return Eo(e,t)}function d8(e,t,n,...i){if(oy(e,t)==="suppress-warning")return;const{message:o,link:l}=f8[e],h=`(deprecation ${e}) ${typeof o=="function"?o(...i):o}${l?` Details: ${l}`:""}`,d=new SyntaxError(h);d.code=e,n&&(d.loc=n),t.onWarn(d)}function Yv(e){throw e}function Sk(e){}function Ht(e,t,n,i){const s=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(s));return o.code=e,o.loc=t,o}const p8={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},m8={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable. Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function g8(e,t,n=!1,i=[],s=Object.create(null)){}function y8(e,t,n){return!1}function v8(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const i=t[n];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function b8(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function _8(e,t){for(const n of e.params)for(const i of br(n))t(i)}function wk(e,t){const n=e.type==="SwitchCase"?e.consequent:e.body;for(const i of n)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(const s of i.declarations)for(const o of br(s.id))t(o)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;t(i.id)}else E8(i)?x8(i,!0,t):i.type==="SwitchStatement"&&S8(i,!0,t)}function E8(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function x8(e,t,n){const i=e.type==="ForStatement"?e.init:e.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const s of i.declarations)for(const o of br(s.id))n(o)}function S8(e,t,n){for(const i of e.cases){for(const s of i.consequent)if(s.type==="VariableDeclaration"&&(s.kind==="var"?t:!t))for(const o of s.declarations)for(const l of br(o.id))n(l);wk(i,n)}}function br(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(const i of e.properties)i.type==="RestElement"?br(i.argument,t):br(i.value,t);break;case"ArrayPattern":e.elements.forEach(i=>{i&&br(i,t)});break;case"RestElement":br(e.argument,t);break;case"AssignmentPattern":br(e.left,t);break}return t}const w8=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Tk=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,T8=(e,t)=>Tk(t)&&t.key===e,Ck=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Ak(e){return Ck.includes(e.type)?Ak(e.expression):e}const ai=e=>e.type===4&&e.isStatic;function Kv(e){switch(e){case"Teleport":case"teleport":return _a;case"Suspense":case"suspense":return Od;case"KeepAlive":case"keep-alive":return Sc;case"BaseTransition":case"base-transition":return jv}}const C8=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Jc=e=>!C8.test(e),Jv=/[A-Za-z_$\xA0-\uFFFF]/,A8=/[\.\?\w$\xA0-\uFFFF]/,O8=/\s+[.[]\s*|\s*[.[]\s+/g,Ok=e=>e.type===4?e.content:e.loc.source,kk=e=>{const t=Ok(e).trim().replace(O8,h=>h.trim());let n=0,i=[],s=0,o=0,l=null;for(let h=0;h<t.length;h++){const d=t.charAt(h);switch(n){case 0:if(d==="[")i.push(n),n=1,s++;else if(d==="(")i.push(n),n=2,o++;else if(!(h===0?Jv:A8).test(d))return!1;break;case 1:d==="'"||d==='"'||d==="`"?(i.push(n),n=3,l=d):d==="["?s++:d==="]"&&(--s||(n=i.pop()));break;case 2:if(d==="'"||d==='"'||d==="`")i.push(n),n=3,l=d;else if(d==="(")o++;else if(d===")"){if(h===t.length-1)return!1;--o||(n=i.pop())}break;case 3:d===l&&(n=i.pop(),l=null);break}}return!s&&!o},k8=On,Zv=kk,P8=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Pk=e=>P8.test(Ok(e)),L8=On,Lk=Pk;function R8(e,t,n=t.length){return Rk({offset:e.offset,line:e.line,column:e.column},t,n)}function Rk(e,t,n=t.length){let i=0,s=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(i++,s=o);return e.offset+=n,e.line+=i,e.column=s===-1?e.column+n:n-s,e}function I8(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function si(e,t,n=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&(n||s.exp)&&(Ke(t)?s.name===t:t.test(s.name)))return s}}function Zc(e,t,n=!1,i=!1){for(let s=0;s<e.props.length;s++){const o=e.props[s];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||i))return o}else if(o.name==="bind"&&(o.exp||i)&&ks(o.arg,t))return o}}function ks(e,t){return!!(e&&ai(e)&&e.content===t)}function Ik(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Wh(e){return e.type===5||e.type===2}function ay(e){return e.type===7&&e.name==="pre"}function Qv(e){return e.type===7&&e.name==="slot"}function Va(e){return e.type===1&&e.tagType===3}function Cc(e){return e.type===1&&e.tagType===2}const N8=new Set([Ua,tl]);function Nk(e,t=[]){if(e&&!Ke(e)&&e.type===14){const n=e.callee;if(!Ke(n)&&N8.has(n))return Nk(e.arguments[0],t.concat(e))}return[e,t]}function Ac(e,t,n){let i,s=e.type===13?e.props:e.arguments[2],o=[],l;if(s&&!Ke(s)&&s.type===14){const h=Nk(s);s=h[0],o=h[1],l=o[o.length-1]}if(s==null||Ke(s))i=wi([t]);else if(s.type===14){const h=s.arguments[0];!Ke(h)&&h.type===15?dw(t,h)||h.properties.unshift(t):s.callee===Ud?i=gn(n.helper(wc),[wi([t]),s]):s.arguments.unshift(wi([t])),!i&&(i=s)}else s.type===15?(dw(t,s)||s.properties.unshift(t),i=s):(i=gn(n.helper(wc),[wi([t]),s]),l&&l.callee===tl&&(l=o[o.length-2]));e.type===13?l?l.arguments[0]=i:e.props=i:l?l.arguments[0]=i:e.arguments[2]=i}function dw(e,t){let n=!1;if(e.key.type===4){const i=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===i)}return n}function Wa(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,i)=>n==="-"?"_":e.charCodeAt(i).toString())}`}function Gi(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++){const i=e.props[n];if(i.type===7&&(Gi(i.arg,t)||Gi(i.exp,t)))return!0}return e.children.some(n=>Gi(n,t));case 11:return Gi(e.source,t)?!0:e.children.some(n=>Gi(n,t));case 9:return e.branches.some(n=>Gi(n,t));case 10:return Gi(e.condition,t)?!0:e.children.some(n=>Gi(n,t));case 4:return!e.isStatic&&Jc(e.content)&&!!t[e.content];case 8:return e.children.some(n=>Tt(n)&&Gi(n,t));case 5:case 12:return Gi(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Mk(e){return e.type===14&&e.callee===jd?e.arguments[1].returns:e}const Dk=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function eb(e){for(let t=0;t<e.length;t++)if(!xi(e.charCodeAt(t)))return!1;return!0}function Wd(e){return e.type===2&&eb(e.content)||e.type===12&&Wd(e.content)}function tb(e){return e.type===3||Wd(e)}const Fk={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:oo,isPreTag:oo,isIgnoreNewlineTag:oo,isCustomElement:oo,onError:Yv,onWarn:Sk,comments:!1,prefixIdentifiers:!1};let Ot=Fk,Oc=null,Jr="",Wn=null,pt=null,ci="",Hr=-1,ro=-1,nb=0,Cs=!1,ly=null;const Yt=[],sn=new u8(Yt,{onerr:Br,ontext(e,t){vh(Mn(e,t),e,t)},ontextentity(e,t,n){vh(e,t,n)},oninterpolation(e,t){if(Cs)return vh(Mn(e,t),e,t);let n=e+sn.delimiterOpen.length,i=t-sn.delimiterClose.length;for(;xi(Jr.charCodeAt(n));)n++;for(;xi(Jr.charCodeAt(i-1));)i--;let s=Mn(n,i);s.includes("&")&&(s=Ot.decodeEntities(s,!1)),cy({type:5,content:Xh(s,!1,ln(n,i)),loc:ln(e,t)})},onopentagname(e,t){const n=Mn(e,t);Wn={type:1,tag:n,ns:Ot.getNamespace(n,Yt[0],Ot.ns),tagType:0,props:[],children:[],loc:ln(e-1,t),codegenNode:void 0}},onopentagend(e){mw(e)},onclosetag(e,t){const n=Mn(e,t);if(!Ot.isVoidTag(n)){let i=!1;for(let s=0;s<Yt.length;s++)if(Yt[s].tag.toLowerCase()===n.toLowerCase()){i=!0,s>0&&Br(24,Yt[0].loc.start.offset);for(let l=0;l<=s;l++){const h=Yt.shift();zh(h,t,l<s)}break}i||Br(23,Bk(e,60))}},onselfclosingtag(e){const t=Wn.tag;Wn.isSelfClosing=!0,mw(e),Yt[0]&&Yt[0].tag===t&&zh(Yt.shift(),e)},onattribname(e,t){pt={type:6,name:Mn(e,t),nameLoc:ln(e,t),value:void 0,loc:ln(e)}},ondirname(e,t){const n=Mn(e,t),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Cs&&i===""&&Br(26,e),Cs||i==="")pt={type:6,name:n,nameLoc:ln(e,t),value:void 0,loc:ln(e)};else if(pt={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[et("prop")]:[],loc:ln(e)},i==="pre"){Cs=sn.inVPre=!0,ly=Wn;const s=Wn.props;for(let o=0;o<s.length;o++)s[o].type===7&&(s[o]=W8(s[o]))}},ondirarg(e,t){if(e===t)return;const n=Mn(e,t);if(Cs&&!ay(pt))pt.name+=n,co(pt.nameLoc,t);else{const i=n[0]!=="[";pt.arg=Xh(i?n:n.slice(1,-1),i,ln(e,t),i?3:0)}},ondirmodifier(e,t){const n=Mn(e,t);if(Cs&&!ay(pt))pt.name+="."+n,co(pt.nameLoc,t);else if(pt.name==="slot"){const i=pt.arg;i&&(i.content+="."+n,co(i.loc,t))}else{const i=et(n,!0,ln(e,t));pt.modifiers.push(i)}},onattribdata(e,t){ci+=Mn(e,t),Hr<0&&(Hr=e),ro=t},onattribentity(e,t,n){ci+=e,Hr<0&&(Hr=t),ro=n},onattribnameend(e){const t=pt.loc.start.offset,n=Mn(t,e);pt.type===7&&(pt.rawName=n),Wn.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&Br(2,t)},onattribend(e,t){if(Wn&&pt){if(co(pt.loc,t),e!==0)if(ci.includes("&")&&(ci=Ot.decodeEntities(ci,!0)),pt.type===6)pt.name==="class"&&(ci=Uk(ci).trim()),e===1&&!ci&&Br(13,t),pt.value={type:2,content:ci,loc:e===1?ln(Hr,ro):ln(Hr-1,ro+1)},sn.inSFCRoot&&Wn.tag==="template"&&pt.name==="lang"&&ci&&ci!=="html"&&sn.enterRCDATA(Ff("</template"),0);else{let n=0;pt.exp=Xh(ci,!1,ln(Hr,ro),0,n),pt.name==="for"&&(pt.forParseResult=D8(pt.exp));let i=-1;pt.name==="bind"&&(i=pt.modifiers.findIndex(s=>s.content==="sync"))>-1&&ja("COMPILER_V_BIND_SYNC",Ot,pt.loc,pt.arg.loc.source)&&(pt.name="model",pt.modifiers.splice(i,1))}(pt.type!==7||pt.name!=="pre")&&Wn.props.push(pt)}ci="",Hr=ro=-1},oncomment(e,t){Ot.comments&&cy({type:3,content:Mn(e,t),loc:ln(e-4,t+3)})},onend(){const e=Jr.length;for(let t=0;t<Yt.length;t++)zh(Yt[t],e-1),Br(24,Yt[t].loc.start.offset)},oncdata(e,t){Yt[0].ns!==0?vh(Mn(e,t),e,t):Br(1,e-9)},onprocessinginstruction(e){(Yt[0]?Yt[0].ns:Ot.ns)===0&&Br(21,e-1)}}),pw=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,M8=/^\(|\)$/g;function D8(e){const t=e.loc,n=e.content,i=n.match(Dk);if(!i)return;const[,s,o]=i,l=(E,C,T=!1)=>{const O=t.start.offset+C,P=O+E.length;return Xh(E,!1,ln(O,P),0,T?1:0)},h={source:l(o.trim(),n.indexOf(o,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let d=s.trim().replace(M8,"").trim();const v=s.indexOf(d),y=d.match(pw);if(y){d=d.replace(pw,"").trim();const E=y[1].trim();let C;if(E&&(C=n.indexOf(E,v+d.length),h.key=l(E,C,!0)),y[2]){const T=y[2].trim();T&&(h.index=l(T,n.indexOf(T,h.key?C+E.length:v+d.length),!0))}}return d&&(h.value=l(d,v,!0)),h}function Mn(e,t){return Jr.slice(e,t)}function mw(e){sn.inSFCRoot&&(Wn.innerLoc=ln(e+1,e+1)),cy(Wn);const{tag:t,ns:n}=Wn;n===0&&Ot.isPreTag(t)&&nb++,Ot.isVoidTag(t)?zh(Wn,e):(Yt.unshift(Wn),(n===1||n===2)&&(sn.inXML=!0)),Wn=null}function vh(e,t,n){{const o=Yt[0]&&Yt[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=Ot.decodeEntities(e,!1))}const i=Yt[0]||Oc,s=i.children[i.children.length-1];s&&s.type===2?(s.content+=e,co(s.loc,n)):i.children.push({type:2,content:e,loc:ln(t,n)})}function zh(e,t,n=!1){n?co(e.loc,Bk(t,60)):co(e.loc,F8(t,62)+1),sn.inSFCRoot&&(e.children.length?e.innerLoc.end=lt({},e.children[e.children.length-1].loc.end):e.innerLoc.end=lt({},e.innerLoc.start),e.innerLoc.source=Mn(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:s,children:o}=e;if(Cs||(i==="slot"?e.tagType=2:gw(e)?e.tagType=3:H8(e)&&(e.tagType=1)),sn.inRCDATA||(e.children=Hk(o)),s===0&&Ot.isIgnoreNewlineTag(i)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}s===0&&Ot.isPreTag(i)&&nb--,ly===e&&(Cs=sn.inVPre=!1,ly=null),sn.inXML&&(Yt[0]?Yt[0].ns:Ot.ns)===0&&(sn.inXML=!1);{const l=e.props;if(!sn.inSFCRoot&&Eo("COMPILER_NATIVE_TEMPLATE",Ot)&&e.tag==="template"&&!gw(e)){const d=Yt[0]||Oc,v=d.children.indexOf(e);d.children.splice(v,1,...e.children)}const h=l.find(d=>d.type===6&&d.name==="inline-template");h&&ja("COMPILER_INLINE_TEMPLATE",Ot,h.loc)&&e.children.length&&(h.value={type:2,content:Mn(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:h.loc})}}function F8(e,t){let n=e;for(;Jr.charCodeAt(n)!==t&&n<Jr.length-1;)n++;return n}function Bk(e,t){let n=e;for(;Jr.charCodeAt(n)!==t&&n>=0;)n--;return n}const B8=new Set(["if","else","else-if","for","slot"]);function gw({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&B8.has(t[n].name))return!0}return!1}function H8({tag:e,props:t}){if(Ot.isCustomElement(e))return!1;if(e==="component"||U8(e.charCodeAt(0))||Kv(e)||Ot.isBuiltInComponent&&Ot.isBuiltInComponent(e)||Ot.isNativeTag&&!Ot.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const i=t[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(ja("COMPILER_IS_ON_ELEMENT",Ot,i.loc))return!0}}else if(i.name==="bind"&&ks(i.arg,"is")&&ja("COMPILER_IS_ON_ELEMENT",Ot,i.loc))return!0}return!1}function U8(e){return e>64&&e<91}const $8=/\r\n/g;function Hk(e){const t=Ot.whitespace!=="preserve";let n=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s.type===2)if(nb)s.content=s.content.replace($8,` `);else if(eb(s.content)){const o=e[i-1]&&e[i-1].type,l=e[i+1]&&e[i+1].type;!o||!l||t&&(o===3&&(l===3||l===1)||o===1&&(l===3||l===1&&j8(s.content)))?(n=!0,e[i]=null):s.content=" "}else t&&(s.content=Uk(s.content))}return n?e.filter(Boolean):e}function j8(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Uk(e){let t="",n=!1;for(let i=0;i<e.length;i++)xi(e.charCodeAt(i))?n||(t+=" ",n=!0):(t+=e[i],n=!1);return t}function cy(e){(Yt[0]||Oc).children.push(e)}function ln(e,t){return{start:sn.getPos(e),end:t==null?t:sn.getPos(t),source:t==null?t:Mn(e,t)}}function V8(e){return ln(e.start.offset,e.end.offset)}function co(e,t){e.end=sn.getPos(t),e.source=Mn(e.start.offset,t)}function W8(e){const t={type:6,name:e.rawName,nameLoc:ln(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Xh(e,t=!1,n,i=0,s=0){return et(e,t,n,i)}function Br(e,t,n){Ot.onError(Ht(e,ln(t,t)))}function z8(){sn.reset(),Wn=null,pt=null,ci="",Hr=-1,ro=-1,Yt.length=0}function ib(e,t){if(z8(),Jr=e,Ot=lt({},Fk),t){let s;for(s in t)t[s]!=null&&(Ot[s]=t[s])}sn.mode=Ot.parseMode==="html"?1:Ot.parseMode==="sfc"?2:0,sn.inXML=Ot.ns===1||Ot.ns===2;const n=t&&t.delimiters;n&&(sn.delimiterOpen=Ff(n[0]),sn.delimiterClose=Ff(n[1]));const i=Oc=_k([],e);return sn.parse(Jr),i.loc=ln(0,e.length),i.children=Hk(i.children),Oc=null,i}function X8(e,t){Gh(e,void 0,t,!!$k(e))}function $k(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Cc(t[0])?t[0]:null}function Gh(e,t,n,i=!1,s=!1){const{children:o}=e,l=[];for(let y=0;y<o.length;y++){const E=o[y];if(E.type===1&&E.tagType===0){const C=i?0:di(E,n);if(C>0){if(C>=2){E.codegenNode.patchFlag=-1,l.push(E);continue}}else{const T=E.codegenNode;if(T.type===13){const O=T.patchFlag;if((O===void 0||O===512||O===1)&&Vk(E,n)>=2){const P=Wk(E);P&&(T.props=n.hoist(P))}T.dynamicProps&&(T.dynamicProps=n.hoist(T.dynamicProps))}}}else if(E.type===12&&(i?0:di(E,n))>=2){E.codegenNode.type===14&&E.codegenNode.arguments.length>0&&E.codegenNode.arguments.push("-1"),l.push(E);continue}if(E.type===1){const C=E.tagType===1;C&&n.scopes.vSlot++,Gh(E,e,n,!1,s),C&&n.scopes.vSlot--}else if(E.type===11)Gh(E,e,n,E.children.length===1,!0);else if(E.type===9)for(let C=0;C<E.branches.length;C++)Gh(E.branches[C],e,n,E.branches[C].children.length===1,s)}let h=!1;if(l.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Fe(e.codegenNode.children))e.codegenNode.children=d(Ls(e.codegenNode.children)),h=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Fe(e.codegenNode.children)&&e.codegenNode.children.type===15){const y=v(e.codegenNode,"default");y&&(y.returns=d(Ls(y.returns)),h=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Fe(t.codegenNode.children)&&t.codegenNode.children.type===15){const y=si(e,"slot",!0),E=y&&y.arg&&v(t.codegenNode,y.arg);E&&(E.returns=d(Ls(E.returns)),h=!0)}}if(!h)for(const y of l)y.codegenNode=n.cache(y.codegenNode);function d(y){const E=n.cache(y);return E.needArraySpread=!0,E}function v(y,E){if(y.children&&!Fe(y.children)&&y.children.type===15){const C=y.children.properties.find(T=>T.key===E||T.key.content===E);return C&&C.value}}l.length&&n.transformHoist&&n.transformHoist(o,n,e)}function di(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const i=n.get(e);if(i!==void 0)return i;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let l=3;const h=Vk(e,t);if(h===0)return n.set(e,0),0;h<l&&(l=h);for(let d=0;d<e.children.length;d++){const v=di(e.children[d],t);if(v===0)return n.set(e,0),0;v<l&&(l=v)}if(l>1)for(let d=0;d<e.props.length;d++){const v=e.props[d];if(v.type===7&&v.name==="bind"&&v.exp){const y=di(v.exp,t);if(y===0)return n.set(e,0),0;y<l&&(l=y)}}if(s.isBlock){for(let d=0;d<e.props.length;d++)if(e.props[d].type===7)return n.set(e,0),0;t.removeHelper(Ds),t.removeHelper(Io(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(Ro(t.inSSR,s.isComponent))}return n.set(e,l),l}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return di(e.content,t);case 4:return e.constType;case 8:let o=3;for(let l=0;l<e.children.length;l++){const h=e.children[l];if(Ke(h)||li(h))continue;const d=di(h,t);if(d===0)return 0;d<o&&(o=d)}return o;case 20:return 2;default:return 0}}const G8=new Set([Bd,Hd,Ua,tl]);function jk(e,t){if(e.type===14&&!Ke(e.callee)&&G8.has(e.callee)){const n=e.arguments[0];if(n.type===4)return di(n,t);if(n.type===14)return jk(n,t)}return 0}function Vk(e,t){let n=3;const i=Wk(e);if(i&&i.type===15){const{properties:s}=i;for(let o=0;o<s.length;o++){const{key:l,value:h}=s[o],d=di(l,t);if(d===0)return d;d<n&&(n=d);let v;if(h.type===4?v=di(h,t):h.type===14?v=jk(h,t):v=0,v===0)return v;v<n&&(n=v)}}return n}function Wk(e){const t=e.codegenNode;if(t.type===13)return t.props}function zk(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:s=!1,cacheHandlers:o=!1,nodeTransforms:l=[],directiveTransforms:h={},transformHoist:d=null,isBuiltInComponent:v=On,isCustomElement:y=On,expressionPlugins:E=[],scopeId:C=null,slotted:T=!0,ssr:O=!1,inSSR:P=!1,ssrCssVars:I="",bindingMetadata:R=dt,inline:D=!1,isTS:F=!1,onError:A=Yv,onWarn:$=Sk,compatConfig:U}){const N=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),J={filename:t,selfName:N&&Hs(jt(N[1])),prefixIdentifiers:n,hoistStatic:i,hmr:s,cacheHandlers:o,nodeTransforms:l,directiveTransforms:h,transformHoist:d,isBuiltInComponent:v,isCustomElement:y,expressionPlugins:E,scopeId:C,slotted:T,ssr:O,inSSR:P,ssrCssVars:I,bindingMetadata:R,inline:D,isTS:F,onError:A,onWarn:$,compatConfig:U,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(Y){const K=J.helpers.get(Y)||0;return J.helpers.set(Y,K+1),Y},removeHelper(Y){const K=J.helpers.get(Y);if(K){const oe=K-1;oe?J.helpers.set(Y,oe):J.helpers.delete(Y)}},helperString(Y){return`_${Po[J.helper(Y)]}`},replaceNode(Y){J.parent.children[J.childIndex]=J.currentNode=Y},removeNode(Y){const K=J.parent.children,oe=Y?K.indexOf(Y):J.currentNode?J.childIndex:-1;!Y||Y===J.currentNode?(J.currentNode=null,J.onNodeRemoved()):J.childIndex>oe&&(J.childIndex--,J.onNodeRemoved()),J.parent.children.splice(oe,1)},onNodeRemoved:On,addIdentifiers(Y){},removeIdentifiers(Y){},hoist(Y){Ke(Y)&&(Y=et(Y)),J.hoists.push(Y);const K=et(`_hoisted_${J.hoists.length}`,!1,Y.loc,2);return K.hoisted=Y,K},cache(Y,K=!1,oe=!1){const q=Ek(J.cached.length,Y,K,oe);return J.cached.push(q),q}};return J.filters=new Set,J}function Xk(e,t){const n=zk(e,t);Qc(e,n),t.hoistStatic&&X8(e,n),t.ssr||q8(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.transformed=!0,e.filters=[...n.filters]}function q8(e,t){const{helper:n}=t,{children:i}=e;if(i.length===1){const s=$k(e);if(s&&s.codegenNode){const o=s.codegenNode;o.type===13&&Vd(o,t),e.codegenNode=o}else e.codegenNode=i[0]}else if(i.length>1){let s=64;e.codegenNode=$a(t,n(Ha),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function Y8(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];Ke(s)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=i,Qc(s,t))}}function Qc(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let o=0;o<n.length;o++){const l=n[o](e,t);if(l&&(Fe(l)?i.push(...l):i.push(l)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(el);break;case 5:t.ssr||t.helper(Kc);break;case 9:for(let o=0;o<e.branches.length;o++)Qc(e.branches[o],t);break;case 10:case 11:case 1:case 0:Y8(e,t);break}t.currentNode=e;let s=i.length;for(;s--;)i[s]()}function rb(e,t){const n=Ke(e)?i=>i===e:i=>e.test(i);return(i,s)=>{if(i.type===1){const{props:o}=i;if(i.tagType===3&&o.some(Qv))return;const l=[];for(let h=0;h<o.length;h++){const d=o[h];if(d.type===7&&n(d.name)){o.splice(h,1),h--;const v=t(i,d,s);v&&l.push(v)}}return l}}}const zd="/*@__PURE__*/",Gk=e=>`${Po[e]}: _${Po[e]}`;function K8(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:i=!1,filename:s="template.vue.html",scopeId:o=null,optimizeImports:l=!1,runtimeGlobalName:h="Vue",runtimeModuleName:d="vue",ssrRuntimeModuleName:v="vue/server-renderer",ssr:y=!1,isTS:E=!1,inSSR:C=!1}){const T={mode:t,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:o,optimizeImports:l,runtimeGlobalName:h,runtimeModuleName:d,ssrRuntimeModuleName:v,ssr:y,isTS:E,inSSR:C,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(P){return`_${Po[P]}`},push(P,I=-2,R){T.code+=P},indent(){O(++T.indentLevel)},deindent(P=!1){P?--T.indentLevel:O(--T.indentLevel)},newline(){O(T.indentLevel)}};function O(P){T.push(` `+" ".repeat(P),0)}return T}function qk(e,t={}){const n=K8(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:o,indent:l,deindent:h,newline:d,scopeId:v,ssr:y}=n,E=Array.from(e.helpers),C=E.length>0,T=!o&&i!=="module";J8(e,n);const P=y?"ssrRender":"render",R=(y?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${P}(${R}) {`),l(),T&&(s("with (_ctx) {"),l(),C&&(s(`const { ${E.map(Gk).join(", ")} } = _Vue `,-1),d())),e.components.length&&(Vm(e.components,"component",n),(e.directives.length||e.temps>0)&&d()),e.directives.length&&(Vm(e.directives,"directive",n),e.temps>0&&d()),e.filters&&e.filters.length&&(d(),Vm(e.filters,"filter",n),d()),e.temps>0){s("let ");for(let D=0;D<e.temps;D++)s(`${D>0?", ":""}_temp${D}`)}return(e.components.length||e.directives.length||e.temps)&&(s(` `,0),d()),y||s("return "),e.codegenNode?Jn(e.codegenNode,n):s("null"),T&&(h(),s("}")),h(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function J8(e,t){const{ssr:n,prefixIdentifiers:i,push:s,newline:o,runtimeModuleName:l,runtimeGlobalName:h,ssrRuntimeModuleName:d}=t,v=h,y=Array.from(e.helpers);if(y.length>0&&(s(`const _Vue = ${v} `,-1),e.hoists.length)){const E=[kd,Pd,el,Ld,zv].filter(C=>y.includes(C)).map(Gk).join(", ");s(`const { ${E} } = _Vue `,-1)}Z8(e.hoists,t),o(),s("return ")}function Vm(e,t,{helper:n,push:i,newline:s,isTS:o}){const l=n(t==="filter"?Md:t==="component"?Rd:Nd);for(let h=0;h<e.length;h++){let d=e[h];const v=d.endsWith("__self");v&&(d=d.slice(0,-6)),i(`const ${Wa(d,t)} = ${l}(${JSON.stringify(d)}${v?", true":""})${o?"!":""}`),h<e.length-1&&s()}}function Z8(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:i}=t;i();for(let s=0;s<e.length;s++){const o=e[s];o&&(n(`const _hoisted_${s+1} = `),Jn(o,t),i())}t.pure=!1}function sb(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),eu(e,t,n),n&&t.deindent(),t.push("]")}function eu(e,t,n=!1,i=!0){const{push:s,newline:o}=t;for(let l=0;l<e.length;l++){const h=e[l];Ke(h)?s(h,-3):Fe(h)?sb(h,t):Jn(h,t),l<e.length-1&&(n?(i&&s(","),o()):i&&s(", "))}}function Jn(e,t){if(Ke(e)){t.push(e,-3);return}if(li(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Jn(e.codegenNode,t);break;case 2:Q8(e,t);break;case 4:Yk(e,t);break;case 5:eq(e,t);break;case 12:Jn(e.codegenNode,t);break;case 8:Kk(e,t);break;case 3:nq(e,t);break;case 13:iq(e,t);break;case 14:sq(e,t);break;case 15:oq(e,t);break;case 17:aq(e,t);break;case 18:lq(e,t);break;case 19:cq(e,t);break;case 20:uq(e,t);break;case 21:eu(e.body,t,!0,!1);break}}function Q8(e,t){t.push(JSON.stringify(e.content),-3,e)}function Yk(e,t){const{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function eq(e,t){const{push:n,helper:i,pure:s}=t;s&&n(zd),n(`${i(Kc)}(`),Jn(e.content,t),n(")")}function Kk(e,t){for(let n=0;n<e.children.length;n++){const i=e.children[n];Ke(i)?t.push(i,-3):Jn(i,t)}}function tq(e,t){const{push:n}=t;if(e.type===8)n("["),Kk(e,t),n("]");else if(e.isStatic){const i=Jc(e.content)?e.content:JSON.stringify(e.content);n(i,-2,e)}else n(`[${e.content}]`,-3,e)}function nq(e,t){const{push:n,helper:i,pure:s}=t;s&&n(zd),n(`${i(el)}(${JSON.stringify(e.content)})`,-3,e)}function iq(e,t){const{push:n,helper:i,pure:s}=t,{tag:o,props:l,children:h,patchFlag:d,dynamicProps:v,directives:y,isBlock:E,disableTracking:C,isComponent:T}=e;let O;d&&(O=String(d)),y&&n(i(Dd)+"("),E&&n(`(${i(Ds)}(${C?"true":""}), `),s&&n(zd);const P=E?Io(t.inSSR,T):Ro(t.inSSR,T);n(i(P)+"(",-2,e),eu(rq([o,l,h,O,v]),t),n(")"),E&&n(")"),y&&(n(", "),Jn(y,t),n(")"))}function rq(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function sq(e,t){const{push:n,helper:i,pure:s}=t,o=Ke(e.callee)?e.callee:i(e.callee);s&&n(zd),n(o+"(",-2,e),eu(e.arguments,t),n(")")}function oq(e,t){const{push:n,indent:i,deindent:s,newline:o}=t,{properties:l}=e;if(!l.length){n("{}",-2,e);return}const h=l.length>1||!1;n(h?"{":"{ "),h&&i();for(let d=0;d<l.length;d++){const{key:v,value:y}=l[d];tq(v,t),n(": "),Jn(y,t),d<l.length-1&&(n(","),o())}h&&s(),n(h?"}":" }")}function aq(e,t){sb(e.elements,t)}function lq(e,t){const{push:n,indent:i,deindent:s}=t,{params:o,returns:l,body:h,newline:d,isSlot:v}=e;v&&n(`_${Po[$d]}(`),n("(",-2,e),Fe(o)?eu(o,t):o&&Jn(o,t),n(") => "),(d||h)&&(n("{"),i()),l?(d&&n("return "),Fe(l)?sb(l,t):Jn(l,t)):h&&Jn(h,t),(d||h)&&(s(),n("}")),v&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function cq(e,t){const{test:n,consequent:i,alternate:s,newline:o}=e,{push:l,indent:h,deindent:d,newline:v}=t;if(n.type===4){const E=!Jc(n.content);E&&l("("),Yk(n,t),E&&l(")")}else l("("),Jn(n,t),l(")");o&&h(),t.indentLevel++,o||l(" "),l("? "),Jn(i,t),t.indentLevel--,o&&v(),o||l(" "),l(": ");const y=s.type===19;y||t.indentLevel++,Jn(s,t),y||t.indentLevel--,o&&d(!0)}function uq(e,t){const{push:n,helper:i,indent:s,deindent:o,newline:l}=t,{needPauseTracking:h,needArraySpread:d}=e;d&&n("[...("),n(`_cache[${e.index}] || (`),h&&(s(),n(`${i(Tc)}(-1`),e.inVOnce&&n(", true"),n("),"),l(),n("(")),n(`_cache[${e.index}] = `),Jn(e.value,t),h&&(n(`).cacheIndex = ${e.index},`),l(),n(`${i(Tc)}(1),`),l(),n(`_cache[${e.index}]`),o()),n(")"),d&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const hq=(e,t)=>{if(e.type===5)e.content=qh(e.content,t);else if(e.type===1){const n=si(e,"memo");for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&s.name!=="for"){const o=s.exp,l=s.arg;o&&o.type===4&&!(s.name==="on"&&l)&&!(n&&l&&l.type===4&&l.content==="key")&&(s.exp=qh(o,t,s.name==="slot")),l&&l.type===4&&!l.isStatic&&(s.arg=qh(l,t))}}}};function qh(e,t,n=!1,i=!1,s=Object.create(t.identifiers)){return e}function Jk(e){return Ke(e)?e:e.type===4?e.content:e.children.map(Jk).join("")}const fq=rb(/^(?:if|else|else-if)$/,(e,t,n)=>Zk(e,t,n,(i,s,o)=>{const l=n.parent.children;let h=l.indexOf(i),d=0;for(;h-->=0;){const v=l[h];v&&v.type===9&&(d+=v.branches.length)}return()=>{if(o)i.codegenNode=vw(s,d,n);else{const v=dq(i.codegenNode);v.alternate=vw(s,d+i.branches.length-1,n)}}}));function Zk(e,t,n,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(Ht(28,t.loc)),t.exp=et("true",!1,s)}if(t.name==="if"){const s=yw(e,t),o={type:9,loc:V8(e.loc),branches:[s]};if(n.replaceNode(o),i)return i(o,s,!0)}else{const s=n.parent.children;let o=s.indexOf(e);for(;o-->=-1;){const l=s[o];if(l&&tb(l)){n.removeNode(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(Ht(30,e.loc)),n.removeNode();const h=yw(e,t);l.branches.push(h);const d=i&&i(l,h,!1);Qc(h,n),d&&d(),n.currentNode=null}else n.onError(Ht(30,e.loc));break}}}function yw(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!si(e,"for")?e.children:[e],userKey:Zc(e,"key"),isTemplateIf:n}}function vw(e,t,n){return e.condition?Df(e.condition,bw(e,t,n),gn(n.helper(el),['""',"true"])):bw(e,t,n)}function bw(e,t,n){const{helper:i}=n,s=cn("key",et(`${t}`,!1,wn,2)),{children:o}=e,l=o[0];if(o.length!==1||l.type!==1)if(o.length===1&&l.type===11){const d=l.codegenNode;return Ac(d,s,n),d}else return $a(n,i(Ha),wi([s]),o,64,void 0,void 0,!0,!1,!1,e.loc);else{const d=l.codegenNode,v=Mk(d);return v.type===13&&Vd(v,n),Ac(v,s,n),d}}function dq(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const pq=rb("for",(e,t,n)=>{const{helper:i,removeHelper:s}=n;return Qk(e,t,n,o=>{const l=gn(i(Fd),[o.source]),h=Va(e),d=si(e,"memo"),v=Zc(e,"key",!1,!0);v&&v.type;let y=v&&(v.type===6?v.value?et(v.value.content,!0):void 0:v.exp);const E=v&&y?cn("key",y):null,C=o.source.type===4&&o.source.constType>0,T=C?64:v?128:256;return o.codegenNode=$a(n,i(Ha),void 0,l,T,void 0,void 0,!0,!C,!1,e.loc),()=>{let O;const{children:P}=o,I=P.length!==1||P[0].type!==1,R=Cc(e)?e:h&&e.children.length===1&&Cc(e.children[0])?e.children[0]:null;if(R?(O=R.codegenNode,h&&E&&Ac(O,E,n)):I?O=$a(n,i(Ha),E?wi([E]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(O=P[0].codegenNode,h&&E&&Ac(O,E,n),O.isBlock!==!C&&(O.isBlock?(s(Ds),s(Io(n.inSSR,O.isComponent))):s(Ro(n.inSSR,O.isComponent))),O.isBlock=!C,O.isBlock?(i(Ds),i(Io(n.inSSR,O.isComponent))):i(Ro(n.inSSR,O.isComponent))),d){const D=Lo(Bf(o.parseResult,[et("_cached")]));D.body=xk([Di(["const _memo = (",d.exp,")"]),Di(["if (_cached",...y?[" && _cached.key === ",y]:[],` && ${n.helperString(qv)}(_cached, _memo)) return _cached`]),Di(["const _item = ",O]),et("_item.memo = _memo"),et("return _item")]),l.arguments.push(D,et("_cache"),et(String(n.cached.length))),n.cached.push(null)}else l.arguments.push(Lo(Bf(o.parseResult),O,!0))}})});function Qk(e,t,n,i){if(!t.exp){n.onError(Ht(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(Ht(32,t.loc));return}ob(s);const{addIdentifiers:o,removeIdentifiers:l,scopes:h}=n,{source:d,value:v,key:y,index:E}=s,C={type:11,loc:t.loc,source:d,valueAlias:v,keyAlias:y,objectIndexAlias:E,parseResult:s,children:Va(e)?e.children:[e]};n.replaceNode(C),h.vFor++;const T=i&&i(C);return()=>{h.vFor--,T&&T()}}function ob(e,t){e.finalized||(e.finalized=!0)}function Bf({value:e,key:t,index:n},i=[]){return mq([e,t,n,...i])}function mq(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,i)=>n||et("_".repeat(i+1),!1))}const _w=et("undefined",!1),eP=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=si(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},gq=(e,t)=>{let n;if(Va(e)&&e.props.some(Qv)&&(n=si(e,"for"))){const i=n.forParseResult;if(i){ob(i);const{value:s,key:o,index:l}=i,{addIdentifiers:h,removeIdentifiers:d}=t;return s&&h(s),o&&h(o),l&&h(l),()=>{s&&d(s),o&&d(o),l&&d(l)}}}},yq=(e,t,n,i)=>Lo(e,n,!1,!0,n.length?n[0].loc:i);function tP(e,t,n=yq){t.helper($d);const{children:i,loc:s}=e,o=[],l=[];let h=t.scopes.vSlot>0||t.scopes.vFor>0;const d=si(e,"slot",!0);if(d){const{arg:I,exp:R}=d;I&&!ai(I)&&(h=!0),o.push(cn(I||et("default",!0),n(R,void 0,i,s)))}let v=!1,y=!1;const E=[],C=new Set;let T=0;for(let I=0;I<i.length;I++){const R=i[I];let D;if(!Va(R)||!(D=si(R,"slot",!0))){R.type!==3&&E.push(R);continue}if(d){t.onError(Ht(37,D.loc));break}v=!0;const{children:F,loc:A}=R,{arg:$=et("default",!0),exp:U,loc:N}=D;let J;ai($)?J=$?$.content:"default":h=!0;const Y=si(R,"for"),K=n(U,Y,F,A);let oe,q;if(oe=si(R,"if"))h=!0,l.push(Df(oe.exp,bh($,K,T++),_w));else if(q=si(R,/^else(?:-if)?$/,!0)){let ce=I,xe;for(;ce--&&(xe=i[ce],!!tb(xe)););if(xe&&Va(xe)&&si(xe,/^(?:else-)?if$/)){let Se=l[l.length-1];for(;Se.alternate.type===19;)Se=Se.alternate;Se.alternate=q.exp?Df(q.exp,bh($,K,T++),_w):bh($,K,T++)}else t.onError(Ht(30,q.loc))}else if(Y){h=!0;const ce=Y.forParseResult;ce?(ob(ce),l.push(gn(t.helper(Fd),[ce.source,Lo(Bf(ce),bh($,K),!0)]))):t.onError(Ht(32,Y.loc))}else{if(J){if(C.has(J)){t.onError(Ht(38,N));continue}C.add(J),J==="default"&&(y=!0)}o.push(cn($,K))}}if(!d){const I=(R,D)=>{const F=n(R,void 0,D,s);return t.compatConfig&&(F.isNonScopedSlot=!0),cn("default",F)};v?E.length&&!E.every(Wd)&&(y?t.onError(Ht(39,E[0].loc)):o.push(I(void 0,E))):o.push(I(void 0,i))}const O=h?2:Yh(e.children)?3:1;let P=wi(o.concat(cn("_",et(O+"",!1))),s);return l.length&&(P=gn(t.helper(Gv),[P,Ls(l)])),{slots:P,hasDynamicSlots:h}}function bh(e,t,n){const i=[cn("name",e),cn("fn",t)];return n!=null&&i.push(cn("key",et(String(n),!0))),wi(i)}function Yh(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Yh(n.children))return!0;break;case 9:if(Yh(n.branches))return!0;break;case 10:case 11:if(Yh(n.children))return!0;break}}return!1}const nP=new WeakMap,iP=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:s}=e,o=e.tagType===1;let l=o?rP(e,t):`"${i}"`;const h=Tt(l)&&l.callee===Id;let d,v,y=0,E,C,T,O=h||l===_a||l===Od||!o&&(i==="svg"||i==="foreignObject"||i==="math");if(s.length>0){const P=ab(e,t,void 0,o,h);d=P.props,y=P.patchFlag,C=P.dynamicPropNames;const I=P.directives;T=I&&I.length?Ls(I.map(R=>sP(R,t))):void 0,P.shouldUseBlock&&(O=!0)}if(e.children.length>0)if(l===Sc&&(O=!0,y|=1024),o&&l!==_a&&l!==Sc){const{slots:I,hasDynamicSlots:R}=tP(e,t);v=I,R&&(y|=1024)}else if(e.children.length===1&&l!==_a){const I=e.children[0],R=I.type,D=R===5||R===8;D&&di(I,t)===0&&(y|=1),D||R===2?v=I:v=e.children}else v=e.children;C&&C.length&&(E=bq(C)),e.codegenNode=$a(t,l,d,v,y===0?void 0:y,E,T,!!O,!1,o,e.loc)};function rP(e,t,n=!1){let{tag:i}=e;const s=uy(i),o=Zc(e,"is",!1,!0);if(o)if(s||Eo("COMPILER_IS_ON_ELEMENT",t)){let h;if(o.type===6?h=o.value&&et(o.value.content,!0):(h=o.exp,h||(h=et("is",!1,o.arg.loc))),h)return gn(t.helper(Id),[h])}else o.type===6&&o.value.content.startsWith("vue:")&&(i=o.value.content.slice(4));const l=Kv(i)||t.isBuiltInComponent(i);return l?(n||t.helper(l),l):(t.helper(Rd),t.components.add(i),Wa(i,"component"))}function ab(e,t,n=e.props,i,s,o=!1){const{tag:l,loc:h,children:d}=e;let v=[];const y=[],E=[],C=d.length>0;let T=!1,O=0,P=!1,I=!1,R=!1,D=!1,F=!1,A=!1;const $=[],U=K=>{v.length&&(y.push(wi(Ew(v),h)),v=[]),K&&y.push(K)},N=()=>{t.scopes.vFor>0&&v.push(cn(et("ref_for",!0),et("true")))},J=({key:K,value:oe})=>{if(ai(K)){const q=K.content,ce=Fs(q);if(ce&&(!i||s)&&q.toLowerCase()!=="onclick"&&q!=="onUpdate:modelValue"&&!_r(q)&&(D=!0),ce&&_r(q)&&(A=!0),ce&&oe.type===14&&(oe=oe.arguments[0]),oe.type===20||(oe.type===4||oe.type===8)&&di(oe,t)>0)return;q==="ref"?P=!0:q==="class"?I=!0:q==="style"?R=!0:q!=="key"&&!$.includes(q)&&$.push(q),i&&(q==="class"||q==="style")&&!$.includes(q)&&$.push(q)}else F=!0};for(let K=0;K<n.length;K++){const oe=n[K];if(oe.type===6){const{loc:q,name:ce,nameLoc:xe,value:Se}=oe;let pe=!0;if(ce==="ref"&&(P=!0,N()),ce==="is"&&(uy(l)||Se&&Se.content.startsWith("vue:")||Eo("COMPILER_IS_ON_ELEMENT",t)))continue;v.push(cn(et(ce,!0,xe),et(Se?Se.content:"",pe,Se?Se.loc:q)))}else{const{name:q,arg:ce,exp:xe,loc:Se,modifiers:pe}=oe,Ce=q==="bind",be=q==="on";if(q==="slot"){i||t.onError(Ht(40,Se));continue}if(q==="once"||q==="memo"||q==="is"||Ce&&ks(ce,"is")&&(uy(l)||Eo("COMPILER_IS_ON_ELEMENT",t))||be&&o)continue;if((Ce&&ks(ce,"key")||be&&C&&ks(ce,"vue:before-update"))&&(T=!0),Ce&&ks(ce,"ref")&&N(),!ce&&(Ce||be)){if(F=!0,xe)if(Ce){if(U(),Eo("COMPILER_V_BIND_OBJECT_ORDER",t)){y.unshift(xe);continue}N(),U(),y.push(xe)}else U({type:14,loc:Se,callee:t.helper(Ud),arguments:i?[xe]:[xe,"true"]});else t.onError(Ht(Ce?34:35,Se));continue}Ce&&pe.some(ot=>ot.content==="prop")&&(O|=32);const Pe=t.directiveTransforms[q];if(Pe){const{props:ot,needRuntime:tt}=Pe(oe,e,t);!o&&ot.forEach(J),be&&ce&&!ai(ce)?U(wi(ot,h)):v.push(...ot),tt&&(E.push(oe),li(tt)&&nP.set(oe,tt))}else Mw(q)||(E.push(oe),C&&(T=!0))}}let Y;if(y.length?(U(),y.length>1?Y=gn(t.helper(wc),y,h):Y=y[0]):v.length&&(Y=wi(Ew(v),h)),F?O|=16:(I&&!i&&(O|=2),R&&!i&&(O|=4),$.length&&(O|=8),D&&(O|=32)),!T&&(O===0||O===32)&&(P||A||E.length>0)&&(O|=512),!t.inSSR&&Y)switch(Y.type){case 15:let K=-1,oe=-1,q=!1;for(let Se=0;Se<Y.properties.length;Se++){const pe=Y.properties[Se].key;ai(pe)?pe.content==="class"?K=Se:pe.content==="style"&&(oe=Se):pe.isHandlerKey||(q=!0)}const ce=Y.properties[K],xe=Y.properties[oe];q?Y=gn(t.helper(Ua),[Y]):(ce&&!ai(ce.value)&&(ce.value=gn(t.helper(Bd),[ce.value])),xe&&(R||xe.value.type===4&&xe.value.content.trim()[0]==="["||xe.value.type===17)&&(xe.value=gn(t.helper(Hd),[xe.value])));break;case 14:break;default:Y=gn(t.helper(Ua),[gn(t.helper(tl),[Y])]);break}return{props:Y,directives:E,patchFlag:O,dynamicPropNames:$,shouldUseBlock:T}}function Ew(e){const t=new Map,n=[];for(let i=0;i<e.length;i++){const s=e[i];if(s.key.type===8||!s.key.isStatic){n.push(s);continue}const o=s.key.content,l=t.get(o);l?(o==="style"||o==="class"||Fs(o))&&vq(l,s):(t.set(o,s),n.push(s))}return n}function vq(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ls([e.value,t.value],e.loc)}function sP(e,t){const n=[],i=nP.get(e);i?n.push(t.helperString(i)):(t.helper(Nd),t.directives.add(e.name),n.push(Wa(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const o=et("true",!1,s);n.push(wi(e.modifiers.map(l=>cn(l,o)),s))}return Ls(n,e.loc)}function bq(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}function uy(e){return e==="component"||e==="Component"}const _q=(e,t)=>{if(Cc(e)){const{children:n,loc:i}=e,{slotName:s,slotProps:o}=oP(e,t),l=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let h=2;o&&(l[2]=o,h=3),n.length&&(l[3]=Lo([],n,!1,!1,i),h=4),t.scopeId&&!t.slotted&&(h=5),l.splice(h),e.codegenNode=gn(t.helper(Xv),l,i)}};function oP(e,t){let n='"default"',i;const s=[];for(let o=0;o<e.props.length;o++){const l=e.props[o];if(l.type===6)l.value&&(l.name==="name"?n=JSON.stringify(l.value.content):(l.name=jt(l.name),s.push(l)));else if(l.name==="bind"&&ks(l.arg,"name")){if(l.exp)n=l.exp;else if(l.arg&&l.arg.type===4){const h=jt(l.arg.content);n=l.exp=et(h,!1,l.arg.loc)}}else l.name==="bind"&&l.arg&&ai(l.arg)&&(l.arg.content=jt(l.arg.content)),s.push(l)}if(s.length>0){const{props:o,directives:l}=ab(e,t,s,!1,!1);i=o,l.length&&t.onError(Ht(36,l[0].loc))}return{slotName:n,slotProps:i}}const lb=(e,t,n,i)=>{const{loc:s,modifiers:o,arg:l}=e;!e.exp&&!o.length&&n.onError(Ht(35,s));let h;if(l.type===4)if(l.isStatic){let E=l.content;E.startsWith("vue:")&&(E=`vnode-${E.slice(4)}`);const C=t.tagType!==0||E.startsWith("vnode")||!/[A-Z]/.test(E)?fo(jt(E)):`on:${E}`;h=et(C,!0,l.loc)}else h=Di([`${n.helperString(Mf)}(`,l,")"]);else h=l,h.children.unshift(`${n.helperString(Mf)}(`),h.children.push(")");let d=e.exp;d&&!d.content.trim()&&(d=void 0);let v=n.cacheHandlers&&!d&&!n.inVOnce;if(d){const E=Zv(d),C=!(E||Lk(d)),T=d.content.includes(";");(C||v&&E)&&(d=Di([`${C?"$event":"(...args)"} => ${T?"{":"("}`,d,T?"}":")"]))}let y={props:[cn(h,d||et("() => {}",!1,s))]};return i&&(y=i(y)),v&&(y.props[0].value=n.cache(y.props[0].value)),y.props.forEach(E=>E.key.isHandlerKey=!0),y},aP=(e,t,n)=>{const{modifiers:i,loc:s}=e,o=e.arg;let{exp:l}=e;return l&&l.type===4&&!l.content.trim()&&(l=void 0),o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=o.content?`${o.content} || ""`:'""'),i.some(h=>h.content==="camel")&&(o.type===4?o.isStatic?o.content=jt(o.content):o.content=`${n.helperString(Nf)}(${o.content})`:(o.children.unshift(`${n.helperString(Nf)}(`),o.children.push(")"))),n.inSSR||(i.some(h=>h.content==="prop")&&xw(o,"."),i.some(h=>h.content==="attr")&&xw(o,"^")),{props:[cn(o,l)]}},xw=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Eq=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let i,s=!1;for(let o=0;o<n.length;o++){const l=n[o];if(Wh(l)){s=!0;for(let h=o+1;h<n.length;h++){const d=n[h];if(Wh(d))i||(i=n[o]=Di([l],l.loc)),i.children.push(" + ",d),n.splice(h,1),h--;else{i=void 0;break}}}}if(!(!s||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<n.length;o++){const l=n[o];if(Wh(l)||l.type===8){const h=[];(l.type!==2||l.content!==" ")&&h.push(l),!t.ssr&&di(l,t)===0&&h.push("1"),n[o]={type:12,content:l,loc:l.loc,codegenNode:gn(t.helper(Ld),h)}}}}},Sw=new WeakSet,xq=(e,t)=>{if(e.type===1&&si(e,"once",!0))return Sw.has(e)||t.inVOnce||t.inSSR?void 0:(Sw.add(e),t.inVOnce=!0,t.helper(Tc),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},cb=(e,t,n)=>{const{exp:i,arg:s}=e;if(!i)return n.onError(Ht(41,e.loc)),Nl();const o=i.loc.source.trim(),l=i.type===4?i.content:o,h=n.bindingMetadata[o];if(h==="props"||h==="props-aliased")return n.onError(Ht(44,i.loc)),Nl();if(h==="literal-const"||h==="setup-const")return n.onError(Ht(45,i.loc)),Nl();if(!l.trim()||!Zv(i))return n.onError(Ht(42,i.loc)),Nl();const d=s||et("modelValue",!0),v=s?ai(s)?`onUpdate:${jt(s.content)}`:Di(['"onUpdate:" + ',s]):"onUpdate:modelValue";let y;const E=n.isTS?"($event: any)":"$event";y=Di([`${E} => ((`,i,") = $event)"]);const C=[cn(d,e.exp),cn(v,y)];if(e.modifiers.length&&t.tagType===1){const T=e.modifiers.map(P=>P.content).map(P=>(Jc(P)?P:JSON.stringify(P))+": true").join(", "),O=s?ai(s)?`${s.content}Modifiers`:Di([s,' + "Modifiers"']):"modelModifiers";C.push(cn(O,et(`{ ${T} }`,!1,e.loc,2)))}return Nl(C)};function Nl(e=[]){return{props:e}}const Sq=/[\w).+\-_$\]]/,wq=(e,t)=>{Eo("COMPILER_FILTERS",t)&&(e.type===5?Hf(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Hf(n.exp,t)}))};function Hf(e,t){if(e.type===4)ww(e,t);else for(let n=0;n<e.children.length;n++){const i=e.children[n];typeof i=="object"&&(i.type===4?ww(i,t):i.type===8?Hf(e,t):i.type===5&&Hf(i.content,t))}}function ww(e,t){const n=e.content;let i=!1,s=!1,o=!1,l=!1,h=0,d=0,v=0,y=0,E,C,T,O,P=[];for(T=0;T<n.length;T++)if(C=E,E=n.charCodeAt(T),i)E===39&&C!==92&&(i=!1);else if(s)E===34&&C!==92&&(s=!1);else if(o)E===96&&C!==92&&(o=!1);else if(l)E===47&&C!==92&&(l=!1);else if(E===124&&n.charCodeAt(T+1)!==124&&n.charCodeAt(T-1)!==124&&!h&&!d&&!v)O===void 0?(y=T+1,O=n.slice(0,T).trim()):I();else{switch(E){case 34:s=!0;break;case 39:i=!0;break;case 96:o=!0;break;case 40:v++;break;case 41:v--;break;case 91:d++;break;case 93:d--;break;case 123:h++;break;case 125:h--;break}if(E===47){let R=T-1,D;for(;R>=0&&(D=n.charAt(R),D===" ");R--);(!D||!Sq.test(D))&&(l=!0)}}O===void 0?O=n.slice(0,T).trim():y!==0&&I();function I(){P.push(n.slice(y,T).trim()),y=T+1}if(P.length){for(T=0;T<P.length;T++)O=Tq(O,P[T],t);e.content=O,e.ast=void 0}}function Tq(e,t,n){n.helper(Md);const i=t.indexOf("(");if(i<0)return n.filters.add(t),`${Wa(t,"filter")}(${e})`;{const s=t.slice(0,i),o=t.slice(i+1);return n.filters.add(s),`${Wa(s,"filter")}(${e}${o!==")"?","+o:o}`}}const Tw=new WeakSet,Cq=(e,t)=>{if(e.type===1){const n=si(e,"memo");return!n||Tw.has(e)||t.inSSR?void 0:(Tw.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&Vd(i,t),e.codegenNode=gn(t.helper(jd),[n.exp,Lo(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},lP=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const i=n.arg;if(i.type!==4||!i.isStatic)t.onError(Ht(53,i.loc)),n.exp=et("",!0,i.loc);else{const s=jt(i.content);(Jv.test(s[0])||s[0]==="-")&&(n.exp=et(s,!1,i.loc))}}}};function cP(e){return[[lP,xq,fq,Cq,pq,wq,_q,iP,eP,Eq],{on:lb,bind:aP,model:cb}]}function uP(e,t={}){const n=t.onError||Yv,i=t.mode==="module";t.prefixIdentifiers===!0?n(Ht(48)):i&&n(Ht(49));const s=!1;t.cacheHandlers&&n(Ht(50)),t.scopeId&&!i&&n(Ht(51));const o=lt({},t,{prefixIdentifiers:s}),l=Ke(e)?ib(e,o):e,[h,d]=cP();return Xk(l,lt({},o,{nodeTransforms:[...h,...t.nodeTransforms||[]],directiveTransforms:lt({},d,t.directiveTransforms||{})})),qk(l,o)}const Aq={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},hP=()=>({props:[]});const ub=Symbol(""),hb=Symbol(""),fb=Symbol(""),db=Symbol(""),Uf=Symbol(""),pb=Symbol(""),mb=Symbol(""),gb=Symbol(""),yb=Symbol(""),vb=Symbol("");bk({[ub]:"vModelRadio",[hb]:"vModelCheckbox",[fb]:"vModelText",[db]:"vModelSelect",[Uf]:"vModelDynamic",[pb]:"withModifiers",[mb]:"withKeys",[gb]:"vShow",[yb]:"Transition",[vb]:"TransitionGroup"});let aa;function Oq(e,t=!1){return aa||(aa=document.createElement("div")),t?(aa.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,aa.children[0].getAttribute("foo")):(aa.innerHTML=e,aa.textContent)}const bb={parseMode:"html",isVoidTag:Uw,isNativeTag:e=>Fw(e)||Bw(e)||Hw(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Oq,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return yb;if(e==="TransitionGroup"||e==="transition-group")return vb},getNamespace(e,t,n){let i=t?t.ns:n;if(t&&i===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i}},fP=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:et("style",!0,t.loc),exp:kq(t.value.content,t.loc),modifiers:[],loc:t.loc})})},kq=(e,t)=>{const n=dy(e);return et(JSON.stringify(n),!1,t,3)};function Zr(e,t){return Ht(e,t)}const Pq={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},Lq={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Rq=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Zr(54,s)),t.children.length&&(n.onError(Zr(55,s)),t.children.length=0),{props:[cn(et("innerHTML",!0,s),i||et("",!0))]}},Iq=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Zr(56,s)),t.children.length&&(n.onError(Zr(57,s)),t.children.length=0),{props:[cn(et("textContent",!0),i?di(i,n)>0?i:gn(n.helperString(Kc),[i],s):et("",!0))]}},Nq=(e,t,n)=>{const i=cb(e,t,n);if(!i.props.length||t.tagType===1)return i;e.arg&&n.onError(Zr(59,e.arg.loc));const{tag:s}=t,o=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||o){let l=fb,h=!1;if(s==="input"||o){const d=Zc(t,"type");if(d){if(d.type===7)l=Uf;else if(d.value)switch(d.value.content){case"radio":l=ub;break;case"checkbox":l=hb;break;case"file":h=!0,n.onError(Zr(60,e.loc));break}}else Ik(t)&&(l=Uf)}else s==="select"&&(l=db);h||(i.needRuntime=n.helper(l))}else n.onError(Zr(58,e.loc));return i.props=i.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),i},Mq=kn("passive,once,capture"),Dq=kn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Fq=kn("left,right"),dP=kn("onkeyup,onkeydown,onkeypress"),Bq=(e,t,n,i)=>{const s=[],o=[],l=[];for(let h=0;h<t.length;h++){const d=t[h].content;d==="native"&&ja("COMPILER_V_ON_NATIVE",n)||Mq(d)?l.push(d):Fq(d)?ai(e)?dP(e.content.toLowerCase())?s.push(d):o.push(d):(s.push(d),o.push(d)):Dq(d)?o.push(d):s.push(d)}return{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:l}},Cw=(e,t)=>ai(e)&&e.content.toLowerCase()==="onclick"?et(t,!0):e.type!==4?Di(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Hq=(e,t,n)=>lb(e,t,n,i=>{const{modifiers:s}=e;if(!s.length)return i;let{key:o,value:l}=i.props[0];const{keyModifiers:h,nonKeyModifiers:d,eventOptionModifiers:v}=Bq(o,s,n,e.loc);if(d.includes("right")&&(o=Cw(o,"onContextmenu")),d.includes("middle")&&(o=Cw(o,"onMouseup")),d.length&&(l=gn(n.helper(pb),[l,JSON.stringify(d)])),h.length&&(!ai(o)||dP(o.content.toLowerCase()))&&(l=gn(n.helper(mb),[l,JSON.stringify(h)])),v.length){const y=v.map(Hs).join("");o=ai(o)?et(`${o.content}${y}`,!0):Di(["(",o,`) + "${y}"`])}return{props:[cn(o,l)]}}),Uq=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(Zr(62,s)),{props:[],needRuntime:n.helper(gb)}},$q=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},pP=[fP],mP={cloak:hP,html:Rq,text:Iq,model:Nq,on:Hq,show:Uq};function jq(e,t={}){return uP(e,lt({},bb,t,{nodeTransforms:[$q,...pP,...t.nodeTransforms||[]],directiveTransforms:lt({},mP,t.directiveTransforms||{}),transformHoist:null}))}function Vq(e,t={}){return ib(e,lt({},bb,t))}const Wq=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:jv,BindingTypes:Aq,CAMELIZE:Nf,CAPITALIZE:pk,CREATE_BLOCK:Vv,CREATE_COMMENT:el,CREATE_ELEMENT_BLOCK:Wv,CREATE_ELEMENT_VNODE:Pd,CREATE_SLOTS:Gv,CREATE_STATIC:zv,CREATE_TEXT:Ld,CREATE_VNODE:kd,CompilerDeprecationTypes:h8,ConstantTypes:i8,DOMDirectiveTransforms:mP,DOMErrorCodes:Pq,DOMErrorMessages:Lq,DOMNodeTransforms:pP,ElementTypes:n8,ErrorCodes:p8,FRAGMENT:Ha,GUARD_REACTIVE_PROPS:tl,IS_MEMO_SAME:qv,IS_REF:vk,KEEP_ALIVE:Sc,MERGE_PROPS:wc,NORMALIZE_CLASS:Bd,NORMALIZE_PROPS:Ua,NORMALIZE_STYLE:Hd,Namespaces:e8,NodeTypes:t8,OPEN_BLOCK:Ds,POP_SCOPE_ID:gk,PUSH_SCOPE_ID:mk,RENDER_LIST:Fd,RENDER_SLOT:Xv,RESOLVE_COMPONENT:Rd,RESOLVE_DIRECTIVE:Nd,RESOLVE_DYNAMIC_COMPONENT:Id,RESOLVE_FILTER:Md,SET_BLOCK_TRACKING:Tc,SUSPENSE:Od,TELEPORT:_a,TO_DISPLAY_STRING:Kc,TO_HANDLERS:Ud,TO_HANDLER_KEY:Mf,TRANSITION:yb,TRANSITION_GROUP:vb,TS_NODE_TYPES:Ck,UNREF:yk,V_MODEL_CHECKBOX:hb,V_MODEL_DYNAMIC:Uf,V_MODEL_RADIO:ub,V_MODEL_SELECT:db,V_MODEL_TEXT:fb,V_ON_WITH_KEYS:mb,V_ON_WITH_MODIFIERS:pb,V_SHOW:gb,WITH_CTX:$d,WITH_DIRECTIVES:Dd,WITH_MEMO:jd,advancePositionWithClone:R8,advancePositionWithMutation:Rk,assert:I8,baseCompile:uP,baseParse:ib,buildDirectiveArgs:sP,buildProps:ab,buildSlots:tP,checkCompatEnabled:ja,compile:jq,convertToBlock:Vd,createArrayExpression:Ls,createAssignmentExpression:a8,createBlockStatement:xk,createCacheExpression:Ek,createCallExpression:gn,createCompilerError:Ht,createCompoundExpression:Di,createConditionalExpression:Df,createDOMCompilerError:Zr,createForLoopParams:Bf,createFunctionExpression:Lo,createIfStatement:o8,createInterpolation:r8,createObjectExpression:wi,createObjectProperty:cn,createReturnStatement:c8,createRoot:_k,createSequenceExpression:l8,createSimpleExpression:et,createStructuralDirectiveTransform:rb,createTemplateLiteral:s8,createTransformContext:zk,createVNodeCall:$a,errorMessages:m8,extractIdentifiers:br,findDir:si,findProp:Zc,forAliasRE:Dk,generate:qk,generateCodeFrame:Dw,getBaseTransformPreset:cP,getConstantType:di,getMemoedVNodeCall:Mk,getVNodeBlockHelper:Io,getVNodeHelper:Ro,hasDynamicKeyVBind:Ik,hasScopeRef:Gi,helperNameMap:Po,injectProp:Ac,isAllWhitespace:eb,isCommentOrWhitespace:tb,isCoreComponent:Kv,isFnExpression:Lk,isFnExpressionBrowser:Pk,isFnExpressionNode:L8,isFunctionType:w8,isInDestructureAssignment:v8,isInNewExpression:b8,isMemberExpression:Zv,isMemberExpressionBrowser:kk,isMemberExpressionNode:k8,isReferencedIdentifier:y8,isSimpleIdentifier:Jc,isSlotOutlet:Cc,isStaticArgOf:ks,isStaticExp:ai,isStaticProperty:Tk,isStaticPropertyKey:T8,isTemplateNode:Va,isText:Wh,isVPre:ay,isVSlot:Qv,isWhitespaceText:Wd,locStub:wn,noopDirectiveTransform:hP,parse:Vq,parserOptions:bb,processExpression:qh,processFor:Qk,processIf:Zk,processSlotOutlet:oP,registerRuntimeHelpers:bk,resolveComponentType:rP,stringifyExpression:Jk,toValidAssetId:Wa,trackSlotScopes:eP,trackVForSlotScopes:gq,transform:Xk,transformBind:aP,transformElement:iP,transformExpression:hq,transformModel:cb,transformOn:lb,transformStyle:fP,transformVBindShorthand:lP,traverseNode:Qc,unwrapTSNode:Ak,validFirstIdentCharRE:Jv,walkBlockDeclarations:wk,walkFunctionParams:_8,walkIdentifiers:g8,warnDeprecation:d8},Symbol.toStringTag,{value:"Module"})),zq=$v(Wq),Xq=$v(cB),Gq=$v(WM);var Aw;function qq(){return Aw||(Aw=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=zq,n=Xq,i=Gq;function s(d){var v=Object.create(null);if(d)for(var y in d)v[y]=d[y];return v.default=d,Object.freeze(v)}var o=s(n);const l=Object.create(null);function h(d,v){if(!i.isString(d))if(d.nodeType)d=d.innerHTML;else return i.NOOP;const y=i.genCacheKey(d,v),E=l[y];if(E)return E;if(d[0]==="#"){const P=document.querySelector(d);d=P?P.innerHTML:""}const C=i.extend({hoistStatic:!0,onError:void 0,onWarn:i.NOOP},v);!C.isCustomElement&&typeof customElements<"u"&&(C.isCustomElement=P=>!!customElements.get(P));const{code:T}=t.compile(d,C),O=new Function("Vue",T)(o);return O._rc=!0,l[y]=O}n.registerRuntimeCompiler(h),e.compile=h,Object.keys(n).forEach(function(d){d!=="default"&&!Object.prototype.hasOwnProperty.call(e,d)&&(e[d]=n[d])})})(jm)),jm}var Ow;function Yq(){return Ow||(Ow=1,$m.exports=qq()),$m.exports}var kw;function Kq(){return kw||(kw=1,(function(e,t){(function(n,i){e.exports=i(dk(),Yq())})(self,((n,i)=>(()=>{var s={879:d=>{d.exports=n},744:d=>{d.exports=i}},o={};function l(d){var v=o[d];if(v!==void 0)return v.exports;var y=o[d]={exports:{}};return s[d](y,y.exports,l),y.exports}l.n=d=>{var v=d&&d.__esModule?()=>d.default:()=>d;return l.d(v,{a:v}),v},l.d=(d,v)=>{for(var y in v)l.o(v,y)&&!l.o(d,y)&&Object.defineProperty(d,y,{enumerable:!0,get:v[y]})},l.o=(d,v)=>Object.prototype.hasOwnProperty.call(d,v),l.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var h={};return(()=>{l.r(h),l.d(h,{Chart:()=>P,default:()=>I});var d=l(879),v=l.n(d),y=function R(D,F){var A=v().isArray(D)?[]:{};function $(U,N){!v().isObject(U,!F)||v().isClass(U)||v().isDOMElement(U)?A[N]=U:A[N]=R(U,F)}return v().isArray(D)?D.forEach((function(U,N){return $(U,N)})):v().objectEach(D,$),A},E=l(744);function C(R){return(function(D){if(Array.isArray(D))return T(D)})(R)||(function(D){if(typeof Symbol<"u"&&D[Symbol.iterator]!=null||D["@@iterator"]!=null)return Array.from(D)})(R)||(function(D,F){if(D){if(typeof D=="string")return T(D,F);var A=Object.prototype.toString.call(D).slice(8,-1);if(A==="Object"&&D.constructor&&(A=D.constructor.name),A==="Map"||A==="Set")return Array.from(D);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return T(D,F)}})(R)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function T(R,D){(D==null||D>R.length)&&(D=R.length);for(var F=0,A=new Array(D);F<D;F++)A[F]=R[F];return A}const O=function(R){var D=this;return{render:function(){return(0,E.h)("div",{ref:"chart"})},beforeUnmount:function(){var F;return D==null||(F=D.chart)===null||F===void 0?void 0:F.destroy()},props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}},watch:{options:{handler:function(F){var A;(A=this.chart).update.apply(A,[y(F,this.deepCopyOnUpdate)].concat(C(this.updateArgs)))},deep:!0}},mounted:function(){var F=this.highcharts||R;F[this.constructorType]?this.options?this.chart=F[this.constructorType](this.$refs.chart,y(this.options,!0),this.callback?this.callback:null):console.error('The "options" parameter was not passed.'):console.error("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported."))}}};var P=O(v());function I(R){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};R.component(D.tagName||"highcharts",O(D.highcharts||v()))}})(),h})()))})(Um)),Um.exports}var Jq=Kq();const Zq=ZG(Jq);var Qq=dk();const eY=fn(e=>{Qq.setOptions({credits:{enabled:!1},accessibility:{enabled:!1},colors:["#fbb973","#668eb9","#afec79","#eebbd1","#e3f9c4","#d20a5d","#a6a6ff","#98bbdb","#efa1c2","#d3f6a4"],chart:{spacingTop:30,spacingLeft:0,spacingRight:0,spacingBottom:5,zooming:{type:"x"},panning:{enabled:!0},panKey:"shift",scrollablePlotArea:{minWidth:100}},title:{text:void 0},yAxis:{minPadding:0,maxPadding:0,showFirstLabel:!1,title:{text:null},labels:{align:"left",x:15,y:0,style:{color:"#565656",fontSize:"0.7em"}},gridLineWidth:1,gridZIndex:-1},xAxis:{type:"datetime",tickColor:"transparent",minPadding:0,maxPadding:0,lineColor:"#B8B8B8",showFirstLabel:!1,dateTimeLabelFormats:{day:'<strong style="color:rgba(0,0,0,.9); font-weight:700">%e. %b</strong>',hour:"%H:%M"}},legend:{title:{style:{fontSize:"0.2em",fontWeight:"bold"}},itemStyle:{fontSize:"0.6em",textOverflow:"ellipsis",width:80,lineClamp:1}},plotOptions:{area:{fillOpacity:.7},series:{animation:{duration:500,easing:"easeOutBounce"},marker:{enabled:!1},lineWidth:1}},time:{useUTC:!1}}),e.vueApp.use(Zq)}),tY=fn(e=>{const t=xA();Zn();const n=o=>window.location.href=o,i=window.PLUGINS?.monitoring,s={login:async()=>!!i,logout:()=>!i||!t.userIsLoggedIn?!1:(n(s.getHomeUrl()||""),!0),getHomeUrl:()=>i?.homeUrl};return{provide:{cpanel:{...i,...s}}}}),nY=fn({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(e){}}),iY=[o$,l$,d$,rW,sW,oW,aW,lW,hW,fW,h4,vX,bX,_X,SX,RX,c6,JG,eY,tY,nY],gP=(e="RouteProvider")=>Qn({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,i=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:i[o],enumerable:!0});return Er(Is,Qi(s)),()=>t.vnode?$t(t.vnode,{ref:t.vnodeRef}):t.vnode}}),rY=gP(),Pw=new WeakMap,sY=Qn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:i}){const s=ct(),o=gt(),l=vn(Is,null);let h;i({pageRef:o});const d=vn(Q1,null);let v;const y=s.deferHydration();let E=!1,C=0;if(s.isHydrating){const O=s.hooks.hookOnce("app:error",y);Zn().beforeEach(O)}e.pageKey&&an(()=>e.pageKey,(O,P)=>{O!==P&&s.callHook("page:loading:start")});let T=!1;{const O=Zn().beforeResolve(()=>{T=!1});Ja(()=>{O(),y()})}return()=>$t(zC,{name:e.name,route:e.route,...t},{default:O=>{const P=aY(l,O.route,O.Component),I=l&&l.matched.length===O.route.matched.length;if(!O.Component){if(v&&!I)return v;y();return}if(v&&d&&!d.isCurrent(O.route))return v;if(P&&l&&(!d||d?.isCurrent(l)))return I||v?v:null;const R=Rg(O,e.pageKey),D=lY(l,O.route,O.Component);!s.isHydrating&&h===R&&!D&&Ci(()=>{T||(T=!0,s.callHook("page:loading:end"))}),E&&h!==R&&C++,h=R;const F=!!(e.transition??O.route.meta.pageTransition??CE),A=F&&oY([e.transition,O.route.meta.pageTransition,CE,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",O.Component)}}]),$=e.keepalive??O.route.meta.keepalive??bH;return v=gA(F&&A,Mj($,$t(nd,{key:C,suspensible:!0,onPending:()=>{E=!0,F&&(s._runningTransition=!0),s.callHook("page:start",O.Component)},onResolve:async()=>{E=!1;try{await Ci(),s._route.sync?.(),await s.callHook("page:finish",O.Component),delete s._runningTransition,!T&&!D&&(T=!0,await s.callHook("page:loading:end"))}finally{y()}}},{default:()=>{const U={key:R||void 0,vnode:n.default?cY(n.default,O):O.Component,route:O.route,renderKey:R||void 0,trackRootNodes:F,vnodeRef:o};if(!$)return $t(rY,U);const N=O.Component.type,J=N;let Y=Pw.get(J);return Y||(Y=gP(N.name||N.__name),Pw.set(J,Y)),$t(Y,U)}}))).default(),v}})}});function oY(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?lv(n.onAfterLeave):void 0});return J1(...t)}function aY(e,t,n){if(!e)return!1;const i=t.matched.findIndex(s=>s.components?.default===n?.type);return!i||i===-1?!1:t.matched.slice(0,i).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Rg({route:t,Component:n})!==Rg({route:e,Component:n})}function lY(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function cY(e,t){const n=e(t);return n.length===1?$t(n[0]):$t(Zt,void 0,n)}const yP=bC,uY=Qn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>$t(Os[e.name],e.layoutProps,t.slots)}}),hY={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},fY=Qn({name:"NuxtLayout",inheritAttrs:!1,props:hY,setup(e,t){const n=ct(),i=vn(Is),o=!i||i===Aa()?XC():i,l=Bt(()=>{let y=An(e.name)??o?.meta.layout??yP(o?.path).appLayout??"default";return y&&!(y in Os)&&e.fallback&&(y=An(e.fallback)),y}),h=or();t.expose({layoutRef:h});const d=n.deferHydration();if(n.isHydrating){const y=n.hooks.hookOnce("app:error",d);Zn().beforeEach(y)}let v;return()=>{const y=l.value&&l.value in Os,E=o?.meta.layoutTransition??vH,C=v;return v=l.value,gA(y&&E,{default:()=>$t(nd,{suspensible:!0,onResolve:()=>{Ci(d)}},{default:()=>$t(dY,{layoutProps:Xy(t.attrs,o.meta.layoutProps??{},{ref:h}),key:l.value||void 0,name:l.value,shouldProvide:!e.name,isRenderingNewLayout:T=>T!==C&&T===l.value,hasTransition:!!E},t.slots)})}).default()}}}),dY=Qn({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Er(Q1,{isCurrent:o=>n===!1||n===(o.meta.layout??yP(o.path).appLayout??"default")});const i=vn(Is);if(i&&i===Aa()){const o=XC(),l={};for(const h in o){const d=h;Object.defineProperty(l,d,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[d]:i[d]})}Er(Is,Qi(l))}return()=>!n||typeof n=="string"&&!(n in Os)?t.slots.default?.():$t(uY,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),pY="1.2.0",mY=()=>{const{locale:e}=Sd(),t=Bt(()=>["ar","he","fa"].includes(e.value)),n=Bt(()=>t.value?"rtl":"ltr");return{isRTLLanguage:t,languageDirection:n}},gY=Qn({__name:"app",async setup(e,{expose:t}){t(),console.log(`Current WHM SPA Version: ${pY} - 01.06.2026`);const{languageDirection:n}=mY(),i={languageDirection:n};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),_b=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};function yY(e,t,n,i,s,o){const l=sY,h=fY;return Si(),Ji(h,{dir:i.languageDirection},{default:Mc(()=>[Ut(l)]),_:1},8,["dir"])}const vY=_b(gY,[["render",yY],["__file","app.vue"]]),bY={__name:"nuxt-error-page",props:{error:Object},setup(e,{expose:t}){t();const n=e,i=n.error,s="",o=Number(i.statusCode||500),l=o===404,h=i.statusMessage??(l?"Page Not Found":"Internal Server Error"),d=i.message||i.toString(),v=void 0,y=Yr(()=>ft(()=>import("./BiszsVj3.js"),__vite__mapDeps([66,3,67]),import.meta.url)),E=Yr(()=>ft(()=>import("./DcQwDT0l.js"),__vite__mapDeps([68,69]),import.meta.url)),T={props:n,_error:i,stacktrace:s,status:o,is404:l,statusText:h,description:d,stack:v,_Error404:y,_Error:E,ErrorTemplate:l?y:E,defineAsyncComponent:Yr,get escapeHtml(){return Vw}};return Object.defineProperty(T,"__isScriptSetup",{enumerable:!1,value:!0}),T}};function _Y(e,t,n,i,s,o){return Si(),Ji(i.ErrorTemplate,py(Vy({status:i.status,statusText:i.statusText,statusCode:i.status,statusMessage:i.statusText,description:i.description,stack:i.stack})),null,16)}const EY=_b(bY,[["render",_Y],["__file","nuxt-error-page.vue"]]),xY={__name:"nuxt-root",setup(e,{expose:t}){t();const n=()=>null,i=ct(),s=i.deferHydration();if(i.isHydrating){const T=i.hooks.hookOnce("app:error",s);Zn().beforeEach(T)}const o=window.location.pathname,l=!1;Er(Is,Aa());const h=i.hooks.callHookWith(T=>T.map(O=>O()),"vue:setup"),d=dc(),v=!1,y=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;nf((T,O,P)=>{if(i.hooks.callHook("vue:error",T,O,P).catch(I=>console.error("[nuxt] Error in `vue:error` hook",I)),y.test(navigator.userAgent))return i.hooks.callHook("app:error",T),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,T),!1;if(_g(T)&&(T.fatal||T.unhandled))return i.runWithContext(()=>Ss(T)),!1});const C={IslandRenderer:n,nuxtApp:i,onResolve:s,url:o,SingleRenderer:l,results:h,error:d,abortRender:v,BOT_RE:y,islandContext:!1,defineAsyncComponent:Yr,onErrorCaptured:nf,onServerPrefetch:Ny,provide:Er,get useNuxtApp(){return ct},get isNuxtError(){return _g},get showError(){return Ss},get useError(){return dc},get useRoute(){return Aa},get useRouter(){return Zn},get PageRouteSymbol(){return Is},get AppComponent(){return vY},get ErrorComponent(){return EY},get componentIslands(){return _H}};return Object.defineProperty(C,"__isScriptSetup",{enumerable:!1,value:!0}),C}},SY={key:0};function wY(e,t,n,i,s,o){return Si(),Ji(nd,{onResolve:i.onResolve},{default:Mc(()=>[i.abortRender?(Si(),a1("div",SY)):i.error?(Si(),Ji(i.ErrorComponent,{key:1,error:i.error},null,8,["error"])):i.islandContext?(Si(),Ji(i.IslandRenderer,{key:2,context:i.islandContext},null,8,["context"])):i.SingleRenderer?(Si(),Ji(FT(i.SingleRenderer),{key:3})):(Si(),Ji(i.AppComponent,{key:4}))]),_:1},8,["onResolve"])}const Lw=_b(xY,[["render",wY],["__file","nuxt-root.vue"]]);let Rw;{let e;Rw=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),i=n?Yy(Lw):Ca(Lw),s=wH({vueApp:i});async function o(l){await s.callHook("app:error",l),s.payload.error||=vo(l)}i.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{i.config.errorHandler===o&&(i.config.errorHandler=void 0)}),!n&&AE.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(AE.id)?.remove()});try{await AH(s,iY)}catch(l){o(l)}try{await s.hooks.callHook("app:created",i),await s.hooks.callHook("app:beforeMount",i),i.mount(EH),await s.hooks.callHook("app:mounted",i),await Ci()}catch(l){o(l)}return i},e=Rw().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Xy as $,f2 as A,Do as B,Yr as C,ft as D,h2 as E,Zt as F,an as G,UD as H,Gy as I,rF as J,Ay as K,Aa as L,mY as M,c2 as N,za as O,nv as P,u2 as Q,rs as R,Ci as S,vn as T,Er as U,b1 as V,Is as W,S2 as X,py as Y,Vy as Z,_b as _,jy as a,mt as a0,FT as a1,WD as a2,Sy as a3,$t as a4,F1 as a5,w2 as a6,qa as a7,ec as a8,Iy as a9,DH as aA,U3 as aB,bg as aC,kr as aD,Co as aE,CY as aF,FB as aG,fc as aH,Nn as aI,ZG as aJ,ff as aK,R1 as aL,S1 as aa,oB as ab,vA as ac,pY as ad,ct as ae,AY as af,IT as ag,Sn as ah,or as ai,vo as aj,uT as ak,rc as al,XD as am,Cr as an,X3 as ao,qY as ap,YY as aq,bW as ar,KY as as,fD as at,yA as au,Ex as av,Ja as aw,GY as ax,Ky as ay,FH as az,Ut as b,a1 as c,Wy as d,Qn as e,xA as f,O2 as g,q3 as h,Sd as i,Ji as j,sF as k,Zn as l,G3 as m,Xa as n,Si as o,bi as p,gt as q,d2 as r,Y3 as s,gy as t,ZU as u,Bt as v,Mc as w,An as x,oi as y,rB as z};
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings