vendor: 5,847 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./hR_7a-I4.js","./Bza2F0cx.js","./D-pDahf4.js","./blog-body.DU7_LQbK.css","./B_VugDQE.js","./BQQHEPGY.js","./_id_.B0OawCJA.css","./uVKVRIuw.js","./trXDJKtW.js","./DR_nszJX.js","./useArticleEditor.BqctEkc2.css","./new.C5oojCv5.css","./BLw02oQa.js","./Gym8SsKl.js","./Doa2GCHl.js","./_id_.BiEu993M.css","./DUIuhOXw.js","./uWoHyOH0.js","./BasePagination.C3uGJRpa.css","./index.BkpCdUSn.css","./Dk5PmbJj.js","./BG7zbOuQ.js","./BlogArticle.DDOXKcUr.css","./DRDDNbPc.js","./BFXagX4M.js","./_slug_.CEuq6y9v.css","./D_YrVJnl.js","./Ba9f4vJs.js","./CKGnxwK8.js","./x53MhPe6.js","./CVYq57C4.js","./GuidyTestimonials.C_pPbkmT.css","./_slug_.DJo0G4Yy.css","./CqSPWBaB.js","./index.Jw9rrnVy.css","./jimmGVkR.js","./I8l6TF57.js","./AuthAnimation.Bu6f26UV.css","./D4TsJouH.js","./CvB3UIQo.js","./check-email.CF_8t7Rm.css","./xed85EZJ.js","./checkout.Dl5hQDpH.css","./CGCvMSqZ.js","./imMHrtKY.js","./contact-us.DImWY_VC.css","./BA3e_L5d.js","./CUab0Bp2.js","./LegalPage.CJXX85ga.css","./cookie-policy.BzVarUvM.css","./DCUL4fwk.js","./m-lCj-9B.js","./ProfileNavigation.B4_XK065.css","./CD0GQ7qY.js","./BLTBJXYR.js","./download.MG1A-NX5.css","./Ct6YP9h7.js","./CTF_eqhq.js","./BPEjLaZD.js","./virtual_public.B21jkNA6.css","./download-app.BybEH4xh.css","./e6RmnycD.js","./Bc-_FbRw.js","./GuidyHeroDemos.w9Ngzz8x.css","./0y7fIVZe.js","./GuidyEfficiency.BUNpL0Bt.css","./BSXq744j.js","./ysZN7UWu.js","./GuidySecurity.hx-cSHqB.css","./R6oNO0hV.js","./2GpSP_O9.js","./u-pvMO5i.js","./download-guidy.Ccys7DHE.css","./D21prP2R.js","./forgot-password.DG6zPdOr.css","./CIjXvoKJ.js","./free-download.Bml8yX5c.css","./T_Lfuqd0.js","./CORqj1zu.js","./D93SM5xI.js","./home.CExju7GX.css","./get-guidy.CXJ7iegM.css","./DtkNwon1.js","./Dj9EzCfj.js","./CGs2pKBH.js","./info.Cb-3Zrs0.css","./GuidyAdLandingPage.CtRJe8io.css","./uFM-4d8F.js","./DkyN3jr0.js","./Mascot.C4pM2o_d.css","./launching.Dk9pnv8g.css","./BKaqpv5_.js","./CVNOWwOB.js","./useSocialAuth.DGC87SXH.css","./zB811ZCh.js","./X_P_KZje.js","./login.DVBbxveQ.css","./C58RIn_o.js","./magic-link.D_HZEcwT.css","./HPLblbgL.js","./metrics.B5ylXc9B.css","./B5-L4ALN.js","./Dn0jZL7e.js","./DRdNpLy1.js","./BHi6Qaq6.js","./onboarding.DQySVk1L.css","./CsfAxsu0.js","./CpvMdYop.js","./plan-and-billing.Cfv_eeLM.css","./BIHZ9XAZ.js","./sj7kKdzF.js","./pricing.CGwMZRwh.css","./C2lndY1M.js","./privacy-policy.BzvL_T1T.css","./DX6N0eYf.js","./reset-password.DrW9t9NP.css","./cuwDcZq_.js","./CNSmAigb.js","./Bvvvactt.js","./FrequentlyAskedQuestions.DNZgbpRJ.css","./DV9tSt5G.js","./tIVKT9fG.js","./CuYuWLmJ.js","./security.C4irt1k7.css","./BAPEzBi3.js","./settings.CLjkH32d.css","./DqZwbdix.js","./signup.BRN6Yl0O.css","./D3oZCyMg.js","./sitemap.LW13QC1t.css","./D71U7gG1.js","./solve-numerical-aptitude-tests.CC-5YpDb.css","./DBSdOTGq.js","./BrggVa_N.js","./Ch6S9FNt.js","./BU_chAYe.js","./terms-of-use.D7Xybmia.css","./Du-lrPjT.js","./thank-you.BK1FbKPJ.css","./bKFtsHAr.js","./verification.DIy9YjjP.css","./C_rHBonl.js","./verify.Cs2sn80w.css","./BKGK8hSa.js","./CmTsjNF9.js","./GuidyUseCases.DygD4P7G.css","./index.D6CiqnHS.css","./Bjq6fZSX.js"])))=>i.map(i=>d[i]); 2(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function Pu(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const De={},Rs=[],Nn=()=>{},Sm=()=>!1,go=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Qa=t=>t.startsWith("onUpdate:"),ot=Object.assign,Iu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},bb=Object.prototype.hasOwnProperty,$e=(t,e)=>bb.call(t,e),oe=Array.isArray,Ds=t=>rr(t)==="[object Map]",sr=t=>rr(t)==="[object Set]",Hd=t=>rr(t)==="[object Date]",vb=t=>rr(t)==="[object RegExp]",ge=t=>typeof t=="function",Ye=t=>typeof t=="string",en=t=>typeof t=="symbol",Le=t=>t!==null&&typeof t=="object",el=t=>(Le(t)||ge(t))&&ge(t.then)&&ge(t.catch),Tm=Object.prototype.toString,rr=t=>Tm.call(t),wb=t=>rr(t).slice(8,-1),Ou=t=>rr(t)==="[object Object]",tl=t=>Ye(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ts=Pu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),nl=t=>{const e=Object.create(null);return(n=>e[n]||(e[n]=t(n)))},xb=/-\w/g,At=nl(t=>t.replace(xb,e=>e.slice(1).toUpperCase())),kb=/\B([A-Z])/g,ui=nl(t=>t.replace(kb,"-$1").toLowerCase()),il=nl(t=>t.charAt(0).toUpperCase()+t.slice(1)),Rl=nl(t=>t?`on${il(t)}`:""),kt=(t,e)=>!Object.is(t,e),Ls=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Am=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},sl=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Cm=t=>{const e=Ye(t)?Number(t):NaN;return isNaN(e)?t:e};let jd;const rl=()=>jd||(jd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ls(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],s=Ye(i)?Cb(i):ls(i);if(s)for(const r in s)e[r]=s[r]}return e}else if(Ye(t)||Le(t))return t}const Sb=/;(?![^(]*\))/g,Tb=/:([^]+)/,Ab=/\/\*[^]*?\*\//g;function Cb(t){const e={};return t.replace(Ab,"").split(Sb).forEach(n=>{if(n){const i=n.split(Tb);i.length>
vendor: 5,159 bytes, line 2
21&&(e[i[0].trim()]=i[1].trim())}}),e}function et(t){let e="";if(Ye(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=et(t[n]);i&&(e+=i+" ")}else if(Le(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function Eb(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Ye(e)&&(t.class=et(e)),n&&(t.style=ls(n)),t}const Mb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Pb=Pu(Mb);function Em(t){return!!t||t===""}function Ib(t,e){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=Mi(t[i],e[i]);return n}function Mi(t,e){if(t===e)return!0;let n=Hd(t),i=Hd(e);if(n||i)return n&&i?t.getTime()===e.getTime():!1;if(n=en(t),i=en(e),n||i)return t===e;if(n=oe(t),i=oe(e),n||i)return n&&i?Ib(t,e):!1;if(n=Le(t),i=Le(e),n||i){if(!n||!i)return!1;const s=Object.keys(t).length,r=Object.keys(e).length;if(s!==r)return!1;for(const o in t){const a=t.hasOwnProperty(o),l=e.hasOwnProperty(o);if(a&&!l||!a&&l||!Mi(t[o],e[o]))return!1}}return String(t)===String(e)}function Ru(t,e){return t.findIndex(n=>Mi(n,e))}const Mm=t=>!!(t&&t.__v_isRef===!0),Oe=t=>Ye(t)?t:t==null?"":oe(t)||Le(t)&&(t.toString===Tm||!ge(t.toString))?Mm(t)?Oe(t.value):JSON.stringify(t,Pm,2):String(t),Pm=(t,e)=>Mm(e)?Pm(t,e.value):Ds(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[i,s],r)=>(n[Dl(i,r)+" =>"]=s,n),{})}:sr(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Dl(n))}:en(e)?Dl(e):Le(e)&&!oe(e)&&!Ou(e)?String(e):e,Dl=(t,e="")=>{var n;return en(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};let xt;class Im{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=xt,!e&&xt&&(this.index=(xt.scopes||(xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=xt;try{return xt=this,e()}finally{xt=n}}}on(){++this._on===1&&(this.prevScope=xt,xt=this)}off(){this._on>0&&--this._on===0&&(xt=this.prevScope,this.prevScope=void 0)}stop(e){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&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Ob(t){return new Im(t)}function or(){return xt}function Kr(t,e=!1){xt&&xt.cleanups.push(t)}let We;const Ll=new WeakSet;class Om{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,xt&&xt.active&&xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ll.has(this)&&(Ll.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Dm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Bd(this),Lm(this);const e=We,n=_n;We=this,_n=!0;try{return this.fn()}finally{Nm(this),We=e,_n=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Nu(e);this.deps=this.depsTail=void 0,Bd(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ll.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ec(this)&&this.run()}get dirty(){return Ec(this)}}let Rm=0,Ir,Or;function Dm(t,e=!1){if(t.flags|=8,e){t.next=Or,Or=t;return}t.next=Ir,Ir=t}function Du(){Rm++}function Lu(){if(--Rm>0)return;if(Or){let e=Or;for(Or=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Ir;){let e=Ir;for(Ir=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=n}}if(t)throw t}function Lm(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Nm(t){let e,n=t.depsTail,i=n;for(;i;){const s=i.prevDep;i.version===-1?(i===n&&(n=s),Nu(i),Rb(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=s}t.deps=e,t.depsTail=n}function Ec(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&($m(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function $m(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Yr)||(t.globalVersion=Yr,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Ec(t))))return;t.flags|=2;const e=t.dep,n=We,i=_n;We=t,_n=!0;try{Lm(t);const s=t.fn(t._value);(e.version===0||kt(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{We=n,_n=i,Nm(t),t.flags&=-3}}function Nu(t,e=!1){const{dep:n,prevSub:i,nextSub:s}=t;if(i&&(i.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i,!i&&n.c
vendor: 13,039 bytes, line 2
2omputed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Nu(r,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Rb(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let _n=!0;const Fm=[];function oi(){Fm.push(_n),_n=!1}function ai(){const t=Fm.pop();_n=t===void 0?!0:t}function Bd(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=We;We=void 0;try{e()}finally{We=n}}}let Yr=0;class Db{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ol{constructor(e){this.computed=e,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(e){if(!We||!_n||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new Db(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,Hm(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=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=i)}return n}trigger(e){this.version++,Yr++,this.notify(e)}notify(e){Du();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Lu()}}}function Hm(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)Hm(i)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const pa=new WeakMap,ns=Symbol(""),Mc=Symbol(""),Zr=Symbol("");function St(t,e,n){if(_n&&We){let i=pa.get(t);i||pa.set(t,i=new Map);let s=i.get(n);s||(i.set(n,s=new ol),s.map=i,s.key=n),s.track()}}function ei(t,e,n,i,s,r){const o=pa.get(t);if(!o){Yr++;return}const a=l=>{l&&l.trigger()};if(Du(),e==="clear")o.forEach(a);else{const l=oe(t),c=l&&tl(n);if(l&&n==="length"){const u=Number(i);o.forEach((d,f)=>{(f==="length"||f===Zr||!en(f)&&f>=u)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Zr)),e){case"add":l?c&&a(o.get("length")):(a(o.get(ns)),Ds(t)&&a(o.get(Mc)));break;case"delete":l||(a(o.get(ns)),Ds(t)&&a(o.get(Mc)));break;case"set":Ds(t)&&a(o.get(ns));break}}Lu()}function Lb(t,e){const n=pa.get(t);return n&&n.get(e)}function bs(t){const e=Me(t);return e===t?e:(St(e,"iterate",Zr),Jt(t)?e:e.map(bn))}function al(t){return St(t=Me(t),"iterate",Zr),t}function On(t,e){return Hn(t)?zs(Ti(t)?bn(e):e):bn(e)}const Nb={__proto__:null,[Symbol.iterator](){return Nl(this,Symbol.iterator,t=>On(this,t))},concat(...t){return bs(this).concat(...t.map(e=>oe(e)?bs(e):e))},entries(){return Nl(this,"entries",t=>(t[1]=On(this,t[1]),t))},every(t,e){return Un(this,"every",t,e,void 0,arguments)},filter(t,e){return Un(this,"filter",t,e,n=>n.map(i=>On(this,i)),arguments)},find(t,e){return Un(this,"find",t,e,n=>On(this,n),arguments)},findIndex(t,e){return Un(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Un(this,"findLast",t,e,n=>On(this,n),arguments)},findLastIndex(t,e){return Un(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Un(this,"forEach",t,e,void 0,arguments)},includes(...t){return $l(this,"includes",t)},indexOf(...t){return $l(this,"indexOf",t)},join(t){return bs(this).join(t)},lastIndexOf(...t){return $l(this,"lastIndexOf",t)},map(t,e){return Un(this,"map",t,e,void 0,arguments)},pop(){return fr(this,"pop")},push(...t){return fr(this,"push",t)},reduce(t,...e){return Vd(this,"reduce",t,e)},reduceRight(t,...e){return Vd(this,"reduceRight",t,e)},shift(){return fr(this,"shift")},some(t,e){return Un(this,"some",t,e,void 0,arguments)},splice(...t){return fr(this,"splice",t)},toReversed(){return bs(this).toReversed()},toSorted(t){return bs(this).toSorted(t)},toSpliced(...t){return bs(this).toSpliced(...t)},unshift(...t){return fr(this,"unshift",t)},values(){return Nl(this,"values",t=>On(this,t))}};function Nl(t,e,n){const i=al(t),s=i[e]();return i!==t&&!Jt(t)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=n(r.value)),r}),s}const $b=Array.prototype;function Un(t,e,n,i,s,r){const o=al(t),a=o!==t&&!Jt(t),l=o[e];if(l!==$b[e]){const d=l.apply(t,r);return a?bn(d):d}let c=n;o!==t&&(a?c=function(d,f){return n.call(this,On(t,d),f,t)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,t)}));const u=l.call(o,c,i);return a&&s?s(u):u}function Vd(t,e,n,i){const s=al(t),r=s!==t&&!Jt(t);let o=n,a=!1;s!==t&&(r?(a=i.length===0,o=function(c,u,d){return a&&(a=!1,c=On(t,c)),n.call(this,c,On(t,u),d,t)}):n.length>3&&(o=function(c,u,d){return n.call(this,c,u,d,t)}));const l=s[e](o,...i);return a?On(t,l):l}function $l(t,e,n){const i=Me(t);St(i,"iterate",Zr);const s=i[e](...n);return(s===-1||s===!1)&&ll(n[0])?(n[0]=Me(n[0]),i[e](...n)):s}function fr(t,e,n=[]){oi(),Du();const i=Me(t)[e].apply(t,n);return Lu(),ai(),i}const Fb=Pu("__proto__,__v_isRef,__isVue"),jm=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(en));function Hb(t){en(t)||(t=String(t));const e=Me(this);return St(e,"has",t),e.hasOwnProperty(t)}class Bm{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){if(n==="__v_skip")return e.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?Yb:Wm:r?Um:zm).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const o=oe(e);if(!s){let l;if(o&&(l=Nb[n]))return l;if(n==="hasOwnProperty")return Hb}const a=Reflect.get(e,n,Je(e)?e:i);if((en(n)?jm.has(n):Fb(n))||(s||St(e,"get",n),r))return a;if(Je(a)){const l=o&&tl(n)?a:a.value;return s&&Le(l)?is(l):l}return Le(a)?s?is(a):un(a):a}}class Vm extends Bm{constructor(e=!1){super(!1,e)}set(e,n,i,s){let r=e[n];const o=oe(e)&&tl(n);if(!this._isShallow){const c=Hn(r);if(!Jt(i)&&!Hn(i)&&(r=Me(r),i=Me(i)),!o&&Je(r)&&!Je(i))return c||(r.value=i),!0}const a=o?Number(n)<e.length:$e(e,n),l=Reflect.set(e,n,i,Je(e)?e:s);return e===Me(s)&&(a?kt(i,r)&&ei(e,"set",n,i):ei(e,"add",n,i)),l}deleteProperty(e,n){const i=$e(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&i&&ei(e,"delete",n,void 0),s}has(e,n){const i=Reflect.has(e,n);return(!en(n)||!jm.has(n))&&St(e,"has",n),i}ownKeys(e){return St(e,"iterate",oe(e)?"length":ns),Reflect.ownKeys(e)}}class jb extends Bm{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Bb=new Vm,Vb=new jb,zb=new Vm(!0);const Pc=t=>t,To=t=>Reflect.getPrototypeOf(t);function Ub(t,e,n){return function(...i){const s=this.__v_raw,r=Me(s),o=Ds(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=s[t](...i),u=n?Pc:e?zs:bn;return!e&&St(r,"iterate",l?Mc:ns),ot(Object.create(c),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}}})}}function Ao(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Wb(t,e){const n={get(s){const r=this.__v_raw,o=Me(r),a=Me(s);t||(kt(s,a)&&St(o,"get",s),St(o,"get",a));const{has:l}=To(o),c=e?Pc:t?zs:bn;if(l.call(o,s))return c(r.get(s));if(l.call(o,a))return c(r.get(a));r!==o&&r.get(s)},get size(){const s=this.__v_raw;return!t&&St(Me(s),"iterate",ns),s.size},has(s){const r=this.__v_raw,o=Me(r),a=Me(s);return t||(kt(s,a)&&St(o,"has",s),St(o,"has",a)),s===a?r.has(s):r.has(s)||r.has(a)},forEach(s,r){const o=this,a=o.__v_raw,l=Me(a),c=e?Pc:t?zs:bn;return!t&&St(l,"iterate",ns),a.forEach((u,d)=>s.call(r,c(u),c(d),o))}};return ot(n,t?{add:Ao("add"),set:Ao("set"),delete:Ao("delete"),clear:Ao("clear")}:{add(s){const r=Me(this),o=To(r),a=Me(s),l=!e&&!Jt(s)&&!Hn(s)?a:s;return o.has.call(r,l)||kt(s,l)&&o.has.call(r,s)||kt(a,l)&&o.has.call(r,a)||(r.add(l),ei(r,"add",l,l)),this},set(s,r){!e&&!Jt(r)&&!Hn(r)&&(r=Me(r));const o=Me(this),{has:a,get:l}=To(o);let c=a.call(o,s);c||(s=Me(s),c=a.call(o,s));const u=l.call(o,s);return o.set(s,r),c?kt(r,u)&&ei(o,"set",s,r):ei(o,"add",s,r),this},delete(s){const r=Me(this),{has:o,get:a}=To(r);let l=o.call(r,s);l||(s=Me(s),l=o.call(r,s)),a&&a.call(r,s);const c=r.delete(s);return l&&ei(r,"delete",s,void 0),c},clear(){const s=Me(this),r=s.size!==0,o=s.clear();return r&&ei(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Ub(s,t,e)}),n}function $u(t,e){const n=Wb(t,e);return(i,s,r)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?i:Reflect.get($e(n,s)&&s in i?n:i,s,r)}const qb={get:$u(!1,!1)},Gb={get:$u(!1,!0)},Kb={get:$u(!0,!1)};const zm=new WeakMap,Um=new WeakMap,Wm=new WeakMap,Yb=new WeakMap;function Zb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xb(t){return t.__v_skip||!Object.isExtensible(t)?0:Zb(wb(t))}function un(t){return Hn(t)?t:Fu(t,!1,Bb,qb,zm)}function Rn(t){return Fu(t,!1,zb,Gb,Um)}function is(t){return Fu(t,!0,Vb,Kb,Wm)}function Fu(t,e,n,i,s){if(!Le(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=Xb(t);if(r===0)return t;const o=s.get(t);if(o)return o;const a=new Proxy(t,r===2?i:n);return s.set(t,a),a}function Ti(t){return Hn(t)?Ti(t.__v_raw):!!(t&&t.__v_isReactive)}function Hn(t){return!!(t&&t.__v_isReadonly)}function Jt(t){return!!(t&&t.__v_isShallow)}function ll(t){return t?!!t.__v_raw:!1}function Me(t){const e=t&&t.__v_raw;return e?Me(e):t}function Ic(t){return!$e(t,"__v_skip")&&Object.isExtensible(t)&&Am(t,"__v_skip",!0),t}const bn=t=>Le(t)?un(t):t,zs=t=>Le(t)?is(t):t;function Je(t){return t?t.__v_isRef===!0:!1}function Xe(t){return qm(t,!1)}function jn(t){return qm(t,!0)}function qm(t,e){return Je(t)?t:new Jb(t,e)}class Jb{constructor(e,n){this.dep=new ol,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:Me(e),this._value=n?e:bn(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,i=this.__v_isShallow||Jt(e)||Hn(e);e=i?e:Me(e),kt(e,n)&&(this._rawValue=e,this._value=i?e:bn(e),this.dep.trigger())}}function O(t){return Je(t)?t.value:t}function pn(t){return ge(t)?t():O(t)}const Qb={get:(t,e,n)=>e==="__v_raw"?t:O(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const s=t[e];return Je(s)&&!Je(n)?(s.value=n,!0):Reflect.set(t,e,n,i)}};function Gm(t){return Ti(t)?t:new Proxy(t,Qb)}class ev{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ol,{get:i,set:s}=e(n.track.bind(n),n.trigger.bind(n));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Km(t){return new ev(t)}function DR(t){const e=oe(t)?new Array(t.length):{};for(const n in t)e[n]=Ym(t,n);return e}class tv{constructor(e,n,i){this._object=e,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._key=en(n)?n:String(n),this._raw=Me(e);let s=!0,r=e;if(!oe(e)||en(this._key)||!tl(this._key))do s=!ll(r)||Jt(r);while(s&&(r=r.__v_raw));this._shallow=s}get value(){let e=this._object[this._key];return this._shallow&&(e=O(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&Je(this._raw[this._key])){const n=this._object[this._key];if(Je(n)){n.value=e;return}}this._object[this._key]=e}get dep(){return Lb(this._raw,this._key)}}class nv{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Hu(t,e,n){return Je(t)?t:ge(t)?new nv(t):Le(t)&&arguments.length>1?Ym(t,e,n):Xe(t)}function Ym(t,e,n){return new tv(t,e,n)}class iv{constructor(e,n,i){this.fn=e,this.setter=n,this._value=void 0,this.dep=new ol(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Yr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return Dm(this,!0),!0}get value(){const e=this.dep.track();return $m(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function sv(t,e,n=!1){let i,s;return ge(t)?i=t:(i=t.get,s=t.set),new iv(i,s,n)}const Co={},ma=new WeakMap;let Wi;function rv(t,e=!1,n=Wi){if(n){let i=ma.get(n);i||ma.set(n,i=[]),i.push(t)}}function ov(t,e,n=De){const{immediate:i,deep:s,once:r,scheduler:o,augmentJob:a,call:l}=n,c=w=>s?w:Jt(w)||s===!1||s===0?ti(w,1):ti(w);let u,d,f,h,m=!1,p=!1;if(Je(t)?(d=()=>t.value,m=Jt(t)):Ti(t)?(d=()=>c(t),m=!0):oe(t)?(p=!0,m=t.some(w=>Ti(w)||Jt(w)),d=()=>t.map(w=>{if(Je(w))return w.value;if(Ti(w))return c(w);if(ge(w))return l?l(w,2):w()})):ge(t)?e?d=l?()=>l(t,2):t:d=()=>{if(f){oi();try{f()}finally{ai()}}const w=Wi;Wi=u;try{return l?l(t,3,[h]):t(h)}finally{Wi=w}}:d=Nn,e&&s){const w=d,y=s===!0?1/0:s;d=()=>ti(w(),y)}const b=or(),_=()=>{u.stop(),b&&b.active&&Iu(b.effects,u)};if(r&&e){const w=e;e=(...y)=>{w(...y),_()}}let v=p?new Array(t.length).fill(Co):Co;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(e){const y=u.run();if(s||m||(p?y.some((T,A)=>kt(T,v[A])):kt(y,v))){f&&f();const T=Wi;Wi=u;try{const A=[y,v===Co?void 0:p&&v[0]===Co?[]:v,h];v=y,l?l(e,3,A):e(...A)}finally{Wi=T}}}else u.run()};
vendor: 9,222 bytes, line 2
2return a&&a(g),u=new Om(d),u.scheduler=o?()=>o(g,!1):g,h=w=>rv(w,!1,u),f=u.onStop=()=>{const w=ma.get(u);if(w){if(l)l(w,4);else for(const y of w)y();ma.delete(u)}},e?i?g(!0):v=u.run():o?o(g.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function ti(t,e=1/0,n){if(e<=0||!Le(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Je(t))ti(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)ti(t[i],e,n);else if(sr(t)||Ds(t))t.forEach(i=>{ti(i,e,n)});else if(Ou(t)){for(const i in t)ti(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&ti(t[i],e,n)}return t}function _o(t,e,n,i){try{return i?t(...i):t()}catch(s){ar(s,e,n)}}function vn(t,e,n,i){if(ge(t)){const s=_o(t,e,n,i);return s&&el(s)&&s.catch(r=>{ar(r,e,n)}),s}if(oe(t)){const s=[];for(let r=0;r<t.length;r++)s.push(vn(t[r],e,n,i));return s}}function ar(t,e,n,i=!0){const s=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||De;if(e){let a=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](t,l,c)===!1)return}a=a.parent}if(r){oi(),_o(r,null,10,[t,l,c]),ai();return}}av(t,n,s,i,o)}function av(t,e,n,i=!0,s=!1){if(s)throw t;console.error(t)}const Rt=[];let Cn=-1;const Ns=[];let _i=null,Ts=0;const Zm=Promise.resolve();let ga=null;function li(t){const e=ga||Zm;return t?e.then(this?t.bind(this):t):e}function lv(t){let e=Cn+1,n=Rt.length;for(;e<n;){const i=e+n>>>1,s=Rt[i],r=Jr(s);r<t||r===t&&s.flags&2?e=i+1:n=i}return e}function ju(t){if(!(t.flags&1)){const e=Jr(t),n=Rt[Rt.length-1];!n||!(t.flags&2)&&e>=Jr(n)?Rt.push(t):Rt.splice(lv(e),0,t),t.flags|=1,Xm()}}function Xm(){ga||(ga=Zm.then(Jm))}function Xr(t){oe(t)?Ns.push(...t):_i&&t.id===-1?_i.splice(Ts+1,0,t):t.flags&1||(Ns.push(t),t.flags|=1),Xm()}function zd(t,e,n=Cn+1){for(;n<Rt.length;n++){const i=Rt[n];if(i&&i.flags&2){if(t&&i.id!==t.uid)continue;Rt.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function _a(t){if(Ns.length){const e=[...new Set(Ns)].sort((n,i)=>Jr(n)-Jr(i));if(Ns.length=0,_i){_i.push(...e);return}for(_i=e,Ts=0;Ts<_i.length;Ts++){const n=_i[Ts];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_i=null,Ts=0}}const Jr=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Jm(t){try{for(Cn=0;Cn<Rt.length;Cn++){const e=Rt[Cn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),_o(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Cn<Rt.length;Cn++){const e=Rt[Cn];e&&(e.flags&=-2)}Cn=-1,Rt.length=0,_a(),ga=null,(Rt.length||Ns.length)&&Jm()}}let bt=null,Qm=null;function ya(t){const e=bt;return bt=t,Qm=t&&t.type.__scopeId||null,e}function me(t,e=bt,n){if(!e||t._n)return t;const i=(...s)=>{i._d&&Sa(-1);const r=ya(e);let o;try{o=t(...s)}finally{ya(r),i._d&&Sa(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function LR(t,e){if(bt===null)return t;const n=ml(bt),i=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[r,o,a,l=De]=e[s];r&&(ge(r)&&(r={mounted:r,updated:r}),r.deep&&ti(o),i.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Mn(t,e,n,i){const s=t.dirs,r=e&&e.dirs;for(let o=0;o<s.length;o++){const a=s[o];r&&(a.oldValue=r[o].value);let l=a.dir[i];l&&(oi(),vn(l,n,8,[t.el,a,t,e]),ai())}}function ss(t,e){if(yt){let n=yt.provides;const i=yt.parent&&yt.parent.provides;i===n&&(n=yt.provides=Object.create(i)),n[t]=e}}function Ct(t,e,n=!1){const i=Lt();if(i||rs){let s=rs?rs._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&t in s)return s[t];if(arguments.length>1)return n&&ge(e)?e.call(i&&i.proxy):e}}function cl(){return!!(Lt()||rs)}const cv=Symbol.for("v-scx"),uv=()=>Ct(cv);function eg(t,e){return ul(t,null,e)}function dv(t,e){return ul(t,null,{flush:"sync"})}function Ut(t,e,n){return ul(t,e,n)}function ul(t,e,n=De){const{immediate:i,deep:s,flush:r,once:o}=n,a=ot({},n),l=e&&i||!e&&r!=="post";let c;if(us){if(r==="sync"){const h=uv();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Nn,h.resume=Nn,h.pause=Nn,h}}const u=yt;a.call=(h,m,p)=>vn(h,u,m,p);let d=!1;r==="post"?a.scheduler=h=>{st(h,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(h,m)=>{m?h():ju(h)}),a.augmentJob=h=>{e&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=ov(t,e,a);return us&&(c?c.push(f):l&&f()),f}function fv(t,e,n){const i=this.proxy,s=Ye(t)?t.includes(".")?tg(i,t):()=>i[t]:t.bind(i,i);let r;ge(e)?r=e:(r=e.handler,n=e);const o=cr(this),a=ul(s,r.bind(i),n);return o(),a}function tg(t,e){const n=e.split(".");return()=>{let i=t;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}const ng=Symbol("_vte"),ig=t=>t.__isTeleport,Rr=t=>t&&(t.disabled||t.disabled===""),hv=t=>t&&(t.defer||t.defer===""),Ud=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Wd=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Oc=(t,e)=>{const n=t&&t.to;return Ye(n)?e?e(n):null:n},sg={name:"Teleport",__isTeleport:!0,process(t,e,n,i,s,r,o,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:p,createComment:b}}=c,_=Rr(e.props);let{shapeFlag:v,children:g,dynamicChildren:w}=e;if(t==null){const y=e.el=p(""),T=e.anchor=p("");h(y,n,i),h(T,n,i);const A=(E,R)=>{v&16&&u(g,E,R,s,r,o,a,l)},M=()=>{const E=e.target=Oc(e.props,m),R=Rc(E,e,p,h);E&&(o!=="svg"&&Ud(E)?o="svg":o!=="mathml"&&Wd(E)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(E),_||(A(E,R),aa(e,!1)))};_&&(A(n,T),aa(e,!0)),hv(e.props)||r&&r.pendingBranch?(e.el.__isMounted=!1,st(()=>{e.el.__isMounted===!1&&(M(),delete e.el.__isMounted)},r)):M()}else{e.el=t.el,e.targetStart=t.targetStart;const y=e.anchor=t.anchor,T=e.target=t.target,A=e.targetAnchor=t.targetAnchor;if(t.el.__isMounted===!1){st(()=>{sg.process(t,e,n,i,s,r,o,a,l,c)},r);return}const M=Rr(t.props),E=M?n:T,R=M?y:A;if(o==="svg"||Ud(T)?o="svg":(o==="mathml"||Wd(T))&&(o="mathml"),w?(f(t.dynamicChildren,w,E,s,r,o,a),Xu(t,e,!0)):l||d(t,e,E,R,s,r,o,a,!1),_)M?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Eo(e,n,y,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const j=e.target=Oc(e.props,m);j&&Eo(e,j,null,c,0)}else M&&Eo(e,T,A,c,1);aa(e,_)}},remove(t,e,n,{um:i,o:{remove:s}},r){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=t;if(d&&(s(c),s(u)),r&&s(l),o&16){const h=r||!Rr(f);for(let m=0;m<a.length;m++){const p=a[m];i(p,e,n,h,!!p.dynamicChildren)}}},move:Eo,hydrate:pv};function Eo(t,e,n,{o:{insert:i},m:s},r=2){r===0&&i(t.targetAnchor,e,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=t,d=r===2;if(d&&i(o,e,n),(!d||Rr(u))&&l&16)for(let f=0;f<c.length;f++)s(c[f],e,n,2);d&&i(a,e,n)}function pv(t,e,n,i,s,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){function f(b,_){let v=_;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")e.targetStart=v;else if(v.data==="teleport anchor"){e.targetAnchor=v,b._lpa=e.targetAnchor&&o(e.targetAnchor);break}}v=o(v)}}function h(b,_){_.anchor=d(o(b),_,a(b),n,i,s,r)}const m=e.target=Oc(e.props,l),p=Rr(e.props);if(m){const b=m._lpa||m.firstChild;e.shapeFlag&16&&(p?(h(t,e),f(m,b),e.targetAnchor||Rc(m,e,u,c,a(t)===m?t:null)):(e.anchor=o(t),f(m,b),e.targetAnchor||Rc(m,e,u,c),d(b&&o(b),e,m,n,i,s,r))),aa(e,p)}else p&&e.shapeFlag&16&&(h(t,e),e.targetStart=t,e.targetAnchor=o(t));return e.anchor&&o(e.anchor)}const mv=sg;function aa(t,e){const n=t.ctx;if(n&&n.ut){let i,s;for(e?(i=t.el,s=t.anchor):(i=t.targetStart,s=t.targetAnchor);i&&i!==s;)i.nodeType===1&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function Rc(t,e,n,i,s=null){const r=e.targetStart=n(""),o=e.targetAnchor=n("");return r[ng]=o,t&&(i(r,t,s),i(o,t,s)),o}const Pn=Symbol("_leaveCb"),hr=Symbol("_enterCb");function rg(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn(()=>{t.isMounted=!0}),_s(()=>{t.isUnmounting=!0}),t}const rn=[Function,Array],og={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rn,onEnter:rn,onAfterEnter:rn,onEnterCancelled:rn,onBeforeLeave:rn,onLeave:rn,onAfterLeave:rn,onLeaveCancelled:rn,onBeforeAppear:rn,onAppear:rn,onAfterAppear:rn,onAppearCancelled:rn},ag=t=>{const e=t.subTree;return e.component?ag(e.component):e},gv={name:"BaseTransition",props:og,setup(t,{slots:e}){const n=Lt(),i=rg();return()=>{const s=e.default&&Bu(e.default(),!0);if(!s||!s.length)return;const r=lg(s),o=Me(t),{mode:a}=o;if(i.isLeaving)return Fl(r);const l=qd(r);if(!l)return Fl(r);let c=Qr(l,o,i,n,d=>c=d);l.type!==ut&&Pi(l,c);let u=n.subTree&&qd(n.subTree);if(u&&u.type!==ut&&!mn(u,l)&&ag(n).type!==ut){let d=Qr(u,o,i,n);if(Pi(u,d),a==="out-in"&&l.type!==ut)return i.isLeaving=!0,d.afterLeave=()=>{i.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Fl(r);a==="in-out"&&l.type!==ut?d.delayLeave=(f,h,m)=>{const p=cg(i,u);p[String(u.key)]=u,f[Pn]=()=>{h(),f[Pn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function lg(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ut){e=n;break}}return e}const _v=gv;
2function cg(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Qr(t,e,n,i,s){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:b,onAppear:_,onAfterAppear:v,onAppearCancelled:g}=e,w=String(t.key),y=cg(n,t),T=(E,R)=>{E&&vn(E,i,9,R)},A=(E,R)=>{const j=R[1];T(E,R),oe(E)?E.every(L=>L.length<=1)&&j():E.length<=1&&j()},M={mode:o,persisted:a,beforeEnter(E){let R=l;if(!n.isMounted)if(r)R=b||l;else return;E[Pn]&&E[Pn](!0);const j=y[w];j&&mn(t,j)&&j.el[Pn]&&j.el[Pn](),T(R,[E])},enter(E){if(y[w]===t)return;let R=c,j=u,L=d;if(!n.isMounted)if(r)R=_||c,j=v||u,L=g||d;else return;let K=!1;E[hr]=de=>{K||(K=!0,de?T(L,[E]):T(j,[E]),M.delayedLeave&&M.delayedLeave(),E[hr]=void 0)};const ve=E[hr].bind(null,!1);R?A(R,[E,ve]):ve()},leave(E,R){const j=String(t.key);if(E[hr]&&E[hr](!0),n.isUnmounting)return R();T(f,[E]);let L=!1;E[Pn]=ve=>{L||(L=!0,R(),ve?T(p,[E]):T(m,[E]),E[Pn]=void 0,y[j]===t&&delete y[j])};const K=E[Pn].bind(null,!1);y[j]=t,h?A(h,[E,K]):K()},clone(E){const R=Qr(E,e,n,i,s);return s&&s(R),R}};return M}function Fl(t){if(yo(t))return t=Qt(t),t.children=null,t}function qd(t){if(!yo(t))return ig(t.type)&&t.children?lg(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&ge(n.default))return n.default()}}function Pi(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Pi(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Bu(t,e=!1,n){let i=[],s=0;for(let r=0;r<t.length;r++){let o=t[r];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===Ve?(o.patchFlag&128&&s++,i=i.concat(Bu(o.children,e,a))):(e||o.type!==ut)&&i.push(a!=null?Qt(o,{key:a}):o)}if(s>1)for(let r=0;r<i.length;r++)i[r].patchFlag=-2;return i}function gt(t,e){return ge(t)?ot({name:t.name},e,{setup:t}):t}function NR(){const t=Lt();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Vu(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gd(t,e){let n;return!!((n=Object.getOwnPropertyDescriptor(t,e))&&!n.configurable)}const ba=new WeakMap;function $s(t,e,n,i,s=!1){if(oe(t)){t.forEach((p,b)=>$s(p,e&&(oe(e)?e[b]:e),n,i,s));return}if(si(i)&&!s){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&$s(t,e,n,i.component.subTree);return}const r=i.shapeFlag&4?ml(i.component):i.el,o=s?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===De?a.refs={}:a.refs,d=a.setupState,f=Me(d),h=d===De?Sm:p=>Gd(u,p)?!1:$e(f,p),m=(p,b)=>!(b&&Gd(u,b));if(c!=null&&c!==l){if(Kd(e),Ye(c))u[c]=null,h(c)&&(d[c]=null);else if(Je(c)){const p=e;m(c,p.k)&&(c.value=null),p.k&&(u[p.k]=null)}}if(ge(l))_o(l,a,12,[o,u]);else{const p=Ye(l),b=Je(l);if(p||b){const _=()=>{if(t.f){const v=p?h(l)?d[l]:u[l]:m()||!t.k?l.value:u[t.k];if(s)oe(v)&&Iu(v,r);else if(oe(v))v.includes(r)||v.push(r);else if(p)u[l]=[r],h(l)&&(d[l]=u[l]);else{const g=[r];m(l,t.k)&&(l.value=g),t.k&&(u[t.k]=g)}}else p?(u[l]=o,h(l)&&(d[l]=o)):b&&(m(l,t.k)&&(l.value=o),t.k&&(u[t.k]=o))};if(o){const v=()=>{_(),ba.delete(t)};v.id=-1,ba.set(t,v),st(v,n)}else Kd(t),_()}}}function Kd(t){const e=ba.get(t);e&&(e.flags|=8,ba.delete(t))}let Yd=!1;const vs=()=>{Yd||(console.error("Hydration completed but contains mismatches."),Yd=!0)},yv=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",bv=t=>t.namespaceURI.includes("MathML"),Mo=t=>{if(t.nodeType===1){if(yv(t))return"svg";if(bv(t))return"mathml"}},Ps=t=>t.nodeType===8;function vv(t){const{mt:e,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),_a(),w._vnode=g;return}d(w.firstChild,g,null,null,null),_a(),w._vnode=g},d=(g,w,y,T,A,M=!1)=>{M=M||!!w.dynamicChildren;const E=Ps(g)&&g.data==="[",R=()=>p(g,w,y,T,A,E),{type:j,ref:L,shapeFlag:K,patchFlag:ve}=w;let de=g.nodeType;w.el=g,ve===-2&&(M=!1,w.dynamicChildren=null);let q=null;switch(j){case os:de!==3?w.children===""?(l(w.el=s(""),o(g),g),q=g):q=R():(g.data!==w.children&&(vs(),g.data=w.children),q=r(g));break;
vendor: 8,478 bytes, lines 2-4
2case ut:v(g)?(q=r(g),_(w.el=g.content.firstChild,g,y)):de!==8||E?q=R():q=r(g);break;case Lr:if(E&&(g=r(g),de=g.nodeType),de===1||de===3){q=g;const re=!w.children.length;for(let J=0;J<w.staticCount;J++)re&&(w.children+=q.nodeType===1?q.outerHTML:q.data),J===w.staticCount-1&&(w.anchor=q),q=r(q);return E?r(q):q}else R();break;case Ve:E?q=m(g,w,y,T,A,M):q=R();break;default:if(K&1)(de!==1||w.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?q=R():q=f(g,w,y,T,A,M);else if(K&6){w.slotScopeIds=A;const re=o(g);if(E?q=b(g):Ps(g)&&g.data==="teleport start"?q=b(g,g.data,"teleport end"):q=r(g),e(w,re,null,y,T,Mo(re),M),si(w)&&!w.type.__asyncResolved){let J;E?(J=z(Ve),J.anchor=q?q.previousSibling:re.lastChild):J=g.nodeType===3?le(""):z("div"),J.el=g,w.component.subTree=J}}else K&64?de!==8?q=R():q=w.type.hydrate(g,w,y,T,A,M,t,h):K&128&&(q=w.type.hydrate(g,w,y,T,Mo(o(g)),A,M,t,d))}return L!=null&&$s(L,null,T,w),q},f=(g,w,y,T,A,M)=>{M=M||!!w.dynamicChildren;const{type:E,props:R,patchFlag:j,shapeFlag:L,dirs:K,transition:ve}=w,de=E==="input"||E==="option";if(de||j!==-1){K&&Mn(w,null,y,"created");let q=!1;if(v(g)){q=Ig(null,ve)&&y&&y.vnode.props&&y.vnode.props.appear;const J=g.content.firstChild;if(q){const Re=J.getAttribute("class");Re&&(J.$cls=Re),ve.beforeEnter(J)}_(J,g,y),w.el=g=J}if(L&16&&!(R&&(R.innerHTML||R.textContent))){let J=h(g.firstChild,w,g,y,T,A,M);for(;J;){Po(g,1)||vs();const Re=J;J=J.nextSibling,a(Re)}}else if(L&8){let J=w.children;J[0]===` 3`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(J=J.slice(1));const{textContent:Re}=g;Re!==J&&Re!==J.replace(/\r\n|\r/g,` 4`)&&(Po(g,0)||vs(),g.textContent=w.children)}if(R){if(de||!M||j&48){const J=g.tagName.includes("-");for(const Re in R)(de&&(Re.endsWith("value")||Re==="indeterminate")||go(Re)&&!ts(Re)||Re[0]==="."||J&&!ts(Re))&&i(g,Re,null,R[Re],void 0,y)}else if(R.onClick)i(g,"onClick",null,R.onClick,void 0,y);else if(j&4&&Ti(R.style))for(const J in R.style)R.style[J]}let re;(re=R&&R.onVnodeBeforeMount)&&Ht(re,y,w),K&&Mn(w,null,y,"beforeMount"),((re=R&&R.onVnodeMounted)||K||q)&&Ng(()=>{re&&Ht(re,y,w),q&&ve.enter(g),K&&Mn(w,null,y,"mounted")},T)}return g.nextSibling},h=(g,w,y,T,A,M,E)=>{E=E||!!w.dynamicChildren;const R=w.children,j=R.length;for(let L=0;L<j;L++){const K=E?R[L]:R[L]=Zt(R[L]),ve=K.type===os;g?(ve&&!E&&L+1<j&&Zt(R[L+1]).type===os&&(l(s(g.data.slice(K.children.length)),y,r(g)),g.data=K.children),g=d(g,K,T,A,M,E)):ve&&!K.children?l(K.el=s(""),y):(Po(y,1)||vs(),n(null,K,y,null,T,A,Mo(y),M))}return g},m=(g,w,y,T,A,M)=>{const{slotScopeIds:E}=w;E&&(A=A?A.concat(E):E);const R=o(g),j=h(r(g),w,R,y,T,A,M);return j&&Ps(j)&&j.data==="]"?r(w.anchor=j):(vs(),l(w.anchor=c("]"),R,j),j)},p=(g,w,y,T,A,M)=>{if(Po(g.parentElement,1)||vs(),w.el=null,M){const j=b(g);for(;;){const L=r(g);if(L&&L!==j)a(L);else break}}const E=r(g),R=o(g);return a(g),n(null,w,R,E,y,T,Mo(R),A),y&&(y.vnode.el=w.el,hl(y,w.el)),E},b=(g,w="[",y="]")=>{let T=0;for(;g;)if(g=r(g),g&&Ps(g)&&(g.data===w&&T++,g.data===y)){if(T===0)return r(g);T--}return g},_=(g,w,y)=>{const T=w.parentNode;T&&T.replaceChild(g,w);let A=y;for(;A;)A.vnode.el===w&&(A.vnode.el=A.subTree.el=g),A=A.parent},v=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const Zd="data-allow-mismatch",wv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Po(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Zd);)t=t.parentElement;const n=t&&t.getAttribute(Zd);if(n==null)return!1;if(n==="")return!0;{const i=n.split(",");return e===0&&i.includes("children")?!0:i.includes(wv[e])}}rl().requestIdleCallback;rl().cancelIdleCallback;function xv(t){const{top:e,left:n,bottom:i,right:s}=t.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(e>0&&e<r||i>0&&i<r)&&(n>0&&n<o||s>0&&s<o)}const $R=t=>(e,n)=>{const i=new IntersectionObserver(s=>{for(const r of s)if(r.isIntersecting){i.disconnect(),e();break}},t);return n(s=>{if(s instanceof Element){if(xv(s))return e(),i.disconnect(),!1;i.observe(s)}}),()=>i.disconnect()};function kv(t,e){if(Ps(t)&&t.data==="["){let n=1,i=t.nextSibling;for(;i;){if(i.nodeType===1){if(e(i)===!1)break}else if(Ps(i))if(i.data==="]"){if(--n===0)break}else i.data==="["&&n++;i=i.nextSibling}}else e(t)}const si=t=>!!t.type.__asyncLoader;function FR(t){ge(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:s=200,hydrate:r,timeout:o,suspensible:a=!0,onError:l}=t;let c=null,u,d=0;const f=()=>(d++,c=null,h()),h=()=>{let m;return c||(m=c=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((b,_)=>{l(p,()=>b(f()),()=>_(p),d+1)});throw p}).then(p=>m!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return gt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,p,b){let _=!1;(p.bu||(p.bu=[])).push(()=>_=!0);const v=()=>{_||b()},g=r?()=>{const w=r(v,y=>kv(m,y));w&&(p.bum||(p.bum=[])).push(w)}:v;u?g():h().then(()=>!p.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const m=yt;if(Vu(m),u)return()=>Io(u,m);const p=g=>{c=null,ar(g,m,13,!i)};if(a&&m.suspense||us)return h().then(g=>()=>Io(g,m)).catch(g=>(p(g),()=>i?z(i,{error:g}):null));const b=Xe(!1),_=Xe(),v=Xe(!!s);return s&&setTimeout(()=>{v.value=!1},s),o!=null&&setTimeout(()=>{if(!b.value&&!_.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),_.value=g}},o),h().then(()=>{b.value=!0,m.parent&&yo(m.parent.vnode)&&m.parent.update()}).catch(g=>{p(g),_.value=g}),()=>{if(b.value&&u)return Io(u,m);if(_.value&&i)return z(i,{error:_.value});if(n&&!v.value)return Io(n,m)}}})}function Io(t,e){const{ref:n,props:i,children:s,ce:r}=e.vnode,o=z(t,i,s);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const yo=t=>t.type.__isKeepAlive,Sv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Lt(),i=n.ctx;if(!i.renderer)return()=>{const v=e.default&&e.default();return v&&v.length===1?v[0]:v};const s=new Map,r=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=i,f=d("div");i.activate=(v,g,w,y,T)=>{const A=v.component;c(v,g,w,0,a),l(A.vnode,v,g,w,A,a,y,v.slotScopeIds,T),st(()=>{A.isDeactivated=!1,A.a&&Ls(A.a);const M=v.props&&v.props.onVnodeMounted;M&&Ht(M,A.parent,v)},a)},i.deactivate=v=>{const g=v.component;xa(g.m),xa(g.a),c(v,f,null,1,a),st(()=>{g.da&&Ls(g.da);const w=v.props&&v.props.onVnodeUnmounted;w&&Ht(w,g.parent,v),g.isDeactivated=!0},a)};function h(v){Hl(v),u(v,n,a,!0)}function m(v){s.forEach((g,w)=>{const y=jc(si(g)?g.type.__asyncResolved||{}:g.type);y&&!v(y)&&p(w)})}function p(v){const g=s.get(v);g&&(!o||!mn(g,o))?h(g):o&&Hl(o),s.delete(v),r.delete(v)}Ut(()=>[t.include,t.exclude],([v,g])=>{v&&m(w=>Sr(v,w)),g&&m(w=>!Sr(g,w))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&(ka(n.subTree.type)?st(()=>{s.set(b,Oo(n.subTree))},n.subTree.suspense):s.set(b,Oo(n.subTree)))};return Bn(_),Wu(_),_s(()=>{s.forEach(v=>{const{subTree:g,suspense:w}=n,y=Oo(g);if(v.type===y.type&&v.key===y.key){Hl(y);const T=y.component.da;T&&st(T,w);return}h(v)})}),()=>{if(b=null,!e.default)return o=null;const v=e.default(),g=v[0];if(v.length>1)return o=null,v;if(!cs(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let w=Oo(g);if(w.type===ut)return o=null,w;const y=w.type,T=jc(si(w)?w.type.__asyncResolved||{}:y),{include:A,exclude:M,max:E}=t;if(A&&(!T||!Sr(A,T))||M&&T&&Sr(M,T))return w.shapeFlag&=-257,o=w,g;const R=w.key==null?y:w.key,j=s.get(R);return w.el&&(w=Qt(w),g.shapeFlag&128&&(g.ssContent=w)),b=R,j?(w.el=j.el,w.component=j.component,w.transition&&Pi(w,w.transition),w.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),E&&r.size>parseInt(E,10)&&p(r.values().next().value)),w.shapeFlag|=256,o=w,ka(g.type)?g:w}}},Tv=Sv;function Sr(t,e){return oe(t)?t.some(n=>Sr(n,e)):Ye(t)?t.split(",").includes(e):vb(t)?(t.lastIndex=0,t.test(e)):!1}function zu(t,e){ug(t,"a",e)}function Uu(t,e){ug(t,"da",e)}function ug(t,e,n=yt){const i=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(dl(e,i,n),n){let s=n.parent;for(;s&&s.parent;)yo(s.parent.vnode)&&Av(i,e,n,s),s=s.parent}}function Av(t,e,n,i){const s=dl(e,t,i,!0);lr(()=>{Iu(i[e],s)},n)}function Hl(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Oo(t){return t.shapeFlag&128?t.ssContent:t}function dl(t,e,n=yt,i=!1){if(n){const s=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{oi();const a=cr(n),l=vn(e,n,t,o);return a(),ai(),l});return i?s.unshift(r):s.push(r),r}}const di=t=>(e,n=yt)=>
vendor: 4,627 bytes, line 4
4{(!us||t==="sp")&&dl(t,(...i)=>e(...i),n)},dg=di("bm"),Bn=di("m"),Cv=di("bu"),Wu=di("u"),_s=di("bum"),lr=di("um"),Ev=di("sp"),Mv=di("rtg"),Pv=di("rtc");function fg(t,e=yt){dl("ec",t,e)}const qu="components",Iv="directives";function Xd(t,e){return Ku(qu,t,!0,e)||t}const hg=Symbol.for("v-ndc");function Gu(t){return Ye(t)?Ku(qu,t,!1)||t:t||hg}function HR(t){return Ku(Iv,t)}function Ku(t,e,n=!0,i=!1){const s=bt||yt;if(s){const r=s.type;if(t===qu){const a=jc(r,!1);if(a&&(a===e||a===At(e)||a===il(At(e))))return r}const o=Jd(s[t]||r[t],e)||Jd(s.appContext[t],e);return!o&&i?r:o}}function Jd(t,e){return t&&(t[e]||t[At(e)]||t[il(At(e))])}function pg(t,e,n,i){let s;const r=n,o=oe(t);if(o||Ye(t)){const a=o&&Ti(t);let l=!1,c=!1;a&&(l=!Jt(t),c=Hn(t),t=al(t)),s=new Array(t.length);for(let u=0,d=t.length;u<d;u++)s[u]=e(l?c?zs(bn(t[u])):bn(t[u]):t[u],u,void 0,r)}else if(typeof t=="number"){s=new Array(t);for(let a=0;a<t;a++)s[a]=e(a+1,a,void 0,r)}else if(Le(t))if(t[Symbol.iterator])s=Array.from(t,(a,l)=>e(a,l,void 0,r));else{const a=Object.keys(t);s=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];s[l]=e(t[u],u,l,r)}}else s=[];return s}function Ov(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(oe(i))for(let s=0;s<i.length;s++)t[i[s].name]=i[s].fn;else i&&(t[i.name]=i.key?(...s)=>{const r=i.fn(...s);return r&&(r.key=i.key),r}:i.fn)}return t}function Qd(t,e,n={},i,s){if(bt.ce||bt.parent&&si(bt.parent)&&bt.parent.ce){const c=Object.keys(n).length>0;return e!=="default"&&(n.name=e),U(),_t(Ve,null,[z("slot",n,i&&i())],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),U();const o=r&&mg(r(n)),a=n.key||o&&o.key,l=_t(Ve,{key:(a&&!en(a)?a:`_${e}`)+(!o&&i?"_fb":"")},o||(i?i():[]),o&&t._===1?64:-2);return r&&r._c&&(r._d=!0),l}function mg(t){return t.some(e=>cs(e)?!(e.type===ut||e.type===Ve&&!mg(e.children)):!0)?t:null}const Dc=t=>t?Bg(t)?ml(t):Dc(t.parent):null,Dr=ot(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Dc(t.parent),$root:t=>Dc(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>_g(t),$forceUpdate:t=>t.f||(t.f=()=>{ju(t.update)}),$nextTick:t=>t.n||(t.n=li.bind(t.proxy)),$watch:t=>fv.bind(t)}),jl=(t,e)=>t!==De&&!t.__isScriptSetup&&$e(t,e),Rv={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const f=o[e];if(f!==void 0)switch(f){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return r[e]}else{if(jl(i,e))return o[e]=1,i[e];if(s!==De&&$e(s,e))return o[e]=2,s[e];if($e(r,e))return o[e]=3,r[e];if(n!==De&&$e(n,e))return o[e]=4,n[e];Lc&&(o[e]=0)}}const c=Dr[e];let u,d;if(c)return e==="$attrs"&&St(t.attrs,"get",""),c(t);if((u=a.__cssModules)&&(u=u[e]))return u;if(n!==De&&$e(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,$e(d,e))return d[e]},set({_:t},e,n){const{data:i,setupState:s,ctx:r}=t;return jl(s,e)?(s[e]=n,!0):i!==De&&$e(i,e)?(i[e]=n,!0):$e(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,props:r,type:o}},a){let l;return!!(n[a]||t!==De&&a[0]!=="$"&&$e(t,a)||jl(e,a)||$e(r,a)||$e(i,a)||$e(Dr,a)||$e(s.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:$e(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function jR(){return Dv().slots}function Dv(t){const e=Lt();return e.setupContext||(e.setupContext=zg(e))}function va(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function BR(t,e){return!t||!e?t||e:oe(t)&&oe(e)?t.concat(e):ot({},va(t),va(e))}function VR(t){const e=Lt(),n=us;let i=t();Aa(),n&&Hs(!1);const s=()=>{cr(e),n&&Hs(!0)},r=()=>{Lt()!==e&&e.scope.off(),Aa(),n&&Hs(!1)};return el(i)&&(i=i.catch(o=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(r)),o})),[i,()=>{s(),Promise.resolve().then(r)}]}let Lc=!0;function Lv(t){const e=_g(t),n=t.proxy,i=t.ctx;Lc=!1,e.beforeCreate&&ef(e.beforeCreate,t,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:p,deactivated:b,beforeDestroy:_,beforeUnmount:v,destroyed:g,unmounted:w,render:y,renderTracked:T,renderTriggered:A,errorCaptured:M,serverPrefetch:E,expose:R,inheritAttrs:j,components:L,directives:K,filters:ve}=e;if(c&&Nv(c,i,null),o)for(const re in o){const J=o[re];ge(J)&&(i[re]=J.bind(n))}if(s){const re=s.call(n,n);Le(re)&&(t.data=un(re))}if(Lc=!0,r)for(const re in r){const J=r[re],Re=ge(J)?J.bind(n,n):ge(J.get)?J.get.bind(n,n):Nn,Mt=!ge(J)&&ge(J.set)?J.set.bind(n):Nn,Pt
vendor: 4,255 bytes, line 4
4=ue({get:Re,set:Mt});Object.defineProperty(i,re,{enumerable:!0,configurable:!0,get:()=>Pt.value,set:tt=>Pt.value=tt})}if(a)for(const re in a)gg(a[re],i,n,re);if(l){const re=ge(l)?l.call(n):l;Reflect.ownKeys(re).forEach(J=>{ss(J,re[J])})}u&&ef(u,t,"c");function q(re,J){oe(J)?J.forEach(Re=>re(Re.bind(n))):J&&re(J.bind(n))}if(q(dg,d),q(Bn,f),q(Cv,h),q(Wu,m),q(zu,p),q(Uu,b),q(fg,M),q(Pv,T),q(Mv,A),q(_s,v),q(lr,w),q(Ev,E),oe(R))if(R.length){const re=t.exposed||(t.exposed={});R.forEach(J=>{Object.defineProperty(re,J,{get:()=>n[J],set:Re=>n[J]=Re,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===Nn&&(t.render=y),j!=null&&(t.inheritAttrs=j),L&&(t.components=L),K&&(t.directives=K),E&&Vu(t)}function Nv(t,e,n=Nn){oe(t)&&(t=Nc(t));for(const i in t){const s=t[i];let r;Le(s)?"default"in s?r=Ct(s.from||i,s.default,!0):r=Ct(s.from||i):r=Ct(s),Je(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[i]=r}}function ef(t,e,n){vn(oe(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,n)}function gg(t,e,n,i){let s=i.includes(".")?tg(n,i):()=>n[i];if(Ye(t)){const r=e[t];ge(r)&&Ut(s,r)}else if(ge(t))Ut(s,t.bind(n));else if(Le(t))if(oe(t))t.forEach(r=>gg(r,e,n,i));else{const r=ge(t.handler)?t.handler.bind(n):e[t.handler];ge(r)&&Ut(s,r,t)}}function _g(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!s.length&&!n&&!i?l=e:(l={},s.length&&s.forEach(c=>wa(l,c,o,!0)),wa(l,e,o)),Le(e)&&r.set(e,l),l}function wa(t,e,n,i=!1){const{mixins:s,extends:r}=e;r&&wa(t,r,n,!0),s&&s.forEach(o=>wa(t,o,n,!0));for(const o in e)if(!(i&&o==="expose")){const a=$v[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const $v={data:tf,props:nf,emits:nf,methods:Tr,computed:Tr,beforeCreate:It,created:It,beforeMount:It,mounted:It,beforeUpdate:It,updated:It,beforeDestroy:It,beforeUnmount:It,destroyed:It,unmounted:It,activated:It,deactivated:It,errorCaptured:It,serverPrefetch:It,components:Tr,directives:Tr,watch:Hv,provide:tf,inject:Fv};function tf(t,e){return e?t?function(){return ot(ge(t)?t.call(this,this):t,ge(e)?e.call(this,this):e)}:e:t}function Fv(t,e){return Tr(Nc(t),Nc(e))}function Nc(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function It(t,e){return t?[...new Set([].concat(t,e))]:e}function Tr(t,e){return t?ot(Object.create(null),t,e):e}function nf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:ot(Object.create(null),va(t),va(e??{})):e}function Hv(t,e){if(!t)return e;if(!e)return t;const n=ot(Object.create(null),t);for(const i in e)n[i]=It(t[i],e[i]);return n}function yg(){return{app:null,config:{isNativeTag:Sm,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 jv=0;function Bv(t,e){return function(i,s=null){ge(i)||(i=ot({},i)),s!=null&&!Le(s)&&(s=null);const r=yg(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:jv++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:y1,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&ge(u.install)?(o.add(u),u.install(c,...d)):ge(u)&&(o.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,f){if(!l){const h=c._ceVNode||z(i,s);return h.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),d&&e?e(h,u):t(h,u,f),l=!0,c._container=u,u.__vue_app__=c,ml(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(vn(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=rs;rs=c;try{return u()}finally{rs=d}}};return c}}let rs=null;function zR(t,e,n=De){const i=Lt(),s=At(e),r=ui(e),o=bg(t,s),a=Km((l,c)=>{let u,d=De,f;return dv(()=>{const h=t[s];kt(u,h)&&(u=h,c())}),{get(){return l(),n.get?n.get(u):u},set(h){const m=n.set?n.set(h):h;if(!kt(m,u)&&!(d!==De&&kt(h,d)))return;const p=i.vnode.props;p&&(e in p||s in p||r in p)&&(`onUpdate:${e}
4`in p||`onUpdate:${s}`in p||`onUpdate:${r}`in p)||(u=h,c()),i.emit(`update:${e}`,m),kt(h,m)&&kt(h,d)&&!kt(m,f)&&c(),d=h,f=m}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||De:a,done:!1}:{done:!0}}}},a}const bg=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${At(e)}Modifiers`]||t[`${ui(e)}Modifiers`];function Vv(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||De;let s=n;const r=e.startsWith("update:"),o=r&&bg(i,e.slice(7));o&&(o.trim&&(s=n.map(u=>Ye(u)?u.trim():u)),o.number&&(s=n.map(sl)));let a,l=i[a=Rl(e)]||i[a=Rl(At(e))];!l&&r&&(l=i[a=Rl(ui(e))]),l&&vn(l,t,6,s);const c=i[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,vn(c,t,6,s)}}const zv=new WeakMap;function vg(t,e,n=!1){const i=n?zv:e.emitsCache,s=i.get(t);if(s!==void 0)return s;const r=t.emits;let o={},a=!1;if(!ge(t)){const l=c=>{const u=vg(c,e,!0);u&&(a=!0,ot(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Le(t)&&i.set(t,null),null):(oe(r)?r.forEach(l=>o[l]=null):ot(o,r),Le(t)&&i.set(t,o),o)}function fl(t,e){return!t||!go(e)?!1:(e=e.slice(2).replace(/Once$/,""),$e(t,e[0].toLowerCase()+e.slice(1))||$e(t,ui(e))||$e(t,e))}function Bl(t){const{type:e,vnode:n,proxy:i,withProxy:s,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:m,inheritAttrs:p}=t,b=ya(t);let _,v;try{if(n.shapeFlag&4){const w=s||i,y=w;_=Zt(c.call(y,w,u,d,h,f,m)),v=a}else{const w=e;_=Zt(w.length>1?w(d,{attrs:a,slots:o,emit:l}):w(d,null)),v=e.props?a:Wv(a)}}catch(w){Nr.length=0,ar(w,t,1),_=z(ut)}let g=_;if(v&&p!==!1){const w=Object.keys(v),{shapeFlag:y}=g;w.length&&y&7&&(r&&w.some(Qa)&&(v=qv(v,r)),g=Qt(g,v,!1,!0))}return n.dirs&&(g=Qt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Pi(g,n.transition),_=g,ya(b),_}function Uv(t,e=!0){let n;for(let i=0;i<t.length;i++){const s=t[i];if(cs(s)){if(s.type!==ut||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Wv=t=>{let e;for(const n in t)(n==="class"||n==="style"||go(n))&&((e||(e={}))[n]=t[n]);return e},qv=(t,e)=>{const n={};for(const i in t)(!Qa(i)||!(i.slice(9)in e))&&(n[i]=t[i]);return n};function Gv(t,e,n){const{props:i,children:s,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?sf(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(wg(o,i,f)&&!fl(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:i===o?!1:i?o?sf(i,o,c):!0:!!o;return!1}function sf(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(wg(e,t,r)&&!fl(n,r))return!0}return!1}function wg(t,e,n){const i=t[n],s=e[n];return n==="style"&&Le(i)&&Le(s)?!Mi(i,s):i!==s}function hl({vnode:t,parent:e,suspense:n},i){for(;e;){const s=e.subTree;if(s.suspense&&s.suspense.activeBranch===t&&(s.suspense.vnode.el=s.el=i,t=s),s===t)(t=e.vnode).el=i,e=e.parent;else break}n&&n.activeBranch===t&&(n.vnode.el=i)}const xg={},kg=()=>Object.create(xg),Sg=t=>Object.getPrototypeOf(t)===xg;function Kv(t,e,n,i=!1){const s={},r=kg();t.propsDefaults=Object.create(null),Tg(t,e,s,r);for(const o in t.propsOptions[0])o in s||(s[o]=void 0);n?t.props=i?s:Rn(s):t.type.props?t.props=s:t.props=r,t.attrs=r}function Yv(t,e,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=t,a=Me(s),[l]=t.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(fl(t.emitsOptions,f))continue;const h=e[f];if(l)if($e(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const m=At(f);s[m]=$c(l,a,m,h,t,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{Tg(t,e,s,r)&&(c=!0);let u;for(const d in a)(!e||!$e(e,d)&&((u=ui(d))===d||!$e(e,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(s[d]=$c(l,a,d,void 0,t,!0)):delete s[d]);if(r!==a)for(const d in r)(!e||!$e(e,d))&&(delete r[d],c=!0)}c&&ei(t.attrs,"set","")}function Tg(t,e,n,i){const[s,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(ts(l))continue;const c=e[l];let u;s&&$e(s,u=At(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:fl(t.emitsOptions,l)||(!(l in i)||c!==i[l])&&(i[l]=c,o=!0)}if(r){const l=Me(n),c=a||De;for(let u=0;u<r.length;u++){const d=r[u];n[d]=$c(s,l,d,c[d],t,!$e(c,d))}}return o}function $c(t,e,n,i,s,r){const o=t[n];if(o!=null){const a=$e(o,"default");if(a&&i===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&ge(l)){const{propsDefaults:c}=s;if(n in c)i=c[n];else{const u=cr(s);i=c[n]=l.call(null,e),u()}}else i=l;s.ce&&s.ce._setProp(n,i)}o[0]&&(r&&!a?i=!1:o[1]&&(i===""||i===ui(n))&&(i=!0))}return i}const Zv=new WeakMap;function Ag(t,e,n=!1){const i=n?Zv:e.propsCache,s=i.get(t);if(s)return s;const r=t.props,o={},a=[];let l=!1;if(!ge(t)){const u=d=>{l=!0;const[f,h]=Ag(d,e,!0);ot(o,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Le(t)&&i.set(t,Rs),Rs;
vendor: 4,212 bytes, line 4
4if(oe(r))for(let u=0;u<r.length;u++){const d=At(r[u]);rf(d)&&(o[d]=De)}else if(r)for(const u in r){const d=At(u);if(rf(d)){const f=r[u],h=o[d]=oe(f)||ge(f)?{type:f}:ot({},f),m=h.type;let p=!1,b=!0;if(oe(m))for(let _=0;_<m.length;++_){const v=m[_],g=ge(v)&&v.name;if(g==="Boolean"){p=!0;break}else g==="String"&&(b=!1)}else p=ge(m)&&m.name==="Boolean";h[0]=p,h[1]=b,(p||$e(h,"default"))&&a.push(d)}}const c=[o,a];return Le(t)&&i.set(t,c),c}function rf(t){return t[0]!=="$"&&!ts(t)}const Yu=t=>t==="_"||t==="_ctx"||t==="$stable",Zu=t=>oe(t)?t.map(Zt):[Zt(t)],Xv=(t,e,n)=>{if(e._n)return e;const i=me((...s)=>Zu(e(...s)),n);return i._c=!1,i},Cg=(t,e,n)=>{const i=t._ctx;for(const s in t){if(Yu(s))continue;const r=t[s];if(ge(r))e[s]=Xv(s,r,i);else if(r!=null){const o=Zu(r);e[s]=()=>o}}},Eg=(t,e)=>{const n=Zu(e);t.slots.default=()=>n},Mg=(t,e,n)=>{for(const i in e)(n||!Yu(i))&&(t[i]=e[i])},Jv=(t,e,n)=>{const i=t.slots=kg();if(t.vnode.shapeFlag&32){const s=e._;s?(Mg(i,e,n),n&&Am(i,"_",s,!0)):Cg(e,i)}else e&&Eg(t,e)},Qv=(t,e,n)=>{const{vnode:i,slots:s}=t;let r=!0,o=De;if(i.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:Mg(s,e,n):(r=!e.$stable,Cg(e,s)),o=e}else e&&(Eg(t,e),o={default:1});if(r)for(const a in s)!Yu(a)&&o[a]==null&&delete s[a]},st=Ng;function e1(t){return Pg(t)}function t1(t){return Pg(t,vv)}function Pg(t,e){const n=rl();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Nn,insertStaticContent:m}=t,p=(k,S,I,H=null,N=null,B=null,Y=void 0,G=null,W=!!S.dynamicChildren)=>{if(k===S)return;k&&!mn(k,S)&&(H=$(k),tt(k,N,B,!0),k=null),S.patchFlag===-2&&(W=!1,S.dynamicChildren=null);const{type:V,ref:fe,shapeFlag:Q}=S;switch(V){case os:b(k,S,I,H);break;case ut:_(k,S,I,H);break;case Lr:k==null&&v(S,I,H,Y);break;case Ve:L(k,S,I,H,N,B,Y,G,W);break;default:Q&1?y(k,S,I,H,N,B,Y,G,W):Q&6?K(k,S,I,H,N,B,Y,G,W):(Q&64||Q&128)&&V.process(k,S,I,H,N,B,Y,G,W,ce)}fe!=null&&N?$s(fe,k&&k.ref,B,S||k,!S):fe==null&&k&&k.ref!=null&&$s(k.ref,null,B,k,!0)},b=(k,S,I,H)=>{if(k==null)i(S.el=a(S.children),I,H);else{const N=S.el=k.el;S.children!==k.children&&c(N,S.children)}},_=(k,S,I,H)=>{k==null?i(S.el=l(S.children||""),I,H):S.el=k.el},v=(k,S,I,H)=>{[k.el,k.anchor]=m(k.children,S,I,H,k.el,k.anchor)},g=({el:k,anchor:S},I,H)=>{let N;for(;k&&k!==S;)N=f(k),i(k,I,H),k=N;i(S,I,H)},w=({el:k,anchor:S})=>{let I;for(;k&&k!==S;)I=f(k),s(k),k=I;s(S)},y=(k,S,I,H,N,B,Y,G,W)=>{if(S.type==="svg"?Y="svg":S.type==="math"&&(Y="mathml"),k==null)T(S,I,H,N,B,Y,G,W);else{const V=k.el&&k.el._isVueCE?k.el:null;try{V&&V._beginPatch(),E(k,S,N,B,Y,G,W)}finally{V&&V._endPatch()}}},T=(k,S,I,H,N,B,Y,G)=>{let W,V;const{props:fe,shapeFlag:Q,transition:ae,dirs:be}=k;if(W=k.el=o(k.type,B,fe&&fe.is,fe),Q&8?u(W,k.children):Q&16&&M(k.children,W,null,H,N,Vl(k,B),Y,G),be&&Mn(k,null,H,"created"),A(W,k,k.scopeId,Y,H),fe){for(const ze in fe)ze!=="value"&&!ts(ze)&&r(W,ze,null,fe[ze],B,H);"value"in fe&&r(W,"value",null,fe.value,B),(V=fe.onVnodeBeforeMount)&&Ht(V,H,k)}be&&Mn(k,null,H,"beforeMount");const Ie=Ig(N,ae);Ie&&ae.beforeEnter(W),i(W,S,I),((V=fe&&fe.onVnodeMounted)||Ie||be)&&st(()=>{V&&Ht(V,H,k),Ie&&ae.enter(W),be&&Mn(k,null,H,"mounted")},N)},A=(k,S,I,H,N)=>{if(I&&h(k,I),H)for(let B=0;B<H.length;B++)h(k,H[B]);if(N){let B=N.subTree;if(S===B||ka(B.type)&&(B.ssContent===S||B.ssFallback===S)){const Y=N.vnode;A(k,Y,Y.scopeId,Y.slotScopeIds,N.parent)}}},M=(k,S,I,H,N,B,Y,G,W=0)=>{for(let V=W;V<k.length;V++){const fe=k[V]=G?Jn(k[V]):Zt(k[V]);p(null,fe,S,I,H,N,B,Y,G)}},E=(k,S,I,H,N,B,Y)=>{const G=S.el=k.el;let{patchFlag:W,dynamicChildren:V,dirs:fe}=S;W|=k.patchFlag&16;const Q=k.props||De,ae=S.props||De;let be;if(I&&Fi(I,!1),(be=ae.onVnodeBeforeUpdate)&&Ht(be,I,S,k),fe&&Mn(S,k,I,"beforeUpdate"),I&&Fi(I,!0),(Q.innerHTML&&ae.innerHTML==null||Q.textContent&&ae.textContent==null)&&u(G,""),V?R(k.dynamicChildren,V,G,I,H,Vl(S,N),B):Y||J(k,S,G,null,I,H,Vl(S,N),B,!1),W>0){if(W&16)j(G,Q,ae,I,N);else if(W&2&&Q.class!==ae.class&&r(G,"class",null,ae.class,N),W&4&&r(G,"style",Q.style,ae.style,N),W&8){const Ie=S.dynamicProps;for(let ze=0;ze<Ie.length;ze++){const Ue=Ie[ze],lt=Q[Ue],ft=ae[Ue];(ft!==lt||Ue==="value")&&r(G,Ue,lt,ft,N,I)}}
vendor: 1,774 bytes, line 4
4W&1&&k.children!==S.children&&u(G,S.children)}else!Y&&V==null&&j(G,Q,ae,I,N);((be=ae.onVnodeUpdated)||fe)&&st(()=>{be&&Ht(be,I,S,k),fe&&Mn(S,k,I,"updated")},H)},R=(k,S,I,H,N,B,Y)=>{for(let G=0;G<S.length;G++){const W=k[G],V=S[G],fe=W.el&&(W.type===Ve||!mn(W,V)||W.shapeFlag&198)?d(W.el):I;p(W,V,fe,null,H,N,B,Y,!0)}},j=(k,S,I,H,N)=>{if(S!==I){if(S!==De)for(const B in S)!ts(B)&&!(B in I)&&r(k,B,S[B],null,N,H);for(const B in I){if(ts(B))continue;const Y=I[B],G=S[B];Y!==G&&B!=="value"&&r(k,B,G,Y,N,H)}"value"in I&&r(k,"value",S.value,I.value,N)}},L=(k,S,I,H,N,B,Y,G,W)=>{const V=S.el=k?k.el:a(""),fe=S.anchor=k?k.anchor:a("");let{patchFlag:Q,dynamicChildren:ae,slotScopeIds:be}=S;be&&(G=G?G.concat(be):be),k==null?(i(V,I,H),i(fe,I,H),M(S.children||[],I,fe,N,B,Y,G,W)):Q>0&&Q&64&&ae&&k.dynamicChildren&&k.dynamicChildren.length===ae.length?(R(k.dynamicChildren,ae,I,N,B,Y,G),(S.key!=null||N&&S===N.subTree)&&Xu(k,S,!0)):J(k,S,I,fe,N,B,Y,G,W)},K=(k,S,I,H,N,B,Y,G,W)=>{S.slotScopeIds=G,k==null?S.shapeFlag&512?N.ctx.activate(S,I,H,Y,W):ve(S,I,H,N,B,Y,W):de(k,S,W)},ve=(k,S,I,H,N,B,Y)=>{const G=k.component=h1(k,H,N);if(yo(k)&&(G.ctx.renderer=ce),p1(G,!1,Y),G.asyncDep){if(N&&N.registerDep(G,q,Y),!k.el){const W=G.subTree=z(ut);_(null,W,S,I),k.placeholder=W.el}}else q(G,k,S,I,N,B,Y)},de=(k,S,I)=>{const H=S.component=k.component;if(Gv(k,S,I))if(H.asyncDep&&!H.asyncResolved){re(H,S,I);return}else H.next=S,H.update();else S.el=k.el,H.vnode=S},q=(k,S,I,H,N,B,Y)=>{const G=()=>{if(k.isMounted){let{next:Q,bu:ae,u:be,parent:Ie,vnode:ze}=k;{const Gt=Og(k);if(Gt){Q&&(Q.el=ze.el,re(k,Q,Y)),Gt.asyncDep.then(()=>{st(()=>{k.isUnmounted||V()},N)});return}}let Ue=Q,lt;Fi(k,!1),Q?(Q.el=ze.el,re(k,Q,Y)):Q=ze,ae&&Ls(ae),(lt=Q.props&&Q.props.onVnodeBeforeUpdate)&&Ht(lt,Ie,Q,ze),Fi(k,!0);
vendor: 4,494 bytes, line 4
4const ft=Bl(k),fn=k.subTree;k.subTree=ft,p(fn,ft,d(fn.el),$(fn),k,N,B),Q.el=ft.el,Ue===null&&hl(k,ft.el),be&&st(be,N),(lt=Q.props&&Q.props.onVnodeUpdated)&&st(()=>Ht(lt,Ie,Q,ze),N)}else{let Q;const{el:ae,props:be}=S,{bm:Ie,m:ze,parent:Ue,root:lt,type:ft}=k,fn=si(S);if(Fi(k,!1),Ie&&Ls(Ie),!fn&&(Q=be&&be.onVnodeBeforeMount)&&Ht(Q,Ue,S),Fi(k,!0),ae&&Ze){const Gt=()=>{k.subTree=Bl(k),Ze(ae,k.subTree,k,N,null)};fn&&ft.__asyncHydrate?ft.__asyncHydrate(ae,k,Gt):Gt()}else{lt.ce&<.ce._hasShadowRoot()&<.ce._injectChildStyle(ft,k.parent?k.parent.type:void 0);const Gt=k.subTree=Bl(k);p(null,Gt,I,H,k,N,B),S.el=Gt.el}if(ze&&st(ze,N),!fn&&(Q=be&&be.onVnodeMounted)){const Gt=S;st(()=>Ht(Q,Ue,Gt),N)}(S.shapeFlag&256||Ue&&si(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&k.a&&st(k.a,N),k.isMounted=!0,S=I=H=null}};k.scope.on();const W=k.effect=new Om(G);k.scope.off();const V=k.update=W.run.bind(W),fe=k.job=W.runIfDirty.bind(W);fe.i=k,fe.id=k.uid,W.scheduler=()=>ju(fe),Fi(k,!0),V()},re=(k,S,I)=>{S.component=k;const H=k.vnode.props;k.vnode=S,k.next=null,Yv(k,S.props,H,I),Qv(k,S.children,I),oi(),zd(k),ai()},J=(k,S,I,H,N,B,Y,G,W=!1)=>{const V=k&&k.children,fe=k?k.shapeFlag:0,Q=S.children,{patchFlag:ae,shapeFlag:be}=S;if(ae>0){if(ae&128){Mt(V,Q,I,H,N,B,Y,G,W);return}else if(ae&256){Re(V,Q,I,H,N,B,Y,G,W);return}}be&8?(fe&16&&at(V,N,B),Q!==V&&u(I,Q)):fe&16?be&16?Mt(V,Q,I,H,N,B,Y,G,W):at(V,N,B,!0):(fe&8&&u(I,""),be&16&&M(Q,I,H,N,B,Y,G,W))},Re=(k,S,I,H,N,B,Y,G,W)=>{k=k||Rs,S=S||Rs;const V=k.length,fe=S.length,Q=Math.min(V,fe);let ae;for(ae=0;ae<Q;ae++){const be=S[ae]=W?Jn(S[ae]):Zt(S[ae]);p(k[ae],be,I,null,N,B,Y,G,W)}V>fe?at(k,N,B,!0,!1,Q):M(S,I,H,N,B,Y,G,W,Q)},Mt=(k,S,I,H,N,B,Y,G,W)=>{let V=0;const fe=S.length;let Q=k.length-1,ae=fe-1;for(;V<=Q&&V<=ae;){const be=k[V],Ie=S[V]=W?Jn(S[V]):Zt(S[V]);if(mn(be,Ie))p(be,Ie,I,null,N,B,Y,G,W);else break;V++}for(;V<=Q&&V<=ae;){const be=k[Q],Ie=S[ae]=W?Jn(S[ae]):Zt(S[ae]);if(mn(be,Ie))p(be,Ie,I,null,N,B,Y,G,W);else break;Q--,ae--}if(V>Q){if(V<=ae){const be=ae+1,Ie=be<fe?S[be].el:H;for(;V<=ae;)p(null,S[V]=W?Jn(S[V]):Zt(S[V]),I,Ie,N,B,Y,G,W),V++}}else if(V>ae)for(;V<=Q;)tt(k[V],N,B,!0),V++;else{const be=V,Ie=V,ze=new Map;for(V=Ie;V<=ae;V++){const Kt=S[V]=W?Jn(S[V]):Zt(S[V]);Kt.key!=null&&ze.set(Kt.key,V)}let Ue,lt=0;const ft=ae-Ie+1;let fn=!1,Gt=0;const dr=new Array(ft);for(V=0;V<ft;V++)dr[V]=0;for(V=be;V<=Q;V++){const Kt=k[V];if(lt>=ft){tt(Kt,N,B,!0);continue}let kn;if(Kt.key!=null)kn=ze.get(Kt.key);else for(Ue=Ie;Ue<=ae;Ue++)if(dr[Ue-Ie]===0&&mn(Kt,S[Ue])){kn=Ue;break}kn===void 0?tt(Kt,N,B,!0):(dr[kn-Ie]=V+1,kn>=Gt?Gt=kn:fn=!0,p(Kt,S[kn],I,null,N,B,Y,G,W),lt++)}const Nd=fn?n1(dr):Rs;for(Ue=Nd.length-1,V=ft-1;V>=0;V--){const Kt=Ie+V,kn=S[Kt],$d=S[Kt+1],Fd=Kt+1<fe?$d.el||Rg($d):H;dr[V]===0?p(null,kn,I,Fd,N,B,Y,G,W):fn&&(Ue<0||V!==Nd[Ue]?Pt(kn,I,Fd,2):Ue--)}}},Pt=(k,S,I,H,N=null)=>{const{el:B,type:Y,transition:G,children:W,shapeFlag:V}=k;if(V&6){Pt(k.component.subTree,S,I,H);return}if(V&128){k.suspense.move(S,I,H);return}if(V&64){Y.move(k,S,I,ce);return}if(Y===Ve){i(B,S,I);for(let Q=0;Q<W.length;Q++)Pt(W[Q],S,I,H);i(k.anchor,S,I);return}if(Y===Lr){g(k,S,I);return}if(H!==2&&V&1&&G)if(H===0)G.beforeEnter(B),i(B,S,I),st(()=>G.enter(B),N);else{const{leave:Q,delayLeave:ae,afterLeave:be}=G,Ie=()=>{k.ctx.isUnmounted?s(B):i(B,S,I)},ze=()=>{B._isLeaving&&B[Pn](!0),Q(B,()=>{Ie(),be&&be()})};ae?ae(B,Ie,ze):ze()}else i(B,S,I)},tt=(k,S,I,H=!1,N=!1)=>{const{type:B,props:Y,ref:G,children:W,dynamicChildren:V,shapeFlag:fe,patchFlag:Q,dirs:ae,cacheIndex:be,memo:Ie}=k;if(Q===-2&&(N=!1),G!=null&&(oi(),$s(G,null,I,k,!0),ai()),be!=null&&(S.renderCache[be]=void 0),fe&256){S.ctx.deactivate(k);return}const ze=fe&1&&ae,Ue=!si(k);let lt;if(Ue&&(lt=Y&&Y.onVnodeBeforeUnmount)&&Ht(lt,S,k),fe&6)qt(k.component,I,H);else{if(fe&128){k.suspense.unmount(I,H);return}ze&&Mn(k,null,S,"beforeUnmount"),fe&64?k.type.remove(k,S,I,ce,H):V&&!V.hasOnce&&(B!==Ve||Q>0&&Q&64)?at(V,S,I,!1,!0):(B===Ve&&Q&384||!N&&fe&16)&&at(W,S,I),H&&sn(k)}const ft=Ie!=null&&be==null;(Ue&&(lt=Y&&Y.onVnodeUnmounted)||ze||ft)&&st(()=>{lt&&Ht(lt,S,k),ze&&Mn(k,null,S,"unmounted"),ft&&(k.el=null)},I)},sn=k=>{const{type:S,el:I,anchor:H,transition:N}=k;if(S===Ve){$t(I,H);return}if(S===Lr){w(k);return}const B=()=>{s(I),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(k.shapeFlag&1&&N&&!N.persisted){const{leave:Y,delayLeave:G}=N,W=()=>Y(I,B);G?G(k.el,B,W):W()}else B()},$t=(k,S)=>{let I;for(;k!==S;)I=f(k),s(k),k=I;s(S)},qt=(k,S,I)=>{const{bum:H,scope:N,job:B,subTree:Y,um:G,m:W,a:V}=k;
vendor: 11,148 bytes, line 4
4xa(W),xa(V),H&&Ls(H),N.stop(),B&&(B.flags|=8,tt(Y,k,S,I)),G&&st(G,S),st(()=>{k.isUnmounted=!0},S)},at=(k,S,I,H=!1,N=!1,B=0)=>{for(let Y=B;Y<k.length;Y++)tt(k[Y],S,I,H,N)},$=k=>{if(k.shapeFlag&6)return $(k.component.subTree);if(k.shapeFlag&128)return k.suspense.next();const S=f(k.anchor||k.el),I=S&&S[ng];return I?f(I):S};let ie=!1;const X=(k,S,I)=>{let H;k==null?S._vnode&&(tt(S._vnode,null,null,!0),H=S._vnode.component):p(S._vnode||null,k,S,null,null,null,I),S._vnode=k,ie||(ie=!0,zd(H),_a(),ie=!1)},ce={p,um:tt,m:Pt,r:sn,mt:ve,mc:M,pc:J,pbc:R,n:$,o:t};let Se,Ze;return e&&([Se,Ze]=e(ce)),{render:X,hydrate:Se,createApp:Bv(X,Se)}}function Vl({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Fi({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Ig(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Xu(t,e,n=!1){const i=t.children,s=e.children;if(oe(i)&&oe(s))for(let r=0;r<i.length;r++){const o=i[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=Jn(s[r]),a.el=o.el),!n&&a.patchFlag!==-2&&Xu(o,a)),a.type===os&&(a.patchFlag===-1&&(a=s[r]=Jn(a)),a.el=o.el),a.type===ut&&!a.el&&(a.el=o.el)}}function n1(t){const e=t.slice(),n=[0];let i,s,r,o,a;const l=t.length;for(i=0;i<l;i++){const c=t[i];if(c!==0){if(s=n[n.length-1],t[s]<c){e[i]=s,n.push(i);continue}for(r=0,o=n.length-1;r<o;)a=r+o>>1,t[n[a]]<c?r=a+1:o=a;c<t[n[r]]&&(r>0&&(e[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}function Og(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Og(e)}function xa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Rg(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Rg(e.subTree):null}const ka=t=>t.__isSuspense;let Fc=0;const i1={name:"Suspense",__isSuspense:!0,process(t,e,n,i,s,r,o,a,l,c){if(t==null)s1(e,n,i,s,r,o,a,l,c);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}r1(t,e,n,i,s,o,a,l,c)}},hydrate:o1,normalize:a1},Dg=i1;function eo(t,e){const n=t.props&&t.props[e];ge(n)&&n()}function s1(t,e,n,i,s,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=Lg(t,s,i,e,d,n,r,o,a,l);c(null,f.pendingBranch=t.ssContent,d,null,i,f,r,o),f.deps>0?(eo(t,"onPending"),eo(t,"onFallback"),c(null,t.ssFallback,e,n,i,null,r,o),Fs(f,t.ssFallback)):f.resolve(!1,!0)}function r1(t,e,n,i,s,r,o,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,h=e.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:b,isHydrating:_}=d;if(p)d.pendingBranch=f,mn(p,f)?(l(p,f,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0?d.resolve():b&&(_||(l(m,h,n,i,s,null,r,o,a),Fs(d,h)))):(d.pendingId=Fc++,_?(d.isHydrating=!1,d.activeBranch=p):c(p,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,f,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0?d.resolve():(l(m,h,n,i,s,null,r,o,a),Fs(d,h))):m&&mn(m,f)?(l(m,f,n,i,s,d,r,o,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0&&d.resolve()));else if(m&&mn(m,f))l(m,f,n,i,s,d,r,o,a),Fs(d,f);else if(eo(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Fc++,l(null,f,d.hiddenContainer,null,s,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:g}=d;v>0?setTimeout(()=>{d.pendingId===g&&d.fallback(h)},v):v===0&&d.fallback(h)}}function Lg(t,e,n,i,s,r,o,a,l,c,u=!1){const{p:d,m:f,um:h,n:m,o:{parentNode:p,remove:b}}=c;let _;const v=l1(t);v&&e&&e.pendingBranch&&(_=e.pendingId,e.deps++);const g=t.props?Cm(t.props.timeout):void 0,w=r,y={vnode:t,parent:e,parentComponent:n,namespace:o,container:i,hiddenContainer:s,deps:0,pendingId:Fc++,timeout:typeof g=="number"?g:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(T=!1,A=!1){const{vnode:M,activeBranch:E,pendingBranch:R,pendingId:j,effects:L,parentComponent:K,container:ve,isInFallback:de}=y;let q=!1;y.isHydrating?y.isHydrating=!1:T||(q=E&&R.transition&&R.transition.mode==="out-in",q&&(E.transition.afterLeave=()=>{j===y.pendingId&&(f(R,ve,r===w?m(E):r,0),Xr(L),de&&M.ssFallback&&(M.ssFallback.el=null))}),E&&!y.isFallbackMountPending&&(p(E.el)===ve&&(r=m(E)),h(E,K,y,!0),!q&&de&&M.ssFallback&&st(()=>M.ssFallback.el=null,y)),q||f(R,ve,r,0)),y.isFallbackMountPending=!1,Fs(y,R),y.pendingBranch=null,y.isInFallback=!1;let re=y.parent,J=!1;for(;re;){if(re.pendingBranch){re.effects.push(...L),J=!0;break}re=re.parent}!J&&!q&&Xr(L),y.effects=[],v&&e&&e.pendingBranch&&_===e.pendingId&&(e.deps--,e.deps===0&&!A&&e.resolve()),eo(M,"onResolve")},fallback(T){if(!y.pendingBranch)return;const{vnode:A,activeBranch:M,parentComponent:E,container:R,namespace:j}=y;eo(A,"onFallback");const L=m(M),K=()=>{y.isFallbackMountPending=!1,y.isInFallback&&(d(null,T,R,L,E,null,j,a,l),Fs(y,T))},ve=T.transition&&T.transition.mode==="out-in";ve&&(y.isFallbackMountPending=!0,M.transition.afterLeave=K),y.isInFallback=!0,h(M,E,null,!0),ve||K()},move(T,A,M){y.activeBranch&&f(y.activeBranch,T,A,M),y.container=T},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(T,A,M){const E=!!y.pendingBranch;E&&y.deps++;const R=T.vnode.el;T.asyncDep.catch(j=>{ar(j,T,0)}).then(j=>{if(T.isUnmounted||y.isUnmounted||y.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:L}=T;Hc(T,j),R&&(L.el=R);const K=!R&&T.subTree.el;A(T,L,p(R||T.subTree.el),R?null:m(T.subTree),y,o,M),K&&(L.placeholder=null,b(K)),hl(T,L.el),E&&--y.deps===0&&y.resolve()})},unmount(T,A){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,T,A),y.pendingBranch&&h(y.pendingBranch,n,T,A)}};return y}function o1(t,e,n,i,s,r,o,a,l){const c=e.suspense=Lg(e,i,n,t.parentNode,document.createElement("div"),null,s,r,o,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function a1(t){const{shapeFlag:e,children:n}=t,i=e&32;t.ssContent=of(i?n.default:n),t.ssFallback=i?of(n.fallback):z(ut)}function of(t){let e;if(ge(t)){const n=Us&&t._c;n&&(t._d=!1,U()),t=t(),n&&(t._d=!0,e=zt,$g())}return oe(t)&&(t=Uv(t)),t=Zt(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Ng(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):Xr(t)}function Fs(t,e){t.activeBranch=e;const{vnode:n,parentComponent:i}=t;let s=e.el;for(;!s&&e.component;)e=e.component.subTree,s=e.el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,hl(i,s))}function l1(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Ve=Symbol.for("v-fgt"),os=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Lr=Symbol.for("v-stc"),Nr=[];let zt=null;function U(t=!1){Nr.push(zt=t?null:[])}function $g(){Nr.pop(),zt=Nr[Nr.length-1]||null}let Us=1;function Sa(t,e=!1){Us+=t,t<0&&zt&&e&&(zt.hasOnce=!0)}function Fg(t){return t.dynamicChildren=Us>0?zt||Rs:null,$g(),Us>0&&zt&&zt.push(t),t}function ne(t,e,n,i,s,r){return Fg(D(t,e,n,i,s,r,!0))}function _t(t,e,n,i,s){return Fg(z(t,e,n,i,s,!0))}function cs(t){return t?t.__v_isVNode===!0:!1}function mn(t,e){return t.type===e.type&&t.key===e.key}const Hg=({key:t})=>t??null,la=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ye(t)||Je(t)||ge(t)?{i:bt,r:t,k:e,f:!!n}:t:null);function D(t,e=null,n=null,i=0,s=null,r=t===Ve?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Hg(e),ref:e&&la(e),scopeId:Qm,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:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:bt};return a?(Ju(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ye(n)?8:16),Us>0&&!o&&zt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&zt.push(l),l}const z=c1;function c1(t,e=null,n=null,i=0,s=null,r=!1){if((!t||t===hg)&&(t=ut),cs(t)){const a=Qt(t,e,!0);return n&&Ju(a,n),Us>0&&!r&&zt&&(a.shapeFlag&6?zt[zt.indexOf(t)]=a:zt.push(a)),a.patchFlag=-2,a}if(_1(t)&&(t=t.__vccOpts),e){e=u1(e);let{class:a,style:l}=e;a&&!Ye(a)&&(e.class=et(a)),Le(l)&&(ll(l)&&!oe(l)&&(l=ot({},l)),e.style=ls(l))}const o=Ye(t)?1:ka(t)?128:ig(t)?64:Le(t)?4:ge(t)?2:0;return D(t,e,n,i,s,o,r,!0)}function u1(t){return t?ll(t)||Sg(t)?ot({},t):t:null}function Qt(t,e,n=!1,i=!1){const{props:s,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?jg(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Hg(c),ref:e&&e.ref?n&&r?oe(r)?r.concat(la(e)):[r,la(e)]:la(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ve?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Qt(t.ssContent),ssFallback:t.ssFallback&&Qt(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&i&&Pi(u,l.clone(u)),u}function le(t=" ",e=0){return z(os,null,t,e)}function pl(t,e){const n=z(Lr,null,t);return n.staticCount=e,n}function Be(t="",e=!1){return e?(U(),_t(ut,null,t)):z(ut,null,t)}function Zt(t){return t==null||typeof t=="boolean"?z(ut):oe(t)?z(Ve,null,t.slice()):cs(t)?Jn(t):z(os,null,String(t))}function Jn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qt(t)}function Ju(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(oe(e))n=16;else if(typeof e=="object")if(i&65){const s=e.default;s&&(s._c&&(s._d=!1),Ju(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!Sg(e)?e._ctx=bt:s===3&&bt&&(bt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ge(e)?(e={default:e,_ctx:bt},n=32):(e=String(e),i&64?(n=16,e=[le(e)]):n=8);t.children=e,t.shapeFlag|=n}function jg(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const s in i)if(s==="class")e.class!==i.class&&(e.class=et([e.class,i.class]));else if(s==="style")e.style=ls([e.style,i.style]);else if(go(s)){const r=e[s],o=i[s];o&&r!==o&&!(oe(r)&&r.includes(o))?e[s]=r?[].concat(r,o):o:o==null&&r==null&&!Qa(s)&&(e[s]=o)}else s!==""&&(e[s]=i[s])}return e}function Ht(t,e,n,i=null){vn(t,e,7,[n,i])}const d1=yg();let f1=0;function h1(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||d1,r={uid:f1++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Im(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ag(i,s),emitsOptions:vg(i,s),emit:null,emitted:null,propsDefaults:De,inheritAttrs:i.inheritAttrs,ctx:De,data:De,props:De,attrs:De,slots:De,refs:De,setupState:De,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,
vendor: 10,922 bytes, line 4
4sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Vv.bind(null,r),t.ce&&t.ce(r),r}let yt=null;const Lt=()=>yt||bt;let Ta,Hs;{const t=rl(),e=(n,i)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(i),r=>{s.length>1?s.forEach(o=>o(r)):s[0](r)}};Ta=e("__VUE_INSTANCE_SETTERS__",n=>yt=n),Hs=e("__VUE_SSR_SETTERS__",n=>us=n)}const cr=t=>{const e=yt;return Ta(t),t.scope.on(),()=>{t.scope.off(),Ta(e)}},Aa=()=>{yt&&yt.scope.off(),Ta(null)};function Bg(t){return t.vnode.shapeFlag&4}let us=!1;function p1(t,e=!1,n=!1){e&&Hs(e);const{props:i,children:s}=t.vnode,r=Bg(t);Kv(t,i,r,e),Jv(t,s,n||e);const o=r?m1(t,e):void 0;return e&&Hs(!1),o}function m1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Rv);const{setup:i}=n;if(i){oi();const s=t.setupContext=i.length>1?zg(t):null,r=cr(t),o=_o(i,t,0,[t.props,s]),a=el(o);if(ai(),r(),(a||t.sp)&&!si(t)&&Vu(t),a){if(o.then(Aa,Aa),e)return o.then(l=>{Hc(t,l)}).catch(l=>{ar(l,t,0)});t.asyncDep=o}else Hc(t,o)}else Vg(t)}function Hc(t,e,n){ge(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Le(e)&&(t.setupState=Gm(e)),Vg(t)}function Vg(t,e,n){const i=t.type;t.render||(t.render=i.render||Nn);{const s=cr(t);oi();try{Lv(t)}finally{ai(),s()}}}const g1={get(t,e){return St(t,"get",""),t[e]}};function zg(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,g1),slots:t.slots,emit:t.emit,expose:e}}function ml(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Gm(Ic(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Dr)return Dr[n](t)},has(e,n){return n in e||n in Dr}})):t.proxy}function jc(t,e=!0){return ge(t)?t.displayName||t.name:t.name||e&&t.__name}function _1(t){return ge(t)&&"__vccOpts"in t}const ue=(t,e)=>sv(t,e,us);function pt(t,e,n){try{Sa(-1);const i=arguments.length;return i===2?Le(e)&&!oe(e)?cs(e)?z(t,null,[e]):z(t,e):z(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&cs(n)&&(n=[n]),z(t,e,n))}finally{Sa(1)}}const y1="3.5.31";let Bc;const af=typeof window<"u"&&window.trustedTypes;if(af)try{Bc=af.createPolicy("vue",{createHTML:t=>t})}catch{}const Ug=Bc?t=>Bc.createHTML(t):t=>t,b1="http://www.w3.org/2000/svg",v1="http://www.w3.org/1998/Math/MathML",Zn=typeof document<"u"?document:null,lf=Zn&&Zn.createElement("template"),w1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const s=e==="svg"?Zn.createElementNS(b1,t):e==="mathml"?Zn.createElementNS(v1,t):n?Zn.createElement(t,{is:n}):Zn.createElement(t);return t==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:t=>Zn.createTextNode(t),createComment:t=>Zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Zn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,s,r){const o=n?n.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{lf.innerHTML=Ug(i==="svg"?`<svg>${t}</svg>`:i==="mathml"?`<math>${t}</math>`:t);const a=lf.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},hi="transition",pr="animation",Ws=Symbol("_vtc"),Wg={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},qg=ot({},og,Wg),x1=t=>(t.displayName="Transition",t.props=qg,t),k1=x1((t,{slots:e})=>pt(_v,Gg(t),e)),Hi=(t,e=[])=>{oe(t)?t.forEach(n=>n(...e)):t&&t(...e)},cf=t=>t?oe(t)?t.some(e=>e.length>1):t.length>1:!1;function Gg(t){const e={};for(const L in t)L in Wg||(e[L]=t[L]);if(t.css===!1)return e;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,m=S1(s),p=m&&m[0],b=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:g,onLeave:w,onLeaveCancelled:y,onBeforeAppear:T=_,onAppear:A=v,onAppearCancelled:M=g}=e,E=(L,K,ve,de)=>{L._enterCancelled=de,gi(L,K?u:a),gi(L,K?c:o),ve&&ve()},R=(L,K)=>{L._isLeaving=!1,gi(L,d),gi(L,h),gi(L,f),K&&K()},j=L=>(K,ve)=>{const de=L?A:v,q=()=>E(K,L,ve);Hi(de,[K,q]),uf(()=>{gi(K,L?l:r),Tn(K,L?u:a),cf(de)||df(K,i,p,q)})};return ot(e,{onBeforeEnter(L){Hi(_,[L]),Tn(L,r),Tn(L,o)},onBeforeAppear(L){Hi(T,[L]),Tn(L,l),Tn(L,c)},onEnter:j(!1),onAppear:j(!0),onLeave(L,K){L._isLeaving=!0;const ve=()=>R(L,K);Tn(L,d),L._enterCancelled?(Tn(L,f),Vc(L)):(Vc(L),Tn(L,f)),uf(()=>{L._isLeaving&&(gi(L,d),Tn(L,h),cf(w)||df(L,i,b,ve))}),Hi(w,[L,ve])},onEnterCancelled(L){E(L,!1,void 0,!0),Hi(g,[L])},onAppearCancelled(L){E(L,!0,void 0,!0),Hi(M,[L])},onLeaveCancelled(L){R(L),Hi(y,[L])}})}function S1(t){if(t==null)return null;if(Le(t))return[zl(t.enter),zl(t.leave)];{const e=zl(t);return[e,e]}}function zl(t){return Cm(t)}function Tn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Ws]||(t[Ws]=new Set)).add(e)}function gi(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const n=t[Ws];n&&(n.delete(e),n.size||(t[Ws]=void 0))}function uf(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let T1=0;function df(t,e,n,i){const s=t._endId=++T1,r=()=>{s===t._endId&&i()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=Kg(t,e);if(!o)return i();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,f),r()},f=h=>{h.target===t&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),t.addEventListener(c,f)}function Kg(t,e){const n=window.getComputedStyle(t),i=m=>(n[m]||"").split(", "),s=i(`${hi}Delay`),r=i(`${hi}Duration`),o=ff(s,r),a=i(`${pr}Delay`),l=i(`${pr}Duration`),c=ff(a,l);let u=null,d=0,f=0;e===hi?o>0&&(u=hi,d=o,f=r.length):e===pr?c>0&&(u=pr,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?hi:pr:null,f=u?u===hi?r.length:l.length:0);const h=u===hi&&/\b(?:transform|all)(?:,|$)/.test(i(`${hi}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function ff(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,i)=>hf(n)+hf(t[i])))}function hf(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Vc(t){return(t?t.ownerDocument:document).body.offsetHeight}function A1(t,e,n){const i=t[Ws];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const pf=Symbol("_vod"),C1=Symbol("_vsh"),E1=Symbol(""),M1=/(?:^|;)\s*display\s*:/;function P1(t,e,n){const i=t.style,s=Ye(n);let r=!1;if(n&&!s){if(e)if(Ye(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&ca(i,a,"")}else for(const o in e)n[o]==null&&ca(i,o,"");for(const o in n)o==="display"&&(r=!0),ca(i,o,n[o])}else if(s){if(e!==n){const o=i[E1];o&&(n+=";"+o),i.cssText=n,r=M1.test(n)}}else e&&t.removeAttribute("style");pf in t&&(t[pf]=r?i.display:"",t[C1]&&(i.display="none"))}const mf=/\s*!important$/;function ca(t,e,n){if(oe(n))n.forEach(i=>ca(t,e,i));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=I1(t,e);mf.test(n)?t.setProperty(ui(i),n.replace(mf,""),"important"):t[i]=n}}const gf=["Webkit","Moz","ms"],Ul={};function I1(t,e){const n=Ul[e];if(n)return n;let i=At(e);if(i!=="filter"&&i in t)return Ul[e]=i;i=il(i);for(let s=0;s<gf.length;s++){const r=gf[s]+i;if(r in t)return Ul[e]=r}return e}const _f="http://www.w3.org/1999/xlink";function yf(t,e,n,i,s,r=Pb(e)){i&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(_f,e.slice(6,e.length)):t.setAttributeNS(_f,e,n):n==null||r&&!Em(n)?t.removeAttribute(e):t.setAttribute(e,r?"":en(n)?String(n):n)}function bf(t,e,n,i,s){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?Ug(n):n);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Em(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(s||e)}function ni(t,e,n,i){t.addEventListener(e,n,i)}function O1(t,e,n,i){t.removeEventListener(e,n,i)}const vf=Symbol("_vei");function R1(t,e,n,i,s=null){const r=t[vf]||(t[vf]={}),o=r[e];if(i&&o)o.value=i;else{const[a,l]=D1(e);if(i){const c=r[e]=$1(i,s);ni(t,a,c,l)}else o&&(O1(t,a,o,l),r[e]=void 0)}}const wf=/(?:Once|Passive|Capture)$/;function D1(t){let e;if(wf.test(t)){e={};let i;for(;i=t.match(wf);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ui(t.slice(2)),e]}let Wl=0;const L1=Promise.resolve(),N1=()=>Wl||(L1.then(()=>Wl=0),Wl=Date.now());function $1(t,e){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;vn(F1(i,n.value),e,5,[i])};return n.value=t,n.attached=N1(),n}function F1(t,e){if(oe(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(i=>s=>!s._stopped&&i&&i(s))}else return e}const xf=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,H1=(t,e,n,i,s,r)=>{const o=s==="svg";e==="class"?A1(t,i,o):e==="style"?P1(t,n,i):go(e)?Qa(e)||R1(t,e,n,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):j1(t,e,i,o))?(bf(t,e,i),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&yf(t,e,i,o,r,e!=="value")):t._isVueCE&&(B1(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!Ye(i)))?bf(t,At(e),i,r,e):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),yf(t,e,i,o))};function j1(t,e,n,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&xf(e)&&ge(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return xf(e)&&Ye(n)?!1:e in t}function B1(t,e){const n=t._def.props;if(!n)return!1;const i=At(e);return Array.isArray(n)?n.some(s=>At(s)===i):Object.keys(n).some(s=>At(s)===i)}const Yg=new WeakMap,Zg=new WeakMap,Ca=Symbol("_moveCb"),kf=Symbol("_enterCb"),V1=t=>(delete t.props.mode,t),z1=V1({name:"TransitionGroup",props:ot({},qg,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Lt(),i=rg();let s,r;return Wu(()=>{if(!s.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!G1(s[0].el,n.vnode.el,o)){s=[];return}
4s.forEach(U1),s.forEach(W1);const a=s.filter(q1);Vc(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Tn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Ca]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[Ca]=null,gi(c,o))};c.addEventListener("transitionend",d)}),s=[]}),()=>{const o=Me(t),a=Gg(o);let l=o.tag||Ve;if(s=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(s.push(u),Pi(u,Qr(u,a,i,n)),Yg.set(u,Xg(u.el)))}r=e.default?Bu(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Pi(u,Qr(u,a,i,n))}return z(l,null,r)}}}),UR=z1;function U1(t){const e=t.el;e[Ca]&&e[Ca](),e[kf]&&e[kf]()}function W1(t){Zg.set(t,Xg(t.el))}function q1(t){const e=Yg.get(t),n=Zg.get(t),i=e.left-n.left,s=e.top-n.top;if(i||s){const r=t.el,o=r.style,a=r.getBoundingClientRect();let l=1,c=1;return r.offsetWidth&&(l=a.width/r.offsetWidth),r.offsetHeight&&(c=a.height/r.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(l-1)<.01&&(l=1),Math.abs(c-1)<.01&&(c=1),o.transform=o.webkitTransform=`translate(${i/l}px,${s/c}px)`,o.transitionDuration="0s",t}}function Xg(t){const e=t.getBoundingClientRect();return{left:e.left,top:e.top}}function G1(t,e,n){const i=t.cloneNode(),s=t[Ws];s&&s.forEach(a=>{a.split(/\s+/).forEach(l=>l&&i.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&i.classList.add(a)),i.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(i);const{hasTransform:o}=Kg(i);return r.removeChild(i),o}const Ii=t=>{const e=t.props["onUpdate:modelValue"]||!1;return oe(e)?n=>Ls(e,n):e};function K1(t){t.target.composing=!0}function Sf(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ln=Symbol("_assign");function Tf(t,e,n){return e&&(t=t.trim()),n&&(t=sl(t)),t}const Af={created(t,{modifiers:{lazy:e,trim:n,number:i}},s){t[ln]=Ii(s);const r=i||s.props&&s.props.type==="number";ni(t,e?"change":"input",o=>{o.target.composing||t[ln](Tf(t.value,n,r))}),(n||r)&&ni(t,"change",()=>{t.value=Tf(t.value,n,r)}),e||(ni(t,"compositionstart",K1),ni(t,"compositionend",Sf),ni(t,"change",Sf))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:i,trim:s,number:r}},o){if(t[ln]=Ii(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?sl(t.value):t.value,l=e??"";if(a===l)return;const c=t.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===t&&t.type!=="range"&&(i&&e===n||s&&t.value.trim()===l)||(t.value=l)}},Y1={deep:!0,created(t,e,n){t[ln]=Ii(n),ni(t,"change",()=>{const i=t._modelValue,s=qs(t),r=t.checked,o=t[ln];if(oe(i)){const a=Ru(i,s),l=a!==-1;if(r&&!l)o(i.concat(s));else if(!r&&l){const c=[...i];c.splice(a,1),o(c)}}else if(sr(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(Jg(t,r))})},mounted:Cf,beforeUpdate(t,e,n){t[ln]=Ii(n),Cf(t,e,n)}};function Cf(t,{value:e,oldValue:n},i){t._modelValue=e;let s;if(oe(e))s=Ru(e,i.props.value)>-1;else if(sr(e))s=e.has(i.props.value);else{if(e===n)return;s=Mi(e,Jg(t,!0))}t.checked!==s&&(t.checked=s)}const Z1={created(t,{value:e},n){t.checked=Mi(e,n.props.value),t[ln]=Ii(n),ni(t,"change",()=>{t[ln](qs(t))})},beforeUpdate(t,{value:e,oldValue:n},i){t[ln]=Ii(i),e!==n&&(t.checked=Mi(e,i.props.value))}},X1={deep:!0,created(t,{value:e,modifiers:{number:n}},i){const s=sr(e);ni(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?sl(qs(o)):qs(o));t[ln](t.multiple?s?new Set(r):r:r[0]),t._assigning=!0,li(()=>{t._assigning=!1})}),t[ln]=Ii(i)},mounted(t,{value:e}){Ef(t,e)},beforeUpdate(t,e,n){t[ln]=Ii(n)},updated(t,{value:e}){t._assigning||Ef(t,e)}};function Ef(t,e){const n=t.multiple,i=oe(e);if(!(n&&!i&&!sr(e))){for(let s=0,r=t.options.length;s<r;s++){const o=t.options[s],a=qs(o);if(n)if(i){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=Ru(e,a)>-1}else o.selected=e.has(a);else if(Mi(qs(o),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function qs(t){return"_value"in t?t._value:t.value}function Jg(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const WR={created(t,e,n){Ro(t,e,n,null,"created")},mounted(t,e,n){Ro(t,e,n,null,"mounted")},beforeUpdate(t,e,n,i){Ro(t,e,n,i,"beforeUpdate")},updated(t,e,n,i){Ro(t,e,n,i,"updated")}};function J1(t,e){switch(t){case"SELECT":return X1;case"TEXTAREA":return Af;default:switch(e){case"checkbox":return Y1;case"radio":return Z1;default:return Af}}}function Ro(t,e,n,i,s){const o=J1(t.tagName,n.props&&n.props.type)[s];o&&o(t,e,n,i)}const Q1=["ctrl","shift","alt","meta"],ew={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Q1.some(n=>t[`${n}Key`]&&!e.includes(n))},tw=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=((s,...r)=>{for(let o=0;o<e.length;o++){const a=ew[e[o]];if(a&&a(s,e))return}return t(s,...r)}))},nw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},qR=(t,e)=>{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=(s=>{if(!("key"in s))return;const r=ui(s.key);if(e.some(o=>o===r||nw[o]===r))return t(s)}))},Qg=ot({patchProp:H1},w1);let $r,Mf=!1;function iw(){return $r||($r=e1(Qg))}function sw(){return $r=Mf?$r:t1(Qg),Mf=!0,$r}const rw=((...t)=>{const e=iw().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=t0(i);if(!s)return;const r=e._component;!ge(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,e0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e}),ow=((...t)=>{const e=sw().createApp(...t),{mount:n}=e;return e.mount=i=>{const s=t0(i);if(s)return n(s,!0,e0(s))},e});function e0(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function t0(t){return Ye(t)?document.querySelector(t):t}const aw=/"(?:_|\\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*:/,lw=/"(?: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*:/,cw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function uw(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){dw(t);return}return e}function dw(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function fw(t,e={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const n=t.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(!cw.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(aw.test(t)||lw.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,uw)}return JSON.parse(t)}catch(i){if(e.strict)throw i;return t}}const n0=/#/g,i0=/&/g,hw=/\//g,pw=/=/g,mw=/\?/g,gl=/\+/g,gw=/%5e/gi,_w=/%60/gi,yw=/%7c/gi,bw=/%20/gi,vw=/%2f/gi,ww=/%252f/gi;function s0(t){return encodeURI(""+t).replace(yw,"|")}function zc(t){return s0(typeof t=="string"?t:JSON.stringify(t)).replace(gl,"%2B").replace(bw,"+").replace(n0,"%23").replace(i0,"%26").replace(_w,"`").replace(gw,"^").replace(hw,"%2F")}function ql(t){return zc(t).replace(pw,"%3D")}function xw(t){return s0(t).replace(n0,"%23").replace(mw,"%3F").replace(ww,"%2F").replace(i0,"%26").replace(gl,"%2B")}function to(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function kw(t){return to(t.replace(vw,"%252F"))}function Sw(t){return to(t.replace(gl," "))}function Tw(t){return to(t.replace(gl," "))}function Qu(t=""){const e=Object.create(null);t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const i=n.match(/([^=]+)=?(.*)/)||[];if(i.length<2)continue;const s=Sw(i[1]);if(s==="__proto__"||s==="constructor")continue;const r=Tw(i[2]||"");e[s]===void 0?e[s]=r:Array.isArray(e[s])?e[s].push(r):e[s]=[e[s],r]}return e}function Aw(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${ql(t)}=${zc(n)}`).join("&"):`${ql(t)}=${zc(e)}
4`:ql(t)}function Cw(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>Aw(e,t[e])).filter(Boolean).join("&")}const Ew=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Mw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Pw=/^([/\\]\s*){2,}[^/\\]/,Iw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Ow=/\/$|\/\?|\/#/,Rw=/^\.?\//;function Ni(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?Ew.test(t):Mw.test(t)||(e.acceptRelative?Pw.test(t):!1)}function Dw(t){return!!t&&Iw.test(t)}function Uc(t="",e){return e?Ow.test(t):t.endsWith("/")}function no(t="",e){if(!e)return(Uc(t)?t.slice(0,-1):t)||"/";if(!Uc(t,!0))return t||"/";let n=t,i="";const s=t.indexOf("#");s!==-1&&(n=t.slice(0,s),i=t.slice(s));const[r,...o]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(o.length>0?`?${o.join("?")}`:"")+i}function r0(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(Uc(t,!0))return t||"/";let n=t,i="";const s=t.indexOf("#");if(s!==-1&&(n=t.slice(0,s),i=t.slice(s),!n))return i;const[r,...o]=n.split("?");return r+"/"+(o.length>0?`?${o.join("?")}`:"")+i}function Lw(t,e){if(a0(e)||Ni(t))return t;const n=no(e);if(t.startsWith(n)){const i=t[n.length];if(!i||i==="/"||i==="?")return t}return ed(n,t)}function Pf(t,e){if(a0(e))return t;const n=no(e);if(!t.startsWith(n))return t;const i=t[n.length];if(i&&i!=="/"&&i!=="?")return t;const s=t.slice(n.length);return s[0]==="/"?s:"/"+s}function o0(t,e){const n=td(t),i={...Qu(n.search),...e};return n.search=Cw(i),$w(n)}function a0(t){return!t||t==="/"}function Nw(t){return t&&t!=="/"}function ed(t,...e){let n=t||"";for(const i of e.filter(s=>Nw(s)))if(n){const s=i.replace(Rw,"");n=r0(n)+s}else n=i;return n}function l0(...t){const e=/\/(?!\/)/,n=t.filter(Boolean),i=[];let s=0;for(const o of n)if(!(!o||o==="/")){for(const[a,l]of o.split(e).entries())if(!(!l||l===".")){if(l===".."){if(i.length===1&&Ni(i[0]))continue;i.pop(),s--;continue}if(a===1&&i[i.length-1]?.endsWith(":/")){i[i.length-1]+="/"+l;continue}i.push(l),s++}}let r=i.join("/");return s>=0?n[0]?.startsWith("/")&&!r.startsWith("/")?r="/"+r:n[0]?.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*s)+r,n[n.length-1]?.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function c0(t,e){return to(no(t))===to(no(e))}const u0=Symbol.for("ufo:protocolRelative");function td(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,f=""]=n;return{protocol:d.toLowerCase(),pathname:f,href:d+f,auth:"",host:"",search:"",hash:""}}if(!Ni(t,{acceptRelative:!0}))return If(t);const[,i="",s,r=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];i==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=If(a);return{protocol:i.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:l,search:c,hash:u,[u0]:!i}}function If(t=""){const[e="",n="",i=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:i}}function $w(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",i=t.hash||"",s=t.auth?t.auth+"@":"",r=t.host||"";return(t.protocol||t[u0]?(t.protocol||"")+"//":"")+s+r+e+n+i}class Fw extends Error{constructor(e,n){super(e,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Hw(t){const e=t.error?.message||t.error?.toString()||"",n=t.request?.method||t.options?.method||"GET",i=t.request?.url||String(t.request)||"/",s=`[${n}] ${JSON.stringify(i)}`,r=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",o=`${s}: ${r}${e?` ${e}`:""}`,a=new Fw(o,t.error?{cause:t.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return t[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return t.response&&t.response[c]}});return a}const jw=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Of(t="GET"){return jw.has(t.toUpperCase())}function Bw(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer||t instanceof FormData||t instanceof URLSearchParams?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const Vw=new Set(["image/svg","application/xml","application/xhtml","application/html"]),zw=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Uw(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return zw.test(e)?"json":e==="text/event-stream"?"stream":Vw.has(e)||e.startsWith("text/")?"text":"blob"}function Ww(t,e,n,i){const s=qw(e?.headers??t?.headers,n?.headers,i);let r;return(n?.query||n?.params||e?.params||e?.query)&&(r={...n?.params,...n?.query,...e?.params,...e?.query}),{...n,...e,query:r,params:r,headers:s}}function qw(t,e,n){if(!e)return new n(t);const i=new n(e);if(t)for(const[s,r]of Symbol.iterator in t||Array.isArray(t)?t:new n(t))i.set(s,r);return i}async function Do(t,e){if(e)if(Array.isArray(e))for(const n of e)await n(t);else await e(t)}const Gw=new Set([408,409,425,429,500,502,503,504]),Kw=new Set([101,204,205,304]);function d0(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:i=globalThis.AbortController}=t;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Of(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):Gw.has(d))){const f=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return f>0&&await new Promise(h=>setTimeout(h,f)),r(a.request,{...a.options,retry:u-1})}}const c=Hw(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,r),c}const r=async function(l,c={}){const u={request:l,options:Ww(l,c,t.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Do(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Lw(u.request,u.options.baseURL)),u.options.query&&(u.request=o0(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Of(u.options.method))if(Bw(u.options.body)){const h=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),h||u.options.headers.set("content-type","application/json"),u.o
4ptions.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let d;if(!u.options.signal&&u.options.timeout){const h=new i;d=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,h.abort(m)},u.options.timeout),u.options.signal=h.signal}try{u.response=await e(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await Do(u,u.options.onRequestError),await s(u)}finally{d&&clearTimeout(d)}if((u.response.body||u.response._bodyInit)&&!Kw.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Uw(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),p=u.options.parseResponse||fw;u.response._data=p(m);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await Do(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Do(u,u.options.onResponseError),await s(u)):u.response},o=async function(l,c){return(await r(l,c))._data};return o.raw=r,o.native=(...a)=>e(...a),o.create=(a={},l={})=>d0({...t,...l,defaults:{...t.defaults,...l.defaults,...a}}),o}const Ea=(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")})(),Yw=Ea.fetch?(...t)=>Ea.fetch(...t):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Zw=Ea.Headers,Xw=Ea.AbortController,Jw=d0({fetch:Yw,Headers:Zw,AbortController:Xw}),Qw=Jw,ex=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,nd=()=>ex().app,tx=()=>nd().baseURL,nx=()=>nd().buildAssetsDir,id=(...t)=>l0(_l(),nx(),...t),_l=(...t)=>{const e=nd(),n=e.cdnURL||e.baseURL;return t.length?l0(n,...t):n};globalThis.__buildAssetsURL=id,globalThis.__publicAssetsURL=_l;globalThis.$fetch||(globalThis.$fetch=Qw.create({baseURL:tx()}));"global"in globalThis||(globalThis.global=globalThis);function Wc(t,e={},n){for(const i in t){const s=t[i],r=n?`${n}:${i}`:i;typeof s=="object"&&s!==null?Wc(s,e,r):typeof s=="function"&&(e[r]=s)}return e}const f0=(()=>{if(console.createTask)return console.createTask;const t={run:e=>e()};return()=>t})();function h0(t,e,n,i){for(let s=n;s<t.length;s+=1)try{const r=i?i.run(()=>t[s](...e)):t[s](...e);if(r instanceof Promise)return r.then(()=>h0(t,e,s+1,i))}catch(r){return Promise.reject(r)}}function ix(t,e,n){if(t.length>0)return h0(t,e,0,f0(n))}function sx(t,e,n){if(t.length>0){const i=f0(n);return Promise.all(t.map(s=>i.run(()=>s(...e))))}}function Gl(t,e){for(const n of[...t])n(e)}var rx=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(t,e,n={}){if(!t||typeof e!="function")return()=>{};const i=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!n.allowDeprecated){let r=s.message;r||(r=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,i=(...s)=>(typeof n=="function"&&n(),n=void 0,i=void 0,e(...s));return n=this.hook(t,i),n}removeHook(t,e){const n=this._hooks[t];if(n){const i=n.indexOf(e);i!==-1&&n.splice(i,1),n.length===0&&(this._hooks[t]=void 0)}}clearHook(t){this._hooks[t]=void 0}deprecateHook(t,e){this._deprecatedHooks[t]=typeof e=="string"?{to:e}:e;const n=this._hooks[t]||[];this._hooks[t]=void 0;for(const i of n)this.hook(t,i)}deprecateHooks(t){for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=Wc(t),n=Object.keys(e).map(i=>this.hook(i,e[i]));return()=>{for(const i of n)i();n.length=0}}removeHooks(t){const e=Wc(t);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){this._hooks={}}callHook(t,...e){return this.callHookWith(ix,t,e)}callHookParallel(t,...e){return this.callHookWith(sx,t,e)}callHookWith(t,e,n){const i=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&Gl(this._before,i);const s=t(this._hooks[e]?[...this._hooks[e]]:[],n,e);return s instanceof Promise?s.finally(()=>{this._after&&i&&Gl(this._after,i)}):(this._after&&i&&Gl(this._after,i),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const e=this._before.indexOf(t);e!==-1&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const e=this._after.indexOf(t);e!==-1&&this._after.splice(e,1)}}}};function p0(){return new rx}function ox(t={}){let e,n=!1;const i=o=>
4{if(e&&e!==o)throw new Error("Context conflict")};let s;if(t.asyncContext){const o=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?s=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(s){const o=s.getStore();if(o!==void 0)return o}return e};return{use:()=>{const o=r();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>r(),set:(o,a)=>{a||i(o),e=o,n=!0},unset:()=>{e=void 0,n=!1},call:(o,a)=>{i(o),e=o;try{return s?s.run(o,a):a()}finally{n||(e=void 0)}},async callAsync(o,a){e=o;const l=()=>{e=o},c=()=>e===o?l:void 0;qc.add(c);try{const u=s?s.run(o,a):a();return n||(e=void 0),await u}finally{qc.delete(c)}}}}function ax(t={}){const e={};return{get(n,i={}){return e[n]||(e[n]=ox({...t,...i})),e[n]}}}const Ma=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Rf="__unctx__",lx=Ma[Rf]||(Ma[Rf]=ax()),cx=(t,e={})=>lx.get(t,e),Df="__unctx_async_handlers__",qc=Ma[Df]||(Ma[Df]=new Set);function js(t){const e=[];for(const s of qc){const r=s();r&&e.push(r)}const n=()=>{for(const s of e)s()};let i=t();return i&&typeof i=="object"&&"catch"in i&&(i=i.catch(s=>{throw n(),s})),[i,n]}const Lf=!1,ux=!1,Nf={id:"__nuxt-loader"},dx={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},fx={deep:!1},hx={},px="#__nuxt",m0="nuxt-app",$f=36e5,mx="vite:preloadError";function g0(t=m0){return cx(t,{asyncContext:!1})}const gx="__nuxt_plugin";function _x(t){let e=0;const n={_id:t.id||m0||"nuxt-app",_scope:Ob(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:Rn({...t.ssrContext?.payload||{},data:Rn({}),state:un({}),once:new Set,_errors:Rn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!or()?n._scope.run(()=>Ff(n,s)):Ff(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let s=!1;return()=>{if(!s&&(s=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Rn({}),_state:Rn({}),_payloadRevivers:{},...t};{const s=window.__NUXT__;if(s)for(const r in s)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],s[r]);break;default:n.payload[r]=s[r]}}n.hooks=p0(),n.hook=n.hooks.hook;{const s=n.hooks.callHook;n.hooks.callHook=(r,...o)=>Promise.resolve().then(()=>s(r,...o))}n.callHook=n.hooks.callHook,n.provide=(s,r)=>{const o="$"+s;Lo(n,o,r),Lo(n.vueApp.config.globalProperties,o,r)},Lo(n.vueApp,"$nuxt",n),Lo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(mx,r=>{n.callHook("app:chunkError",{error:r.payload}),r.payload.message.includes("Unable to preload CSS")&&r.preventDefault()}),window.useNuxtApp||=He;const s=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",s)}const i=n.payload.config;return n.provide("config",i),n}function yx(t,e){e.hooks&&t.hooks.addHooks(e.hooks)}async function bx(t,e){if(typeof e=="function"){const{provide:n}=await t.runWithContext(()=>e(t))||{};if(n&&typeof n=="object")for(const i in n)t.provide(i,n[i])}}async function vx(t,e){const n=new Set,i=[],s=[];let r,o=0;async function a(l){const c=l.dependsOn?.filter(u=>e.some(d=>d._name===u)&&!n.has(u))??[];if(c.length>0)i.push([new Set(c),l]);else{const u=bx(t,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(i.map(async([d,f])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(o++,await a(f)))})))}).catch(d=>{if(!l.parallel&&!t.payload.error)throw d;r||=d});l.parallel?s.push(u):await u}}for(const l of e)yx(t,l);for(const l of e)await a(l);if(await Promise.all(s),o)for(let l=0;l<o;l++)await Promise.all(s);if(r)throw t.payload.error||r}function Ge(t){if(typeof t=="function")return t;const e=t._name||t.name;return delete t.name,Object.assign(t.setup||(()=>{}),t,{[gx]:!0,_name:e})}function Ff(t,e,n){const i=()=>e();return g0(t._id).set(t),t.vueApp.runWithContext(i)}function wx(t){let e;return cl()&&(e=Lt()?.appContext.app.$nuxt),e||=g0(t).tryUse(),e||null}function He(t){const e=wx(t);if(!e)throw new Error("[nuxt] instance unavailable");return e}function qe(t){return He().$config}function Lo(t,e,n){Object.defineProperty(t,e,{get:()=>n})}function Kl(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function Gc(t,e,n=".",i){if(!Kl(e))return Gc(t,{},n,i);const s=Object.assign({},e);for(const r in t){if(r==="__proto__"||r==="constructor")continue;const o=t[r];o!=null&&(i&&i(s,r,o,n)||(Array.isArray(o)&&Array.isArray(s[r])?s[r]=[...o,...s[r]]:Kl(o)&&Kl(s[r])?s[r]=Gc(o,s[r],(n?`${n}
4.`:"")+r.toString(),i):s[r]=o))}return s}function xx(t){return(...e)=>e.reduce((n,i)=>Gc(n,i,"",t),{})}const yl=xx();function kx(t,e){try{return e in t}catch{return!1}}class Hf extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,n={}){super(e,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:Kc(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=_0(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}function Sx(t){if(typeof t=="string")return new Hf(t);if(Tx(t))return t;const e=new Hf(t.message??t.statusMessage??"",{cause:t.cause||t});if(kx(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=Kc(t.statusCode,e.statusCode):t.status&&(e.statusCode=Kc(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;_0(e.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 t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function Tx(t){return t?.constructor?.__h3_error__===!0}const Ax=/[^\u0009\u0020-\u007E]/g;function _0(t=""){return t.replace(Ax,"")}function Kc(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const Cx=Symbol("layout-meta"),bl=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const vt=()=>He()?.$router,bo=()=>cl()?Ct(bl,He()._route):He()._route;function GR(t){return t}const Ex=()=>{try{if(He()._processingMiddleware)return!0}catch{return!1}return!1},wn=(t,e)=>{t||="/";const n=typeof t=="string"?t:"path"in t?Yc(t):vt().resolve(t).href;if(e?.open){const{target:c="_blank",windowFeatures:u={}}=e.open,d=[];for(const[f,h]of Object.entries(u))h!==void 0&&d.push(`${f.toLowerCase()}=${h}`);return open(n,c,d.join(", ")),Promise.resolve()}const i=Ni(n,{acceptRelative:!0}),s=e?.external||i;if(s){if(!e?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:c}=new URL(n,window.location.href);if(c&&Dw(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const r=Ex();if(!s&&r){if(e?.replace){if(typeof t=="string"){const{pathname:c,search:u,hash:d}=td(t);return{path:c,...u&&{query:Qu(u)},...d&&{hash:d},replace:!0}}return{...t,replace:!0}}return t}const o=vt(),a=He();if(s)return a._scope.stop(),e?.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof t=="string"?y0(t):t;return e?.replace?o.replace(l):o.push(l)};function Yc(t){return o0(t.path||"",t.query||{})+(t.hash||"")}function y0(t){const e=td(t);return xw(kw(e.pathname))+e.search+e.hash}const b0="__nuxt_error",vl=()=>Hu(He().payload,"error"),qi=t=>{const e=Ai(t);try{const n=vl();He().hooks.callHook("app:error",e),n.value||=e}catch{throw e}return e},Mx=async(t={})=>{const e=He(),n=vl();e.callHook("app:error:cleared",t),t.redirect&&await vt().replace(t.redirect),n.value=void 0},v0=t=>!!t&&typeof t=="object"&&b0 in t,Ai=t=>{typeof t!="string"&&t.statusText&&(t.message??=t.statusText);const e=Sx(t);return Object.defineProperty(e,b0,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(e,"status",{get:()=>e.statusCode,configurable:!0}),Object.defineProperty(e,"statusText",{get:()=>e.statusMessage,configurable:!0}),e};function Px(t){const e=Ox(t),n=new ArrayBuffer(e.length),i=new DataView(n);for(let s=0;s<n.byteLength;s++)i.setUint8(s,e.charCodeAt(s));return n}const Ix="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ox(t){t.length%4===0&&(t=t.replace(/==?$/,""));let e="",n=0,i=0;for(let s=0;s<t.length;s++)n<<=6,n|=Ix.indexOf(t[s]),i+=6,i===24&&(e+=String.fromCharCode((n&16711680)>>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=i=0);return i===12?(n>>=4,e+=String.fromCharCode(n)):i===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const Rx=-1,Dx=-2,Lx=-3,Nx=-4,$x=-5,Fx=-6,Hx=-7;function jx(t,e){return Bx(JSON.parse(t),e)}function Bx(t,e){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,i=Array(n.length);let s=null;function r(o,a=!1){if(o===Rx)return;if(o===Lx)return NaN;if(o===Nx)return 1/0;if(o===$x)return-1/0;if(o===Fx)return-0;if(a||typeof o!="number")throw new Error("Invalid input");if(o in i)return i[o];const l=n[o];if(!l||typeof l!="object")i[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=e&&Object.hasOwn(e,c)?e[c]:void 0;if(u){let d=l[1];if(typeof d!="number"&&(d=n.push(l[1])-1),s??=new Set,s.has(d))throw new Error("Invalid circular reference");
4return s.add(d),i[o]=u(r(d)),s.delete(d),i[o]}switch(c){case"Date":i[o]=new Date(l[1]);break;case"Set":const d=new Set;i[o]=d;for(let p=1;p<l.length;p+=1)d.add(r(l[p]));break;case"Map":const f=new Map;i[o]=f;for(let p=1;p<l.length;p+=2)f.set(r(l[p]),r(l[p+1]));break;case"RegExp":i[o]=new RegExp(l[1],l[2]);break;case"Object":const h=Object(l[1]);if(Object.hasOwn(h,"__proto__"))throw new Error("Cannot parse an object with a `__proto__` property");i[o]=h;break;case"BigInt":i[o]=BigInt(l[1]);break;case"null":const m=Object.create(null);i[o]=m;for(let p=1;p<l.length;p+=2){if(l[p]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");m[l[p]]=r(l[p+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[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[c],b=r(l[1]),_=new p(b);i[o]=l[2]!==void 0?_.subarray(l[2],l[3]):_;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const b=Px(p);i[o]=b;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 p=c.slice(9);i[o]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);i[o]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);i[o]=p;break}default:throw new Error(`Unknown type ${c}`)}}else if(l[0]===Hx){const c=l[1];if(!Number.isInteger(c)||c<0)throw new Error("Invalid input");const u=new Array(c);i[o]=u;for(let d=2;d<l.length;d+=2){const f=l[d];if(!Number.isInteger(f)||f<0||f>=c)throw new Error("Invalid input");u[f]=r(l[d+1])}}else{const c=new Array(l.length);i[o]=c;for(let u=0;u<l.length;u+=1){const d=l[u];d!==Dx&&(c[u]=r(d))}}else{const c={};i[o]=c;
4for(const u of Object.keys(l)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=l[u];c[u]=r(d)}}return i[o]}return r(0)}const Vx=new Set(["link","style","script","noscript"]),zx=new Set(["title","titleTemplate","script","style","noscript"]),Zc=new Set(["base","meta","link","style","script","noscript"]),Ux=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Wx=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),qx=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Gx=new Set(["templateParams","htmlAttrs","bodyAttrs"]),sd=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),io={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Kx={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},w0={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>`${ii(t)}=${e}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:t,value:e})=>t==="seconds"?`${e}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:t,value:e})=>typeof e=="boolean"?ii(t):`${ii(t)}:${e}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:t,value:e})=>`${ii(t)} ${e}`}},charset:{}};function ii(t){const e=t.replace(/([A-Z])/g,"-$1").toLowerCase(),n=e.indexOf("-");return n===-1?e:io.META.has(e.slice(0,n))||io.OG.has(e.slice(0,n))?t.replace(/([A-Z])/g,":$1").toLowerCase():e}function x0(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>String(n)!=="false"&&e))}function Xc(t){return Array.isArray(t)?t.map(Xc):!t||typeof t!="object"?t:Object.fromEntries(Object.entries(t).map(([e,n])=>[ii(e),Xc(n)]))}function k0(t,e={}){const{entrySeparator:n="",keyValueSeparator:i="",wrapValue:s,resolve:r}=e;return Object.entries(t).map(([o,a])=>{if(r){const c=r({key:o,value:a});if(c!==void 0)return c}const l=typeof a=="object"?k0(a,e):typeof a=="number"?a.toString():typeof a=="string"&&s?`${s}${a.replace(new RegExp(s,"g"),`\\${s}`)}${s}`:a;return`${o}${i}${l}`}).join(n)}function jf(t,e){const n=x0(e),i=ii(t),s=S0(i);if(!sd.has(i))return[{[s]:i,...n}];const r=Object.fromEntries(Object.entries(n).map(([o,a])=>[`${t}${o==="url"?"":`${o[0].toUpperCase()}${o.slice(1)}`}`,a]));return Pa(r||{}).sort((o,a)=>(o[s]?.length||0)-(a[s]?.length||0))}function S0(t){if(w0[t]?.metaKey==="http-equiv"||io.HTTP_EQUIV.has(t))return"http-equiv";const e=ii(t),n=e.indexOf(":");return n===-1?"name":io.OG.has(e.slice(0,n))?"property":"name"}function Yx(t){return Kx[t]||ii(t)}function Zx(t,e){return e==="refresh"?`${t.seconds};url=${t.url}`:k0(Xc(t),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:i})=>n===null?"":typeof n=="boolean"?i:void 0,...w0[e]?.unpack})}function Pa(t){const e=[],n={};for(const[s,r]of Object.entries(t)){if(Array.isArray(r)){if(s==="themeColor"){r.forEach(o=>{typeof o=="object"&&o!==null&&e.push({name:"theme-color",...o})});continue}for(const o of r)if(typeof o=="object"&&o!==null){const a=[],l=[];for(const[c,u]of Object.entries(o)){const d=`${s}${c==="url"?"":`:${c}`}`,f=Pa({[d]:u});(c==="url"?a:l).push(...f)}e.push(...a,...l)}else e.push(...typeof o=="string"?Pa({[s]:o}):jf(s,o));continue}if(typeof r=="object"&&r)if(io.MEDIA.has(s)){const o=s.startsWith("twitter")?"twitter":"og",a=s.replace(/^(og|twitter)/,"").toLowerCase(),l=o==="twitter"?"name":"property";r.url&&e.push({[l]:`${o}:${a}`,content:r.url}),r.secureUrl&&e.push({[l]:`${o}:${a}:secure_url`,content:r.secureUrl});for(const[c,u]of Object.entries(r))c!=="url"&&c!=="secureUrl"&&e.push({[l]:`${o}:${a}:${c}`,content:u})}else sd.has(ii(s))?e.push(...jf(s,r)):n[s]=x0(r);else n[s]=r}const i=Object.entries(n).map(([s,r])=>
4{if(s==="charset")return{charset:r===null?"_null":r};const o=S0(s),a=Yx(s),l=r===null?"_null":typeof r=="object"?Zx(r,s):typeof r=="number"?r.toString():r;return o==="http-equiv"?{"http-equiv":a,content:l}:{[o]:a,content:l}});return[...e,...i].map(s=>"content"in s&&s.content==="_null"?{...s,content:null}:s)}const Xx={key:"flatMeta",hooks:{"entries:normalize":t=>{const e=[];t.tags=t.tags.map(n=>n.tag!=="_flatMeta"?n:(e.push(Pa(n.props).map(i=>({...n,tag:"meta",props:i}))),!1)).filter(Boolean).concat(...e)}}},Jx=["name","property","http-equiv"],Qx=new Set(["viewport","description","keywords","robots"]);function T0(t){const e=t.split(":");return e.length?sd.has(e[1]):!1}function Jc(t){const{props:e,tag:n}=t;if(Wx.has(n))return n;if(n==="link"&&e.rel==="canonical")return"canonical";if(n==="link"&&e.rel==="alternate"){const i=e.hreflang||e.type;if(i)return`alternate:${i}`}if(e.charset)return"charset";if(t.tag==="meta"){for(const i of Jx)if(e[i]!==void 0){const s=e[i],r=s&&typeof s=="string"&&s.includes(":"),o=s&&Qx.has(s),l=!(r||o)&&t.key?`:key:${t.key}`:"";return`${n}:${s}${l}`}}if(t.key)return`${n}:key:${t.key}`;if(e.id)return`${n}:id:${e.id}`;if(n==="link"&&e.rel==="alternate")return`alternate:${e.href||""}`;if(zx.has(n)){const i=t.textContent||t.innerHTML;if(i)return`${n}:content:${i}`}}function A0(t){const e=t._h||t._d;if(e)return e;const n=t.textContent||t.innerHTML;return n||`${t.tag}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`}function Ia(t,e,n){typeof t==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(t=t());const s=e?e(n,t):t;if(Array.isArray(s))return s.map(r=>Ia(r,e));if(s?.constructor===Object){const r={};for(const o of Object.keys(s))r[o]=Ia(s[o],e,o);return r}return s}function ek(t,e){const n=t==="style"?new Map:new Set;function i(s){if(s==null||s===void 0)return;const r=String(s).trim();if(r)if(t==="style"){const[o,...a]=r.split(":").map(l=>l?l.trim():"");o&&a.length&&n.set(o,a.join(":"))}else r.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof e=="string"?t==="style"?e.split(";").forEach(i):i(e):Array.isArray(e)?e.forEach(s=>i(s)):e&&typeof e=="object"&&Object.entries(e).forEach(([s,r])=>{r&&r!=="false"&&(t==="style"?n.set(String(s).trim(),String(r)):i(s))}),n}function C0(t,e){if(t.props=t.props||{},!e)return t;if(t.tag==="templateParams")return t.props=e,t;const n=Zc.has(t.tag)||t.tag==="htmlAttrs"||t.tag==="bodyAttrs";return Object.entries(e).forEach(([i,s])=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;if(s===null){t.props[i]=null;return}if(i==="class"||i==="style"){t.props[i]=ek(i,s);return}if(qx.has(i)){if((i==="textContent"||i==="innerHTML")&&typeof s=="object"){let c=e.type;if(e.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;e.type=c,t.props.type=c,t[i]=JSON.stringify(s)}else t[i]=s;return}const r=i.startsWith("data-"),o=n&&!r?i.toLowerCase():i,a=String(s),l=t.tag==="meta"&&o==="content";a==="true"||a===""?t.props[o]=r||l?a:!0:!s&&r&&a==="false"?t.props[o]="false":s!==void 0&&(t.props[o]=s)}),t}function tk(t,e){const n=typeof e=="object"&&typeof e!="function"?e:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},i=C0({tag:t,props:{}},n);return i.key&&Vx.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 nk(t,e){if(!t)return[];typeof t=="function"&&(t=t());const n=(s,r)=>{for(let o=0;o<e.length;o++)r=e[o](s,r);return r};t=n(void 0,t);const i=[];return t=Ia(t,n),Object.entries(t||{}).forEach(([s,r])=>{if(r!==void 0)for(const o of Array.isArray(r)?r:[r])i.push(tk(s,o))}),i.flat()}const Bf=(t,e)=>t._w===e._w?t._p-e._p:t._w-e._w,Vf={base:-10,title:10},ik={critical:-8,high:-1,low:2},zf={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}},sk=/@import/,mr=t=>t===""||t===!0;function rk(t,e){if(typeof e.tagPriority=="number")return e.tagPriority;let n=100;const i=ik[e.tagPriority]||0,s=t.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:zf;if(e.tag in Vf)n=Vf[e.tag];else if(e.tag==="meta"){const r=e.props["http-equiv"]==="content-security-policy"?"content-security-policy":e.props.charset?"charset":e.props.name==="viewport"?"viewport":null;r&&(n=zf.meta[r])}else if(e.tag==="link"&&e.props.rel)n=s.link[e.props.rel];else if(e.tag==="script"){const r=String(e.props.type);mr(e.props.async)?n=s.script.async:e.props.src&&!mr(e.props.defer)&&!mr(e.props.async)&&r!=="module"&&!r.endsWith("json")||e.innerHTML&&!r.endsWith("json")?n=s.script.sync:(mr(e.props.defer)&&e.props.src&&!mr(e.props.async)||r==="module")&&(n=s.script.defer)}else e.tag==="style"&&(n=e.innerHTML&&sk.test(e.innerHTML)?s.style.imported:s.style.sync);return(n||100)+i}function Uf(t,e){const n=typeof e=="function"?e(t):e,i=n.key||String(t.plugins.size+1);t.plugins.get(i)||(t.plugins.set(i,n),t.hooks.addHooks(n.hooks||{}))}function ok(t={}){const e=p0();e.addHooks(t.hooks||{});const n=!t.document,i=new Map,s=new Map,r=new Set,o={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:t,hooks:e,ssr:n,entries:i,headEntries(){return[...i.values()]},use:a=>Uf(o,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??o._entryCount++,d={_i:u,input:a,options:c},f={_poll(h=!1){o.dirty=!0,!h&&r.add(u),e.callHook("entries:updated",o)},dispose(){i.delete(u)&&o.invalidate()},patch(h){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=h,i.set(u,d),f._poll())}};return f.patch(a),f},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await e.callHook("entries:resolve",a);r.size;){const f=r.values().next().value;r.delete(f);const h=i.get(f);if(h){const m={tags:nk(h.input,t.propResolvers||[]).map(p=>Object.assign(p,h.options)),entry:h};await e.callHook("entries:normalize",m),h._tags=m.tags.map((p,b)=>(p._w=rk(o,p),p._p=(h._i<<10)+b,p._d=Jc(p),p._d||(p._h=A0(p)),p))}}let l=!1;a.entries.flatMap(f=>(f._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(Bf).reduce((f,h)=>{const m=h._d||h._h;if(!f.has(m))return f.set(m,h);const p=f.get(m);
4if((h?.tagDuplicateStrategy||(Gx.has(h.tag)?"merge":null)||(h.key&&h.key===p.key?"merge":null))==="merge"){const _={...p.props};Object.entries(h.props).forEach(([v,g])=>_[v]=v==="style"?new Map([...p.props.style||new Map,...g]):v==="class"?new Set([...p.props.class||new Set,...g]):g),f.set(m,{...h,props:_})}else h._p>>10===p._p>>10&&h.tag==="meta"&&T0(m)?(f.set(m,Object.assign([...Array.isArray(p)?p:[p],h],h)),l=!0):(h._w===p._w?h._p>p._p:h?._w<p?._w)&&f.set(m,h);return f},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(o._title=c?.textContent,u){const f=u?.textContent;if(o._titleTemplate=f,f){let h=typeof f=="function"?f(c?.textContent):f;typeof h=="string"&&!o.plugins.has("template-params")&&(h=h.replace("%s",c?.textContent||"")),c?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:h}):(u.tag="title",u.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Bf)),await e.callHook("tags:beforeResolve",a),await e.callHook("tags:resolve",a),await e.callHook("tags:afterResolve",a);const d=[];for(const f of a.tags){const{innerHTML:h,tag:m,props:p}=f;if(Ux.has(m)&&!(Object.keys(p).length===0&&!f.innerHTML&&!f.textContent)&&!(m==="meta"&&!p.content&&!p["http-equiv"]&&!p.charset)){if(m==="script"&&h){if(String(p.type).endsWith("json")){const b=typeof h=="string"?h:JSON.stringify(h);f.innerHTML=b.replace(/</g,"\\u003C")}else typeof h=="string"&&(f.innerHTML=h.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));f._d=Jc(f)}d.push(f)}}return d},invalidate(){for(const a of i.values())r.add(a._i);o.dirty=!0,e.callHook("entries:updated",o)}};return(t?.plugins||[]).forEach(a=>Uf(o,a)),o.hooks.callHook("init",o),t.init?.forEach(a=>a&&o.push(a)),o}const ak=(t,e)=>Je(e)?pn(e):e,rd="usehead";function lk(t){return{install(n){n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(rd,t)}}.install}function E0(){if(cl()){const t=Ct(rd);if(t)return t}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function M0(t,e={}){const n=e.head||E0();return n.ssr?n.push(t||{},e):ck(n,t,e)}function ck(t,e,n={}){const i=Xe(!1);let s;return eg(()=>{const o=i.value?{}:Ia(e,ak);s?s.patch(o):s=t.push(o,n)}),Lt()&&(_s(()=>{s.dispose()}),Uu(()=>{i.value=!0}),zu(()=>{i.value=!1})),s}function uk(t={},e={}){(e.head||E0()).use(Xx);const{title:i,titleTemplate:s,...r}=t;return M0({title:i,titleTemplate:s,_flatMeta:r},e)}function P0(t){const e=t||He();return e.ssrContext?.head||e.runWithContext(()=>{if(cl()){const n=Ct(rd);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function fi(t,e={}){const n=e.head||P0(e.nuxt);return M0(t,{head:n,...e})}function dk(t,e={}){const n=e.head||P0(e.nuxt);return uk(t,{head:n,...e})}const fk=(()=>{const t={redirect:"/plan-and-billing/"},e={};return(n,i)=>{let s=[];
4i.charCodeAt(i.length-1)===47&&(i=i.slice(0,-1)||"/"),i==="/dashboard"?(s.unshift({data:t}),s.unshift({data:t})):i==="/download/Guidy-Setup.exe"?s.unshift({data:e}):i==="/download/Guidy-arm64.dmg"?s.unshift({data:e}):i==="/download/Guidy-x64.dmg"?s.unshift({data:e}):i==="/download/windows.exe"?s.unshift({data:e}):i==="/favicon.ico"?s.unshift({data:e}):i==="/favicon.svg"?s.unshift({data:e}):i==="/favicon-16x16.png"?s.unshift({data:e}):i==="/favicon-32x32.png"?s.unshift({data:e}):i==="/favicon-96x96.png"?s.unshift({data:e}):i==="/apple-touch-icon.png"?s.unshift({data:e}):i==="/safari-pinned-tab.svg"?s.unshift({data:e}):i==="/mstile-150x150.png"?s.unshift({data:e}):i==="/site.webmanifest"?s.unshift({data:e}):i==="/web-app-manifest-192x192.png"?s.unshift({data:e}):i==="/web-app-manifest-512x512.png"?s.unshift({data:e}):i==="/og-guidy.webp"?s.unshift({data:e}):i==="/browserconfig.xml"?s.unshift({data:e}):i==="/_nuxt"&&s.unshift({data:e});let r=i.split("/");return r.length>1&&(r[1]==="admin"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="new-job"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="stop-feeling-like-everyone-knows-more"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="new-software-is-moving-too-fast"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="start-your-new-career"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="get-help-at-work"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="stop-reading-instructions"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="images"?s.unshift({data:e,params:{_:r.slice(2).join("/")}}):r[1]==="fonts"&&s.unshift({data:e,params:{_:r.slice(2).join("/")}})),s}})(),hk=t=>yl({},...fk("",t).map(e=>e.data).reverse()),pk=hk;let ua;function mk(){return ua=$fetch(id(`builds/meta/${qe().app.buildId}.json`),{responseType:"json"}),ua.catch(t=>{console.error("[nuxt] Error fetching app manifest.",t)}),ua}function I0(){return ua||mk()}function O0(t){const e=typeof t=="string"?t:t.path;try{return pk(e)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Wf(t,e={}){return null}async function gk(t){return null}let ji=null;async function _k(){if(ji)return ji;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=await yk(t.textContent||""),n=t.dataset.src?await gk(t.dataset.src):void 0;return ji={...e,...n,...window.__NUXT__},ji.config?.public&&(ji.config.public=un(ji.config.public)),ji}async function yk(t){return await jx(t,He()._payloadRevivers)}function bk(t,e){He()._payloadRevivers[t]=e}function qf(t){try{return JSON.parse(t)}catch{return t}}const vk=[["NuxtError",t=>Ai(t)],["EmptyShallowRef",t=>jn(t==="_"?void 0:t==="0n"?BigInt(0):qf(t))],["EmptyRef",t=>Xe(t==="_"?void 0:t==="0n"?BigInt(0):qf(t))],["ShallowRef",t=>jn(t)],["ShallowReactive",t=>Rn(t)],["Ref",t=>Xe(t)],["Reactive",t=>un(t)]],wk=Ge({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const[i,s]of vk)bk(i,s);Object.assign(t.payload,([e,n]=js(()=>t.runWithContext(_k)),e=await e,n(),e)),delete window.__NUXT__}});async function od(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const i={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",i),!!i.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async s=>{const r=new Map,o=new Promise(h=>{t.resolveTags().then(m=>{h(m.map(p=>{const b=r.get(p._d)||0,_={tag:p,id:(b?`${p._d}:${b}`:p._d)||p._h,shouldRender:!0};return p._d&&T0(p._d)&&r.set(p._d,b+1),_}))})});let a=t._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const m=n[h]?.children;for(const p of m){const b=p.tagName.toLowerCase();if(!Zc.has(b))continue;const _=C0({tag:b,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((v,g)=>(v[g]=p.getAttribute(g),v),{})||{}});if(_.key=p.getAttribute("data-hid")||void 0,_._d=Jc(_)||A0(_),a.elMap.has(_._d)){let v=1,g=_._d;for(;a.elMap.has(g);)g=`${_._d}:${v++}`;a.elMap.set(g,p)}else a.elMap.set(_._d,p)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,m,p){const b=`${h}:${m}`;a.sideEffects[b]=p,delete a.pendingSideEffects[b]}function c({id:h,$el:m,tag:p}){const b=p.tag.endsWith("Attrs");a.elMap.set(h,m),b||(p.textContent&&p.textContent!==m.textContent&&(m.textContent=p.textContent),p.innerHTML&&p.innerHTML!==m.innerHTML&&(m.innerHTML=p.innerHTML),l(h,"el",()=>{m?.remove(),a.elMap.delete(h)}));for(const _ in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,_))continue;const v=p.props[_];if(_.startsWith("on")&&typeof v=="function"){const w=m?.dataset;if(w&&w[`${_}fired`]){const y=_.slice(0,-5);v.call(m,new Event(y.substring(2)))}m.getAttribute(`data-${_}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:m).addEventListener(_.substring(2),v.bind(m)),m.setAttribute(`data-${_}`,""));continue}const g=`attr:${_}`;if(_==="class"){if(!v)continue;for(const w of v)b&&l(h,`${g}:${w}`,()=>m.classList.remove(w)),!m.classList.contains(w)&&m.classList.add(w)}else if(_==="style"){if(!v)continue;for(const[w,y]of v)l(h,`${g}:${w}`,()=>{m.style.removeProperty(w)}),m.style.setProperty(w,y)}else v!==!1&&v!==null&&(m.getAttribute(_)!==v&&m.setAttribute(_,v===!0?"":String(v)),b&&l(h,g,()=>m.removeAttribute(_)))}}const u=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await o;for(const h of f){const{tag:m,shouldRender:p,id:b}=h;if(p){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(b),h.$el?c(h):Zc.has(m.tag)&&u.push(h)}}for(const h of u){const m=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),c(h),d[m]=d[m]||n.createDocumentFragment(),d[m].appendChild(h.$el)}for(const h of f)await t.hooks.callHook("dom:renderTag",h,n,l);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();t._dom=a,await t.hooks.callHook("dom:rendered",{renders:f}),s()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function xk(t={}){const e=t.domOptions?.render||od;t.document=t.document||(typeof window<"u"?document:void 0);const n=t.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return ok({...t,plugins:[...t.plugins||[],{key:"client",hooks:{"entries:updated":e}}],init:[n?JSON.parse(n):!1,...t.init||[]]})}function kk(t,e){let n=0;return()=>{const i=++n;e(()=>{n===i&&t()})}}function Sk(t={}){const e=xk({domOptions:{render:kk(()=>od(e),n=>setTimeout(n,0))},...t});return e.install=lk(e),e}const Tk={disableDefaults:!0},Ak=Ge({name:"nuxt:head",enforce:"pre",setup(t){const e=Sk(Tk);t.vueApp.use(e);{let n=!0;const i=async()=>{n=!1,await od(e)};e.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),t.hooks.hook("page:start",()=>{n=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||i()}),t.hooks.hook("app:error",i),t.hooks.hook("app:suspense:resolve",i)}}});const As=typeof document<"u";function R0(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ck(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&R0(t.default)}const Ne=Object.assign;function Yl(t,e){const n={};for(const i in e){const s=e[i];n[i]=xn(s)?s.map(t):t(s)}return n}const Fr=()=>{},xn=Array.isArray;function Gf(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}let Qe=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const D0=Symbol("");Qe.MATCHER_NOT_FOUND+"",Qe.NAVIGATION_GUARD_REDIRECT+"",Qe.NAVIGATION_ABORTED+"",Qe.NAVIGATION_CANCELLED+"",Qe.NAVIGATION_DUPLICATED+"";function Gs(t,e){return Ne(new Error,{type:t,[D0]:!0},e)}function Wn(t,e){return t instanceof Error&&D0 in t&&(e==null||!!(t.type&e))}const Ek=["params","query","hash"];function Mk(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of Ek)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}const L0=Symbol(""),Kf=Symbol(""),ad=Symbol(""),N0=Symbol(""),Qc=Symbol(""),Pk={trailing:!0};function Ik(t,e=25,n={}){if(n={...Pk,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let i,s,r=[],o,a;const l=(d,f)=>(o=Ok(t,d,f),o.finally(()=>
4{if(o=null,n.trailing&&a&&!s){const h=l(d,a);return a=null,h}}),o),c=function(...d){return n.trailing&&(a=d),o||new Promise(f=>{const h=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const m=n.leading?i:l(this,d);a=null;for(const p of r)p(m);r=[]},e),h?(i=l(this,d),f(i)):r.push(f)})},u=d=>{d&&(clearTimeout(d),s=null)};return c.isPending=()=>!!s,c.cancel=()=>{u(s),r=[],a=null},c.flush=()=>{if(u(s),!a||o)return;const d=a;return a=null,l(this,d)},c}async function Ok(t,e,n){return await t.apply(e,n)}const $0=/#/g,Rk=/&/g,Dk=/\//g,Lk=/=/g,Nk=/\?/g,F0=/\+/g,$k=/%5B/g,Fk=/%5D/g,H0=/%5E/g,Hk=/%60/g,j0=/%7B/g,jk=/%7C/g,B0=/%7D/g,Bk=/%20/g;function ld(t){return t==null?"":encodeURI(""+t).replace(jk,"|").replace($k,"[").replace(Fk,"]")}function Vk(t){return ld(t).replace(j0,"{").replace(B0,"}").replace(H0,"^")}function eu(t){return ld(t).replace(F0,"%2B").replace(Bk,"+").replace($0,"%23").replace(Rk,"%26").replace(Hk,"`").replace(j0,"{").replace(B0,"}").replace(H0,"^")}function zk(t){return eu(t).replace(Lk,"%3D")}function Uk(t){return ld(t).replace($0,"%23").replace(Nk,"%3F")}function Wk(t){return Uk(t).replace(Dk,"%2F")}function so(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const qk=/\/$/,Gk=t=>t.replace(qk,"");function Zl(t,e,n="/"){let i,s={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(i=e.slice(0,l),r=e.slice(l,a>0?a:e.length),s=t(r.slice(1))),a>=0&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Xk(i??e,n),{fullPath:i+r+o,path:i,query:s,hash:so(o)}}function Kk(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Yf(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Yk(t,e,n){const i=e.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&Ks(e.matched[i],n.matched[s])&&V0(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ks(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function V0(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!Zk(t[n],e[n]))return!1;return!0}function Zk(t,e){return xn(t)?Zf(t,e):xn(e)?Zf(e,t):(t&&t.valueOf())===(e&&e.valueOf())}function Zf(t,e){return xn(e)?t.length===e.length&&t.every((n,i)=>n===e[i]):t.length===1&&t[0]===e}function Xk(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),s=i[i.length-1];(s===".."||s===".")&&i.push("");let r=n.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+i.slice(o).join("/")}const Yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let tu=(function(t){return t.pop="pop",t.push="push",t})({}),Xl=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function Jk(t){if(!t)if(As){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Gk(t)}const Qk=/^[^#]+#/;function e2(t,e){return t.replace(Qk,"#")+e}function t2(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}const wl=()=>({left:window.scrollX,top:window.scrollY});function n2(t){let e;if("el"in t){const n=t.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;e=t2(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}
vendor: 19,031 bytes, line 4
4function Xf(t,e){return(history.state?history.state.position-e:-1)+t}const nu=new Map;function i2(t,e){nu.set(t,e)}function s2(t){const e=nu.get(t);return nu.delete(t),e}function r2(t){return typeof t=="string"||t&&typeof t=="object"}function z0(t){return typeof t=="string"||typeof t=="symbol"}function o2(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const s=n[i].replace(F0," "),r=s.indexOf("="),o=so(r<0?s:s.slice(0,r)),a=r<0?null:so(s.slice(r+1));if(o in e){let l=e[o];xn(l)||(l=e[o]=[l]),l.push(a)}else e[o]=a}return e}function Jf(t){let e="";for(let n in t){const i=t[n];if(n=zk(n),i==null){i!==void 0&&(e+=(e.length?"&":"")+n);continue}(xn(i)?i.map(s=>s&&eu(s)):[i&&eu(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function a2(t){const e={};for(const n in t){const i=t[n];i!==void 0&&(e[n]=xn(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return e}function gr(){let t=[];function e(i){return t.push(i),()=>{const s=t.indexOf(i);s>-1&&t.splice(s,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function l2(t,e,n){const i=t.value;if(!i)return;let s=i;const r=()=>{s[e].delete(n)};lr(r),Uu(r),zu(()=>{const o=t.value;o&&(s=o),s[e].add(n)}),s[e].add(n)}function KR(t){l2(Ct(L0,{}),"leaveGuards",t)}function yi(t,e,n,i,s,r=o=>o()){const o=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Gs(Qe.NAVIGATION_ABORTED,{from:n,to:e})):f instanceof Error?l(f):r2(f)?l(Gs(Qe.NAVIGATION_GUARD_REDIRECT,{from:e,to:f})):(o&&i.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),a())},u=r(()=>t.call(i&&i.instances[s],e,n,c));let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Jl(t,e,n,i,s=r=>r()){const r=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(R0(l)){const c=(l.__vccOpts||l)[e];c&&r.push(yi(c,n,i,o,a,s))}else{let c=l();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const d=Ck(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const f=(d.__vccOpts||d)[e];return f&&yi(f,n,i,o,a,s)()}))}}return r}function c2(t,e){const n=[],i=[],s=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const a=e.matched[o];a&&(t.matched.find(c=>Ks(c,a))?i.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Ks(c,l))||s.push(l))}return[n,i,s]}let u2=()=>location.protocol+"//"+location.host;function U0(t,e){const{pathname:n,search:i,hash:s}=e,r=t.indexOf("#");if(r>-1){let o=s.includes(t.slice(r))?t.slice(r).length:1,a=s.slice(o);return a[0]!=="/"&&(a="/"+a),Yf(a,"")}return Yf(n,t)+i+s}function d2(t,e,n,i){let s=[],r=[],o=null;const a=({state:f})=>{const h=U0(t,location),m=n.value,p=e.value;let b=0;if(f){if(n.value=h,e.value=f,o&&o===m){o=null;return}b=p?f.position-p.position:0}else i(h);s.forEach(_=>{_(n.value,m,{delta:b,type:tu.pop,direction:b?b>0?Xl.forward:Xl.back:Xl.unknown})})};function l(){o=n.value}function c(f){s.push(f);const h=()=>{const m=s.indexOf(f);m>-1&&s.splice(m,1)};return r.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Ne({},f.state,{scroll:wl()}),"")}}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function Qf(t,e,n,i=!1,s=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:s?wl():null}}function f2(t){const{history:e,location:n}=window,i={value:U0(t,n)},s={value:e.state};s.value||r(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:u2()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),s.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){r(l,Ne({},e.state,Qf(s.value.back,l,s.value.forward,!0),c,{position:s.value.position}),!0),i.value=l}function a(l,c){const u=Ne({},s.value,e.state,{forward:l,scroll:wl()});r(u.current,u,!0),r(l,Ne({},Qf(i.value,l,null),{position:u.position+1},c),!1),i.value=l}return{location:i,state:s,push:a,replace:o}}function W0(t){t=Jk(t);const e=f2(t),n=d2(t,e.state,e.location,e.replace);function i(r,o=!0){o||n.pauseListeners(),history.go(r)}const s=Ne({location:"",base:t,go:i,createHref:e2.bind(null,t)},e,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function h2(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),W0(t)}let Zi=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var ht=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(ht||{});const p2={type:Zi.Static,value:""},m2=/[a-zA-Z0-9_]/;function g2(t){if(!t)return[[]];if(t==="/")return[[p2]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=ht.Static,i=n;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===ht.Static?r.push({type:Zi.Static,value:c}):n===ht.Param||n===ht.ParamRegExp||n===ht.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Zi.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==ht.ParamRegExp){i=n,n=ht.EscapeNext;continue}switch(n){case ht.Static:l==="/"?(c&&d(),o()):l===":"?(d(),n=ht.Param):f();break;case ht.EscapeNext:f(),n=i;break;case ht.Param:l==="("?n=ht.ParamRegExp:m2.test(l)?f():(d(),n=ht.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case ht.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=ht.ParamRegExpEnd:u+=l;break;case ht.ParamRegExpEnd:d(),n=ht.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===ht.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),d(),o(),s}const eh="[^/]+?",_2={sensitive:!1,strict:!1,start:!0,end:!0};var Ot=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(Ot||{});const y2=/[.+*?^${}()[\]/\\]/g;function b2(t,e){const n=Ne({},_2,e),i=[];let s=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[Ot.Root];n.strict&&!c.length&&(s+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=Ot.Segment+(n.sensitive?Ot.BonusCaseSensitive:0);if(f.type===Zi.Static)d||(s+="/"),s+=f.value.replace(y2,"\\$&"),h+=Ot.Static;else if(f.type===Zi.Param){const{value:m,repeatable:p,optional:b,regexp:_}=f;r.push({name:m,repeatable:p,optional:b});const v=_||eh;if(v!==eh){h+=Ot.BonusCustomRegExp;try{new RegExp(`(${v})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${m}" (${v}): `+w.message)}}let g=p?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(g=b&&c.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),s+=g,h+=Ot.Dynamic,b&&(h+=Ot.BonusOptional),p&&(h+=Ot.BonusRepeatable),v===".*"&&(h+=Ot.BonusWildcard)}u.push(h)}i.push(u)}if(n.strict&&n.end){const c=i.length-1;i[c][i[c].length-1]+=Ot.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",m=r[f-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of t){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===Zi.Static)u+=h.value;else if(h.type===Zi.Param){const{value:m,repeatable:p,optional:b}=h,_=m in c?c[m]:"";if(xn(_)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const v=xn(_)?_.join("/"):_;if(!v)if(b)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=v}}return u||"/"}return{re:o,score:i,keys:r,parse:a,stringify:l}}function v2(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?t.length===1&&t[0]===Ot.Static+Ot.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===Ot.Static+Ot.Segment?1:-1:0}function q0(t,e){let n=0;const i=t.score,s=e.score;for(;n<i.length&&n<s.length;){const r=v2(i[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-i.length)===1){if(th(i))return 1;if(th(s))return-1}return s.length-i.length}function th(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const w2={strict:!1,end:!0,sensitive:!1};function x2(t,e,n){const i=b2(g2(t.path),n),s=Ne(i,{record:t,parent:e,children:[],alias:[]});return e&&!s.record.aliasOf==!e.record.aliasOf&&e.children.push(s),s}function k2(t,e){const n=[],i=new Map;e=Gf(w2,e);function s(d){return i.get(d)}function r(d,f,h){const m=!h,p=ih(d);p.aliasOf=h&&h.record;const b=Gf(e,d),_=[p];if("alias"in d){const w=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of w)_.push(ih(Ne({},p,{components:h?h.record.components:p.components,path:y,aliasOf:h?h.record:p})))}let v,g;for(const w of _){const{path:y}=w;if(f&&y[0]!=="/"){const T=f.record.path,A=T[T.length-1]==="/"?"":"/";w.path=f.record.path+(y&&A+y)}if(v=x2(w,f,b),h?h.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),m&&d.name&&!sh(v)&&o(d.name)),G0(v)&&l(v),p.children){const T=p.children;for(let A=0;A<T.length;A++)r(T[A],v,h&&h.children[A])}h=h||v}return g?()=>{o(g)}:Fr}function o(d){if(z0(d)){const f=i.get(d);f&&(i.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&i.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return n}function l(d){const f=A2(d,n);n.splice(f,0,d),d.record.name&&!sh(d)&&i.set(d.record.name,d)}function c(d,f){let h,m={},p,b;if("name"in d&&d.name){if(h=i.get(d.name),!h)throw Gs(Qe.MATCHER_NOT_FOUND,{location:d});b=h.record.name,m=Ne(nh(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&nh(d.params,h.keys.map(g=>g.name))),p=h.stringify(m)}else if(d.path!=null)p=d.path,h=n.find(g=>g.re.test(p)),h&&(m=h.parse(p),b=h.record.name);else{if(h=f.name?i.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw Gs(Qe.MATCHER_NOT_FOUND,{location:d,currentLocation:f});b=h.record.name,m=Ne({},f.params,d.params),p=h.stringify(m)}const _=[];let v=h;for(;v;)_.unshift(v.record),v=v.parent;return{name:b,path:p,params:m,matched:_,meta:T2(_)}}t.forEach(d=>r(d));function u(){n.length=0,i.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function nh(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function ih(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:S2(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function S2(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]=typeof n=="object"?n[i]:n;return e}function sh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function T2(t){return t.reduce((e,n)=>Ne(e,n.meta),{})}function A2(t,e){let n=0,i=e.length;for(;n!==i;){const r=n+i>>1;q0(t,e[r])<0?i=r:n=r+1}const s=C2(t);return s&&(i=e.lastIndexOf(s,i-1)),i}function C2(t){let e=t;for(;e=e.parent;)if(G0(e)&&q0(t,e)===0)return e}function G0({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function rh(t){const e=Ct(ad),n=Ct(N0),i=ue(()=>{const l=O(t.to);return e.resolve(l)}),s=ue(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(Ks.bind(null,u));if(f>-1)return f;const h=oh(l[c-2]);return c>1&&oh(u)===h&&d[d.length-1].path!==h?d.findIndex(Ks.bind(null,l[c-2])):f}),r=ue(()=>s.value>-1&&O2(n.params,i.value.params)),o=ue(()=>s.value>-1&&s.value===n.matched.length-1&&V0(n.params,i.value.params));function a(l={}){if(I2(l)){const c=e[O(t.replace)?"replace":"push"](O(t.to)).catch(Fr);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:ue(()=>i.value.href),isActive:r,isExactActive:o,navigate:a}}function E2(t){return t.length===1?t[0]:t}const M2=gt({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:rh,setup(t,{slots:e}){const n=un(rh(t)),{options:i}=Ct(ad),s=ue(()=>({[ah(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[ah(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&E2(e.default(n));return t.custom?r:pt("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),P2=M2;function I2(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function O2(t,e){for(const n in e){const i=e[n],s=t[n];if(typeof i=="string"){if(i!==s)return!1}else if(!xn(s)||s.length!==i.length||i.some((r,o)=>r.valueOf()!==s[o].valueOf()))return!1}return!0}function oh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ah=(t,e,n)=>t??e??n,R2=gt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Ct(Qc),s=ue(()=>t.route||i.value),r=Ct(Kf,0),o=ue(()=>{let c=O(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=ue(()=>s.value.matched[o.value]);ss(Kf,ue(()=>o.value+1)),ss(L0,a),ss(Qc,s);const l=Xe();return Ut(()=>[l.value,a.value,t.name],([c,u,d],[f,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Ks(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=t.name,d=a.value,f=d&&d.components[u];if(!f)return lh(n.default,{Component:f,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=pt(f,Ne({},m,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return lh(n.default,{Component:b,route:c})||b}}});function lh(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const K0=R2;function D2(t){const e=k2(t.routes,t),n=t.parseQuery||o2,i=t.stringifyQuery||Jf,s=t.history,r=gr(),o=gr(),a=gr(),l=jn(Yt);let c=Yt;As&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yl.bind(null,$=>""+$),d=Yl.bind(null,Wk),f=Yl.bind(null,so);function h($,ie){let X,ce;return z0($)?(X=e.getRecordMatcher($),ce=ie):ce=$,e.addRoute(ce,X)}function m($){const ie=e.getRecordMatcher($);ie&&e.removeRoute(ie)}function p(){return e.getRoutes().map($=>$.record)}function b($){return!!e.getRecordMatcher($)}function _($,ie){if(ie=Ne({},ie||l.value),typeof $=="string"){const S=Zl(n,$,ie.path),I=e.resolve({path:S.path},ie),H=s.createHref(S.fullPath);return Ne(S,I,{params:f(I.params),hash:so(S.hash),redirectedFrom:void 0,href:H})}let X;if($.path!=null)X=Ne({},$,{path:Zl(n,$.path,ie.path).path});else{const S=Ne({},$.params);for(const I in S)S[I]==null&&delete S[I];X=Ne({},$,{params:d(S)}),ie.params=d(ie.params)}const ce=e.resolve(X,ie),Se=$.hash||"";ce.params=u(f(ce.params));const Ze=Kk(i,Ne({},$,{hash:Vk(Se),path:ce.path})),k=s.createHref(Ze);return Ne({fullPath:Ze,hash:Se,query:i===Jf?a2($.query):$.query||{}},ce,{redirectedFrom:void 0,href:k})}function v($){return typeof $=="string"?Zl(n,$,l.value.path):Ne({},$)}function g($,ie){if(c!==$)return Gs(Qe.NAVIGATION_CANCELLED,{from:ie,to:$})}function w($){return A($)}function y($){return w(Ne(v($),{replace:!0}))}function T($,ie){const X=$.matched[$.matched.length-1];if(X&&X.redirect){const{redirect:ce}=X;let Se=typeof ce=="function"?ce($,ie):ce;return typeof Se=="string"&&(Se=Se.includes("?")||Se.includes("#")?Se=v(Se):{path:Se},Se.params={}),Ne({query:$.query,hash:$.hash,params:Se.path!=null?{}:$.params},Se)}}function A($,ie){const X=c=_($),ce=l.value,Se=$.state,Ze=$.force,k=$.replace===!0,S=T(X,ce);if(S)return A(Ne(v(S),{state:typeof S=="object"?Ne({},Se,S.state):Se,force:Ze,replace:k}),ie||X);const I=X;I.redirectedFrom=ie;let H;return!Ze&&Yk(i,ce,X)&&(H=Gs(Qe.NAVIGATION_DUPLICATED,{to:I,from:ce}),Pt(ce,ce,!0,!1)),(H?Promise.resolve(H):R(I,ce)).catch(N=>Wn(N)?Wn(N,Qe.NAVIGATION_GUARD_REDIRECT)?N:Mt(N):J(N,I,ce)).then(N=>{if(N){if(Wn(N,Qe.NAVIGATION_GUARD_REDIRECT))return A(Ne({replace:k},v(N.to),{state:typeof N.to=="object"?Ne({},Se,N.to.state):Se,force:Ze}),ie||I)}else N=L(I,ce,!0,k,Se);return j(I,ce,N),N})}function M($,ie){const X=g($,ie);return X?Promise.reject(X):Promise.resolve()}function E($){const ie=$t.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext($):$()}function R($,ie){let X;const[ce,Se,Ze]=c2($,ie);X=Jl(ce.reverse(),"beforeRouteLeave",$,ie);for(const S of ce)S.leaveGuards.forEach(I=>{X.push(yi(I,$,ie))});const k=M.bind(null,$,ie);return X.push(k),at(X).then(()=>{X=[];for(const S of r.list())X.push(yi(S,$,ie));return X.push(k),at(X)}).then(()=>{X=Jl(Se,"beforeRouteUpdate",$,ie);for(const S of Se)S.updateGuards.forEach(I=>{X.push(yi(I,$,ie))});return X.push(k),at(X)}).then(()=>{X=[];for(const S of Ze)if(S.beforeEnter)if(xn(S.beforeEnter))for(const I of S.beforeEnter)X.push(yi(I,$,ie));else X.push(yi(S.beforeEnter,$,ie));return X.push(k),at(X)}).then(()=>($.matched.forEach(S=>S.enterCallbacks={}),X=Jl(Ze,"beforeRouteEnter",$,ie,E),X.push(k),at(X))).then(()=>{X=[];for(const S of o.list())X.push(yi(S,$,ie));return X.push(k),at(X)}).catch(S=>Wn(S,Qe.NAVIGATION_CANCELLED)?S:Promise.reject(S))}
4function j($,ie,X){a.list().forEach(ce=>E(()=>ce($,ie,X)))}function L($,ie,X,ce,Se){const Ze=g($,ie);if(Ze)return Ze;const k=ie===Yt,S=As?history.state:{};X&&(ce||k?s.replace($.fullPath,Ne({scroll:k&&S&&S.scroll},Se)):s.push($.fullPath,Se)),l.value=$,Pt($,ie,X,k),Mt()}let K;function ve(){K||(K=s.listen(($,ie,X)=>{if(!qt.listening)return;const ce=_($),Se=T(ce,qt.currentRoute.value);if(Se){A(Ne(Se,{replace:!0,force:!0}),ce).catch(Fr);return}c=ce;const Ze=l.value;As&&i2(Xf(Ze.fullPath,X.delta),wl()),R(ce,Ze).catch(k=>Wn(k,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_CANCELLED)?k:Wn(k,Qe.NAVIGATION_GUARD_REDIRECT)?(A(Ne(v(k.to),{force:!0}),ce).then(S=>{Wn(S,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&!X.delta&&X.type===tu.pop&&s.go(-1,!1)}).catch(Fr),Promise.reject()):(X.delta&&s.go(-X.delta,!1),J(k,ce,Ze))).then(k=>{k=k||L(ce,Ze,!1),k&&(X.delta&&!Wn(k,Qe.NAVIGATION_CANCELLED)?s.go(-X.delta,!1):X.type===tu.pop&&Wn(k,Qe.NAVIGATION_ABORTED|Qe.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),j(ce,Ze,k)}).catch(Fr)}))}let de=gr(),q=gr(),re;function J($,ie,X){Mt($);const ce=q.list();return ce.length?ce.forEach(Se=>Se($,ie,X)):console.error($),Promise.reject($)}function Re(){return re&&l.value!==Yt?Promise.resolve():new Promise(($,ie)=>{de.add([$,ie])})}function Mt($){return re||(re=!$,ve(),de.list().forEach(([ie,X])=>$?X($):ie()),de.reset()),$}function Pt($,ie,X,ce){const{scrollBehavior:Se}=t;if(!As||!Se)return Promise.resolve();const Ze=!X&&s2(Xf($.fullPath,0))||(ce||!X)&&history.state&&history.state.scroll||null;return li().then(()=>Se($,ie,Ze)).then(k=>k&&n2(k)).catch(k=>J(k,$,ie))}const tt=$=>s.go($);let sn;const $t=new Set,qt={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:p,resolve:_,options:t,push:w,replace:y,go:tt,back:()=>tt(-1),forward:()=>tt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:q.add,isReady:Re,install($){$.component("RouterLink",P2),$.component("RouterView",K0),$.config.globalProperties.$router=qt,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>O(l)}),As&&!sn&&l.value===Yt&&(sn=!0,w(s.location).catch(ce=>{}));const ie={};for(const ce in Yt)Object.defineProperty(ie,ce,{get:()=>l.value[ce],enumerable:!0});$.provide(ad,qt),$.provide(N0,Rn(ie)),$.provide(Qc,l);const X=$.unmount;$t.add($),$.unmount=function(){$t.delete($),$t.size<1&&(c=Yt,K&&K(),K=null,l.value=Yt,sn=!1,re=!1),X()}}};function at($){return $.reduce((ie,X)=>ie.then(()=>E(X)),Promise.resolve())}return qt}const L2=/(:\w+)\([^)]+\)/g,N2=/(:\w+)[?+*]/g,$2=/:\w+/g,F2=(t,e)=>e.path.replace(L2,"$1").replace(N2,"$1").replace($2,n=>t.params[n.slice(1)]?.toString()||""),iu=(t,e)=>{const n=t.route.matched.find(s=>s.components?.default===t.Component.type),i=e??n?.meta.key??(n&&F2(t.route,n));return typeof i=="function"?i(t.route):i},H2=(t,e)=>({default:()=>t?pt(Tv,t===!0?{}:t,e):e});function Y0(t){return Array.isArray(t)?t:[t]}const j2="modulepreload",B2=function(t,e){return new URL(t,e).href},ch={},he=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=c(n.map(u=>{if(u=B2(u,i),u in ch)return;ch[u]=!0;const d=u.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(i)for(let m=o.length-1;m>=0;m--){const p=o[m];if(p.href===u&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":j2,d||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),d)return new Promise((m,p)=>{h.addEventListener("load",m),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})};var Pe;(function(t){t.assertEqual=s=>{};function e(s){}t.assertIs=e;function n(s){throw new Error}t.assertNever=n,t.arrayToEnum=s=>{const r={};for(const o of s)r[o]=o;return r},t.getValidEnumValues=s=>{const r=t.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),o={};for(const a of r)o[a]=s[a];return t.objectValues(o)},t.objectValues=s=>t.objectKeys(s).map(function(r){return s[r]}),t.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const r=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&r.push(o);return r},t.find=(s,r)=>{for(const o of s)if(r(o))return o},t.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function i(s,r=" | "){return s.map(o=>
vendor: 1,173 bytes, line 4
4typeof o=="string"?`'${o}'`:o).join(r)}t.joinValues=i,t.jsonStringifyReplacer=(s,r)=>typeof r=="bigint"?r.toString():r})(Pe||(Pe={}));var uh;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(uh||(uh={}));const ee=Pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),bi=t=>{switch(typeof t){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return Number.isNaN(t)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(t)?ee.array:t===null?ee.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?ee.promise:typeof Map<"u"&&t instanceof Map?ee.map:typeof Set<"u"&&t instanceof Set?ee.set:typeof Date<"u"&&t instanceof Date?ee.date:ee.object;default:return ee.unknown}},F=Pe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invali
4d_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class ci extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(r){return r.message},i={_errors:[]},s=r=>{for(const o of r.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)i._errors.push(n(o));else{let a=i,l=0;for(;l<o.path.length;){const c=o.path[l];l===o.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(n(o))):a[c]=a[c]||{_errors:[]},a=a[c],l++}}};return s(this),i}static assert(e){if(!(e instanceof ci))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Pe.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},i=[];for(const s of this.issues)if(s.path.length>0){const r=s.path[0];n[r]=n[r]||[],n[r].push(e(s))}else i.push(e(s));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}}ci.create=t=>new ci(t);const su=(t,e)=>{let n;switch(t.code){case F.invalid_type:t.received===ee.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case F.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,Pe.jsonStringifyReplacer)}`;break;case F.unrecognized_keys:n=`Unrecognized key(s) in object: ${Pe.joinValues(t.keys,", ")}`;break;case F.invalid_union:n="Invalid input";break;case F.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Pe.joinValues(t.options)}`;break;case F.invalid_enum_value:n=`Invalid enum value. Expected ${Pe.joinValues(t.options)}, received '${t.received}'`;break;case F.invalid_arguments:n="Invalid function arguments";break;case F.invalid_return_type:n="Invalid function return type";break;case F.invalid_date:n="Invalid date";break;case F.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:Pe.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case F.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case F.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case F.custom:n="Invalid input";break;case F.invalid_intersection_types:n="Intersection results could not be merged";break;case F.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case F.not_finite:n="Number must be finite";break;default:n=e.defaultError,Pe.assertNever(t)}return{message:n}};let V2=su;function z2(){return V2}const U2=t=>{const{data:e,path:n,errorMaps:i,issueData:s}=t,r=[...n,...s.path||[]],o={...s,path:r};if(s.message!==void 0)return{...s,path:r,message:s.message};let a="";const l=i.filter(c=>!!c).slice().reverse();for(const c of l)a=c(o,{data:e,defaultError:a}).message;return{...s,path:r,message:a}};function Z(t,e){const n=z2(),i=U2({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===su?void 0:su].filter(s=>!!s)});t.common.issues.push(i)}class Nt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const i=[];for(const s of n){if(s.status==="aborted")return _e;s.status==="dirty"&&e.dirty(),i.push(s.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,n){const i=[];for(const s of n){const r=await s.key,o=await s.value;i.push({key:r,value:o})}return Nt.mergeObjectSync(e,i)}static mergeObjectSync(e,n){const i={};for(const s of n){const{key:r,value:o}=s;
vendor: 33,346 bytes, line 4
4if(r.status==="aborted"||o.status==="aborted")return _e;r.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(i[r.value]=o.value)}return{status:e.value,value:i}}}const _e=Object.freeze({status:"aborted"}),Ar=t=>({status:"dirty",value:t}),dn=t=>({status:"valid",value:t}),dh=t=>t.status==="aborted",fh=t=>t.status==="dirty",Ys=t=>t.status==="valid",Oa=t=>typeof Promise<"u"&&t instanceof Promise;var se;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(se||(se={}));class Vn{constructor(e,n,i,s){this._cachedPath=[],this.parent=e,this.data=n,this._path=i,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hh=(t,e)=>{if(Ys(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new ci(t.common.issues);return this._error=n,this._error}}};function xe(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:i,description:s}=t;if(e&&(n||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(o,a)=>{const{message:l}=t;return o.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??i??a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:l??n??a.defaultError}},description:s}}class Ce{get description(){return this._def.description}_getType(e){return bi(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:bi(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Nt,ctx:{common:e.parent.common,data:e.data,parsedType:bi(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Oa(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const i=this.safeParse(e,n);if(i.success)return i.data;throw i.error}safeParse(e,n){const i={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bi(e)},s=this._parseSync({data:e,path:i.path,parent:i});return hh(i,s)}"~validate"(e){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bi(e)};if(!this["~standard"].async)try{const i=this._parseSync({data:e,path:[],parent:n});return Ys(i)?{value:i.value}:{issues:n.common.issues}}catch(i){i?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(i=>Ys(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(e,n){const i=await this.safeParseAsync(e,n);if(i.success)return i.data;throw i.error}async safeParseAsync(e,n){const i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bi(e)},s=this._parse({data:e,path:i.path,parent:i}),r=await(Oa(s)?s:Promise.resolve(s));return hh(i,r)}refine(e,n){const i=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,r)=>{const o=e(s),a=()=>r.addIssue({code:F.custom,...i(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(e,n){return this._refinement((i,s)=>e(i)?!0:(s.addIssue(typeof n=="function"?n(i,s):n),!1))}_refinement(e){return new Ri({schema:this,typeName:ye.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ri.create(this,this._def)}nullable(){return ms.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return $n.create(this)}promise(){return Fa.create(this,this._def)}or(e){return Da.create([this,e],this._def)}and(e){return La.create(this,e,this._def)}transform(e){return new Ri({...xe(this._def),schema:this,typeName:ye.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Ha({...xe(this._def),innerType:this,defaultValue:n,typeName:ye.ZodDefault})}brand(){return new Q0({typeName:ye.ZodBranded,type:this,...xe(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new ja({...xe(this._def),innerType:this,catchValue:n,typeName:ye.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return ud.create(this,e)}readonly(){return Ba.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const W2=/^c[^\s-]{8,}$/i,q2=/^[0-9a-z]+$/,G2=/^[0-9A-HJKMNP-TV-Z]{26}$/i,K2=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Y2=/^[a-z0-9_-]{21}$/i,Z2=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,X2=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,J2=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Q2="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ql;const eS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,tS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,nS=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,iS=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,sS=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,rS=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Z0="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",oS=new RegExp(`^${Z0}$`);function X0(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function aS(t){return new RegExp(`^${X0(t)}$`)}function lS(t){let e=`${Z0}T${X0(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function cS(t,e){return!!((e==="v4"||!e)&&eS.test(t)||(e==="v6"||!e)&&nS.test(t))}function uS(t,e){if(!Z2.test(t))return!1;try{const[n]=t.split(".");if(!n)return!1;const i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(i));return!(typeof s!="object"||s===null||"typ"in s&&s?.typ!=="JWT"||!s.alg||e&&s.alg!==e)}catch{return!1}}function dS(t,e){return!!((e==="v4"||!e)&&tS.test(t)||(e==="v6"||!e)&&iS.test(t))}class Dn extends Ce{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==ee.string){const r=this._getOrReturnCtx(e);return Z(r,{code:F.invalid_type,expected:ee.string,received:r.parsedType}),_e}const i=new Nt;let s;for(const r of this._def.checks)if(r.kind==="min")e.data.length<r.value&&(s=this._getOrReturnCtx(e,s),Z(s,{code:F.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="max")e.data.length>r.value&&(s=this._getOrReturnCtx(e,s),Z(s,{code:F.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="length"){const o=e.data.length>r.value,a=e.data.length<r.value;(o||a)&&(s=this._getOrReturnCtx(e,s),o?Z(s,{code:F.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):a&&Z(s,{code:F.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),i.dirty())}else if(r.kind==="email")J2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"email",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="emoji")Ql||(Ql=new RegExp(Q2,"u")),Ql.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"emoji",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="uuid")K2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"uuid",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="nanoid")Y2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"nanoid",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid")W2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"cuid",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid2")q2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"cuid2",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="ulid")G2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"ulid",code:F.invalid_string,message:r.message}),i.dirty());else if(r.kind==="url")try{new URL(e.data)}catch{s=this._getOrReturnCtx(e,s),Z(s,{validation:"url",code:F.invalid_string,message:r.message}),i.dirty()}else r.kind==="regex"?(r.regex.lastIndex=0,r.regex.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"regex",code:F.invalid_string,message:r.message}),i.dirty())):r.kind==="trim"?e.data=e.data.trim():r.kind==="includes"?e.data.includes(r.value,r.position)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),i.dirty()):r.kind==="toLowerCase"?e.data=e.data.toLowerCase():r.kind==="toUpperCase"?e.data=e.data.toUpperCase():r.kind==="startsWith"?e.data.startsWith(r.value)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:{startsWith:r.value},message:r.message}),i.dirty()):r.kind==="endsWith"?e.data.endsWith(r.value)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:{endsWith:r.value},message:r.message}),i.dirty()):r.kind==="datetime"?lS(r).test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:"datetime",message:r.message}),i.dirty()):r.kind==="date"?oS.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:"date",message:r.message}),i.dirty()):r.kind==="time"?aS(r).test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{code:F.invalid_string,validation:"time",message:r.message}),i.dirty()):r.kind==="duration"?X2.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"duration",code:F.invalid_string,message:r.message}),i.dirty()):r.kind==="ip"?cS(e.data,r.version)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"ip",code:F.invalid_string,message:r.message}),i.dirty()):r.kind==="jwt"?uS(e.data,r.alg)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"jwt",code:F.invalid_string,message:r.message}),i.dirty()):r.kind==="cidr"?dS(e.data,r.version)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"cidr",code:F.invalid_string,message:r.message}),i.dirty()):r.kind==="base64"?sS.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"base64",code:F.invalid_string,message:r.message}),i.dirty()):r.kind==="base64url"?rS.test(e.data)||(s=this._getOrReturnCtx(e,s),Z(s,{validation:"base64url",code:F.invalid_string,message:r.message}),i.dirty()):Pe.assertNever(r);return{status:i.value,value:e.data}}_regex(e,n,i){return this.refinement(s=>e.test(s),{validation:n,code:F.invalid_string,...se.errToObj(i)})}_addCheck(e){return new Dn({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...se.errToObj(e)})}url(e){return this._addCheck({kind:"url",...se.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...se.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...se.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...se.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...se.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...se.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...se.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...se.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...se.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...se.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...se.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...se.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...se.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...se.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...se.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...se.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...se.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...se.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...se.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...se.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...se.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...se.errToObj(n)})}nonempty(e){return this.min(1,se.errToObj(e))}trim(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Dn.create=t=>new Dn({checks:[],typeName:ye.ZodString,coerce:t?.coerce??!1,...xe(t)});function fS(t,e){const n=(t.toString().split(".")[1]||"").length,i=(e.toString().split(".")[1]||"").length,s=n>i?n:i,r=Number.parseInt(t.toFixed(s).replace(".","")),o=Number.parseInt(e.toFixed(s).replace(".",""));return r%o/10**s}class ds extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==ee.number){const r=this._getOrReturnCtx(e);return Z(r,{code:F.invalid_type,expected:ee.number,received:r.parsedType}),_e}let i;const s=new Nt;for(const r of this._def.checks)r.kind==="int"?Pe.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),Z(i,{code:F.invalid_type,expected:"integer",received:"float",message:r.message}),s.dirty()):r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),s.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),s.dirty()):r.kind==="multipleOf"?fS(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),Z(i,{code:F.not_finite,message:r.message}),s.dirty()):Pe.assertNever(r);return{status:s.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,se.toString(n))}gt(e,n){return this.setLimit("min",e,!1,se.toString(n))}lte(e,n){return this.setLimit("max",e,!0,se.toString(n))}lt(e,n){return this.setLimit("max",e,!1,se.toString(n))}setLimit(e,n,i,s){return new ds({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:se.toString(s)}]})}_addCheck(e){return new ds({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:se.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:se.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:se.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:se.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:se.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:se.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:se.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:se.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:se.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Pe.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(e===null||i.value<e)&&(e=i.value)}return Number.isFinite(n)&&Number.isFinite(e)}}ds.create=t=>new ds({checks:[],typeName:ye.ZodNumber,coerce:t?.coerce||!1,...xe(t)});class fs extends Ce{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==ee.bigint)return this._getInvalidInput(e);let i;const s=new Nt;for(const r of this._def.checks)r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),s.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),s.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(i=this._getOrReturnCtx(e,i),Z(i,{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),s.dirty()):Pe.assertNever(r);return{status:s.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return Z(n,{code:F.invalid_type,expected:ee.bigint,received:n.parsedType}),_e}gte(e,n){return this.setLimit("min",e,!0,se.toString(n))}gt(e,n){return this.setLimit("min",e,!1,se.toString(n))}lte(e,n){return this.setLimit("max",e,!0,se.toString(n))}lt(e,n){return this.setLimit("max",e,!1,se.toString(n))}setLimit(e,n,i,s){return new fs({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:i,message:se.toString(s)}]})}_addCheck(e){return new fs({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:se.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:se.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:se.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:se.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:se.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}fs.create=t=>new fs({checks:[],typeName:ye.ZodBigInt,coerce:t?.coerce??!1,...xe(t)});class Ra extends Ce{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==ee.boolean){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.boolean,received:i.parsedType}),_e}return dn(e.data)}}Ra.create=t=>new Ra({typeName:ye.ZodBoolean,coerce:t?.coerce||!1,...xe(t)});class Zs extends Ce{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==ee.date){const r=this._getOrReturnCtx(e);return Z(r,{code:F.invalid_type,expected:ee.date,received:r.parsedType}),_e}if(Number.isNaN(e.data.getTime())){const r=this._getOrReturnCtx(e);return Z(r,{code:F.invalid_date}),_e}const i=new Nt;let s;for(const r of this._def.checks)r.kind==="min"?e.data.getTime()<r.value&&(s=this._getOrReturnCtx(e,s),Z(s,{code:F.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),i.dirty()):r.kind==="max"?e.data.getTime()>r.value&&(s=this._getOrReturnCtx(e,s),Z(s,{code:F.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):Pe.assertNever(r);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Zs({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:se.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:se.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Zs.create=t=>new Zs({checks:[],coerce:t?.coerce||!1,typeName:ye.ZodDate,...xe(t)});class ph extends Ce{_parse(e){if(this._getType(e)!==ee.symbol){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.symbol,received:i.parsedType}),_e}return dn(e.data)}}ph.create=t=>new ph({typeName:ye.ZodSymbol,...xe(t)});class ru extends Ce{_parse(e){if(this._getType(e)!==ee.undefined){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.undefined,received:i.parsedType}),_e}return dn(e.data)}}ru.create=t=>new ru({typeName:ye.ZodUndefined,...xe(t)});class ou extends Ce{_parse(e){if(this._getType(e)!==ee.null){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.null,received:i.parsedType}),_e}return dn(e.data)}}ou.create=t=>new ou({typeName:ye.ZodNull,...xe(t)});class mh extends Ce{constructor(){super(...arguments),this._any=!0}_parse(e){return dn(e.data)}}mh.create=t=>new mh({typeName:ye.ZodAny,...xe(t)});class au extends Ce{constructor(){super(...arguments),this._unknown=!0}_parse(e){return dn(e.data)}}au.create=t=>new au({typeName:ye.ZodUnknown,...xe(t)});class Oi extends Ce{_parse(e){const n=this._getOrReturnCtx(e);return Z(n,{code:F.invalid_type,expected:ee.never,received:n.parsedType}),_e}}Oi.create=t=>new Oi({typeName:ye.ZodNever,...xe(t)});class gh extends Ce{_parse(e){if(this._getType(e)!==ee.undefined){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.void,received:i.parsedType}),_e}return dn(e.data)}}gh.create=t=>new gh({typeName:ye.ZodVoid,...xe(t)});class $n extends Ce{_parse(e){const{ctx:n,status:i}=this._processInputParams(e),s=this._def;if(n.parsedType!==ee.array)return Z(n,{code:F.invalid_type,expected:ee.array,received:n.parsedType}),_e;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,a=n.data.length<s.exactLength.value;(o||a)&&(Z(n,{code:o?F.too_big:F.too_small,minimum:a?s.exactLength.value:void 0,maximum:o?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),i.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(Z(n,{code:F.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),i.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(Z(n,{code:F.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>s.type._parseAsync(new Vn(n,o,n.path,a)))).then(o=>Nt.mergeArray(i,o));const r=[...n.data].map((o,a)=>s.type._parseSync(new Vn(n,o,n.path,a)));return Nt.mergeArray(i,r)}get element(){return this._def.type}min(e,n){return new $n({...this._def,minLength:{value:e,message:se.toString(n)}})}max(e,n){return new $n({...this._def,maxLength:{value:e,message:se.toString(n)}})}length(e,n){return new $n({...this._def,exactLength:{value:e,message:se.toString(n)}})}nonempty(e){return this.min(1,e)}}$n.create=(t,e)=>new $n({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ye.ZodArray,...xe(e)});function Cs(t){if(t instanceof ct){const e={};for(const n in t.shape){const i=t.shape[n];e[n]=ri.create(Cs(i))}return new ct({...t._def,shape:()=>e})}else return t instanceof $n?new $n({...t._def,type:Cs(t.element)}):t instanceof ri?ri.create(Cs(t.unwrap())):t instanceof ms?ms.create(Cs(t.unwrap())):t instanceof hs?hs.create(t.items.map(e=>Cs(e))):t}class ct extends Ce{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Pe.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==ee.object){const c=this._getOrReturnCtx(e);return Z(c,{code:F.invalid_type,expected:ee.object,received:c.parsedType}),_e}const{status:i,ctx:s}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof Oi&&this._def.unknownKeys==="strip"))for(const c in s.data)o.includes(c)||a.push(c);const l=[];for(const c of o){const u=r[c],d=s.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Vn(s,d,s.path,c)),alwaysSet:c in s.data})}if(this._def.catchall instanceof Oi){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of a)l.push({key:{status:"valid",value:u},value:{status:"valid",value:s.data[u]}});else if(c==="strict")a.length>0&&(Z(s,{code:F.unrecognized_keys,keys:a}),i.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of a){const d=s.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Vn(s,d,s.path,u)),alwaysSet:u in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key,f=await u.value;c.push({key:d,value:f,alwaysSet:u.alwaysSet})}return c}).then(c=>Nt.mergeObjectSync(i,c)):Nt.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(e){return se.errToObj,new ct({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,i)=>{const s=this._def.errorMap?.(n,i).message??i.defaultError;return n.code==="unrecognized_keys"?{message:se.errToObj(e).message??s}:{message:s}}}:{}})}strip(){return new ct({...this._def,unknownKeys:"strip"})}passthrough(){return new ct({...this._def,unknownKeys:"passthrough"})}extend(e){return new ct({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ct({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ye.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new ct({...this._def,catchall:e})}pick(e){const n={};for(const i of Pe.objectKeys(e))e[i]&&this.shape[i]&&(n[i]=this.shape[i]);return new ct({...this._def,shape:()=>n})}omit(e){const n={};for(const i of Pe.objectKeys(this.shape))e[i]||(n[i]=this.shape[i]);return new ct({...this._def,shape:()=>n})}deepPartial(){return Cs(this)}partial(e){const n={};for(const i of Pe.objectKeys(this.shape)){const s=this.shape[i];e&&!e[i]?n[i]=s:n[i]=s.optional()}return new ct({...this._def,shape:()=>n})}required(e){const n={};for(const i of Pe.objectKeys(this.shape))if(e&&!e[i])n[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof ri;)r=r._def.innerType;n[i]=r}return new ct({...this._def,shape:()=>n})}keyof(){return J0(Pe.objectKeys(this.shape))}}ct.create=(t,e)=>new ct({shape:()=>t,unknownKeys:"strip",catchall:Oi.create(),typeName:ye.ZodObject,...xe(e)});ct.strictCreate=(t,e)=>new ct({shape:()=>t,unknownKeys:"strict",catchall:Oi.create(),typeName:ye.ZodObject,...xe(e)});ct.lazycreate=(t,e)=>new ct({shape:t,unknownKeys:"strip",catchall:Oi.create(),typeName:ye.ZodObject,...xe(e)});class Da extends Ce{_parse(e){const{ctx:n}=this._processInputParams(e),i=this._def.options;function s(r){for(const a of r)if(a.result.status==="valid")return a.result;for(const a of r)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=r.map(a=>new ci(a.ctx.common.issues));return Z(n,{code:F.invalid_union,unionErrors:o}),_e}if(n.common.async)return Promise.all(i.map(async r=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await r._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let r;const o=[];for(const l of i){const c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!r&&(r={result:u,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(r)return n.common.issues.push(...r.ctx.common.issues),r.result;const a=o.map(l=>new ci(l));return Z(n,{code:F.invalid_union,unionErrors:a}),_e}}get options(){return this._def.options}}Da.create=(t,e)=>new Da({options:t,typeName:ye.ZodUnion,...xe(e)});const Gn=t=>t instanceof cu?Gn(t.schema):t instanceof Ri?Gn(t.innerType()):t instanceof $a?[t.value]:t instanceof ps?t.options:t instanceof uu?Pe.objectValues(t.enum):t instanceof Ha?Gn(t._def.innerType):t instanceof ru?[void 0]:t instanceof ou?[null]:t instanceof ri?[void 0,...Gn(t.unwrap())]:t instanceof ms?[null,...Gn(t.unwrap())]:t instanceof Q0||t instanceof Ba?G
vendor: 6,666 bytes, line 4
4n(t.unwrap()):t instanceof ja?Gn(t._def.innerType):[];class cd extends Ce{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.object)return Z(n,{code:F.invalid_type,expected:ee.object,received:n.parsedType}),_e;const i=this.discriminator,s=n.data[i],r=this.optionsMap.get(s);return r?n.common.async?r._parseAsync({data:n.data,path:n.path,parent:n}):r._parseSync({data:n.data,path:n.path,parent:n}):(Z(n,{code:F.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),_e)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,i){const s=new Map;for(const r of n){const o=Gn(r.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const a of o){if(s.has(a))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);s.set(a,r)}}return new cd({typeName:ye.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:s,...xe(i)})}}function lu(t,e){const n=bi(t),i=bi(e);if(t===e)return{valid:!0,data:t};if(n===ee.object&&i===ee.object){const s=Pe.objectKeys(e),r=Pe.objectKeys(t).filter(a=>s.indexOf(a)!==-1),o={...t,...e};for(const a of r){const l=lu(t[a],e[a]);if(!l.valid)return{valid:!1};o[a]=l.data}return{valid:!0,data:o}}else if(n===ee.array&&i===ee.array){if(t.length!==e.length)return{valid:!1};const s=[];for(let r=0;r<t.length;r++){const o=t[r],a=e[r],l=lu(o,a);if(!l.valid)return{valid:!1};s.push(l.data)}return{valid:!0,data:s}}else return n===ee.date&&i===ee.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class La extends Ce{_parse(e){const{status:n,ctx:i}=this._processInputParams(e),s=(r,o)=>{if(dh(r)||dh(o))return _e;const a=lu(r.value,o.value);return a.valid?((fh(r)||fh(o))&&n.dirty(),{status:n.value,value:a.data}):(Z(i,{code:F.invalid_intersection_types}),_e)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([r,o])=>s(r,o)):s(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}La.create=(t,e,n)=>new La({left:t,right:e,typeName:ye.ZodIntersection,...xe(n)});class hs extends Ce{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.array)return Z(i,{code:F.invalid_type,expected:ee.array,received:i.parsedType}),_e;if(i.data.length<this._def.items.length)return Z(i,{code:F.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),_e;!this._def.rest&&i.data.length>this._def.items.length&&(Z(i,{code:F.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const r=[...i.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new Vn(i,o,i.path,a)):null}).filter(o=>!!o);return i.common.async?Promise.all(r).then(o=>Nt.mergeArray(n,o)):Nt.mergeArray(n,r)}get items(){return this._def.items}rest(e){return new hs({...this._def,rest:e})}}hs.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new hs({items:t,typeName:ye.ZodTuple,rest:null,...xe(e)})};class Na extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.object)return Z(i,{code:F.invalid_type,expected:ee.object,received:i.parsedType}),_e;const s=[],r=this._def.keyType,o=this._def.valueType;for(const a in i.data)s.push({key:r._parse(new Vn(i,a,i.path,a)),value:o._parse(new Vn(i,i.data[a],i.path,a)),alwaysSet:a in i.data});return i.common.async?Nt.mergeObjectAsync(n,s):Nt.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(e,n,i){return n instanceof Ce?new Na({keyType:e,valueType:n,typeName:ye.ZodRecord,...xe(i)}):new Na({keyType:Dn.create(),valueType:e,typeName:ye.ZodRecord,...xe(n)})}}class _h extends Ce{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.map)return Z(i,{code:F.invalid_type,expected:ee.map,received:i.parsedType}),_e;const s=this._def.keyType,r=this._def.valueType,o=[...i.data.entries()].map(([a,l],c)=>({key:s._parse(new Vn(i,a,i.path,[c,"key"])),value:r._parse(new Vn(i,l,i.path,[c,"value"]))}));if(i.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of o){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return _e;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(c.value,u.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of o){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return _e;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(c.value,u.value)}return{status:n.value,value:a}}}}_h.create=(t,e,n)=>new _h({valueType:e,keyType:t,typeName:ye.ZodMap,...xe(n)});class ro extends Ce{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.parsedType!==ee.set)return Z(i,{code:F.invalid_type,expected:ee.set,received:i.parsedType}),_e;const s=this._def;s.minSize!==null&&i.data.size<s.minSize.value&&(Z(i,{code:F.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&i.data.size>s.maxSize.value&&(Z(i,{code:F.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const r=this._def.valueType;function o(l){const c=new Set;for(const u of l){if(u.status==="aborted")return _e;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const a=[...i.data.values()].map((l,c)=>r._parse(new Vn(i,l,i.path,c)));return i.common.async?Promise.all(a).then(l=>o(l)):o(a)}min(e,n){return new ro({...this._def,minSize:{value:e,message:se.toString(n)}})}max(e,n){return new ro({...this._def,maxSize:{value:e,message:se.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}ro.create=(t,e)=>new ro({valueType:t,minSize:null,maxSize:null,typeName:ye.ZodSet,...xe(e)});class cu extends Ce{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}cu.create=(t,e)=>new cu({getter:t,typeName:ye.ZodLazy,...xe(e)});class $a extends Ce{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Z(n,{received:n.data,code:F.invalid_literal,expected:this._def.value}),_e}
vendor: 5,170 bytes, line 4
4return{status:"valid",value:e.data}}get value(){return this._def.value}}$a.create=(t,e)=>new $a({value:t,typeName:ye.ZodLiteral,...xe(e)});function J0(t,e){return new ps({values:t,typeName:ye.ZodEnum,...xe(e)})}class ps extends Ce{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),i=this._def.values;return Z(n,{expected:Pe.joinValues(i),received:n.parsedType,code:F.invalid_type}),_e}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const n=this._getOrReturnCtx(e),i=this._def.values;return Z(n,{received:n.data,code:F.invalid_enum_value,options:i}),_e}return dn(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return ps.create(e,{...this._def,...n})}exclude(e,n=this._def){return ps.create(this.options.filter(i=>!e.includes(i)),{...this._def,...n})}}ps.create=J0;class uu extends Ce{_parse(e){const n=Pe.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==ee.string&&i.parsedType!==ee.number){const s=Pe.objectValues(n);return Z(i,{expected:Pe.joinValues(s),received:i.parsedType,code:F.invalid_type}),_e}if(this._cache||(this._cache=new Set(Pe.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const s=Pe.objectValues(n);return Z(i,{received:i.data,code:F.invalid_enum_value,options:s}),_e}return dn(e.data)}get enum(){return this._def.values}}uu.create=(t,e)=>new uu({values:t,typeName:ye.ZodNativeEnum,...xe(e)});class Fa extends Ce{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.promise&&n.common.async===!1)return Z(n,{code:F.invalid_type,expected:ee.promise,received:n.parsedType}),_e;const i=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return dn(i.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Fa.create=(t,e)=>new Fa({type:t,typeName:ye.ZodPromise,...xe(e)});class Ri extends Ce{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ye.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:i}=this._processInputParams(e),s=this._def.effect||null,r={addIssue:o=>{Z(i,o),o.fatal?n.abort():n.dirty()},get path(){return i.path}};if(r.addIssue=r.addIssue.bind(r),s.type==="preprocess"){const o=s.transform(i.data,r);if(i.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return _e;const l=await this._def.schema._parseAsync({data:a,path:i.path,parent:i});return l.status==="aborted"?_e:l.status==="dirty"||n.value==="dirty"?Ar(l.value):l});{if(n.value==="aborted")return _e;const a=this._def.schema._parseSync({data:o,path:i.path,parent:i});return a.status==="aborted"?_e:a.status==="dirty"||n.value==="dirty"?Ar(a.value):a}}if(s.type==="refinement"){const o=a=>{const l=s.refinement(a,r);if(i.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(i.common.async===!1){const a=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return a.status==="aborted"?_e:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(a=>a.status==="aborted"?_e:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(s.type==="transform")if(i.common.async===!1){const o=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!Ys(o))return _e;const a=s.transform(o.value,r);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(o=>Ys(o)?Promise.resolve(s.transform(o.value,r)).then(a=>({status:n.value,value:a})):_e);Pe.assertNever(s)}}Ri.create=(t,e,n)=>new Ri({schema:t,typeName:ye.ZodEffects,effect:e,...xe(n)});Ri.createWithPreprocess=(t,e,n)=>new Ri({schema:e,effect:{type:"preprocess",transform:t},typeName:ye.ZodEffects,...xe(n)});class ri extends Ce{_parse(e){return this._getType(e)===ee.undefined?dn(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ri.create=(t,e)=>new ri({innerType:t,typeName:ye.ZodOptional,...xe(e)});class ms extends Ce{_parse(e){return this._getType(e)===ee.null?dn(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ms.create=(t,e)=>new ms({innerType:t,typeName:ye.ZodNullable,...xe(e)});class Ha extends Ce{_parse(e){const{ctx:n}=this._processInputParams(e);let i=n.data;return n.parsedType===ee.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Ha.create=(t,e)=>new Ha({innerType:t,typeName:ye.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...xe(e)});
4class ja extends Ce{_parse(e){const{ctx:n}=this._processInputParams(e),i={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return Oa(s)?s.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new ci(i.common.issues)},input:i.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new ci(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}ja.create=(t,e)=>new ja({innerType:t,typeName:ye.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...xe(e)});class yh extends Ce{_parse(e){if(this._getType(e)!==ee.nan){const i=this._getOrReturnCtx(e);return Z(i,{code:F.invalid_type,expected:ee.nan,received:i.parsedType}),_e}return{status:"valid",value:e.data}}}yh.create=t=>new yh({typeName:ye.ZodNaN,...xe(t)});class Q0 extends Ce{_parse(e){const{ctx:n}=this._processInputParams(e),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}}class ud extends Ce{_parse(e){const{status:n,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{const r=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?_e:r.status==="dirty"?(n.dirty(),Ar(r.value)):this._def.out._parseAsync({data:r.value,path:i.path,parent:i})})();{const s=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return s.status==="aborted"?_e:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:i.path,parent:i})}}static create(e,n){return new ud({in:e,out:n,typeName:ye.ZodPipeline})}}class Ba extends Ce{_parse(e){const n=this._def.innerType._parse(e),i=s=>(Ys(s)&&(s.value=Object.freeze(s.value)),s);return Oa(n)?n.then(s=>i(s)):i(n)}unwrap(){return this._def.innerType}}Ba.create=(t,e)=>new Ba({innerType:t,typeName:ye.ZodReadonly,...xe(e)});var ye;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ye||(ye={}));const x=Dn.create,C=ds.create;fs.create;const Ae=Ra.create;Zs.create;const hS=au.create;Oi.create;const we=$n.create,P=ct.create,Wt=Da.create,pS=cd.create;La.create;hs.create;const Ln=Na.create,Te=$a.create,pe=ps.create;Fa.create;ri.create;ms.create;const ws=Ri.createWithPreprocess,Xs={string:(t=>Dn.create({...t,coerce:!0})),number:(t=>ds.create({...t,coerce:!0})),boolean:(t=>Ra.create({...t,coerce:!0})),bigint:(t=>fs.create({...t,coerce:!0})),date:(t=>Zs.create({...t,coerce:!0}))},e_=P({fbp:x().optional(),fbc:x().optional(),ga:x().optional(),gaSession:x().optional(),irClickId:x().optional()}),mS=/^txn_[0-9a-zA-Z]{1,56}$/,dd=x().regex(mS,"Invalid transaction id"),gS=Wt([Te(0),Te(1),Te(2)]),fd=P({id:C(),userId:C(),productId:C().nullable(),paddleTransactionId:x(),invoiceNumber:x().nullable(),amount:x(),currency:x(),status:gS,createdAt:x(),updatedAt:x()});P({paddleTransactionId:dd,paddleCustomerId:x().min(1,"Paddle customer ID is required"),paddlePriceId:x().min(1,"Paddle price ID is required"),amount:x().min(1,"Amount is required"),currency:x().length(3,"Currency must be a 3-letter code")}).merge(e_);P({transaction:fd.nullable()});P({active:Ae(),transaction:fd.nullable()});P({customerAuthToken:x().nullable()});P({portalUrl:x().nullable()});const _S=fd.extend({productName:x().nullable()});P({transactions:we(_S),total:C(),page:C(),limit:C(),paymentCardLastFour:x().nullable(),paymentCardType:x().nullable(),paymentType:x().nullable(),paymentMethodSaved:Ae().nullable()});P({invoiceUrl:x().nullable()});const t_={Unverified:0,Active:1},n_=Wt([Te(0),Te(1),Te(2)]),yS={Web:1,Desktop:2},vo=Wt([Te(1),Te(2)]),bS=P({email:x().email("Invalid email address"),name:x({required_error:"Name is required"}).min(1,"Name is required").max(100),password:x().min(8,"Password must be at least 8 characters").max(100)}),hd=x().min(8,"Password must be at least 8 characters").max(100).regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[a-z]/,"Password must contain at least one lowercase letter").regex(/[0-9]/,"Password must contain at least one number").regex(/[A-Za-z0-9]/,"Password must contain at least one symbol"),YR=!1,vS=x({required_error:"Name is required"}).min(1,"Name is required").max(100),ZR=P({email:x().email("Invalid email address"),name:vS.optional(),password:hd,platform:vo.optional()}),XR=bS.pick({email:!0,password:!0}),pd=P({email:x().email(),name:x(),image:x().nullable().optional(),paddleCustomerId:x().optional(),status:n_,paid:C().int(),chatAlwaysOn:Wt([Te(0),Te(1)]).optional(),credits:C().optional(),totalCredits:C().optional(),paymentCardLastFour:x().nullable().optional(),paymentCardType:x().nullable().optional(),paymentType:x().nullable().optional(),paymentMethodSaved:Wt([Te(0),Te(1)]).optional(),hasPassword:Ae().optional(),onboardingCompleted:Ae().optional(),subscriptionEndsAt:x().nullable().optional(),subscriptionCancelScheduled:Ae().optional(),subscriptionFallbackTier:C().int().optional()});P({chatAlwaysOn:Wt([Te(0),Te(1)])});const Va=x().trim().min(1,"Telemetry id is required when provided").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),wS=pe(["app_close","heartbeat_timeout","crash","logout","unknown"]);P({clientSessionId:Va,installId:Va.optional(),timezone:x().trim().min(1,"Timezone is required when provided").max(64,"Timezone must be at most 64 characters").regex(/^[A-Za-z0-9_./+-]+$/,"Timezone must be an IANA timezone name").optional(),appVersion:x().trim().min(1,"App version is required when provided").max(40,"App version must be at most 40 characters").optional(),osName:x().trim().min(1,"OS name is required when provided").max(80,"OS name must be at most 80 characters").optional(),osVersion:x().trim().min(1,"OS version is required when provided").max(80,"OS version must be at most 80 characters").optional()}).strict();P({clientSessionId:Va,endReason:wS}
4).strict();P({clientSessionId:Va}).strict();P({active:Ae()}).strict();const JR=P({name:x({required_error:"Name is required"}).min(1,"Name is required").max(100)}),QR=P({currentPassword:x().min(1,"Current password is required").optional(),newPassword:hd}),md=P({accessToken:x(),refreshToken:x(),accessTokenExpiresIn:C(),refreshTokenExpiresIn:C(),user:pd.optional(),isNewUser:Ae().optional()});P({refreshToken:x().min(1,"Refresh token is required")});P({code:x().min(1,"Authorization code is required")});P({status:n_,code:x().optional()});P({user:pd,hasApp:Ae()});P({token:x().min(1,"Token is required")});P({platform:vo});const e6={Signup:1},xS=Wt([Te(1),Te(2)]),t6={Signup:1,Login:2},kS=Wt([Te(1),Te(2)]),n6=86400,i6=P({email:x().email("Invalid email address"),intent:kS,platform:vo.optional(),recaptchaToken:x().min(1,"reCAPTCHA token is required")});P({token:x().min(1,"Token is required")});md.extend({purpose:xS,platform:vo,hasApp:Ae()});const SS=pe(["google","facebook","linkedin"]);P({provider:SS,credential:x().min(1,"Provider credential is required"),platform:vo.optional()});md.extend({hasApp:Ae()});const s6=P({email:x().email("Invalid email address"),recaptchaToken:x().min(1,"reCAPTCHA token is required")});P({token:x().min(1,"Token is required"),newPassword:hd});P({paddleTransactionId:dd,email:x().email("Invalid email address")});P({requiresLogin:Ae()});P({paddleTransactionId:dd}).merge(e_);const du={Session:1,MagicLinkSent:2};pS("outcome",[md.extend({outcome:Te(du.Session),user:pd}),P({outcome:Te(du.MagicLinkSent)})]);const TS="image/webp",r6=512,o6=100,a6=["image/png","image/jpeg","image/webp"],l6=10*1024*1024;P({image:x()});const AS=Wt([Te(1),Te(2)]),CS=P({id:C(),paddleSubscriptionId:x(),productId:C().nullable(),productName:x().nullable(),status:AS,currentPeriodEnd:x().nullable(),scheduledCancelAt:x().nullable(),canceledAt:x().nullable(),createdAt:x()});P({subscription:CS.nullable()});const ES=pe(["crash","highlight","steps","other"]);P({feedback:x().trim().min(1,"Feedback is required").max(4e3,"Feedback must be 4000 characters or less"),subject:x().trim().min(1,"Subject is required").max(255,"Subject must be 255 characters or less"),feedbackFrom:x().trim().max(255,"Email must be 255 characters or less"),name:x().trim().max(255,"Name must be 255 characters or less").optional(),chatId:C().int("Chat id must be an integer").positive("Chat id must be positive").optional(),userAgent:x().trim().min(1,"User agent is required").max(512,"User agent must be 512 characters or less"),category:ES.optional(),taskId:C().int("Task id must be an integer").positive("Task id must be positive").optional()}).strict();const MS=P({id:x().max(64),ts:C(),scope:x().max(64),event:x().max(128),durationMs:C().optional(),status:pe(["success","fallback","error"]).optional(),meta:Ln(hS()).optional()});P({log:x().min(1).max(512*1024),appVersion:x(),platform:x(),reason:x().optional(),userId:C().int().positive().optional()});const PS=pe(["session_end","incremental","auto_on_error","crash"]),IS=P({id:C(),primary:Ae().optional(),scale:C().positive(),width:C().int().nonnegative(),height:C().int().nonnegative()}).strict();P({clientSessionId:x().trim().min(1).max(64),trigger:PS,hadError:Ae().optional(),appVersion:x().max(40).optional(),sha:x().max(64).optional(),os:x().max(128).optional(),displays:we(IS).max(16).optional(),note:x().max(2e3).optional(),entries:we(MS).max(600)}).strict();P({ok:Te(!0),clientSessionId:x(),storedEntries:C().int().nonnegative()}).strict();const OS=Wt([Te(0),Te(1),Te(2),Te(3),Te(4)]);P({id:C(),userId:C(),type:OS,amount:C(),createdAt:x()});P({credits:C(),totalCredits:C(),paid:C().int().optional(),creditsExhausted:Ae().optional(),allowance:Ae().optional(),subscriptionEndsAt:x().nullable().optional(),subscriptionCancelScheduled:Ae().optional(),subscriptionFallbackTier:C().int().optional()});const bh=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),RS=pe(["manual_next_step","hotkey_next_step","manual_complete_task","expand_ui","collapse_ui","auto_expand_ui","auto_collapse_ui","auto_advance_trigger","text_box_write","confirmation_response"]),DS=pe(["mouse","keyboard","system","assistant_control"]),LS=pe(["accept","reject","dismiss","timeout"]),NS={FreeChat:1},oo=Wt([Te(1),Te(2)]);P({clientEventId:bh,clientSessionId:bh,chatId:C().int().positive().optional(),chatTurnId:C().int().positive().optional(),occurredAt:x().datetime({offset:!0}).optional(),type:RS,mode:oo.optional(),source:DS.optional(),inputChars:C().int().min(0).max(1e5).optional(),confirmationResponse:LS.optional()}).strict();P({id:C().int().positive()});const $S=pe(["fast","balanced","deep"]);x({required_error:"Message is required"}).trim().min(1,"Message is required").max(7e3,"Message must be at most 7000 characters");const i_=x({required_error:"Message is required"}).trim().max(7e3,"Message must be at most 7000 characters"),s_=x({required_error:"Screenshot data URL is required"}).startsWith("data:image/","Screenshot must be an image data URL").max(6e6,"Screenshot data URL is too large"),xs=x().trim().max(1e3,"Control hint text must be at most 1000 characters"),r_=x({required_error:"Guide task goal is required"}).trim().min(1,"Guide task goal is required").max(512,"Guide task goal must be at most 512 characters"),Hr=x().trim().min(1,"Telemetry id is required when provided").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),FS=pe(["user","assistant"]),gd=P({id:C().int().positive(),title:x().min(1).max(120),taskGoal:x().max(512).nullable(),starred:Ae(),folderId:C().int().positive().nullable(),createdAt:x().datetime(),updatedAt:x().datetime()}),o_=P({id:C().int().positive(),name:x().min(1).max(120),chatCount:C().int().nonnegative(),createdAt:x().datetime(),updatedAt:x().datetime()}),a_=x({required_error:"Folder name is required"}).trim().min(1,"Folder name is required").max(120,"Folder name must be at most 120 characters");P({name:a_}).strict();P({name:a_}).strict();
4P({title:x().trim().min(1,"Chat title is required").max(120,"Chat title must be at most 120 characters").optional(),starred:Ae().optional(),folderId:C().int().positive().nullable().optional()}).strict().refine(t=>t.title!==void 0||t.starred!==void 0||t.folderId!==void 0,{message:"At least one chat field is required"});const l_=P({dataUrl:s_,width:C().int().positive().max(4096),height:C().int().positive().max(4096),sourceId:x().trim().min(1).max(200).optional(),capturedAt:x().datetime().optional()}),c_=pe(["user_message","next_step","show_click"]),HS=pe(["manual","auto"]),jS=pe(["none","show_element","show_action","start_guide_confirm","start_guide_auto","show_tour"]),BS=P({taskThought:xs.optional(),loopGuardTriggered:Ae().optional(),conflictPatternDetected:Ae().optional(),blockedLoopSteps:we(xs).max(8,"At most 8 blocked loop steps are supported").optional(),failedRecoveryBranch:P({openerStep:xs.optional(),recoveryStep:xs.optional()}).optional(),retryBlockedStep:xs.optional(),repeatedStepCount:C().int().nonnegative().max(20).optional(),reason:xs.optional()}),u_=P({intent:c_,advanceSource:HS.optional(),clientSessionId:Hr.optional(),screenshot:l_.optional(),controlHints:BS.optional(),voice:P({input:Ae(),responseEnabled:Ae()}).optional(),thinkingMode:$S.optional(),screenApp:x().trim().max(120,"Screen app must be at most 120 characters").optional(),guideStart:P({taskGoal:r_,appContext:x().trim().max(120,"Guide app context must be at most 120 characters").optional(),scopeGuard:x().trim().max(300,"Guide scope guard must be at most 300 characters").optional(),freshStart:Ae().optional()}).optional(),tourStart:P({appContext:x().trim().max(120,"Tour app context must be at most 120 characters").optional()}).optional(),inspectNotes:we(x().trim().min(1).max(500,"Inspect note must be at most 500 characters")).max(10,"At most 10 inspect notes are supported").optional()}),d_=pe(["click","type","select","open","drag","scroll","keypress","wait"]),f_=pe(["select","move"]),VS=pe(["up","down"]),zS=Wt([Te(0),Te(1)]),h_=P({target_role:x().nullable(),raw_name_candidates:we(x()),name_candidates:we(x()),control_type_candidates:we(x()),name:x().nullable(),control_type:x().nullable(),interactivity:x().nullable(),must_include_tokens:we(x()),must_exclude_tokens:we(x()),position_hint:Ln(x()).nullable(),position_index:Ln(x()).nullable(),ancestor_hint:Ln(x()).nullable(),siblings_hint:we(Ln(x())),automation_id:x().nullable(),class_name:x().nullable(),help_text:x().nullable(),access_key:x().nullable(),accelerator_key:x().nullable(),parent_name:x().nullable(),ancestor_name:x().nullable()}),US=P({message:x().max(2e3),uiaTarget:h_.nullable(),targetDescription:x().max(500).nullable()}),p_=P({assistantMessageId:C().int().positive(),highlight:Ae(),isStep:Ae().nullable(),stepDone:Ae().nullable(),taskDone:Ae().nullable(),taskProgress:C().int().min(0).max(100).nullable(),actionType:d_.nullable(),dragKind:f_.nullable(),typeText:x().max(2e3).nullable(),keys:x().max(64).nullable(),scrollDirection:VS.nullable(),uiaTarget:h_.nullable(),uiaTargetSource:pe(["assistant","heuristic"]).nullable(),targetDescription:x().nullable(),taskThought:x().nullable(),control:pe(["reset_task","change_task"]).nullable(),guideIntent:jS.nullable(),guideTaskGoal:r_.nullable(),tour:we(US).max(6).nullable(),tourProgramName:x().max(200).nullable()}),WS=P({id:C().int().positive(),chatId:C().int().positive(),role:FS,content:x(),guidance:p_.optional(),intent:c_.optional(),hidden:Ae().optional(),createdAt:x().datetime()});P({message:i_.default(""),context:u_.optional()}).superRefine((t,e)=>{t.message.length>0||e.addIssue({code:F.custom,message:"Message is required",path:["message"]})});P({message:i_.default(""),context:u_.optional()}).superRefine((t,e)=>{t.context?.intent!=="next_step"&&t.message.length===0&&e.addIssue({code:F.custom,message:"Message is required",path:["message"]})});P({limit:Xs.number().int().min(1).max(100).default(50),cursor:x().min(1).optional(),scope:pe(["ungrouped","starred","folder"]).optional(),folderId:Xs.number().int().positive().optional()}).strict().superRefine((t,e)=>{t.scope==="folder"&&t.folderId===void 0&&e.addIssue({code:F.custom,message:"folderId is required for the folder scope",path:["folderId"]}),t.scope!=="folder"&&t.folderId!==void 0&&e.addIssue({code:F.custom,message:"folderId is only valid with the folder scope",path:["folderId"]})});P({chats:we(gd),folders:we(o_),nextCursor:x().nullable(),starredCount:C().int().nonnegative().optional(),totalCount:C().int().nonnegative().optional()});const vh=we(C().int().positive()).max(500);P({chatIds:vh.min(1).optional(),all:Te(!0).optional(),excludeIds:vh.optional()}).strict().superRefine((t,e)=>{t.chatIds===void 0==(t.all===void 0)&&e.addIssue({code:F.custom,message:"Provide exactly one of chatIds or all",path:["chatIds"]}),t.excludeIds!==void 0&&t.all===void 0&&e.addIssue({code:F.custom,message:"excludeIds is only valid with all",path:["excludeIds"]})});P({deletedCount:C().int().nonnegative()});P({folder:o_});P({chat:gd});P({chat:gd,messages:we(WS),chatTurnId:C().int().positive().optional(),completedTaskId:C().int().positive().optional(),creditsRemaining:C(),totalCredits:C(),guidance:p_.optional(),creditsExhausted:Ae().optional()});P({clientSessionId:Hr.optional(),interactionClientEventId:Hr.optional(),modeSwitchClientEventId:Hr.optional(),chatTurnId:C().int().positive().optional(),occurredAt:x().datetime({offset:!0}).optional(),originalMode:oo.optional()}).strict().superRefine((t,e)=>{const n=t.interactionClientEventId!==void 0,i=t.modeSwitchClientEventId!==void 0;t.clientSessionId===void 0&&(n||i||t.chatTurnId!==void 0)&&e.addIssue({code:F.custom,message:"clientSessionId is required when completion telemetry is provided",path:["clientSessionId"]}),t.chatTurnId!==void 0&&!n&&e.addIssue({code:F.custom,message:"chatTurnId requires interactionClientEventId",path:["chatTurnId"]}),i&&t.originalMode===void 0&&e.addIssue({code:F.custom,message:"originalMode is required when modeSwitchClientEventId is provided",path:["originalMode"]}),i&&t.originalMode===NS.FreeChat&&e.addIssue({code:F.custom,message:"modeSwitchClientEventId requires a guide-mode originalMode",path:["modeSwitchClientEventId"]})}).default({});P({taskId:C().int().positive().optional(),feedback:zS}).strict();const qS=x({required_error:"Locate callout is required"}).trim().min(1,"Locate callout is required").max(2e3,"Locate callout must be at most 2000 characters"),ec=P({x:C().finite(),y:C().finite()});P({callout:qS,clientSessionId:Hr.optional(),chatId:C().int().positive().optional(),chatTurnId:C().int().positive().optional(),userGoal:x().trim().min(1).max(2e3,"User goal must be at most 2000 characters").optional(),targetDescription:x().trim().min(1).max(2e3,"Target description must be at most 2000 characters").optional(),dragKind:f_.nullable().optional(),actionType:d_.optional(),screenshot:l_});P({click:ec.nullable(),drag:P({start:ec,end:ec}).nullable().optional(),aiCallId:C().int().positive().optional(),provider:pe(["openai","anthropic"]).optional(),model:x().max(100).optional(),creditsExhausted:Ae().optional()});const GS=P({x:C().finite(),y:C().finite(),width:C().finite().positive(),height:C().finite().positive()}).strict();P({dataUrl:s_,width:C().int().positive().max(4096),height:C().int().positive().max(4096),rect:GS}).strict();P({message:x()});const KS=x({required_error:"Audio MIME type is required"}).trim().max(50,"Audio MIME type must be at most 50 characters").regex(/^audio\/webm(?:;codecs=[A-Za-z0-9_.-]+)?$/i,"Audio must be WebM"),YS=x({required_error:"Audio is required"}).trim().min(1,"Audio is required").max(6e6,"Audio is too large");P({audioBase64:YS,audioMimeType:KS}
4).strict();P({text:x({required_error:"Transcript text is required"}).trim().min(1,"Transcript text is required").max(7e3,"Transcript text must be at most 7000 characters")}).strict();P({text:x({required_error:"Speech text is required"}).trim().min(1,"Speech text is required").max(4096,"Speech text must be at most 4096 characters")}).strict();const tc={Work:"work",School:"school",Personal:"personal"},ZS=pe(["work","school","personal"]),No={"18-29":"18-29","30-40":"30-40","41-55":"41-55","55+":"55+"},XS=pe(["18-29","30-40","41-55","55+"]),pi={YouTube:"youtube",Facebook:"facebook",Instagram:"instagram",Friend:"friend",Google:"google",ProductHunt:"product_hunt",Blog:"blog",LinkedIn:"linkedin",Other:"other"},JS=pe(["youtube","facebook","instagram","friend","google","product_hunt","blog","linkedin","other"]);P({purpose:ZS,ageGroup:XS,source:we(JS).min(1,"Pick at least one"),sourceOther:x().trim().max(200).optional()});const c6=[{key:"purpose",title:"What will you use Guidy for?",options:[{value:tc.Work,label:"For work"},{value:tc.School,label:"For school / uni"},{value:tc.Personal,label:"Personal use"}]},{key:"age",title:"How old are you?",options:[{value:No["18-29"],label:"18 - 29"},{value:No["30-40"],label:"30 - 40"},{value:No["41-55"],label:"41 - 55"},{value:No["55+"],label:"55+"}]},{key:"source",title:"Where did you hear about us?",multi:!0,options:[{value:pi.YouTube,label:"YouTube"},{value:pi.Facebook,label:"Facebook"},{value:pi.LinkedIn,label:"LinkedIn"},{value:pi.Instagram,label:"Instagram"},{value:pi.Google,label:"Google search"},{value:pi.Blog,label:"Blog / article"},{value:pi.Friend,label:"Friend / colleague"},{value:pi.Other,label:"Other"}]}],u6=P({email:x().trim().email("Please enter a valid email")}),d6={Draft:0,Published:1,Deleted:2},xl=Wt([Te(0),Te(1),Te(2)]),kl=P({id:C(),slug:x(),title:x(),excerpt:x(),image:x(),readMinutes:C(),author:x(),useCase:x().nullable(),publishedAt:x(),updatedAt:x()}),QS=kl.extend({body:x(),metaTitle:x().nullable(),metaDescription:x().nullable(),showCoverImage:Ae()});P({articles:we(kl),total:C(),page:C(),limit:C()});P({article:QS.nullable(),related:we(kl)});P({articles:we(kl)});const _d=P({id:C(),slug:x(),title:x(),status:xl,useCase:x().nullable(),author:x(),publishedAt:x().nullable(),createdAt:x(),updatedAt:x()}),eT=pe(["title","status","useCase","publishedAt","createdAt","updatedAt"]),tT=pe(["asc","desc"]),f6="none",ks=t=>t===""?void 0:t,nT=Date.parse("1970-01-01T00:00:01.000Z"),iT=Date.parse("2038-01-19T03:14:07.000Z");P({page:ws(ks,Xs.number().int().min(1).default(1)),status:ws(ks,Xs.number().int().pipe(xl).optional()),search:ws(ks,x().trim().min(1).max(191).optional()),useCase:ws(ks,x().trim().max(100).optional()),sortBy:ws(ks,eT.default("createdAt")),sortDir:ws(ks,tT.default("desc"))});P({articles:we(_d),total:C(),page:C(),limit:C()});P({status:xl});P({article:_d});P({id:Xs.number().int().positive()});const sT=_d.extend({metaTitle:x().nullable(),excerpt:x(),metaDescription:x().nullable(),image:x(),readMinutes:C(),body:x(),showCoverImage:Ae()});P({article:sT});const yd={title:x().trim().min(1).max(255),slug:x().trim().min(1).max(191).regex(/^[a-z0-9-]+$/),excerpt:x().trim().max(500),image:x().trim().max(500),body:x(),readMinutes:Xs.number().int().min(1).max(600),author:x().trim().min(1).max(120),showCoverImage:Ae(),status:xl,metaTitle:x().trim().max(255).nullable(),metaDescription:x().trim().max(500).nullable(),useCase:x().trim().max(100).nullable(),publishedAt:x().datetime().refine(t=>{const e=Date.parse(t);return e>=nT&&e<=iT},{message:"Publish date must be between 1970-01-01 and 2038-01-19 (UTC)"}).nullable()};P(yd).omit({status:!0}).partial().required({title:!0});P(yd).partial().refine(t=>Object.keys(t).length>0,{message:"No fields to update"});P({patch:P(yd).omit({status:!0}).partial().strict().refine(t=>Object.keys(t).length>0,{message:"No changes to publish"}),baseUpdatedAt:x().datetime().optional()});P({filename:x(),url:x()});const rT=["video/mp4","video/webm"],oT=100*1024*1024;P({filename:x().trim().min(1).max(255),contentType:pe(rT),size:C().int().positive().max(oT)});P({uploadUrl:x(),headers:Ln(x(),x()),filename:x(),url:x()});const h6=P({name:x().trim().min(1,"Name is required").max(120,"Name is too long"),email:x().trim().email("Please enter a valid email"),message:x().trim().min(1,"Message is required").max(5e3,"Message is too long"),recaptchaToken:x().min(1,"reCAPTCHA token is required")}),te={session:5,turnStart:10,goal:30,model:40,parse:50,cost:60,backendResponded:70,targetResolved:80,snapshotScore:90,locate:100,highlight:110,advance:120},aT=["name-weak","control-mismatch","no-candidates","margin-low","score-low","snapshot-empty"],lT=["settled","timeout"],cT=["timeout","motion-unsettled","max-retries","aborted","not-confirmed","typing-incomplete","pipeline-failed"],uT=["weak","strong","mismatch"],wh=["score-miss","snapshot-threw","no-screenshot","no-click","error"],dT=["not-collapsed","empty-text"],fT=[{scope:"session",event:"start",domain:"machine",phase:te.session,description:"Session opened; carries env header (appVersion, sha, os, displays, userId, chatId)."},{scope:"session",event:"end",domain:"machine",phase:te.session,description:"Clean session-end marker."},{scope:"session",event:"displays-changed",domain:"machine",phase:te.session,description:"Monitor topology/DPI changed mid-session (prime suspect for offset highlights)."},{scope:"assistant",event:"turn:start",domain:"machine",phase:te.turnStart,description:"Turn initiated; turnId + turnSeq minted here."},{scope:"assistant",event:"turn:result",domain:"machine",phase:te.backendResponded,description:"Turn succeeded; carries dispatchMs and guidance summary."},{scope:"assistant",event:"turn:error",domain:"machine",phase:te.backendResponded,description:"Turn request failed; carries error kind."},{scope:"assistant",event:"turn:timing",domain:"machine",phase:te.backendResponded,description:"Machine-side timing breakdown {dispatchMs, screenMs, refineMs, highlightMs}."},{scope:"assistant",event:"goal:normalized",domain:"backend",phase:te.goal,description:"Task goal normalized/summarized for the system prompt."},{scope:"assistant",event:"goal:fallback",domain:"backend",phase:te.goal,description:"Goal normalization failed; raw goal used as fallback."},{scope:"assistant",event:"goal:topic-shift",domain:"backend",phase:te.goal,description:"Detected topic shift; prior goal cleared."},{scope:"assistant",event:"model:error",domain:"backend",phase:te.model,description:"Model API call failed."},{scope:"assistant",event:"loop-guard:triggered",domain:"backend",phase:te.model,description:"Proposed step matched a recently-repeated step; retry armed."},{scope:"assistant",event:"loop-guard:retry",domain:"backend",phase:te.model,description:"Re-ran the model with the blocked-step hint."},{scope:"assistant",event:"parse:failed",domain:"backend",phase:te.parse,description:"Guidance JSON failed to parse/validate; carries reason + snippet."},{scope:"assistant",event:"completion:decision",domain:"backend",phase:te.parse,description:"Why taskDone flipped (taskDone/taskProgress/stepDone inputs)."},{scope:"credits",event:"cost",domain:"backend",phase:te.cost,de
4scription:"Per-turn token usage + USD {inputTokens, cachedTokens, outputTokens, usd}."},{scope:"uia",event:"target:resolved",domain:"machine",phase:te.targetResolved,description:"Structured UIA target parsed from AI guidance."},{scope:"uia",event:"target:none",domain:"machine",phase:te.targetResolved,description:"No structured target; hands off to the locate fallback."},{scope:"uia",event:"snapshot:ok",domain:"machine",phase:te.snapshotScore,description:"UIA tree captured; carries {nodeCount, attempt, snapshotMs, pruneMs}."},{scope:"uia",event:"snapshot:retry",domain:"machine",phase:te.snapshotScore,description:"Re-snapshot after an initial scoring miss (meta.attempt)."},{scope:"uia",event:"snapshot:failed",domain:"machine",phase:te.snapshotScore,description:"Snapshot returned not-ok (meta.reason, attempt)."},{scope:"uia",event:"snapshot:threw",domain:"machine",phase:te.snapshotScore,description:"Snapshot helper threw (meta.attempt)."},{scope:"uia",event:"snapshot:truncated",domain:"machine",phase:te.snapshotScore,description:"Tree truncated at maxDepth (meta.nodeCount)."},{scope:"uia",event:"score:ok",domain:"machine",phase:te.snapshotScore,description:"Scoring matched; carries score components + threshold + matched name."},{scope:"uia",event:"score:miss",domain:"machine",phase:te.snapshotScore,description:"Scoring found no match; carries components, threshold, reason.",reasons:aT},{scope:"helper",event:"ready",domain:"machine",phase:te.session,description:"C# helper spawned and responsive."},{scope:"helper",event:"spawn-failed",domain:"machine",phase:te.session,description:"Helper failed to start (meta.error)."},{scope:"helper",event:"exited",domain:"machine",phase:te.session,description:"Helper exited unexpectedly (meta.code, signal, stderr tail)."},{scope:"helper",event:"restarted",domain:"machine",phase:te.session,description:"Helper auto-restarted after death."},{scope:"locate",event:"requested",domain:"machine",phase:te.locate,description:"Locate fallback requested (meta.reason).",reasons:wh},{scope:"locate",event:"dispatch",domain:"machine",phase:te.locate,description:"Renderer handed the vision click to main to apply."},{scope:"locate",event:"refine:ok",domain:"machine",phase:te.locate,description:"Local UIA refinement of the vision rect succeeded."},{scope:"locate",event:"refine:failed",domain:"machine",phase:te.locate,description:"Local refinement failed (meta.reason)."},{scope:"locate",event:"refine:threw",domain:"machine",phase:te.locate,description:"Local refinement threw."},{scope:"locate",event:"no-rect",domain:"machine",phase:te.locate,description:"Vision locate returned no usable rect."},{scope:"locate",event:"applied",domain:"machine",phase:te.locate,description:"Highlight rect applied from computer-use (meta.source, display, scale)."},{scope:"locate",event:"skip",domain:"machine",phase:te.locate,description:"Locate skipped (meta.reason).",reasons:wh},{scope:"highlight",event:"shown",domain:"machine",phase:te.highlight,description:"Overlay drawn to the user (rect, source)."},{scope:"highlight",event:"suppressed",domain:"machine",phase:te.highlight,description:"Late-highlight gate suppressed the draw (meta.reason, diff metric).",reasons:lT},{scope:"highlight",event:"cleared",domain:"machine",phase:te.highlight,description:"Overlay removed."},{scope:"highlight",event:"settle:start",domain:"machine",phase:te.highlight,description:"Motion-settle wait started (late-highlight)."},{scope:"highlight",event:"settle:ok",domain:"machine",phase:te.highlight,description:"Screen settled after a stale trip; highlight suppressed and advances (stillMs, waitedMs)."},{scope:"highlight",event:"settle:timeout",domain:"machine",phase:te.highlight,description:"Settle never reached within budget (waitedMs)."},{scope:"highlight",event:"click:observed",domain:"machine",phase:te.highlight,description:"A global click; carries proximity to the active highlight rect."},{scope:"highlight",event:"callout:shown",domain:"machine",phase:te.highlight,description:"Centered no-highlight instruction callout drawn (collapsed mode only); textLen, actionType."},{scope:"highlight",event:"callout:skipped",domain:"machine",phase:te.highlight,description:'Centered callout not drawn â the "missing callout in collapsed mode" answer (meta.reason).',reasons:dT},{scope:"highlight",event:"callout:cleared",domain:"machine",phase:te.highlight,description:"Centered callout removed."},{scope:"highlight",event:"overlay:dispatch",domain:"machine",phase:te.highlight,description:'Main forwarded a draw to the overlay window â splits "App asked to draw" from "overlay window was visible/positioned" (centered, hasRect, collapsed, windowVisible).'},{scope:"advance",event:"confirm-click:start",domain:"machine",phase:te.advance,description:"Strong-match confirm-click pipeline started (clickX/Y, displayId)."},{scope:"advance",event:"confirm-click:end",domain:"machine",phase:te.advance,description:"Confirm-click outcome (branch, probeReason, durationMs, status)."},{scope:"advance",event:"no-highlight:start",domain:"machine",phase:te.advance,description:"No-highlight (visual-only) confirm-click started."},{scope:"advance",event:"no-highlight:end",domain:"machine",phase:te.advance,description:"No-highlight confirm outcome (status)."},{scope:"advance",event:"probe:result",domain:"machine",phase:te.advance,description:"UIA fingerprint probe at the click point (meta.reason).",reasons:uT},{scope:"advance",event:"typing-gate:start",domain:"machine",phase:te.advance,description:"Holding auto-advance while the user is typing (targetDiff, settleIdleMs)."},{scope:"advance",event:"typing-gate:detected",domain:"machine",phase:te.advance,description:"Typing settled; gate released (settledAtMs)."},{scope:"advance",event:"typing-gate:stopped",domain:"machine",phase:te.advance,description:"Typing gate cancelled."},{scope:"advance",event:"fired",domain:"machine",phase:te.advance,description:"Auto-advance advanced the step."},{scope:"advance",event:"abandoned",domain:"machine",phase:te.advance,description:"Auto-advance gave up (meta.reason).",reasons:cT},{scope:"crash",event:"main-uncaught",domain:"machine",phase:te.session,description:"Uncaught exception in main process."},{scope:"crash",event:"unhandled-rejection",domain:"machine",phase:te.session,description:"Unhandled promise rejection in main."},{scope:"crash",event:"renderer-gone",domain:"machine",phase:te.session,description:"Renderer process gone (details.reason, exitCode)."},{scope:"crash",event:"child-gone",domain:"machine",phase:te.session,description:"Child process gone (details.reason, exitCode)."},{scope:"diag",event:"flush",domain:"machine",phase:te.session,description:"Buffer staged to pending-uploads on disk."},{scope:"diag",event:"upload-ok",domain:"machine",phase:te.session,description:"A bundle uploaded to the backend."},{scope:"diag",event:"upload-failed",domain:"machine",phase:te.session,description:"Bundle upload failed; left on disk for retry."}];new Map(fT.map(t=>[`${t.scope}:${t.event}`,t]));const xh=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),hT=["account_download_auto","account_download_manual","post_signup_download_auto","post_signup_download_manual"],pT=pe(hT,{invalid_type_error:"Download source must be a supported source bucket",required_error:"Download source is required when provided"});P({clientEventId:xh.optional(),installId:xh.optional(),appVersion:x().trim().min(1,"App version is required when provided").max(40,"App version must be at most 40 characters").optional(),source:pT.optional()}).strict();const kh=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),mT=pe(["user_toggle","guide_start_auto","guide_start_confirm","task_done","control_reset_task","control_change_task","auto_expand","auto_collapse"]),gT=pe(["renderer","assistant_control","system"]);P({clientEventId:kh,clientSessionId:kh,chatId:C().int().positive().optional(),occurredAt:x().datetime({offset:!0}).optional(),originalMode:oo.optional(),targetMode:oo,reason:mT.optional(),source:gT.optional()}).strict();const Sh=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),Ci=x().datetime({offset:!0}).optional(),wo=x().datetime({offset:!0}),Js=C().int().min(0).max(864e5),Th="durationMs must be greater than or equal to thresholdMs",xo=P({clientEventId:Sh,clientSessionId:Sh,chatId:C().int().positive().optional(),chatTurnId:C().int().positive().optional()}).strict();P({id:C().int().positive()});xo.extend({startedAt:wo,finishedAt:Ci,durationMs:C().int().min(0).max(31536e6).optional(),thresholdMs:C().int().min(1e3).max(36e5).default(3e4),modeAtStart:oo.optional(),lastInteractionId:C().int().positive().optional(),resumeInteractionId:C().int().positive().optional()}).superRefine((t,e)=>{if(t.finishedAt===void 0){if(t.durationMs===void 0||t.durationMs>=t.thresholdMs)return;e.addIssue({code:F.custom,path:["durationMs"],message:Th});return}const n=new Date(t.startedAt).getTime(),s=new Date(t.finishedAt).getTime()-n;
4if(s<0){e.addIssue({code:F.custom,path:["finishedAt"],message:"finishedAt must be at or after startedAt"});return}t.durationMs!==void 0&&t.durationMs!==s&&e.addIssue({code:F.custom,path:["durationMs"],message:"durationMs must match the difference between startedAt and finishedAt"}),s<t.thresholdMs&&e.addIssue({code:F.custom,path:["durationMs"],message:Th})});const _T=pe(["success","failed","timeout","helper_error","empty"]);xo.extend({startedAt:wo,finishedAt:Ci,latencyMs:Js.optional(),outcome:_T,failureReason:x().trim().max(80).optional(),backend:x().trim().max(40).optional(),appName:x().trim().max(120).optional(),appProcess:x().trim().max(120).optional(),rootControlType:x().trim().max(80).optional(),nodeCount:C().int().min(0).max(1e6).optional()});const yT=pe(["success","fail_low_score","fail_low_score_diff_top2","fail_no_nodes","fail_invalid_target","fail_no_candidates","timeout","error"]),$o=C().finite().min(-1e6).max(1e6);xo.extend({snapshotId:C().int().positive().optional(),startedAt:wo,finishedAt:Ci,latencyMs:Js.optional(),outcome:yT,runtimeReason:x().trim().max(80).optional(),resultSource:pe(["snapshot","tree","none"]).optional(),nodesScored:C().int().min(0).max(1e6).optional(),nodesAboveThreshold:C().int().min(0).max(1e6).optional(),top1Score:$o.optional(),top2Score:$o.optional(),top3Score:$o.optional(),scoreMargin:$o.optional(),selectedRank:C().int().positive().max(1e3).optional(),scoreBreakdown:Ln(C().finite()).optional()});const bT=pe(["uia_no_nodes","uia_low_score","uia_low_margin","no_uia_target","show_click","other"]),vT=pe(["click_found","no_click","provider_error","request_invalid","rate_limited","not_attempted"]);xo.extend({uiaSearchId:C().int().positive().optional(),aiCallId:C().int().positive().optional(),startedAt:wo,finishedAt:Ci,latencyMs:Js.optional(),reason:bT.optional(),provider:x().trim().max(40).optional(),model:x().trim().max(100).optional(),outcome:vT,refinementStartedAt:Ci,refinementFinishedAt:Ci,refinementLatencyMs:Js.optional(),refinementOutcome:pe(["success","failed","timeout","not_attempted"]).optional(),finalHighlightSource:pe(["cua_refined","cua_box","none"]).optional()});const wT=pe(["highlight_click","no_highlight_click","show_only_click"]),xT=pe(["confirmed","not_confirmed","aborted","pipeline_failed","show_only_ignored"]);xo.extend({nextChatTurnId:C().int().positive().optional(),triggerInteractionId:C().int().positive().optional(),startedAt:wo,nextStepRequestedAt:Ci,finishedAt:Ci,triggerToRequestMs:Js.optional(),confirmationLatencyMs:Js.optional(),outcome:xT,outcomeReason:x().trim().max(64).optional(),triggerSource:wT,nextStepIdentical:Ae().optional()});const kT=pe(["daily","weekly","monthly"]),m_=P({from:x().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD"),to:x().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD"),granularity:kT.default("daily")}),ST=P({date:x(),downloads:C().int().min(0),free_users:C().int().min(0),purchases:C().int().min(0),daily_active:C().int().min(0),weekly_active:C().int().min(0),user_messages_free_chat:C().int().min(0),user_messages_guide:C().int().min(0),ai_responses_free_chat:C().int().min(0),ai_responses_guide:C().int().min(0),activated_users:C().int().min(0),activation_total:C().int().min(0)});P({data:we(ST),from:x(),to:x()});const TT=pe(["signups","downloaded","app_started","prompted","activated","purchasers"]),AT=P({stage:TT,count:C().int().min(0)}),CT=pe(["prompts_1","prompts_3","prompts_5","completed_task","credits_exhausted"]),ET=P({key:CT,users:C().int().min(0),purchasers:C().int().min(0)}),MT=pe(["positive","negative","completed_no_rating"]),PT=P({key:MT,users:C().int().min(0),purchasers:C().int().min(0)}),IT=P({month:x(),users:C().int().min(0),prompted:C().int().min(0),activated:C().int().min(0),purchasers:C().int().min(0)}),OT=P({highlightRequestedSteps:C().int().min(0),highlightDrawnSteps:C().int().min(0),tasksStarted:C().int().min(0),tasksCompleted:C().int().min(0),tasksWithFeedback:C().int().min(0),tasksPositiveFeedback:C().int().min(0)});P({funnel:we(AT),downloadEvents:C().int().min(0),installEvents:C().int().min(0),installsAttributedToDownload:C().int().min(0),usageCohorts:we(ET),feedbackCohorts:we(PT),usersWithMixedFeedback:C().int().min(0),checkoutProvisionedUsers:C().int().min(0),signupCohorts:we(IT),quality:OT,from:x(),to:x()});P({}).strict().default({});P({updated:C().int().nonnegative()});P({}).strict().default({});P({toppedUp:C().int().nonnegative(),creditsGranted:C().nonnegative(),alreadyGranted:C().int().nonnegative()});const Ah=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),RT=["first_launch","normal","after_crash"],DT=pe(RT),LT=["modal","chat","tray_only"],NT=pe(LT);P({clientEventId:Ah.optional(),installId:Ah,appVersion:x().trim().min(1).max(40).optional(),osName:x().trim().min(1).max(80).optional(),osVersion:x().trim().min(1).max(80).optional(),launchType:DT,windowShownType:NT,windowShownError:x().trim().max(256).optional()}).strict();const $T=["welcome_shown","login","auth_done","screen_shown","session_started"],FT=pe($T),HT=P({stage:FT,users:C().int().min(0)});P({totalInstalls:C().int().min(0),stages:we(HT),from:x(),to:x()});const Ch=x().trim().min(1,"Telemetry id is required").max(64,"Telemetry id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters"),jT=["login_view_shown","auth_completed","screen_select_shown","screen_selected","setup_complete"],BT=pe(jT);P({clientEventId:Ch.optional(),installId:Ch,step:BT,appVersion:x().trim().min(1).max(40).optional()}).strict();const Eh=x().trim().min(1).max(64).regex(/^[A-Za-z0-9_.:-]+$/,"Telemetry id contains unsupported characters");P({installId:Eh,occurredAt:x().datetime().optional(),appVersion:x().trim().max(40).optional(),downloadToken:Eh.optional()}).strict();const za=x().trim().min(1,"Tracking id is required").max(64,"Tracking id must be at most 64 characters").regex(/^[A-Za-z0-9_.:-]+$/,"Tracking id contains unsupported characters"),VT=["click","page_view","identify","video_play","experiment_exposure","page_exit"],zT=pe(VT),UT=pe(["button","link","other"]),WT=P({clientEventId:za,type:zT,name:x().trim().min(1,"Event name is required").max(120,"Event name must be at most 120 characters"),occurredAt:x().datetime({offset:!0}),path:x().trim().max(512,"Path must be at most 512 characters").optional(),title:x().trim().max(200,"Title must be at most 200 characters").optional(),referrer:x().trim().max(512,"Referrer must be at most 512 characters").optional(),elementType:UT.optional(),elementText:x().trim().max(120,"Element text must be at most 120 characters").optional(),href:x().trim().max(512,"Href must be at most 512 characters").optional(),section:x().trim().max(120,"Section must be at most 120 characters").optional(),durationMs:C().int().min(0,"Duration must not be negative").max(864e5,"Duration must be at most 24 hours").optional(),props:Ln(Wt([x().max(200),C(),Ae()])).refine(t=>Object.keys(t).length<=20,"At most 20 props are allowed").optional()}).strict();P({visitorId:za,sessionId:za,events:we(WT).min(1,"At least one event is required").max(50,"At most 50 events are allowed")}).strict();P({visitorId:za});const qT=P({date:x(),pageviews:C().int().min(0),clicks:C().int().min(0),visitors:C().int().min(0)}),GT=P({name:x(),path:x().nullable(),href:x().nullable(),section:x().nullable(),clicks:C().int().min(0),visitors:C().int().min(0),byVariant:Ln(C().int().min(0)).optional()}),p6="unassigned",KT=P({key:x(),variants:we(x()),visitorsByVariant:Ln(C().int().min(0))}),YT=P({path:x().nullable(),pageviews:C().int().min(0),visitors:C().int().min(0)});P({timeseries:we(qT),topClicks:we(GT),topPages:we(YT),clickExperiment:KT.nullable(),from:x(),to:x()});const ZT=["clicked","signed_up","downloaded","activated"],XT=pe(ZT),JT=P({stage:XT,visitors:C().int().min(0)});P({totalVisitors:C().int().min(0),stages:we(JT),from:x(),to:x()});const QT=["clicked_download","registered","downloaded","activated"],eA=pe(QT),tA=P({stage:eA,visitors:C().int().min(0)});P({landingVisitors:C().int().min(0),stages:we(tA),from:x(),to:x()});const nA=P({date:x(),pageviews:C().int().min(0),downloadClicks:C().int().min(0),videoPlays:C().int().min(0)});m_.extend({path:x().trim().max(512,"Path must be at most 512 characters").optional()});P({path:x(),availablePaths:we(x()),timeseries:we(nA),from:x(),to:x()});const g_={"metrics-header-copy":{variants:["control","b"],weights:[50,50],paths:["/metrics/"]},"home-hero-copy":{variants:["control","b"],weights:[50,50],paths:["/"]}},__=Object.keys(g_),iA="experiment",sA="variant";function bd(t){return g_[t]}function y_(t){return bd(t).variants[0]}for(const t of __){const{variants:e,weights:n}=bd(t);if(e.length!==n.length)throw new Error(`Experiment "${t}": ${e.length} variants but ${n.length} weights`);const i=n.reduce((s,r)=>s+r,0);if(i!==100)throw new Error(`Experiment "${t}": weights sum to ${i}, expected 100`)}
4const rA=P({key:x(),variants:we(x()),weights:we(C()),paths:we(x()),assignedVisitors:C().int().min(0),firstAssignedAt:x().nullable(),lastAssignedAt:x().nullable()});P({experiments:we(rA)});m_.extend({key:x().trim().min(1,"Experiment key is required").max(64)});const oA=P({variant:x(),isControl:Ae(),visitors:C().int().min(0),ctaClicks:C().int().min(0),ctaClickers:C().int().min(0),clickRate:C().nullable(),onPageCtaClicks:C().int().min(0),onPageCtaClickers:C().int().min(0),onPageClickRate:C().nullable(),timedVisitors:C().int().min(0),meanTimeMs:C().nullable(),medianTimeMs:C().nullable(),clickRateLift:C().nullable(),clickRatePValue:C().nullable(),expectedShare:C(),actualShare:C().nullable()});P({key:x(),paths:we(x()),variants:we(oA),totalVisitors:C().int().min(0),from:x(),to:x()});function b_(t,e="en-US",n){return new Intl.DateTimeFormat(e,{year:"numeric",month:"short",day:"numeric",...n?{timeZone:n}:{}}).format(new Date(t))}function m6(t){const e=Math.max(1,Math.round(t/60));if(e<60)return`${e} minute${e===1?"":"s"}`;const n=Math.round(e/60);return`${n} hour${n===1?"":"s"}`}const Fo=5e3,aA=20,Is=250,ao={Free:0,Premium:1,Subscriber:2};function Ua(t){return(t??0)>=ao.Premium}function Qs(t){return t===ao.Subscriber}const fu={sandbox:[{id:1,externalId:"pro_01kpmyfa71n898nmt25c5ygaet",name:"Premium Plan",credits:Fo,priceId:"pri_01kpmyt1jsnrvve181z63d46sr",price:49,default:!0,preLaunch:!0,lifetime:!0},{id:6,externalId:"pro_01ktvacr0d8phbvhh1knygb9m6",name:"Premium Plan",credits:Fo,priceId:"pri_01ktvadj57z31w4qsxasb4ch74",price:69,default:!1,preLaunch:!1,lifetime:!0},{id:7,externalId:"pro_01m2f9bh057dk4jad2p9vz2dq4",name:"Unlimited Plan",credits:null,priceId:"pri_01m2f9dgz3frn3n47z6zz9fq11",price:9.99,default:!0,preLaunch:!1,recurring:!0},{id:2,externalId:"pro_01ktbxfy8sprqfjjyegaxtkpqq",name:"1200 Credits",credits:1200,priceId:"pri_01ktbxk3yfy0rnmqhv4m1swtmc",price:10},{id:3,externalId:"pro_01kq9zg4z8wd3x66jvb8ewjkfk",name:"2650 Credits",credits:2650,priceId:"pri_01kq9zh8rm2yma9ea3fqtfebf3",price:20,save:10},{id:4,externalId:"pro_01kq9nb9584d62803e4ffgjfrd",name:"4300 Credits",credits:4300,priceId:"pri_01kq9nbx3xm7g5v6rd72nghzjh",price:30,save:20},{id:5,externalId:"pro_01kq7jxph8c8gmd59f289h31sb",name:"7800 Credits",credits:7800,priceId:"pri_01kq9chgve8cgje44bsqvj28mv",price:50,save:30}],production:[{id:1,externalId:"pro_01kt8pdjqttc9bf55z4f9rjnwc",name:"Early Bird Offer",credits:Fo,priceId:"pri_01kt8pf19w25pvf3x3y7mgg31w",price:49,default:!0,preLaunch:!0,lifetime:!0},{id:2,externalId:"pro_01ktv63vvjv5ajq26vpcjf55r7",name:"Guidy Premium Plan",credits:Fo,priceId:"pri_01ktv65pv93mmzgcxeqmgzhvy8",price:69,default:!1,preLaunch:!1,lifetime:!0},{id:7,externalId:"pro_01m2fab2m1e7h58q11fc0ayjed",name:"Unlimited Plan",credits:null,priceId:"pri_01m2facvrrq4g01cb92ffrv7gj",price:9.99,default:!0,preLaunch:!1,recurring:!0},{id:3,externalId:"pro_01ktv71ext03bvqkqwqmm2bz3j",name:"1200 Credits",credits:1200,priceId:"pri_01ktv78d8gpq1bhk6xq4s9m8mn",price:10},{id:4,externalId:"pro_01ktv7b320w0sgek055dncztv6",name:"2650 Credits",credits:2650,priceId:"pri_01ktv7cg7mgh81q4sbwmdjvpwr",price:20,save:10},{id:5,externalId:"pro_01ktv7djjc81n4spy8gej00055",name:"4300 Credits",credits:4300,priceId:"pri_01ktv7evs79nswewjqmrvavhvv",price:30,save:20},{id:6,externalId:"pro_01ktv813avzec3n1e43fv2ewxg",name:"7800 Credits",credits:7800,priceId:"pri_01ktv82pg3pj7701kwdhqftbbk",price:50,save:30}]};function lA(t,e){return e?fu[t].find(n=>n.default&&n.preLaunch):fu[t].find(n=>n.default&&!n.preLaunch)}const Mh=864e5;function cA(t){return Math.floor(t??0).toLocaleString("en-US")}function v_(t,e){if(!t)return null;const n=Date.parse(t);return Number.isNaN(n)?null:Math.floor(n/Mh)-Math.floor(e/Mh)}function nc(t){if(Qs(t.paid))return 100;const e=t.credits??0,n=Ua(t.paid)?t.totalCredits??0:Is;return n<=0?0:Math.min(100,Math.max(0,e/n*100))}function uA(t,e){if(!Qs(t.paid)||!t.subscriptionCancelScheduled)return null;const n=v_(t.subscriptionEndsAt,e);return n===null||n<0?null:n}async function ic(t){try{return await t.json()}catch{return}}function w_(t){return`purchase_${t}`}const dA="avatars",fA="avatar-default.webp";function hA(t,e=""){return`${e}/resources/${dA}/${t??fA}`}const pA="$s";function Di(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;
4typeof t[0]!="string"&&t.unshift(e);const[n,i]=t;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=pA+n,r=He(),o=Hu(r.payload.state,s);if(i&&(r._state[s]??={_default:i}),o.value===void 0&&i){const a=i();if(Je(a))return r.payload.state[s]=a,a;o.value=a}return o}function tn(){const{preLaunch:t}=qe().public,e=Di("auth",()=>({status:"unknown",user:null,hasApp:null}));function n(o,a){e.value={status:"authenticated",user:o,hasApp:a??null}}function i(){e.value={status:"unauthenticated",user:null,hasApp:null}}function s(o){e.value={...e.value,user:o}}function r(){e.value={...e.value,hasApp:!0}}return{state:is(e),user:ue(()=>e.value.user),status:ue(()=>e.value.status),isAuthenticated:ue(()=>e.value.status==="authenticated"),isVerified:ue(()=>e.value.user?.status===t_.Active),isPaid:ue(()=>e.value.user?.paid||!1),isSubscriber:ue(()=>Qs(e.value.user?.paid)),hasApp:ue(()=>e.value.hasApp),ctaButton:ue(()=>t?{try:"/signup/"}:e.value.status==="authenticated"?{try:"/download/"}:{try:"/signup/"}),setAuthenticated:n,setUnauthenticated:i,setUser:s,markAppDownloaded:r}}function x_(){return Di("magicLink",()=>null)}const mA={middleware:[()=>{if(tn().isAuthenticated.value)return wn("/plan-and-billing/");if(!x_().value)return wn("/signup/")}]},gA={middleware:[()=>{const{legacyCheckoutPage:t,preLaunch:e}=qe().public;if(!t)return wn(e?"/get-guidy/":"/pricing/",{replace:!0})},"auth",t=>{const e=tn();if(!t.query.priceId&&e?.user?.value?.paid){const i=qe().public.preLaunch?"/thank-you/":"/plan-and-billing/";return wn(i)}}]},_A={middleware:[t=>{const e=tn();if(!t.query.token)return wn(e.isAuthenticated.value?"/plan-and-billing/":"/login/")}]},yA={middleware:["auth",()=>{if(tn().isVerified?.value)return wn("/plan-and-billing/")}]},bA={middleware:[t=>{const e=tn();if(!t.query.token)return wn(e.isAuthenticated.value?"/verification/":"/login/")}]},Ph=null,Ih={},sc=[{name:"admin-blog-preview-id",path:"/admin/blog/preview/:id()",meta:{middleware:["auth","admin"]},component:()=>he(()=>import("./hR_7a-I4.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)},{name:"admin-blog-new",path:"/admin/blog/new",meta:{middleware:["auth","admin"]},component:()=>he(()=>import("./uVKVRIuw.js"),__vite__mapDeps([7,8,9,4,10,11]),import.meta.url)},{name:"auth-linkedin-callback",path:"/auth/linkedin/callback",meta:{middleware:"guest"},component:()=>he(()=>import("./BLw02oQa.js"),__vite__mapDeps([12,13]),import.meta.url)},{name:"admin-blog-id",path:"/admin/blog/:id()",meta:{middleware:["auth","admin"]},component:()=>he(()=>import("./Doa2GCHl.js"),__vite__mapDeps([14,8,9,4,10,5,15]),import.meta.url)},{name:"admin-blog",path:"/admin/blog",meta:{middleware:["auth","admin"]},component:()=>he(()=>import("./DUIuhOXw.js"),__vite__mapDeps([16,9,4,17,2,18,5,19]),import.meta.url)},{name:"blog-slug",path:"/blog/:slug()",component:()=>he(()=>import("./Dk5PmbJj.js"),__vite__mapDeps([20,1,2,3,21,22,23,24,25]),import.meta.url)},{name:"use-cases-slug",path:"/use-cases/:slug()",component:()=>he(()=>import("./D_YrVJnl.js"),__vite__mapDeps([26,27,28,29,30,2,31,32]),import.meta.url)},{name:"blog",path:"/blog",component:()=>he(()=>import("./CqSPWBaB.js"),__vite__mapDeps([33,21,22,17,2,18,24,34]),import.meta.url)},{name:"check-email",path:"/check-email",meta:mA||{},component:()=>he(()=>import("./jimmGVkR.js"),__vite__mapDeps([35,36,37,38,39,40]),import.meta.url)},{name:"checkout",path:"/checkout",meta:gA||{},component:()=>he(()=>import("./xed85EZJ.js"),__vite__mapDeps([41,42]),import.meta.url)},{name:"contact-us",path:"/contact-us",component:()=>he(()=>import("./CGCvMSqZ.js"),__vite__mapDeps([43,44,39,45]),import.meta.url)},{name:"cookie-policy",path:"/cookie-policy",component:()=>he(()=>import("./BA3e_L5d.js"),__vite__mapDeps([46,47,48,49]),import.meta.url)},{name:"download",path:"/download",meta:{middleware:["auth"]},component:()=>he(()=>import("./DCUL4fwk.js"),__vite__mapDeps([50,51,23,52,53,54,29,55]),import.meta.url)},{name:"download-app",path:"/download-app",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./Ct6YP9h7.js"),__vite__mapDeps([56,57,58,59,54,29,60]),import.meta.url)},{name:"download-guidy",path:"/download-guidy",component:()=>he(()=>import("./e6RmnycD.js"),__vite__mapDeps([61,30,2,31,62,29,63,64,65,66,58,67,68,27,28,69,70,71,72]),import.meta.url)},{name:"forgot-password",path:"/forgot-password",meta:{middleware:"guest"},component:()=>he(()=>import("./D21prP2R.js"),__vite__mapDeps([73,44,39,74]),import.meta.url)},{name:"free-download",path:"/free-download",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./CIjXvoKJ.js"),__vite__mapDeps([75,57,58,59,5,54,29,76]),import.meta.url)},{name:"get-guidy",path:"/get-guidy",meta:{middleware:"app"},component:()=>he(()=>import("./T_Lfuqd0.js"),__vite__mapDeps([77,78,62,2,29,63,27,28,69,79,71,30,31,80,64,65,81]),import.meta.url)},{name:"get-help-at-work",path:"/get-help-at-work",component:()=>he(()=>import("./DtkNwon1.js"),__vite__mapDeps([82,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"launching",path:"/launching",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./uFM-4d8F.js"),__vite__mapDeps([87,88,89,5,90]),import.meta.url)},{name:"login",path:"/login",meta:{middleware:"guest"},component:()=>he(()=>import("./BKaqpv5_.js"),__vite__mapDeps([91,36,37,92,13,93,94,95,39,96]),import.meta.url)},{name:"logout",path:"/logout",component:()=>he(()=>import("./Dju7jge2.js"),[],import.meta.url)},{name:"magic-link",path:"/magic-link",meta:_A||{},component:()=>he(()=>import("./C58RIn_o.js"),__vite__mapDeps([97,88,89,98]),import.meta.url)},{name:"metrics",path:"/metrics",meta:{middleware:["auth","metrics-access"]},component:()=>he(()=>import("./HPLblbgL.js"),__vite__mapDeps([99,100]),import.meta.url)},{name:"new-job",path:"/new-job",component:()=>he(()=>import("./B5-L4ALN.js"),__vite__mapDeps([101,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"new-software-is-moving-too-fast",path:"/new-software-is-moving-too-fast",component:()=>he(()=>import("./Dn0jZL7e.js"),__vite__mapDeps([102,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"onboarding",path:"/onboarding",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./DRdNpLy1.js"),__vite__mapDeps([103,69,104,105]),import.meta.url)},{name:"plan-and-billing",path:"/plan-and-billing",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./CsfAxsu0.js"),__vite__mapDeps([106,51,23,52,107,17,2,18,53,5,108]),import.meta.url)},{name:"pricing",path:"/pricing",component:()=>he(()=>import("./BIHZ9XAZ.js").then(t=>t.p),__vite__mapDeps([109,84,85,110,27,28,107,71,67,111]),import.meta.url)},{name:"privacy-policy",path:"/privacy-policy",component:()=>he(()=>import("./C2lndY1M.js"),__vite__mapDeps([112,47,48,113]),import.meta.url)},{name:"reset-password",path:"/reset-password",meta:{middleware:"guest"},component:()=>he(()=>import("./DX6N0eYf.js"),__vite__mapDeps([114,94,95,115]),import.meta.url)},{name:"security",path:"/security",component:()=>he(()=>import("./cuwDcZq_.js"),__vite__mapDeps([116,117,118,104,79,119,120,121,122,123]),import.meta.url)},{name:"settings",path:"/settings",meta:{middleware:["auth","verified"]},component:()=>he(()=>import("./BAPEzBi3.js"),__vite__mapDeps([124,51,23,52,69,94,95,118,125]),import.meta.url)},{name:"signup",path:"/signup",meta:{middleware:"guest"},component:()=>he(()=>import("./DqZwbdix.js"),__vite__mapDeps([126,92,13,93,36,37,104,94,95,39,127]),import.meta.url)},{name:"sitemap",path:"/sitemap",component:()=>he(()=>import("./D3oZCyMg.js"),__vite__mapDeps([128,129]),import.meta.url)},{name:"solve-numerical-aptitude-tests",path:"/solve-numerical-aptitude-tests",component:()=>he(()=>import("./D71U7gG1.js"),__vite__mapDeps([130,30,2,31,62,29,63,64,65,66,58,67,68,27,28,69,70,71,131]),import.meta.url)},{name:"start-your-new-career",path:"/start-your-new-career",component:()=>he(()=>import("./DBSdOTGq.js"),__vite__mapDeps([132,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"stop-feeling-like-everyone-knows-more",path:"/stop-feeling-like-everyone-knows-more",component:()=>he(()=>import("./BrggVa_N.js"),__vite__mapDeps([133,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"stop-reading-instructions",path:"/stop-reading-instructions",component:()=>he(()=>import("./Ch6S9FNt.js"),__vite__mapDeps([134,83,84,85,69,27,28,62,2,29,63,30,31,66,58,67,68,71,86]),import.meta.url)},{name:"terms-of-use",path:"/terms-of-use",component:()=>he(()=>import("./BU_chAYe.js"),__vite__mapDeps([135,47,48,136]),import.meta.url)},{name:"thank-you",path:"/thank-you",component:()=>he(()=>import("./Du-lrPjT.js"),__vite__mapDeps([137,88,89,138]),import.meta.url)},{name:"verification",path:"/verification",meta:yA||{},component:()=>he(()=>import("./bKFtsHAr.js"),__vite__mapDeps([139,36,37,38,140]),import.meta.url)},{name:"verify",path:"/verify",meta:bA||{},component:()=>he(()=>import("./C_rHBonl.js"),__vite__mapDeps([141,88,89,5,142]),import.meta.url)},{name:"index",path:"/",meta:{middleware:"app"},component:()=>he(()=>import("./BKGK8hSa.js"),__vite__mapDeps([143,78,62,2,29,63,27,28,69,79,71,30,31,80,64,65,66,58,67,68,144,110,145,117,118,104,119,146]),import.meta.url)},{name:Ph?.name,path:"/dashboard",component:Ih},{name:Ph?.name,path:"/dashboard/",component:Ih}],vA=(t,e)=>({default:()=>t?pt(k1,t===!0?{}:t,e):e.default?.()}),wA=/(:\w+)\([^)]+\)/g,xA=/(:\w+)[?+*]/g,kA=/:\w+/g;function Oh(t){const e=t?.meta.key??t.path.replace(wA,"$1").replace(xA,"$1").replace(kA,n=>t.params[n.slice(1)]?.toString()||"");return typeof e=="function"?e(t):e}function SA(t,e){return t===e||e===Yt?!1:Oh(t)!==Oh(e)?!0:!t.matched.every((i,s)=>i.components&&i.components.default===e.matched[s]?.components?.default)}
4function TA(t,e=!1){if(t){if(t.nodeName==="#comment"&&t.nodeValue==="[")return k_(t,[],e);if(e){const n=t.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(i=>{i.innerHTML=""}),[n.outerHTML]}return[t.outerHTML]}}function k_(t,e=[],n=!1){if(t&&t.nodeName){if(CA(t))return e;if(!AA(t)){const i=t.cloneNode(!0);n&&i.querySelectorAll?.("[data-island-slot]").forEach(s=>{s.innerHTML=""}),e.push(i.outerHTML)}k_(t.nextSibling,e,n)}return e}function rc(t,e){const n=t?TA(t):[e];return n?pl(n.join(""),n.length):pt("div")}function AA(t){return t.nodeName==="#comment"&&t.nodeValue==="["}function CA(t){return t.nodeName==="#comment"&&t.nodeValue==="]"}function Rh(t){return Array.isArray(t)?t:[t]}function EA(t){const e=[];for(const n of t)n&&e.push({...n,onAfterLeave:n.onAfterLeave?Rh(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Rh(n.onBeforeLeave):void 0});return yl(...e)}const MA={scrollBehavior(t,e,n){const i=He(),s=vt().options?.scrollBehaviorType??"auto";return t.path.replace(/\/$/,"")===e.path.replace(/\/$/,"")?e.hash&&!t.hash?{left:0,top:0}:t.hash?{el:t.hash,top:S_(t.hash),behavior:s}:!1:(typeof t.meta.scrollToTop=="function"?t.meta.scrollToTop(t,e):t.meta.scrollToTop)===!1?!1:e===Yt?Dh(t,e,n,s):new Promise(o=>{const a=()=>{requestAnimationFrame(()=>o(Dh(t,e,n,s)))};i.hooks.hookOnce("page:loading:end",()=>{const l=i["~transitionPromise"];l?l.then(a):a()})})}};function S_(t){try{const e=document.querySelector(t);if(e)return(Number.parseFloat(getComputedStyle(e).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Dh(t,e,n,i){if(n)return n;const s=SA(t,e);return t.hash?{el:t.hash,top:S_(t.hash),behavior:s?i:"instant"}:{left:0,top:0}}const PA=100,T_={scrollBehavior(t,e,n){return e===Yt?!1:n||(t.hash?{el:t.hash,top:PA,behavior:"smooth"}:t.path===e.path?!1:{top:0})}},IA={hashMode:!1,scrollBehaviorType:"auto"},hu=T_.hashMode??!1,mi={...IA,...MA,...T_},OA=async(t,e)=>{let n,i;if(!t.meta?.validate)return;const s=([n,i]=js(()=>Promise.resolve(t.meta.validate(t))),n=await n,i(),n);if(s===!0)return;const r=Ai({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${t.fullPath}`,data:{path:t.fullPath}});return typeof window<"u"&&window.history.pushState({},"",e.fullPath),r},RA=t=>t.path==="/onboarding/"?wn("/plan-and-billing/",{replace:!0}):void 0;function DA(t,e){if(typeof t!="string")throw new TypeError("argument str must be a string");const n={},i=e||{},s=i.decode||LA;let r=0;for(;r<t.length;){const o=t.indexOf("=",r);
4if(o===-1)break;let a=t.indexOf(";",r);if(a===-1)a=t.length;else if(a<o){r=t.lastIndexOf(";",o-1)+1;continue}const l=t.slice(r,o).trim();if(i?.filter&&!i?.filter(l)){r=a+1;continue}if(n[l]===void 0){let c=t.slice(o+1,a).trim();c.codePointAt(0)===34&&(c=c.slice(1,-1)),n[l]=NA(c,s)}r=a+1}return n}function LA(t){return t.includes("%")?decodeURIComponent(t):t}function NA(t,e){try{return e(t)}catch{return t}}const Ho=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Lh(t,e,n){const i=n||{},s=i.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!Ho.test(t))throw new TypeError("argument name is invalid");const r=s(e);if(r&&!Ho.test(r))throw new TypeError("argument val is invalid");let o=t+"="+r;if(i.maxAge!==void 0&&i.maxAge!==null){const a=i.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(a)}if(i.domain){if(!Ho.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain="+i.domain}if(i.path){if(!Ho.test(i.path))throw new TypeError("option path is invalid");o+="; Path="+i.path}if(i.expires){if(!$A(i.expires)||Number.isNaN(i.expires.valueOf()))throw new TypeError("option expires is invali
4d");o+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.priority)switch(typeof i.priority=="string"?i.priority.toLowerCase():i.priority){case"low":{o+="; Priority=Low";break}case"medium":{o+="; Priority=Medium";break}case"high":{o+="; 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:{o+="; SameSite=Strict";break}case"lax":{o+="; SameSite=Lax";break}case"strict":{o+="; SameSite=Strict";break}case"none":{o+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return i.partitioned&&(o+="; Partitioned"),o}function $A(t){return Object.prototype.toString.call(t)==="[object Date]"||t instanceof Date}function pu(t){return typeof t=="string"?`'${t}'`:new FA().serialize(t)}const FA=(function(){class t{#e=new Map;compare(n,i){const s=typeof n,r=typeof i;return s==="string"&&r==="string"?n.localeCompare(i):s==="number"&&r==="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,r=s===Object||s===void 0?"":s.name;if(r!==""&&globalThis[r]===s)return this.serializeBuiltInType(r,n);if(typeof n.toJSON=="function"){const o=n.toJSON();return r+(o!==null&&typeof o=="object"?this.$object(o):`(${this.serialize(o)})`)}return this.serializeObjectEntries(r,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((o,a)=>this.compare(o[0],a[0]));let r=`${n}{`;for(let o=0;o<s.length;o++){const[a,l]=s[o];r+=`${this.serialize(a,!0)}:${this.serialize(l)}`,o<s.length-1&&(r+=",")}return r+"}"}$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)))}`}
4$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const e of["Error","RegExp","URL"])t.prototype["$"+e]=function(n){return`${e}(${n})`};for(const e of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+e]=function(n){return`${e}[${n.join(",")}]`};for(const e of["BigInt64Array","BigUint64Array"])t.prototype["$"+e]=function(n){return`${e}[${n.join("n,")}${n.length>0?"n":""}]`};return t})();function HA(t,e){return t===e||pu(t)===pu(e)}const jA=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],BA=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],VA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Bi=[];class zA{_data=new Os;_hash=new Os([...jA]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);const n=this._nDataBytes*8,i=this._data.sigBytes*8;return this._data.words[i>>>5]|=128<<24-i%32,this._data.words[(i+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(i+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,n){const i=this._hash.words;let s=i[0],r=i[1],o=i[2],a=i[3],l=i[4],c=i[5],u=i[6],d=i[7];for(let f=0;f<64;f++){if(f<16)Bi[f]=e[n+f]|0;else{const g=Bi[f-15],w=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,y=Bi[f-2],T=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;Bi[f]=w+Bi[f-7]+T+Bi[f-16]}const h=l&c^~l&u,m=s&r^s&o^r&o,p=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=d+b+h+BA[f]+Bi[f],v=p+m;d=u,u=c,c=l,l=a+_|0,a=o,o=r,r=s,s=_+v|0}i[0]=i[0]+s|0,i[1]=i[1]+r|0,i[2]=i[2]+o|0,i[3]=i[3]+a|0,i[4]=i[4]+l|0,i[5]=i[5]+c|0,i[6]=i[6]+u|0,i[7]=i[7]+d|0}_append(e){typeof e=="string"&&(e=Os.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let n,i=this._data.sigBytes/64;e?i=Math.ceil(i):i=Math.max((i|0)-this._minBufferSize,0);const s=i*16,r=Math.min(s*4,this._data.sigBytes);if(s){for(let o=0;o<s;o+=16)this._doProcessBlock(this._data.words,o);n=this._data.words.splice(0,s),this._data.sigBytes-=r}return new Os(n,r)}}class Os{words;sigBytes;constructor(e,n){e=this.words=e||[],this.sigBytes=n===void 0?e.length*4:n}static fromUtf8(e){const n=unescape(encodeURIComponent(e)),i=n.length,s=[];for(let r=0;r<i;r++)s[r>>>2]|=(n.charCodeAt(r)&255)<<24-r%4*8;return new Os(s,i)}toBase64(){const e=[];for(let n=0;n<this.sigBytes;n+=3){const i=this.words[n>>>2]>>>24-n%4*8&255,s=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,r=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,o=i<<16|s<<8|r;for(let a=0;a<4&&n*8+a*6<this.sigBytes*8;a++)e.push(VA.charAt(o>>>6*(3-a)&63))}return e.join("")}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n<e.sigBytes;n++){const i=e.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=i<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<e.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=e.words[n>>>2];this.sigBytes+=e.sigBytes}}function UA(t){return new zA().finalize(t).toBase64()}function Es(t){return UA(pu(t))}function hn(t){if(typeof t!="object")return t;var e,n,i=Object.prototype.toString.call(t);if(i==="[object Object]"){if(t.constructor!==Object&&typeof t.constructor=="function"){n=new t.constructor;for(e in t)t.hasOwnProperty(e)&&n[e]!==t[e]&&(n[e]=hn(t[e]))}else{n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:hn(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=hn(t[e])}return n}if(i==="[object Array]"){for(e=t.length,n=Array(e);e--;)n[e]=hn(t[e]);return n}return i==="[object Set]"?(n=new Set,t.forEach(function(s){n.add(hn(s))}),n):i==="[object Map]"?(n=new Map,t.forEach(function(s,r){n.set(hn(r),hn(s))}),n):i==="[object Date]"?new Date(+t):i==="[object RegExp]"?(n=new RegExp(t.source,t.flags),n.lastIndex=t.lastIndex,n):i==="[object DataView]"?new t.constructor(hn(t.buffer)):i==="[object ArrayBuffer]"?t.slice(0):i.slice(-6)==="Array
4]"?new t.constructor(t):t}function WA(t){if(t!=="undefined")try{const e=JSON.parse(t);return typeof e=="number"&&String(e)!==t?t:e}catch{return t}}const qA={path:"/",watch:!0,decode:t=>WA(decodeURIComponent(t)),encode:t=>{if(typeof t!="string"||t==="undefined")return encodeURIComponent(JSON.stringify(t));try{if(typeof JSON.parse(t)!="string")return encodeURIComponent(JSON.stringify(t))}catch{}return encodeURIComponent(t)},refresh:!1},jo=globalThis.cookieStore;function er(t,e){const n={...qA,...e};n.filter??=c=>c===t;const i=Nh(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const r=s!==void 0&&s<=0,o=r||i[t]===void 0||i[t]===null,a=hn(r?void 0:i[t]??n.default?.()),l=s&&!r?YA(a,s,n.watch&&n.watch!=="shallow"):Xe(a);{let c=null;try{!jo&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${t}`))}catch{}const u=(m=!1)=>{!m&&(n.readonly||HA(l.value,i[t]))||(KA(t,l.value,n),i[t]=hn(l.value),c?.postMessage({value:n.encode(l.value)}))},d=m=>{const p=m.refresh?Nh(n)?.[t]:n.decode(m.value);f=!0,l.value=p,i[t]=hn(p),li(()=>{f=!1})};let f=!1;const h=!!or();if(h&&Kr(()=>{f=!0,u(),c?.close()}),jo){const m=p=>{const b=p.changed.find(v=>v.name===t),_=p.deleted.find(v=>v.name===t);b&&d({value:b.value}),_&&d({value:null})};jo.addEventListener("change",m),h&&Kr(()=>jo.removeEventListener("change",m))}else c&&(c.onmessage=({data:m})=>d(m));n.watch&&Ut(l,()=>{f||u(n.refresh)},{deep:n.watch!=="shallow"}),o&&u(o)}return l}function Nh(t={}){return DA(document.cookie,t)}function GA(t,e,n={}){return e==null?Lh(t,e,{...n,maxAge:-1}):Lh(t,e,n)}function KA(t,e,n={}){document.cookie=GA(t,e,n)}const $h=2147483647;function YA(t,e,n){let i,s,r=0;const o=n?Xe(t):{value:t};return or()&&Kr(()=>{s?.(),clearTimeout(i)}),Km((a,l)=>{n&&(s=Ut(o,l));function c(){const d=e-r,f=d<$h?d:$h;i=setTimeout(()=>{if(r+=f,r<e)return c();o.value=void 0,l()},f)}function u(){r=0,clearTimeout(i),c()}return{get(){return a(),o.value},set(d){u(),o.value=d,l()}}})}const ZA=new Set(["/","/contact-us/","/login/","/signup/","/forgot-password/","/reset-password/","/verification/","/verify/","/check-email/","/magic-link/","/checkout/","/thank-you/","/logout/","/cookie-policy/","/privacy-policy/","/terms-of-use/","/get-guidy/","/new-job/","/stop-feeling-like-everyone-knows-more/","/new-software-is-moving-too-fast/","/start-your-new-career/","/get-help-at-work/","/stop-reading-instructions/"]),XA=t=>{if(qe().public.preLaunch&&!er("prelaunch_bypass").value&&!t.path.startsWith("/admin/")&&!ZA.has(t.path))return wn("/",{replace:!0})},JA=t=>{const e=O0({path:t.path});if(e.redirect){const n=e.redirect.includes("#")?e.redirect:e.redirect+t.hash;return Ni(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},QA=[OA,RA,XA,JA],mu={admin:()=>he(()=>import("./Bjq6fZSX.js"),__vite__mapDeps([147,23]),import.meta.url),app:()=>he(()=>import("./B5xMzRsu.js"),[],import.meta.url),auth:()=>he(()=>import("./C-MBhVhA.js"),[],import.meta.url),guest:()=>he(()=>import("./0NlII7pX.js"),[],import.meta.url),"metrics-access":()=>he(()=>import("./_6sunRkf.js"),[],import.meta.url),verified:()=>he(()=>import("./SlWpt0JV.js"),[],import.meta.url)};function eC(t,e,n){const{pathname:i,search:s,hash:r}=e,o=t.indexOf("#");if(o>-1){const c=r.includes(t.slice(o))?t.slice(o).length:1;let u=r.slice(c);return u[0]!=="/"&&(u="/"+u),Pf(u,"")}const a=Pf(i,t),l=!n||c0(a,n)?a:n;return l+(l.includes("?")?"":s)+r}const tC=Ge({name:"nuxt:router",enforce:"pre",async setup(t){let e,n,i=qe().app.baseURL;hu&&!i.includes("#")&&(i+="#");const s=mi.history?.(i)??(hu?h2(i):W0(i)),r=mi.routes?([e,n]=js(()=>mi.routes(sc)),e=await e,n(),e??sc):sc;let o;const a=D2({...mi,scrollBehavior:(_,v,g)=>{if(v===Yt){o=g;return}if(mi.scrollBehavior){if(a.options.scrollBehavior=mi.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return mi.scrollBehavior(_,Yt,o||g)}},history:s,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),t.vueApp.use(a);const l=jn(a.currentRoute.value);a.afterEach((_,v)=>{l.value=v}),Object.defineProperty(t.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=eC(i,window.location,t.payload.path),u=jn(a.currentRoute.value),d=()=>{u.value=a.currentRoute.value};
4a.afterEach((_,v)=>{_.matched.at(-1)?.components?.default===v.matched.at(-1)?.components?.default&&d()});const f={sync:d};for(const _ in u.value)Object.defineProperty(f,_,{get:()=>u.value[_],enumerable:!0});t._route=Rn(f),t._middleware||={global:[],named:{}};const h=vl();a.afterEach(async(_,v,g)=>{delete t._processingMiddleware,!t.isHydrating&&h.value&&await t.runWithContext(Mx),g&&await t.callHook("page:loading:end")});try{[e,n]=js(()=>a.isReady()),await e,n()}catch(_){[e,n]=js(()=>t.runWithContext(()=>qi(_))),await e,n()}const m=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value,p=t.isHydrating&&t.payload.prerenderedAt&&t.payload.path&&c!==t.payload.path&&c0(a.currentRoute.value.path,t.payload.path);d();const b=t.payload.state._layout;return a.beforeEach(async(_,v)=>{await t.callHook("page:loading:start"),_.meta=un(_.meta),t.isHydrating&&b&&!Hn(_.meta.layout)&&(_.meta.layout=b),t._processingMiddleware=!0;{const g=new Set([...QA,...t._middleware.global]);for(const y of _.matched){const T=y.meta.middleware;if(T)for(const A of Y0(T))g.add(A)}const w=O0({path:_.path});if(w.appMiddleware)for(const y in w.appMiddleware)w.appMiddleware[y]?g.add(y):g.delete(y);for(const y of g){const T=typeof y=="string"?t._middleware.named[y]||await mu[y]?.().then(A=>A.default||A):y;if(!T)throw new Error(`Unknown route middleware: '${y}'.`);try{const A=await t.runWithContext(()=>T(_,v));if(!t.payload.serverRendered&&t.isHydrating&&(A===!1||A instanceof Error)){const M=A||Ai({status:404,statusText:`Page Not Found: ${c}`});return await t.runWithContext(()=>qi(M)),!1}if(A===!0)continue;if(A===!1)return A;if(A)return v0(A)&&A.fatal&&await t.runWithContext(()=>qi(A)),A}catch(A){const M=Ai(A);return M.fatal&&await t.runWithContext(()=>qi(M)),M}}}}),a.onError(async()=>{delete t._processingMiddleware,await t.callHook("page:loading:end")}),a.afterEach(_=>{if(_.matched.length===0&&!h.value)return t.runWithContext(()=>qi(Ai({status:404,fatal:!1,statusText:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),t.hooks.hookOnce("app:created",async()=>{try{if("name"in m&&(m.name=void 0),p){const _=a.resolve(t.payload.path);"name"in _&&(_.name=void 0),await a.replace({..._,force:!0}),t.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...m,force:!0})})}else await a.replace({...m,force:!0});a.options.scrollBehavior=mi.scrollBehavior}catch(_){await t.runWithContext(()=>qi(_))}}),{provide:{router:a}}}}),A_=Symbol.for("nuxt:client-only"),Bo="<div></div>",nC=gt({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(t,{slots:e,attrs:n}){const i=jn(!1);Bn(()=>{i.value=!0});const s=Lt();return s&&(s._nuxtClientOnly=!0),ss(A_,!0),()=>{if(i.value){const l=e.default?.();return l&&l.length===1?[Qt(l[0],n)]:l}const r=e.fallback||e.placeholder;if(r)return pt(r);const o=t.fallback||t.placeholder||"",a=t.fallbackTag||t.placeholderTag||"span";return ne(a,n,o)}}}),oc=new WeakMap;function g6(t){if(oc.has(t))return oc.get(t);const e={...t};return e.render?e.render=(n,i,s,r,o,a)=>
4{if(r.mounted$??n.mounted$){const l=t.render?.bind(n)(n,i,s,r,o,a);return l.children===null||typeof l.children=="string"?Qt(l):pt(l)}return rc(n._.vnode.el,Bo)}:e.template&&=` 5 <template v-if="mounted$">${t.template}</template> 6 <template v-else>${Bo}</template> 7 `,e.setup=(n,i)=>{const s=He(),r=jn(s.isHydrating===!1),o=Lt();if(s.isHydrating){const l={...o.attrs},c=iC(o);for(const u in l)delete o.attrs[u];Bn(()=>{Object.assign(o.attrs,l),o.vnode.dirs=c})}Bn(()=>{r.value=!0});const a=t.setup?.(n,i)||{};return el(a)?Promise.resolve(a).then(l=>typeof l!="function"?(l||={},l.mounted$=r,l):(...c)=>{if(r.value||!s.isHydrating){const u=l(...c);return u.children===null||typeof u.children=="string"?Qt(u):pt(u)}return rc(o?.vnode.el,Bo)}):typeof a=="function"?(...l)=>{if(r.value){const c=a(...l),u=e.inheritAttrs!==!1?i.attrs:void 0;return c.children===null||typeof c.children=="string"?Qt(c,u):pt(c,u)}return rc(o?.vnode.el,Bo)}:Object.assign(a,{mounted$:r})},oc.set(t,e),e}function iC(t){if(!t||!t.vnode.dirs)return null;const e=t.vnode.dirs;return t.vnode.dirs=null,e}const gu=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),sC=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),ko=t=>{const e=He();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{gu(()=>t())}):gu(()=>t())};function C_(t){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${t.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>t.factory})}const E_=C_({name:"createUseAsyncData",factory(t={}){function e(...n){const i=typeof n[n.length-1]=="string"?n.pop():void 0;oC(n[0],n[1])&&n.unshift(i);let[s,r,o={}]=n,a=!1;const l=ue(()=>pn(s));if(typeof l.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const c=typeof t=="function",u=He(),d=c?t(o):t;if(!c)for(const v in d)d[v]!==void 0&&o[v]===void 0&&(o[v]=d[v]);if(o.server??=!0,o.default??=lC,o.getCachedData??=P_,o.lazy??=!1,o.immediate??=!0,o.deep??=fx.deep,o.dedupe??="cancel",c)for(const v in d)d[v]!==void 0&&(o[v]=d[v]);u._asyncData[l.value];function f(){const v={cause:"initial",dedupe:o.dedupe};return u._asyncData[l.value]?._init||(v.cachedData=o.getCachedData(l.value,u,{cause:"initial"}),u._asyncData[l.value]=Fh(u,l.value,r,o,v.cachedData)),()=>u._asyncData[l.value].execute(v)}const h=f(),m=u._asyncData[l.value];m._deps++;const p=o.server!==!1&&u.payload.serverRendered;{let v=function(M){const E=u._asyncData[M];E?._deps&&(E._deps--,E._deps===0&&E?._off())};const g=Lt();if(g&&p&&o.immediate&&!g.sp&&(g.sp=[]),g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const M=g._nuxtOnBeforeMountCbs;dg(()=>{M.forEach(E=>{E()}),M.splice(0,M.length)}),lr(()=>M.splice(0,M.length))}const w=g&&(g._nuxtClientOnly||Ct(A_,!1));p&&u.isHydrating&&(m.error.value||m.data.value!==void 0)?m.status.value=m.error.value?"error":"success":g&&(!w&&u.payload.serverRendered&&u.isHydrating||o.lazy)&&o.immediate?g._nuxtOnBeforeMountCbs.push(h):o.immediate&&m.status.value!=="success"&&h();const y=or(),T=Ut(l,(M,E)=>{if((M||E)&&M!==E){a=!0;const R=u._asyncData[E]?.data.value!==void 0,j=u._asyncDataPromises[E]!==void 0,L={cause:"initial",dedupe:o.dedupe};if(!u._asyncData[M]?._init){let K;E&&R?K=u._asyncData[E].data.value:(K=o.getCachedData(M,u,{cause:"initial"}),L.cachedData=K),u._asyncData[M]=Fh(u,M,r,o,K)}u._asyncData[M]._deps++,E&&v(E),(o.immediate||R||j)&&u._asyncData[M].execute(L),Xr(()=>{a=!1})}},{flush:"sync"}),A=o.watch?Ut(o.watch,()=>{a||(u._asyncData[l.value]?._execute.isPending()&&Xr(()=>{u._asyncData[l.value]?._execute.flush()}),u._asyncData[l.value]?._execute({cause:"watch",dedupe:o.dedupe}))}):()=>{};y&&Kr(()=>{T(),A(),v(l.value)})}const b={data:Vo(()=>u._asyncData[l.value]?.data),pending:Vo(()=>u._asyncData[l.value]?.pending),status:Vo(()=>u._asyncData[l.value]?.status),error:Vo(()=>u._asyncData[l.value]?.error),refresh:(...v)=>u._asyncData[l.value]?._init?u._asyncData[l.value].execute(...v):f()(),execute:(...v)=>b.refresh(...v),clear:()=>{const v=u._asyncData[l.value];if(v?._abortController)try{v._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{v._abortController=void 0}M_(u,l.value)}},_=Promise.resolve(u._asyncDataPromises[l.value]).then(()=>b);return Object.assign(_,b),Object.defineProperties(_,{then:{enumerable:!0,value:_.then.bind(_)},catch:{enumerable:!0,value:_.catch.bind(_)},finally:{enumerable:!0,value:_.finally.bind(_)}}),_}return e}}),rC=E_.__nuxt_factory();E_.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function Vo(t){return ue({get(){return t()?.value},set(e){const n=t();n&&(n.value=e)}})}function oC(t,e){return!(typeof t=="string"||typeof t=="object"&&t!==null||typeof t=="function"&&typeof e=="function")}function M_(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=void 0),t._asyncData[e]&&(t._asyncData[e].data.value=O(t._asyncData[e]._default()),t._asyncData[e].error.value=void 0,t._asyncData[e].status.value="idle"),e in t._asyncDataPromises&&(t._asyncDataPromises[e]=void 0)}function aC(t,e){const n={};for(const i of e)n[i]=t[i];return n}function Fh(t,e,n,i,s){t.payload._errors[e]??=void 0;const r=i.getCachedData!==P_,o=n,a=i.deep?Xe:jn,l=s!==void 0,c=t.hook("app:data:refresh",async d=>{(!d||d.includes(e))&&await u.execute({cause:"refresh:hook"})}),u={data:a(l?s:i.default()),pending:ue(()=>u.status.value==="pending"),error:Hu(t.payload._errors,e),status:jn("idle"),execute:(...d)=>{const[f,h=void 0]=d,m=f&&h===void 0&&typeof f=="object"?f:{};if(t._asyncDataPromises[e]&&(m.dedupe??i.dedupe)==="defer")return t._asyncDataPromises[e];{const _="cachedData"in m?m.cachedData:i.getCachedData(e,t,{cause:m.cause??"refresh:manual"});if(_!==void 0)return t.payload.data[e]=u.data.value=_,u.error.value=void 0,u.status.value="success",Promise.resolve(_)}u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const p=new AbortController,b=new Promise((_,v)=>{try{const g=m.timeout??i.timeout,w=cC([u._abortController?.signal,m?.signal],p.signal,g);if(w.aborted){const y=w.reason;v(y instanceof Error?y:new DOMException(String(y??"Aborted"),"AbortError"));return}return w.addEventListener("abort",()=>{const y=w.reason;v(y instanceof Error?y:new DOMException(String(y??"Aborted"),"AbortError"))},{once:!0,signal:p.signal}),Promise.resolve(o(t,{signal:w})).then(_,v)}catch(g){v(g)}}).then(async _=>{let v=_;i.transform&&(v=await i.transform(_)),i.pick&&(v=aC(v,i.pick)),t.payload.data[e]=v,u.data.value=v,u.error.value=void 0,u.status.value="success"}).catch(_=>{if(t._asyncDataPromises[e]&&t._asyncDataPromises[e]!==b||u._abortController?.signal.aborted)return t._asyncDataPromises[e];if(typeof DOMException<"u"&&_ instanceof DOMException&&_.name==="AbortError")return u.status.value="idle",t._asyncDataPromises[e];u.error.value=Ai(_),u.data.value=O(i.default()),u.status.value="error"}).finally(()=>{p.abort(),delete t._asyncDataPromises[e]});return t._asyncDataPromises[e]=b,t._asyncDataPromises[e]},_execute:Ik((...d)=>u.execute(...d),0,{leading:!0}),_default:i.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),t._asyncData[e]?._init&&(t._asyncData[e]._init=!1),r||li(()=>{t._asyncData[e]?._init||(M_(t,e),u.execute=()=>Promise.resolve())})}};return u}const lC=()=>{},P_=(t,e,n)=>{if(e.isHydrating)return e.payload.data[t];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return e.static.data[t]};function cC(t,e,n){const i=t.filter(o=>!!o);if(typeof n=="number"&&n>=0){const o=AbortSignal.timeout?.(n);o&&i.push(o)}if(AbortSignal.any)return AbortSignal.any(i);const s=new AbortController;for(const o of i)if(o.aborted){const a=o.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}return s.signal}const r=()=>{const a=i.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}};for(const o of i)o.addEventListener?.("abort",r,{once:!0,signal:e});return s.signal}function uC(t){const e=[pn(t.method)?.toUpperCase()||"GET",pn(t.baseURL)];for(const n of[t.query||t.params]){const i=pn(n);if(!i)continue;const s={};for(const[r,o]of Object.entries(i))s[pn(r)]=pn(o);e.push(s)}if(t.body){const n=pn(t.body);if(!n)e.push(Es(n));else if(n instanceof ArrayBuffer)e.push(Es(Object.fromEntries([...new Uint8Array(n).entries()].map(([i,s])=>[i,s.toString()]))));else if(n instanceof FormData){const i={};for(const s of n.entries()){const[r,o]=s;i[r]=o instanceof File?o.name:o}e.push(Es(i))}else if(Ou(n))e.push(Es(un(n)));else try{e.push(Es(n))}catch{console.warn("[useFetch] Failed to hash body",n)}}return e}const I_=C_({name:"createUseFetch",factory(t={}){function e(n,i,s){const[r={},o]=typeof i=="string"?[{},i]:[i,s],a=ue(()=>pn(n)),l=ue(()=>pn(r.key)||"$f"+Es([o,typeof a.value=="string"?a.value:"",...uC(r)]));if(!r.baseURL&&typeof a.value=="string"&&a.value[0]==="/"&&a.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const c=typeof t=="function"?t(r):t,{server:u,lazy:d,default:f,transform:h,pick:m,watch:p,immediate:b,getCachedData:_,deep:v,dedupe:g,timeout:w,...y}={...typeof t=="function"?{}:c,...r,...typeof t=="function"?c:{}},T=un({...hx,...y,cache:typeof y.cache=="boolean"?void 0:y.cache}),A={server:u,lazy:d,default:f,transform:h,pick:m,immediate:b,getCachedData:_,deep:v,dedupe:g,timeout:w,watch:p===!1?[]:[...p||[],T]};return rC(p===!1?l.value:l,(E,{signal:R})=>(r.$fetch||globalThis.$fetch)(a.value,{signal:R,...T}),A)}return e}});I_.__nuxt_factory();I_.__nuxt_factory({lazy:!0,_functionName:"useLazyFetch"});function dC(t){if(t?.__asyncLoader&&!t.__asyncResolved)return t.__asyncLoader()}async function O_(t,e=vt()){const{path:n,matched:i}=e.resolve(t);if(!i.length||(e._routePreloaded||=new Set,e._routePreloaded.has(n)))return;const s=e._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>O_(t,e));e._routePreloaded.add(n);for(const r of i){const o=r.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}function fC(t={}){const e=t.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||n?.path!==e||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:He().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}function hC(t){return new URL(globalThis.location.href)}const pC=(...t)=>t.find(e=>e!==void 0);function mC(t){const e=t.componentName||"NuxtLink";function n(r){return!hu&&typeof r=="string"&&r.startsWith("#")}function i(r,o,a){const l=a??t.trailingSlash;if(!r||l!=="append"&&l!=="remove")return r;if(typeof r=="string")return zo(r,l);const c="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:zo(c,l)}}function s(r){const o=vt(),a=qe(),l=ue(()=>!!O(r.target)&&O(r.target)!=="_self"),c=ue(()=>{const b=O(r.to)||O(r.href)||"";return typeof b=="string"&&Ni(b,{acceptRelative:!0})}),u=Xd("RouterLink"),d=typeof u!="string"?u.useLink:void 0,f=ue(()=>{if(O(r.external))return!0;const b=O(r.to)||O(r.href)||"";return typeof b=="object"?!1:b===""||c.value}),h=ue(()=>{const b=O(r.to)||O(r.href)||"";return f.value?b:i(b,o.resolve,O(r.trailingSlash))}),m=f.value?void 0:d?.({...r,to:h,viewTransition:O(r.viewTransition)}),p=ue(()=>{const b=O(r.trailingSlash)??t.trailingSlash;if(!h.value||c.value||n(h.value))return h.value;if(f.value){const _=typeof h.value=="object"&&"path"in h.value?Yc(h.value):h.value,v=typeof _=="object"?o.resolve(_).href:_;return zo(v,b)}return typeof h.value=="object"?o.resolve(h.value)?.href??null:zo(ed(a.app.baseURL,h.value),b)});return{to:h,hasTarget:l,isAbsoluteUrl:c,isExternal:f,href:p,isActive:m?.isActive??ue(()=>h.value===o.currentRoute.value.path),isExactActive:m?.isExactActive??ue(()=>h.value===o.currentRoute.value.path),route:m?.route??ue(()=>o.resolve(h.value)),async navigate(b){await wn(p.value,{replace:O(r.replace),external:f.value||l.value})}}}return gt({name:e,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(r,{slots:o}){const a=vt(),{to:l,href:c,navigate:u,isExternal:d,hasTarget:f,isAbsoluteUrl:h}=s(r),m=jn(!1),p=Xe(null),b=g=>{p.value=r.custom?g?.$el?.nextElementSibling:g?.$el};function _(g){return!m.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===g:r.prefetchOn?.[g]??t.prefetchOn?.[g])&&(r.prefetch??t.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!yC()}async function v(g=He()){if(m.value)return;m.value=!0;const w=typeof l.value=="string"?l.value:d.value?Yc(l.value):a.resolve(l.value).fullPath,y=d.value?new URL(w,window.location.href).href:w;await Promise.all([g.hooks.callHook("link:prefetch",y)?.catch(()=>{}),!d.value&&!f.value&&O_(l.value,a).catch(()=>{})])}if(_("visibility")){const g=He();let w,y=null;Bn(()=>{const T=gC();ko(()=>{w=gu(()=>{p?.value?.tagName&&(y=T.observe(p.value,async()=>{y?.(),y=null,await v(g)}))})})}),_s(()=>{w&&sC(w),y?.(),y=null})}return()=>{if(!d.value&&!f.value&&!n(l.value)){const y={ref:b,to:l.value,activeClass:r.activeClass||t.activeClass,exactActiveClass:r.exactActiveClass||t.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};
7return r.custom||(_("interaction")&&(y.onPointerenter=v.bind(null,void 0),y.onFocus=v.bind(null,void 0)),m.value&&(y.class=r.prefetchedClass||t.prefetchedClass),y.rel=r.rel||void 0),pt(Xd("RouterLink"),y,o.default)}const g=r.target||null,w=pC(r.noRel?"":r.rel,t.externalRelAttribute,h.value||f.value?"noopener noreferrer":"")||null;return r.custom?o.default?o.default({href:c.value,navigate:u,prefetch:v,get route(){if(!c.value)return;const y=new URL(c.value,window.location.href);return{path:y.pathname,fullPath:y.pathname,get query(){return Qu(y.search)},hash:y.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:w,target:g,isExternal:d.value||f.value,isActive:!1,isExactActive:!1}):null:pt("a",{ref:p,href:c.value||null,rel:w,target:g,onClick:async y=>{if(!(d.value||f.value)){y.preventDefault();try{const T=y0(c.value);return await(r.replace?a.replace(T):a.push(T))}finally{if(n(l.value)){const T=l.value.slice(1);let A=T;try{A=decodeURIComponent(T)}catch{}document.getElementById(A)?.focus()}}}}},o.default?.())}}})}const Wa=mC(dx);function zo(t,e){const n=e==="append"?r0:no;return Ni(t)&&!t.startsWith("http")?t:n(t,!0)}function gC(){const t=He();if(t._observer)return t._observer;let e=null;const n=new Map,i=(r,o)=>(e||=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}}),n.set(r,o),e.observe(r),()=>{n.delete(r),e?.unobserve(r),n.size===0&&(e?.disconnect(),e=null)});return t._observer={observe:i}}const _C=/2g/;function yC(){const t=navigator.connection;return!!(t&&(t.saveData||_C.test(t.effectiveType)))}const bC=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,R_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,vC=/^([/\\]\s*){2,}[^/\\]/;function wC(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?bC.test(t):R_.test(t)||(e.acceptRelative?vC.test(t):!1)}function xC(t){return kC(t,"https://")}function kC(t,e){let n=t.match(R_);return n||(n=t.match(/^\/{2,}/)),n?e+t.slice(n[0].length):e+t}function SC(t){typeof t.indexable<"u"&&(t.indexable=String(t.indexable)!=="false"),typeof t.trailingSlash<"u"&&!t.trailingSlash&&(t.trailingSlash=String(t.trailingSlash)!=="false"),t.url&&!wC(String(t.url),{acceptRelative:!0,strict:!1})&&(t.url=xC(String(t.url)));const e=Object.keys(t).sort((i,s)=>i.localeCompare(s)),n={};for(const i of e)n[i]=t[i];return n}function TC(t){const n=[];function i(r){if(!r||typeof r!="object"||Object.keys(r).length===0)return()=>{};r._context;const o={};for(const a in r){const l=r[a];typeof l<"u"&&l!==""&&(o[a]=l)}return Object.keys(o).filter(a=>!a.startsWith("_")).length===0?()=>{}:(n.push(o),()=>{const a=n.indexOf(o);a!==-1&&n.splice(a,1)})}function s(r){const o={};r?.debug&&(o._context={}),o._priority={};for(const a in n.sort((l,c)=>(l._priority||0)-(c._priority||0)))for(const l in n[a]){const c=l,u=r?.resolveRefs?pn(n[a][l]):n[a][l];!l.startsWith("_")&&typeof u<"u"&&u!==""&&(o[l]=u,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(o._priority[c]=n[a]._priority),r?.debug&&(o._context[c]=n[a]._context?.[c]||n[a]._context||"anonymous"))}return r?.skipNormalize?o:SC(o)}return{stack:n,push:i,get:s}}const AC=Ge({name:"nuxt-site-config:init",enforce:"pre",async setup(t){const e=TC(),n=Di("site-config");{const i=n.value||window.__NUXT_SITE_CONFIG__||{};for(const s in i)s[0]!=="_"&&e.push({[s]:i[s],_priority:i._priority?.[s]||-1})}return{provide:{nuxtSiteConfig:e}}}}),D_="experiments",L_="experiments-overridden";function N_(){return Di(D_,()=>({}))}function _6(t){const e=N_();return ue(()=>e.value[t]??y_(t))}function CC(){return Di(L_,()=>!1)}const EC=Ge({name:"experiments",enforce:"pre",setup(){(void 0)?.context,Di(D_,()=>({})),Di(L_,()=>!1)}}),MC=Ge({name:"nuxt:payload",setup(t){const e=new Set;vt().beforeResolve(async(n,i)=>{if(n.path===i.path)return;const s=await Wf(n.path);if(s){for(const r of e)delete t.static.data[r];for(const r in s.data)r in t.static.data||e.add(r),t.static.data[r]=s.data[r]}}),ko(()=>{t.hooks.hook("link:prefetch",async n=>{const{hostname:i}=new URL(n,window.location.href);i===window.location.hostname&&await Wf().catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(I0,1e3)})}}),PC=Ge(()=>{const t=vt();ko(()=>
7{t.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),IC=Ge(t=>{let e;async function n(){let i;try{i=await I0()}catch(s){const r=s;if(!("status"in r&&(r.status===404||r.status===403)))throw r}e&&clearTimeout(e),e=setTimeout(n,$f);try{const s=await $fetch(id("builds/latest.json")+`?${Date.now()}`);s.id!==i?.id&&(t.hooks.callHook("app:manifest:update",s),e&&clearTimeout(e))}catch{}}ko(()=>{e=setTimeout(n,$f)})}),OC=Ge({name:"nuxt:chunk-reload",setup(t){const e=vt(),n=qe(),i=new Set;e.beforeEach(()=>{i.clear()}),t.hook("app:chunkError",({error:r})=>{i.add(r)});function s(r){const o=ed(n.app.baseURL,r.fullPath);fC({path:o,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(s)}),e.onError((r,o)=>{i.has(r)&&s(o)})}}),RC=Ge({name:"nuxt:global-components"}),Uo={},DC=Ge({name:"nuxt:prefetch",setup(t){const e=vt();t.hooks.hook("app:mounted",()=>{e.beforeEach(async n=>{const i=n?.meta?.layout;i&&typeof Uo[i]=="function"&&await Uo[i]()})}),t.hooks.hook("link:prefetch",n=>{if(Ni(n))return;const i=e.resolve(n);if(!i)return;const s=i.meta.layout;let r=Y0(i.meta.middleware);r=r.filter(o=>typeof o=="string");for(const o of r)typeof mu[o]=="function"&&mu[o]();typeof s=="string"&&s in Uo&&dC(Uo[s])})}}),LC=Ge({name:"auth-init",dependsOn:["sdk"],async setup(){let t,e;const{$sdk:n}=He(),i=tn();if(i.state.value.status!=="unknown")return;const s=qe().public.cookieSuffix,r=er(`access_token${s}`),o=er(`refresh_token${s}`);if(!r.value&&!o.value){i.setUnauthenticated();return}try{const{user:a,hasApp:l}=([t,e]=js(()=>n.auth.me()),t=await t,e(),t);i.setAuthenticated(a,l)}catch(a){console.log("Error fetching user",a),i.setUnauthenticated()}}});function So(t){return t+.5|0}const wi=(t,e,n)=>Math.max(Math.min(t,n),e);function Cr(t){return wi(So(t*2.55),0,255)}function Ei(t){return wi(So(t*255),0,255)}function Qn(t){return wi(So(t/2.55)/100,0,1)}function Hh(t){return wi(So(t*100),0,100)}const on={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},_u=[..."0123456789ABCDEF"],NC=t=>_u[t&15],$C=t=>_u[(t&240)>>4]+_u[t&15],Wo=t=>(t&240)>>4===(t&15),FC=t=>Wo(t.r)&&Wo(t.g)&&Wo(t.b)&&Wo(t.a);function HC(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&on[t[1]]*17,g:255&on[t[2]]*17,b:255&on[t[3]]*17,a:e===5?on[t[4]]*17:255}:(e===7||e===9)&&(n={r:on[t[1]]<<4|on[t[2]],g:on[t[3]]<<4|on[t[4]],b:on[t[5]]<<4|on[t[6]],a:e===9?on[t[7]]<<4|on[t[8]]:255})),n}const jC=(t,e)=>t<255?e(t):"";function BC(t){var e=FC(t)?NC:$C;return t?"#"+e(t.r)+e(t.g)+e(t.b)+jC(t.a,e):void 0}const VC=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function $_(t,e,n){const i=e*Math.min(n,1-n),s=(r,o=(r+t/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[s(0),s(8),s(4)]}function zC(t,e,n){const i=(s,r=(s+t/60)%6)=>n-n*e*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function UC(t,e,n){const i=$_(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)i[s]*=1-e-n,i[s]+=e;return i}function WC(t,e,n,i,s){return t===s?(e-n)/i+(e<n?6:0):e===s?(n-t)/i+2:(t-e)/i+4}function vd(t){const n=t.r/255,i=t.g/255,s=t.b/255,r=Math.max(n,i,s),o=Math.min(n,i,s),a=(r+o)/2;let l,c,u;return r!==o&&(u=r-o,c=a>.5?u/(2-r-o):u/(r+o),l=WC(n,i,s,u,r),l=l*60+.5),[l|0,c||0,a]}function wd(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(Ei)}function xd(t,e,n){return wd($_,t,e,n)}function qC(t,e,n){return wd(UC,t,e,n)}function GC(t,e,n){return wd(zC,t,e,n)}function F_(t){return(t%360+360)%360}function KC(t){const e=VC.exec(t);let n=255,i;if(!e)return;e[5]!==i&&(n=e[6]?Cr(+e[5]):Ei(+e[5]));const s=F_(+e[2]),r=+e[3]/100,o=+e[4]/100;return e[1]==="hwb"?i=qC(s,r,o):e[1]==="hsv"?i=GC(s,r,o):i=xd(s,r,o),{r:i[0],g:i[1],b:i[2],a:n}}function YC(t,e){var n=vd(t);n[0]=F_(n[0]+e),n=xd(n),t.r=n[0],t.g=n[1],t.b=n[2]}function ZC(t){if(!t)return;const e=vd(t),n=e[0],i=Hh(e[1]),s=Hh(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${s}%, ${Qn(t.a)})`:`hsl(${n}, ${i}%, ${s}%)`}const jh={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Bh={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",K
vendor: 5,064 bytes, line 7
7ocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function XC(){const t={},e=Object.keys(Bh),n=Object.keys(jh);let i,s,r,o,a;for(i=0;i<e.length;i++){for(o=a=e[i],s=0;s<n.length;s++)r=n[s],a=a.replace(r,jh[r]);r=parseInt(Bh[o],16),t[a]=[r>>16&255,r>>8&255,r&255]}return t}let qo;function JC(t){qo||(qo=XC(),qo.transparent=[0,0,0,0]);const e=qo[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const QC=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function eE(t){const e=QC.exec(t);let n=255,i,s,r;if(e){if(e[7]!==i){const o=+e[7];n=e[8]?Cr(o):wi(o*255,0,255)}return i=+e[1],s=+e[3],r=+e[5],i=255&(e[2]?Cr(i):wi(i,0,255)),s=255&(e[4]?Cr(s):wi(s,0,255)),r=255&(e[6]?Cr(r):wi(r,0,255)),{r:i,g:s,b:r,a:n}}}function tE(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Qn(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ac=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Ss=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function nE(t,e,n){const i=Ss(Qn(t.r)),s=Ss(Qn(t.g)),r=Ss(Qn(t.b));return{r:Ei(ac(i+n*(Ss(Qn(e.r))-i))),g:Ei(ac(s+n*(Ss(Qn(e.g))-s))),b:Ei(ac(r+n*(Ss(Qn(e.b))-r))),a:t.a+n*(e.a-t.a)}}function Go(t,e,n){if(t){let i=vd(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,e===0?360:1)),i=xd(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function H_(t,e){return t&&Object.assign(e||{},t)}function Vh(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ei(t[3]))):(e=H_(t,{r:0,g:0,b:0,a:1}),e.a=Ei(e.a)),e}function iE(t){return t.charAt(0)==="r"?eE(t):KC(t)}class lo{constructor(e){if(e instanceof lo)return e;const n=typeof e;let i;n==="object"?i=Vh(e):n==="string"&&(i=HC(e)||JC(e)||iE(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=H_(this._rgb);return e&&(e.a=Qn(e.a)),e}set rgb(e){this._rgb=Vh(e)}rgbString(){return this._valid?tE(this._rgb):void 0}hexString(){return this._valid?BC(this._rgb):void 0}hslString(){return this._valid?ZC(this._rgb):void 0}mix(e,n){if(e){const i=this.rgb,s=e.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=i.a-s.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,i.r=255&c*i.r+r*s.r+.5,i.g=255&c*i.g+r*s.g+.5,i.b=255&c*i.b+r*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(e,n){return e&&(this._rgb=nE(this._rgb,e._rgb,n)),this}clone(){return new lo(this.rgb)}alpha(e){return this._rgb.a=Ei(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=So(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Go(this._rgb,2,e),this}darken(e){return Go(this._rgb,2,-e),this}saturate(e){return Go(this._rgb,1,e),this}desaturate(e){return Go(this._rgb,1,-e),this}rotate(e){return YC(this._rgb,e),this}}function qn(){}const sE=(()=>{let t=0;return()=>t++})();function Fe(t){return t==null}function dt(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);
vendor: 4,403 bytes, line 7
7return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function Ee(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function Et(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Sn(t,e){return Et(t)?t:e}function ke(t,e){return typeof t>"u"?e:t}const rE=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Ke(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function je(t,e,n,i){let s,r,o;if(dt(t))for(r=t.length,s=0;s<r;s++)e.call(n,t[s],s);else if(Ee(t))for(o=Object.keys(t),r=o.length,s=0;s<r;s++)e.call(n,t[o[s]],o[s])}function qa(t,e){let n,i,s,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(s=t[n],r=e[n],s.datasetIndex!==r.datasetIndex||s.index!==r.index)return!1;return!0}function Ga(t){if(dt(t))return t.map(Ga);if(Ee(t)){const e=Object.create(null),n=Object.keys(t),i=n.length;let s=0;for(;s<i;++s)e[n[s]]=Ga(t[n[s]]);return e}return t}function j_(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function oE(t,e,n,i){if(!j_(t))return;const s=e[t],r=n[t];Ee(s)&&Ee(r)?co(s,r,i):e[t]=Ga(r)}function co(t,e,n){const i=dt(e)?e:[e],s=i.length;if(!Ee(t))return t;n=n||{};const r=n.merger||oE;let o;for(let a=0;a<s;++a){if(o=i[a],!Ee(o))continue;const l=Object.keys(o);for(let c=0,u=l.length;c<u;++c)r(l[c],t,o,n)}return t}function jr(t,e){return co(t,e,{merger:aE})}function aE(t,e,n){if(!j_(t))return;const i=e[t],s=n[t];Ee(i)&&Ee(s)?jr(i,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=Ga(s))}const zh={"":t=>t,x:t=>t.x,y:t=>t.y};function lE(t){const e=t.split("."),n=[];let i="";for(const s of e)i+=s,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function cE(t){const e=lE(t);return n=>{for(const i of e){if(i==="")break;n=n&&n[i]}return n}}function tr(t,e){return(zh[e]||(zh[e]=cE(e)))(t)}function kd(t){return t.charAt(0).toUpperCase()+t.slice(1)}const uo=t=>typeof t<"u",Li=t=>typeof t=="function",Uh=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function uE(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const mt=Math.PI,yn=2*mt,dE=yn+mt,Ka=Number.POSITIVE_INFINITY,fE=mt/180,gn=mt/2,Vi=mt/4,Wh=mt*2/3,B_=Math.log10,Fn=Math.sign;function Br(t,e,n){return Math.abs(t-e)<n}function qh(t){const e=Math.round(t);t=Br(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(B_(t))),i=t/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function hE(t){const e=[],n=Math.sqrt(t);let i;for(i=1;i<n;i++)t%i===0&&(e.push(i),e.push(t/i));return n===(n|0)&&e.push(n),e.sort((s,r)=>s-r).pop(),e}function pE(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function fo(t){return!pE(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function mE(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function gE(t,e,n){let i,s,r;for(i=0,s=t.length;i<s;i++)r=t[i][n],isNaN(r)||(e.min=Math.min(e.min,r),e.max=Math.max(e.max,r))}function Xi(t){return t*(mt/180)}function _E(t){return t*(180/mt)}function Gh(t){if(!Et(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function yE(t,e){const n=e.x-t.x,i=e.y-t.y,s=Math.sqrt(n*n+i*i);let r=Math.atan2(i,n);return r<-.5*mt&&(r+=yn),{angle:r,distance:s}}function yu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function bE(t,e){return(t-e+dE)%yn-mt}function In(t){return(t%yn+yn)%yn}function V_(t,e,n,i){const s=In(t),r=In(e),o=In(n),a=In(r-s),l=In(o-s),c=In(s-r),u=In(s-o);return s===r||s===o||i&&r===o||a>l&&c<u}function Xt(t,e,n){return Math.max(e,Math.min(n,t))}function vE(t){return Xt(t,-32768,32767)}function xi(t,e,n,i=1e-6){return t>=Math.min(e,n)-i&&t<=Math.max(e,n)+i}function Sd(t,e,n){n=n||(o=>t[o]<e);let i=t.length-1,s=0,r;for(;i-s>1;)r=s+i>>1,n(r)?s=r:i=r;return{lo:s,hi:i}}const Ji=(t,e,n,i)=>Sd(t,n,i?s=>{const r=t[s][e];return r<n||r===n&&t[s+1][e]===n}:s=>t[s][e]<n),wE=(t,e,n)=>Sd(t,n,i=>t[i][e]>=n);function xE(t,e,n){let i=0,s=t.length;for(;i<s&&t[i]<e;)i++;for(;s>i&&t[s-1]>n;)s--;return i>0||s<t.length?t.slice(i,s):t}const z_=["push","pop","shift","splice","unshift"];function kE(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),z_.forEach(n=>{const i="_onData"+kd(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);
vendor: 4,543 bytes, line 7
7return t._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),o}})})}function Kh(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(e);s!==-1&&i.splice(s,1),!(i.length>0)&&(z_.forEach(r=>{delete t[r]}),delete t._chartjs)}function U_(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const W_=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function q_(t,e){let n=[],i=!1;return function(...s){n=s,i||(i=!0,W_.call(window,()=>{i=!1,t.apply(e,n)}))}}function SE(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const Td=t=>t==="start"?"left":t==="end"?"right":"center",wt=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,TE=(t,e,n,i)=>t===(i?"left":"right")?n:t==="center"?(e+n)/2:e;function AE(t,e,n){const i=e.length;let s=0,r=i;if(t._sorted){const{iScale:o,vScale:a,_parsed:l}=t,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,u=o.axis,{min:d,max:f,minDefined:h,maxDefined:m}=o.getUserBounds();if(h){if(s=Math.min(Ji(l,u,d).lo,n?i:Ji(e,u,o.getPixelForValue(d)).lo),c){const p=l.slice(0,s+1).reverse().findIndex(b=>!Fe(b[a.axis]));s-=Math.max(0,p)}s=Xt(s,0,i-1)}if(m){let p=Math.max(Ji(l,o.axis,f,!0).hi+1,n?0:Ji(e,u,o.getPixelForValue(f),!0).hi+1);if(c){const b=l.slice(p-1).findIndex(_=>!Fe(_[a.axis]));p+=Math.max(0,b)}r=Xt(p,s,i)-s}else r=i-s}return{start:s,count:r}}function CE(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=s,!0;const r=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),r}const Ko=t=>t===0||t===1,Yh=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*yn/n)),Zh=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*yn/n)+1,Vr={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*gn)+1,easeOutSine:t=>Math.sin(t*gn),easeInOutSine:t=>-.5*(Math.cos(mt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>Ko(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Ko(t)?t:Yh(t,.075,.3),easeOutElastic:t=>Ko(t)?t:Zh(t,.075,.3),easeInOutElastic(t){return Ko(t)?t:t<.5?.5*Yh(t*2,.1125,.45):.5+.5*Zh(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Vr.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Vr.easeInBounce(t*2)*.5:Vr.easeOutBounce(t*2-1)*.5+.5};function Ad(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Xh(t){return Ad(t)?t:new lo(t)}function lc(t){return Ad(t)?t:new lo(t).saturate(.5).darken(.1).hexString()}const EE=["x","y","borderWidth","radius","tension"],ME=["color","borderColor","backgroundColor"];function PE(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:ME},numbers:{type:"number",properties:EE}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function IE(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Jh=new Map;function OE(t,e){e=e||{};const n=t+JSON.stringify(e);let i=Jh.get(n);
vendor: 27,457 bytes, line 7
7return i||(i=new Intl.NumberFormat(t,e),Jh.set(n,i)),i}function G_(t,e,n){return OE(e,n).format(t)}const RE={values(t){return dt(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const i=this.chart.options.locale;let s,r=t;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(s="scientific"),r=DE(t,n)}const o=B_(Math.abs(r)),a=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),G_(t,i,l)}};function DE(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var K_={formatters:RE};function LE(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:K_.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const gs=Object.create(null),bu=Object.create(null);function zr(t,e){if(!e)return t;const n=e.split(".");for(let i=0,s=n.length;i<s;++i){const r=n[i];t=t[r]||(t[r]=Object.create(null))}return t}function cc(t,e,n){return typeof e=="string"?co(zr(t,e),n):co(zr(t,""),e)}class NE{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(i,s)=>lc(s.backgroundColor),this.hoverBorderColor=(i,s)=>lc(s.borderColor),this.hoverColor=(i,s)=>lc(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return cc(this,e,n)}get(e){return zr(this,e)}describe(e,n){return cc(bu,e,n)}override(e,n){return cc(gs,e,n)}route(e,n,i,s){const r=zr(this,e),o=zr(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[s];return Ee(l)?Object.assign({},c,l):ke(l,c)},set(l){this[a]=l}}})}apply(e){e.forEach(n=>n(this))}}var rt=new NE({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[PE,IE,LE]);function $E(t){return!t||Fe(t.size)||Fe(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function Qh(t,e,n,i,s){let r=e[s];return r||(r=e[s]=t.measureText(s).width,n.push(s)),r>i&&(i=r),i}function zi(t,e,n){const i=t.currentDevicePixelRatio,s=n!==0?Math.max(n/2,.5):0;return Math.round((e-s)*i)/i+s}function ep(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function vu(t,e,n,i){Y_(t,e,n,i,null)}function Y_(t,e,n,i,s){let r,o,a,l,c,u,d,f;const h=e.pointStyle,m=e.rotation,p=e.radius;let b=(m||0)*fE;if(h&&typeof h=="object"&&(r=h.toString(),r==="[object HTMLImageElement]"||r==="[object HTMLCanvasElement]")){t.save(),t.translate(n,i),t.rotate(b),t.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),h){default:s?t.ellipse(n,i,s/2,p,0,0,yn):t.arc(n,i,p,0,yn),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(b)*u,i-Math.cos(b)*p),b+=Wh,t.lineTo(n+Math.sin(b)*u,i-Math.cos(b)*p),b+=Wh,t.lineTo(n+Math.sin(b)*u,i-Math.cos(b)*p),t.closePath();break;case"rectRounded":c=p*.516,l=p-c,o=Math.cos(b+Vi)*l,d=Math.cos(b+Vi)*(s?s/2-c:l),a=Math.sin(b+Vi)*l,f=Math.sin(b+Vi)*(s?s/2-c:l),t.arc(n-d,i-a,c,b-mt,b-gn),t.arc(n+f,i-o,c,b-gn,b),t.arc(n+d,i+a,c,b,b+gn),t.arc(n-f,i+o,c,b+gn,b+mt),t.closePath();break;case"rect":if(!m){l=Math.SQRT1_2*p,u=s?s/2:l,t.rect(n-u,i-l,2*u,2*l);break}b+=Vi;case"rectRot":d=Math.cos(b)*(s?s/2:p),o=Math.cos(b)*p,a=Math.sin(b)*p,f=Math.sin(b)*(s?s/2:p),t.moveTo(n-d,i-a),t.lineTo(n+f,i-o),t.lineTo(n+d,i+a),t.lineTo(n-f,i+o),t.closePath();break;case"crossRot":b+=Vi;case"cross":d=Math.cos(b)*(s?s/2:p),o=Math.cos(b)*p,a=Math.sin(b)*p,f=Math.sin(b)*(s?s/2:p),t.moveTo(n-d,i-a),t.lineTo(n+d,i+a),t.moveTo(n+f,i-o),t.lineTo(n-f,i+o);break;case"star":d=Math.cos(b)*(s?s/2:p),o=Math.cos(b)*p,a=Math.sin(b)*p,f=Math.sin(b)*(s?s/2:p),t.moveTo(n-d,i-a),t.lineTo(n+d,i+a),t.moveTo(n+f,i-o),t.lineTo(n-f,i+o),b+=Vi,d=Math.cos(b)*(s?s/2:p),o=Math.cos(b)*p,a=Math.sin(b)*p,f=Math.sin(b)*(s?s/2:p),t.moveTo(n-d,i-a),t.lineTo(n+d,i+a),t.moveTo(n+f,i-o),t.lineTo(n-f,i+o);break;case"line":o=s?s/2:Math.cos(b)*p,a=Math.sin(b)*p,t.moveTo(n-o,i-a),t.lineTo(n+o,i+a);break;case"dash":t.moveTo(n,i),t.lineTo(n+Math.cos(b)*(s?s/2:p),i+Math.sin(b)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function ho(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Sl(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Tl(t){t.restore()}function FE(t,e,n,i,s){if(!e)return t.lineTo(n.x,n.y);if(s==="middle"){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else s==="after"!=!!i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function HE(t,e,n,i){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.cp1x:e.cp2x,i?e.cp1y:e.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function jE(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Fe(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function BE(t,e,n,i,s){if(s.strikethrough||s.underline){const r=t.measureText(i),o=e-r.actualBoundingBoxLeft,a=e+r.actualBoundingBoxRight,l=n-r.actualBoundingBoxAscent,c=n+r.actualBoundingBoxDescent,u=s.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(o,u),t.lineTo(a,u),t.stroke()}}function VE(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function po(t,e,n,i,s,r={}){const o=dt(e)?e:[e],a=r.strokeWidth>0&&r.strokeColor!=="";let l,c;for(t.save(),t.font=s.string,jE(t,r),l=0;l<o.length;++l)c=o[l],r.backdrop&&VE(t,r.backdrop),a&&(r.strokeColor&&(t.strokeStyle=r.strokeColor),Fe(r.strokeWidth)||(t.lineWidth=r.strokeWidth),t.strokeText(c,n,i,r.maxWidth)),t.fillText(c,n,i,r.maxWidth),BE(t,n,i,c,r),i+=Number(s.lineHeight);t.restore()}function Ya(t,e){const{x:n,y:i,w:s,h:r,radius:o}=e;t.arc(n+o.topLeft,i+o.topLeft,o.topLeft,1.5*mt,mt,!0),t.lineTo(n,i+r-o.bottomLeft),t.arc(n+o.bottomLeft,i+r-o.bottomLeft,o.bottomLeft,mt,gn,!0),t.lineTo(n+s-o.bottomRight,i+r),t.arc(n+s-o.bottomRight,i+r-o.bottomRight,o.bottomRight,gn,0,!0),t.lineTo(n+s,i+o.topRight),t.arc(n+s-o.topRight,i+o.topRight,o.topRight,0,-gn,!0),t.lineTo(n+o.topLeft,i)}const zE=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,UE=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function WE(t,e){const n=(""+t).match(zE);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const qE=t=>+t||0;function Z_(t,e){const n={},i=Ee(e),s=i?Object.keys(e):e,r=Ee(t)?i?o=>ke(t[o],t[e[o]]):o=>t[o]:()=>t;for(const o of s)n[o]=qE(r(o));return n}function X_(t){return Z_(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Bs(t){return Z_(t,["topLeft","topRight","bottomLeft","bottomRight"])}function cn(t){const e=X_(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Tt(t,e){t=t||{},e=e||rt.font;let n=ke(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let i=ke(t.style,e.style);i&&!(""+i).match(UE)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const s={family:ke(t.family,e.family),lineHeight:WE(ke(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:ke(t.weight,e.weight),string:""};return s.string=$E(s),s}function Yo(t,e,n,i){let s,r,o;for(s=0,r=t.length;s<r;++s)if(o=t[s],o!==void 0&&o!==void 0)return o}function GE(t,e,n){const{min:i,max:s}=t,r=rE(e,(s-i)/2),o=(a,l)=>n&&a===0?0:a+l;return{min:o(i,-Math.abs(r)),max:o(s,r)}}function ys(t,e){return Object.assign(Object.create(t),e)}function Cd(t,e=[""],n,i,s=()=>t[0]){const r=n||t;typeof i>"u"&&(i=ty("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:r,_fallback:i,_getTarget:s,override:a=>Cd([a,...t],e,r,i)};return new Proxy(o,{deleteProperty(a,l){return delete a[l],delete a._keys,delete t[0][l],!0},get(a,l){return Q_(a,l,()=>t4(l,e,t,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(a,l){return np(a).includes(l)},ownKeys(a){return np(a)},set(a,l,c){const u=a._storage||(a._storage=s());return a[l]=u[l]=c,delete a._keys,!0}})}function nr(t,e,n,i){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:J_(t,i),setContext:r=>nr(t,r,n,i),override:r=>nr(t.override(r),e,n,i)};return new Proxy(s,{deleteProperty(r,o){return delete r[o],delete t[o],!0},get(r,o,a){return Q_(r,o,()=>YE(r,o,a))},getOwnPropertyDescriptor(r,o){return r._descriptors.allKeys?Reflect.has(t,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,o)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(r,o){return Reflect.has(t,o)},ownKeys(){return Reflect.ownKeys(t)},set(r,o,a){return t[o]=a,delete r[o],!0}})}function J_(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:i,isScriptable:Li(n)?n:()=>n,isIndexable:Li(i)?i:()=>i}}const KE=(t,e)=>t?t+kd(e):e,Ed=(t,e)=>Ee(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Q_(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const i=n();return t[e]=i,i}function YE(t,e,n){const{_proxy:i,_context:s,_subProxy:r,_descriptors:o}=t;let a=i[e];return Li(a)&&o.isScriptable(e)&&(a=ZE(e,a,t,n)),dt(a)&&a.length&&(a=XE(e,a,t,o.isIndexable)),Ed(e,a)&&(a=nr(a,s,r&&r[e],o)),a}function ZE(t,e,n,i){const{_proxy:s,_context:r,_subProxy:o,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(r,o||i);return a.delete(t),Ed(t,l)&&(l=Md(s._scopes,s,t,l)),l}function XE(t,e,n,i){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=n;if(typeof r.index<"u"&&i(t))return e[r.index%e.length];if(Ee(e[0])){const l=e,c=s._scopes.filter(u=>u!==l);e=[];for(const u of l){const d=Md(c,s,t,u);e.push(nr(d,r,o&&o[t],a))}}return e}function ey(t,e,n){return Li(t)?t(e,n):t}const JE=(t,e)=>t===!0?e:typeof t=="string"?tr(e,t):void 0;function QE(t,e,n,i,s){for(const r of e){const o=JE(n,r);if(o){t.add(o);const a=ey(o._fallback,n,s);if(typeof a<"u"&&a!==n&&a!==i)return a}else if(o===!1&&typeof i<"u"&&n!==i)return null}return!1}function Md(t,e,n,i){const s=e._rootScopes,r=ey(e._fallback,n,i),o=[...t,...s],a=new Set;a.add(i);let l=tp(a,o,n,r||n,i);return l===null||typeof r<"u"&&r!==n&&(l=tp(a,o,r,l,i),l===null)?!1:Cd(Array.from(a),[""],s,r,()=>e4(e,n,i))}function tp(t,e,n,i,s){for(;n;)n=QE(t,e,n,i,s);return n}function e4(t,e,n){const i=t._getTarget();e in i||(i[e]={});const s=i[e];return dt(s)&&Ee(n)?n:s||{}}function t4(t,e,n,i){let s;for(const r of e)if(s=ty(KE(r,t),n),typeof s<"u")return Ed(t,s)?Md(n,i,t,s):s}function ty(t,e){for(const n of e){if(!n)continue;const i=n[t];if(typeof i<"u")return i}}function np(t){let e=t._keys;return e||(e=t._keys=n4(t._scopes)),e}function n4(t){const e=new Set;for(const n of t)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(i);return Array.from(e)}const i4=Number.EPSILON||1e-14,ir=(t,e)=>e<t.length&&!t[e].skip&&t[e],ny=t=>t==="x"?"y":"x";function s4(t,e,n,i){const s=t.skip?e:t,r=e,o=n.skip?e:n,a=yu(r,s),l=yu(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,f=i*u;return{previous:{x:r.x-d*(o.x-s.x),y:r.y-d*(o.y-s.y)},next:{x:r.x+f*(o.x-s.x),y:r.y+f*(o.y-s.y)}}}function r4(t,e,n){const i=t.length;let s,r,o,a,l,c=ir(t,0);for(let u=0;u<i-1;++u)if(l=c,c=ir(t,u+1),!(!l||!c)){if(Br(e[u],0,i4)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],r=n[u+1]/e[u],a=Math.pow(s,2)+Math.pow(r,2),!(a<=9)&&(o=3/Math.sqrt(a),n[u]=s*o*e[u],n[u+1]=r*o*e[u])}}function o4(t,e,n="x"){const i=ny(n),s=t.length;let r,o,a,l=ir(t,0);for(let c=0;c<s;++c){if(o=a,a=l,l=ir(t,c+1),!a)continue;const u=a[n],d=a[i];o&&(r=(u-o[n])/3,a[`cp1${n}`]=u-r,a[`cp1${i}`]=d-r*e[c]),l&&(r=(l[n]-u)/3,a[`cp2${n}`]=u+r,a[`cp2${i}`]=d+r*e[c])}}function a4(t,e="x"){const n=ny(e),i=t.length,s=Array(i).fill(0),r=Array(i);let o,a,l,c=ir(t,0);for(o=0;o<i;++o)if(a=l,l=c,c=ir(t,o+1),!!l){if(c){const u=c[e]-l[e];s[o]=u!==0?(c[n]-l[n])/u:0}r[o]=a?c?Fn(s[o-1])!==Fn(s[o])?0:(s[o-1]+s[o])/2:s[o-1]:s[o]}r4(t,s,r),o4(t,r,e)}function Zo(t,e,n){return Math.max(Math.min(t,n),e)}function l4(t,e){let n,i,s,r,o,a=ho(t[0],e);for(n=0,i=t.length;n<i;++n)o=r,r=a,a=n<i-1&&ho(t[n+1],e),r&&(s=t[n],o&&(s.cp1x=Zo(s.cp1x,e.left,e.right),s.cp1y=Zo(s.cp1y,e.top,e.bottom)),a&&(s.cp2x=Zo(s.cp2x,e.left,e.right),s.cp2y=Zo(s.cp2y,e.top,e.bottom)))}function c4(t,e,n,i,s){let r,o,a,l;if(e.spanGaps&&(t=t.filter(c=>!c.skip)),e.cubicInterpolationMode==="monotone")a4(t,s);else{let c=i?t[t.length-1]:t[0];for(r=0,o=t.length;r<o;++r)a=t[r],l=s4(c,a,t[Math.min(r+1,o-(i?0:1))%o],e.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,c=a}e.capBezierPoints&&l4(t,n)}function Pd(){return typeof window<"u"&&typeof document<"u"}function Id(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function Za(t,e,n){let i;return typeof t=="string"?(i=parseInt(t,10),t.indexOf("%")!==-1&&(i=i/100*e.parentNode[n])):i=t,i}const Al=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function u4(t,e){return Al(t).getPropertyValue(e)}const d4=["top","right","bottom","left"];function as(t,e,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const r=d4[s];i[r]=parseFloat(t[e+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const f4=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function h4(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:s,offsetY:r}=i;let o=!1,a,l;if(f4(s,r,t.target))a=s,l=r;else{const c=e.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function Gi(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,s=Al(n),r=s.boxSizing==="border-box",o=as(s,"padding"),a=as(s,"border","width"),{x:l,y:c,box:u}=h4(t,n),d=o.left+(u&&a.left),f=o.top+(u&&a.top);let{width:h,height:m}=e;return r&&(h-=o.width+a.width,m-=o.height+a.height),{x:Math.round((l-d)/h*n.width/i),y:Math.round((c-f)/m*n.height/i)}}function p4(t,e,n){let i,s;if(e===void 0||n===void 0){const r=t&&Id(t);if(!r)e=t.clientWidth,n=t.clientHeight;else{const o=r.getBoundingClientRect(),a=Al(r),l=as(a,"border","width"),c=as(a,"padding");e=o.width-c.width-l.width,n=o.height-c.height-l.height,i=Za(a.maxWidth,r,"clientWidth"),s=Za(a.maxHeight,r,"clientHeight")}}return{width:e,height:n,maxWidth:i||Ka,maxHeight:s||Ka}}const ki=t=>Math.round(t*10)/10;function m4(t,e,n,i){const s=Al(t),r=as(s,"margin"),o=Za(s.maxWidth,t,"clientWidth")||Ka,a=Za(s.maxHeight,t,"clientHeight")||Ka,l=p4(t,e,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const f=as(s,"border","width"),h=as(s,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-r.width),u=Math.max(0,i?c/i:u-r.height),c=ki(Math.min(c,o,l.maxWidth)),u=ki(Math.min(u,a,l.maxHeight)),c&&!u&&(u=ki(c/2)),(e!==void 0||n!==void 0)&&i&&l.height&&u>l.height&&(u=l.height,c=ki(Math.floor(u*i))),{width:c,height:u}}function ip(t,e,n){const i=e||1,s=ki(t.height*i),r=ki(t.width*i);t.height=ki(t.height),t.width=ki(t.width);const o=t.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${t.height}px`,o.style.width=`${t.width}px`),t.currentDevicePixelRatio!==i||o.height!==s||o.width!==r?(t.currentDevicePixelRatio=i,o.height=s,o.width=r,t.ctx.setTransform(i,0,0,i,0,0),!0):!1}const g4=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Pd()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function sp(t,e){const n=u4(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Ki(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function _4(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:i==="middle"?n<.5?t.y:e.y:i==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function y4(t,e,n,i){const s={x:t.cp2x,y:t.cp2y},r={x:e.cp1x,y:e.cp1y},o=Ki(t,s,n),a=Ki(s,r,n),l=Ki(r,e,n),c=Ki(o,a,n),u=Ki(a,l,n);return Ki(c,u,n)}const b4=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,i){return n-i},leftForLtr(n,i){return n-i}}},v4=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Vs(t,e,n){return t?b4(e,n):v4()}function iy(t,e){let n,i;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function sy(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ry(t){return t==="angle"?{between:V_,compare:bE,normalize:In}:{between:xi,compare:(e,n)=>e-n,normalize:e=>e}}function rp({start:t,end:e,count:n,loop:i,style:s}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:s}}function w4(t,e,n){const{property:i,start:s,end:r}=n,{between:o,normalize:a}=ry(i),l=e.length;let{start:c,end:u,loop:d}=t,f,h;if(d){for(c+=l,u+=l,f=0,h=l;f<h&&o(a(e[c%l][i]),s,r);++f)c--,u--;c%=l,u%=l}return u<c&&(u+=l),{start:c,end:u,loop:d,style:t.style}}function oy(t,e,n){if(!n)return[t];const{property:i,start:s,end:r}=n,o=e.length,{compare:a,between:l,normalize:c}=ry(i),{start:u,end:d,loop:f,style:h}=w4(t,e,n),m=[];let p=!1,b=null,_,v,g;const w=()=>l(s,g,_)&&a(s,g)!==0,y=()=>a(r,_)===0||l(r,g,_),T=()=>p||w(),A=()=>!p||y();for(let M=u,E=u;M<=d;++M)v=e[M%o],!v.skip&&(_=c(v[i]),_!==g&&(p=l(_,s,r),b===null&&T()&&(b=a(_,s)===0?M:E),b!==null&&A()&&(m.push(rp({start:b,end:M,loop:f,count:o,style:h})),b=null),E=M,g=_));return b!==null&&m.push(rp({start:b,end:d,loop:f,count:o,style:h})),m}function ay(t,e){const n=[],i=t.segments;for(let s=0;s<i.length;s++){const r=oy(i[s],t.points,e);r.length&&n.push(...r)}return n}function x4(t,e,n,i){let s=0,r=e-1;if(n&&!i)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(r+=s);r>s&&t[r%e].skip;)r--;return r%=e,{start:s,end:r}}function k4(t,e,n,i){const s=t.length,r=[];let o=e,a=t[e],l;for(l=e+1;l<=n;++l){const c=t[l%s];c.skip||c.stop?a.skip||(i=!1,r.push({start:e%s,end:(l-1)%s,loop:i}),e=o=c.stop?l:null):(o=l,a.skip&&(e=l)),a=c}return o!==null&&r.push({start:e%s,end:o%s,loop:i}),r}function S4(t,e){const n=t.points,i=t.options.spanGaps,s=n.length;if(!s)return[];const r=!!t._loop,{start:o,end:a}=x4(n,s,r,i);if(i===!0)return op(t,[{start:o,end:a,loop:r}],n,e);const l=a<o?a+s:a,c=!!t._fullLoop&&o===0&&a===s-1;return op(t,k4(n,o,l,c),n,e)}function op(t,e,n,i){return!i||!i.setContext||!n?e:T4(t,e,n,i)}function T4(t,e,n,i){const s=t._chart.getContext(),r=ap(t.options),{_datasetIndex:o,options:{spanGaps:a}}=t,l=n.length,c=[];let u=r,d=e[0].start,f=d;function h(m,p,b,_){const v=a?-1:1;if(m!==p){for(m+=l;n[m%l].skip;)m-=v;for(;n[p%l].skip;)p+=v;m%l!==p%l&&(c.push({start:m%l,end:p%l,loop:b,style:_}),u=_,d=p%l)}}for(const m of e){d=a?d:m.start;let p=n[d%l],b;for(f=d+1;f<=m.end;f++){const _=n[f%l];b=ap(i.setContext(ys(s,{type:"segment",p0:p,p1:_,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:o}))),A4(b,u)&&h(d,f-1,m.loop,u),p=_,u=b}d<f-1&&h(d,f-1,m.loop,u)}return c}function ap(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function A4(t,e){if(!e)return!1;const n=[],i=function(s,r){return Ad(r)?(n.includes(r)||n.push(r),n.indexOf(r)):r};return JSON.stringify(t,i)!==JSON.stringify(e,i)}function Xo(t,e,n){return t.options.clip?t[n]:e[n]}function C4(t,e){const{xScale:n,yScale:i}=t;return n&&i?{left:Xo(n,e,"left"),right:Xo(n,e,"right"),top:Xo(i,e,"top"),bottom:Xo(i,e,"bottom")}:e}function ly(t,e){const n=e._clip;if(n.disabled)return!1;const i=C4(e,t.chartArea);return{left:n.left===!1?0:i.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:i.right+(n.right===!0?0:n.right),top:n.top===!1?0:i.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:i.bottom+(n.bottom===!0?0:n.bottom)}}class E4{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,i,s){const r=n.listeners[s],o=n.duration;r.forEach(a=>a({chart:e,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=W_.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const r=i.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(e),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,i,e,"progress")),r.length||(i.running=!1,this._notify(s,i,e,"complete"),i.initial=!1),n+=r.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let i=n.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,i)),i}listen(e,n,i){this._getAnims(e).listeners[n].push(i)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,s)=>Math.max(i,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Kn=new E4;const lp="transparent",M4={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const i=Xh(t||lp),s=i.valid&&Xh(e||lp);return s&&s.valid?s.mix(i,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class P4{constructor(e,n,i,s){const r=n[i];s=Yo([e.to,s,r,e.from]);const o=Yo([e.from,r,s]);this._active=!0,this._fn=e.fn||M4[e.type||typeof o],this._easing=Vr[e.easing]||Vr.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=Yo([e.to,n,s,e.from]),this._from=Yo([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,i=this._duration,s=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||n<i),!this._active){this._target[s]=a,this._notify(!0);return}if(n<0){this._target[s]=r;return}l=n/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[s]=this._fn(r,a,l)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,i)=>{e.push({res:n,rej:i})})}_notify(e){const n=e?"res":"rej",i=this._promises||[];for(let s=0;s<i.length;s++)i[s][n]()}}class cy{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Ee(e))return;const n=Object.keys(rt.animation),i=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const r=e[s];if(!Ee(r))return;const o={};for(const a of n)o[a]=r[a];(dt(r.properties)&&r.properties||[s]).forEach(a=>{(a===s||!i.has(a))&&i.set(a,o)})})}_animateOptions(e,n){const i=n.options,s=O4(e,i);if(!s)return[];const r=this._createAnimations(s,i);return i.$shared&&I4(e.options.$animations,i).then(()=>{e.options=i},()=>{}),r}_createAnimations(e,n){const i=this._properties,s=[],r=e.$animations||(e.$animations={}),o=Object.keys(n),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[c];let d=r[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){e[c]=u;continue}r[c]=d=new P4(f,e,c,u),s.push(d)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const i=this._createAnimations(e,n);if(i.length)return Kn.add(this._chart,i),!0}}function I4(t,e){const n=[],i=Object.keys(e);for(let s=0;s<i.length;s++){const r=t[i[s]];r&&r.active()&&n.push(r.wait())}return Promise.all(n)}function O4(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function cp(t,e){const n=t&&t.options||{},i=n.reverse,s=n.min===void 0?e:0,r=n.max===void 0?e:0;return{start:i?r:s,end:i?s:r}}function R4(t,e,n){if(n===!1)return!1;const i=cp(t,n),s=cp(e,n);return{top:s.end,right:i.end,bottom:s.start,left:i.start}}function D4(t){let e,n,i,s;return Ee(t)?(e=t.top,n=t.right,i=t.bottom,s=t.left):e=n=i=s=t,{top:e,right:n,bottom:i,left:s,disabled:t===!1}}function uy(t,e){const n=[],i=t._getSortedDatasetMetas(e);let s,r;for(s=0,r=i.length;s<r;++s)n.push(i[s].index);return n}function up(t,e,n,i={}){const s=t.keys,r=i.mode==="single";let o,a,l,c;if(e===null)return;let u=!1;for(o=0,a=s.length;o<a;++o){if(l=+s[o],l===n){if(u=!0,i.all)continue;break}c=t.values[l],Et(c)&&(r||e===0||Fn(e)===Fn(c))&&(e+=c)}return!u&&!i.all?0:e}function L4(t,e){const{iScale:n,vScale:i}=e,s=n.axis==="x"?"x":"y",r=i.axis==="x"?"x":"y",o=Object.keys(t),a=new Array(o.length);let l,c,u;for(l=0,c=o.length;l<c;++l)u=o[l],a[l]={[s]:u,[r]:t[u]};return a}function uc(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function N4(t,e,n){return`${t.id}
7.${e.id}.${n.stack||n.type}`}function $4(t){const{min:e,max:n,minDefined:i,maxDefined:s}=t.getUserBounds();return{min:i?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function F4(t,e,n){const i=t[e]||(t[e]={});return i[n]||(i[n]={})}function dp(t,e,n,i){for(const s of e.getMatchingVisibleMetas(i).reverse()){const r=t[s.index];if(n&&r>0||!n&&r<0)return s.index}return null}function fp(t,e){const{chart:n,_cachedMeta:i}=t,s=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=i,l=r.axis,c=o.axis,u=N4(r,o,i),d=e.length;let f;for(let h=0;h<d;++h){const m=e[h],{[l]:p,[c]:b}=m,_=m._stacks||(m._stacks={});f=_[c]=F4(s,u,p),f[a]=b,f._top=dp(f,o,!0,i.type),f._bottom=dp(f,o,!1,i.type);const v=f._visualValues||(f._visualValues={});v[a]=b}}function dc(t,e){const n=t.scales;return Object.keys(n).filter(i=>n[i].axis===e).shift()}function H4(t,e){return ys(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function j4(t,e,n){return ys(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function _r(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const s of e){const r=s._stacks;
vendor: 15,779 bytes, line 7
7if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n],r[i]._visualValues!==void 0&&r[i]._visualValues[n]!==void 0&&delete r[i]._visualValues[n]}}}const fc=t=>t==="reset"||t==="none",hp=(t,e)=>e?t:Object.assign({},t),B4=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:uy(n,!0),values:null};class Od{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=uc(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&_r(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,h,m)=>d==="x"?f:d==="r"?m:h,r=n.xAxisID=ke(i.xAxisID,dc(e,"x")),o=n.yAxisID=ke(i.yAxisID,dc(e,"y")),a=n.rAxisID=ke(i.rAxisID,dc(e,"r")),l=n.indexAxis,c=n.iAxisID=s(l,r,o,a),u=n.vAxisID=s(l,o,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Kh(this._data,this),e._stacked&&_r(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),i=this._data;if(Ee(n)){const s=this._cachedMeta;this._data=L4(n,s)}else if(i!==n){if(i){Kh(i,this);const s=this._cachedMeta;_r(s),s._parsed=[]}n&&Object.isExtensible(n)&&kE(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const r=n._stacked;n._stacked=uc(n.vScale,n),n.stack!==i.stack&&(s=!0,_r(n),n.stack=i.stack),this._resyncElements(e),(s||r!==n._stacked)&&(fp(this,n._parsed),n._stacked=uc(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:i,_data:s}=this,{iScale:r,_stacked:o}=i,a=r.axis;let l=e===0&&n===s.length?!0:i._sorted,c=e>0&&i._parsed[e-1],u,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{dt(s[e])?f=this.parseArrayData(i,s,e,n):Ee(s[e])?f=this.parseObjectData(i,s,e,n):f=this.parsePrimitiveData(i,s,e,n);const h=()=>d[a]===null||c&&d[a]<c[a];for(u=0;u<n;++u)i._parsed[u+e]=d=f[u],l&&(h()&&(l=!1),c=d);i._sorted=l}o&&fp(this,f)}parsePrimitiveData(e,n,i,s){const{iScale:r,vScale:o}=e,a=r.axis,l=o.axis,c=r.getLabels(),u=r===o,d=new Array(s);let f,h,m;for(f=0,h=s;f<h;++f)m=f+i,d[f]={[a]:u||r.parse(c[m],m),[l]:o.parse(n[m],m)};return d}parseArrayData(e,n,i,s){const{xScale:r,yScale:o}=e,a=new Array(s);let l,c,u,d;for(l=0,c=s;l<c;++l)u=l+i,d=n[u],a[l]={x:r.parse(d[0],u),y:o.parse(d[1],u)};return a}parseObjectData(e,n,i,s){const{xScale:r,yScale:o}=e,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=new Array(s);let u,d,f,h;for(u=0,d=s;u<d;++u)f=u+i,h=n[f],c[u]={x:r.parse(tr(h,a),f),y:o.parse(tr(h,l),f)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,i){const s=this.chart,r=this._cachedMeta,o=n[e.axis],a={keys:uy(s,!0),values:n._stacks[e.axis]._visualValues};return up(a,o,r.index,{mode:i})}updateRangeFromParsed(e,n,i,s){const r=i[n.axis];let o=r===null?NaN:r;const a=s&&i._stacks[n.axis];s&&a&&(s.values=a,o=up(s,r,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,n){const i=this._cachedMeta,s=i._parsed,r=i._sorted&&e===i.iScale,o=s.length,a=this._getOtherScale(e),l=B4(n,i,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:d}=$4(a);let f,h;function m(){h=s[f];const p=h[a.axis];return!Et(h[e.axis])||u>p||d<p}for(f=0;f<o&&!(!m()&&(this.updateRangeFromParsed(c,e,h,l),r));++f);if(r){for(f=o-1;f>=0;--f)if(!m()){this.updateRangeFromParsed(c,e,h,l);break}}return c}getAllParsedValues(e){const n=this._cachedMeta._parsed,i=[];let s,r,o;for(s=0,r=n.length;s<r;++s)o=n[s][e.axis],Et(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,i=n.iScale,s=n.vScale,r=this.getParsed(e);return{label:i?""+i.getLabelForValue(r[i.axis]):"",value:s?""+s.getLabelForValue(r[s.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=D4(ke(this.options.clip,R4(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,i=this._cachedMeta,s=i.data||[],r=n.chartArea,o=[],a=this._drawStart||0,l=this._drawCount||s.length-a,c=this.options.drawActiveElementsOnTop;let u;for(i.dataset&&i.dataset.draw(e,r,a,l),u=a;u<a+l;++u){const d=s[u];d.hidden||(d.active&&c?o.push(d):d.draw(e,r))}for(u=0;u<o.length;++u)o[u].draw(e,r)}getStyle(e,n){const i=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,n,i){const s=this.getDataset();let r;if(e>=0&&e<this._cachedMeta.data.length){const o=this._cachedMeta.data[e];r=o.$context||(o.$context=j4(this.getContext(),e,o)),r.parsed=this.getParsed(e),r.raw=s.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=H4(this.chart.getContext(),this.index)),r.dataset=s,r.index=r.datasetIndex=this.index;return r.active=!!n,r.mode=i,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",i){const s=n==="active",r=this._cachedDataOpts,o=e+"-"+n,a=r[o],l=this.enableOptionSharing&&uo(i);if(a)return hp(a,l);const c=this.chart.config,u=c.datasetElementScopeKeys(this._type,e),d=s?[`${e}Hover`,"hover",e,""]:[e,""],f=c.getOptionScopes(this.getDataset(),u),h=Object.keys(rt.elements[e]),m=()=>this.getContext(i,s,n),p=c.resolveNamedOptions(f,h,m,d);return p.$shared&&(p.$shared=l,r[o]=Object.freeze(hp(p,l))),p}_resolveAnimations(e,n,i){const s=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(e,i,n))}const c=new cy(s,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||fc(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const i=this.resolveDataElementOptions(e,n),s=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(n,r)||r!==s;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:o}}updateElement(e,n,i,s){fc(s)?Object.assign(e,i):this._resolveAnimations(n,s).update(e,i)}updateSharedOptions(e,n,i){e&&!fc(n)&&this._resolveAnimations(void 0,n).update(e,i)}_setStyle(e,n,i,s){e.active=s;const r=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(e,{options:!s&&this.getSharedOptions(r)||r})}removeHoverStyle(e,n,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,n,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,r=n.length,o=Math.min(r,s);o&&this.parse(0,o),r>s?this._insertElements(s,r-s,e):r<s&&this._removeElements(r,s-r)}_insertElements(e,n,i=!0){const s=this._cachedMeta,r=s.data,o=e+n;let a;const l=c=>{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=e;a<o;++a)r[a]=new this.dataElementType;this._parsing&&l(s._parsed),this.parse(e,n),i&&this.updateElements(r,e,n,"reset")}updateElements(e,n,i,s){}_removeElements(e,n){const i=this._cachedMeta;if(this._parsing){const s=i._parsed.splice(e,n);i._stacked&&_r(i,s)}i.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,i,s]=e;this[n](i,s)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function V4(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let i=[];for(let s=0,r=n.length;s<r;s++)i=i.concat(n[s].controller.getAllParsedValues(t));t._cache.$bar=U_(i.sort((s,r)=>s-r))}return t._cache.$bar}function z4(t){const e=t.iScale,n=V4(e,t.type);let i=e._length,s,r,o,a;const l=()=>{o===32767||o===-32768||(uo(a)&&(i=Math.min(i,Math.abs(o-a)||i)),a=o)};for(s=0,r=n.length;s<r;++s)o=e.getPixelForValue(n[s]),l();for(a=void 0,s=0,r=e.ticks.length;s<r;++s)o=e.getPixelForTick(s),l();return i}function U4(t,e,n,i){const s=n.barThickness;let r,o;return Fe(s)?(r=e.min*n.categoryPercentage,o=n.barPercentage):(r=s*i,o=1),{chunk:r/i,ratio:o,start:e.pixels[t]-r/2}}function W4(t,e,n,i){const s=e.pixels,r=s[t];let o=t>0?s[t-1]:null,a=t<s.length-1?s[t+1]:null;const l=n.categoryPercentage;o===null&&(o=r-(a===null?e.end-e.start:a-r)),a===null&&(a=r+r-o);const c=r-(r-Math.min(o,a))/2*l;return{chunk:Math.abs(a-o)/2*l/i,ratio:n.barPercentage,start:c}}function q4(t,e,n,i){const s=n.parse(t[0],i),r=n.parse(t[1],i),o=Math.min(s,r),a=Math.max(s,r);let l=o,c=a;Math.abs(o)>Math.abs(a)&&(l=a,c=o),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:s,end:r,min:o,max:a}}function dy(t,e,n,i){return dt(t)?q4(t,e,n,i):e[n.axis]=n.parse(t,i),e}function pp(t,e,n,i){const s=t.iScale,r=t.vScale,o=s.getLabels(),a=s===r,l=[];let c,u,d,f;for(c=n,u=n+i;c<u;++c)f=e[c],d={},d[s.axis]=a||s.parse(o[c],c),l.push(dy(f,d,r,c));return l}function hc(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function G4(t,e,n){return t!==0?Fn(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function K4(t){let e,n,i,s,r;return t.horizontal?(e=t.base>t.x,n="left",i="right"):(e=t.base<t.y,n="bottom",i="top"),e?(s="end",r="start"):(s="start",r="end"),{start:n,end:i,reverse:e,top:s,bottom:r}}function Y4(t,e,n,i){let s=e.borderSkipped;const r={};if(!s){t.borderSkipped=r;return}if(s===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:o,end:a,reverse:l,top:c,bottom:u}=K4(t);s==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===i?s=c:(n._bottom||0)===i?s=u:(r[mp(u,o,a,l)]=!0,s=c)),r[mp(s,o,a,l)]=!0,t.borderSkipped=r}function mp(t,e,n,i){return i?(t=Z4(t,e,n),t=gp(t,n,e)):t=gp(t,e,n),t}function Z4(t,e,n){return t===e?n:t===n?e:t}function gp(t,e,n){return t==="start"?e:t==="end"?n:t}function X4(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class y6 extends Od{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,n,i,s){return pp(e,n,i,s)}parseArrayData(e,n,i,s){return pp(e,n,i,s)}parseObjectData(e,n,i,s){const{iScale:r,vScale:o}=e,{xAxisKey:a="x",yAxisKey:l="y"}=this._parsing,c=r.axis==="x"?a:l,u=o.axis==="x"?a:l,d=[];let f,h,m,p;for(f=i,h=i+s;f<h;++f)p=n[f],m={},m[r.axis]=r.parse(tr(p,c),f),d.push(dy(tr(p,u),m,o,f));return d}updateRangeFromParsed(e,n,i,s){super.updateRangeFromParsed(e,n,i,s);const r=i._custom;r&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:i,vScale:s}=n,r=this.getParsed(e),o=r._custom,a=hc(o)?"["+o.start+", "+o.end+"]":""+s.getLabelForValue(r[s.axis]);return{label:""+i.getLabelForValue(r[i.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,i,s){const r=s==="reset",{index:o,_cachedMeta:{vScale:a}}=this,l=a.getBasePixel(),c=a.isHorizontal(),u=this._getRuler(),{sharedOptions:d,includeOptions:f}=this._getSharedOptions(n,s);for(let h=n;h<n+i;h++){const m=this.getParsed(h),p=r||Fe(m[a.axis])?{base:l,head:l}:this._calculateBarValuePixels(h),b=this._calculateBarIndexPixels(h,u),_=(m._stacks||{})[a.axis],v={horizontal:c,base:p.base,enableBorderRadius:!_||hc(m._custom)||o===_._top||o===_._bottom,x:c?p.head:b.center,y:c?b.center:p.head,height:c?b.size:Math.abs(p.size),width:c?Math.abs(p.size):b.size};f&&(v.options=d||this.resolveDataElementOptions(h,e[h].active?"active":s));const g=v.options||e[h].options;Y4(v,g,_,o),X4(v,g,u.ratio),this.updateElement(e[h],h,v,s)}}_getStacks(e,n){const{iScale:i}=this._cachedMeta,s=i.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),r=i.options.stacked,o=[],a=this._cachedMeta.controller.getParsed(n),l=a&&a[i.axis],c=u=>{const d=u._parsed.find(h=>h[i.axis]===l),f=d&&d[u.vScale.axis];if(Fe(f)||isNaN(f))return!0};for(const u of s)if(!(n!==void 0&&c(u))&&((r===!1||o.indexOf(u.stack)===-1||r===void 0&&u.stack===void 0)&&o.push(u.stack),u.index===e))break;return o.length||o.push(void 0),o}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(i=>e[i].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const i of this.chart.data.datasets)e[ke(this.chart.options.indexAxis==="x"?i.xAxisID:i.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,i){const s=this._getStacks(e,i),r=n!==void 0?s.indexOf(n):-1;return r===-1?s.length-1:r}_getRuler(){const e=this.options,n=this._cachedMeta,i=n.iScale,s=[];let r,o;for(r=0,o=n.data.length;r<o;++r)s.push(i.getPixelForValue(this.getParsed(r)[i.axis],r));const a=e.barThickness;return{min:a||z4(n),pixels:s,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:e.grouped,ratio:a?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:i,index:s},options:{base:r,minBarLength:o}}=this,a=r||0,l=this.getParsed(e),c=l._custom,u=hc(c);let d=l[n.axis],f=0,h=i?this.applyStack(n,l,i):d,m,p;h!==d&&(f=h-d,h=d),u&&(d=c.barStart,h=c.barEnd-c.barStart,d!==0&&Fn(d)!==Fn(c.barEnd)&&(f=0),f+=d);const b=!Fe(r)&&!u?r:f;let _=n.getPixelForValue(b);
7if(this.chart.getDataVisibility(e)?m=n.getPixelForValue(f+h):m=_,p=m-_,Math.abs(p)<o){p=G4(p,n,a)*o,d===a&&(_-=p/2);const v=n.getPixelForDecimal(0),g=n.getPixelForDecimal(1),w=Math.min(v,g),y=Math.max(v,g);_=Math.max(Math.min(_,y),w),m=_+p,i&&!u&&(l._stacks[n.axis]._visualValues[s]=n.getValueForPixel(m)-n.getValueForPixel(_))}if(_===n.getPixelForValue(a)){const v=Fn(p)*n.getLineWidthForValue(a)/2;_+=v,p-=v}return{size:p,base:_,head:m,center:m+p/2}}_calculateBarIndexPixels(e,n){const i=n.scale,s=this.options,r=s.skipNull,o=ke(s.maxBarThickness,1/0);let a,l;const c=this._getAxisCount();if(n.grouped){const u=r?this._getStackCount(e):n.stackCount,d=s.barThickness==="flex"?W4(e,n,s,u*c):U4(e,n,s,u*c),f=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,h=this._getAxis().indexOf(ke(f,this.getFirstScaleIdForIndexAxis())),m=this._getStackIndex(this.index,this._cachedMeta.stack,r?e:void 0)+h;a=d.start+d.chunk*m+d.chunk/2,l=Math.min(o,d.chunk*d.ratio)}else a=i.getPixelForValue(this.getParsed(e)[i.axis],e),l=Math.min(o,n.min*n.ratio);return{base:a-l/2,head:a+l/2,center:a,size:l}}draw(){const e=this._cachedMeta,n=e.vScale,i=e.data,s=i.length;let r=0;for(;r<s;++r)this.getParsed(r)[n.axis]!==null&&!i[r].hidden&&i[r].draw(this._ctx)}}class b6 extends Od{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:r}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=AE(n,s,o);this._drawStart=a,this._drawCount=l,CE(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=s;const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:c},e),this.updateElements(s,a,l,e)}updateElements(e,n,i,s){const r=s==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,s),f=o.axis,h=a.axis,{spanGaps:m,segment:p}=this.options,b=fo(m)?m:Number.POSITIVE_INFINITY,_=this.chart._animationsDisabled||r||s==="none",v=n+i,g=e.length;let w=n>0&&this.getParsed(n-1);for(let y=0;y<g;++y){const T=e[y],A=_?T:{};if(y<n||y>=v){A.skip=!0;continue}const M=this.getParsed(y),E=Fe(M[h]),R=A[f]=o.getPixelForValue(M[f],y),j=A[h]=r||E?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,M,l):M[h],y);A.skip=isNaN(R)||isNaN(j)||E,A.stop=y>0&&Math.abs(M[f]-w[f])>b,p&&(A.parsed=M,A.raw=c.data[y]),d&&(A.options=u||this.resolveDataElementOptions(y,T.active?"active":s)),_||this.updateElement(T,y,A,s),w=M}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,i=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return i;const r=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,r,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}function Ui(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Rd{static override(e){Object.assign(Rd.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Ui()}parse(){return Ui()}format(){return Ui()}add(){return Ui()}diff(){return Ui()}startOf(){return Ui()}endOf(){return Ui()}}var J4={_date:Rd};function Q4(t,e,n,i){const{controller:s,data:r,_sorted:o}=t,a=s._cachedMeta.iScale,l=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(a&&e===a.axis&&e!=="r"&&o&&r.length){const c=a._reversePixels?wE:Ji;if(i){if(s._sharedOptions){const u=r[0],d=typeof u.getRange=="function"&&u.getRange(e);if(d){const f=c(r,e,n-d),h=c(r,e,n+d);return{lo:f.lo,hi:h.hi}}}}else{const u=c(r,e,n);if(l){const{vScale:d}=s._cachedMeta,{_parsed:f}=t,h=f.slice(0,u.lo+1).reverse().findIndex(p=>!Fe(p[d.axis]));u.lo-=Math.max(0,h);const m=f.slice(u.hi).findIndex(p=>!Fe(p[d.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:r.length-1}}function Cl(t,e,n,i,s){const r=t.getSortedVisibleDatasetMetas(),o=n[e];for(let a=0,l=r.length;a<l;++a){const{index:c,data:u}=r[a],{lo:d,hi:f}
vendor: 4,496 bytes, line 7
7=Q4(r[a],e,o,s);for(let h=d;h<=f;++h){const m=u[h];m.skip||i(m,c,h)}}}function e3(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(i,s){const r=e?Math.abs(i.x-s.x):0,o=n?Math.abs(i.y-s.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function pc(t,e,n,i,s){const r=[];return!s&&!t.isPointInArea(e)||Cl(t,n,e,function(a,l,c){!s&&!ho(a,t.chartArea,0)||a.inRange(e.x,e.y,i)&&r.push({element:a,datasetIndex:l,index:c})},!0),r}function t3(t,e,n,i){let s=[];function r(o,a,l){const{startAngle:c,endAngle:u}=o.getProps(["startAngle","endAngle"],i),{angle:d}=yE(o,{x:e.x,y:e.y});V_(d,c,u)&&s.push({element:o,datasetIndex:a,index:l})}return Cl(t,n,e,r),s}function n3(t,e,n,i,s,r){let o=[];const a=e3(n);let l=Number.POSITIVE_INFINITY;function c(u,d,f){const h=u.inRange(e.x,e.y,s);if(i&&!h)return;const m=u.getCenterPoint(s);if(!(!!r||t.isPointInArea(m))&&!h)return;const b=a(e,m);b<l?(o=[{element:u,datasetIndex:d,index:f}],l=b):b===l&&o.push({element:u,datasetIndex:d,index:f})}return Cl(t,n,e,c),o}function mc(t,e,n,i,s,r){return!r&&!t.isPointInArea(e)?[]:n==="r"&&!i?t3(t,e,n,s):n3(t,e,n,i,s,r)}function _p(t,e,n,i,s){const r=[],o=n==="x"?"inXRange":"inYRange";let a=!1;return Cl(t,n,e,(l,c,u)=>{l[o]&&l[o](e[n],s)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(e.x,e.y,s))}),i&&!a?[]:r}var i3={modes:{index(t,e,n,i){const s=Gi(e,t),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?pc(t,s,r,i,o):mc(t,s,r,!1,i,o),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(t,e,n,i){const s=Gi(e,t),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?pc(t,s,r,i,o):mc(t,s,r,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let u=0;u<c.length;++u)a.push({element:c[u],datasetIndex:l,index:u})}return a},point(t,e,n,i){const s=Gi(e,t),r=n.axis||"xy",o=n.includeInvisible||!1;return pc(t,s,r,i,o)},nearest(t,e,n,i){const s=Gi(e,t),r=n.axis||"xy",o=n.includeInvisible||!1;return mc(t,s,r,n.intersect,i,o)},x(t,e,n,i){const s=Gi(e,t);return _p(t,s,"x",n.intersect,i)},y(t,e,n,i){const s=Gi(e,t);return _p(t,s,"y",n.intersect,i)}}};const fy=["left","top","right","bottom"];function yr(t,e){return t.filter(n=>n.pos===e)}function yp(t,e){return t.filter(n=>fy.indexOf(n.pos)===-1&&n.box.axis===e)}function br(t,e){return t.sort((n,i)=>{const s=e?i:n,r=e?n:i;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function s3(t){const e=[];let n,i,s,r,o,a;for(n=0,i=(t||[]).length;n<i;++n)s=t[n],{position:r,options:{stack:o,stackWeight:a=1}}=s,e.push({index:n,box:s,pos:r,horizontal:s.isHorizontal(),weight:s.weight,stack:o&&r+o,stackWeight:a});return e}function r3(t){const e={};for(const n of t){const{stack:i,pos:s,stackWeight:r}=n;if(!i||!fy.includes(s))continue;const o=e[i]||(e[i]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return e}function o3(t,e){const n=r3(t),{vBoxMaxWidth:i,hBoxMaxHeight:s}=e;let r,o,a;for(r=0,o=t.length;r<o;++r){a=t[r];const{fullSize:l}=a.box,c=n[a.stack],u=c&&a.stackWeight/c.weight;a.horizontal?(a.width=u?u*i:l&&e.availableWidth,a.height=s):(a.width=i,a.height=u?u*s:l&&e.availableHeight)}return n}function a3(t){const e=s3(t),n=br(e.filter(c=>c.box.fullSize),!0),i=br(yr(e,"left"),!0),s=br(yr(e,"right")),r=br(yr(e,"top"),!0),o=br(yr(e,"bottom")),a=yp(e,"x"),l=yp(e,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:s.concat(l).concat(o).concat(a),chartArea:yr(e,"chartArea"),vertical:i.concat(s).concat(l),horizontal:r.concat(o).concat(a)}}function bp(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function hy(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function l3(t,e,n,i){const{pos:s,box:r}=n,o=t.maxPadding;if(!Ee(s)){n.size&&(t[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,t[s]+=n.size}r.getPadding&&hy(o,r.getPadding());const a=Math.max(0,e.outerWidth-bp(o,t,"left","right")),l=Math.max(0,e.outerHeight-bp(o,t,"top","bottom")),c=a!==t.w,u=l!==t.h;return t.w=a,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function c3(t){const e=t.maxPadding;function n(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function u3(t,e){const n=e.maxPadding;function i(s){const r={left:0,top:0,right:0,bottom:0};
vendor: 4,427 bytes, line 7
7return s.forEach(o=>{r[o]=Math.max(e[o],n[o])}),r}return i(t?["left","right"]:["top","bottom"])}function Er(t,e,n,i){const s=[];let r,o,a,l,c,u;for(r=0,o=t.length,c=0;r<o;++r){a=t[r],l=a.box,l.update(a.width||e.w,a.height||e.h,u3(a.horizontal,e));const{same:d,other:f}=l3(e,n,a,i);c|=d&&s.length,u=u||f,l.fullSize||s.push(a)}return c&&Er(s,e,n,i)||u}function Jo(t,e,n,i,s){t.top=n,t.left=e,t.right=e+i,t.bottom=n+s,t.width=i,t.height=s}function vp(t,e,n,i){const s=n.padding;let{x:r,y:o}=e;for(const a of t){const l=a.box,c=i[a.stack]||{placed:0,weight:1},u=a.stackWeight/c.weight||1;if(a.horizontal){const d=e.w*u,f=c.size||l.height;uo(c.start)&&(o=c.start),l.fullSize?Jo(l,s.left,o,n.outerWidth-s.right-s.left,f):Jo(l,e.left+c.placed,o,d,f),c.start=o,c.placed+=d,o=l.bottom}else{const d=e.h*u,f=c.size||l.width;uo(c.start)&&(r=c.start),l.fullSize?Jo(l,r,s.top,f,n.outerHeight-s.bottom-s.top):Jo(l,r,e.top+c.placed,f,d),c.start=r,c.placed+=d,r=l.right}}e.x=r,e.y=o}var an={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,i){if(!t)return;const s=cn(t.options.layout.padding),r=Math.max(e-s.width,0),o=Math.max(n-s.height,0),a=a3(t.boxes),l=a.vertical,c=a.horizontal;je(t.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=l.reduce((p,b)=>b.box.options&&b.box.options.display===!1?p:p+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},s);hy(f,cn(i));const h=Object.assign({maxPadding:f,w:r,h:o,x:s.left,y:s.top},s),m=o3(l.concat(c),d);Er(a.fullSize,h,d,m),Er(l,h,d,m),Er(c,h,d,m)&&Er(l,h,d,m),c3(h),vp(a.leftAndTop,h,d,m),h.x+=h.w,h.y+=h.h,vp(a.rightAndBottom,h,d,m),t.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},je(a.chartArea,p=>{const b=p.box;Object.assign(b,t.chartArea),b.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class py{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,i){}removeEventListener(e,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,i,s){return n=Math.max(0,n||e.width),i=i||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(e){return!0}updateConfig(e){}}class d3 extends py{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const da="$chartjs",f3={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},wp=t=>t===null||t==="";function h3(t,e){const n=t.style,i=t.getAttribute("height"),s=t.getAttribute("width");if(t[da]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",wp(s)){const r=sp(t,"width");r!==void 0&&(t.width=r)}if(wp(i))if(t.style.height==="")t.height=t.width/(e||2);else{const r=sp(t,"height");r!==void 0&&(t.height=r)}return t}const my=g4?{passive:!0}:!1;function p3(t,e,n){t&&t.addEventListener(e,n,my)}function m3(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,my)}function g3(t,e){const n=f3[t.type]||t.type,{x:i,y:s}=Gi(t,e);return{type:n,chart:e,native:t,x:i!==void 0?i:null,y:s!==void 0?s:null}}function Xa(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function _3(t,e,n){const i=t.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Xa(a.addedNodes,i),o=o&&!Xa(a.removedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function y3(t,e,n){const i=t.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||Xa(a.removedNodes,i),o=o&&!Xa(a.addedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const mo=new Map;let xp=0;function gy(){const t=window.devicePixelRatio;t!==xp&&(xp=t,mo.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function b3(t,e){mo.size||window.addEventListener("resize",gy),mo.set(t,e)}function v3(t){mo.delete(t),mo.size||window.removeEventListener("resize",gy)}function w3(t,e,n){const i=t.canvas,s=i&&Id(i);if(!s)return;
vendor: 6,096 bytes, line 7
7const r=q_((a,l)=>{const c=s.clientWidth;n(a,l),c<s.clientWidth&&n()},window),o=new ResizeObserver(a=>{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||r(c,u)});return o.observe(s),b3(t,r),o}function gc(t,e,n){n&&n.disconnect(),e==="resize"&&v3(t)}function x3(t,e,n){const i=t.canvas,s=q_(r=>{t.ctx!==null&&n(g3(r,t))},t);return p3(i,e,s),s}class k3 extends py{acquireContext(e,n){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(h3(e,n),i):null}releaseContext(e){const n=e.canvas;if(!n[da])return!1;const i=n[da].initial;["height","width"].forEach(r=>{const o=i[r];Fe(o)?n.removeAttribute(r):n.setAttribute(r,o)});const s=i.style||{};return Object.keys(s).forEach(r=>{n.style[r]=s[r]}),n.width=n.width,delete n[da],!0}addEventListener(e,n,i){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),o={attach:_3,detach:y3,resize:w3}[n]||x3;s[n]=o(e,n,i)}removeEventListener(e,n){const i=e.$proxies||(e.$proxies={}),s=i[n];if(!s)return;({attach:gc,detach:gc,resize:gc}[n]||m3)(e,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,i,s){return m4(e,n,i,s)}isAttached(e){const n=e&&Id(e);return!!(n&&n.isConnected)}}function S3(t){return!Pd()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?d3:k3}let $i=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}hasValue(){return fo(this.x)&&fo(this.y)}getProps(e,n){const i=this.$animations;if(!n||!i)return this;const s={};return e.forEach(r=>{s[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),s}};function T3(t,e){const n=t.options.ticks,i=A3(t),s=Math.min(n.maxTicksLimit||i,i),r=n.major.enabled?E3(e):[],o=r.length,a=r[0],l=r[o-1],c=[];if(o>s)return M3(e,c,r,o/s),c;const u=C3(r,e,s);if(o>0){let d,f;const h=o>1?Math.round((l-a)/(o-1)):null;for(Qo(e,c,u,Fe(h)?0:a-h,a),d=0,f=o-1;d<f;d++)Qo(e,c,u,r[d],r[d+1]);return Qo(e,c,u,l,Fe(h)?e.length:l+h),c}return Qo(e,c,u),c}function A3(t){const e=t.options.offset,n=t._tickSize(),i=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(i,s))}function C3(t,e,n){const i=P3(t),s=e.length/n;if(!i)return Math.max(s,1);const r=hE(i);for(let o=0,a=r.length-1;o<a;o++){const l=r[o];if(l>s)return l}return Math.max(s,1)}function E3(t){const e=[];let n,i;for(n=0,i=t.length;n<i;n++)t[n].major&&e.push(n);return e}function M3(t,e,n,i){let s=0,r=n[0],o;for(i=Math.ceil(i),o=0;o<t.length;o++)o===r&&(e.push(t[o]),s++,r=n[s*i])}function Qo(t,e,n,i,s){const r=ke(i,0),o=Math.min(ke(s,t.length),t.length);let a=0,l,c,u;for(n=Math.ceil(n),s&&(l=s-i,n=l/Math.floor(l/n)),u=r;u<0;)a++,u=Math.round(r+a*n);for(c=Math.max(r,0);c<o;c++)c===u&&(e.push(t[c]),a++,u=Math.round(r+a*n))}function P3(t){const e=t.length;let n,i;if(e<2)return!1;for(i=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==i)return!1;return i}const I3=t=>t==="left"?"right":t==="right"?"left":t,kp=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Sp=(t,e)=>Math.min(e||t,t);function Tp(t,e){const n=[],i=t.length/e,s=t.length;let r=0;for(;r<s;r+=i)n.push(t[Math.floor(r)]);return n}function O3(t,e,n){const i=t.ticks.length,s=Math.min(e,i-1),r=t._startPixel,o=t._endPixel,a=1e-6;let l=t.getPixelForTick(s),c;if(!(n&&(i===1?c=Math.max(l-r,o-l):e===0?c=(t.getPixelForTick(1)-l)/2:c=(l-t.getPixelForTick(s-1))/2,l+=s<e?c:-c,l<r-a||l>o+a)))return l}function R3(t,e){je(t,n=>{const i=n.gc,s=i.length/2;let r;if(s>e){for(r=0;r<s;++r)delete n.data[i[r]];i.splice(0,s)}})}function vr(t){return t.drawTicks?t.tickLength:0}function Ap(t,e){if(!t.display)return 0;const n=Tt(t.font,e),i=cn(t.padding);return(dt(t.text)?t.text.length:1)*n.lineHeight+i.height}function D3(t,e){return ys(t,{scale:e,type:"scale"})}function L3(t,e,n){return ys(t,{tick:n,index:e,type:"tick"})}function N3(t,e,n){let i=Td(t);return(n&&e!=="right"||!n&&e==="right")&&(i=I3(i)),i}function $3(t,e,n,i){const{top:s,left:r,bottom:o,right:a,chart:l}=t,{chartArea:c,scales:u}=l;let d=0,f,h,m;const p=o-s,b=a-r;if(t.isHorizontal()){if(h=wt(i,r,a),Ee(n)){const _=Object.keys(n)[0],v=n[_];m=u[_].getPixelForValue(v)+p-e}else n==="center"?m=(c.bottom+c.top)/2+p-e:m=kp(t,n,e);f=a-r}else{if(Ee(n)){const _=Object.keys(n)[0],v=n[_];h=u[_].getPixelForValue(v)-b+e}else n==="center"?h=(c.left+c.right)/2-b+e:h=kp(t,n,e);m=wt(i,o,s),d=n==="left"?-gn:gn}return{titleX:h,titleY:m,maxWidth:f,rotation:d}}class ur extends $i{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:i,_suggestedMax:s}=this;return e=Sn(e,Number.POSITIVE_INFINITY),n=Sn(n,Number.NEGATIVE_INFINITY),i=Sn(i,Number.POSITIVE_INFINITY),s=Sn(s,Number.NEGATIVE_INFINITY),{min:Sn(e,i),max:Sn(n,s),minDefined:Et(e),maxDefined:Et(n)}}getMinMax(e){let{min:n,max:i,minDefined:s,maxDefined:r}=this.getUserBounds(),o;if(s&&r)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;l<c;++l)o=a[l].controller.getMinMax(this,e),s||(n=Math.min(n,o.min)),r||(i=Math.max(i,o.max)
vendor: 41,420 bytes, line 7
7);return n=r&&n>i?i:n,i=s&&n>i?n:i,{min:Sn(n,Sn(i,n)),max:Sn(i,Sn(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ke(this.options.beforeUpdate,[this])}update(e,n,i){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=GE(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?Tp(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=T3(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,i;this.isHorizontal()?(n=this.left,i=this.right):(n=this.top,i=this.bottom,e=!e),this._startPixel=n,this._endPixel=i,this._reversePixels=e,this._length=i-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ke(this.options.afterUpdate,[this])}beforeSetDimensions(){Ke(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ke(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Ke(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ke(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let i,s,r;for(i=0,s=e.length;i<s;i++)r=e[i],r.label=Ke(n.callback,[r.value,i,e],this)}afterTickToLabelConversion(){Ke(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ke(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,i=Sp(this.ticks.length,e.ticks.maxTicksLimit),s=n.minRotation||0,r=n.maxRotation;let o=s,a,l,c;if(!this._isVisible()||!n.display||s>=r||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=Xt(this.chart.width-d,0,this.maxWidth);a=e.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(e.offset?.5:1)),l=this.maxHeight-vr(e.grid)-n.padding-Ap(e.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),o=_E(Math.min(Math.asin(Xt((u.highest.height+6)/a,-1,1)),Math.asin(Xt(l/c,-1,1))-Math.asin(Xt(f/c,-1,1)))),o=Math.max(s,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Ke(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ke(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:i,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=Ap(s,n.options.font);if(a?(e.width=this.maxWidth,e.height=vr(r)+l):(e.height=this.maxHeight,e.width=vr(r)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=i.padding*2,m=Xi(this.labelRotation),p=Math.cos(m),b=Math.sin(m);if(a){const _=i.mirror?0:b*d.width+p*f.height;e.height=Math.min(this.maxHeight,e.height+_+h)}else{const _=i.mirror?0:p*d.width+b*f.height;e.width=Math.min(this.maxWidth,e.width+_+h)}this._calculatePadding(c,u,b,p)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,i,s){const{ticks:{align:r,padding:o},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=s*e.width,h=i*n.height):(f=i*e.height,h=s*n.width):r==="start"?h=n.width:r==="end"?f=e.width:r!=="inner"&&(f=e.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+o)*this.width/(this.width-d),0)}else{let u=n.height/2,d=e.height/2;r==="start"?(u=0,d=e.height):r==="end"&&(u=n.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ke(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,i;for(n=0,i=e.length;n<i;n++)Fe(e[n].label)&&(e.splice(n,1),i--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let i=this.ticks;n<i.length&&(i=Tp(i,n)),this._labelSizes=e=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,i){const{ctx:s,_longestTextCache:r}=this,o=[],a=[],l=Math.floor(n/Sp(n,i));let c=0,u=0,d,f,h,m,p,b,_,v,g,w,y;for(d=0;d<n;d+=l){if(m=e[d].label,p=this._resolveTickFontOptions(d),s.font=b=p.string,_=r[b]=r[b]||{data:{},gc:[]},v=p.lineHeight,g=w=0,!Fe(m)&&!dt(m))g=Qh(s,_.data,_.gc,g,m),w=v;else if(dt(m))for(f=0,h=m.length;f<h;++f)y=m[f],!Fe(y)&&!dt(y)&&(g=Qh(s,_.data,_.gc,g,y),w+=v);o.push(g),a.push(w),c=Math.max(g,c),u=Math.max(w,u)}R3(r,n);const T=o.indexOf(c),A=a.indexOf(u),M=E=>({width:o[E]||0,height:a[E]||0});return{first:M(0),last:M(n-1),widest:M(T),highest:M(A),widths:o,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return vE(this._alignToPixels?zi(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const i=n[e];return i.$context||(i.$context=L3(this.getContext(),e,i))}return this.$context||(this.$context=D3(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=Xi(this.labelRotation),i=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,a=r?r.widest.width+o:0,l=r?r.highest.height+o:0;return this.isHorizontal()?l*i>a*s?a/i:l/s:l*s<a*i?l/i:a/s}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,i=this.chart,s=this.options,{grid:r,position:o,border:a}=s,l=r.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=vr(r),h=[],m=a.setContext(this.getContext()),p=m.display?m.width:0,b=p/2,_=function(q){return zi(i,q,p)};let v,g,w,y,T,A,M,E,R,j,L,K;if(o==="top")v=_(this.bottom),A=this.bottom-f,E=v-b,j=_(e.top)+b,K=e.bottom;else if(o==="bottom")v=_(this.top),j=e.top,K=_(e.bottom)-b,A=v+b,E=this.top+f;else if(o==="left")v=_(this.right),T=this.right-f,M=v-b,R=_(e.left)+b,L=e.right;else if(o==="right")v=_(this.left),R=e.left,L=_(e.right)-b,T=v+b,M=this.left+f;else if(n==="x"){if(o==="center")v=_((e.top+e.bottom)/2+.5);else if(Ee(o)){const q=Object.keys(o)[0],re=o[q];v=_(this.chart.scales[q].getPixelForValue(re))}j=e.top,K=e.bottom,A=v+b,E=A+f}else if(n==="y"){if(o==="center")v=_((e.left+e.right)/2);else if(Ee(o)){const q=Object.keys(o)[0],re=o[q];v=_(this.chart.scales[q].getPixelForValue(re))}T=v-b,M=T-f,R=e.left,L=e.right}const ve=ke(s.ticks.maxTicksLimit,d),de=Math.max(1,Math.ceil(d/ve));for(g=0;g<d;g+=de){const q=this.getContext(g),re=r.setContext(q),J=a.setContext(q),Re=re.lineWidth,Mt=re.color,Pt=J.dash||[],tt=J.dashOffset,sn=re.tickWidth,$t=re.tickColor,qt=re.tickBorderDash||[],at=re.tickBorderDashOffset;w=O3(this,g,l),w!==void 0&&(y=zi(i,w,Re),c?T=M=R=L=y:A=E=j=K=y,h.push({tx1:T,ty1:A,tx2:M,ty2:E,x1:R,y1:j,x2:L,y2:K,width:Re,color:Mt,borderDash:Pt,borderDashOffset:tt,tickWidth:sn,tickColor:$t,tickBorderDash:qt,tickBorderDashOffset:at}))}return this._ticksLength=d,this._borderValue=v,h}_computeLabelItems(e){const n=this.axis,i=this.options,{position:s,ticks:r}=i,o=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:c,padding:u,mirror:d}=r,f=vr(i.grid),h=f+u,m=d?-u:h,p=-Xi(this.labelRotation),b=[];let _,v,g,w,y,T,A,M,E,R,j,L,K="middle";if(s==="top")T=this.bottom-m,A=this._getXAxisLabelAlignment();else if(s==="bottom")T=this.top+m,A=this._getXAxisLabelAlignment();else if(s==="left"){const de=this._getYAxisLabelAlignment(f);A=de.textAlign,y=de.x}else if(s==="right"){const de=this._getYAxisLabelAlignment(f);A=de.textAlign,y=de.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+h;else if(Ee(s)){const de=Object.keys(s)[0],q=s[de];T=this.chart.scales[de].getPixelForValue(q)+h}A=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")y=(e.left+e.right)/2-h;else if(Ee(s)){const de=Object.keys(s)[0],q=s[de];y=this.chart.scales[de].getPixelForValue(q)}A=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(l==="start"?K="top":l==="end"&&(K="bottom"));const ve=this._getLabelSizes();for(_=0,v=a.length;_<v;++_){g=a[_],w=g.label;const de=r.setContext(this.getContext(_));M=this.getPixelForTick(_)+r.labelOffset,E=this._resolveTickFontOptions(_),R=E.lineHeight,j=dt(w)?w.length:1;const q=j/2,re=de.color,J=de.textStrokeColor,Re=de.textStrokeWidth;let Mt=A;o?(y=M,A==="inner"&&(_===v-1?Mt=this.options.reverse?"left":"right":_===0?Mt=this.options.reverse?"right":"left":Mt="center"),s==="top"?c==="near"||p!==0?L=-j*R+R/2:c==="center"?L=-ve.highest.height/2-q*R+R:L=-ve.highest.height+R/2:c==="near"||p!==0?L=R/2:c==="center"?L=ve.highest.height/2-q*R:L=ve.highest.height-j*R,d&&(L*=-1),p!==0&&!de.showLabelBackdrop&&(y+=R/2*Math.sin(p))):(T=M,L=(1-j)*R/2);let Pt;if(de.showLabelBackdrop){const tt=cn(de.backdropPadding),sn=ve.heights[_],$t=ve.widths[_];let qt=L-tt.top,at=0-tt.left;switch(K){case"middle":qt-=sn/2;break;case"bottom":qt-=sn;break}switch(A){case"center":at-=$t/2;break;case"right":at-=$t;break;case"inner":_===v-1?at-=$t:_>0&&(at-=$t/2);break}Pt={left:at,top:qt,width:$t+tt.width,height:sn+tt.height,color:de.backdropColor}}b.push({label:w,font:E,textOffset:L,options:{rotation:p,color:re,strokeColor:J,strokeWidth:Re,textAlign:Mt,textBaseline:K,translation:[y,T],backdrop:Pt}})}return b}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-Xi(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:i,mirror:s,padding:r}}=this.options,o=this._getLabelSizes(),a=e+r,l=o.widest.width;let c,u;return n==="left"?s?(u=this.right+r,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-a,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?s?(u=this.left+r,i==="near"?c="right":i==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+a,i==="near"?c="left":i==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:i,top:s,width:r,height:o}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(i,s,r,o),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(r=>r.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(r=0,o=s.length;r<o;++r){const l=s[r];n.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:i,grid:s}}=this,r=i.setContext(this.getContext()),o=i.display?r.width:0;if(!o)return;const a=s.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let c,u,d,f;this.isHorizontal()?(c=zi(e,this.left,o)-o/2,u=zi(e,this.right,a)+a/2,d=f=l):(d=zi(e,this.top,o)-o/2,f=zi(e,this.bottom,a)+a/2,c=u=l),n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.beginPath(),n.moveTo(c,d),n.lineTo(u,f),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const i=this.ctx,s=this._computeLabelArea();s&&Sl(i,s);const r=this.getLabelItems(e);for(const o of r){const a=o.options,l=o.font,c=o.label,u=o.textOffset;po(i,c,0,u,l,a)}s&&Tl(i)}drawTitle(){const{ctx:e,options:{position:n,title:i,reverse:s}}=this;if(!i.display)return;const r=Tt(i.font),o=cn(i.padding),a=i.align;let l=r.lineHeight/2;n==="bottom"||n==="center"||Ee(n)?(l+=o.bottom,dt(i.text)&&(l+=r.lineHeight*(i.text.length-1))):l+=o.top;const{titleX:c,titleY:u,maxWidth:d,rotation:f}=$3(this,l,n,a);po(e,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:f,textAlign:N3(a,n,s),textBaseline:"middle",translation:[c,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,i=ke(e.grid&&e.grid.z,-1),s=ke(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==ur.prototype.draw?[{z:n,draw:r=>{this.draw(r)}}]:[{z:i,draw:r=>{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:r=>{this.drawLabels(r)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let r,o;for(r=0,o=n.length;r<o;++r){const a=n[r];a[i]===this.id&&(!e||a.type===e)&&s.push(a)}return s}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Tt(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class ea{constructor(e,n,i){this.type=e,this.scope=n,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let i;j3(n)&&(i=this.register(n));const s=this.items,r=e.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+e);return r in s||(s[r]=e,F3(e,o,i),this.override&&rt.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const n=this.items,i=e.id,s=this.scope;i in n&&delete n[i],s&&i in rt[s]&&(delete rt[s][i],this.override&&delete gs[i])}}function F3(t,e,n){const i=co(Object.create(null),[n?rt.get(n):{},rt.get(e),t.defaults]);rt.set(e,i),t.defaultRoutes&&H3(e,t.defaultRoutes),t.descriptors&&rt.describe(e,t.descriptors)}function H3(t,e){Object.keys(e).forEach(n=>{const i=n.split("."),s=i.pop(),r=[t].concat(i).join("."),o=e[n].split("."),a=o.pop(),l=o.join(".");rt.route(r,s,l,a)})}function j3(t){return"id"in t&&"defaults"in t}class B3{constructor(){this.controllers=new ea(Od,"datasets",!0),this.elements=new ea($i,"elements"),this.plugins=new ea(Object,"plugins"),this.scales=new ea(ur,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,i){[...n].forEach(s=>{const r=i||this._getRegistryForType(s);i||r.isForType(s)||r===this.plugins&&s.id?this._exec(e,r,s):je(s,o=>{const a=i||this._getRegistryForType(o);this._exec(e,a,o)})})}_exec(e,n,i){const s=kd(e);Ke(i["before"+s],[],i),n[e](i),Ke(i["after"+s],[],i)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const i=this._typedRegistries[n];if(i.isForType(e))return i}return this.plugins}_get(e,n,i){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+i+".");return s}}var En=new B3;class V3{constructor(){this._init=void 0}notify(e,n,i,s){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const r=s?this._descriptors(e).filter(s):this._descriptors(e),o=this._notify(r,e,n,i);return n==="afterDestroy"&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),o}_notify(e,n,i,s){s=s||{};for(const r of e){const o=r.plugin,a=o[i],l=[n,s,r.options];if(Ke(a,l,o)===!1&&s.cancelable)return!1}return!0}invalidate(){Fe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const i=e&&e.config,s=ke(i.options&&i.options.plugins,{}),r=z3(i);return s===!1&&!n?[]:W3(e,r,s,n)}_notifyStateChanges(e){const n=this._oldCache||[],i=this._cache,s=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),e,"stop"),this._notify(s(i,n),e,"start")}}function z3(t){const e={},n=[],i=Object.keys(En.plugins.items);for(let r=0;r<i.length;r++)n.push(En.getPlugin(i[r]));const s=t.plugins||[];for(let r=0;r<s.length;r++){const o=s[r];n.indexOf(o)===-1&&(n.push(o),e[o.id]=!0)}return{plugins:n,localIds:e}}function U3(t,e){return!e&&t===!1?null:t===!0?{}:t}function W3(t,{plugins:e,localIds:n},i,s){const r=[],o=t.getContext();for(const a of e){const l=a.id,c=U3(i[l],s);c!==null&&r.push({plugin:a,options:q3(t.config,{plugin:a,local:n[l]},c,o)})}return r}function q3(t,{plugin:e,local:n},i,s){const r=t.pluginScopeKeys(e),o=t.getOptionScopes(i,r);return n&&e.defaults&&o.push(e.defaults),t.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function wu(t,e){const n=rt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function G3(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function K3(t,e){return t===e?"_index_":"_value_"}function Cp(t){if(t==="x"||t==="y"||t==="r")return t}function Y3(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function xu(t,...e){if(Cp(t))return t;for(const n of e){const i=n.axis||Y3(n.position)||t.length>1&&Cp(t[0].toLowerCase());if(i)return i}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Ep(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function Z3(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(i=>i.xAxisID===t||i.yAxisID===t);if(n.length)return Ep(t,"x",n[0])||Ep(t,"y",n[0])}return{}}function X3(t,e){const n=gs[t.type]||{scales:{}},i=e.scales||{},s=wu(t.type,e),r=Object.create(null);return Object.keys(i).forEach(o=>{const a=i[o];if(!Ee(a))return console.error(`Invalid scale configuration for scale: ${o}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const l=xu(o,a,Z3(o,t),rt.scales[a.type]),c=K3(l,s),u=n.scales||{};r[o]=jr(Object.create(null),[{axis:l},a,u[l],u[c]])}),t.data.datasets.forEach(o=>{const a=o.type||t.type,l=o.indexAxis||wu(a,e),u=(gs[a]||{}).scales||{};Object.keys(u).forEach(d=>{const f=G3(d,l),h=o[f+"AxisID"]||f;r[h]=r[h]||Object.create(null),jr(r[h],[{axis:f},i[h],u[d]])})}),Object.keys(r).forEach(o=>{const a=r[o];jr(a,[rt.scales[a.type],rt.scale])}),r}function _y(t){const e=t.options||(t.options={});e.plugins=ke(e.plugins,{}),e.scales=X3(t,e)}function yy(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function J3(t){return t=t||{},t.data=yy(t.data),_y(t),t}const Mp=new Map,by=new Set;function ta(t,e){let n=Mp.get(t);return n||(n=e(),Mp.set(t,n),by.add(n)),n}const wr=(t,e,n)=>{const i=tr(e,n);i!==void 0&&t.add(i)};class Q3{constructor(e){this._config=J3(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=yy(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),_y(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return ta(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return ta(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return ta(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,i=this.type;return ta(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const i=this._scopeCache;let s=i.get(e);return(!s||n)&&(s=new Map,i.set(e,s)),s}getOptionScopes(e,n,i){const{options:s,type:r}=this,o=this._cachedScopes(e,i),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{e&&(l.add(e),u.forEach(d=>wr(l,e,d))),u.forEach(d=>wr(l,s,d)),u.forEach(d=>wr(l,gs[r]||{},d)),u.forEach(d=>wr(l,rt,d)),u.forEach(d=>wr(l,bu,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),by.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:e,type:n}=this;return[e,gs[n]||{},rt.datasets[n]||{},{type:n},rt,bu]}resolveNamedOptions(e,n,i,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=Pp(this._resolverCache,e,s);let l=o;if(t5(o,n)){r.$shared=!1,i=Li(i)?i():i;const c=this.createResolver(e,i,a);l=nr(o,i,c)}for(const c of n)r[c]=l[c];return r}createResolver(e,n,i=[""],s){const{resolver:r}=Pp(this._resolverCache,e,i);return Ee(n)?nr(r,n,void 0,s):r}}function Pp(t,e,n){let i=t.get(e);i||(i=new Map,t.set(e,i));const s=n.join();let r=i.get(s);return r||(r={resolver:Cd(e,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,r)),r}const e5=t=>Ee(t)&&Object.getOwnPropertyNames(t).some(e=>Li(t[e]));function t5(t,e){const{isScriptable:n,isIndexable:i}=J_(t);for(const s of e){const r=n(s),o=i(s),a=(o||r)&&t[s];if(r&&(Li(a)||e5(a))||o&&dt(a))return!0}return!1}var n5="4.5.1";const i5=["top","bottom","left","right","chartArea"];function Ip(t,e){return t==="top"||t==="bottom"||i5.indexOf(t)===-1&&e==="x"}function Op(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function Rp(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Ke(n&&n.onComplete,[t],e)}function s5(t){const e=t.chart,n=e.options.animation;Ke(n&&n.onProgress,[t],e)}function vy(t){return Pd()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const fa={},Dp=t=>{const e=vy(t);return Object.values(fa).filter(n=>n.canvas===e).pop()};function r5(t,e,n){const i=Object.keys(t);for(const s of i){const r=+s;if(r>=e){const o=t[s];delete t[s],(n>0||r>e)&&(t[r+n]=o)}}}function o5(t,e,n,i){return!n||t.type==="mouseout"?null:i?e:t}class wy{static defaults=rt;static instances=fa;static overrides=gs;static registry=En;static version=n5;static getChart=Dp;static register(...e){En.add(...e),Lp()}static unregister(...e){En.remove(...e),Lp()}constructor(e,n){const i=this.config=new Q3(n),s=vy(e),r=Dp(s);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||S3(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=sE(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new V3,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=SE(d=>this.update(d),o.resizeDelay||0),this._dataChanges=[],fa[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Kn.listen(this,"complete",Rp),Kn.listen(this,"progress",s5),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:i,height:s,_aspectRatio:r}=this;return Fe(e)?n&&r?r:s?i/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return En}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ip(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ep(this.canvas,this.ctx),this}stop(){return Kn.stop(this),this}resize(e,n){Kn.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const i=this.options,s=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,e,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ip(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Ke(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};je(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,i=this.scales,s=Object.keys(i).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=xu(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),je(r,o=>{const a=o.options,l=a.id,c=xu(l,a),u=ke(a.type,o.dtype);(a.position===void 0||Ip(a.position,c)!==Ip(o.dposition))&&(a.position=o.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const f=En.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,e)}),je(s,(o,a)=>{o||delete i[a]}),je(i,o=>{an.configure(this,o,o.options),an.addBox(this,o)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,i=e.length;if(e.sort((s,r)=>s.index-r.index),i>n){for(let s=n;s<i;++s)this._destroyDatasetMeta(s);e.splice(n,i-n)}this._sortedMetasets=e.slice(0).sort(Op("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((i,s)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i<s;i++){const r=n[i];let o=this.getDatasetMeta(i);const a=r.type||this.config.type;if(o.type&&o.type!==a&&(this._destroyDatasetMeta(i),o=this.getDatasetMeta(i)),o.type=a,o.indexAxis=r.indexAxis||wu(a,this.options),o.order=r.order||0,o.index=i,o.label=""+r.label,o.visible=this.isDatasetVisible(i),o.controller)o.controller.updateIndex(i),o.controller.linkScales();else{const l=En.getController(a),{datasetElementType:c,dataElementType:u}=rt.datasets[a];Object.assign(l,{dataElementType:En.getElement(u),datasetElementType:c&&En.getElement(c)}),o.controller=new l(this,i),e.push(o.controller)}}return this._updateMetasets(),e}_resetElements(){je(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c<u;c++){const{controller:d}=this.getDatasetMeta(c),f=!s&&r.indexOf(d)===-1;d.buildOrUpdateElements(f),o=Math.max(+d.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),s||je(r,c=>{c.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Op("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){je(this.scales,e=>{an.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(e.events);(!Uh(n,i)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:r}of n){const o=i==="_removeElements"?-r:r;r5(e,s,o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(e.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),s=i(0);for(let r=1;r<n;r++)if(!Uh(s,i(r)))return;return Array.from(s).map(r=>r.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;an.update(this,this.width,this.height,e);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],je(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,r)=>{s._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n<i;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,i=this.data.datasets.length;n<i;++n)this._updateDataset(n,Li(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const i=this.getDatasetMeta(e),s={meta:i,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(i.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Kn.has(this)?this.attached&&!Kn.running(this)&&Kn.start(this):(this.draw(),Rp({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:i,height:s}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(i,s)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,i=[];let s,r;for(s=0,r=n.length;s<r;++s){const o=n[s];(!e||o.visible)&&i.push(o)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,i={meta:e,index:e.index,cancelable:!0},s=ly(this,e);this.notifyPlugins("beforeDatasetDraw",i)!==!1&&(s&&Sl(n,s),e.controller.draw(),s&&Tl(n),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(e){return ho(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,i,s){const r=i3.modes[n];return typeof r=="function"?r(this,e,i,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],i=this._metasets;let s=i.filter(r=>r&&r._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=ys(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const i=this.getDatasetMeta(e);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(e,n){const i=this.getDatasetMeta(e);i.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,i){const s=i?"show":"hide",r=this.getDatasetMeta(e),o=r.controller._resolveAnimations(void 0,s);uo(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),o.update(r,{visible:i}),this.update(a=>a.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),Kn.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),ep(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete fa[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,i=(r,o)=>{n.addEventListener(this,r,o),e[r]=o},s=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};je(this.options.events,r=>i(r,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),e[l]=c},s=(l,c)=>{e[l]&&(n.removeEventListener(this,l,c),delete e[l])},r=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,s("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){je(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},je(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,i){const s=i?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+s+"DatasetHoverStyle"]()),a=0,l=e.length;a<l;++a){o=e[a];const c=o&&this.getDatasetMeta(o.datasetIndex).controller;c&&c[s+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],i=e.map(({datasetIndex:r,index:o})=>{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!qa(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(e,n,i){return this._plugins.notify(this,e,n,i)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,i){const s=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),o=r(n,e),a=i?e:r(e,n);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(e,n){const i={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=o=>(o.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const r=this._handleEvent(e,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(r||i.changed)&&this.render(),this}_handleEvent(e,n,i){const{_active:s=[],options:r}=this,o=n,a=this._getActiveElements(e,s,i,o),l=uE(e),c=o5(e,this._lastEvent,i,l);i&&(this._lastEvent=null,Ke(r.onHover,[e,a,this],this),l&&Ke(r.onClick,[e,a,this],this));const u=!qa(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(e,n,i,s){if(e.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,s)}}function Lp(){return je(wy.instances,t=>t._plugins.invalidate())}function xy(t,e,n=e){t.lineCap=ke(n.borderCapStyle,e.borderCapStyle),t.setLineDash(ke(n.borderDash,e.borderDash)),t.lineDashOffset=ke(n.borderDashOffset,e.borderDashOffset),t.lineJoin=ke(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=ke(n.borderWidth,e.borderWidth),t.strokeStyle=ke(n.borderColor,e.borderColor)}function a5(t,e,n){t.lineTo(n.x,n.y)}function l5(t){return t.stepped?FE:t.tension||t.cubicInterpolationMode==="monotone"?HE:a5}function ky(t,e,n={}){const i=t.length,{start:s=0,end:r=i-1}=n,{start:o,end:a}=e,l=Math.max(s,o),c=Math.min(r,a),u=s<o&&r<o||s>a&&r>a;return{count:i,start:l,loop:e.loop,ilen:c<l&&!u?i+c-l:c-l}}function c5(t,e,n,i){const{points:s,options:r}=e,{count:o,start:a,loop:l,ilen:c}=ky(s,n,i),u=l5(r);let{move:d=!0,reverse:f}=i||{},h,m,p;for(h=0;h<=c;++h)m=s[(a+(f?c-h:h))%o],!m.skip&&(d?(t.moveTo(m.x,m.y),d=!1):u(t,p,m,f,r.stepped),p=m);return l&&(m=s[(a+(f?c:0))%o],u(t,p,m,f,r.stepped)),!!l}function u5(t,e,n,i){const s=e.points,{count:r,start:o,ilen:a}=ky(s,n,i),{move:l=!0,reverse:c}=i||{};let u=0,d=0,f,h,m,p,b,_;const v=w=>(o+(c?a-w:w))%r,g=()=>{p!==b&&(t.lineTo(u,b),t.lineTo(u,p),t.lineTo(u,_))};for(l&&(h=s[v(0)],t.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=s[v(f)],h.skip)continue;const w=h.x,y=h.y,T=w|0;T===m?(y<p?p=y:y>b&&(b=y),u=(d*u+w)/++d):(g(),t.lineTo(w,y),m=T,d=0,p=b=y),_=y}g()}function ku(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?u5:c5}function d5(t){return t.stepped?_4:t.tension||t.cubicInterpolationMode==="monotone"?y4:Ki}function f5(t,e,n,i){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,i)&&s.closePath()),xy(t,e.options),t.stroke(s)}function h5(t,e,n,i){const{segments:s,options:r}=e,o=ku(e);for(const a of s)xy(t,r,a.style),t.beginPath(),o(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const p5=typeof Path2D=="function";function m5(t,e,n,i){p5&&!e.options.segment?f5(t,e,n,i):h5(t,e,n,i)}class El extends $i{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}
vendor: 4,304 bytes, line 7
7updateControlPoints(e,n){const i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;c4(this._points,i,e,s,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=S4(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,i=e.length;return i&&n[e[i-1].end]}interpolate(e,n){const i=this.options,s=e[n],r=this.points,o=ay(this,{property:n,start:s,end:s});if(!o.length)return;const a=[],l=d5(i);let c,u;for(c=0,u=o.length;c<u;++c){const{start:d,end:f}=o[c],h=r[d],m=r[f];if(h===m){a.push(h);continue}const p=Math.abs((s-h[n])/(m[n]-h[n])),b=l(h,m,p,i.stepped);b[n]=e[n],a.push(b)}return a.length===1?a[0]:a}pathSegment(e,n,i){return ku(this)(e,this,n,i)}path(e,n,i){const s=this.segments,r=ku(this);let o=this._loop;n=n||0,i=i||this.points.length-n;for(const a of s)o&=r(e,this,a,{start:n,end:n+i-1});return!!o}draw(e,n,i,s){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),m5(e,this,i,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Np(t,e,n,i){const s=t.options,{[n]:r}=t.getProps([n],i);return Math.abs(e-r)<s.radius+s.hitRadius}class g5 extends $i{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,n,i){const s=this.options,{x:r,y:o}=this.getProps(["x","y"],i);return Math.pow(e-r,2)+Math.pow(n-o,2)<Math.pow(s.hitRadius+s.radius,2)}inXRange(e,n){return Np(this,e,"x",n)}inYRange(e,n){return Np(this,e,"y",n)}getCenterPoint(e){const{x:n,y:i}=this.getProps(["x","y"],e);return{x:n,y:i}}size(e){e=e||this.options||{};let n=e.radius||0;n=Math.max(n,n&&e.hoverRadius||0);const i=n&&e.borderWidth||0;return(n+i)*2}draw(e,n){const i=this.options;this.skip||i.radius<.1||!ho(this,n,this.size(i)/2)||(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,vu(e,i,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function Sy(t,e){const{x:n,y:i,base:s,width:r,height:o}=t.getProps(["x","y","base","width","height"],e);let a,l,c,u,d;return t.horizontal?(d=o/2,a=Math.min(n,s),l=Math.max(n,s),c=i-d,u=i+d):(d=r/2,a=n-d,l=n+d,c=Math.min(i,s),u=Math.max(i,s)),{left:a,top:c,right:l,bottom:u}}function Si(t,e,n,i){return t?0:Xt(e,n,i)}function _5(t,e,n){const i=t.options.borderWidth,s=t.borderSkipped,r=X_(i);return{t:Si(s.top,r.top,0,n),r:Si(s.right,r.right,0,e),b:Si(s.bottom,r.bottom,0,n),l:Si(s.left,r.left,0,e)}}function y5(t,e,n){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),s=t.options.borderRadius,r=Bs(s),o=Math.min(e,n),a=t.borderSkipped,l=i||Ee(s);return{topLeft:Si(!l||a.top||a.left,r.topLeft,0,o),topRight:Si(!l||a.top||a.right,r.topRight,0,o),bottomLeft:Si(!l||a.bottom||a.left,r.bottomLeft,0,o),bottomRight:Si(!l||a.bottom||a.right,r.bottomRight,0,o)}}function b5(t){const e=Sy(t),n=e.right-e.left,i=e.bottom-e.top,s=_5(t,n/2,i/2),r=y5(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i,radius:r},inner:{x:e.left+s.l,y:e.top+s.t,w:n-s.l-s.r,h:i-s.t-s.b,radius:{topLeft:Math.max(0,r.topLeft-Math.max(s.t,s.l)),topRight:Math.max(0,r.topRight-Math.max(s.t,s.r)),bottomLeft:Math.max(0,r.bottomLeft-Math.max(s.b,s.l)),bottomRight:Math.max(0,r.bottomRight-Math.max(s.b,s.r))}}}}function _c(t,e,n,i){const s=e===null,r=n===null,a=t&&!(s&&r)&&Sy(t,i);return a&&(s||xi(e,a.left,a.right))&&(r||xi(n,a.top,a.bottom))}function v5(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function w5(t,e){t.rect(e.x,e.y,e.w,e.h)}function yc(t,e,n={}){const i=t.x!==n.x?-e:0,s=t.y!==n.y?-e:0,r=(t.x+t.w!==n.x+n.w?e:0)-i,o=(t.y+t.h!==n.y+n.h?e:0)-s;return{x:t.x+i,y:t.y+s,w:t.w+r,h:t.h+o,radius:t.radius}}class x5 extends $i{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmou
vendor: 44,737 bytes, lines 7-9
7nt:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:i,backgroundColor:s}}=this,{inner:r,outer:o}=b5(this),a=v5(o.radius)?Ya:w5;e.save(),(o.w!==r.w||o.h!==r.h)&&(e.beginPath(),a(e,yc(o,n,r)),e.clip(),a(e,yc(r,-n,o)),e.fillStyle=i,e.fill("evenodd")),e.beginPath(),a(e,yc(r,n)),e.fillStyle=s,e.fill(),e.restore()}inRange(e,n,i){return _c(this,e,n,i)}inXRange(e,n){return _c(this,e,null,n)}inYRange(e,n){return _c(this,null,e,n)}getCenterPoint(e){const{x:n,y:i,base:s,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(n+s)/2:n,y:r?i:(i+s)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}function k5(t,e,n){const i=t.segments,s=t.points,r=e.points,o=[];for(const a of i){let{start:l,end:c}=a;c=Ml(l,c,s);const u=Su(n,s[l],s[c],a.loop);if(!e.segments){o.push({source:a,target:u,start:s[l],end:s[c]});continue}const d=ay(e,u);for(const f of d){const h=Su(n,r[f.start],r[f.end],f.loop),m=oy(a,s,h);for(const p of m)o.push({source:p,target:f,start:{[n]:$p(u,h,"start",Math.max)},end:{[n]:$p(u,h,"end",Math.min)}})}}return o}function Su(t,e,n,i){if(i)return;let s=e[t],r=n[t];return t==="angle"&&(s=In(s),r=In(r)),{property:t,start:s,end:r}}function S5(t,e){const{x:n=null,y:i=null}=t||{},s=e.points,r=[];return e.segments.forEach(({start:o,end:a})=>{a=Ml(o,a,s);const l=s[o],c=s[a];i!==null?(r.push({x:l.x,y:i}),r.push({x:c.x,y:i})):n!==null&&(r.push({x:n,y:l.y}),r.push({x:n,y:c.y}))}),r}function Ml(t,e,n){for(;e>t;e--){const i=n[e];if(!isNaN(i.x)&&!isNaN(i.y))break}return e}function $p(t,e,n,i){return t&&e?i(t[n],e[n]):t?t[n]:e?e[n]:0}function Ty(t,e){let n=[],i=!1;return dt(t)?(i=!0,n=t):n=S5(t,e),n.length?new El({points:n,options:{tension:0},_loop:i,_fullLoop:i}):null}function Fp(t){return t&&t.fill!==!1}function T5(t,e,n){let s=t[e].fill;const r=[e];let o;if(!n)return s;for(;s!==!1&&r.indexOf(s)===-1;){if(!Et(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;r.push(s),s=o.fill}return!1}function A5(t,e,n){const i=P5(t);if(Ee(i))return isNaN(i.value)?!1:i;let s=parseFloat(i);return Et(s)&&Math.floor(s)===s?C5(i[0],e,s,n):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function C5(t,e,n,i){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=i?!1:n}function E5(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:Ee(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function M5(t,e,n){let i;return t==="start"?i=n:t==="end"?i=e.options.reverse?e.min:e.max:Ee(t)?i=t.value:i=e.getBaseValue(),i}function P5(t){const e=t.options,n=e.fill;let i=ke(n&&n.target,n);return i===void 0&&(i=!!e.backgroundColor),i===!1||i===null?!1:i===!0?"origin":i}function I5(t){const{scale:e,index:n,line:i}=t,s=[],r=i.segments,o=i.points,a=O5(e,n);a.push(Ty({x:null,y:e.bottom},i));for(let l=0;l<r.length;l++){const c=r[l];for(let u=c.start;u<=c.end;u++)R5(s,o[u],a)}return new El({points:s,options:{}})}function O5(t,e){const n=[],i=t.getMatchingVisibleMetas("line");for(let s=0;s<i.length;s++){const r=i[s];if(r.index===e)break;r.hidden||n.unshift(r.dataset)}return n}function R5(t,e,n){const i=[];for(let s=0;s<n.length;s++){const r=n[s],{first:o,last:a,point:l}=D5(r,e,"x");if(!(!l||o&&a)){if(o)i.unshift(l);else if(t.push(l),!a)break}}t.push(...i)}function D5(t,e,n){const i=t.interpolate(e,n);if(!i)return{};const s=i[n],r=t.segments,o=t.points;let a=!1,l=!1;for(let c=0;c<r.length;c++){const u=r[c],d=o[u.start][n],f=o[u.end][n];if(xi(s,d,f)){a=s===d,l=s===f;break}}return{first:a,last:l,point:i}}class Ay{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,i){const{x:s,y:r,radius:o}=this;return n=n||{start:0,end:yn},e.arc(s,r,o,n.end,n.start,!0),!i.bounds}interpolate(e){const{x:n,y:i,radius:s}=this,r=e.angle;return{x:n+Math.cos(r)*s,y:i+Math.sin(r)*s,angle:r}}}function L5(t){const{chart:e,fill:n,line:i}=t;if(Et(n))return N5(e,n);if(n==="stack")return I5(t);if(n==="shape")return!0;const s=$5(t);return s instanceof Ay?s:Ty(s,i)}function N5(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function $5(t){return(t.scale||{}).getPointPositionForValue?H5(t):F5(t)}function F5(t){const{scale:e={},fill:n}=t,i=E5(n,e);if(Et(i)){const s=e.isHorizontal();return{x:s?i:null,y:s?null:i}}return null}function H5(t){const{scale:e,fill:n}=t,i=e.options,s=e.getLabels().length,r=i.reverse?e.max:e.min,o=M5(n,e,r),a=[];if(i.grid.circular){const l=e.getPointPositionForValue(0,r);return new Ay({x:l.x,y:l.y,radius:e.getDistanceFromCenterForValue(o)})}for(let l=0;l<s;++l)a.push(e.getPointPositionForValue(l,o));return a}function bc(t,e,n){const i=L5(e),{chart:s,index:r,line:o,scale:a,axis:l}=e,c=o.options,u=c.fill,d=c.backgroundColor,{above:f=d,below:h=d}=u||{},m=s.getDatasetMeta(r),p=ly(s,m);i&&o.points.length&&(Sl(t,n),j5(t,{line:o,target:i,above:f,below:h,area:n,scale:a,axis:l,clip:p}),Tl(t))}function j5(t,e){const{line:n,target:i,above:s,below:r,area:o,scale:a,clip:l}=e,c=n._loop?"angle":e.axis;t.save();let u=r;r!==s&&(c==="x"?(Hp(t,i,o.top),vc(t,{line:n,target:i,color:s,scale:a,property:c,clip:l}),t.restore(),t.save(),Hp(t,i,o.bottom)):c==="y"&&(jp(t,i,o.left),vc(t,{line:n,target:i,color:r,scale:a,property:c,clip:l}),t.restore(),t.save(),jp(t,i,o.right),u=s)),vc(t,{line:n,target:i,color:u,scale:a,property:c,clip:l}),t.restore()}function Hp(t,e,n){const{segments:i,points:s}=e;let r=!0,o=!1;t.beginPath();for(const a of i){const{start:l,end:c}=a,u=s[l],d=s[Ml(l,c,s)];r?(t.moveTo(u.x,u.y),r=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),o=!!e.pathSegment(t,a,{move:o}),o?t.closePath():t.lineTo(d.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function jp(t,e,n){const{segments:i,points:s}=e;let r=!0,o=!1;t.beginPath();for(const a of i){const{start:l,end:c}=a,u=s[l],d=s[Ml(l,c,s)];r?(t.moveTo(u.x,u.y),r=!1):(t.lineTo(n,u.y),t.lineTo(u.x,u.y)),o=!!e.pathSegment(t,a,{move:o}),o?t.closePath():t.lineTo(n,d.y)}t.lineTo(n,e.first().y),t.closePath(),t.clip()}function vc(t,e){const{line:n,target:i,property:s,color:r,scale:o,clip:a}=e,l=k5(n,i,s);for(const{source:c,target:u,start:d,end:f}of l){const{style:{backgroundColor:h=r}={}}=c,m=i!==!0;t.save(),t.fillStyle=h,B5(t,o,a,m&&Su(s,d,f)),t.beginPath();const p=!!n.pathSegment(t,c);let b;if(m){p?t.closePath():Bp(t,i,f,s);const _=!!i.pathSegment(t,u,{move:p,reverse:!0});b=p&&_,b||Bp(t,i,d,s)}t.closePath(),t.fill(b?"evenodd":"nonzero"),t.restore()}}function B5(t,e,n,i){const s=e.chart.chartArea,{property:r,start:o,end:a}=i||{};if(r==="x"||r==="y"){let l,c,u,d;r==="x"?(l=o,c=s.top,u=a,d=s.bottom):(l=s.left,c=o,u=s.right,d=a),t.beginPath(),n&&(l=Math.max(l,n.left),u=Math.min(u,n.right),c=Math.max(c,n.top),d=Math.min(d,n.bottom)),t.rect(l,c,u-l,d-c),t.clip()}}function Bp(t,e,n,i){const s=e.interpolate(n,i);s&&t.lineTo(s.x,s.y)}var V5={id:"filler",afterDatasetsUpdate(t,e,n){const i=(t.data.datasets||[]).length,s=[];let r,o,a,l;for(o=0;o<i;++o)r=t.getDatasetMeta(o),a=r.dataset,l=null,a&&a.options&&a instanceof El&&(l={visible:t.isDatasetVisible(o),index:o,fill:A5(a,o,i),chart:t,axis:r.controller.options.indexAxis,scale:r.vScale,line:a}),r.$filler=l,s.push(l);for(o=0;o<i;++o)l=s[o],!(!l||l.fill===!1)&&(l.fill=T5(s,o,n.propagate))},beforeDraw(t,e,n){const i=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),r=t.chartArea;for(let o=s.length-1;o>=0;--o){const a=s[o].$filler;a&&(a.line.updateControlPoints(r,a.axis),i&&a.fill&&bc(t.ctx,a,r))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const i=t.getSortedVisibleDatasetMetas();for(let s=i.length-1;s>=0;--s){const r=i[s].$filler;Fp(r)&&bc(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,e,n){const i=e.meta.$filler;!Fp(i)||n.drawTime!=="beforeDatasetDraw"||bc(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Vp=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=t.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},z5=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class zp extends $i{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,i){this.maxWidth=e,this.maxHeight=n,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Ke(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(i=>e.filter(i,this.chart.data))),e.sort&&(n=n.sort((i,s)=>e.sort(i,s,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const i=e.labels,s=Tt(i.font),r=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Vp(i,r);let c,u;n.font=s.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(o,r,a,l)+10):(u=this.maxHeight,c=this._fitCols(o,s,a,l)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,i,s){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=s+a;let d=e;r.textAlign="left",r.textBaseline="middle";let f=-1,h=-u;return this.legendItems.forEach((m,p)=>{const b=i+n/2+r.measureText(m.text).width;(p===0||c[c.length-1]+b+2*a>o)&&(d+=u,c[c.length-(p>0?0:1)]=0,h+=u,f++),l[p]={left:0,top:h,row:f,width:b,height:s},c[c.length-1]+=b+a}),d}_fitCols(e,n,i,s){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=o-e;let d=a,f=0,h=0,m=0,p=0;return this.legendItems.forEach((b,_)=>{const{itemWidth:v,itemHeight:g}=U5(i,n,r,b,s);_>0&&h+g+2*a>u&&(d+=f+a,c.push({width:f,height:h}),m+=f+a,p++,f=h=0),l[_]={left:m,top:h,col:p,width:v,height:g},f=Math.max(f,v),h+=g+a}),d+=f,c.push({width:f,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:i,labels:{padding:s},rtl:r}}=this,o=Vs(r,this.left,this.width);if(this.isHorizontal()){let a=0,l=wt(i,this.left+s,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=wt(i,this.left+s,this.right-this.lineWidths[a])),c.top+=this.top+e+s,c.left=o.leftForLtr(o.x(l),c.width),l+=c.width+s}else{let a=0,l=wt(i,this.top+e+s,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=wt(i,this.top+e+s,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+s,c.left=o.leftForLtr(o.x(c.left),c.width),l+=c.height+s}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;Sl(e,this),this._draw(),Tl(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:i,ctx:s}=this,{align:r,labels:o}=e,a=rt.color,l=Vs(e.rtl,this.left,this.width),c=Tt(o.font),{padding:u}=o,d=c.size,f=d/2;let h;this.drawTitle(),s.textAlign=l.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=c.string;const{boxWidth:m,boxHeight:p,itemHeight:b}=Vp(o,d),_=function(T,A,M){if(isNaN(m)||m<=0||isNaN(p)||p<0)return;s.save();const E=ke(M.lineWidth,1);if(s.fillStyle=ke(M.fillStyle,a),s.lineCap=ke(M.lineCap,"butt"),s.lineDashOffset=ke(M.lineDashOffset,0),s.lineJoin=ke(M.lineJoin,"miter"),s.lineWidth=E,s.strokeStyle=ke(M.strokeStyle,a),s.setLineDash(ke(M.lineDash,[])),o.usePointStyle){const R={radius:p*Math.SQRT2/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:E},j=l.xPlus(T,m/2),L=A+f;Y_(s,R,j,L,o.pointStyleWidth&&m)}else{const R=A+Math.max((d-p)/2,0),j=l.leftForLtr(T,m),L=Bs(M.borderRadius);s.beginPath(),Object.values(L).some(K=>K!==0)?Ya(s,{x:j,y:R,w:m,h:p,radius:L}):s.rect(j,R,m,p),s.fill(),E!==0&&s.stroke()}s.restore()},v=function(T,A,M){po(s,M.text,T,A+b/2,c,{strikethrough:M.hidden,textAlign:l.textAlign(M.textAlign)})},g=this.isHorizontal(),w=this._computeTitleHeight();g?h={x:wt(r,this.left+u,this.right-i[0]),y:this.top+u+w,line:0}:h={x:this.left+u,y:wt(r,this.top+w+u,this.bottom-n[0].height),line:0},iy(this.ctx,e.textDirection);const y=b+u;this.legendItems.forEach((T,A)=>{s.strokeStyle=T.fontColor,s.fillStyle=T.fontColor;const M=s.measureText(T.text).width,E=l.textAlign(T.textAlign||(T.textAlign=o.textAlign)),R=m+f+M;let j=h.x,L=h.y;l.setWidth(this.width),g?A>0&&j+R+u>this.right&&(L=h.y+=y,h.line++,j=h.x=wt(r,this.left+u,this.right-i[h.line])):A>0&&L+y>this.bottom&&(j=h.x=j+n[h.line].width+u,h.line++,L=h.y=wt(r,this.top+w+u,this.bottom-n[h.line].height));const K=l.x(j);if(_(K,L,T),j=TE(E,j+m+f,g?j+R:this.right,e.rtl),v(l.x(j),L,T),g)h.x+=R+u;else if(typeof T.text!="string"){const ve=c.lineHeight;h.y+=Cy(T,ve)+u}else h.y+=y}),sy(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,i=Tt(n.font),s=cn(n.padding);if(!n.display)return;const r=Vs(e.rtl,this.left,this.width),o=this.ctx,a=n.position,l=i.size/2,c=s.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=wt(e.align,d,this.right-f);else{const m=this.columnSizes.reduce((p,b)=>Math.max(p,b.height),0);u=c+wt(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const h=wt(a,d,d+f);o.textAlign=r.textAlign(Td(a)),o.textBaseline="middle",o.strokeStyle=n.color,o.fillStyle=n.color,o.font=i.string,po(o,n.text,h,u,i)}_computeTitleHeight(){const e=this.options.title,n=Tt(e.font),i=cn(e.padding);return e.display?n.lineHeight+i.height:0}_getLegendItemAt(e,n){let i,s,r;if(xi(e,this.left,this.right)&&xi(n,this.top,this.bottom)){for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(s=r[i],xi(e,s.left,s.left+s.width)&&xi(n,s.top,s.top+s.height))return this.legendItems[i]}return null}handleEvent(e){const n=this.options;if(!G5(e.type,n))return;const i=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const s=this._hoveredItem,r=z5(s,i);s&&!r&&Ke(n.onLeave,[e,s,this],this),this._hoveredItem=i,i&&!r&&Ke(n.onHover,[e,i,this],this)}else i&&Ke(n.onClick,[e,i,this],this)}}function U5(t,e,n,i,s){const r=W5(i,t,e,n),o=q5(s,i,e.lineHeight);return{itemWidth:r,itemHeight:o}}function W5(t,e,n,i){let s=t.text;return s&&typeof s!="string"&&(s=s.reduce((r,o)=>r.length>o.length?r:o)),e+n.size/2+i.measureText(s).width}function q5(t,e,n){let i=t;return typeof e.text!="string"&&(i=Cy(e,n)),i}function Cy(t,e){const n=t.text?t.text.length:0;return e*n}function G5(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var K5={id:"legend",_element:zp,start(t,e,n){const i=t.legend=new zp({ctx:t.ctx,options:n,chart:t});an.configure(t,i,n),an.addBox(t,i)},stop(t){an.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;an.configure(t,i,n),i.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const i=e.datasetIndex,s=n.chart;s.isDatasetVisible(i)?(s.hide(i),e.hidden=!0):(s.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:s,color:r,useBorderRadius:o,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=cn(c.borderWidth);return{text:e[l.index].label,fillStyle:c.backgroundColor,fontColor:r,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:i||c.pointStyle,rotation:c.rotation,textAlign:s||c.textAlign,borderRadius:o&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ey extends $i{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const i=this.options;if(this.left=0,this.top=0,!i.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const s=dt(i.text)?i.text.length:1;this._padding=cn(i.padding);const r=s*Tt(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:i,bottom:s,right:r,options:o}=this,a=o.align;let l=0,c,u,d;return this.isHorizontal()?(u=wt(a,i,r),d=n+e,c=r-i):(o.position==="left"?(u=i+e,d=wt(a,s,n),l=mt*-.5):(u=r-e,d=wt(a,n,s),l=mt*.5),c=s-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const i=Tt(n.font),r=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(r);po(e,n.text,0,0,i,{color:n.color,maxWidth:l,rotation:c,textAlign:Td(n.align),textBaseline:"middle",translation:[o,a]})}}function Y5(t,e){const n=new Ey({ctx:t.ctx,options:e,chart:t});an.configure(t,n,e),an.addBox(t,n),t.titleBlock=n}var Z5={id:"title",_element:Ey,start(t,e,n){Y5(t,n)},stop(t){const e=t.titleBlock;an.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;an.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Mr={average(t){if(!t.length)return!1;let e,n,i=new Set,s=0,r=0;for(e=0,n=t.length;e<n;++e){const a=t[e].element;if(a&&a.hasValue()){const l=a.tooltipPosition();i.add(l.x),s+=l.y,++r}}return r===0||i.size===0?!1:{x:[...i].reduce((a,l)=>a+l)/i.size,y:s/r}},nearest(t,e){if(!t.length)return!1;let n=e.x,i=e.y,s=Number.POSITIVE_INFINITY,r,o,a;for(r=0,o=t.length;r<o;++r){const l=t[r].element;if(l&&l.hasValue()){const c=l.getCenterPoint(),u=yu(e,c);u<s&&(s=u,a=l)}}if(a){const l=a.tooltipPosition();n=l.x,i=l.y}return{x:n,y:i}}};function An(t,e){return e&&(dt(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Yn(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(` 8`)>-1?t.split(` 9`):t}function X5(t,e){const{element:n,datasetIndex:i,index:s}=e,r=t.getDatasetMeta(i).controller,{label:o,value:a}=r.getLabelAndValue(s);return{chart:t,label:o,parsed:r.getParsed(s),raw:t.data.datasets[i].data[s],formattedValue:a,dataset:r.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function Up(t,e){const n=t.chart.ctx,{body:i,footer:s,title:r}=t,{boxWidth:o,boxHeight:a}=e,l=Tt(e.bodyFont),c=Tt(e.titleFont),u=Tt(e.footerFont),d=r.length,f=s.length,h=i.length,m=cn(e.padding);let p=m.height,b=0,_=i.reduce((w,y)=>w+y.before.length+y.lines.length+y.after.length,0);if(_+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),_){const w=e.displayColors?Math.max(a,l.lineHeight):l.lineHeight;p+=h*w+(_-h)*l.lineHeight+(_-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let v=0;const g=function(w){b=Math.max(b,n.measureText(w).width+v)};return n.save(),n.font=c.string,je(t.title,g),n.font=l.string,je(t.beforeBody.concat(t.afterBody),g),v=e.displayColors?o+2+e.boxPadding:0,je(i,w=>{je(w.before,g),je(w.lines,g),je(w.after,g)}),v=0,n.font=u.string,je(t.footer,g),n.restore(),b+=m.width,{width:b,height:p}}function J5(t,e){const{y:n,height:i}=e;return n<i/2?"top":n>t.height-i/2?"bottom":"center"}function Q5(t,e,n,i){const{x:s,width:r}=i,o=n.caretSize+n.caretPadding;if(t==="left"&&s+r+o>e.width||t==="right"&&s-r-o<0)return!0}function eM(t,e,n,i){const{x:s,width:r}=n,{width:o,chartArea:{left:a,right:l}}=t;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=r/2?c="left":s>=o-r/2&&(c="right"),Q5(c,t,e,n)&&(c="center"),c}function Wp(t,e,n){const i=n.yAlign||e.yAlign||J5(t,n);return{xAlign:n.xAlign||e.xAlign||eM(t,e,n,i),yAlign:i}}function tM(t,e){let{x:n,width:i}=t;return e==="right"?n-=i:e==="center"&&(n-=i/2),n}function nM(t,e,n){let{y:i,height:s}=t;return e==="top"?i+=n:e==="bottom"?i-=s+n:i-=s/2,i}function qp(t,e,n,i){const{caretSize:s,caretPadding:r,cornerRadius:o}=t,{xAlign:a,yAlign:l}=n,c=s+r,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=Bs(o);let m=tM(e,a);const p=nM(e,l,c);return l==="center"?a==="left"?m+=c:a==="right"&&(m-=c):a==="left"?m-=Math.max(u,f)+s:a==="right"&&(m+=Math.max(d,h)+s),{x:Xt(m,0,i.width-e.width),y:Xt(p,0,i.height-e.height)}}function na(t,e,n){const i=cn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-i.right:t.x+i.left}function Gp(t){return An([],Yn(t))}function iM(t,e,n){return ys(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Kp(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const My={beforeTitle:qn,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex<i)return n[e.dataIndex]}return""},afterTitle:qn,beforeBody:qn,beforeLabel:qn,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Fe(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:qn,afterBody:qn,beforeFooter:qn,footer:qn,afterFooter:qn};function Ft(t,e,n,i){const s=t[e].call(n,i);return typeof s>"u"?My[e].call(n,i):s}class Yp extends $i{static positioners=Mr;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,r=new cy(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=iM(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:i}=n,s=Ft(i,"beforeTitle",this,e),r=Ft(i,"title",this,e),o=Ft(i,"afterTitle",this,e);let a=[];return a=An(a,Yn(s)),a=An(a,Yn(r)),a=An(a,Yn(o)),a}getBeforeBody(e,n){return Gp(Ft(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:i}=n,s=[];return je(e,r=>{const o={before:[],lines:[],after:[]},a=Kp(i,r);An(o.before,Yn(Ft(a,"beforeLabel",this,r))),An(o.lines,Ft(a,"label",this,r)),An(o.after,Yn(Ft(a,"afterLabel",this,r))),s.push(o)}),s}getAfterBody(e,n){return Gp(Ft(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:i}=n,s=Ft(i,"beforeFooter",this,e),r=Ft(i,"footer",this,e),o=Ft(i,"afterFooter",this,e);let a=[];return a=An(a,Yn(s)),a=An(a,Yn(r)),a=An(a,Yn(o)),a}_createItems(e){const n=this._active,i=this.chart.data,s=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;l<c;++l)a.push(X5(this.chart,n[l]));return e.filter&&(a=a.filter((u,d,f)=>e.filter(u,d,f,i))),e.itemSort&&(a=a.sort((u,d)=>e.itemSort(u,d,i))),je(a,u=>{const d=Kp(e.callbacks,u);s.push(Ft(d,"labelColor",this,u)),r.push(Ft(d,"labelPointStyle",this,u)),o.push(Ft(d,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(e,n){const i=this.options.setContext(this.getContext()),s=this._active;let r,o=[];if(!s.length)this.opacity!==0&&(r={opacity:0});else{const a=Mr[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const l=this._size=Up(this,i),c=Object.assign({},a,l),u=Wp(this.chart,i,c),d=qp(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,i,s){const r=this.getCaretPosition(e,i,s);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(e,n,i){const{xAlign:s,yAlign:r}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=Bs(a),{x:f,y:h}=e,{width:m,height:p}=n;let b,_,v,g,w,y;return r==="center"?(w=h+p/2,s==="left"?(b=f,_=b-o,g=w+o,y=w-o):(b=f+m,_=b+o,g=w-o,y=w+o),v=b):(s==="left"?_=f+Math.max(l,u)+o:s==="right"?_=f+m-Math.max(c,d)-o:_=this.caretX,r==="top"?(g=h,w=g-o,b=_-o,v=_+o):(g=h+p,w=g+o,b=_+o,v=_-o),y=g),{x1:b,x2:_,x3:v,y1:g,y2:w,y3:y}}drawTitle(e,n,i){const s=this.title,r=s.length;let o,a,l;if(r){const c=Vs(i.rtl,this.x,this.width);for(e.x=na(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=Tt(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,l=0;l<r;++l)n.fillText(s[l],c.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+a,l+1===r&&(e.y+=i.titleMarginBottom-a)}}_drawColorBox(e,n,i,s,r){const o=this.labelColors[i],a=this.labelPointStyles[i],{boxHeight:l,boxWidth:c}=r,u=Tt(r.bodyFont),d=na(this,"left",r),f=s.x(d),h=l<u.lineHeight?(u.lineHeight-l)/2:0,m=n.y+h;if(r.usePointStyle){const p={radius:Math.min(c,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},b=s.leftForLtr(f,c)+c/2,_=m+l/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,vu(e,p,b,_),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,vu(e,p,b,_)}else{e.lineWidth=Ee(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const p=s.leftForLtr(f,c),b=s.leftForLtr(s.xPlus(f,1),c-2),_=Bs(o.borderRadius);Object.values(_).some(v=>v!==0)?(e.beginPath(),e.fillStyle=r.multiKeyBackground,Ya(e,{x:p,y:m,w:c,h:l,radius:_}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),Ya(e,{x:b,y:m+1,w:c-2,h:l-2,radius:_}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(p,m,c,l),e.strokeRect(p,m,c,l),e.fillStyle=o.backgroundColor,e.fillRect(b,m+1,c-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,n,i){const{body:s}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=Tt(i.bodyFont);let f=d.lineHeight,h=0;const m=Vs(i.rtl,this.x,this.width),p=function(M){n.fillText(M,m.x(e.x+h),e.y+f/2),e.y+=f+r},b=m.textAlign(o);let _,v,g,w,y,T,A;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,e.x=na(this,b,i),n.fillStyle=i.bodyColor,je(this.beforeBody,p),h=a&&b!=="right"?o==="center"?c/2+u:c+2+u:0,w=0,T=s.length;w<T;++w){for(_=s[w],v=this.labelTextColors[w],n.fillStyle=v,je(_.before,p),g=_.lines,a&&g.length&&(this._drawColorBox(n,e,w,m,i),f=Math.max(d.lineHeight,l)),y=0,A=g.length;y<A;++y)p(g[y]),f=d.lineHeight;je(_.after,p)}h=0,f=d.lineHeight,je(this.afterBody,p),e.y-=r}drawFooter(e,n,i){const s=this.footer,r=s.length;let o,a;if(r){const l=Vs(i.rtl,this.x,this.width);for(e.x=na(this,i.footerAlign,i),e.y+=i.footerMarginTop,n.textAlign=l.textAlign(i.footerAlign),n.textBaseline="middle",o=Tt(i.footerFont),n.fillStyle=i.footerColor,n.font=o.string,a=0;a<r;++a)n.fillText(s[a],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+i.footerSpacing}}drawBackground(e,n,i,s){const{xAlign:r,yAlign:o}=this,{x:a,y:l}=e,{width:c,height:u}=i,{topLeft:d,topRight:f,bottomLeft:h,bottomRight:m}=Bs(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(a+d,l),o==="top"&&this.drawCaret(e,n,i,s),n.lineTo(a+c-f,l),n.quadraticCurveTo(a+c,l,a+c,l+f),o==="center"&&r==="right"&&this.drawCaret(e,n,i,s),n.lineTo(a+c,l+u-m),n.quadraticCurveTo(a+c,l+u,a+c-m,l+u),o==="bottom"&&this.drawCaret(e,n,i,s),n.lineTo(a+h,l+u),n.quadraticCurveTo(a,l+u,a,l+u-h),o==="center"&&r==="left"&&this.drawCaret(e,n,i,s),n.lineTo(a,l+d),n.quadraticCurveTo(a,l,a+d,l),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,i=this.$animations,s=i&&i.x,r=i&&i.y;if(s||r){const o=Mr[e.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=Up(this,e),l=Object.assign({},o,this._size),c=Wp(n,e,l),u=qp(e,l,c,n);(s._to!==u.x||r._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=cn(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(r,e,s,n),iy(e,n.textDirection),r.y+=o.top,this.drawTitle(r,e,n),this.drawBody(r,e,n),this.drawFooter(r,e,n),sy(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const i=this._active,s=e.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),r=!qa(i,s),o=this._positionChanged(s,n);(r||o)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,r=this._active||[],o=this._getActiveElements(e,r,n,i),a=this._positionChanged(o,e),l=n||!qa(o,r)||a;return l&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),l}_getActiveElements(e,n,i,s){const r=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const o=this.chart.getElementsAtEventForMode(e,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(e,n){const{caretX:i,caretY:s,options:r}=this,o=Mr[r.position].call(this,e,n);return o!==!1&&(i!==o.x||s!==o.y)}}var sM={id:"tooltip",_element:Yp,positioners:Mr,afterInit(t,e,n){n&&(t.tooltip=new Yp({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:My},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const rM=(t,e,n,i)=>(typeof e=="string"?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function oM(t,e,n,i){const s=t.indexOf(e);if(s===-1)return rM(t,e,n,i);const r=t.lastIndexOf(e);return s!==r?n:s}const aM=(t,e)=>t===null?null:Xt(Math.round(t),0,e);function Zp(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class lM extends ur{static id="category";static defaults={ticks:{callback:Zp}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:r}of n)i[s]===r&&i.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Fe(e))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===e?n:oM(i,e,ke(n,e),this._addedLabels),aM(n,i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const e=this.min,n=this.max,i=this.options.offset,s=[];let r=this.getLabels();r=e===0&&n===r.length-1?r:r.slice(e,n+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let o=e;o<=n;o++)s.push({value:o});return s}getLabelForValue(e){return Zp.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function cM(t,e){const n=[],{bounds:s,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=t,h=r||1,m=u-1,{min:p,max:b}=e,_=!Fe(o),v=!Fe(a),g=!Fe(c),w=(b-p)/(d+1);let y=qh((b-p)/m/h)*h,T,A,M,E;if(y<1e-14&&!_&&!v)return[{value:p},{value:b}];E=Math.ceil(b/y)-Math.floor(p/y),E>m&&(y=qh(E*y/m/h)*h),Fe(l)||(T=Math.pow(10,l),y=Math.ceil(y*T)/T),s==="ticks"?(A=Math.floor(p/y)*y,M=Math.ceil(b/y)*y):(A=p,M=b),_&&v&&r&&mE((a-o)/r,y/1e3)?(E=Math.round(Math.min((a-o)/y,u)),y=(a-o)/E,A=o,M=a):g?(A=_?o:A,M=v?a:M,E=c-1,y=(M-A)/E):(E=(M-A)/y,Br(E,Math.round(E),y/1e3)?E=Math.round(E):E=Math.ceil(E));const R=Math.max(Gh(y),Gh(A));T=Math.pow(10,Fe(l)?R:l),A=Math.round(A*T)/T,M=Math.round(M*T)/T;let j=0;for(_&&(f&&A!==o?(n.push({value:o}),A<o&&j++,Br(Math.round((A+j*y)*T)/T,o,Xp(o,w,t))&&j++):A<o&&j++);j<E;++j){const L=Math.round((A+j*y)*T)/T;if(v&&L>a)break;n.push({value:L})}return v&&f&&M!==a?n.length&&Br(n[n.length-1].value,a,Xp(a,w,t))?n[n.length-1].value=a:n.push({value:a}):(!v||M===a)&&n.push({value:M}),n}function Xp(t,e,{horizontal:n,minRotation:i}){const s=Xi(i),r=(n?Math.sin(s):Math.cos(s))||.001,o=.75*e*(""+t).length;return Math.min(e/r,o)}class uM extends ur{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Fe(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:i}=this.getUserBounds();let{min:s,max:r}=this;const o=l=>s=n?s:l,a=l=>r=i?r:l;if(e){const l=Fn(s),c=Fn(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(s===r){let l=r===0?1:Math.abs(r*.05);a(r+l),e||o(s-l)}this.min=s,this.max=r}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=e,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,o=cM(s,r);return e.bounds==="ticks"&&gE(o,this,"value"),e.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const e=this.ticks;let n=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const s=(i-n)/Math.max(e.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(e){return G_(e,this.chart.options.locale,this.options.ticks.format)}}class dM extends uM{static id="linear";static defaults={ticks:{callback:K_.formatters.numeric}};determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=Et(e)?e:0,this.max=Et(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,i=Xi(this.options.ticks.minRotation),s=(e?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Pl={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Vt=Object.keys(Pl);function Jp(t,e){return t-e}function Qp(t,e){if(Fe(e))return null;const n=t._adapter,{parser:i,round:s,isoWeekday:r}=t._parseOpts;let o=e;return typeof i=="function"&&(o=i(o)),Et(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(s&&(o=s==="week"&&(fo(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,s)),+o)}function em(t,e,n,i){const s=Vt.length;for(let r=Vt.indexOf(t);r<s-1;++r){const o=Pl[Vt[r]],a=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((n-e)/(a*o.size))<=i)return Vt[r]}return Vt[s-1]}function fM(t,e,n,i,s){for(let r=Vt.length-1;r>=Vt.indexOf(n);r--){const o=Vt[r];if(Pl[o].common&&t._adapter.diff(s,i,o)>=e-1)return o}return Vt[n?Vt.indexOf(n):0]}function hM(t){for(let e=Vt.indexOf(t)+1,n=Vt.length;e<n;++e)if(Pl[Vt[e]].common)return Vt[e]}function tm(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:i,hi:s}=Sd(n,e),r=n[i]>=e?n[i]:n[s];t[r]=!0}}function pM(t,e,n,i){const s=t._adapter,r=+s.startOf(e[0].value,i),o=e[e.length-1].value;let a,l;for(a=r;a<=o;a=+s.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function nm(t,e,n){const i=[],s={},r=e.length;let o,a;for(o=0;o<r;++o)a=e[o],s[a]=o,i.push({value:a,major:!1});return r===0||!n?i:pM(t,i,s,n)}class im extends ur{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const i=e.time||(e.time={}),s=this._adapter=new J4._date(e.adapters.date);s.init(n),jr(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:Qp(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,i=e.time.unit||"day";let{min:s,max:r,minDefined:o,maxDefined:a}=this.getUserBounds();function l(c){!o&&!isNaN(c.min)&&(s=Math.min(s,c.min)),!a&&!isNaN(c.max)&&(r=Math.max(r,c.max))}(!o||!a)&&(l(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&l(this.getMinMax(!1))),s=Et(s)&&!isNaN(s)?s:+n.startOf(Date.now(),i),r=Et(r)&&!isNaN(r)?r:+n.endOf(Date.now(),i)+1,this.min=Math.min(s,r-1),this.max=Math.max(s+1,r)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],i=e[e.length-1]),{min:n,max:i}}buildTicks(){const e=this.options,n=e.time,i=e.ticks,s=i.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const r=this.min,o=this.max,a=xE(s,r,o);return this._unit=n.unit||(i.autoSkip?em(n.minUnit,this.min,this.max,this._getLabelCapacity(r)):fM(this,a.length,n.minUnit,this.min,this.max)),this._majorUnit=!i.major.enabled||this._unit==="year"?void 0:hM(this._unit),this.initOffsets(s),e.reverse&&a.reverse(),nm(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,i=0,s,r;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,r=this.getDecimalForValue(e[e.length-1]),e.length===1?i=r:i=(r-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=Xt(n,0,o),i=Xt(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const e=this._adapter,n=this.min,i=this.max,s=this.options,r=s.time,o=r.unit||em(r.minUnit,n,i,this._getLabelCapacity(n)),a=ke(s.ticks.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=fo(l)||l===!0,u={};let d=n,f,h;if(c&&(d=+e.startOf(d,"isoWeek",l)),d=+e.startOf(d,c?"day":o),e.diff(i,n,o)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+o);const m=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;f<i;f=+e.add(f,a,o),h++)tm(u,f,m);return(f===i||s.bounds==="ticks"||h===1)&&tm(u,f,m),Object.keys(u).sort(Jp).map(p=>+p)}getLabelForValue(e){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(e,i.tooltipFormat):n.format(e,i.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,r=this._unit,o=n||s[r];return this._adapter.format(e,o)}_tickFormatFunction(e,n,i,s){const r=this.options,o=r.ticks.callback;if(o)return Ke(o,[e,n,i],this);const a=r.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],d=c&&a[c],f=i[n],h=c&&d&&f&&f.major;return this._adapter.format(e,s||(h?d:u))}generateTickLabels(e){let n,i,s;for(n=0,i=e.length;n<i;++n)s=e[n],s.label=this._tickFormatFunction(s.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+i)*n.factor)}getValueForPixel(e){const n=this._offsets,i=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,i=this.ctx.measureText(e).width,s=Xi(this.isHorizontal()?n.maxRotation:n.minRotation),r=Math.cos(s),o=Math.sin(s),a=this._resolveTickFontOptions(0).size;return{w:i*r+a*o,h:i*o+a*r}}_getLabelCapacity(e){const n=this.options.time,i=n.displayFormats,s=i[n.unit]||i.millisecond,r=this._tick
9FormatFunction(e,0,nm(this,[e],this._majorUnit),s),o=this._getLabelSize(r),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let e=this._cache.data||[],n,i;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n<i;++n)e=e.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,i;if(e.length)return e;const s=this.getLabels();for(n=0,i=s.length;n<i;++n)e.push(Qp(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return U_(e.sort(Jp))}}function ia(t,e,n){let i=0,s=t.length-1,r,o,a,l;n?(e>=t[i].pos&&e<=t[s].pos&&({lo:i,hi:s}=Ji(t,"pos",e)),{pos:r,time:a}=t[i],{pos:o,time:l}=t[s]):(e>=t[i].time&&e<=t[s].time&&({lo:i,hi:s}=Ji(t,"time",e)),{time:r,pos:a}=t[i],{time:o,pos:l}=t[s]);const c=o-r;return c?a+(l-a)*(e-r)/c:a}class w6 extends im{static id="timeseries";static defaults=im.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=ia(n,this.min),this._tableRange=ia(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:i}=this,s=[],r=[];let o,a,l,c,u;for(o=0,a=e.length;o<a;++o)c=e[o],c>=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o<a;++o)u=s[o+1],l=s[o-1],c=s[o],Math.round((u+l)/2)!==c&&r.push({time:c,pos:o/(a-1)});return r}_generate(){const e=this.min,n=this.max;let i=super.getDataTimestamps();return(!i.includes(e)||!i.length)&&i.splice(0,0,e),(!i.includes(n)||i.length===1)&&i.push(n),i.sort((s,r)=>s-r)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),i=this.getLabelTimestamps();return n.length&&i.length?e=this.normalize(n.concat(i)):e=n.length?n:i,e=this._cache.all=e,e}getDecimalForValue(e){return(ia(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,i=this.getDecimalForPixel(e)/n.factor-n.end;return ia(this._table,i*this._tableRange+this._minPos,!0)}}const mM=Ge(()=>{wy.register(lM,dM,g5,El,x5,Z5,sM,K5,V5)}),gM=Ge(()=>{const t=qe().public.clarityId;t&&fi({script:[{type:"text/plain","data-cookieconsent":"statistics",innerHTML:["(function(c,l,a,r,i,t,y){","c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};",'t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;',"y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);",`})(window, document, 'clarity', 'script', '${t}');`].join(` 10`)}]})}),_M=Ge(()=>{const{cookiebotId:t}=qe().public;t&&(fi({link:[{rel:"preconnect",href:"https://consent.cookiebot.com",key:"preconnect-cookiebot"}]}),ko(()=>{if(document.getElementById("Cookiebot"))return;const e=document.createElement("script");e.id="Cookiebot",e.src="https://consent.cookiebot.com/uc.js",e.async=!0,e.type="text/javascript",e.setAttribute("data-cbid",t),document.head.appendChild(e)}))}),yM=Ge(()=>{const{gaId:t,ga4Id:e}=qe().public,n=[t,e].filter(i=>!!i);n.length&&fi({script:[{src:`https://www.googletagmanager.com/gtag/js?id=${n[0]}`,async:!0,type:"text/plain","data-cookieconsent":"statistics"},{type:"text/plain","data-cookieconsent":"statistics",innerHTML:["window.dataLayer = window.dataLayer || [];","function gtag(){dataLayer.push(arguments);}","gtag('js', new Date());",...n.map(i=>`gtag('config', '${i}');`)].join(` 11`)}]})}),bM=Ge(()=>{const t=qe().public.gtmId;t&&fi({script:[{key:"gtm",tagPriority:"critical",innerHTML:`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
11j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${t}');`}],noscript:[{key:"gtm-noscript",tagPosition:"bodyOpen",innerHTML:`<iframe src="https://www.googletagmanager.com/ns.html?id=${t}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`}]})});function xr(t){if(typeof document>"u")return;const e=t.replace(/[.$?*|{}()[\]\\/+^]/g,"\\$&"),n=document.cookie.match(new RegExp(`(?:^|; )${e}=([^;]*)`));return n?decodeURIComponent(n[1]):void 0}const vM="_ga_0SW071NET8",Py="guidy_ir_clickid";function wM(t){const e=xr("_fbp"),n=xr("_fbc")??(t?`fb.1.${Date.now()}.${t}`:void 0),i=xr("_ga"),s=xr(vM),r=xr(Py);return{...e?{fbp:e}:{},...n?{fbc:n}:{},...i?{ga:i}:{},...s?{gaSession:s}:{},...r?{irClickId:r}:{}}}function xM(t){const e={};for(const[n,i]of Object.entries(t))typeof i=="string"&&i&&(e[n]=i);return e}const kM=globalThis.setInterval,SM=["CookiebotOnTagsExecuted","CookiebotOnAccept","CookiebotOnConsentReady"],TM=20,AM=250,CM=15e3,Qi=[];let Ur=null,sm=!1;function Iy(){Ur!==null&&(clearInterval(Ur),Ur=null)}function rm(){const t=Qi.splice(0,Qi.length);for(const e of t)e()||Qi.push(e);Qi.length===0&&Iy()}function Oy(t){if(Qi.length>=TM&&Qi.shift(),Qi.push(t),!sm){sm=!0;for(const n of SM)window.addEventListener(n,rm)}if(Ur!==null)return;const e=Date.now();Ur=kM(()=>{rm(),Date.now()-e>=CM&&Iy()},AM)}function Il(t,e){const n=()=>typeof window.gtag!="function"?!1:(window.gtag("event",t,e),!0);n()||Oy(n)}function Ol(t,e,n,i){const s=()=>typeof window.fbq!="function"?!1:(window.fbq(t,e,n,i),!0);s()||Oy(s)}function EM({transactionId:t,value:e,currency:n}){Il("purchase",{transaction_id:t,value:e,currency:n}),Ol("track","Purchase",{value:e,currency:n},{eventID:w_(t)})}function MM(){Il("begin_checkout"),Ol("track","InitiateCheckout")}function x6(){Il("free_download"),Ol("trackCustom","free_download")}function PM(){Il("page_view",{page_location:window.location.href,page_title:document.title}),Ol("track","PageView")}async function IM(t){if(typeof crypto?.subtle?.digest!="function")return;const e=await crypto.subtle.digest("SHA-1",new TextEncoder().encode(t));return Array.from(new Uint8Array(e),n=>n.toString(16).padStart(2,"0")).join("")}let om=null;async function OM(t){const e=t?.trim().toLowerCase(),n=e?await IM(e)??"":"";om!==n&&typeof window.ire=="function"&&(om=n,window.ire("identify",{customerId:"",customerEmail:n}))}const RM=3600*24*30,DM=128,LM=["irclickid","im_ref"],NM=Ge(t=>{const{impactUttId:e}=qe().public;if(!e)return;fi({script:[{key:"impact-utt",tagPriority:"critical",innerHTML:`(function(a,b,c,d,e,f,g){e['ire_o']=c;e[c]=e[c]||function(){(e[c].a=e[c].a||[]).push(arguments)};f=d.createElement(b);g=d.getElementsByTagName(b)[0];f.async=1;f.src=a;g.parentNode.insertBefore(f,g);})('https://utt.impactcdn.com/${e}.js','script','ire',document,window);`}]});const n=hC(),i=er(Py,{maxAge:RM,path:"/",sameSite:"lax",secure:n.protocol==="https:"});function s(a){const l=LM.map(u=>a[u]).find(u=>typeof u=="string"&&u);if(typeof l!="string")return;const c=l.trim().slice(0,DM);!c||i.value===c||(i.value=c)}s(Object.fromEntries(n.searchParams)),vt().afterEach(a=>s(a.query));const r=tn(),o=()=>{OM(r.user.value?.email)};Ut(r.user,o,{immediate:!0}),t.hook("page:finish",o)}),$M=Ge(t=>{t.vueApp.directive("lazy-video",{mounted(e,n){const i=n.value;if(!i)return;const s=()=>{e.src||(e.src=i,e.load?.())};if(!("IntersectionObserver"in window)){s();return}const r=new IntersectionObserver(o=>{o.forEach(a=>{a.isIntersecting&&(s(),r.unobserve(e),r.disconnect())})},{rootMargin:"200px",threshold:0});r.observe(e),e.__lazyVideoObserver=r},unmounted(e){e.__lazyVideoObserver?.disconnect(),e.__lazyVideoObserver=void 0},getSSRProps(){return{}}})}),FM=Ge(()=>{const t=qe().public.linkedinPartnerId;t&&fi({script:[{type:"text/plain","data-cookieconsent":"marketing",innerHTML:[`_linkedin_partner_id = "${t}";`,"window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];","window._linkedin_data_partner_ids.push(_linkedin_partner_id);","(function(l) {","if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};","window.lintrk.q=[]}",'var s = document.getElementsByTagName("script")[0];','var b = document.createElement("script");','b.type = "text/javascript";b.async = true;','b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";',"s.parentNode.insertBefore(b, s);})(window.lintrk);"].join(` 12`)}],noscript:[{innerHTML:`<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=${t}&fmt=gif" />`}]})}),HM=Ge(()=>{const t=qe().public.metaPixelId;t&&fi({script:[{type:"text/plain","data-cookieconsent":"marketing",innerHTML:["!function(f,b,e,v,n,t,s)","{if(f.fbq)return;n=f.fbq=function(){n.callMethod?","n.callMethod.apply(n,arguments):n.queue.push(arguments)};","if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';","n.queue=[];t=b.createElement(e);t.async=!0;","t.src=v;s=b.getElementsByTagName(e)[0];","s.parentNode.insertBefore(t,s)}(window,document,'script',","'https://connect.facebook.net/en_US/fbevents.js');",`fbq('init', '${t}');`,"fbq('track', 'PageView');"].join(` 13`)}],noscript:[{innerHTML:`<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=${t}&ev=PageView&noscript=1" />`}]})}),jM="(max-width: 1023px)";function BM(t){const e=window.matchMedia(jM).matches&&t.dataset.animationDelayMobile!==void 0?t.dataset.animationDelayMobile:t.dataset.animationDelay;return e?parseInt(e):0}const VM=Ge(t=>{t.hook("app:mounted",()=>{const e=new IntersectionObserver(s=>
13{s.forEach(r=>{if(!r.isIntersecting)return;const o=r.target,a=BM(o),l=()=>o.classList.add("animated");a>0?setTimeout(l,a):l(),e.unobserve(o)})},{threshold:.2}),n=s=>{s.querySelectorAll("[data-animation]").forEach(r=>{r.classList.contains("animated")||e.observe(r)})};n(document.body),new MutationObserver(s=>{s.forEach(({addedNodes:r})=>{r.forEach(o=>{o instanceof Element&&(o.hasAttribute("data-animation")&&e.observe(o),n(o))})})}).observe(document.body,{childList:!0,subtree:!0})})}),am="guidy:scroll-position";function lm(){return window.location.pathname+window.location.search}const zM=Ge(t=>{const e=()=>{try{const n={path:lm(),y:window.scrollY};sessionStorage.setItem(am,JSON.stringify(n))}catch{}};window.addEventListener("pagehide",e),window.addEventListener("beforeunload",e),t.hook("app:mounted",()=>{try{const n=sessionStorage.getItem(am);if(!n)return;const{path:i,y:s}=JSON.parse(n);if(i!==lm()||typeof s!="number")return;requestAnimationFrame(()=>{window.scrollTo({top:s,left:0,behavior:"instant"})})}catch{}})});class Dd extends Error{method;path;constructor(e,n,i,s){super(e,s),this.method=n,this.path=i,this.name="SdkError"}}class UM extends Dd{constructor(e,n,i){super("Network error",e,n,{cause:i}),this.name="NetworkError"}}class wc extends Dd{status;body;code;constructor(e,n,i,s){const r=s;super(r?.message??`HTTP ${i}`,e,n,{cause:s}),this.status=i,this.body=s,this.name="ApiError",this.code=r?.code}}class Tu extends Dd{code;constructor(e,n){super("Unauthorized",e,n),this.name="UnauthorizedError"}}class WM{config;baseUrl;constructor(e){this.config=e,this.baseUrl=e.baseUrl}async fetchRaw(e,n={},i={}){const s=this.config.auth,r=(n.method??"GET").toUpperCase(),o=i.isRetry===!0,a=i.json!==!1;!o&&s?.shouldRefresh?.()&&s.refreshToken&&await s.refreshToken().catch(()=>{});const l=s?.getToken?.(),c=new Headers(n.headers),u=this.config.getHeaders?.();if(u)for(const[f,h]of Object.entries(u))c.set(f,h);a&&c.set("Content-Type","application/json"),l&&c.set("Authorization",`Bearer ${l}`);let d;try{d=await fetch(`${this.config.baseUrl}${e}`,{...n,headers:c,credentials:this.config.credentials})}catch(f){throw new UM(r,e,f)}if(d.status===401&&!o&&s?.refreshToken){if(await s.refreshToken())return this.fetchRaw(e,n,{isRetry:!0,json:a});throw s.onUnauthorized?.(),new Tu(r,e)}if(d.status===401)throw s?.onUnauthorized?.(),new Tu(r,e);return d}async request(e,n={}){const i=(n.method??"GET").toUpperCase(),s=await this.fetchRaw(e,n);if(!s.ok){const r=await ic(s);throw new wc(i,e,s.status,r)}if(s.status!==204)return s.json()}async streamFetch(e,n){return this.fetchRaw(e,{headers:{Accept:"text/event-stream"},signal:n},{json:!1})}async streamPost(e,n,i,s="*/*"){const r=await this.fetchRaw(e,{method:"POST",headers:{Accept:s},signal:i,body:JSON.stringify(n)});if(!r.ok){const o=await ic(r);throw new wc("POST",e,r.status,o)}return r}get(e){return this.request(e,{method:"GET"})}post(e,n){return this.request(e,{method:"POST",body:JSON.stringify(n)})}async postBinary(e,n,i,s){const r=await this.fetchRaw(e,{method:"POST",headers:{"Content-Type":i},body:n,signal:s},{json:!1});if(!r.ok){const o=await ic(r);throw new wc("POST",e,r.status,o)}if(r.status!==204)return r.json()}patch(e,n){return this.request(e,{method:"PATCH",body:JSON.stringify(n)})}put(e,n){return this.request(e,{method:"PUT",body:JSON.stringify(n)})}delete(e){return this.request(e,{method:"DELETE"})}}class qM{http;constructor(e){this.http=e}signup(e){return this.http.post("/auth/signup",e)}login(e){return this.http.post("/auth/login",e)}social(e){return this.http.post("/auth/social",e)}checkoutEmailCheck(e){return this.http.post("/auth/checkout-email-check",e)}checkoutSession(e){return this.http.post("/auth/checkout-session",e)}refresh(e){return this.http.post("/auth/refresh",e)}exchangeCode(e){return this.http.post("/auth/token",e)}authorize(){return this.http.post("/auth/authorize",{})}me(){return this.http.get("/auth/me")}logout(e){return this.http.post("/auth/logout",e?{refreshToken:e}:{})}verifyEmail(e){return this.http.post("/auth/verify-email",e)}resendVerification(){return this.http.post("/auth/resend-verification",{})}sendMagicLink(e){return this.http.post("/auth/magic-link",e)}consumeMagicLink(e){return this.http.post("/auth/magic-link/consume",e)}forgotPassword(e){return this.http.post("/auth/forgot-password",e)}resetPassword(e){return this.http.post("/auth/reset-password",e)}updateSettings(e){return this.http.patch("/auth/me",e)}
13recordSessionStart(e){return this.http.post("/auth/me/session-start",e)}recordSessionEnd(e){return this.http.post("/auth/me/session-end",e)}recordSessionHeartbeat(e){return this.http.post("/auth/me/session-heartbeat",e)}updateProfile(e){return this.http.patch("/auth/me/profile",e)}changePassword(e){return this.http.patch("/auth/me/password",e)}deleteAccount(){return this.http.delete("/auth/me")}uploadAvatar(e){return this.http.postBinary("/auth/me/avatar",e,TS)}deleteAvatar(){return this.http.delete("/auth/me/avatar")}submitOnboarding(e){return this.http.post("/auth/onboarding",e)}}class GM{http;constructor(e){this.http=e}get(){return this.http.get("/transaction")}getActive(){return this.http.get("/transaction/active")}getAll(e=1){return this.http.get(`/transaction/all?page=${e}`)}create(e){return this.http.post("/transaction",e)}getCustomerAuthToken(){return this.http.get("/transaction/customer-auth-token")}getCustomerPortalUrls(){return this.http.get("/transaction/customer-portal-urls")}getInvoiceUrl(e){return this.http.get(`/transaction/${e}/invoice-url`)}}class KM{http;constructor(e){this.http=e}send(e){return this.http.post("/feedback",e)}}class YM{http;constructor(e){this.http=e}listChats(e){const n=new URLSearchParams;e?.limit!==void 0&&n.set("limit",String(e.limit)),e?.cursor!==void 0&&n.set("cursor",e.cursor),e?.scope!==void 0&&n.set("scope",e.scope),e?.folderId!==void 0&&n.set("folderId",String(e.folderId));const i=n.toString();return this.http.get(`/chat${i?`?${i}`:""}`)}createChat(e){return this.http.post("/chat",e)}getChat(e){return this.http.get(`/chat/${e}`)}updateChat(e,n){return this.http.patch(`/chat/${e}`,n)}createFolder(e){return this.http.post("/chat/folders",e)}updateFolder(e,n){return this.http.patch(`/chat/folders/${e}`,n)}deleteFolder(e){return this.http.delete(`/chat/folders/${e}`)}deleteChat(e){return this.http.delete(`/chat/${e}`)}deleteChats(e){return this.http.post("/chat/bulk-delete",e)}sendMessage(e,n){return this.http.post(`/chat/${e}/messages`,n)}completeTask(e,n={}){return this.http.post(`/chat/${e}/complete`,n)}submitTaskFeedback(e,n){return this.http.post(`/chat/${e}/task-feedback`,n)}locate(e){return this.http.post("/chat/locate",e)}inspectRegion(e){return this.http.post("/chat/inspect-region",e)}}class ZM{http;constructor(e){this.http=e}transcribe(e,n){return this.http.postBinary("/voice/transcribe",e,e.type||"audio/webm",n)}speech(e,n){return this.http.streamPost("/voice/speech",e,n,"audio/pcm")}}const XM=3e3;class JM{http;constructor(e){this.http=e}stream(e){let n=!1,i=null;const s=async()=>{if(!n){i=new AbortController;try{const r=await this.http.streamFetch("/credits/stream",i.signal);if(!r.body)throw new Error("No response body");const o=r.body.getReader(),a=new TextDecoder;let l="";for(;!n;){const{done:c,value:u}=await o.read();if(c)break;l+=a.decode(u,{stream:!0});const d=l.split(` 14`);l=d.pop()??"";for(const f of d)if(f.startsWith("data: "))try{e(JSON.parse(f.slice(6)))}catch{}}}catch(r){if(r instanceof Tu)return}n||(await new Promise(r=>setTimeout(r,XM)),s())}};return s(),()=>{n=!0,i?.abort()}}}class QM{http;constructor(e){this.http=e}getActive(){return this.http.get("/subscriptions/active")}cancel(){return this.http.post("/subscriptions/cancel",{})}resume(){return this.http.post("/subscriptions/resume",{})}}class eP{http;constructor(e){this.http=e}subscribe(e){return this.http.post("/notify/subscribe",e)}subscribeNewsletter(e){return this.http.post("/notify/newsletter",e)}}class tP{http;constructor(e){this.http=e}send(e){return this.http.post("/contact",e)}}class nP{http;constructor(e){this.http=e}getAll(e=1,n){const i=n?`&type=${encodeURIComponent(n)}`:"";return this.http.get(`/blog/all?page=${e}${i}`)}getBySlug(e){return this.http.get(`/blog/${encodeURIComponent(e)}`)}getRelatedByUseCase(e){return this.http.get(`/blog/related/${encodeURIComponent(e)}`)}getAdminAll(e={}){const n=new URLSearchParams;e.page&&e.page>1&&n.set("page",String(e.page)),e.status!==void 0&&n.set("status",String(e.status)),e.search&&n.set("search",e.search),e.useCase&&n.set("useCase",e.useCase),e.sortBy&&n.set("sortBy",e.sortBy),e.sortDir&&n.set("sortDir",e.sortDir);const i=n.toString()?`?${n}`:"";return this.http.get(`/blog/admin/all${i}`)}
14updateStatus(e,n){return this.http.patch(`/blog/admin/${e}/status`,{status:n})}getAdminById(e){return this.http.get(`/blog/admin/${e}`)}createArticle(e){return this.http.post("/blog/admin",e)}updateArticle(e,n){return this.http.patch(`/blog/admin/${e}`,n)}commitLiveArticle(e,n){return this.http.put(`/blog/admin/${e}/live`,n)}deleteArticle(e){return this.http.delete(`/blog/admin/${e}`)}uploadImage(e,n){const i=new URLSearchParams({filename:e});return this.http.postBinary(`/blog/admin/images?${i}`,n,"image/webp")}createVideoUploadUrl(e){return this.http.post("/blog/admin/videos/upload-url",e)}}class iP{http;constructor(e){this.http=e}recordEvent(e){return this.http.post("/app-launches/events",e)}}class sP{http;constructor(e){this.http=e}recordEvent(e){return this.http.post("/setup-steps/events",e)}}class rP{http;constructor(e){this.http=e}recordEvent(e){return this.http.post("/downloads/events",e)}}class oP{http;constructor(e){this.http=e}recordEvent(e){return this.http.post("/interactions/events",e)}}class aP{http;constructor(e){this.http=e}recordEvent(e){return this.http.post("/mode-switches/events",e)}}class lP{http;constructor(e){this.http=e}recordInactivityPeriod(e){return this.http.post("/metrics/inactivity-periods",e)}recordUiaSnapshot(e){return this.http.post("/metrics/uia-snapshots",e)}recordUiaSearch(e){return this.http.post("/metrics/uia-searches",e)}recordCuaFallback(e){return this.http.post("/metrics/cua-fallbacks",e)}recordAutoAdvance(e){return this.http.post("/metrics/auto-advance-events",e)}getDashboard(e){const n=new URLSearchParams(e).toString();return this.http.get(`/metrics/dashboard?${n}`)}getActivationFunnel(e){const n=new URLSearchParams(e).toString();return this.http.get(`/metrics/activation-funnel?${n}`)}getConversion(e){const n=new URLSearchParams(e).toString();return this.http.get(`/metrics/conversion?${n}`)}}class cP{http;constructor(e){this.http=e}record(e){return this.http.post("/web-events",e)}getDashboard(e){const n=new URLSearchParams(e).toString();return this.http.get(`/web-events/dashboard?${n}`)}getFunnel(e){const n=new URLSearchParams(e).toString();return this.http.get(`/web-events/funnel?${n}`)}getDownloadPath(e){const n=new URLSearchParams(e).toString();return this.http.get(`/web-events/download-path?${n}`)}getExperiments(){return this.http.get("/web-events/experiments")}getExperimentStats(e){const n=new URLSearchParams({from:e.from,to:e.to,granularity:e.granularity,key:e.key}).toString();return this.http.get(`/web-events/experiment-stats?${n}`)}getPageEngagement(e){const n=new URLSearchParams({from:e.from,to:e.to,granularity:e.granularity,...e.path!==void 0?{path:e.path}:{}}).toString();return this.http.get(`/web-events/page-engagement?${n}`)}}class uP{http;constructor(e){this.http=e}uploadRuntimeLog(e){return this.http.post("/diagnostics/runtime-log",e)}}function dP(t){const e=new WM(t);return{auth:new qM(e),appLaunches:new iP(e),setupSteps:new sP(e),transaction:new GM(e),subscription:new QM(e),feedback:new KM(e),chat:new YM(e),credits:new JM(e),notify:new eP(e),contact:new tP(e),blog:new nP(e),downloads:new rP(e),interactions:new oP(e),modeSwitches:new aP(e),metrics:new lP(e),diagnostics:new uP(e),voice:new ZM(e),webEvents:new cP(e)}}const fP=6e4,hP=Ge({name:"sdk",setup(){const t=qe(),e=t.public.apiUrl,n=null;let i=null;const s=(h,m)=>{const p=new Map;for(const b of(h??"").split(";")){const[_,...v]=b.trim().split("=");_&&p.set(_,v.join("="))}for(const b of m){const _=b.split(";")[0]??"",[v,...g]=_.split("=");v&&p.set(v.trim(),g.join("="))}return[...p].map(([b,_])=>`${b}=${_}`).join("; ")},r=t.public.cookieSuffix,o=er(`at_expires_at${r}`),a=er(`refresh_token${r}`);let l=null;const c=async()=>{const h={"Content-Type":"application/json"};try{return(await fetch(`${e}/auth/refresh`,{method:"POST",headers:h,credentials:"include"})).ok}catch{return!1}};return{provide:{sdk:dP({baseUrl:e,credentials:"include",getHeaders:()=>({}),auth:{refreshToken:()=>(l||(l=c().finally(()=>{l=null})),l.then(h=>h?"ok":null)),shouldRefresh:()=>{const h=o.value;if(!h&&!a.value)return!1;if(!h&&a.value)return!0;const m=Number(h);return Number.isFinite(m)?Date.now()+fP>=m:!1},onUnauthorized:()=>{}}})}}}}),pP=Ge(t=>{let e=!0;t.hook("page:finish",()=>{if(e){e=!1;return}requestAnimationFrame(()=>PM())})}),mP=1e3,gP=20,_P=50,yP="/web-events",Au="guidy_visitor_id",cm="guidy_session_id",Wr=[];let qr=null,Gr=null,xc=null;function Ry(t,e){try{return t.getItem(e)}catch{return null}}function Ld(t,e,n){try{t.setItem(e,n)}catch{}}function bP(){if(Gr)return Gr;const t=Ry(localStorage,Au),e=t??crypto.randomUUID();return t||Ld(localStorage,Au,e),Gr=e,e}
14function vP(){if(xc)return xc;const t=Ry(sessionStorage,cm),e=t??crypto.randomUUID();return t||Ld(sessionStorage,cm,e),xc=e,e}function kc(){if(Wr.length===0)return null;const t=Wr.splice(0,_P);return{visitorId:bP(),sessionId:vP(),events:t}}function um(){qr!==null&&(clearTimeout(qr),qr=null)}function wP(){const{$sdk:t}=He(),{public:{apiUrl:e}}=qe();async function n(){um();const o=kc();if(o){try{const{visitorId:a}=await t.webEvents.record(o);a&&a!==Gr&&(Gr=a,Ld(localStorage,Au,a))}catch{}Wr.length>0&&i()}}function i(){if(Wr.length>=gP){n();return}qr===null&&(qr=setTimeout(()=>{n()},mP))}function s(o){Wr.push({...o,clientEventId:crypto.randomUUID(),occurredAt:new Date().toISOString()}),i()}function r(){const o=()=>{um();for(let a=kc();a!==null;a=kc()){const l=new Blob([JSON.stringify(a)],{type:"application/json"});navigator.sendBeacon(`${e}${yP}`,l)}};window.addEventListener("pagehide",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&o()})}return{track:s,flush:n,flushOnUnload:r}}function xP(t){let e=null,n=null,i=0;return{start(s,r){e=s,i=0,n=s!==null&&r?t():null},resume(){e===null||n!==null||(n=t())},close(){n!==null&&(i+=t()-n,n=null);const s=Math.round(i);return i=0,e===null||s<=0?null:{path:e,durationMs:s}}}}const Dy="[data-track-ignore]",Ly="[data-track]",kP=new Set(["data-track","data-track-ignore","data-track-label","data-track-section"]),SP=20,TP=200,Ny=["a[href]","button",'input[type="submit"]','input[type="button"]','[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[role="switch"]','[role="checkbox"]','[role="radio"]'].join(", "),AP=new Set(["submit","button"]),Ja=120,vi=120,Sc=120,CP=512,EP=/[^\s]+@[^\s]+\.[^\s]+/g,MP=/(?:\+?\d[\d\s().-]{6,}\d)/g;function PP(t){return t.replace(EP,"[redacted]").replace(MP,"[redacted]")}function ha(t){return t.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Bt(t,e){if(!t)return;const n=PP(t.replace(/\s+/g," ").trim());if(n)return n.slice(0,e)}function IP(t){if(t){if(t.startsWith("mailto:")||t.startsWith("tel:"))return t.split(":")[0]+":[redacted]";try{const e=new URL(t,window.location.origin);return e.protocol!=="http:"&&e.protocol!=="https:"?void 0:(e.origin===window.location.origin?e.pathname:`${e.origin}${e.pathname}`).slice(0,CP)||void 0}catch{return}}}function $y(t){const e=t.tagName;if(e==="TEXTAREA"||e==="SELECT")return!0;if(e!=="INPUT")return!1;const n=t.type?.toLowerCase()??"";return!AP.has(n)}function OP(t){const e=t.getAttribute("data-track-label");if(e)return Bt(e,vi);const n=t.getAttribute("aria-label");if(n)return Bt(n,vi);if(t.tagName==="INPUT")return Bt(t.value,vi);const i=Bt(t.textContent,vi);if(i)return i;const s=t.getAttribute("title");if(s)return Bt(s,vi);const r=t.querySelector("img[alt]")?.getAttribute("alt");if(r)return Bt(r,vi)}function RP(t){const e=t.tagName;if(e==="A")return"link";if(e==="BUTTON"||e==="INPUT")return"button";const n=t.getAttribute("role");return n==="link"?"link":n?"button":"other"}function Fy(t,e,n,i,s){const r=e?ha(e):"";if(r){const a=i?ha(i):"";return(a?`${a}:${r}`:r).slice(0,Ja)}const o=n?ha(n):"";return o?`${s}:${o}`.slice(0,Ja):t.tagName.toLowerCase()}function Hy(t){const e=t.closest("[data-track-section]")?.getAttribute("data-track-section");if(e)return Bt(e,Sc);const n=t.closest("[data-section]");if(n){const r=n.getAttribute("data-section");if(r)return Bt(r,Sc)}const i=t.closest("header, nav, main, footer, section, aside");if(!i)return;const s=i.getAttribute("aria-label")||i.id;return s?Bt(ha(s),Sc):i.tagName.toLowerCase()}function DP(t){return t.slice(11).replace(/-([a-z0-9])/g,(e,n)=>n.toUpperCase())}function jy(t){const e={};for(const n of Array.from(t.attributes)){if(!n.name.startsWith("data-track-")||kP.has(n.name))continue;if(Object.keys(e).length>=SP)break;const i=DP(n.name),s=Bt(n.value,TP);i&&s!==void 0&&(e[i]=s)}return Object.keys(e).length>0?e:void 0}function LP(t){const e=t.tagName==="A"?IP(t.getAttribute("href")):void 0,n=$y(t)?void 0:OP(t),i=RP(t),s=Hy(t),r=jy(t);return{name:Fy(t,n,e,s,i),elementType:i,...n!==void 0?{elementText:n}:{},...e!==void 0?{href:e}:{},...s!==void 0?{section:s}:{},...r!==void 0?{props:r}:{}}}const NP=`${Ly}, ${Ny}`;function By(t){if(!t||t.closest(Dy))return null;const e=t.closest(Ly);if(e)return e;const n=t.closest(Ny);return!n||$y(n)?null:n}function $P(t){const e=t.currentSrc||t.getAttribute("src")||"";if(e)try{const{pathname:n}=new URL(e,window.location.origin),i=n.split("/").pop()??"";return Bt(i.replace(/\.[a-z0-9]+$/i,""),vi)}catch{return}}function FP(t){const e=t.getAttribute("data-track-label")||t.getAttribute("aria-label")||t.getAttribute("alt");return e?Bt(e,vi):$P(t)}function HP(t){if(!t||t.closest(Dy)||t.hasAttribute("autoplay"))return null;const e=FP(t),n=Hy(t),i=jy(t);return{name:Bt(t.getAttribute("data-track"),Ja)??Fy(t,e,void 0,n,"other"),elementType:"other",...e!==void 0?{elementText:e}:{},...n!==void 0?{section:n}:{},...i!==void 0?{props:i}:{}}}function Vy(t){const e=By(t);if(!e)return null;const n=LP(e),i=e.getAttribute("data-track");return i?{...n,name:Bt(i,Ja)??n.name}:n}const jP=["/metrics/"],BP=jP.flatMap(t=>[t,t.replace(/\/$/,"")]);function sa(){return BP.includes(window.location.pathname)}function VP(t){const e=t.replace(/\/+$/,"");return e===""?"/":`${e}/`}const zP=Ge({name:"webtracking",dependsOn:["sdk","experiments"],setup(t){const{trackingEnabled:e}=qe().public;if(!e)return;const{track:n,flushOnUnload:i}=wP(),s=tn();function r(){sa()||n({type:"page_view",name:"page_view",path:window.location.pathname,title:document.title,...document.referrer?{referrer:document.referrer}:{}})}const o=N_(),a=CC(),l=new Set;function c(){if(a.value)return;const b=VP(window.location.pathname);for(const _ of __)l.has(_)||bd(_).paths.includes(b)&&(l.add(_),n({type:"experiment_exposure",name:_,path:window.location.pathname,props:{[iA]:_,[sA]:o.value[_]??y_(_)}}))}const u=xP(()=>performance.now());function d(){const b=u.close();b&&n({type:"page_exit",name:"page_exit",path:b.path,durationMs:b.durationMs})}function f(){u.start(sa()?null:window.location.pathname,document.visibilityState==="visible")}document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?d():u.resume()}),window.addEventListener("pagehide",d),i();function h(){d(),r(),c(),f()}let m=!0;requestAnimationFrame(h),t.hook("page:finish",()=>{if(m){m=!1;return}requestAnimationFrame(h)}),document.addEventListener("click",b=>{if(sa())return;const _=Vy(b.target);
14_&&n({type:"click",name:_.name,elementType:_.elementType,path:window.location.pathname,..._.elementText!==void 0?{elementText:_.elementText}:{},..._.href!==void 0?{href:_.href}:{},..._.section!==void 0?{section:_.section}:{},..._.props!==void 0?{props:_.props}:{}})},{capture:!0});const p=new WeakSet;document.addEventListener("play",b=>{if(sa())return;const _=b.target;if(!_||p.has(_))return;const v=HP(_);v&&(p.add(_),n({type:"video_play",name:v.name,elementType:v.elementType,path:window.location.pathname,...v.elementText!==void 0?{elementText:v.elementText}:{},...v.section!==void 0?{section:v.section}:{},...v.props!==void 0?{props:v.props}:{}}))},{capture:!0}),Ut(()=>s.user.value?.email,b=>{b&&n({type:"identify",name:"identify",path:window.location.pathname})},{immediate:!0})}}),UP=[wk,Ak,tC,AC,EC,MC,PC,IC,OC,RC,DC,LC,mM,gM,_M,yM,bM,NM,$M,FM,HM,VM,zM,hP,pP,zP],WP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 19 22"};function zy(t,e){return U(),ne("svg",WP,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M18.904 16.141c-.515 1.145-.764 1.657-1.427 2.668-.929 1.412-2.238 3.176-3.856 3.187-1.44.013-1.812-.94-3.768-.923-1.954.01-2.362.942-3.804.927-1.62-.015-2.858-1.603-3.787-3.014C-.335 15.031-.609 10.395.996 7.93 2.13 6.18 3.926 5.152 5.614 5.152c1.719 0 2.798.944 4.218.944 1.379 0 2.218-.945 4.205-.945 1.502 0 3.09.818 4.226 2.23-3.714 2.037-3.11 7.34.641 8.76M12.528 3.572C13.251 2.643 13.8 1.334 13.6 0c-1.178.08-2.557.833-3.362 1.808-.73.89-1.336 2.209-1.1 3.485 1.286.04 2.618-.727 3.39-1.721"},null,-1)])])}const Uy={render:zy},k6=Object.freeze(Object.defineProperty({__proto__:null,default:Uy,render:zy},Symbol.toStringTag,{value:"Module"})),qP={class:"top-banner"},GP={class:"background"},KP={class:"text"},YP=gt({__name:"TopBannerStatic",setup(t){return(e,n)=>(U(),ne("div",qP,[D("div",GP,[D("div",KP,[n[0]||(n[0]=le(" Now ",-1)),n[1]||(n[1]=D("strong",{class:"highlight"},"LIVE",-1)),n[2]||(n[2]=le(" on Mac",-1)),z(O(Uy))])])]))}}),zn=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},ZP=Object.assign(zn(YP,[["__scopeId","data-v-d7b4061e"]]),{__name:"TopBannerStatic"}),XP=["aria-valuenow","aria-valuemin","aria-valuemax","aria-valuetext"],JP=gt({__name:"CreditsBar",props:{state:{default:"ok"},percent:{default:0},size:{default:"sm"},label:{default:void 0}},setup(t){const e=t,n=ue(()=>e.state==="unlimited"?100:Math.min(100,Math.max(0,e.percent)));return(i,s)=>(U(),ne("div",{class:et(["credits-bar",[`credits-bar-${t.state}`,`credits-bar-${t.size}`]]),role:"progressbar","aria-valuenow":t.state==="unlimited"?void 0:Math.round(O(n)),"aria-valuemin":t.state==="unlimited"?void 0:0,"aria-valuemax":t.state==="unlimited"?void 0:100,"aria-valuetext":t.state==="unlimited"?"Unlimited":t.label},[D("div",{class:"credits-bar-fill",style:ls({width:`${O(n)}%`})},null,4)],10,XP))}}),QP=Object.assign(zn(JP,[["__scopeId","data-v-58a5cddd"]]),{__name:"CreditsBar"}),eI={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 8"};function tI(t,e){return U(),ne("svg",eI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M12.24 0q1.824 0 2.952 1.056 1.152 1.032 1.152 2.856 0 1.2-.552 2.088a3.55 3.55 0 0 1-1.464 1.368q-.936.48-2.04.48-1.296 0-2.304-.576-.984-.576-1.92-1.56a5.2 5.2 0 0 1-1.728 1.56 4.4 4.4 0 0 1-2.232.576q-1.848 0-2.976-1.032Q0 5.76 0 3.936q0-1.2.528-2.088A3.7 3.7 0 0 1 2.016.48 4.4 4.4 0 0 1 4.056 0q1.32 0 2.304.6.984.576 1.872 1.632A5.1 5.1 0 0 1 9.936.624 4.45 4.45 0 0 1 12.24 0M4.296 5.52q.672 0 1.296-.384A3.8 3.8 0 0 0 6.72 4.104q-.744-.888-1.296-1.32-.528-.456-1.128-.456-.696 0-1.128.432-.432.408-.432 1.176 0 .744.432 1.176.432.408 1.128.408m7.752 0q.696 0 1.128-.408.432-.432.432-1.2t-.432-1.176q-.408-.408-1.128-.408-.696 0-1.392.432a3.45 3.45 0 0 0-1.128 1.128q.648.792 1.224 1.224.576.408 1.296.408"},null,-1)])])}const dm={render:tI},nI=v_,Pr=cA;function iI(t){return t===1?"1 more day":`${t} more days`}function sI(){return{label:"Upgrade to Unlimited",action:"buy",event:"main_menu_v2_upgrade_to_unlimited.click"}}function fm(t,e){return t?[{text:"After that, youâll return to your Lifetime plan with your saved "},{text:`${Pr(e)} credits`,bold:!0},{text:". They never expire."}]:[{text:`After that you go back to the free plan with ${Is} credits daily.`}]}function rI(t,e,n,i){const s=t<=1,r=s?"tomorrow":b_(e,"en-US","UTC"),o=n?[{text:"Your Unlimited plan "},{text:s?"ends tomorrow.":`ends on ${r}.`,bold:!0},...fm(!0,i).map((a,l)=>l===0?{...a,text:` ${a.text}`}:a)]:[{text:"Your plan is cancelled. You keep unlimited credits until "},{text:`${r}.`,bold:!0},...fm(!1,i).map((a,l)=>l===0?{...a,text:` ${a.text}`}:a)];
14return{kind:"unlimited-ending",barState:"unlimited",percent:100,value:{kind:"unlimited-ending",days:t,text:iI(Math.max(1,t))},caption:null,captionShort:null,alert:{tone:"ending",runs:o},cta:n?{label:"Manage plan",action:"link",to:"/plan-and-billing/",event:"main_menu_v2_manage_plan.click"}:null,barLabel:"Unlimited"}}function oI(t){const e=t.now??Date.now(),n=Math.round((t.credits??0)*100)/100;if(Qs(t.paid)){const r=nI(t.subscriptionEndsAt,e),o=Ua(t.subscriptionFallbackTier??ao.Free),a=uA(t,e);if(a!==null)return rI(a,t.subscriptionEndsAt,o,n);const l=r!==null&&r>=0&&!t.subscriptionCancelScheduled?`Renews on ${b_(t.subscriptionEndsAt,"en-US","UTC")}`:null;return{kind:"unlimited",barState:"unlimited",percent:nc(t),value:{kind:"unlimited"},caption:l,captionShort:l,alert:null,cta:null,barLabel:"Unlimited"}}const i=n<1,s=!i&&n<aA;return Ua(t.paid)?{kind:"lifetime",barState:i?"out":s?"low":"ok",percent:nc(t),value:{kind:"count",amount:Pr(n)},caption:`Your credits never expire. Weâll top up your balance whenever it drops below ${Is}.`,captionShort:"Your credits never expire.",alert:i?{tone:"out",runs:[{text:"You are out of credits.",bold:!0,block:!0},{text:"Top up your balance to keep going, or go Unlimited."}]}:s?{tone:"low",runs:[{text:"You are low on credits.",bold:!0,block:!0},{text:"Top up your balance, or go Unlimited to stop tracking it."}]}:null,cta:{label:"Manage credits",action:"link",to:"/plan-and-billing/",event:"main_menu_v2_manage_credits.click"},barLabel:`${Pr(n)} credits left`}:{kind:"free",barState:i?"out":s?"low":"ok",percent:nc(t),value:{kind:"fraction",amount:Pr(n),total:Is},caption:`Credits reset daily. Each day you start with ${Is} credits.`,captionShort:"Credits reset daily.",alert:i?{tone:"out",runs:[{text:"You are out of credits.",bold:!0,block:!0},{text:"Come back tomorrow, or go unlimited to remove the daily cap."}]}:s?{tone:"low",runs:[{text:"You are low on credits.",bold:!0,block:!0},{text:"Upgrade to "},{text:"Unlimited",bold:!0},{text:" to remove the daily cap."}]}:null,cta:sI(),barLabel:`${Pr(n)} of ${Is} credits left`}}function aI(){const{user:t}=tn();return{view:ue(()=>oI({paid:t.value?.paid,credits:t.value?.credits,totalCredits:t.value?.totalCredits,subscriptionEndsAt:t.value?.subscriptionEndsAt,subscriptionCancelScheduled:t.value?.subscriptionCancelScheduled,subscriptionFallbackTier:t.value?.subscriptionFallbackTier}))}}function lI(t){try{const e=w_(t);return localStorage.getItem(e)?!1:(localStorage.setItem(e,"1"),!0)}catch{return!0}}function hm(t,e){if(!e)return t;const n=e.credits??0;return e.default?{...t,paid:e.recurring?ao.Subscriber:ao.Premium,status:t_.Active,credits:(t.credits??0)+n,totalCredits:(t.totalCredits??0)+n}:e.credits?{...t,credits:(t.credits??0)+e.credits,totalCredits:(t.totalCredits??0)+e.credits}:t}function Wy(t){return t.isDefaultProduct&&!t.preLaunch&&!t.hasApp?`/thank-you/?redirect=${encodeURIComponent("/download-app/")}`:"/thank-you/"}function Xn(){return{phase:"idle",priceId:"",isDefaultProduct:!1,preLaunch:!1,wasAuthenticated:!1,hasApp:null,loaded:!1,attribution:{},completed:!1}}function cI(t,e){const n=e.errors??e.error?.errors;return t.loaded&&(n?.some(i=>!!i.field)??!1)}function uI(t){return t==="idle"}function dI(t,e){const n=e.data;switch(e.name){case"checkout.loaded":return t.completed?{next:t,actions:[]}:{next:{...t,phase:"open",loaded:!0},actions:[]};case"checkout.customer.created":case"checkout.customer.updated":{const i=n?.customer?.email,s=n?.transaction_id??t.transactionId;return t.wasAuthenticated||!i||!s||i===t.checkedEmail?{next:{...t,...s?{transactionId:s}:{}},actions:[]}:{next:{...t,transactionId:s,checkedEmail:i},actions:[{kind:"check-email",email:i,transactionId:s}]}}case"checkout.payment.initiated":{const i={...t,...n?.transaction_id?{transactionId:n.transaction_id}:{}};return!t.wasAuthenticated||!n?{next:i,actions:[]}:{next:i,actions:[{kind:"save-transaction",data:n}]}}case"checkout.completed":{if(t.completed)return{next:t,actions:[]};const i=n?.transaction_id??t.transactionId,s={...t,phase:"completing",completed:!0,...i?{transactionId:i}:{}},r=[];return n&&r.push({kind:"track-purchase",data:n}),t.wasAuthenticated?(r.push({kind:"apply-purchase"}),r.push({kind:"navigate",to:Wy({isDefaultProduct:t.isDefaultProduct,preLaunch:t.preLaunch,hasApp:t.hasApp})}),{next:{...s,phase:"done"},actions:r}):(i&&r.push({kind:"claim-guest-session",transactionId:i,email:n?.customer?.email}),{next:s,actions:r})}case"checkout.error":return cI(t,e)?{next:t,actions:[]}:{next:t,actions:[{kind:"show-error"}]};case"checkout.closed":return t.completed?{next:t,actions:[]}:{next:Xn(),actions:[{kind:"reset"}]};default:return{next:t,actions:[]}}}const fI="https://cdn.paddle.com/paddle/v2/paddle.js",Yi=Xe(null),ra=Xe(!1),es=Xe(null),Cu=new Set;let kr=null;function hI(t){for(const e of Cu)try{e(t)}catch(n){console.error("Paddle event listener failed",n)}}function pI(){if(!window.Paddle){es.value="Paddle failed to load. Please refresh the page.";return}const t=qe(),e=t.public.paddleClientToken;if(!e){es.value="Paddle is not configured. Please contact support.";return}const n=t.public.paddleEnv;window.Paddle.Environment.set(n),window.Paddle.Initialize({token:e,eventCallback:hI}),Yi.value=window.Paddle}function mI(){return new Promise((t,e)=>{if(window.Paddle){t();return}const n=document.createElement("script");n.src=fI,n.async=!0,n.onload=()=>t(),n.onerror=()=>{es.value="Failed to load payment system. Please refresh the page.",e(new Error("Failed to load Paddle script"))},document.head.appendChild(n)})}function qy(t){return Cu.add(t),()=>Cu.delete(t)}function gI(t){if(t){const r=qy(t);or()&&Kr(r)}async function e(){return kr||(ra.value=!0,kr=(async()=>{try{await mI(),pI()}catch{}finally{ra.value=!1}})(),kr)}function n(){Yi.value||(es.value=null,kr=null)}function i(r){if(!Yi.value){es.value="Paddle is not available";return}Yi.value.Checkout.open(r)}function s(){try{Yi.value?.Checkout.close()}catch{}}return{paddle:is(Yi),loading:is(ra),error:is(es),isReady:ue(()=>!!Yi.value&&!ra.value&&!es.value),init:e,resetInit:n,openCheckout:i,closeCheckout:s}}const _I={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 11 11"};function yI(t,e){return U(),ne("svg",_I,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M.721 10.667a.721.721 0 0 1-.51-1.232L9.438.212a.721.721 0 1 1 1.02 1.02L1.23 10.455a.71.71 0 0 1-.51.212"}
14,null,-1),D("path",{fill:"currentColor",d:"M9.947 10.667a.72.72 0 0 1-.51-.212L.212 1.23A.721.721 0 1 1 1.232.21l9.225 9.225a.721.721 0 0 1-.51 1.232"},null,-1)])])}const Eu={render:yI},bI={class:"modal-box"},vI={key:1,class:"modal-actions"},wI=gt({__name:"BaseModal",props:{closable:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:e}){const n=e;return(i,s)=>(U(),_t(mv,{to:"body"},[D("div",{class:"modal-backdrop",onClick:s[1]||(s[1]=tw(r=>t.closable&&n("close"),["self"]))},[D("div",bI,[t.closable?(U(),ne("button",{key:0,class:"modal-x",onClick:s[0]||(s[0]=r=>n("close"))},[z(O(Eu))])):Be("",!0),Qd(i.$slots,"default",{},void 0),i.$slots.actions?(U(),ne("div",vI,[Qd(i.$slots,"actions",{},void 0)])):Be("",!0)])])]))}}),Gy=Object.assign(zn(wI,[["__scopeId","data-v-370b09bb"]]),{__name:"ModalsBaseModal"}),xI={key:1,class:"modal-title"},kI={key:2,class:"modal-subtitle"},SI=["onClick"],TI=gt({__name:"DefaultModal",props:{title:{default:""},subtitle:{default:""},icon:{default:void 0},buttons:{default:()=>[]},closable:{type:Boolean,default:!0}},emits:["close"],setup(t,{emit:e}){const n=e;return(i,s)=>(U(),_t(Gy,{closable:t.closable,onClose:s[0]||(s[0]=r=>n("close"))},Ov({default:me(()=>[t.icon?(U(),_t(Gu(t.icon),{key:0,class:"modal-icon"})):Be("",!0),t.title?(U(),ne("h2",xI,Oe(t.title),1)):Be("",!0),t.subtitle?(U(),ne("p",kI,Oe(t.subtitle),1)):Be("",!0)]),_:2},[t.buttons.length?{name:"actions",fn:me(()=>[(U(!0),ne(Ve,null,pg(t.buttons,(r,o)=>(U(),ne("button",{key:o,class:et(r.class??"btn-primary"),onClick:a=>r.onClick?.()},Oe(r.text),11,SI))),128))]),key:"0"}:void 0]),1032,["closable"]))}}),Ky=Object.assign(zn(TI,[["__scopeId","data-v-bd99e636"]]),{__name:"ModalsDefaultModal"}),S6=Object.freeze(Object.defineProperty({__proto__:null,default:Ky},Symbol.toStringTag,{value:"Module"})),AI={class:"modal-title"},CI={key:0,class:"modal-text"},EI=gt({__name:"ConfirmModal",props:{title:{},text:{default:""},confirmText:{default:"Confirm"},confirmColor:{default:"primary"},cancelText:{default:"Cancel"},cancelColor:{default:"clear"}},emits:["confirm","cancel"],setup(t,{emit:e}){const n=e;return(i,s)=>(U(),_t(Gy,{closable:!0,onClose:s[2]||(s[2]=r=>n("cancel"))},{actions:me(()=>[D("button",{class:et(`btn-${t.confirmColor}`),onClick:s[0]||(s[0]=r=>n("confirm"))},Oe(t.confirmText),3),D("button",{class:et(`btn-${t.cancelColor}`),onClick:s[1]||(s[1]=r=>n("cancel"))},Oe(t.cancelText),3)]),default:me(()=>[D("h2",AI,Oe(t.title),1),t.text?(U(),ne("p",CI,Oe(t.text),1)):Be("",!0)]),_:1}))}}),Yy=Object.assign(zn(EI,[["__scopeId","data-v-fbc38bfb"]]),{__name:"ModalsConfirmModal"}),T6=Object.freeze(Object.defineProperty({__proto__:null,default:Yy},Symbol.toStringTag,{value:"Module"}));function Ms(){const t=Di("modal",()=>({component:null,props:{}}));function e(r,o={}){t.value={component:Ic(r),props:o}}function n(){t.value={component:null,props:{}}}function i(r){return new Promise(o=>{const a=(r.buttons??[]).map(l=>({...l,onClick:()=>{l.onClick?.(),n(),o()}}));e(Ky,{...r,icon:r.icon?Ic(r.icon):void 0,buttons:a,onClose:()=>{n(),o()}})})}function s(r){return new Promise(o=>{e(Yy,{...r,onConfirm:()=>{n(),o(!0)},onCancel:()=>{n(),o(!1)}})})}return{state:t,open:e,close:n,showDefault:i,confirm:s}}function MI(t){const{priceId:e,customer:n,customerAuthToken:i,customData:s}=t;return{settings:{displayMode:"overlay",variant:"one-page",allowLogout:!1},items:[{priceId:e,quantity:1}],...i?{customerAuthToken:i}:{},...n?{customer:n}:{},...s&&Object.keys(s).length?{customData:s}:{}}}const PI=500,pm=[1e3,3e3],nt=Xe(Xn());let oa,mm=!1,it=null;function II(){const{init:t,resetInit:e,isReady:n,openCheckout:i,closeCheckout:s}=gI();function r(m){const p=qe().public.paddleEnv;return fu[p].find(b=>b.priceId===m)}async function o(m,p){if(!it)return;let b=!1;try{({requiresLogin:b}=await it.sdk.auth.checkoutEmailCheck({paddleTransactionId:p,email:m}))}catch{return}if(!b)return;const{priceId:_}=nt.value,v=`/login/?redirect=${encodeURIComponent(it.startPath)}`;s(),nt.value=Xn(),await Ms().showDefault({title:"This email is already in use",subtitle:`An account already exists for ${m}. Log in to continue your purchase, or use a different email.`,buttons:[{text:"Log in",class:"btn-primary",onClick:()=>{it?.router.push(v)}},{text:"Use a different email",class:"btn-clear gray btn-reset",onClick:()=>{h(_?{priceId:_}:{})}}]})}async function a(m,p){if(!it)return;const b=nt.value.attribution;for(let _=0;_<=pm.length;_+=1)try{const v=await it.sdk.auth.checkoutSession({paddleTransactionId:m,...b});if(v.outcome===du.Session&&v.user){it.auth.setAuthenticated(hm(v.user,oa)),await c(Wy({isDefaultProduct:nt.value.isDefaultProduct,preLaunch:nt.value.preLaunch,hasApp:nt.value.hasApp}));return}if(!p){await l(m);return}x_().value={email:p,mode:"login",platform:yS.Web},await c("/check-email/");return}catch(v){const g=pm[_];if(g===void 0){console.error("Failed to claim checkout session",v),await l(m,p);return}await new Promise(w=>setTimeout(w,g))}}async function l(m,p){s(),nt.value=Xn(),await Ms().showDefault({title:"Payment received",subtitle:p?`We've emailed ${p} a link to finish setting up your account. Reference: ${m}`:`We've emailed you a link to finish setting up your account. Reference: ${m}`,buttons:[{text:"Got it",class:"btn-primary"}]})}async function c(m){await new Promise(p=>setTimeout(p,PI)),s(),await it?.router.push(m),nt.value=Xn()}async function u(){s(),nt.value=Xn(),await Ms().showDefault({title:"Something went wrong",subt
14itle:"Your payment was not completed. No charge was made â please try again.",buttons:[{text:"Close",class:"btn-primary"}]})}async function d(m){for(const p of m)switch(p.kind){case"check-email":await o(p.email,p.transactionId);break;case"save-transaction":{const b=p.data,_=b.customer?.id,v=it?.auth.user.value;if(_&&v&&v.paddleCustomerId!==_&&it?.auth.setUser({...v,paddleCustomerId:_}),!b.transaction_id||!_)break;try{await it?.sdk.transaction.create({paddleTransactionId:b.transaction_id,paddleCustomerId:_,paddlePriceId:b.items?.[0]?.price_id??"",amount:String(b.items?.[0]?.totals?.total??0),currency:b.currency_code??"USD",...nt.value.attribution})}catch(g){console.error("Failed to save transaction:",g)}break}case"track-purchase":{try{const b=p.data.transaction_id;b&&lI(b)&&EM({transactionId:b,value:Number(p.data.totals?.total),currency:p.data.currency_code})}catch{}break}case"apply-purchase":{const b=it?.auth.user.value;b&&it?.auth.setUser(hm(b,oa));break}case"claim-guest-session":await a(p.transactionId,p.email);break;case"navigate":await c(p.to);break;case"show-error":await u();break;case"reset":nt.value=Xn();break}}function f(m){if(nt.value.phase==="idle")return;const{next:p,actions:b}=dI(nt.value,m);nt.value=p,b.length&&it?.nuxtApp.runWithContext(()=>d(b))}mm||(mm=!0,qy(f));async function h(m={}){if(!uI(nt.value.phase))return;const p=He(),b=bo(),{paddleEnv:_,preLaunch:v}=qe().public;it={nuxtApp:p,sdk:p.$sdk,router:vt(),auth:tn(),preLaunch:!!v,startPath:b.fullPath};const g=m.priceId||lA(_,!!v)?.priceId||"";if(!g){console.error("No price id for checkout"),await Ms().showDefault({title:"Checkout is unavailable",subtitle:"We could not load the plan details. Please try again shortly.",buttons:[{text:"Contact us",class:"btn-primary",onClick:()=>{it?.router.push("/contact-us/")}}]});return}oa=r(g);const w=typeof b.query.fbclid=="string"?b.query.fbclid:void 0;if(nt.value={...Xn(),phase:"opening",priceId:g,isDefaultProduct:oa?.default===!0,preLaunch:!!v,wasAuthenticated:it.auth.isAuthenticated.value,hasApp:it.auth.hasApp.value,attribution:wM(w)},MM(),await t(),!n.value){nt.value=Xn(),await Ms().showDefault({title:"Checkout is unavailable",subtitle:"The payment window could not load. An ad blocker or network issue is the usual cause.",buttons:[{text:"Try again",class:"btn-primary",onClick:()=>{e(),h(m)}},{text:"Contact us",onClick:()=>{it?.router.push("/contact-us/")}}]});return}const y=it.auth.user.value,T=y?.paddleCustomerId,A=T?{id:T}:y?.email?{email:y.email,...y.name?{name:y.name}:{}}:void 0;let M;if(T)try{const E=await it.sdk.transaction.getCustomerAuthToken();E.customerAuthToken&&(M=E.customerAuthToken)}catch(E){console.error("Failed to fetch customer auth token:",E)}i(MI({priceId:g,...A?{customer:A}:{},...M?{customerAuthToken:M}:{},customData:xM(nt.value.attribution)})),nt.value={...nt.value,phase:"open"}}return{open:h,isBusy:ue(()=>nt.value.phase!=="idle")}}function OI(t={}){const{preLaunch:e}=qe().public,{isPaid:n}=tn(),{open:i,isBusy:s}=II(),r=ue(()=>n.value&&!t.priceId?"/plan-and-billing/":e?"/get-guidy/":"/pricing/");function o(a){if(!(a.metaKey||a.ctrlKey||a.shiftKey||a.altKey||a.button!==0)){if(a.preventDefault(),n.value&&!t.priceId){wn("/plan-and-billing/");return}i(t.priceId?{priceId:t.priceId}:{})}}return{href:r,onClick:o,isBusy:s}}const RI={class:"credits-row"},DI={class:"credits-value"},LI={class:"credits-total"},NI={key:0,class:"credits-note"},$I={key:1},FI=["href","data-event"],HI=gt({__name:"ProfileCredits",setup(t){const{view:e}=aI(),{href:n,onClick:i}=OI();return(s,r)=>{const o=QP,a=Wa;return U(),ne("div",{class:et(["profile-credits",`profile-credits-${O(e).barState}`])},[D("div",RI,[r[2]||(r[2]=D("span",{class:"credits-label"},"Credits",-1)),D("span",DI,[O(e).value.kind==="fraction"?(U(),ne(Ve,{key:0},[D("strong",null,Oe(O(e).value.amount),1),D("span",LI,"/"+Oe(O(e).value.total)+" left",1)],64)):O(e).value.kind==="count"?(U(),ne(Ve,{key:1},[le(Oe(O(e).value.amount)+" left",1)],64)):O(e).value.kind==="unlimited"?(U(),ne(Ve,{key:2},[z(O(dm),{class:"credits-infinity"}),r[1]||(r[1]=le(" Unlimited ",-1))],64)):(U(),ne(Ve,{key:3},[z(O(dm),{class:"credits-infinity"}
14),le(" Unlimited "+Oe(O(e).value.text),1)],64))])]),z(o,{state:O(e).barState,percent:O(e).percent,size:"sm",label:O(e).barLabel},null,8,["state","percent","label"]),O(e).captionShort?(U(),ne("p",NI,Oe(O(e).captionShort),1)):Be("",!0),O(e).alert?(U(),ne("p",{key:1,class:et(["credits-alert",`credits-alert-${O(e).alert.tone}`])},[(U(!0),ne(Ve,null,pg(O(e).alert.runs,(l,c)=>(U(),ne(Ve,{key:c},[l.bold?(U(),ne("strong",{key:0,class:et({"alert-line":l.block})},Oe(l.text),3)):(U(),ne("span",$I,Oe(l.text),1))],64))),128))],2)):Be("",!0),O(e).cta?.action==="buy"?(U(),ne("a",{key:2,href:O(n),class:"btn-primary credits-cta","data-event":O(e).cta.event,onClick:r[0]||(r[0]=(...l)=>O(i)&&O(i)(...l))},Oe(O(e).cta.label),9,FI)):O(e).cta?(U(),_t(a,{key:3,to:O(e).cta.to,class:"btn-primary credits-cta","data-event":O(e).cta.event},{default:me(()=>[le(Oe(O(e).cta.label),1)]),_:1},8,["to","data-event"])):Be("",!0)],2)}}}),jI=Object.assign(zn(HI,[["__scopeId","data-v-01468327"]]),{__name:"ProfileCredits"}),Zy=_l("/images/logo.png"),BI={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 7"};function VI(t,e){return U(),ne("svg",BI,[...e[0]||(e[0]=[D("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 1 6 6 1 1"},null,-1)])])}const Tc={render:VI},zI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function Xy(t,e){return U(),ne("svg",zI,[...e[0]||(e[0]=[pl('<path fill="currentColor" d="m12.214 24-.059-.004L.57 22.34a.414.414 0 0 1-.355-.41V2.069c0-.206.151-.38.355-.41L12.155.004a.413.413 0 0 1 .473.41v23.172a.414.414 0 0 1-.414.414M1.04 21.572l10.76 1.537V.891L1.04 2.428z"></path><path fill="#DDD" d="M23.386 3.724H12.213V20.69h11.173z"></path><path fill="currentColor" d="M23.386 21.09H12.214a.4.4 0 0 1-.4-.4V3.724c0-.22.179-.4.4-.4h11.172a.4.4 0 0 1 .4.4V20.69a.4.4 0 0 1-.4.4m-10.772-.8h10.372V4.124H12.614zM3.95 13.743l1.39-2.031-1.17-1.806a3.5 3.5 0 0 1-.248-.452.9.9 0 0 1-.082-.362q0-.18.159-.32a.56.56 0 0 1 .388-.143q.262 0 .41.155.146.155.404.574l.933 1.51.996-1.51.21-.326q.087-.136.168-.225a.55.55 0 0 1 .18-.134.6.6 0 0 1 .231-.044q.238 0 .388.142t.151.337q0 .285-.326.772l-1.226 1.832 1.319 2.03q.178.268.258.444.08.175.08.333a.53.53 0 0 1-.275.466.6.6 0 0 1-.297.072.57.57 0 0 1-.5-.259q-.077-.11-.284-.428L6.113 12.65 4.951 14.42q-.135.212-.193.297a1 1 0 0 1-.138.165.6.6 0 0 1-.19.128.7.7 0 0 1-.26.046.54.54 0 0 1-.379-.14q-.15-.14-.15-.407 0-.314.309-.767"></path><path fill="currentColor" d="M21.317 9.09h-9.103a.4.4 0 0 1-.4-.4V6.207c0-.221.179-.4.4-.4h9.103a.4.4 0 0 1 .4.4V8.69a.4.4 0 0 1-.4.4m-8.703-.8h8.303V6.607h-8.303z"></path><path fill="currentColor" d="M21.317 11.572h-9.103a.4.4 0 0 1-.4-.4V8.69c0-.221.179-.4.4-.4h9.103a.4.4 0 0 1 .4.4v2.482a.4.4 0 0 1-.4.4m-8.703-.8h8.303V9.09h-8.303z"></path><path fill="currentColor" d="M21.317 14.055h-9.103a.4.4 0 0 1-.4-.4v-2.483a.4.4 0 0 1 .4-.4h9.103a.4.4 0 0 1 .4.4v2.483a.4.4 0 0 1-.4.4m-8.703-.8h8.303v-1.683h-8.303z"></path><path fill="currentColor" d="M21.317 16.538h-9.103a.4.4 0 0 1-.4-.4v-2.483c0-.22.179-.4.4-.4h9.103a.4.4 0 0 1 .4.4v2.483a.4.4 0 0 1-.4.4m-8.703-.8h8.303v-1.683h-8.303z"></path><path fill="currentColor" d="M21.317 19.02h-9.103a.4.4 0 0 1-.4-.4v-2.482c0-.221.179-.4.4-.4h9.103a.4.4 0 0 1 .4.4v2.483a.4.4 0 0 1-.4.4m-8.703-.8h8.303v-1.682h-8.303z"></path><path fill="currentColor" d="M18.42 19.02a.4.4 0 0 1-.4-.4V6.208a.4.4 0 0 1 .801 0V18.62a.4.4 0 0 1-.4.4"></path>',9)])])}const Jy={render:Xy},A6=Object.freeze(Object.defineProperty({__proto__:null,default:Jy,render:Xy},Symbol.toStringTag,{value:"Module"})),UI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function Qy(t,e){return U(),ne("svg",UI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M22.702.473H1.298A1.3 1.3 0 0 0 0 1.772v15.153a1.3 1.3 0 0 0 1.298 1.298h2.077a.351.351 0 1 0 0-.703H1.298a.596.596 0 0 1-.595-.595V1.772c0-.328.267-.595.595-.595h21.404c.328 0 .595.267.595.595v15.153a.596.596 0 0 1-.595.595H5.016a.352.352 0 1 0 0 .703h3.77c-.067.618-.343 1.955-1.475 3.085H6.128a.636.636 0 0 0-.635.636v.947c0 .35.285.636.635.636h8.745a.351.351 0 1 0 0-.704H6.196v-.812h11.608v.813h-1.29a.352.352 0 1 0 0 .703h1.358c.35 0 .635-.286.635-.636v-.947a.636.636 0 0 0-.635-.636h-1.183c-1.126-1.124-1.405-2.466-1.474-3.085h7.487A1.3 1.3 0 0 0 24 16.925V1.772A1.3 1.3 0 0 0 22.702.473m-6.955 20.835H8.253a5.9 5.9 0 0 0 1.24-3.085h5.013a5.9 5.9 0 0 0 1.241 3.085"},null,-1),D("path",{fill:"currentColor",d:"M19.795 15.287h2.338a.35.35 0 0 0 .351-.351V2.34a.35.35 0 0 0-.351-.351H1.867a.35.35 0 0 0-.352.351v12.596c0 .194.158.351.352.351h16.287a.351.351 0 1 0 0-.703H2.22V2.692H21.78v11.892h-1.986a.352.352 0 1 0 0 .703"},null,-1),D("path",{fill:"currentColor",d:"M5.912 4.282a.35.35 0 0 0-.352-.352H3.382a.35.35 0 0 0-.351.352v1.894c0 .194.157.351.351.351H5.56a.35.35 0 0 0 .352-.351zm-.703 1.542H3.734v-1.19h1.475zM7.454 6.527h5.872a.352.352 0 1 0 0-.703H7.454a.352.352 0 1 0 0 .703M15.03 3.93H10.2a.352.352 0 1 0 0 .703h4.83a.352.352 0 1 0 0-.703M7.454 4.633h1.09a.352.352 0 1 0 0-.703h-1.09a.352.352 0 1 0 0 .703M5.912 7.691a.35.35 0 0 0-.352-.352H3.382a.35.35 0 0 0-.351.352v1.894c0 .194.157.352.351.352H5.56a.35.35 0 0 0 .352-.352zm-.703 1.542H3.734v-1.19h1.475zM7.454 9.937h5.872a.352.352 0 1 0 0-.704H7.454a.352.352 0 1 0 0 .704M15.03 7.34H10.2a.352.352 0 1 0 0 .703h4.83a.352.352 0 1 0 0-.704M7.454 8.043h1.09a.352.352 0 1 0 0-.704h-1.09a.352.352 0 1 0 0 .704M5.56 10.749H3.382a.35.35 0 0 0-.351.351v1.894c0 .195.157.352.351.352H5.56a.35.35 0 0 0 .352-.352V11.1a.35.35 0 0 0-.352-.351m-.351 1.894H3.734v-1.191h1.475zM7.454 13.346h5.872a.352.352 0 1 0 0-.703H7.454a.352.352 0 1 0 0 .703M15.382 11.1a.35.35 0 0 0-.351-.351H10.2a.351.351 0 1 0 0 .703h4.83a.35.35 0 0 0 .351-.352M7.454 11.452h1.09a.352.352 0 1 0 0-.703h-1.09a.351.351 0 1 0 0 .703M20.97 10.128a.35.35 0 0 0-.251-.32l-4.072-1.223a.351.351 0 0 0-.438.438l1.222 4.072a.351.351 0 0 0 .663.03l.758-1.896 1.896-.759a.35.35 0 0 0 .221-.342m-2.519.504a.35.35 0 0 0-.196.196l-.44 1.101-.745-2.483 2.483.745z"},null,-1)])])}const eb={render:Qy},C6=Object.freeze(Object.defineProperty({__proto__:null,default:eb,render:Qy},Symbol.toStringTag,{value:"Module"})),WI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function tb(t,e){return U(),ne("svg",WI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M1.6 1.6h.8v.8h-.8zM3.2 1.6H4v.8h-.8zM4.8 1.6h.8v.8h-.8z"},null,-1),D("path",{fill:"currentColor",d:"M22.8 0H1.2A1.2 1.2 0 0 0 0 1.2v21.6A1.2 1.2 0 0 0 1.2 24h21.6a1.2 1.2 0 0 0 1.2-1.2V1.2A1.2 1.2 0 0 0 22.8 0m.4 1.6H6.4v.8h16.8v20.4a.4.4 0 0 1-.4.4H1.2a.4.4 0 0 1-.4-.4V1.2a.4.4 0 0 1 .4-.4h21.6a.4.4 0 0 1 .4.4z"},null,-1),D("path",{fill:"currentColor",d:"M7.6 4h8.8v.8H7.6zM2.4 7.6V10a.4.4 0 0 0 .4.4h12v-.8H3.2V8h17.6v1.6h-1.2v.8h1.6a.4.4 0 0 0 .4-.4V7.6a.4.4 0 0 0-.4-.4H2.8a.4.4 0 0 0-.4.4M2.4 5.6H6v.8H2.4zM2.4 11.6H8v.8H2.4z"},null,-1),D("path",{fill:"currentColor",d:"M21.2 13.2H20v.8h.8v1.6h-2.078l.48-.176a.4.4 0 0 0 .237-.514l-.927-2.523 1.13-.121a.4.4 0 0 0 .194-.72l-3.494-2.552a.4.4 0 0 0-.625.23l-1.012 4.206a.4.4 0 0 0 .614.424l.94-.639.877 2.385H3.2V14H14v-.8H2.8a.4.4 0 0 0-.4.4V16a.4.4 0 0 0 .4.4h18.4a.4.4 0 0 0 .4-.4v-2.4a.4.4 0 0 0-.4-.4m-4.62-.985a.4.4 0 0 0-.347.05l-.508.346.63-2.617 2.174 1.587-.612.066a.4.4 0 0 0-.355.357.4.4 0 0 0 .023.178l.965 2.629-.75.276-.966-2.629a.4.4 0 0 0-.253-.243M2.4 17.6H8v.8H2.4zM21.2 19.2H2.8a.4.4 0 0 0-.4.4V22a.4.4 0 0 0 .4.4h18.4a.4.4 0 0 0 .4-.4v-2.4a.4.4 0 0 0-.4-.4m-.4 2.4H3.2V20h17.6z"},null,-1)])])}const nb={render:tb},E6=Object.freeze(Object.defineProperty({__proto__:null,default:nb,render:tb},Symbol.toStringTag,{value:"Module"})),qI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"21",fill:"none"};function ib(t,e){return U(),ne("svg",qI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"m5.197 2.202-1.76 2.494a.3.3 0 0 1-.229.126h-.015
14a.3.3 0 0 1-.225-.101l-.884-1.01a.3.3 0 0 1 .45-.393l.633.724L4.71 1.857a.299.299 0 1 1 .488.345m6.842-.067H5.91a.299.299 0 0 0 0 .598h6.13a.299.299 0 0 0 0-.598m0 1.818H5.91a.299.299 0 0 0 0 .598h6.13a.299.299 0 0 0 0-.598M0 6.055V.3C0 .134.134 0 .299 0h13.29c.166 0 .3.134.3.299v5.756a.3.3 0 0 1-.3.299H.3A.3.3 0 0 1 0 6.055m.598-.298H13.29V.597H.598zm11.441 3.61H5.91a.299.299 0 0 0 0 .597h6.13a.299.299 0 0 0 0-.597m0 1.818H5.91a.299.299 0 0 0 0 .597h6.13a.299.299 0 0 0 0-.597M0 13.287V7.53c0-.165.134-.3.299-.3h13.29c.166 0 .3.135.3.3v5.756a.3.3 0 0 1-.3.298H.3A.3.3 0 0 1 0 13.287m.598-.3H13.29V7.83H.598zm5.311 4.209h6.13a.299.299 0 0 0 0-.598H5.91a.299.299 0 0 0 0 .598m6.13 1.22H5.91a.299.299 0 0 0 0 .598h6.13a.299.299 0 0 0 0-.597M24 19.897v.622a.3.3 0 0 1-.299.3H.3a.3.3 0 0 1-.299-.3v-5.756c0-.165.134-.299.299-.299h13.29c.166 0 .3.134.3.299v2.676c.542-.438 1.23-.7 1.98-.7h.206c.052 0 .09-.017.128-.054a.17.17 0 0 0 .052-.128 2.26 2.26 0 0 0-.302-1.145c-.617-1.11-.614-1.489-.605-2.746l.002-.564a2.62 2.62 0 0 1 2.618-2.618h.774a2.62 2.62 0 0 1 2.618 2.618q0 .322.003.582c.01 1.245.012 1.62-.604 2.727-.207.37-.3.724-.303 1.146 0 .053.015.091.052.128a.17.17 0 0 0 .128.054h.206A3.16 3.16 0 0 1 24 19.896M.598 20.22H12.71v-.324c0-.678.216-1.306.58-1.82V15.06H.599zm22.805-.324a2.563 2.563 0 0 0-2.56-2.56h-.207a.76.76 0 0 1-.551-.23.76.76 0 0 1-.226-.553c.003-.521.123-.977.378-1.434.54-.969.538-1.22.529-2.431q-.002-.263-.003-.587c0-1.114-.906-2.02-2.02-2.02h-.775c-1.114 0-2.02.906-2.02 2.02l-.002.568c-.01 1.225-.01 1.48.53 2.451.254.457.373.912.377 1.433a.76.76 0 0 1-.226.553c-.15.15-.34.23-.551.23h-.207a2.563 2.563 0 0 0-2.56 2.56v.324h10.094zM5.125 9.018a.3.3 0 0 0-.417.072l-1.542 2.184-.634-.724a.298.298 0 1 0-.45.394l.885 1.01a.3.3 0 0 0 .224.102h.016a.3.3 0 0 0 .228-.127l1.76-2.494a.3.3 0 0 0-.07-.417m0 7.232a.3.3 0 0 0-.417.072l-1.542 2.184-.634-.724a.298.298 0 1 0-.45.394l.885 1.01a.3.3 0 0 0 .224.102h.016a.3.3 0 0 0 .228-.127l1.76-2.494a.3.3 0 0 0-.07-.417"},null,-1)])])}const sb={render:ib},M6=Object.freeze(Object.defineProperty({__proto__:null,default:sb,render:ib},Symbol.toStringTag,{value:"Module"})),GI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function rb(t,e){return U(),ne("svg",GI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M21.617 0H2.383A2.386 2.386 0 0 0 0 2.383v18.734A2.386 2.386 0 0 0 2.383 23.5h19.234A2.386 2.386 0 0 0 24 21.117V2.383A2.386 2.386 0 0 0 21.617 0M2.383 1h19.234C22.38 1 23 1.62 23 2.383V4H1V2.383C1 1.621 1.62 1 2.383 1m15.38 16.378c.981 0 1.78-.798 1.78-1.779v-2.276a3.2 3.2 0 0 1 1.422 2.667 3.22 3.22 0 0 1-3.215 3.215c-.486 0-.948-.11-1.361-.303a.5.5 0 0 0-.16-.08 3.197 3.197 0 0 1-.244-5.5v2.277c0 .981.798 1.78 1.778 1.78m1.245 2.638V22.5h-2.419v-2.459c.807.232 1.65.213 2.419-.025m2.609 2.484h-1.61v-2.946a4.2 4.2 0 0 0 1.958-3.564c0-1.768-1.107-3.353-2.754-3.944a.5.5 0 0 0-.669.471v3.082a.78.78 0 0 1-1.557 0v-3.082a.5.5 0 0 0-.669-.47 4.2 4.2 0 0 0-2.781 3.943c0 1.534.825 2.88 2.054 3.617V22.5H2.383C1.621 22.5 1 21.88 1 21.117V5h22v16.117c0 .763-.62 1.383-1.383 1.383"},null,-1),D("path",{fill:"currentColor",d:"M2.5 2h1v1h-1zM4 2h1v1H4zM5.5 2h1v1h-1zM9.5 3h10a.5.5 0 0 0 0-1h-10a.5.5 0 1 0 0 1M3 11.5h3.5v1H3zM5 7.5h2v1H5zM2 10h5.5v1H2zM8 10h1v1H8zM2 14.5h5.5v1H2zM2 16h1.5v1H2zM2 17.5h1.5v1H2zM4 17.5h1.5v1H4zM2 19h1.5v1H2zM4 16h1.5v1H4zM6 16h1.5v1H6zM8 14.5h1v1H8zM9.5 14.5h1v1h-1zM10 7h1v1h-1zM11.5 7h1v1h-1zM13 7h1v1h-1zM2 13h9v1H2zM7.646 8.914a.5.5 0 0 0 .707 0l1-1a.5.5 0 0 0 0-.707l-1-1a.5.5 0 1 0-.707.707l.647.647-.647.646a.5.5 0 0 0 0 .707M3.646 8.914a.5.5 0 0 0 .708-.707l-.647-.646.647-.647a.5.5 0 0 0-.708-.707l-1 1a.5.5 0 0 0 0 .707zM21 3a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"},null,-1)])])}const ob={render:rb},P6=Object.freeze(Object.defineProperty({__proto__:null,default:ob,render:rb},Symbol.toStringTag,{value:"Module"})),KI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function ab(t,e){return U(),ne("svg",KI,[...e[0]||(e[0]=[pl('<g clip-path="url(#icon-nav-ai-for-seniors_svg__a)"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".6" d="M4.51 9.9H3.195"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".5" d="m11.92 15.217-2.248-1.535M1.058 18.476v2.85M4.44 13.686l-1.43.936a4.32 4.32 0 0 0-1.624 1.965"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".6" d="M4.307 3.987c-.06-.175-.06-.329-.06-.425 0-1.447 1.258-2.621 2.81-2.622S9.87 2.113 9.87 3.56c0 .115-.035.406-.086.539M12.018 7.122a10 10 0 0 1 .154.78 2.59 2.59 0 0 1-.938 2.343l-.256.208"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".6" d="m3.168 10.422-.282-.233a2.58 2.58 0 0 1-.963-2.071v-.019c.03-.966.383-2.12 1.09-3.001.647-.81 2.12-1.774 3.983-1.774 1.465-.001 3.31.972 3.99 1.771q.121.144.226.284"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".6" d="M10.974 9.445A3.215 3.215 0 0 0 7.73 6.231l-1.401.013a3.2 3.2 0 0 0-2.254.952 3.2 3.2 0 0 0-.932 2.264c0 .14.01.419.01.419.062 1.241.391 2.422.922 3.376.461.828 1.135.488 1.637 1.031.332.36.983.438 1.277.438.3 0 1.055-.1 1.375-.438.452-.477 1.188-.225 1.648-1.03.548-.958.89-2.143.953-3.39 0 0 .01-.28.01-.42"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".5" d="M8.894 14.013v.437a1.836 1.836 0 1 1-3.671 0v-.454M7.058 16.293v5.034"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".4" d="M6.072 7.806a3.6 3.6 0 0 0 1.973 0M6.346 12.97c.42.324 1.005.324 1.425 0"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".5" d="M6.736 11.666a.63.63 0 0 0 .645 0"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width=".6" d="M6.346 9.957a.904.904 0 1 0-1.808 0 .904.904 0 0 0 1.808 0M9.579 9.957a.904.904 0 1 0-1.808 0 .904.904 0 0 0 1.808 0M6.373 9.93h1.37M9.606 9.93h1.34"></path>
14<path fill="currentColor" d="M21.381 11.939h-8.19a.273.273 0 0 0-.273.273v4.742c0 .15.123.273.274.273h8.191a.273.273 0 0 0 .274-.273v-4.742a.277.277 0 0 0-.276-.273m-.273 4.743h-7.643v-4.197h7.645v4.197z"></path><path fill="currentColor" d="M24.057 20.875a.3.3 0 0 0-.02-.06l-.002-.005-1.49-3.09v-6.38a.273.273 0 0 0-.273-.272h-9.971a.273.273 0 0 0-.274.273v6.384l-1.488 3.088-.002.006a.2.2 0 0 0-.02.06v.007q-.005.022-.006.048v.528c0 .541.441.982.982.982H23.08a.984.984 0 0 0 .982-.982v-.528a.2.2 0 0 0-.006-.048zm-11.483-9.26h9.423v5.898h-9.423zm-.102 6.445h9.627l1.252 2.597h-12.13zm11.043 3.398c0 .24-.195.436-.435.436H11.494a.436.436 0 0 1-.436-.436v-.255h12.455v.255z"></path><path fill="currentColor" d="M18.628 18.958a.27.27 0 0 0-.263-.193h-2.367a.28.28 0 0 0-.262.193l-.361 1.183a.274.274 0 0 0 .262.353h3.09a.28.28 0 0 0 .22-.11.27.27 0 0 0 .041-.243zm-2.62.99.192-.636h1.963l.193.636zM14.327 14.432h1.392a.273.273 0 0 0 .274-.274v-1.013a.273.273 0 0 0-.274-.273h-1.392a.273.273 0 0 0-.273.273v1.013c0 .151.122.274.273.274m.273-1.014h.846v.467H14.6zM16.405 13.418h3.834a.273.273 0 1 0 0-.546h-3.835a.273.273 0 1 0 0 .546M16.405 14.432h3.834a.273.273 0 1 0 0-.547h-3.835a.273.273 0 1 0 0 .547M20.239 14.745h-1.393a.273.273 0 0 0-.273.273v1.014c0 .15.122.273.273.273h1.393a.273.273 0 0 0 .273-.273v-1.014a.273.273 0 0 0-.273-.273m-.274 1.013h-.845v-.466h.845zM14.327 15.292h3.834a.273.273 0 1 0 0-.547h-3.834a.273.273 0 1 0 0 .547M14.327 16.305h3.8850000000000002a.273.273 0 1 0 0-.547h-3.885a.273.273 0 1 0 0 .547"></path></g><defs><clipPath id="icon-nav-ai-for-seniors_svg__a"><path fill="#fff" d="M0 0h24v23.434H0z"></path></clipPath></defs>',2)])])}const lb={render:ab},I6=Object.freeze(Object.defineProperty({__proto__:null,default:lb,render:ab},Symbol.toStringTag,{value:"Module"})),YI={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"15",fill:"none"};function cb(t,e){return U(),ne("svg",YI,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M23.995 12.405v-.009a.326.326 0 0 0-.328-.328h-1.139c.15-.225.235-.497.235-.787V1.443C22.763.647 22.116 0 21.319 0H4.241c-.796 0-1.443.647-1.443 1.443v2.925a6 6 0 0 0-.258.356.94.94 0 0 0-.431-.365.95.95 0 0 0-.717 0L.576 4.7A.94.94 0 0 0 .07 5.924l1.94 4.649c.141.333.45.539.783.572v.136c0 .29.085.562.235.787H1.893a.326.326 0 0 0-.328.328v.047c0 .975.792 1.767 1.767 1.767h18.901c.975 0 1.767-.792 1.767-1.767q-.006-.022-.005-.038m-19.74-1.79A.94.94 0 0 0 4.58 9.58l.389-.107c.253-.07.759-.22.848-.258l2.08-.867a.874.874 0 0 0 .473-1.144.8.8 0 0 0-.116-.197.86.86 0 0 0 .347-.412.87.87 0 0 0-.183-.947.88.88 0 0 0 .014-1.064l1.35-.562a.873.873 0 0 0 .469-1.143.874.874 0 0 0-1.144-.473l-2.357.983a.86.86 0 0 0-.53-.68.87.87 0 0 0-.67 0l-1.289.54V1.462h17.045v9.81H4.255zm-.478-6.378a.9.9 0 0 1 .31-.211l1.71-.713a.2.2 0 0 1 .164 0 .2.2 0 0 1 .117.118.217.217 0 0 1-.117.285c-.004 0-.004.005-.009.005l
14-.417.174a.33.33 0 1 0 .253.609l.783-.324q.006 0 .014-.009l2.77-1.153a.2.2 0 0 1 .163 0 .22.22 0 0 1 .118.117.223.223 0 0 1-.118.286l-1.907.797h-.005l-1.65.684a.33.33 0 1 0 .254.61l1.43-.596h.004a.2.2 0 0 1 .164 0 .2.2 0 0 1 .117.117.217.217 0 0 1-.117.286l-.206.085c-.005 0-.01.004-.014.004l-1.214.506a.33.33 0 1 0 .253.61l1.064-.445c.004 0 .01-.005.014-.005a.21.21 0 0 1 .168 0 .24.24 0 0 1 .118.117.2.2 0 0 1 0 .164.22.22 0 0 1-.118.117l-.646.272h-.005c-.005 0-.005.005-.01.005l-.416.173a.33.33 0 1 0 .253.61l.43-.179a.22.22 0 0 1 .282.117.217.217 0 0 1-.117.286l-2.076.867a34 34 0 0 1-1.238.361L2.86 5.446c.131-.225.445-.727.918-1.21M2.62 10.32.68 5.666a.27.27 0 0 1 0-.21.26.26 0 0 1 .15-.15l.815-.343a.27.27 0 0 1 .21.005q.108.043.15.15l1.941 4.654c.061.14-.01.3-.145.36-.005 0-.005 0-.01.005l-.815.338a.276.276 0 0 1-.356-.155m.834.96v-.295l.145-.06v.365c0 .352.286.633.633.633h17.092a.633.633 0 0 0 .633-.633V1.439A.637.637 0 0 0 21.324.8H4.232a.634.634 0 0 0-.633.638v2.104a2 2 0 0 0-.145.103V1.443a.79.79 0 0 1 .787-.787H21.32a.79.79 0 0 1 .788.787v9.838a.786.786 0 0 1-.788.787H4.241a.786.786 0 0 1-.787-.787m7.494 1.444h3.665v.066h-3.665zm11.28.83H3.332c-.515 0-.951-.352-1.073-.83h8.037v.394c0 .182.146.328.329.328h4.32a.326.326 0 0 0 .329-.328v-.394h8.037c-.131.478-.567.83-1.082.83"},null,-1)])])}const ub={render:cb},O6=Object.freeze(Object.defineProperty({__proto__:null,default:ub,render:cb},Symbol.toStringTag,{value:"Module"})),db=["new-job","stop-feeling-like-everyone-knows-more","new-software-is-moving-too-fast","start-your-new-career","get-help-at-work","stop-reading-instructions"],R6={"new-job":{heroTitle:"New job. New software. <strong>NO TIME TO LOOK LOST.</strong>",metaTitle:"New job. New software. NO TIME TO LOOK LOST. | Guidy",metaDescription:"Starting a new job? Guidy is your on-screen AI assistant that walks you through any software your new role throws at you â in real time. $69 once, no subscription."},"stop-feeling-like-everyone-knows-more":{heroTitle:"Stop feeling like everyone knows<br><strong>MORE THAN YOU</strong>",metaTitle:"Stop Feeling Like Everyone Knows MORE THAN YOU | Guidy",metaDescription:"Guidy levels the playing field. Your on-screen AI assistant gives you real-time, step-by-step help in any app, so you always know what to do next. $69 once."},"new-software-is-moving-too-fast":{heroTitle:"Feel like new software is <strong>MOVING TOO FAST?</strong>",metaTitle:"Feel like new software is MOVING TOO FAST? | Guidy",metaDescription:"Tools change faster than anyone can learn them. Guidy guides you through any new app or update in real time, right on your screen. $69 once, no subscription."},"start-your-new-career":{heroTitle:"Start your new career<br><strong>WITHOUT STARTING FROM ZERO</strong>",metaTitle:"Start your new career WITHOUT STARTING FROM ZERO | Guidy",metaDescription:"Changing careers? Guidy walks you through every unfamiliar tool step by step, in real time â like a mentor sitting right next to you. $69 once, no subscription."},"get-help-at-work":{heroTitle:"<strong>GET HELP AT WORK - </strong>even when no one is around",metaTitle:"GET HELP AT WORK - even when no one is around | Guidy",metaDescription:"Stuck at work? Guidy is the AI desktop assistant that shows you your next click in any software â instant, private, step-by-step help. $69 once, no subscription."},"stop-reading-instructions":{heroTitle:"Stop reading instructions.<br><strong>SEE EXACTLY WHERE TO CLICK.</strong>",metaTitle:"Stop reading instructions. SEE EXACTLY WHERE TO CLICK.",metaDescription:"Skip the manuals and tutorials. Guidy points to your next click right on your screen and guides you through any task in real time. $69 once, no subscription."}};function ZI(t,e){return{...t,credits:Math.round(e.credits*100)/100,totalCredits:e.totalCredits,...e.paid!==void 0?{paid:e.paid}:{},...e.subscriptionEndsAt!==void 0?{subscriptionEndsAt:e.subscriptionEndsAt,subscriptionCancelScheduled:e.subscriptionCancelScheduled??!1,subscriptionFallbackTier:e.subscriptionFallbackTier}:{}}}function XI(){const{$sdk:t}=He(),{user:e,setUser:n}=tn();let i=null;function s(){i?.(),i=t.credits.stream(o=>{e.value&&n(ZI(e.value,o))})}function r(){i?.(),i=null}
14return{startStream:s,stop:r}}const JI={class:"submenu"},QI={class:"submenu-header-mobile"},eO={key:1,class:"profile"},tO={class:"profile-dropdown"},nO={class:"profile-dropdown-box"},iO={class:"profile-header"},sO={class:"profile-user"},rO=["src"],oO={class:"profile-info"},aO=["title"],lO=["title"],cO={class:"profile-dropdown-box"},uO={class:"profile-dropdown-box"},dO={class:"profile-dropdown-box"},fO=["aria-expanded"],hO=gt({__name:"WebHeader",setup(t){const{user:e}=tn(),{startStream:n,stop:i}=XI(),s=Xe(!1),r=un({learn:!1,paths:!1,useCases:!1,careerKit:!1,studyKit:!1,certificates:!1,business:!1,outcomes:!1}),o={paths:"learn",careerKit:"useCases",studyKit:"useCases"},a=bo(),l=qe(),c=l.public.preLaunch,u=Xe(!1);function d(){u.value=!u.value}const f=ue(()=>{const w=a.query.redirect;return w?.startsWith(l.public.appProtocol)?{redirect:w}:{}}),h=ue(()=>!!(c||["/download-guidy/","/solve-numerical-aptitude-tests/",...db.map(w=>`/${w}/`)].includes(a.path))),m=ue(()=>!!["/download-guidy/","/solve-numerical-aptitude-tests/"].includes(a.path)),p=ue(()=>["/login/","/forgot-password/","/reset-password/","/signup/","/verification/","/verify/","/check-email/","/magic-link/","/onboarding/","/launching/","/download-app/","/free-download/"].includes(a.path)),b=ue(()=>e.value?Qs(e.value?.paid)?"Unlimited":Ua(e.value?.paid)?"":"Free":"");Ut(()=>a.path,(w,y)=>{w!==y&&(g(),s.value=!1)}),Bn(()=>{document.addEventListener("click",v),Ut(()=>!!e.value,w=>{w?n():i()},{immediate:!0})}),lr(()=>{document.removeEventListener("click",v),i()});function _(w){g(w)}function v(w){if(!w.target)return;let y=w.target;y.tagName==="svg"&&y.parentElement?.classList.contains("link")?y=y.parentElement:y.tagName==="path"&&y.parentElement?.parentElement?.classList.contains("link")&&(y=y.parentElement.parentElement);const T=y.classList.contains("link")||!!y.closest(".link"),A=y.classList.contains("hamburger")||!!y.closest(".hamburger"),M=!!y.closest(".submenu"),E=y.nextElementSibling?.classList.contains("submenu")??!1,R=!!y.closest(".profile-dropdown-wrapper");!y.closest(".profile-dropdown-btn")&&(T||!R)&&(u.value=!1),(T&&M&&!E||T&&!E||!y.closest("nav"))&&(g(),A||(s.value=!1))}function g(w){Object.keys(r).forEach(y=>{let T=!1;w&&o[w]===y&&w!==y?T=!0:w&&w===y&&(T=!r[y]),r[y]=T})}return(w,y)=>{const T=Wa,A=Wa,M=jI;return U(),ne("header",{class:et({clear:O(p),"pre-launch":O(h),"logo-short":O(m)})},[z(T,{class:"logo",to:"/"},{default:me(()=>[...y[7]||(y[7]=[D("img",{src:Zy,alt:"Guidy logo",class:"logo-icon"},null,-1)])]),_:1}),O(h)?Be("",!0):(U(),ne("nav",{key:0,class:et({active:O(s)})},[D("ul",null,[D("li",{class:et({active:O(r).useCases})},[D("span",{class:"link",onClick:y[0]||(y[0]=E=>_("useCases"))},[y[8]||(y[8]=le(" Use cases ",-1)),z(O(Tc),{class:"arrow"})]),D("div",JI,[D("span",QI,[D("span",{class:"title",onClick:y[1]||(y[1]=E=>_("resources"))},[z(O(Tc),{class:"arrow"}),y[9]||(y[9]=le("Use cases ",-1))])]),D("ul",null,[D("li",null,[z(A,{to:"/use-cases/ai-for-excel/",class:"link",title:"AI in Excel","data-event":"main_menu_v2_ai-in-excel.click"},{default:me(()=>[z(O(Jy),{class:"icon"}),y[10]||(y[10]=le(" AI for Excel ",-1))]),_:1})]),D("li",null,[z(A,{to:"/use-cases/ai-assistant-for-work/",class:"link",title:"AI Assistant for work","data-event":"main_menu_v2_ai-assistant-for-work.click"},{default:me(()=>[z(O(eb),{class:"icon"}),y[11]||(y[11]=le(" AI Assistant for work ",-1))]),_:1})]),D("li",null,[z(A,{to:"/use-cases/ai-form-filler/",class:"link",title:"AI form filler","data-event":"main_menu_v2_ai-form-filler.click"},{default:me(()=>[z(O(nb),{class:"icon"}),y[12]||(y[12]=le(" AI form filler ",-1))]),_:1})]),D("li",null,[z(A,{to:"/use-cases/ai-for-administrative-tasks/",class:"link",title:"AI for administrative tasks","data-event":"main_menu_v2_ai-for-administrative-tasks.click"},{default:me(()=>[z(O(sb),{class:"icon"}),y[13]||(y[13]=le(" AI for admin tasks ",-1))]),_:1})]),D("li",null,[z(A,{to:"/use-cases/ai-code-fixer/",class:"link",title:"AI code fixer","data-event":"main_menu_v2_ai-code-fixer.click"},{default:me(()=>[z(O(ob),{class:"icon"}),y[14]||(y[14]=le(" AI code fixer ",-1))]),_:1})])]),D("ul",null,[D("li",null,[z(A,{to:"/use-cases/ai-for-seniors/",class:"link",title:"AI for seniors","data-event":"main_menu_v2_ai-for-seniors.click"},{default:me(()=>[z(O(lb),{class:"icon"}),y[15]||(y[15]=le(" AI for seniors ",-1))]),_:1})]),D("li",null,[z(A,{to:"/use-cases/ai-for-software-onboarding/",class:"link",title:"AI for onboarding","data-event":"main_menu_v2_ai-for-software-onboarding.click"},{default:me(()=>[z(O(ub),{class:"icon"}),y[16]||(y[16]=le(" AI for onboarding ",-1))]),_:1})]),Be("",!0)])])],2),D("li",null,[z(T,{to:"/blog/",class:"link",title:"Blog","data-event":"main_menu_v2_blog.click"},{default:me(()=>[...y[31]||(y[31]=[le(" Blog ",-1)])]),_:1})]),D("li",null,[z(T,{to:"/security/",class:"link",title:"Security","data-event":"main_menu_v2_security.click"},{default:me(()=>[...y[32]||(y[32]=[le(" Security ",-1)])]),_:1})]),D("li",null,[z(T,{to:"/pricing/",class:"link",title:"Pricing","data-event":"main_menu_v2_pricing.click"},{default:me(()=>[...y[33]||(y[33]=[le(" Pricing ",-1)])]),_:1})])])],2)),O(h)?Be("",!0):(U(),ne("div",eO,[O(e)?(U(),ne(Ve,{key:0},[z(T,{to:"/plan-and-billing/",class:"btn-primary mobile-only",t
14itle:"Plan and billing","data-event":"main_menu_v2_plan-and-billing.click"},{default:me(()=>[...y[34]||(y[34]=[le(" My account ",-1)])]),_:1}),D("div",{class:et(["profile-dropdown-wrapper desktop-only",{active:O(u)}])},[D("span",{class:"btn-primary profile-dropdown-btn",onClick:d},[le(Oe(O(e).name?`Hi, ${O(e).name.split(" ")[0]}`:"My Guidy")+" ",1),z(O(Tc))]),D("div",tO,[D("div",nO,[D("div",iO,[D("div",sO,[D("img",{src:O(hA)(O(e).image),alt:"Picture of the user"},null,8,rO),D("div",oO,[O(e).name?(U(),ne("p",{key:0,class:"profile-name",title:O(e).name},Oe(O(e).name),9,aO)):Be("",!0),D("p",{class:"profile-email",title:O(e).email},Oe(O(e).email),9,lO)])]),O(b)?(U(),ne("div",{key:0,class:et(["profile-badge",`profile-badge-${O(b).toLowerCase()}`])},Oe(O(b)),3)):Be("",!0)]),z(M)]),D("ul",cO,[D("li",{class:et({active:O(a).path==="/plan-and-billing/"})},[z(T,{to:"/plan-and-billing/",class:"link",title:"Plan and billing"},{default:me(()=>[...y[35]||(y[35]=[le("Plan and billing",-1)])]),_:1})],2),D("li",{class:et({active:O(a).path==="/settings/"})},[z(T,{to:"/settings/",class:"link",title:"Settings"},{default:me(()=>[...y[36]||(y[36]=[le("Account settings",-1)])]),_:1})],2)]),D("ul",uO,[D("li",{class:et(["desktop-only",{active:O(a).path==="/download/"}])},[z(T,{to:"/download/",class:"link",title:"Download App"},{default:me(()=>[...y[37]||(y[37]=[le("Download App",-1)])]),_:1})],2),Be("",!0)]),D("ul",dO,[D("li",null,[z(T,{to:"/logout/",class:"link logout",title:"Log out","data-event":"main_menu_v2_log_out.click"},{default:me(()=>[...y[39]||(y[39]=[le(" Sign out ",-1)])]),_:1})])])])],2),O(Qs)(O(e).paid)?Be("",!0):(U(),_t(T,{key:0,to:"/pricing/",class:"link upgrade",title:"Upgrade","data-event":"main_menu_v2_upgrade.click"},{default:me(()=>[...y[40]||(y[40]=[le(" Upgrade ",-1)])]),_:1}))],64)):(U(),ne(Ve,{key:1},[z(T,{to:{path:"/signup/",query:O(f)},class:"btn-primary",title:"Try for free","data-event":"main_menu_v2_sign_up.click"},{default:me(()=>[...y[41]||(y[41]=[le(" Try for free ",-1)])]),_:1},8,["to"]),z(T,{to:{path:"/login/",query:O(f)},class:"link login",title:"Log in","data-event":"main_menu_v2_log_in.click"},{default:me(()=>[...y[42]||(y[42]=[le(" Log in ",-1)])]),_:1},8,["to"])],64))])),O(h)?Be("",!0):(U(),ne("button",{key:2,class:et([{active:O(s)},"hamburger"]),type:"button","aria-label":"Menu","aria-expanded":O(s)?"true":"false",onClick:y[6]||(y[6]=E=>s.value=!O(s))},[...y[43]||(y[43]=[D("span",{class:"hamburger-line"},null,-1)])],10,fO))],2)}}}),fb=Object.assign(zn(hO,[["__scopeId","data-v-5341fbc5"]]),{__name:"WebHeader"}),hb=(t="RouteProvider")=>gt({name:t,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const n=e.renderKey,i=e.route,s={};for(const r in e.route)Object.defineProperty(s,r,{get:()=>n===e.renderKey?e.route[r]:i[r],enumerable:!0});return ss(bl,Rn(s)),()=>e.vnode?pt(e.vnode,{ref:e.vnodeRef}):e.vnode}}
14),pO=hb(),gm=new WeakMap,mO=gt({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(t,{attrs:e,slots:n,expose:i}){const s=He(),r=Xe(),o=Ct(bl,null);let a;i({pageRef:r});const l=Ct(Cx,null);let c;const u=s.deferHydration();let d=!1,f=0;if(s.isHydrating){const m=s.hooks.hookOnce("app:error",u);vt().beforeEach(m)}t.pageKey&&Ut(()=>t.pageKey,(m,p)=>{m!==p&&s.callHook("page:loading:start")});let h=!1;{const m=vt().beforeResolve(()=>{h=!1});_s(()=>{m(),u()})}return()=>pt(K0,{name:t.name,route:t.route,...e},{default:m=>{const p=gO(o,m.route,m.Component),b=o&&o.matched.length===m.route.matched.length;if(!m.Component){if(c&&!b)return c;u();return}if(c&&l&&!l.isCurrent(m.route))return c;if(p&&o&&(!l||l?.isCurrent(o)))return b||c?c:null;const _=iu(m,t.pageKey),v=_O(o,m.route,m.Component);!s.isHydrating&&a===_&&!v&&li(()=>{h||(h=!0,s.callHook("page:loading:end"))}),d&&a!==_&&f++,a=_;const g=!!(t.transition??m.route.meta.pageTransition??Lf),w=g&&EA([t.transition,m.route.meta.pageTransition,Lf,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",m.Component)}}]),y=t.keepalive??m.route.meta.keepalive??ux;return c=vA(g&&w,H2(y,pt(Dg,{key:f,suspensible:!0,onPending:()=>{d=!0,g&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(T=>{s["~transitionFinish"]=T})),s.callHook("page:start",m.Component)}
14,onResolve:async()=>{d=!1;try{await li(),s._route.sync?.(),await s.callHook("page:finish",m.Component),!h&&!v&&(h=!0,await s.callHook("page:loading:end"))}finally{u()}}},{default:()=>{const T={key:_||void 0,vnode:n.default?yO(n.default,m):m.Component,route:m.route,renderKey:_||void 0,trackRootNodes:g,vnodeRef:r};if(!y)return pt(pO,T);const A=m.Component.type,M=A;let E=gm.get(M);return E||(E=hb(A.name||A.__name),gm.set(M,E)),pt(E,T)}}))).default(),c}})}});function gO(t,e,n){if(!t)return!1;const i=e.matched.findIndex(s=>s.components?.default===n?.type);return!i||i===-1?!1:e.matched.slice(0,i).some((s,r)=>s.components?.default!==t.matched[r]?.components?.default)||n&&iu({route:e,Component:n})!==iu({route:t,Component:n})}function _O(t,e,n){return t?e.matched.findIndex(s=>s.components?.default===n?.type)<e.matched.length-1:!1}function yO(t,e){const n=t(e);return n.length===1?pt(n[0]):pt(Ve,void 0,n)}const bO=_l("/images/logo-toolpilot.webp"),vO={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function wO(t,e){return U(),ne("svg",vO,[...e[0]||(e[0]=[D("path",{fill:"currentColor","fill-rule":"evenodd",d:"M3 4.504A1.504 1.504 0 0 1 4.504 3h14.99A1.503 1.503 0 0 1 21 4.504v14.99A1.505 1.505 0 0 1 19.495 21H4.504A1.503 1.503 0 0 1 3 19.495zm7.125 5.359h2.437v1.224c.352-.704 1.252-1.337 2.604-1.337 2.593 0 3.208 1.401 3.208 3.973v4.763H15.75V14.31c0-1.465-.352-2.291-1.245-2.291-1.24 0-1.756.89-1.756 2.29v4.178h-2.624zm-4.5 8.511h2.624V9.75H5.625zm3-11.437a1.688 1.688 0 1 1-3.375.074 1.688 1.688 0 0 1 3.375-.074","clip-rule":"evenodd"},null,-1)])])}const xO={render:wO},kO={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function SO(t,e){return U(),ne("svg",kO,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"},null,-1),D("path",{fill:"currentColor",d:"M16.125 2.625h-8.25a5.256 5.256 0 0 0-5.25 5.25v8.25a5.256 5.256 0 0 0 5.25 5.25h8.25a5.256 5.256 0 0 0 5.25-5.25v-8.25a5.256 5.256 0 0 0-5.25-5.25M12 16.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9m4.875-8.25a1.125 1.125 0 1 1 0-2.25 1.125 1.125 0 0 1 0 2.25"},null,-1)])])}const TO={render:SO},AO={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function CO(t,e){return U(),ne("svg",AO,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M18.182 6.564a4 4 0 0 1-.374-.218 5.3 5.3 0 0 1-.96-.816 4.53 4.53 0 0 1-1.083-2.234h.004c-.083-.483-.049-.796-.043-.796h-3.264v12.618q.002.255-.007.502 0 .03-.003.062 0 .015-.002.028v.007a2.77 2.77 0 0 1-1.394 2.2 2.7 2.7 0 0 1-1.35.356 2.76 2.76 0 0 1-2.752-2.77 2.76 2.76 0 0 1 2.752-2.772c.288 0 .574.045.848.135l.003-3.323a6.06 6.06 0 0 0-4.67 1.366 6.4 6.4 0 0 0-1.397 1.723c-.138.238-.658 1.192-.72 2.741-.04.88.224 1.79.35 2.166v.008c.079.222.385.978.885 1.616.404.511.88.96 1.414 1.333v-.008l.008.008c1.58 1.074 3.33 1.003 3.33 1.003.304-.012 1.32 0 2.473-.546a6.2 6.2 0 0 0 2.008-1.509 6.3 6.3 0 0 0 1.094-1.818 6.8 6.8 0 0 0 .394-2.08V8.854c.04.024.566.372.566.372s.76.487 1.945.804c.85.226 1.996.273 1.996.273v-3.24c-.402.044-1.217-.082-2.051-.498"},null,-1)])])}const EO={render:CO},MO={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function PO(t,e){return U(),ne("svg",MO,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M16.468 13.2 17 9.724h-3.334V7.47c0-.95.465-1.878 1.959-1.878h1.515V2.634s-1.375-.234-2.69-.234c-2.746 0-4.54 1.664-4.54 4.677v2.648H6.859V13.2H9.91v8.4h3.756v-8.4z"},null,-1)])])}const IO={render:PO},OO={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"};function RO(t,e){return U(),ne("svg",OO,[...e[0]||(e[0]=[D("path",{fill:"currentColor",d:"M23.503 6.204a3.01 3.01 0 0 0-2.09-2.086c-1.872-.5-9.397-.5-9.397-.5s-7.51-.013-9.402.5A3 3 0 0 0 .527 6.204a31 31 0 0 0-.522 5.81C0 13.955.176 15.89.527 17.799a3.02 3.02 0 0 0 2.087 2.09c1.872.5 9.402.5 9.402.5s7.506 0 9.396-.5a3.02 3.02 0 0 0 2.091-2.09c.345-1.907.513-3.845.5-5.783a31.4 31.4 0 0 0-.5-5.81M9.612 15.606V8.408l6.264 3.607z"},null,-1)])])}const DO={render:RO},LO={key:0,class:"content container"},NO={class:"connect"},$O={key:1,class:"badges container"},FO={class:"copyright"},HO={class:"container"},jO={key:0},BO={key:1},VO=gt({__name:"WebFooter",props:{small:{type:Boolean}},setup(t){const e=new Date().getFullYear(),n=t;return(i,s)=>{const r=Wa;return U(),ne("footer",{class:et({small:n.small})},[n.small?Be("",!0):(U(),ne("div",LO,[z(r,{class:"logo",to:"/"},{default:me(()=>[...s[0]||(s[0]=[D("img",{src:Zy,alt:"Guidy logo",class:"logo-icon"},null,-1)])]),_:1}),D("ul",null,[s[5]||(s[5]=D("li",null,"COMPANY",-1)),D("li",null,[z(r,{to:"/"},{default:me(()=>[...s[1]||(s[1]=[le("Home",-1)])]),_:1})]),D("li",null,[z(r,{to:"/pricing/"},{default:me(()=>[...s[2]||(s[2]=[le("Pricing",-1)])]),_:1})]),D("li",null,[z(r,{to:"/security/"},{default:me(()=>[...s[3]||(s[3]=[le("Security",-1)])]),_:1})]),D("li",null,[z(r,{to:"/blog/"},{default:me(()=>[...s[4]||(s[4]=[le("Blog",-1)])]),_:1})])]),D("ul",null,[s[13]||(s[13]=D("li",null,"USE CASES",-1)),D("li",null,[z(r,{to:"/use-cases/ai-for-excel/"},{default:me(()=>[...s[6]||(s[6]=[le("AI for Excel",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-assistant-for-work/"},{default:me(()=>[...s[7]||(s[7]=[le("AI assistant for work",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-form-filler/"},{default:me(()=>[...s[8]||(s[8]=[le("AI form filler",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-for-administrative-tasks/"},{default:me(()=>[...s[9]||(s[9]=[le("AI for admin tasks",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-code-fixer/"},{default:me(()=>[...s[10]||(s[10]=[le("AI code fixer",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-for-seniors/"},{default:me(()=>[...s[11]||(s[11]=[le("AI for seniors",-1)])]),_:1})]),D("li",null,[z(r,{to:"/use-cases/ai-for-software-onboarding/"},{default:me(()=>[...s[12]||(s[12]=[le("AI for software onboarding",-1)])]),_:1})])]),D("ul",null,[s[15]||(s[15]=D("li",null,"SUPPORT",-1)),D("li",null,[z(r,{to:"/contact-us/"},{default:me(()=>[...s[14]||(s[14]=[le("Contact us",-1)])]),_:1})])]),D("ul",NO,[s[21]||(s[21]=D("li",null,"CONNECT",-1)),D("li",null,[z(r,{target:"_blank",rel:"noopener noreferrer",to:"https://www.linkedin.com/company/getguidy/"},{default:me(()=>[z(O(xO)),s[16]||(s[16]=le(" LinkedIn",-1))]),_:1})]),D("li",null,[z(r,{target:"_blank",rel:"noopener noreferrer",to:"https://www.instagram.com/getguidy/"},{default:me(()=>[z(O(TO)),s[17]||(s[17]=le(" Instagram",-1))]),_:1})]),D("li",null,[z(r,{target:"_blank",rel:"noopener noreferrer",to:"https://www.tiktok.com/@get.guidy"},{default:me(()=>[z(O(EO)),s[18]||(s[18]=le(" TikTok",-1))]),_:1})]),D("li",null,[z(r,{target:"_blank",rel:"noopener noreferrer",to:"https://www.facebook.com/profile.php?id=61590218560785"},{default:me(()=>[z(O(IO)),s[19]||(s[19]=le(" Facebook",-1))]),_:1})]),D("li",null,[z(r,{target:"_blank",rel:"noopener noreferrer",to:"https://www.youtube.com/@getguidy?si=Cgjdq5oRlKfXMDib"},{default:me(()=>[z(O(DO)),s[20]||(s[20]=le(" Youtube",-1))]),_:1})])])])),n.small?Be("",!0):(U(),ne("div",$O,[...s[22]||(s[22]=[pl('<a target="_blank" href="https://aitoptools.com/?post_type=tool&p=204113" title="Guidy" data-v-afdf0100><img src="https://aitoptools.com/wp-content/uploads/2024/01/promote-embed.png" width="158" height="42" alt="Verified on AI Top Tools" data-v-afdf0100></a><a href="https://theresanaiforthat.com/ai/guidy-ai-desktop-assistant/?ref=featured&v=11191198" target="_blank" rel="nofollow" data-v-afdf0100><img src="https://media.theresanaiforthat.com/featured-on-taaft.png?width=202" alt="Verified on There's an AI for that" width="201" height="42" data-v-afdf0100></a><a href="https://dang.ai/tool/guidy-ai-ai-desktop-assistant" target="_blank" rel="dofollow noopener" class="dang-badge" data-v-afdf0100><img src="https://assets.dang.ai/badges/dang-verified-light.png" alt="Verified on DANG!" width="117" height="42" data-v-afdf0100></a><a href="https://www.toolpilot.ai/products/guidy?_pos=1&_sid=8b2ed0c93&_ss=r" target="_blank" rel="nofollow" data-v-afdf0100><img src="'+bO+'" alt="Verified on Toolpilot" width="191" height="42" data-v-afdf0100></a><a href="https://fazier.com/launches/guidy" target="_blank" data-v-afdf0100><img src="https://fazier.com/api/v1/public/badges/embed_image.svg?launch_id=10276&badge_type=featured&theme=neutral" alt="Fazier badge" width="194" height="42" data-v-afdf0100></a><a target="_blank" href="https://betalist.com/startups/guidy?utm_campaign=badge-guidy&utm_medium=badge&utm_source=badge-featured" data-v-afdf0100><img alt="Guidy - Real-time guidance for any software | BetaList" src="https://betalist.com/badges/featured?id=172200&theme=color" width="121" height="42" data-v-afdf0100></a>',6)])])),D("div",FO,[D("div",HO,[D("p",null,"© "+Oe(O(e))+" GUIDY · All rights reserved.",1),D("ul",null,[n.small?Be("",!0):(U(),ne("li",jO,[z(r,{to:"/sitemap/"},{default:me(()=>[...s[23]||(s[23]=[le(" Sitemap ",-1)])]),_:1})])),D("li",null,[z(r,{to:"/terms-of-use/"},{default:me(()=>[...s[24]||(s[24]=[le(" Terms of Use ",-1)])]),_:1})]),D("li",null,[z(r,{to:"/privacy-policy/"},{default:me(()=>[...s[25]||(s[25]=[le(" Privacy Policy ",-1)])]),_:1})]),n.small?Be("",!0):(U(),ne("li",BO,[z(r,{to:"/cookie-policy/"},{default:me(()=>[...s[26]||(s[26]=[le(" Cookies ",-1)])]),_:1})]))])])])],2)}}}),pb=Object.assign(zn(VO,[["__scopeId","data-v-afdf0100"]]),{__name:"WebFooter"}),Mu="__inspect",zO=512,UO=2048;function Ac(t){return typeof t!="string"?void 0:t.trim().slice(0,zO)||void 0}function _m(t){if(!(typeof t!="number"||!Number.isFinite(t)||t<0))return Math.floor(t)}function D6(t){if(!t.path)return null;const e={name:t.name,...t.section?{section:t.section}:{},...t.href?{href:t.href}:{},clicks:t.clicks,visitors:t.visitors};return`${t.path}?${Mu}=${encodeURIComponent(JSON.stringify(e))}`}function WO(t){const e=Array.isArray(t)?t[0]:t;if(typeof e!="string"||e.length>UO)return null;let n;try{n=JSON.parse(e)}catch{return null}if(typeof n!="object"||n===null)return null;const i=n,s=Ac(i.name);if(!s)return null;const r=Ac(i.section),o=Ac(i.href),a=_m(i.clicks),l=_m(i.visitors);return{name:s,...r?{section:r}:{},...o?{href:o}:{},...a!==void 0?{clicks:a}:{},...l!==void 0?{visitors:l}:{}}}function qO(t){const e=t.getBoundingClientRect();return e.width>0&&e.height>0}function GO(t,e){let n=0;return t.section!==void 0&&t.section===e.section&&(n+=2),t.href!==void 0&&t.href===e.href&&(n+=1),n}function KO(t,e=document){const n=new Set;let i=null,s=0;for(const r of e.querySelectorAll(NP)){const o=By(r);if(!o||n.has(o))continue;n.add(o);const a=Vy(o);if(!a||a.name!==t.name)continue;s+=1;const l=qO(o),c=(l?10:0)+GO(t,a);(!i||c>i.rank)&&(i={element:o,target:a,rank:c,visible:l})}return i?{element:i.element,name:i.target.name,elementType:i.target.elementType,...i.target.elementText!==void 0?{elementText:i.target.elementText}:{},visible:i.visible,total:s}:null}const YO={key:0,class:"inspector","data-track-ignore":""},ZO={class:"inspector-card-head"},XO={class:"inspector-name"},JO={key:0,class:"inspector-text"},QO={class:"inspector-stats"},eR={key:0},tR={key:1},nR={key:1,class:"inspector-note"}
14,iR={key:1,class:"inspector-toast","data-inspector-card":""},sR={key:0},rR={key:1},oR=268,Cc=8,aR=12,lR=125,ym=7e3,cR=gt({__name:"ElementInspector",setup(t){const e=bo(),n=vt(),i=Xe(null),s=Xe(null),r=Xe(!1),o=Xe({top:0,left:0,width:0,height:0,bottom:0});let a=0,l;const c=ue(()=>({top:`${o.value.top}px`,left:`${o.value.left}px`,width:`${o.value.width}px`,height:`${o.value.height}px`})),u=ue(()=>{const w=window.innerHeight-o.value.bottom>160||o.value.top<160,y=Math.min(Math.max(o.value.left,Cc),Math.max(window.innerWidth-oR-Cc,Cc));return w?{top:`${o.value.bottom+12}px`,left:`${y}px`}:{bottom:`${window.innerHeight-o.value.top+12}px`,left:`${y}px`}});function d(v){const g=v.getBoundingClientRect();o.value={top:g.top,left:g.left,width:g.width,height:g.height,bottom:g.bottom},a=requestAnimationFrame(()=>d(v))}function f(){a&&cancelAnimationFrame(a),a=0,l&&clearTimeout(l),l=void 0,document.removeEventListener("keydown",h),document.removeEventListener("click",m),i.value=null,s.value=null,r.value=!1}function h(v){v.key==="Escape"&&f()}function m(v){v.target?.closest("[data-inspector-card]")||f()}function p(){return new Promise(v=>requestAnimationFrame(()=>v()))}function b(v){return new Promise(g=>setTimeout(g,v))}async function _(v){let g=null;for(let w=0;w<aR;w++){const y=KO(v);if(y?.visible)return y;y&&(g=y),await b(lR)}return g}return Bn(async()=>{const v=WO(e.query[Mu]);if(!v)return;i.value=v,await li(),await p();const g=await _(v),w=Object.fromEntries(Object.entries(e.query).filter(([y])=>y!==Mu));if(await n.replace({path:e.path,query:w,hash:e.hash}),document.addEventListener("keydown",h),!g){r.value=!0,l=setTimeout(f,ym);return}if(s.value=g,!g.visible){l=setTimeout(f,ym);return}g.element.scrollIntoView({behavior:"smooth",block:"center"}),d(g.element),requestAnimationFrame(()=>document.addEventListener("click",m))}),_s(()=>{document.removeEventListener("keydown",h),document.removeEventListener("click",m),f()}),(v,g)=>O(s)||O(r)?(U(),ne("div",YO,[O(s)?.visible?(U(),ne(Ve,{key:0},[D("div",{class:"inspector-ring",style:ls(O(c))},null,4),D("div",{class:"inspector-card",style:ls(O(u)),"data-inspector-card":""},[D("div",ZO,[D("span",XO,Oe(O(s).name),1),D("button",{type:"button",class:"inspector-close","aria-label":"Close inspector",onClick:f}," Ã ")]),O(s).elementText?(U(),ne("p",JO,"â"+Oe(O(s).elementText)+"â",1)):Be("",!0),D("dl",QO,[O(i)?.clicks!==void 0?(U(),ne("div",eR,[g[0]||(g[0]=D("dt",null,"Clicks",-1)),D("dd",null,Oe(O(i).clicks.toLocaleString()),1)])):Be("",!0),O(i)?.visitors!==void 0?(U(),ne("div",tR,[g[1]||(g[1]=D("dt",null,"Visitors",-1)),D("dd",null,Oe(O(i).visitors.toLocaleString()),1)])):Be("",!0),D("div",null,[g[2]||(g[2]=D("dt",null,"Type",-1)),D("dd",null,Oe(O(s).elementType),1)])]),O(s).total>1?(U(),ne("p",nR,Oe(O(s).total)+" elements on this page report this name â showing the closest match. ",1)):Be("",!0),g[3]||(g[3]=D("p",{class:"inspector-hint"},"Esc or click anywhere to dismiss",-1))],4)],64)):(U(),ne("div",iR,[O(s)?(U(),ne("span",sR,[D("strong",null,Oe(O(s).name),1),g[4]||(g[4]=le(" is on this page but isnât visible at this window size â it may sit inside a collapsed menu or only appear on mobile. Narrow the window, or open the menu, and click the row again. ",-1))])):(U(),ne("span",rR,[g[5]||(g[5]=le(" Couldnât find ",-1)),D("strong",null,Oe(O(i)?.n
14ame),1),g[6]||(g[6]=le(" on this page â it may be behind a menu, or the markup has changed since the click. ",-1))])),D("button",{type:"button",class:"inspector-close","aria-label":"Dismiss",onClick:f},"Ã")]))])):Be("",!0)}}),uR=Object.assign(zn(cR,[["__scopeId","data-v-a64c230e"]]),{__name:"ElementInspector"});function dR(t,e){const{path:n,type:i,...s}=t;return{...s,url:new URL(n,e).toString(),type:i}}const jt={name:"Guidy",legalName:"Guidy",logo:"/images/logo.png",ogImage:{path:"/og-guidy.webp",width:1200,height:628,type:"image/webp",alt:"Guidy â the AI desktop assistant for real-time help"},productImage:"/images/guidy-app.webp",description:"AI desktop assistant for Windows and MacOS that reads your screen and guides you through any task, step by step, in real timeâon any software or website.",contactPath:"/contact-us/",social:[],pricing:{earlyBird:49,standard:69,currency:"USD",earlyBirdValidUntil:"2026-06-15"}};function mb(t){const e=un({});return eg(()=>{const n=He().$nuxtSiteConfig.get(yl({resolveRefs:!0},t));e&&n&&Object.assign(e,n)}),delete e._priority,e}function nn(t,e){t||(t={});const n=Je(t)?t.value:t;return n._resolver=e,t}function gb(t){return nn(t,"article")}function fR(t){return nn(t,"breadcrumb")}function hR(t){return nn(t,"howTo")}function pR(t){return nn(t,"howToStep")}function bm(t){return nn(t,"offer")}function mR(t){return nn(t,"organization")}function gR(t){return nn(t,"product")}function _R(t){return nn(t,"question")}function _b(t){return nn(t,"video")}function yR(t){return nn(t,"webPage")}function bR(t){return nn(t,"webSite")}function vR(t){return nn(t,"itemList")}function wR(t){return nn(t,"listItem")}function Dt(t){return/^https?:\/\//i.test(t)?t:new URL(t,mb().url).toString()}function xR(){return mR({name:jt.name,legalName:jt.legalName,url:Dt("/"),logo:Dt(jt.logo),description:jt.description,...jt.social.length?{sameAs:jt.social}:{},contactPoint:{"@type":"ContactPoint",contactType:"customer support",url:Dt(jt.contactPath)}})}function kR(){return bR({name:jt.name,url:Dt("/")})}function L6(t={}){const{type:e="WebPage",speakable:n}=t;return yR({"@type":e,...n?{speakable:{"@type":"SpeakableSpecification",cssSelector:n}}:{}})}function N6(t){return t.map(e=>_R({name:e.question,acceptedAnswer:e.answer}))}function $6(t){return fR({itemListElement:t.map(e=>({name:e.name,item:Dt(e.path)}))})}function F6(t){const{description:e,featureList:n,preLaunch:i,offerPath:s="/",downloadPath:r}=t,{earlyBird:o,standard:a,currency:l,earlyBirdValidUntil:c}=jt.pricing,u=i?"PreOrder":"InStock",d=Dt(s),f=void 0;return gR({"@type":["SoftwareApplication","Product"],name:jt.name,description:e,image:Dt(jt.productImage),applicationCategory:"ProductivityApplication",operatingSystem:"Windows, macOS",url:Dt("/"),...r?{downloadUrl:Dt(r)}:{},featureList:n,offers:[bm({name:"Early bird (beta)",price:o.toFixed(2),priceCurrency:l,availability:u,priceValidUntil:c,url:d}),bm({name:"Standard",price:a.toFixed(2),priceCurrency:l,availability:u,url:d})],...f?{aggregateRating:f}:{}})}function H6(t){const{name:e,description:n,totalTime:i,steps:s}=t;return hR({name:e,description:n,totalTime:i,tool:[{"@type":"HowToTool",name:jt.name}],step:s.map(r=>pR({name:r.title,text:r.description}))})}function j6(t){return vR({name:"What Guidy can do",itemListElement:t.map(e=>wR({name:e.title}))})}function yb(t){return t?{image:Dt(`/resources/blog/${t}`)}:{}}function B6(t){return gb({"@type":"BlogPosting",headline:t.title,description:t.excerpt,...yb(t.image),url:Dt(`/blog/${t.slug}/`),datePublished:t.publishedAt,dateModified:t.updatedAt,author:{"@type":"Organization",name:t.author}})}function SR(t){return t.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()}function V6(t){const e=SR(t.body);return gb({"@type":"BlogPosting",headline:t.title,description:t.metaDescription||t.excerpt,...yb(t.image),url:Dt(`/blog/${t.slug}/`),datePublished:t.publishedAt,dateModified:t.updatedAt,author:{"@type":"Organization",name:t.author},articleBody:e,wordCount:e?e.split(" ").length:0,inLanguage:"en"})}function z6(){return null}function U6(t){return t.filter(e=>e.video&&e.poster&&e.uploadDate&&(e.caption||e.moreText)).map(e=>_b({name:e.label,description:e.caption||e.moreText,thumbnailUrl:Dt(e.poster),contentUrl:Dt(`/images/${e.video}`),uploadDate:e.uploadDate,...e.duration?{duration:e.duration}:{}}))}function W6(t,e){const{accountId:n,playerId:i="default"}=e;return n?t.filter(s=>s.videoId&&s.poster&&s.uploadDate).map(s=>_b({name:`${jt.name} testimonial â ${s.name}`,description:s.summary||s.transcript,thumbnailUrl:Dt(`/images/${s.poster}`),uploadDate:s.uploadDate,embedUrl:`https://players.brightcove.net/${n}/${i}_default/index.html?videoId=${s.videoId}`,...s.duration?{duration:s.duration}:{},...s.transcript?{transcript:s.transcript}:{}})):[]}function TR(){return yl(qe().public["nuxt-schema-org"],{scriptAttributes:{}})}function AR(t){const e=TR(),n=He(),s={type:"application/ld+json",key:"schema-org-graph",nodes:Je(t)?ue(()=>n.runWithContext(()=>t.value)):t,tagPriority:"high",...e.scriptAttributes};if(e?.reactive)return fi({script:[s]})}const CR=gt({__name:"app",setup(t){const{state:e}=Ms();AR([xR(),kR()]);const n=mb(),i=dR(jt.ogImage,n.url);dk({ogType:"website",ogSiteName:n.name,ogImage:i,twitterCard:"summary_large_image",twitterImage:i.url});const s=bo(),r=ue(()=>{const u=s.path,d=u.endsWith("/")||/\.[^/]+$/.test(u)?u:`${u}/`;return new URL(d,n.url).toString()});fi({link:[{rel:"canonical",key:"canonical",href:r}]});const o=qe().public.preLaunch,a=ue(()=>!!(o||[...db.map(u=>`/${u}/`)].includes(s.path))),l=ue(()=>["/login/","/forgot-password/","/reset-password/","/signup/","/verification/","/verify/","/check-email/","/magic-link/","/onboarding/","/launching/","/download-app/","/free-download/","/thank-you/","/download-guidy/","/solve-numerical-aptitude-tests/"].includes(s.path)),c=ue(()=>!1);return(u,d)=>{const f=ZP,h=fb,m=mO,p=pb,b=uR,_=nC;return U(),ne(Ve,null,[O(c)?(U(),_t(f,{key:0})):Be("",!0),z(h),D("main",null,[z(m)]),O(l)?Be("",!0):(U(),_t(p,{key:1,small:O(a)},null,8,["small"])),z(_,null,{default:me(()=>[O(e).component?(U(),_t(Gu(O(e).component),Eb(jg({key:0},O(e).props)),null,16)):Be("",!0),z(b)]),_:1})],64)}}}),ER={"data-animation":"fade-in-up"},MR={key:0},PR={key:1},vm=10,wm=.2,IR=gt({__name:"error",props:{error:{}},setup(t){const e=t,n=ue(()=>e.error.status===404?"We couldn't find the page you're looking for."
14:e.error.message||"An unexpected error occurred."),i=Xe(null);let s=null,r=0,o=0,a=0,l=0;function c(d){const f=window.innerWidth/2,h=window.innerHeight/2;a=-((d.clientX-f)/f)*vm,l=-((d.clientY-h)/h)*vm}function u(){r+=(a-r)*wm,o+=(l-o)*wm,i.value&&(i.value.style.transform=`translate(${r}px, ${o}px)`),s=requestAnimationFrame(u)}return Bn(()=>{window.addEventListener("mousemove",c),s=requestAnimationFrame(u)}),lr(()=>{window.removeEventListener("mousemove",c),s!==null&&cancelAnimationFrame(s)}),(d,f)=>(U(),ne(Ve,null,[z(fb),D("main",{class:et(["container error-layout",[`error-${t.error.status}`]])},[D("div",ER,[t.error.status===404?(U(),ne("h1",MR,[f[0]||(f[0]=le("4",-1)),D("span",{ref_key:"mascotRef",ref:i,class:"mascot"},[z(O(Eu),{class:"eye left","data-animation":"pop-in-bouncy","data-animation-delay":"200ms"}),z(O(Eu),{class:"eye right","data-animation":"pop-in-bouncy","data-animation-delay":"300ms"})],512),f[1]||(f[1]=le("4",-1))])):(U(),ne("h1",PR,Oe(t.error.status),1)),D("p",null,Oe(O(n)),1),f[2]||(f[2]=D("a",{href:"/",class:"btn-primary btn-lg"},"Back to homepage",-1))])],2),z(pb)],64))}}),OR=zn(IR,[["__scopeId","data-v-6069e4ee"]]),RR={key:0},xm={__name:"nuxt-root",setup(t){const e=()=>null,n=He(),i=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",i);vt().beforeEach(c)}const s=!1;ss(bl,bo()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const r=vl(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;fg((c,u,d)=>{if(n.hooks.callHook("vue:error",c,u,d)?.catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(v0(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>qi(c)),!1});const l=!1;return(c,u)=>(U(),_t(Dg,{onResolve:O(i)},{default:me(()=>[O(o)?(U(),ne("div",RR)):O(r)?(U(),_t(O(OR),{key:1,error:O(r)},null,8,["error"])):O(l)?(U(),_t(O(e),{key:2,context:O(l)},null,8,["context"])):O(s)?(U(),_t(Gu(O(s)),{key:3})):(U(),_t(O(CR),{key:4}))]),_:1},8,["onResolve"]))}};let km;{let t;km=async function(){if(t)return t;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),i=n?ow(xm):rw(xm),s=_x({vueApp:i});async function r(o){await s.callHook("app:error",o),s.payload.error||=Ai(o)}i.config.errorHandler=r,s.hook("app:suspense:resolve",()=>{i.config.errorHandler===r&&(i.config.errorHandler=void 0)}),!n&&Nf.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Nf.id)?.remove()});try{await vx(s,UP)}catch(o){r(o)}try{await s.hooks.callHook("app:created",i),await s.hooks.callHook("app:beforeMount",i),i.mount(px),await s.hooks.callHook("app:mounted",i),await li()}catch(o){r(o)}return i},t=km().catch(e=>{throw console.error("Error while mounting app:",e),e})}export{kM as $,wc as A,Oe as B,_t as C,R6 as D,VR as E,dk as F,z as G,me as H,Ve as I,nC as J,le as K,Wa as L,Be as M,zn as N,d6 as O,fu as P,Ai as Q,mb as R,AR as S,pg as T,jg as U,dR as V,jt as W,x_ as X,lr as Y,m6 as Z,he as _,$6 as a,NR as a$,t6 as a0,n6 as a1,lA as a2,gI as a3,MM as a4,li as a5,et as a6,t_ as a7,ao as a8,wM as a9,OI as aA,Eb as aB,u1 as aC,Gy as aD,un as aE,h6 as aF,XR as aG,JR as aH,hA as aI,QR as aJ,o6 as aK,a6 as aL,l6 as aM,r6 as aN,jn as aO,g6 as aP,qR as aQ,Y1 as aR,u6 as aS,FR as aT,_6 as aU,W6 as aV,N6 as aW,F6 as aX,H6 as aY,j6 as aZ,z6 as a_,w_ as aa,EM as ab,Ut as ac,tw as ad,HR as ae,LR as af,Af as ag,Je as ah,s6 as ai,x6 as aj,e6 as ak,c6 as al,UR as am,Eu as an,k1 as ao,pi as ap,WR as aq,Gu as ar,hd as as,_s as at,Qd as au,ls as av,er as aw,YR as ax,i6 as ay,ZR as az,L6 as b,Tc as b0,U6 as b1,Di as b2,mv as b3,f6 as b4,eT as b5,tT as b6,pt as b7,$R as b8,jR as b9,k6 as bA,S6 as bB,T6 as bC,A6 as bD,C6 as bE,E6 as bF,M6 as bG,P6 as bH,I6 as bI,O6 as bJ,dm as ba,QP as bb,II as bc,aI as bd,b_ as be,Qs as bf,Ua as bg,fm as bh,wy as bi,y1 as bj,Me as bk,ll as bl,y6 as bm,b6 as bn,__ as bo,X1 as bp,D6 as bq,p6 as br,zu as bs,Uu as bt,DR as bu,rT as bv,oT as bw,zR as bx,BR as by,KR as bz,V6 as c,B6 as d,He as e,bo as f,ue as g,U as h,ne as i,D as j,rC as k,Kr as l,fi as m,pl as n,Bn as o,_l as p,Ms as q,Xe as r,GR as s,tn as t,qe as u,wn as v,gt as w,vt as x,yS as y,O as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.