PageSourceSearch

https://www.vectorworks.net/_nuxt/RBRHAe9y.js

js vectorworks.net collected 2026-09-24 08:51:27 UTC 1,061,790 bytes, 15 lines download raw bytes

vendor: 26,366 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CkmqG4aO.js","./B1VDd-UO.js","./C0TtEBMB.js","./B3B3lhs9.js","./BEGpHWjV.js","./CEDM7Uls.js","./DSMeIVZc.js","./SiteHeader.r2zjPKyp.css","./B0DpvszN.js","./TeHS_aMS.js","./FWMSp9Zt.js","./CXxj1aBc.js","./BD8f_6mp.js","./CoBwi4ft.js","./UtilityNav.ChffyuRW.css","./useContentTags.CLgV5KFz.css","./D9Ww_smJ.js","./END7Gp2G.js","./AlgoliaSearch.kXk9yNF-.css","./CLCvOTYW.js","./C1CrujgG.js","./TheFooter.B58Er9e9.css","./Crvh20PS.js","./Cv8cZn1S.js","./D3LvoI5v.js","./yBRCXI6g.js","./PageBlockPreviewer.DwHeU34e.css","./a4aKdORW.js","./_...YvuUYORt.css","./CAf00r8E.js","./CGpf1iB_.js","./BiuVm6Hi.js","./index.BbDrohd4.css","./rvSStZLW.js","./CG73RPMU.js","./_slug_.Djj7UZJ1.css","./RjWwMfRn.js","./B2EvjwGK.js","./DfFCcso4.js","./vxBNOb8N.js","./hH-Xhz5V.js","./D7G5wkda.js","./RoadmapModal.LH97nQge.css","./index.DVhZ7wkx.css","./CpUhDfVh.js","./updates.80kXr0y3.css","./DSEm5Cmg.js","./CLX8jFxs.js","./OIwaAlxz.js","./DR4ry6X6.js","./BaYmhL4Q.js","./Bx9INujg.js","./DzGtBc0_.js","./EditForm.BhVsYxw5.css","./OuDzwLvQ.js","./DJ6LIrDO.js","./CKyrvvdV.js","./iuVFO2UM.js","./BxatRRRX.js","./newsroom-landing.CFqiOFs-.css","./CFWoNNLw.js","./gpEoWZzc.js","./o1b22CQP.js","./error-404.gyaMx_up.css","./BgY1J84H.js","./error-500.ZVy3sF-U.css"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function $0(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Nt={},gu=[],oi=()=>{},nT=()=>!1,Nd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tm=e=>e.startsWith("onUpdate:"),On=Object.assign,M0=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vF=Object.prototype.hasOwnProperty,Qt=(e,t)=>vF.call(e,t),et=Array.isArray,yu=e=>yc(e)==="[object Map]",gc=e=>yc(e)==="[object Set]",Lw=e=>yc(e)==="[object Date]",gF=e=>yc(e)==="[object RegExp]",pt=e=>typeof e=="function",dn=e=>typeof e=="string",ko=e=>typeof e=="symbol",Gt=e=>e!==null&&typeof e=="object",F0=e=>(Gt(e)||pt(e))&&pt(e.then)&&pt(e.catch),rT=Object.prototype.toString,yc=e=>rT.call(e),yF=e=>yc(e).slice(8,-1),oT=e=>yc(e)==="[object Object]",Am=e=>dn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ul=$0(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Om=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},_F=/-\w/g,Nn=Om(e=>e.replace(_F,t=>t.slice(1).toUpperCase())),bF=/\B([A-Z])/g,qs=Om(e=>e.replace(bF,"-$1").toLowerCase()),Pm=Om(e=>e.charAt(0).toUpperCase()+e.slice(1)),cl=Om(e=>e?`on${Pm(e)}`:""),fr=(e,t)=>!Object.is(e,t),_u=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},iT=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Rm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sT=e=>{const t=dn(e)?Number(e):NaN;return isNaN(t)?e:t};let Nw;const Im=()=>Nw||(Nw=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xn(e){if(et(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=dn(r)?SF(r):Xn(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(dn(e)||Gt(e))return e}const wF=/;(?![^(]*\))/g,kF=/:([^]+)/,EF=/\/\*[^]*?\*\//g;function SF(e){const t={};return e.replace(EF,"").split(wF).forEach(n=>{if(n){const r=n.split(kF);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(dn(e))t=e;else if(et(e))for(let n=0;n<e.length;n++){const r=Qe(e[n]);r&&(t+=r+" ")}else if(Gt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ui(e){if(!e)return null;let{class:t,style:n}=e;return t&&!dn(t)&&(e.class=Qe(t)),n&&(e.style=Xn(n)),e}const CF="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",DF=$0(CF);function aT(e){return!!e||e===""}function xF(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ka(e[r],t[r]);return n}function ka(e,t){if(e===t)return!0;let n=Lw(e),r=Lw(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ko(e),r=ko(t),n||r)return e===t;if(n=et(e),r=et(t),n||r)return n&&r?xF(e,t):!1;if(n=Gt(e),r=Gt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!ka(e[s],t[s]))return!1}}return String(e)===String(t)}function L0(e,t){return e.findIndex(n=>ka(n,t))}const lT=e=>!!(e&&e.__v_isRef===!0),L=e=>dn(e)?e:e==null?"":et(e)||Gt(e)&&(e.toString===rT||!pt(e.toString))?lT(e)?L(e.value):JSON.stringify(e,uT,2):String(e),uT=(e,t)=>lT(t)?uT(e,t.value):yu(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Vv(r,i)+" =>"]=o,n),{})}:gc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vv(n))}:ko(t)?Vv(t):Gt(t)&&!et(t)&&!oT(t)?String(t):t,Vv=(e,t="")=>{var n;return ko(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function TF(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let ur;class cT{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ur,!t&&ur&&(this.index=(ur.scopes||(ur.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ur;try{return ur=this,t()}finally{ur=n}}}on(){++this._on===1&&(this.prevScope=ur,ur=this)}off(){this._on>0&&--this._on===0&&(ur=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Ia(e){return new cT(e)}function zi(){return ur}function As(e,t=!1){ur&&ur.cleanups.push(e)}let fn;const Uv=new WeakSet;class fT{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ur&&ur.active&&ur.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Uv.has(this)&&(Uv.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||pT(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Bw(this),hT(this);const t=fn,n=ii;fn=this,ii=!0;try{return this.fn()}finally{mT(this),fn=t,ii=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)j0(t);this.deps=this.depsTail=void 0,Bw(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Uv.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){k_(this)&&this.run()}get dirty(){return k_(this)}}let dT=0,kf,Ef;function pT(e,t=!1){if(e.flags|=8,t){e.next=Ef,Ef=e;return}e.next=kf,kf=e}function N0(){dT++}function B0(){if(--dT>0)return;if(Ef){let t=Ef;for(Ef=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;kf;){let t=kf;for(kf=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function hT(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mT(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),j0(r),AF(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function k_(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(vT(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vT(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xf)||(e.globalVersion=Xf,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!k_(e))))return;e.flags|=2;const t=e.dep,n=fn,r=ii;fn=e,ii=!0;try{hT(e);const o=e.fn(e._value);(t.version===0||fr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{fn=n,ii=r,mT(e),e.flags&=-3}}function j0(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)j0(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function AF(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ii=!0;const gT=[];function Os(){gT.push(ii),ii=!1}function Ps(){const e=gT.pop();ii=e===void 0?!0:e}function Bw(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fn;fn=void 0;try{t()}finally{fn=n}}}let Xf=0;class OF{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $m{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!fn||!ii||fn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fn)n=this.activeLink=new OF(fn,this),fn.deps?(n.prevDep=fn.depsTail,fn.depsTail.nextDep=n,fn.depsTail=n):fn.deps=fn.depsTail=n,yT(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=fn.depsTail,n.nextDep=void 0,fn.depsTail.nextDep=n,fn.depsTail=n,fn.deps===n&&(fn.deps=r)}return n}trigger(t){this.version++,Xf++,this.notify(t)}notify(t){N0();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{B0()}}}function yT(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)yT(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const _h=new WeakMap,fl=Symbol(""),E_=Symbol(""),Qf=Symbol("");function dr(e,t,n){if(ii&&fn){let r=_h.get(e);r||_h.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new $m),o.map=r,o.key=n),o.track()}}function ds(e,t,n,r,o,i){const s=_h.get(e);if(!s){Xf++;return}const a=l=>{l&&l.trigger()};if(N0(),t==="clear")s.forEach(a);else{const l=et(e),u=l&&Am(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,p)=>{(p==="length"||p===Qf||!ko(p)&&p>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),u&&a(s.get(Qf)),t){case"add":l?u&&a(s.get("length")):(a(s.get(fl)),yu(e)&&a(s.get(E_)));break;case"delete":l||(a(s.get(fl)),yu(e)&&a(s.get(E_)));break;case"set":yu(e)&&a(s.get(fl));break}}B0()}function PF(e,t){const n=_h.get(e);return n&&n.get(t)}function zl(e){const t=Ot(e);return t===e?t:(dr(t,"iterate",Qf),_o(e)?t:t.map(fi))}function Mm(e){return dr(e=Ot(e),"iterate",Qf),e}function Oi(e,t){return qi(e)?qu(si(e)?fi(t):t):fi(t)}const RF={__proto__:null,[Symbol.iterator](){return Hv(this,Symbol.iterator,e=>Oi(this,e))},concat(...e){return zl(this).concat(...e.map(t=>et(t)?zl(t):t))},entries(){return Hv(this,"entries",e=>(e[1]=Oi(this,e[1]),e))},every(e,t){return Zi(this,"every",e,t,void 0,arguments)},filter(e,t){return Zi(this,"filter",e,t,n=>n.map(r=>Oi(this,r)),arguments)},find(e,t){return Zi(this,"find",e,t,n=>Oi(this,n),arguments)},findIndex(e,t){return Zi(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Zi(this,"findLast",e,t,n=>Oi(this,n),arguments)},findLastIndex(e,t){return Zi(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Zi(this,"forEach",e,t,void 0,arguments)},includes(...e){return Wv(this,"includes",e)},indexOf(...e){return Wv(this,"indexOf",e)},join(e){return zl(this).join(e)},lastIndexOf(...e){return Wv(this,"lastIndexOf",e)},map(e,t){return Zi(this,"map",e,t,void 0,arguments)},pop(){return Fc(this,"pop")},push(...e){return Fc(this,"push",e)},reduce(e,...t){return jw(this,"reduce",e,t)},reduceRight(e,...t){return jw(this,"reduceRight",e,t)},shift(){return Fc(this,"shift")},some(e,t){return Zi(this,"some",e,t,void 0,arguments)},splice(...e){return Fc(this,"splice",e)},toReversed(){return zl(this).toReversed()},toSorted(e){return zl(this).toSorted(e)},toSpliced(...e){return zl(this).toSpliced(...e)},unshift(...e){return Fc(this,"unshift",e)},values(){return Hv(this,"values",e=>Oi(this,e))}};function Hv(e,t,n){const r=Mm(e),o=r[t]();return r!==e&&!_o(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const IF=Array.prototype;function Zi(e,t,n,r,o,i){const s=Mm(e),a=s!==e&&!_o(e),l=s[t];if(l!==IF[t]){const f=l.apply(e,i);return a?fi(f):f}let u=n;s!==e&&(a?u=function(f,p){return n.call(this,Oi(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=l.call(s,u,r);return a&&o?o(c):c}function jw(e,t,n,r){const o=Mm(e),i=o!==e&&!_o(e);let s=n,a=!1;o!==e&&(i?(a=r.length===0,s=function(u,c,f){return a&&(a=!1,u=Oi(e,u)),n.call(this,u,Oi(e,c),f,e)}):n.length>3&&(s=function(u,c,f){return n.call(this,u,c,f,e)}));const l=o[t](s,...r);return a?Oi(e,l):l}function Wv(e,t,n){const r=Ot(e);dr(r,"iterate",Qf);const o=r[t](...n);return(o===-1||o===!1)&&Nm(n[0])?(n[0]=Ot(n[0]),r[t](...n)):o}function Fc(e,t,n=[]){Os(),N0();const r=Ot(e)[t].apply(e,n);return B0(),Ps(),r}const $F=$0("__proto__,__v_isRef,__isVue"),_T=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ko));function MF(e){ko(e)||(e=String(e));const t=Ot(this);return dr(t,"has",e),t.hasOwnProperty(e)}class bT{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?DT:CT:i?ST:ET).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=et(t);if(!o){let l;if(s&&(l=RF[n]))return l;if(n==="hasOwnProperty")return MF}const a=Reflect.get(t,n,lt(t)?t:r);if((ko(n)?_T.has(n):$F(n))||(o||dr(t,"get",n),i))return a;if(lt(a)){const l=s&&Am(n)?a:a.value;return o&&Gt(l)?ci(l):l}return Gt(a)?o?ci(a):on(a):a}}class wT extends bT{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];const s=et(t)&&Am(n);if(!this._isShallow){const u=qi(i);if(!_o(r)&&!qi(r)&&(i=Ot(i),r=Ot(r)),!s&&lt(i)&&!lt(r))return u||(i.value=r),!0}const a=s?Number(n)<t.length:Qt(t,n),l=Reflect.set(t,n,r,lt(t)?t:o);return t===Ot(o)&&(a?fr(r,i)&&ds(t,"set",n,r):ds(t,"add",n,r)),l}deleteProperty(t,n){const r=Qt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&ds(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ko(n)||!_T.has(n))&&dr(t,"has",n),r}ownKeys(t){return dr(t,"iterate",et(t)?"length":fl),Reflect.ownKeys(t)}}class kT extends bT{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const FF=new wT,LF=new kT,NF=new wT(!0),BF=new kT(!0),S_=e=>e,np=e=>Reflect.getPrototypeOf(e);function jF(e,t,n){return function(...r){const o=this.__v_raw,i=Ot(o),s=yu(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...r),c=n?S_:t?qu:fi;return!t&&dr(i,"iterate",l?E_:fl),On(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:a?[c(f[0]),c(f[1])]:c(f),done:p}}})}}function rp(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qF(e,t){const n={get(o){const i=this.__v_raw,s=Ot(i),a=Ot(o);e||(fr(o,a)&&dr(s,"get",o),dr(s,"get",a));const{has:l}=np(s),u=t?S_:e?qu:fi;if(l.call(s,o))return u(i.get(o));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&dr(Ot(o),"iterate",fl),o.size},has(o){const i=this.__v_raw,s=Ot(i),a=Ot(o);return e||(fr(o,a)&&dr(s,"has",o),dr(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=Ot(a),u=t?S_:e?qu:fi;return!e&&dr(l,"iterate",fl),a.forEach((c,f)=>o.call(i,u(c),u(f),s))}};return On(n,e?{add:rp("add"),set:rp("set"),delete:rp("delete"),clear:rp("clear")}:{add(o){const i=Ot(this),s=np(i),a=Ot(o),l=!t&&!_o(o)&&!qi(o)?a:o;return s.has.call(i,l)||fr(o,l)&&s.has.call(i,o)||fr(a,l)&&s.has.call(i,a)||(i.add(l),ds(i,"add",l,l)),this},set(o,i){!t&&!_o(i)&&!qi(i)&&(i=Ot(i));const s=Ot(this),{has:a,get:l}=np(s);let u=a.call(s,o);u||(o=Ot(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?fr(i,c)&&ds(s,"set",o,i):ds(s,"add",o,i),this},delete(o){const i=Ot(this),{has:s,get:a}=np(i);let l=s.call(i,o);l||(o=Ot(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&ds(i,"delete",o,void 0),u},clear(){const o=Ot(this),i=o.size!==0,s=o.clear();return i&&ds(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=jF(o,e,t)}),n}function Fm(e,t){const n=qF(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Qt(n,o)&&o in r?n:r,o,i)}const VF={get:Fm(!1,!1)},UF={get:Fm(!1,!0)},HF={get:Fm(!0,!1)},WF={get:Fm(!0,!0)},ET=new WeakMap,ST=new WeakMap,CT=new WeakMap,DT=new WeakMap;function zF(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function KF(e){return e.__v_skip||!Object.isExtensible(e)?0:zF(yF(e))}function on(e){return qi(e)?e:Lm(e,!1,FF,VF,ET)}function Ri(e){return Lm(e,!1,NF,UF,ST)}function ci(e){return Lm(e,!0,LF,HF,CT)}function Za(e){return Lm(e,!0,BF,WF,DT)}function Lm(e,t,n,r,o){if(!Gt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=KF(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function si(e){return qi(e)?si(e.__v_raw):!!(e&&e.__v_isReactive)}function qi(e){return!!(e&&e.__v_isReadonly)}function _o(e){return!!(e&&e.__v_isShallow)}function Nm(e){return e?!!e.__v_raw:!1}function Ot(e){const t=e&&e.__v_raw;return t?Ot(t):e}function Bm(e){return!Qt(e,"__v_skip")&&Object.isExtensible(e)&&iT(e,"__v_skip",!0),e}const fi=e=>Gt(e)?on(e):e,qu=e=>Gt(e)?ci(e):e;function lt(e){return e?e.__v_isRef===!0:!1}function ne(e){return xT(e,!1)}function yt(e){return xT(e,!0)}function xT(e,t){return lt(e)?e:new GF(e,t)}class GF{constructor(t,n){this.dep=new $m,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ot(t),this._value=n?t:fi(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||_o(t)||qi(t);t=r?t:Ot(t),fr(t,n)&&(this._rawValue=t,this._value=r?t:fi(t),this.dep.trigger())}}function YF(e){e.dep&&e.dep.trigger()}function S(e){return lt(e)?e.value:e}function _e(e){return pt(e)?e():S(e)}const XF={get:(e,t,n)=>t==="__v_raw"?e:S(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function TT(e){return si(e)?e:new Proxy(e,XF)}class QF{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $m,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function _c(e){return new QF(e)}function Pn(e){const t=et(e)?new Array(e.length):{};for(const n in e)t[n]=AT(e,n);return t}class ZF{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ko(n)?n:String(n),this._raw=Ot(t);let o=!0,i=t;if(!et(t)||ko(this._key)||!Am(this._key))do o=!Nm(i)||_o(i);while(o&&(i=i.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=S(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&lt(this._raw[this._key])){const n=this._object[this._key];if(lt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return PF(this._raw,this._key)}}class JF{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Rs(e,t,n){return lt(e)?e:pt(e)?new JF(e):Gt(e)&&arguments.length>1?AT(e,t,n):ne(e)}function AT(e,t,n){return new ZF(e,t,n)}class eL{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $m(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xf-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&fn!==this)return pT(this,!0),!0}get value(){const t=this.dep.track();return vT(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tL(e,t,n=!1){let r,o;return pt(e)?r=e:(r=e.get,o=e.set),new eL(r,o,n)}const op={},bh=new WeakMap;let Ja;function nL(e,t=!1,n=Ja){if(n){let r=bh.get(n);r||bh.set(n,r=[]),r.push(e)}}function rL(e,t,n=Nt){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,u=_=>o?_:_o(_)||o===!1||o===0?ps(_,1):ps(_);let c,f,p,d,h=!1,v=!1;if(lt(e)?(f=()=>e.value,h=_o(e)):si(e)?(f=()=>u(e),h=!0):et(e)?(v=!0,h=e.some(_=>si(_)||_o(_)),f=()=>e.map(_=>{if(lt(_))return _.value;if(si(_))return u(_);if(pt(_))return l?l(_,2):_()})):pt(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){Os();try{p()}finally{Ps()}}const _=Ja;Ja=c;try{return l?l(e,3,[d]):e(d)}finally{Ja=_}}:f=oi,t&&o){const _=f,k=o===!0?1/0:o;f=()=>ps(_(),k)}const g=zi(),b=()=>{c.stop(),g&&g.active&&M0(g.effects,c)};if(i&&t){const _=t;t=(...k)=>{_(...k),b()}}let y=v?new Array(e.length).fill(op):op;const w=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const k=c.run();if(o||h||(v?k.some((C,E)=>fr(C,y[E])):fr(k,y))){p&&p();const C=Ja;Ja=c;try{const E=[k,y===op?void 0:v&&y[0]===op?[]:y,d];y=k,l?l(t,3,E):t(...E)}finally{Ja=C}}}else c.run()};return a&&a(w),c=new fT(f),c.scheduler=s?()=>s(w,!1):w,d=_=>nL(_,!1,c),p=c.onStop=()=>{const _=bh.get(c);if(_){if(l)l(_,4);else for(const k of _)k();bh.delete(c)}},t?r?w(!0):y=c.run():s?s(w.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function ps(e,t=1/0,n){if(t<=0||!Gt(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,lt(e))ps(e.value,t,n);else if(et(e))for(let r=0;r<e.length;r++)ps(e[r],t,n);else if(gc(e)||yu(e))e.forEach(r=>{ps(r,t,n)});else if(oT(e)){for(const r in e)ps(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ps(e[r],t,n)}return e}function Bd(e,t,n,r){try{return r?e(...r):e()}catch(o){bc(o,t,n)}}function di(e,t,n,r){if(pt(e)){const o=Bd(e,t,n,r);return o&&F0(o)&&o.catch(i=>{bc(i,t,n)}),o}if(et(e)){const o=[];for(let i=0;i<e.length;i++)o.push(di(e[i],t,n,r));return o}}function bc(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Nt;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(i){Os(),Bd(i,null,10,[e,l,u]),Ps();return}}oL(e,n,o,r,s)}function oL(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ar=[];let Si=-1;const bu=[];let ra=null,ru=0;const OT=Promise.resolve();let wh=null;function it(e){const t=wh||OT;return e?t.then(this?e.bind(this):e):t}function iL(e){let t=Si+1,n=Ar.length;for(;t<n;){const r=t+n>>>1,o=Ar[r],i=Zf(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function q0(e){if(!(e.flags&1)){const t=Zf(e),n=Ar[Ar.length-1];!n||!(e.flags&2)&&t>=Zf(n)?Ar.push(e):Ar.splice(iL(t),0,e),e.flags|=1,PT()}}function PT(){wh||(wh=OT.then(RT))}function Vu(e){et(e)?bu.push(...e):ra&&e.id===-1?ra.splice(ru+1,0,e):e.flags&1||(bu.push(e),e.flags|=1),PT()}function qw(e,t,n=Si+1){for(;n<Ar.length;n++){const r=Ar[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ar.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function kh(e){if(bu.length){const t=[...new Set(bu)].sort((n,r)=>Zf(n)-Zf(r));if(bu.length=0,ra){ra.push(...t);return}for(ra=t,ru=0;ru<ra.length;ru++){const n=ra[ru];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ra=null,ru=0}}const Zf=e=>e.id==null?e.flags&2?-1:1/0:e.id;function RT(e){try{for(Si=0;Si<Ar.length;Si++){const t=Ar[Si];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Bd(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Si<Ar.length;Si++){const t=Ar[Si];t&&(t.flags&=-2)}Si=-1,Ar.length=0,kh(),wh=null,(Ar.length||bu.length)&&RT()}}let rr=null,IT=null;function Eh(e){const t=rr;return rr=e,IT=e&&e.type.__scopeId||null,t}function J(e,t=rr,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Th(-1);const i=Eh(t);let s;try{s=e(...o)}finally{Eh(i),r._d&&Th(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Hr(e,t){if(rr===null)return e;const n=Um(rr),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=Nt]=t[o];i&&(pt(i)&&(i={mounted:i,updated:i}),i.deep&&ps(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Di(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Os(),di(l,n,8,[e.el,a,e,t]),Ps())}}function Qn(e,t){if(tr){let n=tr.provides;const r=tr.parent&&tr.parent.provides;r===n&&(n=tr.provides=Object.create(r)),n[e]=t}}function Kt(e,t,n=!1){const r=kt();if(r||dl){let o=dl?dl._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&pt(t)?t.call(r&&r.proxy):t}}function Bl(){return!!(kt()||dl)}const sL=Symbol.for("v-scx"),aL=()=>Kt(sL);function Pt(e,t){return jd(e,null,t)}function V0(e,t){return jd(e,null,{flush:"post"})}function lL(e,t){return jd(e,null,{flush:"sync"})}function Ie(e,t,n){return jd(e,t,n)}
2function jd(e,t,n=Nt){const{immediate:r,deep:o,flush:i,once:s}=n,a=On({},n),l=t&&r||!t&&i!=="post";let u;if(Sl){if(i==="sync"){const d=aL();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=oi,d.resume=oi,d.pause=oi,d}}const c=tr;a.call=(d,h,v)=>di(d,c,h,v);let f=!1;i==="post"?a.scheduler=d=>{$n(d,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(d,h)=>{h?d():q0(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=rL(e,t,a);return Sl&&(u?u.push(p):l&&p()),p}function uL(e,t,n){const r=this.proxy,o=dn(e)?e.includes(".")?$T(r,e):()=>r[e]:e.bind(r,r);let i;pt(t)?i=t:(i=t.handler,n=t);const s=wc(this),a=jd(o,i.bind(r),n);return s(),a}function $T(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Ua=new WeakMap,MT=Symbol("_vte"),FT=e=>e.__isTeleport,ol=e=>e&&(e.disabled||e.disabled===""),cL=e=>e&&(e.defer||e.defer===""),Vw=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Uw=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,C_=(e,t)=>{const n=e&&e.to;return dn(n)?t?t(n):null:n},fL={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,u){const{mc:c,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:v,createComment:g}}=u,b=ol(t.props);let{dynamicChildren:y}=t;const w=(C,E,D)=>{C.shapeFlag&16&&c(C.children,E,D,o,i,s,a,l)},_=(C=t)=>{const E=ol(C.props),D=C.target=C_(C.props,h),T=D_(D,C,v,d);D&&(s!=="svg"&&Vw(D)?s="svg":s!=="mathml"&&Uw(D)&&(s="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(D),E||(w(C,D,T),Zc(C,!1)))},k=C=>{const E=()=>{Ua.get(C)===E&&(Ua.delete(C),ol(C.props)&&(w(C,n,C.anchor),Zc(C,!0)),_(C))};Ua.set(C,E),$n(E,i)};if(e==null){const C=t.el=v(""),E=t.anchor=v("");if(d(C,n,r),d(E,n,r),cL(t.props)||i&&i.pendingBranch){k(t);return}b&&(w(t,n,E),Zc(t,!0)),_()}else{t.el=e.el;const C=t.anchor=e.anchor,E=Ua.get(e);if(E){E.flags|=8,Ua.delete(e),k(t);return}t.targetStart=e.targetStart;const D=t.target=e.target,T=t.targetAnchor=e.targetAnchor,x=ol(e.props),O=x?n:D,A=x?C:T;if(s==="svg"||Vw(D)?s="svg":(s==="mathml"||Uw(D))&&(s="mathml"),y?(p(e.dynamicChildren,y,O,o,i,s,a),Y0(e,t,!0)):l||f(e,t,O,A,o,i,s,a,!1),b)x?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ip(t,n,C,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=t.target=C_(t.props,h);V&&ip(t,V,null,u,0)}else x&&ip(t,D,T,u,1);Zc(t,b)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:p}=e;let d=i||!ol(p);const h=Ua.get(e);if(h&&(h.flags|=8,Ua.delete(e),d=!1),f&&(o(u),o(c)),i&&o(l),s&16)for(let v=0;v<a.length;v++){const g=a[v];r(g,t,n,d,!!g.dynamicChildren)}},move:ip,hydrate:dL};function ip(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:u,props:c}=e,f=i===2;if(f&&r(s,t,n),(!f||ol(c))&&l&16)for(let p=0;p<u.length;p++)o(u[p],t,n,2);f&&r(a,t,n)}function dL(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:u,createText:c}},f){function p(g,b){let y=b;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,g._lpa=t.targetAnchor&&s(t.targetAnchor);break}}y=s(y)}}function d(g,b){b.anchor=f(s(g),b,a(g),n,r,o,i)}const h=t.target=C_(t.props,l),v=ol(t.props);if(h){const g=h._lpa||h.firstChild;t.shapeFlag&16&&(v?(d(e,t),p(h,g),t.targetAnchor||D_(h,t,c,u,a(e)===h?e:null)):(t.anchor=s(e),p(h,g),t.targetAnchor||D_(h,t,c,u),f(g&&s(g),t,h,n,r,o,i))),Zc(t,v)}else v&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}const jl=fL;function Zc(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function D_(e,t,n,r,o=null){const i=t.targetStart=n(""),s=t.targetAnchor=n("");return i[MT]=s,e&&(r(i,e,o),r(s,e,o)),s}const xi=Symbol("_leaveCb"),Lc=Symbol("_enterCb");function LT(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
vendor: 65,217 bytes, lines 2-4
2ingVNodes:new Map};return _t(()=>{e.isMounted=!0}),$a(()=>{e.isUnmounting=!0}),e}const Co=[Function,Array],NT={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Co,onEnter:Co,onAfterEnter:Co,onEnterCancelled:Co,onBeforeLeave:Co,onLeave:Co,onAfterLeave:Co,onLeaveCancelled:Co,onBeforeAppear:Co,onAppear:Co,onAfterAppear:Co,onAppearCancelled:Co},BT=e=>{const t=e.subTree;return t.component?BT(t.component):t},pL={name:"BaseTransition",props:NT,setup(e,{slots:t}){const n=kt(),r=LT();return()=>{const o=t.default&&U0(t.default(),!0);if(!o||!o.length)return;const i=jT(o),s=Ot(e),{mode:a}=s;if(r.isLeaving)return zv(i);const l=Hw(i);if(!l)return zv(i);let u=Jf(l,s,r,n,f=>u=f);l.type!==bn&&Ea(l,u);let c=n.subTree&&Hw(n.subTree);if(c&&c.type!==bn&&!Jo(c,l)&&BT(n).type!==bn){let f=Jf(c,s,r,n);if(Ea(c,f),a==="out-in"&&l.type!==bn)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},zv(i);a==="in-out"&&l.type!==bn?f.delayLeave=(p,d,h)=>{const v=qT(r,c);v[String(c.key)]=c,p[xi]=()=>{d(),p[xi]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function jT(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==bn){t=n;break}}return t}const hL=pL;function qT(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Jf(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:g,onAppear:b,onAfterAppear:y,onAppearCancelled:w}=t,_=String(e.key),k=qT(n,e),C=(T,x)=>{T&&di(T,r,9,x)},E=(T,x)=>{const O=x[1];C(T,x),et(T)?T.every(A=>A.length<=1)&&O():T.length<=1&&O()},D={mode:s,persisted:a,beforeEnter(T){let x=l;if(!n.isMounted)if(i)x=g||l;else return;T[xi]&&T[xi](!0);const O=k[_];O&&Jo(e,O)&&O.el[xi]&&O.el[xi](),C(x,[T])},enter(T){if(k[_]===e)return;let x=u,O=c,A=f;if(!n.isMounted)if(i)x=b||u,O=y||c,A=w||f;else return;let V=!1;T[Lc]=pe=>{V||(V=!0,pe?C(A,[T]):C(O,[T]),D.delayedLeave&&D.delayedLeave(),T[Lc]=void 0)};const re=T[Lc].bind(null,!1);x?E(x,[T,re]):re()},leave(T,x){const O=String(e.key);if(T[Lc]&&T[Lc](!0),n.isUnmounting)return x();C(p,[T]);let A=!1;T[xi]=re=>{A||(A=!0,x(),re?C(v,[T]):C(h,[T]),T[xi]=void 0,k[O]===e&&delete k[O])};const V=T[xi].bind(null,!1);k[O]=e,d?E(d,[T,V]):V()},clone(T){const x=Jf(T,t,n,r,o);return o&&o(x),x}};return D}function zv(e){if(qd(e))return e=Ho(e),e.children=null,e}function Hw(e){if(!qd(e))return FT(e.type)&&e.children?jT(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pt(n.default))return n.default()}}function Ea(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ea(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function U0(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===Je?(s.patchFlag&128&&o++,r=r.concat(U0(s.children,t,a))):(t||s.type!==bn)&&r.push(a!=null?Ho(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function ge(e,t){return pt(e)?On({name:e.name},t,{setup:e}):e}function x_(){const e=kt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function H0(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tde(e){const t=kt(),n=yt(null);if(t){const o=t.refs===Nt?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function Ww(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Sh=new WeakMap;function wu(e,t,n,r,o=!1){if(et(e)){e.forEach((v,g)=>wu(v,t&&(et(t)?t[g]:t),n,r,o));return}if(Ss(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&wu(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Um(r.component):r.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Nt?a.refs={}:a.refs,f=a.setupState,p=Ot(f),d=f===Nt?nT:v=>Ww(c,v)?!1:Qt(p,v),h=(v,g)=>!(g&&Ww(c,g));if(u!=null&&u!==l){if(zw(t),dn(u))c[u]=null,d(u)&&(f[u]=null);else if(lt(u)){const v=t;h(u,v.k)&&(u.value=null),v.k&&(c[v.k]=null)}}if(pt(l))Bd(l,a,12,[s,c]);else{const v=dn(l),g=lt(l);if(v||g){const b=()=>{if(e.f){const y=v?d(l)?f[l]:c[l]:h()||!e.k?l.value:c[e.k];if(o)et(y)&&M0(y,i);else if(et(y))y.includes(i)||y.push(i);else if(v)c[l]=[i],d(l)&&(f[l]=c[l]);else{const w=[i];h(l,e.k)&&(l.value=w),e.k&&(c[e.k]=w)}}else v?(c[l]=s,d(l)&&(f[l]=s)):g&&(h(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const y=()=>{b(),Sh.delete(e)};y.id=-1,Sh.set(e,y),$n(y,n)}else zw(e),b()}}}function zw(e){const t=Sh.get(e);t&&(t.flags|=8,Sh.delete(e))}let Kw=!1;const Kl=()=>{Kw||(console.error("Hydration completed but contains mismatches."),Kw=!0)},mL=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",vL=e=>e.namespaceURI.includes("MathML"),sp=e=>{if(e.nodeType===1){if(mL(e))return"svg";if(vL(e))return"mathml"}},du=e=>e.nodeType===8;function gL(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(w,_)=>{if(!_.hasChildNodes()){n(null,w,_),kh(),_._vnode=w;return}f(_.firstChild,w,null,null,null),kh(),_._vnode=w},f=(w,_,k,C,E,D=!1)=>{D=D||!!_.dynamicChildren;const T=du(w)&&w.data==="[",x=()=>v(w,_,k,C,E,T),{type:O,ref:A,shapeFlag:V,patchFlag:re}=_;let pe=w.nodeType;_.el=w,re===-2&&(D=!1,_.dynamicChildren=null);let G=null;switch(O){case ma:pe!==3?_.children===""?(l(_.el=o(""),s(w),w),G=w):G=x():(w.data!==_.children&&(Kl(),w.data=_.children),G=i(w));break;case bn:y(w)?(G=i(w),b(_.el=w.content.firstChild,w,k)):pe!==8||T?G=x():G=i(w);break;case Su:if(T&&(w=i(w),pe=w.nodeType),pe===1||pe===3){G=w;const K=!_.children.length;for(let z=0;z<_.staticCount;z++)K&&(_.children+=G.nodeType===1?G.outerHTML:G.data),z===_.staticCount-1&&(_.anchor=G),G=i(G);return T?i(G):G}else x();break;case Je:T?G=h(w,_,k,C,E,D):G=x();break;default:if(V&1)(pe!==1||_.type.toLowerCase()!==w.tagName.toLowerCase())&&!y(w)?G=x():G=p(w,_,k,C,E,D);else if(V&6){_.slotScopeIds=E;const K=s(w);if(T?G=g(w):du(w)&&w.data==="teleport start"?G=g(w,w.data,"teleport end"):G=i(w),t(_,K,null,k,C,sp(K),D),Ss(_)&&!_.type.__asyncResolved){let z;T?(z=W(Je),z.anchor=G?G.previousSibling:K.lastChild):z=w.nodeType===3?qe(""):W("div"),z.el=w,_.component.subTree=z}}else V&64?pe!==8?G=x():G=_.type.hydrate(w,_,k,C,E,D,e,d):V&128&&(G=_.type.hydrate(w,_,k,C,sp(s(w)),E,D,e,f))}return A!=null&&wu(A,null,C,_),G},p=(w,_,k,C,E,D)=>{D=D||!!_.dynamicChildren;const{type:T,props:x,patchFlag:O,shapeFlag:A,dirs:V,transition:re}=_,pe=T==="input"||T==="option";if(pe||O!==-1){V&&Di(_,null,k,"created");let G=!1;if(y(w)){G=mA(null,re)&&k&&k.vnode.props&&k.vnode.props.appear;const z=w.content.firstChild;if(G){const be=z.getAttribute("class");be&&(z.$cls=be),re.beforeEnter(z)}b(z,w,k),_.el=w=z}if(A&16&&!(x&&(x.innerHTML||x.textContent))){let z=d(w.firstChild,_,w,k,C,E,D);for(;z;){ap(w,1)||Kl();const be=z;z=z.nextSibling,a(be)}}else if(A&8){let z=_.children;z[0]===`
3`&&(w.tagName==="PRE"||w.tagName==="TEXTAREA")&&(z=z.slice(1));const{textContent:be}=w;be!==z&&be!==z.replace(/\r\n|\r/g,`
4`)&&(ap(w,0)||Kl(),w.textContent=_.children)}if(x){if(pe||!D||O&48){const z=w.tagName.includes("-");for(const be in x)(pe&&(be.endsWith("value")||be==="indeterminate")||Nd(be)&&!ul(be)||be[0]==="."||z&&!ul(be))&&r(w,be,null,x[be],void 0,k)}else if(x.onClick)r(w,"onClick",null,x.onClick,void 0,k);else if(O&4&&si(x.style))for(const z in x.style)x.style[z]}let K;(K=x&&x.onVnodeBeforeMount)&&qr(K,k,_),V&&Di(_,null,k,"beforeMount"),((K=x&&x.onVnodeMounted)||V||G)&&_A(()=>{K&&qr(K,k,_),G&&re.enter(w),V&&Di(_,null,k,"mounted")},C)}return w.nextSibling},d=(w,_,k,C,E,D,T)=>{T=T||!!_.dynamicChildren;const x=_.children,O=x.length;for(let A=0;A<O;A++){const V=T?x[A]:x[A]=co(x[A]),re=V.type===ma;w?(re&&!T&&A+1<O&&co(x[A+1]).type===ma&&(l(o(w.data.slice(V.children.length)),k,i(w)),w.data=V.children),w=f(w,V,C,E,D,T)):re&&!V.children?l(V.el=o(""),k):(ap(k,1)||Kl(),n(null,V,k,null,C,E,sp(k),D))}return w},h=(w,_,k,C,E,D)=>{const{slotScopeIds:T}=_;T&&(E=E?E.concat(T):T);const x=s(w),O=d(i(w),_,x,k,C,E,D);return O&&du(O)&&O.data==="]"?i(_.anchor=O):(Kl(),l(_.anchor=u("]"),x,O),O)},v=(w,_,k,C,E,D)=>{if(ap(w.parentElement,1)||Kl(),_.el=null,D){const O=g(w);for(;;){const A=i(w);if(A&&A!==O)a(A);else break}}const T=i(w),x=s(w);return a(w),n(null,_,x,T,k,C,sp(x),E),k&&(k.vnode.el=_.el,Vm(k,_.el)),T},g=(w,_="[",k="]")=>{let C=0;for(;w;)if(w=i(w),w&&du(w)&&(w.data===_&&C++,w.data===k)){if(C===0)return i(w);C--}return w},b=(w,_,k)=>{const C=_.parentNode;C&&C.replaceChild(w,_);let E=k;for(;E;)E.vnode.el===_&&(E.vnode.el=E.subTree.el=w),E=E.parent},y=w=>w.nodeType===1&&w.tagName==="TEMPLATE";return[c,f]}const Gw="data-allow-mismatch",yL={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ap(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Gw);)e=e.parentElement;const n=e&&e.getAttribute(Gw);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(yL[t])}}Im().requestIdleCallback;Im().cancelIdleCallback;function _L(e,t){if(du(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(du(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Ss=e=>!!e.type.__asyncLoader;function Sf(e){pt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const p=()=>(f++,u=null,d()),d=()=>{let h;return u||(h=u=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((g,b)=>{l(v,()=>g(p()),()=>b(v),f+1)});throw v}).then(v=>h!==u&&u?u:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,v,g){let b=!1;(v.bu||(v.bu=[])).push(()=>b=!0);const y=()=>{b||g()},w=i?()=>{const _=i(y,k=>_L(h,k));_&&(v.bum||(v.bum=[])).push(_)}:y;c?w():d().then(()=>!v.isUnmounted&&w())},get __asyncResolved(){return c},setup(){const h=tr;if(H0(h),c)return()=>lp(c,h);const v=w=>{u=null,bc(w,h,13,!r)};if(a&&h.suspense||Sl)return d().then(w=>()=>lp(w,h)).catch(w=>(v(w),()=>r?W(r,{error:w}):null));const g=ne(!1),b=ne(),y=ne(!!o);return o&&setTimeout(()=>{y.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!b.value){const w=new Error(`Async component timed out after ${s}ms.`);v(w),b.value=w}},s),d().then(()=>{g.value=!0,h.parent&&qd(h.parent.vnode)&&h.parent.update()}).catch(w=>{v(w),b.value=w}),()=>{if(g.value&&c)return lp(c,h);if(b.value&&r)return W(r,{error:b.value});if(n&&!y.value)return lp(n,h)}}})}function lp(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=W(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const qd=e=>e.type.__isKeepAlive,bL={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=kt(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,p=f("div");r.activate=(y,w,_,k,C)=>{const E=y.component;u(y,w,_,0,a),l(E.vnode,y,w,_,E,a,k,y.slotScopeIds,C),$n(()=>{E.isDeactivated=!1,E.a&&_u(E.a);const D=y.props&&y.props.onVnodeMounted;D&&qr(D,E.parent,y)},a)},r.deactivate=y=>{const w=y.component;Dh(w.m),Dh(w.a),u(y,p,null,1,a),$n(()=>{w.da&&_u(w.da);const _=y.props&&y.props.onVnodeUnmounted;_&&qr(_,w.parent,y),w.isDeactivated=!0},a)};function d(y){Kv(y),c(y,n,a,!0)}function h(y){o.forEach((w,_)=>{const k=$_(Ss(w)?w.type.__asyncResolved||{}:w.type);k&&!y(k)&&v(_)})}function v(y){const w=o.get(y);w&&(!s||!Jo(w,s))?d(w):s&&Kv(s),o.delete(y),i.delete(y)}Ie(()=>[e.include,e.exclude],([y,w])=>{y&&h(_=>Jc(y,_)),w&&h(_=>!Jc(w,_))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&(xh(n.subTree.type)?$n(()=>{o.set(g,up(n.subTree))},n.subTree.suspense):o.set(g,up(n.subTree)))};return _t(b),Vd(b),$a(()=>{o.forEach(y=>{const{subTree:w,suspense:_}=n,k=up(w);if(y.type===k.type&&y.key===k.key){Kv(k);const C=k.component.da;C&&$n(C,_);return}d(y)})}),()=>{if(g=null,!t.default)return s=null;const y=t.default(),w=y[0];if(y.length>1)return s=null,y;if(!Fo(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return s=null,w;let _=up(w);if(_.type===bn)return s=null,_;const k=_.type,C=$_(Ss(_)?_.type.__asyncResolved||{}:k),{include:E,exclude:D,max:T}=e;if(E&&(!C||!Jc(E,C))||D&&C&&Jc(D,C))return _.shapeFlag&=-257,s=_,w;const x=_.key==null?k:_.key,O=o.get(x);return _.el&&(_=Ho(_),w.shapeFlag&128&&(w.ssContent=_)),g=x,O?(_.el=O.el,_.component=O.component,_.transition&&Ea(_,_.transition),_.shapeFlag|=512,i.delete(x),i.add(x)):(i.add(x),T&&i.size>parseInt(T,10)&&v(i.values().next().value)),_.shapeFlag|=256,s=_,xh(w.type)?w:_}}},wL=bL;function Jc(e,t){return et(e)?e.some(n=>Jc(n,t)):dn(e)?e.split(",").includes(t):gF(e)?(e.lastIndex=0,e.test(t)):!1}function VT(e,t){HT(e,"a",t)}function UT(e,t){HT(e,"da",t)}function HT(e,t,n=tr){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(jm(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qd(o.parent.vnode)&&kL(r,t,n,o),o=o.parent}}function kL(e,t,n,r){const o=jm(t,e,r,!0);Lr(()=>{M0(r[t],o)},n)}function Kv(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function up(e){return e.shapeFlag&128?e.ssContent:e}function jm(e,t,n=tr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Os();const a=wc(n),l=di(t,n,e,s);return a(),Ps(),l});return r?o.unshift(i):o.push(i),i}}const Vs=e=>(t,n=tr)=>{(!Sl||e==="sp")&&jm(e,(...r)=>t(...r),n)},WT=Vs("bm"),_t=Vs("m"),zT=Vs("bu"),Vd=Vs("u"),$a=Vs("bum"),Lr=Vs("um"),EL=Vs("sp"),SL=Vs("rtg"),CL=Vs("rtc");function KT(e,t=tr){jm("ec",e,t)}const W0="components",DL="directives";function ku(e,t){return z0(W0,e,!0,t)||e}const GT=Symbol.for("v-ndc");function er(e){return dn(e)?z0(W0,e,!1)||e:e||GT}function nde(e){return z0(DL,e)}function z0(e,t,n=!0,r=!1){const o=rr||tr;if(o){const i=o.type;if(e===W0){const a=$_(i,!1);if(a&&(a===t||a===Nn(t)||a===Pm(Nn(t))))return i}const s=Yw(o[e]||i[e],t)||Yw(o.appContext[e],t);return!s&&r?i:s}}function Yw(e,t){return e&&(e[t]||e[Nn(t)]||e[Pm(Nn(t))])}function mn(e,t,n,r){let o;const i=n,s=et(e);if(s||dn(e)){const a=s&&si(e);let l=!1,u=!1;a&&(l=!_o(e),u=qi(e),e=Mm(e)),o=new Array(e.length);for(let c=0,f=e.length;c<f;c++)o[c]=t(l?u?qu(fi(e[c])):fi(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(Gt(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,i)}}else o=[];return o}function xL(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(et(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function $e(e,t,n={},r,o){if(rr.ce||rr.parent&&Ss(rr.parent)&&rr.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),R(),ie(Je,null,[W("slot",n,r&&r())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),R();const s=i&&YT(i(n)),a=n.key||s&&s.key,l=ie(Je,{key:(a&&!ko(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function YT(e){return e.some(t=>Fo(t)?!(t.type===bn||t.type===Je&&!YT(t.children)):!0)?e:null}function XT(e,t){const n={};for(const r in e)n[cl(r)]=e[r];return n}const T_=e=>e?EA(e)?Um(e):T_(e.parent):null,Cf=On(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>T_(e.parent),$root:e=>T_(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tA(e),$forceUpdate:e=>e.f||(e.f=()=>{q0(e.update)}),$nextTick:e=>e.n||(e.n=it.bind(e.proxy)),$watch:e=>uL.bind(e)}),Gv=(e,t)=>e!==Nt&&!e.__isScriptSetup&&Qt(e,t),TL={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Gv(r,t))return s[t]=1,r[t];if(o!==Nt&&Qt(o,t))return s[t]=2,o[t];if(Qt(i,t))return s[t]=3,i[t];if(n!==Nt&&Qt(n,t))return s[t]=4,n[t];A_&&(s[t]=0)}}const u=Cf[t];let c,f;if(u)return t==="$attrs"&&dr(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Nt&&Qt(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,Qt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Gv(o,t)?(o[t]=n,!0):r!==Nt&&Qt(r,t)?(r[t]=n,!0):Qt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:i,type:s}},a){let l;return!!(n[a]||e!==Nt&&a[0]!=="$"&&Qt(e,a)||Gv(t,a)||Qt(i,a)||Qt(r,a)||Qt(Cf,a)||Qt(o.config.globalProperties,a)||(l=s.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Qt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function AL(){return ZT().slots}function QT(){return ZT().attrs}function ZT(e){const t=kt();return t.setupContext||(t.setupContext=CA(t))}function ed(e){return et(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function JT(e,t){const n=ed(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?et(o)||pt(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function rde(e,t){return!e||!t?e||t:et(e)&&et(t)?e.concat(t):On({},ed(e),ed(t))}function OL(e){const t=kt(),n=Sl;let r=e();nd(),n&&Cu(!1);const o=()=>{wc(t),n&&Cu(!0)},i=()=>{kt()!==t&&t.scope.off(),nd(),n&&Cu(!1)};return F0(r)&&(r=r.catch(s=>{throw o(),Promise.resolve().then(()=>Promise.resolve().then(i)),s})),[r,()=>{o(),Promise.resolve().then(i)}]}let A_=!0;function PL(e){const t=tA(e),n=e.proxy,r=e.ctx;A_=!1,t.beforeCreate&&Xw(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:v,deactivated:g,beforeDestroy:b,beforeUnmount:y,destroyed:w,unmounted:_,render:k,renderTracked:C,renderTriggered:E,errorCaptured:D,serverPrefetch:T,expose:x,inheritAttrs:O,components:A,directives:V,filters:re}=t;if(u&&RL(u,r,null),s)for(const K in s){const z=s[K];pt(z)&&(r[K]=z.bind(n))}if(o){const K=o.call(n,n);Gt(K)&&(e.data=on(K))}if(A_=!0,i)for(const K in i){const z=i[K],be=pt(z)?z.bind(n,n):pt(z.get)?z.get.bind(n,n):oi,X=!pt(z)&&pt(z.set)?z.set.bind(n):oi,Fe=N({get:be,set:X});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ve=>Fe.value=Ve})}if(a)for(const K in a)eA(a[K],r,n,K);if(l){const K=pt(l)?l.call(n):l;Reflect.ownKeys(K).forEach(z=>{Qn(z,K[z])})}c&&Xw(c,e,"c");function G(K,z){et(z)?z.forEach(be=>K(be.bind(n))):z&&K(z.bind(n))}if(G(WT,f),G(_t,p),G(zT,d),G(Vd,h),G(VT,v),G(UT,g),G(KT,D),G(CL,C),G(SL,E),G($a,y),G(Lr,_),G(EL,T),et(x))if(x.length){const K=e.exposed||(e.exposed={});x.forEach(z=>{Object.defineProperty(K,z,{get:()=>n[z],set:be=>n[z]=be,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===oi&&(e.render=k),O!=null&&(e.inheritAttrs=O),A&&(e.components=A),V&&(e.directives=V),T&&H0(e)}function RL(e,t,n=oi){et(e)&&(e=O_(e));for(const r in e){const o=e[r];let i;Gt(o)?"default"in o?i=Kt(o.from||r,o.default,!0):i=Kt(o.from||r):i=Kt(o),lt(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Xw(e,t,n){di(et(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function eA(e,t,n,r){let o=r.includes(".")?$T(n,r):()=>n[r];if(dn(e)){const i=t[e];pt(i)&&Ie(o,i)}else if(pt(e))Ie(o,e.bind(n));else if(Gt(e))if(et(e))e.forEach(i=>eA(i,t,n,r));else{const i=pt(e.handler)?e.handler.bind(n):t[e.handler];pt(i)&&Ie(o,i,e)}}function tA(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Ch(l,u,s,!0)),Ch(l,t,s)),Gt(t)&&i.set(t,l),l}function Ch(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ch(e,i,n,!0),o&&o.forEach(s=>Ch(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=IL[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const IL={data:Qw,props:Zw,emits:Zw,methods:ef,computed:ef,beforeCreate:kr,created:kr,beforeMount:kr,mounted:kr,beforeUpdate:kr,updated:kr,beforeDestroy:kr,beforeUnmount:kr,destroyed:kr,unmounted:kr,activated:kr,deactivated:kr,errorCaptured:kr,serverPrefetch:kr,components:ef,directives:ef,watch:ML,provide:Qw,inject:$L};function Qw(e,t){return t?e?function(){return On(pt(e)?e.call(this,this):e,pt(t)?t.call(this,this):t)}:t:e}function $L(e,t){return ef(O_(e),O_(t))}function O_(e){if(et(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function kr(e,t){return e?[...new Set([].concat(e,t))]:t}function ef(e,t){return e?On(Object.create(null),e,t):t}function Zw(e,t){return e?et(e)&&et(t)?[...new Set([...e,...t])]:On(Object.create(null),ed(e),ed(t??{})):t}function ML(e,t){if(!e)return t;if(!t)return e;const n=On(Object.create(null),e);for(const r in t)n[r]=kr(e[r],t[r]);return n}function nA(){return{app:null,config:{isNativeTag:nT,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 FL=0;function LL(e,t){return function(r,o=null){pt(r)||(r=On({},r)),o!=null&&!Gt(o)&&(o=null);const i=nA(),s=new WeakSet,a=[];let l=!1;const u=i.app={_uid:FL++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:h2,get config(){return i.config},set config(c){},use(c,...f){return s.has(c)||(c&&pt(c.install)?(s.add(c),c.install(u,...f)):pt(c)&&(s.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,p){if(!l){const d=u._ceVNode||W(r,o);return d.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,c):e(d,c,p),l=!0,u._container=c,c.__vue_app__=u,Um(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(di(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=dl;dl=u;try{return c()}finally{dl=f}}};return u}}let dl=null;function ode(e,t,n=Nt){const r=kt(),o=Nn(t),i=qs(t),s=rA(e,o),a=_c((l,u)=>{let c,f=Nt,p;return lL(()=>{const d=e[o];fr(c,d)&&(c=d,u())}),{get(){return l(),n.get?n.get(c):c},set(d){const h=n.set?n.set(d):d;if(!fr(h,c)&&!(f!==Nt&&fr(d,f)))return;const v=r.vnode.props;v&&(t in v||o in v||i in v)&&(`onUpdate:${t}`in v||`onUpdate:${o}`in v||`onUpdate:${i}`in v)||(c=d,u()),r.emit(`update:${t}`,h),fr(d,h)&&fr(d,f)&&!fr(h,p)&&u(),f=d,p=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||Nt:a,done:!1}:{done:!0}}}},a}const rA=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nn(t)}Modifiers`]||e[`${qs(t)}Modifiers`];function NL(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Nt;let o=n;const i=t.startsWith("update:"),s=i&&rA(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>dn(c)?c.trim():c)),s.number&&(o=n.map(Rm)));let a,l=r[a=cl(t)]||r[a=cl(Nn(t))];!l&&i&&(l=r[a=cl(qs(t))]),l&&di(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,di(u,e,6,o)}}const BL=new WeakMap;function oA(e,t,n=!1){const r=n?BL:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!pt(e)){const l=u=>{const c=oA(u,t,!0);c&&(a=!0,On(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Gt(e)&&r.set(e,null),null):(et(i)?i.forEach(l=>s[l]=null):On(s,i),Gt(e)&&r.set(e,s),s)}function qm(e,t){return!e||!Nd(t)?!1:(t=t.slice(2).replace(/Once$/,""),Qt(e,t[0].toLowerCase()+t.slice(1))||Qt(e,qs(t))||Qt(e,t))}function Yv(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:f,data:p,setupState:d,ctx:h,inheritAttrs:v}=e,g=Eh(e);let b,y;try{if(n.shapeFlag&4){const _=o||r,k=_;b=co(u.call(k,_,c,f,d,p,h)),y=a}else{const _=t;b=co(_.length>1?_(f,{attrs:a,slots:s,emit:l}):_(f,null)),y=t.props?a:qL(a)}}catch(_){Df.length=0,bc(_,e,1),b=W(bn)}let w=b;if(y&&v!==!1){const _=Object.keys(y),{shapeFlag:k}=w;_.length&&k&7&&(i&&_.some(Tm)&&(y=VL(y,i)),w=Ho(w,y,!1,!0))}return n.dirs&&(w=Ho(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&Ea(w,n.transition),b=w,Eh(g),b}function jL(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Fo(o)){if(o.type!==bn||o.children==="v-if"){if(n)return;n=o}}else return}return n}const qL=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nd(n))&&((t||(t={}))[n]=e[n]);return t},VL=(e,t)=>{const n={};for(const r in e)(!Tm(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function UL(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Jw(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(iA(s,r,p)&&!qm(u,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?Jw(r,s,u):!0:!!s;return!1}function Jw(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(iA(t,e,i)&&!qm(n,i))return!0}return!1}function iA(e,t,n){const r=e[n],o=t[n];return n==="style"&&Gt(r)&&Gt(o)?!ka(r,o):r!==o}function Vm({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const sA={},aA=()=>Object.create(sA),lA=e=>Object.getPrototypeOf(e)===sA;function HL(e,t,n,r=!1){const o={},i=aA();e.propsDefaults=Object.create(null),uA(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Ri(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function WL(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=Ot(o),[l]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(qm(e.emitsOptions,p))continue;const d=t[p];if(l)if(Qt(i,p))d!==i[p]&&(i[p]=d,u=!0);else{const h=Nn(p);o[h]=P_(l,a,h,d,e,!1)}else d!==i[p]&&(i[p]=d,u=!0)}}}else{uA(e,t,o,i)&&(u=!0);let c;for(const f in a)(!t||!Qt(t,f)&&((c=qs(f))===f||!Qt(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(o[f]=P_(l,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(const f in i)(!t||!Qt(t,f))&&(delete i[f],u=!0)}u&&ds(e.attrs,"set","")}function uA(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(ul(l))continue;const u=t[l];let c;o&&Qt(o,c=Nn(l))?!i||!i.includes(c)?n[c]=u:(a||(a={}))[c]=u:qm(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,s=!0)}if(i){const l=Ot(n),u=a||Nt;for(let c=0;c<i.length;c++){const f=i[c];n[f]=P_(o,l,f,u[f],e,!Qt(u,f))}}return s}function P_(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=Qt(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&pt(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const c=wc(o);r=u[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===qs(n))&&(r=!0))}return r}const zL=new WeakMap;function cA(e,t,n=!1){const r=n?zL:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!pt(e)){const c=f=>{l=!0;const[p,d]=cA(f,t,!0);On(s,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Gt(e)&&r.set(e,gu),gu;if(et(i))for(let c=0;c<i.length;c++){const f=Nn(i[c]);ek(f)&&(s[f]=Nt)}else if(i)for(const c in i){const f=Nn(c);if(ek(f)){const p=i[c],d=s[f]=et(p)||pt(p)?{type:p}:On({},p),h=d.type;let v=!1,g=!0;if(et(h))for(let b=0;b<h.length;++b){const y=h[b],w=pt(y)&&y.name;if(w==="Boolean"){v=!0;break}else w==="String"&&(g=!1)}else v=pt(h)&&h.name==="Boolean";d[0]=v,d[1]=g,(v||Qt(d,"default"))&&a.push(f)}}const u=[s,a];return Gt(e)&&r.set(e,u),u}function ek(e){return e[0]!=="$"&&!ul(e)}const K0=e=>e==="_"||e==="_ctx"||e==="$stable",G0=e=>et(e)?e.map(co):[co(e)],KL=(e,t,n)=>{if(t._n)return t;const r=J((...o)=>G0(t(...o)),n);return r._c=!1,r},fA=(e,t,n)=>{const r=e._ctx;for(const o in e){if(K0(o))continue;const i=e[o];if(pt(i))t[o]=KL(o,i,r);else if(i!=null){const s=G0(i);t[o]=()=>s}}},dA=(e,t)=>{const n=G0(t);e.slots.default=()=>n},pA=(e,t,n)=>{for(const r in t)(n||!K0(r))&&(e[r]=t[r])},GL=(e,t,n)=>{const r=e.slots=aA();if(e.vnode.shapeFlag&32){const o=t._;o?(pA(r,t,n),n&&iT(r,"_",o,!0)):fA(t,r)}else t&&dA(e,t)},YL=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=Nt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:pA(o,t,n):(i=!t.$stable,fA(t,o)),s=t}else t&&(dA(e,t),s={default:1});if(i)for(const a in o)!K0(a)&&s[a]==null&&delete o[a]},$n=_A;function XL(e){return hA(e)}function QL(e){return hA(e,gL)}function hA(e,t){const n=Im();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:d=oi,insertStaticContent:h}=e,v=(M,B,Q,ve=null,q=null,$=null,j=void 0,ee=null,ae=!!B.dynamicChildren)=>{if(M===B)return;M&&!Jo(M,B)&&(ve=F(M),Ve(M,q,$,!0),M=null),B.patchFlag===-2&&(ae=!1,B.dynamicChildren=null);const{type:de,ref:xe,shapeFlag:Z}=B;switch(de){case ma:g(M,B,Q,ve);break;case bn:b(M,B,Q,ve);break;case Su:M==null&&y(B,Q,ve,j);break;case Je:A(M,B,Q,ve,q,$,j,ee,ae);break;default:Z&1?k(M,B,Q,ve,q,$,j,ee,ae):Z&6?V(M,B,Q,ve,q,$,j,ee,ae):(Z&64||Z&128)&&de.process(M,B,Q,ve,q,$,j,ee,ae,he)}xe!=null&&q?wu(xe,M&&M.ref,$,B||M,!B):xe==null&&M&&M.ref!=null&&wu(M.ref,null,$,M,!0)},g=(M,B,Q,ve)=>{if(M==null)r(B.el=a(B.children),Q,ve);else{const q=B.el=M.el;B.children!==M.children&&u(q,B.children)}},b=(M,B,Q,ve)=>{M==null?r(B.el=l(B.children||""),Q,ve):B.el=M.el},y=(M,B,Q,ve)=>{[M.el,M.anchor]=h(M.children,B,Q,ve,M.el,M.anchor)},w=({el:M,anchor:B},Q,ve)=>{let q;for(;M&&M!==B;)q=p(M),r(M,Q,ve),M=q;r(B,Q,ve)},_=({el:M,anchor:B})=>{let Q;for(;M&&M!==B;)Q=p(M),o(M),M=Q;o(B)},k=(M,B,Q,ve,q,$,j,ee,ae)=>{if(B.type==="svg"?j="svg":B.type==="math"&&(j="mathml"),M==null)C(B,Q,ve,q,$,j,ee,ae);else{const de=M.el&&M.el._isVueCE?M.el:null;try{de&&de._beginPatch(),T(M,B,q,$,j,ee,ae)}finally{de&&de._endPatch()}}},C=(M,B,Q,ve,q,$,j,ee)=>{let ae,de;const{props:xe,shapeFlag:Z,transition:ue,dirs:Re}=M;if(ae=M.el=s(M.type,$,xe&&xe.is,xe),Z&8?c(ae,M.children):Z&16&&D(M.children,ae,null,ve,q,Xv(M,$),j,ee),Re&&Di(M,null,ve,"created"),E(ae,M,M.scopeId,j,ve),xe){for(const rt in xe)rt!=="value"&&!ul(rt)&&i(ae,rt,null,xe[rt],$,ve);"value"in xe&&i(ae,"value",null,xe.value,$),(de=xe.onVnodeBeforeMount)&&qr(de,ve,M)}Re&&Di(M,null,ve,"beforeMount");const Ne=mA(q,ue);Ne&&ue.beforeEnter(ae),r(ae,B,Q),((de=xe&&xe.onVnodeMounted)||Ne||Re)&&$n(()=>{de&&qr(de,ve,M),Ne&&ue.enter(ae),Re&&Di(M,null,ve,"mounted")},q)},E=(M,B,Q,ve,q)=>{if(Q&&d(M,Q),ve)for(let $=0;$<ve.length;$++)d(M,ve[$]);if(q){let $=q.subTree;if(B===$||xh($.type)&&($.ssContent===B||$.ssFallback===B)){const j=q.vnode;E(M,j,j.scopeId,j.slotScopeIds,q.parent)}}},D=(M,B,Q,ve,q,$,j,ee,ae=0)=>{for(let de=ae;de<M.length;de++){const xe=M[de]=ee?us(M[de]):co(M[de]);v(null,xe,B,Q,ve,q,$,j,ee)}},T=(M,B,Q,ve,q,$,j)=>{const ee=B.el=M.el;let{patchFlag:ae,dynamicChildren:de,dirs:xe}=B;ae|=M.patchFlag&16;const Z=M.props||Nt,ue=B.props||Nt;let Re;if(Q&&Ha(Q,!1),(Re=ue.onVnodeBeforeUpdate)&&qr(Re,Q,B,M),xe&&Di(B,M,Q,"beforeUpdate"),Q&&Ha(Q,!0),(Z.innerHTML&&ue.innerHTML==null||Z.textContent&&ue.textContent==null)&&c(ee,""),de?x(M.dynamicChildren,de,ee,Q,ve,Xv(B,q),$):j||z(M,B,ee,null,Q,ve,Xv(B,q),$,!1),ae>0){if(ae&16)O(ee,Z,ue,Q,q);else if(ae&2&&Z.class!==ue.class&&i(ee,"class",null,ue.class,q),ae&4&&i(ee,"style",Z.style,ue.style,q),ae&8){const Ne=B.dynamicProps;for(let rt=0;rt<Ne.length;rt++){const st=Ne[rt],ft=Z[st],I=ue[st];(I!==ft||st==="value")&&i(ee,st,ft,I,q,Q)}}ae&1&&M.children!==B.children&&c(ee,B.children)}else!j&&de==null&&O(ee,Z,ue,Q,q);((Re=ue.onVnodeUpdated)||xe)&&$n(()=>{Re&&qr(Re,Q,B,M),xe&&Di(B,M,Q,"updated")},ve)},x=(M,B,Q,ve,q,$,j)=>{for(let ee=0;ee<B.length;ee++){const ae=M[ee],de=B[ee],xe=ae.el&&(ae.type===Je||!Jo(ae,de)||ae.shapeFlag&198)?f(ae.el):Q;v(ae,de,xe,null,ve,q,$,j,!0)}},O=(M,B,Q,ve,q)=>{if(B!==Q){if(B!==Nt)for(const $ in B)!ul($)&&!($ in Q)&&i(M,$,B[$],null,q,ve);for(const $ in Q){if(ul($))continue;const j=Q[$],ee=B[$];j!==ee&&$!=="value"&&i(M,$,ee,j,q,ve)}"value"in Q&&i(M,"value",B.value,Q.value,q)}},A=(M,B,Q,ve,q,$,j,ee,ae)=>{const de=B.el=M?M.el:a(""),xe=B.anchor=M?M.anchor:a("");let{patchFlag:Z,dynamicChildren:ue,slotScopeIds:Re}=B;Re&&(ee=ee?ee.concat(Re):Re),M==null?(r(de,Q,ve),r(xe,Q,ve),D(B.children||[],Q,xe,q,$,j,ee,ae)):Z>0&&Z&64&&ue&&M.dynamicChildren&&M.dynamicChildren.length===ue.length?(x(M.dynamicChildren,ue,Q,q,$,j,ee),(B.key!=null||q&&B===q.subTree)&&Y0(M,B,!0)):z(M,B,Q,xe,q,$,j,ee,ae)},V=(M,B,Q,ve,q,$,j,ee,ae)=>{B.slotScopeIds=ee,M==null?B.shapeFlag&512?q.ctx.activate(B,Q,ve,j,ae):re(B,Q,ve,q,$,j,ae):pe(M,B,ae)},re=(M,B,Q,ve,q,$,j)=>{const ee=M.component=u2(M,ve,q);if(qd(M)&&(ee.ctx.renderer=he),c2(ee,!1,j),ee.asyncDep){if(q&&q.registerDep(ee,G,j),!M.el){const ae=ee.subTree=W(bn);b(null,ae,B,Q),M.placeholder=ae.el}}else G(ee,M,B,Q,q,$,j)},pe=(M,B,Q)=>{const ve=B.component=M.component;if(UL(M,B,Q))if(ve.asyncDep&&!ve.asyncResolved){K(ve,B,Q);return}else ve.next=B,ve.update();else B.el=M.el,ve.vnode=B},G=(M,B,Q,ve,q,$,j)=>{const ee=()=>{if(M.isMounted){let{next:Z,bu:ue,u:Re,parent:Ne,vnode:rt}=M;{const Y=vA(M);if(Y){Z&&(Z.el=rt.el,K(M,Z,j)),Y.asyncDep.then(()=>{$n(()=>{M.isUnmounted||de()},q)});return}}let st=Z,ft;Ha(M,!1),Z?(Z.el=rt.el,K(M,Z,j)):Z=rt,ue&&_u(ue),(ft=Z.props&&Z.props.onVnodeBeforeUpdate)&&qr(ft,Ne,Z,rt),Ha(M,!0);const I=Yv(M),P=M.subTree;M.subTree=I,v(P,I,f(P.el),F(P),M,q,$),Z.el=I.el,st===null&&Vm(M,I.el),Re&&$n(Re,q),(ft=Z.props&&Z.props.onVnodeUpdated)&&$n(()=>qr(ft,Ne,Z,rt),q)}else{let Z;const{el:ue,props:Re}=B,{bm:Ne,m:rt,parent:st,root:ft,type:I}=M,P=Ss(B);if(Ha(M,!1),Ne&&_u(Ne),!P&&(Z=Re&&Re.onVnodeBeforeMount)&&qr(Z,st,B),Ha(M,!0),ue&&Oe){const Y=()=>{M.subTree=Yv(M),Oe(ue,M.subTree,M,q,null)};P&&I.__asyncHydrate?I.__asyncHydrate(ue,M,Y):Y()}else{ft.ce&&ft.ce._hasShadowRoot()&&ft.ce._injectChildStyle(I,M.parent?M.parent.type:void 0);const Y=M.subTree=Yv(M);v(null,Y,Q,ve,M,q,$),B.el=Y.el}if(rt&&$n(rt,q),!P&&(Z=Re&&Re.onVnodeMounted)){const Y=B;$n(()=>qr(Z,st,Y),q)}(B.shapeFlag&256||st&&Ss(st.vnode)&&st.vnode.shapeFlag&256)&&M.a&&$n(M.a,q),M.isMounted=!0,B=Q=ve=null}};M.scope.on();const ae=M.effect=new fT(ee);M.scope.off();const de=M.update=ae.run.bind(ae),xe=M.job=ae.runIfDirty.bind(ae);xe.i=M,xe.id=M.uid,ae.scheduler=()=>q0(xe),Ha(M,!0),de()},K=(M,B,Q)=>{B.component=M;const ve=M.vnode.props;M.vnode=B,M.next=null,WL(M,B.props,ve,Q),YL(M,B.children,Q),Os(),qw(M),Ps()},z=(M,B,Q,ve,q,$,j,ee,ae=!1)=>{const de=M&&M.children,xe=M?M.shapeFlag:0,Z=B.children,{patchFlag:ue,shapeFlag:Re}=B;if(ue>0){if(ue&128){X(de,Z,Q,ve,q,$,j,ee,ae);return}else if(ue&256){be(de,Z,Q,ve,q,$,j,ee,ae);return}}Re&8?(xe&16&&ke(de,q,$),Z!==de&&c(Q,Z)):xe&16?Re&16?X(de,Z,Q,ve,q,$,j,ee,ae):ke(de,q,$,!0):(xe&8&&c(Q,""),Re&16&&D(Z,Q,ve,q,$,j,ee,ae))},be=(M,B,Q,ve,q,$,j,ee,ae)=>{M=M||gu,B=B||gu;const de=M.length,xe=B.length,Z=Math.min(de,xe);let ue;for(ue=0;ue<Z;ue++){const Re=B[ue]=ae?us(B[ue]):co(B[ue]);v(M[ue],Re,Q,null,q,$,j,ee,ae)}de>xe?ke(M,q,$,!0,!1,Z):D(B,Q,ve,q,$,j,ee,ae,Z)},X=(M,B,Q,ve,q,$,j,ee,ae)=>{let de=0;const xe=B.length;let Z=M.length-1,ue=xe-1;for(;de<=Z&&de<=ue;){const Re=M[de],Ne=B[de]=ae?us(B[de]):co(B[de]);if(Jo(Re,Ne))v(Re,Ne,Q,null,q,$,j,ee,ae);else break;de++}for(;de<=Z&&de<=ue;){const Re=M[Z],Ne=B[ue]=ae?us(B[ue]):co(B[ue]);if(Jo(Re,Ne))v(Re,Ne,Q,null,q,$,j,ee,ae);else break;Z--,ue--}if(de>Z){if(de<=ue){const Re=ue+1,Ne=Re<xe?B[Re].el:ve;for(;de<=ue;)v(null,B[de]=ae?us(B[de]):co(B[de]),Q,Ne,q,$,j,ee,ae),de++}}else if(de>ue)for(;de<=Z;)Ve(M[de],q,$,!0),de++;else{const Re=de,Ne=de,rt=new Map;for(de=Ne;de<=ue;de++){const H=B[de]=ae?us(B[de]):co(B[de]);H.key!=null&&rt.set(H.key,de)}let st,ft=0;const I=ue-Ne+1;let P=!1,Y=0;const fe=new Array(I);for(de=0;de<I;de++)fe[de]=0;for(de=Re;de<=Z;de++){const H=M[de];if(ft>=I){Ve(H,q,$,!0);continue}let U;if(H.key!=null)U=rt.get(H.key);else for(st=Ne;st<=ue;st++)if(fe[st-Ne]===0&&Jo(H,B[st])){U=st;break}U===void 0?Ve(H,q,$,!0):(fe[U-Ne]=de+1,U>=Y?Y=U:P=!0,v(H,B[U],Q,null,q,$,j,ee,ae),ft++)}const Ce=P?ZL(fe):gu;for(st=Ce.length-1,de=I-1;de>=0;de--){const H=Ne+de,U=B[H],Me=B[H+1],De=H+1<xe?Me.el||gA(Me):ve;fe[de]===0?v(null,U,Q,De,q,$,j,ee,ae):P&&(st<0||de!==Ce[st]?Fe(U,Q,De,2):st--)}}},Fe=(M,B,Q,ve,q=null)=>{const{el:$,type:j,transition:ee,children:ae,shapeFlag:de}=M;if(de&6){Fe(M.component.subTree,B,Q,ve);return}if(de&128){M.suspense.move(B,Q,ve);return}if(de&64){j.move(M,B,Q,he);return}if(j===Je){r($,B,Q);for(let Z=0;Z<ae.length;Z++)Fe(ae[Z],B,Q,ve);r(M.anchor,B,Q);return}if(j===Su){w(M,B,Q);return}if(ve!==2&&de&1&&ee)if(ve===0)ee.beforeEnter($),r($,B,Q),$n(()=>ee.enter($),q);else{const{leave:Z,delayLeave:ue,afterLeave:Re}=ee,Ne=()=>{M.ctx.isUnmounted?o($):r($,B,Q)},rt=()=>{$._isLeaving&&$[xi](!0),Z($,()=>{Ne(),Re&&Re()})};ue?ue($,Ne,rt):rt()}else r($,B,Q)},Ve=(M,B,Q,ve=!1,q=!1)=>{const{type:$,props:j,ref:ee,children:ae,dynamicChildren:de,shapeFlag:xe,patchFlag:Z,dirs:ue,cacheIndex:Re,memo:Ne}=M;if(Z===-2&&(q=!1),ee!=null&&(Os(),wu(ee,null,Q,M,!0),Ps()),Re!=null&&(B.renderCache[Re]=void 0),xe&256){B.ctx.deactivate(M);return}const rt=xe&1&&ue,st=!Ss(M);let ft;if(st&&(ft=j&&j.onVnodeBeforeUnmount)&&qr(ft,B,M),xe&6)ut(M.component,Q,ve);else{if(xe&128){M.suspense.unmount(Q,ve);return}rt&&Di(M,null,B,"beforeUnmount"),xe&64?M.type.remove(M,B,Q,he,ve):de&&!de.hasOnce&&($!==Je||Z>0&&Z&64)?ke(de,B,Q,!1,!0):($===Je&&Z&384||!q&&xe&16)&&ke(ae,B,Q),ve&&tt(M)}const I=Ne!=null&&Re==null;(st&&(ft=j&&j.onVnodeUnmounted)||rt||I)&&$n(()=>{ft&&qr(ft,B,M),rt&&Di(M,null,B,"unmounted"),I&&(M.el=null)},Q)},tt=M=>{const{type:B,el:Q,anchor:ve,transition:q}=M;if(B===Je){Be(Q,ve);return}if(B===Su){_(M);return}const $=()=>{o(Q),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(M.shapeFlag&1&&q&&!q.persisted){const{leave:j,delayLeave:ee}=q,ae=()=>j(Q,$);ee?ee(M.el,$,ae):ae()}else $()},Be=(M,B)=>{let Q;for(;M!==B;)Q=p(M),o(M),M=Q;o(B)},ut=(M,B,Q)=>{const{bum:ve,scope:q,job:$,subTree:j,um:ee,m:ae,a:de}=M;Dh(ae),Dh(de),ve&&_u(ve),q.stop(),$&&($.flags|=8,Ve(j,M,B,Q)),ee&&$n(ee,B),$n(()=>{M.isUnmounted=!0},B)},ke=(M,B,Q,ve=!1,q=!1,$=0)=>{for(let j=$;j<M.length;j++)Ve(M[j],B,Q,ve,q)},F=M=>{if(M.shapeFlag&6)return F(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const B=p(M.anchor||M.el),Q=B&&B[MT];return Q?p(Q):B};let le=!1;const se=(M,B,Q)=>{let ve;M==null?B._vnode&&(Ve(B._vnode,null,null,!0),ve=B._vnode.component):v(B._vnode||null,M,B,null,null,null,Q),B._vnode=M,le||(le=!0,qw(ve),kh(),le=!1)},he={p:v,um:Ve,m:Fe,r:tt,mt:re,mc:D,pc:z,pbc:x,n:F,o:e};let Ee,Oe;return t&&([Ee,Oe]=t(he)),{render:se,hydrate:Ee,createApp:LL(se,Ee)}}function Xv({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ha({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function mA(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Y0(e,t,n=!1){const r=e.children,o=t.children;if(et(r)&&et(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=us(o[i]),a.el=s.el),!n&&a.patchFlag!==-2&&Y0(s,a)),a.type===ma&&(a.patchFlag===-1&&(a=o[i]=us(a)),a.el=s.el),a.type===bn&&!a.el&&(a.el=s.el)}}function ZL(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<u?i=a+1:s=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function vA(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vA(t)}function Dh(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function gA(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?gA(t.subTree):null}const xh=e=>e.__isSuspense;let R_=0;const JL={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(e==null)e2(t,n,r,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}t2(e,t,n,r,o,s,a,l,u)}},hydrate:n2,normalize:r2},X0=JL;function td(e,t){const n=e.props&&e.props[t];pt(n)&&n()}function e2(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),p=e.suspense=yA(e,o,r,t,f,n,i,s,a,l);u(null,p.pendingBranch=e.ssContent,f,null,r,p,i,s),p.deps>0?(td(e,"onPending"),td(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),Eu(p,e.ssFallback)):p.resolve(!1,!0)}function t2(e,t,n,r,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:v,isInFallback:g,isHydrating:b}=f;if(v)f.pendingBranch=p,Jo(v,p)?(l(v,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():g&&(b||(l(h,d,n,r,o,null,i,s,a),Eu(f,d)))):(f.pendingId=R_++,b?(f.isHydrating=!1,f.activeBranch=v):u(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,d,n,r,o,null,i,s,a),Eu(f,d))):h&&Jo(h,p)?(l(h,p,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&Jo(h,p))l(h,p,n,r,o,f,i,s,a),Eu(f,p);else if(td(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=R_++,l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:w}=f;y>0?setTimeout(()=>{f.pendingId===w&&f.fallback(d)},y):y===0&&f.fallback(d)}}function yA(e,t,n,r,o,i,s,a,l,u,c=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:v,remove:g}}=u;let b;const y=o2(e);y&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const w=e.props?sT(e.props.timeout):void 0,_=i,k={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:R_++,timeout:typeof w=="number"?w:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,E=!1){const{vnode:D,activeBranch:T,pendingBranch:x,pendingId:O,effects:A,parentComponent:V,container:re,isInFallback:pe}=k;let G=!1;k.isHydrating?k.isHydrating=!1:C||(G=T&&x.transition&&x.transition.mode==="out-in",G&&(T.transition.afterLeave=()=>{O===k.pendingId&&(p(x,re,i===_?h(T):i,0),Vu(A),pe&&D.ssFallback&&(D.ssFallback.el=null))}),T&&!k.isFallbackMountPending&&(v(T.el)===re&&(i=h(T)),d(T,V,k,!0),!G&&pe&&D.ssFallback&&$n(()=>D.ssFallback.el=null,k)),G||p(x,re,i,0)),k.isFallbackMountPending=!1,Eu(k,x),k.pendingBranch=null,k.isInFallback=!1;let K=k.parent,z=!1;for(;K;){if(K.pendingBranch){K.effects.push(...A),z=!0;break}K=K.parent}!z&&!G&&Vu(A),k.effects=[],y&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),td(D,"onResolve")},fallback(C){if(!k.pendingBranch)return;const{vnode:E,activeBranch:D,parentComponent:T,container:x,namespace:O}=k;td(E,"onFallback");const A=h(D),V=()=>{k.isFallbackMountPending=!1,k.isInFallback&&(f(null,C,x,A,T,null,O,a,l),Eu(k,C))},re=C.transition&&C.transition.mode==="out-in";re&&(k.isFallbackMountPending=!0,D.transition.afterLeave=V),k.isInFallback=!0,d(D,T,null,!0),re||V()},move(C,E,D){k.activeBranch&&p(k.activeBranch,C,E,D),k.container=C},next(){return k.activeBranch&&h(k.activeBranch)},registerDep(C,E,D){const T=!!k.pendingBranch;T&&k.deps++;const x=C.vnode.el;C.asyncDep.catch(O=>{bc(O,C,0)}).then(O=>{if(C.isUnmounted||k.isUnmounted||k.pendingId!==C.suspenseId)return;nd(),C.asyncResolved=!0;const{vnode:A}=C;I_(C,O),x&&(A.el=x);const V=!x&&C.subTree.el;E(C,A,v(x||C.subTree.el),x?null:h(C.subTree),k,s,D),V&&(A.placeholder=null,g(V)),Vm(C,A.el),T&&--k.deps===0&&k.resolve()})},unmount(C,E){k.isUnmounted=!0,k.activeBranch&&d(k.activeBranch,n,C,E),k.pendingBranch&&d(k.pendingBranch,n,C,E)}};return k}function n2(e,t,n,r,o,i,s,a,l){const u=t.suspense=yA(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function r2(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=tk(r?n.default:n),e.ssFallback=r?tk(n.fallback):W(bn)}function tk(e){let t;if(pt(e)){const n=Uu&&e._c;n&&(e._d=!1,R()),e=e(),n&&(e._d=!0,t=Gr,bA())}return et(e)&&(e=jL(e)),e=co(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function _A(e,t){t&&t.pendingBranch?et(e)?t.effects.push(...e):t.effects.push(e):Vu(e)}function Eu(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Vm(r,o))}function o2(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Je=Symbol.for("v-fgt"),ma=Symbol.for("v-txt"),bn=Symbol.for("v-cmt"),Su=Symbol.for("v-stc"),Df=[];let Gr=null;function R(e=!1){Df.push(Gr=e?null:[])}function bA(){Df.pop(),Gr=Df[Df.length-1]||null}let Uu=1;function Th(e,t=!1){Uu+=e,e<0&&Gr&&t&&(Gr.hasOnce=!0)}function wA(e){return e.dynamicChildren=Uu>0?Gr||gu:null,bA(),Uu>0&&Gr&&Gr.push(e),e}function ce(e,t,n,r,o,i){return wA(m(e,t,n,r,o,i,!0))}function ie(e,t,n,r,o){return wA(W(e,t,n,r,o,!0))}function Fo(e){return e?e.__v_isVNode===!0:!1}function Jo(e,t){return e.type===t.type&&e.key===t.key}const kA=({key:e})=>e??null,eh=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?dn(e)||lt(e)||pt(e)?{i:rr,r:e,k:t,f:!!n}:e:null);function m(e,t=null,n=null,r=0,o=null,i=e===Je?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kA(t),ref:t&&eh(t),scopeId:IT,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:rr};return a?(Q0(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=dn(n)?8:16),Uu>0&&!s&&Gr&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Gr.push(l),l}const W=i2;function i2(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===GT)&&(e=bn),Fo(e)){const a=Ho(e,t,!0);return n&&Q0(a,n),Uu>0&&!i&&Gr&&(a.shapeFlag&6?Gr[Gr.indexOf(e)]=a:Gr.push(a)),a.patchFlag=-2,a}if(p2(e)&&(e=e.__vccOpts),t){t=Ki(t);let{class:a,style:l}=t;a&&!dn(a)&&(t.class=Qe(a)),Gt(l)&&(Nm(l)&&!et(l)&&(l=On({},l)),t.style=Xn(l))}const s=dn(e)?1:xh(e)?128:FT(e)?64:Gt(e)?4:pt(e)?2:0;return m(e,t,n,r,o,s,i,!0)}function Ki(e){return e?Nm(e)||lA(e)?On({},e):e:null}function Ho(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?at(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&kA(u),ref:t&&t.ref?n&&i?et(i)?i.concat(eh(t)):[i,eh(t)]:eh(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Je?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ho(e.ssContent),ssFallback:e.ssFallback&&Ho(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ea(c,l.clone(c)),c}function qe(e=" ",t=0){return W(ma,null,e,t)}function s2(e,t){const n=W(Su,null,e);return n.staticCount=t,n}function we(e="",t=!1){return t?(R(),ie(bn,null,e)):W(bn,null,e)}function co(e){return e==null||typeof e=="boolean"?W(bn):et(e)?W(Je,null,e.slice()):Fo(e)?us(e):W(ma,null,String(e))}function us(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ho(e)}function Q0(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(et(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Q0(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!lA(t)?t._ctx=rr:o===3&&rr&&(rr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pt(t)?(t={default:t,_ctx:rr},n=32):(t=String(t),r&64?(n=16,t=[qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function at(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Qe([t.class,r.class]));else if(o==="style")t.style=Xn([t.style,r.style]);else if(Nd(o)){const i=t[o],s=r[o];s&&i!==s&&!(et(i)&&i.includes(s))?t[o]=i?[].concat(i,s):s:s==null&&i==null&&!Tm(o)&&(t[o]=s)}else o!==""&&(t[o]=r[o])}return t}function qr(e,t,n,r=null){di(e,t,7,[n,r])}const a2=nA();let l2=0;function u2(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||a2,i={uid:l2++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new cT(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:cA(r,o),emitsOptions:oA(r,o),emit:null,emitted:null,propsDefaults:Nt,inheritAttrs:r.inheritAttrs,ctx:Nt,data:Nt,props:Nt,attrs:Nt,slots:Nt,refs:Nt,setupState:Nt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=NL.bind(null,i),e.ce&&e.ce(i),i}let tr=null;const kt=()=>tr||rr;let Ah,Cu;{const e=Im(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Ah=t("__VUE_INSTANCE_SETTERS__",n=>tr=n),Cu=t("__VUE_SSR_SETTERS__",n=>Sl=n)}const wc=e=>{const t=tr;return Ah(e),e.scope.on(),()=>{e.scope.off(),Ah(t)}},nd=()=>{tr&&tr.scope.off(),Ah(null)};function EA(e){return e.vnode.shapeFlag&4}let Sl=!1;function c2(e,t=!1,n=!1){t&&Cu(t);const{props:r,children:o}=e.vnode,i=EA(e);HL(e,r,i,t),GL(e,o,n||t);const s=i?f2(e,t):void 0;return t&&Cu(!1),s}function f2(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,TL);const{setup:r}=n;if(r){Os();const o=e.setupContext=r.length>1?CA(e):null,i=wc(e),s=Bd(r,e,0,[e.props,o]),a=F0(s);if(Ps(),i(),(a||e.sp)&&!Ss(e)&&H0(e),a){if(s.then(nd,nd),t)return s.then(l=>{I_(e,l)}).catch(l=>{bc(l,e,0)});e.asyncDep=s}else I_(e,s)}else SA(e)}function I_(e,t,n){pt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Gt(t)&&(e.setupState=TT(t)),SA(e)}function SA(e,t,n){const r=e.type;e.render||(e.render=r.render||oi);{const o=wc(e);Os();try{PL(e)}finally{Ps(),o()}}}const d2={get(e,t){return dr(e,"get",""),e[t]}};function CA(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,d2),slots:e.slots,emit:e.emit,expose:t}}function Um(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(TT(Bm(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cf)return Cf[n](e)},has(t,n){return n in t||n in Cf}})):e.proxy}function $_(e,t=!0){return pt(e)?e.displayName||e.name:e.name||t&&e.__name}function p2(e){return pt(e)&&"__vccOpts"in e}const N=(e,t)=>tL(e,t,Sl);function Bt(e,t,n){try{Th(-1);const r=arguments.length;return r===2?Gt(t)&&!et(t)?Fo(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Fo(n)&&(n=[n]),W(e,t,n))}finally{Th(1)}}const h2="3.5.32";let M_;const nk=typeof window<"u"&&window.trustedTypes;if(nk)try{M_=nk.createPolicy("vue",{createHTML:e=>e})}catch{}const DA=M_?e=>M_.createHTML(e):e=>e,m2="http://www.w3.org/2000/svg",v2="http://www.w3.org/1998/Math/MathML",ss=typeof document<"u"?document:null,rk=ss&&ss.createElement("template"),g2={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?ss.createElementNS(m2,e):t==="mathml"?ss.createElementNS(v2,e):n?ss.createElement(e,{is:n}):ss.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ss.createTextNode(e),createComment:e=>ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{rk.innerHTML=DA(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=rk.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ws="transition",Nc="animation",Hu=Symbol("_vtc"),xA={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},TA=On({},NT,xA),y2=e=>(e.displayName="Transition",e.props=TA,e),Ud=y2((e,{slots:t})=>Bt(hL,AA(e),t)),Wa=(e,t=[])=>{et(e)?e.forEach(n=>n(...t)):e&&e(...t)},ok=e=>e?et(e)?e.some(t=>t.length>1):e.length>1:!1;function AA(e){const t={};for(const A in e)A in xA||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=_2(o),v=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:w,onLeave:_,onLeaveCancelled:k,onBeforeAppear:C=b,onAppear:E=y,onAppearCancelled:D=w}=t,T=(A,V,re,pe)=>{A._enterCancelled=pe,Js(A,V?c:a),Js(A,V?u:s),re&&re()},x=(A,V)=>{A._isLeaving=!1,Js(A,f),Js(A,d),Js(A,p),V&&V()},O=A=>(V,re)=>{const pe=A?E:y,G=()=>T(V,A,re);Wa(pe,[V,G]),ik(()=>{Js(V,A?l:i),ki(V,A?c:a),ok(pe)||sk(V,r,v,G)})};return On(t,{onBeforeEnter(A){Wa(b,[A]),ki(A,i),ki(A,s)},onBeforeAppear(A){Wa(C,[A]),ki(A,l),ki(A,u)},onEnter:O(!1),onAppear:O(!0),onLeave(A,V){A._isLeaving=!0;const re=()=>x(A,V);ki(A,f),A._enterCancelled?(ki(A,p),F_(A)):(F_(A),ki(A,p)),ik(()=>{A._isLeaving&&(Js(A,f),ki(A,d),ok(_)||sk(A,r,g,re))}),Wa(_,[A,re])},onEnterCancelled(A){T(A,!1,void 0,!0),Wa(w,[A])},onAppearCancelled(A){T(A,!0,void 0,!0),Wa(D,[A])},onLeaveCancelled(A){x(A),Wa(k,[A])}})}function _2(e){if(e==null)return null;if(Gt(e))return[Qv(e.enter),Qv(e.leave)];{const t=Qv(e);return[t,t]}}function Qv(e){return sT(e)}function ki(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Hu]||(e[Hu]=new Set)).add(t)}function Js(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Hu];n&&(n.delete(t),n.size||(e[Hu]=void 0))}function ik(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let b2=0;function sk(e,t,n,r){const o=e._endId=++b2,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=OA(e,t);if(!s)return r();const u=s+"end";let c=0;const f=()=>{e.removeEventListener(u,p),i()},p=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,p)}function OA(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Ws}Delay`),i=r(`${Ws}Duration`),s=ak(o,i),a=r(`${Nc}Delay`),l=r(`${Nc}Duration`),u=ak(a,l);let c=null,f=0,p=0;t===Ws?s>0&&(c=Ws,f=s,p=i.length):t===Nc?u>0&&(c=Nc,f=u,p=l.length):(f=Math.max(s,u),c=f>0?s>u?Ws:Nc:null,p=c?c===Ws?i.length:l.length:0);const d=c===Ws&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ws}Property`).toString());return{type:c,timeout:f,propCount:p,hasTransform:d}}function ak(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>lk(n)+lk(e[r])))}function lk(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function F_(e){return(e?e.ownerDocument:document).body.offsetHeight}function w2(e,t,n){const r=e[Hu];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Oh=Symbol("_vod"),PA=Symbol("_vsh"),ide={name:"show",beforeMount(e,{value:t},{transition:n}){e[Oh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Bc(e,!0),r.enter(e)):r.leave(e,()=>{Bc(e,!1)}):Bc(e,t))},beforeUnmount(e,{value:t}){Bc(e,t)}};function Bc(e,t){e.style.display=t?e[Oh]:"none",e[PA]=!t}const RA=Symbol("");function k2(e){const t=kt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Ph(i,o))},r=()=>{const o=e(t.proxy);t.ce?Ph(t.ce,o):L_(t.subTree,o),n(o)};zT(()=>{Vu(r)}),_t(()=>{Ie(r,oi,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Lr(()=>o.disconnect())})}function L_(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{L_(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ph(e.el,t);else if(e.type===Je)e.children.forEach(n=>L_(n,t));else if(e.type===Su){let{el:n,anchor:r}=e;for(;n&&(Ph(n,t),n!==r);)n=n.nextSibling}}function Ph(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const i=TF(t[o]);n.setProperty(`--${o}`,i),r+=`--${o}: ${i};`}n[RA]=r}}const E2=/(?:^|;)\s*display\s*:/;function S2(e,t,n){const r=e.style,o=dn(n);let i=!1;if(n&&!o){if(t)if(dn(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&th(r,a,"")}else for(const s in t)n[s]==null&&th(r,s,"");for(const s in n)s==="display"&&(i=!0),th(r,s,n[s])}else if(o){if(t!==n){const s=r[RA];s&&(n+=";"+s),r.cssText=n,i=E2.test(n)}}else t&&e.removeAttribute("style");Oh in e&&(e[Oh]=i?r.display:"",e[PA]&&(r.display="none"))}const uk=/\s*!important$/;function th(e,t,n){if(et(n))n.forEach(r=>th(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=C2(e,t);uk.test(n)?e.setProperty(qs(r),n.replace(uk,""),"important"):e[r]=n}}const ck=["Webkit","Moz","ms"],Zv={};function C2(e,t){const n=Zv[t];if(n)return n;let r=Nn(t);if(r!=="filter"&&r in e)return Zv[t]=r;r=Pm(r);for(let o=0;o<ck.length;o++){const i=ck[o]+r;if(i in e)return Zv[t]=i}return t}const fk="http://www.w3.org/1999/xlink";function dk(e,t,n,r,o,i=DF(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fk,t.slice(6,t.length)):e.setAttributeNS(fk,t,n):n==null||i&&!aT(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ko(n)?String(n):n)}function pk(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?DA(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=aT(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function hs(e,t,n,r){e.addEventListener(t,n,r)}function D2(e,t,n,r){e.removeEventListener(t,n,r)}const hk=Symbol("_vei");function x2(e,t,n,r,o=null){const i=e[hk]||(e[hk]={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=T2(t);if(r){const u=i[t]=P2(r,o);hs(e,a,u,l)}else s&&(D2(e,a,s,l),i[t]=void 0)}}const mk=/(?:Once|Passive|Capture)$/;function T2(e){let t;if(mk.test(e)){t={};let r;for(;r=e.match(mk);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qs(e.slice(2)),t]}let Jv=0;const A2=Promise.resolve(),O2=()=>Jv||(A2.then(()=>Jv=0),Jv=Date.now());function P2(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;di(R2(r,n.value),t,5,[r])};return n.value=e,n.attached=O2(),n}function R2(e,t){if(et(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const vk=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,I2=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?w2(e,r,s):t==="style"?S2(e,n,r):Nd(t)?Tm(t)||x2(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$2(e,t,r,s))?(pk(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&dk(e,t,r,s,i,t!=="value")):e._isVueCE&&(M2(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!dn(r)))?pk(e,Nn(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),dk(e,t,r,s))};function $2(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&vk(t)&&pt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return vk(t)&&dn(n)?!1:t in e}function M2(e,t){const n=e._def.props;if(!n)return!1;const r=Nn(t);return Array.isArray(n)?n.some(o=>Nn(o)===r):Object.keys(n).some(o=>Nn(o)===r)}function Z0(e="$style"){{const t=kt();if(!t)return Nt;const n=t.type.__cssModules;if(!n)return Nt;const r=n[e];return r||Nt}}const IA=new WeakMap,$A=new WeakMap,Rh=Symbol("_moveCb"),gk=Symbol("_enterCb"),F2=e=>(delete e.props.mode,e),L2=F2({name:"TransitionGroup",props:On({},TA,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=kt(),r=LT();let o,i;return Vd(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!V2(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(B2),o.forEach(j2);const a=o.filter(q2);F_(n.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;ki(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Rh]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Rh]=null,Js(u,s))};u.addEventListener("transitionend",f)}),o=[]}),()=>{const s=Ot(e),a=AA(s);let l=s.tag||Je;if(o=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&(o.push(c),Ea(c,Jf(c,a,r,n)),IA.set(c,MA(c.el)))}i=t.default?U0(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&Ea(c,Jf(c,a,r,n))}return W(l,null,i)}}}),N2=L2;function B2(e){const t=e.el;t[Rh]&&t[Rh](),t[gk]&&t[gk]()}function j2(e){$A.set(e,MA(e.el))}function q2(e){const t=IA.get(e),n=$A.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el,s=i.style,a=i.getBoundingClientRect();let l=1,u=1;return i.offsetWidth&&(l=a.width/i.offsetWidth),i.offsetHeight&&(u=a.height/i.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(l-1)<.01&&(l=1),Math.abs(u-1)<.01&&(u=1),s.transform=s.webkitTransform=`translate(${r/l}px,${o/u}px)`,s.transitionDuration="0s",e}}function MA(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function V2(e,t,n){const r=e.cloneNode(),o=e[Hu];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=OA(r);return i.removeChild(r),s}const Sa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return et(t)?n=>_u(t,n):t};function U2(e){e.target.composing=!0}function yk(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qo=Symbol("_assign");function _k(e,t,n){return t&&(e=e.trim()),n&&(e=Rm(e)),e}const Lo={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[qo]=Sa(o);const i=r||o.props&&o.props.type==="number";hs(e,t?"change":"input",s=>{s.target.composing||e[qo](_k(e.value,n,i))}),(n||i)&&hs(e,"change",()=>{e.value=_k(e.value,n,i)}),t||(hs(e,"compositionstart",U2),hs(e,"compositionend",yk),hs(e,"change",yk))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[qo]=Sa(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rm(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l)}},FA={deep:!0,created(e,t,n){e[qo]=Sa(n),hs(e,"change",()=>{const r=e._modelValue,o=Wu(e),i=e.checked,s=e[qo];if(et(r)){const a=L0(r,o),l=a!==-1;if(i&&!l)s(r.concat(o));else if(!i&&l){const u=[...r];u.splice(a,1),s(u)}}else if(gc(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}
4else s(LA(e,i))})},mounted:bk,beforeUpdate(e,t,n){e[qo]=Sa(n),bk(e,t,n)}};function bk(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(et(t))o=L0(t,r.props.value)>-1;else if(gc(t))o=t.has(r.props.value);else{if(t===n)return;o=ka(t,LA(e,!0))}e.checked!==o&&(e.checked=o)}const H2={created(e,{value:t},n){e.checked=ka(t,n.props.value),e[qo]=Sa(n),hs(e,"change",()=>{e[qo](Wu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[qo]=Sa(r),t!==n&&(e.checked=ka(t,r.props.value))}},N_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=gc(t);hs(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?Rm(Wu(s)):Wu(s));e[qo](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,it(()=>{e._assigning=!1})}),e[qo]=Sa(r)},mounted(e,{value:t}){wk(e,t)},beforeUpdate(e,t,n){e[qo]=Sa(n)},updated(e,{value:t}){e._assigning||wk(e,t)}};function wk(e,t){const n=e.multiple,r=et(t);if(!(n&&!r&&!gc(t))){for(let o=0,i=e.options.length;o<i;o++){const s=e.options[o],a=Wu(s);if(n)if(r){const l=typeof a;l==="string"||l==="number"?s.selected=t.some(u=>String(u)===String(a)):s.selected=L0(t,a)>-1}else s.selected=t.has(a);else if(ka(Wu(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wu(e){return"_value"in e?e._value:e.value}function LA(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const W2={created(e,t,n){cp(e,t,n,null,"created")},mounted(e,t,n){cp(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){cp(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){cp(e,t,n,r,"updated")}};function z2(e,t){switch(e){case"SELECT":return N_;case"TEXTAREA":return Lo;default:switch(t){case"checkbox":return FA;case"radio":return H2;default:return Lo}}}function cp(e,t,n,r,o){const s=z2(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}const K2=["ctrl","shift","alt","meta"],G2={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>K2.some(n=>e[`${n}Key`]&&!t.includes(n))},Rr=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...i)=>{for(let s=0;s<t.length;s++){const a=G2[t[s]];if(a&&a(o,t))return}return e(o,...i)}))},Y2={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Du=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(o=>{if(!("key"in o))return;const i=qs(o.key);if(t.some(s=>s===i||Y2[s]===i))return e(o)}))},NA=On({patchProp:I2},g2);let xf,kk=!1;function X2(){return xf||(xf=XL(NA))}function Q2(){return xf=kk?xf:QL(NA),kk=!0,xf}const Z2=((...e)=>{const t=X2().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=jA(r);if(!o)return;const i=t._component;!pt(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,BA(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t}),J2=((...e)=>{const t=Q2().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=jA(r);if(o)return n(o,!0,BA(o))},t});function BA(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jA(e){return dn(e)?document.querySelector(e):e}const eN=/"(?:_|\\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*:/,tN=/"(?: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*:/,nN=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function rN(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){oN(e);return}return t}function oN(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function rd(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!nN.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(eN.test(e)||tN.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,rN)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const qA=/#/g,VA=/&/g,iN=/\//g,sN=/=/g,aN=/\?/g,Hm=/\+/g,lN=/%5e/gi,uN=/%60/gi,cN=/%7c/gi,fN=/%20/gi,dN=/%2f/gi,pN=/%252f/gi;function UA(e){return encodeURI(""+e).replace(cN,"|")}function B_(e){return UA(typeof e=="string"?e:JSON.stringify(e)).replace(Hm,"%2B").replace(fN,"+").replace(qA,"%23").replace(VA,"%26").replace(uN,"`").replace(lN,"^").replace(iN,"%2F")}function eg(e){return B_(e).replace(sN,"%3D")}function hN(e){return UA(e).replace(qA,"%23").replace(aN,"%3F").replace(pN,"%2F").replace(VA,"%26").replace(Hm,"%2B")}function Cl(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function mN(e){return Cl(e.replace(dN,"%252F"))}function vN(e){return Cl(e.replace(Hm," "))}function gN(e){return Cl(e.replace(Hm," "))}function J0(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=vN(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=gN(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function yN(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eg(e)}=${B_(n)}`).join("&"):`${eg(e)}=${B_(t)}`:eg(e)}function _N(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
4yN(t,e[t])).filter(Boolean).join("&")}const bN=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,wN=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,kN=/^([/\\]\s*){2,}[^/\\]/,EN=/^[\s\0]*(blob|data|javascript|vbscript):$/i,SN=/\/$|\/\?|\/#/,CN=/^\.?\//;function Gi(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?bN.test(e):wN.test(e)||(t.acceptRelative?kN.test(e):!1)}function DN(e){return!!e&&EN.test(e)}function j_(e="",t){return t?SN.test(e):e.endsWith("/")}function od(e="",t){if(!t)return(j_(e)?e.slice(0,-1):e)||"/";if(!j_(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Ih(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(j_(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function xN(e=""){return e.startsWith("/")}function Ek(e=""){return xN(e)?e:"/"+e}function TN(e,t){if(HA(t)||Gi(e))return e;const n=od(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return ql(n,e)}function Sk(e,t){if(HA(t))return e;const n=od(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Wm(e,t){const n=e1(e),r={...J0(n.search),...t};return n.search=_N(r),ON(n)}function HA(e){return!e||e==="/"}function AN(e){return e&&e!=="/"}function ql(e,...t){let n=e||"";for(const r of t.filter(o=>AN(o)))if(n){const o=r.replace(CN,"");n=Ih(n)+o}else n=r;return n}function WA(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const s of n)if(!(!s||s==="/")){for(const[a,l]of s.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Gi(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let i=r.join("/");return o>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function zA(e,t){return Cl(od(e))===Cl(od(t))}function Ck(e,t,n={}){return n.trailingSlash||(e=Ih(e),t=Ih(t)),n.leadingSlash||(e=Ek(e),t=Ek(t)),n.encoding||(e=Cl(e),t=Cl(t)),e===t}const KA=Symbol.for("ufo:protocolRelative");function e1(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!Gi(e,{acceptRelative:!0}))return q_(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=q_(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:u,hash:c,[KA]:!r}}function q_(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ON(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[KA]?(e.protocol||"")+"//":"")+o+i+t+n+r}class PN extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function RN(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new PN(s,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const IN=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Dk(e="GET"){return IN.has(e.toUpperCase())}function $N(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const MN=new Set(["image/svg","application/xml","application/xhtml","application/html"]),FN=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function LN(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return FN.test(t)?"json":t==="text/event-stream"?"stream":MN.has(t)||t.startsWith("text/")?"text":"blob"}function NN(e,t,n,r){const o=BN(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:o}}function BN(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function fp(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const jN=new Set([408,409,425,429,500,502,503,504]),qN=new Set([101,204,205,304]);function GA(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Dk(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):jN.has(f))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),i(a.request,{...a.options,retry:c-1})}}const u=RN(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:NN(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await fp(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=TN(c.request,c.options.baseURL)),c.options.query&&(c.request=Wm(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Dk(c.options.method))if($N(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await fp(c,c.options.onRequestError),await o(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!qN.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||LN(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),v=c.options.parseResponse||rd;c.response._data=v(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await fp(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await fp(c,c.options.onResponseError),await o(c)):c.response},s=async function(l,u){return(await i(l,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>GA({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const $h=(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")})(),VN=$h.fetch?(...e)=>$h.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),UN=$h.Headers,HN=$h.AbortController,WN=GA({fetch:VN,Headers:UN,AbortController:HN}),zN=WN,KN=()=>window?.__NUXT__?.config||{},t1=()=>KN().app,GN=()=>t1().baseURL,YN=()=>t1().buildAssetsDir,n1=(...e)=>WA(YA(),YN(),...e),YA=(...e)=>{const t=t1(),n=t.cdnURL||t.baseURL;return e.length?WA(n,...e):n};globalThis.__buildAssetsURL=n1,globalThis.__publicAssetsURL=YA;globalThis.$fetch||(globalThis.$fetch=zN.create({baseURL:GN()}));"global"in globalThis||(globalThis.global=globalThis);function V_(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?V_(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const XN={run:e=>e()},QN=()=>XN,XA=typeof console.createTask<"u"?console.createTask:QN;function ZN(e,t){const n=t.shift(),r=XA(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function JN(e,t){const n=t.shift(),r=XA(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function tg(e,t){for(const n of[...e])n(t)}let eB=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=V_(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=V_(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(ZN,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(JN,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&tg(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&tg(this._after,o)}):(this._after&&o&&tg(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function tB(){return new eB}function nB(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>
4{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},u=()=>t===s?l:void 0;U_.add(u);try{const c=o?o.run(s,a):a();return n||(t=void 0),await c}finally{U_.delete(u)}}}}function rB(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=nB({...e,...r})),t[n]}}}const Mh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},xk="__unctx__",oB=Mh[xk]||(Mh[xk]=rB()),iB=(e,t={})=>oB.get(e,t),Tk="__unctx_async_handlers__",U_=Mh[Tk]||(Mh[Tk]=new Set);function No(e){const t=[];for(const o of U_){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Ak=!1,Ok=!1,sB=!1,Pk={id:"__nuxt-loader"},ade={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},gs={deep:!1},aB=void 0,lde={},lB="#__nuxt",QA="nuxt-app",Rk=36e5,uB="vite:preloadError";function ZA(e=QA){return iB(e,{asyncContext:!1})}const cB="__nuxt_plugin";function fB(e){let t=0;const n={_id:e.id||QA||"nuxt-app",_scope:Ia(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.21.2"},get vue(){return n.vueApp.version}},payload:Ri({...e.ssrContext?.payload||{},data:Ri({}),state:on({}),once:new Set,_errors:Ri({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!zi()?n._scope.run(()=>Ik(n,o)):Ik(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Ri({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=tB(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;dp(n,s,i),dp(n.vueApp.config.globalProperties,s,i)},dp(n.vueApp,"$nuxt",n),dp(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(uB,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=Zt;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function dB(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function pB(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function hB(e,t){const n=new Set,r=[],o=[];let i,s=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=pB(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,p])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(s++,await a(p)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;i||=f});l.parallel?o.push(c):await c}}for(const l of t)dB(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i)throw e.payload.error||i}function Bn(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[cB]:!0,_name:t})}const mB=Bn;function Ik(e,t,n){const r=()=>t();return ZA(e._id).set(e),e.vueApp.runWithContext(r)}function vB(e){let t;return Bl()&&(t=kt()?.appContext.app.$nuxt),t||=ZA(e).tryUse(),t||null}function Zt(e){const t=vB(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function zo(e){return Zt().$config}function dp(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ng(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function H_(e,t,n=".",r){if(!ng(t))return H_(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:ng(s)&&ng(o[i])?o[i]=H_(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function gB(e){return(...t)=>t.reduce((n,r)=>H_(n,r,"",e),{})}const zm=gB();function yB(e,t){try{return t in e}catch{return!1}}
4class $k extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:W_(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=JA(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function _B(e){if(typeof e=="string")return new $k(e);if(bB(e))return e;const t=new $k(e.message??e.statusMessage??"",{cause:e.cause||e});if(yB(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=W_(e.statusCode,t.statusCode):e.status&&(t.statusCode=W_(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;JA(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function bB(e){return e?.constructor?.__h3_error__===!0}const wB=/[^\u0009\u0020-\u007E]/g;function JA(e=""){return e.replace(wB,"")}
4function W_(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const eO=Symbol("layout-meta"),Dl=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Mr=()=>Zt()?.$router,no=()=>Bl()?Kt(Dl,Zt()._route):Zt()._route;const kB=(e,t,n={})=>{const r=Zt(),o=n.global||typeof e!="string",i=t;if(!i){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(i):r._middleware.named[e]=i},EB=()=>{try{if(Zt()._processingMiddleware)return!0}catch{return!1}return!1},Qo=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?SB(e):Mr().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[p,d]of Object.entries(c))d!==void 0&&f.push(`${p.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=Gi(n,{acceptRelative:!0}),o=t?.external||r;if(o){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&DN(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const i=EB();if(!o&&i){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=e1(e);return{path:u,...c&&{query:J0(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const s=Mr(),a=Zt();if(o)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?CB(e):e;return t?.replace?s.replace(l):s.push(l)};function SB(e){return Wm(e.path||"",e.query||{})+(e.hash||"")}function CB(e){const t=e1(e);return hN(mN(t.pathname))+t.search+t.hash}const tO="__nuxt_error",Km=()=>Rs(Zt().payload,"error"),el=e=>{const t=va(e);try{const n=Km();Zt().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},DB=async(e={})=>{const t=Zt(),n=Km();t.callHook("app:error:cleared",e),e.redirect&&await Mr().replace(e.redirect),n.value=aB},nO=e=>!!e&&typeof e=="object"&&tO in e,va=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=_B(e);return Object.defineProperty(t,tO,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};let rO;const Hd=e=>rO=e,oO=Symbol();function z_(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Tf;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Tf||(Tf={}));function xB(){const e=Ia(!0),t=e.run(()=>ne({}));let n=[],r=[];const o=Bm({install(i){Hd(o),o._a=i,i.provide(oO,o),i.config.globalProperties.$pinia=o,r.forEach(s=>n.push(s)),r=[]},use(i){return this._a?n.push(i):r.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const iO=()=>{};function Mk(e,t,n,r=iO){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&zi()&&As(o),o}function Gl(e,...t){e.forEach(n=>{n(...t)})}const TB=e=>e(),Fk=Symbol(),rg=Symbol();function K_(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];z_(o)&&z_(r)&&e.hasOwnProperty(n)&&!lt(r)&&!si(r)?e[n]=K_(o,r):e[n]=r}return e}const AB=Symbol();function OB(e){return!z_(e)||!Object.prototype.hasOwnProperty.call(e,AB)}const{assign:ea}=Object;function PB(e){return!!(lt(e)&&e.effect)}function RB(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=Pn(n.state.value[e]);return ea(c,i,Object.keys(s||{}).reduce((f,p)=>(f[p]=Bm(N(()=>{Hd(n);const d=n._s.get(e);return s[p].call(d,d)})),f),{}))}return l=sO(e,u,t,n,r,!0),l}function sO(e,t,n={},r,o,i){let s;const a=ea({actions:{}},n),l={deep:!0};let u,c,f=new Set,p=new Set,d;const h=r.state.value[e];!i&&!h&&(r.state.value[e]={});let v;function g(D){let T;u=c=!1,typeof D=="function"?(D(r.state.value[e]),T={type:Tf.patchFunction,storeId:e,events:d}):(K_(r.state.value[e],D),T={type:Tf.patchObject,payload:D,storeId:e,events:d});const x=v=Symbol();it().then(()=>{v===x&&(u=!0)}),c=!0,Gl(f,T,r.state.value[e])}const b=i?function(){const{state:T}=n,x=T?T():{};this.$patch(O=>{ea(O,x)})}:iO;function y(){s.stop(),f.clear(),p.clear(),r._s.delete(e)}const w=(D,T="")=>{if(Fk in D)return D[rg]=T,D;const x=function(){Hd(r);const O=Array.from(arguments),A=new Set,V=new Set;function re(K){A.add(K)}function pe(K){V.add(K)}Gl(p,{args:O,name:x[rg],store:k,after:re,onError:pe});let G;try{G=D.apply(this&&this.$id===e?this:k,O)}catch(K){throw Gl(V,K),K}return G instanceof Promise?G.then(K=>(Gl(A,K),K)).catch(K=>(Gl(V,K),Promise.reject(K))):(Gl(A,G),G)};return x[Fk]=!0,x[rg]=T,x},_={_p:r,$id:e,$onAction:Mk.bind(null,p),$patch:g,$reset:b,$subscribe(D,T={}){const x=Mk(f,D,T.detached,()=>O()),O=s.run(()=>Ie(()=>r.state.value[e],A=>{(T.flush==="sync"?c:u)&&D({storeId:e,type:Tf.direct,events:d},A)},ea({},l,T)));return x},$dispose:y},k=on(_);r._s.set(e,k);const E=(r._a&&r._a.runWithContext||TB)(()=>r._e.run(()=>(s=Ia()).run(()=>t({action:w}))));for(const D in E){const T=E[D];if(lt(T)&&!PB(T)||si(T))i||(h&&OB(T)&&(lt(T)?T.value=h[D]:K_(T,h[D])),r.state.value[e][D]=T);else if(typeof T=="function"){const x=w(T,D);E[D]=x,a.actions[D]=T}}return ea(k,E),ea(Ot(k),E),Object.defineProperty(k,"$state",{get:()=>r.state.value[e],set:D=>{g(T=>{ea(T,D)})}}),r._p.forEach(D=>{ea(k,s.run(()=>D({store:k,app:r._a,pinia:r,options:a})))}),h&&i&&n.hydrate&&n.hydrate(k.$state,h),u=!0,c=!0,k}function aO(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function i(s,a){const l=Bl();return s=s||(l?Kt(oO,null):null),s&&Hd(s),s=rO,s._s.has(e)||(o?sO(e,t,r,s):RB(e,r,s)),s._s.get(e)}return i.$id=e,i}function ude(e){const t=Ot(e),n={};for(const r in t){const o=t[r];o.effect?n[r]=N({get:()=>e[r],set(i){e[r]=i}}
4):(lt(o)||si(o))&&(n[r]=Rs(e,r))}return n}function IB(e){const t=MB(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const $B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function MB(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=$B.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const FB=-1,LB=-2,NB=-3,BB=-4,jB=-5,qB=-6,VB=-7;function UB(e,t){return HB(JSON.parse(e),t)}function HB(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let o=null;function i(s,a=!1){if(s===FB)return;if(s===NB)return NaN;if(s===BB)return 1/0;if(s===jB)return-1/0;if(s===qB)return-0;if(a||typeof s!="number")throw new Error("Invalid input");if(s in r)return r[s];const l=n[s];if(!l||typeof l!="object")r[s]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),o??=new Set,o.has(f))throw new Error("Invalid circular reference");return o.add(f),r[s]=c(i(f)),o.delete(f),r[s]}switch(u){case"Date":r[s]=new Date(l[1]);break;case"Set":const f=new Set;r[s]=f;for(let v=1;v<l.length;v+=1)f.add(i(l[v]));break;case"Map":const p=new Map;r[s]=p;for(let v=1;v<l.length;v+=2)p.set(i(l[v]),i(l[v+1]));break;case"RegExp":r[s]=new RegExp(l[1],l[2]);break;case"Object":const d=Object(l[1]);if(Object.hasOwn(d,"__proto__"))throw new Error("Cannot parse an object with a `__proto__` property");r[s]=d;break;case"BigInt":r[s]=BigInt(l[1]);break;case"null":const h=Object.create(null);r[s]=h;for(let v=1;v<l.length;v+=2){if(l[v]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[l[v]]=i(l[v+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 v=globalThis[u],g=i(l[1]),b=new v(g);r[s]=l[2]!==void 0?b.subarray(l[2],l[3]):b;break}case"ArrayBuffer":{const v=l[1];if(typeof v!="string")throw new Error("Invalid ArrayBuffer encoding");const g=IB(v);r[s]=g;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 v=u.slice(9);r[s]=Temporal[v].from(l[1]);break}case"URL":{const v=new URL(l[1]);r[s]=v;break}case"URLSearchParams":{const v=new URLSearchParams(l[1]);r[s]=v;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===VB){const u=l[1];if(!Number.isInteger(u)||u<0)throw new Error("Invalid input");const c=new Array(u);r[s]=c;for(let f=2;f<l.length;f+=2){const p=l[f];if(!Number.isInteger(p)||p<0||p>=u)throw new Error("Invalid input");c[p]=i(l[f+1])}}else{const u=new Array(l.length);r[s]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==LB&&(u[c]=i(f))}}else{const u={};r[s]=u;
4for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=i(f)}}return r[s]}return i(0)}const WB=new Set(["link","style","script","noscript"]),zB=new Set(["title","titleTemplate","script","style","noscript"]),G_=new Set(["base","meta","link","style","script","noscript"]),KB=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),GB=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),YB=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),XB=new Set(["templateParams","htmlAttrs","bodyAttrs"]),QB=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Y_(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Y_(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const lO=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function uO(e,t,n,r){for(let o=n;o<e.length;o+=1)try{const i=r?r.run(()=>e[o](...t)):e[o](...t);if(i instanceof Promise)return i.then(()=>uO(e,t,o+1,r))}catch(i){return Promise.reject(i)}}function ZB(e,t,n){if(e.length>0)return uO(e,t,0,lO(n))}function JB(e,t,n){if(e.length>0){const r=lO(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}}function og(e,t){for(const n of[...e])n(t)}var e3=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!n.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...o)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...o));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Y_(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Y_(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(ZB,e,t)}callHookParallel(e,...t){return this.callHookWith(JB,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&og(this._before,r);const o=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return o instanceof Promise?o.finally(()=>{this._after&&r&&og(this._after,r)}):(this._after&&r&&og(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function t3(){return new e3}const n3=["name","property","http-equiv"],r3=new Set(["viewport","description","keywords","robots"]);function cO(e){const t=e.split(":");return t.length?QB.has(t[1]):!1}function X_(e){const{props:t,tag:n}=e;if(GB.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of n3)if(t[r]!==void 0){const o=t[r],i=o&&typeof o=="str
4ing"&&o.includes(":"),s=o&&r3.has(o),l=!(i||s)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(zB.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function fO(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,o])=>`${r}:${String(o)}`).join(",")}`}function Fh(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const o=t?t(n,e):e;if(Array.isArray(o))return o.map(i=>Fh(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Fh(o[s],t,s);return i}return o}function o3(e,t){const n=e==="style"?new Map:new Set;function r(o){if(o==null||o===void 0)return;const i=String(o).trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(l=>l?l.trim():"");s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(String(o).trim(),String(i)):r(o))}),n}function dO(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=G_.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,o])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(o===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=o3(r,o);return}if(YB.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof o=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[r]=JSON.stringify(o)}else e[r]=o;return}const i=r.startsWith("data-"),s=n&&!i?r.toLowerCase():r,a=String(o),l=e.tag==="meta"&&s==="content";a==="true"||a===""?e.props[s]=i||l?a:!0:!o&&i&&a==="false"?e.props[s]="false":o!==void 0&&(e.props[s]=o)}),e}function i3(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=dO({tag:e,props:{}},n);return r.key&&WB.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function s3(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=n(void 0,e);const r=[];return e=Fh(e,n),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(i3(o,s))}),r.flat()}const Lk=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Nk={base:-10,title:10},a3={critical:-8,high:-1,low:2},Bk={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}},l3=/@import/,jc=e=>e===""||e===!0;function u3(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=a3[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Bk;if(t.tag in Nk)n=Nk[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=Bk.meta[i])}else if(t.tag==="link"&&t.props.rel)n=o.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);jc(t.props.async)?n=o.script.async:t.props.src&&!jc(t.props.defer)&&!jc(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?n=o.script.sync:(jc(t.props.defer)&&t.props.src&&!jc(t.props.async)||i==="module")&&(n=o.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&l3.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function jk(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function c3(e={}){const t=t3();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=new Set,s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>jk(s,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??s._entryCount++,f={_i:c,input:a,options:u},p={_poll(d=!1){s.dirty=!0,!d&&i.add(c),t.callHook("entries:updated",s)},dispose(){r.delete(c)&&s.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const p=i.values().next().value;i.delete(p);const d=r.get(p);if(d){const h={tags:s3(d.input,e.propResolvers||[]).map(v=>Object.assign(v,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((v,g)=>(v._w=u3(s,v),v._p=(d._i<<10)+g,v._d=X_(v),v._d||(v._h=fO(v)),v))}}let l=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Lk).reduce((p,d)=>{const h=d._d||d._h;if(!p.has(h))return p.set(h,d);const v=p.get(h);if((d?.tagDuplicateStrategy||(XB.has(d.tag)?"merge":null)||(d.key&&d.key===v.ke
4y?"merge":null))==="merge"){const b={...v.props};Object.entries(d.props).forEach(([y,w])=>b[y]=y==="style"?new Map([...v.props.style||new Map,...w]):y==="class"?new Set([...v.props.class||new Set,...w]):w),p.set(h,{...d,props:b})}else d._p>>10===v._p>>10&&d.tag==="meta"&&cO(h)?(p.set(h,Object.assign([...Array.isArray(v)?v:[v],d],d)),l=!0):(d._w===v._w?d._p>v._p:d?._w<v?._w)&&p.set(h,d);return p},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,c){const p=c?.textContent;if(s._titleTemplate=p,p){let d=typeof p=="function"?p(u?.textContent):p;typeof d=="string"&&!s.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Lk)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const p of a.tags){const{innerHTML:d,tag:h,props:v}=p;if(KB.has(h)&&!(Object.keys(v).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!v.content&&!v["http-equiv"]&&!v.charset)){if(h==="script"&&d){if(String(v.type).endsWith("json")){const g=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=g.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=X_(p)}f.push(p)}}return f},invalidate(){for(const a of r.values())i.add(a._i);s.dirty=!0,t.callHook("entries:updated",s)}};return(e?.plugins||[]).forEach(a=>jk(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}const f3=(e,t)=>lt(t)?_e(t):t,r1="usehead";function d3(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(r1,e)}}.install}function p3(){if(Bl()){const e=Kt(r1);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function h3(e,t={}){const n=t.head||p3();return n.ssr?n.push(e||{},t):m3(n,e,t)}function m3(e,t,n={}){const r=ne(!1);let o;return Pt(()=>{const s=r.value?{}:Fh(t,f3);o?o.patch(s):o=e.push(s,n)}),kt()&&($a(()=>{o.dispose()}),UT(()=>{r.value=!0}),VT(()=>{r.value=!1})),o}function v3(e){const t=e||Zt();return t.ssrContext?.head||t.runWithContext(()=>{if(Bl()){const n=Kt(r1);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function pO(e,t={}){const n=t.head||v3(t.nuxt);return h3(e,{head:n,...t})}const g3=(()=>{const e={prerender:!1},t={};return(n,r)=>{let o=[];r.charCodeAt(r.length-1)===47&&(r=r.slice(0,-1)||"/"),r==="/api/submitForm"?o.unshift({data:e}):r==="/api/upload"?o.unshift({data:e}):r==="/api/visitor-ip"?o.unshift({data:e}):r==="/api/crowdin"?o.unshift({data:e}):r==="/api/validate"?o.unshift({data:e}):r==="/api/user"?o.unshift({data:e}):r==="/api/generate-notifications"&&o.unshift({data:e});let i=r.split("/"),s=i.length;return s>1&&(i[1]==="api"?(s>2&&(i[2]==="admin"?o.unshift({data:e,params:{_:i.slice(3).join("/")}}):i[2]==="sso"?o.unshift({data:e,params:{_:i.slice(3).join("/")}}):i[2]==="purchase"&&o.unshift({data:e,params:{_:i.slice(3).join("/")}})),o.unshift({data:t,params:{_:i.slice(2).join("/")}})):i[1]==="preview"?o.unshift({data:e,params:{_:i.slice(2).join("/")}}):i[1]==="sso"&&o.unshift({data:e,params:{_:i.slice(2).join("/")}})),o}})(),hO=e=>zm({},...g3("",e).map(t=>t.data).reverse()),y3=hO;let nh;function _3(){return nh=$fetch(n1(`builds/meta/${zo().app.buildId}.json`),{responseType:"json"}),nh.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),nh}function o1(){return nh||_3()}function Gm(e){const t=typeof e=="string"?e:e.path;try{return y3(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function qk(e,t={}){if(await k3(e)){const n=await w3(e,t);return await mO(n)||null}return null}const b3="_payload.json";async function w3(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Gi(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
4const r=zo(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await E3(e)?i:r.app.baseURL;return ql(s,n.pathname,b3+(o?`?${o}`:""))}async function mO(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(yO));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function vO(e){if(e.redirect)return!1;if(e.prerender)return!0}async function gO(e){return e=e==="/"?e:e.replace(/\/$/,""),(await o1()).prerendered.includes(e)}async function k3(e=no().path){const t=Gm({path:e});if(t.ssr===!1)return!1;const n=vO(t);return n!==void 0?n:t.payload?!0:await gO(e)}async function E3(e=no().path){const t=vO(Gm({path:e}));return t!==void 0?t:await gO(e)}let za=null;async function S3(){if(za)return za;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await yO(e.textContent||""),n=e.dataset.src?await mO(e.dataset.src):void 0;return za={...t,...n,...window.__NUXT__},za.config?.public&&(za.config.public=on(za.config.public)),za}async function yO(e){return await UB(e,Zt()._payloadRevivers)}function _O(e,t){Zt()._payloadRevivers[e]=t}const C3=mB(()=>{_O("skipHydrate",e=>{})}),D3=[["NuxtError",e=>va(e)],["EmptyShallowRef",e=>yt(e==="_"?void 0:e==="0n"?BigInt(0):rd(e))],["EmptyRef",e=>ne(e==="_"?void 0:e==="0n"?BigInt(0):rd(e))],["ShallowRef",e=>yt(e)],["ShallowReactive",e=>Ri(e)],["Ref",e=>ne(e)],["Reactive",e=>on(e)]],x3=Bn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of D3)_O(r,o);Object.assign(e.payload,([t,n]=No(()=>e.runWithContext(S3)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function i1(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(v=>{const g=i.get(v._d)||0,b={tag:v,id:(g?`${v._d}:${g}`:v._d)||v._h,shouldRender:!0};return v._d&&cO(v._d)&&i.set(v._d,g+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const v of h){const g=v.tagName.toLowerCase();if(!G_.has(g))continue;const b=dO({tag:g,props:{}},{innerHTML:v.innerHTML,...v.getAttributeNames().reduce((y,w)=>(y[w]=v.getAttribute(w),y),{})||{}});if(b.key=v.getAttribute("data-hid")||void 0,b._d=X_(b)||fO(b),a.elMap.has(b._d)){let y=1,w=b._d;for(;a.elMap.has(w);)w=`${b._d}:${y++}`;a.elMap.set(w,v)}else a.elMap.set(b._d,v)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,h,v){const g=`${d}:${h}`;a.sideEffects[g]=v,delete a.pendingSideEffects[g]}function u({id:d,$el:h,tag:v}){const g=v.tag.endsWith("Attrs");a.elMap.set(d,h),g||(v.textContent&&v.textContent!==h.textContent&&(h.textContent=v.textContent),v.innerHTML&&v.innerHTML!==h.innerHTML&&(h.innerHTML=v.innerHTML),l(d,"el",()=>{h?.remove(),a.elMap.delete(d)}));for(const b in v.props){if(!Object.prototype.hasOwnProperty.call(v.props,b))continue;const y=v.props[b];if(b.startsWith("on")&&typeof y=="function"){const _=h?.dataset;if(_&&_[`${b}fired`]){const k=b.slice(0,-5);y.call(h,new Event(k.substring(2)))}h.getAttribute(`data-${b}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),y.bind(h)),h.setAttribute(`data-${b}`,""));continue}const w=`attr:${b}`;if(b==="class"){if(!y)continue;for(const _ of y)g&&l(d,`${w}:${_}`,()=>h.classList.remove(_)),!h.classList.contains(_)&&h.classList.add(_)}else if(b==="style"){if(!y)continue;for(const[_,k]of y)l(d,`${w}:${_}`,()=>{h.style.removeProperty(_)}),h.style.setProperty(_,k)}else y!==!1&&y!==null&&(h.getAttribute(b)!==y&&h.setAttribute(b,y===!0?"":String(y)),g&&l(d,w,()=>h.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await s;for(const d of p){const{tag:h,shouldRender:v,id:g}=d;if(v){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}
4d.$el=d.$el||a.elMap.get(g),d.$el?u(d):G_.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function T3(e={}){const t=e.domOptions?.render||i1;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return c3({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function A3(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function O3(e={}){const t=T3({domOptions:{render:A3(()=>i1(t),n=>setTimeout(n,0))},...e});return t.install=d3(t),t}const P3={disableDefaults:!0},R3=Bn({name:"nuxt:head",enforce:"pre",setup(e){const t=O3(P3);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await i1(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const ou=typeof document<"u";function bO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function I3(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&bO(e.default)}const Yt=Object.assign;function ig(e,t){const n={};for(const r in t){const o=t[r];n[r]=pi(o)?o.map(e):e(o)}return n}const Af=()=>{},pi=Array.isArray;function Vk(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const wO=/#/g,$3=/&/g,M3=/\//g,F3=/=/g,L3=/\?/g,kO=/\+/g,N3=/%5B/g,B3=/%5D/g,EO=/%5E/g,j3=/%60/g,SO=/%7B/g,q3=/%7C/g,CO=/%7D/g,V3=/%20/g;function s1(e){return e==null?"":encodeURI(""+e).replace(q3,"|").replace(N3,"[").replace(B3,"]")}function U3(e){return s1(e).replace(SO,"{").replace(CO,"}").replace(EO,"^")}function Q_(e){return s1(e).replace(kO,"%2B").replace(V3,"+").replace(wO,"%23").replace($3,"%26").replace(j3,"`").replace(SO,"{").replace(CO,"}").replace(EO,"^")}function H3(e){return Q_(e).replace(F3,"%3D")}function W3(e){return s1(e).replace(wO,"%23").replace(L3,"%3F")}function z3(e){return W3(e).replace(M3,"%2F")}function id(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const K3=/\/$/,G3=e=>e.replace(K3,"");function sg(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),i=t.slice(l,a>0?a:t.length),o=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=Z3(r??t,n),{fullPath:r+i+s,path:r,query:o,hash:id(s)}}function Y3(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Uk(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function X3(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zu(t.matched[r],n.matched[o])&&DO(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function DO(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Q3(e[n],t[n]))return!1;return!0}function Q3(e,t){return pi(e)?Hk(e,t):pi(t)?Hk(t,e):e?.valueOf()===t?.valueOf()}function Hk(e,t){return pi(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Z3(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const Ro={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Z_=(function(e){return e.pop="pop",e.push="push",e})({}),ag=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function J3(e){if(!e)if(ou){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),G3(e)}const ej=/^[^#]+#/;function tj(e,t){return e.replace(ej,"#")+t}function nj(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ym=()=>({left:window.scrollX,top:window.scrollY});function rj(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=nj(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}
vendor: 21,479 bytes, line 4
4function Wk(e,t){return(history.state?history.state.position-t:-1)+e}const J_=new Map;function oj(e,t){J_.set(e,t)}function ij(e){const t=J_.get(e);return J_.delete(e),t}function sj(e){return typeof e=="string"||e&&typeof e=="object"}function xO(e){return typeof e=="string"||typeof e=="symbol"}let En=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const TO=Symbol("");En.MATCHER_NOT_FOUND+"",En.NAVIGATION_GUARD_REDIRECT+"",En.NAVIGATION_ABORTED+"",En.NAVIGATION_CANCELLED+"",En.NAVIGATION_DUPLICATED+"";function Ku(e,t){return Yt(new Error,{type:e,[TO]:!0},t)}function Ei(e,t){return e instanceof Error&&TO in e&&(t==null||!!(e.type&t))}const aj=["params","query","hash"];function lj(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of aj)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function uj(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(kO," "),i=o.indexOf("="),s=id(i<0?o:o.slice(0,i)),a=i<0?null:id(o.slice(i+1));if(s in t){let l=t[s];pi(l)||(l=t[s]=[l]),l.push(a)}else t[s]=a}return t}function zk(e){let t="";for(let n in e){const r=e[n];if(n=H3(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(pi(r)?r.map(o=>o&&Q_(o)):[r&&Q_(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function cj(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pi(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const fj=Symbol(""),Kk=Symbol(""),Xm=Symbol(""),a1=Symbol(""),eb=Symbol("");function qc(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function oa(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=p=>{p===!1?l(Ku(En.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):sj(p)?l(Ku(En.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(p=>l(p))})}function lg(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(bO(l)){const u=(l.__vccOpts||l)[t];u&&i.push(oa(u,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=I3(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&oa(p,n,r,s,a,o)()}))}}return i}function dj(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(u=>zu(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>zu(u,l))||o.push(l))}return[n,r,o]}let pj=()=>location.protocol+"//"+location.host;function AO(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(s);return a[0]!=="/"&&(a="/"+a),Uk(a,"")}return Uk(n,e)+r+o}function hj(e,t,n,r){let o=[],i=[],s=null;const a=({state:p})=>{const d=AO(e,location),h=n.value,v=t.value;let g=0;if(p){if(n.value=d,t.value=p,s&&s===h){s=null;return}g=v?p.position-v.position:0}else r(d);o.forEach(b=>{b(n.value,h,{delta:g,type:Z_.pop,direction:g?g>0?ag.forward:ag.back:ag.unknown})})};function l(){s=n.value}function u(p){o.push(p);const d=()=>{const h=o.indexOf(p);h>-1&&o.splice(h,1)};return i.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Yt({},p.state,{scroll:Ym()}),"")}}function f(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Gk(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ym():null}}function mj(e){const{history:t,location:n}=window,r={value:AO(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:pj()+e+l;try{t[c?"replaceState":"pushState"](u,"",p),o.value=u}catch(d){console.error(d),n[c?"replace":"assign"](p)}}function s(l,u){i(l,Yt({},t.state,Gk(o.value.back,l,o.value.forward,!0),u,{position:o.value.position}),!0),r.value=l}function a(l,u){const c=Yt({},o.value,t.state,{forward:l,scroll:Ym()});i(c.current,c,!0),i(l,Yt({},Gk(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function OO(e){e=J3(e);const t=mj(e),n=hj(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Yt({location:"",base:e,go:r,createHref:tj.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function vj(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),OO(e)}let sl=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Un=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Un||{});const gj={type:sl.Static,value:""},yj=/[a-zA-Z0-9_]/;function _j(e){if(!e)return[[]];if(e==="/")return[[gj]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=Un.Static,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===Un.Static?i.push({type:sl.Static,value:u}):n===Un.Param||n===Un.ParamRegExp||n===Un.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:sl.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Un.ParamRegExp){r=n,n=Un.EscapeNext;continue}switch(n){case Un.Static:l==="/"?(u&&f(),s()):l===":"?(f(),n=Un.Param):p();break;case Un.EscapeNext:p(),n=r;break;case Un.Param:l==="("?n=Un.ParamRegExp:yj.test(l)?p():(f(),n=Un.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Un.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=Un.ParamRegExpEnd:c+=l;break;case Un.ParamRegExpEnd:f(),n=Un.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===Un.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}const Yk="[^/]+?",bj={sensitive:!1,strict:!1,start:!0,end:!0};var Cr=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Cr||{});const wj=/[.+*?^${}()[\]/\\]/g;function kj(e,t){const n=Yt({},bj,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[Cr.Root];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const p=u[f];let d=Cr.Segment+(n.sensitive?Cr.BonusCaseSensitive:0);if(p.type===sl.Static)f||(o+="/"),o+=p.value.replace(wj,"\\$&"),d+=Cr.Static;else if(p.type===sl.Param){const{value:h,repeatable:v,optional:g,regexp:b}=p;i.push({name:h,repeatable:v,optional:g});const y=b||Yk;if(y!==Yk){d+=Cr.BonusCustomRegExp;try{`${y}`}catch(_){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+_.message)}}let w=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(w=g&&u.length<2?`(?:/${w})`:"/"+w),g&&(w+="?"),o+=w,d+=Cr.Dynamic,g&&(d+=Cr.BonusOptional),v&&(d+=Cr.BonusRepeatable),y===".*"&&(d+=Cr.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=Cr.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(s),f={};if(!c)return null;for(let p=1;p<c.length;p++){const d=c[p]||"",h=i[p-1];f[h.name]=d&&h.repeatable?d.split("/"):d}return f}function l(u){let c="",f=!1;for(const p of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const d of p)if(d.type===sl.Static)c+=d.value;else if(d.type===sl.Param){const{value:h,repeatable:v,optional:g}=d,b=h in u?u[h]:"";if(pi(b)&&!v)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=pi(b)?b.join("/"):b;if(!y)if(g)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=y}}return c||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function Ej(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===Cr.Static+Cr.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Cr.Static+Cr.Segment?1:-1:0}function PO(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=Ej(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Xk(r))return 1;if(Xk(o))return-1}return o.length-r.length}function Xk(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Sj={strict:!1,end:!0,sensitive:!1};function Cj(e,t,n){const r=kj(_j(e.path),n),o=Yt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Dj(e,t){const n=[],r=new Map;t=Vk(Sj,t);function o(f){return r.get(f)}function i(f,p,d){const h=!d,v=Zk(f);v.aliasOf=d&&d.record;const g=Vk(t,f),b=[v];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of _)b.push(Zk(Yt({},v,{components:d?d.record.components:v.components,path:k,aliasOf:d?d.record:v})))}let y,w;for(const _ of b){const{path:k}=_;if(p&&k[0]!=="/"){const C=p.record.path,E=C[C.length-1]==="/"?"":"/";_.path=p.record.path+(k&&E+k)}if(y=Cj(_,p,g),d?d.alias.push(y):(w=w||y,w!==y&&w.alias.push(y),h&&f.name&&!Jk(y)&&s(f.name)),RO(y)&&l(y),v.children){const C=v.children;for(let E=0;E<C.length;E++)i(C[E],y,d&&d.children[E])}d=d||y}return w?()=>{s(w)}:Af}function s(f){if(xO(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const p=Aj(f,n);n.splice(p,0,f),f.record.name&&!Jk(f)&&r.set(f.record.name,f)}function u(f,p){let d,h={},v,g;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Ku(En.MATCHER_NOT_FOUND,{location:f});g=d.record.name,h=Yt(Qk(p.params,d.keys.filter(w=>!w.optional).concat(d.parent?d.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),f.params&&Qk(f.params,d.keys.map(w=>w.name))),v=d.stringify(h)}else if(f.path!=null)v=f.path,d=n.find(w=>w.re.test(v)),d&&(h=d.parse(v),g=d.record.name);else{if(d=p.name?r.get(p.name):n.find(w=>w.re.test(p.path)),!d)throw Ku(En.MATCHER_NOT_FOUND,{location:f,currentLocation:p});g=d.record.name,h=Yt({},p.params,f.params),v=d.stringify(h)}const b=[];let y=d;for(;y;)b.unshift(y.record),y=y.parent;return{name:g,path:v,params:h,matched:b,meta:Tj(b)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Qk(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Zk(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xj(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function xj(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Jk(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Tj(e){return e.reduce((t,n)=>Yt(t,n.meta),{})}function Aj(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;PO(e,t[i])<0?r=i:n=i+1}const o=Oj(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Oj(e){let t=e;for(;t=t.parent;)if(RO(t)&&PO(e,t)===0)return t}function RO({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function eE(e){const t=Kt(Xm),n=Kt(a1),r=N(()=>{const l=S(e.to);return t.resolve(l)}),o=N(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const p=f.findIndex(zu.bind(null,c));if(p>-1)return p;const d=tE(l[u-2]);return u>1&&tE(c)===d&&f[f.length-1].path!==d?f.findIndex(zu.bind(null,l[u-2])):p}),i=N(()=>o.value>-1&&Mj(n.params,r.value.params)),s=N(()=>o.value>-1&&o.value===n.matched.length-1&&DO(n.params,r.value.params));function a(l={}){if($j(l)){const u=t[S(e.replace)?"replace":"push"](S(e.to)).catch(Af);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:N(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function Pj(e){return e.length===1?e[0]:e}const Rj=ge({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:eE,setup(e,{slots:t}){const n=on(eE(e)),{options:r}=Kt(Xm),o=N(()=>({[nE(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[nE(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Pj(t.default(n));return e.custom?i:Bt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Ij=Rj;function $j(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Mj(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!pi(o)||o.length!==r.length||r.some((i,s)=>i.valueOf()!==o[s].valueOf()))return!1}return!0}function tE(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nE=(e,t,n)=>e??t??n,Fj=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Kt(eb),o=N(()=>e.route||r.value),i=Kt(Kk,0),s=N(()=>{let u=S(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=N(()=>o.value.matched[s.value]);Qn(Kk,N(()=>s.value+1)),Qn(fj,a),Qn(eb,o);const l=ne();return Ie(()=>[l.value,a.value,e.name],([u,c,f],[p,d,h])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!zu(c,d)||!p)&&(c.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,p=f&&f.components[c];if(!p)return rE(n.default,{Component:p,route:u});const d=f.props[c],h=d?d===!0?u.params:typeof d=="function"?d(u):d:null,g=Bt(p,Yt({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return rE(n.default,{Component:g,route:u})||g}}});function rE(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const IO=Fj;function Lj(e){const t=Dj(e.routes,e),n=e.parseQuery||uj,r=e.stringifyQuery||zk,o=e.history,i=qc(),s=qc(),a=qc(),l=yt(Ro);let u=Ro;ou&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ig.bind(null,F=>""+F),f=ig.bind(null,z3),p=ig.bind(null,id);function d(F,le){let se,he;return xO(F)?(se=t.getRecordMatcher(F),he=le):he=F,t.addRoute(he,se)}function h(F){const le=t.getRecordMatcher(F);le&&t.removeRoute(le)}function v(){return t.getRoutes().map(F=>F.record)}function g(F){return!!t.getRecordMatcher(F)}function b(F,le){if(le=Yt({},le||l.value),typeof F=="string"){const B=sg(n,F,le.path),Q=t.resolve({path:B.path},le),ve=o.createHref(B.fullPath);return Yt(B,Q,{params:p(Q.params),hash:id(B.hash),redirectedFrom:void 0,href:ve})}let se;if(F.path!=null)se=Yt({},F,{path:sg(n,F.path,le.path).path});else{const B=Yt({},F.params);for(const Q in B)B[Q]==null&&delete B[Q];se=Yt({},F,{params:f(B)}),le.params=f(le.params)}const he=t.resolve(se,le),Ee=F.hash||"";he.params=c(p(he.params));const Oe=Y3(r,Yt({},F,{hash:U3(Ee),path:he.path})),M=o.createHref(Oe);return Yt({fullPath:Oe,hash:Ee,query:r===zk?cj(F.query):F.query||{}},he,{redirectedFrom:void 0,href:M})}function y(F){return typeof F=="string"?sg(n,F,l.value.path):Yt({},F)}function w(F,le){if(u!==F)return Ku(En.NAVIGATION_CANCELLED,{from:le,to:F})}function _(F){return E(F)}function k(F){return _(Yt(y(F),{replace:!0}))}function C(F,le){const se=F.matched[F.matched.length-1];if(se&&se.redirect){const{redirect:he}=se;let Ee=typeof he=="function"?he(F,le):he;return typeof Ee=="string"&&(Ee=Ee.includes("?")||Ee.includes("#")?Ee=y(Ee):{path:Ee},Ee.params={}),Yt({query:F.query,hash:F.hash,params:Ee.path!=null?{}:F.params},Ee)}}function E(F,le){const se=u=b(F),he=l.value,Ee=F.state,Oe=F.force,M=F.replace===!0,B=C(se,he);if(B)return E(Yt(y(B),{state:typeof B=="object"?Yt({},Ee,B.state):Ee,force:Oe,replace:M}),le||se);const Q=se;Q.redirectedFrom=le;let ve;return!Oe&&X3(r,he,se)&&(ve=Ku(En.NAVIGATION_DUPLICATED,{to:Q,from:he}),Fe(he,he,!0,!1)),(ve?Promise.resolve(ve):x(Q,he)).catch(q=>Ei(q)?Ei(q,En.NAVIGATION_GUARD_REDIRECT)?q:X(q):z(q,Q,he)).then(q=>{if(q){if(Ei(q,En.NAVIGATION_GUARD_REDIRECT))return E(Yt({replace:M},y(q.to),{state:typeof q.to=="object"?Yt({},Ee,q.to.state):Ee,force:Oe}),le||Q)}else q=A(Q,he,!0,M,Ee);return O(Q,he,q),q})}function D(F,le){const se=w(F,le);return se?Promise.reject(se):Promise.resolve()}function T(F){const le=Be.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(F):F()}function x(F,le){let se;const[he,Ee,Oe]=dj(F,le);se=lg(he.reverse(),"beforeRouteLeave",F,le);for(const B of he)B.leaveGuards.forEach(Q=>{se.push(oa(Q,F,le))});const M=D.bind(null,F,le);return se.push(M),ke(se).then(()=>{se=[];for(const B of i.list())se.push(oa(B,F,le));return se.push(M),ke(se)}).then(()=>{se=lg(Ee,"beforeRouteUpdate",F,le);for(const B of Ee)B.updateGuards.forEach(Q=>{se.push(oa(Q,F,le))});return se.push(M),ke(se)}).then(()=>{se=[];for(const B of Oe)if(B.beforeEnter)if(pi(B.beforeEnter))for(const Q of B.beforeEnter)se.push(oa(Q,F,le));else se.push(oa(B.beforeEnter,F,le));return se.push(M),ke(se)}).then(()=>(F.matched.forEach(B=>B.enterCallbacks={}),se=lg(Oe,"beforeRouteEnter",F,le,T),se.push(M),ke(se))).then(()=>{se=[];for(const B of s.list())se.push(oa(B,F,le));return se.push(M),ke(se)}).catch(B=>Ei(B,En.NAVIGATION_CANCELLED)?B:Promise.reject(B))}function O(F,le,se){a.list().forEach(he=>T(()=>he(F,le,se)))}function A(F,le,se,he,Ee){const Oe=w(F,le);if(Oe)return Oe;const M=le===Ro,B=ou?history.state:{};se&&(he||M?o.replace(F.fullPath,Yt({scroll:M&&B&&B.scroll},Ee)):o.push(F.fullPath,Ee)),l.value=F,Fe(F,le,se,M),X()}let V;function re(){V||(V=o.listen((F,le,se)=>{if(!ut.listening)return;const he=b(F),Ee=C(he,ut.currentRoute.value);if(Ee){E(Yt(Ee,{replace:!0,force:!0}),he).catch(Af);return}u=he;const Oe=l.value;ou&&oj(Wk(Oe.fullPath,se.delta),Ym()),x(he,Oe).catch(M=>Ei(M,En.NAVIGATION_ABORTED|En.NAVIGATION_CANCELLED)?M:Ei(M,En.NAVIGATION_GUARD_REDIRECT)?(E(Yt(y(M.to),{force:!0}),he).then(B=>{Ei(B,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&!se.delta&&se.type===Z_.pop&&o.go(-1,!1)}).catch(Af),Promise.reject()):(se.delta&&o.go(-se.delta,!1),z(M,he,Oe))).then(M=>{M=M||A(he,Oe,!1),M&&(se.delta&&!Ei(M,En.NAVIGATION_CANCELLED)?o.go(-se.delta,!1):se.type===Z_.pop&&Ei(M,En.NAVIGATION_ABORTED|En.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),O(he,Oe,M)}).catch(Af)}))}let pe=qc(),G=qc(),K;function z(F,le,se){X(F);const he=G.list();return he.length?he.forEach(Ee=>Ee(F,le,se)):console.error(F),Promise.reject(F)}function be(){return K&&l.value!==Ro?Promise.resolve():new Promise((F,le)=>{pe.add([F,le])})}function X(F){return K||(K=!F,re(),pe.list().forEach(([le,se])=>F?se(F):le()),pe.reset()),F}function Fe(F,le,se,he){const{scrollBehavior:Ee}=e;if(!ou||!Ee)return Promise.resolve();const Oe=!se&&ij(Wk(F.fullPath,0))||(he||!se)&&history.state&&history.state.scroll||null;return it().then(()=>Ee(F,le,Oe)).then(M=>M&&rj(M)).catch(M=>z(M,F,le))}const Ve=F=>o.go(F);let tt;const Be=new Set,ut={currentRoute:l,listening:!0,addRoute:d,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:v,resolve:b,options:e,pu
4sh:_,replace:k,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:G.add,isReady:be,install(F){F.component("RouterLink",Ij),F.component("RouterView",IO),F.config.globalProperties.$router=ut,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>S(l)}),ou&&!tt&&l.value===Ro&&(tt=!0,_(o.location).catch(he=>{}));const le={};for(const he in Ro)Object.defineProperty(le,he,{get:()=>l.value[he],enumerable:!0});F.provide(Xm,ut),F.provide(a1,Ri(le)),F.provide(eb,l);const se=F.unmount;Be.add(F),F.unmount=function(){Be.delete(F),Be.size<1&&(u=Ro,V&&V(),V=null,l.value=Ro,tt=!1,K=!1),se()}}};function ke(F){return F.reduce((le,se)=>le.then(()=>T(se)),Promise.resolve())}return ut}function cde(){return Kt(Xm)}function Qm(e){return Kt(a1)}const Nj=/(:\w+)\([^)]+\)/g,Bj=/(:\w+)[?+*]/g,jj=/:\w+/g,qj=(e,t)=>t.path.replace(Nj,"$1").replace(Bj,"$1").replace(jj,n=>e.params[n.slice(1)]?.toString()||""),tb=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&qj(e.route,n));return typeof r=="function"?r(e.route):r},Vj=(e,t)=>({default:()=>e?Bt(wL,e===!0?{}:e,t):t});function $O(e){return Array.isArray(e)?e:[e]}const Uj="modulepreload",Hj=function(e,t){return new URL(e,t).href},oE={},Ft=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=u(n.map(c=>{if(c=Hj(c,r),c in oE)return;oE[c]=!0;const f=c.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(r)for(let h=s.length-1;h>=0;h--){const v=s[h];if(v.href===c&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Uj,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((h,v)=>{d.addEventListener("load",h),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},Wj={middleware:[()=>Qo("/admin",{})]},zj={navSection:"dashboard",middleware:[()=>Qo("/admin/dashboard/main",{})]},Kj={layout:!1},Gj={layout:"public"},Yj={navSection:"dashboard"},Xj={layout:"newsroom-landing"},Qj={layout:"public"},Zj={layout:"default"},Jj={layout:"roadmap"},eq={layout:"roadmap"},tq={layout:!1},nq={layout:!1,ssr:!1},rq={layout:!1},oq={},iq={layout:!1},sq={layout:!1},ug=[{name:"index",path:"/",meta:Wj||{},component:()=>Ft(()=>import("./D8lU6CVy.js"),[],import.meta.url)},{name:"admin",path:"/admin",meta:zj||{},component:()=>Ft(()=>import("./CkmqG4aO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},{name:"admin-login",path:"/admin/login",meta:Kj||{},component:()=>Ft(()=>import("./B0DpvszN.js"),__vite__mapDeps([8,3,5]),import.meta.url)},{name:"locale-slug",path:"/:locale()/:slug(.*)*",meta:Gj||{},alias:["/preview/:locale/:slug(.*)*"],component:()=>Ft(()=>import("./TeHS_aMS.js"),__vite__mapDeps([9,10,11,12,13,14,15,16,17,18,19,20,4,21,22,23,24,6,25,26,27,28]),import.meta.url)},{name:"admin-dashboard-slug",path:"/admin/dashboard/:slug()",meta:Yj||{},component:()=>Ft(()=>import("./CAf00r8E.js"),__vite__mapDeps([29,2,3,1,4,5,6,7,30]),import.meta.url)},{name:"locale-newsroom",path:"/:locale()/newsroom",meta:Xj||{},component:()=>Ft(()=>import("./BiuVm6Hi.js"),__vite__mapDeps([31,12,13,14,6,19,32]),import.meta.url)},{name:"locale-newsroom-slug",path:"/:locale()/newsroom/:slug()",meta:Qj||{},alias:["/preview/:locale/newsroom/:slug","/:locale/posts/:slug","/preview/:locale/posts/:slug"],component:()=>Ft(()=>import("./rvSStZLW.js"),__vite__mapDeps([33,10,11,12,13,14,15,16,17,18,19,20,4,21,23,24,6,25,26,34,27,35]),import.meta.url)},{name:"admin-form-builder",path:"/admin/form-builder",meta:Zj||{},component:()=>Ft(()=>import("./RjWwMfRn.js"),__vite__mapDeps([36,5]),import.meta.url)},{name:"admin-content-manager",path:"/admin/content-manager",component:()=>Ft(()=>import("./B2EvjwGK.js"),__vite__mapDeps([37,2,3,1,4,5,6,7,38,39]),import.meta.url)},{name:"Roadmap",path:"/:locale()/public-roadmap",meta:Jj||{},component:()=>Ft(()=>
4import("./hH-Xhz5V.js"),__vite__mapDeps([40,16,17,18,13,19,20,4,21,41,22,11,42,43]),import.meta.url)},{name:"Changelog",path:"/:locale()/public-roadmap/updates",meta:eq||{},component:()=>Ft(()=>import("./CpUhDfVh.js"),__vite__mapDeps([44,16,17,18,13,19,20,4,21,41,22,11,42,45]),import.meta.url)},{name:"admin-form-builder-view-locale-slug",path:"/admin/form-builder/view/:locale()/:slug()",meta:tq||{},component:()=>Ft(()=>import("./DSEm5Cmg.js"),__vite__mapDeps([46,24]),import.meta.url)},{name:"admin-builder-type-locale-documentId",path:"/admin/builder/:type()/:locale()/:documentId()",meta:nq||{},component:()=>Ft(()=>import("./CLX8jFxs.js"),__vite__mapDeps([47,1,34,48,49,5]),import.meta.url)},{name:"admin-preview-type-locale-documentId",path:"/admin/preview/:type()/:locale()/:documentId()",meta:rq||{},component:()=>Ft(()=>import("./BaYmhL4Q.js"),__vite__mapDeps([50,23,24,12,13,14,20,4,17,18,6,25,26,34,48]),import.meta.url)},{name:"admin-content-manager-single-types-model",path:"/admin/content-manager/single-types/:model(.*)*",component:()=>Ft(()=>import("./Bx9INujg.js"),__vite__mapDeps([51,2,3,1,4,5,6,7,38,52,30,20,49,24,25,53]),import.meta.url)},{name:"admin-content-manager-collection-types-model",path:"/admin/content-manager/collection-types/:model(.*)*",meta:oq||{},alias:["/admin/content-manager/collection-types/custom/:model(.*)*"],component:()=>Ft(()=>import("./OuDzwLvQ.js"),__vite__mapDeps([54,2,3,1,4,5,6,7,38,39,52,30,20,49,24,25,53]),import.meta.url)},{name:"admin-form-builder-builder-type-locale-documentId",path:"/admin/form-builder/builder/:type()/:locale()/:documentId()",meta:iq||{},component:()=>Ft(()=>import("./DJ6LIrDO.js"),__vite__mapDeps([55,5]),import.meta.url)},{name:"admin-form-builder-preview-type-locale-documentId",path:"/admin/form-builder/preview/:type()/:locale()/:documentId()",meta:sq||{},component:()=>Ft(()=>import("./CKyrvvdV.js"),__vite__mapDeps([56,24]),import.meta.url)},{name:"admin-content-manager-collection-types-model-documentId",path:"/admin/content-manager/collection-types/:model()/:documentId()",component:()=>Ft(()=>import("./iuVFO2UM.js"),__vite__mapDeps([57,2,3,1,4,5,6,7,52,38,30,20,49,24,25,53]),import.meta.url)}],MO=(e,t)=>({default:()=>e?Bt(Ud,e===!0?{}:e,t):t.default?.()}),aq=/(:\w+)\([^)]+\)/g,lq=/(:\w+)[?+*]/g,uq=/:\w+/g;function iE(e){const t=e?.meta.key??e.path.replace(aq,"$1").replace(lq,"$1").replace(uq,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function cq(e,t){return e===t||t===Ro?!1:iE(e)!==iE(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}function sE(e){return Array.isArray(e)?e:[e]}function FO(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?sE(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?sE(n.onBeforeLeave):void 0});return zm(...t)}const fq={scrollBehavior(e,t,n){const r=Zt(),o=Mr().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:LO(e.hash),behavior:o}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Ro?aE(e,t,n,o):new Promise(s=>{const a=()=>{requestAnimationFrame(()=>s(aE(e,t,n,o)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function LO(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function aE(e,t,n,r){if(n)return n;const o=cq(e,t);return e.hash?{el:e.hash,top:LO(e.hash),behavior:o?r:"instant"}:{left:0,top:0}}const NO={routes:e=>e.map(t=>t.path==="/:locale()/:slug(.*)*"?{...t,path:"/:locale()/:slug(.*)?"}:t)},dq={hashMode:!1,scrollBehaviorType:"auto"},lE=NO.hashMode??!1,zs={...dq,...fq,...NO},pq=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const o=([n,r]=No(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=va({fatal:!0,status:o&&(o.status||o.statusCode)||404,statusText:o&&(o.statusText||o.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i},hq=/^\/[a-z]{2}-[a-zA-Z]{2}(\/|$)/,uE="/preview";function mq(e){if(e==="/admin/login"||e.startsWith("/sso/"))return!0;const t=e.startsWith(`${uE}/`)?e.slice(uE.length):e;return hq.test(t)}function cE(e){return typeof e=="string"?`'${e}'`:new vq().serialize(e)}
4const vq=(function(){class e{#e=new Map;compare(n,r){const o=typeof n,i=typeof r;return o==="string"&&i==="string"?n.localeCompare(r):o==="number"&&i==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?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 r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const o=n.constructor,i=o===Object||o===void 0?"":o.name;if(i!==""&&globalThis[i]===o)return this.serializeBuiltInType(i,n);if(typeof n.toJSON=="function"){const s=n.toJSON();return i+(s!==null&&typeof s=="object"?this.$object(s):`(${this.serialize(s)})`)}return this.serializeObjectEntries(i,Object.entries(n))}serializeBuiltInType(n,r){const o=this["$"+n];if(o)return o.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const o=Array.from(r).sort((s,a)=>this.compare(s[0],a[0]));let i=`${n}{`;for(let s=0;s<o.length;s++){const[a,l]=o[s];i+=`${this.serialize(a,!0)}:${this.serialize(l)}`,s<o.length-1&&(i+=",")}return i+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let o=0;o<n.length;o++)r+=this.serialize(n[o]),o<n.length-1&&(r+=",");return r+"]"}$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((r,o)=>this.compare(r,o)))}`}
4$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function xl(e,t){return e===t||cE(e)===cE(t)}const gq={trailing:!0};function yq(e,t=25,n={}){if(n={...gq,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,i=[],s,a;const l=(f,p)=>(s=_q(e,f,p),s.finally(()=>{if(s=null,n.trailing&&a&&!o){const d=l(f,a);return a=null,d}}),s),u=function(...f){return n.trailing&&(a=f),s||new Promise(p=>{const d=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const h=n.leading?r:l(this,f);a=null;for(const v of i)v(h);i=[]},t),d?(r=l(this,f),p(r)):i.push(p)})},c=f=>{f&&(clearTimeout(f),o=null)};return u.isPending=()=>!!o,u.cancel=()=>{c(o),i=[],a=null},u.flush=()=>
4{if(c(o),!a||s)return;const f=a;return a=null,l(this,f)},u}async function _q(e,t,n){return await e.apply(t,n)}const BO=Symbol.for("nuxt:client-only"),fde=ge({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=yt(!1);_t(()=>{r.value=!0});const o=kt();return o&&(o._nuxtClientOnly=!0),Qn(BO,!0),()=>{if(r.value){const l=t.default?.();return l&&l.length===1?[Ho(l[0],n)]:l}const i=t.fallback||t.placeholder;if(i)return Bt(i);const s=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return ce(a,n,s)}}}),fE=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),dde=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Zm=e=>{const t=Zt();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{fE(()=>e())}):fE(()=>e())},bq=e=>e==="defer"||e===!1;function wq(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;kq(e[0],e[1])&&e.unshift(t);let[n,r,o={}]=e,i=!1;const s=N(()=>_e(n));if(typeof s.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 a=Zt();o.server??=!0,o.default??=Sq,o.getCachedData??=qO,o.lazy??=!1,o.immediate??=!0,o.deep??=gs.deep,o.dedupe??="cancel",o._functionName,a._asyncData[s.value];function l(){const h={cause:"initial",dedupe:o.dedupe};return a._asyncData[s.value]?._init||(h.cachedData=o.getCachedData(s.value,a,{cause:"initial"}),a._asyncData[s.value]=dE(a,s.value,r,o,h.cachedData)),()=>a._asyncData[s.value].execute(h)}const u=l(),c=a._asyncData[s.value];c._deps++;const f=o.server!==!1&&a.payload.serverRendered;{let h=function(_){const k=a._asyncData[_];k?._deps&&(k._deps--,k._deps===0&&k?._off())};const v=kt();if(v&&f&&o.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const _=v._nuxtOnBeforeMountCbs;WT(()=>{_.forEach(k=>{k()}),_.splice(0,_.length)}),Lr(()=>_.splice(0,_.length))}const g=v&&(v._nuxtClientOnly||Kt(BO,!1));f&&a.isHydrating&&(c.error.value||c.data.value!=null)?c.status.value=c.error.value?"error":"success":v&&(!g&&a.payload.serverRendered&&a.isHydrating||o.lazy)&&o.immediate?v._nuxtOnBeforeMountCbs.push(u):o.immediate&&u();const b=zi(),y=Ie(s,(_,k)=>{if((_||k)&&_!==k){i=!0;const C=a._asyncData[k]?.data.value!==gs.value,E=a._asyncDataPromises[k]!==void 0,D={cause:"initial",dedupe:o.dedupe};if(!a._asyncData[_]?._init){let T;k&&C?T=a._asyncData[k].data.value:(T=o.getCachedData(_,a,{cause:"initial"}),D.cachedData=T),a._asyncData[_]=dE(a,_,r,o,T)}a._asyncData[_]._deps++,k&&h(k),(o.immediate||C||E)&&a._asyncData[_].execute(D),Vu(()=>{i=!1})}},{flush:"sync"}),w=o.watch?Ie(o.watch,()=>{i||(a._asyncData[s.value]?._execute.isPending()&&Vu(()=>{a._asyncData[s.value]?._execute.flush()}),a._asyncData[s.value]?._execute({cause:"watch",dedupe:o.dedupe}))}):()=>{};b&&As(()=>{y(),w(),h(s.value)})}const p={data:pp(()=>a._asyncData[s.value]?.data),pending:pp(()=>a._asyncData[s.value]?.pending),status:pp(()=>a._asyncData[s.value]?.status),error:pp(()=>a._asyncData[s.value]?.error),refresh:(...h)=>a._asyncData[s.value]?._init?a._asyncData[s.value].execute(...h):l()(),execute:(...h)=>p.refresh(...h),clear:()=>{const h=a._asyncData[s.value];if(h?._abortController)try{h._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{h._abortController=void 0}jO(a,s.value)}},d=Promise.resolve(a._asyncDataPromises[s.value]).then(()=>p);return Object.assign(d,p),Object.defineProperties(d,{then:{enumerable:!0,value:d.then.bind(d)},catch:{enumerable:!0,value:d.catch.bind(d)},finally:{enumerable:!0,value:d.finally.bind(d)}}),d}function pp(e){return N({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function kq(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function jO(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=gs.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=S(e._asyncData[t]._default()),e._asyncData[t].error.value=gs.errorValue,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function Eq(e,t){const n={};for(const r of t)n[r]=e[r];return n}function dE(e,t,n,r,o){e.payload._errors[t]??=gs.errorValue;const i=r.getCachedData!==qO,s=n,a=r.deep?ne:yt,l=o!=null,u=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?o:r.default()),pending:N(()=>c.status.value==="pending"),error:Rs(e.payload._errors,t),status:yt("idle"),execute:(...f)=>{const[p,d=void 0]=f,h=p&&d===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]&&bq(h.dedupe??r.dedupe))return e._asyncDataPromises[t];{const b="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(b!=null)return e.payload.data[t]=c.data.value=b,c.error.value=gs.errorValue,c.status.value="success",Promise.resolve(b)}c._abortController&&c._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),c._abortController=new AbortController,c.status.value="pending";const v=new AbortController,g=new Promise((b,y)=>{try{const w=h.timeout??r.timeout,_=Cq([c._abortController?.signal,h?.signal],v.signal,w);if(_.aborted){const k=_.reason;y(k instanceof Error?k:new DOMException(String(k??"Aborted"),"AbortError"));return}return _.addEventListener("abort",()=>{const k=_.reason;y(k instanceof Error?k:new DOMException(String(k??"Aborted"),"AbortError"))},{once:!0,signal:v.signal}),Promise.resolve(s(e,{signal:_}
4)).then(b,y)}catch(w){y(w)}}).then(async b=>{let y=b;r.transform&&(y=await r.transform(b)),r.pick&&(y=Eq(y,r.pick)),e.payload.data[t]=y,c.data.value=y,c.error.value=gs.errorValue,c.status.value="success"}).catch(b=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==g||c._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return c.status.value="idle",e._asyncDataPromises[t];c.error.value=va(b),c.data.value=S(r.default()),c.status.value="error"}).finally(()=>{v.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=g,e._asyncDataPromises[t]},_execute:yq((...f)=>c.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),i||it(()=>{e._asyncData[t]?._init||(jO(e,t),c.execute=()=>Promise.resolve(),c.data.value=gs.value)})}};return c}const Sq=()=>gs.value,qO=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function Cq(e,t,n){const r=e.filter(s=>!!s);if(typeof n=="number"&&n>=0){const s=AbortSignal.timeout?.(n);s&&r.push(s)}if(AbortSignal.any)return AbortSignal.any(r);const o=new AbortController;for(const s of r)if(s.aborted){const a=s.reason??new DOMException("Aborted","AbortError");try{o.abort(a)}catch{o.abort()}return o.signal}const i=()=>{const a=r.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{o.abort(a)}catch{o.abort()}};for(const s of r)s.addEventListener?.("abort",i,{once:!0,signal:t});return o.signal}const Dq="$s";function Gu(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Dq+n,i=Zt(),s=Rs(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(lt(a))return i.payload.state[o]=a,a;s.value=a}return s}function xq(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},o=r.decode||Tq;let i=0;for(;i<e.length;){const s=e.indexOf("=",i);if(s===-1)break;let a=e.indexOf(";",i);if(a===-1)a=e.length;else if(a<s){i=e.lastIndexOf(";",s-1)+1;continue}const l=e.slice(i,s).trim();if(r?.filter&&!r?.filter(l)){i=a+1;continue}if(n[l]===void 0){let u=e.slice(s+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[l]=Aq(u,o)}i=a+1}return n}function Tq(e){return e.includes("%")?decodeURIComponent(e):e}function Aq(e,t){try{return t(e)}catch{return e}}const hp=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function pE(e,t,n){const r=n||{},o=r.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!hp.test(e))throw new TypeError("argument name is invalid");const i=o(t);if(i&&!hp.test(i))throw new TypeError("argument val is invalid");let s=e+"="+i;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(a)}if(r.domain){if(!hp.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!hp.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){if(!Oq(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
4d");s+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{s+="; Priority=Low";break}case"medium":{s+="; Priority=Medium";break}case"high":{s+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{s+="; SameSite=Strict";break}case"lax":{s+="; SameSite=Lax";break}case"strict":{s+="; SameSite=Strict";break}case"none":{s+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s}function Oq(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function Yo(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Yo(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Yo(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Yo(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Yo(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Yo(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,i){n.set(Yo(i),Yo(o))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Yo(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const Pq={path:"/",watch:!0,decode:e=>{const t=decodeURIComponent(e),n=rd(t);return typeof n=="number"&&(!Number.isFinite(n)||String(n)!==t)?t:n},encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},mp=globalThis.cookieStore;function Rq(e,t){const n={...Pq,...t};n.filter??=u=>u===e;const r=hE(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const i=o!==void 0&&o<=0,s=i||r[e]===void 0||r[e]===null,a=Yo(i?void 0:r[e]??n.default?.()),l=o&&!i?Mq(a,o,n.watch&&n.watch!=="shallow"):ne(a);{let u=null;try{!mp&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(h=!1)=>{!h&&(n.readonly||xl(l.value,r[e]))||($q(e,l.value,n),r[e]=Yo(l.value),u?.postMessage({value:n.encode(l.value)}))},f=h=>{const v=h.refresh?hE(n)?.[e]:n.decode(h.value);p=!0,l.value=v,r[e]=Yo(v),it(()=>{p=!1})};let p=!1;const d=!!zi();if(d&&As(()=>{p=!0,c(),u?.close()}),mp){const h=v=>{const g=v.changed.find(y=>y.name===e),b=v.deleted.find(y=>y.name===e);g&&f({value:g.value}),b&&f({value:null})};mp.addEventListener("change",h),d&&As(()=>mp.removeEventListener("change",h))}else u&&(u.onmessage=({data:h})=>f(h));n.watch&&Ie(l,()=>{p||c()},{deep:n.watch!=="shallow"}),s&&c(s)}return l}function hE(e={}){return xq(document.cookie,e)}function Iq(e,t,n={}){return t==null?pE(e,t,{...n,maxAge:-1}):pE(e,t,n)}function $q(e,t,n={}){document.cookie=Iq(e,t,n)}const mE=2147483647;function Mq(e,t,n){let r,o,i=0;const s=n?ne(e):{value:e};return zi()&&As(()=>{o?.(),clearTimeout(r)}),_c((a,l)=>{n&&(o=Ie(s,l));function u(){const f=t-i,p=f<mE?f:mE;r=setTimeout(()=>{if(i+=p,i<t)return u();s.value=void 0,l()},p)}function c(){i=0,clearTimeout(r),u()}return{get(){return a(),s.value},set(f){c(),s.value=f,l()}}})}function Fq(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Lq(e,t=Mr()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const o=t._preloadPromises||=[];if(o.length>4)return Promise.all(o).then(()=>Lq(e,t));t._routePreloaded.add(n);for(const i of r){const s=i.components?.default;if(typeof s!="function")continue;const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a),1));o.push(a)}await Promise.all(o)}function Nq(e={}){const t=e.path||window.location.pathname;let n={};try{n=rd(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Zt().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const l1=aO("auth",()=>{const e=ne(null),t=ne([]),n=ne(!1),r=ne(!1),o=ne(!1),i=N(()=>!!e.value),s=N(()=>
4{if(!e.value)return"";const g=e.value.firstname?.[0]||"",b=e.value.lastname?.[0]||"";return`${g}${b}`.toUpperCase()}),a=N(()=>e.value?`${e.value.firstname||""} ${e.value.lastname||""}`.trim():"");function l(g){const b=g?`/sso/login?next=${encodeURIComponent(g)}`:"/sso/login";window.location.href=b}async function u(){let g="/sso/logout";try{const b=await $fetch("/api/admin/auth/logout",{method:"POST"});b?.redirectTo&&(g=b.redirectTo)}catch{}e.value=null,t.value=[],r.value=!1,o.value=!1,window.location.href=g}function c(){return{}}async function f(g={}){try{const b=g.refreshProfile?"?refreshProfile=1":"",y=await $fetch(`/api/admin/auth/me${b}`,{headers:c()});e.value=y.data}catch{e.value=null}}async function p(){try{const g=await $fetch("/api/admin/auth/permissions",{headers:c()});t.value=g.data}catch{t.value=[]}}async function d(){if(r.value){e.value&&!o.value&&(o.value=!0,f({refreshProfile:!0}).catch(()=>{}));return}n.value=!0;try{await f({refreshProfile:!0}),e.value&&await p(),o.value=!0}finally{n.value=!1,r.value=!0}}async function h(){try{const g=e.value?.preferedLanguage??null,b=await $fetch("/api/admin/auth/me");e.value={...b.data,preferedLanguage:g??b.data.preferedLanguage??null}}catch(g){g.statusCode===401&&(e.value=null,t.value=[],r.value=!1,o.value=!1,window.location.href="/sso/login")}}function v(g,b){return t.value.some(y=>y.action===g&&(b===void 0||y.subject===b))}return{user:e,permissions:t,isLoading:n,isInitialized:r,isAuthenticated:i,userInitials:s,userDisplayName:a,redirectToSsoLogin:l,logout:u,fetchUser:f,fetchPermissions:p,initialize:d,revalidate:h,hasPermission:v}}),Bq=async e=>{let t,n;if(mq(e.path))return;const r=l1();if(r.isInitialized||([t,n]=No(()=>r.initialize()),await t,n()),!r.isAuthenticated){const o=e.fullPath!=="/"?`?next=${encodeURIComponent(e.fullPath)}`:"";return Qo(`/sso/login${o}`,{external:!0})}},iu="/admin/content-manager/collection-types/api::article.article",cn=`${iu}?locale=ja-JP`,Do="/admin/content-manager/collection-types/custom/api::event.event",ar="/admin/content-manager/collection-types/api::utm-link.utm-link",jq="/admin/content-manager/collection-types/api::page.page",vE="/admin/content-manager/collection-types/api::roadmap-task.roadmap-task",qq="/admin/content-manager/collection-types/api::partner.partner",Vq={"[email protected]":vE,"[email protected]":vE,"[email protected]":qq,"[email protected]":iu,"[email protected]":iu,"[email protected]":iu,"[email protected]":iu,"[email protected]":iu,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":cn,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":Do,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]"
4:ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":ar,"[email protected]":jq},Uq=new Set(["/","/admin"]);function Hq(e){if(!e.startsWith("/"))return!1;const t=e.replace(/\/+$/,"");return Uq.has(t||"/")}function Wq(e,t){return e.fullPath===t.fullPath}function zq(e){if(e)return Vq[e.trim().toLowerCase()]}const Kq=async(e,t)=>{let n,r;if(!Wq(e,t)||!Hq(e.path))return;const o=l1();o.isInitialized||([n,r]=No(()=>o.initialize()),await n,r());const i=zq(o.user?.email);if(i)return Qo(i,{})},Gq=e=>{const t=Gm({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Gi(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},Yq=[pq,Bq,Kq,Gq],nb={};function Xq(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const u=i.includes(e.slice(s))?e.slice(s).length:1;let c=i.slice(u);return c[0]!=="/"&&(c="/"+c),Sk(c,"")}const a=Sk(r,e),l=!n||zA(a,n)?a:n;return l+(l.includes("?")?"":o)+i}const Qq=Bn({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=zo().app.baseURL;lE&&!r.includes("#")&&(r+="#");const o=zs.history?.(r)??(lE?vj(r):OO(r)),i=zs.routes?([t,n]=No(()=>zs.routes(ug)),t=await t,n(),t??ug):ug;let s;const a=Lj({...zs,scrollBehavior:(b,y,w)=>{if(y===Ro){s=w;return}if(zs.scrollBehavior){if(a.options.scrollBehavior=zs.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return zs.scrollBehavior(b,Ro,s||w)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=yt(a.currentRoute.value);a.afterEach((b,y)=>{l.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Xq(r,window.location,e.payload.path),c=yt(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};a.afterEach((b,y)=>{b.matched.at(-1)?.components?.default===y.matched.at(-1)?.components?.default&&f()});const p={sync:f};for(const b in c.value)Object.defineProperty(p,b,{get:()=>c.value[b],enumerable:!0});e._route=Ri(p),e._middleware||={global:[],named:{}};const d=Km();a.afterEach(async(b,y,w)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(DB),w&&await e.callHook("page:loading:end")});try{[t,n]=No(()=>a.isReady()),await t,n()}catch(b){[t,n]=No(()=>e.runWithContext(()=>el(b))),await t,n()}const h=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,v=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&zA(a.currentRoute.value.path,e.payload.path);f();const g=e.payload.state._layout;return a.beforeEach(async(b,y)=>{await e.callHook("page:loading:start"),b.meta=on(b.meta),e.isHydrating&&g&&!qi(b.meta.layout)&&(b.meta.layout=g),e._processingMiddleware=!0;{const w=new Set([...Yq,...e._middleware.global]);for(const k of b.matched){const C=k.meta.middleware;if(C)for(const E of $O(C))w.add(E)}const _=Gm({path:b.path});if(_.appMiddleware)for(const k in _.appMiddleware)_.appMiddleware[k]?w.add(k):w.delete(k);for(const k of w){const C=typeof k=="string"?e._middleware.named[k]||await nb[k]?.().then(E=>E.default||E):k;if(!C)throw new Error(`Unknown route middleware: '${k}'.`);try{const E=await e.runWithContext(()=>C(b,y));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const D=E||va({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>el(D)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return nO(E)&&E.fatal&&await e.runWithContext(()=>el(E)),E}catch(E){const D=va(E);return D.fatal&&await e.runWithContext(()=>el(D)),D}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(b=>{if(b.matched.length===0&&!d.value)return e.runWithContext(()=>el(va({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in h&&(h.name=void 0),v){const b=a.resolve(e.payload.path);"name"in b&&(b.name=void 0),await a.replace({...b,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...h,force:!0})})}else await a.replace({...h,force:!0});a.options.scrollBehavior=zs.scrollBehavior}catch(b){await e.runWithContext(()=>el(b))}}),{provide:{router:a}}}}),Zq=Bn({name:"nuxt:payload",setup(e){const t=new Set;
4Mr().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await qk(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),Zm(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await qk(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(o1,1e3)})}}),Jq=Bn(()=>{const e=Mr();Zm(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),eV=Bn(e=>{let t;async function n(){let r;try{r=await o1()}catch(o){const i=o;if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,Rk);try{const o=await $fetch(n1("builds/latest.json")+`?${Date.now()}`);o.id!==r?.id&&(e.hooks.callHook("app:manifest:update",o),t&&clearTimeout(t))}catch{}}Zm(()=>{t=setTimeout(n,Rk)})}),tV=Bn({name:"nuxt:chunk-reload",setup(e){const t=Mr(),n=zo(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s=ql(n.app.baseURL,i.fullPath);Nq({path:s,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}});function nV(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Lh=typeof window<"u",Ma=(e,t=!1)=>t?Symbol.for(e):Symbol(e),rV=(e,t,n)=>oV({l:e,k:t,s:n}),oV=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ln=e=>typeof e=="number"&&isFinite(e),iV=e=>ev(e)==="[object Date]",Nh=e=>ev(e)==="[object RegExp]",Jm=e=>qt(e)&&Object.keys(e).length===0,vn=Object.assign,sV=Object.create,rn=(e=null)=>sV(e);let gE;const u1=()=>gE||(gE=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:rn());function yE(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function _E(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function aV(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,i)=>`${o}="${_E(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,i)=>`${o}='${_E(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript&#58;")}),e}const lV=Object.prototype.hasOwnProperty;function ti(e,t){return lV.call(e,t)}const Sn=Array.isArray,un=e=>typeof e=="function",He=e=>typeof e=="string",_n=e=>typeof e=="boolean",Ut=e=>e!==null&&typeof e=="object",uV=e=>Ut(e)&&un(e.then)&&un(e.catch),VO=Object.prototype.toString,ev=e=>VO.call(e),qt=e=>ev(e)==="[object Object]",cV=e=>e==null?"":Sn(e)||qt(e)&&e.toString===VO?JSON.stringify(e,null,2):String(e);function c1(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const vp=e=>!Ut(e)||Sn(e);function xu(e,t){if(vp(e)||vp(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(Ut(r[i])&&!Ut(o[i])&&(o[i]=Array.isArray(r[i])?[]:rn()),vp(o[i])||vp(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}const ga=["en-US","es-US","en-GB","en-AU","ja-JP"],rb={"en-US":[{key:"locale_en_45US_46json_cc692c20",load:()=>Ft(()=>import("./ChEDakDa.js"),[],import.meta.url),cache:!0},{key:"locale_en_45US_tables_46json_a79dbbf4",load:()=>Ft(()=>import("./BtOTVLaN.js"),[],import.meta.url),cache:!0},{key:"locale_en_45US_components_46json_fb339fc3",load:()=>Ft(()=>import("./DjdAFbyF.js"),[],import.meta.url),cache:!0},{key:"locale_en_45US_builder_46json_15d360ad",load:()=>Ft(()=>import("./HYV20sQF.js"),[],import.meta.url),cache:!0}],"es-US":[{key:"locale_es_45US_tables_46json_5e016df2",load:()=>Ft(()=>import("./C9rm_Ip7.js"),[],import.meta.url),cache:!0}],"en-GB":[{key:"locale_en_45GB_tables_46json_c1ec093d",load:()=>Ft(()=>import("./erSKHD-y.js"),[],import.meta.url),cache:!0}],"en-AU":[{key:"locale_en_45AU_tables_46json_86b59d5c",load:()=>Ft(()=>import("./C_thWpnw.js"),[],import.meta.url),cache:!0}],"ja-JP":[{key:"locale_ja_45JP_46json_786ea83e",load:()=>Ft(()=>import("./Dn6O83xD.js"),[],import.meta.url),cache:!0},{key:"locale_ja_45JP_tables_46json_9996c0d8",load:()=>Ft(()=>import("./BzlAeb7r.js"),[],import.meta.url),cache:!0},{key:"locale_ja_45JP_components_46json_405a1531",load:()=>Ft(()=>import("./DSBmRYSz.js"),[],import.meta.url),cache:!0},{key:"locale_ja_45JP_builder_46json_d6614128",load:()=>Ft(()=>import("./BtvMmzDQ.js"),[],import.meta.url),cache:!0}]},fV=[],Yu=[{code:"en-US",files:[{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder
4-components/i18n/locales/en-US.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/en-US_tables.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/en-US_components.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/en-US_builder.json",cache:void 0}],name:"English"},{code:"es-US",files:[{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/es-US_tables.json",cache:void 0}],name:"Spanish"},{code:"en-GB",files:[{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/en-GB_tables.json",cache:void 0}],name:"English (UK)"},{code:"en-AU",files:[{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/en-AU_tables.json",cache:void 0}],name:"English (AU)"},{code:"ja-JP",files:[{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/ja-JP.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/ja-JP_tables.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/ja-JP_components.json",cache:void 0},{path:"/var/www/vectorworks_static_jp_pages/releases/20260911163732/layers/builder-components/i18n/locales/ja-JP_builder.json",cache:void 0}],name:"Japanese"}],UO="@nuxtjs/i18n",dV=!1,pV="i18n_redirected",hV="nuxtI18nInternal",bE="nuxt-i18n-slp";function tv(e){return He(e)?e:e!=null?e.toString():"(null)"}function wE(e,t,n){const{defaultLocale:r,strategy:o,routesNameSeparator:i,defaultLocaleRouteNameSuffix:s,differentDomains:a}=n,l=o!=="no_prefix"||a,u=tv(e)+(l?i+t:"");return t===r&&o==="prefix_and_default"?u+i+s:u}function mV(e,t){const n=[];for(const[r,o]of t.entries()){const i=e.find(s=>s.language?.toLowerCase()===o.toLowerCase());if(i){n.push({code:i.code,score:1-r/t.length});break}}for(const[r,o]of t.entries()){const i=o.split("-")[0].toLowerCase(),s=e.find(a=>a.language?.split("-")[0].toLowerCase()===i);if(s){n.push({code:s.code,score:.999-r/t.length});break}}return n}function vV(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function gV(e,t){const n=e.map(o=>({code:o.code,language:o.language||o.code})),r=mV(n,t);return r.length===0?"":(r.length>1&&r.sort(vV),r[0].code)}function HO(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const yV=`(${ga.join("|")})`,ob=HO(ga);function _V(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=zo().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${yV}${n}$`,"i");return o=>He(o)?o.match(ob)?.[1]??"":o.name?tv(o.name).match(r)?.[1]??"":o.path?o.path.match(ob)?.[1]??"":""}function bV(e){return e!=null&&"global"in e&&"mode"in e}function wV(e){return e!=null&&!("__composer"in e)&&"locale"in e&&lt(e.locale)}function WO(e){return e!=null&&"__composer"in e}function Bh(e){return bV(e)?e.global:e}function tf(e){const t=Bh(e);return wV(t)?t:WO(t)?t.__composer:t}function nv(){return window.location.host}function kV(e,t,n){const r=nv();if(!r)return r;const o=He(n)?n:n.path,i=e.filter(a=>a.domain?(Gi(a.domain)?a.domain.replace(/(http|https):\/\//,""):a.domain)===r:Sn(a?.domains)?a.domains.includes(r):!1);if(i.length===0)return"";if(i.length===1)return i[0]?.code??"";if(t==="no_prefix")return console.warn(GO("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),i[0]?.code??"";if(n&&o){const a=o.match(HO(i.map(l=>l.code)))?.at(1);if(a)return i.find(u=>u.code===a)?.code??""}return i.find(a=>a.defaultForDomains?.includes(r)??a.domainDefault)?.code??""}function zO(e){Zt();const t=nv(),{domainLocales:n}=zo().public.i18n,r=Yu.find(s=>s.code===e),o=n?.[e]?.domain||r?.domain||r?.domains?.find(s=>s===t);if(!o){console.warn(GO("Could not find domain name for locale "+e));return}return Gi(o,{strict:!0})?o:new URL(window.location.origin).protocol+"//"+o}function EV(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:o,defaultLocaleRouteNameSuffix:i}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const s=Mr(),a=[o,i].join("");for(const l of s.getRoutes()){const u=tv(l.name);if(u.endsWith(a)){s.removeRoute(u);continue}const c=u.split(o)[1];c===t&&s.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function SV(e){const{locales:t,domainLocales:n,defaultLocale:r,multiDomainLocales:o}=e,i=nv();return o?t.some(s=>!He(s)&&s.defaultForDomains!=null)?t.find(a=>!He(a)&&!!a.defaultForDomains?.includes(i))?.code??"":r||"":Yu.find(a=>{const l=He(a)?a:a.code,u=Yu.find(f=>f.code===l);return(n?.[l]?.domain??u?.domain)===i})?.code??r??""}const Of=new Map;async function CV(e,t){const n={messages:{}};for(const r of e){const{default:o}=await r(),i=un(o)?await t.runWithContext(()=>o()):o;xu(i,n)}return n}function KO(e,t){if(e===!1)return[];if(Sn(e))return e;let n=[];if(He(e))return t.every(o=>o!==e)&&n.push(e),n;const r=[...t,"default"];
4for(const o of r)o in e&&(n=[...n,...e[o].filter(Boolean)]);return n}const DV=e=>ev(e)==="[object Module]";async function xV(e,{key:t,load:n},r){let o=null;try{const i=await n().then(s=>DV(s)?s.default:s);un(i)?o=await r.runWithContext(()=>i(e)):(o=i,o!=null&&Of&&Of.set(t,o))}catch(i){console.error("Failed locale loading: "+i.message)}return o}async function ib(e,t,n,r){const o=t[e];if(o==null)return;const i={};for(const s of o){let a=null;Of&&Of.has(s.key)&&s.cache?a=Of.get(s.key):a=await r.runWithContext(()=>xV(e,s,r)),a!=null&&xu(a,i)}n(e,i)}function Xu(e,t){const n=S(t),r=Ut(n)?n?.name:n;if(!(n==null||!r))return tv(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function f1(e,t,n){if(He(t)&&Gi(t,{acceptRelative:!0}))return t;const r=d1(e,t,n);return r==null?"":r.redirectedFrom?.fullPath||r.fullPath}function rv(e,t,n){return d1(e,t,n)??void 0}function TV(e){if(!He(e))return vn({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=q_(e);return{path:t,query:J0(n),hash:r}}return{name:e}}const AV=e=>!!e.path&&!e.name;function OV(e,t,n){const r=e.runtimeConfig.public.i18n;if(AV(t)){const i=RV(e,t,n),s=Xu(e,i);return s?(i.name=wE(s,n,r),i):(!r.differentDomains&&MV(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?Ih:od)(t.path,!0),t)}t.name||=Xu(e,e.router.currentRoute.value);const o=wE(t.name,n,r);return e.router.hasRoute(o)&&(t.name=o),t}function d1(e,t,n){try{const r=n||S(Bh(e.i18n).locale),o=TV(t),i=e.router.resolve(OV(e,o,r));return i.name?i:e.router.resolve(t)}catch(r){if(Ei(r,1))return null}}function PV(e,t){if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return S(e.metaState.value);const n=t.meta||{};return S(n)?.[hV]||{}}function p1(e,t,n){const r=n??e.router.currentRoute.value,o=Xu(e,r);if(!o)return"";const i=PV(e,r)[t],s={name:o,params:vn({},r.params,i),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=f1(e,s,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=zO(t);return l&&ql(l,a)||a}return a}function RV(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),o=t.path[0]+n+(r&&"/"+r),i=e.router.options.routes.find(s=>s.path===o);return i==null?t:e.router.resolve(vn({},t,i,{path:o}))}function GO(e){return`[${UO}]: ${e}`}function YO(e){return{i18n:e??Zt().$i18n,router:Mr(),runtimeConfig:zo(),metaState:Gu("nuxt-i18n-meta",()=>({}))}}async function XO(e,t,n=!1){const{differentDomains:r,skipSettingLocaleOnNavigate:o}=e.$config.public.i18n,i=kc(e.$config.public.i18n),s=S(e.$i18n.locale),a=S(e.$i18n.localeCodes);function l(p=s){i===!1||!i.useCookie||o||e.$i18n.setLocaleCookie(p)}const u=await e.$i18n.onBeforeLanguageSwitch(s,t,n,e);if(u&&a.includes(u)){if(s===u)return l(),!1;t=u}if(!t||!n&&r||s===t)return l(),!1;const c=S(e.$i18n.fallbackLocale),f=e.$i18n.mergeLocaleMessage.bind(e.$i18n);if(c){const p=KO(c,[t]);await Promise.all(p.map(d=>ib(d,rb,f,e)))}return await ib(t,rb,f,e),o?!1:(l(t),e._vueI18n.__setLocale(t),await e.$i18n.onLanguageSwitched(s,t),!0)}function IV(e,t,n,r,o){const{strategy:i,defaultLocale:s,differentDomains:a,multiDomainLocales:l}=e.$config.public.i18n,u=kc(),c=JO(e,t,o,r);if(c.locale&&c.from!=null&&ga.includes(c.locale))return c.locale;let f="";a||l?f||=kV(Yu,i,t):i!=="no_prefix"&&(f||=n);const p=(ga.includes(c.locale)||o&&ga.includes(o))&&u&&u.useCookie&&o;return f||=p||r||s||"",f}function QO({to:e,nuxtApp:t,from:n,locale:r,routeLocale:o},i=!1){if(o===r||t.$i18n.strategy==="no_prefix")return"";const s=YO();let a=p1(s,r,e);return i&&!a&&(a=f1(s,e.fullPath,r)),Ck(a,e.fullPath)||n&&Ck(a,n.fullPath)?"":a}const $V=()=>Gu(UO+":redirect",()=>"");async function ZO({nuxt:e,locale:t,route:n,redirectPath:r},o=!1){const{rootRedirect:i,differentDomains:s,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&i)return He(i)?r="/"+i:(r="/"+i.path,i.statusCode),r=e.$localePath(r,t),Qo(r,{});if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>
4{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!o))){if(a&&c==="prefix_except_default"){const f=nv(),p=u.find(h=>{if(!He(h))return h.defaultForDomains?.find(v=>v===f)}),d=He(p)?void 0:p?.code;if(n.path.startsWith(`/${d}`))return Qo(n.path.replace(`/${d}`,""));if(!n.path.startsWith(`/${t}`)&&t!==d){const h=e._vueI18n.__localeFromRoute(n.path);return Qo(h!==""?`/${t+n.path.replace(`/${h}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?Qo(r):void 0}if(s){const f=$V();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return Qo(r)}}function MV(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function FV(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(un(t))return()=>t(e);const o=un(n)?n():n;return()=>{if(r&&o){const i=zO(o);if(i)return i}return t??""}}function LV(e){return Sn(e)?e:[e]}function Tl(e,t=YO()){return(...n)=>e(t,...n)}function NV(){const e=navigator.languages;return gV(Yu,e)||void 0}function BV(){const e=kc(),t=e&&e.cookieKey||pV,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return Rq(t,r)}function jV(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(ga.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function JO(e,t,n,r=""){const o=kc();if(!o)return{locale:"",error:"disabled"};const i=e.$i18n.strategy,s=e._vueI18n.__firstAccess;if(!s)return{locale:i==="no_prefix"?r:"",error:"first_access_only"};if(i!=="no_prefix"){const u=He(t)?t:t.path;if(o.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(o.redirectOn==="no prefix"&&!o.alwaysRedirect&&u.match(ob))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=o.useCookie&&n||void 0;if(a)return{locale:a,from:"cookie"};const l=e.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:o.fallbackLocale||"",from:"fallback"}}function kc(e=zo().public.i18n){return e?.detectBrowserLanguage===!1?!1:e?.detectBrowserLanguage}function qV(e){const t=Zt(),n=S(t.$i18n.locale),r=S(t.$i18n.locales).map(a=>He(a)?{code:a}:a),o=r.find(a=>a.code===n)||{code:n},i=ql(S(tf(t.$i18n).baseUrl),t.$config.app.baseURL),s=t.$config.public.i18n;return i||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:o.dir||s.defaultDirection,currentLocale:o,currentLanguage:o.language,baseUrl:i,runtimeI18n:s}}function VV(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:o="hid"}){return UV(e,{dir:t,lang:n,seo:r,key:o})}function UV(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=qV(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(HV(e,r),WV(e,r)),n.meta=n.meta.concat(zV(e,r),KV(r),GV(r)))),n}function HV(e,t){const{defaultLocale:n,strategy:r,differentDomains:o}=t.runtimeI18n,i=[];if(r==="no_prefix"&&!o)return i;const s=new Map;for(const u of t.locales){if(!u.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!s.has(c))&&s.set(c,u),s.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of s.entries()){const f=p1(e,c.code,l);if(!f)continue;const p=o&&c.domain?f:ql(t.baseUrl,f),d=Wm(p,a?tP(e,t):{});i.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:d,hreflang:u}),n&&n===c.code&&i.unshift({[t.key]:"i18n-xd",rel:"alternate",href:d,hreflang:"x-default"})}return i}function eP(e,t){const n=e.router.currentRoute.value,r=rv(e,vn({},n,{path:void 0,name:Xu(e,n)}));return r?Wm(ql(t.baseUrl,r.path),tP(e,t)):""}function WV(e,t){const n=eP(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function tP(e,t){const n=e.router.currentRoute.value,r=rv(e,vn({},n,{path:void 0,name:Xu(e,n)})),o=Ut(t.seo)&&t.seo?.canonicalQueries||[],i=r?.query||{},s={};for(const a of o.filter(l=>l in i)){s[a]??=[];for(const l of LV(i[a]))s[a].push(l||"")}return s}function zV(e,t){const n=eP(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function KV(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:nP(e.currentLanguage)}]:[]}function GV(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:nP(n.language)}))}function nP(e=""){return e.replace(/-/g,"_")}function YV(e,t,n){return{line:e,column:t,offset:n}}
4function sb(e,t,n){return{start:e,end:t}}const en={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},XV=17;function ov(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function QV(e){throw e}const Ji=" ",ZV="\r",Sr=`
5`,JV="\u2028",e8="\u2029";function t8(e){const t=e;let n=0,r=1,o=1,i=0;const s=E=>t[E]===ZV&&t[E+1]===Sr,a=E=>t[E]===Sr,l=E=>t[E]===e8,u=E=>t[E]===JV,c=E=>s(E)||a(E)||l(E)||u(E),f=()=>n,p=()=>r,d=()=>o,h=()=>i,v=E=>s(E)||l(E)||u(E)?Sr:t[E],g=()=>v(n),b=()=>v(n+i);function y(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function w(){return s(n+i)&&i++,i++,t[n+i]}function _(){n=0,r=1,o=1,i=0}function k(E=0){i=E}function C(){const E=n+i;for(;E!==n;)y();i=0}return{index:f,line:p,column:d,peekOffset:h,charAt:v,currentChar:g,currentPeek:b,next:y,peek:w,reset:_,resetPeek:k,skipToPeek:C}}const Ks=void 0,n8=".",kE="'",r8="tokenizer";function o8(e,t={}){const n=t.location!==!1,r=t8(e),o=()=>r.index(),i=()=>YV(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f($,j,ee,...ae){const de=u();if(j.column+=ee,j.offset+=ee,c){const xe=n?sb(de.startLoc,j):null,Z=ov($,xe,{domain:r8,args:ae});c(Z)}}function p($,j,ee){$.endLoc=i(),$.currentType=j;const ae={type:j};return n&&(ae.loc=sb($.startLoc,$.endLoc)),ee!=null&&(ae.value=ee),ae}const d=$=>p($,13);function h($,j){return $.currentChar()===j?($.next(),j):(f(en.EXPECTED_TOKEN,i(),0,j),"")}function v($){let j="";for(;$.currentPeek()===Ji||$.currentPeek()===Sr;)j+=$.currentPeek(),$.peek();return j}function g($){const j=v($);return $.skipToPeek(),j}function b($){if($===Ks)return!1;const j=$.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function y($){if($===Ks)return!1;const j=$.charCodeAt(0);return j>=48&&j<=57}function w($,j){const{currentType:ee}=j;if(ee!==2)return!1;v($);const ae=b($.currentPeek());return $.resetPeek(),ae}function _($,j){const{currentType:ee}=j;if(ee!==2)return!1;v($);const ae=$.currentPeek()==="-"?$.peek():$.currentPeek(),de=y(ae);return $.resetPeek(),de}function k($,j){const{currentType:ee}=j;if(ee!==2)return!1;v($);const ae=$.currentPeek()===kE;return $.resetPeek(),ae}function C($,j){const{currentType:ee}=j;if(ee!==7)return!1;v($);const ae=$.currentPeek()===".";return $.resetPeek(),ae}function E($,j){const{currentType:ee}=j;if(ee!==8)return!1;v($);const ae=b($.currentPeek());return $.resetPeek(),ae}function D($,j){const{currentType:ee}=j;if(!(ee===7||ee===11))return!1;v($);const ae=$.currentPeek()===":";return $.resetPeek(),ae}function T($,j){const{currentType:ee}=j;if(ee!==9)return!1;const ae=()=>{const xe=$.currentPeek();return xe==="{"?b($.peek()):xe==="@"||xe==="|"||xe===":"||xe==="."||xe===Ji||!xe?!1:xe===Sr?($.peek(),ae()):O($,!1)},de=ae();return $.resetPeek(),de}function x($){v($);const j=$.currentPeek()==="|";return $.resetPeek(),j}function O($,j=!0){const ee=(de=!1,xe="")=>{const Z=$.currentPeek();return Z==="{"||Z==="@"||!Z?de:Z==="|"?!(xe===Ji||xe===Sr):Z===Ji?($.peek(),ee(!0,Ji)):Z===Sr?($.peek(),ee(!0,Sr)):!0},ae=ee();return j&&$.resetPeek(),ae}function A($,j){const ee=$.currentChar();return ee===Ks?Ks:j(ee)?($.next(),ee):null}function V($){const j=$.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function re($){return A($,V)}function pe($){const j=$.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function G($){return A($,pe)}function K($){const j=$.charCodeAt(0);return j>=48&&j<=57}function z($){return A($,K)}function be($){const j=$.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function X($){return A($,be)}function Fe($){let j="",ee="";for(;j=z($);)ee+=j;return ee}function Ve($){let j="";for(;;){const ee=$.currentChar();if(ee==="{"||ee==="}"||ee==="@"||ee==="|"||!ee)break;
vendor: 4,216 bytes, line 5
5if(ee===Ji||ee===Sr)if(O($))j+=ee,$.next();else{if(x($))break;j+=ee,$.next()}else j+=ee,$.next()}return j}function tt($){g($);let j="",ee="";for(;j=G($);)ee+=j;return $.currentChar()===Ks&&f(en.UNTERMINATED_CLOSING_BRACE,i(),0),ee}function Be($){g($);let j="";return $.currentChar()==="-"?($.next(),j+=`-${Fe($)}`):j+=Fe($),$.currentChar()===Ks&&f(en.UNTERMINATED_CLOSING_BRACE,i(),0),j}function ut($){return $!==kE&&$!==Sr}function ke($){g($),h($,"'");let j="",ee="";for(;j=A($,ut);)j==="\\"?ee+=F($):ee+=j;const ae=$.currentChar();return ae===Sr||ae===Ks?(f(en.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),ae===Sr&&($.next(),h($,"'")),ee):(h($,"'"),ee)}function F($){const j=$.currentChar();switch(j){case"\\":case"'":return $.next(),`\\${j}`;case"u":return le($,j,4);case"U":return le($,j,6);default:return f(en.UNKNOWN_ESCAPE_SEQUENCE,i(),0,j),""}}function le($,j,ee){h($,j);let ae="";for(let de=0;de<ee;de++){const xe=X($);if(!xe){f(en.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${j}${ae}${$.currentChar()}`);break}ae+=xe}return`\\${j}${ae}`}function se($){return $!=="{"&&$!=="}"&&$!==Ji&&$!==Sr}function he($){g($);let j="",ee="";for(;j=A($,se);)ee+=j;return ee}function Ee($){let j="",ee="";for(;j=re($);)ee+=j;return ee}function Oe($){const j=ee=>{const ae=$.currentChar();return ae==="{"||ae==="@"||ae==="|"||ae==="("||ae===")"||!ae||ae===Ji?ee:(ee+=ae,$.next(),j(ee))};return j("")}function M($){g($);const j=h($,"|");return g($),j}function B($,j){let ee=null;switch($.currentChar()){case"{":return j.braceNest>=1&&f(en.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),$.next(),ee=p(j,2,"{"),g($),j.braceNest++,ee;case"}":return j.braceNest>0&&j.currentType===2&&f(en.EMPTY_PLACEHOLDER,i(),0),$.next(),ee=p(j,3,"}"),j.braceNest--,j.braceNest>0&&g($),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),ee;case"@":return j.braceNest>0&&f(en.UNTERMINATED_CLOSING_BRACE,i(),0),ee=Q($,j)||d(j),j.braceNest=0,ee;default:{let de=!0,xe=!0,Z=!0;if(x($))return j.braceNest>0&&f(en.UNTERMINATED_CLOSING_BRACE,i(),0),ee=p(j,1,M($)),j.braceNest=0,j.inLinked=!1,ee;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return f(en.UNTERMINATED_CLOSING_BRACE,i(),0),j.braceNest=0,ve($,j);if(de=w($,j))return ee=p(j,4,tt($)),g($),ee;if(xe=_($,j))return ee=p(j,5,Be($)),g($),ee;if(Z=k($,j))return ee=p(j,6,ke($)),g($),ee;if(!de&&!xe&&!Z)return ee=p(j,12,he($)),f(en.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,ee.value),g($),ee;break}}return ee}function Q($,j){const{currentType:ee}=j;let ae=null;const de=$.currentChar();switch((ee===7||ee===8||ee===11||ee===9)&&(de===Sr||de===Ji)&&f(en.INVALID_LINKED_FORMAT,i(),0),de){case"@":return $.next(),ae=p(j,7,"@"),j.inLinked=!0,ae;case".":return g($),$.next(),p(j,8,".");case":":return g($),$.next(),p(j,9,":");default:return x($)?(ae=p(j,1,M($)),j.braceNest=0,j.inLinked=!1,ae):C($,j)||D($,j)?(g($),Q($,j)):E($,j)?(g($),p(j,11,Ee($))):T($,j)?(g($),de==="{"?B($,j)||ae:p(j,10,Oe($))):(ee===7&&f(en.INVALID_LINKED_FORMAT,i(),0),j.braceNest=0,j.inLinked=!1,ve($,j))}}function ve($,j){let ee={type:13};if(j.braceNest>0)return B($,j)||d(j);if(j.inLinked)return Q($,j)||d(j);switch($.currentChar()){case"{":return B($,j)||d(j);case"}":return f(en.UNBALANCED_CLOSING_BRACE,i(),0),$.next(),p(j,3,"}");case"@":return Q($,j)||d(j);default:{if(x($))return ee=p(j,1,M($)),j.braceNest=0,j.inLinked=!1,ee;if(O($))return p(j,0,Ve($));break}}return ee}function q(){const{currentType:$,offset:j,startLoc:ee,endLoc:ae}=l;return l.lastType=$,l.lastOffset=j,l.lastStartLoc=ee,l.lastEndLoc=ae,l.offset=o(),l.startLoc=i(),r.currentChar()===Ks?p(l,13):ve(r,l)}return{nextToken:q,currentOffset:o,currentPosition:i,context:u}}const i8="parser",s8=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function a8(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function l8(e={}){const t=e.location!==!1,{onError:n}=e;function r(b,y,w,_,...k){const C=b.currentPosition();if(C.offset+=_,C.column+=_,n){const E=t?sb(w,C):null,D=ov(y,E,{domain:i8,args:k});n(D)}}function o(b,y,w){const _={type:b};return t&&(_.start=y,_.end=y,_.loc={start:w,end:w}),_}function i(b,y,w,_){t&&(b.end=y,b.loc&&(b.loc.end=w))}
5function s(b,y){const w=b.context(),_=o(3,w.offset,w.startLoc);return _.value=y,i(_,b.currentOffset(),b.currentPosition()),_}function a(b,y){const w=b.context(),{lastOffset:_,lastStartLoc:k}=w,C=o(5,_,k);return C.index=parseInt(y,10),b.nextToken(),i(C,b.currentOffset(),b.currentPosition()),C}function l(b,y){const w=b.context(),{lastOffset:_,lastStartLoc:k}=w,C=o(4,_,k);return C.key=y,b.nextToken(),i(C,b.currentOffset(),b.currentPosition()),C}function u(b,y){const w=b.context(),{lastOffset:_,lastStartLoc:k}=w,C=o(9,_,k);return C.value=y.replace(s8,a8),b.nextToken(),i(C,b.currentOffset(),b.currentPosition()),C}function c(b){const y=b.nextToken(),w=b.context(),{lastOffset:_,lastStartLoc:k}=w,C=o(8,_,k);return y.type!==11?(r(b,en.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),C.value="",i(C,_,k),{nextConsumeToken:y,node:C}):(y.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,bi(y)),C.value=y.value||"",i(C,b.currentOffset(),b.currentPosition()),{node:C})}function f(b,y){const w=b.context(),_=o(7,w.offset,w.startLoc);return _.value=y,i(_,b.currentOffset(),b.currentPosition()),_}function p(b){const y=b.context(),w=o(6,y.offset,y.startLoc);let _=b.nextToken();if(_.type===8){const k=c(b);w.modifier=k.node,_=k.nextConsumeToken||b.nextToken()}switch(_.type!==9&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(_)),_=b.nextToken(),_.type===2&&(_=b.nextToken()),_.type){case 10:_.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(_)),w.key=f(b,_.value||"");break;case 4:_.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(_)),w.key=l(b,_.value||"");break;case 5:_.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(_)),w.key=a(b,_.value||"");break;case 6:_.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(_)),w.key=u(b,_.value||"");break;default:{r(b,en.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const k=b.context(),C=o(7,k.offset,k.startLoc);return C.value="",i(C,k.offset,k.startLoc),w.key=C,i(w,k.offset,k.startLoc),{nextConsumeToken:_,node:w}}}return i(w,b.currentOffset(),b.currentPosition()),{node:w}}function d(b){const y=b.context(),w=y.currentType===1?b.currentOffset():y.offset,_=y.currentType===1?y.endLoc:y.startLoc,k=o(2,w,_);k.items=[];let C=null;do{const T=C||b.nextToken();switch(C=null,T.type){case 0:T.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(T)),k.items.push(s(b,T.value||""));break;case 5:T.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(T)),k.items.push(a(b,T.value||""));break;case 4:T.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(T)),k.items.push(l(b,T.value||""));break;case 6:T.value==null&&r(b,en.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,bi(T)),k.items.push(u(b,T.value||""));break;case 7:{const x=p(b);k.items.push(x.node),C=x.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const E=y.currentType===1?y.lastOffset:b.currentOffset(),D=y.currentType===1?y.lastEndLoc:b.currentPosition();return i(k,E,D),k}function h(b,y,w,_){const k=b.context();let C=_.items.length===0;const E=o(1,y,w);E.cases=[],E.cases.push(_);do{const D=d(b);C||(C=D.items.length===0),E.cases.push(D)}while(k.currentType!==13);return C&&r(b,en.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),i(E,b.currentOffset(),b.currentPosition()),E}function v(b){const y=b.context(),{offset:w,startLoc:_}=y,k=d(b);return y.currentType===13?k:h(b,w,_,k)}function g(b){const y=o8(b,vn({},e)),w=y.context(),_=o(0,w.offset,w.startLoc);return t&&_.loc&&(_.loc.source=b),_.body=v(y),e.onCacheKey&&(_.cacheKey=e.onCacheKey(b)),w.currentType!==13&&r(y,en.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,b[w.offset]||""),i(_,y.currentOffset(),y.currentPosition()),_}return{parse:g}}function bi(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function u8(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function EE(e,t){for(let n=0;n<e.length;n++)h1(e[n],t)}function h1(e,t){switch(e.type){case 1:EE(e.cases,t),t.helper("plural");break;case 2:EE(e.items,t);break;case 6:{h1(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function c8(e,t={}){const n=u8(e);n.helper("normalize"),e.body&&h1(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function f8(e){const t=e.body;
5return t.type===2?SE(t):t.cases.forEach(n=>SE(n)),e}function SE(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=c1(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function su(e){switch(e.t=e.type,e.type){case 0:{const t=e;su(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)su(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)su(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;su(t.key),t.k=t.key,delete t.key,t.modifier&&(su(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function d8(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,i=t.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const a=()=>s;function l(v,g){s.code+=v}function u(v,g=!0){const b=g?r:"";l(o?b+"  ".repeat(v):b)}function c(v=!0){const g=++s.indentLevel;v&&u(g)}function f(v=!0){const g=--s.indentLevel;v&&u(g)}function p(){u(s.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:p,helper:v=>`_${v}`,needIndent:()=>s.needIndent}}function p8(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Qu(e,t.key),t.modifier?(e.push(", "),Qu(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function h8(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(Qu(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function m8(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i<o&&(Qu(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function v8(e,t){t.body?Qu(e,t.body):e.push("null")}function Qu(e,t){const{helper:n}=e;switch(t.type){case 0:v8(e,t);break;case 1:m8(e,t);break;case 2:h8(e,t);break;case 6:p8(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const g8=(e,t={})=>{const n=He(t.mode)?t.mode:"normal",r=He(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
6`,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],a=d8(e,{filename:r,breakLineCode:o,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),s.length>0&&(a.push(`const { ${c1(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),Qu(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function y8(e,t={}){const n=vn({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=l8(n).parse(e);return r?(i&&f8(a),o&&su(a),{ast:a,code:""}):(c8(a,n),g8(a,n))}function _8(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(u1().__INTLIFY_PROD_DEVTOOLS__=!1)}function Ni(e){return Ut(e)&&m1(e)===0&&(ti(e,"b")||ti(e,"body"))}const rP=["b","body"];function b8(e){return Fa(e,rP)}const oP=["c","cases"];function w8(e){return Fa(e,oP,[])}const iP=["s","static"];function k8(e){return Fa(e,iP)}const sP=["i","items"];function E8(e){return Fa(e,sP,[])}const aP=["t","type"];function m1(e){return Fa(e,aP)}const lP=["v","value"];function gp(e,t){const n=Fa(e,lP);if(n!=null)return n;throw sd(t)}const uP=["m","modifier"];function S8(e){return Fa(e,uP)}const cP=["k","key"];function C8(e){const t=Fa(e,cP);if(t)return t;throw sd(6)}
6function Fa(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(ti(e,o)&&e[o]!=null)return e[o]}return n}const fP=[...rP,...oP,...iP,...sP,...cP,...uP,...lP,...aP];function sd(e){return new Error(`unhandled node type: ${e}`)}function cg(e){return n=>D8(n,e)}function D8(e,t){const n=b8(t);if(n==null)throw sd(0);if(m1(n)===1){const i=w8(n);return e.plural(i.reduce((s,a)=>[...s,CE(e,a)],[]))}else return CE(e,n)}function CE(e,t){const n=k8(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=E8(t).reduce((o,i)=>[...o,ab(e,i)],[]);return e.normalize(r)}}function ab(e,t){const n=m1(t);switch(n){case 3:return gp(t,n);case 9:return gp(t,n);case 4:{const r=t;if(ti(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(ti(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw sd(n)}case 5:{const r=t;if(ti(r,"i")&&Ln(r.i))return e.interpolate(e.list(r.i));if(ti(r,"index")&&Ln(r.index))return e.interpolate(e.list(r.index));throw sd(n)}case 6:{const r=t,o=S8(r),i=C8(r);return e.linked(ab(e,i),o?ab(e,o):void 0,e.type)}case 7:return gp(t,n);case 8:return gp(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const x8=e=>e;let yp=rn();function T8(e,t={}){let n=!1;const r=t.onError||QV;return t.onError=o=>{n=!0,r(o)},{...y8(e,t),detectError:n}}function A8(e,t){if(He(e)){_n(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||x8)(e),o=yp[r];if(o)return o;const{ast:i,detectError:s}=T8(e,{...t,location:!1,jit:!0}),a=cg(i);return s?a:yp[r]=a}else{const n=e.cacheKey;if(n){const r=yp[n];return r||(yp[n]=cg(e))}else return cg(e)}}let ad=null;function O8(e){ad=e}function P8(e,t,n){ad&&ad.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const R8=I8("function:translate");function I8(e){return t=>ad&&ad.emit(e,t)}const ys={INVALID_ARGUMENT:XV,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},$8=24;function _s(e){return ov(e,null,void 0)}function v1(e,t){return t.locale!=null?DE(t.locale):DE(e.locale)}let fg;function DE(e){if(He(e))return e;if(un(e)){if(e.resolvedOnce&&fg!=null)return fg;if(e.constructor.name==="Function"){const t=e();if(uV(t))throw _s(ys.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fg=t}else throw _s(ys.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw _s(ys.NOT_SUPPORT_LOCALE_TYPE)}function M8(e,t,n){return[...new Set([n,...Sn(t)?t:Ut(t)?Object.keys(t):He(t)?[t]:[n]])]}function dP(e,t,n){const r=He(n)?n:jh,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;Sn(s);)s=xE(i,s,t);const a=Sn(t)||!qt(t)?t:t.default?t.default:null;s=He(a)?[a]:a,Sn(s)&&xE(i,s,!1),o.__localeChainCache.set(r,i)}return i}function xE(e,t,n){let r=!0;for(let o=0;o<t.length&&_n(r);o++){const i=t[o];He(i)&&(r=F8(e,t[o],n))}return r}function F8(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=L8(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function L8(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Sn(n)||qt(n))&&n[o]&&(r=n[o])}return r}const La=[];La[0]={w:[0],i:[3,0],"[":[4],o:[7]};La[1]={w:[1],".":[2],"[":[4],o:[7]};La[2]={w:[2],i:[3,0],0:[3,0]};La[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};La[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};La[5]={"'":[4,0],o:8,l:[5,0]};La[6]={'"':[4,0],o:8,l:[6,0]};const N8=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function B8(e){return N8.test(e)}function j8(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function q8(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function V8(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:B8(t)?j8(t):"*"+t}function U8(e){const t=[];let n=-1,r=0,o=0,i,s,a,l,u,c,f;const p=[];p[0]=()=>{s===void 0?s=a:s+=a},p[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},p[2]=()=>{p[0](),o++},p[3]=()=>
6{if(o>0)o--,r=4,p[0]();else{if(o=0,s===void 0||(s=V8(s),s===!1))return!1;p[1]()}};function d(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,p[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&d())){if(l=q8(i),f=La[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=p[u[1]],c&&(a=i,c()===!1))))return;if(r===7)return t}}const TE=new Map;function H8(e,t){return Ut(e)?e[t]:null}function W8(e,t){if(!Ut(e))return null;let n=TE.get(t);if(n||(n=U8(t),n&&TE.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const s=n[i];if(fP.includes(s)&&Ni(o))return null;const a=o[s];if(a===void 0||un(o))return null;o=a,i++}return o}const z8="10.0.8",iv=-1,jh="en-US",AE="",OE=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function K8(){return{upper:(e,t)=>t==="text"&&He(e)?e.toUpperCase():t==="vnode"&&Ut(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&He(e)?e.toLowerCase():t==="vnode"&&Ut(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&He(e)?OE(e):t==="vnode"&&Ut(e)&&"__v_isVNode"in e?OE(e.children):e}}let pP;function G8(e){pP=e}let hP;function Y8(e){hP=e}let mP;function X8(e){mP=e}let vP=null;const Q8=e=>{vP=e},Z8=()=>vP;let gP=null;const PE=e=>{gP=e},J8=()=>gP;let RE=0;function e6(e={}){const t=un(e.onWarn)?e.onWarn:nV,n=He(e.version)?e.version:z8,r=He(e.locale)||un(e.locale)?e.locale:jh,o=un(r)?jh:r,i=Sn(e.fallbackLocale)||qt(e.fallbackLocale)||He(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=qt(e.messages)?e.messages:dg(o),a=qt(e.datetimeFormats)?e.datetimeFormats:dg(o),l=qt(e.numberFormats)?e.numberFormats:dg(o),u=vn(rn(),e.modifiers,K8()),c=e.pluralRules||rn(),f=un(e.missing)?e.missing:null,p=_n(e.missingWarn)||Nh(e.missingWarn)?e.missingWarn:!0,d=_n(e.fallbackWarn)||Nh(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,v=!!e.unresolving,g=un(e.postTranslation)?e.postTranslation:null,b=qt(e.processor)?e.processor:null,y=_n(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,_=un(e.messageCompiler)?e.messageCompiler:pP,k=un(e.messageResolver)?e.messageResolver:hP||H8,C=un(e.localeFallbacker)?e.localeFallbacker:mP||M8,E=Ut(e.fallbackContext)?e.fallbackContext:void 0,D=e,T=Ut(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,x=Ut(D.__numberFormatters)?D.__numberFormatters:new Map,O=Ut(D.__meta)?D.__meta:{};RE++;const A={version:n,cid:RE,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:c,missing:f,missingWarn:p,fallbackWarn:d,fallbackFormat:h,unresolving:v,postTranslation:g,processor:b,warnHtmlMessage:y,escapeParameter:w,messageCompiler:_,messageResolver:k,localeFallbacker:C,fallbackContext:E,onWarn:t,__meta:O};return A.datetimeFormats=a,A.numberFormats=l,A.__datetimeFormatters=T,A.__numberFormatters=x,__INTLIFY_PROD_DEVTOOLS__&&P8(A,n,O),A}const dg=e=>({[e]:rn()});function g1(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return He(a)?a:t}else return t}function Vc(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function t6(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function n6(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(t6(e,t[r]))return!0;return!1}function IE(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=lb(...t),p=_n(c.missingWarn)?c.missingWarn:e.missingWarn;_n(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,h=v1(e,c),v=s(e,o,h);if(!He(l)||l==="")return new Intl.DateTimeFormat(h,f).format(u);let g={},b,y=null;const w="datetime format";for(let C=0;C<v.length&&(b=v[C],g=n[b]||{},y=g[l],!qt(y));C++)g1(e,l,b,p,w);if(!qt(y)||!He(b))return r?iv:l;let _=`${b}__${l}`;Jm(f)||(_=`${_}__${JSON.stringify(f)}`);let k=a.get(_);return k||(k=new Intl.DateTimeFormat(b,vn({},y,f)),a.set(_,k)),d?k.formatToParts(u):k.format(u)}const yP=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function lb(...e){const[t,n,r,o]=e,i=rn();let s=rn(),a;if(He(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw _s(ys.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw _s(ys.INVALID_ISO_DATE_ARGUMENT)}}else if(iV(t)){if(isNaN(t.getTime()))throw _s(ys.INVALID_DATE_ARGUMENT);a=t}else if(Ln(t))a=t;else throw _s(ys.INVALID_ARGUMENT);
6return He(n)?i.key=n:qt(n)&&Object.keys(n).forEach(l=>{yP.includes(l)?s[l]=n[l]:i[l]=n[l]}),He(r)?i.locale=r:qt(r)&&(s=r),qt(o)&&(s=o),[i.key||"",a,i,s]}function $E(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function ME(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,u,c,f]=ub(...t),p=_n(c.missingWarn)?c.missingWarn:e.missingWarn;_n(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,h=v1(e,c),v=s(e,o,h);if(!He(l)||l==="")return new Intl.NumberFormat(h,f).format(u);let g={},b,y=null;const w="number format";for(let C=0;C<v.length&&(b=v[C],g=n[b]||{},y=g[l],!qt(y));C++)g1(e,l,b,p,w);if(!qt(y)||!He(b))return r?iv:l;let _=`${b}__${l}`;Jm(f)||(_=`${_}__${JSON.stringify(f)}`);let k=a.get(_);return k||(k=new Intl.NumberFormat(b,vn({},y,f)),a.set(_,k)),d?k.formatToParts(u):k.format(u)}const _P=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ub(...e){const[t,n,r,o]=e,i=rn();let s=rn();if(!Ln(t))throw _s(ys.INVALID_ARGUMENT);const a=t;return He(n)?i.key=n:qt(n)&&Object.keys(n).forEach(l=>{_P.includes(l)?s[l]=n[l]:i[l]=n[l]}),He(r)?i.locale=r:qt(r)&&(s=r),qt(o)&&(s=o),[i.key||"",a,i,s]}function FE(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const r6=e=>e,o6=e=>"",i6="text",s6=e=>e.length===0?"":c1(e),a6=cV;function LE(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function l6(e){const t=Ln(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ln(e.named.count)||Ln(e.named.n))?Ln(e.named.count)?e.named.count:Ln(e.named.n)?e.named.n:t:t}function u6(e,t){t.count||(t.count=e),t.n||(t.n=e)}function c6(e={}){const t=e.locale,n=l6(e),r=Ut(e.pluralRules)&&He(t)&&un(e.pluralRules[t])?e.pluralRules[t]:LE,o=Ut(e.pluralRules)&&He(t)&&un(e.pluralRules[t])?LE:void 0,i=b=>b[r(n,b.length,o)],s=e.list||[],a=b=>s[b],l=e.named||rn();Ln(e.pluralIndex)&&u6(n,l);const u=b=>l[b];function c(b,y){const w=un(e.messages)?e.messages(b,!!y):Ut(e.messages)?e.messages[b]:!1;return w||(e.parent?e.parent.message(b):o6)}const f=b=>e.modifiers?e.modifiers[b]:r6,p=qt(e.processor)&&un(e.processor.normalize)?e.processor.normalize:s6,d=qt(e.processor)&&un(e.processor.interpolate)?e.processor.interpolate:a6,h=qt(e.processor)&&He(e.processor.type)?e.processor.type:i6,g={list:a,named:u,plural:i,linked:(b,...y)=>{const[w,_]=y;let k="text",C="";y.length===1?Ut(w)?(C=w.modifier||C,k=w.type||k):He(w)&&(C=w||C):y.length===2&&(He(w)&&(C=w||C),He(_)&&(k=_||k));const E=c(b,!0)(g),D=k==="vnode"&&Sn(E)&&C?E[0]:E;return C?f(C)(D,k):D},message:c,type:h,interpolate:d,normalize:p,values:vn(rn(),s,l)};return g}const NE=()=>"",Io=e=>un(e);function BE(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,u]=cb(...t),c=_n(u.missingWarn)?u.missingWarn:e.missingWarn,f=_n(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=_n(u.escapeParameter)?u.escapeParameter:e.escapeParameter,d=!!u.resolvedMessage,h=He(u.default)||_n(u.default)?_n(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,v=n||h!=null&&(He(h)||un(h)),g=v1(e,u);p&&f6(u);let[b,y,w]=d?[l,g,a[g]||rn()]:bP(e,l,g,s,f,c),_=b,k=l;if(!d&&!(He(_)||Ni(_)||Io(_))&&v&&(_=h,k=_),!d&&(!(He(_)||Ni(_)||Io(_))||!He(y)))return o?iv:l;let C=!1;const E=()=>{C=!0},D=Io(_)?_:wP(e,l,y,_,k,E);if(C)return _;const T=h6(e,y,w,u),x=c6(T),O=d6(e,D,x);let A=r?r(O,l):O;if(p&&He(A)&&(A=aV(A)),__INTLIFY_PROD_DEVTOOLS__){const V={timestamp:Date.now(),key:He(l)?l:Io(_)?_.key:"",locale:y||(Io(_)?_.locale:""),format:He(_)?_:Io(_)?_.source:"",message:A};V.meta=vn({},e.__meta,Z8()||{}),R8(V)}return A}function f6(e){Sn(e.list)?e.list=e.list.map(t=>
6He(t)?yE(t):t):Ut(e.named)&&Object.keys(e.named).forEach(t=>{He(e.named[t])&&(e.named[t]=yE(e.named[t]))})}function bP(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=rn(),p,d=null;const h="translate";for(let v=0;v<c.length&&(p=c[v],f=s[p]||rn(),(d=l(f,t))===null&&(d=f[t]),!(He(d)||Ni(d)||Io(d)));v++)if(!n6(p,c)){const g=g1(e,t,p,i,h);g!==t&&(d=g)}return[d,p,f]}function wP(e,t,n,r,o,i){const{messageCompiler:s,warnHtmlMessage:a}=e;if(Io(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(s==null){const u=(()=>r);return u.locale=n,u.key=t,u}const l=s(r,p6(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function d6(e,t,n){return t(n)}function cb(...e){const[t,n,r]=e,o=rn();if(!He(t)&&!Ln(t)&&!Io(t)&&!Ni(t))throw _s(ys.INVALID_ARGUMENT);const i=Ln(t)?String(t):(Io(t),t);return Ln(n)?o.plural=n:He(n)?o.default=n:qt(n)&&!Jm(n)?o.named=n:Sn(n)&&(o.list=n),Ln(r)?o.plural=r:He(r)?o.default=r:qt(r)&&vn(o,r),[i,o]}function p6(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>rV(t,n,s)}}function h6(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,p={locale:t,modifiers:o,pluralRules:i,messages:(d,h)=>{let v=s(n,d);if(v==null&&(c||h)){const[,,g]=bP(c||e,d,t,a,l,u);v=s(g,d)}if(He(v)||Ni(v)){let g=!1;const y=wP(e,d,t,v,d,()=>{g=!0});return g?NE:y}else return Io(v)?v:NE}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),Ln(r.plural)&&(p.pluralIndex=r.plural),p}_8();const m6="10.0.8";function v6(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(u1().__INTLIFY_PROD_DEVTOOLS__=!1)}const Wo={UNEXPECTED_RETURN_TYPE:$8,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function hi(e,...t){return ov(e,null,void 0)}const fb=Ma("__translateVNode"),db=Ma("__datetimeParts"),pb=Ma("__numberParts"),g6=Ma("__setPluralRules"),y6=Ma("__injectWithOption"),hb=Ma("__dispose");function ld(e){if(!Ut(e)||Ni(e))return e;for(const t in e)if(ti(e,t))if(!t.includes("."))Ut(e[t])&&ld(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s<r;s++){if(n[s]==="__proto__")throw new Error(`unsafe key: ${n[s]}`);if(n[s]in o||(o[n[s]]=rn()),!Ut(o[n[s]])){i=!0;break}o=o[n[s]]}if(i||(Ni(o)?fP.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!Ni(o)){const s=o[n[r]];Ut(s)&&ld(s)}}return e}function kP(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,s=qt(n)?n:Sn(r)?rn():{[e]:rn()};if(Sn(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||rn(),xu(u,s[l])):xu(u,s)}else He(a)&&xu(JSON.parse(a),s)}),o==null&&i)for(const a in s)ti(s,a)&&ld(s[a]);return s}function EP(e){return e.type}function _6(e,t,n){let r=Ut(t.messages)?t.messages:rn();"__i18nGlobal"in n&&(r=kP(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Ut(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Ut(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function jE(e){return W(ma,null,e,0)}const qE="__INTLIFY_META__",VE=()=>[],b6=()=>!1;let UE=0;function HE(e){return((t,n,r,o)=>e(n,r,kt()||void 0,o))}const w6=()=>{const e=kt();let t=null;return e&&(t=EP(e)[qE])?{[qE]:t}:null};function SP(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=Lh?ne:yt;let s=_n(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:He(e.locale)?e.locale:jh),l=i(t&&s?t.fallbackLocale.value:He(e.fallbackLocale)||Sn(e.fallbackLocale)||qt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(kP(a.value,e)),c=i(qt(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(qt(e.numberFormats)?e.numberFormats:{[a.value]:{}});let p=t?t.missingWarn:_n(e.missingWarn)||Nh(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:_n(e.fallbackWarn)||Nh(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:_n(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,g=un(e.missing)?e.missing:null,b=un(e.missing)?HE(e.missing):null,y=un(e.postTranslation)?e.postTranslation:null,w=t?t.warnHtmlMessage:_n(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const k=t?t.modifiers:qt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&PE(null);const Z={version:m6,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:k,pluralRules:C,missing:b===null?void 0:b,missingWarn:p,fallbackWarn:d,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:w,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Z.datetimeFormats=c.value,Z.numberFormats=f.value,Z.__datetimeFormatters=qt(E)?E.__datetimeFormatters:void 0,Z.__numberFormatters=qt(E)?E.__numberFormatters:void 0;const ue=e6(Z);return r&&PE(ue),ue})(),Vc(E,a.value,l.value);function T(){return[a.value,l.value,u.value,c.value,f.value]}const x=N({get:()=>a.value,set:Z=>{a.value=Z,E.locale=a.value}}),O=N({get:()=>l.value,set:Z=>{l.value=Z,E.fallbackLocale=l.value,Vc(E,a.value,Z)}}),A=N(()=>u.value),V=N(()=>c.value),re=N(()=>f.value);function pe(){return un(y)?y:null}function G(Z){y=Z,E.postTranslation=Z}function K(){return g}
6function z(Z){Z!==null&&(b=HE(Z)),g=Z,E.missing=b}const be=(Z,ue,Re,Ne,rt,st)=>{T();let ft;try{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=t?J8():void 0),ft=Z(E)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=void 0)}if(Re!=="translate exists"&&Ln(ft)&&ft===iv||Re==="translate exists"&&!ft){const[I,P]=ue();return t&&h?Ne(t):rt(I)}else{if(st(ft))return ft;throw hi(Wo.UNEXPECTED_RETURN_TYPE)}};function X(...Z){return be(ue=>Reflect.apply(BE,null,[ue,...Z]),()=>cb(...Z),"translate",ue=>Reflect.apply(ue.t,ue,[...Z]),ue=>ue,ue=>He(ue))}function Fe(...Z){const[ue,Re,Ne]=Z;if(Ne&&!Ut(Ne))throw hi(Wo.INVALID_ARGUMENT);return X(ue,Re,vn({resolvedMessage:!0},Ne||{}))}function Ve(...Z){return be(ue=>Reflect.apply(IE,null,[ue,...Z]),()=>lb(...Z),"datetime format",ue=>Reflect.apply(ue.d,ue,[...Z]),()=>AE,ue=>He(ue))}function tt(...Z){return be(ue=>Reflect.apply(ME,null,[ue,...Z]),()=>ub(...Z),"number format",ue=>Reflect.apply(ue.n,ue,[...Z]),()=>AE,ue=>He(ue))}function Be(Z){return Z.map(ue=>He(ue)||Ln(ue)||_n(ue)?jE(String(ue)):ue)}const ke={normalize:Be,interpolate:Z=>Z,type:"vnode"};function F(...Z){return be(ue=>{let Re;const Ne=ue;try{Ne.processor=ke,Re=Reflect.apply(BE,null,[Ne,...Z])}finally{Ne.processor=null}return Re},()=>cb(...Z),"translate",ue=>ue[fb](...Z),ue=>[jE(ue)],ue=>Sn(ue))}function le(...Z){return be(ue=>Reflect.apply(ME,null,[ue,...Z]),()=>ub(...Z),"number format",ue=>ue[pb](...Z),VE,ue=>He(ue)||Sn(ue))}function se(...Z){return be(ue=>Reflect.apply(IE,null,[ue,...Z]),()=>lb(...Z),"datetime format",ue=>ue[db](...Z),VE,ue=>He(ue)||Sn(ue))}function he(Z){C=Z,E.pluralRules=C}function Ee(Z,ue){return be(()=>{if(!Z)return!1;const Re=He(ue)?ue:a.value,Ne=B(Re),rt=E.messageResolver(Ne,Z);return Ni(rt)||Io(rt)||He(rt)},()=>[Z],"translate exists",Re=>Reflect.apply(Re.te,Re,[Z,ue]),b6,Re=>_n(Re))}function Oe(Z){let ue=null;const Re=dP(E,l.value,a.value);for(let Ne=0;Ne<Re.length;Ne++){const rt=u.value[Re[Ne]]||{},st=E.messageResolver(rt,Z);if(st!=null){ue=st;break}}return ue}function M(Z){const ue=Oe(Z);return ue??(t?t.tm(Z)||{}:{})}function B(Z){return u.value[Z]||{}}function Q(Z,ue){if(o){const Re={[Z]:ue};for(const Ne in Re)ti(Re,Ne)&&ld(Re[Ne]);ue=Re[Z]}u.value[Z]=ue,E.messages=u.value}function ve(Z,ue){u.value[Z]=u.value[Z]||{};const Re={[Z]:ue};if(o)for(const Ne in Re)ti(Re,Ne)&&ld(Re[Ne]);ue=Re[Z],xu(ue,u.value[Z]),E.messages=u.value}function q(Z){return c.value[Z]||{}}function $(Z,ue){c.value[Z]=ue,E.datetimeFormats=c.value,$E(E,Z,ue)}function j(Z,ue){c.value[Z]=vn(c.value[Z]||{},ue),E.datetimeFormats=c.value,$E(E,Z,ue)}function ee(Z){return f.value[Z]||{}}function ae(Z,ue){f.value[Z]=ue,E.numberFormats=f.value,FE(E,Z,ue)}function de(Z,ue){f.value[Z]=vn(f.value[Z]||{},ue),E.numberFormats=f.value,FE(E,Z,ue)}UE++,t&&Lh&&(Ie(t.locale,Z=>{s&&(a.value=Z,E.locale=Z,Vc(E,a.value,l.value))}),Ie(t.fallbackLocale,Z=>{s&&(l.value=Z,E.fallbackLocale=Z,Vc(E,a.value,l.value))}));const xe={id:UE,locale:x,fallbackLocale:O,get inheritLocale(){return s},set inheritLocale(Z){s=Z,Z&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Vc(E,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:A,get modifiers(){return k},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(Z){p=Z,E.missingWarn=p},get fallbackWarn(){return d},set fallbackWarn(Z){d=Z,E.fallbackWarn=d},get fallbackRoot(){return h},set fallbackRoot(Z){h=Z},get fallbackFormat(){return v},set fallbackFormat(Z){v=Z,E.fallbackFormat=v},get warnHtmlMessage(){return w},set warnHtmlMessage(Z){w=Z,E.warnHtmlMessage=Z},get escapeParameter(){return _},set escapeParameter(Z){_=Z,E.escapeParameter=Z},t:X,getLocaleMessage:B,setLocaleMessage:Q,mergeLocaleMessage:ve,getPostTranslationHandler:pe,setPostTranslationHandler:G,getMissingHandler:K,setMissingHandler:z,[g6]:he};return xe.datetimeFormats=V,xe.numberFormats=re,xe.rt=Fe,xe.te=Ee,xe.tm=M,xe.d=Ve,xe.n=tt,xe.getDateTimeFormat=q,xe.setDateTimeFormat=$,xe.mergeDateTimeFormat=j,xe.getNumberFormat=ee,xe.setNumberFormat=ae,xe.mergeNumberFormat=de,xe[y6]=n,xe[fb]=F,xe[db]=se,xe[pb]=le,xe}const y1={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function k6({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Je?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},rn())}function CP(){return Je}const E6=ge({name:"i18n-t",props:vn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ln(e)||!isNaN(e)}},y1),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Vl({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),s=rn();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=He(e.plural)?+e.plural:e.plural);const a=k6(t,i),l=o[fb](e.keypath,a,s),u=vn(rn(),r),c=He(e.tag)||Ut(e.tag)?e.tag:CP();return Bt(c,u,l)}}}),WE=E6;function S6(e){return Sn(e)&&!He(e[0])}function DP(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=rn();e.locale&&(s.locale=e.locale),He(e.format)?s.key=e.format:Ut(e.format)&&(He(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((p,d)=>n.includes(d)?vn(rn(),p,{[d]:e.format[d]}):p,rn()));const l=r(e.value,s,a);let u=[s.key];Sn(l)?u=l.map((p,d)=>{const h=o[p.type],v=h?h({[p.type]:p.value,index:d,parts:l}):[p.value];return S6(v)&&(v[0].key=`${p.type}-${d}`),v}):He(l)&&(u=[l]);const c=vn(rn(),i),f=He(e.tag)||Ut(e.tag)?e.tag:CP();return Bt(f,c,u)}}const C6=ge({name:"i18n-n",props:vn({value:{type:Number,required:!0},format:{type:[String,Object]}},y1),setup(e,t){const n=e.i18n||Vl({useScope:e.scope,__useComponent:!0});return DP(e,t,_P,(...r)=>n[pb](...r))}}),zE=C6,D6=ge({name:"i18n-d",props:vn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},y1),setup(e,t){const n=e.i18n||Vl({useScope:e.scope,__useComponent:!0});return DP(e,t,yP,(...r)=>n[db](...r))}}),KE=D6;function x6(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function T6(e){const t=s=>{const{instance:a,value:l}=s;if(!a||!a.$)throw hi(Wo.UNEXPECTED_ERROR);const u=x6(e,a.$),c=GE(l);return[Reflect.apply(u.t,u,[...YE(c)]),u]};return{created:(s,a)=>{const[l,u]=t(a);Lh&&e.global===u&&(s.__i18nWatcher=Ie(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{Lh&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,u=GE(a);s.textContent=Reflect.apply(l.t,l,[...YE(u)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function GE(e){if(He(e))return{path:e};if(qt(e)){if(!("path"in e))throw hi(Wo.REQUIRED_VALUE,"path");return e}else throw hi(Wo.INVALID_VALUE)}function YE(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return He(n)&&(s.locale=n),Ln(o)&&(s.plural=o),Ln(i)&&(s.plural=i),[t,a,s]}function A6(e,t,...n){const r=qt(n[0])?n[0]:{};(!_n(r.globalInstall)||r.globalInstall)&&([WE.name,"I18nT"].forEach(i=>
6e.component(i,WE)),[zE.name,"I18nN"].forEach(i=>e.component(i,zE)),[KE.name,"I18nD"].forEach(i=>e.component(i,KE))),e.directive("t",T6(t))}const O6=Ma("global-vue-i18n");function P6(e={},t){const n=_n(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=R6(e),s=Ma("");function a(f){return r.get(f)||null}function l(f,p){r.set(f,p)}function u(f){r.delete(f)}const c={get mode(){return"composition"},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),qt(p[0])){const v=p[0];c.__composerExtend=v.__composerExtend,c.__vueI18nExtend=v.__vueI18nExtend}let d=null;n&&(d=j6(f,c.global)),A6(f,c,...p);const h=f.unmount;f.unmount=()=>{d&&d(),c.dispose(),h()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function Vl(e={}){const t=kt();if(t==null)throw hi(Wo.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw hi(Wo.NOT_INSTALLED);const n=I6(t),r=M6(n),o=EP(t),i=$6(e,o);if(i==="global")return _6(r,e,o),r;if(i==="parent"){let l=F6(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=vn({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=SP(l),s.__composerExtend&&(a[hb]=s.__composerExtend(a)),N6(s,t,a),s.__setInstance(t,a)}return a}function R6(e,t,n){const r=Ia(),o=r.run(()=>SP(e));if(o==null)throw hi(Wo.UNEXPECTED_ERROR);return[r,o]}function I6(e){const t=Kt(e.isCE?O6:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw hi(e.isCE?Wo.NOT_INSTALLED_WITH_PROVIDE:Wo.UNEXPECTED_ERROR);return t}function $6(e,t){return Jm(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function M6(e){return e.mode==="composition"?e.global:e.global.__composer}function F6(e,t,n=!1){let r=null;const o=t.root;let i=L6(t,n);for(;i!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function L6(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function N6(e,t,n){_t(()=>{},t),Lr(()=>{const r=n;e.__deleteInstance(t);const o=r[hb];o&&(o(),delete r[hb])},t)}const B6=["locale","fallbackLocale","availableLocales"],XE=["t","rt","d","n","tm","te"];function j6(e,t){const n=Object.create(null);return B6.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw hi(Wo.UNEXPECTED_ERROR);const s=lt(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,XE.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw hi(Wo.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,XE.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}v6();G8(A8);Y8(W8);X8(dP);if(__INTLIFY_PROD_DEVTOOLS__){const e=u1();e.__INTLIFY__=!0,O8(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function q6(){return Tl(Xu)}function V6(){return Tl(f1)}function U6(){return Tl(rv)}function H6(){return Tl(rv)}function xP(){return Tl(p1)}const W6=Bn({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){const t=Zt(e._id);if(t.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const n=xP(),r=new RegExp([`<!--${bE}-\\[(\\w+)\\]-->`,".+?",`<!--/${bE}-->`].join(""),"g");t.hook("app:rendered",o=>{o.renderResult?.html!=null&&(o.renderResult.html=o.renderResult.html.replaceAll(r,(i,s)=>i.replace(/href="([^"]+)"/,`href="${encodeURI(n(s??""))}"`)))})}}),z6=Bn({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(e){let t,n;const r=Zt(e._id),o=r.$router.currentRoute;async function i(a){let l=IV(r,a,r._vueI18n.__localeFromRoute(a),S(r.$i18n.locale),r.$i18n.getLocaleCookie());if(r._vueI18n.__firstAccess){r._vueI18n.__setLocale(l);const c=KO(S(r._vueI18n.global.fallbackLocale),[l]);await Promise.all(c.map(f=>r.$i18n.loadLocaleMessages(f))),await r.$i18n.loadLocaleMessages(l)}return await r.runWithContext(()=>XO(r,l,r._vueI18n.__firstAccess))&&(l=S(r.$i18n.locale)),l}[t,n]=No(()=>i(o.value)),await t,n(),kB("locale-changing",async(a,l)=>{let u,c;const f=([u,c]=No(()=>r.runWithContext(()=>i(a))),u=await u,c(),u),p=([u,c]=No(()=>r.runWithContext(()=>
6QO({to:a,nuxtApp:r,from:l,locale:f,routeLocale:r._vueI18n.__localeFromRoute(a)},!0))),u=await u,c(),u);return r._vueI18n.__firstAccess=!1,[u,c]=No(()=>r.runWithContext(()=>ZO({nuxt:r,redirectPath:p,locale:f,route:a}))),u=await u,c(),u},{global:!0})}});function K6(e,{extendComposer:t,extendComposerInstance:n}){const r=Ia(),o=e.install.bind(e);e.install=(i,...s)=>{const a=vn({},s[0]);a.__composerExtend=u=>(n(u,tf(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,tf(u)),()=>{})),Reflect.apply(o,e,[i,a]);const l=tf(e);if(r.run(()=>{t(l),e.mode==="legacy"&&WO(e.global)&&n(e.global,tf(e.global))}),e.mode==="composition"&&i.config.globalProperties.$i18n!=null&&n(i.config.globalProperties.$i18n,l),i.unmount){const u=i.unmount.bind(i);i.unmount=()=>{r.stop(),u()}}}}const G6=Bn({name:"i18n:plugin",parallel:dV,async setup(e){let t,n;const r=Zt(e._id);Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"9.5.6"});const o=r.$config.public.i18n,i=SV(o);EV(o,i),r.$config.public.i18n.defaultLocale=i;const s={...o,defaultLocale:i,baseUrl:FV(r)},a=([t,n]=No(()=>CV(fV,Zt())),t=await t,n(),t);a.messages||={},a.fallbackLocale??=!1,i&&(a.locale=i);for(const f of ga)a.messages[f]??={};const l=P6(a);r._vueI18n=l,l.__localeFromRoute=_V(),l.__firstAccess=!0,l.__setLocale=f=>{const p=Bh(l);lt(p.locale)?p.locale.value=f:p.locale=f};const u=BV(),c=kc();return K6(l,{extendComposer(f){const p=ne(s.locales);f.locales=N(()=>p.value);const d=ne(ga);f.localeCodes=N(()=>d.value);const h=ne(s.baseUrl());f.baseUrl=N(()=>h.value),Ie(f.locale,()=>h.value=s.baseUrl()),f.strategy=s.strategy,f.localeProperties=N(()=>Yu.find(v=>v.code===f.locale.value)||{code:f.locale.value}),f.setLocale=async v=>{if(await XO(r,v,l.__firstAccess),f.strategy==="no_prefix"){await f.loadLocaleMessages(v),l.__setLocale(v);return}const g=r.$router.currentRoute.value,b=await r.runWithContext(()=>QO({to:g,nuxtApp:r,locale:v,routeLocale:l.__localeFromRoute(g)}));await r.runWithContext(()=>ZO({nuxt:r,redirectPath:b,locale:v,route:g},!0))},f.loadLocaleMessages=async v=>await ib(v,rb,f.mergeLocaleMessage.bind(f),r),f.differentDomains=s.differentDomains,f.defaultLocale=s.defaultLocale,f.getBrowserLocale=()=>NV(),f.getLocaleCookie=()=>jV(u,c,f.defaultLocale),f.setLocaleCookie=v=>{!c||!c.useCookie||(u.value=v)},f.onBeforeLanguageSwitch=(v,g,b,y)=>r.callHook("i18n:beforeLocaleSwitch",{oldLocale:v,newLocale:g,initialSetup:b,context:y}),f.onLanguageSwitched=(v,g)=>r.callHook("i18n:localeSwitched",{oldLocale:v,newLocale:g}),f.finalizePendingLocaleChange=async()=>{l.__pendingLocale&&(l.__setLocale(l.__pendingLocale),l.__resolvePendingLocalePromise?.(),l.__pendingLocale=void 0)},f.waitForPendingLocaleChange=async()=>{l.__pendingLocale&&l.__pendingLocalePromise&&await l.__pendingLocalePromise}},extendComposerInstance(f,p){const d=[["locales",()=>p.locales],["localeCodes",()=>p.localeCodes],["baseUrl",()=>p.baseUrl],["strategy",()=>p.strategy],["localeProperties",()=>p.localeProperties],["setLocale",()=>async h=>Reflect.apply(p.setLocale,p,[h])],["loadLocaleMessages",()=>async h=>Reflect.apply(p.loadLocaleMessages,p,[h])],["differentDomains",()=>p.differentDomains],["defaultLocale",()=>p.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(p.getBrowserLocale,p,[])],["getLocaleCookie",()=>()=>Reflect.apply(p.getLocaleCookie,p,[])],["setLocaleCookie",()=>h=>Reflect.apply(p.setLocaleCookie,p,[h])],["onBeforeLanguageSwitch",()=>(h,v,g,b)=>Reflect.apply(p.onBeforeLanguageSwitch,p,[h,v,g,b])],["onLanguageSwitched",()=>(h,v)=>Reflect.apply(p.onLanguageSwitched,p,[h,v])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(p.finalizePendingLocaleChange,p,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(p.waitForPendingLocaleChange,p,[])]];for(const[h,v]of d)Object.defineProperty(f,h,{get:v})}}),r.vueApp.use(l),Object.defineProperty(r,"$i18n",{get:()=>Bh(l)}),{provide:{localeHead:Tl(VV),localePath:V6(),localeRoute:U6(),getRouteBaseName:q6(),switchLocalePath:xP(),resolveRoute:Tl(d1),localeLocation:H6()}}}}),Y6=Bn({name:"pinia",setup(e){const t=xB();return e.vueApp.use(t),Hd(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),X6=Bn({name:"nuxt:global-components"}),aa={"newsroom-landing":Sf(()=>Ft(()=>import("./BxatRRRX.js"),__vite__mapDeps([58,16,17,18,13,19,20,4,21,24,59]),import.meta.url).then(e=>e.default||e)),public:Sf(()=>Ft(()=>import("./CFWoNNLw.js"),__vite__mapDeps([60,27]),import.meta.url).then(e=>e.default||e)),roadmap:Sf(()=>Ft(()=>import("./gpEoWZzc.js"),__vite__mapDeps([61,24]),import.meta.url).then(e=>e.default||e))},Q6=Bn({name:"nuxt:prefetch",setup(e){const t=Mr();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof aa[r]=="function"&&await aa[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Gi(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=$O(r.meta.middleware);
6i=i.filter(s=>typeof s=="string");for(const s of i)typeof nb[s]=="function"&&nb[s]();typeof o=="string"&&o in aa&&Fq(aa[o])})}}),mb=new Set,Ir=new WeakMap,Al=new WeakMap,Is=new WeakMap,ud=new WeakMap,pg=new WeakMap,vb=new WeakMap,pl=new WeakMap,Zu=new WeakMap,au=new WeakSet;let Ca,_1=0,b1=0;const bs="__aa_tgt",cd="__aa_del",qh="__aa_new",TP=e=>{const t=n4(e);t&&t.forEach(n=>r4(n))},Z6=e=>{e.forEach(t=>{t.target===Ca&&e4(),Ir.has(t.target)&&Ul(t.target)})};function J6(e){const t=ud.get(e);t?.disconnect();let n=Ir.get(e),r=0;const o=5;n||(n=Ju(e),Ir.set(e,n));const{offsetWidth:i,offsetHeight:s}=Ca,l=[n.top-o,i-(n.left+o+n.width),s-(n.top+o+n.height),n.left-o].map(c=>`${-1*Math.floor(c)}px`).join(" "),u=new IntersectionObserver(()=>{++r>1&&Ul(e)},{root:Ca,threshold:1,rootMargin:l});u.observe(e),ud.set(e,u)}function Ul(e){clearTimeout(Zu.get(e));const t=sv(e),n=fd(t)?500:t.duration;Zu.set(e,setTimeout(async()=>{const r=Is.get(e);try{await r?.finished,Ir.set(e,Ju(e)),J6(e)}catch{}},n))}function e4(){clearTimeout(Zu.get(Ca)),Zu.set(Ca,setTimeout(()=>{mb.forEach(e=>gb(e,t=>AP(()=>Ul(t))))},100))}function t4(e){setTimeout(()=>{vb.set(e,setInterval(()=>AP(Ul.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function AP(e){typeof requestIdleCallback=="function"?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let as;const OP=typeof window<"u"&&"ResizeObserver"in window;OP&&(Ca=document.documentElement,new MutationObserver(TP),as=new ResizeObserver(Z6),window.addEventListener("scroll",()=>{b1=window.scrollY,_1=window.scrollX}),as.observe(Ca));function n4(e){return e.reduce((r,o)=>[...r,...Array.from(o.addedNodes),...Array.from(o.removedNodes)],[]).every(r=>r.nodeName==="#comment")?!1:e.reduce((r,o)=>{if(r===!1)return!1;if(o.target instanceof Element){if(hg(o.target),!r.has(o.target)){r.add(o.target);for(let i=0;i<o.target.children.length;i++){const s=o.target.children.item(i);if(s){if(cd in s)return!1;hg(o.target,s),r.add(s)}}}if(o.removedNodes.length)for(let i=0;i<o.removedNodes.length;i++){const s=o.removedNodes[i];if(cd in s)return!1;s instanceof Element&&(r.add(s),hg(o.target,s),Al.set(s,[o.previousSibling,o.nextSibling]))}}return r},new Set)}function hg(e,t){!t&&!(bs in e)?Object.defineProperty(e,bs,{value:e}):t&&!(bs in t)&&Object.defineProperty(t,bs,{value:e})}function r4(e){var t;const n=e.isConnected,r=Ir.has(e);n&&Al.has(e)&&Al.delete(e),Is.has(e)&&((t=Is.get(e))===null||t===void 0||t.cancel()),qh in e?QE(e):r&&n?i4(e):r&&!n?s4(e):QE(e)}function Ci(e){return Number(e.replace(/[^0-9.\-]/g,""))}function o4(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}function Ju(e){const t=e.getBoundingClientRect(),{x:n,y:r}=o4(e);return{top:t.top+r,left:t.left+n,width:t.width,height:t.height}}function PP(e,t,n){let r=t.width,o=t.height,i=n.width,s=n.height;const a=getComputedStyle(e);if(a.getPropertyValue("box-sizing")==="content-box"){const u=Ci(a.paddingTop)+Ci(a.paddingBottom)+Ci(a.borderTopWidth)+Ci(a.borderBottomWidth),c=Ci(a.paddingLeft)+Ci(a.paddingRight)+Ci(a.borderRightWidth)+Ci(a.borderLeftWidth);r-=c,i-=c,o-=u,s-=u}return[r,i,o,s].map(Math.round)}function sv(e){return bs in e&&pl.has(e[bs])?pl.get(e[bs]):{duration:250,easing:"ease-in-out"}}function RP(e){if(bs in e)return e[bs]}function w1(e){const t=RP(e);return t?au.has(t):!1}function gb(e,...t){t.forEach(n=>n(e,pl.has(e)));for(let n=0;n<e.children.length;n++){const r=e.children.item(n);r&&t.forEach(o=>o(r,pl.has(r)))}}function k1(e){return Array.isArray(e)?e:[e]}function fd(e){return typeof e=="function"}function i4(e){const t=Ir.get(e),n=Ju(e);if(!w1(e))return Ir.set(e,n);let r;if(!t)return;const o=sv(e);if(typeof o!="function"){const i=t.left-n.left,s=t.top-n.top,[a,l,u,c]=PP(e,t,n),f={transform:`translate(${i}px, ${s}px)`},p={transform:"translate(0, 0)"};a!==l&&(f.width=`${a}px`,p.width=`${l}px`),u!==c&&(f.height=`${u}px`,p.height=`${c}px`),r=e.animate([f,p],{duration:o.duration,easing:o.easing})}else{const[i]=k1(o(e,"remain",t,n));r=new Animation(i),r.play()}Is.set(e,r),Ir.set(e,n),r.addEventListener("finish",()=>Ul(e),{once:!0})}function QE(e){qh in e&&delete e[qh];const t=Ju(e);Ir.set(e,t);const n=sv(e);if(!w1(e))return;let r;if(typeof n!="function")r=e.animate([{transform:"scale(.98)",opacity:0}
6,{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:n.duration*1.5,easing:"ease-in"});else{const[o]=k1(n(e,"add",t));r=new Animation(o),r.play()}Is.set(e,r),r.addEventListener("finish",()=>Ul(e),{once:!0})}function ZE(e,t){var n;e.remove(),Ir.delete(e),Al.delete(e),Is.delete(e),(n=ud.get(e))===null||n===void 0||n.disconnect(),setTimeout(()=>{if(cd in e&&delete e[cd],Object.defineProperty(e,qh,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(const r in t)e.style[r]=""},0)}function s4(e){var t;if(!Al.has(e)||!Ir.has(e))return;const[n,r]=Al.get(e);Object.defineProperty(e,cd,{value:!0,configurable:!0});const o=window.scrollX,i=window.scrollY;if(r&&r.parentNode&&r.parentNode instanceof Element?r.parentNode.insertBefore(e,r):n&&n.parentNode?n.parentNode.appendChild(e):(t=RP(e))===null||t===void 0||t.appendChild(e),!w1(e))return ZE(e);const[s,a,l,u]=l4(e),c=sv(e),f=Ir.get(e);(o!==_1||i!==b1)&&a4(e,o,i,c);let p,d={position:"absolute",top:`${s}px`,left:`${a}px`,width:`${l}px`,height:`${u}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!fd(c))Object.assign(e.style,d),p=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}
6],{duration:c.duration,easing:"ease-out"});else{const[h,v]=k1(c(e,"remove",f));v?.styleReset!==!1&&(d=v?.styleReset||d,Object.assign(e.style,d)),p=new Animation(h),p.play()}Is.set(e,p),p.addEventListener("finish",()=>ZE(e,d),{once:!0})}function a4(e,t,n,r){const o=_1-t,i=b1-n,s=document.documentElement.style.scrollBehavior;if(getComputedStyle(Ca).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+o,window.scrollY+i),!e.parentElement)return;const l=e.parentElement;let u=l.clientHeight,c=l.clientWidth;const f=performance.now();function p(){requestAnimationFrame(()=>{if(!fd(r)){const d=u-l.clientHeight,h=c-l.clientWidth;f+r.duration>performance.now()?(window.scrollTo({left:window.scrollX-h,top:window.scrollY-d}),u=l.clientHeight,c=l.clientWidth,p()):document.documentElement.style.scrollBehavior=s}})}p()}function l4(e){const t=Ir.get(e),[n,,r]=PP(e,t,Ju(e));let o=e.parentElement;for(;o&&(getComputedStyle(o).position==="static"||o instanceof HTMLBodyElement);)o=o.parentElement;o||(o=document.body);const i=getComputedStyle(o),s=Ir.get(o)||Ju(o),a=Math.round(t.top-s.top)-Ci(i.borderTopWidth),l=Math.round(t.left-s.left)-Ci(i.borderLeftWidth);return[a,l,n,r]}function u4(e,t={}){if(OP&&as&&!(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!fd(t)&&!t.disrespectUserMotionPreference)){au.add(e),getComputedStyle(e).position==="static"&&Object.assign(e.style,{position:"relative"}),gb(e,Ul,t4,s=>
6as?.observe(s)),fd(t)?pl.set(e,t):pl.set(e,{duration:250,easing:"ease-in-out",...t});const i=new MutationObserver(TP);i.observe(e,{childList:!0}),pg.set(e,i),mb.add(e)}return Object.freeze({parent:e,enable:()=>{au.add(e)},disable:()=>{au.delete(e)},isEnabled:()=>au.has(e),destroy:()=>{au.delete(e),mb.delete(e),pl.delete(e);const r=pg.get(e);r?.disconnect(),pg.delete(e),gb(e,o=>{as?.unobserve(o);const i=Is.get(o);try{i?.cancel()}catch{}Is.delete(o);const s=ud.get(o);s?.disconnect(),ud.delete(o);const a=vb.get(o);a&&clearInterval(a),vb.delete(o);const l=Zu.get(o);l&&clearTimeout(l),Zu.delete(o),Ir.delete(o),Al.delete(o)})}})}const c4={mounted:(e,t)=>{const n=u4(e,t.value||{});Object.defineProperty(e,"__aa_ctl",{value:n,configurable:!0})},unmounted:e=>{var t;const n=e.__aa_ctl;(t=n?.destroy)===null||t===void 0||t.call(n);try{delete e.__aa_ctl}catch{}},getSSRProps:()=>({})},f4=c4,d4=Bn(e=>{e.vueApp.directive("auto-animate",f4)});var ws,hl,E1,av,nf,rh,Vh,Pf,ni="transform",yb=ni+"Origin",IP,$P=function(t){var n=t.ownerDocument||t;for(!(ni in t.style)&&("msTransform"in t.style)&&(ni="msTransform",yb=ni+"Origin");n.parentNode&&(n=n.parentNode););if(hl=window,Vh=new Ol,n){ws=n,E1=n.documentElement,av=n.body,Pf=ws.createElementNS("http://www.w3.org/2000/svg","g"),Pf.style.transform="none";var r=n.createElement("div"),o=n.createElement("div"),i=n&&(n.body||n.firstElementChild);i&&i.appendChild&&(i.appendChild(r),r.appendChild(o),r.style.position="static",r.style.transform="translate3d(0,0,1px)",IP=o.offsetParent!==r,i.removeChild(r))}return n},p4=function(t){for(var n,r;t&&t!==av;)r=t._gsap,r&&r.uncache&&r.get(t,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),n?n.push(r):n=[r]),t=t.parentNode;return n},MP=[],FP=[],h4=function(){return hl.pageYOffset||ws.scrollTop||E1.scrollTop||av.scrollTop||0},m4=function(){return hl.pageXOffset||ws.scrollLeft||E1.scrollLeft||av.scrollLeft||0},S1=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},v4=function e(t){if(hl.getComputedStyle(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return e(t)},mg=function e(t,n){if(t.parentNode&&(ws||$P(t))){var r=S1(t),o=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i=r?n?"rect":"g":"div",s=n!==2?0:100,a=n===3?100:0,l={position:"absolute",display:"block",pointerEvents:"none",margin:"0",padding:"0"},u=ws.createElementNS?ws.createElementNS(o.replace(/^https/,"http"),i):ws.createElement(i);return n&&(r?(rh||(rh=e(t)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+s+","+a+")"),u.setAttribute("fill","transparent"),rh.appendChild(u)):(nf||(nf=e(t),Object.assign(nf.style,l)),Object.assign(u.style,l,{width:"0.1px",height:"0.1px",top:a+"px",left:s+"px"}),nf.appendChild(u))),u}throw"Need document and parent."},g4=function(t){for(var n=new Ol,r=0;r<t.numberOfItems;
6r++)n.multiply(t.getItem(r).matrix);return n},y4=function(t){var n=t.getCTM(),r;return n||(r=t.style[ni],t.style[ni]="none",t.appendChild(Pf),n=Pf.getCTM(),t.removeChild(Pf),r?t.style[ni]=r:t.style.removeProperty(ni.replace(/([A-Z])/g,"-$1").toLowerCase())),n||Vh.clone()},_4=function(t,n){var r=S1(t),o=t===r,i=r?MP:FP,s=t.parentNode,a=s&&!r&&s.shadowRoot&&s.shadowRoot.appendChild?s.shadowRoot:s,l,u,c,f,p,d;if(t===hl)return t;if(i.length||i.push(mg(t,1),mg(t,2),mg(t,3)),l=r?rh:nf,r)o?(c=y4(t),f=-c.e/c.a,p=-c.f/c.d,u=Vh):t.getBBox?(c=t.getBBox(),u=t.transform?t.transform.baseVal:{},u=u.numberOfItems?u.numberOfItems>1?g4(u):u.getItem(0).matrix:Vh,f=u.a*c.x+u.c*c.y,p=u.b*c.x+u.d*c.y):(u=new Ol,f=p=0),(o||!t.getBoundingClientRect().width?r:s).appendChild(l),l.setAttribute("transform","matrix("+u.a+","+u.b+","+u.c+","+u.d+","+(u.e+f)+","+(u.f+p)+")");else{if(f=p=0,IP)for(u=t.offsetParent,c=t;c&&(c=c.parentNode)&&c!==u&&c.parentNode;)(hl.getComputedStyle(c)[ni]+"").length>4&&(f=c.offsetLeft,p=c.offsetTop,c=0);if(d=hl.getComputedStyle(t),d.position!=="absolute"&&d.position!=="fixed")for(u=t.offsetParent;s&&s!==u;)f+=s.scrollLeft||0,p+=s.scrollTop||0,s=s.parentNode;c=l.style,c.top=t.offsetTop-p+"px",c.left=t.offsetLeft-f+"px",c[ni]=d[ni],c[yb]=d[yb],c.position=d.position==="fixed"?"fixed":"absolute",a.appendChild(l)}return l},vg=function(t,n,r,o,i,s,a){return t.a=n,t.b=r,t.c=o,t.d=i,t.e=s,t.f=a,t},Ol=(function(){function e(n,r,o,i,s,a){n===void 0&&(n=1),r===void 0&&(r=0),o===void 0&&(o=0),i===void 0&&(i=1),s===void 0&&(s=0),a===void 0&&(a=0),vg(this,n,r,o,i,s,a)}var t=e.prototype;return t.inverse=function(){var r=this.a,o=this.b,i=this.c,s=this.d,a=this.e,l=this.f,u=r*s-o*i||1e-10;return vg(this,s/u,-o/u,-i/u,r/u,(i*l-s*a)/u,-(r*l-o*a)/u)},t.multiply=function(r){var o=this.a,i=this.b,s=this.c,a=this.d,l=this.e,u=this.f,c=r.a,f=r.c,p=r.b,d=r.d,h=r.e,v=r.f;
6return vg(this,c*o+p*s,c*i+p*a,f*o+d*s,f*i+d*a,l+h*o+v*s,u+h*i+v*a)},t.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(r){var o=this.a,i=this.b,s=this.c,a=this.d,l=this.e,u=this.f;return o===r.a&&i===r.b&&s===r.c&&a===r.d&&l===r.e&&u===r.f},t.apply=function(r,o){o===void 0&&(o={});var i=r.x,s=r.y,a=this.a,l=this.b,u=this.c,c=this.d,f=this.e,p=this.f;return o.x=i*a+s*u+f||0,o.y=i*l+s*c+p||0,o},e})();function il(e,t,n,r){if(!e||!e.parentNode||(ws||$P(e)).documentElement===e)return new Ol;var o=p4(e),i=S1(e),s=i?MP:FP,a=_4(e),l=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=a.parentNode,p=v4(e),d=new Ol((u.left-l.left)/100,(u.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(p?0:m4()),l.top+(p?0:h4()));if(f.removeChild(a),o)for(l=o.length;l--;)u=o[l],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return t?d.inverse():d}function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b4(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Lt,an,ho,ai,ks,gg,cs,_b,rf,la,LP,bb,dd,C1,of,io,sf,oh,NP,wb,Uh=0,BP=function(){return typeof window<"u"},jP=function(){return Lt||BP()&&(Lt=window.gsap)&&Lt.registerPlugin&&Lt},ia=function(t){return typeof t=="function"},Rf=function(t){return typeof t=="object"},Zo=function(t){return typeof t>"u"},ih=function(){return!1},If="transform",kb="transformOrigin",br=function(t){return Math.round(t*1e4)/1e4},Uc=Array.isArray,_p=function(t,n){var r=ho.createElementNS?ho.createElementNS("http://www.w3.org/1999/xhtml".replace(/^https/,"http"),t):ho.createElement(t);return r.style?r:ho.createElement(t)},eS=180/Math.PI,Ka=1e20,w4=new Ol,Gs=Date.now||function(){return new Date().getTime()},ml=[],Tu={},k4=0,E4=/^(?:a|input|textarea|button|select)$/i,tS=0,Yl={},ns={},qP=function(t,n){var r={},o;for(o in t)r[o]=n?t[o]*n:t[o];return r},S4=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},nS=function e(t,n){for(var r=t.length,o;r--;)n?t[r].style.touchAction=n:t[r].style.removeProperty("touch-action"),o=t[r].children,o&&o.length&&e(o,n)},VP=function(){return ml.forEach(function(t){return t()})},C4=function(t){ml.push(t),ml.length===1&&Lt.ticker.add(VP)},rS=function(){return!ml.length&&Lt.ticker.remove(VP)},oS=function(t){for(var n=ml.length;n--;)ml[n]===t&&ml.splice(n,1);Lt.to(rS,{overwrite:!0,delay:15,duration:0,onComplete:rS,data:"_draggable"})},D4=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},Wn=function(t,n,r,o){if(t.addEventListener){var i=dd[n];o=o||(LP?{passive:!1}:null),t.addEventListener(i||n,r,o),i&&n!==i&&t.addEventListener(n,r,o)}},In=function(t,n,r,o){if(t.removeEventListener){var i=dd[n];t.removeEventListener(i||n,r,o),i&&n!==i&&t.removeEventListener(n,r,o)}},xo=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},x4=function(t,n){for(var r=t.length;r--;)if(t[r].identifier===n)return!0},T4=function e(t){C1=t.touches&&Uh<t.touches.length,In(t.target,"touchend",e)},iS=function(t){C1=t.touches&&Uh<t.touches.length,Wn(t.target,"touchend",T4)},Au=function(t){return an.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},Ou=function(t){return an.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},sS=function e(t,n){Wn(t,"scroll",n),ec(t.parentNode)||e(t.parentNode,n)},aS=function e(t,n){In(t,"scroll",n),ec(t.parentNode)||e(t.parentNode,n)},ec=function(t){return!t||t===ai||t.nodeType===9||t===ho.body||t===an||!t.nodeType||!t.parentNode},lS=function(t,n){var r=n==="x"?"Width":"Height",o="scroll"+r,i="client"+r;return Math.max(0,ec(t)?Math.max(ai[o],ks[o])-(an["inner"+r]||ai[i]||ks[i]):t[o]-t[i])},yg=function e(t,n){var r=lS(t,"x"),o=lS(t,"y");ec(t)?t=ns:e(t.parentNode,n),t._gsMaxScrollX=r,t._gsMaxScrollY=o,n||(t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0)},_g=function(t,n,r){var o=t.style;o&&(Zo(o[n])&&(n=rf(n,t)||n),r==null?o.removeProperty&&o.removeProperty(n.replace(/([A-Z])/g,"-$1").toLowerCase()):o[n]=r)},pd=function(t){return an.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},Ga={},Xl=function(t){if(t===an)return Ga.left=Ga.top=0,Ga.width=Ga.right=ai.clientWidth||t.innerWidth||ks.clientWidth||0,Ga.height=Ga.bottom=(t.innerHe
6ight||0)-20<ai.clientHeight?ai.clientHeight:t.innerHeight||ks.clientHeight||0,Ga;var n=t.ownerDocument||ho,r=Zo(t.pageX)?!t.nodeType&&!Zo(t.left)&&!Zo(t.top)?t:la(t)[0].getBoundingClientRect():{left:t.pageX-Ou(n),top:t.pageY-Au(n),right:t.pageX-Ou(n)+1,bottom:t.pageY-Au(n)+1};return Zo(r.right)&&!Zo(r.width)?(r.right=r.left+r.width,r.bottom=r.top+r.height):Zo(r.width)&&(r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}),r},xn=function(t,n,r){var o=t.vars,i=o[r],s=t._listeners[n],a;return ia(i)&&(a=i.apply(o.callbackScope||t,o[r+"Params"]||[t.pointerEvent])),s&&t.dispatchEvent(n)===!1&&(a=!1),a},uS=function(t,n){var r=la(t)[0],o,i,s;return!r.nodeType&&r!==an?Zo(t.left)?(i=t.min||t.minX||t.minRotation||0,o=t.min||t.minY||0,{left:i,top:o,width:(t.max||t.maxX||t.maxRotation||0)-i,height:(t.max||t.maxY||0)-o}):(s={x:0,y:0},{left:t.left-s.x,top:t.top-s.y,width:t.width,height:t.height}):A4(r,n)},To={},A4=function(t,n){n=la(n)[0];var r=t.getBBox&&t.ownerSVGElement,o=t.ownerDocument||ho,i,s,a,l,u,c,f,p,d,h,v,g,b;if(t===an)a=Au(o),i=Ou(o),s=i+(o.documentElement.clientWidth||t.innerWidth||o.body.clientWidth||0),l=a+((t.innerHeight||0)-20<o.documentElement.clientHeight?o.documentElement.clientHeight:t.innerHeight||o.body.clientHeight||0);else{if(n===an||Zo(n))return t.getBoundingClientRect();i=a=0,r?(h=t.getBBox(),v=h.width,g=h.height):(t.viewBox&&(h=t.viewBox.baseVal)&&(i=h.x||0,a=h.y||0,v=h.width,g=h.height),v||(b=pd(t),h=b.boxSizing==="border-box",v=(parseFloat(b.width)||t.clientWidth||0)+(h?0:parseFloat(b.borderLeftWidth)+parseFloat(b.borderRightWidth)),g=(parseFloat(b.height)||t.clientHeight||0)+(h?0:parseFloat(b.borderTopWidth)+parseFloat(b.borderBottomWidth)))),s=v,l=g}return t===n?{left:i,top:a,width:s-i,height:l-a}:(u=il(n,!0).multiply(il(t)),c=u.apply({x:i,y:a}),f=u.apply({x:s,y:a}),p=u.apply({x:s,y:l}),d=u.apply({x:i,y:l}),i=Math.min(c.x,f.x,p.x,d.x),a=Math.min(c.y,f.y,p.y,d.y),{left:i,top:a,width:Math.max(c.x,f.x,p.x,d.x)-i,height:Math.max(c.y,f.y,p.y,d.y)-a})},bg=function(t,n,r,o,i,s){var a={},l,u,c;if(n)if(i!==1&&n instanceof Array){if(a.end=l=[],c=n.length,Rf(n[0]))for(u=0;u<c;u++)l[u]=qP(n[u],i);else for(u=0;u<c;u++)l[u]=n[u]*i;r+=1.1,o-=1.1}else ia(n)?a.end=function(f){var p=n.call(t,f),d,h;if(i!==1)if(Rf(p)){d={};for(h in p)d[h]=p[h]*i;p=d}else p*=i;return p}:a.end=n;return(r||r===0)&&(a.max=r),(o||o===0)&&(a.min=o),s&&(a.velocity=0),a},O4=function e(t){var n;return!t||!t.getAttribute||t===ks?!1:(n=t.getAttribute("data-clickable"))==="true"||n!=="false"&&(E4.test(t.nodeName+"")||t.getAttribute("contentEditable")==="true")?!0:e(t.parentNode)},bp=function(t,n){for(var r=t.length,o;r--;)o=t[r],o.ondragstart=o.onselectstart=n?null:ih,Lt.set(o,{lazy:!0,userSelect:n?"text":"none"})},P4=function e(t){if(pd(t).position==="fixed")return!0;if(t=t.parentNode,t&&t.nodeType===1)return e(t)},UP,Eb,R4=function(t,n){t=Lt.utils.toArray(t)[0],n=n||{};var r=document.createElement("div"),o=r.style,i=t.firstChild,s=0,a=0,l=t.scrollTop,u=t.scrollLeft,c=t.scrollWidth,f=t.scrollHeight,p=0,d=0,h=0,v,g,b,y,w,_;UP&&n.force3D!==!1?(w="translate3d(",_="px,0px)"):If&&(w="translate(",_="px)"),this.scrollTop=function(k,C){if(!arguments.length)return-this.top();this.top(-k,C)},this.scrollLeft=function(k,C){if(!arguments.length)return-this.left();this.left(-k,C)},this.left=function(k,C){if(!arguments.length)return-(t.scrollLeft+a);var E=t.scrollLeft-u,D=a;if((E>2||E<-2)&&!C){u=t.scrollLeft,Lt.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-u),n.onKill&&n.onKill();return}k=-k,k<0?(a=k-.5|0,k=0):k>d?(a=k-d|0,k=d):a=0,(a||D)&&(this._skip||(o[If]=w+-a+"px,"+-s+_),a+p>=0&&(o.paddingRight=a+p+"px")),t.scrollLeft=k|0,u=t.scrollLeft},this.top=function(k,C){if(!arguments.length)return-(t.scrollTop+s);var E=t.scrollTop-l,D=s;if((E>2||E<-2)&&!C){l=t.scrollTop,Lt.killTweensOf(this,{top:1,scrollTop:1}),this.top(-l),n.onKill&&n.onKill();return}k=-k,k<0?(s=k-.5|0,k=0):k>h?(s=k-h|0,k=h):s=0,(s||D)&&(this._skip||(o[If]=w+-a+"px,"+-s+_)),t.scrollTop=k|0,l=t.scrollTop},this.maxScrollTop=function(){return h},this.maxScrollLeft=function(){return d},this.disable=function(){for(i=r.firstChild;i;)y=i.nextSibling,t.appendChild(i),i=y;t===r.parentNode&&t.removeChild(r)},this.enable=function(){if(i=t.firstChild,i!==r){for(;i;)y=i.nextSibling,r.appendChild(i),i=y;t.appendChild(r),this.calibrate()}},this.calibrate=function(k){var C=t.clientWidth===v,E,D,T;l=t.scrollTop,u=t.scrollLeft,!(C&&t.clientHeight===g&&r.offsetHeight===b&&c===t.scrollWidth&&f===t.scrollHeight&&!k)&&((s||a)&&(D=this.left(),T=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),E=pd(t),(!C||k)&&(o.display="block",o.width="auto",o.paddingRight="0px",p=Math.max(0,t.scrollWidth-t.clientWidth),p&&(p+=parseFloat(E.paddingLeft)+(Eb?parseFloat(E.paddingRight):0))),o.display="inline-block",o.position="relative",o.overflow="visible",o.verticalAlign="top",o.boxSizing="content-box",o.width="100%",o.paddingRight=p+"px",Eb&&(o.paddingBottom=E.paddingBottom),v=t.clientWidth,g=t.clientHeight,c=t.scrollWidth,f=t.scrollHeight,d=t.scrollWidth-v,h=t.scrollHeight-g,b=r.offsetHeight,o.display="block",(D||T)&&(this.left(D),this.top(T)))},this.content=r,this.element=t,this._skip=!1,this.enable()},wg=function(t){if(BP()&&document.body){var n=window&&window.navigator;an=window,ho=document,ai=ho.documentElement,ks=ho.body,gg=_p("div"),oh=!!window.PointerEvent,cs=_p("div"),cs.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",sf=cs.style.cursor==="grab"?"grab":"move",of=n&&n.userAgent.toLowerCase().indexOf("android")!==-1,bb="ontouchstart"in ai&&"orientation"in an||n&&(n.MaxTouchPoints>
60||n.msMaxTouchPoints>0),Eb=(function(){var r=_p("div"),o=_p("div"),i=o.style,s=ks,a;return i.display="inline-block",i.position="relative",r.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",r.appendChild(o),s.appendChild(r),a=o.offsetHeight+18>r.scrollHeight,s.removeChild(r),a})(),dd=(function(r){for(var o=r.split(","),i=("onpointerdown"in gg?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown"in gg?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":r).split(","),s={},a=4;--a>-1;)s[o[a]]=i[a],s[i[a]]=o[a];try{ai.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){LP=1}}))}catch{}return s})("touchstart,touchmove,touchend,touchcancel"),Wn(ho,"touchcancel",ih),Wn(an,"touchmove",ih),ks&&ks.addEventListener("touchstart",ih),Wn(ho,"contextmenu",function(){for(var r in Tu)Tu[r].isPressed&&Tu[r].endDrag()}),Lt=_b=jP()}Lt?(io=Lt.plugins.inertia,NP=Lt.core.context||function(){},rf=Lt.utils.checkPrefix,If=rf(If),kb=rf(kb),la=Lt.utils.toArray,wb=Lt.core.getStyleSaver,UP=!!rf("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},I4=(function(){function e(n){this._listeners={},this.target=n||this}var t=e.prototype;return t.addEventListener=function(r,o){var i=this._listeners[r]||(this._listeners[r]=[]);~i.indexOf(o)||i.push(o)},t.removeEventListener=function(r,o){var i=this._listeners[r],s=i&&i.indexOf(o);s>=0&&i.splice(s,1)},t.dispatchEvent=function(r){var o=this,i;return(this._listeners[r]||[]).forEach(function(s){return s.call(o,{type:r,target:o.target})===!1&&(i=!1)}),i},e})(),Ec=(function(e){b4(t,e);function t(n,r){var o;o=e.call(this)||this,_b||wg(1),n=la(n)[0],o.styles=wb&&wb(n,"transform,left,top"),io||(io=Lt.plugins.inertia),o.vars=r=qP(r||{}),o.target=n,o.x=o.y=o.rotation=0,o.dragResistance=parseFloat(r.dragResistance)||0,o.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,o.lockAxis=r.lockAxis,o.autoScroll=r.autoScroll||0,o.lockedAxis=null,o.allowEventDefault=!!r.allowEventDefault,Lt.getProperty(n,"x");var i=(r.type||"x,y").toLowerCase(),s=~i.indexOf("x")||~i.indexOf("y"),a=i.indexOf("rotation")!==-1,l=a?"rotation":s?"x":"left",u=s?"y":"top",c=!!(~i.indexOf("x")||~i.indexOf("left")||i==="scroll"),f=!!(~i.indexOf("y")||~i.indexOf("top")||i==="scroll"),p=r.minimumMovement||2,d=JE(o),h=la(r.trigger||r.handle||n),v={},g=0,b=!1,y=r.autoScrollMarginTop||40,w=r.autoScrollMarginRight||40,_=r.autoScrollMarginBottom||40,k=r.autoScrollMarginLeft||40,C=r.clickableTest||O4,E=0,D=n._gsap||Lt.core.getCache(n),T=P4(n),x=function(te,Se){return parseFloat(D.get(n,te,Se))},O=n.ownerDocument||ho,A,V,re,pe,G,K,z,be,X,Fe,Ve,tt,Be,ut,ke,F,le,se,he,Ee,Oe,M,B,Q,ve,q,$,j,ee,ae,de,xe,Z,ue=function(te){return xo(te),te.stopImmediatePropagation&&te.stopImmediatePropagation(),!1},Re=function Ue(te){if(d.autoScroll&&d.isDragging&&(b||le)){var Se=n,oe=d.autoScroll*15,me,Pe,ye,je,Ae,We,ot,Ge;for(b=!1,ns.scrollTop=an.pageYOffset!=null?an.pageYOffset:O.documentElement.scrollTop!=null?O.documentElement.scrollTop:O.body.scrollTop,ns.scrollLeft=an.pageXOffset!=null?an.pageXOffset:O.documentElement.scrollLeft!=null?O.documentElement.scrollLeft:O.body.scrollLeft,je=d.pointerX-ns.scrollLeft,Ae=d.pointerY-ns.scrollTop;Se&&!Pe;)Pe=ec(Se.parentNode),me=Pe?ns:Se.parentNode,ye=Pe?{bottom:Math.max(ai.clientHeight,an.innerHeight||0),right:Math.max(ai.clientWidth,an.innerWidth||0),left:0,top:0}:me.getBoundingClientRect(),We=ot=0,f&&(Ge=me._gsMaxScrollY-me.scrollTop,Ge<0?ot=Ge:Ae>ye.bottom-_&&Ge?(b=!0,ot=Math.min(Ge,oe*(1-Math.max(0,ye.bottom-Ae)/_)|0)):Ae<ye.top+y&&me.scrollTop&&(b=!0,ot=-Math.min(me.scrollTop,oe*(1-Math.max(0,Ae-ye.top)/y)|0)),ot&&(me.scrollTop+=ot)),c&&(Ge=me._gsMaxScrollX-me.scrollLeft,Ge<0?We=Ge:je>ye.right-w&&Ge?(b=!0,We=Math.min(Ge,oe*(1-Math.max(0,ye.right-je)/w)|0)):je<ye.left+k&&me.scrollLeft&&(b=!0,We=-Math.min(me.scrollLeft,oe*(1-Math.max(0,je-ye.left)/k)|0)),We&&(me.scrollLeft+=We)),Pe&&(We||ot)&&(an.scrollTo(me.scrollLeft,me.scrollTop),Ke(d.pointerX+We,d.pointerY+ot)),Se=me}if(le){var mt=d.x,It=d.y;a?(d.deltaX=mt-parseFloat(D.rotation),d.rotation=mt,D.rotation=mt+"deg",D.renderTransform(1,D)):V?(f&&(d.deltaY=It-V.top(),V.top(It)),c&&(d.deltaX=mt-V.left(),V.left(mt))):s?(f&&(d.deltaY=It-parseFloat(D.y),D.y=It+"px"),c&&(d.deltaX=mt-parseFloat(D.x),D.x=mt+"px"),D.renderTransform(1,D)):(f&&(d.deltaY=It-parseFloat(n.style.top||0),n.style.top=It+"px"),c&&(d.deltaX=mt-parseFloat(n.style.left||0),n.style.left=mt+"px")),be&&!te&&!j&&(j=!0,xn(d,"drag","onDrag")===!1&&(c&&(d.x-=d.deltaX),f&&(d.y-=d.deltaY),Ue(!0)),j=!1)}le=!1},Ne=function(te,Se){var oe=d.x,me=d.y,Pe,ye;n._gsap||(D=Lt.core.getCache(n)),D.uncache&&Lt.getProperty(n,"x"),s?(d.x=parseFloat(D.x),d.y=parseFloat(D.y)):a?d.x=d.rotation=br(parseFloat(D.rotation)):V?(d.y=V.top(),d.x=V.left()):(d.y=parseFloat(n.style.top||(ye=pd(n))&&ye.top)||0,d.x=parseFloat(n.style.left||(ye||{}).left)||0),(he||Ee||Oe)&&!Se&&(d.isDragging||d.isThrowing)&&(Oe&&(Yl.x=d.x,Yl.y=d.y,Pe=Oe(Yl),Pe.x!==d.x&&(d.x=Pe.x,le=!0),Pe.y!==d.y&&(d.y=Pe.y,le=!0)),he&&(Pe=he(d.x),Pe!==d.x&&(d.x=Pe,a&&(d.rotation=Pe),le=!0)),Ee&&(Pe=Ee(d.y),Pe!==d.y&&(d.y=Pe),le=!0)),le&&Re(!0),te||(d.deltaX=d.x-oe,d.deltaY=d.y-me,xn(d,"throwupdate","onThrowUpdate"))},rt=function(te,Se,oe,me){return Se==null&&(Se=-Ka),oe==null&&(oe=Ka),ia(te)?function(Pe){var ye=d.isPressed?1-d.edgeResistance:1;return te.call(d,(Pe>oe?oe+(Pe-oe)*ye:Pe<Se?Se+(Pe-Se)*ye:Pe)*me)*me}:Uc(te)?function(Pe){for(var ye=te.length,je=0,Ae=Ka,We,ot;--ye>-1;)We=te[ye],ot=We-Pe,ot<0&&(ot=-ot),ot<Ae&&We>=Se&&We<=oe&&(je=ye,Ae=ot);return te[je]}:isNaN(te)?function(Pe){return Pe}:function(){return te*me}},st=function(te,Se,oe,me,Pe,ye,je){return ye=ye&&ye<Ka?ye*ye:Ka,ia(te)?function(Ae){var We=d.isPressed?1-d.edgeResistance:1,ot=Ae.x,Ge=Ae.y,mt,It,$t;return Ae.x=ot=ot>oe?oe+(ot-oe)*We:ot<Se?Se+(ot-Se)*We:ot,Ae.y=Ge=Ge>Pe?Pe+(Ge-Pe)*We:Ge<me?me+(Ge-me)*We:Ge,mt=te.call(d,Ae),mt!==Ae&&(Ae.x=mt.x,Ae.y=mt.y),je!==1&&(Ae.x*=je,Ae.y*=je),ye<Ka&&(It=Ae.x-ot,$t=Ae.y-Ge,It*It+$t*$t>ye&&(Ae.x=ot,Ae.y=Ge)),Ae}:Uc(te)?function(Ae){for(var We=te.length,ot=0,Ge=Ka,mt,It,$t,Et;--We>-1;)$t=te[We],mt=$t.x-Ae.x,It=$t.y-Ae.y,Et=mt*mt+It*It,Et<Ge&&(ot=We,Ge=Et);return Ge<=ye?te[ot]:Ae}:function(Ae){return Ae}},ft=function(){var te,Se,oe,me;z=!1,V?(V.calibrate(),d.minX=Ve=-V.maxScrollLeft(),d.minY=Be=-V.maxScrollTop(),d.maxX=Fe=d.maxY=tt=0,z=!0):r.boun
6ds&&(te=uS(r.bounds,n.parentNode),a?(d.minX=Ve=te.left,d.maxX=Fe=te.left+te.width,d.minY=Be=d.maxY=tt=0):!Zo(r.bounds.maxX)||!Zo(r.bounds.maxY)?(te=r.bounds,d.minX=Ve=te.minX,d.minY=Be=te.minY,d.maxX=Fe=te.maxX,d.maxY=tt=te.maxY):(Se=uS(n,n.parentNode),d.minX=Ve=Math.round(x(l,"px")+te.left-Se.left),d.minY=Be=Math.round(x(u,"px")+te.top-Se.top),d.maxX=Fe=Math.round(Ve+(te.width-Se.width)),d.maxY=tt=Math.round(Be+(te.height-Se.height))),Ve>Fe&&(d.minX=Fe,d.maxX=Fe=Ve,Ve=d.minX),Be>tt&&(d.minY=tt,d.maxY=tt=Be,Be=d.minY),a&&(d.minRotation=Ve,d.maxRotation=Fe),z=!0),r.liveSnap&&(oe=r.liveSnap===!0?r.snap||{}:r.liveSnap,me=Uc(oe)||ia(oe),a?(he=rt(me?oe:oe.rotation,Ve,Fe,1),Ee=null):oe.points?Oe=st(me?oe:oe.points,Ve,Fe,Be,tt,oe.radius,V?-1:1):(c&&(he=rt(me?oe:oe.x||oe.left||oe.scrollLeft,Ve,Fe,V?-1:1)),f&&(Ee=rt(me?oe:oe.y||oe.top||oe.scrollTop,Be,tt,V?-1:1))))},I=function(){d.isThrowing=!1,xn(d,"throwcomplete","onThrowComplete")},P=function(){d.isThrowing=!1},Y=function(te,Se){var oe,me,Pe,ye;te&&io?(te===!0&&(oe=r.snap||r.liveSnap||{},me=Uc(oe)||ia(oe),te={resistance:(r.throwResistance||r.resistance||1e3)/(a?10:1)},a?te.rotation=bg(d,me?oe:oe.rotation,Fe,Ve,1,Se):(c&&(te[l]=bg(d,me?oe:oe.points||oe.x||oe.left,Fe,Ve,V?-1:1,Se||d.lockedAxis==="x")),f&&(te[u]=bg(d,me?oe:oe.points||oe.y||oe.top,tt,Be,V?-1:1,Se||d.lockedAxis==="y")),(oe.points||Uc(oe)&&Rf(oe[0]))&&(te.linkedProps=l+","+u,te.radius=oe.radius))),d.isThrowing=!0,ye=isNaN(r.overshootTolerance)?r.edgeResistance===1?0:1-d.edgeResistance+.2:r.overshootTolerance,te.duration||(te.duration={max:Math.max(r.minDuration||0,"maxDuration"in r?r.maxDuration:2),min:isNaN(r.minDuration)?ye===0||Rf(te)&&te.resistance>1e3?0:.5:r.minDuration,overshoot:ye}),d.tween=Pe=Lt.to(V||n,{inertia:te,data:"_draggable",inherit:!1,onComplete:I,onInterrupt:P,onUpdate:r.fastMode?xn:Ne,onUpdateParams:r.fastMode?[d,"onthrowupdate","onThrowUpdate"]:oe&&oe.radius?[!1,!0]:[]}),r.fastMode||(V&&(V._skip=!0),Pe.render(1e9,!0,!0),Ne(!0,!0),d.endX=d.x,d.endY=d.y,a&&(d.endRotation=d.x),Pe.play(0),Ne(!0,!0),V&&(V._skip=!1))):z&&d.applyBounds()},fe=function(te){var Se=Q,oe;Q=il(n.parentNode,!0),te&&d.isPressed&&!Q.equals(Se||new Ol)&&(oe=Se.inverse().apply({x:re,y:pe}),Q.apply(oe,oe),re=oe.x,pe=oe.y),Q.equals(w4)&&(Q=null)},Ce=function(){var te=1-d.edgeResistance,Se=T?Ou(O):0,oe=T?Au(O):0,me,Pe,ye;s&&(D.x=x(l,"px")+"px",D.y=x(u,"px")+"px",D.renderTransform()),fe(!1),To.x=d.pointerX-Se,To.y=d.pointerY-oe,Q&&Q.apply(To,To),re=To.x,pe=To.y,le&&(Ke(d.pointerX,d.pointerY),Re(!0)),xe=il(n),V?(ft(),K=V.top(),G=V.left()):(H()?(Ne(!0,!0),ft()):d.applyBounds(),a?(me=n.ownerSVGElement?[D.xOrigin-n.getBBox().x,D.yOrigin-n.getBBox().y]:(pd(n)[kb]||"0 0").split(" "),F=d.rotationOrigin=il(n).apply({x:parseFloat(me[0])||0,y:parseFloat(me[1])||0}),Ne(!0,!0),Pe=d.pointerX-F.x-Se,ye=F.y-d.pointerY+oe,G=d.x,K=d.y=Math.atan2(ye,Pe)*eS):(K=x(u,"px"),G=x(l,"px"))),z&&te&&(G>Fe?G=Fe+(G-Fe)/te:G<Ve&&(G=Ve-(Ve-G)/te),a||(K>tt?K=tt+(K-tt)/te:K<Be&&(K=Be-(Be-K)/te))),d.startX=G=br(G),d.startY=K=br(K)},H=function(){return d.tween&&d.tween.isActive()},U=function(){cs.parentNode&&!H()&&!d.isDragging&&cs.parentNode.removeChild(cs)},Me=function(te,Se){var oe;if(!A||d.isPressed||!te||(te.type==="mousedown"||te.type==="pointerdown")&&!Se&&Gs()-E<30&&dd[d.pointerEvent.type]){de&&te&&A&&xo(te);return}if(ve=H(),Z=!1,d.pointerEvent=te,dd[te.type]?(B=~te.type.indexOf("touch")?te.currentTarget||te.target:O,Wn(B,"touchend",Te),Wn(B,"touchmove",De),Wn(B,"touchcancel",Te),Wn(O,"touchstart",iS)):(B=null,Wn(O,"mousemove",De)),$=null,(!oh||!B)&&(Wn(O,"mouseup",Te),te&&te.target&&Wn(te.target,"mouseup",Te)),M=C.call(d,te.target)&&r.dragClickables===!1&&!Se,M){Wn(te.target,"change",Te),xn(d,"pressInit","onPressInit"),xn(d,"press","onPress"),bp(h,!0),de=!1;return}if(q=!B||c===f||d.vars.allowNativeTouchScrolling===!1||d.vars.allowContextMenu&&te&&(te.ctrlKey||te.which>2)?!1:c?"y":"x",de=!q&&!d.allowEventDefault,de&&(xo(te),Wn(an,"touchforcechange",xo)),te.changedTouches?(te=ut=te.changedTouches[0],ke=te.identifier):te.pointerId?ke=te.pointerId:ut=ke=null,Uh++,C4(Re),pe=d.pointerY=te.pageY,re=d.pointerX=te.pageX,xn(d,"pressInit","onPressInit"),(q||d.autoScroll)&&yg(n.parentNode),n.parentNode&&d.autoScroll&&!V&&!a&&n.parentNode._gsMaxScrollX&&!cs.parentNode&&!n.getBBox&&(cs.style.width=n.parentNode.scrollWidth+"px",n.parentNode.appendChild(cs)),Ce(),d.tween&&d.tween.kill(),d.isThrowing=!1,Lt.killTweensOf(V||n,v,!0),V&&Lt.killTweensOf(n,{scrollTo:1},!0),d.tween=d.lockedAxis=null,(r.zIndexBoost||!a&&!V&&r.zIndexBoost!==!1)&&(n.style.zIndex=t.zIndex++),d.isPressed=!0,be=!!(r.onDrag||d._listeners.drag),X=!!(r.onMove||d._listeners.move),r.cursor!==!1||r.activeCursor)for(oe=h.length;--oe>-1;
6)Lt.set(h[oe],{cursor:r.activeCursor||r.cursor||(sf==="grab"?"grabbing":sf)});xn(d,"press","onPress"),io&&io.track(V||n,s?"x,y":a?"rotation":"top,left")},De=function(te){var Se=te,oe,me,Pe,ye,je,Ae;if(!A||C1||!d.isPressed||!te){de&&te&&A&&xo(te);return}if(d.pointerEvent=te,oe=te.changedTouches,oe){if(te=oe[0],te!==ut&&te.identifier!==ke){for(ye=oe.length;--ye>-1&&(te=oe[ye]).identifier!==ke&&te.target!==n;);if(ye<0)return}}else if(te.pointerId&&ke&&te.pointerId!==ke)return;if(B&&q&&!$&&(To.x=te.pageX-(T?Ou(O):0),To.y=te.pageY-(T?Au(O):0),Q&&Q.apply(To,To),me=To.x,Pe=To.y,je=Math.abs(me-re),Ae=Math.abs(Pe-pe),(je!==Ae&&(je>p||Ae>p)||of&&q===$)&&($=je>Ae&&c?"x":"y",q&&$!==q&&Wn(an,"touchforcechange",xo),d.vars.lockAxisOnTouchScroll!==!1&&c&&f&&(d.lockedAxis=$==="x"?"y":"x",ia(d.vars.onLockAxis)&&d.vars.onLockAxis.call(d,Se)),of&&q===$))){Te(Se);return}!d.allowEventDefault&&(!q||$&&q!==$)&&Se.cancelable!==!1?(xo(Se),de=!0):de&&(de=!1),d.autoScroll&&(b=!0),Ke(te.pageX,te.pageY,X)},Ke=function(te,Se,oe){var me=1-d.dragResistance,Pe=1-d.edgeResistance,ye=d.pointerX,je=d.pointerY,Ae=K,We=d.x,ot=d.y,Ge=d.endX,mt=d.endY,It=d.endRotation,$t=le,Et,St,Ht,vt,Dn,zt;d.pointerX=te,d.pointerY=Se,T&&(te-=Ou(O),Se-=Au(O)),a?(vt=br(Math.atan2(F.y-Se,te-F.x)*eS),Dn=d.y-vt,Dn>180?(K-=360,d.y=vt):Dn<-180&&(K+=360,d.y=vt),Q&&(zt=te*Q.a+Se*Q.c+Q.e,Se=te*Q.b+Se*Q.d+Q.f,te=zt),d.x!==G||Math.max(Math.abs(re-te),Math.abs(pe-Se))>p?(d.y=vt,Ht=br(G+(K-vt)*me)):Ht=G):(Q&&(zt=te*Q.a+Se*Q.c+Q.e,Se=te*Q.b+Se*Q.d+Q.f,te=zt),St=Se-pe,Et=te-re,St<p&&St>-p&&(St=0),Et<p&&Et>-p&&(Et=0),(d.lockAxis||d.lockedAxis)&&(Et||St)&&(zt=d.lockedAxis,zt||(d.lockedAxis=zt=c&&Math.abs(Et)>Math.abs(St)?"y":f?"x":null,zt&&ia(d.vars.onLockAxis)&&d.vars.onLockAxis.call(d,d.pointerEvent)),zt==="y"?St=0:zt==="x"&&(Et=0)),Ht=br(G+Et*me),vt=br(K+St*me)),(he||Ee||Oe)&&(d.x!==Ht||d.y!==vt&&!a)&&(Oe&&(Yl.x=Ht,Yl.y=vt,zt=Oe(Yl),Ht=br(zt.x),vt=br(zt.y)),he&&(Ht=br(he(Ht))),Ee&&(vt=br(Ee(vt)))),z&&(Ht>Fe?Ht=Fe+Math.round((Ht-Fe)*Pe):Ht<Ve&&(Ht=Ve+Math.round((Ht-Ve)*Pe)),a||(vt>tt?vt=Math.round(tt+(vt-tt)*Pe):vt<Be&&(vt=Math.round(Be+(vt-Be)*Pe)))),(d.x!==Ht||d.y!==vt&&!a)&&(a?(d.endRotation=d.x=d.endX=br(Ht),le=!0):(f&&(d.y=d.endY=vt,le=!0),c&&(d.x=d.endX=Ht,le=!0)),!oe||xn(d,"move","onMove")!==!1?!d.isDragging&&d.isPressed&&(d.isDragging=Z=!0,xn(d,"dragstart","onDragStart")):(d.pointerX=ye,d.pointerY=je,K=Ae,d.x=We,d.y=ot,d.endX=Ge,d.endY=mt,d.endRotation=It,le=$t))},Te=function Ue(te,Se){if(!A||!d.isPressed||te&&ke!=null&&!Se&&(te.pointerId&&te.pointerId!==ke&&te.target!==n||te.changedTouches&&!x4(te.changedTouches,ke))){de&&te&&A&&xo(te);return}d.isPressed=!1;var oe=te,me=d.isDragging,Pe=d.vars.allowContextMenu&&te&&(te.ctrlKey||te.which>2),ye=Lt.delayedCall(.001,U),je,Ae,We,ot,Ge;if(B?(In(B,"touchend",Ue),In(B,"touchmove",De),In(B,"touchcancel",Ue),In(O,"touchstart",iS)):In(O,"mousemove",De),In(an,"touchforcechange",xo),(!oh||!B)&&(In(O,"mouseup",Ue),te&&te.target&&In(te.target,"mouseup",Ue)),le=!1,me&&(g=tS=Gs(),d.isDragging=!1),oS(Re),M&&!Pe){te&&(In(te.target,"change",Ue),d.pointerEvent=oe),bp(h,!1),xn(d,"release","onRelease"),xn(d,"click","onClick"),M=!1;return}for(Ae=h.length;--Ae>-1;)_g(h[Ae],"cursor",r.cursor||(r.cursor!==!1?sf:null));if(Uh--,te){if(je=te.changedTouches,je&&(te=je[0],te!==ut&&te.identifier!==ke)){for(Ae=je.length;--Ae>-1&&(te=je[Ae]).identifier!==ke&&te.target!==n;);if(Ae<0&&!Se)return}d.pointerEvent=oe,d.pointerX=te.pageX,d.pointerY=te.pageY}return Pe&&oe?(xo(oe),de=!0,xn(d,"release","onRelease")):oe&&!me?(de=!1,ve&&(r.snap||r.bounds)&&Y(r.inertia||r.throwProps),xn(d,"release","onRelease"),(!of||oe.type!=="touchmove")&&oe.type.indexOf("cancel")===-1&&(xn(d,"click","onClick"),Gs()-E<300&&xn(d,"doubleclick","onDoubleClick"),ot=oe.target||n,E=Gs(),Ge=function(){E!==ee&&d.enabled()&&!d.isPressed&&!oe.defaultPrevented&&(ot.click?ot.click():O.createEvent&&(We=O.createEvent("MouseEvents"),We.initMouseEvent("click",!0,!0,an,1,d.pointerEvent.screenX,d.pointerEvent.screenY,d.pointerX,d.pointerY,!1,!1,!1,!1,0,null),ot.dispatchEvent(We)))},!of&&!oe.defaultPrevented&&Lt.delayedCall(.05,Ge))):(Y(r.inertia||r.throwProps),!d.allowEventDefault&&oe&&(r.dragClickables!==!1||!C.call(d,oe.target))&&me&&(!q||$&&q===$)&&oe.cancelable!==!1?(de=!0,xo(oe)):de=!1,xn(d,"release","onRelease")),H()&&ye.duration(d.tween.duration()),me&&xn(d,"dragend","onDragEnd"),!0},nt=function(te){if(te&&d.isDragging&&!V){var Se=te.target||n.parentNode,oe=Se.scrollLeft-Se._gsScrollX,me=Se.scrollTop-Se._gsScrollY;(oe||me)&&(Q?(re-=oe*Q.a+me*Q.c,pe-=me*Q.d+oe*Q.b):(re-=oe,pe-=me),Se._gsScrollX+=oe,Se._gsScrollY+=me,Ke(d.pointerX,d.pointerY))}},ct=function(te){var Se=Gs(),oe=Se-E<100,me=Se-g<50,Pe=oe&&ee===E,ye=d.pointerEvent&&d.pointerEvent.defaultPrevented,je=oe&&ae===E,Ae=te.isTrusted||te.isTrusted==null&&oe&&Pe;if((Pe||me&&d.vars.suppressClickOnDrag!==!1)&&te.stopImmediatePropagation&&te.stopImmediatePropagation(),oe&&!(d.pointerEvent&&d.pointerEvent.defaultPrevented)&&(!Pe||Ae&&!je)){Ae&&Pe&&(ae=E),ee=E;return}(d.isPressed||me||oe)&&(!Ae||!te.detail||!oe||ye)&&xo(te),!oe&&!me&&!Z&&(te&&te.target&&(d.pointerEvent=te),xn(d,"click","onClick"))},dt=function(te){return Q?{x:te.x*Q.a+te.y*Q.c+Q.e,y:te.x*Q.b+te.y*Q.d+Q.f}:{x:te.x,y:te.y}};return se=t.get(n),se&&se.kill(),o.startDrag=function(Ue,te){var Se,oe,me,Pe;Me(Ue||d.pointerEvent,!0),te&&!d.hitTest(Ue||d.pointerEvent)&&(Se=Xl(Ue||d.pointerEvent),oe=Xl(n),me=dt({x:Se.left+Se.width/2,y:Se.top+Se.height/2}),Pe=dt({x:oe.left+oe.width/2,y:oe.top+oe.height/2}),re-=me.x-Pe.x,pe-=me.y-Pe.y),d.isDragging||(d.isDragging=Z=!0,xn(d,"dragstart","onDragStart"))},o.drag=De,o.endDrag=function(Ue){return Te(Ue||d.pointerEvent,!0)},o.timeSinceDrag=function(){return d.isDragging?0:(Gs()-g)/1e3},o.timeSinceClick=function(){return(Gs()-E)/1e3},o.hitTest=function(Ue,te){return t.hitTest(d.target,Ue,te)},o.getDirection=function(Ue,te){var Se=Ue==="velocity"&&io?Ue:Rf(Ue)&&!a?"element":"start",oe,me,Pe,ye,je,Ae;return Se==="element"&&(je=Xl(d.target),Ae=Xl(Ue)),oe=Se==="start"?d.x-G:Se==="velocity"?io.getVelocity(n,l):je.left+je.width/2-(Ae.left+Ae.width/2),a?oe<0?"counter-clockwise":"clockwise":(te=te||2,me=Se==="start"?d.y-K:Se==="velocity"?io.getVelocity(n,u):je.top+je.height/2-(Ae.top+Ae.height/2),Pe=Math.abs(oe/me),ye=Pe<1/te?"":oe<0?"left":"right",Pe<te&&(ye!==""&&(ye+="-"),ye+=me<0?"up":"down"),ye)},o.applyBounds=function(Ue,te){var Se,oe,me,Pe,ye,je;if(Ue&&r.bounds!==Ue)return r.bounds=Ue,d.update(!0,te);if(Ne(!0),ft(),z&&!H()){if(Se=d.x,oe=d.y,Se>Fe?Se=Fe:Se<Ve&&(Se=Ve),oe>tt?oe=tt:oe<Be&&(oe=Be),(d.x!==Se||d.y!==oe)&&(me=!0,d.x=d.endX=Se,a?d.endRotation=Se:d.y=d.endY=oe,le=!0,Re(!0),d.autoScroll&&!d.isDragging))for(yg(n.parentNode),Pe=n,ns.scrollTop=an.pageYOffset!=null?an.pageYOffset:O.documentElement.scrollTop!=null?O.documentElement.scrollTop:O.body.scrollTop,ns.scrollLeft=an.pageXOffset!=null?an.pageXOffset:O.documentElement.scrollLeft!=null?O.documentElement.scrollLeft:O.body.scrollLeft;Pe&&!je;)je=ec(Pe.parentNode),ye=je?ns:Pe.parentNode,f&&ye.scrollTop>ye._gsMaxScrollY&&(ye.scrollTop=ye._gsMaxScrollY),c&&ye.scrollLeft>
6ye._gsMaxScrollX&&(ye.scrollLeft=ye._gsMaxScrollX),Pe=ye;d.isThrowing&&(me||d.endX>Fe||d.endX<Ve||d.endY>tt||d.endY<Be)&&Y(r.inertia||r.throwProps,me)}return d},o.update=function(Ue,te,Se){if(te&&d.isPressed){if(a)d.x=d.y=br(parseFloat(D.rotation));else{var oe=il(n),me=xe.apply({x:d.x-G,y:d.y-K}),Pe=il(n.parentNode,!0);Pe.apply({x:oe.e-me.x,y:oe.f-me.y},me),d.x=br(d.x-(me.x-Pe.e)),d.y=br(d.y-(me.y-Pe.f))}Re(!0),Ce()}var ye=d.x,je=d.y;return fe(!te),Ue?d.applyBounds():(le&&Se&&Re(!0),Ne(!0)),te&&(Ke(d.pointerX,d.pointerY),le&&Re(!0)),d.isPressed&&!te&&(c&&Math.abs(ye-d.x)>.01||f&&Math.abs(je-d.y)>.01&&!a)&&Ce(),d.autoScroll&&(yg(n.parentNode,d.isDragging),b=d.isDragging,Re(!0),aS(n,nt),sS(n,nt)),d},o.enable=function(Ue){var te={lazy:!0},Se,oe,me;if(r.cursor!==!1&&(te.cursor=r.cursor||sf),Lt.utils.checkPrefix("touchCallout")&&(te.touchCallout="none"),Ue!=="soft"){for(nS(h,c===f?"none":r.allowNativeTouchScrolling&&n.scrollHeight===n.clientHeight==(n.scrollWidth===n.clientHeight)||r.allowEventDefault?"manipulation":c?"pan-y":"pan-x"),oe=h.length;--oe>-1;)me=h[oe],oh||Wn(me,"mousedown",Me),Wn(me,"touchstart",Me),Wn(me,"click",ct,!0),Lt.set(me,te),me.getBBox&&me.ownerSVGElement&&c!==f&&Lt.set(me.ownerSVGElement,{touchAction:r.allowNativeTouchScrolling||r.allowEventDefault?"manipulation":c?"pan-y":"pan-x"}),r.allowContextMenu||Wn(me,"contextmenu",ue);bp(h,!1)}return sS(n,nt),A=!0,io&&Ue!=="soft"&&io.track(V||n,s?"x,y":a?"rotation":"top,left"),n._gsDragID=Se=n._gsDragID||"d"+k4++,Tu[Se]=d,V&&(V.enable(),V.element._gsDragID=Se),(r.bounds||a)&&Ce(),r.bounds&&d.applyBounds(),d},o.disable=function(Ue){for(var te=d.isDragging,Se=h.length,oe;--Se>-1;)_g(h[Se],"cursor",null);if(Ue!=="soft"){for(nS(h,null),Se=h.length;--Se>-1;)oe=h[Se],_g(oe,"touchCallout",null),In(oe,"mousedown",Me),In(oe,"touchstart",Me),In(oe,"click",ct,!0),In(oe,"contextmenu",ue);bp(h,!0),B&&(In(B,"touchcancel",Te),In(B,"touchend",Te),In(B,"touchmove",De)),In(O,"mouseup",Te),In(O,"mousemove",De)}return aS(n,nt),A=!1,io&&Ue!=="soft"&&(io.untrack(V||n,s?"x,y":a?"rotation":"top,left"),d.tween&&d.tween.kill()),V&&V.disable(),oS(Re),d.isDragging=d.isPressed=M=!1,te&&xn(d,"dragend","onDragEnd"),d},o.enabled=function(Ue,te){return arguments.length?Ue?d.enable(te):d.disable(te):A},o.kill=function(){return d.isThrowing=!1,d.tween&&d.tween.kill(),d.disable(),Lt.set(h,{clearProps:"userSelect"}),delete Tu[n._gsDragID],d},o.revert=function(){this.kill(),this.styles&&this.styles.revert()},~i.indexOf("scroll")&&(V=o.scrollProxy=new R4(n,S4({onKill:function(){d.isPressed&&Te(null)}},r)),n.style.overflowY=f&&!bb?"auto":"hidden",n.style.overflowX=c&&!bb?"auto":"hidden",n=V.content),a?v.rotation=1:(c&&(v[l]=1),f&&(v[u]=1)),D.force3D="force3D"in r?r.force3D:!0,NP(JE(o)),o.enable(),o}return t.register=function(r){Lt=r,wg()},t.create=function(r,o){return _b||wg(!0),la(r).map(function(i){return new t(i,o)})},t.get=function(r){return Tu[(la(r)[0]||{})._gsDragID]},t.timeSinceDrag=function(){return(Gs()-tS)/1e3}
6,t.hitTest=function(r,o,i){if(r===o)return!1;var s=Xl(r),a=Xl(o),l=s.top,u=s.left,c=s.right,f=s.bottom,p=s.width,d=s.height,h=a.left>c||a.right<u||a.top>f||a.bottom<l,v,g,b;return h||!i?!h:(b=(i+"").indexOf("%")!==-1,i=parseFloat(i)||0,v={left:Math.max(u,a.left),top:Math.max(l,a.top)},v.width=Math.min(c,a.right)-v.left,v.height=Math.min(f,a.bottom)-v.top,v.width<0||v.height<0?!1:b?(i*=.01,g=v.width*v.height,g>=p*d*i||g>=a.width*a.height*i):v.width>i&&v.height>i)},t})(I4);D4(Ec.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1});Ec.zIndex=1e3;Ec.version="3.15.0";jP()&&Lt.registerPlugin(Ec);function ls(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var bo={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},hd={duration:.5,overwrite:!1,delay:0},D1,ir,hn,Bo=1e8,ln=1/Bo,Sb=Math.PI*2,$4=Sb/4,M4=0,WP=Math.sqrt,F4=Math.cos,L4=Math.sin,Zn=function(t){return typeof t=="string"},Cn=function(t){return typeof t=="function"},$s=function(t){return typeof t=="number"},x1=function(t){return typeof t>"u"},Vi=function(t){return typeof t=="object"},Yr=function(t){return t!==!1},T1=function(){return typeof window<"u"},wp=function(t){return Cn(t)||Zn(t)},zP=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},yr=Array.isArray,N4=/random\([^)]+\)/g,B4=/,\s*/g,cS=/(?:-?\.?\d|\.)+/gi,KP=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,pu=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,kg=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,GP=/[+-]=-?[.\d]+/,j4=/[^,'"\[\]\s]+/gi,q4=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,yn,Ti,Cb,A1,Eo={},Hh={},YP,XP=function(t){return(Hh=tc(t,Eo))&&eo},O1=function(t,n){return console.warn("Invalid property",t,"set to",n,"Missing plugin? gsap.registerPlugin()")},md=function(t,n){return!n&&console.warn(t)},QP=function(t,n){return t&&(Eo[t]=n)&&Hh&&(Hh[t]=n)||Eo},vd=function(){return 0},V4={suppressEvents:!0,isStart:!0,kill:!1},sh={suppressEvents:!0,kill:!1},U4={suppressEvents:!0},P1={},ya=[],Db={},ZP,uo={},Eg={},fS=30,ah=[],R1="",I1=function(t){var n=t[0],r,o;if(Vi(n)||Cn(n)||(t=[t]),!(r=(n._gsap||{}).harness)){for(o=ah.length;o--&&!ah[o].targetTest(n););r=ah[o]}for(o=t.length;o--;)t[o]&&(t[o]._gsap||(t[o]._gsap=new bR(t[o],r)))||t.splice(o,1);return t},vl=function(t){return t._gsap||I1(jo(t))[0]._gsap},JP=function(t,n,r){return(r=t[n])&&Cn(r)?t[n]():x1(r)&&t.getAttribute&&t.getAttribute(n)||r},Xr=function(t,n){return(t=t.split(",")).forEach(n)||t},Tn=function(t){return Math.round(t*1e5)/1e5||0},gn=function(t){return Math.round(t*1e7)/1e7||0},Pu=function(t,n){var r=n.charAt(0),o=parseFloat(n.substr(2));return t=parseFloat(t),r==="+"?t+o:r==="-"?t-o:r==="*"?t*o:t/o},H4=function(t,n){for(var r=n.length,o=0;t.indexOf(n[o])<0&&++o<r;);return o<r},Wh=function(){var t=ya.length,n=ya.slice(0),r,o;for(Db={},ya.length=0,r=0;r<t;r++)o=n[r],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},$1=function(t){return!!(t._initted||t._startAt||t.add)},eR=function(t,n,r,o){ya.length&&!ir&&Wh(),t.render(n,r,!!(ir&&n<0&&$1(t))),ya.length&&!ir&&Wh()},tR=function(t){var n=parseFloat(t);return(n||n===0)&&(t+"").match(j4).length<2?n:Zn(t)?t.trim():t},nR=function(t){return t},So=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},W4=function(t){return function(n,r){for(var o in r)o in n||o==="duration"&&t||o==="ease"||(n[o]=r[o])}},tc=function(t,n){for(var r in n)t[r]=n[r];return t},dS=function e(t,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=Vi(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},zh=function(t,n){var r={},o;for(o in t)o in n||(r[o]=t[o]);return r},$f=function(t){var n=t.parent||yn,r=t.keyframes?W4(yr(t.keyframes)):So;if(Yr(t.inherit))for(;n;)r(t,n.vars.defaults),n=n.parent||n._dp;return t},z4=function(t,n){for(var r=t.length,o=r===n.length;o&&r--&&t[r]===n[r];);return r<0},rR=function(t,n,r,o,i){var s=t[o],a;if(i)for(a=n[i];s&&s[i]>a;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=t[r],t[r]=n),n._next?n._next._prev=n:t[o]=n,n._prev=s,n.parent=n._dp=t,n},lv=function(t,n,r,o){r===void 0&&(r="_first"),o===void 0&&(o="_last");var i=n._prev,s=n._next;i?i._next=s:t[r]===n&&(t[r]=s),s?s._prev=i:t[o]===n&&(t[o]=i),n._next=n._prev=n.parent=null},Da=function(t,n){t.parent&&(!n||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},gl=function(t,n){if(t&&(!n||n._end>t._dur||n._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},K4=function(t){for(var n=t.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return t},xb=function(t,n,r,o){return t._startAt&&(ir?t._startAt.revert(sh):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(n,!0,o))},G4=function e(t){return!t||t._ts&&e(t.parent)},pS=function(t){return t._repeat?nc(t._tTime,t=t.duration()+t._rDelay)*t:0},nc=function(t,n){var r=Math.floor(t=gn(t/n));return t&&r===t?r-1:r},Kh=function(t,n){return(t-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},uv=function(t){return t._end=gn(t._start+(t._tDur/Math.abs(t._ts||t._rts||ln)||0))},cv=function(t,n){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=gn(r._time-(t._ts>0?n/t._ts:((t._dirty?t.totalDuration():t._tDur)-n)/-t._ts)),uv(t),r._dirty||gl(r,t)),t},oR=function(t,n){var r;if((n._time||!n._dur&&n._initted||n._start<t._time&&(n._dur||!n.add
6))&&(r=Kh(t.rawTime(),n),(!n._dur||Wd(0,n.totalDuration(),r)-n._tTime>ln)&&n.render(r,!0)),gl(t,n)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-ln}},Pi=function(t,n,r,o){return n.parent&&Da(n),n._start=gn(($s(r)?r:r||t!==yn?Oo(t,r,n):t._time)+n._delay),n._end=gn(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),rR(t,n,"_first","_last",t._sort?"_start":0),Tb(n)||(t._recent=n),o||oR(t,n),t._ts<0&&cv(t,t._tTime),t},iR=function(t,n){return(Eo.ScrollTrigger||O1("scrollTrigger",n))&&Eo.ScrollTrigger.create(n,t)},sR=function(t,n,r,o,i){if(F1(t,n,i),!t._initted)return 1;if(!r&&t._pt&&!ir&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&ZP!==mo.frame)return ya.push(t),t._lazy=[i,o],1},Y4=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Tb=function(t){var n=t.data;return n==="isFromStart"||n==="isStart"},X4=function(t,n,r,o){var i=t.ratio,s=n<0||!n&&(!t._start&&Y4(t)&&!(!t._initted&&Tb(t))||(t._ts<0||t._dp._ts<0)&&!Tb(t))?0:1,a=t._rDelay,l=0,u,c,f;if(a&&t._repeat&&(l=Wd(0,t._tDur,n),c=nc(l,a),t._yoyo&&c&1&&(s=1-s),c!==nc(t._tTime,a)&&(i=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==i||ir||o||t._zTime===ln||!n&&t._zTime){if(!t._initted&&sR(t,n,o,r,l))return;for(f=t._zTime,t._zTime=n||(r?ln:0),r||(r=n&&!f),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,u=t._pt;u;)u.r(s,u.d),u=u._next;n<0&&xb(t,n,r,!0),t._onUpdate&&!r&&go(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&go(t,"onRepeat"),(n>=t._tDur||n<0)&&t.ratio===s&&(s&&Da(t,1),!r&&!ir&&(go(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=n)},Q4=function(t,n,r){var o;if(r>n)for(o=t._first;o&&o._start<=r;){if(o.data==="isPause"&&o._start>n)return o;o=o._next}else for(o=t._last;o&&o._start>=r;){if(o.data==="isPause"&&o._start<n)return o;o=o._prev}},rc=function(t,n,r,o){var i=t._repeat,s=gn(n)||0,a=t._tTime/t._tDur;return a&&!o&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:gn(s*(i+1)+t._rDelay*i):s,a>0&&!o&&cv(t,t._tTime=t._tDur*a),t.parent&&uv(t),r||gl(t.parent,t),t},hS=function(t){return t instanceof Wr?gl(t):rc(t,t._dur)},Z4={_start:0,endTime:vd,totalDuration:vd},Oo=function e(t,n,r){var o=t.labels,i=t._recent||Z4,s=t.duration()>=Bo?i.endTime(!1):t._dur,a,l,u;return Zn(n)&&(isNaN(n)||n in o)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?i:r).totalDuration()/100:1)):a<0?(n in o||(o[n]=s),o[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&r&&(l=l/100*(yr(r)?r[0]:r).totalDuration()),a>1?e(t,n.substr(0,a-1),r)+l:s+l)):n==null?s:+n},Mf=function(t,n,r){var o=$s(n[1]),i=(o?2:1)+(t<2?0:1),s=n[i],a,l;if(o&&(s.duration=n[1]),s.parent=r,t){for(a=s,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Yr(l.vars.inherit)&&l.parent;s.immediateRender=Yr(a.immediateRender),t<2?s.runBackwards=1:s.startAt=n[i-1]}return new Fn(n[0],s,n[i+1])},Na=function(t,n){return t||t===0?n(t):n},Wd=function(t,n,r){return r<t?t:r>n?n:r},hr=function(t,n){return!Zn(t)||!(n=q4.exec(t))?"":n[1]},J4=function(t,n,r){return Na(r,function(o){return Wd(t,n,o)})},Ab=[].slice,aR=function(t,n){return t&&Vi(t)&&"length"in t&&(!n&&!t.length||t.length-1 in t&&Vi(t[0]))&&!t.nodeType&&t!==Ti},eU=function(t,n,r){return r===void 0&&(r=[]),t.forEach(function(o){var i;return Zn(o)&&!n||aR(o,1)?(i=r).push.apply(i,jo(o)):r.push(o)})||r},jo=function(t,n,r){return hn&&!n&&hn.selector?hn.selector(t):Zn(t)&&!r&&(Cb||!oc())?Ab.call((n||A1).querySelectorAll(t),0):yr(t)?eU(t,r):aR(t)?Ab.call(t,0):t?[t]:[]},Ob=function(t){return t=jo(t)[0]||md("Invalid scope")||{},function(n){var r=t.current||t.nativeElement||t;return jo(n,r.querySelectorAll?r:r===t?md("Invalid scope")||A1.createElement("div"):t)}},lR=function(t){return t.sort(function(){return .5-Math.random()})},uR=function(t){if(Cn(t))return t;var n=Vi(t)?t:{each:t},r=yl(n.ease),o=n.from||0,i=parseFloat(n.base)||0,s={},a=o>0&&o<1,l=isNaN(o)||a,u=n.axis,c=o,f=o;return Zn(o)?c=f={center:.5,edges:.5,end:1}
6[o]||0:!a&&l&&(c=o[0],f=o[1]),function(p,d,h){var v=(h||n).length,g=s[v],b,y,w,_,k,C,E,D,T;if(!g){if(T=n.grid==="auto"?0:(n.grid||[1,Bo])[1],!T){for(E=-Bo;E<(E=h[T++].getBoundingClientRect().left)&&T<v;);T<v&&T--}for(g=s[v]=[],b=l?Math.min(T,v)*c-.5:o%T,y=T===Bo?0:l?v*f/T-.5:o/T|0,E=0,D=Bo,C=0;C<v;C++)w=C%T-b,_=y-(C/T|0),g[C]=k=u?Math.abs(u==="y"?_:w):WP(w*w+_*_),k>E&&(E=k),k<D&&(D=k);o==="random"&&lR(g),g.max=E-D,g.min=D,g.v=v=(parseFloat(n.amount)||parseFloat(n.each)*(T>v?v-1:u?u==="y"?v/T:T:Math.max(T,v/T))||0)*(o==="edges"?-1:1),g.b=v<0?i-v:i,g.u=hr(n.amount||n.each)||0,r=r&&v<0?pU(r):r}return v=(g[p]-g.min)/g.max||0,gn(g.b+(r?r(v):v)*g.v)+g.u}},Pb=function(t){var n=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var o=gn(Math.round(parseFloat(r)/t)*t*n);return(o-o%1)/n+($s(r)?0:hr(r))}},cR=function(t,n){var r=yr(t),o,i;return!r&&Vi(t)&&(o=r=t.radius||Bo,t.values?(t=jo(t.values),(i=!$s(t[0]))&&(o*=o)):t=Pb(t.increment)),Na(n,r?Cn(t)?function(s){return i=t(s),Math.abs(i-s)<=o?i:s}:function(s){for(var a=parseFloat(i?s.x:s),l=parseFloat(i?s.y:0),u=Bo,c=0,f=t.length,p,d;f--;)i?(p=t[f].x-a,d=t[f].y-l,p=p*p+d*d):p=Math.abs(t[f]-a),p<u&&(u=p,c=f);return c=!o||u<=o?t[c]:s,i||c===s||$s(s)?c:c+hr(s)}:Pb(t))}
6,fR=function(t,n,r,o){return Na(yr(t)?!n:r===!0?!!(r=0):!o,function(){return yr(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(o=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(n-t+r*.99))/r)*r*o)/o})},tU=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(o){return n.reduce(function(i,s){return s(i)},o)}},nU=function(t,n){return function(r){return t(parseFloat(r))+(n||hr(r))}},rU=function(t,n,r){return pR(t,n,0,1,r)},dR=function(t,n,r){return Na(r,function(o){return t[~~n(o)]})},oU=function e(t,n,r){var o=n-t;return yr(t)?dR(t,e(0,t.length),n):Na(r,function(i){return(o+(i-t)%o)%o+t})},iU=function e(t,n,r){var o=n-t,i=o*2;return yr(t)?dR(t,e(0,t.length-1),n):Na(r,function(s){return s=(i+(s-t)%i)%i||0,t+(s>o?i-s:s)})},gd=function(t){return t.replace(N4,function(n){var r=n.indexOf("[")+1,o=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(B4);return fR(r?o:+o[0],r?0:+o[1],+o[2]||1e-5)})},pR=function(t,n,r,o,i){var s=n-t,a=o-r;return Na(i,function(l){return r+((l-t)/s*a||0)})},sU=function e(t,n,r,o){var i=isNaN(t+n)?0:function(d){return(1-d)*t+d*n};if(!i){var s=Zn(t),a={},l,u,c,f,p;if(r===!0&&(o=1)&&(r=null),s)t={p:t},n={p:n};else if(yr(t)&&!yr(n)){for(c=[],f=t.length,p=f-2,u=1;u<f;u++)c.push(e(t[u-1],t[u]));f--,i=function(h){h*=f;var v=Math.min(p,~~h);return c[v](h-v)},r=n}else o||(t=tc(yr(t)?[]:{},t));if(!c){for(l in n)M1.call(a,t,l,"get",n[l]);i=function(h){return B1(h,a)||(s?t.p:t)}}}return Na(r,i)},mS=function(t,n,r){var o=t.labels,i=Bo,s,a,l;for(s in o)a=o[s]-n,a<0==!!r&&a&&i>(a=Math.abs(a))&&(l=s,i=a);return l},go=function(t,n,r){var o=t.vars,i=o[n],s=hn,a=t._ctx,l,u,c;if(i)return l=o[n+"Params"],u=o.callbackScope||t,r&&ya.length&&Wh(),a&&(hn=a),c=l?i.apply(u,l):i.call(u),hn=s,c},af=function(t){return Da(t),t.scrollTrigger&&t.scrollTrigger.kill(!!ir),t.progress()<1&&go(t,"onInterrupt"),t},hu,hR=[],mR=function(t){if(t)if(t=!t.name&&t.default||t,T1()||t.headless){var n=t.name,r=Cn(t),o=n&&!r&&t.init?function(){this._props=[]}:t,i={init:vd,render:B1,add:M1,kill:EU,modifier:kU,rawVars:0},s={targetTest:0,get:0,getSetter:N1,aliases:{},register:0};if(oc(),t!==o){if(uo[n])return;So(o,So(zh(t,i),s)),tc(o.prototype,tc(i,zh(t,s))),uo[o.prop=n]=o,t.targetTest&&(ah.push(o),P1[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}QP(n,o),t.register&&t.register(eo,o,Qr)}else hR.push(t)},sn=255,lf={aqua:[0,sn,sn],lime:[0,sn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,sn],navy:[0,0,128],white:[sn,sn,sn],olive:[128,128,0],yellow:[sn,sn,0],orange:[sn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[sn,0,0],pink:[sn,192,203],cyan:[0,sn,sn],transparent:[sn,sn,sn,0]},Sg=function(t,n,r){return t+=t<0?1:t>1?-1:0,(t*6<1?n+(r-n)*t*6:t<.5?r:t*3<2?n+(r-n)*(2/3-t)*6:n)*sn+.5|0},vR=function(t,n,r){var o=t?$s(t)?[t>>16,t>>8&sn,t&sn]:0:lf.black,i,s,a,l,u,c,f,p,d,h;if(!o){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),lf[t])o=lf[t];else if(t.charAt(0)==="#"){if(t.length<6&&(i=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+i+i+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return o=parseInt(t.substr(1,6),16),[o>>16,o>>8&sn,o&sn,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),o=[t>>16,t>>8&sn,t&sn]}else if(t.substr(0,3)==="hsl"){if(o=h=t.match(cS),!n)l=+o[0]%360/360,u=+o[1]/100,c=+o[2]/100,s=c<=.5?c*(u+1):c+u-c*u,i=c*2-s,o.length>3&&(o[3]*=1),o[0]=Sg(l+1/3,i,s),o[1]=Sg(l,i,s),o[2]=Sg(l-1/3,i,s);else if(~t.indexOf("="))return o=t.match(KP),r&&o.length<4&&(o[3]=1),o}else o=t.match(cS)||lf.transparent;o=o.map(Number)}return n&&!h&&(i=o[0]/sn,s=o[1]/sn,a=o[2]/sn,f=Math.max(i,s,a),p=Math.min(i,s,a),c=(f+p)/2,f===p?l=u=0:(d=f-p,u=c>.5?d/(2-f-p):d/(f+p),l=f===i?(s-a)/d+(s<a?6:0):f===s?(a-i)/d+2:(i-s)/d+4,l*=60),o[0]=~~(l+.5),o[1]=~~(u*100+.5),o[2]=~~(c*100+.5)),r&&o.length<4&&(o[3]=1),o},gR=function(t){var n=[],r=[],o=-1;
6return t.split(_a).forEach(function(i){var s=i.match(pu)||[];n.push.apply(n,s),r.push(o+=s.length+1)}),n.c=r,n},vS=function(t,n,r){var o="",i=(t+o).match(_a),s=n?"hsla(":"rgba(",a=0,l,u,c,f;if(!i)return t;if(i=i.map(function(p){return(p=vR(p,n,1))&&s+(n?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=gR(t),l=r.c,l.join(o)!==c.c.join(o)))for(u=t.replace(_a,"1").split(pu),f=u.length-1;a<f;a++)o+=u[a]+(~l.indexOf(a)?i.shift()||s+"0,0,0,0)":(c.length?c:i.length?i:r).shift());if(!u)for(u=t.split(_a),f=u.length-1;a<f;a++)o+=u[a]+i[a];return o+u[f]},_a=(function(){var e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in lf)e+="|"+t+"\\b";return new RegExp(e+")","gi")})(),aU=/hsl[a]?\(/,yR=function(t){var n=t.join(" "),r;if(_a.lastIndex=0,_a.test(n))return r=aU.test(n),t[1]=vS(t[1],r),t[0]=vS(t[0],r,gR(t[1])),!0},yd,mo=(function(){var e=Date.now,t=500,n=33,r=e(),o=r,i=1e3/240,s=i,a=[],l,u,c,f,p,d,h=function v(g){var b=e()-o,y=g===!0,w,_,k,C;if((b>t||b<0)&&(r+=b-n),o+=b,k=o-r,w=k-s,(w>0||y)&&(C=++f.frame,p=k-f.time*1e3,f.time=k=k/1e3,s+=w+(w>=i?4:i-w),_=1),y||(l=u(v)),_)for(d=0;d<a.length;d++)a[d](k,p,C,g)};return f={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){YP&&(!Cb&&T1()&&(Ti=Cb=window,A1=Ti.document||{},Eo.gsap=eo,(Ti.gsapVersions||(Ti.gsapVersions=[])).push(eo.version),XP(Hh||Ti.GreenSockGlobals||!Ti.gsap&&Ti||{}
vendor: 10,569 bytes, line 6
6),hR.forEach(mR)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(g){return setTimeout(g,s-f.time*1e3+1|0)},yd=1,h(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),yd=0,u=vd},lagSmoothing:function(g,b){t=g||1/0,n=Math.min(b||33,t)},fps:function(g){i=1e3/(g||240),s=f.time*1e3+i},add:function(g,b,y){var w=b?function(_,k,C,E){g(_,k,C,E),f.remove(w)}:g;return f.remove(g),a[y?"unshift":"push"](w),oc(),w},remove:function(g,b){~(b=a.indexOf(g))&&a.splice(b,1)&&d>=b&&d--},_listeners:a},f})(),oc=function(){return!yd&&mo.wake()},jt={},lU=/^[\d.\-M][\d.\-,\s]/,uU=/["']/g,cU=function(t){for(var n={},r=t.substr(1,t.length-3).split(":"),o=r[0],i=1,s=r.length,a,l,u;i<s;i++)l=r[i],a=i!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),n[o]=isNaN(u)?u.replace(uU,"").trim():+u,o=l.substr(a+1).trim();return n},fU=function(t){var n=t.indexOf("(")+1,r=t.indexOf(")"),o=t.indexOf("(",n);return t.substring(n,~o&&o<r?t.indexOf(")",r+1):r)},dU=function(t){var n=(t+"").split("("),r=jt[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[cU(n[1])]:fU(t).split(",").map(tR)):jt._CE&&lU.test(t)?jt._CE("",t):r},pU=function(t){return function(n){return 1-t(1-n)}},yl=function(t,n){return t&&(Cn(t)?t:jt[t]||dU(t))||n},Hl=function(t,n,r,o){r===void 0&&(r=function(l){return 1-n(1-l)}),o===void 0&&(o=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:o},s;return Xr(t,function(a){jt[a]=Eo[a]=i,jt[s=a.toLowerCase()]=r;for(var l in i)jt[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=jt[a+"."+l]=i[l]}),i},_R=function(t){return function(n){return n<.5?(1-t(1-n*2))/2:.5+t((n-.5)*2)/2}},Cg=function e(t,n,r){var o=n>=1?n:1,i=(r||(t?.3:.45))/(n<1?n:1),s=i/Sb*(Math.asin(1/o)||0),a=function(c){return c===1?1:o*Math.pow(2,-10*c)*L4((c-s)*i)+1},l=t==="out"?a:t==="in"?function(u){return 1-a(1-u)}:_R(a);return i=Sb/i,l.config=function(u,c){return e(t,u,c)},l},Dg=function e(t,n){n===void 0&&(n=1.70158);var r=function(s){return s?--s*s*((n+1)*s+n)+1:0},o=t==="out"?r:t==="in"?function(i){return 1-r(1-i)}:_R(r);return o.config=function(i){return e(t,i)},o};Xr("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;Hl(e+",Power"+(n-1),t?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});jt.Linear.easeNone=jt.none=jt.Linear.easeIn;Hl("Elastic",Cg("in"),Cg("out"),Cg());(function(e,t){var n=1/t,r=2*n,o=2.5*n,i=function(a){return a<n?e*a*a:a<r?e*Math.pow(a-1.5/t,2)+.75:a<o?e*(a-=2.25/t)*a+.9375:e*Math.pow(a-2.625/t,2)+.984375};Hl("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);Hl("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)});Hl("Circ",function(e){return-(WP(1-e*e)-1)});Hl("Sine",function(e){return e===1?1:-F4(e*$4)+1});Hl("Back",Dg("in"),Dg("out"),Dg());jt.SteppedEase=jt.steps=Eo.SteppedEase={config:function(t,n){t===void 0&&(t=1);var r=1/t,o=t+(n?0:1),i=n?1:0,s=1-ln;return function(a){return((o*Wd(0,s,a)|0)+i)*r}}};hd.ease=jt["quad.out"];Xr("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return R1+=e+","+e+"Params,"});var bR=function(t,n){this.id=M4++,t._gsap=this,this.target=t,this.harness=n,this.get=n?n.get:JP,this.set=n?n.getSetter:N1},_d=(function(){function e(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,rc(this,+n.duration,1,1),this.data=n.data,hn&&(this._ctx=hn,hn.data.push(this)),yd||mo.wake()}var t=e.prototype;return t.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,rc(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,o){if(oc(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(cv(this,r),!i._dp||i.parent||oR(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Pi(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===ln||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),eR(this,r,o)),this},t.time=function(r,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+pS(this))%(this._dur+this._rDelay)||(r?this._dur:0),o):this._time},t.totalProgress=function(r,o){return arguments.length?this.totalTime(this.totalDuration()*r,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(r,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+pS(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(r,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,o):this._repeat?nc(this._tTime,i)+1:1},t.timeScale=function(r,o){if(!arguments.length)return this._rts===-ln?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Kh(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-ln?0:this._rts,this.totalTime(Wd(-Math.abs(this._delay),this.totalDuration(),i),o!==!1),uv(this),K4(this)},t.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(oc(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ln&&(this._tTime-=ln)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=gn(r);var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&Pi(o,this,this._start-this._delay),this}return this._start},t.endTime=function(r){return this._start+(Yr(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var o=this.parent||this._dp;return o?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Kh(o.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=U4);var o=ir;return ir=r,$1(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),ir=o,this},t.globalTime=function(r){for(var o=this,i=arguments.length?r:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,hS(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var o=this._time;return this._rDelay=r,hS(this),o?this.time(o):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,o){return this.totalTime(Oo(this,r),Yr(o))},t.restart=function(r,o){return this.play().totalTime(r?-this._delay:0,Yr(o)),this._dur||(this._zTime=-ln),this},t.play=function(r,o){return r!=null&&this.seek(r,o),this.reversed(!1).paused(!1)},t.reverse=function(r,o){return r!=null&&this.seek(r||this.totalDuration(),o),this.reversed(!0).paused(!1)},t.pause=function(r,o){return r!=null&&this.seek(r,o),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-ln:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-ln,this},t.isActive=function(){var r=this.parent||this._dp,o=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=o&&i<this.endTime(!0)-ln)},t.eventCallback=function(r,o,i){var s=this.vars;return arguments.length>1?(o?(s[r]=o,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=o)):delete s[r],this):s[r]},t.then=function(r){var o=this,i=o._prom;return new Promise(function(s){var a=Cn(r)?r:nR,l=function(){var c=o.then;o.then=null,i&&i(),Cn(a)&&(a=a(o))&&(a.then||a===o)&&(o.then=c),s(a),o.then=c};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},t.kill=function(){af(this)},e})();So(_d.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ln,_prom:0,_ps:!1,_rts:1});var Wr=(function(e){HP(t,e);function t(r,o){var i;return r===void 0&&(r={}),i=e.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=Yr(r.sortChildren),yn&&Pi(r.parent||yn,ls(i),o),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&iR(ls(i),r.scrollTrigger),i}var n=t.prototype;return n.to=function(o,i,s){return Mf(0,arguments,this),this},n.from=function(o,i,s){return Mf(1,arguments,this),this},n.fromTo=function(o,i,s,a){return Mf(2,arguments,this),this},n.set=function(o,i,s){return i.duration=0,i.parent=this,$f(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Fn(o,i,Oo(this,s),1),this},n.call=function(o,i,s){return Pi(this,Fn.delayedCall(0,o,i),s)},n.staggerTo=function(o,i,s,a,l,u,c){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new Fn(o,s,Oo(this,l)),this},n.staggerFrom=function(o,i,s,a,l,u,c){return s.runBackwards=1,$f(s).immediateRender=Yr(s.immediateRender),this.staggerTo(o,i,s,a,l,u,c)},n.staggerFromTo=function(o,i,s,a,l,u,c,f){return a.startAt=s,$f(a).immediateRender=Yr(a.immediateRender),this.staggerTo(o,i,a,l,u,c,f)},n.render=function(o,i,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=o<=0?0:gn(o),f=this._zTime<0!=o<0&&(this._initted||!u),p,d,h,v,g,b,y,w,_,k,C,E;if(this!==yn&&c>l&&o>=0&&(c=l),c!==this._tTime||s||f){if(a!==this._time&&u&&(c+=this._time-a,o+=this._time-a),p=c,_=this._start,w=this._ts,b=!w,f&&(u||(a=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(C=this._yoyo,g=u+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(g*100+o,i,s);
6if(p=gn(c%g),c===l?(v=this._repeat,p=u):(k=gn(c/g),v=~~k,v&&v===k&&(p=u,v--),p>u&&(p=u)),k=nc(this._tTime,g),!a&&this._tTime&&k!==v&&this._tTime-k*g-this._dur<=0&&(k=v),C&&v&1&&(p=u-p,E=1),v!==k&&!this._lock){var D=C&&k&1,T=D===(C&&v&1);if(v<k&&(D=!D),a=D?0:c%u?u:c,this._lock=1,this.render(a||(E?0:gn(v*g)),i,!u)._lock=0,this._tTime=c,!i&&this.parent&&go(this,"onRepeat"),this.vars.repeatRefresh&&!E&&(this.invalidate()._lock=1,k=v),a&&a!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,T&&(this._lock=2,a=D?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!E&&this.invalidate()),this._lock=0,!this._ts&&!b)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Q4(this,gn(a),gn(p)),y&&(c-=p-(p=y._start))),this._tTime=c,this._time=p,this._act=!!w,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,a=0),!a&&c&&u&&!i&&!k&&(go(this,"onStart"),this._tTime!==c))return this;if(p>=a&&o>=0)for(d=this._first;d;){if(h=d._next,(d._act||p>=d._start)&&d._ts&&y!==d){if(d.parent!==this)return this.render(o,i,s);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,s),p!==this._time||!this._ts&&!b){y=0,h&&(c+=this._zTime=-ln);break}}d=h}else{d=this._last;for(var x=o<0?o:p;d;){if(h=d._prev,(d._act||x<=d._end)&&d._ts&&y!==d){if(d.parent!==this)return this.render(o,i,s);if(d.render(d._ts>0?(x-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(x-d._start)*d._ts,i,s||ir&&$1(d)),p!==this._time||!this._ts&&!b){y=0,h&&(c+=this._zTime=x?-ln:ln);break}}d=h}}if(y&&!i&&(this.pause(),y.render(p>=a?0:-ln)._zTime=p>=a?1:-1,this._ts))return this._start=_,uv(this),this.render(o,i,s);this._onUpdate&&!i&&go(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(_===this._start||Math.abs(w)!==Math.abs(this._ts))&&(this._lock||((o||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Da(this,1),!i&&!(o<0&&!a)&&(c||a||!l)&&(go(this,c===l&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(o,i){var s=this;if($s(i)||(i=Oo(this,i,o)),!(o instanceof _d)){if(yr(o))return o.forEach(function(a){return s.add(a,i)}),this;if(Zn(o))return this.addLabel(o,i);if(Cn(o))o=Fn.delayedCall(0,o);else return this}return this!==o?Pi(this,o,i):this},n.getChildren=function(o,i,s,a){o===void 0&&(o=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Bo);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Fn?i&&l.push(u):(s&&l.push(u),o&&l.push.apply(l,u.getChildren(!0,i,s)))),u=u._next;return l},n.getById=function(o){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===o)return i[s]},n.remove=function(o){return Zn(o)?this.removeLabel(o):Cn(o)?this.killTweensOf(o):(o.parent===this&&lv(this,o),o===this._recent&&(this._recent=this._last),gl(this))},n.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=gn(mo.time-(this._ts>
60?o/this._ts:(this.totalDuration()-o)/-this._ts))),e.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},n.addLabel=function(o,i){return this.labels[o]=Oo(this,i),this},n.removeLabel=function(o){return delete this.labels[o],this},n.addPause=function(o,i,s){var a=Fn.delayedCall(0,i||vd,s);return a.data="isPause",this._hasPause=1,Pi(this,a,Oo(this,o))},n.removePause=function(o){var i=this._first;for(o=Oo(this,o);i;)i._start===o&&i.data==="isPause"&&Da(i),i=i._next},n.killTweensOf=function(o,i,s){for(var a=this.getTweensOf(o,s),l=a.length;l--;)ua!==a[l]&&a[l].kill(o,i);return this},n.getTweensOf=function(o,i){for(var s=[],a=jo(o),l=this._first,u=$s(i),c;l;)l instanceof Fn?H4(l._targets,a)&&(u?(!ua||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&s.push(l):(c=l.getTweensOf(a,i)).length&&s.push.apply(s,c),l=l._next;return s},n.tweenTo=function(o,i){i=i||{};var s=this,a=Oo(s,o),l=i,u=l.startAt,c=l.onStart,f=l.onStartParams,p=l.immediateRender,d,h=Fn.to(s,So({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||ln,onStart:function(){if(s.pause(),!d){var g=i.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());h._dur!==g&&rc(h,g,0,1).render(h._time,!0,!0),d=1}c&&c.apply(h,f||[])}},i));return p?h.render(0):h},n.tweenFromTo=function(o,i,s){return this.tweenTo(i,So({startAt:{time:Oo(this,o)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(o){return o===void 0&&(o=this._time),mS(this,Oo(this,o))},n.previousLabel=function(o){return o===void 0&&(o=this._time),mS(this,Oo(this,o),1)},n.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+ln)},n.shiftChildren=function(o,i,s){s===void 0&&(s=0);var a=this._first,l=this.labels,u;for(o=gn(o);a;)a._start>=s&&(a._start+=o,a._end+=o),a=a._next;if(i)for(u in l)l[u]>=s&&(l[u]+=o);return gl(this)},n.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return e.prototype.invalidate.call(this,o)},n.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),gl(this)},n.totalDuration=function(o){var i=0,s=this,a=s._last,l=Bo,u,c,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-o:o));if(s._dirty){for(f=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,Pi(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(i-=c,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=gn(c/s._ts),s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>i&&a._ts&&(i=a._end),a=u;rc(s,s===yn&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(o){if(yn._ts&&(eR(yn,Kh(o,yn)),ZP=mo.frame),mo.frame>=fS){fS+=bo.autoSleep||120;var i=yn._first;if((!i||!i._ts)&&bo.autoSleep&&mo._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||mo.sleep()}}},t})(_d);So(Wr.prototype,{_lock:0,_hasPause:0,_forcing:0});var hU=function(t,n,r,o,i,s,a){var l=new Qr(this._pt,t,n,0,1,DR,null,i),u=0,c=0,f,p,d,h,v,g,b,y;for(l.b=r,l.e=o,r+="",o+="",(b=~o.indexOf("random("))&&(o=gd(o)),s&&(y=[r,o],s(y,t,n),r=y[0],o=y[1]),p=r.match(kg)||[];f=kg.exec(o);)h=f[0],v=o.substring(u,f.index),d?d=(d+1)%5:v.substr(-5)==="rgba("&&(d=1),h!==p[c++]&&(g=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:v||c===1?v:",",s:g,c:h.charAt(1)==="="?Pu(g,h)-g:parseFloat(h)-g,m:d&&d<4?Math.round:0},u=kg.lastIndex);return l.c=u<o.length?o.substring(u,o.length):"",l.fp=a,(GP.test(o)||b)&&(l.e=0),this._pt=l,l},M1=function(t,n,r,o,i,s,a,l,u,c){Cn(o)&&(o=o(i||0,t,s));var f=t[n],p=r!=="get"?r:Cn(f)?u?t[n.indexOf("set")||!Cn(t["get"+n.substr(3)])?n:"get"+n.substr(3)](u):t[n]():f,d=Cn(f)?u?_U:SR:L1,h;if(Zn(o)&&(~o.indexOf("random(")&&(o=gd(o)),o.charAt(1)==="="&&(h=Pu(p,o)+(hr(p)||0),(h||h===0)&&(o=h))),!c||p!==o||Rb)return!isNaN(p*o)&&o!==""?(h=new Qr(this._pt,t,n,+p||0,o-(p||0),typeof f=="boolean"?wU:CR,0,d),u&&(h.fp=u),a&&h.modifier(a,this,t),this._pt=h):(!f&&!(n in t)&&O1(n,o),hU.call(this,t,n,p,o,d,l||bo.stringFilter,u))}
6,mU=function(t,n,r,o,i){if(Cn(t)&&(t=Ff(t,i,n,r,o)),!Vi(t)||t.style&&t.nodeType||yr(t)||zP(t))return Zn(t)?Ff(t,i,n,r,o):t;var s={},a;for(a in t)s[a]=Ff(t[a],i,n,r,o);return s},wR=function(t,n,r,o,i,s){var a,l,u,c;if(uo[t]&&(a=new uo[t]).init(i,a.rawVars?n[t]:mU(n[t],o,i,s,r),r,o,s)!==!1&&(r._pt=l=new Qr(r._pt,i,t,0,1,a.render,a,0,a.priority),r!==hu))for(u=r._ptLookup[r._targets.indexOf(i)],c=a._props.length;c--;)u[a._props[c]]=l;return a},ua,Rb,F1=function e(t,n,r){var o=t.vars,i=o.ease,s=o.startAt,a=o.immediateRender,l=o.lazy,u=o.onUpdate,c=o.runBackwards,f=o.yoyoEase,p=o.keyframes,d=o.autoRevert,h=t._dur,v=t._startAt,g=t._targets,b=t.parent,y=b&&b.data==="nested"?b.vars.targets:g,w=t._overwrite==="auto"&&!D1,_=t.timeline,k=o.easeReverse||f,C,E,D,T,x,O,A,V,re,pe,G,K,z;if(_&&(!p||!i)&&(i="none"),t._ease=yl(i,hd.ease),t._rEase=k&&(yl(k)||t._ease),t._from=!_&&!!o.runBackwards,t._from&&(t.ratio=1),!_||p&&!o.stagger){if(V=g[0]?vl(g[0]).harness:0,K=V&&o[V.prop],C=zh(o,P1),v&&(v._zTime<0&&v.progress(1),n<0&&c&&a&&!d?v.render(-1,!0):v.revert(c&&h?sh:V4),v._lazy=0),s){if(Da(t._startAt=Fn.set(g,So({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!v&&Yr(l),startAt:null,delay:0,onUpdate:u&&function(){return go(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir||!a&&!d)&&t._startAt.revert(sh),a&&h&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(c&&h&&!v){if(n&&(a=!1),D=So({overwrite:!1,data:"isFromStart",lazy:a&&!v&&Yr(l),immediateRender:a,stagger:0,parent:b},C),K&&(D[V.prop]=K),Da(t._startAt=Fn.set(g,D)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir?t._startAt.revert(sh):t._startAt.render(-1,!0)),t._zTime=n,!a)e(t._startAt,ln,ln);else if(!n)return}for(t._pt=t._ptCache=0,l=h&&Yr(l)||l&&!h,E=0;E<g.length;E++){if(x=g[E],A=x._gsap||I1(g)[E]._gsap,t._ptLookup[E]=pe={},Db[A.id]&&ya.length&&Wh(),G=y===g?E:y.indexOf(x),V&&(re=new V).init(x,K||C,t,G,y)!==!1&&(t._pt=T=new Qr(t._pt,x,re.name,0,1,re.render,re,0,re.priority),re._props.forEach(function(be){pe[be]=T}),re.priority&&(O=1)),!V||K)for(D in C)uo[D]&&(re=wR(D,C,t,G,x,y))?re.priority&&(O=1):pe[D]=T=M1.call(t,x,D,"get",C[D],G,y,0,o.stringFilter);t._op&&t._op[E]&&t.kill(x,t._op[E]),w&&t._pt&&(ua=t,yn.killTweensOf(x,pe,t.globalTime(n)),z=!t.parent,ua=0),t._pt&&l&&(Db[A.id]=1)}O&&xR(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!z,p&&n<=0&&_.render(Bo,!0,!0)},vU=function(t,n,r,o,i,s,a,l){var u=(t._pt&&t._ptCache||(t._ptCache={}))[n],c,f,p,d;if(!u)for(u=t._ptCache[n]=[],p=t._ptLookup,d=t._targets.length;d--;){if(c=p[d][n],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==n&&c.fp!==n;)c=c._next;if(!c)return Rb=1,t.vars[n]="+=0",F1(t,a),Rb=0,l?md(n+" not eligible for reset. Try splitting into individual properties"):1;u.push(c)}for(d=u.length;d--;)f=u[d],c=f._pt||f,c.s=(o||o===0)&&!i?o:c.s+(o||0)+s*c.c,c.c=r-c.s,f.e&&(f.e=Tn(r)+hr(f.e)),f.b&&(f.b=c.s+hr(f.b))},gU=function(t,n){var r=t[0]?vl(t[0]).harness:0,o=r&&r.aliases,i,s,a,l;if(!o)return n;i=tc({},n);for(s in o)if(s in i)for(l=o[s].split(","),a=l.length;a--;)i[l[a]]=i[s];return i},yU=function(t,n,r,o){var i=n.ease||o||"power1.inOut",s,a;
6if(yr(n))a=r[t]||(r[t]=[]),n.forEach(function(l,u){return a.push({t:u/(n.length-1)*100,v:l,e:i})});else for(s in n)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:n[s],e:i})},Ff=function(t,n,r,o,i){return Cn(t)?t.call(n,r,o,i):Zn(t)&&~t.indexOf("random(")?gd(t):t},kR=R1+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",ER={};Xr(kR+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return ER[e]=1});var Fn=(function(e){HP(t,e);function t(r,o,i,s){var a;typeof o=="number"&&(i.duration=o,o=i,i=null),a=e.call(this,s?o:$f(o))||this;var l=a.vars,u=l.duration,c=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,h=l.keyframes,v=l.defaults,g=l.scrollTrigger,b=o.parent||yn,y=(yr(r)||zP(r)?$s(r[0]):"length"in o)?[r]:jo(r),w,_,k,C,E,D,T,x;if(a._targets=y.length?I1(y):md("GSAP target "+r+" not found. https://gsap.com",!bo.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,h||p||wp(u)||wp(c)){o=a.vars;var O=o.easeReverse||o.yoyoEase;if(w=a.timeline=new Wr({data:"nested",defaults:v||{},targets:b&&b.data==="nested"?b.vars.targets:y}),w.kill(),w.parent=w._dp=ls(a),w._start=0,p||wp(u)||wp(c)){if(C=y.length,T=p&&uR(p),Vi(p))for(E in p)~kR.indexOf(E)&&(x||(x={}),x[E]=p[E]);for(_=0;_<C;_++)k=zh(o,ER),k.stagger=0,O&&(k.easeReverse=O),x&&tc(k,x),D=y[_],k.duration=+Ff(u,ls(a),_,D,y),k.delay=(+Ff(c,ls(a),_,D,y)||0)-a._delay,!p&&C===1&&k.delay&&(a._delay=c=k.delay,a._start+=c,k.delay=0),w.to(D,k,T?T(_,D,y):0),w._ease=jt.none;w.duration()?u=c=0:a.timeline=0}else if(h){$f(So(w.vars.defaults,{ease:"none"})),w._ease=yl(h.ease||o.ease||"none");var A=0,V,re,pe;if(yr(h))h.forEach(function(G){return w.to(y,G,">")}),w.duration();else{k={};for(E in h)E==="ease"||E==="easeEach"||yU(E,h[E],k,h.easeEach);for(E in k)for(V=k[E].sort(function(G,K){return G.t-K.t}),A=0,_=0;_<V.length;_++)re=V[_],pe={ease:re.e,duration:(re.t-(_?V[_-1].t:0))/100*u},pe[E]=re.v,w.to(y,pe,A),A+=pe.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||a.duration(u=w.duration())}else a.timeline=0;return d===!0&&!D1&&(ua=ls(a),yn.killTweensOf(y),ua=0),Pi(b,ls(a),i),o.reversed&&a.reverse(),o.paused&&a.paused(!0),(f||!u&&!h&&a._start===gn(b._time)&&Yr(f)&&G4(ls(a))&&b.data!=="nested")&&(a._tTime=-ln,a.render(Math.max(0,-c)||0)),g&&iR(ls(a),g),a}var n=t.prototype;return n.render=function(o,i,s){var a=this._time,l=this._tDur,u=this._dur,c=o<0,f=o>l-ln&&!c?l:o<ln?0:o,p,d,h,v,g,b,y,w;if(!u)X4(this,o,i,s);else if(f!==this._tTime||!o||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=f,w=this.timeline,this._repeat){if(v=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(v*100+o,i,s);if(p=gn(f%v),f===l?(h=this._repeat,p=u):(g=gn(f/v),h=~~g,h&&h===g?(p=u,h--):p>u&&(p=u)),b=this._yoyo&&h&1,b&&(p=u-p),g=nc(this._tTime,v),p===a&&!s&&this._initted&&h===g)return this._tTime=f,this;h!==g&&this.vars.repeatRefresh&&!b&&!this._lock&&p!==v&&this._initted&&(this._lock=s=1,this.render(gn(v*h),!0).invalidate()._lock=0)}if(!this._initted){if(sR(this,c?o:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&h!==g))return this;if(u!==this._dur)return this.render(o,i,s)}if(this._rEase){var _=p<a;if(_!==this._inv){var k=_?a:u-a;this._inv=_,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=k?(_?-1:1)/k:0,this._invScale=_?-this.ratio:1-this.ratio,this._invEase=_?this._rEase:this._ease}this.ratio=y=this._invRatio+this._invScale*this._invEase((p-this._invTime)*this._invRecip)}else this.ratio=y=this._ease(p/u);if(this._from&&(this.ratio=y=1-y),this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&f&&!i&&!g&&(go(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(y,d.d),d=d._next;w&&w.render(o<0?o:w._dur*w._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(c&&xb(this,o,i,s),go(this,"onUpdate")),this._repeat&&h!==g&&this.vars.onRepeat&&!i&&this.parent&&go(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&xb(this,o,!0,!0),(o||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Da(this,1),!i&&!(c&&!a)&&(f||a||b)&&(go(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),e.prototype.invalidate.call(this,o)},n.resetTo=function(o,i,s,a,l){yd||mo.wake(),this._ts||this.play();
6var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||F1(this,u),c=this._ease(u/this._dur),vU(this,o,i,s,a,c,u,l)?this.resetTo(o,i,s,a,1):(cv(this,0),this.parent||rR(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?af(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ir),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,ua&&ua.vars.overwrite!==!0)._first||af(this),this.parent&&s!==this.timeline.totalDuration()&&rc(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=o?jo(o):a,u=this._ptLookup,c=this._pt,f,p,d,h,v,g,b;if((!i||i==="all")&&z4(a,l))return i==="all"&&(this._pt=0),af(this);for(f=this._op=this._op||[],i!=="all"&&(Zn(i)&&(v={},Xr(i,function(y){return v[y]=1}),i=v),i=gU(a,i)),b=a.length;b--;)if(~l.indexOf(a[b])){p=u[b],i==="all"?(f[b]=i,h=p,d={}):(d=f[b]=f[b]||{},h=i);for(v in h)g=p&&p[v],g&&((!("kill"in g.d)||g.d.kill(v)===!0)&&lv(this,g,"_pt"),delete p[v]),d!=="all"&&(d[v]=1)}return this._initted&&!this._pt&&c&&af(this),this},t.to=function(o,i){return new t(o,i,arguments[2])},t.from=function(o,i){return Mf(1,arguments)},t.delayedCall=function(o,i,s,a){return new t(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(o,i,s){return Mf(2,arguments)},t.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new t(o,i)},t.killTweensOf=function(o,i,s){return yn.killTweensOf(o,i,s)},t})(_d);So(Fn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Xr("staggerTo,staggerFrom,staggerFromTo",function(e){Fn[e]=function(){var t=new Wr,n=Ab.call(arguments,0);return n.splice(e==="staggerFromTo"?5:4,0,0),t[e].apply(t,n)}});var L1=function(t,n,r){return t[n]=r},SR=function(t,n,r){return t[n](r)},_U=function(t,n,r,o){return t[n](o.fp,r)},bU=function(t,n,r){return t.setAttribute(n,r)},N1=function(t,n){return Cn(t[n])?SR:x1(t[n])&&t.setAttribute?bU:L1},CR=function(t,n){return n.set(n.t,n.p,Math.round((n.s+n.c*t)*1e6)/1e6,n)},wU=function(t,n){return n.set(n.t,n.p,!!(n.s+n.c*t),n)},DR=function(t,n){var r=n._pt,o="";if(!t&&n.b)o=n.b;else if(t===1&&n.e)o=n.e;else{for(;r;)o=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+o,r=r._next;o+=n.c}n.set(n.t,n.p,o,n)},B1=function(t,n){for(var r=n._pt;r;)r.r(t,r.d),r=r._next},kU=function(t,n,r,o){for(var i=this._pt,s;i;)s=i._next,i.p===o&&i.modifier(t,n,r),i=s},EU=function(t){for(var n=this._pt,r,o;n;)o=n._next,n.p===t&&!n.op||n.op===t?lv(this,n,"_pt"):n.dep||(r=1),n=o;return!r},SU=function(t,n,r,o){o.mSet(t,n,o.m.call(o.tween,r,o.mt),o)},xR=function(t){for(var n=t._pt,r,o,i,s;n;){for(r=n._next,o=i;o&&o.pr>n.pr;)o=o._next;(n._prev=o?o._prev:s)?n._prev._next=n:i=n,(n._next=o)?o._prev=n:s=n,n=r}t._pt=i},Qr=(function(){function e(n,r,o,i,s,a,l,u,c){this.t=r,this.s=i,this.c=s,this.p=o,this.r=a||CR,this.d=l||this,this.set=u||L1,this.pr=c||0,this._next=n,n&&(n._prev=this)}var t=e.prototype;return t.modifier=function(r,o,i){this.mSet=this.mSet||this.set,this.set=SU,this.m=r,this.mt=i,this.tween=o},e})();Xr(R1+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(e){return P1[e]=1});Eo.TweenMax=Eo.TweenLite=Fn;Eo.TimelineLite=Eo.TimelineMax=Wr;yn=new Wr({sortChildren:!1,defaults:hd,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});bo.stringFilter=yR;var _l=[],lh={},CU=[],gS=0,DU=0,xg=function(t){return(lh[t]||CU).map(function(n){return n()})},Ib=function(){var t=Date.now(),n=[];t-gS>2&&(xg("matchMediaInit"),_l.forEach(function(r){var o=r.queries,i=r.conditions,s,a,l,u;for(a in o)s=Ti.matchMedia(o[a]).matches,s&&(l=1),s!==i[a]&&(i[a]=s,u=1);u&&(r.revert(),l&&n.push(r))}),xg("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(o){return r.add(null,o)})}),gS=t,xg("matchMedia"))},TR=(function(){function e(n,r){this.selector=r&&Ob(r),this.data=[],this._r=[],this.isReverted=!1,this.id=DU++,n&&this.add(n)}var t=e.prototype;return t.add=function(r,o,i){Cn(r)&&(i=o,o=r,r=Cn);var s=this,a=function(){var u=hn,c=s.selector,f;return u&&u!==s&&u.data.push(s),i&&(s.selector=Ob(i)),hn=s,f=o.apply(s,arguments),Cn(f)&&s._r.push(f),hn=u,s.selector=c,s.isReverted=!1,f};return s.last=a,r===Cn?a(s,function(l){return s.add(null,l)}):r?s[r]=a:a},t.ignore=function(r){var o=hn;hn=null,r(this),hn=o},t.getTweens=function(){var r=[];return this.data.forEach(function(o){return o instanceof e?r.push.apply(r,o.getTweens()):o instanceof Fn&&!(o.parent&&o.parent.data==="nested")&&r.push(o)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,o){var i=this;if(r?(function(){for(var a=i.getTweens(),l=i.data.length,u;l--;)u=i.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEac
6h(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=i.data.length;l--;)u=i.data[l],u instanceof Wr?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Fn)&&u.revert&&u.revert(r);i._r.forEach(function(c){return c(r,i)}),i.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),o)for(var s=_l.length;s--;)_l[s].id===this.id&&_l.splice(s,1)},t.revert=function(r){this.kill(r||{})},e})(),xU=(function(){function e(n){this.contexts=[],this.scope=n,hn&&hn.data.push(this)}var t=e.prototype;return t.add=function(r,o,i){Vi(r)||(r={matches:r});var s=new TR(0,i||this.scope),a=s.conditions={},l,u,c;hn&&!s.selector&&(s.selector=hn.selector),this.contexts.push(s),o=s.add("onMatch",o),s.queries=r;for(u in r)u==="all"?c=1:(l=Ti.matchMedia(r[u]),l&&(_l.indexOf(s)<0&&_l.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(Ib):l.addEventListener("change",Ib)));return c&&o(s,function(f){return s.add(null,f)}),this},t.revert=function(r){this.kill(r||{})}
6,t.kill=function(r){this.contexts.forEach(function(o){return o.kill(r,!0)})},e})(),Gh={registerPlugin:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.forEach(function(o){return mR(o)})},timeline:function(t){return new Wr(t)},getTweensOf:function(t,n){return yn.getTweensOf(t,n)},getProperty:function(t,n,r,o){Zn(t)&&(t=jo(t)[0]);var i=vl(t||{}).get,s=r?nR:tR;return r==="native"&&(r=""),t&&(n?s((uo[n]&&uo[n].get||i)(t,n,r,o)):function(a,l,u){return s((uo[a]&&uo[a].get||i)(t,a,l,u))})},quickSetter:function(t,n,r){if(t=jo(t),t.length>1){var o=t.map(function(c){return eo.quickSetter(c,n,r)}),i=o.length;return function(c){for(var f=i;f--;)o[f](c)}}t=t[0]||{};var s=uo[n],a=vl(t),l=a.harness&&(a.harness.aliases||{})[n]||n,u=s?function(c){var f=new s;hu._pt=0,f.init(t,r?c+r:c,hu,0,[t]),f.render(1,f),hu._pt&&B1(1,hu)}:a.set(t,l);return s?u:function(c){return u(t,l,r?c+r:c,a,1)}},quickTo:function(t,n,r){var o,i=eo.to(t,So((o={},o[n]="+=0.1",o.paused=!0,o.stagger=0,o),r||{})),s=function(l,u,c){return i.resetTo(n,l,u,c)};return s.tween=i,s},isTweening:function(t){return yn.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=yl(t.ease,hd.ease)),dS(hd,t||{})},config:function(t){return dS(bo,t||{})},registerEffect:function(t){var n=t.name,r=t.effect,o=t.plugins,i=t.defaults,s=t.extendTimeline;(o||"").split(",").forEach(function(a){return a&&!uo[a]&&!Eo[a]&&md(n+" effect requires "+a+" plugin.")}),Eg[n]=function(a,l,u){return r(jo(a),So(l||{},i),u)},s&&(Wr.prototype[n]=function(a,l,u){return this.add(Eg[n](a,Vi(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,n){jt[t]=yl(n)},parseEase:function(t,n){return arguments.length?yl(t,n):jt},getById:function(t){return yn.getById(t)},exportRoot:function(t,n){t===void 0&&(t={});var r=new Wr(t),o,i;for(r.smoothChildTiming=Yr(t.smoothChildTiming),yn.remove(r),r._dp=0,r._time=r._tTime=yn._time,o=yn._first;o;)i=o._next,(n||!(!o._dur&&o instanceof Fn&&o.vars.onComplete===o._targets[0]))&&Pi(r,o,o._start-o._delay),o=i;return Pi(yn,r,0),r},context:function(t,n){return t?new TR(t,n):hn},matchMedia:function(t){return new xU(t)},matchMediaRefresh:function(){return _l.forEach(function(t){var n=t.conditions,r,o;for(o in n)n[o]&&(n[o]=!1,r=1);r&&t.revert()})||Ib()},addEventListener:function(t,n){var r=lh[t]||(lh[t]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(t,n){var r=lh[t],o=r&&r.indexOf(n);o>=0&&r.splice(o,1)},utils:{wrap:oU,wrapYoyo:iU,distribute:uR,random:fR,snap:cR,normalize:rU,getUnit:hr,clamp:J4,splitColor:vR,toArray:jo,selector:Ob,mapRange:pR,pipe:tU,unitize:nU,interpolate:sU,shuffle:lR},install:XP,effects:Eg,ticker:mo,updateRoot:Wr.updateRoot,plugins:uo,globalTimeline:yn,core:{PropTween:Qr,globals:QP,Tween:Fn,Timeline:Wr,Animation:_d,getCache:vl,_removeLinkedListItem:lv,reverting:function(){return ir},context:function(t){return t&&hn&&(hn.data.push(t),t._ctx=hn),hn},suppressOverwrites:function(t){return D1=t}}};Xr("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Gh[e]=Fn[e]});mo.add(Wr.updateRoot);hu=Gh.to({},{duration:0});var TU=function(t,n){for(var r=t._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},AU=function(t,n){var r=t._targets,o,i,s;for(o in n)for(i=r.length;i--;)s=t._ptLookup[i][o],s&&(s=s.d)&&(s._pt&&(s=TU(s,o)),s&&s.modifier&&s.modifier(n[o],t,r[i],o))},Tg=function(t,n){return{name:t,headless:1,rawVars:1,init:function(o,i,s){s._onInit=function(a){var l,u;if(Zn(i)&&(l={},Xr(i,function(c){return l[c]=1}),i=l),n){l={};for(u in i)l[u]=n(i[u]);i=l}AU(a,i)}}}},eo=Gh.registerPlugin({name:"attr",init:function(t,n,r,o,i){var s,a,l;this.tween=r;for(s in n)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",n[s],o,i,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,n){for(var r=n._pt;r;)ir?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,n){for(var r=n.length;r--;)this.add(t,r,t[r]||0,n[r],0,0,0,0,0,1)}},Tg("roundProps",Pb),Tg("modifiers"),Tg("snap",cR))||Gh;Fn.version=Wr.version=eo.version="3.15.0";YP=1;T1()&&oc();jt.Power0;jt.Power1;jt.Power2;jt.Power3;jt.Power4;jt.Linear;jt.Quad;jt.Cubic;jt.Quart;jt.Quint;jt.Strong;jt.Elastic;jt.Back;jt.SteppedEase;jt.Bounce;jt.Sine;jt.Expo;jt.Circ;var yS,ca,Ru,j1,al,_S,q1,OU=function(){return typeof window<"u"},Ms={},tl=180/Math.PI,Iu=Math.PI/180,Ql=Math.atan2,bS=1e8,V1=/([A-Z])/g,PU=/(left|right|width|margin|padding|x)/i,RU=/[\s,\(]\S/,Ii={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$b=function(t,n){return n.set(n.t,n.p,Math.round((n.s+n.c*t)*1e4)/1e4+n.u,n)},IU=function(t,n){return n.set(n.t,n.p,t===1?n.e:Math.round((n.s+n.c*t)*1e4)/1e4+n.u,n)},$U=function(t,n){return n.set(n.t,n.p,t?Math.round((n.s+n.c*t)*1e4)/1e4+n.u:n.b,n)},MU=function(t,n){return n.set(n.t,n.p,t===1?n.e:t?Math.round((n.s+n.c*t)*1e4)/1e4+n.u:n.b,n)},FU=function(t,n){var r=n.s+n.c*t;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},AR=function(t,n){return n.set(n.t,n.p,t?n.e:n.b,n)},OR=function(t,n){return n.set(n.t,n.p,t!==1?n.b:n.e,n)},LU=function(t,n,r){return t.style[n]=r},NU=function(t,n,r){return t.style.setProperty(n,r)},BU=function(t,n,r){return t._gsap[n]=r},jU=function(t,n,r){return t._gsap.scaleX=t._gsap.scaleY=r},qU=function(t,n,r,o,i){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},VU=function(t,n,r,o,i){var s=t._gsap;s[n]=r,s.renderTransform(i,s)},wn="transform",Zr=wn+"Origin",UU=function e(t,n){var r=this,o=this.target,i=o.style,s=o._gsap;if(t in Ms&&i){if(this.tfm=this.tfm||{},t!=="transform")t=Ii[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return r.tfm[a]=fs(o,a)}):this.tfm[t]=s.x?s[t]:fs(o,t),t===Zr&&(this.tfm.zOrigin=s.zOrigin);else return Ii.transform.split(",").forEach(function(a){return e.call(r,a,n)});if(this.props.indexOf(wn)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(Zr,n,"")),t=wn}(i||n)&&this.props.push(t,n,i[t])},PR=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},HU=function(){var t=this.props,n=this.target,r=n.style,o=n._gsap,i,s;for(i=0;i<t.length;i+=3)t[i+1]?t[i+1]===2?n[t[i]](t[i+2]):n[t[i]]=t[i+2]:t[i+2]?r[t[i]]=t[i+2]:r.removeProperty(t[i].substr(0,2)==="--"?t[i]:t[i].replace(V1,"-$
61").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];o.svg&&(o.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=q1(),(!i||!i.isStart)&&!r[wn]&&(PR(r),o.zOrigin&&r[Zr]&&(r[Zr]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},RR=function(t,n){var r={target:t,props:[],revert:HU,save:UU};return t._gsap||eo.core.getCache(t),n&&t.style&&t.nodeType&&n.split(",").forEach(function(o){return r.save(o)}),r},IR,Mb=function(t,n){var r=ca.createElementNS?ca.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ca.createElement(t);return r&&r.style?r:ca.createElement(t)},yo=function e(t,n,r){var o=getComputedStyle(t);return o[n]||o.getPropertyValue(n.replace(V1,"-$1").toLowerCase())||o.getPropertyValue(n)||!r&&e(t,ic(n)||n,1)||""},wS="O,Moz,ms,Ms,Webkit".split(","),ic=function(t,n,r){var o=n||al,i=o.style,s=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(wS[s]+t in i););return s<0?null:(s===3?"ms":s>=0?wS[s]:"")+t},Fb=function(){OU()&&window.document&&(yS=window,ca=yS.document,Ru=ca.documentElement,al=Mb("div")||{style:{}},Mb("div"),wn=ic(wn),Zr=wn+"Origin",al.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",IR=!!ic("perspective"),q1=eo.core.reverting,j1=1)},kS=function(t){var n=t.ownerSVGElement,r=Mb("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=t.cloneNode(!0),i;o.style.display="block",r.appendChild(o),Ru.appendChild(r);try{i=o.getBBox()}catch{}return r.removeChild(o),Ru.removeChild(r),i},ES=function(t,n){for(var r=n.length;r--;)if(t.hasAttribute(n[r]))return t.getAttribute(n[r])},$R=function(t){var n,r;try{n=t.getBBox()}catch{n=kS(t),r=1}return n&&(n.width||n.height)||r||(n=kS(t)),n&&!n.width&&!n.x&&!n.y?{x:+ES(t,["x","cx","x1"])||0,y:+ES(t,["y","cy","y1"])||0,width:0,height:0}:n},MR=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&$R(t))},xa=function(t,n){if(n){var r=t.style,o;
6n in Ms&&n!==Zr&&(n=wn),r.removeProperty?(o=n.substr(0,2),(o==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(o==="--"?n:n.replace(V1,"-$1").toLowerCase())):r.removeAttribute(n)}},fa=function(t,n,r,o,i,s){var a=new Qr(t._pt,n,r,0,1,s?OR:AR);return t._pt=a,a.b=o,a.e=i,t._props.push(r),a},SS={deg:1,rad:1,turn:1},WU={grid:1,flex:1},Ta=function e(t,n,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=al.style,l=PU.test(n),u=t.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,p=o==="px",d=o==="%",h,v,g,b;if(o===s||!i||SS[o]||SS[s])return i;if(s!=="px"&&!p&&(i=e(t,n,r,"px")),b=t.getCTM&&MR(t),(d||s==="%")&&(Ms[n]||~n.indexOf("adius")))return h=b?t.getBBox()[l?"width":"height"]:t[c],Tn(d?i/h*f:i/100*h);if(a[l?"width":"height"]=f+(p?s:o),v=o!=="rem"&&~n.indexOf("adius")||o==="em"&&t.appendChild&&!u?t:t.parentNode,b&&(v=(t.ownerSVGElement||{}).parentNode),(!v||v===ca||!v.appendChild)&&(v=ca.body),g=v._gsap,g&&d&&g.width&&l&&g.time===mo.time&&!g.uncache)return Tn(i/g.width*f);if(d&&(n==="height"||n==="width")){var y=t.style[n];t.style[n]=f+o,h=t[c],y?t.style[n]=y:xa(t,n)}else(d||s==="%")&&!WU[yo(v,"display")]&&(a.position=yo(t,"position")),v===t&&(a.position="static"),v.appendChild(al),h=al[c],v.removeChild(al),a.position="absolute";return l&&d&&(g=vl(v),g.time=mo.time,g.width=v[c]),Tn(p?h*i/f:h&&i?f/h*i:0)},fs=function(t,n,r,o){var i;return j1||Fb(),n in Ii&&n!=="transform"&&(n=Ii[n],~n.indexOf(",")&&(n=n.split(",")[0])),Ms[n]&&n!=="transform"?(i=wd(t,o),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:Xh(yo(t,Zr))+" "+i.zOrigin+"px"):(i=t.style[n],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=Yh[n]&&Yh[n](t,n,r)||yo(t,n)||JP(t,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Ta(t,n,i,r)+r:i},zU=function(t,n,r,o){if(!r||r==="none"){var i=ic(n,t,1),s=i&&yo(t,i,1);s&&s!==r?(n=i,r=s):n==="borderColor"&&(r=yo(t,"borderTopColor"))}var a=new Qr(this._pt,t.style,n,0,1,DR),l=0,u=0,c,f,p,d,h,v,g,b,y,w,_,k;if(a.b=r,a.e=o,r+="",o+="",o.substring(0,6)==="var(--"&&(o=yo(t,o.substring(4,o.indexOf(")")))),o==="auto"&&(v=t.style[n],t.style[n]=o,o=yo(t,n)||o,v?t.style[n]=v:xa(t,n)),c=[r,o],yR(c),r=c[0],o=c[1],p=r.match(pu)||[],k=o.match(pu)||[],k.length){for(;f=pu.exec(o);)g=f[0],y=o.substring(l,f.index),h?h=(h+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(h=1),g!==(v=p[u++]||"")&&(d=parseFloat(v)||0,_=v.substr((d+"").length),g.charAt(1)==="="&&(g=Pu(d,g)+_),b=parseFloat(g),w=g.substr((b+"").length),l=pu.lastIndex-w.length,w||(w=w||bo.units[n]||_,l===o.length&&(o+=w,a.e+=w)),_!==w&&(d=Ta(t,n,v,w)||0),a._pt={_next:a._pt,p:y||u===1?y:",",s:d,c:b-d,m:h&&h<4||n==="zIndex"?Math.round:0});a.c=l<o.length?o.substring(l,o.length):""}else a.r=n==="display"&&o==="none"?OR:AR;return GP.test(o)&&(a.e=0),this._pt=a,a},CS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},KU=function(t){var n=t.split(" "),r=n[0],o=n[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(t=r,r=o,o=t),n[0]=CS[r]||r,n[1]=CS[o]||o,n.join(" ")},GU=function(t,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,o=r.style,i=n.u,s=r._gsap,a,l,u;if(i==="all"||i===!0)o.cssText="",l=1;else for(i=i.split(","),u=i.length;--u>-1;)a=i[u],Ms[a]&&(l=1,a=a==="transformOrigin"?Zr:wn),xa(r,a);l&&(xa(r,wn),s&&(s.svg&&r.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",wd(r,1),s.uncache=1,PR(o)))}},Yh={clearProps:function(t,n,r,o,i){if(i.data!=="isFromStart"){var s=t._pt=new Qr(t._pt,n,r,0,0,GU);return s.u=o,s.pr=-10,s.tween=i,t._props.push(r),1}}},bd=[1,0,0,1,0,0],FR={},LR=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},DS=function(t){var n=yo(t,wn);return LR(n)?bd:n.substr(7).match(KP).map(Tn)},U1=function(t,n){var r=t._gsap||vl(t),o=t.style,i=DS(t),s,a,l,u;return r.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?bd:i):(i===bd&&!t.offsetParent&&t!==Ru&&!r.svg&&(l=o.display,o.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,a=t.nextElementSibling,Ru.appendChild(t)),i=DS(t),l?o.display=l:xa(t,"display"),u&&(a?s.insertBefore(t,a):s?s.appendChild(t):Ru.removeChild(t))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Lb=function(t,n,r,o,i,s){var a=t._gsap,l=i||U1(t,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],h=l[1],v=l[2],g=l[3],b=l[4],y=l[5],w=n.split(" "),_=parseFloat(w[0])||0,k=parseFloat(w[1])||0,C,E,D,T;r?l!==bd&&(E=d*g-h*v)&&(D=_*(g/E)+k*(-v/E)+(v*y-g*b)/E,T=_*(-h/E)+k*(d/E)-(d*y-h*b)/E,_=D,k=T):(C=$R(t),_=C.x+(~w[0].indexOf("%")?_/100*C.width:_),k=C.y+(~(w[1]||w[0]).indexOf("%")?k/100*C.height:k)),o||o!==!1&&a.smooth?(b=_-u,y=k-c,a.xOffset=f+(b*d+y*v)-b,a.yOffset=p+(b*h+y*g)-y):a.xOffset=a.yOffset=0,a.xOrigin=_,a.yOrigin=k,a.smooth=!!o,a.origin=n,a.originIsAbsolute=!!r,t.style[Zr]="0px 0px",s&&(fa(s,a,"xOrigin",u,_),fa(s,a,"yOrigin",c,k),fa(s,a,"xOffset",f,a.xOffset),fa(s,a,"yOffset",p,a.yOffset)),t.setAttribute("data-svg-origin",_+" "+k)},wd=function(t,n){var r=t._gsap||new bR(t);if("x"in r&&!n&&!r.uncache)return r;var o=t.style,i=r.scaleX<0,s="px",a="deg",l=getComputedStyle(t),u=yo(t,Zr)||"0",c,f,p,d,h,v,g,b,y,w,_,k,C,E,D,T,x,O,A,V,re,pe,G,K,z,be,X,Fe,Ve,tt,Be,ut;return c=f=p=v=g=b=y=w=_=0,d=h=1,r.svg=!!(t.getCTM&&MR(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(o[wn]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[wn]!=="none"?l[wn]:"")),o.scale=o.rotate=o.translate="none"),E=U1(t,r.svg),r.svg&&(r.uncache?(z=t.getBBox(),u=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",K=""):K=!n&&t.getAttribute("data-svg-origin"),Lb(t,K||u,!!K||r.originIsAbsolute,r.smooth!==!1,E)),k=r.xOrigin||0,C=r.yOrigin||0,E!==bd&&(O=E[0],A=E[1],V=E[2],re=E[3],c=pe=E[4],f=G=E[5],E.length===6?(d=Math.sqrt(O*O+A*A),h=Math.sqrt(re*re+V*V),v=O||A?Ql(A,O)*tl:0,y=V||re?Ql(V,re)*tl+v:0,y&&(h*=Math.abs(Math.cos(y*Iu))),r.svg&&(c-=k-(k*O+C*V),f-=C-(k*A+C*re))):(ut=E[6],tt=E[7],X=E[8],Fe=E[9],
6Ve=E[10],Be=E[11],c=E[12],f=E[13],p=E[14],D=Ql(ut,Ve),g=D*tl,D&&(T=Math.cos(-D),x=Math.sin(-D),K=pe*T+X*x,z=G*T+Fe*x,be=ut*T+Ve*x,X=pe*-x+X*T,Fe=G*-x+Fe*T,Ve=ut*-x+Ve*T,Be=tt*-x+Be*T,pe=K,G=z,ut=be),D=Ql(-V,Ve),b=D*tl,D&&(T=Math.cos(-D),x=Math.sin(-D),K=O*T-X*x,z=A*T-Fe*x,be=V*T-Ve*x,Be=re*x+Be*T,O=K,A=z,V=be),D=Ql(A,O),v=D*tl,D&&(T=Math.cos(D),x=Math.sin(D),K=O*T+A*x,z=pe*T+G*x,A=A*T-O*x,G=G*T-pe*x,O=K,pe=z),g&&Math.abs(g)+Math.abs(v)>359.9&&(g=v=0,b=180-b),d=Tn(Math.sqrt(O*O+A*A+V*V)),h=Tn(Math.sqrt(G*G+ut*ut)),D=Ql(pe,G),y=Math.abs(D)>2e-4?D*tl:0,_=Be?1/(Be<0?-Be:Be):0),r.svg&&(K=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!LR(yo(t,wn)),K&&t.setAttribute("transform",K))),Math.abs(y)>90&&Math.abs(y)<270&&(i?(d*=-1,y+=v<=0?180:-180,v+=v<=0?180:-180):(h*=-1,y+=y<=0?180:-180)),n=n||r.uncache,r.x=c-((r.xPercent=c&&(!n&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-f)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Tn(d),r.scaleY=Tn(h),r.rotation=Tn(v)+a,r.rotationX=Tn(g)+a,r.rotationY=Tn(b)+a,r.skewX=y+a,r.skewY=w+a,r.transformPerspective=_+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(o[Zr]=Xh(u)),r.xOffset=r.yOffset=0,r.force3D=bo.force3D,r.renderTransform=r.svg?XU:IR?NR:YU,r.uncache=0,r},Xh=function(t){return(t=t.split(" "))[0]+" "+t[1]},Ag=function(t,n,r){var o=hr(n);return Tn(parseFloat(n)+parseFloat(Ta(t,"x",r+"px",o)))+o},YU=function(t,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,NR(t,n)},Ya="0deg",Hc="0px",Xa=") ",NR=function(t,n){var r=n||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,h=r.scaleX,v=r.scaleY,g=r.transformPerspective,b=r.force3D,y=r.target,w=r.zOrigin,_="",k=b==="auto"&&t&&t!==1||b===!0;if(w&&(f!==Ya||c!==Ya)){var C=parseFloat(c)*Iu,E=Math.sin(C),D=Math.cos(C),T;C=parseFloat(f)*Iu,T=Math.cos(C),s=Ag(y,s,E*T*-w),a=Ag(y,a,-Math.sin(C)*-w),l=Ag(y,l,D*T*-w+w)}g!==Hc&&(_+="perspective("+g+Xa),(o||i)&&(_+="translate("+o+"%, "+i+"%) "),(k||s!==Hc||a!==Hc||l!==Hc)&&(_+=l!==Hc||k?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Xa),u!==Ya&&(_+="rotate("+u+Xa),c!==Ya&&(_+="rotateY("+c+Xa),f!==Ya&&(_+="rotateX("+f+Xa),(p!==Ya||d!==Ya)&&(_+="skew("+p+", "+d+Xa),(h!==1||v!==1)&&(_+="scale("+h+", "+v+Xa),y.style[wn]=_||"translate(0, 0)"},XU=function(t,n){var r=n||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,h=r.xOrigin,v=r.yOrigin,g=r.xOffset,b=r.yOffset,y=r.forceCSS,w=parseFloat(s),_=parseFloat(a),k,C,E,D,T;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Iu,u*=Iu,k=Math.cos(l)*f,C=Math.sin(l)*f,E=Math.sin(l-u)*-p,D=Math.cos(l-u)*p,u&&(c*=Iu,T=Math.tan(u-c),T=Math.sqrt(1+T*T),E*=T,D*=T,c&&(T=Math.tan(c),T=Math.sqrt(1+T*T),k*=T,C*=T)),k=Tn(k),C=Tn(C),E=Tn(E),D=Tn(D)):(k=f,D=p,C=E=0),(w&&!~(s+"").indexOf("px")||_&&!~(a+"").indexOf("px"))&&(w=Ta(d,"x",s,"px"),_=Ta(d,"y",a,"px")),(h||v||g||b)&&(w=Tn(w+h-(h*k+v*E)+g),_=Tn(_+v-(h*C+v*D)+b)),(o||i)&&(T=d.getBBox(),w=Tn(w+o/100*T.width),_=Tn(_+i/100*T.height)),T="matrix("+k+","+C+","+E+","+D+","+w+","+_+")",d.setAttribute("transform",T),y&&(d.style[wn]=T)},QU=function(t,n,r,o,i){var s=360,a=Zn(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?tl:1),u=l-o,c=o+u+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),f==="cw"&&u<0?u=(u+s*bS)%s-~~(u/s)*s:f==="ccw"&&u>0&&(u=(u-s*bS)%s-~~(u/s)*s)),t._pt=p=new Qr(t._pt,n,r,o,u,IU),p.e=c,p.u="deg",t._props.push(r),p},xS=function(t,n){for(var r in n)t[r]=n[r];return t},ZU=function(t,n,r){var o=xS({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,l,u,c,f,p,d,h;o.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[wn]=n,a=wd(r,1),xa(r,wn),r.setAttribute("transform",u)):(u=getComputedStyle(r)[wn],s[wn]=n,a=wd(r,1),s[wn]=u);for(l in Ms)u=o[l],c=a[l],u!==c&&i.indexOf(l)<0&&(d=hr(u),h=hr(c),f=d!==h?Ta(r,l,u,h):parseFloat(u),p=parseFloat(c),t._pt=new Qr(t._pt,a,l,f,p-f,$b),t._pt.u=h||0,t._props.push(l));xS(a,o)};Xr("padding,margin,Width,Radius",function(e,t){var n="Top",r="Right",o="Bottom",i="Left",s=(t<3?[n,r,o,i]:[n+i,n+r,o+r,o+i]).map(function(a){return t<2?e+a:"border"+a+e});Yh[t>1?"border"+e:e]=function(a,l,u,c,f){var p,d;if(arguments.length<4)return p=s.map(function(h){return fs(a,h,u)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(c+"").split(" "),d={}
6,s.forEach(function(h,v){return d[h]=p[v]=p[v]||p[(v-1)/2|0]}),a.init(l,d,f)}});var BR={name:"css",register:Fb,targetTest:function(t){return t.style&&t.nodeType},init:function(t,n,r,o,i){var s=this._props,a=t.style,l=r.vars.startAt,u,c,f,p,d,h,v,g,b,y,w,_,k,C,E,D,T;j1||Fb(),this.styles=this.styles||RR(t),D=this.styles.props,this.tween=r;for(v in n)if(v!=="autoRound"&&(c=n[v],!(uo[v]&&wR(v,n,r,o,t,i)))){if(d=typeof c,h=Yh[v],d==="function"&&(c=c.call(r,o,t,i),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=gd(c)),h)h(this,t,v,c,r)&&(E=1);else if(v.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(v)+"").trim(),c+="",_a.lastIndex=0,_a.test(u)||(g=hr(u),b=hr(c),b?g!==b&&(u=Ta(t,v,u,b)+b):g&&(c+=g)),this.add(a,"setProperty",u,c,o,i,0,0,v),s.push(v),D.push(v,0,a[v]);else if(d!=="undefined"){if(l&&v in l?(u=typeof l[v]=="function"?l[v].call(r,o,t,i):l[v],Zn(u)&&~u.indexOf("random(")&&(u=gd(u)),hr(u+"")||u==="auto"||(u+=bo.units[v]||hr(fs(t,v))||""),(u+"").charAt(1)==="="&&(u=fs(t,v))):u=fs(t,v),p=parseFloat(u),y=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),y&&(c=c.substr(2)),f=parseFloat(c),v in Ii&&(v==="autoAlpha"&&(p===1&&fs(t,"visibility")==="hidden"&&f&&(p=0),D.push("visibility",0,a.visibility),fa(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),v!=="scale"&&v!=="transform"&&(v=Ii[v],~v.indexOf(",")&&(v=v.split(",")[0]))),w=v in Ms,w){if(this.styles.save(v),T=c,d==="string"&&c.substring(0,6)==="var(--"){if(c=yo(t,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var x=t.style.perspective;t.style.perspective=c,c=yo(t,"perspective"),x?t.style.perspective=x:xa(t,"perspective")}f=parseFloat(c)}if(_||(k=t._gsap,k.renderTransform&&!n.parseTransform||wd(t,n.parseTransform),C=n.smoothOrigin!==!1&&k.smooth,_=this._pt=new Qr(this._pt,a,wn,0,1,k.renderTransform,k,0,-1),_.dep=1),v==="scale")this._pt=new Qr(this._pt,k,"scaleY",k.scaleY,(y?Pu(k.scaleY,y+f):f)-k.scaleY||0,$b),this._pt.u=0,s.push("scaleY",v),v+="X";else if(v==="transformOrigin"){D.push(Zr,0,a[Zr]),c=KU(c),k.svg?Lb(t,c,0,C,0,this):(b=parseFloat(c.split(" ")[2])||0,b!==k.zOrigin&&fa(this,k,"zOrigin",k.zOrigin,b),fa(this,a,v,Xh(u),Xh(c)));continue}else if(v==="svgOrigin"){Lb(t,c,1,C,0,this);continue}else if(v in FR){QU(this,k,v,p,y?Pu(p,y+c):c);continue}else if(v==="smoothOrigin"){fa(this,k,"smooth",k.smooth,c);continue}else if(v==="force3D"){k[v]=c;continue}else if(v==="transform"){ZU(this,c,t);continue}}else v in a||(v=ic(v)||v);if(w||(f||f===0)&&(p||p===0)&&!RU.test(c)&&v in a)g=(u+"").substr((p+"").length),f||(f=0),b=hr(c)||(v in bo.units?bo.units[v]:g),g!==b&&(p=Ta(t,v,u,b)),this._pt=new Qr(this._pt,w?k:a,v,p,(y?Pu(p,y+f):f)-p,!w&&(b==="px"||v==="zIndex")&&n.autoRound!==!1?FU:$b),this._pt.u=b||0,w&&T!==c?(this._pt.b=u,this._pt.e=T,this._pt.r=MU):g!==b&&b!=="%"&&(this._pt.b=u,this._pt.r=$U);else if(v in a)zU.call(this,t,v,u,y?y+c:c);else if(v in t)this.add(t,v,u||t[v],y?y+c:c,o,i);else if(v!=="parseTransform"){O1(v,c);continue}w||(v in a?D.push(v,0,a[v]):typeof t[v]=="function"?D.push(v,2,t[v]()):D.push(v,1,u||t[v])),s.push(v)}}E&&xR(this)},render:function(t,n){if(n.tween._time||!q1())for(var r=n._pt;r;)r.r(t,r.d),r=r._next;else n.styles.revert()},get:fs,aliases:Ii,getSetter:function(t,n,r){var o=Ii[n];return o&&o.indexOf(",")<0&&(n=o),n in Ms&&n!==Zr&&(t._gsap.x||fs(t,"x"))?r&&_S===r?n==="scale"?jU:BU:(_S=r||{})&&(n==="scale"?qU:VU):t.style&&!x1(t.style[n])?LU:~n.indexOf("-")?NU:N1(t,n)},core:{_removeProperty:xa,_getMatrix:U1}};eo.utils.checkPrefix=ic;eo.core.getStyleSaver=RR;(function(e,t,n,r){var o=Xr(e+","+t+","+n,function(i){Ms[i]=1});Xr(t,function(i){bo.units[i]="deg",FR[i]=1}),Ii[o[13]]=e+","+t,Xr(r,function(i){var s=i.split(":");Ii[s[1]]=o[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Xr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){bo.units[e]="px"});eo.registerPlugin(BR);function JU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e5(e,t,n){return t&&JU(e.prototype,t),e}var or,uh,vo,da,pa,$u,jR,nl,Mu,qR,Es,Ko,VR,UR=function(){return or||typeof window<"u"&&(or=window.gsap)&&or.registerPlugin&&or},HR=1,mu=[],Tt=[],Bi=[],Lf=Date.now,Nb=function(t,n){return n},t5=function(){var t=Mu.core,n=t.bridge||{},r=t._scrollers,o=t._proxies;r.push.apply(r,Tt),o.push.apply(o,Bi),Tt=r,Bi=o,Nb=function(s,a){return n[s](a)}},ba=function(t,n){return~Bi.indexOf(t)&&Bi[Bi.indexOf(t)+1][n]},Nf=function(t){return!!~qR.indexOf(t)},Er=function(t,n,r,o,i){return t.addEventListener(n,r,{passive:o!==!1,capture:!!i})},wr=function(t,n,r,o){return t.removeEventListener(n,r,!!o)},kp="scrollLeft",Ep="scrollTop",Bb=function(){return Es&&Es.isPressed||Tt.cac
6he++},Qh=function(t,n){var r=function o(i){if(i||i===0){HR&&(vo.history.scrollRestoration="manual");var s=Es&&Es.isPressed;i=o.v=Math.round(i)||(Es&&Es.iOS?1:0),t(i),o.cacheID=Tt.cache,s&&Nb("ss",i)}else(n||Tt.cache!==o.cacheID||Nb("ref"))&&(o.cacheID=Tt.cache,o.v=t());return o.v+o.offset};return r.offset=0,t&&r},Pr={s:kp,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Qh(function(e){return arguments.length?vo.scrollTo(e,zn.sc()):vo.pageXOffset||da[kp]||pa[kp]||$u[kp]||0})},zn={s:Ep,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Pr,sc:Qh(function(e){return arguments.length?vo.scrollTo(Pr.sc(),e):vo.pageYOffset||da[Ep]||pa[Ep]||$u[Ep]||0})},Vr=function(t,n){return(n&&n._ctx&&n._ctx.selector||or.utils.toArray)(t)[0]||(typeof t=="string"&&or.config().nullTargetWarn!==!1?console.warn("Element not found:",t):null)},n5=function(t,n){for(var r=n.length;r--;)if(n[r]===t||n[r].contains(t))return!0;return!1},Aa=function(t,n){var r=n.s,o=n.sc;Nf(t)&&(t=da.scrollingElement||pa);var i=Tt.indexOf(t),s=o===zn.sc?1:2;!~i&&(i=Tt.push(t)-1),Tt[i+s]||Er(t,"scroll",Bb);var a=Tt[i+s],l=a||(Tt[i+s]=Qh(ba(t,r),!0)||(Nf(t)?o:Qh(function(u){return arguments.length?t[r]=u:t[r]})));return l.target=t,a||(l.smooth=or.getProperty(t,"scrollBehavior")==="smooth"),l},jb=function(t,n,r){var o=t,i=t,s=Lf(),a=s,l=n||50,u=Math.max(500,l*3),c=function(h,v){var g=Lf();v||g-s>l?(i=o,o=h,a=s,s=g):r?o+=h:o=i+(h-i)/(g-a)*(s-a)},f=function(){i=o=r?0:o,a=s=0},p=function(h){var v=a,g=i,b=Lf();return(h||h===0)&&h!==o&&c(h),s===a||b-a>u?0:(o+(r?g:-g))/((r?b:s)-v)*1e3};return{update:c,reset:f,getVelocity:p}},Wc=function(t,n){return n&&!t._gsapAllow&&t.cancelable!==!1&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},TS=function(t){var n=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(n)>=Math.abs(r)?n:r},WR=function(){Mu=or.core.globals().ScrollTrigger,Mu&&Mu.core&&t5()},zR=function(t){return or=t||UR(),!uh&&or&&typeof document<"u"&&document.body&&(vo=window,da=document,pa=da.documentElement,$u=da.body,qR=[vo,da,pa,$u],or.utils.clamp,VR=or.core.context||function(){},nl="onpointerenter"in $u?"pointer":"mouse",jR=An.isTouch=vo.matchMedia&&vo.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in vo||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ko=An.eventTypes=("ontouchstart"in pa?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in pa?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return HR=0},500),uh=1),Mu||WR(),uh};Pr.op=zn;Tt.cache=0;var An=(function(){function e(n){this.init(n)}var t=e.prototype;return t.init=function(r){uh||zR(or)||console.warn("Please gsap.registerPlugin(Observer)"),Mu||WR();var o=r.tolerance,i=r.dragMinimum,s=r.type,a=r.target,l=r.lineHeight,u=r.debounce,c=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,h=r.wheelSpeed,v=r.event,g=r.onDragStart,b=r.onDragEnd,y=r.onDrag,w=r.onPress,_=r.onRelease,k=r.onRight,C=r.onLeft,E=r.onUp,D=r.onDown,T=r.onChangeX,x=r.onChangeY,O=r.onChange,A=r.onToggleX,V=r.onToggleY,re=r.onHover,pe=r.onHoverEnd,G=r.onMove,K=r.ignoreCheck,z=r.isNormalizer,be=r.onGestureStart,X=r.onGestureEnd,Fe=r.onWheel,Ve=r.onEnable,tt=r.onDisable,Be=r.onClick,ut=r.scrollSpeed,ke=r.capture,F=r.allowClicks,le=r.lockAxis,se=r.onLockAxis;this.target=a=Vr(a)||pa,this.vars=r,d&&(d=or.utils.toArray(d)),o=o||1e-9,i=i||0,h=h||1,ut=ut||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(vo.getComputedStyle($u).lineHeight)||22);var he,Ee,Oe,M,B,Q,ve,q=this,$=0,j=0,ee=r.passive||!c&&r.passive!==!1,ae=Aa(a,Pr),de=Aa(a,zn),xe=ae(),Z=de(),ue=~s.indexOf("touch")&&!~s.indexOf("pointer")&&Ko[0]==="pointerdown",Re=Nf(a),Ne=a.ownerDocument||da,rt=[0,0,0],st=[0,0,0],ft=0,I=function(){return ft=Lf()},P=function(me,Pe){return(q.event=me)&&d&&n5(me.target,d)||Pe&&ue&&me.pointerType!=="touch"||K&&K(me,Pe)},Y=function(){q._vx.reset(),q._vy.reset(),Ee.pause(),f&&f(q)},fe=function(){var me=q.deltaX=TS(rt),Pe=q.deltaY=TS(st),ye=Math.abs(me)>=o,je=Math.abs(Pe)>=o;O&&(ye||je)&&O(q,me,Pe,rt,st),ye&&(k&&q.deltaX>0&&k(q),C&&q.deltaX<0&&C(q),T&&T(q),A&&q.deltaX<0!=$<0&&A(q),$=q.deltaX,rt[0]=rt[1]=rt[2]=0),je&&(D&&q.deltaY>0&&D(q),E&&q.deltaY<0&&E(q),x&&x(q),V&&q.deltaY<0!=j<0&&V(q),j=q.deltaY,st[0]=st[1]=st[2]=0),(M||Oe)&&(G&&G(q),Oe&&(g&&Oe===1&&g(q),y&&y(q),Oe=0),M=!1),Q&&!(Q=!1)&&se&&se(q),B&&(Fe(q),B=!1),he=0},Ce=function(me,Pe,ye){rt[ye]+=me,st[ye]+=Pe,q._vx.update(me),q._vy.update(Pe),u?he||(he=requestAnimationFrame(fe)):fe()},H=function(me,Pe){le&&!ve&&(q.axis=ve=Math.abs(me)>Math.abs(Pe)?"x":"y",Q=!0),ve!=="y"&&(rt[2]+=me,q._vx.update(me,!0)),ve!=="x"&&(st[2]+=Pe,q._vy.update(Pe,!0)),u?he||(he=requestAnimationFrame(fe)):fe()},U=function(me){if(!P(me,1)){me=Wc(me,c);var Pe=me.clientX,ye=me.clientY,je=Pe-q.x,Ae=ye-q.y,We=q.isDragging;q.x=Pe,q.y=ye,(We||(je||Ae)&&(Math.abs(q.startX-Pe)>=i||Math.abs(q.startY-ye)>=i))&&(Oe||(Oe=We?2:1),We||(q.isDragging=!0),H(je,Ae))}},Me=q.onPress=function(oe){P(oe,1)||oe&&oe.button||(q.axis=ve=null,Ee.pause(),q.isPressed=!0,oe=Wc(oe),$=j=0,q.startX=q.x=oe.clientX,q.startY=q.y=oe.clientY,q._vx.reset(),q._vy.reset(),Er(z?a:Ne,Ko[1],U,ee,!0),q.deltaX=q.deltaY=0,w&&w(q))},De=q.onRelease=function(oe){if(!P(oe,1)){wr(z?a:Ne,Ko[1],U,!0);var me=!isNaN(q.y-q.startY),Pe=q.isDragging,ye=Pe&&(Math.abs(q.x-q.startX)>3||Math.abs(q.y-q.startY)>3),je=Wc(oe);!ye&&me&&(q._vx.reset(),q._vy.reset(),c&&F&&or.delayedCall(.08,function(){if(Lf()-ft>300&&!oe.defaultPrevented){if(oe.target.click)oe.target.click();else if(Ne.createEvent){var Ae=Ne.createEvent("MouseEvents");Ae.initMouseEvent("click",!0,!0,vo,1,je.screenX,je.screenY,je.clientX,je.clientY,!1,!1,!1,!1,0,null),oe.target.dispatchEvent(Ae)}}})),q.isDragging=q.isGesturing=q.isPressed=!1,f&&Pe&&!z&&Ee.restart(!0),Oe&&fe(),b&&Pe&&b(q),_&&_(q,ye)}},Ke=function(me){return me.touches&&me.touches.length>1&&(q.isGesturing=!0)&&be(me,q.isDragging)},Te=function(){return(q.isGesturing=!1)||X(q)},nt=function(me){if(!P(me)){var Pe=ae(),ye=de();Ce((Pe-xe)*ut,(ye-Z)*ut,1),xe=Pe,Z=ye,f&&Ee.restart(!0)}},ct=function(me){if(!P(me)){me=Wc(me,c),Fe&&(B=!0);var Pe=(me.deltaMode===1?l:me.deltaMode===2?vo.innerHeight:1)*h;Ce(me.deltaX*Pe,me.deltaY*Pe,0),f&&!z&&Ee.restart(!0)}},dt=function(me){if(!P(me)){var Pe=me.clientX,ye=me.clientY,je=Pe-q.x,Ae=ye-q.y;q.x=Pe,q.y=ye,M=!0,f&&Ee.restart(!0),(je||Ae)&&H(je,Ae)}},Ue=function(me){q.event=me,re(q)},te=function(me){q.event=me,pe(q)},Se=function(me){return P(me)||Wc(me,c)&&Be(q)};Ee=q._dc=or.delayedCall(p||.25,Y).pause(),q.deltaX=q.deltaY=0,q._vx=jb(0,50,!0),q._vy=jb(0,50,!0),q.scrollX=ae,q.scrollY=de,q.isDragging=q.isGesturing=q.isPressed=!1,VR(this),q.enable=function(oe){return q.isEnabled||(Er(Re?Ne:a,"scroll",Bb),s.indexOf("scroll")>=0&&Er(Re?Ne:a,"scroll",nt,ee,ke),s.indexOf("wheel")>=0&&Er(a,"wheel",ct,ee,ke),(s.indexOf("touch")>=0&&jR||s.indexOf("pointer")>=0)&&(Er(a,Ko[0],Me,ee,ke),Er(Ne,Ko[2],De),Er(Ne,Ko[3],De),F&&Er(a,"click",I,!0,!0),Be&&Er(a,"click",Se),be&&Er(Ne,"gesturestart",Ke),X&&Er(Ne,"gestureend",Te),re&&Er(a,nl+"enter",Ue),pe&&Er(a,nl+"leave",te),G&&Er(a,nl+"move",dt)),q.isEnabled=!0,q.isDragging=q.isGesturing=q.isPressed=M=Oe=!1,q._vx.reset(),q._vy.reset(),xe=ae(),Z=de(),oe&&oe.type&&Me(oe),Ve&&Ve(q)),q}
6,q.disable=function(){q.isEnabled&&(mu.filter(function(oe){return oe!==q&&Nf(oe.target)}).length||wr(Re?Ne:a,"scroll",Bb),q.isPressed&&(q._vx.reset(),q._vy.reset(),wr(z?a:Ne,Ko[1],U,!0)),wr(Re?Ne:a,"scroll",nt,ke),wr(a,"wheel",ct,ke),wr(a,Ko[0],Me,ke),wr(Ne,Ko[2],De),wr(Ne,Ko[3],De),wr(a,"click",I,!0),wr(a,"click",Se),wr(Ne,"gesturestart",Ke),wr(Ne,"gestureend",Te),wr(a,nl+"enter",Ue),wr(a,nl+"leave",te),wr(a,nl+"move",dt),q.isEnabled=q.isPressed=q.isDragging=!1,tt&&tt(q))},q.kill=q.revert=function(){q.disable();var oe=mu.indexOf(q);oe>=0&&mu.splice(oe,1),Es===q&&(Es=0)},mu.push(q),z&&Nf(a)&&(Es=q),q.enable(v)},e5(e,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),e})();An.version="3.15.0";An.create=function(e){return new An(e)};An.register=zR;An.getAll=function(){return mu.slice()};An.getById=function(e){return mu.filter(function(t){return t.vars.id===e})[0]};UR()&&or.registerPlugin(An);var mr,KR,Cs,$i,wa,GR,Fu,Sp,YR=function(){return typeof window<"u"},XR=function(){return mr||YR()&&(mr=window.gsap)&&mr.registerPlugin&&mr},QR=function(t){return typeof t=="string"},AS=function(t){return typeof t=="function"},kd=function(t,n){var r=n==="x"?"Width":"Height",o="scroll"+r,i="client"+r;return t===Cs||t===$i||t===wa?Math.max($i[o],wa[o])-(Cs["inner"+r]||$i[i]||wa[i]):t[o]-t["offset"+r]},Ed=function(t,n){var r="scroll"+(n==="x"?"Left":"Top");return t===Cs&&(t.pageXOffset!=null?r="page"+n.toUpperCase()+"Offset":t=$i[r]!=null?$i:wa),function(){return t[r]}},r5=function(t,n,r,o){if(AS(t)&&(t=t(n,r,o)),typeof t!="object")return QR(t)&&t!=="max"&&t.charAt(1)!=="="?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i={},s;for(s in t)i[s]=s!=="onAutoKill"&&AS(t[s])?t[s](n,r,o):t[s];return i},ZR=function(t,n){if(t=GR(t)[0],!t||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),o=!n||n===Cs||n===wa,i=o?{top:$i.clientTop-(Cs.pageYOffset||$i.scrollTop||wa.scrollTop||0),left:$i.clientLeft-(Cs.pageXOffset||$i.scrollLeft||wa.scrollLeft||0)}:n.getBoundingClientRect(),s={x:r.left-i.left,y:r.top-i.top};return!o&&n&&(s.x+=Ed(n,"x")(),s.y+=Ed(n,"y")()),s},OS=function(t,n,r,o,i){return!isNaN(t)&&typeof t!="object"?parseFloat(t)-i:QR(t)&&t.charAt(1)==="="?parseFloat(t.substr(2))*(t.charAt(0)==="-"?-1:1)+o-i:t==="max"?kd(n,r)-i:Math.min(kd(n,r),ZR(t,n)[r]-i)},qb=function(){mr=XR(),YR()&&mr&&typeof document<"u"&&document.body&&(Cs=window,wa=document.body,$i=document.documentElement,GR=mr.utils.toArray,mr.config({autoKillThreshold:7}),Fu=mr.config(),KR=1)},Sc={version:"3.15.0",name:"scrollTo",rawVars:1,register:function(t){mr=t,qb()},init:function(t,n,r,o,i){KR||qb();var s=this,a=mr.getProperty(t,"scrollSnapType");s.isWin=t===Cs,s.target=t,s.tween=r,n=r5(n,o,t,i),s.vars=n,s.autoKill=!!("autoKill"in n?n:Fu).autoKill,s.getX=Ed(t,"x"),s.getY=Ed(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Sp||(Sp=mr.core.globals().ScrollTrigger),mr.getProperty(t,"scrollBehavior")==="smooth"&&mr.set(t,{scrollBehavior:"auto"}),a&&a!=="none"&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),n.x!=null?(s.add(s,"x",s.x,OS(n.x,t,"x",s.x,n.offsetX||0),o,i),s._props.push("scrollTo_x")):s.skipX=1,n.y!=null?(s.add(s,"y",s.y,OS(n.y,t,"y",s.y,n.offsetY||0),o,i),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,n){for(var r=n._pt,o=n.target,i=n.tween,s=n.autoKill,a=n.xPrev,l=n.yPrev,u=n.isWin,c=n.snap,f=n.snapInline,p,d,h,v,g;r;)r.r(t,r.d),r=r._next;p=u||!n.skipX?n.getX():a,d=u||!n.skipY?n.getY():l,h=d-l,v=p-a,g=Fu.autoKillThreshold,n.x<0&&(n.x=0),n.y<0&&(n.y=0),s&&(!n.skipX&&(v>g||v<-g)&&p<kd(o,"x")&&(n.skipX=1),!n.skipY&&(h>g||h<-g)&&d<kd(o,"y")&&(n.skipY=1),n.skipX&&n.skipY&&(i.kill(),n.vars.onAutoKill&&n.vars.onAutoKill.apply(i,n.vars.onAutoKillParams||[]))),u?Cs.scrollTo(n.skipX?p:n.x,n.skipY?d:n.y):(n.skipY||(o.scrollTop=n.y),n.skipX||(o.scrollLeft=n.x)),c&&(t===1||t===0)&&(d=o.scrollTop,p=o.scrollLeft,f?o.style.scrollSnapType=f:o.style.removeProperty("scroll-snap-type"),o.scrollTop=d+1,o.scrollLeft=p+1,o.scrollTop=d,o.scrollLeft=p),n.xPrev=n.x,n.yPrev=n.y,Sp&&Sp.update()},kill:function(t){var n=t==="scrollTo",r=this._props.indexOf(t);return(n||t==="scrollTo_x")&&(this.skipX=1),(n||t==="scrollTo_y")&&(this.skipY=1),r>-1&&this._props.splice(r,1),!this._props.length}};Sc.max=kd;Sc.getOffset=ZR;Sc.buildGetter=Ed;Sc.config=function(e){Fu||qb()||(Fu=mr.config());for(var t in e)Fu[t]=e[t]};XR()&&mr.registerPlugin(Sc);var Xe,lu,xt,Jt,fo,Xt,H1,Zh,Sd,Bf,uf,Cp,lr,fv,Vb,xr,PS,RS,uu,JR,Og,eI,Dr,Ub,tI,nI,ta,Hb,W1,Lu,z1,jf,Wb,Pg,Dp=1,cr=Date.now,Rg=cr
6(),Vo=0,cf=0,IS=function(t,n,r){var o=lo(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return r["_"+n+"Clamp"]=o,o?t.substr(6,t.length-7):t},$S=function(t,n){return n&&(!lo(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},o5=function e(){return cf&&requestAnimationFrame(e)},MS=function(){return fv=1},FS=function(){return fv=0},Ai=function(t){return t},ff=function(t){return Math.round(t*1e5)/1e5||0},rI=function(){return typeof window<"u"},oI=function(){return Xe||rI()&&(Xe=window.gsap)&&Xe.registerPlugin&&Xe},Pl=function(t){return!!~H1.indexOf(t)},iI=function(t){return(t==="Height"?z1:xt["inner"+t])||fo["client"+t]||Xt["client"+t]},sI=function(t){return ba(t,"getBoundingClientRect")||(Pl(t)?function(){return hh.width=xt.innerWidth,hh.height=z1,hh}:function(){return ms(t)})},i5=function(t,n,r){var o=r.d,i=r.d2,s=r.a;return(s=ba(t,"getBoundingClientRect"))?function(){return s()[o]}:function(){return(n?iI(i):t["client"+i])||0}},s5=function(t,n){return!n||~Bi.indexOf(t)?sI(t):function(){return hh}},Mi=function(t,n){var r=n.s,o=n.d2,i=n.d,s=n.a;return Math.max(0,(r="scroll"+o)&&(s=ba(t,r))?s()-sI(t)()[i]:Pl(t)?(fo[r]||Xt[r])-iI(o):t[r]-t["offset"+o])},xp=function(t,n){for(var r=0;r<uu.length;r+=3)(!n||~n.indexOf(uu[r+1]))&&t(uu[r],uu[r+1],uu[r+2])},lo=function(t){return typeof t=="string"},vr=function(t){return typeof t=="function"},df=function(t){return typeof t=="number"},rl=function(t){return typeof t=="object"},zc=function(t,n,r){return t&&t.progress(n?0:1)&&r&&t.pause()},Zl=function(t,n,r){if(t.enabled){var o=t._ctx?t._ctx.add(function(){return n(t,r)}):n(t,r);o&&o.totalTime&&(t.callbackAnimation=o)}},Jl=Math.abs,aI="left",lI="top",K1="right",G1="bottom",bl="width",wl="height",qf="Right",Vf="Left",Uf="Top",Hf="Bottom",Mn="padding",$o="margin",sc="Width",Y1="Height",Hn="px",Mo=function(t){return xt.getComputedStyle(t.nodeType===Node.DOCUMENT_NODE?t.scrollingElement:t)},a5=function(t){var n=Mo(t).position;t.style.position=n==="absolute"||n==="fixed"?n:"relative"},LS=function(t,n){for(var r in n)r in t||(t[r]=n[r]);return t},ms=function(t,n){var r=n&&Mo(t)[Vb]!=="matrix(1, 0, 0, 1, 0, 0)"&&Xe.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),o=t.getBoundingClientRect?t.getBoundingClientRect():t.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),o},Jh=function(t,n){var r=n.d2;return t["offset"+r]||t["client"+r]||0},uI=function(t){var n=[],r=t.labels,o=t.duration(),i;for(i in r)n.push(r[i]/o);return n},l5=function(t){return function(n){return Xe.utils.snap(uI(t),n)}},X1=function(t){var n=Xe.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(o,i){return o-i});return r?function(o,i,s){s===void 0&&(s=.001);var a;if(!i)return n(o);if(i>0){for(o-=s,a=0;a<r.length;a++)if(r[a]>=o)return r[a];return r[a-1]}else for(a=r.length,o+=s;a--;)if(r[a]<=o)return r[a];return r[0]}:function(o,i,s){s===void 0&&(s=.001);var a=n(o);return!i||Math.abs(a-o)<s||a-o<0==i<0?a:n(i<0?o-t:o+t)}},u5=function(t){return function(n,r){return X1(uI(t))(n,r.direction)}},Tp=function(t,n,r,o){return r.split(",").forEach(function(i){return t(n,i,o)})},Yn=function(t,n,r,o,i){return t.addEventListener(n,r,{passive:!o,capture:!!i})},Gn=function(t,n,r,o){return t.removeEventListener(n,r,!!o)},Ap=function(t,n,r){r=r&&r.wheelHandler,r&&(t(n,"wheel",r),t(n,"touchmove",r))},NS={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Op={toggleActions:"play",anticipatePin:0},em={top:0,left:0,center:.5,bottom:1,right:1},ch=function(t,n){if(lo(t)){var r=t.indexOf("="),o=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(o*=n/100),t=t.substr(0,r-1)),t=o+(t in em?em[t]*n:~t.indexOf("%")?parseFloat(t)*n/100:parseFloat(t)||0)}return t},Pp=function(t,n,r,o,i,s,a,l){var u=i.startColor,c=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,h=Jt.createElement("div"),v=Pl(r)||ba(r,"pinType")==="fixed",g=t.indexOf("scroller")!==-1,b=v?Xt:r.tagName==="IFRAME"?r.contentDocument.body:r,y=t.indexOf("start")!==-1,w=y?u:c,_="border-color:"+w+";font-size:"+f+";color:"+w+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+((g||l)&&v?"fixed;":"absolute;"),(g||l||!v)&&(_+=(o===zn?K1:G1)+":"+(s+parseFloat(p))+"px;"),a&&(_+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),h._isStart=y,h.setAttribute("class","gsap-marker-"+t+(n?" marker-"+n:"")),h.style.cssText=_,h.innerText=n||n===0?t+"-"+n:t,b.children[0]?b.insertBefore(h,b.children[0]):b.appendChild(h),h._offset=h["offset"+o.op.d2],fh(h,0,o,y),h},fh=function(t,n,r,o){var i={display:"block"},s=r[o?"os2":"p2"],a=r[o?"p2":"os2"];t._isFlipped=o,i[r.a+"Percent"]=o?-100:0,i[r.a]=o?"1px":0,i["border"+s+sc]=1,i["border"+a+sc]=0,i[r.p]=n+"px",Xe.set(t,i)},Ct=[],zb={},Cd,BS=function(){return cr()-Vo>34&&(Cd||(Cd=requestAnimationFrame(Ds)))},eu=function(){(!Dr||!Dr.isPressed||Dr.startX>Xt.clientWidth)&&(Tt.cache++,Dr?Cd||(Cd=requestAnimationFrame(Ds)):Ds(),Vo||Il("scrollStart"),Vo=cr())}
6,Ig=function(){nI=xt.innerWidth,tI=xt.innerHeight},pf=function(t){Tt.cache++,(t===!0||!lr&&!eI&&!Jt.fullscreenElement&&!Jt.webkitFullscreenElement&&(!Ub||nI!==xt.innerWidth||Math.abs(xt.innerHeight-tI)>xt.innerHeight*.25))&&Zh.restart(!0)},Rl={},c5=[],cI=function e(){return Gn(Dt,"scrollEnd",e)||ll(!0)},Il=function(t){return Rl[t]&&Rl[t].map(function(n){return n()})||c5},so=[],fI=function(t){for(var n=0;n<so.length;n+=5)(!t||so[n+4]&&so[n+4].query===t)&&(so[n].style.cssText=so[n+1],so[n].getBBox&&so[n].setAttribute("transform",so[n+2]||""),so[n+3].uncache=1)},dI=function(){return Tt.forEach(function(t){return vr(t)&&++t.cacheID&&(t.rec=t())})},Q1=function(t,n){var r;for(xr=0;xr<Ct.length;xr++)r=Ct[xr],r&&(!n||r._ctx===n)&&(t?r.kill(1):r.revert(!0,!0));jf=!0,n&&fI(n),n||Il("revert")},pI=function(t,n){Tt.cache++,(n||!Tr)&&Tt.forEach(function(r){return vr(r)&&r.cacheID++&&(r.rec=0)}),lo(t)&&(xt.history.scrollRestoration=W1=t)},Tr,kl=0,jS,f5=function(){if(jS!==kl){var t=jS=kl;requestAnimationFrame(function(){return t===kl&&ll(!0)})}},hI=function(){Xt.appendChild(Lu),z1=!Dr&&Lu.offsetHeight||xt.innerHeight,Xt.removeChild(Lu)},qS=function(t){return Sd(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=t?"none":"block"})},ll=function(t,n){if(fo=Jt.documentElement,Xt=Jt.body,H1=[xt,Jt,fo,Xt],Vo&&!t&&!jf){Yn(Dt,"scrollEnd",cI);return}hI(),Tr=Dt.isRefreshing=!0,jf||dI();var r=Il("refreshInit");JR&&Dt.sort(),n||Q1(),Tt.forEach(function(o){vr(o)&&(o.smooth&&(o.target.style.scrollBehavior="auto"),o(0))}),Ct.slice(0).forEach(function(o){return o.refresh()}),jf=!1,Ct.forEach(function(o){if(o._subPinOffset&&o.pin){var i=o.vars.horizontal?"offsetWidth":"offsetHeight",s=o.pin[i];o.revert(!0,1),o.adjustPinSpacing(o.pin[i]-s),o.refresh()}}),Wb=1,qS(!0),Ct.forEach(function(o){var i=Mi(o.scroller,o._dir),s=o.vars.end==="max"||o._endClamp&&o.end>i,a=o._startClamp&&o.start>=i;(s||a)&&o.setPositions(a?i-1:o.start,s?Math.max(a?i:o.start+1,i):o.end,!0)}),qS(!1),Wb=0,r.forEach(function(o){return o&&o.render&&o.render(-1)}),Tt.forEach(function(o){vr(o)&&(o.smooth&&requestAnimationFrame(function(){return o.target.style.scrollBehavior="smooth"}),o.rec&&o(o.rec))}),pI(W1,1),Zh.pause(),kl++,Tr=2,Ds(2),Ct.forEach(function(o){return vr(o.vars.onRefresh)&&o.vars.onRefresh(o)}),Tr=Dt.isRefreshing=!1,Il("refresh")}
6,Kb=0,dh=1,Wf,Ds=function(t){if(t===2||!Tr&&!jf){Dt.isUpdating=!0,Wf&&Wf.update(0);var n=Ct.length,r=cr(),o=r-Rg>=50,i=n&&Ct[0].scroll();if(dh=Kb>i?-1:1,Tr||(Kb=i),o&&(Vo&&!fv&&r-Vo>200&&(Vo=0,Il("scrollEnd")),uf=Rg,Rg=r),dh<0){for(xr=n;xr-- >0;)Ct[xr]&&Ct[xr].update(0,o);dh=1}else for(xr=0;xr<n;xr++)Ct[xr]&&Ct[xr].update(0,o);Dt.isUpdating=!1}Cd=0},Gb=[aI,lI,G1,K1,$o+Hf,$o+qf,$o+Uf,$o+Vf,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ph=Gb.concat([bl,wl,"boxSizing","max"+sc,"max"+Y1,"position",$o,Mn,Mn+Uf,Mn+qf,Mn+Hf,Mn+Vf]),d5=function(t,n,r){Nu(r);var o=t._gsap;if(o.spacerIsNative)Nu(o.spacerState);else if(t._gsap.swappedIn){var i=n.parentNode;i&&(i.insertBefore(t,n),i.removeChild(n))}t._gsap.swappedIn=!1},$g=function(t,n,r,o){if(!t._gsap.swappedIn){for(var i=Gb.length,s=n.style,a=t.style,l;i--;)l=Gb[i],s[l]=r[l];s.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(s.display="inline-block"),a[G1]=a[K1]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[bl]=Jh(t,Pr)+Hn,s[wl]=Jh(t,zn)+Hn,s[Mn]=a[$o]=a[lI]=a[aI]="0",Nu(o),a[bl]=a["max"+sc]=r[bl],a[wl]=a["max"+Y1]=r[wl],a[Mn]=r[Mn],t.parentNode!==n&&(t.parentNode.insertBefore(n,t),n.appendChild(t)),t._gsap.swappedIn=!0}},p5=/([A-Z])/g,Nu=function(t){if(t){var n=t.t.style,r=t.length,o=0,i,s;for((t.t._gsap||Xe.core.getCache(t.t)).uncache=1;o<r;o+=2)s=t[o+1],i=t[o],s?n[i]=s:n[i]&&n.removeProperty(i.replace(p5,"-$1").toLowerCase())}},Rp=function(t){for(var n=ph.length,r=t.style,o=[],i=0;i<n;i++)o.push(ph[i],r[ph[i]]);return o.t=t,o},h5=function(t,n,r){for(var o=[],i=t.length,s=r?8:0,a;s<i;s+=2)a=t[s],o.push(a,a in n?n[a]:t[s+1]);return o.t=t.t,o},hh={left:0,top:0},VS=function(t,n,r,o,i,s,a,l,u,c,f,p,d,h){vr(t)&&(t=t(l)),lo(t)&&t.substr(0,3)==="max"&&(t=p+(t.charAt(4)==="="?ch("0"+t.substr(3),r):0));var v=d?d.time():0,g,b,y;if(d&&d.seek(0),isNaN(t)||(t=+t),df(t))d&&(t=Xe.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,t)),a&&fh(a,r,o,!0);else{vr(n)&&(n=n(l));var w=(t||"0").split(" "),_,k,C,E;y=Vr(n,l)||Xt,_=ms(y)||{},(!_||!_.left&&!_.top)&&Mo(y).display==="none"&&(E=y.style.display,y.style.display="block",_=ms(y),E?y.style.display=E:y.style.removeProperty("display")),k=ch(w[0],_[o.d]),C=ch(w[1]||"0",r),t=_[o.p]-u[o.p]-c+k+i-C,a&&fh(a,C,o,r-C<20||a._isStart&&C>20),r-=r-C}if(h&&(l[h]=t||-.001,t<0&&(t=0)),s){var D=t+r,T=s._isStart;g="scroll"+o.d2,fh(s,D,o,T&&D>20||!T&&(f?Math.max(Xt[g],fo[g]):s.parentNode[g])<=D+1),f&&(u=ms(a),f&&(s.style[o.op.p]=u[o.op.p]-o.op.m-s._offset+Hn))}return d&&y&&(g=ms(y),d.seek(p),b=ms(y),d._caScrollDist=g[o.p]-b[o.p],t=t/d._caScrollDist*p),d&&d.seek(v),d?t:Math.round(t)},m5=/(webkit|moz|length|cssText|inset)/i,US=function(t,n,r,o){if(t.parentNode!==n){var i=t.style,s,a;if(n===Xt){t._stOrig=i.cssText,a=Mo(t);for(s in a)!+s&&!m5.test(s)&&a[s]&&typeof i[s]=="string"&&s!=="0"&&(i[s]=a[s]);i.top=r,i.left=o}else i.cssText=t._stOrig;Xe.core.getCache(t).uncache=1,n.appendChild(t)}},mI=function(t,n,r){var o=n,i=o;return function(s){var a=Math.round(t());return a!==o&&a!==i&&Math.abs(a-o)>3&&Math.abs(a-i)>3&&(s=a,r&&r()),i=o,o=Math.round(s),o}},Ip=function(t,n,r){var o={};o[n.p]="+="+r,Xe.set(t,o)},HS=function(t,n){var r=Aa(t,n),o="_scroll"+n.p2,i=function s(a,l,u,c,f){var p=s.tween,d=l.onComplete,h={};u=u||r();var v=mI(r,u,function(){p.kill(),s.tween=0});return f=c&&f||0,c=c||a-u,p&&p.kill(),l[o]=a,l.inherit=!1,l.modifiers=h,h[o]=function(){return v(u+c*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){Tt.cache++,s.tween&&Ds()},l.onComplete=function(){s.tween=0,d&&d.call(p)},p=s.tween=Xe.to(t,l),p};return t[o]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Yn(t,"wheel",r.wheelHandler),Dt.isTouch&&Yn(t,"touchmove",r.wheelHandler),i},Dt=(function(){function e(n,r){lu||e.register(Xe)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Hb(this),this.init(n,r)}var t=e.prototype;return t.init=function(r,o){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!cf){this.update=this.refresh=this.kill=Ai;return}r=LS(lo(r)||df(r)||r.nodeType?{trigger:r}:r,Op);var i=r,s=i.onUpdate,a=i.toggleClass,l=i.id,u=i.onToggle,c=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,h=i.pinSpacing,v=i.invalidateOnRefresh,g=i.anticipatePin,b=i.onScrubComplete,y=i.onSnapComplete,w=i.once,_=i.snap,k=i.pinReparent,C=i.pinSpacer,E=i.containerAnimation,D=i.fastScrollEnd,T=i.preventOverlaps,x=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Pr:zn,O=!f&&f!==0,A=Vr(r.scroller||xt),V=Xe.core.getCache(A),re=Pl(A),pe=("pinType"in r?r.pinType:ba(A,"pinType")||re&&"fixed")==="fixed",G=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],K=O&&r.toggleActions.split(" "),z="markers"in r?r.markers:Op.markers,be=re?0:parseFloat(Mo(A)["border"+x.p2+sc])||0,X=this,Fe=r.onRefreshInit&&function(){return r.onRefreshInit(X)},Ve=i5(A,re,x),tt=s5(A,re),Be=0,ut=0,ke=0,F=Aa(A,x),le,se,he,Ee,Oe,M,B,Q,ve,q,$,j,ee,ae,de,xe,Z,ue,Re,Ne,rt,st,ft,I,P,Y,fe,Ce,H,U,Me,De,Ke,Te,nt,ct,dt,Ue,te;if(X._startClamp=X._endClamp=!1,X._dir=x,g*=45,X.scroller=A,X.scroll=E?E.time.bind(E):F,Ee=F(),X.vars=r,o=o||r.animation,"refreshPriority"in r&&(JR=1,r.refreshPriority===-9999&&(Wf=X)),V.tweenScroll=V.tweenScroll||{top:HS(A,zn),left
6:HS(A,Pr)},X.tweenTo=le=V.tweenScroll[x.p],X.scrubDuration=function(ye){Ke=df(ye)&&ye,Ke?De?De.duration(ye):De=Xe.to(o,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ke,paused:!0,onComplete:function(){return b&&b(X)}}):(De&&De.progress(1).kill(),De=0)},o&&(o.vars.lazy=!1,o._initted&&!X.isReverted||o.vars.immediateRender!==!1&&r.immediateRender!==!1&&o.duration()&&o.render(0,!0,!0),X.animation=o.pause(),o.scrollTrigger=X,X.scrubDuration(f),U=0,l||(l=o.vars.id)),_&&((!rl(_)||_.push)&&(_={snapTo:_}),"scrollBehavior"in Xt.style&&Xe.set(re?[Xt,fo]:A,{scrollBehavior:"auto"}),Tt.forEach(function(ye){return vr(ye)&&ye.target===(re?Jt.scrollingElement||fo:A)&&(ye.smooth=!1)}),he=vr(_.snapTo)?_.snapTo:_.snapTo==="labels"?l5(o):_.snapTo==="labelsDirectional"?u5(o):_.directional!==!1?function(ye,je){return X1(_.snapTo)(ye,cr()-ut<500?0:je.direction)}:Xe.utils.snap(_.snapTo),Te=_.duration||{min:.1,max:2},Te=rl(Te)?Bf(Te.min,Te.max):Bf(Te,Te),nt=Xe.delayedCall(_.delay||Ke/2||.1,function(){var ye=F(),je=cr()-ut<500,Ae=le.tween;if((je||Math.abs(X.getVelocity())<10)&&!Ae&&!fv&&Be!==ye){var We=(ye-M)/ae,ot=o&&!O?o.totalProgress():We,Ge=je?0:(ot-Me)/(cr()-uf)*1e3||0,mt=Xe.utils.clamp(-We,1-We,Jl(Ge/2)*Ge/.185),It=We+(_.inertia===!1?0:mt),$t,Et,St=_,Ht=St.onStart,vt=St.onInterrupt,Dn=St.onComplete;if($t=he(It,X),df($t)||($t=It),Et=Math.max(0,Math.round(M+$t*ae)),ye<=B&&ye>=M&&Et!==ye){if(Ae&&!Ae._initted&&Ae.data<=Jl(Et-ye))return;_.inertia===!1&&(mt=$t-We),le(Et,{duration:Te(Jl(Math.max(Jl(It-ot),Jl($t-ot))*.185/Ge/.05||0)),ease:_.ease||"power3",data:Jl(Et-ye),onInterrupt:function(){return nt.restart(!0)&&vt&&Zl(X,vt)},onComplete:function(){X.update(),Be=F(),o&&!O&&(De?De.resetTo("totalProgress",$t,o._tTime/o._tDur):o.progress($t)),U=Me=o&&!O?o.totalProgress():X.progress,y&&y(X),Dn&&Zl(X,Dn)}},ye,mt*ae,Et-ye-mt*ae),Ht&&Zl(X,Ht,le.tween)}}else X.isActive&&Be!==ye&&nt.restart(!0)}).pause()),l&&(zb[l]=X),p=X.trigger=Vr(p||d!==!0&&d),te=p&&p._gsap&&p._gsap.stRevert,te&&(te=te(X)),d=d===!0?p:Vr(d),lo(a)&&(a={targets:p,className:a}),d&&(h===!1||h===$o||(h=!h&&d.parentNode&&d.parentNode.style&&Mo(d.parentNode).display==="flex"?!1:Mn),X.pin=d,se=Xe.core.getCache(d),se.spacer?de=se.pinState:(C&&(C=Vr(C),C&&!C.nodeType&&(C=C.current||C.nativeElement),se.spacerIsNative=!!C,C&&(se.spacerState=Rp(C))),se.spacer=ue=C||Jt.createElement("div"),ue.classList.add("pin-spacer"),l&&ue.classList.add("pin-spacer-"+l),se.pinState=de=Rp(d)),r.force3D!==!1&&Xe.set(d,{force3D:!0}),X.spacer=ue=se.spacer,H=Mo(d),I=H[h+x.os2],Ne=Xe.getProperty(d),rt=Xe.quickSetter(d,x.a,Hn),$g(d,ue,H),Z=Rp(d)),z){j=rl(z)?LS(z,NS):NS,q=Pp("scroller-start",l,A,x,j,0),$=Pp("scroller-end",l,A,x,j,0,q),Re=q["offset"+x.op.d2];var Se=Vr(ba(A,"content")||A);Q=this.markerStart=Pp("start",l,Se,x,j,Re,0,E),ve=this.markerEnd=Pp("end",l,Se,x,j,Re,0,E),E&&(Ue=Xe.quickSetter([Q,ve],x.a,Hn)),!pe&&!(Bi.length&&ba(A,"fixedMarkers")===!0)&&(a5(re?Xt:A),Xe.set([q,$],{force3D:!0}),Y=Xe.quickSetter(q,x.a,Hn),Ce=Xe.quickSetter($,x.a,Hn))}if(E){var oe=E.vars.onUpdate,me=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){X.update(0,0,1),oe&&oe.apply(E,me||[])})}if(X.previous=function(){return Ct[Ct.indexOf(X)-1]},X.next=function(){return Ct[Ct.indexOf(X)+1]},X.revert=function(ye,je){if(!je)return X.kill(!0);var Ae=ye!==!1||!X.enabled,We=lr;Ae!==X.isReverted&&(Ae&&(ct=Math.max(F(),X.scroll.rec||0),ke=X.progress,dt=o&&o.progress()),Q&&[Q,ve,q,$].forEach(function(ot){return ot.style.display=Ae?"none":"block"}),Ae&&(lr=X,X.update(Ae)),d&&(!k||!X.isActive)&&(Ae?d5(d,ue,de):$g(d,ue,Mo(d),P)),Ae||X.update(Ae),lr=We,X.isReverted=Ae)},X.refresh=function(ye,je,Ae,We){if(!((lr||!X.enabled)&&!je)){if(d&&ye&&Vo){Yn(e,"scrollEnd",cI);return}!Tr&&Fe&&Fe(X),lr=X,le.tween&&!Ae&&(le.tween.kill(),le.tween=0),De&&De.pause(),v&&o&&(o.revert({kill:!1}).invalidate(),o.getChildren?o.getChildren(!0,!0,!1).forEach(function(Hs){return Hs.vars.immediateRender&&Hs.render(0,!0,!0)}):o.vars.immediateRender&&o.render(0,!0,!0)),X.isReverted||X.revert(!0,!0),X._subPinOffset=!1;var ot=Ve(),Ge=tt(),mt=E?E.duration():Mi(A,x),It=ae<=.01||!ae,$t=0,Et=We||0,St=rl(Ae)?Ae.end:r.end,Ht=r.endTrigger||p,vt=rl(Ae)?Ae.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),Dn=X.pinnedContainer=r.pinnedContainer&&Vr(r.pinnedContainer,X),zt=p&&Math.max(0,Ct.indexOf(X))||0,kn=zt,jn,qn,Va,ep,sr,Vn,yi,qv,Fw,$c,_i,Mc,tp;for(z&&rl(Ae)&&(Mc=Xe.getProperty(q,x.p),tp=Xe.getProperty($,x.p));kn-- >0;)Vn=Ct[kn],Vn.end||Vn.refresh(0,1)||(lr=X),yi=Vn.pin,yi&&(yi===p||yi===d||yi===Dn)&&!Vn.isReverted&&($c||($c=[]),$c.unshift(Vn),Vn.revert(!0,!0)),Vn!==Ct[kn]&&(zt--,kn--);for(vr(vt)&&(vt=vt(X)),vt=IS(vt,"start",X),M=VS(vt,p,ot,x,F(),Q,q,X,Ge,be,pe,mt,E,X._startClamp&&"_startClamp")||(d?-.001:0),vr(St)&&(St=St(X)),lo(St)&&!St.indexOf("+=")&&(~St.indexOf(" ")?St=(lo(vt)?vt.split(" ")[0]:"")+St:($t=ch(St.substr(2),ot),St=lo(vt)?vt:(E?Xe.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,M):M)+$t,Ht=p)),St=IS(St,"end",X),B=Math.max(M,VS(St||(Ht?"100% 0":mt),Ht,ot,x,F()+$t,ve,$,X,Ge,be,pe,mt,E,X._endClamp&&"_endClamp"))||-.001,$t=0,kn=zt;kn--;)Vn=Ct[kn]||{},yi=Vn.pin,yi&&Vn.start-Vn._pinPush<=M&&!E&&Vn.end>0&&(jn=Vn.end-(X._startClamp?Math.max(0,Vn.start):Vn.start),(yi===p&&Vn.start-Vn._pinPush<M||yi===Dn)&&isNaN(vt)&&($t+=jn*(1-Vn.progress)),yi===d&&(Et+=jn));if(M+=$t,B+=$t,X._startClamp&&(X._startClamp+=$t),X._endClamp&&!Tr&&(X._endClamp=B||-.001,B=Math.min(B,Mi(A,x))),ae=B-M||(M-=.01)&&.001,It&&(ke=Xe.utils.clamp(0,1,Xe.utils.normalize(M,B,ct))),X._pinPush=Et,Q&&$t&&(jn={},jn[x.a]="+="+$t,Dn&&(jn[x.p]="-="+F()),Xe.set([Q,ve],jn)),d&&!(Wb&&X.end>=Mi(A,x)))jn=Mo(d),ep=x===zn,Va=F(),st=parseFloat(Ne(x.a))+Et,!mt&&B>1&&(_i=(re?Jt.scrollingElement||fo:A).style,_i={style:_i,value:_i["overflow"+x.a.toUpperCase()]},re&&Mo(Xt)["overflow"+x.a.toUpperCase()]!=="scroll"&&(_i.style["overflow"+x.a.toUpperCase()]="scroll")),$g(d,ue,jn),Z=Rp(d),qn=ms(d,!0),qv=pe&&Aa(A,ep?Pr:zn)(),h?(P=[h+x.os2,ae+Et+Hn],P.t=ue,kn=h===Mn?Jh(d,x)+ae+Et:0,kn&&(P.push(x.d,kn+Hn),ue.style.flexBasis!=="auto"&&(ue.style.flexBasis=kn+Hn)),Nu(P),Dn&&Ct.forEach(function(Hs){Hs.pin===Dn&&Hs.vars.pinSpacing!==!1&&(Hs._subPinOffset=!0)}),pe&&F(ct)):(kn=Jh(d,x),kn&&ue.style.flexBasis!=="auto"&&(ue.style.flexBasis=kn+Hn)),pe&&(sr={to
6p:qn.top+(ep?Va-M:qv)+Hn,left:qn.left+(ep?qv:Va-M)+Hn,boxSizing:"border-box",position:"fixed"},sr[bl]=sr["max"+sc]=Math.ceil(qn.width)+Hn,sr[wl]=sr["max"+Y1]=Math.ceil(qn.height)+Hn,sr[$o]=sr[$o+Uf]=sr[$o+qf]=sr[$o+Hf]=sr[$o+Vf]="0",sr[Mn]=jn[Mn],sr[Mn+Uf]=jn[Mn+Uf],sr[Mn+qf]=jn[Mn+qf],sr[Mn+Hf]=jn[Mn+Hf],sr[Mn+Vf]=jn[Mn+Vf],xe=h5(de,sr,k),Tr&&F(0)),o?(Fw=o._initted,Og(1),o.render(o.duration(),!0,!0),ft=Ne(x.a)-st+ae+Et,fe=Math.abs(ae-ft)>1,pe&&fe&&xe.splice(xe.length-2,2),o.render(0,!0,!0),Fw||o.invalidate(!0),o.parent||o.totalTime(o.totalTime()),Og(0)):ft=ae,_i&&(_i.value?_i.style["overflow"+x.a.toUpperCase()]=_i.value:_i.style.removeProperty("overflow-"+x.a));else if(p&&F()&&!E)for(qn=p.parentNode;qn&&qn!==Xt;)qn._pinOffset&&(M-=qn._pinOffset,B-=qn._pinOffset),qn=qn.parentNode;$c&&$c.forEach(function(Hs){return Hs.revert(!1,!0)}),X.start=M,X.end=B,Ee=Oe=Tr?ct:F(),!E&&!Tr&&(Ee<ct&&F(ct),X.scroll.rec=0),X.revert(!1,!0),ut=cr(),nt&&(Be=-1,nt.restart(!0)),lr=0,o&&O&&(o._initted||dt)&&o.progress()!==dt&&o.progress(dt||0,!0).render(o.time(),!0,!0),(It||ke!==X.progress||E||v||o&&!o._initted)&&(o&&!O&&(o._initted||ke||o.vars.immediateRender!==!1)&&o.totalProgress(E&&M<-.001&&!ke?Xe.utils.normalize(M,B,0):ke,!0),X.progress=It||(Ee-M)/ae===ke?0:ke),d&&h&&(ue._pinOffset=Math.round(X.progress*ft)),De&&De.invalidate(),isNaN(Mc)||(Mc-=Xe.getProperty(q,x.p),tp-=Xe.getProperty($,x.p),Ip(q,x,Mc),Ip(Q,x,Mc-(We||0)),Ip($,x,tp),Ip(ve,x,tp-(We||0))),It&&!Tr&&X.update(),c&&!Tr&&!ee&&(ee=!0,c(X),ee=!1)}},X.getVelocity=function(){return(F()-Oe)/(cr()-uf)*1e3||0},X.endAnimation=function(){zc(X.callbackAnimation),o&&(De?De.progress(1):o.paused()?O||zc(o,X.direction<0,1):zc(o,o.reversed()))},X.labelToScroll=function(ye){return o&&o.labels&&(M||X.refresh()||M)+o.labels[ye]/o.duration()*ae||0},X.getTrailing=function(ye){var je=Ct.indexOf(X),Ae=X.direction>0?Ct.slice(0,je).reverse():Ct.slice(je+1);return(lo(ye)?Ae.filter(function(We){return We.vars.preventOverlaps===ye}):Ae).filter(function(We){return X.direction>0?We.end<=M:We.start>=B})},X.update=function(ye,je,Ae){if(!(E&&!Ae&&!ye)){var We=Tr===!0?ct:X.scroll(),ot=ye?0:(We-M)/ae,Ge=ot<0?0:ot>1?1:ot||0,mt=X.progress,It,$t,Et,St,Ht,vt,Dn,zt;if(je&&(Oe=Ee,Ee=E?F():We,_&&(Me=U,U=o&&!O?o.totalProgress():Ge)),g&&d&&!lr&&!Dp&&Vo&&(!Ge&&M<We+(We-Oe)/(cr()-uf)*g?Ge=1e-4:Ge===1&&B>We+(We-Oe)/(cr()-uf)*g&&(Ge=.9999)),Ge!==mt&&X.enabled){if(It=X.isActive=!!Ge&&Ge<1,$t=!!mt&&mt<1,vt=It!==$t,Ht=vt||!!Ge!=!!mt,X.direction=Ge>mt?1:-1,X.progress=Ge,Ht&&!lr&&(Et=Ge&&!mt?0:Ge===1?1:mt===1?2:3,O&&(St=!vt&&K[Et+1]!=="none"&&K[Et+1]||K[Et],zt=o&&(St==="complete"||St==="reset"||St in o))),T&&(vt||zt)&&(zt||f||!o)&&(vr(T)?T(X):X.getTrailing(T).forEach(function(Va){return Va.endAnimation()})),O||(De&&!lr&&!Dp?(De._dp._time-De._start!==De._time&&De.render(De._dp._time-De._start),De.resetTo?De.resetTo("totalProgress",Ge,o._tTime/o._tDur):(De.vars.totalProgress=Ge,De.invalidate().restart())):o&&o.totalProgress(Ge,!!(lr&&(ut||ye)))),d){if(ye&&h&&(ue.style[h+x.os2]=I),!pe)rt(ff(st+ft*Ge));else if(Ht){if(Dn=!ye&&Ge>mt&&B+1>We&&We+1>=Mi(A,x),k)if(!ye&&(It||Dn)){var kn=ms(d,!0),jn=We-M;US(d,Xt,kn.top+(x===zn?jn:0)+Hn,kn.left+(x===zn?0:jn)+Hn)}else US(d,ue);Nu(It||Dn?xe:Z),fe&&Ge<1&&It||rt(st+(Ge===1&&!Dn?ft:0))}}_&&!le.tween&&!lr&&!Dp&&nt.restart(!0),a&&(vt||w&&Ge&&(Ge<1||!Pg))&&Sd(a.targets).forEach(function(Va){return Va.classList[It||w?"add":"remove"](a.className)}),s&&!O&&!ye&&s(X),Ht&&!lr?(O&&(zt&&(St==="complete"?o.pause().totalProgress(1):St==="reset"?o.restart(!0).pause():St==="restart"?o.restart(!0):o[St]()),s&&s(X)),(vt||!Pg)&&(u&&vt&&Zl(X,u),G[Et]&&Zl(X,G[Et]),w&&(Ge===1?X.kill(!1,1):G[Et]=0),vt||(Et=Ge===1?1:3,G[Et]&&Zl(X,G[Et]))),D&&!It&&Math.abs(X.getVelocity())>(df(D)?D:2500)&&(zc(X.callbackAnimation),De?De.progress(1):zc(o,St==="reverse"?1:!Ge,1))):O&&s&&!lr&&s(X)}if(Ce){var qn=E?We/E.duration()*(E._caScrollDist||0):We;Y(qn+(q._isFlipped?1:0)),Ce(qn)}Ue&&Ue(-We/E.duration()*(E._caScrollDist||0))}},X.enable=function(ye,je){X.enabled||(X.enabled=!0,Yn(A,"resize",pf),re||Yn(A,"scroll",eu),Fe&&Yn(e,"refreshInit",Fe),ye!==!1&&(X.progress=ke=0,Ee=Oe=Be=F()),je!==!1&&X.refresh())},X.getTween=function(ye){return ye&&le?le.tween:De},X.setPositions=function(ye,je,Ae,We){if(E){var ot=E.scrollTrigger,Ge=E.duration(),mt=ot.end-ot.start;ye=ot.start+mt*ye/Ge,je=ot.start+mt*je/Ge}X.refresh(!1,!1,{start:$S(ye,Ae&&!!X._startClamp),end:$S(je,Ae&&!!X._endClamp)},We),X.update()},X.adjustPinSpacing=function(ye){if(P&&ye){var je=P.indexOf(x.d)+1;P[je]=parseFloat(P[je])+ye+Hn,P[1]=parseFloat(P[1])+ye+Hn,Nu(P)}},X.disable=function(ye,je){if(ye!==!1&&X.revert(!0,!0),X.enabled&&(X.enabled=X.isActive=!1,je||De&&De.pause(),ct=0,se&&(se.uncache=1),Fe&&Gn(e,"refreshInit",Fe),nt&&(nt.pause(),le.tween&&le.tween.kill()&&(le.tween=0)),!re)){for(var Ae=Ct.length;Ae--;)if(Ct[Ae].scroller===A&&Ct[Ae]!==X)return;Gn(A,"resize",pf),re||Gn(A,"scroll",eu)}},X.kill=function(ye,je){X.disable(ye,je),De&&!je&&De.kill(),l&&delete zb[l];var Ae=Ct.indexOf(X);Ae>=0&&Ct.splice(Ae,1),Ae===xr&&dh>0&&xr--,Ae=0,Ct.forEach(function(We){return We.scroller===X.scroller&&(Ae=1)}),Ae||Tr||(X.scroll.rec=0),o&&(o.scrollTrigger=null,ye&&o.revert({kill:!1}),je||o.kill()),Q&&[Q,ve,q,$].forEach(function(We){return We.parentNode&&We.parentNode.removeChild(We)}),Wf===X&&(Wf=0),d&&(se&&(se.uncache=1),Ae=0,Ct.forEach(function(We){return We.pin===d&&Ae++}),Ae||(se.spacer=0)),r.onKill&&r.onKill(X)},Ct.push(X),X.enable(!1,!1),te&&te(X),o&&o.add&&!ae){var Pe=X.update;X.update=function(){X.update=Pe,Tt.cache++,M||B||X.refresh()},Xe.delayedCall(.01,X.update),ae=.01,M=B=0}else X.refresh();d&&f5()},e.register=function(r){return lu||(Xe=r||oI(),rI()&&window.document&&e.enable(),lu=cf),lu},e.defaults=function(r){if(r)for(var o in r)Op[o]=r[o];return Op},e.disable=function(r,o){cf=0,Ct.forEach(function(s){return s[o?"kill":"disable"](r)}),Gn(xt,"wheel",eu),Gn(Jt,"scroll",eu),clearInterval(Cp),Gn(Jt,"touchcancel",Ai),Gn(Xt,"touchstart",Ai),Tp(Gn,Jt,"pointerdown,touchstart,mousedown",MS),Tp(Gn,Jt,"pointerup,touchend,mouseup",FS),Zh.kill(),xp(Gn);for(var i=0;i<Tt.length;i+=3)Ap(Gn,Tt[i],Tt[i+1]),Ap(Gn,Tt[i],Tt[i+2])},e.enable=function(){if(xt=window,Jt=document,fo=Jt.documentElement,Xt=Jt.body,Xe){if(Sd=Xe.utils.toArray,Bf=Xe.utils.clamp,Hb=Xe.core.context||Ai,Og=Xe.core.suppressOverwrites||Ai,W1=xt.history.scrollRestoration||"auto",Kb=xt.pageYOffset||0,Xe.core.globals("ScrollTrigger",e),Xt){cf=1,Lu=document.createElement("div"),Lu.style.height="100vh",Lu.style.position="absolute",hI(),o5(),An.register(Xe),e.isTouch=An.isTouch,ta=An.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Ub=An.isTouch===1,Yn(xt,"wheel",eu),H1=[xt,Jt,fo,Xt],Xe.matchMedia?(e.matchMedia=function(c){var f=Xe.matchMedia(),p;for(p in c)f.add(p,c[p]);return f},Xe.addEventListener("matchMediaInit",function(){dI(),Q1()}),Xe.addEventListener("matchMediaRevert",function(){return fI()}),Xe.addEventListener("matchMedia",function(){ll(0,1),Il("matchMedia")}),Xe.matchMedia().add("(orientation: portrait)",function(){return Ig(),Ig})):console.warn("Requires GSAP 3.11.0 or later"),Ig(),Yn(Jt,"scroll",eu);var r=Xt.hasAttribute("style"),o=Xt.style,i=o.borderTopStyle,s=Xe.core.Animation.prototype,a,l;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),o.borderTopStyle="solid",a=ms(Xt),zn.m=Math.round(a.top+zn.sc())||0,Pr.m=Math.round(a.left+Pr.sc())||0,i?o.borderTopStyle=i:o.removeProperty("border-top-style"),r||(Xt.setAttribute("style",""),Xt.removeAttribute("style")),Cp=setInterval(BS,250),Xe.delayedCall(.5,function(){return Dp=0}),Yn(Jt,"touchcancel",Ai),Yn(Xt,"touchstart",Ai),Tp(Yn,Jt,"pointerdown,touchstart,mousedown",MS),Tp(Yn,Jt,"pointerup,touchend,mouseup",FS),Vb=Xe.utils.checkPrefix("transform"),ph.push(Vb),lu=cr(),Zh=Xe.delayedCall(.2,ll).pause(),uu=[Jt,"visibilitychange",function(){var c=xt.innerWidth,f=xt.innerHe
6ight;Jt.hidden?(PS=c,RS=f):(PS!==c||RS!==f)&&pf()},Jt,"DOMContentLoaded",ll,xt,"load",ll,xt,"resize",pf],xp(Yn),Ct.forEach(function(c){return c.enable(0,1)}),l=0;l<Tt.length;l+=3)Ap(Gn,Tt[l],Tt[l+1]),Ap(Gn,Tt[l],Tt[l+2])}else if(Jt){var u=function c(){e.enable(),Jt.removeEventListener("DOMContentLoaded",c)};Jt.addEventListener("DOMContentLoaded",u)}}},e.config=function(r){"limitCallbacks"in r&&(Pg=!!r.limitCallbacks);var o=r.syncInterval;o&&clearInterval(Cp)||(Cp=o)&&setInterval(BS,o),"ignoreMobileResize"in r&&(Ub=e.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(xp(Gn)||xp(Yn,r.autoRefreshEvents||"none"),eI=(r.autoRefreshEvents+"").indexOf("resize")===-1)},e.scrollerProxy=function(r,o){var i=Vr(r),s=Tt.indexOf(i),a=Pl(i);~s&&Tt.splice(s,a?6:2),o&&(a?Bi.unshift(xt,o,Xt,o,fo,o):Bi.unshift(i,o))},e.clearMatchMedia=function(r){Ct.forEach(function(o){return o._ctx&&o._ctx.query===r&&o._ctx.kill(!0,!0)})},e.isInViewport=function(r,o,i){var s=(lo(r)?Vr(r):r).getBoundingClientRect(),a=s[i?bl:wl]*o||0;return i?s.right-a>0&&s.left+a<xt.innerWidth:s.bottom-a>0&&s.top+a<xt.innerHeight},e.positionInViewport=function(r,o,i){lo(r)&&(r=Vr(r));var s=r.getBoundingClientRect(),a=s[i?bl:wl],l=o==null?a/2:o in em?em[o]*a:~o.indexOf("%")?parseFloat(o)*a/100:parseFloat(o)||0;return i?(s.left+l)/xt.innerWidth:(s.top+l)/xt.innerHeight},e.killAll=function(r){if(Ct.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var o=Rl.killAll||[];Rl={},o.forEach(function(i){return i()})}},e})();Dt.version="3.15.0";Dt.saveStyles=function(e){return e?Sd(e).forEach(function(t){if(t&&t.style){var n=so.indexOf(t);n>=0&&so.splice(n,5),so.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Xe.core.getCache(t),Hb())}}):so};Dt.revert=function(e,t){return Q1(!e,t)};Dt.create=function(e,t){return new Dt(e,t)};Dt.refresh=function(e){return e?pf(!0):(lu||Dt.register())&&ll(!0)};Dt.update=function(e){return++Tt.cache&&Ds(e===!0?2:0)};Dt.clearScrollMemory=pI;Dt.maxScroll=function(e,t){return Mi(e,t?Pr:zn)};Dt.getScrollFunc=function(e,t){return Aa(Vr(e),t?Pr:zn)};Dt.getById=function(e){return zb[e]};Dt.getAll=function(){return Ct.filter(function(e){return e.vars.id!=="ScrollSmoother"})};Dt.isScrolling=function(){return!!Vo};Dt.snapDirectional=X1;Dt.addEventListener=function(e,t){var n=Rl[e]||(Rl[e]=[]);~n.indexOf(t)||n.push(t)};Dt.removeEventListener=function(e,t){var n=Rl[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)};Dt.batch=function(e,t){var n=[],r={},o=t.interval||.016,i=t.batchMax||1e9,s=function(u,c){var f=[],p=[],d=Xe.delayedCall(o,function(){c(f,p),f=[],p=[]}).pause();return function(h){f.length||d.restart(!0),f.push(h.trigger),p.push(h),i<=f.length&&d.progress(1)}},a;for(a in t)r[a]=a.substr(0,2)==="on"&&vr(t[a])&&a!=="onRefreshInit"?s(a,t[a]):t[a];return vr(i)&&(i=i(),Yn(Dt,"refresh",function(){return i=t.batchMax()})),Sd(e).forEach(function(l){var u={};for(a in r)u[a]=r[a];u.trigger=l,n.push(Dt.create(u))}),n};var WS=function(t,n,r,o){return n>o?t(o):n<0&&t(0),r>o?(o-n)/(r-n):r<0?n/(n-r):1},Mg=function e(t,n){n===!0?t.style.removeProperty("touch-action"):t.style.touchAction=n===!0?"auto":n?"pan-"+n+(An.isTouch?" pinch-zoom":""):"none",t===fo&&e(Xt,n)},$p={auto:1,scroll:1},v5=function(t){var n=t.event,r=t.target,o=t.axis,i=(n.changedTouches?n.changedTouches[0]:n).target,s=i._gsap||Xe.core.getCache(i),a=cr(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;i&&i!==Xt&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!($p[(l=Mo(i)).overflowY]||$p[l.overflowX]));)i=i.parentNode;s._isScroll=i&&i!==r&&!Pl(i)&&($p[(l=Mo(i)).overflowY]||$p[l.overflowX]),s._isScrollT=a}(s._isScroll||o==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},vI=function(t,n,r,o){return An.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:o=o&&v5,onPress:o,onDrag:o,onScroll:o,onEnable:function(){return r&&Yn(Jt,An.eventTypes[0],KS,!1,!0)},onDisable:function(){return Gn(Jt,An.eventTypes[0],KS,!0)}})},g5=/(input|label|select|textarea)/i,zS,KS=function(t){var n=g5.test(t.target.tagName);(n||zS)&&(t._gsapAllow=!0,zS=n)},y5=function(t){rl(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var n=t,r=n.normalizeScrollX,o=n.momentum,i=n.allowNestedScroll,s=n.onRelease,a,l,u=Vr(t.target)||fo,c=Xe.core.globals().ScrollSmoother,f=c&&c.get(),p=ta&&(t.content&&Vr(t.content)||f&&t.content!==!1&&!f.smooth()&&f.content()),d=Aa(u,zn),h=Aa(u,Pr),v=1,g=(An.isTouch&&xt.visualVie
6wport?xt.visualViewport.scale*xt.visualViewport.width:xt.outerWidth)/xt.innerWidth,b=0,y=vr(o)?function(){return o(a)}:function(){return o||2.8},w,_,k=vI(u,t.type,!0,i),C=function(){return _=!1},E=Ai,D=Ai,T=function(){l=Mi(u,zn),D=Bf(ta?1:0,l),r&&(E=Bf(0,Mi(u,Pr))),w=kl},x=function(){p._gsap.y=ff(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},O=function(){if(_){requestAnimationFrame(C);var z=ff(a.deltaY/2),be=D(d.v-z);if(p&&be!==d.v+d.offset){d.offset=be-d.v;var X=ff((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+X+", 0, 1)",p._gsap.y=X+"px",d.cacheID=Tt.cache,Ds()}return!0}d.offset&&x(),_=!0},A,V,re,pe,G=function(){T(),A.isActive()&&A.vars.scrollY>l&&(d()>l?A.progress(1)&&d(l):A.resetTo("scrollY",l))};return p&&Xe.set(p,{y:"+=0"}),t.ignoreCheck=function(K){return ta&&K.type==="touchmove"&&O()||v>1.05&&K.type!=="touchstart"||a.isGesturing||K.touches&&K.touches.length>1},t.onPress=function(){_=!1;var K=v;v=ff((xt.visualViewport&&xt.visualViewport.scale||1)/g),A.pause(),K!==v&&Mg(u,v>1.01?!0:r?!1:"x"),V=h(),re=d(),T(),w=kl},t.onRelease=t.onGestureStart=function(K,z){if(d.offset&&x(),!z)pe.restart(!0);else{Tt.cache++;var be=y(),X,Fe;r&&(X=h(),Fe=X+be*.05*-K.velocityX/.227,be*=WS(h,X,Fe,Mi(u,Pr)),A.vars.scrollX=E(Fe)),X=d(),Fe=X+be*.05*-K.velocityY/.227,be*=WS(d,X,Fe,Mi(u,zn)),A.vars.scrollY=D(Fe),A.invalidate().duration(be).play(.01),(ta&&A.vars.scrollY>=l||X>=l-1)&&Xe.to({},{onUpdate:G,duration:be})}s&&s(K)},t.onWheel=function(){A._ts&&A.pause(),cr()-b>1e3&&(w=0,b=cr())},t.onChange=function(K,z,be,X,Fe){if(kl!==w&&T(),z&&r&&h(E(X[2]===z?V+(K.startX-K.x):h()+z-X[1])),be){d.offset&&x();var Ve=Fe[2]===be,tt=Ve?re+K.startY-K.y:d()+be-Fe[1],Be=D(tt);Ve&&tt!==Be&&(re+=Be-tt),d(Be)}(be||z)&&Ds()},t.onEnable=function(){Mg(u,r?!1:"x"),Dt.addEventListener("refresh",G),Yn(xt,"resize",G),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=h.smooth=!1),k.enable()},t.onDisable=function(){Mg(u,!0),Gn(xt,"resize",G),Dt.removeEventListener("refresh",G),k.kill()},t.lockAxis=t.lockAxis!==!1,a=new An(t),a.iOS=ta,ta&&!d()&&d(1),ta&&Xe.ticker.add(Ai),pe=a._dc,A=Xe.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:mI(d,d(),function(){return A.pause()})},onUpdate:Ds,onComplete:pe.vars.onComplete}),a};Dt.sort=function(e){if(vr(e))return Ct.sort(e);var t=xt.pageYOffset||0;return Dt.getAll().forEach(function(n){return n._sortY=n.trigger?t+n.trigger.getBoundingClientRect().top:n.start+xt.innerHeight}),Ct.sort(e||function(n,r){return(n.vars.refreshPriority||0)*-1e6+(n.vars.containerAnimation?1e6:n._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};Dt.observe=function(e){return new An(e)};Dt.normalizeScroll=function(e){if(typeof e>"u")return Dr;if(e===!0&&Dr)return Dr.enable();if(e===!1){Dr&&Dr.kill(),Dr=e;return}var t=e instanceof An?e:y5(e);return Dr&&Dr.target===t.target&&Dr.kill(),Pl(t.target)&&(Dr=t),t};Dt.core={_getVelocityProp:jb,_inputObserver:vI,_scrollers:Tt,_proxies:Bi,bridge:{ss:function(){Vo||Il("scrollStart"),Vo=cr()},ref:function(){return lr}}};oI()&&Xe.registerPlugin(Dt);var _5=/(?:^\s+|\s+$)/g,b5=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2642\u2640]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDD27\uDCBC\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCC\uDFCB]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uD
6FC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function gI(e){var t=e.nodeType,n="";if(t===1||t===9||t===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=gI(e)}else if(t===3||t===4)return e.nodeValue;return n}function Yb(e,t,n,r,o){for(var i=e.firstChild,s=[],a;i;)i.nodeType===3?(a=(i.nodeValue+"").replace(/^\n+/g,""),r||(a=a.replace(/\s+/g," ")),s.push.apply(s,yI(a,t,n,r,o))):(i.nodeName+"").toLowerCase()==="br"?s[s.length-1]+="<br>":s.push(i.outerHTML),i=i.nextSibling;if(!o)for(a=s.length;a--;)s[a]==="&"&&s.splice(a,1,"&amp;");return s}function yI(e,t,n,r,o){if(e+="",n&&(e=e.trim?e.trim():e.replace(_5,"")),t&&t!=="")return e.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(t);for(var i=[],s=e.length,a=0,l,u;a<s;a++)u=e.charAt(a),(u.charCodeAt(0)>=55296&&u.charCodeAt(0)<=56319||e.charCodeAt(a+1)>=65024&&e.charCodeAt(a+1)<=65039)&&(l=((e.substr(a,12).split(b5)||[])[1]||"").length||2,u=e.substr(a,l),i.emoji=1,a+=l-1),i.push(o?u:u===">"?"&gt;":u==="<"?"&lt;":r&&u===" "&&(e.charAt(a-1)===" "||e.charAt(a+1)===" ")?"&nbsp;":u);return i}var hf,Mp,w5=function(){return hf||typeof window<"u"&&(hf=window.gsap)&&hf.registerPlugin&&hf},zd={version:"3.15.0",name:"text",init:function(t,n,r){typeof n!="object"&&(n={value:n});var o=t.nodeName.toUpperCase(),i=this,s=n,a=s.newClass,l=s.oldClass,u=s.preserveSpaces,c=s.rtl,f=i.delimiter=n.delimiter||"",p=i.fillChar=n.fillChar||(n.padSpace?"&nbsp;":""),d,h,v,g,b,y,w,_;if(i.svg=t.getBBox&&(o==="TEXT"||o==="TSPAN"),!("innerHTML"in t)&&!i.svg)return!1;if(i.target=t,!("value"in n)){i.text=i.original=[""];return}
6for(v=Yb(t,f,!1,u,i.svg),Mp||(Mp=document.createElement("div")),Mp.innerHTML=n.value,h=Yb(Mp,f,!1,u,i.svg),i.from=r._from,(i.from||c)&&!(c&&i.from)&&(o=v,v=h,h=o),i.hasClass=!!(a||l),i.newClass=c?l:a,i.oldClass=c?a:l,o=v.length-h.length,d=o<0?v:h,o<0&&(o=-o);--o>-1;)d.push(p);if(n.type==="diff"){for(g=0,b=[],y=[],w="",o=0;o<h.length;o++)_=h[o],_===v[o]?w+=_:(b[g]=w+_,y[g++]=w+v[o],w="");h=b,v=y,w&&(h.push(w),v.push(w))}n.speed&&r.duration(Math.min(.05/n.speed*d.length,n.maxDuration||9999)),i.rtl=c,i.original=v,i.text=h,i._props.push("text")},render:function(t,n){t>1?t=1:t<0&&(t=0),n.from&&(t=1-t);var r=n.text,o=n.hasClass,i=n.newClass,s=n.oldClass,a=n.delimiter,l=n.target,u=n.fillChar,c=n.original,f=n.rtl,p=r.length,d=(f?1-t:t)*p+.5|0,h,v,g;o&&t?(h=i&&d,v=s&&d!==p,g=(h?"<span class='"+i+"'>":"")+r.slice(0,d).join(a)+(h?"</span>":"")+(v?"<span class='"+s+"'>":"")+a+c.slice(d).join(a)+(v?"</span>":"")):g=r.slice(0,d).join(a)+a+c.slice(d).join(a),n.svg?l.textContent=g:l.innerHTML=u==="&nbsp;"&&~g.indexOf("  ")?g.split("  ").join("&nbsp;&nbsp;"):g}};zd.splitInnerHTML=Yb;zd.emojiSafeSplit=yI;zd.getText=gI;w5()&&hf.registerPlugin(zd);var $l=eo.registerPlugin(BR)||eo;$l.core.Tween;const k5=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(+e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>+e/4).toString(16)),E5=[{name:"slide-left",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{x:-32},{x:0}]},{name:"slide-right",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{x:32},{x:0}]},{name:"slide-top",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{y:-32},{y:0}]},{name:"slide-bottom",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{y:32},{y:0}]},{name:"scale",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{scale:.75},{scale:1}]},{name:"scale-full",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{scale:0},{scale:1}]},{name:"fade",modifiers:"whenVisible.fromInvisible.once.fromTo",value:[{autoAlpha:0},{autoAlpha:1}]}];$l.registerPlugin(Dt,Sc,Ec,zd);const Kc={};let tm,nm;const S5=(e,t,n,r)=>({getSSRProps:o=>(o=GS(o,t),{"data-vgsap-from-invisible":o.modifiers.fromInvisible,"data-vgsap-stagger":o.modifiers.stagger}),async beforeMount(o,i,s){if(i=GS(i,t),o.dataset.gsapId=k5(),o.dataset.vgsapFromInvisible=i.modifiers.fromInvisible,o.dataset.vgsapStagger=i.modifiers.stagger,n||(n=$l.context(()=>{})),i.modifiers.timeline){if(!Fp(i,t))return;_I(s),await it(),Kc[o.dataset.gsapId]=Fg(o,i,t),o.dataset.gsapTimeline=!0,n.add(()=>Kc[o.dataset.gsapId])}},mounted(o,i){let s;if(i.modifiers.timeline)Kc[o.dataset.gsapId]?.scrollTrigger?.refresh(),Dt?.normalizeScroll(!0);else{if(i.modifiers.magnetic)return D5(o,i);if(Fp(i,t)&&(s=Fg(o,i,t)),i.modifiers.add){let a=Xb(i,"order-")||Xb(i,"suggestedOrder-");if(i.modifiers.withPrevious&&(a="<"),!o.closest('[data-gsap-timeline="true"]')?.dataset?.gsapId)return;Kc[o.closest('[data-gsap-timeline="true"]').dataset.gsapId]?.add(s,a)}}n.add(()=>s),r=window.addEventListener("resize",()=>{!Fp(i,t)&&s&&(s=x5(s)),Fp(i,t)&&!s&&(s=Fg(o,i,t))})},unmounted(o){Dt.getById(o.dataset.gsapId)?.kill(),Kc[o.dataset.gsapId]?.scrollTrigger?.kill(),n.revert(),removeEventListener("resize",r),tm&&tm.disconnect(),nm&&nm.disconnect()}});function Fp(e,t){const n=t?.breakpoint||768;return!(e.modifiers.desktop&&window.innerWidth<=n||e.modifiers.mobile&&window.innerWidth>n)}function _I(e,t){let n=t||0;return((o=>o?.children?Array.from(o?.children):o?.component?.subtree?Array.from(o?.ctx?.subtree):[])(e)||[])?.forEach(o=>{(o?.dirs?Array.from(o?.dirs):[])?.forEach(i=>{i.modifiers.timeline||(i.modifiers[`suggestedOrder-${n}`]=!0,n++)}),n=_I(o,n)}),n}function Fg(e,t,n){const r={},o=C5(t),i=t.modifiers.call??t.modifiers.once,s=n?.scroller||t.value?.scroller||t.value?.[0]?.scroller||t.value?.[1]?.scroller||void 0,a=t.value?.scrub??t.value?.[1]?.scrub??(i==!0?!1:void 0)??!0,l=t.modifiers.markers;if(t.modifiers.whenVisible&&(r.scrollTrigger={trigger:e,id:e.dataset.gsapId,start:t.value?.start??"top 90%",end:t.value?.end??"top 50%",scroller:s,scrub:a,...o,markers:l,toggleActions:t.modifiers.once?t.modifiers.reversible?"play none none reverse":"play none none none":void 0}),t.modifiers.pinned){const d=t.value?.end??"+=1000px";r.scrollTrigger={trigger:e,id:e.dataset.gsapId,start:t.value?.start??"center center",end:d,scroller:s,scrub:a,pin:!0,pinSpacing:"margin",...o,markers:l}}t.modifiers.parallax&&(r.scrollTrigger={trigger:e,id:e.dataset.gsapId,start:"top bottom",end:"bottom top",scroller:s,scrub:!0,...o,markers:l}),!i&&t.modifiers.parallax&&(r.scrollTrigger.toggleActions="restart none none reverse"),t.modifiers.infinitely&&(r.repeat=-1);const u=$l.timeline(r);if(t.modifiers.parallax){const[d,h]=Object.keys(t.modifiers).find(g=>g.includes("slower")||g.includes("faster"))?.split("-"),v=d=="slower"?-1:1;u.fromTo(e,{yPercent:+`${10*+(h||5)*v}`},{yPercent:+`${10*+(h||5)*v*-1}`,ease:"linear"})}const c=Object.keys(t.modifiers).find(d=>d.includes("delay"));if(c){const d=c.split("-")?.[1]||500;u.to("body",{duration:+d/1e3})}const f=t.modifiers.stagger?t.value?.stagger??t.value?.[1]?.stagger??"0.2":!1;t.modifiers.stagger&&(e=e.children),delete t.value?.start,delete t.value?.end,delete t.value?.scrub,delete t.value?.scroller,delete t.value?.markers,delete t.value?.toggleActions;const p=Object.keys(t.modifiers).find(d=>["to","from","set","fromTo","call"].includes(d));if(p=="to"&&(t.modifiers.fromInvisible&&(t.value.opacity=t.value.opacity||1),u.to(e,{...t.value,stagger:f})),p=="set"&&u.set(e,{...t.value,stagger:f}),p=="from"&&(u.from(e,{...t.value,stagger:f,opacity:t.value.opacity??(t.modifiers.fromInvisible?0:1),duration:t.value.duration||.5}),t.modifiers.fromInvisible&&u.to(e,{opacity:1,stagger:f,duration:t.value.duration||.5},"<")),p=="fromTo"){const d=t.value;t.modifiers.stagger&&(d[1].stagger=f),t.modifiers.fromInvisible&&(d[0].opacity=0,d[1].opacity=d[1].opacity||1),u.fromTo(e,t.value?.[0],t.value?.[1])}if(t.modifiers.animateText){const d=typeof t.value=="string"?t.value:t.value?.text||e.textContent;e.textContent&&(e.textContent="");const h={slow:.5,fast:10},v=h[Object.keys(t.modifiers).find(g=>Object.keys(h).includes(g))||""]||2;u.to(e,{text:{value:d,speed:v}})}if(t.modifiers.whileHover&&(u.pause(),e.addEventListener("mouseenter",()=>u.play()),e.addEventListener("mouseout",()=>{t.modifiers.noReverse?u.time(0).pause():u.play().reverse()})),p=="call"&&u.call(t.value),t.modifiers.draggable){const d=Object.keys(t.modifiers).find(h=>["x","y","rotation"].includes(h));Ec.create(e,{type:d,bounds:t.value||e.parentElement})}if(Xb(t,"onState")){const[d,h="true"]=Object.keys(t.modifiers).find(b=>b.toLowerCase().includes("onstate"))?.split("-")?.slice(1),v=t.modifiers.inherit?(e?.[0]||e).closest(`*[data-${d}]`):e?.[0]||e,g=()=>v.dataset[d];
6g()!=h&&u.pause(),tm=new MutationObserver(b=>{if(b.filter(w=>w.attributeName==`data-${d}`)?.[0])return g()==h?u.play():u.play().reverse()}),tm.observe(v,{attributes:!0})}return u}function C5(e){const t={};return e.modifiers.onUpdate&&(t.onUpdate=e.value),e.modifiers.onEnter&&(t.onEnter=e.value),e.modifiers.onEnterBack&&(t.onEnterBack=e.value),e.modifiers.onLeave&&(t.onLeave=e.value),e.modifiers.onLeaveBack&&(t.onLeaveBack=e.value),t}function D5(e,t){const n={strong:2,stronger:1.5,weaker:.75,weak:.5},r=o=>{if(e){const{width:i,height:s,left:a,right:l,top:u,bottom:c}=e.getBoundingClientRect(),f=a+i/2,p=u+s/2,d=o.clientX-f,h=o.clientY-p,v=a<o.clientX&&l>o.clientX?0:Math.min(Math.abs(o.clientX-a),Math.abs(o.clientX-l)),g=u<o.clientY&&c>o.clientY?0:Math.min(Math.abs(o.clientY-u),Math.abs(o.clientY-c)),b=Object.entries(n).find(E=>t.modifiers[E[0]])?.[1]||1,y=Math.sqrt(v**2+g**2),w=Math.sqrt(d**2+h**2),_=i/3,k=s/3,C=.45*b;if(y<_&&y<k){const E=Math.abs(1-w/4)/((_+k)/2);$l.to(e,{x:d*E*C,y:h*E*C,duration:.2})}else $l.to(e,{x:0,y:0,duration:.3})}};nm=new IntersectionObserver(o=>{o.forEach(i=>{i.isIntersecting?window.addEventListener("mousemove",r):window.removeEventListener("mousemove",r)})}),nm.observe(e)}function GS(e,t){const n=(r,o)=>{r.modifiers.split(".").forEach(i=>o.modifiers[i]=!0),typeof o.value=="string"&&(o.value={}),r.value&&(o.value={...o.value,...r.value})};if(e.modifiers.preset&&t?.presets?.length){const r=t?.presets.find(o=>o.name==e.value);r&&n(r,e)}if(e.modifiers.entrance){const r=E5.filter(o=>Object.keys(e.modifiers).includes(o.name))?.[0];r&&n(r,e)}return e}function x5(e){e?.restart(!1,!0),e?.kill()}function Xb(e,t){return Object.keys(e.modifiers)?.find(n=>n.toLowerCase().includes(t.toLowerCase()))?.split("-")?.[1]}const Lg=()=>$l,T5=Bn(e=>{e.vueApp.directive("gsap",S5("nuxt",zo().public.vgsap??{},null,void 0))}),bI="admin-time-zone",Qb="America/New_York";function A5(e){if(typeof e!="string"||e==="")return!1;try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}}function O5(){try{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;return A5(e)?e:Qb}catch{return Qb}}function pde(){return Gu(bI,()=>Qb)}const P5=Bn(()=>{Zm(()=>{const e=Gu(bI,"$Hgw9HXius9"),t=O5();e.value!==t&&(e.value=t)})}),R5=Bn(()=>{});var dv=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},I5=class extends dv{#e;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},wI=new I5,$5={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},M5=class{#e=$5;#n=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Zb=new M5;function F5(e){setTimeout(e,0)}var kI=typeof window>"u"||"Deno"in globalThis;function Xo(){}function L5(e,t){return typeof e=="function"?e(t):e}function N5(e){return typeof e=="number"&&e>=0&&e!==1/0}function B5(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Jb(e,t){return typeof e=="function"?e(t):e}function j5(e,t){return typeof e=="function"?e(t):e}function YS(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Z1(s,t.options))return!1}else if(!xd(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function XS(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Dd(t.options.mutationKey)!==Dd(i))return!1}else if(!xd(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Z1(e,t){return(t?.queryKeyHashFn||Dd)(e)}function Dd(e){return JSON.stringify(e,(t,n)=>e0(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function xd(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>xd(e[n],t[n])):!1}var q5=Object.prototype.hasOwnProperty;function EI(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=QS(e)&&QS(t);if(!r&&!(e0(e)&&e0(t)))return t;const i=(r?e:Object.keys(e)).length,s=r?t:Object.keys(t),a=s.length,l=r?new Array(a):{};let u=0;for(let c=0;c<a;c++){const f=r?c:s[c],p=e[f],d=t[f];if(p===d){l[f]=p,(r?c<i:q5.call(e,f))&&u++;continue}if(p===null||d===null||typeof p!="object"||typeof d!="object"){l[f]=d;continue}const h=EI(p,d,n+1);l[f]=h,h===p&&u++}return i===a&&u===i?e:l}function hde(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function QS(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function e0(e){if(!ZS(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ZS(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ZS(e){return Object.prototype.toString.call(e)==="[object Object]"}function V5(e){return new Promise(t=>{Zb.setTimeout(t,e)})}
6function U5(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?EI(e,t):t}function mde(e){return e}function H5(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function W5(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var J1=Symbol();function SI(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===J1?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function vde(e,t){return typeof e=="function"?e(...t):!!e}function z5(e,t,n){let r=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=t(),r||(r=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}var CI=(()=>{let e=()=>kI;return{isServer(){return e()},setIsServer(t){e=t}}})();function K5(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}var G5=F5;function Y5(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=G5;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Or=Y5(),X5=class extends dv{#e=!0;#n;#t;constructor(){super(),this.#t=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#n||this.setEventListener(this.#t)}onUnsubscribe(){this.hasListeners()||(this.#n?.(),this.#n=void 0)}setEventListener(e){this.#t=e,this.#n?.(),this.#n=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},rm=new X5;function Q5(e){return Math.min(1e3*2**e,3e4)}function DI(e){return(e??"online")==="online"?rm.isOnline():!0}var t0=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function xI(e){let t=!1,n=0,r;const o=K5(),i=()=>o.status!=="pending",s=v=>{if(!i()){const g=new t0(v);p(g),e.onCancel?.(g)}},a=()=>{t=!0},l=()=>{t=!1},u=()=>wI.isFocused()&&(e.networkMode==="always"||rm.isOnline())&&e.canRun(),c=()=>DI(e.networkMode)&&e.canRun(),f=v=>{i()||(r?.(),o.resolve(v))},p=v=>{i()||(r?.(),o.reject(v))},d=()=>new Promise(v=>{r=g=>{(i()||u())&&v(g)},e.onPause?.()}).then(()=>{r=void 0,i()||e.onContinue?.()}),h=()=>{if(i())return;let v;const g=n===0?e.initialPromise:void 0;try{v=g??e.fn()}catch(b){v=Promise.reject(b)}Promise.resolve(v).then(f).catch(b=>{if(i())return;const y=e.retry??(CI.isServer()?0:3),w=e.retryDelay??Q5,_=typeof w=="function"?w(n,b):w,k=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,b);if(t||!k){p(b);return}n++,e.onFail?.(n,b),V5(_).then(()=>u()?void 0:d()).then(()=>{t?p(b):h()})})};return{promise:o,status:()=>o.status,cancel:s,continue:()=>(r?.(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?h():d().then(h),o)}}var TI=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),N5(this.gcTime)&&(this.#e=Zb.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(CI.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Zb.clearTimeout(this.#e),this.#e=void 0)}},Z5=class extends TI{#e;#n;#t;#o;#r;#i;#s;constructor(e){super(),this.#s=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#o=e.client,this.#t=this.#o.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=eC(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=eC(this.options);t.data!==void 0&&(this.setState(JS(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#t.remove(this)}setData(e,t){const n=U5(this.state.data,e,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Xo).catch(Xo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>j5(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===J1||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
6Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Jb(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!B5(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#s||this.#l()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#t.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,r=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},o=()=>{const a=SI(this.options,t),u=(()=>{const c={client:this.#o,queryKey:this.queryKey,meta:this.meta};return r(c),c})();return this.#s=!1,this.options.persister?this.options.persister(a,u,this):a(u)},s=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:o};return r(a),a})();this.options.behavior?.onFetch(s,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#a({type:"fetch",meta:s.fetchOptions?.meta}),this.#r=xI({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:a=>{a instanceof t0&&a.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#a({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const a=await this.#r.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#t.config.onSuccess?.(a,this),this.#t.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof t0){if(a.silent)return this.#r.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#a({type:"error",error:a}),this.#t.config.onError?.(a,this),this.#t.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...J5(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...JS(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const o=e.error;return{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Or.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#t.notify({query:this,type:"updated",action:e})})}};function J5(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:DI(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function JS(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function eC(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
6Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function tC(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],s=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let c=!1;const f=h=>{z5(h,()=>t.signal,()=>c=!0)},p=SI(t.options,t.fetchOptions),d=async(h,v,g)=>{if(c)return Promise.reject();if(v==null&&h.pages.length)return Promise.resolve(h);const y=(()=>{const C={client:t.client,queryKey:t.queryKey,pageParam:v,direction:g?"backward":"forward",meta:t.options.meta};return f(C),C})(),w=await p(y),{maxPages:_}=t.options,k=g?W5:H5;return{pages:k(h.pages,w,_),pageParams:k(h.pageParams,v,_)}};if(o&&i.length){const h=o==="backward",v=h?eH:nC,g={pages:i,pageParams:s},b=v(r,g);a=await d(g,b,h)}else{const h=e??i.length;do{const v=l===0?s[0]??r.initialPageParam:nC(r,a);if(l>0&&v==null)break;a=await d(a,v),l++}while(l<h)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function nC(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function eH(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var tH=class extends TI{#e;#n;#t;#o;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#n=[],this.state=e.state||nH(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#n.includes(e)||(this.#n.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#n=this.#n.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#n.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#o=xI({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,s)=>{this.#r({type:"failed",failureCount:i,error:s})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const r=this.state.status==="pending",o=!this.#o.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:o}),this.#t.config.onMutate&&await this.#t.config.onMutate(e,this,n);const s=await this.options.onMutate?.(e,n);s!==this.state.context&&this.#r({type:"pending",context:s,variables:e,isPaused:o})}const i=await this.#o.start();return await this.#t.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#t.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#r({type:"success",data:i}),i}catch(i){try{await this.#t.config.onError?.(i,e,this.state.context,this,n)}catch(s){Promise.reject(s)}try{await this.options.onError?.(i,e,this.state.context,n)}catch(s){Promise.reject(s)}try{await this.#t.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n)}catch(s){Promise.reject(s)}try{await this.options.onSettled?.(void 0,i,e,this.state.context,n)}catch(s){Promise.reject(s)}throw this.#r({type:"error",error:i}),i}finally{this.#t.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPau
6sed:!1,status:"error"}}};this.state=t(this.state),Or.batch(()=>{this.#n.forEach(n=>{n.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function nH(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var AI=class extends dv{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#n=new Map,this.#t=0}#e;#n;#t;build(t,n,r){const o=new tH({client:t,mutationCache:this,mutationId:++this.#t,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){this.#e.add(t);const n=Lp(t);if(typeof n=="string"){const r=this.#n.get(n);r?r.push(t):this.#n.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=Lp(t);if(typeof n=="string"){const r=this.#n.get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&this.#n.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Lp(t);if(typeof n=="string"){const o=this.#n.get(n)?.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){const n=Lp(t);return typeof n=="string"?this.#n.get(n)?.find(o=>o!==t&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Or.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#n.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(r=>XS(n,r))}findAll(t={}){return this.getAll().filter(n=>XS(t,n))}notify(t){Or.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Or.batch(()=>Promise.all(t.map(n=>n.continue().catch(Xo))))}};function Lp(e){return e.options.scope?.id}var OI=class extends dv{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,r){const o=n.queryKey,i=n.queryHash??Z1(o,n);let s=this.get(i);return s||(s=new Z5({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Or.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>YS(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>YS(t,r)):n}notify(t){Or.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Or.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Or.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},rH=class{#e;#n;#t;#o;#r;#i;#s;#l;constructor(t={}){this.#e=t.queryCache||new OI,this.#n=t.mutationCache||new AI,this.#t=t.defaultOptions||{},this.#o=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=wI.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=rm.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#l?.(),this.#l=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#n.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),r=this.#e.build(this,n),o=r.state.data;return o===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(Jb(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(o))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:r})=>{const o=r.data;return[n,o]})}setQueryData(t,n,r){const o=this.defaultQueryOptions({queryKey:t}),s=this.#e.get(o.queryHash)?.state.data,a=L5(n,s);if(a!==void 0)return this.#e.build(this,o).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Or.batch(()=>this.#e.findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,n,r)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;Or.batch(()=>{n.findAll(t).forEach(r=>{n.remove(r)})})}resetQueries(t,n){const r=this.#e;return Or.batch(()=>(r.findAll(t).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const r={revert:!0,...n},o=Or.batch(()=>this.#e.findAll(t).map(i=>i.cancel(r)));return Promise.all(o).then(Xo).catch(Xo)}invalidateQueries(t,n={}){return Or.batch(()=>(this.#e.findAll(t).forEach(r=>{r.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},o=Or.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,r);return r.throwOnError||(s=s.catch(Xo)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(o).then(Xo)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const r=this.#e.build(this,n);return r.isStaleByTime(Jb(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Xo).catch(Xo)}fetchInfiniteQuery(t){return t.behavior=tC(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Xo).catch(Xo)}ensureInfiniteQueryData(t){return t.behavior=tC(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return rm.isOnline()?this.#n.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#n}getDefaultOptions(){return this.#t}setDefaultOptions(t){this.#t=t}
6setQueryDefaults(t,n){this.#o.set(Dd(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#o.values()],r={};return n.forEach(o=>{xd(t,o.queryKey)&&Object.assign(r,o.defaultOptions)}),r}setMutationDefaults(t,n){this.#r.set(Dd(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#r.values()],r={};return n.forEach(o=>{xd(t,o.mutationKey)&&Object.assign(r,o.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#t.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Z1(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===J1&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#t.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#n.clear()}},oH="VUE_QUERY_CLIENT";function iH(e){const t=e?`:${e}`:"";return`${oH}${t}`}function bde(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function n0(e,t,n="",r=0){if(t){const o=t(e,n,r);if(o===void 0&&lt(e)||o!==void 0)return o}if(Array.isArray(e))return e.map((o,i)=>n0(o,t,String(i),r+1));if(typeof e=="object"&&aH(e)){const o=Object.entries(e).map(([i,s])=>[i,n0(s,t,i,r+1)]);return Object.fromEntries(o)}return e}function sH(e,t){return n0(e,t)}function At(e,t=!1){return sH(e,(n,r,o)=>{if(o===1&&r==="queryKey")return At(n,!0);if(t&&lH(n))return At(n(),t);
6if(lt(n))return At(S(n),t)})}function aH(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function lH(e){return typeof e=="function"}var uH=class extends OI{find(e){return super.find(At(e))}findAll(e={}){return super.findAll(At(e))}},cH=class extends AI{find(e){return super.find(At(e))}findAll(e={}){return super.findAll(At(e))}},fH=class extends rH{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new uH,mutationCache:e.mutationCache||new cH};super(t),this.isRestoring=ne(!1)}isFetching(e={}){return super.isFetching(At(e))}isMutating(e={}){return super.isMutating(At(e))}getQueryData(e){return super.getQueryData(At(e))}ensureQueryData(e){return super.ensureQueryData(At(e))}getQueriesData(e){return super.getQueriesData(At(e))}setQueryData(e,t,n={}){return super.setQueryData(At(e),t,At(n))}setQueriesData(e,t,n={}){return super.setQueriesData(At(e),t,At(n))}getQueryState(e){return super.getQueryState(At(e))}removeQueries(e={}){return super.removeQueries(At(e))}resetQueries(e={},t={}){return super.resetQueries(At(e),At(t))}cancelQueries(e={},t={}){return super.cancelQueries(At(e),At(t))}invalidateQueries(e={},t={}){const n=At(e),r=At(t);if(super.invalidateQueries({...n,refetchType:"none"},r),n.refetchType==="none")return Promise.resolve();const o={...n,type:n.refetchType??n.type??"active"};return it().then(()=>super.refetchQueries(o,r))}refetchQueries(e={},t={}){return super.refetchQueries(At(e),At(t))}fetchQuery(e){return super.fetchQuery(At(e))}prefetchQuery(e){return super.prefetchQuery(At(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(At(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(At(e))}setDefaultOptions(e){super.setDefaultOptions(At(e))}setQueryDefaults(e,t){super.setQueryDefaults(At(e),At(t))}getQueryDefaults(e){return super.getQueryDefaults(At(e))}setMutationDefaults(e,t){super.setMutationDefaults(At(e),At(t))}getMutationDefaults(e){return super.getMutationDefaults(At(e))}},dH={install:(e,t={})=>{const n=iH(t.queryClientKey);let r;if("queryClient"in t&&t.queryClient)r=t.queryClient;else{const s="queryClientConfig"in t?t.queryClientConfig:void 0;r=new fH(s)}kI||r.mount();let o=()=>{};if(t.clientPersister){r.isRestoring&&(r.isRestoring.value=!0);const[s,a]=t.clientPersister(r);o=s,a.then(()=>{r.isRestoring&&(r.isRestoring.value=!1),t.clientPersisterOnSuccess?.(r)})}const i=()=>{r.unmount(),o()};if(e.onUnmount)e.onUnmount(i);else{const s=e.unmount;e.unmount=function(){i(),s()}}e.provide(n,r)}};const pH=Bn(e=>{const t={queryClientConfig:{defaultOptions:{queries:{staleTime:3e5,retry:1,refetchOnWindowFocus:!1}}}};e.vueApp.use(dH,t)}),hH=Bn({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(e){const t=Zt(e._id);if(t.$i18n.strategy!=="no_prefix"||!kc())return;const n=t.$i18n.getLocaleCookie();t.hook("app:mounted",async()=>{const r=JO(t,t.$router.currentRoute.value,n,n||S(t.$i18n.defaultLocale));await t.$i18n.setLocale(r.locale),t._vueI18n.__firstAccess=!1})}}),mH=[C3,x3,R3,Qq,Zq,Jq,eV,tV,W6,z6,G6,Y6,X6,Q6,d4,T5,P5,R5,pH,hH],PI=(e="RouteProvider")=>ge({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,o={};for(const i in t.route)Object.defineProperty(o,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Qn(Dl,Ri(o)),()=>t.vnode?Bt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),vH=PI(),rC=new WeakMap,gH=ge({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=Zt(),i=ne(),s=Kt(Dl,null);let a;r({pageRef:i});const l=Kt(eO,null);let u;const c=o.deferHydration();let f=!1,p=0;if(o.isHydrating){const h=o.hooks.hookOnce("app:error",c);Mr().beforeEach(h)}e.pageKey&&Ie(()=>e.pageKey,(h,v)=>{h!==v&&o.callHook("page:loading:start")});let d=!1;{const h=Mr().beforeResolve(()=>{d=!1});$a(()=>{h(),c()})}return()=>Bt(IO,{name:e.name,route:e.route,...t},{default:h=>
6{const v=yH(s,h.route,h.Component),g=s&&s.matched.length===h.route.matched.length;if(!h.Component){if(u&&!g)return u;c();return}if(u&&l&&!l.isCurrent(h.route))return u;if(v&&s&&(!l||l?.isCurrent(s)))return g||u?u:null;const b=tb(h,e.pageKey),y=_H(s,h.route,h.Component);!o.isHydrating&&a===b&&!y&&it(()=>{d||(d=!0,o.callHook("page:loading:end"))}),f&&a!==b&&p++,a=b;const w=!!(e.transition??h.route.meta.pageTransition??Ok),_=w&&FO([e.transition,h.route.meta.pageTransition,Ok,{onAfterLeave(){o["~transitionFinish"]?.(),delete o["~transitionFinish"],delete o["~transitionPromise"],o.callHook("page:transition:finish",h.Component)}}]),k=e.keepalive??h.route.meta.keepalive??sB;return u=MO(w&&_,Vj(k,Bt(X0,{key:p,suspensible:!0,onPending:()=>{f=!0,w&&!o["~transitionPromise"]&&(o["~transitionPromise"]=new Promise(C=>{o["~transitionFinish"]=C})),o.callHook("page:start",h.Component)},onResolve:async()=>{f=!1;try{await it(),o._route.sync?.(),await o.callHook("page:finish",h.Component),!d&&!y&&(d=!0,await o.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const C={key:b||void 0,vnode:n.default?bH(n.default,h):h.Component,route:h.route,renderKey:b||void 0,trackRootNodes:w,vnodeRef:i};if(!k)return Bt(vH,C);const E=h.Component.type,D=E;let T=rC.get(D);return T||(T=PI(E.name||E.__name),rC.set(D,T)),Bt(T,C)}}))).default(),u}})}});function yH(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&tb({route:t,Component:n})!==tb({route:e,Component:n})}function _H(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}function bH(e,t){const n=e(t);return n.length===1?Bt(n[0]):Bt(Je,void 0,n)}const RI=hO,wH=ge({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Bt(aa[e.name],e.layoutProps,t.slots)}}),kH={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},EH=ge({name:"NuxtLayout",inheritAttrs:!1,props:kH,setup(e,t){const n=Zt(),r=Kt(Dl),i=!r||r===no()?Qm():r,s=N(()=>{let c=S(e.name)??i?.meta.layout??RI(i?.path).appLayout??"default";return c&&!(c in aa)&&e.fallback&&(c=S(e.fallback)),c}),a=yt();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Mr().beforeEach(c)}let u;return()=>{const f=!!s.value&&s.value in aa&&!!(i?.meta.layoutTransition??Ak),p=f&&FO([i?.meta.layoutTransition,Ak,{onBeforeLeave(){n["~transitionPromise"]=new Promise(h=>{n["~transitionFinish"]=h})},onAfterLeave(){n["~transitionFinish"]?.(),delete n["~transitionFinish"],delete n["~transitionPromise"]}}]),d=u;return u=s.value,MO(p,{default:()=>Bt(X0,{suspensible:!0,onResolve:async()=>{await it(l)}},{default:()=>Bt(SH,{layoutProps:at(t.attrs,i.meta.layoutProps??{},{ref:a}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:h=>h!==d&&h===s.value,hasTransition:f},t.slots)})}).default()}}}),SH=ge({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Qn(eO,{isCurrent:i=>n===!1||n===(i.meta.layout??RI(i.path).appLayout??"default")});const r=Kt(Dl);if(r&&r===no()){const i=Qm(),s={};for(const a in i){const l=a;Object.defineProperty(s,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}Qn(Dl,Ri(s))}return()=>!n||typeof n=="string"&&!(n in aa)?t.slots.default?.():Bt(wH,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),CH=ge({__name:"GSAPTransition",props:{hidden:{},duration:{default:.5},stagger:{default:.1},delay:{},appear:{type:Boolean,default:!1},group:{type:Boolean},ease:{default:"power1.inOut"}},setup(e){const t=e,n=N(()=>({opacity:0,ease:t.ease,...t.hidden})),r=ne();_t(()=>{t.appear&&Lg().set(r.value,n.value)});const o=(s,a)=>{Lg().from(s,{...n.value,delay:(t.delay||0)+s.dataset.index*(t.stagger||0),duration:t.duration,onComplete:a})},i=(s,a)=>{Lg().to(s,{...n.value,delay:(t.delay||0)+s.dataset.index*(t.stagger||0),duration:t.duration,onComplete:a})};return(s,a)=>(R(),ie(er(e.group?N2:Ud),{ref_key:"slotRef",ref:r,duration:e.duration*1e3,appear:e.appear,onLeave:i,onEnter:o},{default:J(()=>[$e(s.$slots,"default")]),_:3},40,["duration","appear"]))}}),ew=Object.assign(CH,{__name:"GSAPTransition"});var Vt;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const s of o)i[s]=s;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(a=>typeof o[o[a]]!="number"),s={};for(const a of i)s[a]=o[a];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.push(s);return i},e.find=(o,i)=>{for(const s of o)if(i(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i}
vendor: 1,048 bytes, line 6
6)(Vt||(Vt={}));var oC;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(oC||(oC={}));const Ye=Vt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),sa=e=>{switch(typeof e){case"undefined":return Ye.undefined;case"string":return Ye.string;case"number":return isNaN(e)?Ye.nan:Ye.number;case"boolean":return Ye.boolean;case"function":return Ye.function;case"bigint":return Ye.bigint;case"symbol":return Ye.symbol;case"object":return Array.isArray(e)?Ye.array:e===null?Ye.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Ye.promise:typeof Map<"u"&&e instanceof Map?Ye.map:typeof Set<"u"&&e instanceof Set?Ye.set:typeof Date<"u"&&e instanceof Date?Ye.date:Ye.object;default:return Ye.unknown}},Le=Vt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invali
6d_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Uo extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let a=r,l=0;for(;l<s.path.length;){const u=s.path[l];l===s.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(s))):a[u]=a[u]||{_errors:[]},a=a[u],l++}}};return o(this),r}static assert(t){if(!(t instanceof Uo))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Vt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Uo.create=e=>new Uo(e);const Td=(e,t)=>{let n;switch(e.code){case Le.invalid_type:e.received===Ye.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case Le.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Vt.jsonStringifyReplacer)}`;break;case Le.unrecognized_keys:n=`Unrecognized key(s) in object: ${Vt.joinValues(e.keys,", ")}`;break;case Le.invalid_union:n="Invalid input";break;case Le.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Vt.joinValues(e.options)}`;break;case Le.invalid_enum_value:n=`Invalid enum value. Expected ${Vt.joinValues(e.options)}, received '${e.received}'`;break;case Le.invalid_arguments:n="Invalid function arguments";break;case Le.invalid_return_type:n="Invalid function return type";break;case Le.invalid_date:n="Invalid date";break;case Le.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Vt.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case Le.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case Le.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case Le.custom:n="Invalid input";break;case Le.invalid_intersection_types:n="Intersection results could not be merged";break;case Le.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Le.not_finite:n="Number must be finite";break;default:n=t.defaultError,Vt.assertNever(e)}return{message:n}};let DH=Td;function r0(){return DH}const o0=e=>
vendor: 52,612 bytes, line 6
6{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],s={...o,path:i};if(o.message!==void 0)return{...o,path:i,message:o.message};let a="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)a=u(s,{data:t,defaultError:a}).message;return{...o,path:i,message:a}};function ze(e,t){const n=r0(),r=o0({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Td?void 0:Td].filter(o=>!!o)});e.common.issues.push(r)}class Fr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return gt;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const i=await o.key,s=await o.value;r.push({key:i,value:s})}return Fr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:s}=o;if(i.status==="aborted"||s.status==="aborted")return gt;i.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[i.value]=s.value)}return{status:t.value,value:r}}}const gt=Object.freeze({status:"aborted"}),mf=e=>({status:"dirty",value:e}),to=e=>({status:"valid",value:e}),iC=e=>e.status==="aborted",sC=e=>e.status==="dirty",ac=e=>e.status==="valid",om=e=>typeof Promise<"u"&&e instanceof Promise;function im(e,t,n,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function II(e,t,n,r,o){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var Ze;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Ze||(Ze={}));var vf,gf;class Ui{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const aC=(e,t)=>{if(ac(t))return{success:!0,data:t.value};if(!e.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 Uo(e.common.issues);return this._error=n,this._error}}};function wt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,a)=>{var l,u;const{message:c}=e;return s.code==="invalid_enum_value"?{message:c??a.defaultError}:typeof a.data>"u"?{message:(l=c??r)!==null&&l!==void 0?l:a.defaultError}:s.code!=="invalid_type"?{message:a.defaultError}:{message:(u=c??n)!==null&&u!==void 0?u:a.defaultError}},description:o}}class Rt{get description(){return this._def.description}_getType(t){return sa(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:sa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Fr,ctx:{common:t.parent.common,data:t.data,parsedType:sa(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(om(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n?.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sa(t)},i=this._parseSync({data:t,path:o.path,parent:o});return aC(o,i)}"~validate"(t){var n,r;const o={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sa(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:o});return ac(i)?{value:i.value}:{issues:o.common.issues}}catch(i){!((r=(n=i?.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),o.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:o}).then(i=>ac(i)?{value:i.value}:{issues:o.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sa(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(om(o)?o:Promise.resolve(o));return aC(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const s=t(o),a=()=>i.addIssue({code:Le.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(a(),!1)):s?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new Ls({schema:this,typeName:ht.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,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 xs.create(this,this._def)}nullable(){return Fl.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return li.create(this)}promise(){return Pd.create(this,this._def)}or(t){return um.create([this,t],this._def)}and(t){return cm.create(this,t,this._def)}transform(t){return new Ls({...wt(this._def),schema:this,typeName:ht.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Rd({...wt(this._def),innerType:this,defaultValue:n,typeName:ht.ZodDefault})}brand(){return new LI({typeName:ht.ZodBranded,type:this,...wt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new mm({...wt(this._def),innerType:this,catchValue:n,typeName:ht.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return pv.create(this,t)}readonly(){return vm.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const xH=/^c[^\s-]{8,}$/i,TH=/^[0-9a-z]+$/,AH=/^[0-9A-HJKMNP-TV-Z]{26}$/i,OH=/^[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,PH=/^[a-z0-9_-]{21}$/i,RH=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,IH=/^[-+]?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)?)??$/,$H=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,MH="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ng;const FH=/^(?:(?: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])$/,LH=/^(?:(?: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])$/,NH=/^(([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]))$/,BH=/^(([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])$/,jH=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,qH=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,$I="((\\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])))",VH=new RegExp(`^${$I}$`);function MI(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function UH(e){return new RegExp(`^${MI(e)}$`)}function HH(e){let t=`${$I}T${MI(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function WH(e,t){return!!((t==="v4"||!t)&&FH.test(e)||(t==="v6"||!t)&&NH.test(e))}function zH(e,t){if(!RH.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||!o.typ||!o.alg||t&&o.alg!==t)}catch{return!1}}function KH(e,t){return!!((t==="v4"||!t)&&LH.test(e)||(t==="v6"||!t)&&BH.test(e))}class Fi extends Rt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ye.string){const i=this._getOrReturnCtx(t);return ze(i,{code:Le.invalid_type,expected:Ye.string,received:i.parsedType}),gt}const r=new Fr;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const s=t.data.length>i.value,a=t.data.length<i.value;(s||a)&&(o=this._getOrReturnCtx(t,o),s?ze(o,{code:Le.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&ze(o,{code:Le.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")$H.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"email",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")Ng||(Ng=new RegExp(MH,"u")),Ng.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"emoji",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")OH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"uuid",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")PH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"nanoid",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")xH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"cuid",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")TH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"cuid2",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")AH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"ulid",code:Le.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),ze(o,{validation:"url",code:Le.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"regex",code:Le.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?HH(i).test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?VH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?UH(i).test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?IH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"duration",code:Le.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?WH(t.data,i.version)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"ip",code:Le.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?zH(t.data,i.alg)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"jwt",code:Le.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?KH(t.data,i.version)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"cidr",code:Le.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?jH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"base64",code:Le.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?qH.test(t.data)||(o=this._getOrReturnCtx(t,o),ze(o,{validation:"base64url",code:Le.invalid_string,message:i.message}),r.dirty()):Vt.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(o=>t.test(o),{validation:n,code:Le.invalid_string,...Ze.errToObj(r)})}_addCheck(t){return new Fi({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Ze.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Ze.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Ze.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Ze.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Ze.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Ze.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Ze.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Ze.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Ze.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Ze.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Ze.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Ze.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Ze.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:(n=t?.offset)!==null&&n!==void 0?n:!1,local:(r=t?.local)!==null&&r!==void 0?r:!1,...Ze.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Ze.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Ze.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Ze.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Ze.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Ze.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Ze.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Ze.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Ze.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Ze.errToObj(n)})}nonempty(t){return this.min(1,Ze.errToObj(t))}trim(){return new Fi({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Fi({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Fi({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Fi.create=e=>{var t;return new Fi({checks:[],typeName:ht.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...wt(e)})};function GH(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=parseInt(e.toFixed(o).replace(".","")),s=parseInt(t.toFixed(o).replace(".",""));return i%s/Math.pow(10,o)}class lc extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ye.number){const i=this._getOrReturnCtx(t);return ze(i,{code:Le.invalid_type,expected:Ye.number,received:i.parsedType}),gt}let r;const o=new Fr;for(const i of this._def.checks)i.kind==="int"?Vt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?GH(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.not_finite,message:i.message}),o.dirty()):Vt.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Ze.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ze.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ze.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ze.toString(n))}setLimit(t,n,r,o){return new lc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ze.toString(o)}]})}_addCheck(t){return new lc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Ze.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ze.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ze.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ze.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ze.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ze.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Ze.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ze.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ze.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Vt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}lc.create=e=>new lc({checks:[],typeName:ht.ZodNumber,coerce:e?.coerce||!1,...wt(e)});class uc extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ye.bigint)return this._getInvalidInput(t);let r;const o=new Fr;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ze(r,{code:Le.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Vt.assertNever(i);return{status:o.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return ze(n,{code:Le.invalid_type,expected:Ye.bigint,received:n.parsedType}),gt}gte(t,n){return this.setLimit("min",t,!0,Ze.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ze.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ze.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ze.toString(n))}setLimit(t,n,r,o){return new uc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:Ze.toString(o)}]})}_addCheck(t){return new uc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ze.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ze.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ze.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ze.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ze.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}uc.create=e=>{var t;return new uc({checks:[],typeName:ht.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...wt(e)})};class sm extends Rt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ye.boolean){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.boolean,received:r.parsedType}),gt}return to(t.data)}}sm.create=e=>new sm({typeName:ht.ZodBoolean,coerce:e?.coerce||!1,...wt(e)});class Ad extends Rt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ye.date){const i=this._getOrReturnCtx(t);return ze(i,{code:Le.invalid_type,expected:Ye.date,received:i.parsedType}),gt}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return ze(i,{code:Le.invalid_date}),gt}const r=new Fr;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(o=this._getOrReturnCtx(t,o),ze(o,{code:Le.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Vt.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Ad({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Ze.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Ze.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Ad.create=e=>new Ad({checks:[],coerce:e?.coerce||!1,typeName:ht.ZodDate,...wt(e)});class i0 extends Rt{_parse(t){if(this._getType(t)!==Ye.symbol){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.symbol,received:r.parsedType}),gt}return to(t.data)}}i0.create=e=>new i0({typeName:ht.ZodSymbol,...wt(e)});class am extends Rt{_parse(t){if(this._getType(t)!==Ye.undefined){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.undefined,received:r.parsedType}),gt}return to(t.data)}}am.create=e=>new am({typeName:ht.ZodUndefined,...wt(e)});class lm extends Rt{_parse(t){if(this._getType(t)!==Ye.null){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.null,received:r.parsedType}),gt}return to(t.data)}}lm.create=e=>new lm({typeName:ht.ZodNull,...wt(e)});class Od extends Rt{constructor(){super(...arguments),this._any=!0}_parse(t){return to(t.data)}}Od.create=e=>new Od({typeName:ht.ZodAny,...wt(e)});class Bu extends Rt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return to(t.data)}}Bu.create=e=>new Bu({typeName:ht.ZodUnknown,...wt(e)});class Oa extends Rt{_parse(t){const n=this._getOrReturnCtx(t);return ze(n,{code:Le.invalid_type,expected:Ye.never,received:n.parsedType}),gt}}Oa.create=e=>new Oa({typeName:ht.ZodNever,...wt(e)});class s0 extends Rt{_parse(t){if(this._getType(t)!==Ye.undefined){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.void,received:r.parsedType}),gt}return to(t.data)}}s0.create=e=>new s0({typeName:ht.ZodVoid,...wt(e)});class li extends Rt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==Ye.array)return ze(n,{code:Le.invalid_type,expected:Ye.array,received:n.parsedType}),gt;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,a=n.data.length<o.exactLength.value;(s||a)&&(ze(n,{code:s?Le.too_big:Le.too_small,minimum:a?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(ze(n,{code:Le.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(ze(n,{code:Le.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,a)=>o.type._parseAsync(new Ui(n,s,n.path,a)))).then(s=>Fr.mergeArray(r,s));const i=[...n.data].map((s,a)=>o.type._parseSync(new Ui(n,s,n.path,a)));return Fr.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new li({...this._def,minLength:{value:t,message:Ze.toString(n)}})}max(t,n){return new li({...this._def,maxLength:{value:t,message:Ze.toString(n)}})}length(t,n){return new li({...this._def,exactLength:{value:t,message:Ze.toString(n)}})}nonempty(t){return this.min(1,t)}}li.create=(e,t)=>new li({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ht.ZodArray,...wt(t)});function cu(e){if(e instanceof pn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=xs.create(cu(r))}return new pn({...e._def,shape:()=>t})}else return e instanceof li?new li({...e._def,type:cu(e.element)}):e instanceof xs?xs.create(cu(e.unwrap())):e instanceof Fl?Fl.create(cu(e.unwrap())):e instanceof Fs?Fs.create(e.items.map(t=>cu(t))):e}class pn extends Rt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Vt.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==Ye.object){const u=this._getOrReturnCtx(t);return ze(u,{code:Le.invalid_type,expected:Ye.object,received:u.parsedType}),gt}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:s}=this._getCached(),a=[];if(!(this._def.catchall instanceof Oa&&this._def.unknownKeys==="strip"))for(const u in o.data)s.includes(u)||a.push(u);const l=[];for(const u of s){const c=i[u],f=o.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Ui(o,f,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof Oa){const u=this._def.unknownKeys;if(u==="passthrough")for(const c of a)l.push({key:{status:"valid",value:c},value:{status:"valid",value:o.data[c]}});else if(u==="strict")a.length>0&&(ze(o,{code:Le.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const c of a){const f=o.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Ui(o,f,o.path,c)),alwaysSet:c in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const u=[];for(const c of l){const f=await c.key,p=await c.value;u.push({key:f,value:p,alwaysSet:c.alwaysSet})}return u}).then(u=>Fr.mergeObjectSync(r,u)):Fr.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return Ze.errToObj,new pn({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,i,s,a;const l=(s=(i=(o=this._def).errorMap)===null||i===void 0?void 0:i.call(o,n,r).message)!==null&&s!==void 0?s:r.defaultError;return n.code==="unrecognized_keys"?{message:(a=Ze.errToObj(t).message)!==null&&a!==void 0?a:l}:{message:l}}}:{}})}strip(){return new pn({...this._def,unknownKeys:"strip"})}passthrough(){return new pn({...this._def,unknownKeys:"passthrough"})}extend(t){return new pn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new pn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ht.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new pn({...this._def,catchall:t})}pick(t){const n={};return Vt.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new pn({...this._def,shape:()=>n})}omit(t){const n={};return Vt.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new pn({...this._def,shape:()=>n})}deepPartial(){return cu(this)}partial(t){const n={};return Vt.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new pn({...this._def,shape:()=>n})}required(t){const n={};return Vt.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof xs;)i=i._def.innerType;n[r]=i}}),new pn({...this._def,shape:()=>n})}keyof(){return FI(Vt.objectKeys(this.shape))}}pn.create=(e,t)=>new pn({shape:()=>e,unknownKeys:"strip",catchall:Oa.create(),typeName:ht.ZodObject,...wt(t)});pn.strictCreate=(e,t)=>new pn({shape:()=>e,unknownKeys:"strict",catchall:Oa.create(),typeName:ht.ZodObject,...wt(t)});pn.lazycreate=(e,t)=>new pn({shape:e,unknownKeys:"strip",catchall:Oa.create(),typeName:ht.ZodObject,...wt(t)});class um extends Rt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const s=i.map(a=>new Uo(a.ctx.common.issues));return ze(n,{code:Le.invalid_union,unionErrors:s}),gt}if(n.common.async)return Promise.all(r.map(async i=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let i;const s=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},c=l._parseSync({data:n.data,path:n.path,parent:u});if(c.status==="valid")return c;c.status==="dirty"&&!i&&(i={result:c,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=s.map(l=>new Uo(l));return ze(n,{code:Le.invalid_union,unionErrors:a}),gt}}get options(){return this._def.options}}um.create=(e,t)=>new um({options:e,typeName:ht.ZodUnion,...wt(t)});const rs=e=>e instanceof dm?rs(e.schema):e instanceof Ls?rs(e.innerType()):e instanceof pm?[e.value]:e instanceof Ml?e.options:e instanceof hm?Vt.objectValues(e.enum):e instanceof Rd?rs(e._def.innerType):e instanceof am?[void 0]:e instanceof lm?[null]:e instanceof xs?[void 0,...rs(e.unwrap())]:e instanceof Fl?[null,...rs(e.unwrap())]:e instanceof LI||e instanceof vm?rs(e.unwrap()):e instanceof mm?rs(e._def.innerType):[];class tw extends Rt{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ye.object)return ze(n,{code:Le.invalid_type,expected:Ye.object,received:n.parsedType}),gt;const r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(ze(n,{code:Le.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),gt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const i of n){const s=rs(i.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of s){if(o.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);o.set(a,i)}}return new tw({typeName:ht.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...wt(r)})}}function a0(e,t){const n=sa(e),r=sa(t);if(e===t)return{valid:!0,data:e};if(n===Ye.object&&r===Ye.object){const o=Vt.objectKeys(t),i=Vt.objectKeys(e).filter(a=>o.indexOf(a)!==-1),s={...e,...t};for(const a of i){const l=a0(e[a],t[a]);if(!l.valid)return{valid:!1};s[a]=l.data}return{valid:!0,data:s}}else if(n===Ye.array&&r===Ye.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i<e.length;i++){const s=e[i],a=t[i],l=a0(s,a);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===Ye.date&&r===Ye.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class cm extends Rt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=(i,s)=>{if(iC(i)||iC(s))return gt;const a=a0(i.value,s.value);return a.valid?((sC(i)||sC(s))&&n.dirty(),{status:n.value,value:a.data}):(ze(r,{code:Le.invalid_intersection_types}),gt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,s])=>o(i,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}cm.create=(e,t,n)=>new cm({left:e,right:t,typeName:ht.ZodIntersection,...wt(n)});class Fs extends Rt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.array)return ze(r,{code:Le.invalid_type,expected:Ye.array,received:r.parsedType}),gt;if(r.data.length<this._def.items.length)return ze(r,{code:Le.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),gt;!this._def.rest&&r.data.length>this._def.items.length&&(ze(r,{code:Le.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((s,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new Ui(r,s,r.path,a)):null}).filter(s=>!!s);return r.common.async?Promise.all(i).then(s=>Fr.mergeArray(n,s)):Fr.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Fs({...this._def,rest:t})}}Fs.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Fs({items:e,typeName:ht.ZodTuple,rest:null,...wt(t)})};class fm extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.object)return ze(r,{code:Le.invalid_type,expected:Ye.object,received:r.parsedType}),gt;const o=[],i=this._def.keyType,s=this._def.valueType;for(const a in r.data)o.push({key:i._parse(new Ui(r,a,r.path,a)),value:s._parse(new Ui(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?Fr.mergeObjectAsync(n,o):Fr.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Rt?new fm({keyType:t,valueType:n,typeName:ht.ZodRecord,...wt(r)}):new fm({keyType:Fi.create(),valueType:t,typeName:ht.ZodRecord,...wt(n)})}}class l0 extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.map)return ze(r,{code:Le.invalid_type,expected:Ye.map,received:r.parsedType}),gt;const o=this._def.keyType,i=this._def.valueType,s=[...r.data.entries()].map(([a,l],u)=>({key:o._parse(new Ui(r,a,r.path,[u,"key"])),value:i._parse(new Ui(r,l,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of s){const u=await l.key,c=await l.value;if(u.status==="aborted"||c.status==="aborted")return gt;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of s){const u=l.key,c=l.value;if(u.status==="aborted"||c.status==="aborted")return gt;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}}}}l0.create=(e,t,n)=>new l0({valueType:t,keyType:e,typeName:ht.ZodMap,...wt(n)});class cc extends Rt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.set)return ze(r,{code:Le.invalid_type,expected:Ye.set,received:r.parsedType}),gt;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(ze(r,{code:Le.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(ze(r,{code:Le.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function s(l){const u=new Set;for(const c of l){if(c.status==="aborted")return gt;c.status==="dirty"&&n.dirty(),u.add(c.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((l,u)=>i._parse(new Ui(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>s(l)):s(a)}min(t,n){return new cc({...this._def,minSize:{value:t,message:Ze.toString(n)}})}max(t,n){return new cc({...this._def,maxSize:{value:t,message:Ze.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}cc.create=(e,t)=>new cc({valueType:e,minSize:null,maxSize:null,typeName:ht.ZodSet,...wt(t)});class zf extends Rt{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ye.function)return ze(n,{code:Le.invalid_type,expected:Ye.function,received:n.parsedType}),gt;function r(a,l){return o0({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,r0(),Td].filter(u=>!!u),issueData:{code:Le.invalid_arguments,argumentsError:l}})}function o(a,l){return o0({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,r0(),Td].filter(u=>!!u),issueData:{code:Le.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Pd){const a=this;return to(async function(...l){const u=new Uo([]),c=await a._def.args.parseAsync(l,i).catch(d=>{throw u.addIssue(r(l,d)),u}),f=await Reflect.apply(s,this,c);return await a._def.returns._def.type.parseAsync(f,i).catch(d=>{throw u.addIssue(o(f,d)),u})})}else{const a=this;return to(function(...l){const u=a._def.args.safeParse(l,i);if(!u.success)throw new Uo([r(l,u.error)]);const c=Reflect.apply(s,this,u.data),f=a._def.returns.safeParse(c,i);if(!f.success)throw new Uo([o(c,f.error)]);return f.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new zf({...this._def,args:Fs.create(t).rest(Bu.create())})}returns(t){return new zf({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new zf({args:t||Fs.create([]).rest(Bu.create()),returns:n||Bu.create(),typeName:ht.ZodFunction,...wt(r)})}}class dm extends Rt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}dm.create=(e,t)=>new dm({getter:e,typeName:ht.ZodLazy,...wt(t)});class pm extends Rt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ze(n,{received:n.data,code:Le.invalid_literal,expected:this._def.value}),gt}return{status:"valid",value:t.data}}get value(){return this._def.value}}pm.create=(e,t)=>new pm({value:e,typeName:ht.ZodLiteral,...wt(t)});function FI(e,t){return new Ml({values:e,typeName:ht.ZodEnum,...wt(t)})}class Ml extends Rt{constructor(){super(...arguments),vf.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ze(n,{expected:Vt.joinValues(r),received:n.parsedType,code:Le.invalid_type}),gt}if(im(this,vf)||II(this,vf,new Set(this._def.values)),!im(this,vf).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return ze(n,{received:n.data,code:Le.invalid_enum_value,options:r}),gt}return to(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Ml.create(t,{...this._def,...n})}exclude(t,n=this._def){return Ml.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}vf=new WeakMap;Ml.create=FI;class hm extends Rt{constructor(){super(...arguments),gf.set(this,void 0)}_parse(t){const n=Vt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ye.string&&r.parsedType!==Ye.number){const o=Vt.objectValues(n);return ze(r,{expected:Vt.joinValues(o),received:r.parsedType,code:Le.invalid_type}),gt}if(im(this,gf)||II(this,gf,new Set(Vt.getValidEnumValues(this._def.values))),!im(this,gf).has(t.data)){const o=Vt.objectValues(n);return ze(r,{received:r.data,code:Le.invalid_enum_value,options:o}),gt}return to(t.data)}get enum(){return this._def.values}}gf=new WeakMap;hm.create=(e,t)=>new hm({values:e,typeName:ht.ZodNativeEnum,...wt(t)});class Pd extends Rt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ye.promise&&n.common.async===!1)return ze(n,{code:Le.invalid_type,expected:Ye.promise,received:n.parsedType}),gt;const r=n.parsedType===Ye.promise?n.data:Promise.resolve(n.data);return to(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Pd.create=(e,t)=>new Pd({type:e,typeName:ht.ZodPromise,...wt(t)});class Ls extends Rt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ht.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:s=>{ze(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const s=o.transform(r.data,i);if(r.common.async)return Promise.resolve(s).then(async a=>{if(n.value==="aborted")return gt;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?gt:l.status==="dirty"||n.value==="dirty"?mf(l.value):l});{if(n.value==="aborted")return gt;const a=this._def.schema._parseSync({data:s,path:r.path,parent:r});return a.status==="aborted"?gt:a.status==="dirty"||n.value==="dirty"?mf(a.value):a}}if(o.type==="refinement"){const s=a=>{const l=o.refinement(a,i);if(r.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(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?gt:(a.status==="dirty"&&n.dirty(),s(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?gt:(a.status==="dirty"&&n.dirty(),s(a.value).then(()=>({status:n.value,value:a.value}))))}if(o.type==="transform")if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!ac(s))return s;const a=o.transform(s.value,i);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:r.data,path:r.path,parent:r}).then(s=>ac(s)?Promise.resolve(o.transform(s.value,i)).then(a=>({status:n.value,value:a})):s);Vt.assertNever(o)}}Ls.create=(e,t,n)=>new Ls({schema:e,typeName:ht.ZodEffects,effect:t,...wt(n)});Ls.createWithPreprocess=(e,t,n)=>new Ls({schema:t,effect:{type:"preprocess",transform:e},typeName:ht.ZodEffects,...wt(n)});class xs extends Rt{_parse(t){return this._getType(t)===Ye.undefined?to(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}xs.create=(e,t)=>new xs({innerType:e,typeName:ht.ZodOptional,...wt(t)});class Fl extends Rt{_parse(t){return this._getType(t)===Ye.null?to(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Fl.create=(e,t)=>new Fl({innerType:e,typeName:ht.ZodNullable,...wt(t)});class Rd extends Rt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ye.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Rd.create=(e,t)=>new Rd({innerType:e,typeName:ht.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...wt(t)});class mm extends Rt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return om(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Uo(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Uo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}mm.create=(e,t)=>new mm({innerType:e,typeName:ht.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...wt(t)});class u0 extends Rt{_parse(t){if(this._getType(t)!==Ye.nan){const r=this._getOrReturnCtx(t);return ze(r,{code:Le.invalid_type,expected:Ye.nan,received:r.parsedType}),gt}return{status:"valid",value:t.data}}}u0.create=e=>new u0({typeName:ht.ZodNaN,...wt(e)});class LI extends Rt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class pv extends Rt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?gt:i.status==="dirty"?(n.dirty(),mf(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?gt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new pv({in:t,out:n,typeName:ht.ZodPipeline})}}class vm extends Rt{_parse(t){const n=this._def.innerType._parse(t),r=o=>(ac(o)&&(o.value=Object.freeze(o.value)),o);return om(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}vm.create=(e,t)=>new vm({innerType:e,typeName:ht.ZodReadonly,...wt(t)});function lC(e,t){const n=typeof e=="function"?e(t):typeof e=="string"?{message:e}:e;return typeof n=="string"?{message:n}:n}function YH(e,t={},n){return e?Od.create().superRefine((r,o)=>{var i,s;const a=e(r);if(a instanceof Promise)return a.then(l=>{var u,c;if(!l){const f=lC(t,r),p=(c=(u=f.fatal)!==null&&u!==void 0?u:n)!==null&&c!==void 0?c:!0;o.addIssue({code:"custom",...f,fatal:p})}});if(!a){const l=lC(t,r),u=(s=(i=l.fatal)!==null&&i!==void 0?i:n)!==null&&s!==void 0?s:!0;o.addIssue({code:"custom",...l,fatal:u})}}):Od.create()}pn.lazycreate;var ht;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ht||(ht={}));const XH=(e,t={message:`Input not instance of ${e.name}`})=>YH(n=>n instanceof e,t),Jn=Fi.create,Bg=lc.create;u0.create;uc.create;const c0=sm.create;Ad.create;i0.create;am.create;lm.create;const uC=Od.create;Bu.create;Oa.create;s0.create;const QH=li.create,nw=pn.create;pn.strictCreate;um.create;tw.create;cm.create;Fs.create;const cC=fm.create;l0.create;cc.create;zf.create;dm.create;pm.create;Ml.create;hm.create;
vendor: 4,135 bytes, line 6
6Pd.create;Ls.create;xs.create;Fl.create;const ZH=Ls.createWithPreprocess;pv.create;var fC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function JH(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mh={exports:{}},eW=mh.exports,dC;function tW(){return dC||(dC=1,(function(e,t){(function(n,r){e.exports=r()})(eW,function(){Array.isArray||(Array.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"});function n(i){for(var s=[],a=0,l=i.length;a<l;a++)s.indexOf(i[a])===-1&&s.push(i[a]);return s}var r={},o={"==":function(i,s){return i==s},"===":function(i,s){return i===s},"!=":function(i,s){return i!=s},"!==":function(i,s){return i!==s},">":function(i,s){return i>s},">=":function(i,s){return i>=s},"<":function(i,s,a){return a===void 0?i<s:i<s&&s<a},"<=":function(i,s,a){return a===void 0?i<=s:i<=s&&s<=a},"!!":function(i){return r.truthy(i)},"!":function(i){return!r.truthy(i)},"%":function(i,s){return i%s},log:function(i){return console.log(i),i},in:function(i,s){return!s||typeof s.indexOf>"u"?!1:s.indexOf(i)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(i,s,a){if(a<0){var l=String(i).substr(s);return l.substr(0,l.length+a)}return String(i).substr(s,a)},"+":function(){return Array.prototype.reduce.call(arguments,function(i,s){return parseFloat(i,10)+parseFloat(s,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(i,s){return parseFloat(i,10)*parseFloat(s,10)})},"-":function(i,s){return s===void 0?-i:i-s},"/":function(i,s){return i/s},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(i,s){return i.concat(s)},[])},var:function(i,s){var a=s===void 0?null:s,l=this;if(typeof i>"u"||i===""||i===null)return l;for(var u=String(i).split("."),c=0;c<u.length;c++)if(l==null||(l=l[u[c]],l===void 0))return a;return l},missing:function(){for(var i=[],s=Array.isArray(arguments[0])?arguments[0]:arguments,a=0;a<s.length;a++){var l=s[a],u=r.apply({var:l},this);(u===null||u==="")&&i.push(l)}return i},missing_some:function(i,s){var a=r.apply({missing:s},this);return s.length-a.length>=i?[]:a}};return r.is_logic=function(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)&&Object.keys(i).length===1},r.truthy=function(i){return Array.isArray(i)&&i.length===0?!1:!!i},r.get_operator=function(i){return Object.keys(i)[0]},r.get_values=function(i){return i[r.get_operator(i)]},r.apply=function(i,s){if(Array.isArray(i))return i.map(function(g){return r.apply(g,s)});if(!r.is_logic(i))return i;var a=r.get_operator(i),l=i[a],u,c,f,p,d;if(Array.isArray(l)||(l=[l]),a==="if"||a=="?:"){for(u=0;u<l.length-1;u+=2)if(r.truthy(r.apply(l[u],s)))return r.apply(l[u+1],s);return l.length===u+1?r.apply(l[u],s):null}else if(a==="and"){for(u=0;u<l.length;u+=1)if(c=r.apply(l[u],s),!r.truthy(c))return c;return c}else if(a==="or"){for(u=0;u<l.length;u+=1)if(c=r.apply(l[u],s),r.truthy(c))return c;return c}else{if(a==="filter")return p=r.apply(l[0],s),f=l[1],Array.isArray(p)?p.filter(function(g){return r.truthy(r.apply(f,g))}):[];if(a==="map")return p=r.apply(l[0],s),f=l[1],Array.isArray(p)?p.map(function(g){return r.apply(f,g)}):[];if(a==="reduce")return p=r.apply(l[0],s),f=l[1],d=typeof l[2]<"u"?r.apply(l[2],s):null,Array.isArray(p)?p.reduce(function(g,b){return r.apply(f,{current:b,accumulator:g})},d):d;if(a==="all"){if(p=r.apply(l[0],s),f=l[1],!Array.isArray(p)||!p.length)return!1;for(u=0;
6u<p.length;u+=1)if(!r.truthy(r.apply(f,p[u])))return!1;return!0}else if(a==="none"){if(p=r.apply(l[0],s),f=l[1],!Array.isArray(p)||!p.length)return!0;for(u=0;u<p.length;u+=1)if(r.truthy(r.apply(f,p[u])))return!1;return!0}else if(a==="some"){if(p=r.apply(l[0],s),f=l[1],!Array.isArray(p)||!p.length)return!1;for(u=0;u<p.length;u+=1)if(r.truthy(r.apply(f,p[u])))return!0;return!1}}if(l=l.map(function(g){return r.apply(g,s)}),o.hasOwnProperty(a)&&typeof o[a]=="function")return o[a].apply(s,l);if(a.indexOf(".")>0){var h=String(a).split("."),v=o;for(u=0;u<h.length;u++){if(!v.hasOwnProperty(h[u]))throw new Error("Unrecognized operation "+a+" (failed at "+h.slice(0,u+1).join(".")+")");v=v[h[u]]}return v.apply(s,l)}throw new Error("Unrecognized operation "+a)},r.uses_data=function(i){var s=[];if(r.is_logic(i)){var a=r.get_operator(i),l=i[a];Array.isArray(l)||(l=[l]),a==="var"?s.push(l[0]):l.forEach(function(u){s.push.apply(s,r.uses_data(u))})}return n(s)},r.add_operation=function(i,s){o[i]=s},r.rm_operation=function(i){delete o[i]},r.rule_like=function(i,s){if(s===i||s==="@")return!0;if(s==="number")return typeof i=="number";if(s==="string")return typeof i=="string";if(s==="array")return Array.isArray(i)&&!r.is_logic(i);if(r.is_logic(s)){if(r.is_logic(i)){var a=r.get_operator(s),l=r.get_operator(i);if(a==="@"||a===l)return r.rule_like(r.get_values(i,!1),r.get_values(s,!1))}return!1}if(Array.isArray(s))if(Array.isArray(i)){if(s.length!==i.length)return!1;for(var u=0;u<s.length;u+=1)if(!r.rule_like(i[u],s[u]))return!1;return!0}else return!1;return!1},r})})(mh)),mh.exports}var nW=tW();const rW=rw(nW);function ei(e){return typeof e=="function"}function NI(e){return e==null}const fc=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function ow(e){return Number(e)>=0}function oW(e){return typeof e=="object"&&e!==null}function iW(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function pC(e){if(!oW(e)||iW(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Id(e,t){return Object.keys(t).forEach(n=>{if(pC(t[n])&&pC(e[n])){e[n]||(e[n]={}),Id(e[n],t[n]);return}e[n]=t[n]}),e}function Np(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(ow(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}const sW={};function aW(e){return sW[e]}function hC(e,t,n){typeof n.value=="object"&&(n.value=tn(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function tn(e){if(typeof e!="object")return e;var t=0,n,r,o,i=Object.prototype.toString.call(e);if(i==="[object Object]"?o=Object.create(e.__proto__||null):i==="[object Array]"?o=Array(e.length):i==="[object Set]"?(o=new Set,e.forEach(function(s){o.add(tn(s))})):i==="[object Map]"?(o=new Map,e.forEach(function(s,a){o.set(tn(a),tn(s))})):i==="[object Date]"?o=new Date(+e):i==="[object RegExp]"?o=new RegExp(e.source,e.flags):i==="[object DataView]"?o=new e.constructor(tn(e.buffer)):i==="[object ArrayBuffer]"?o=e.slice(0):i.slice(-6)==="Array]"&&(o=new e.constructor(e)),o){for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)hC(o,r[t],Object.getOwnPropertyDescriptor(e,r[t]));for(t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Object.hasOwnProperty.call(o,n=r[t])&&o[n]===e[n]||hC(o,n,Object.getOwnPropertyDescriptor(e,n))}return o||e}const lW=Symbol("vee-validate-form"),uW=Symbol("vee-validate-form-context"),cW=typeof window<"u";function fW(e){return ei(e)&&!!e.__locatorRef}function ha(e){return!!e&&ei(e.parse)&&e.__type==="VVTypedSchema"}function BI(e){return!!e&&ei(e.validate)}function dW(e){return e==="checkbox"||e==="radio"}function pW(e){return fc(e)||Array.isArray(e)}function hW(e){return Array.isArray(e)?e.length===0:fc(e)&&Object.keys(e).length===0}function hv(e){return/^\[.+\]$/i.test(e)}function mW(e){return jI(e)&&e.multiple}function jI(e){return e.tagName==="SELECT"}function qI(e){return iw(e)&&e.target&&"submit"in e.target}function iw(e){return e?!!(typeof Event<"u"&&ei(Event)&&e instanceof Event||e&&e.srcElement):!1}function Kf(e,t){if(e===t)return!0;
6if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Kf(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;for(r of e.entries())if(!Kf(r[1],t.get(r[0])))return!1;return!0}if(vC(e)&&vC(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(e=mC(e),t=mC(t),o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){var i=o[r];if(!Kf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function mC(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}function vC(e){return cW?e instanceof File:!1}function sw(e){return hv(e)?e.replace(/\[|\]/gi,""):e}function vs(e,t,n){return e?hv(t)?e[sw(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((o,i)=>pW(o)&&i in o?o[i]:n,e):n}function os(e,t,n){if(hv(t)){e[sw(t)]=n;return}const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let i=0;i<r.length;i++){if(i===r.length-1){o[r[i]]=n;return}(!(r[i]in o)||NI(o[r[i]]))&&(o[r[i]]=ow(r[i+1])?[]:{}),o=o[r[i]]}}function jg(e,t){if(Array.isArray(e)&&ow(t)){e.splice(Number(t),1);return}fc(e)&&delete e[t]}function gC(e,t){if(hv(t)){delete e[sw(t)];return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let i=0;i<n.length;i++){if(i===n.length-1){jg(r,n[i]);break}if(!(n[i]in r)||NI(r[n[i]]))break;r=r[n[i]]}const o=n.map((i,s)=>vs(e,n.slice(0,s).join(".")));for(let i=o.length-1;i>=0;i--)if(hW(o[i])){if(i===0){jg(e,n[0]);continue}jg(o[i-1],n[i-1])}}function Po(e){return Object.keys(e)}function yC(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout(()=>{const i=e(...o);r.forEach(s=>s(i)),r=[]},t),new Promise(i=>r.push(i))}}function vW(e,t){let n;return async function(...o){const i=e(...o);n=i;const s=await i;return i!==n?s:(n=void 0,t(s,o))}}function _C(e){return Array.isArray(e)?e:e?[e]:[]}function Bp(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function gW(e){let t=null,n=[];return function(...r){const o=it(()=>{if(t!==o)return;const i=e(...r);n.forEach(s=>s(i)),n=[],t=null});return t=o,new Promise(i=>n.push(i))}}function yW(e,t,n){return t.slots.default?typeof e=="string"||!e?t.slots.default(n()):{default:()=>{var r,o;return(o=(r=t.slots).default)===null||o===void 0?void 0:o.call(r,n())}}:t.slots.default}function qg(e){if(VI(e))return e._value}function VI(e){return"_value"in e}function _W(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function bC(e){if(!iw(e))return e;const t=e.target;if(dW(t.type)&&VI(t))return qg(t);if(t.type==="file"&&t.files){const n=Array.from(t.files);return t.multiple?n:n[0]}if(mW(t))return Array.from(t.options).filter(n=>n.selected&&!n.disabled).map(qg);if(jI(t)){const n=Array.from(t.options).find(r=>r.selected);return n?qg(n):t.value}return _W(t)}function bW(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?fc(e)&&e._$$isNormalized?e:fc(e)?Object.keys(e).reduce((n,r)=>{const o=wW(e[r]);return e[r]!==!1&&(n[r]=wC(o)),n},t):typeof e!="string"?t:e.split("|").reduce((n,r)=>{const o=kW(r);return o.name&&(n[o.name]=wC(o.params)),n},t):t}function wW(e){return e===!0?[]:Array.isArray(e)||fc(e)?e:[e]}function wC(e){const t=n=>typeof n=="string"&&n[0]==="@"?EW(n.slice(1)):n;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{})}const kW=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};function EW(e){const t=n=>{var r;return(r=vs(n,e))!==null&&r!==void 0?r:n[e]};return t.__locatorRef=e,t}const SW={generateMessage:({field:e})=>`${e}
6 is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let CW=Object.assign({},SW);const yf=()=>CW;async function DW(e,t,n={}){const r=n?.bails,o={name:n?.name||"{field}",rules:t,label:n?.label,bails:r??!0,formData:n?.values||{}},i=await xW(o,e);return Object.assign(Object.assign({},i),{valid:!i.errors.length})}async function xW(e,t){const n=e.rules;if(ha(n)||BI(n))return AW(t,Object.assign(Object.assign({},e),{rules:n}));if(ei(n)||Array.isArray(n)){const a={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},l=Array.isArray(n)?n:[n],u=l.length,c=[];for(let f=0;f<u;f++){const p=l[f],d=await p(t,a);if(!(typeof d!="string"&&!Array.isArray(d)&&d)){if(Array.isArray(d))c.push(...d);else{const v=typeof d=="string"?d:HI(a);c.push(v)}if(e.bails)return{errors:c}}}return{errors:c}}const r=Object.assign(Object.assign({},e),{rules:bW(n)}),o=[],i=Object.keys(r.rules),s=i.length;for(let a=0;a<s;a++){const l=i[a],u=await OW(r,t,{name:l,params:r.rules[l]});if(u.error&&(o.push(u.error),e.bails))return{errors:o}}return{errors:o}}function TW(e){return!!e&&e.name==="ValidationError"}function UI(e){return{__type:"VVTypedSchema",async parse(n,r){var o;try{return{output:await e.validate(n,{abortEarly:!1,context:r?.formData||{}}),errors:[]}}catch(i){if(!TW(i))throw i;if(!(!((o=i.inner)===null||o===void 0)&&o.length)&&i.errors.length)return{errors:[{path:i.path,errors:i.errors}]};const s=i.inner.reduce((a,l)=>{const u=l.path||"";return a[u]||(a[u]={errors:[],path:u}),a[u].errors.push(...l.errors),a},{});return{errors:Object.values(s)}}}}}async function AW(e,t){const r=await(ha(t.rules)?t.rules:UI(t.rules)).parse(e,{formData:t.formData}),o=[];for(const i of r.errors)i.errors.length&&o.push(...i.errors);return{value:r.value,errors:o}}async function OW(e,t,n){const r=aW(n.name);if(!r)throw new Error(`No such validator '${n.name}' exists.`);const o=PW(n.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:o})},s=await r(t,o,i);return typeof s=="string"?{error:s}:{error:s?void 0:HI(i)}}function HI(e){const t=yf().generateMessage;return t?t(e):"Field is invalid"}function PW(e,t){const n=r=>fW(r)?r(t):r;return Array.isArray(e)?e.map(n):Object.keys(e).reduce((r,o)=>(r[o]=n(e[o]),r),{})}async function RW(e,t){const r=await(ha(e)?e:UI(e)).parse(tn(t),{formData:tn(t)}),o={},i={};for(const s of r.errors){const a=s.errors,l=(s.path||"").replace(/\["(\d+)"\]/g,(u,c)=>`[${c}]`);o[l]={valid:!a.length,errors:a},a.length&&(i[l]=a[0])}return{valid:!r.errors.length,results:o,errors:i,values:r.value,source:"schema"}}async function IW(e,t,n){const o=Po(e).map(async u=>{var c,f,p;const d=(c=n?.names)===null||c===void 0?void 0:c[u],h=await DW(vs(t,u),e[u],{name:d?.name||u,label:d?.label,values:t,bails:(p=(f=n?.bailsMap)===null||f===void 0?void 0:f[u])!==null&&p!==void 0?p:!0});return Object.assign(Object.assign({},h),{path:u})});let i=!0;const s=await Promise.all(o),a={},l={};for(const u of s)a[u.path]={valid:u.valid,errors:u.errors},u.valid||(i=!1,l[u.path]=u.errors[0]);return{valid:i,results:a,errors:l,source:"schema"}}let $W=0;const jp=["bails","fieldsCount","id","multiple","type","validate"];function WI(e){const t=e?.initialValues||{},n=Object.assign({},_e(t)),r=S(e?.validationSchema);return r&&ha(r)&&ei(r.cast)?tn(r.cast(n)||{}):tn(n)}function zI(e){var t;const n=$W++,r=e?.name||"Form";let o=0;const i=ne(!1),s=ne(!1),a=ne(0),l=[],u=on(WI(e)),c=ne([]),f=ne({}),p=ne({}),d=gW(()=>{p.value=c.value.reduce((I,P)=>(I[Np(_e(P.path))]=P,I),{})});function h(I,P){const Y=K(I);if(!Y){typeof I=="string"&&(f.value[Np(I)]=_C(P));return}if(typeof I=="string"){const fe=Np(I);f.value[fe]&&delete f.value[fe]}Y.errors=_C(P),Y.valid=!Y.errors.length}function v(I){Po(I).forEach(P=>{h(P,I[P])})}e?.initialErrors&&v(e.initialErrors);const g=N(()=>{const I=c.value.reduce((P,Y)=>(Y.errors.length&&(P[_e(Y.path)]=Y.errors),P),{});return Object.assign(Object.assign({},f.value),I)}),b=N(()=>Po(g.value).reduce((I,P)=>{const Y=g.value[P];return Y?.length&&(I[P]=Y[0]),I},{})),y=N(()=>c.value.reduce((I,P)=>(I[_e(P.path)]={name:_e(P.path)||"",label:P.label||""},I),{})),w=N(()=>c.value.reduce((I,P)=>{var Y;
6return I[_e(P.path)]=(Y=P.bails)!==null&&Y!==void 0?Y:!0,I},{})),_=Object.assign({},e?.initialErrors||{}),k=(t=e?.keepValuesOnUnmount)!==null&&t!==void 0?t:!1,{initialValues:C,originalInitialValues:E,setInitialValues:D}=FW(c,u,e),T=MW(c,u,E,b),x=N(()=>c.value.reduce((I,P)=>{const Y=vs(u,_e(P.path));return os(I,_e(P.path),Y),I},{})),O=e?.validationSchema;function A(I,P){var Y,fe;const Ce=N(()=>vs(C.value,_e(I))),H=p.value[_e(I)],U=P?.type==="checkbox"||P?.type==="radio";if(H&&U){H.multiple=!0;const dt=o++;return Array.isArray(H.id)?H.id.push(dt):H.id=[H.id,dt],H.fieldsCount++,H.__flags.pendingUnmount[dt]=!1,H}const Me=N(()=>vs(u,_e(I))),De=_e(I),Ke=be.findIndex(dt=>dt===De);Ke!==-1&&be.splice(Ke,1);const Te=N(()=>{var dt,Ue,te,Se;const oe=_e(O);if(ha(oe))return(Ue=(dt=oe.describe)===null||dt===void 0?void 0:dt.call(oe,_e(I)).required)!==null&&Ue!==void 0?Ue:!1;const me=_e(P?.schema);return ha(me)&&(Se=(te=me.describe)===null||te===void 0?void 0:te.call(me).required)!==null&&Se!==void 0?Se:!1}),nt=o++,ct=on({id:nt,path:I,touched:!1,pending:!1,valid:!0,validated:!!(!((Y=_[De])===null||Y===void 0)&&Y.length),required:Te,initialValue:Ce,errors:yt([]),bails:(fe=P?.bails)!==null&&fe!==void 0?fe:!1,label:P?.label,type:P?.type||"default",value:Me,multiple:!1,__flags:{pendingUnmount:{[nt]:!1},pendingReset:!1},fieldsCount:1,validate:P?.validate,dirty:N(()=>!Kf(S(Me),S(Ce)))});return c.value.push(ct),p.value[De]=ct,d(),b.value[De]&&!_[De]&&it(()=>{ee(De,{mode:"silent"})}),lt(I)&&Ie(I,dt=>{d();const Ue=tn(Me.value);p.value[dt]=ct,it(()=>{os(u,dt,Ue)})}),ct}const V=yC(Z,5),re=yC(Z,5),pe=vW(async I=>await(I==="silent"?V():re()),(I,[P])=>{const Y=Po(F.errorBag.value),Ce=[...new Set([...Po(I.results),...c.value.map(H=>H.path),...Y])].sort().reduce((H,U)=>{var Me;const De=U,Ke=K(De)||z(De),Te=((Me=I.results[De])===null||Me===void 0?void 0:Me.errors)||[],nt=_e(Ke?.path)||De,ct=LW({errors:Te,valid:!Te.length},H.results[nt]);return H.results[nt]=ct,ct.valid||(H.errors[nt]=ct.errors[0]),Ke&&f.value[nt]&&delete f.value[nt],Ke?(Ke.valid=ct.valid,P==="silent"||P==="validated-only"&&!Ke.validated||h(Ke,ct.errors),H):(h(nt,Te),H)},{valid:I.valid,results:{},errors:{},source:I.source});return I.values&&(Ce.values=I.values,Ce.source=I.source),Po(Ce.results).forEach(H=>{var U;const Me=K(H);Me&&P!=="silent"&&(P==="validated-only"&&!Me.validated||h(Me,(U=Ce.results[H])===null||U===void 0?void 0:U.errors))}),Ce});function G(I){c.value.forEach(I)}function K(I){const P=typeof I=="string"?Np(I):I;return typeof P=="string"?p.value[P]:P}function z(I){return c.value.filter(Y=>I.startsWith(_e(Y.path))).reduce((Y,fe)=>Y?fe.path.length>Y.path.length?fe:Y:fe,void 0)}let be=[],X;function Fe(I){return be.push(I),X||(X=it(()=>{[...be].sort().reverse().forEach(Y=>{gC(u,Y)}),be=[],X=null})),X}function Ve(I){return function(Y,fe){return function(H){return H instanceof Event&&(H.preventDefault(),H.stopPropagation()),G(U=>U.touched=!0),i.value=!0,a.value++,j().then(U=>{const Me=tn(u);if(U.valid&&typeof Y=="function"){const De=tn(x.value);let Ke=I?De:Me;return U.values&&(Ke=U.source==="schema"?U.values:Object.assign({},Ke,U.values)),Y(Ke,{evt:H,controlledValues:De,setErrors:v,setFieldError:h,setTouched:ve,setFieldTouched:Oe,setValues:he,setFieldValue:le,resetForm:$,resetField:q})}!U.valid&&typeof fe=="function"&&fe({values:Me,evt:H,errors:U.errors,results:U.results})}).then(U=>(i.value=!1,U),U=>{throw i.value=!1,U})}}}const Be=Ve(!1);Be.withControlled=Ve(!0);function ut(I,P){const Y=c.value.findIndex(Ce=>Ce.path===I&&(Array.isArray(Ce.id)?Ce.id.includes(P):Ce.id===P)),fe=c.value[Y];if(!(Y===-1||!fe)){if(it(()=>{ee(I,{mode:"silent",warn:!1})}),fe.multiple&&fe.fieldsCount&&fe.fieldsCount--,Array.isArray(fe.id)){const Ce=fe.id.indexOf(P);Ce>=0&&fe.id.splice(Ce,1),delete fe.__flags.pendingUnmount[P]}(!fe.multiple||fe.fieldsCount<=0)&&(c.value.splice(Y,1),ae(I),d(),delete p.value[I])}}function ke(I){Po(p.value).forEach(P=>{P.startsWith(I)&&delete p.value[P]}),c.value=c.value.filter(P=>!P.path.startsWith(I)),it(()=>{d()})}const F={name:r,formId:n,values:u,controlledValues:x,errorBag:g,errors:b,schema:O,submitCount:a,meta:T,isSubmitting:i,isValidating:s,fieldArrays:l,keepValuesOnUnmount:k,validateSchema:S(O)?pe:void 0,validate:j,setFieldError:h,validateField:ee,setFieldValue:le,setValues:he,setErrors:v,setFieldTouched:Oe,
6setTouched:ve,resetForm:$,resetField:q,handleSubmit:Be,useFieldModel:Ne,defineInputBinds:rt,defineComponentBinds:st,defineField:Re,stageInitialValue:de,unsetInitialValue:ae,setFieldInitialValue:xe,createPathState:A,getPathState:K,unsetPathValue:Fe,removePathState:ut,initialValues:C,getAllPathStates:()=>c.value,destroyPath:ke,isFieldTouched:M,isFieldDirty:B,isFieldValid:Q};function le(I,P,Y=!0){const fe=tn(P),Ce=typeof I=="string"?I:I.path;K(Ce)||A(Ce),os(u,Ce,fe),Y&&ee(Ce)}function se(I,P=!0){Po(u).forEach(Y=>{delete u[Y]}),Po(I).forEach(Y=>{le(Y,I[Y],!1)}),P&&j()}function he(I,P=!0){Id(u,I),l.forEach(Y=>Y&&Y.reset()),P&&j()}function Ee(I,P){const Y=K(_e(I))||A(I);return N({get(){return Y.value},set(fe){var Ce;const H=_e(I);le(H,fe,(Ce=_e(P))!==null&&Ce!==void 0?Ce:!1)}})}function Oe(I,P){const Y=K(I);Y&&(Y.touched=P)}function M(I){const P=K(I);return P?P.touched:c.value.filter(Y=>Y.path.startsWith(I)).some(Y=>Y.touched)}function B(I){const P=K(I);return P?P.dirty:c.value.filter(Y=>Y.path.startsWith(I)).some(Y=>Y.dirty)}function Q(I){const P=K(I);return P?P.valid:c.value.filter(Y=>Y.path.startsWith(I)).every(Y=>Y.valid)}function ve(I){if(typeof I=="boolean"){G(P=>{P.touched=I});return}Po(I).forEach(P=>{Oe(P,!!I[P])})}function q(I,P){var Y;const fe=P&&"value"in P?P.value:vs(C.value,I),Ce=K(I);Ce&&(Ce.__flags.pendingReset=!0),xe(I,tn(fe),!0),le(I,fe,!1),Oe(I,(Y=P?.touched)!==null&&Y!==void 0?Y:!1),h(I,P?.errors||[]),it(()=>{Ce&&(Ce.__flags.pendingReset=!1)})}function $(I,P){let Y=tn(I?.values?I.values:E.value);Y=P?.force?Y:Id(E.value,Y),Y=ha(O)&&ei(O.cast)?O.cast(Y):Y,D(Y,{force:P?.force}),G(fe=>{var Ce;fe.__flags.pendingReset=!0,fe.validated=!1,fe.touched=((Ce=I?.touched)===null||Ce===void 0?void 0:Ce[_e(fe.path)])||!1,le(_e(fe.path),vs(Y,_e(fe.path)),!1),h(_e(fe.path),void 0)}),P?.force?se(Y,!1):he(Y,!1),v(I?.errors||{}),a.value=I?.submitCount||0,it(()=>{j({mode:"silent"}),G(fe=>{fe.__flags.pendingReset=!1})})}async function j(I){const P=I?.mode||"force";if(P==="force"&&G(U=>U.validated=!0),F.validateSchema)return F.validateSchema(P);s.value=!0;const Y=await Promise.all(c.value.map(U=>U.validate?U.validate(I).then(Me=>({key:_e(U.path),valid:Me.valid,errors:Me.errors,value:Me.value})):Promise.resolve({key:_e(U.path),valid:!0,errors:[],value:void 0})));s.value=!1;const fe={},Ce={},H={};for(const U of Y)fe[U.key]={valid:U.valid,errors:U.errors},U.value&&os(H,U.key,U.value),U.errors.length&&(Ce[U.key]=U.errors[0]);return{valid:Y.every(U=>U.valid),results:fe,errors:Ce,values:H,source:"fields"}}async function ee(I,P){var Y;const fe=K(I);if(fe&&P?.mode!=="silent"&&(fe.validated=!0),O){const{results:Ce}=await pe(P?.mode||"validated-only");return Ce[I]||{errors:[],valid:!0}}return fe?.validate?fe.validate(P):(!fe&&(Y=P?.warn),Promise.resolve({errors:[],valid:!0}))}function ae(I){gC(C.value,I)}function de(I,P,Y=!1){xe(I,P),os(u,I,P),Y&&!e?.initialValues&&os(E.value,I,tn(P))}function xe(I,P,Y=!1){os(C.value,I,tn(P)),Y&&os(E.value,I,tn(P))}async function Z(){const I=S(O);if(!I)return{valid:!0,results:{},errors:{},source:"none"};s.value=!0;const P=BI(I)||ha(I)?await RW(I,u):await IW(I,u,{names:y.value,bailsMap:w.value});return s.value=!1,P}const ue=Be((I,{evt:P})=>{qI(P)&&P.target.submit()});_t(()=>{if(e?.initialErrors&&v(e.initialErrors),e?.initialTouched&&ve(e.initialTouched),e?.validateOnMount){j();return}F.validateSchema&&F.validateSchema("silent")}),lt(O)&&Ie(O,()=>{var I;(I=F.validateSchema)===null||I===void 0||I.call(F,"validated-only")}),Qn(lW,F);function Re(I,P){const Y=ei(P)?void 0:P?.label,fe=K(_e(I))||A(I,{label:Y}),Ce=()=>ei(P)?P(Bp(fe,jp)):P||{};function H(){var Te;fe.touched=!0,((Te=Ce().validateOnBlur)!==null&&Te!==void 0?Te:yf().validateOnBlur)&&ee(_e(fe.path))}function U(){var Te;((Te=Ce().validateOnInput)!==null&&Te!==void 0?Te:yf().validateOnInput)&&it(()=>{ee(_e(fe.path))})}function Me(){var Te;((Te=Ce().validateOnChange)!==null&&Te!==void 0?Te:yf().validateOnChange)&&it(()=>{ee(_e(fe.path))})}const De=N(()=>{const Te={onChange:Me,onInput:U,onBlur:H};return ei(P)?Object.assign(Object.assign({},Te),P(Bp(fe,jp)).props||{}):P?.props?Object.assign(Object.assign({},Te),P.props(Bp(fe,jp))):Te});return[Ee(I,()=>{var Te,nt,ct;return(ct=(Te=Ce().validateOnModelUpdate)!==null&&Te!==void 0?Te:(nt=yf())===null||nt===void 0?void 0:nt.validateOnModelUpdate)!==null&&ct!==void 0?ct:!0}),De]}
6function Ne(I){return Array.isArray(I)?I.map(P=>Ee(P,!0)):Ee(I)}function rt(I,P){const[Y,fe]=Re(I,P);function Ce(){fe.value.onBlur()}function H(Me){const De=bC(Me);le(_e(I),De,!1),fe.value.onInput()}function U(Me){const De=bC(Me);le(_e(I),De,!1),fe.value.onChange()}return N(()=>Object.assign(Object.assign({},fe.value),{onBlur:Ce,onInput:H,onChange:U,value:Y.value}))}function st(I,P){const[Y,fe]=Re(I,P),Ce=K(_e(I));function H(U){Y.value=U}return N(()=>{const U=ei(P)?P(Bp(Ce,jp)):P||{};return Object.assign({[U.model||"modelValue"]:Y.value,[`onUpdate:${U.model||"modelValue"}`]:H},fe.value)})}const ft=Object.assign(Object.assign({},F),{values:ci(u),handleReset:()=>$(),submitForm:ue});return Qn(uW,ft),ft}function MW(e,t,n,r){const o={touched:"some",pending:"some",valid:"every"},i=N(()=>!Kf(t,S(n)));function s(){const l=e.value;return Po(o).reduce((u,c)=>{const f=o[c];return u[c]=l[f](p=>p[c]),u},{})}const a=on(s());return Pt(()=>{const l=s();a.touched=l.touched,a.valid=l.valid,a.pending=l.pending}),N(()=>Object.assign(Object.assign({initialValues:S(n)},a),{valid:a.valid&&!Po(r.value).length,dirty:i.value}))}function FW(e,t,n){const r=WI(n),o=ne(r),i=ne(tn(r));function s(a,l){l?.force?(o.value=tn(a),i.value=tn(a)):(o.value=Id(tn(o.value)||{},tn(a)),i.value=Id(tn(i.value)||{},tn(a))),l?.updateFields&&e.value.forEach(u=>{if(u.touched)return;const f=vs(o.value,_e(u.path));os(t,_e(u.path),tn(f))})}return{initialValues:o,originalInitialValues:i,setInitialValues:s}}function LW(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}const NW=ge({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1},name:{type:String,default:"Form"}},setup(e,t){const n=Rs(e,"validationSchema"),r=Rs(e,"keepValues"),{errors:o,errorBag:i,values:s,meta:a,isSubmitting:l,isValidating:u,submitCount:c,controlledValues:f,validate:p,validateField:d,handleReset:h,resetForm:v,handleSubmit:g,setErrors:b,setFieldError:y,setFieldValue:w,setValues:_,setFieldTouched:k,setTouched:C,resetField:E}=zI({validationSchema:n.value?n:void 0,initialValues:e.initialValues,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:r,name:e.name}),D=g((G,{evt:K})=>{qI(K)&&K.target.submit()},e.onInvalidSubmit),T=e.onSubmit?g(e.onSubmit,e.onInvalidSubmit):D;function x(G){iw(G)&&G.preventDefault(),h(),typeof t.attrs.onReset=="function"&&t.attrs.onReset()}function O(G,K){return g(typeof G=="function"&&!K?G:K,e.onInvalidSubmit)(G)}function A(){return tn(s)}function V(){return tn(a.value)}function re(){return tn(o.value)}function pe(){return{meta:a.value,errors:o.value,errorBag:i.value,values:s,isSubmitting:l.value,isValidating:u.value,submitCount:c.value,controlledValues:f.value,validate:p,validateField:d,handleSubmit:O,handleReset:h,submitForm:D,setErrors:b,setFieldError:y,setFieldValue:w,setValues:_,setFieldTouched:k,setTouched:C,resetForm:v,resetField:E,getValues:A,getMeta:V,getErrors:re}}return t.expose({setFieldError:y,setErrors:b,setFieldValue:w,setValues:_,setFieldTouched:k,setTouched:C,resetForm:v,validate:p,validateField:d,resetField:E,getValues:A,getMeta:V,getErrors:re,values:s,meta:a,errors:o}),function(){const K=e.as==="form"?e.as:e.as?er(e.as):null,z=yW(K,t,pe);return K?Bt(K,Object.assign(Object.assign(Object.assign({},K==="form"?{novalidate:!0}:{}),t.attrs),{onSubmit:T,onReset:x}),z):z}}}),BW=NW;function zr(e){return typeof e=="function"}function KI(e){return e==null}const Ll=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function aw(e){return Number(e)>=0}function jW(e){const t=parseFloat(e);return isNaN(t)?e:t}function qW(e){return typeof e=="object"&&e!==null}function UW(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function kC(e){if(!qW(e)||UW(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function $d(e,t){return Object.keys(t).forEach(n=>{if(kC(t[n])&&kC(e[n])){e[n]||(e[n]={}),$d(e[n],t[n]);return}e[n]=t[n]}),e}function _f(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(aw(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}const HW={};function WW(e){return HW[e]}function EC(e,t,n){typeof n.value=="object"&&(n.value=nn(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function nn(e){if(typeof e!="object")return e;var t=0,n,r,o,i=Object.prototype.toString.call(e);
6if(i==="[object Object]"?o=Object.create(e.__proto__||null):i==="[object Array]"?o=Array(e.length):i==="[object Set]"?(o=new Set,e.forEach(function(s){o.add(nn(s))})):i==="[object Map]"?(o=new Map,e.forEach(function(s,a){o.set(nn(a),nn(s))})):i==="[object Date]"?o=new Date(+e):i==="[object RegExp]"?o=new RegExp(e.source,e.flags):i==="[object DataView]"?o=new e.constructor(nn(e.buffer)):i==="[object ArrayBuffer]"?o=e.slice(0):i.slice(-6)==="Array]"&&(o=new e.constructor(e)),o){for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)EC(o,r[t],Object.getOwnPropertyDescriptor(e,r[t]));for(t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Object.hasOwnProperty.call(o,n=r[t])&&o[n]===e[n]||EC(o,n,Object.getOwnPropertyDescriptor(e,n))}return o||e}const lw=Symbol("vee-validate-form"),zW=Symbol("vee-validate-form-context"),KW=Symbol("vee-validate-field-instance"),SC=Symbol("Default empty value"),GW=typeof window<"u";function f0(e){return zr(e)&&!!e.__locatorRef}function ri(e){return!!e&&zr(e.parse)&&e.__type==="VVTypedSchema"}function gm(e){return!!e&&zr(e.validate)}function GI(e){return e==="checkbox"||e==="radio"}function YW(e){return Ll(e)||Array.isArray(e)}function XW(e){return Array.isArray(e)?e.length===0:Ll(e)&&Object.keys(e).length===0}function Kd(e){return/^\[.+\]$/i.test(e)}function QW(e){return YI(e)&&e.multiple}function YI(e){return e.tagName==="SELECT"}function ZW(e){return XI(e)&&e.target&&"submit"in e.target}function XI(e){return e?!!(typeof Event<"u"&&zr(Event)&&e instanceof Event||e&&e.srcElement):!1}function $r(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$r(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;for(r of e.entries())if(!$r(r[1],t.get(r[0])))return!1;return!0}if(DC(e)&&DC(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),n=o.length-CC(e,o),n!==Object.keys(t).length-CC(t,Object.keys(t)))return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){var i=o[r];if(!$r(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function CC(e,t){let n=0;for(let o=t.length;o--!==0;){var r=t[o];e[r]===void 0&&n++}return n}function DC(e){return GW?e instanceof File:!1}function mv(e){return Kd(e)?e.replace(/\[|\]/gi,""):e}function Kr(e,t,n){return e?Kd(t)?e[mv(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((o,i)=>YW(o)&&i in o?o[i]:n,e):n}function is(e,t,n){if(Kd(t)){e[mv(t)]=n;return}const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let i=0;i<r.length;i++){if(i===r.length-1){o[r[i]]=n;return}(!(r[i]in o)||KI(o[r[i]]))&&(o[r[i]]=aw(r[i+1])?[]:{}),o=o[r[i]]}}function Vg(e,t){if(Array.isArray(e)&&aw(t)){e.splice(Number(t),1);return}Ll(e)&&delete e[t]}function xC(e,t){if(Kd(t)){delete e[mv(t)];return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let i=0;i<n.length;i++){if(i===n.length-1){Vg(r,n[i]);break}if(!(n[i]in r)||KI(r[n[i]]))break;r=r[n[i]]}const o=n.map((i,s)=>Kr(e,n.slice(0,s).join(".")));for(let i=o.length-1;i>=0;i--)if(XW(o[i])){if(i===0){Vg(e,n[0]);continue}Vg(o[i-1],n[i-1])}}function ao(e){return Object.keys(e)}function QI(e,t=void 0){const n=kt();return n?.provides[e]||Kt(e,t)}function JW(e,t,n){if(Array.isArray(e)){const r=[...e],o=r.findIndex(i=>$r(i,t));return o>=0?r.splice(o,1):r.push(t),r}return $r(e,t)?n:t}function TC(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout(()=>{const i=e(...o);r.forEach(s=>s(i)),r=[]},t),new Promise(i=>r.push(i))}}function e9(e,t){return Ll(t)&&t.number?jW(e):e}function d0(e,t){let n;return async function(...o){const i=e(...o);n=i;const s=await i;return i!==n?s:(n=void 0,t(s,o))}}function p0(e){return Array.isArray(e)?e:e?[e]:[]}function qp(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function t9(e){let t=null,n=[];return function(...r){const o=it(()=>{if(t!==o)return;const i=e(...r);
6n.forEach(s=>s(i)),n=[],t=null});return t=o,new Promise(i=>n.push(i))}}function Ug(e){if(ZI(e))return e._value}function ZI(e){return"_value"in e}function n9(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function ym(e){if(!XI(e))return e;const t=e.target;if(GI(t.type)&&ZI(t))return Ug(t);if(t.type==="file"&&t.files){const n=Array.from(t.files);return t.multiple?n:n[0]}if(QW(t))return Array.from(t.options).filter(n=>n.selected&&!n.disabled).map(Ug);if(YI(t)){const n=Array.from(t.options).find(r=>r.selected);return n?Ug(n):t.value}return n9(t)}function JI(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Ll(e)&&e._$$isNormalized?e:Ll(e)?Object.keys(e).reduce((n,r)=>{const o=r9(e[r]);return e[r]!==!1&&(n[r]=AC(o)),n},t):typeof e!="string"?t:e.split("|").reduce((n,r)=>{const o=o9(r);return o.name&&(n[o.name]=AC(o.params)),n},t):t}function r9(e){return e===!0?[]:Array.isArray(e)||Ll(e)?e:[e]}function AC(e){const t=n=>typeof n=="string"&&n[0]==="@"?i9(n.slice(1)):n;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{})}const o9=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};function i9(e){const t=n=>{var r;return(r=Kr(n,e))!==null&&r!==void 0?r:n[e]};return t.__locatorRef=e,t}function s9(e){return Array.isArray(e)?e.filter(f0):ao(e).filter(t=>f0(e[t])).map(t=>e[t])}const a9={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let l9=Object.assign({},a9);const bf=()=>l9;async function e$(e,t,n={}){const r=n?.bails,o={name:n?.name||"{field}",rules:t,label:n?.label,bails:r??!0,formData:n?.values||{}},i=await u9(o,e);return Object.assign(Object.assign({},i),{valid:!i.errors.length})}async function u9(e,t){const n=e.rules;if(ri(n)||gm(n))return f9(t,Object.assign(Object.assign({},e),{rules:n}));if(zr(n)||Array.isArray(n)){const a={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},l=Array.isArray(n)?n:[n],u=l.length,c=[];for(let f=0;f<u;f++){const p=l[f],d=await p(t,a);if(!(typeof d!="string"&&!Array.isArray(d)&&d)){if(Array.isArray(d))c.push(...d);else{const v=typeof d=="string"?d:n$(a);c.push(v)}if(e.bails)return{errors:c}}}return{errors:c}}const r=Object.assign(Object.assign({},e),{rules:JI(n)}),o=[],i=Object.keys(r.rules),s=i.length;for(let a=0;a<s;a++){const l=i[a],u=await d9(r,t,{name:l,params:r.rules[l]});if(u.error&&(o.push(u.error),e.bails))return{errors:o}}return{errors:o}}function c9(e){return!!e&&e.name==="ValidationError"}function t$(e){return{__type:"VVTypedSchema",async parse(n,r){var o;try{return{output:await e.validate(n,{abortEarly:!1,context:r?.formData||{}}),errors:[]}}catch(i){if(!c9(i))throw i;if(!(!((o=i.inner)===null||o===void 0)&&o.length)&&i.errors.length)return{errors:[{path:i.path,errors:i.errors}]};const s=i.inner.reduce((a,l)=>{const u=l.path||"";return a[u]||(a[u]={errors:[],path:u}),a[u].errors.push(...l.errors),a},{});return{errors:Object.values(s)}}}}}async function f9(e,t){const r=await(ri(t.rules)?t.rules:t$(t.rules)).parse(e,{formData:t.formData}),o=[];for(const i of r.errors)i.errors.length&&o.push(...i.errors);return{value:r.value,errors:o}}async function d9(e,t,n){const r=WW(n.name);if(!r)throw new Error(`No such validator '${n.name}' exists.`);const o=p9(n.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:o})},s=await r(t,o,i);return typeof s=="string"?{error:s}:{error:s?void 0:n$(i)}}function n$(e){const t=bf().generateMessage;return t?t(e):"Field is invalid"}function p9(e,t){const n=r=>f0(r)?r(t):r;return Array.isArray(e)?e.map(n):Object.keys(e).reduce((r,o)=>(r[o]=n(e[o]),r),{})}async function h9(e,t){const r=await(ri(e)?e:t$(e)).parse(nn(t),{formData:nn(t)}),o={},i={};for(const s of r.errors){const a=s.errors,l=(s.path||"").replace(/\["(\d+)"\]/g,(u,c)=>`[${c}]`);o[l]={valid:!a.length,errors:a},a.length&&(i[l]=a[0])}return{valid:!r.errors.length,results:o,errors:i,values:r.value,source:"schema"}}async function m9(e,t,n){const o=ao(e).map(async u=>{var c,f,p;const d=(c=n?.names)===null||c===void 0?void 0:c[u],h=await e$(Kr(t,u),e[u],{name:d?.name||u,label:d?.label,values:t,bail
6s:(p=(f=n?.bailsMap)===null||f===void 0?void 0:f[u])!==null&&p!==void 0?p:!0});return Object.assign(Object.assign({},h),{path:u})});let i=!0;const s=await Promise.all(o),a={},l={};for(const u of s)a[u.path]={valid:u.valid,errors:u.errors},u.valid||(i=!1,l[u.path]=u.errors[0]);return{valid:i,results:a,errors:l,source:"schema"}}let OC=0;function v9(e,t){const{value:n,initialValue:r,setInitialValue:o}=g9(e,t.modelValue,t.form);if(!t.form){let l=function(d){var h;"value"in d&&(n.value=d.value),"errors"in d&&c(d.errors),"touched"in d&&(p.touched=(h=d.touched)!==null&&h!==void 0?h:p.touched),"initialValue"in d&&o(d.initialValue)};const{errors:u,setErrors:c}=b9(),f=OC>=Number.MAX_SAFE_INTEGER?0:++OC,p=_9(n,r,u,t.schema);return{id:f,path:e,value:n,initialValue:r,meta:p,flags:{pendingUnmount:{[f]:!1},pendingReset:!1},errors:u,setState:l}}const i=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate,schema:t.schema}),s=N(()=>i.errors);function a(l){var u,c,f;"value"in l&&(n.value=l.value),"errors"in l&&((u=t.form)===null||u===void 0||u.setFieldError(S(e),l.errors)),"touched"in l&&((c=t.form)===null||c===void 0||c.setFieldTouched(S(e),(f=l.touched)!==null&&f!==void 0?f:!1)),"initialValue"in l&&o(l.initialValue)}return{id:Array.isArray(i.id)?i.id[i.id.length-1]:i.id,path:e,value:n,errors:s,meta:i,initialValue:r,flags:i.__flags,setState:a}}function g9(e,t,n){const r=ne(S(t));function o(){return n?Kr(n.initialValues.value,S(e),S(r)):S(r)}function i(u){if(!n){r.value=u;return}n.setFieldInitialValue(S(e),u,!0)}const s=N(o);if(!n)return{value:ne(o()),initialValue:s,setInitialValue:i};const a=y9(t,n,s,e);return n.stageInitialValue(S(e),a,!0),{value:N({get(){return Kr(n.values,S(e))},set(u){n.setFieldValue(S(e),u,!1)}}),initialValue:s,setInitialValue:i}}function y9(e,t,n,r){return lt(e)?S(e):e!==void 0?e:Kr(t.values,S(r),S(n))}function _9(e,t,n,r){const o=N(()=>{var s,a,l;return(l=(a=(s=_e(r))===null||s===void 0?void 0:s.describe)===null||a===void 0?void 0:a.call(s).required)!==null&&l!==void 0?l:!1}),i=on({touched:!1,pending:!1,valid:!0,required:o,validated:!!S(n).length,initialValue:N(()=>S(t)),dirty:N(()=>!$r(S(e),S(t)))});return Ie(n,s=>{i.valid=!s.length},{immediate:!0,flush:"sync"}),i}function b9(){const e=ne([]);return{errors:e,setErrors:t=>{e.value=p0(t)}}}function Ys(e,t,n){return GI(void 0)?k9(e,t):r$(e,t)}function r$(e,t,n){const{initialValue:r,validateOnMount:o,bails:i,type:s,checkedValue:a,label:l,validateOnValueUpdate:u,uncheckedValue:c,controlled:f,keepValueOnUnmount:p,syncVModel:d,form:h}=w9(),v=f?QI(lw):void 0,g=h||v,b=N(()=>_f(_e(e))),y=N(()=>{if(_e(g?.schema))return;const F=S(t);return gm(F)||ri(F)||zr(F)||Array.isArray(F)?F:JI(F)}),w=!zr(y.value)&&ri(_e(t)),{id:_,value:k,initialValue:C,meta:E,setState:D,errors:T,flags:x}=v9(b,{modelValue:r,form:g,bails:i,label:l,type:s,validate:y.value?G:void 0,schema:w?t:void 0}),O=N(()=>T.value[0]);d&&E9({value:k,prop:d,handleChange:K,shouldValidate:()=>u&&!x.pendingReset});const A=(ke,F=!1)=>{E.touched=!0,F&&re()};async function V(ke){var F,le;if(g?.validateSchema){const{results:se}=await g.validateSchema(ke);return(F=se[_e(b)])!==null&&F!==void 0?F:{valid:!0,errors:[]}}return y.value?e$(k.value,y.value,{name:_e(b),label:_e(l),values:(le=g?.values)!==null&&le!==void 0?le:{},bails:i}):{valid:!0,errors:[]}}const re=d0(async()=>(E.pending=!0,E.validated=!0,V("validated-only")),ke=>(x.pendingUnmount[Be.id]||(D({errors:ke.errors}),E.pending=!1,E.valid=ke.valid),ke)),pe=d0(async()=>V("silent"),ke=>(E.valid=ke.valid,ke));function G(ke){return ke?.mode==="silent"?pe():re()}function K(ke,F=!0){const le=ym(ke);Fe(le,F)}_t(()=>{if(o)return re();(!g||!g.validateSchema)&&pe()});function z(ke){E.touched=ke}function be(ke){var F;const le=ke&&"value"in ke?ke.value:C.value;D({value:nn(le),initialValue:nn(le),touched:(F=ke?.touched)!==null&&F!==void 0?F:!1,errors:ke?.errors||[]}),E.pending=!1,E.validated=!1,pe()}const X=kt();function Fe(ke,F=!0){k.value=X&&d?e9(ke,X.props.modelModifiers):ke,(F?re:pe)()}function Ve(ke){D({errors:Array.isArray(ke)?ke:[ke]})}const tt=N({get(){return k.value},set(ke){Fe(ke,u)}}),Be={id:_,name:b,label:l,value:tt,meta:E,errors:T,errorMessage:O,type:s,checkedValue:a,uncheckedValue:c,bails:i,keepValueOnUnmount:p,resetField:be,handleReset:()=>
6be(),validate:G,handleChange:K,handleBlur:A,setState:D,setTouched:z,setErrors:Ve,setValue:Fe};if(Qn(KW,Be),lt(t)&&typeof S(t)!="function"&&Ie(t,(ke,F)=>{$r(ke,F)||(E.validated?re():pe())},{deep:!0}),!g)return Be;const ut=N(()=>{const ke=y.value;return!ke||zr(ke)||gm(ke)||ri(ke)||Array.isArray(ke)?{}:Object.keys(ke).reduce((F,le)=>{const se=s9(ke[le]).map(he=>he.__locatorRef).reduce((he,Ee)=>{const Oe=Kr(g.values,Ee)||g.values[Ee];return Oe!==void 0&&(he[Ee]=Oe),he},{});return Object.assign(F,se),F},{})});return Ie(ut,(ke,F)=>{if(!Object.keys(ke).length)return;!$r(ke,F)&&(E.validated?re():pe())}),$a(()=>{var ke;const F=(ke=_e(Be.keepValueOnUnmount))!==null&&ke!==void 0?ke:_e(g.keepValuesOnUnmount),le=_e(b);if(F||!g||x.pendingUnmount[Be.id]){g?.removePathState(le,_);return}x.pendingUnmount[Be.id]=!0;const se=g.getPathState(le);if(Array.isArray(se?.id)&&se?.multiple?se?.id.includes(Be.id):se?.id===Be.id){if(se?.multiple&&Array.isArray(se.value)){const Ee=se.value.findIndex(Oe=>$r(Oe,_e(Be.checkedValue)));if(Ee>-1){const Oe=[...se.value];Oe.splice(Ee,1),g.setFieldValue(le,Oe)}Array.isArray(se.id)&&se.id.splice(se.id.indexOf(Be.id),1)}else g.unsetPathValue(_e(b));g.removePathState(le,_)}}),Be}function w9(e){return Object.assign(Object.assign({},{initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),{initialValue:void 0})}function k9(e,t,n){const r=QI(lw),o=void 0,i=void 0;function s(a){const l=a.handleChange,u=N(()=>{const f=_e(a.value),p=_e(o);return Array.isArray(f)?f.findIndex(d=>$r(d,p))>=0:$r(p,f)});function c(f,p=!0){var d,h;if(u.value===((d=f?.target)===null||d===void 0?void 0:d.checked)){p&&a.validate();return}const v=_e(e),g=r?.getPathState(v),b=ym(f);let y=(h=_e(o))!==null&&h!==void 0?h:b;r&&g?.multiple&&g.type==="checkbox"&&(y=JW(Kr(r.values,v)||[],y,void 0)),l(y,p)}return Object.assign(Object.assign({},a),{checked:u,checkedValue:o,uncheckedValue:i,handleChange:c})}return s(r$(e,t))}function E9({prop:e,value:t,handleChange:n,shouldValidate:r}){const o=kt();if(!o||!e)return;const i=typeof e=="string"?e:"modelValue",s=`update:${i}`;i in o.props&&(Ie(t,a=>{$r(a,PC(o,i))||o.emit(s,a)}),Ie(()=>PC(o,i),a=>{if(a===SC&&t.value===void 0)return;const l=a===SC?void 0:a;$r(l,t.value)||n(l,r())}))}function PC(e,t){if(e)return e.props[t]}let S9=0;const Vp=["bails","fieldsCount","id","multiple","type","validate"];function o$(e){const t=e?.initialValues||{},n=Object.assign({},_e(t)),r=S(e?.validationSchema);return r&&ri(r)&&zr(r.cast)?nn(r.cast(n)||{}):nn(n)}function C9(e){var t;const n=S9++,r=e?.name||"Form";let o=0;const i=ne(!1),s=ne(!1),a=ne(0),l=[],u=on(o$(e)),c=ne([]),f=ne({}),p=ne({}),d=t9(()=>{p.value=c.value.reduce((I,P)=>(I[_f(_e(P.path))]=P,I),{})});function h(I,P){const Y=K(I);if(!Y){typeof I=="string"&&(f.value[_f(I)]=p0(P));return}if(typeof I=="string"){const fe=_f(I);f.value[fe]&&delete f.value[fe]}Y.errors=p0(P),Y.valid=!Y.errors.length}function v(I){ao(I).forEach(P=>{h(P,I[P])})}e?.initialErrors&&v(e.initialErrors);const g=N(()=>{const I=c.value.reduce((P,Y)=>(Y.errors.length&&(P[_e(Y.path)]=Y.errors),P),{});return Object.assign(Object.assign({},f.value),I)}),b=N(()=>ao(g.value).reduce((I,P)=>{const Y=g.value[P];return Y?.length&&(I[P]=Y[0]),I},{})),y=N(()=>c.value.reduce((I,P)=>(I[_e(P.path)]={name:_e(P.path)||"",label:P.label||""},I),{})),w=N(()=>c.value.reduce((I,P)=>{var Y;return I[_e(P.path)]=(Y=P.bails)!==null&&Y!==void 0?Y:!0,I},{})),_=Object.assign({},e?.initialErrors||{}),k=(t=e?.keepValuesOnUnmount)!==null&&t!==void 0?t:!1,{initialValues:C,originalInitialValues:E,setInitialValues:D}=x9(c,u,e),T=D9(c,u,E,b),x=N(()=>c.value.reduce((I,P)=>{const Y=Kr(u,_e(P.path));return is(I,_e(P.path),Y),I},{})),O=e?.validationSchema;function A(I,P){var Y,fe;const Ce=N(()=>Kr(C.value,_e(I))),H=p.value[_e(I)],U=P?.type==="checkbox"||P?.type==="radio";if(H&&U){H.multiple=!0;const dt=o++;return Array.isArray(H.id)?H.id.push(dt):H.id=[H.id,dt],H.fieldsCount++,H.__flags.pendingUnmount[dt]=!1,H}const Me=N(()=>Kr(u,_e(I))),De=_e(I),Ke=be.findIndex(dt=>dt===De);Ke!==-1&&be.splice(Ke,1);const Te=N(()=>{var dt,Ue,te,Se;const oe=_e(O);if(ri(oe))return(Ue=(dt=oe.describe)===null||dt===void 0?void 0:dt.call(oe,_e(I)).required)!==null&&Ue!==void 0?Ue:!1;const me=_e(P?.schema);return ri(me)&&(Se=(te=me.describe)===null||te===void 0?void 0:te.call(me).required)!==null&&Se!==void 0?Se:!1}),nt=o++,ct=on({id:nt,path:I,touched:!1,pending:!1,valid:!0,validated:!!(!((Y=_[De])===null||Y===void 0)&&Y.length),required:Te,initialValue:Ce,errors:yt([]),bails:(fe=P?.bails)!==null&&fe!==void 0?fe:!1,label:P?.label,type:P?.type||"default",value:Me,multiple:!1,__flags:{pendingUnmount:{[nt]:!1}
6,pendingReset:!1},fieldsCount:1,validate:P?.validate,dirty:N(()=>!$r(S(Me),S(Ce)))});return c.value.push(ct),p.value[De]=ct,d(),b.value[De]&&!_[De]&&it(()=>{ee(De,{mode:"silent"})}),lt(I)&&Ie(I,dt=>{d();const Ue=nn(Me.value);p.value[dt]=ct,it(()=>{is(u,dt,Ue)})}),ct}const V=TC(Z,5),re=TC(Z,5),pe=d0(async I=>await(I==="silent"?V():re()),(I,[P])=>{const Y=ao(F.errorBag.value),Ce=[...new Set([...ao(I.results),...c.value.map(H=>H.path),...Y])].sort().reduce((H,U)=>{var Me;const De=U,Ke=K(De)||z(De),Te=((Me=I.results[De])===null||Me===void 0?void 0:Me.errors)||[],nt=_e(Ke?.path)||De,ct=T9({errors:Te,valid:!Te.length},H.results[nt]);return H.results[nt]=ct,ct.valid||(H.errors[nt]=ct.errors[0]),Ke&&f.value[nt]&&delete f.value[nt],Ke?(Ke.valid=ct.valid,P==="silent"||P==="validated-only"&&!Ke.validated||h(Ke,ct.errors),H):(h(nt,Te),H)},{valid:I.valid,results:{},errors:{},source:I.source});return I.values&&(Ce.values=I.values,Ce.source=I.source),ao(Ce.results).forEach(H=>{var U;const Me=K(H);Me&&P!=="silent"&&(P==="validated-only"&&!Me.validated||h(Me,(U=Ce.results[H])===null||U===void 0?void 0:U.errors))}),Ce});function G(I){c.value.forEach(I)}function K(I){const P=typeof I=="string"?_f(I):I;return typeof P=="string"?p.value[P]:P}function z(I){return c.value.filter(Y=>I.startsWith(_e(Y.path))).reduce((Y,fe)=>Y?fe.path.length>Y.path.length?fe:Y:fe,void 0)}let be=[],X;function Fe(I){return be.push(I),X||(X=it(()=>{[...be].sort().reverse().forEach(Y=>{xC(u,Y)}),be=[],X=null})),X}function Ve(I){return function(Y,fe){return function(H){return H instanceof Event&&(H.preventDefault(),H.stopPropagation()),G(U=>U.touched=!0),i.value=!0,a.value++,j().then(U=>{const Me=nn(u);if(U.valid&&typeof Y=="function"){const De=nn(x.value);let Ke=I?De:Me;return U.values&&(Ke=U.source==="schema"?U.values:Object.assign({},Ke,U.values)),Y(Ke,{evt:H,controlledValues:De,setErrors:v,setFieldError:h,setTouched:ve,setFieldTouched:Oe,setValues:he,setFieldValue:le,resetForm:$,resetField:q})}!U.valid&&typeof fe=="function"&&fe({values:Me,evt:H,errors:U.errors,results:U.results})}).then(U=>(i.value=!1,U),U=>{throw i.value=!1,U})}}}const Be=Ve(!1);Be.withControlled=Ve(!0);function ut(I,P){const Y=c.value.findIndex(Ce=>Ce.path===I&&(Array.isArray(Ce.id)?Ce.id.includes(P):Ce.id===P)),fe=c.value[Y];if(!(Y===-1||!fe)){if(it(()=>{ee(I,{mode:"silent",warn:!1})}),fe.multiple&&fe.fieldsCount&&fe.fieldsCount--,Array.isArray(fe.id)){const Ce=fe.id.indexOf(P);Ce>=0&&fe.id.splice(Ce,1),delete fe.__flags.pendingUnmount[P]}(!fe.multiple||fe.fieldsCount<=0)&&(c.value.splice(Y,1),ae(I),d(),delete p.value[I])}}function ke(I){ao(p.value).forEach(P=>{P.startsWith(I)&&delete p.value[P]}),c.value=c.value.filter(P=>!P.path.startsWith(I)),it(()=>{d()})}const F={name:r,formId:n,values:u,controlledValues:x,errorBag:g,errors:b,schema:O,submitCount:a,meta:T,isSubmitting:i,isValidating:s,fieldArrays:l,keepValuesOnUnmount:k,validateSchema:S(O)?pe:void 0,validate:j,setFieldError:h,validateField:ee,setFieldValue:le,setValues:he,setErrors:v,setFieldTouched:Oe,setTouched:ve,resetForm:$,resetField:q,handleSubmit:Be,useFieldModel:Ne,defineInputBinds:rt,defineComponentBinds:st,defineField:Re,stageInitialValue:de,unsetInitialValue:ae,setFieldInitialValue:xe,createPathState:A,getPathState:K,unsetPathValue:Fe,removePathState:ut,initialValues:C,getAllPathStates:()=>c.value,destroyPath:ke,isFieldTouched:M,isFieldDirty:B,isFieldValid:Q};function le(I,P,Y=!0){const fe=nn(P),Ce=typeof I=="string"?I:I.path;K(Ce)||A(Ce),is(u,Ce,fe),Y&&ee(Ce)}function se(I,P=!0){ao(u).forEach(Y=>{delete u[Y]}),ao(I).forEach(Y=>{le(Y,I[Y],!1)}),P&&j()}function he(I,P=!0){$d(u,I),l.forEach(Y=>Y&&Y.reset()),P&&j()}function Ee(I,P){const Y=K(_e(I))||A(I);return N({get(){return Y.value},set(fe){var Ce;const H=_e(I);le(H,fe,(Ce=_e(P))!==null&&Ce!==void 0?Ce:!1)}})}function Oe(I,P){const Y=K(I);Y&&(Y.touched=P)}function M(I){const P=K(I);return P?P.touched:c.value.filter(Y=>Y.path.startsWith(I)).some(Y=>Y.touched)}function B(I){const P=K(I);return P?P.dirty:c.value.filter(Y=>Y.path.startsWith(I)).some(Y=>Y.dirty)}function Q(I){const P=K(I);return P?P.valid:c.value.filter(Y=>Y.path.startsWith(I)).every(Y=>Y.valid)}function ve(I){if(typeof I=="boolean"){G(P=>{P.touched=I});return}
6ao(I).forEach(P=>{Oe(P,!!I[P])})}function q(I,P){var Y;const fe=P&&"value"in P?P.value:Kr(C.value,I),Ce=K(I);Ce&&(Ce.__flags.pendingReset=!0),xe(I,nn(fe),!0),le(I,fe,!1),Oe(I,(Y=P?.touched)!==null&&Y!==void 0?Y:!1),h(I,P?.errors||[]),it(()=>{Ce&&(Ce.__flags.pendingReset=!1)})}function $(I,P){let Y=nn(I?.values?I.values:E.value);Y=P?.force?Y:$d(E.value,Y),Y=ri(O)&&zr(O.cast)?O.cast(Y):Y,D(Y,{force:P?.force}),G(fe=>{var Ce;fe.__flags.pendingReset=!0,fe.validated=!1,fe.touched=((Ce=I?.touched)===null||Ce===void 0?void 0:Ce[_e(fe.path)])||!1,le(_e(fe.path),Kr(Y,_e(fe.path)),!1),h(_e(fe.path),void 0)}),P?.force?se(Y,!1):he(Y,!1),v(I?.errors||{}),a.value=I?.submitCount||0,it(()=>{j({mode:"silent"}),G(fe=>{fe.__flags.pendingReset=!1})})}async function j(I){const P=I?.mode||"force";if(P==="force"&&G(U=>U.validated=!0),F.validateSchema)return F.validateSchema(P);s.value=!0;const Y=await Promise.all(c.value.map(U=>U.validate?U.validate(I).then(Me=>({key:_e(U.path),valid:Me.valid,errors:Me.errors,value:Me.value})):Promise.resolve({key:_e(U.path),valid:!0,errors:[],value:void 0})));s.value=!1;const fe={},Ce={},H={};for(const U of Y)fe[U.key]={valid:U.valid,errors:U.errors},U.value&&is(H,U.key,U.value),U.errors.length&&(Ce[U.key]=U.errors[0]);return{valid:Y.every(U=>U.valid),results:fe,errors:Ce,values:H,source:"fields"}}async function ee(I,P){var Y;const fe=K(I);if(fe&&P?.mode!=="silent"&&(fe.validated=!0),O){const{results:Ce}=await pe(P?.mode||"validated-only");return Ce[I]||{errors:[],valid:!0}}return fe?.validate?fe.validate(P):(!fe&&(Y=P?.warn),Promise.resolve({errors:[],valid:!0}))}function ae(I){xC(C.value,I)}function de(I,P,Y=!1){xe(I,P),is(u,I,P),Y&&!e?.initialValues&&is(E.value,I,nn(P))}function xe(I,P,Y=!1){is(C.value,I,nn(P)),Y&&is(E.value,I,nn(P))}async function Z(){const I=S(O);if(!I)return{valid:!0,results:{},errors:{},source:"none"};s.value=!0;const P=gm(I)||ri(I)?await h9(I,u):await m9(I,u,{names:y.value,bailsMap:w.value});return s.value=!1,P}const ue=Be((I,{evt:P})=>{ZW(P)&&P.target.submit()});_t(()=>{if(e?.initialErrors&&v(e.initialErrors),e?.initialTouched&&ve(e.initialTouched),e?.validateOnMount){j();return}F.validateSchema&&F.validateSchema("silent")}),lt(O)&&Ie(O,()=>{var I;(I=F.validateSchema)===null||I===void 0||I.call(F,"validated-only")}),Qn(lw,F);function Re(I,P){const Y=zr(P)?void 0:P?.label,fe=K(_e(I))||A(I,{label:Y}),Ce=()=>zr(P)?P(qp(fe,Vp)):P||{};function H(){var Te;fe.touched=!0,((Te=Ce().validateOnBlur)!==null&&Te!==void 0?Te:bf().validateOnBlur)&&ee(_e(fe.path))}function U(){var Te;((Te=Ce().validateOnInput)!==null&&Te!==void 0?Te:bf().validateOnInput)&&it(()=>{ee(_e(fe.path))})}function Me(){var Te;((Te=Ce().validateOnChange)!==null&&Te!==void 0?Te:bf().validateOnChange)&&it(()=>{ee(_e(fe.path))})}const De=N(()=>{const Te={onChange:Me,onInput:U,onBlur:H};return zr(P)?Object.assign(Object.assign({},Te),P(qp(fe,Vp)).props||{}):P?.props?Object.assign(Object.assign({},Te),P.props(qp(fe,Vp))):Te});return[Ee(I,()=>{var Te,nt,ct;return(ct=(Te=Ce().validateOnModelUpdate)!==null&&Te!==void 0?Te:(nt=bf())===null||nt===void 0?void 0:nt.validateOnModelUpdate)!==null&&ct!==void 0?ct:!0}),De]}function Ne(I){return Array.isArray(I)?I.map(P=>Ee(P,!0)):Ee(I)}function rt(I,P){const[Y,fe]=Re(I,P);function Ce(){fe.value.onBlur()}function H(Me){const De=ym(Me);le(_e(I),De,!1),fe.value.onInput()}function U(Me){const De=ym(Me);le(_e(I),De,!1),fe.value.onChange()}return N(()=>Object.assign(Object.assign({},fe.value),{onBlur:Ce,onInput:H,onChange:U,value:Y.value}))}function st(I,P){const[Y,fe]=Re(I,P),Ce=K(_e(I));function H(U){Y.value=U}return N(()=>{const U=zr(P)?P(qp(Ce,Vp)):P||{};return Object.assign({[U.model||"modelValue"]:Y.value,[`onUpdate:${U.model||"modelValue"}`]:H},fe.value)})}const ft=Object.assign(Object.assign({},F),{values:ci(u),handleReset:()=>$(),submitForm:ue});return Qn(zW,ft),ft}function D9(e,t,n,r){const o={touched:"some",pending:"some",valid:"every"},i=N(()=>!$r(t,S(n)));function s(){const l=e.value;return ao(o).reduce((u,c)=>{const f=o[c];return u[c]=l[f](p=>p[c]),u},{})}const a=on(s());return Pt(()=>{const l=s();a.touched=l.touched,a.valid=l.valid,a.pending=l.pending}),N(()=>Object.assign(Object.assign({initialValues:S(n)},a),{valid:a.valid&&!ao(r.value).length,dirty:i.value}))}function x9(e,t,n){const r=o$(n),o=ne(r),i=ne(nn(r));function s(a,l){l?.force?(o.value=nn(a),i.value=nn(a)):(o.value=$d(nn(o.value)||{},nn(a)),i.value=$d(nn(i.value)||{},nn(a))),l?.updateFields&&e.value.forEach(u=>{if(u.touched)return;const f=Kr(o.value,_e(u.path));is(t,_e(u.path),nn(f))})}return{initialValues:o,originalInitialValues:i,setInitialValues:s}}function T9(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}const RC=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function i$(e){return Number(e)>=0}function A9(e){return typeof e=="object"&&e!==null}
6function O9(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function IC(e){if(!A9(e)||O9(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s$(e,t){return Object.keys(t).forEach(n=>{if(IC(t[n])&&IC(e[n])){e[n]||(e[n]={}),s$(e[n],t[n]);return}e[n]=t[n]}),e}function P9(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(i$(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}function a$(e,t){return{__type:"VVTypedSchema",async parse(r){const o=await e.safeParseAsync(r,t);if(o.success)return{value:o.data,errors:[]};const i={};return l$(o.error.issues,i),{errors:Object.values(i)}},cast(r){try{return e.parse(r)}catch{const i=u$(e);return RC(i)&&RC(r)?s$(i,r):r}},describe(r){try{if(!r)return{required:!e.isOptional(),exists:!0};const o=R9(r,e);return o?{required:!o.isOptional(),exists:!0}:{required:!1,exists:!1}}catch{return{required:!1,exists:!1}}}}}function l$(e,t){e.forEach(n=>{const r=P9(n.path.join("."));n.code==="invalid_union"&&(l$(n.unionErrors.flatMap(o=>o.issues),t),!r)||(t[r]||(t[r]={errors:[],path:r}),t[r].errors.push(n.message))})}function u$(e){if(e instanceof pn)return Object.fromEntries(Object.entries(e.shape).map(([t,n])=>n instanceof Rd?[t,n._def.defaultValue()]:n instanceof pn?[t,u$(n)]:[t,void 0]))}function R9(e,t){if(!$C(t))return null;if(Kd(e))return t.shape[mv(e)];const n=(e||"").split(/\.|\[(\d+)\]/).filter(Boolean);let r=t;for(let o=0;o<=n.length;o++){const i=n[o];if(!i||!r)return r;if($C(r)){r=r.shape[i]||null;continue}i$(i)&&I9(r)&&(r=r._def.type)}return null}function c$(e){return e._def.typeName}function I9(e){return c$(e)===ht.ZodArray}function $C(e){return c$(e)===ht.ZodObject}const bt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},$9={class:"sd-form-control sd-form-control-button"},M9={__name:"FormsButton",props:{block:{type:Object,required:!0}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,o=i=>{console.log("[form:button] click",{label:n.block?.label,key:n.block?.settings?.key,nativeType:i?.currentTarget?.type,formId:i?.currentTarget?.form?.id??null,insideForm:!!i?.currentTarget?.form}),r("click",n.block)};return(i,s)=>(R(),ce("div",$9,[m("button",{type:"submit",onClick:o,class:"sd-button"},L(e.block.label),1)]))}},F9=bt(M9,[["__scopeId","data-v-edf01b25"]]);function _m(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(t,e))}function Up(e,t){let n=e;const r=t.toString(),o=r.indexOf("."),i=o>=0?r.length-o:0;if(i>0){const s=10**i;n=Math.round(n*s)/s}return n}function wde(e,t,n,r){t=Number(t),n=Number(n);const o=(e-(Number.isNaN(t)?0:t))%r;let i=Up(Math.abs(o)*2>=r?e+Math.sign(o)*(r-Math.abs(o)):e-o,r);return Number.isNaN(t)?!Number.isNaN(n)&&i>n&&(i=Math.floor(Up(n/r,r))*r):i<t?i=t:!Number.isNaN(n)&&i>n&&(i=t+Math.floor(Up((n-t)/r,r))*r),i=Up(i,r),i}function Kn(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[s=>{const a=Kt(r,s);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(Qn(r,s),s)]}function Jr(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function vv(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function dc(e){return e==null}function MC(e,t){return dc(e)?!1:Array.isArray(e)?e.some(n=>xl(n,t)):xl(e,t)}function uw(e){return e?e.flatMap(t=>t.type===Je?uw(t.children):[t]):[]}const L9=["INPUT","TEXTAREA"];function N9(e,t,n,r={}){if(!t||r.enableIgnoredElement&&L9.includes(t.nodeName))return null;const{arrowKeyOptions:o="both",attributeName:i="[data-reka-collection-item]",itemsArray:s=[],loop:a=!0,dir:l="ltr",preventScroll:u=!0,focus:c=!1}=r,[f,p,d,h,v,g]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],b=d||h,y=f||p;if(!v&&!g&&(!b&&!y||o==="vertical"&&y||o==="horizontal"&&b))return null;const w=n?Array.from(n.querySelectorAll(i)):s;if(!w.length)return null;u&&e.preventDefault();let _=null;return y||b?_=f$(w,t,{goForward:b?h:l==="ltr"?f:p,loop:a}
6):v?_=w.at(0)||null:g&&(_=w.at(-1)||null),c&&_?.focus(),_}function f$(e,t,n,r=e.includes(t)?e.length:e.length+1){if(--r===0)return null;const o=e.indexOf(t);let i;if(o===-1?i=n.goForward?0:e.length-1:i=n.goForward?o+1:o-1,!n.loop&&(i<0||i>=e.length))return null;const s=(i+e.length)%e.length,a=e[s];return a?a.hasAttribute("disabled")&&a.getAttribute("disabled")!=="false"?f$(e,a,n,r):a:null}const[cw]=Kn("ConfigProvider");function B9(e,t){var n;const r=yt();return Pt(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),ci(r)}function Cc(e,t){return zi()?(As(e,t),!0):!1}function j9(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return Cc(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function q9(e){let t=!1,n;const r=Ia(!0);return((...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n))}const Yi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const V9=e=>typeof e<"u",U9=Object.prototype.toString,H9=e=>U9.call(e)==="[object Object]",FC=W9();function W9(){var e,t,n;return Yi&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function Hg(e){return Array.isArray(e)?e:[e]}function z9(e){return kt()}function K9(e){if(!Yi)return e;let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...i)=>(t+=1,r||(r=Ia(!0),n=r.run(()=>e(...i))),Cc(o),n))}function G9(e){return on(lt(e)?new Proxy({},{get(t,n,r){return S(Reflect.get(e.value,n,r))},set(t,n,r){return lt(e.value[n])&&!lt(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function Y9(e){return G9(N(e))}function kde(e,...t){const n=t.flat(),r=n[0];return Y9(()=>Object.fromEntries(typeof r=="function"?Object.entries(Pn(e)).filter(([o,i])=>!r(_e(i),o)):Object.entries(Pn(e)).filter(o=>!n.includes(o[0]))))}function d$(e,t=1e4){return _c((n,r)=>{let o=_e(e),i;const s=()=>setTimeout(()=>{o=_e(e),r()},_e(t));return Cc(()=>{clearTimeout(i)}),{get(){return n(),o},set(a){o=a,r(),clearTimeout(i),i=s()}}})}function X9(e,t){z9()&&$a(e,t)}function p$(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=yt(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},_e(t))}return r&&(i.value=!0,Yi&&u()),Cc(l),{isPending:Za(i),start:u,stop:l}}function Q9(e,t,n){return Ie(e,t,{...n,immediate:!0})}const gv=Yi?window:void 0;function Hi(e){var t;const n=_e(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function pc(...e){const t=(r,o,i,s)=>(r.addEventListener(o,i,s),()=>r.removeEventListener(o,i,s)),n=N(()=>{const r=Hg(_e(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return Q9(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(i=>Hi(i)))!==null&&r!==void 0?r:[gv].filter(i=>i!=null),Hg(_e(n.value?e[1]:e[0])),Hg(S(n.value?e[2]:e[1])),_e(n.value?e[3]:e[2])]},([r,o,i,s],a,l)=>{if(!r?.length||!o?.length||!i?.length)return;const u=H9(s)?{...s}:s,c=r.flatMap(f=>o.flatMap(p=>i.map(d=>t(f,p,d,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function fw(){const e=yt(!1),t=kt();return t&&_t(()=>{e.value=!0},t),e}function Z9(e){const t=fw();return N(()=>(t.value,!!e()))}function J9(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function e7(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=gv,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=J9(t);return pc(o,i,c=>{c.repeat&&_e(a)||l(c)&&n(c)},s)}function t7(e){return JSON.parse(JSON.stringify(e))}function n7(e,t,n={}){const{window:r=gv,...o}=n;let i;const s=Z9(()=>r&&"ResizeObserver"in r),a=()=>
6{i&&(i.disconnect(),i=void 0)},l=Ie(N(()=>{const c=_e(e);return Array.isArray(c)?c.map(f=>Hi(f)):[Hi(c)]}),c=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const f of c)f&&i.observe(f,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return Cc(u),{isSupported:s,stop:u}}function Wi(e,t,n,r={}){var o,i;const{clone:s=!1,passive:a=!1,eventName:l,deep:u=!1,defaultValue:c,shouldEmit:f}=r,p=kt(),d=n||p?.emit||(p==null||(o=p.$emit)===null||o===void 0?void 0:o.bind(p))||(p==null||(i=p.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(p?.proxy));let h=l;t||(t="modelValue"),h=h||`update:${t.toString()}`;const v=y=>s?typeof s=="function"?s(y):t7(y):y,g=()=>V9(e[t])?v(e[t]):c,b=y=>{f?f(y)&&d(h,y):d(h,y)};if(a){const y=ne(g());let w=!1;return Ie(()=>e[t],_=>{w||(w=!0,y.value=v(_),it(()=>w=!1))}),Ie(y,_=>{!w&&(_!==e[t]||u)&&b(_)},{deep:u}),y}else return N({get(){return g()},set(y){b(y)}})}const r7=K9(()=>{const e=ne(new Map),t=ne(),n=N(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=cw({scrollBody:ne(!0)});let o=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",FC&&o?.(),t.value=void 0};return Ie(n,(s,a)=>{if(!Yi)return;if(!s){a&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},c=r.scrollBody?.value?typeof r.scrollBody.value=="object"?zm({padding:r.scrollBody.value.padding===!0?l:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?l:r.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),FC&&(o=pc(document,"touchmove",f=>i7(f),{passive:!1})),it(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function o7(e){const t=Math.random().toString(36).substring(2,7),n=r7();n.value.set(t,e??!1);const r=N({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return X9(()=>{n.value.delete(t)}),r}function h$(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:h$(n)}}function i7(e){const t=e||window.event,n=t.target;return n instanceof Element&&h$(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Gd(e){const t=cw({dir:ne("ltr")});return N(()=>e?.value||t.dir?.value||"ltr")}function s7(e){const t=kt(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(o=>{r[cl(Nn(o))]=(...i)=>e(o,...i)}),r}let Wg=0;function a7(){Pt(e=>{if(!Yi)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??LC()),document.body.insertAdjacentElement("beforeend",t[1]??LC()),Wg++,e(()=>{Wg===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),Wg--})})}function LC(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function Dc(e){return N(()=>_e(e)?!!Hi(e)?.closest("form"):!0)}function Mt(){const e=kt(),t=ne(),n=N(()=>r());Vd(()=>{n.value!==r()&&YF(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Hi(t)}const o=Object.assign({},e.exposed),i={};for(const a in e.props)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function s(a){if(t.value=a,!!a&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.prototype.hasOwnProperty.call(a,"$el"))){const l=a.$.exposed,u=Object.assign({},i);for(const c in l)Object.defineProperty(u,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=u}}return{forwardRef:s,currentRef:t,currentElement:n}}function yv(e){const t=kt(),n=Object.keys(t?.type.props??{}).reduce((o,i)=>{const s=(t?.type.props[i]).default;return s!==void 0&&(o[i]=s),o},{}),r=Rs(e);return N(()=>{const o={},i=t?.vnode.props??{};
6return Object.keys(i).forEach(s=>{o[Nn(s)]=i[s]}),Object.keys({...n,...o}).reduce((s,a)=>(r.value[a]!==void 0&&(s[a]=r.value[a]),s),{})})}function m$(e,t){const n=yv(e),r=t?s7(t):{};return N(()=>({...n.value,...r}))}function l7(e,t){const n=d$(!1,300);Cc(()=>{n.value=!1});const r=ne(null),o=j9();function i(){r.value=null,n.value=!1}function s(a,l){const u=a.currentTarget,c={x:a.clientX,y:a.clientY},f=u7(c,u.getBoundingClientRect()),p=c7(c,f,1),d=f7(l.getBoundingClientRect()),h=p7([...p,...d]);r.value=h,n.value=!0}return Pt(a=>{if(e.value&&t.value){const l=c=>s(c,t.value),u=c=>s(c,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",u),a(()=>{e.value?.removeEventListener("pointerleave",l),t.value?.removeEventListener("pointerleave",u)})}}),Pt(a=>{if(r.value){const l=u=>{if(!r.value||!(u.target instanceof Element))return;const c=u.target,f={x:u.clientX,y:u.clientY},p=e.value?.contains(c)||t.value?.contains(c),d=!d7(f,r.value),h=!!c.closest("[data-grace-area-trigger]");p?i():(d||h)&&(i(),o.trigger())};e.value?.ownerDocument.addEventListener("pointermove",l),a(()=>e.value?.ownerDocument.removeEventListener("pointermove",l))}}),{isPointerInTransit:n,onPointerExit:o.on}}function u7(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function c7(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function f7(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function d7(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,l=t[i].y,u=t[s].x,c=t[s].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function p7(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),h7(t)}function h7(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var m7=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},tu=new WeakMap,Hp=new WeakMap,Wp={},zg=0,v$=function(e){return e&&(e.host||v$(e.parentNode))},v7=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=v$(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},g7=function(e,t,n,r){var o=v7(t,Array.isArray(e)?e:[e]);Wp[n]||(Wp[n]=new WeakMap);var i=Wp[n],s=[],a=new Set,l=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(a.has(p))c(p);else try{var d=p.getAttribute(r),h=d!==null&&d!=="false",v=(tu.get(p)||0)+1,g=(i.get(p)||0)+1;tu.set(p,v),i.set(p,g),s.push(p),v===1&&h&&Hp.set(p,!0),g===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}catch(b){console.error("aria-hidden: cannot operate on ",p,b)}})};return c(t),a.clear(),zg++,function(){s.forEach(function(f){var p=tu.get(f)-1,d=i.get(f)-1;tu.set(f,p),i.set(f,d),p||(Hp.has(f)||f.removeAttribute(r),Hp.delete(f)),d||f.removeAttribute(n)}),zg--,zg||(tu=new WeakMap,tu=new WeakMap,Hp=new WeakMap,Wp={})}},y7=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=m7(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),g7(r,o,n,"aria-hidden")):function(){return null}};function _7(e){let t;Ie(()=>Hi(e),n=>{let r=!1;try{r=!!n?.closest("[popover]:not(:popover-open)")}catch{}n&&!r?t=y7(n):t&&t()}),Lr(()=>{t&&t()})}function Yd(e,t="reka"){let n;return n=x_?.(),t?`${t}-${n}`:n}function g$(e){const t=ne(),n=N(()=>t.value?.width??0),r=N(()=>t.value?.height??0);return _t(()=>{const o=Hi(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const i=new ResizeObserver(s=>
6{if(!Array.isArray(s)||!s.length)return;const a=s[0];let l,u;if("borderBoxSize"in a){const c=a.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,u=f.blockSize}else l=o.offsetWidth,u=o.offsetHeight;t.value={width:l,height:u}});return i.observe(o,{box:"border-box"}),()=>i.unobserve(o)}else t.value=void 0}),{width:n,height:r}}function b7(e,t){const n=ne(e);function r(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=r(i)}}}function y$(e){const t=d$("",1e3);return{search:t,handleTypeaheadSearch:(o,i)=>{t.value=t.value+o;{const s=Jr(),a=i.map(p=>({...p,textValue:p.value?.textValue??p.ref.textContent?.trim()??""})),l=a.find(p=>p.ref===s),u=a.map(p=>p.textValue),c=k7(u,t.value,l?.textValue),f=a.find(p=>p.textValue===c);return f&&f.ref.focus(),f?.ref}},resetTypeahead:()=>{t.value=""}}}function w7(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function k7(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=w7(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const l=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function E7(e,t){const n=ne({}),r=ne("none"),o=ne(e),i=e.value?"mounted":"unmounted";let s;const a=t.value?.ownerDocument.defaultView??gv,{state:l,dispatch:u}=b7(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=g=>{if(Yi){const b=new CustomEvent(g,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(b)}};Ie(e,async(g,b)=>{const y=b!==g;if(await it(),y){const w=r.value,_=zp(t.value);g?(u("MOUNT"),c("enter"),_==="none"&&c("after-enter")):_==="none"||_==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):b&&w!==_?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=g=>{const b=zp(t.value),y=b.includes(CSS.escape(g.animationName)),w=l.value==="mounted"?"enter":"leave";if(g.target===t.value&&y&&(c(`after-${w}`),u("ANIMATION_END"),!o.value)){const _=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=a?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=_)})}g.target===t.value&&b==="none"&&u("ANIMATION_END")},p=g=>{g.target===t.value&&(r.value=zp(t.value))},d=Ie(t,(g,b)=>{g?(n.value=getComputedStyle(g),g.addEventListener("animationstart",p),g.addEventListener("animationcancel",f),g.addEventListener("animationend",f)):(u("ANIMATION_END"),s!==void 0&&a?.clearTimeout(s),b?.removeEventListener("animationstart",p),b?.removeEventListener("animationcancel",f),b?.removeEventListener("animationend",f))},{immediate:!0}),h=Ie(l,()=>{const g=zp(t.value);r.value=l.value==="mounted"?g:"none"});return Lr(()=>{d(),h()}),{isPresent:N(()=>["mounted","unmountSuspended"].includes(l.value))}}function zp(e){return e&&getComputedStyle(e).animationName||"none"}var _v=ge({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:o}=Pn(e),i=ne(),{isPresent:s}=E7(r,i);n({present:s});let a=t.default({present:s.value});a=uw(a||[]);const l=kt();if(a&&a?.length>1){const u=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>`  - ${c}`).join(`
7`)].join(`
8`))}return()=>o.value||r.value||s.value?Bt(t.default({present:s.value})[0],{ref:u=>{const c=Hi(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?i.value=c.firstElementChild:i.value=c),c}}):null}});const h0=ge({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=uw(n.default()),o=r.findIndex(l=>l.type!==bn);if(o===-1)return r;const i=r[o];delete i.props?.ref;const s=i.props?at(t,i.props):t,a=Ho({...i,props:{}},s);return r.length===1?a:(r[o]=a,r)}}}),S7=["area","img","input"],Wt=ge({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&S7.includes(r)?()=>Bt(r,t):r!=="template"?()=>Bt(e.as,t,{default:n.default}):()=>Bt(h0,t,{default:n.default})}});function bm(){const e=ne(),t=N(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:Hi(e));return{primitiveElement:e,currentElement:t}}const C7="dismissableLayer.pointerDownOutside",D7="dismissableLayer.focusOutside";function _$(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r)<o.indexOf(n)))}function x7(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,o=ne(!1),i=ne(()=>{});return Pt(s=>{if(!Yi||!_e(n))return;const a=async u=>{const c=u.target;if(!(!t?.value||!c)){if(_$(t.value,c)){o.value=!1;return}
8if(u.target&&!o.value){let p=function(){vv(C7,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(r.removeEventListener("click",i.value),i.value=p,r.addEventListener("click",i.value,{once:!0})):p()}else r.removeEventListener("click",i.value);o.value=!1}},l=window.setTimeout(()=>{r.addEventListener("pointerdown",a)},0);s(()=>{window.clearTimeout(l),r.removeEventListener("pointerdown",a),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{_e(n)&&(o.value=!0)}}}function T7(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,o=ne(!1);return Pt(i=>{if(!Yi||!_e(n))return;const s=async a=>{if(!t?.value)return;await it(),await it();const l=a.target;!t.value||!l||_$(t.value,l)||a.target&&!o.value&&vv(D7,e,{originalEvent:a})};r.addEventListener("focusin",s),i(()=>r.removeEventListener("focusin",s))}),{onFocusCapture:()=>{_e(n)&&(o.value=!0)},onBlurCapture:()=>{_e(n)&&(o.value=!1)}}}const Ao=on({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var A7=ge({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Mt(),s=N(()=>i.value?.ownerDocument??globalThis.document),a=N(()=>Ao.layersRoot),l=N(()=>i.value?Array.from(a.value).indexOf(i.value):-1),u=N(()=>Ao.layersWithOutsidePointerEventsDisabled.size>0),c=N(()=>{const d=Array.from(a.value),[h]=[...Ao.layersWithOutsidePointerEventsDisabled].slice(-1),v=d.indexOf(h);return l.value>=v}),f=x7(async d=>{const h=[...Ao.branches].some(v=>v?.contains(d.target));!c.value||h||(r("pointerDownOutside",d),r("interactOutside",d),await it(),d.defaultPrevented||r("dismiss"))},i),p=T7(d=>{[...Ao.branches].some(v=>v?.contains(d.target))||(r("focusOutside",d),r("interactOutside",d),d.defaultPrevented||r("dismiss"))},i);return e7("Escape",d=>{l.value===a.value.size-1&&(r("escapeKeyDown",d),d.defaultPrevented||r("dismiss"))}),Pt(d=>{i.value&&(n.disableOutsidePointerEvents&&(Ao.layersWithOutsidePointerEventsDisabled.size===0&&(Ao.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),Ao.layersWithOutsidePointerEventsDisabled.add(i.value)),a.value.add(i.value),d(()=>{n.disableOutsidePointerEvents&&Ao.layersWithOutsidePointerEventsDisabled.size===1&&!dc(Ao.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=Ao.originalBodyPointerEvents)}))}),Pt(d=>{d(()=>{i.value&&(a.value.delete(i.value),Ao.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(d,h)=>(R(),ie(S(Wt),{ref:S(o),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:Xn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:S(p).onFocusCapture,onBlurCapture:S(p).onBlurCapture,onPointerdownCapture:S(f).onPointerDownCapture},{default:J(()=>[$e(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),b$=A7;const O7=q9(()=>ne([]));function P7(){const e=O7();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=NC(e.value,t),e.value.unshift(t)},remove(t){e.value=NC(e.value,t),e.value[0]?.resume()}}}function NC(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}const Kg="focusScope.autoFocusOnMount",Gg="focusScope.autoFocusOnUnmount",BC={bubbles:!1,cancelable:!0};function R7(e,{select:t=!1}={}){const n=Jr();for(const r of e)if(na(r,{select:t}),Jr()!==n)return!0}function I7(e){const t=w$(e),n=jC(t,e),r=jC(t.reverse(),e);return[n,r]}function w$(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function jC(e,t){for(const n of e)if(!$7(n,{upTo:t}))return n}function $7(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function M7(e){return e instanceof HTMLInputElement&&"select"in e}function na(e,{select:t=!1}={}){if(e&&e.focus){const n=Jr();e.focus({preventScroll:!0}),e!==n&&M7(e)&&t&&e.select()}}var F7=ge({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:i}=Mt(),s=ne(null),a=P7(),l=on({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Pt(c=>{if(!Yi)return;const f=i.value;if(!n.trapped)return;function p(g){if(l.paused||!f)return;const b=g.target;f.contains(b)?s.value=b:na(s.value,{select:!0})}function d(g){if(l.paused||!f)return;const b=g.relatedTarget;b!==null&&(f.contains(b)||na(s.value,{select:!0}))}function h(g){f.contains(s.value)||na(f)}document.addEventListener("focusin",p),document.addEventListener("focusout",d);const v=new MutationObserver(h);f&&v.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",d),v.disconnect()})}),Pt(async c=>{const f=i.value;if(await it(),!f)return;a.add(l);const p=Jr();if(!f.contains(p)){const h=new CustomEvent(Kg,BC);f.addEventListener(Kg,v=>r("mountAutoFocus",v)),f.dispatchEvent(h),h.defaultPrevented||(R7(w$(f),{select:!0}),Jr()===p&&na(f))}c(()=>{f.removeEventListener(Kg,g=>r("mountAutoFocus",g));const h=new CustomEvent(Gg,BC),v=g=>{r("unmountAutoFocus",g)};
8f.addEventListener(Gg,v),f.dispatchEvent(h),setTimeout(()=>{h.defaultPrevented||na(p??document.body,{select:!0}),f.removeEventListener(Gg,v),a.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,p=Jr();if(f&&p){const d=c.currentTarget,[h,v]=I7(d);h&&v?!c.shiftKey&&p===v?(c.preventDefault(),n.loop&&na(h,{select:!0})):c.shiftKey&&p===h&&(c.preventDefault(),n.loop&&na(v,{select:!0})):p===d&&c.preventDefault()}}return(c,f)=>(R(),ie(S(Wt),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:J(()=>[$e(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),L7=F7;const Ede="menu.itemSelect",qC=["Enter"," "],N7=["ArrowDown","PageUp","Home"],B7=["ArrowUp","PageDown","End"],Sde=[...N7,...B7],Cde={ltr:[...qC,"ArrowRight"],rtl:[...qC,"ArrowLeft"]},Dde={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function xde(e){return e?"open":"closed"}function VC(e){const t=Jr();for(const n of e)if(n===t||(n.focus(),Jr()!==t))return}function j7(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,l=t[i].y,u=t[s].x,c=t[s].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function Tde(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return j7(n,t)}function Ade(e){return e.pointerType==="mouse"}var q7=ge({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=fw();return(n,r)=>S(t)||n.forceMount?(R(),ie(jl,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[$e(n.$slots,"default")],8,["to","disabled","defer"])):we("v-if",!0)}}),k$=q7;const UC="data-reka-collection-item";function Xi(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let o;n?(o={collectionRef:ne(),itemMap:ne(new Map)},Qn(r,o)):o=Kt(r);const i=(c=!1)=>{const f=o.collectionRef.value;if(!f)return[];const p=Array.from(f.querySelectorAll(`[${UC}]`)),h=Array.from(o.itemMap.value.values()).sort((v,g)=>p.indexOf(v.ref)-p.indexOf(g.ref));return c?h:h.filter(v=>v.ref.dataset.disabled!=="")},s=ge({name:"CollectionSlot",inheritAttrs:!1,setup(c,{slots:f,attrs:p}){const{primitiveElement:d,currentElement:h}=bm();return Ie(h,()=>{o.collectionRef.value=h.value}),()=>Bt(h0,{ref:d,...p},f)}}),a=ge({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:p}){const{primitiveElement:d,currentElement:h}=bm();return Pt(v=>{if(h.value){const g=Bm(h.value);o.itemMap.value.set(g,{ref:h.value,value:c.value}),v(()=>o.itemMap.value.delete(g))}}),()=>Bt(h0,{...p,[UC]:"",ref:d},f)}}),l=N(()=>
8Array.from(o.itemMap.value.values())),u=N(()=>o.itemMap.value.size);return{getItems:i,reactiveItems:l,itemMapSize:u,CollectionSlot:s,CollectionItem:a}}var V7=ge({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(R(),ie(S(Wt),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:J(()=>[$e(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),dw=V7,U7=ge({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:n,currentElement:r}=bm(),o=N(()=>t.checked??t.value);return Ie(o,(i,s)=>{if(!r.value)return;const a=r.value,l=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(c&&i!==s){const f=new Event("input",{bubbles:!0}),p=new Event("change",{bubbles:!0});c.call(a,i),a.dispatchEvent(f),a.dispatchEvent(p)}}),(i,s)=>(R(),ie(dw,at({ref_key:"primitiveElement",ref:n},{...t,...i.$attrs},{as:"input"}),null,16))}}),HC=U7,H7=ge({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,n=N(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),r=N(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((o,i)=>typeof o=="object"?Object.entries(o).map(([s,a])=>({name:`${t.name}[${i}][${s}]`,value:a})):{name:`${t.name}[${i}]`,value:o}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([o,i])=>({name:`${t.name}[${o}]`,value:i})):[]);return(o,i)=>(R(),ce(Je,null,[we(" We render single input if it's required "),n.value?(R(),ie(HC,at({key:o.name},{...t,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(R(!0),ce(Je,{key:1},mn(r.value,s=>(R(),ie(HC,at({key:s.name},{ref_for:!0},{...t,...o.$attrs},{name:s.name,value:s.value}),null,16,["name","value"]))),128))],2112))}}),xc=H7;const W7="rovingFocusGroup.onEntryFocus",z7={bubbles:!1,cancelable:!0},K7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function G7(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Y7(e,t,n){const r=G7(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return K7[r]}function E$(e,t=!1){const n=Jr();for(const r of e)if(r===n||(r.focus({preventScroll:t}),Jr()!==n))return}function X7(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const[S$,Q7]=Kn("PopperRoot");var Z7=ge({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=ne();return Q7({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>$e(n.$slots,"default")}}),C$=Z7,J7=ge({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Mt(),o=S$();return V0(()=>{o.onAnchorChange(t.reference??r.value)}),(i,s)=>(R(),ie(S(Wt),{ref:S(n),as:i.as,"as-child":i.asChild},{default:J(()=>[$e(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),D$=J7;const ez={key:0,d:"M0 0L6 6L12 0"},tz={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var nz=ge({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Mt(),(n,r)=>(R(),ie(S(Wt),at(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:J(()=>[$e(n.$slots,"default",{},()=>
8[n.rounded?(R(),ce("path",tz)):(R(),ce("path",ez))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),rz=nz;function oz(e){return e!==null}function iz(e){return{name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=m0(n),f={start:"0%",center:"50%",end:"100%"}[c],p=(o.arrow?.x??0)+a/2,d=(o.arrow?.y??0)+l/2;let h="",v="";return u==="bottom"?(h=s?f:`${p}px`,v=`${-l}px`):u==="top"?(h=s?f:`${p}px`,v=`${r.floating.height+l}px`):u==="right"?(h=`${-l}px`,v=s?f:`${d}px`):u==="left"&&(h=`${r.floating.width+l}px`,v=s?f:`${d}px`),{data:{x:h,y:v}}}}}function m0(e){const[t,n="center"]=e.split("-");return[t,n]}const sz=["top","right","bottom","left"],Pa=Math.min,po=Math.max,wm=Math.round,Kp=Math.floor,ji=e=>({x:e,y:e}),az={left:"right",right:"left",bottom:"top",top:"bottom"};function v0(e,t,n){return po(e,Pa(t,n))}function Ns(e,t){return typeof e=="function"?e(t):e}function Bs(e){return e.split("-")[0]}function Tc(e){return e.split("-")[1]}function pw(e){return e==="x"?"y":"x"}function hw(e){return e==="y"?"height":"width"}function Li(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function mw(e){return pw(Li(e))}function lz(e,t,n){n===void 0&&(n=!1);const r=Tc(e),o=mw(e),i=hw(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=km(s)),[s,km(s)]}function uz(e){const t=km(e);return[g0(e),t,g0(t)]}function g0(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const WC=["left","right"],zC=["right","left"],cz=["top","bottom"],fz=["bottom","top"];function dz(e,t,n){switch(e){case"top":case"bottom":return n?t?zC:WC:t?WC:zC;case"left":case"right":return t?cz:fz;default:return[]}}function pz(e,t,n,r){const o=Tc(e);let i=dz(Bs(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(g0)))),i}function km(e){const t=Bs(e);return az[t]+e.slice(t.length)}function hz(e){return{top:0,right:0,bottom:0,left:0,...e}}function x$(e){return typeof e!="number"?hz(e):{top:e,right:e,bottom:e,left:e}}function Em(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function KC(e,t,n){let{reference:r,floating:o}=e;const i=Li(t),s=mw(t),a=hw(s),l=Bs(t),u=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let d;switch(l){case"top":d={x:c,y:r.y-o.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Tc(t)){case"start":d[s]-=p*(n&&u?-1:1);break;case"end":d[s]+=p*(n&&u?-1:1);break}return d}async function mz(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=Ns(t,e),h=x$(d),g=a[p?f==="floating"?"reference":"floating":f],b=Em(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),y=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),_=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=Em(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:l}):y);return{top:(b.top-k.top+h.top)/_.y,bottom:(k.bottom-b.bottom+h.bottom)/_.y,left:(b.left-k.left+h.left)/_.x,right:(k.right-b.right+h.right)/_.x}}const vz=50,gz=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:mz},l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=KC(u,r,l),p=r,d=0;const h={};for(let v=0;v<i.length;v++){const g=i[v];if(!g)continue;const{name:b,fn:y}=g,{x:w,y:_,data:k,reset:C}=await y({x:c,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=w??c,f=_??f,h[b]={...h[b],...k}
vendor: 7,538 bytes, line 8
8,C&&d<vz&&(d++,typeof C=="object"&&(C.placement&&(p=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:f}=KC(u,p,l)),v=-1)}return{x:c,y:f,placement:p,strategy:o,middlewareData:h}},yz=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Ns(e,t)||{};if(u==null)return{};const f=x$(c),p={x:n,y:r},d=mw(o),h=hw(d),v=await s.getDimensions(u),g=d==="y",b=g?"top":"left",y=g?"bottom":"right",w=g?"clientHeight":"clientWidth",_=i.reference[h]+i.reference[d]-p[d]-i.floating[h],k=p[d]-i.reference[d],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let E=C?C[w]:0;(!E||!await(s.isElement==null?void 0:s.isElement(C)))&&(E=a.floating[w]||i.floating[h]);const D=_/2-k/2,T=E/2-v[h]/2-1,x=Pa(f[b],T),O=Pa(f[y],T),A=x,V=E-v[h]-O,re=E/2-v[h]/2+D,pe=v0(A,re,V),G=!l.arrow&&Tc(o)!=null&&re!==pe&&i.reference[h]/2-(re<A?x:O)-v[h]/2<0,K=G?re<A?re-A:re-V:0;return{[d]:p[d]+K,data:{[d]:pe,centerOffset:re-pe-K,...G&&{alignmentOffset:K}},reset:G}}}),_z=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...g}=Ns(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=Bs(o),y=Li(a),w=Bs(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=p||(w||!v?[km(a)]:uz(a)),C=h!=="none";!p&&C&&k.push(...pz(a,v,h,_));const E=[a,...k],D=await l.detectOverflow(t,g),T=[];let x=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&T.push(D[b]),f){const re=lz(o,s,_);T.push(D[re[0]],D[re[1]])}if(x=[...x,{placement:o,overflows:T}],!T.every(re=>re<=0)){var O,A;const re=(((O=i.flip)==null?void 0:O.index)||0)+1,pe=E[re];if(pe&&(!(f==="alignment"?y!==Li(pe):!1)||x.every(z=>Li(z.placement)===y?z.overflows[0]>0:!0)))return{data:{index:re,overflows:x},reset:{placement:pe}};let G=(A=x.filter(K=>K.overflows[0]<=0).sort((K,z)=>K.overflows[1]-z.overflows[1])[0])==null?void 0:A.placement;if(!G)switch(d){case"bestFit":{var V;const K=(V=x.filter(z=>{if(C){const be=Li(z.placement);return be===y||be==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(be=>be>0).reduce((be,X)=>be+X,0)]).sort((z,be)=>z[1]-be[1])[0])==null?void 0:V[0];K&&(G=K);break}case"initialPlacement":G=a;break}if(o!==G)return{reset:{placement:G}}}return{}}}};function GC(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function YC(e){return sz.some(t=>e[t]>=0)}const bz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=Ns(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...i,elementContext:"reference"}),a=GC(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:YC(a)}}}case"escaped":{const s=await r.detectOverflow(t,{...i,altBoundary:!0}),a=GC(s,n.floating);return{data:{escapedOffsets:a,escaped:YC(a)}}}default:return{}}}}},T$=new Set(["left","top"]);async function wz(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Bs(n),a=Tc(n),l=Li(n)==="y",u=T$.has(s)?-1:1,c=i&&l?-1:1,f=Ns(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(d=a==="end"?h*-1:h),l?{x:d*c,y:p*u}:{x:p*u,y:d*c}}const kz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await wz(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Ez=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:y,y:w}=b;return{x:y,y:w}}},...u}=Ns(e,t),c={x:n,y:r},f=await i.detectOverflow(t,u),p=Li(Bs(o)),d=pw(p);let h=c[d],v=c[p];if(s){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",w=h+f[b],_=h-f[y];h=v0(w,h,_)}if(a){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",w=v+f[b],_=v-f[y];v=v0(w,v,_)}const g=l.fn({...t,[d]:h,[p]:v});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[p]:a}}}}}},Sz=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Ns(e,t),c={x:n,y:r},f=Li(o),p=pw(f);let d=c[p],h=c[f];const v=Ns(a,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",_=i.reference[p]-i.floating[w]+g.mainAxis,k=i.reference[p]+i.reference[w]-g.mainAxis;d<_?d=_:d>k&&(d=k)}if(u){var b,y;const w=p==="y"?"width":"height",_=T$.has(Bs(o)),k=i.reference[f]-i.floating[w]+(_&&((b=s.offset)==null?void 0:b[f])||0)+(_?0:g.crossAxis),C=i.reference[f]+i.reference[w]+(_?0:((y=s.offset)==null?void 0:y[f])||0)-(_?g.crossAxis:0);h<k?h=k:h>C&&(h=C)}return{[p]:d,[f]:h}}}},Cz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=Ns(e,t),c=await s.detectOverflow(t,u),f=Bs(o),p=Tc(o),d=Li(o)==="y",{width:h,height:v}=i.floating;let g,b;f==="top"||f==="bottom"?(g=f,b=p===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(b=f,g=p==="end"?"top":"bottom");const y=v-c.top-c.bottom,w=h-c.left-c.right,_=Pa(v-c[g],y),k=Pa(h-c[b],w),C=!t.middlewareData.shift;let E=_,D=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=y),C&&!p){const x=po(c.left,0),O=po(c.right,0),A=po(c.top,0),V=po(c.bottom,0);d?D=h-2*(x!==0||O!==0?x+O:po(c.left,c.right)):E=v-2*(A!==0||V!==0?A+V:po(c.top,c.bottom))}await l({...t,availableWidth:D,availableHeight:E});const T=await s.getDimensions(a.floating);return h!==T.width||v!==T.height?{reset:{rects:!0}}:{}}}};function bv(){return typeof window<"u"}function Wl(e){return vw(e)?(e.nodeName||"").toLowerCase():"#document"}function wo(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qi(e){var t;return(t=(vw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function vw(e){return bv()?e instanceof Node||e instanceof wo(e).Node:!1}function mi(e){return bv()?e instanceof Element||e instanceof wo(e).Element:!1}function Us(e){return bv()?e instanceof HTMLElement||e instanceof wo(e).HTMLElement:!1}function XC(e){return!bv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wo(e).ShadowRoot}function Xd(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=vi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function Dz(e){return/^(table|td|th)$/.test(Wl(e))}function wv(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const xz=/transform|translate|scale|rotate|perspective|filter/,Tz=/paint|layout|strict|content/,Qa=e=>!!e&&e!=="none";let Yg;function gw(e){const t=mi(e)?vi(e):e;return Qa(t.transform)||Qa(t.translate)||Qa(t.scale)||Qa(t.rotate)||Qa(t.perspective)||!yw()&&(Qa(t.backdropFilter)||Qa(t.filter))||xz.test(t.willChange||"")||Tz.test(t.contain||"")}function Az(e){let t=Ra(e);for(;
8Us(t)&&!hc(t);){if(gw(t))return t;if(wv(t))return null;t=Ra(t)}return null}function yw(){return Yg==null&&(Yg=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Yg}function hc(e){return/^(html|body|#document)$/.test(Wl(e))}function vi(e){return wo(e).getComputedStyle(e)}function kv(e){return mi(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ra(e){if(Wl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||XC(e)&&e.host||Qi(e);return XC(t)?t.host:t}function A$(e){const t=Ra(e);return hc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Us(t)&&Xd(t)?t:A$(t)}function Md(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=A$(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=wo(o);if(i){const a=y0(s);return t.concat(s,s.visualViewport||[],Xd(o)?o:[],a&&n?Md(a):[])}else return t.concat(o,Md(o,[],n))}function y0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function O$(e){const t=vi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Us(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=wm(n)!==i||wm(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function _w(e){return mi(e)?e:e.contextElement}function ju(e){const t=_w(e);if(!Us(t))return ji(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=O$(t);let s=(i?wm(n.width):n.width)/r,a=(i?wm(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Oz=ji(0);function P$(e){const t=wo(e);return!yw()||!t.visualViewport?Oz:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pz(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wo(e)?!1:t}function Nl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=_w(e);let s=ji(1);t&&(r?mi(r)&&(s=ju(r)):s=ju(e));const a=Pz(i,n,r)?P$(i):ji(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(i){const p=wo(i),d=r&&mi(r)?wo(r):r;let h=p,v=y0(h);for(;v&&r&&d!==h;){const g=ju(v),b=v.getBoundingClientRect(),y=vi(v),w=b.left+(v.clientLeft+parseFloat(y.paddingLeft))*g.x,_=b.top+(v.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,u*=g.y,c*=g.x,f*=g.y,l+=w,u+=_,h=wo(v),v=y0(h)}}return Em({width:c,height:f,x:l,y:u})}function Ev(e,t){const n=kv(e).scrollLeft;return t?t.left+n:Nl(Qi(e)).left+n}function R$(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ev(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Rz(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Qi(r),a=t?wv(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ji(1);const c=ji(0),f=Us(r);if((f||!f&&!i)&&((Wl(r)!=="body"||Xd(s))&&(l=kv(r)),f)){const d=Nl(r);u=ju(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const p=s&&!f&&!i?R$(s,l):ji(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function Iz(e){return Array.from(e.getClientRects())}function $z(e){const t=Qi(e),n=kv(e),r=e.ownerDocument.body,o=po(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=po(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ev(e);const a=-n.scrollTop;return vi(r).direction==="rtl"&&(s+=po(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}const QC=25;function Mz(e,t){const n=wo(e),r=Qi(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const c=yw();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const u=Ev(r);if(u<=0){const c=r.ownerDocument,f=c.body,p=getComputedStyle(f),d=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-d);h<=QC&&(i-=h)}else u<=QC&&(i+=u);return{width:i,height:s,x:a,y:l}}function Fz(e,t){const n=Nl(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Us(e)?ju(e):ji(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function ZC(e,t,n){let r;if(t==="viewport")r=Mz(e,n);else if(t==="document")r=$z(Qi(e));else if(mi(t))r=Fz(t,n);else{const o=P$(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Em(r)}function I$(e,t){const n=Ra(e);return n===t||!mi(n)||hc(n)?!1:vi(n).position==="fixed"||I$(n,t)}function Lz(e,t){const n=t.get(e);if(n)return n;let r=Md(e,[],!1).filter(a=>mi(a)&&Wl(a)!=="body"),o=null;const i=vi(e).position==="fixed";let s=i?Ra(e):e;for(;mi(s)&&!hc(s);){const a=vi(s),l=gw(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Xd(s)&&!l&&I$(e,s))?r=r.filter(c=>c!==s):o=a,s=Ra(s)}return t.set(e,r),r}function Nz(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?wv(t)?[]:Lz(t,this._c):[].concat(n),r],a=ZC(t,s[0],o);let l=a.top,u=a.right,c=a.bottom,f=a.left;for(let p=1;p<s.length;p++){const d=ZC(t,s[p],o);l=po(d.top,l),u=Pa(d.right,u),c=Pa(d.bottom,c),f=po(d.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function Bz(e){const{width:t,height:n}=O$(e);return{width:t,height:n}}function jz(e,t,n){const r=Us(t),o=Qi(t),i=n==="fixed",s=Nl(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=ji(0);function u(){l.x=Ev(o)}if(r||!r&&!i)if((Wl(t)!=="body"||Xd(o))&&(a=kv(t)),r){const d=Nl(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?R$(o,a):ji(0),f=s.left+a.scrollLeft-l.x-c.x,p=s.top+a.scrollTop-l.y-c.y;return{x:f,y:p,width:s.width,height:s.height}}function Xg(e){return vi(e).position==="static"}function JC(e,t){if(!Us(e)||vi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qi(e)===n&&(n=n.ownerDocument.body),n}function $$(e,t){const n=wo(e);if(wv(e))return n;if(!Us(e)){let o=Ra(e);for(;o&&!hc(o);
8){if(mi(o)&&!Xg(o))return o;o=Ra(o)}return n}let r=JC(e,t);for(;r&&Dz(r)&&Xg(r);)r=JC(r,t);return r&&hc(r)&&Xg(r)&&!gw(r)?n:r||Az(e)||n}const qz=async function(e){const t=this.getOffsetParent||$$,n=this.getDimensions,r=await n(e.floating);return{reference:jz(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vz(e){return vi(e).direction==="rtl"}const Uz={convertOffsetParentRelativeRectToViewportRelativeRect:Rz,getDocumentElement:Qi,getClippingRect:Nz,getOffsetParent:$$,getElementRects:qz,getClientRects:Iz,getDimensions:Bz,getScale:ju,isElement:mi,isRTL:Vz};function M$(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Hz(e,t){let n=null,r;const o=Qi(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:d}=u;if(a||t(),!p||!d)return;const h=Kp(f),v=Kp(o.clientWidth-(c+p)),g=Kp(o.clientHeight-(f+d)),b=Kp(c),w={rootMargin:-h+"px "+-v+"px "+-g+"px "+-b+"px",threshold:po(0,Pa(1,l))||1};let _=!0;function k(C){const E=C[0].intersectionRatio;if(E!==l){if(!_)return s();E?s(!1,E):r=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!M$(u,e.getBoundingClientRect())&&s(),_=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return s(!0),i}function F$(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=_w(e),c=o||i?[...u?Md(u):[],...t?Md(t):[]]:[];c.forEach(b=>{o&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const f=u&&a?Hz(u,n):null;let p=-1,d=null;s&&(d=new ResizeObserver(b=>{let[y]=b;y&&y.target===u&&d&&t&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),u&&!l&&d.observe(u),t&&d.observe(t));let h,v=l?Nl(e):null;l&&g();function g(){const b=Nl(e);v&&!M$(v,b)&&n(),v=b,h=requestAnimationFrame(g)}return n(),()=>{var b;c.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),f?.(),(b=d)==null||b.disconnect(),d=null,l&&cancelAnimationFrame(h)}}const L$=kz,N$=Ez,Sm=_z,B$=Cz,j$=bz,Wz=yz,q$=Sz,zz=(e,t,n)=>{const r=new Map,o={platform:Uz,...n},i={...o.platform,_c:r};return gz(e,t,{...o,platform:i})};function Kz(e){return e!=null&&typeof e=="object"&&"$el"in e}function _0(e){if(Kz(e)){const t=e.$el;return vw(t)&&Wl(t)==="#comment"?null:t}return e}function fu(e){return typeof e=="function"?e():S(e)}function V$(e){return{name:"arrow",options:e,fn(t){const n=_0(fu(e.element));return n==null?{}:Wz({element:n,padding:e.padding}).fn(t)}}}function U$(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eD(e,t){const n=U$(e);return Math.round(t*n)/n}function H$(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,o=N(()=>{var E;return(E=fu(n.open))!=null?E:!0}),i=N(()=>fu(n.middleware)),s=N(()=>{var E;return(E=fu(n.placement))!=null?E:"bottom"}),a=N(()=>{var E;return(E=fu(n.strategy))!=null?E:"absolute"}),l=N(()=>{var E;return(E=fu(n.transform))!=null?E:!0}),u=N(()=>_0(e.value)),c=N(()=>_0(t.value)),f=ne(0),p=ne(0),d=ne(a.value),h=ne(s.value),v=yt({}),g=ne(!1),b=N(()=>{const E={position:d.value,left:"0",top:"0"};if(!c.value)return E;const D=eD(c.value,f.value),T=eD(c.value,p.value);return l.value?{...E,transform:"translate("+D+"px, "+T+"px)",...U$(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:D+"px",top:T+"px"}});let y;function w(){if(u.value==null||c.value==null)return;const E=o.value;zz(u.value,c.value,{middleware:i.value,placement:s.value,strategy:a.value}).then(D=>{f.value=D.x,p.value=D.y,d.value=D.strategy,h.value=D.placement,v.value=D.middlewareData,g.value=E!==!1})}function _(){typeof y=="function"&&(y(),y=void 0)}function k(){if(_(),r===void 0){w();return}if(u.value!=null&&c.value!=null){y=r(u.value,c.value,w);return}}function C(){o.value||(g.value=!1)}return Ie([i,s,a,o],w,{flush:"sync"}),Ie([u,c],k,{flush:"sync"}),Ie(o,C,{flush:"sync"}),zi()&&As(_),{x:Za(f),y:Za(p),strategy:Za(d),placement:Za(h),middlewareData:Za(v),isPositioned:Za(g),floatingStyles:b,update:w}}
8const Gz={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Yz,Xz]=Kn("PopperContent");var Qz=ge({inheritAttrs:!1,__name:"PopperContent",props:JT({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Gz}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=S$(),{forwardRef:i,currentElement:s}=Mt(),a=ne(),l=ne(),{width:u,height:c}=g$(l),f=N(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=N(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=N(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=N(()=>({padding:p.value,boundary:d.value.filter(oz),altBoundary:d.value.length>0})),v=N(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=B9(()=>[L$({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Sm({...h.value,...v.value}),n.avoidCollisions&&N$({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?q$():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Sm({...h.value,...v.value}),B$({...h.value,apply:({elements:A,rects:V,availableWidth:re,availableHeight:pe})=>{const{width:G,height:K}=V.reference,z=A.floating.style;z.setProperty("--reka-popper-available-width",`${re}px`),z.setProperty("--reka-popper-available-height",`${pe}px`),z.setProperty("--reka-popper-anchor-width",`${G}px`),z.setProperty("--reka-popper-anchor-height",`${K}px`)}}),l.value&&V$({element:l.value,padding:n.arrowPadding}),iz({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&j$({strategy:"referenceHidden",...h.value})]),b=N(()=>n.reference??o.anchor.value),{floatingStyles:y,placement:w,isPositioned:_,middlewareData:k}=H$(b,a,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...A)=>F$(...A,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),C=N(()=>m0(w.value)[0]),E=N(()=>m0(w.value)[1]);V0(()=>{_.value&&r("placed")});const D=N(()=>{const A=k.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&A}),T=ne("");Pt(()=>{s.value&&(T.value=window.getComputedStyle(s.value).zIndex)});const x=N(()=>k.value.arrow?.x??0),O=N(()=>k.value.arrow?.y??0);return Xz({placedSide:C,onArrowChange:A=>l.value=A,arrowX:x,arrowY:O,shouldHideArrow:D}),(A,V)=>
8(R(),ce("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:Xn({...S(y),transform:S(_)?S(y).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:T.value,"--reka-popper-transform-origin":[S(k).transformOrigin?.x,S(k).transformOrigin?.y].join(" "),...S(k).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[W(S(Wt),at({ref:S(i)},A.$attrs,{"as-child":n.asChild,as:A.as,"data-side":C.value,"data-align":E.value,style:{animation:S(_)?void 0:"none"}}),{default:J(()=>[$e(A.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),W$=Qz;const Zz={top:"bottom",right:"left",bottom:"top",left:"right"};var Jz=ge({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=Mt(),n=Yz(),r=N(()=>Zz[n.placedSide.value]);return(o,i)=>(R(),ce("span",{ref:s=>{S(n).onArrowChange(s)},style:Xn({position:"absolute",left:S(n).arrowX?.value?`${S(n).arrowX?.value}px`:void 0,top:S(n).arrowY?.value?`${S(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[S(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[S(n).placedSide.value],visibility:S(n).shouldHideArrow.value?"hidden":void 0})},[W(rz,at(o.$attrs,{ref:S(t),style:{display:"block"},as:o.as,"as-child":o.asChild,rounded:o.rounded,width:o.width,height:o.height}),{default:J(()=>[$e(o.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),eK=Jz;function tK(e){const t=cw({nonce:ne()});return N(()=>e?.value||t.nonce?.value)}const[nK,rK]=Kn("RovingFocusGroup");var oK=ge({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const r=e,o=n,{loop:i,orientation:s,dir:a}=Pn(r),l=Gd(a),u=Wi(r,"currentTabStopId",o,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),c=ne(!1),f=ne(!1),p=ne(0),{getItems:d,CollectionSlot:h}=Xi({isProvider:!0});function v(b){const y=!f.value;if(b.currentTarget&&b.target===b.currentTarget&&y&&!c.value){const w=new CustomEvent(W7,z7);if(b.currentTarget.dispatchEvent(w),o("entryFocus",w),!w.defaultPrevented){const _=d().map(T=>T.ref).filter(T=>T.dataset.disabled!==""),k=_.find(T=>T.getAttribute("data-active")===""),C=_.find(T=>T.getAttribute("data-highlighted")===""),E=_.find(T=>T.id===u.value),D=[k,C,E,..._].filter(Boolean);E$(D,r.preventScrollOnEntryFocus)}}f.value=!1}function g(){setTimeout(()=>{f.value=!1},1)}return t({getItems:d}),rK({loop:i,dir:l,orientation:s,currentTabStopId:u,onItemFocus:b=>{u.value=b},onItemShiftTab:()=>{c.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(b,y)=>(R(),ie(S(h),null,{default:J(()=>[W(S(Wt),{tabindex:c.value||p.value===0?-1:0,"data-orientation":S(s),as:b.as,"as-child":b.asChild,dir:S(l),style:{outline:"none"},onMousedown:y[0]||(y[0]=w=>f.value=!0),onMouseup:g,onFocus:v,onBlur:y[1]||(y[1]=w=>c.value=!1)},{default:J(()=>[$e(b.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),iK=oK,sK=ge({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=nK(),r=Yd(),o=N(()=>t.tabStopId||r),i=N(()=>n.currentTabStopId.value===o.value),{getItems:s,CollectionItem:a}=Xi();_t(()=>{t.focusable&&n.onFocusableItemAdd()}),Lr(()=>{t.focusable&&n.onFocusableItemRemove()});function l(u){if(u.key==="Tab"&&u.shiftKey){n.onItemShiftTab();return}if(u.target!==u.currentTarget)return;
8const c=Y7(u,n.orientation.value,n.dir.value);if(c!==void 0){if(u.metaKey||u.ctrlKey||u.altKey||!t.allowShiftKey&&u.shiftKey)return;u.preventDefault();let f=[...s().map(p=>p.ref).filter(p=>p.dataset.disabled!=="")];if(c==="last")f.reverse();else if(c==="prev"||c==="next"){c==="prev"&&f.reverse();const p=f.indexOf(u.currentTarget);f=n.loop.value?X7(f,p+1):f.slice(p+1)}it(()=>E$(f))}}return(u,c)=>(R(),ie(S(a),null,{default:J(()=>[W(S(Wt),{tabindex:i.value?0:-1,"data-orientation":S(n).orientation.value,"data-active":u.active?"":void 0,"data-disabled":u.focusable?void 0:"",as:u.as,"as-child":u.asChild,onMousedown:c[0]||(c[0]=f=>{u.focusable?S(n).onItemFocus(o.value):f.preventDefault()}),onFocus:c[1]||(c[1]=f=>S(n).onItemFocus(o.value)),onKeydown:l},{default:J(()=>[$e(u.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),z$=sK;const[aK]=Kn("CheckboxGroupRoot");function bw(e){return e==="indeterminate"}function K$(e){return bw(e)?"indeterminate":e?"checked":"unchecked"}const[lK,uK]=Kn("CheckboxRoot");var cK=ge({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:"on"},id:{type:String,required:!1},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Mt(),s=aK(null),a=Wi(n,"modelValue",r,{defaultValue:n.defaultValue??n.falseValue,passive:n.modelValue===void 0}),l=N(()=>s?.disabled.value||n.disabled),u=N(()=>xl(a.value,n.trueValue)),c=N(()=>dc(s?.modelValue.value)?a.value==="indeterminate"?"indeterminate":u.value:MC(s.modelValue.value,n.value));function f(){if(dc(s?.modelValue.value))a.value==="indeterminate"?a.value=n.trueValue:a.value=u.value?n.falseValue:n.trueValue;else{const h=[...s.modelValue.value||[]];if(MC(h,n.value)){const v=h.findIndex(g=>xl(g,n.value));h.splice(v,1)}else h.push(n.value);s.modelValue.value=h}}const p=Dc(i),d=N(()=>n.id&&i.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return uK({disabled:l,state:c}),(h,v)=>(R(),ie(er(S(s)?.rovingFocus.value?S(z$):S(Wt)),at(h.$attrs,{id:h.id,ref:S(o),role:"checkbox","as-child":h.asChild,as:h.as,type:h.as==="button"?"button":void 0,"aria-checked":S(bw)(c.value)?"mixed":c.value,"aria-required":h.required,"aria-label":h.$attrs["aria-label"]||d.value,"data-state":S(K$)(c.value),"data-disabled":l.value?"":void 0,disabled:l.value,focusable:S(s)?.rovingFocus.value?!l.value:void 0,onKeydown:Du(Rr(()=>{},["prevent"]),["enter"]),onClick:f}),{default:J(()=>[$e(h.$slots,"default",{modelValue:S(a),state:c.value}),S(p)&&h.name&&!S(s)?(R(),ie(S(xc),{key:0,type:"checkbox",checked:!!c.value,
8name:h.name,value:h.value,disabled:l.value,required:h.required},null,8,["checked","name","value","disabled","required"])):we("v-if",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"]))}}),G$=cK,fK=ge({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const{forwardRef:t}=Mt(),n=lK();return(r,o)=>(R(),ie(S(_v),{present:r.forceMount||S(bw)(S(n).state.value)||S(n).state.value===!0},{default:J(()=>[W(S(Wt),at({ref:S(t),"data-state":S(K$)(S(n).state.value),"data-disabled":S(n).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":r.asChild,as:r.as},r.$attrs),{default:J(()=>[$e(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),Y$=fK;function dK(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function X$(e,t,n){const i=100/(n-t)*(e-t);return _m(i,0,100)}function pK(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function hK(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function mK(e,t,n){const r=e/2,i=ww([0,50],[0,r]);return(r-i(t)*n)*n}function vK(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function gK(e,t){if(t>0){const n=vK(e);return Math.min(...n)>=t}return!0}function ww(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function yK(e){return(String(e).split(".")[1]||"").length}function _K(e,t){const n=10**t;return Math.round(e*n)/n}const Q$=["PageUp","PageDown"],Z$=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],J$={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageUp","ArrowUp","ArrowLeft"]},[eM,tM]=Kn(["SliderVertical","SliderHorizontal"]);var bK=ge({__name:"SliderHorizontal",props:{dir:{type:String,required:!1},min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(e,{emit:t}){const n=e,r=t,{max:o,min:i,dir:s,inverted:a}=Pn(n),{forwardRef:l,currentElement:u}=Mt(),c=Ac(),f=ne(),p=ne(),d=N(()=>s?.value!=="rtl"&&!a.value||s?.value!=="ltr"&&a.value);function h(y,w){const _=p.value||u.value.getBoundingClientRect(),k=[...c.thumbElements.value][c.valueIndexToChangeRef.value],C=c.thumbAlignment.value==="contain"?k.clientWidth:0;!f.value&&!w&&c.thumbAlignment.value==="contain"&&(f.value=y.clientX-k.getBoundingClientRect().left);const E=[0,_.width-C],D=d.value?[i.value,o.value]:[o.value,i.value],T=ww(E,D);p.value=_;const x=w?y.clientX-_.left-C/2:y.clientX-_.left-(f.value??0);return T(x)}const v=N(()=>d.value?"left":"right"),g=N(()=>d.value?"right":"left"),b=N(()=>d.value?1:-1);return tM({startEdge:v,endEdge:g,direction:b,size:"width"}),(y,w)=>(R(),ie(nM,{ref:S(l),dir:S(s),"data-orientation":"horizontal",style:Xn({"--reka-slider-thumb-transform":!d.value&&S(c).thumbAlignment.value==="overflow"?"translateX(50%)":"translateX(-50%)"}),onSlideStart:w[0]||(w[0]=_=>{const k=h(_,!0);r("slideStart",k)}),onSlideMove:w[1]||(w[1]=_=>{const k=h(_);r("slideMove",k)}),onSlideEnd:w[2]||(w[2]=()=>{p.value=void 0,f.value=void 0,r("slideEnd")}),onStepKeyDown:w[3]||(w[3]=_=>{const k=d.value?"from-left":"from-right",C=S(J$)[k].includes(_.key);r("stepKeyDown",_,C?-1:1)}),onEndKeyDown:w[4]||(w[4]=_=>r("endKeyDown",_)),onHomeKeyDown:w[5]||(w[5]=_=>r("homeKeyDown",_))},{default:J(()=>[$e(y.$slots,"default")]),_:3},8,["dir","style"]))}}),wK=bK,kK=ge({__name:"SliderVertical",props:{min:{type:Number,required:!0},max:{type:Number,required:!0},inverted:{type:Boolean,required:!0}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(e,{emit:t}){const n=e,r=t,{max:o,min:i,inverted:s}=Pn(n),a=Ac(),{forwardRef:l,currentElement:u}=Mt(),c=ne(),f=ne(),p=N(()=>!s.value);function d(b,y){const w=f.value||u.value.getBoundingClientRect(),_=[...a.thumbElements.value][a.valueIndexToChangeRef.value],k=a.thumbAlignment.value==="contain"?_.clientHeight:0;!c.value&&!y&&a.thumbAlignment.value==="contain"&&(c.value=b.clientY-_.getBoundingClientRect().top);const C=[0,w.height-k],E=p.value?[o.value,i.value]:[i.value,o.value],D=ww(C,E),T=y?b.clientY-w.top-k/2:b.clientY-w.top-(c.value??0);return f.value=w,D(T)}const h=N(()=>p.value?"bottom":"top"),v=N(()=>p.value?"top":"bottom"),g=N(()=>p.value?1:-1);return tM({startEdge:h,endEdge:v,direction:g,size:"height"}),(b,y)=>(R(),ie(nM,{ref:S(l),"data-orientation":"vertical",style:Xn({"--reka-slider-thumb-transform":!p.value&&S(a).thumbAlignment.value==="overflow"?"translateY(-50%)":"translateY(50%)"}),onSlideStart:y[0]||(y[0]=w=>{const _=d(w,!0);r("slideStart",_)}),onSlideMove:y[1]||(y[1]=w=>{const _=d(w);r("slideMove",_)}),onSlideEnd:y[2]||(y[2]=()=>{f.value=void 0,c.value=void 0,r("slideEnd")}),onStepKeyDown:y[3]||(y[3]=w=>{const _=p.value?"from-bottom":"from-top",k=S(J$)[_].includes(w.key);r("stepKeyDown",w,k?-1:1)}),onEndKeyDown:y[4]||(y[4]=w=>r("endKeyDown",w)),onHomeKeyDown:y[5]||(y[5]=w=>r("homeKeyDown",w))},{default:J(()=>[$e(b.$slots,"default")]),_:3},8,["style"]))}}),EK=kK;const[Ac,SK]=Kn("SliderRoot");var CK=ge({inheritAttrs:!1,__name:"SliderRoot",props:{defaultValue:{type:Array,required:!1,default:()=>[0]},modelValue:{type:[Array,null],required:!1},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},inverted:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},minStepsBetweenThumbs:{type:Number,required:!1,default:0},thumbAlignment:{type:String,required:!1,default:"contain"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","valueCommit"],setup(e,{emit:t}){const n=e,r=t,{min:o,max:i,step:s,minStepsBetweenThumbs:a,orientation:l,disabled:u,thumbAlignment:c,dir:f}=Pn(n),p=Gd(f),{forwardRef:d,currentElement:h}=Mt(),v=Dc(h),{CollectionSlot:g}=Xi({isProvider:!0}),b=Wi(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),y=N(()=>Array.isArray(b.value)?[...b.value]:[]),w=ne(0),_=ne(y.value);function k(x){const O=hK(y.value,x);D(x,O)}function C(x){D(x,w.value)}function E(){const x=_.value[w.value];y.value[w.value]!==x&&r("valueCommit",Ot(y.value))}function D(x,O,{commit:A}={commit:!1}){const V=yK(s.value),re=_K(Math.round((x-o.value)/s.value)*s.value+o.value,V),pe=_m(re,o.value,i.value),G=dK(y.value,pe,O);if(gK(G,a.value*s.value)){w.value=G.indexOf(pe);const K=String(G)!==String(b.value);K&&A&&r("valueCommit",G),K&&(T.value[w.value]?.focus(),b.value=G)}}const T=ne([]);return SK({modelValue:b,currentModelValue:y,valueIndexToChangeRef:w,thumbElements:T,orientation:l,min:o,max:i,disabled:u,thumbAlignment:c}),(x,O)=>(R(),ie(S(g),null,{default:J(()=>[(R(),ie(er(S(l)==="horizontal"?wK:EK),at(x.$attrs,{ref:S(d),"as-child":x.asChild,as:x.as,min:S(o),max:S(i),dir:S(p),inverted:x.inverted,"aria-disabled":S(u),"data-disabled":S(u)?"":void 0,onPointerdown:O[0]||(O[0]=()=>{S(u)||(_.value=y.value)}),onSlideStart:O[1]||(O[1]=A=>!S(u)&&k(A)),onSlideMove:O[2]||(O[2]=A=>!S(u)&&C(A)),onSlideEnd:O[3]||(O[3]=A=>!S(u)&&E()),onHomeKeyDown:O[4]||(O[4]=A=>
8!S(u)&&D(S(o),0,{commit:!0})),onEndKeyDown:O[5]||(O[5]=A=>!S(u)&&D(S(i),y.value.length-1,{commit:!0})),onStepKeyDown:O[6]||(O[6]=(A,V)=>{if(!S(u)){const G=S(Q$).includes(A.key)||A.shiftKey&&S(Z$).includes(A.key)?10:1,K=w.value,z=y.value[K],be=S(s)*G*V;D(z+be,K,{commit:!0})}})}),{default:J(()=>[$e(x.$slots,"default",{modelValue:S(b)}),S(v)&&x.name?(R(),ie(S(xc),{key:0,type:"number",value:S(b),name:x.name,required:x.required,disabled:S(u),step:S(s)},null,8,["value","name","required","disabled","step"])):we("v-if",!0)]),_:3},16,["as-child","as","min","max","dir","inverted","aria-disabled","data-disabled"]))]),_:3}))}}),DK=CK,xK=ge({__name:"SliderImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},emits:["slideStart","slideMove","slideEnd","homeKeyDown","endKeyDown","stepKeyDown"],setup(e,{emit:t}){const n=e,r=t,o=Ac();return(i,s)=>(R(),ie(S(Wt),at({"data-slider-impl":""},n,{onKeydown:s[0]||(s[0]=a=>{a.key==="Home"?(r("homeKeyDown",a),a.preventDefault()):a.key==="End"?(r("endKeyDown",a),a.preventDefault()):S(Q$).concat(S(Z$)).includes(a.key)&&(r("stepKeyDown",a),a.preventDefault())}),onPointerdown:s[1]||(s[1]=a=>{const l=a.target;l.setPointerCapture(a.pointerId),a.preventDefault(),S(o).thumbElements.value.includes(l)?l.focus():r("slideStart",a)}),onPointermove:s[2]||(s[2]=a=>{a.target.hasPointerCapture(a.pointerId)&&r("slideMove",a)}),onPointerup:s[3]||(s[3]=a=>{const l=a.target;l.hasPointerCapture(a.pointerId)&&(l.releasePointerCapture(a.pointerId),r("slideEnd",a))})}),{default:J(()=>[$e(i.$slots,"default")]),_:3},16))}}),nM=xK,TK=ge({__name:"SliderRange",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=Ac(),n=eM();Mt();const r=N(()=>t.currentModelValue.value.map(s=>X$(s,t.min.value,t.max.value))),o=N(()=>t.currentModelValue.value.length>1?Math.min(...r.value):0),i=N(()=>100-Math.max(...r.value,0));return(s,a)=>(R(),ie(S(Wt),{"data-disabled":S(t).disabled.value?"":void 0,"data-orientation":S(t).orientation.value,"as-child":s.asChild,as:s.as,style:Xn({[S(n).startEdge.value]:`${o.value}%`,[S(n).endEdge.value]:`${i.value}%`})},{default:J(()=>[$e(s.$slots,"default")]),_:3},8,["data-disabled","data-orientation","as-child","as","style"]))}}),AK=TK,OK=ge({inheritAttrs:!1,__name:"SliderThumbImpl",props:{index:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Ac(),r=eM(),{forwardRef:o,currentElement:i}=Mt(),{CollectionItem:s}=Xi(),a=N(()=>n.modelValue?.value?.[t.index]),l=N(()=>a.value===void 0?0:X$(a.value,n.min.value??0,n.max.value??100)),u=N(()=>pK(t.index,n.modelValue?.value?.length??0)),c=g$(i),f=N(()=>c[r.size].value),p=N(()=>n.thumbAlignment.value==="overflow"||!f.value?0:mK(f.value,l.value,r.direction.value)),d=fw();return _t(()=>{n.thumbElements.value.push(i.value)}),Lr(()=>{const h=n.thumbElements.value.findIndex(v=>v===i.value)??-1;n.thumbElements.value.splice(h,1)}),(h,v)=>(R(),ie(S(s),null,{default:J(()=>[W(S(Wt),at(h.$attrs,{ref:S(o),role:"slider",tabindex:S(n).disabled.value?void 0:0,"aria-label":h.$attrs["aria-label"]||u.value,"data-disabled":S(n).disabled.value?"":void 0,"data-orientation":S(n).orientation.value,"aria-valuenow":a.value,"aria-valuemin":S(n).min.value,"aria-valuemax":S(n).max.value,"aria-orientation":S(n).orientation.value,"as-child":h.asChild,as:h.as,style:{transform:"var(--reka-slider-thumb-transform)",position:"absolute",[S(r).startEdge.value]:`calc(${l.value}% + ${p.value}px)`,display:!S(d)&&a.value===void 0?"none":void 0},onFocus:v[0]||(v[0]=()=>{S(n).valueIndexToChangeRef.value=h.index})}),{default:J(()=>[$e(h.$slots,"default")]),_:3},16,["tabindex","aria-label","data-disabled","data-orientation","aria-valuenow","aria-valuemin","aria-valuemax","aria-orientation","as-child","as","style"])]),_:3}))}}),PK=OK,RK=ge({__name:"SliderThumb",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{getItems:n}=Xi(),{forwardRef:r,currentElement:o}=Mt(),i=N(()=>o.value?n(!0).findIndex(s=>s.ref===o.value):-1);return(s,a)=>(R(),ie(PK,at({ref:S(r)},t,{index:i.value}),{default:J(()=>[$e(s.$slots,"default")]),_:3},16,["index"]))}}),tD=RK,IK=ge({__name:"SliderTrack",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=Ac();return Mt(),(n,r)=>(R(),ie(S(Wt),{"as-child":n.asChild,as:n.as,"data-disabled":S(t).disabled.value?"":void 0,"data-orientation":S(t).orientation.value},{default:J(()=>[$e(n.$slots,"default")]),_:3},8,["as-child","as","data-disabled","data-orientation"]))}}),$K=IK,MK=ge({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return Mt(),(n,r)=>(R(),ie(S(Wt),at(t,{onMousedown:r[0]||(r[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),_r=MK;const[FK,LK]=Kn("PinInputRoot");var NK=ge({inheritAttrs:!1,__name:"PinInputRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},placeholder:{type:String,required:!1,default:""},mask:{type:Boolean,required:!1},otp:{type:Boolean,required:!1},type:{type:null,required:!1,default:"text"},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","complete"],setup(e,{emit:t}){const n=e,r=t,{mask:o,otp:i,placeholder:s,type:a,disabled:l,dir:u}=Pn(n),{forwardRef:c}=Mt(),f=Gd(u),p=Wi(n,"modelValue",r,{defaultValue:n.defaultValue??[],passive:!0,deep:!0}),d=N(()=>Array.isArray(p.value)?[...p.value]:[]),h=ne(new Set);function v(y){h.value.add(y)}const g=N(()=>n.type==="number"),b=N(()=>d.value.filter(w=>
8!!w||g.value&&w===0).length===h.value.size);return Ie(p,()=>{b.value&&r("complete",p.value)},{deep:!0}),LK({modelValue:p,currentModelValue:d,mask:o,otp:i,placeholder:s,type:a,dir:f,disabled:l,isCompleted:b,inputElements:h,onInputElementChange:v,isNumericMode:g}),(y,w)=>(R(),ie(S(Wt),at(y.$attrs,{ref:S(c),dir:S(f),"data-complete":b.value?"":void 0,"data-disabled":S(l)?"":void 0}),{default:J(()=>[$e(y.$slots,"default",{modelValue:S(p)}),W(xc,{id:y.id,as:"input",feature:"focusable",tabindex:"-1",value:d.value.join(""),name:y.name??"",disabled:S(l),required:y.required,onFocus:w[0]||(w[0]=_=>Array.from(h.value)?.[0]?.focus())},null,8,["id","value","name","disabled","required"])]),_:3},16,["dir","data-complete","data-disabled"]))}}),BK=NK,jK=ge({__name:"PinInputInput",props:{index:{type:Number,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},setup(e){const t=e,n=FK(),r=N(()=>Array.from(n.inputElements.value)),o=N(()=>n.currentModelValue.value[t.index]),i=N(()=>t.disabled||n.disabled.value),s=N(()=>n.otp.value),a=N(()=>n.mask.value),{primitiveElement:l,currentElement:u}=bm();function c(k){const C=k.target;if((k.data?.length??0)>1){y(C.value);return}if(n.isNumericMode.value&&!/^\d*$/.test(C.value)){C.value=C.value.replace(/\D/g,"");return}C.value=k.data||C.value.slice(-1),_(t.index,C.value);const E=r.value[t.index+1];E&&E.focus()}function f(){it(()=>{const k=u.value;k&&(!k.value&&k===Jr()?k.placeholder="":k.placeholder=n.placeholder.value)})}function p(k){N9(k,Jr(),void 0,{itemsArray:r.value,focus:!0,loop:!1,arrowKeyOptions:"horizontal",dir:n.dir.value})}function d(k){if(k.preventDefault(),k.target.value)_(t.index,"");else{const D=r.value[t.index-1];D&&(D.focus(),_(t.index-1,""))}}function h(k){k.key==="Delete"&&(k.preventDefault(),_(t.index,""))}function v(k){if(n.otp.value){const E=r.value.findIndex((D,T)=>n.currentModelValue.value[T]===""||n.currentModelValue.value[T]===void 0);if(E!==-1&&E<t.index){r.value[E].focus();return}}k.target.setSelectionRange(1,1),f()}function g(k){f()}function b(k){k.preventDefault();const C=k.clipboardData;if(!C)return;const E=C.getData("text");y(E)}function y(k){const C=[...n.currentModelValue.value],E=k.length>=r.value.length?0:t.index,D=Math.min(E+k.length,r.value.length);for(let T=E;T<D;T++){const x=r.value[T],O=k[T-E];n.isNumericMode.value&&!/^\d*$/.test(O)||(C[T]=O,x.focus())}n.modelValue.value=C,r.value[D]?.focus()}function w(k){let C=k.length-1;for(;C>=0&&k[C]==="";)k.pop(),C--;return k}function _(k,C){const E=[...n.currentModelValue.value];if(n.isNumericMode.value){const D=+C;C===""||isNaN(D)?delete E[k]:E[k]=D}else E[k]=C;n.modelValue.value=w(E)}return Ie(o,f),_t(()=>{n.onInputElementChange(u.value)}),Lr(()=>{n.inputElements?.value.delete(u.value)}),(k,C)=>(R(),ie(S(Wt),{ref_key:"primitiveElement",ref:l,autocapitalize:"none",as:k.as,"as-child":k.asChild,autocomplete:s.value?"one-time-code":"false",type:a.value?"password":"text",inputmode:S(n).isNumericMode.value?"numeric":"text",pattern:S(n).isNumericMode.value?"[0-9]*":void 0,placeholder:S(n).placeholder.value,value:o.value,disabled:i.value,"data-disabled":i.value?"":void 0,"data-complete":S(n).isCompleted.value?"":void 0,"aria-label":`pin input ${k.index+1} of ${r.value.length}`,onInput:C[0]||(C[0]=E=>c(E)),onKeydown:[Du(p,["left","right","up","down","home","end"]),Du(d,["backspace"]),Du(h,["delete"])],onFocus:v,onBlur:g,onPaste:b},{default:J(()=>[$e(k.$slots,"default")]),_:3},8,["as","as-child","autocomplete","type","inputmode","pattern","placeholder","value","disabled","data-disabled","data-complete","aria-label"]))}}),qK=jK;const VK="radio.select";function UK(e,t,n){vv(VK,n,{originalEvent:e,value:t})}var HK=ge({__name:"Radio",props:{id:{type:String,required:!1},value:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},checked:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:checked","select"],setup(e,{emit:t}){const n=e,r=t,o=Wi(n,"checked",r,{passive:n.checked===void 0}),{value:i}=Pn(n),{forwardRef:s,currentElement:a}=Mt(),l=Dc(a),u=N(()=>n.id&&a.value?document.querySelector(`[for="${n.id}"]`)?.innerText??n.value:void 0);function c(f){n.disabled||UK(f,n.value,p=>{r("select",p),!p?.defaultPrevented&&(o.value=!0,l.value&&p.stopPropagation())})}return(f,p)=>(R(),ie(S(Wt),at(f.$attrs,{id:f.id,ref:S(s),role:"radio",type:f.as==="button"?"button":void 0,as:f.as,"aria-checked":S(o),"aria-label":u.value,"as-child":f.asChild,disabled:f.disabled?"":void 0,"data-state":S(o)?"checked":"unchecked","data-disabled":f.disabled?"":void 0,value:S(i),required:f.required,name:f.name,onClick:Rr(c,["stop"])}),{default:J(()=>[$e(f.$slots,"default",{checked:S(o)}
8),S(l)&&f.name?(R(),ie(S(xc),{key:0,type:"radio",tabindex:"-1",value:S(i),checked:!!S(o),name:f.name,disabled:f.disabled,required:f.required},null,8,["value","checked","name","disabled","required"])):we("v-if",!0)]),_:3},16,["id","type","as","aria-checked","aria-label","as-child","disabled","data-state","data-disabled","value","required","name"]))}}),WK=HK;const[zK,KK]=Kn("RadioGroupRoot");var GK=ge({__name:"RadioGroupRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Mt(),s=Wi(n,"modelValue",r,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),{disabled:a,loop:l,orientation:u,name:c,required:f,dir:p}=Pn(n),d=Gd(p),h=Dc(i);return KK({modelValue:s,changeModelValue:v=>{s.value=v},disabled:a,loop:l,orientation:u,name:c?.value,required:f}),(v,g)=>(R(),ie(S(iK),{"as-child":"",orientation:S(u),dir:S(d),loop:S(l)},{default:J(()=>[W(S(Wt),{ref:S(o),role:"radiogroup","data-disabled":S(a)?"":void 0,"as-child":v.asChild,as:v.as,"aria-orientation":S(u),"aria-required":S(f),dir:S(d)},{default:J(()=>[$e(v.$slots,"default",{modelValue:S(s)}),S(h)&&S(c)?(R(),ie(S(xc),{key:0,required:S(f),disabled:S(a),value:S(s),name:S(c)},null,8,["required","disabled","value","name"])):we("v-if",!0)]),_:3},8,["data-disabled","as-child","as","aria-orientation","aria-required","dir"])]),_:3},8,["orientation","dir","loop"]))}}),YK=GK;const[XK,QK]=Kn("RadioGroupItem");var ZK=ge({inheritAttrs:!1,__name:"RadioGroupItem",props:{id:{type:String,required:!1},value:{type:null,required:!1},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Mt(),s=zK(),a=N(()=>s.disabled.value||n.disabled),l=N(()=>s.required.value||n.required),u=N(()=>xl(s.modelValue?.value,n.value));QK({disabled:a,checked:u});const c=ne(!1),f=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"];pc("keydown",d=>{f.includes(d.key)&&(c.value=!0)}),pc("keyup",()=>{c.value=!1});function p(){setTimeout(()=>{c.value&&i.value?.click()},0)}return(d,h)=>(R(),ie(S(z$),{checked:u.value,disabled:a.value,"as-child":"",focusable:!a.value,active:u.value},{default:J(()=>[W(WK,at({...d.$attrs,...n},{ref:S(o),checked:u.value,required:l.value,disabled:a.value,"onUpdate:checked":h[0]||(h[0]=v=>S(s).changeModelValue(d.value)),onSelect:h[1]||(h[1]=v=>r("select",v)),onKeydown:h[2]||(h[2]=Du(Rr(()=>{},["prevent"]),["enter"])),onFocus:p}),{default:J(()=>[$e(d.$slots,"default",{checked:u.value,required:l.value,disabled:a.value})]),_:3},16,["checked","required","disabled"])]),_:3},8,["checked","disabled","focusable","active"]))}}),JK=ZK,eG=ge({__name:"RadioGroupIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const{forwardRef:t}=Mt(),n=XK();return(r,o)=>(R(),ie(S(_v),{present:r.forceMount||S(n).checked.value},{default:J(()=>[W(S(Wt),at({ref:S(t),"data-state":S(n).checked.value?"checked":"unchecked","data-disabled":S(n).disabled.value?"":void 0,"as-child":r.asChild,as:r.as},r.$attrs),{default:J(()=>[$e(r.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),tG=eG;const nG=[" ","Enter","ArrowUp","ArrowDown"],rG=[" ","Enter"],Go=10;function Fd(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(r=>b0(r,t,n)):b0(e,t,n)}function b0(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?e?.[n]===t?.[n]:xl(e,t)}function oG(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const iG={key:0,value:""},[Ba,rM]=Kn("SelectRoot");var sG=ge({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,r=t,{required:o,disabled:i,multiple:s,dir:a}=Pn(n),l=Wi(n,"modelValue",r,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),u=Wi(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),c=ne(),f=ne(),p=ne({x:0,y:0}),d=N(()=>s.value&&Array.isArray(l.value)?l.value?.length===0:dc(l.value));Xi({isProvider:!0});const h=Gd(a),v=Dc(c),g=ne(new Set),b=N(()=>Array.from(g.value).map(_=>_.value).join(";"));function y(_){if(s.value){const k=Array.isArray(l.value)?[...l.value]:[],C=k.findIndex(E=>b0(E,_,n.by));C===-1?k.push(_):k.splice(C,1),l.value=[...k]}else l.value=_}function w(_){return Array.from(g.value).find(k=>Fd(_,k.value,n.by))}return rM({triggerElement:c,onTriggerChange:_=>{c.value=_},valueElement:f,onValueElementChange:_=>{f.value=_},contentId:"",modelValue:l,onValueChange:y,by:n.by,open:u,multiple:s,required:o,onOpenChange:_=>{u.value=_},dir:h,triggerPointerDownPosRef:p,disabled:i,isEmptyModelValue:d,optionsSet:g,onOptionAdd:_=>{const k=w(_.value);k&&g.value.delete(k),g.value.add(_)},onOptionRemove:_=>{const k=w(_.value);k&&g.value.delete(k)}}),(_,k)=>(R(),ie(S(C$),null,{default:J(()=>[$e(_.$slots,"default",{modelValue:S(l),open:S(u)}),S(v)?(R(),ie(lG,{key:b.value,"aria-hidden":"true",tabindex:"-1",multiple:S(s),required:S(o),name:_.n
8ame,autocomplete:_.autocomplete,disabled:S(i),value:S(l)},{default:J(()=>[S(dc)(S(l))?(R(),ce("option",iG)):we("v-if",!0),(R(!0),ce(Je,null,mn(Array.from(g.value),C=>(R(),ce("option",at({key:C.value??""},{ref_for:!0},C),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):we("v-if",!0)]),_:3}))}}),oM=sG,aG=ge({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,n=ne(),r=Ba();Ie(()=>t.value,(i,s)=>{const a=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(a,"value").set;if(i!==s&&u&&n.value){const c=new Event("change",{bubbles:!0});u.call(n.value,i),n.value.dispatchEvent(c)}});function o(i){r.onValueChange(i.target.value)}return(i,s)=>(R(),ie(S(dw),{"as-child":""},{default:J(()=>[m("select",at({ref_key:"selectElement",ref:n},t,{onInput:o}),[$e(i.$slots,"default")],16)]),_:3}))}}),lG=aG,uG=ge({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Go},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const n=yv(e);return(r,o)=>(R(),ie(S(W$),at(S(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:J(()=>[$e(r.$slots,"default")]),_:3},16))}}),cG=uG;const fG={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Sv,iM]=Kn("SelectContent");var dG=ge({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Ba();a7(),o7(n.bodyLock);const{CollectionSlot:i,getItems:s}=Xi(),a=ne();_7(a);const{search:l,handleTypeaheadSearch:u}=y$(),c=ne(),f=ne(),p=ne(),d=ne(!1),h=ne(!1),v=ne(!1);function g(){f.value&&a.value&&VC([f.value,a.value])}Ie(d,()=>{g()});const{onOpenChange:b,triggerPointerDownPosRef:y}=o;Pt(C=>{if(!a.value)return;let E={x:0,y:0};const D=x=>{E={x:Math.abs(Math.round(x.pageX)-(y.value?.x??0)),y:Math.abs(Math.round(x.pageY)-(y.value?.y??0))}},T=x=>{x.pointerType!=="touch"&&(E.x<=10&&E.y<=10?x.preventDefault():a.value?.contains(x.target)||b(!1),document.removeEventListener("pointermove",D),y.value=null)};y.value!==null&&(document.addEventListener("pointermove",D),document.addEventListener("pointerup",T,{capture:!0,once:!0})),C(()=>{document.removeEventListener("pointermove",D),document.removeEventListener("pointerup",T,{capture:!0})})});function w(C){const E=C.ctrlKey||C.altKey||C.metaKey;if(C.key==="Tab"&&C.preventDefault(),!E&&C.key.length===1&&u(C.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(C.key)){let T=[...s().map(x=>x.ref)];if(["ArrowUp","End"].includes(C.key)&&(T=T.slice().reverse()),["ArrowUp","ArrowDown"].includes(C.key)){const x=C.target,O=T.indexOf(x);T=T.slice(O+1)}setTimeout(()=>VC(T)),C.preventDefault()}}const _=N(()=>n.position==="popper"?n:{}),k=yv(_.value);return iM({content:a,viewport:c,onViewportChange:C=>{c.value=C},itemRefCallback:(C,E,D)=>{const T=!h.value&&!D,x=Fd(o.modelValue.value,E,o.by);if(o.multiple.value){if(v.value)return;(x||T)&&(f.value=C,x&&(v.value=!0))}else(x||T)&&(f.value=C);T&&(h.value=!0)},selectedItem:f,selectedItemText:p,onItemLeave:()=>{a.value?.focus()},itemTextRefCallback:(C,E,D)=>{const T=!h.value&&!D;(Fd(o.modelValue.value,E,o.by)||T)&&(p.value=C)},focusSelectedItem:g,position:n.position,isPositioned:d,searchRef:l}),(C,E)=>(R(),ie(S(i),null,{default:J(()=>[W(S(L7),{"as-child":"",onMountAutoFocus:E[6]||(E[6]=Rr(()=>{},["prevent"])),onUnmountAutoFocus:E[7]||(E[7]=D=>{r("closeAutoFocus",D),!D.defaultPrevented&&(S(o).triggerElement.value?.focus({preventScroll:!0}),D.preventDefault())})},{default:J(()=>[W(S(b$),{"as-child":"","disable-outside-pointer-events":C.disableOutsidePointerEvents,onFocusOutside:E[2]||(E[2]=Rr(()=>{},["prevent"])),onDismiss:E[3]||(E[3]=D=>S(o).onOpenChange(!1)),onEscapeKeyDown:E[4]||(E[4]=D=>r("escapeKeyDown",D)),onPointerDownOutside:E[5]||(E[5]=D=>r("pointerDownOutside",D))},{default:J(()=>[(R(),ie(er(C.position==="popper"?cG:gG),at({...C.$attrs,...S(k)},{id:S(o).contentId,ref:D=>{const T=S(Hi)(D);T?.hasAttribute("data-reka-popper-content-wrapper")?a.value=T.firstElementChild:a.value=T},role:"listbox","data-state":S(o).open.value?"open":"closed",dir:S(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:E[0]||(E[0]=Rr(()=>{},["prevent"])),onPlaced:E[1]||(E[1]=D=>d.value=!0),onKeydown:w}),{default:J(()=>[$e(C.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),pG=dG;const[hG,mG]=Kn("SelectItemAlignedPosition");var vG=ge({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const n=e,r=t,{getItems:o}=Xi(),i=Ba(),s=Sv(),a=ne(!1),l=ne(!0),u=ne(),{forwardRef:c,currentElement:f}=Mt(),{viewport:p,selectedItem:d,selectedItemText:h,focusSelectedItem:v}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&u.value&&f.value&&p?.value&&d?.value&&h?.value){const w=i.triggerElement.value.getBoundingClientRect(),_=f.value.getBoundingClientRect(),k=i.valueElement.value.getBoundingClientRect(),C=h.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const F=C.left-_.left,le=k.left-F,se=w.left-le,he=w.width+se,Ee=Math.max(he,_.width),Oe=window.innerWidth-Go,M=_m(le,Go,Math.max(Go,Oe-Ee));u.value.style.minWidth=`${he}px`,u.value.style.left=`${M}px`}
8else{const F=_.right-C.right,le=window.innerWidth-k.right-F,se=window.innerWidth-w.right-le,he=w.width+se,Ee=Math.max(he,_.width),Oe=window.innerWidth-Go,M=_m(le,Go,Math.max(Go,Oe-Ee));u.value.style.minWidth=`${he}px`,u.value.style.right=`${M}px`}const E=o().map(F=>F.ref),D=window.innerHeight-Go*2,T=p.value.scrollHeight,x=window.getComputedStyle(f.value),O=Number.parseInt(x.borderTopWidth,10),A=Number.parseInt(x.paddingTop,10),V=Number.parseInt(x.borderBottomWidth,10),re=Number.parseInt(x.paddingBottom,10),pe=O+A+T+re+V,G=Math.min(d.value.offsetHeight*5,pe),K=window.getComputedStyle(p.value),z=Number.parseInt(K.paddingTop,10),be=Number.parseInt(K.paddingBottom,10),X=w.top+w.height/2-Go,Fe=D-X,Ve=d.value.offsetHeight/2,tt=d.value.offsetTop+Ve,Be=O+A+tt,ut=pe-Be;if(Be<=X){const F=d.value===E[E.length-1];u.value.style.bottom="0px";const le=f.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,se=Math.max(Fe,Ve+(F?be:0)+le+V),he=Be+se;u.value.style.height=`${he}px`}else{const F=d.value===E[0];u.value.style.top="0px";const se=Math.max(X,O+p.value.offsetTop+(F?z:0)+Ve)+ut;u.value.style.height=`${se}px`,p.value.scrollTop=Be-X+p.value.offsetTop}u.value.style.margin=`${Go}px 0`,u.value.style.minHeight=`${G}px`,u.value.style.maxHeight=`${D}px`,r("placed"),requestAnimationFrame(()=>a.value=!0)}}const b=ne("");_t(async()=>{await it(),g(),f.value&&(b.value=window.getComputedStyle(f.value).zIndex)});function y(w){w&&l.value===!0&&(g(),v?.(),l.value=!1)}return n7(i.triggerElement,()=>{g()}),mG({contentWrapper:u,shouldExpandOnScrollRef:a,onScrollButtonChange:y}),(w,_)=>(R(),ce("div",{ref_key:"contentWrapperElement",ref:u,style:Xn({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[W(S(Wt),at({ref:S(c),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...n}),{default:J(()=>[$e(w.$slots,"default")]),_:3},16)],4))}}),gG=vG,yG=ge({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return rM(e.context),iM(fG),(n,r)=>$e(n.$slots,"default")}}),_G=yG;const bG={key:1};var wG=ge({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=m$(n,t),i=Ba(),s=ne();_t(()=>{s.value=new DocumentFragment});const a=ne(),l=N(()=>n.forceMount||i.open.value),u=ne(l.value);return Ie(l,()=>{setTimeout(()=>u.value=l.value)}),(c,f)=>l.value||u.value||a.value?.present?(R(),ie(S(_v),{key:0,ref_key:"presenceRef",ref:a,present:l.value},{default:J(()=>[W(pG,ui(Ki({...S(o),...c.$attrs})),{default:J(()=>[$e(c.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(R(),ce("div",bG,[(R(),ie(jl,{to:s.value},[W(_G,{context:S(i)},{default:J(()=>[$e(c.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):we("v-if",!0)}}),Cv=wG;const[Ode,kG]=Kn("SelectGroup");var EG=ge({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Yd(void 0,"reka-select-group");return kG({id:n}),(r,o)=>(R(),ie(S(Wt),at({role:"group"},t,{"aria-labelledby":S(n)}),{default:J(()=>[$e(r.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),sM=EG;const[aM,SG]=Kn("SelectItem");var CG=ge({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=Pn(n),i=Ba(),s=Sv(),{forwardRef:a,currentElement:l}=Mt(),{CollectionItem:u}=Xi(),c=N(()=>Fd(i.modelValue?.value,n.value,i.by)),f=ne(!1),p=ne(n.textValue??""),d=Yd(void 0,"reka-select-item-text"),h="select.select";async function v(_){if(_.defaultPrevented)return;const k={originalEvent:_,value:n.value};vv(h,g,k)}async function g(_){await it(),r("select",_),!_.defaultPrevented&&(o.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function b(_){await it(),!_.defaultPrevented&&(o.value?s.onItemLeave?.():_.currentTarget?.focus({preventScroll:!0}))}async function y(_){await it(),!_.defaultPrevented&&_.currentTarget===Jr()&&s.onItemLeave?.()}async function w(_){await it(),!(_.defaultPrevented||s.searchRef?.value!==""&&_.key===" ")&&(rG.includes(_.ke
8y)&&v(_),_.key===" "&&_.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return _t(()=>{l.value&&s.itemRefCallback(l.value,n.value,n.disabled)}),SG({value:n.value,disabled:o,textId:d,isSelected:c,onItemTextChange:_=>{p.value=((p.value||_?.textContent)??"").trim()}}),(_,k)=>(R(),ie(S(u),{value:{textValue:p.value}},{default:J(()=>[W(S(Wt),{ref:S(a),role:"option","aria-labelledby":S(d),"data-highlighted":f.value?"":void 0,"aria-selected":c.value,"data-state":c.value?"checked":"unchecked","aria-disabled":S(o)||void 0,"data-disabled":S(o)?"":void 0,tabindex:S(o)?void 0:-1,as:_.as,"as-child":_.asChild,onFocus:k[0]||(k[0]=C=>f.value=!0),onBlur:k[1]||(k[1]=C=>f.value=!1),onPointerup:v,onPointerdown:k[2]||(k[2]=C=>{C.currentTarget.focus({preventScroll:!0})}),onTouchend:k[3]||(k[3]=Rr(()=>{},["prevent","stop"])),onPointermove:b,onPointerleave:y,onKeydown:w},{default:J(()=>[$e(_.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),Dv=CG,DG=ge({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=aM();return(r,o)=>S(n).isSelected.value?(R(),ie(S(Wt),at({key:0,"aria-hidden":"true"},t),{default:J(()=>[$e(r.$slots,"default")]),_:3},16)):we("v-if",!0)}}),lM=DG,xG=ge({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,n=Ba(),r=Sv(),o=aM(),{forwardRef:i,currentElement:s}=Mt(),a=N(()=>({value:o.value,disabled:o.disabled.value,textContent:s.value?.textContent??o.value?.toString()??""}));return _t(()=>{s.value&&(o.onItemTextChange(s.value),r.itemTextRefCallback(s.value,o.value,o.disabled.value),n.onOptionAdd(a.value))}),Lr(()=>{n.onOptionRemove(a.value)}),(l,u)=>(R(),ie(S(Wt),at({id:S(o).textId,ref:S(i)},{...t,...l.$attrs}),{default:J(()=>[$e(l.$slots,"default")]),_:3},16,["id"]))}}),uM=xG,TG=ge({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(R(),ie(S(k$),ui(Ki(t)),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),cM=TG,AG=ge({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ba(),{forwardRef:r,currentElement:o}=Mt(),i=N(()=>n.disabled?.value||t.disabled);n.contentId||=Yd(void 0,"reka-select-content"),_t(()=>{n.onTriggerChange(o.value)});const{getItems:s}=Xi(),{search:a,handleTypeaheadSearch:l,resetTypeahead:u}=y$();function c(){i.value||(n.onOpenChange(!0),u())}function f(p){c(),n.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,d)=>(R(),ie(S(D$),{"as-child":"",reference:p.reference},{default:J(()=>[W(S(Wt),{ref:S(r),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":S(n).contentId,"aria-expanded":S(n).open.value||!1,"aria-required":S(n).required?.value,"aria-autocomplete":"none",disabled:i.value,dir:S(n)?.dir.value,"data-state":S(n)?.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":S(oG)(S(n).modelValue?.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:d[0]||(d[0]=h=>{h?.currentTarget?.focus()}),onPointerdown:d[1]||(d[1]=h=>{if(h.pointerType==="touch")return h.preventDefault();const v=h.target;v.hasPointerCapture(h.pointerId)&&v.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&(f(h),h.preventDefault())}),onPointerup:d[2]||(d[2]=Rr(h=>{h.pointerType==="touch"&&f(h)},["prevent"])),onKeydown:d[3]||(d[3]=h=>{const v=S(a)!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&v&&h.key===" "||(S(l)(h.key,S(s)()),S(nG).includes(h.key)&&(c(),h.preventDefault()))})},{default:J(()=>[$e(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-
8placeholder","as-child","as"])]),_:3},8,["reference"]))}}),xv=AG,OG=ge({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Mt(),o=Ba();_t(()=>{o.valueElement=r});const i=N(()=>{let a=[];const l=Array.from(o.optionsSet.value),u=c=>l.find(f=>Fd(c,f.value,o.by));return Array.isArray(o.modelValue.value)?a=o.modelValue.value.map(c=>u(c)?.textContent??""):a=[u(o.modelValue.value)?.textContent??""],a.filter(Boolean)}),s=N(()=>i.value.length?i.value.join(", "):t.placeholder);return(a,l)=>(R(),ie(S(Wt),{ref:S(n),as:a.as,"as-child":a.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:t.placeholder},{default:J(()=>[$e(a.$slots,"default",{selectedLabel:i.value,modelValue:S(o).modelValue.value},()=>[qe(L(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),Tv=OG,PG=ge({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:n}=Pn(t),r=tK(n),o=Sv(),i=o.position==="item-aligned"?hG():void 0,{forwardRef:s,currentElement:a}=Mt();_t(()=>{o?.onViewportChange(a.value)});const l=ne(0);function u(c){const f=c.currentTarget,{shouldExpandOnScrollRef:p,contentWrapper:d}=i??{};if(p?.value&&d?.value){const h=Math.abs(l.value-f.scrollTop);if(h>0){const v=window.innerHeight-Go*2,g=Number.parseFloat(d.value.style.minHeight),b=Number.parseFloat(d.value.style.height),y=Math.max(g,b);if(y<v){const w=y+h,_=Math.min(v,w),k=w-_;d.value.style.height=`${_}px`,d.value.style.bottom==="0px"&&(f.scrollTop=k>0?k:0,d.value.style.justifyContent="flex-end")}}}l.value=f.scrollTop}return(c,f)=>(R(),ce(Je,null,[W(S(Wt),at({ref:S(s),"data-reka-select-viewport":"",role:"presentation"},{...c.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:u}),{default:J(()=>[$e(c.$slots,"default")]),_:3},16),W(S(Wt),{as:"style",nonce:S(r)},{default:J(()=>f[0]||(f[0]=[qe(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),fM=PG;const[RG,IG]=Kn("SwitchRoot");var $G=ge({__name:"SwitchRoot",props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},value:{type:String,required:!1,default:"on"},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,{disabled:o}=Pn(n),i=Wi(n,"modelValue",r,{defaultValue:n.defaultValue??n.falseValue,passive:n.modelValue===void 0}),s=N(()=>i.value===n.trueValue);function a(){o.value||(i.value=s.value?n.falseValue:n.trueValue)}const{forwardRef:l,currentElement:u}=Mt(),c=Dc(u),f=N(()=>n.id&&u.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return IG({checked:s,toggleCheck:a,disabled:o}),(p,d)=>(R(),ie(S(Wt),at(p.$attrs,{id:p.id,ref:S(l),role:"switch",type:p.as==="button"?"button":void 0,value:p.value,"aria-label":p.$attrs["aria-label"]||f.value,"aria-checked":s.value,"aria-required":p.required,"data-state":s.value?"checked":"unchecked","data-disabled":S(o)?"":void 0,"as-child":p.asChild,as:p.as,disabled:S(o),onClick:a,onKeydown:Du(Rr(a,["prevent"]),["enter"])}),{default:J(()=>[$e(p.$slots,"default",{modelValue:S(i),checked:s.value}),S(c)&&p.name?(R(),ie(S(xc),{key:0,type:"checkbox",name:p.name,disabled:S(o),required:p.required,value:p.value,checked:s.value},null,8,["name","disabled","required","value","checked"])):we("v-if",!0)]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]))}}),MG=$G,FG=ge({__name:"SwitchThumb",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=RG();return Mt(),(n,r)=>(R(),ie(S(Wt),{"data-state":S(t).checked.value?"checked":"unchecked","data-disabled":S(t).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:J(()=>[$e(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"]))}}),LG=FG,NG=ge({__name:"TooltipArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return Mt(),(n,r)=>(R(),ie(S(eK),ui(Ki(t)),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),BG=NG;const[Av,jG]=Kn("TooltipProvider");var qG=ge({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:a,content:l}=Pn(t);
8Mt();const u=ne(!0),c=ne(!1),{start:f,stop:p}=p$(()=>{u.value=!0},r,{immediate:!1});return jG({isOpenDelayed:u,delayDuration:n,onOpen(){p(),u.value=!1},onClose(){f()},isPointerInTransitRef:c,disableHoverableContent:o,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:s,content:l}),(d,h)=>$e(d.$slots,"default")}}),VG=qG;const dM="tooltip.open",[Ov,UG]=Kn("TooltipRoot");var HG=ge({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Mt();const o=Av(),i=N(()=>n.disableHoverableContent??o.disableHoverableContent.value),s=N(()=>n.disableClosingTrigger??o.disableClosingTrigger.value),a=N(()=>n.disabled??o.disabled.value),l=N(()=>n.delayDuration??o.delayDuration.value),u=N(()=>
8n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),c=Wi(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Ie(c,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(dM))):o.onClose())});const f=ne(!1),p=ne(),d=N(()=>c.value?f.value?"delayed-open":"instant-open":"closed"),{start:h,stop:v}=p$(()=>{f.value=!0,c.value=!0},l,{immediate:!1});function g(){v(),f.value=!1,c.value=!0}function b(){v(),c.value=!1}function y(){h()}return UG({contentId:"",open:c,stateAttribute:d,trigger:p,onTriggerChange(w){p.value=w},onTriggerEnter(){o.isOpenDelayed.value?y():g()},onTriggerLeave(){i.value?b():v()},onOpen:g,onClose:b,disableHoverableContent:i,disableClosingTrigger:s,disabled:a,ignoreNonKeyboardFocus:u}),(w,_)=>(R(),ie(S(C$),null,{default:J(()=>[$e(w.$slots,"default",{open:S(c)})]),_:3}))}}),WG=HG,zG=ge({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Ov(),i=Av(),{forwardRef:s,currentElement:a}=Mt(),l=N(()=>n.ariaLabel||a.value?.textContent),u=N(()=>{const{ariaLabel:c,...f}=n;return zm(f,i.content.value??{},{side:"top",sideOffset:0,align:"center",avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:"partial",hideWhenDetached:!1})});return _t(()=>{pc(window,"scroll",c=>{c.target?.contains(o.trigger.value)&&o.onClose()}),pc(window,dM,o.onClose)}),(c,f)=>(R(),ie(S(b$),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=p=>r("escapeKeyDown",p)),onPointerDownOutside:f[1]||(f[1]=p=>{S(o).disableClosingTrigger.value&&S(o).trigger.value?.contains(p.target)&&p.preventDefault(),r("pointerDownOutside",p)}),onFocusOutside:f[2]||(f[2]=Rr(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=p=>S(o).onClose())},{default:J(()=>[W(S(W$),at({ref:S(s),"data-state":S(o).stateAttribute.value},{...c.$attrs,...u.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:J(()=>[$e(c.$slots,"default"),W(S(dw),{id:S(o).contentId,role:"tooltip"},{default:J(()=>[qe(L(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),pM=zG,KG=ge({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const n=yv(e),{forwardRef:r,currentElement:o}=Mt(),{trigger:i,onClose:s}=Ov(),a=Av(),{isPointerInTransit:l,onPointerExit:u}=l7(i,o);return a.isPointerInTransitRef=l,u(()=>{s()}),(c,f)=>(R(),ie(pM,at({ref:S(r)},S(n)),{default:J(()=>[$e(c.$slots,"default")]),_:3},16))}}),GG=KG,YG=ge({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Ov(),i=m$(n,r),{forwardRef:s}=Mt();return(a,l)=>(R(),ie(S(_v),{present:a.forceMount||S(o).open.value},{default:J(()=>[(R(),ie(er(S(o).disableHoverableContent.value?pM:GG),at({ref:S(s)},S(i)),{default:J(()=>[$e(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),XG=YG,QG=ge({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(R(),ie(S(k$),ui(Ki(t)),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),ZG=QG,JG=ge({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ov(),r=Av();n.contentId||=Yd(void 0,"reka-tooltip-content");const{forwardRef:o,currentElement:i}=Mt(),s=ne(!1),a=ne(!1),l=N(()=>n.disabled.value?{}
8:{click:v,focus:d,pointermove:f,pointerleave:p,pointerdown:c,blur:h});_t(()=>{n.onTriggerChange(i.value)});function u(){setTimeout(()=>{s.value=!1},1)}function c(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",u,{once:!0})}function f(g){g.pointerType!=="touch"&&!a.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),a.value=!0)}function p(){n.onTriggerLeave(),a.value=!1}function d(g){s.value||n.ignoreNonKeyboardFocus.value&&!g.target.matches?.(":focus-visible")||n.onOpen()}function h(){n.onClose()}function v(){n.disableClosingTrigger.value||n.onClose()}return(g,b)=>(R(),ie(S(D$),{"as-child":"",reference:g.reference},{default:J(()=>[W(S(Wt),at({ref:S(o),"aria-describedby":S(n).open.value?S(n).contentId:void 0,"data-state":S(n).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},XT(l.value)),{default:J(()=>[$e(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),eY=JG;function Nr(e){return N(()=>(_e(e)?.validations??[]).some(r=>r?.required===!0))}const tY={class:"sd-form-control form-group"},nY={class:"label-with-hint"},rY={key:0,class:"required"},oY=["type","placeholder"],iY={__name:"FormsInput",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.value??"");Ie(()=>n.block.value,a=>{a!==o.value&&(o.value=a)}),Ie(o,a=>{r("update:block",{...n.block,value:a})});const i=N(()=>{const l=(n.block?.validations??[]).find(u=>typeof u?.type=="string"&&u.type.trim()!=="");return["color"].includes(l?.type)?"text":l?.type||"text"}),s=Nr(()=>n.block);return(a,l)=>(R(),ce("div",tY,[m("div",nY,[e.block.label?(R(),ie(S(_r),{key:0,required:S(s)},{default:J(()=>[qe(L(e.block.label),1),S(s)?(R(),ce("span",rY,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),Hr(m("input",{type:i.value,placeholder:e.block.placeholder,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u)},null,8,oY),[[W2,o.value]]),W(S(jr),{error:e.block.error},null,8,["error"])]))}},hM=/^[a-z0-9]+(-[a-z0-9]+)*$/,Pv=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),u={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!vh(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!vh(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return t&&!vh(a,n)?null:a}return null},vh=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,mM=Object.freeze({left:0,top:0,width:16,height:16}),Cm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Rv=Object.freeze({...mM,...Cm}),w0=Object.freeze({...Rv,body:"",hidden:!1});function sY(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function nD(e,t){const n=sY(e,t);for(const r in w0)r in Cm?r in e&&!(r in n)&&(n[r]=Cm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function aY(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,l=a&&i(a);l&&(o[s]=[a].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(r)).forEach(i),o}function lY(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=nD(r[a]||o[a],i)}return s(t),n.forEach(s),nD(e,i)}function vM(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=aY(e);for(const o in r){const i=r[o];i&&(t(o,lY(e,o,i)),n.push(o))}return n}const uY={provider:"",aliases:{},not_found:{},...mM};function Qg(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function gM(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qg(e,uY))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o||typeof i.body!="string"||!Qg(i,w0))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;
8if(!o||typeof s!="string"||!n[s]&&!r[s]||!Qg(i,w0))return null}return t}const rD=Object.create(null);function cY(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function mc(e,t){const n=rD[e]||(rD[e]=Object.create(null));return n[t]||(n[t]=cY(e,t))}function yM(e,t){return gM(t)?vM(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function fY(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ld=!1;function _M(e){return typeof e=="boolean"&&(Ld=e),Ld}function dY(e){const t=typeof e=="string"?Pv(e,!0,Ld):e;if(t){const n=mc(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function pY(e,t){const n=Pv(e,!0,Ld);if(!n)return!1;const r=mc(n.provider,n.prefix);return t?fY(r,n.name,t):(r.missing.add(n.name),!0)}function hY(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ld&&!t&&!e.prefix){let o=!1;return gM(e)&&(e.prefix="",vM(e,(i,s)=>{pY(i,s)&&(o=!0)})),o}const n=e.prefix;if(!vh({prefix:n,name:"a"}))return!1;const r=mc(t,n);return!!yM(r,e)}const bM=Object.freeze({width:null,height:null}),wM=Object.freeze({...bM,...Cm}),mY=/(-?[0-9.]*[0-9]+[0-9.]*)/g,vY=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function oD(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(mY);if(r===null||!r.length)return e;const o=[];let i=r.shift(),s=vY.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}function gY(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;n+=e.slice(o+1,i).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}function yY(e,t){return e?"<defs>"+e+"</defs>"+t:t}function _Y(e,t,n){const r=gY(e);return yY(r.defs,t+r.content+n)}const bY=e=>e==="unset"||e==="undefined"||e==="none";function wY(e,t){const n={...Rv,...e},r={...wM,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(v=>{const g=[],b=v.hFlip,y=v.vFlip;let w=v.rotate;b?y?w+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):y&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let _;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:_=o.height/2+o.top,g.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:_=o.width/2+o.left,g.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}w%2===1&&(o.left!==o.top&&(_=o.left,o.left=o.top,o.top=_),o.width!==o.height&&(_=o.width,o.width=o.height,o.height=_)),g.length&&(i=_Y(i,'<g transform="'+g.join(" ")+'">',"</g>"))});const s=r.width,a=r.height,l=o.width,u=o.height;let c,f;s===null?(f=a===null?"1em":a==="auto"?u:a,c=oD(f,l/u)):(c=s==="auto"?l:s,f=a===null?oD(c,u/l):a==="auto"?u:a);const p={},d=(v,g)=>{bY(g)||(p[v]=g.toString())};d("width",c),d("height",f);const h=[o.left,o.top,l,u];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:i}}const kY=/\sid="(\S+)"/g,EY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let SY=0;function CY(e,t=EY){const n=[];let r;for(;r=kY.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(SY++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const k0=Object.create(null);function DY(e,t){k0[e]=t}function E0(e){return k0[e]||k0[""]}function kw(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Ew=Object.create(null),Gc=["https://api.simplesvg.com","https://api.unisvg.com"],gh=[];for(;Gc.length>0;)Gc.length===1||Math.random()>.5?gh.push(Gc.shift()):gh.push(Gc.pop());Ew[""]=kw({resources:["https://api.iconify.design"].concat(gh)});function xY(e,t){const n=kw(t);return n===null?!1:(Ew[e]=n,!0)}function Sw(e){return Ew[e]}const TY=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let iD=TY();function AY(e,t){const n=Sw(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;
8n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function OY(e){return e===404}const PY=(e,t,n)=>{const r=[],o=AY(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=o&&u>0&&(r.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=l.length),s.icons.push(l)}),r.push(s),r};function RY(e){if(typeof e=="string"){const t=Sw(e);if(t)return t.path}return"/"}const IY=(e,t,n)=>{if(!iD){n("abort",424);return}let r=RY(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;iD(e+r).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(OY(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},$Y={prepare:PY,send:IY};function MY(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,s=o.prefix,a=o.name,l=n[i]||(n[i]=Object.create(null)),u=l[s]||(l[s]=mc(i,s));let c;a in u.icons?c=t.loaded:s===""||u.missing.has(a)?c=t.missing:c=t.pending;const f={provider:i,prefix:s,name:a};c.push(f)}),t}function kM(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function FY(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const u=l.name;if(e.icons[u])s.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||kM([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let LY=0;function NY(e,t,n){const r=LY++,o=kM.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function BY(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?Pv(o,t,n):o;i&&r.push(i)}),r}var jY={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function qY(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let C=e.resources.slice(0);for(s=[];C.length>1;){const E=Math.floor(Math.random()*C.length);s.push(C[E]),C=C.slice(0,E).concat(C.slice(E+1))}s=s.concat(C)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let l="pending",u=0,c,f=null,p=[],d=[];typeof r=="function"&&d.push(r);function h(){f&&(clearTimeout(f),f=null)}function v(){l==="pending"&&(l="aborted"),h(),p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function g(C,E){E&&(d=[]),typeof C=="function"&&d.push(C)}function b(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:g,abort:v}}function y(){l="failed",d.forEach(C=>{C(void 0,c)})}function w(){p.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),p=[]}function _(C,E,D){const T=E!=="success";switch(p=p.filter(x=>x!==C),l){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){c=D,y();return}if(T){c=D,p.length||(s.length?k():y());return}if(h(),w(),!e.random){const x=e.resources.indexOf(C.resource);x!==-1&&x!==e.index&&(e.index=x)}l="completed",d.forEach(x=>{x(D)})}function k(){if(l!=="pending")return;h();const C=s.shift();if(C===void 0){if(p.length){f=setTimeout(()=>{h(),l==="pending"&&(w(),y())}
8,e.timeout);return}y();return}const E={status:"pending",resource:C,callback:(D,T)=>{_(E,D,T)}};p.push(E),u++,f=setTimeout(k,e.rotate),n(C,t,E.callback)}return setTimeout(k),b}function EM(e){const t={...jY,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,u){const c=qY(t,a,l,(f,p)=>{r(),u&&u(f,p)});return n.push(c),c}function i(a){return n.find(l=>a(l))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function sD(){}const Zg=Object.create(null);function VY(e){if(!Zg[e]){const t=Sw(e);if(!t)return;const n=EM(t),r={config:t,redundancy:n};Zg[e]=r}return Zg[e]}function UY(e,t,n){let r,o;if(typeof e=="string"){const i=E0(e);if(!i)return n(void 0,424),sD;o=i.send;const s=VY(e);s&&(r=s.redundancy)}else{const i=kw(e);if(i){r=EM(i);const s=e.resources?e.resources[0]:"",a=E0(s);a&&(o=a.send)}}return!r||!o?(n(void 0,424),sD):r.query(t,o,n)().abort}function aD(){}function HY(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,FY(e)}))}function WY(e){const t=[],n=[];return e.forEach(r=>{(r.match(hM)?t:n).push(r)}),{valid:t,invalid:n}}function Yc(e,t,n){function r(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(n&&typeof n=="object")try{if(!yM(e,n).length){r();return}}catch(o){console.error(o)}r(),HY(e)}function lD(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function zY(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>
81||!i)){lD(e.loadIcons(o,r,n),c=>{Yc(e,o,c)});return}if(i){o.forEach(c=>{const f=i(c,r,n);lD(f,p=>{const d=p?{prefix:r,icons:{[c]:p}}:null;Yc(e,[c],d)})});return}const{valid:s,invalid:a}=WY(o);if(a.length&&Yc(e,a,null),!s.length)return;const l=r.match(hM)?E0(n):null;if(!l){Yc(e,s,null);return}l.prepare(n,r,s).forEach(c=>{UY(n,c,f=>{Yc(e,c.icons,f)})})}))}const KY=(e,t)=>{const n=BY(e,!0,_M()),r=MY(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,aD)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===s)return;s=u,a=c,i.push(mc(u,c));const f=o[u]||(o[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,p=mc(u,c),d=p.pendingIcons||(p.pendingIcons=new Set);d.has(f)||(d.add(f),o[u][c].push(f))}),i.forEach(l=>{const u=o[l.provider][l.prefix];u.length&&zY(l,u)}),t?NY(t,r,i):aD};function GY(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in bM?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const YY=/[\s,]+/;function XY(e,t){t.split(YY).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function QY(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}function ZY(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function JY(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function eX(e){return"data:image/svg+xml,"+JY(e)}function tX(e){return'url("'+eX(e)+'")'}const uD={...wM,inline:!1},nX={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rX={display:"inline-block"},S0={backgroundColor:"currentColor"},SM={backgroundColor:"transparent"},cD={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fD={webkitMask:S0,mask:S0,background:SM};for(const e in fD){const t=fD[e];for(const n in cD)t[e+n]=cD[n]}const yh={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";yh[e+"-flip"]=t,yh[e.slice(0,1)+"-flip"]=t,yh[e+"Flip"]=t});function dD(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const pD=(e,t)=>{const n=GY(uD,t),r={...nX},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let v in t){const g=t[v];if(g!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[v]=g===!0||g==="true"||g===1;break;case"flip":typeof g=="string"&&XY(n,g);break;case"color":i.color=g;break;case"rotate":typeof g=="string"?n[v]=QY(g):typeof g=="number"&&(n[v]=g);break;case"ariaHidden":case"aria-hidden":g!==!0&&g!=="true"&&delete r["aria-hidden"];break;default:{const b=yh[v];b?(g===!0||g==="true"||g===1)&&(n[b]=!0):uD[v]===void 0&&(r[v]=g)}}}const l=wY(e,n),u=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...a},Object.assign(r,u);let v=0,g=t.id;return typeof g=="string"&&(g=g.replace(/-/g,"_")),r.innerHTML=CY(l.body,g?()=>g+"ID"+v++:"iconifyVue"),Bt("svg",r)}const{body:c,width:f,height:p}=e,d=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),h=ZY(c,{...u,width:f+"",height:p+""});return r.style={...i,"--svg":tX(h),width:dD(u.width),height:dD(u.height),...rX,...d?S0:SM,...a},Bt("span",r)};_M(!0);DY("",$Y);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!hY(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invali
8d.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;xY(n,o)||console.error(r)}catch{console.error(r)}}}}const oX={...Rv,body:""},vc=ge((e,{emit:t})=>{const n=ne(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=ne(!!e.ssr),i=ne(""),s=yt(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let c;if(typeof u!="string"||(c=Pv(u,!1,!0))===null)return null;let f=dY(c);if(!f){const h=n.value;return(!h||h.name!==u)&&(f===null?n.value={name:u}:n.value={name:u,abort:KY([c],l)}),null}r(),i.value!==u&&(i.value=u,it(()=>{t("load",u)}));const p=e.customise;if(p){f=Object.assign({},f);const h=p(f.body,c.name,c.prefix,c.provider);typeof h=="string"&&(f.body=h)}const d=["iconify"];return c.prefix!==""&&d.push("iconify--"+c.prefix),c.provider!==""&&d.push("iconify--"+c.provider),{data:f,classes:d}}function l(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?l():_t(()=>{o.value=!0,l()}),Ie(()=>e.icon,l),Lr(r),()=>{const u=s.value;if(!u)return pD(oX,e);let c=e;return u.classes&&(c={...e,class:u.classes.join(" ")}),pD({...Rv,...u.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),iX={class:"sd-form-control form-group"},sX={class:"label-with-hint"},aX=["innerHTML"],lX={key:0,class:"required"},uX={__name:"FormsCheckbox",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.value??!1);Ie(()=>n.block.value,a=>{a!==o.value&&(o.value=a)});function i(){r("update:block",{...n.block,value:o.value})}const s=Nr(()=>n.block);return(a,l)=>(R(),ce("div",iX,[W(S(G$),{modelValue:o.value,"onUpdate:modelValue":[l[0]||(l[0]=u=>o.value=u),i],class:"CheckboxRoot"},{default:J(()=>[W(S(Y$),{"force-mount":"true",class:"CheckboxIndicator"},{default:J(()=>[W(S(vc),{icon:"radix-icons:check",class:"CheckboxIcon"})]),_:1})]),_:1},8,["modelValue"]),m("div",sX,[W(S(_r),{required:S(s),class:"Label"},{default:J(()=>[m("div",{class:"label-html",innerHTML:e.block.label},null,8,aX),S(s)?(R(),ce("span",lX,"*")):we("",!0)]),_:1},8,["required"]),e.block?.hint?(R(),ie(S(Br),{key:0,block:e.block},null,8,["block"])):we("",!0)]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}},cX=bt(uX,[["__scopeId","data-v-c0c6c573"]]),fX={class:"sd-form-control DateFieldWrapper"},dX={class:"label-with-hint"},pX=["for"],hX={key:0,class:"required"},mX={class:"DatePickerRoot"},vX=["id","aria-invalid"],gX=ge({__name:"DatePicker",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(""),i=Kt("formDocumentId",null),s=N(()=>{const c=n.block.settings?.key;if(!c)return;const f=i&&typeof i=="object"&&"value"in i?i.value:i,p=`date-${c}`;return f?`${f}-${p}`:p});function a(c){if(c==null||c==="")return"";const f=String(c).trim();if(/^\d{4}-\d{2}-\d{2}$/.test(f))return f;const p=new Date(f);return Number.isNaN(p.getTime())?"":p.toISOString().slice(0,10)}function l(){const c=n.block.value??n.block.defaultValue,f=a(c);f!==o.value&&(o.value=f)}_t(l),Ie(()=>n.block.value??n.block.defaultValue,l,{immediate:!0}),Ie(o,c=>{const f=c||null,p=n.block.value==null||n.block.value===""?null:String(n.block.value);f!==p&&r("update:block",{...n.block,value:f})});const u=Nr(()=>n.block);return(c,f)=>(R(),ce("div",fX,[m("div",dX,[e.block.label?(R(),ce("label",{key:0,for:s.value},[qe(L(e.block.label),1),S(u)?(R(),ce("span",hX,"*")):we("",!0)],8,pX)):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("div",mX,[Hr(m("input",{id:s.value,"onUpdate:modelValue":f[0]||(f[0]=p=>o.value=p),type:"date",class:"DateField","aria-invalid":e.block.error?"true":void 0},null,8,vX),[[Lo,o.value]])]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),yX=Object.assign(bt(gX,[["__scopeId","data-v-cb03fd33"]]),{__name:"FormsDatePicker"}),_X={class:"sd-form-control form-group"},bX={class:"label-with-hint"},wX={key:0,class:"required"},kX=["value"],EX={class:"placeholder-option",value:"",disabled:""},SX=["value"],CX={__name:"FormsSelect",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=N(()=>{const l=n.block.options;return Array.isArray(l)?l.map(u=>({label:u.label,value:u.value})):[]}),i=ne(n.block.value||n.block.defaultValue||"");Ie(()=>n.block.value,l=>{l!==i.value&&(i.value=l)}),Ie(i,l=>{r("update:block",{...n.block,value:l})});function s(l){i.value=l.target.value}const a=Nr(()=>n.block);return(l,u)=>(R(),ce("div",_X,[m("div",bX,[e.block.label?(R(),ie(S(_r),{key:0,required:S(a),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(a)?(R(),ce("span",wX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("select",{class:"native-select",value:i.value,onChange:s},[m("option",EX,L(e.block.placeholder||"Select an option"),1),(R(!0),ce(Je,null,mn(o.value,c=>(R(),ce("option",{key:c.value,value:c.value},L(c.label),9,SX))),128))],40,kX),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}},DX=bt(CX,[["__scopeId","data-v-5e23c865"]]),xX={class:"sd-form-control form-group"},TX={class:"label-with-hint"},AX={key:0,class:"required"},OX=["value"],PX={__name:"FormsMultiCheckbox",props:{block:{type:Object,required:!0,default:()=>({label:"Enter your label",placeholder:"",value:{},options:{}})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=N(()=>{const l=n.block.options;return Array.isArray(l)?l.map(u=>({label:u.label,value:u.value})):[]}),i=ne(Object.keys(n.block.value||{}).length?n.block.value:{});Ie(()=>n.block.value,l=>{JSON.stringify(l)!==JSON.stringify(i.value)&&(i.value=l||{})}),Ie(i,l=>{r("update:block",{...n.block,value:l})});const s=l=>{const u={...i.value};u[l]=!u[l],i.value=u},a=Nr(()=>n.block);return(l,u)=>(R(),ce("div",xX,[m("div",TX,[e.block.label?(R(),ie(S(_r),{key:0,required:S(a),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(a)?(R(),ce("span",AX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("div",{class:Qe(["multi-checkbox",{"align-vertical":!e.block?.alignHorizontally,"align-horizontal":e.block?.alignHorizontally}])},[(R(!0),ce(Je,null,mn(o.value,c=>(R(),ce("div",{value:c.value,class:"checkbox-item"},[W(S(G$),{checked:!!i.value[c.value],"onUpdate:modelValue":f=>
8s(c.value),class:"CheckboxRoot"},{default:J(()=>[W(S(Y$),{class:"CheckboxIndicator"},{default:J(()=>[W(S(vc),{icon:"radix-icons:check"})]),_:1})]),_:1},8,["checked","onUpdate:modelValue"]),W(S(_r),{class:"Label"},{default:J(()=>[qe(L(c.label),1)]),_:2},1024)],8,OX))),256))],2),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}},RX=bt(PX,[["__scopeId","data-v-81c92734"]]),IX={class:"sd-form-control form-group"},$X={class:"label-with-hint"},MX={key:0,class:"required"},FX=["value"],LX=ge({__name:"RadioGroup",props:{block:{type:Object,required:!0,default:()=>({label:"Select an option",value:"",defaultValue:"",options:{},alignHorizontally:!1})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=N(()=>{const a=n.block.options;return Array.isArray(a)?a.map(l=>({label:l.label,value:l.value})):[]}),i=ne(n.block.value||n.block.defaultValue||"");Ie(()=>n.block.value,a=>{a!==i.value&&(i.value=a||"")}),Ie(i,a=>{r("update:block",{...n.block,value:a})});const s=Nr(()=>n.block);return(a,l)=>(R(),ce("div",IX,[m("div",$X,[e.block.label?(R(),ie(S(_r),{key:0,required:S(s),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(s)?(R(),ce("span",MX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),W(S(YK),{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=u=>i.value=u),class:Qe(["RadioGroupRoot",{"align-vertical":!e.block?.alignHorizontally,"align-horizontal":e.block?.alignHorizontally}])},{default:J(()=>[(R(!0),ce(Je,null,mn(o.value,u=>(R(),ce("div",{value:u.value,class:"radio-item"},[W(S(JK),{id:u.value,class:"RadioGroupItem",value:u.value},{default:J(()=>[W(S(tG))]),_:1},8,["id","value"]),W(S(_r),{for:u.value,class:"Label"},{default:J(()=>[qe(L(u.label),1)]),_:2},1032,["for"])],8,FX))),256))]),_:1},8,["modelValue","class"]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),NX=Object.assign(bt(LX,[["__scopeId","data-v-3ceb60c6"]]),{__name:"FormsRadioGroup"}),BX={class:"sd-form-control form-group"},jX={class:"label-with-hint"},qX={key:0,class:"required"},VX=ge({__name:"Switch",props:{block:{type:Object,required:!0,default:()=>({label:"Enable option",value:!1,defaultValue:!1})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.value??n.block.defaultValue??!1);Ie(()=>n.block.value??n.block.defaultValue,s=>{s!==o.value&&(o.value=s)},{immediate:!0}),Ie(o,s=>{r("update:block",{...n.block,value:s})},{immediate:!0});const i=Nr(()=>n.block);return(s,a)=>(R(),ce("div",BX,[W(S(MG),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),class:"SwitchRoot"},{default:J(()=>[W(S(LG),{class:"SwitchThumb"})]),_:1},8,["modelValue"]),m("div",jX,[e.block.label?(R(),ie(S(_r),{key:0,required:S(i),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(i)?(R(),ce("span",qX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),UX=Object.assign(bt(VX,[["__scopeId","data-v-ef9af7b5"]]),{__name:"FormsSwitch"}),HX={class:"sd-form-control form-group"},WX={class:"label-with-hint"},zX={key:0,class:"required"},KX=["rows","placeholder"],GX={__name:"FormsTextarea",props:{block:{type:Object,required:!0,default:()=>({label:"Enter your label",placeholder:"Enter your text",defaultValue:"",value:"",rows:4})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.value??n.block.defaultValue??"");Ie(()=>n.block.value,s=>{s!==o.value&&(o.value=s)}),Ie(o,s=>{r("update:block",{...n.block,value:s})});const i=Nr(()=>n.block);return(s,a)=>(R(),ce("div",HX,[m("div",WX,[e.block.label?(R(),ie(S(_r),{key:0,required:S(i),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(i)?(R(),ce("span",zX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),Hr(m("textarea",{class:"textarea",rows:e.block.rows||4,placeholder:e.block.placeholder,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l)},null,8,KX),[[Lo,o.value]]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}},YX=bt(GX,[["__scopeId","data-v-5dd4fec7"]]),XX={class:"sd-form-control form-group"},QX={class:"label-with-hint"},ZX={key:0,class:"required"},JX=ge({__name:"Password",props:{block:{type:Object,required:!0,default:()=>({label:"Enter PIN",length:4,value:"",placeholder:"○"})}},emits:["update:block","complete"],setup(e,{emit:t}){const n=e,r=t,o=Kt("formDocumentId",null),i=N(()=>{const u=n.block.settings?.key;if(!u)return;const c=o&&typeof o=="object"&&"value"in o?o.value:o;return c?`${c}-${u}`:String(u)}),s=ne(n.block.value?n.block.value.split(""):Array(n.block.length).fill(""));Ie(()=>n.block.value,u=>{const c=(u||"").split("");JSON.stringify(c)!==JSON.stringify(s.value)&&(s.value=c)}),Ie(s,u=>{r("update:block",{...n.block,value:u.join("")})});function a(u){r("update:block",{...n.block,value:u.join("")})}const l=Nr(()=>n.block);return(u,c)=>(R(),ce("div",XX,[m("div",QX,[e.block.label?(R(),ie(S(_r),{key:0,required:S(l),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(l)?(R(),ce("span",ZX,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),W(S(BK),{modelValue:s.value,"onUpdate:modelValue":c[0]||(c[0]=f=>s.value=f),class:"PinInputRoot",id:i.value,onComplete:a},{default:J(()=>[(R(!0),ce(Je,null,mn(e.block.length||4,f=>(R(),ie(S(qK),{key:f,index:f-1,placeholder:e.block.placeholder||"○",class:"PinInputInput"},null,8,["index","placeholder"]))),128))]),_:1},8,["modelValue","id"]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),eQ=Object.assign(bt(JX,[["__scopeId","data-v-7d3662d7"]]),{__name:"FormsPassword"}),tQ={class:"sd-form-control TimeFieldWrapper"},nQ={class:"label-with-hint"},rQ={key:0,class:"TimeFieldLabel"},oQ={key:0,class:"required"},iQ=ge({__name:"TimePicker",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne("00:00:00");Ie(o,a=>{r("update:block",{...n.block,value:i(a)})}),Ie(()=>n.block.value??n.block.defaultValue,a=>{const l=i(a);l!==o.value&&(o.value=l)},{immediate:!0});function i(a){if(!a)return"00:00:00";const l=a.split(":"),u=(l[0]??"00").padStart(2,"0"),c=(l[1]??"00").padStart(2,"0"),f=(l[2]??"00").padStart(2,"0");return`${u}
8:${c}:${f}`}const s=Nr(()=>n.block);return(a,l)=>(R(),ce("div",tQ,[m("div",nQ,[e.block.label?(R(),ce("label",rQ,[qe(L(e.block.label),1),S(s)?(R(),ce("span",oQ,"*")):we("",!0)])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),Hr(m("input",{type:"time",step:"1","onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u),id:"time-field",class:"TimeField"},null,512),[[Lo,o.value]]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),sQ=Object.assign(iQ,{__name:"FormsTimePicker"}),aQ={class:"sd-form-control DateTimeFieldWrapper"},lQ={class:"label-with-hint"},uQ=["for"],cQ={key:0,class:"required"},fQ={class:"DateTimePicker"},dQ={class:"DatePickerRoot"},pQ=["id","aria-invalid"],hQ={class:"TimeFieldRoot"},mQ=["aria-invalid"],vQ=ge({__name:"DateTimePicker",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(""),i=ne(""),s=Kt("formDocumentId",null),a=N(()=>{const p=n.block.settings?.key;if(!p)return;const d=s&&typeof s=="object"&&"value"in s?s.value:s,h=`datetime-${p}`;return d?`${d}-${h}`:h});function l(p){if(p==null||p==="")return"";const d=String(p).trim();if(/^\d{4}-\d{2}-\d{2}$/.test(d))return d;const h=new Date(d);return Number.isNaN(h.getTime())?"":h.toISOString().slice(0,10)}function u(p){if(p==null||p==="")return"";const h=String(p).trim().match(/(\d{2}):(\d{2})(?::(\d{2}))?/);if(!h)return"";const[,v,g,b]=h;return Number(v)>23||Number(g)>59?"":b?`${v}:${g}:${b}`:`${v}:${g}`}function c(){const p=n.block.value??n.block.defaultValue;if(p==null||p===""){o.value="",i.value="";return}const d=String(p),[h,v]=d.includes("T")?d.split("T"):[d,""],g=l(h);g!==o.value&&(o.value=g);const b=u(v.replace(/Z$/,""));b!==i.value&&(i.value=b)}_t(c),Ie(()=>n.block.value??n.block.defaultValue,c,{immediate:!0}),Ie([o,i],()=>{if(!o.value){if((n.block.value==null||n.block.value===""?null:String(n.block.value))===null)return;r("update:block",{...n.block,value:null});return}const p=i.value?`${o.value}T${i.value}Z`:o.value,d=n.block.value==null||n.block.value===""?null:String(n.block.value);p!==d&&r("update:block",{...n.block,value:p})});const f=Nr(()=>n.block);return(p,d)=>(R(),ce("div",aQ,[m("div",lQ,[e.block.label?(R(),ce("label",{key:0,for:a.value},[qe(L(e.block.label),1),S(f)?(R(),ce("span",cQ,"*")):we("",!0)],8,uQ)):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("div",fQ,[m("div",dQ,[Hr(m("input",{id:a.value,"onUpdate:modelValue":d[0]||(d[0]=h=>o.value=h),type:"date",class:"DateField","aria-invalid":e.block.error?"true":void 0},null,8,pQ),[[Lo,o.value]])]),m("div",hQ,[Hr(m("input",{"onUpdate:modelValue":d[1]||(d[1]=h=>i.value=h),type:"time",step:"1",class:"TimeField","aria-invalid":e.block.error?"true":void 0},null,8,mQ),[[Lo,i.value]])])]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),gQ=Object.assign(bt(vQ,[["__scopeId","data-v-9bc21246"]]),{__name:"FormsDateTimePicker"}),yQ="componentsScopePortalTarget";function Cw(){return Kt(yQ,null)}const _Q={class:"sd-form-control form-group"},bQ={class:"label-with-hint"},wQ={key:0,class:"required"},kQ={key:0,class:"selected-labels"},EQ={__name:"FormsMultiSelect",props:{block:{type:Object,required:!0,default:()=>({label:"",placeholder:"Select options",options:{},value:{}})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=N(()=>{const u=n.block.options;return Array.isArray(u)?u.map(c=>({label:c.label,value:c.value})):[]}),i=ne(n.block.value&&typeof n.block.value=="object"?Object.keys(n.block.value).filter(u=>n.block.value[u]):[]);Ie(()=>n.block.value,u=>{JSON.stringify(u)!==JSON.stringify(i.value)&&(i.value=u||[])}),Ie(i,u=>{if(!Array.isArray(u))return[];const c=n.block.options,f={};Array.isArray(c)&&c.forEach(({label:p,value:d})=>{u?.includes(d)&&(f[p]=d)}),r("update:block",{...n.block,value:f})},{deep:!0});const s=N(()=>{if(!Array.isArray(i.value))return[];const u=new Map(o.value.map(c=>[c.value,c.label]));return(i.value||[]).map(c=>u.get(c)).filter(Boolean)}),a=Cw(),l=Nr(()=>n.block);return(u,c)=>(R(),ce("div",_Q,[m("div",bQ,[e.block.label?(R(),ie(S(_r),{key:0,required:S(l),class:"label"},{default:J(()=>[qe(L(e.block.label),1),S(l)?(R(),ce("span",wQ,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),W(S(oM),{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),multiple:"","as-child":""},{default:J(()=>[W(S(xv),{class:"SelectTrigger"},{default:J(()=>[W(S(Tv),{placeholder:e.block.placeholder,class:Qe({muted:!i.value.length})},{default:J(()=>[s.value.length?(R(),ce("span",kQ,L(s.value.join(", ")),1)):we("",!0)]),_:1},8,["placeholder","class"]),W(S(vc),{icon:"radix-icons:chevron-down"})]),_:1}),W(S(cM),{to:S(a)??void 0},{default:J(()=>[W(S(Cv),{class:"SelectContent sd-form-select-content sd-surface-neutral",side:"bottom",align:"start","side-offset":5},{default:J(()=>[W(S(fM),{class:"SelectViewport"},{default:J(()=>[W(S(sM),null,{default:J(()=>[(R(!0),ce(Je,null,mn(o.value,f=>(R(),ie(S(Dv),{key:f.value,value:f.value,class:"SelectItem"},{default:J(()=>[W(S(lM),{class:"SelectItemIndicator"},{default:J(()=>[W(S(vc),{icon:"radix-icons:check"})]),_:1}),W(S(uM),null,{default:J(()=>[qe(L(f.label),1)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["to"])]),_:1},8,["modelValue"]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}},SQ=bt(EQ,[["__scopeId","data-v-837667a8"]]),CQ={class:"sd-form-control form-group"},DQ={class:"label-with-hint"},xQ={key:0,class:"required"},TQ=ge({__name:"FormSlider",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne([n.block.value?.min??n.block.min??0,n.block.value?.max??n.block.max??100]);Ie(()=>n.block.value,s=>{if(!s)return;const a=[s.min,s.max];JSON.stringify(a)!==JSON.stringify(o.value)&&(o.value=a)},{deep:!0}),Ie(o,([s,a])=>{r("update:block",{...n.block,value:{min:s,max:a}})});const i=Nr(()=>n.block);return(s,a)=>(R(),ce("div",CQ,[m("div",DQ,[e.block.label?(R(),ie(S(_r),{key:0,required:S(i),class:"main-label"},{default:J(()=>[qe(L(e.block.label),1),S(i)?(R(),ce("span",xQ,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),W(S(DK),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),class:"SliderRoot",min:e.block.min??0,max:e.block.max??100,step:e.block.step??1,"min-steps-between-thumbs":1},{default:J(()=>
8[W(S($K),{class:"SliderTrack"},{default:J(()=>[W(S(AK),{class:"SliderRange"})]),_:1}),W(S(tD),{class:"SliderThumb","aria-label":"Minimum"}),W(S(tD),{class:"SliderThumb","aria-label":"Maximum"})]),_:1},8,["modelValue","min","max","step"]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),AQ=Object.assign(bt(TQ,[["__scopeId","data-v-94083c10"]]),{__name:"FormsFormSlider"}),OQ=["value"],PQ=ge({__name:"HiddenInput",props:{block:{type:Object,required:!0,default:()=>({defaultValue:""})}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.defaultValue??"");return _t(()=>{r("update:block",{...n.block,value:n.block.defaultValue})}),Ie(()=>n.block.defaultValue,i=>{i!==o.value&&(o.value=i,r("update:block",{...n.block,value:i}))},{immediate:!0}),(i,s)=>(R(),ce("input",{type:"hidden",class:"sd-form-control",value:o.value},null,8,OQ))}}),RQ=Object.assign(PQ,{__name:"FormsHiddenInput"}),IQ={class:"sd-form-control form-group"},$Q={class:"label-with-hint"},MQ={key:0,class:"required"},FQ=["multiple","accept"],LQ={key:0},NQ={key:1},BQ=ge({__name:"File",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(!1),i=ne([]),s=ne(n.block.value??(n.block.multiple?[]:null));Ie(()=>n.block.value,u=>{s.value=u});function a(u){const c=u.target;if(c.files){if(c.files.length===0){i.value=[],s.value=n.block.multiple?[]:null,r("update:block",{...n.block,value:s.value});return}i.value=Array.from(c.files),n.block.multiple||(i.value=i.value.slice(0,1)),r("update:block",{...n.block,value:i.value})}}const l=Nr(()=>n.block);return(u,c)=>(R(),ce("div",IQ,[m("div",$Q,[e.block.label?(R(),ie(S(_r),{key:0,required:S(l)},{default:J(()=>[qe(L(e.block.label),1),S(l)?(R(),ce("span",MQ,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("input",{type:"file",multiple:e.block.multiple,accept:e.block.accept?.join(","),onBlur:a},null,40,FQ),o.value?(R(),ce("div",LQ,"Uploading...")):we("",!0),s.value?(R(),ce("ul",NQ,[(R(!0),ce(Je,null,mn(Array.isArray(s.value)?s.value:[s.value],f=>(R(),ce("li",{key:f.key},L(f.name||f.key),1))),128))])):we("",!0),e.block?.error?(R(),ie(S(jr),{key:2,error:e.block.error},null,8,["error"])):we("",!0)]))}}),jQ=Object.assign(bt(BQ,[["__scopeId","data-v-9a088b67"]]),{__name:"FormsFile"}),qQ={class:"sd-form-control form-group"},VQ={class:"label-with-hint"},UQ={key:0,class:"required"},HQ={class:"currency-input-wrapper"},WQ=["value","placeholder"],zQ=ge({__name:"Currency",props:{block:{type:Object,required:!0}},emits:["update:block"],setup(e,{emit:t}){const n=e,r=t,o=ne(n.block.value||""),i=ne(n.block.code),s=ne(""),a=ne(!1),l=N(()=>{const _=n.block.options;return Array.isArray(_)?_.map(k=>({label:k.label,value:k.value})):[]}),u=N(()=>{const _=l.value.find(k=>k.value===i.value);return _?_.label:n.block.currency}),c=N(()=>new Intl.NumberFormat(i.value,{style:"currency",currency:u.value,minimumFractionDigits:n.block.precision,maximumFractionDigits:n.block.precision})),f=Cw();function p(_){if(_===""||_==null)return"";const k=typeof _=="string"?parseFloat(_):_;return isNaN(k)?"":c.value.format(k)}function d(_=""){return _.replace(/[^0-9.]/g,"").replace(/(\..*?)\..*/g,"$1")}function h(_){const k=_.target,C=d(k.value);if(a.value=!0,s.value=C,o.value=C,C===""){r("update:block",{...n.block,value:""});return}const E=Number(parseFloat(C).toFixed(n.block.precision));r("update:block",{...n.block,value:p(E)})}function v(){if(a.value=!1,s.value===""){o.value="";return}const _=Number(parseFloat(s.value).toFixed(n.block.precision));o.value=p(_),r("update:block",{...n.block,value:p(_)})}function g(_){const k=_;k.inputType.startsWith("delete")||k.isComposing||/^[0-9.]$/.test(k.data??"")||_.preventDefault()}function b(_){["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Home","End"].includes(_.key)||_.ctrlKey||_.metaKey||/^[0-9.]$/.test(_.key)||_.preventDefault()}function y(_){_.preventDefault();const k=_.clipboardData?.getData("text")||"",C=d(k);o.value=C?p(Number(C)):""}Ie(()=>n.block.code,_=>{i.value=_}),Ie([()=>n.block.value,i],([_])=>{if(!a.value){if(_===""||_==null){o.value="",s.value="";return}o.value=p(_)}},{immediate:!0});const w=Nr(()=>n.block);return(_,k)=>(R(),ce("div",qQ,[m("div",VQ,[e.block.label?(R(),ie(S(_r),{key:0,required:S(w)},{default:J(()=>[qe(L(e.block.label),1),S(w)?(R(),ce("span",UQ,"*")):we("",!0)]),_:1},8,["required"])):we("",!0),e.block?.hint?(R(),ie(S(Br),{key:1,block:e.block},null,8,["block"])):we("",!0)]),m("div",HQ,[W(S(oM),{modelValue:i.value,"onUpdate:modelValue":k[0]||(k[0]=C=>i.value=C)},{default:J(()=>[W(S(xv),{class:"SelectTrigger"},{default:J(()=>[W(S(Tv),{placeholder:"Currency"}),W(S(vc),{icon:"radix-icons:chevron-down"})]),_:1}),W(S(cM),{to:S(f)??void 0},{default:J(()=>[W(S(Cv),{class:"SelectContent",side:"bottom",align:"start","side-offset":5,"collision-padding":0,style:{"background-color":"white","backdrop-filter":"none"}},{default:J(()=>[W(S(fM),{class:"SelectViewport"},{default:J(()=>[W(S(sM),null,{default:J(()=>[(R(!0),ce(Je,null,mn(l.value,C=>(R(),ie(S(Dv),{key:C.label,value:C.value,class:"SelectItem"},{default:J(()=>[W(S(lM),{class:"SelectItemIndicator"},{default:J(()=>[W(S(vc),{icon:"radix-icons:check"})]),_:1}),W(S(uM),null,{default:J(()=>[qe(L(C.label),1)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["to"])]),_:1}
8,8,["modelValue"]),m("input",{type:"text",onBeforeinput:g,onKeydown:b,onPaste:y,onInput:h,onBlur:v,value:o.value,placeholder:e.block.placeholder},null,40,WQ)]),e.block?.error?(R(),ie(S(jr),{key:0,error:e.block.error},null,8,["error"])):we("",!0)]))}}),KQ=Object.assign(bt(zQ,[["__scopeId","data-v-ecb4bc68"]]),{__name:"FormsCurrency"}),GQ={},YQ={"xml:space":"preserve",id:"Layer_1",x:"0",y:"0",style:{"enable-background":"new 0 0 32 32"},version:"1.1",viewBox:"0 0 32 32"};function XQ(e,t){return R(),ce("svg",YQ,[...t[0]||(t[0]=[m("path",{d:"M0 0v32h32V0H0zm12 21.3V10.7l8.7 5.3-8.7 5.3z",class:"st0"},null,-1)])])}const QQ=Object.assign(bt(GQ,[["render",XQ]]),{__name:"IconsPlayButtonIconHover"}),ZQ={},JQ={"xml:space":"preserve",id:"Layer_1",x:"0",y:"0",style:{"enable-background":"new 0 0 32 32"},version:"1.1",viewBox:"0 0 32 32"};function eZ(e,t){return R(),ce("svg",JQ,[...t[0]||(t[0]=[m("path",{d:"M0 0v32h32V0H0zm31 31H1V1h30v30zM12 10.7v10.6l8.7-5.3-8.7-5.3z",class:"st0"},null,-1)])])}const tZ=Object.assign(bt(ZQ,[["render",eZ]]),{__name:"IconsPlayButtonIcon"}),nZ={__name:"BuyButton",props:{label:{type:String,required:!0},product:{type:Object,required:!0},productPeriod:{type:Object,required:!0}},setup(e){const t=e,n=QT();let i=(Qm().params.locale||"en-US").split("-")[1];const s=N(()=>n.class&&n.class.length>0?n.class:"vw-btn"),a=async()=>{try{const{[t.product.productCode]:f}=await $fetch("https://cms-release.vectorworks.net/api/purchase/options",{method:"GET",params:{product:t.product.productCode,countryCode:i.toLowerCase()}});return{purchase:t.product.productCode,options:f.options}}catch(f){console.error("Error fetching purchase options:",f),notification.error({message:"Failed to fetch purchase options."})}},l=async()=>{try{return await $fetch("https://cms-release.vectorworks.net/api/purchase/distributor-languages",{method:"GET",params:{countryCode:i||"US"}})}catch(f){console.error("Error fetching distributor languages:",f),notification.error({message:"Failed to fetch distributor languages."})}},u=async()=>{const f=await l();let p="en";const d={ch:"de",at:"de",be:"nl"},h=i.toLowerCase();if(f[h])p=h;else if(d[h])p=d[h];else{const v=Object.keys(f);if(v.length===1){const g=v[0];p=f[g]?.[1]||"en",p=v[0]}else for(const g of v)if(g!=="en"){p=g;break}}return i==="no"&&(p=["architect","fundamentals"].includes(t.product.key)?"nb":"en"),f[i!=="US"?p:"en"][0]},c=async()=>{const{purchase:f,options:p}=await a(),d=await u(),h=1,v=p.filter(b=>b.parts.find(y=>y.period.toLowerCase()===t.productPeriod.key))[0],g={period:v.parts[0].period,version:v.parts[0].version};VW.Components.Basket.addProduct(t.product.productCode+"-"+g.period.toLowerCase()+"-"+g.version,h,d)};return(f,p)=>(R(),ce("div",at({class:[s.value,"vw-buy-button"]},f.$attrs,{onClick:Rr(c,["prevent"])}),L(e.label),17))}},CM=bt(nZ,[["__scopeId","data-v-65d51192"]]),rZ="_button_ajz4b_2",oZ="_ghost_ajz4b_45",iZ="_navButton_ajz4b_58",sZ="_fullWidth_ajz4b_64",aZ={button:rZ,ghost:oZ,navButton:iZ,fullWidth:sZ},lZ={components:{BuyButton:CM},emits:["click"],props:{label:{type:String,required:!0},ghost:{type:Boolean,default:!1},url:{type:String,default:null},onNav:{type:Boolean,default:!1},product:{type:Object,default:null},productPeriod:{type:Object,default:null},modal:{type:String,default:null},target:{type:String,default:"_self"},fullWidth:{type:Boolean,default:!1}},computed:{linkTarget(){return this.url&&this.url.startsWith("#")?"_self":"_blank"},isAnchorLink(){return this.url&&this.url.startsWith("#")},getLegacyModal(){return this.modal&&this.modal.startsWith("legacy-")?this.modal.substring(7):!1},clickEventName(){if(this.target==="_self"&&!this.isAnchorLink)return null}},methods:{handleClick(e){const t=no();if(this.isAnchorLink){e.preventDefault();const n=this.url.substring(1),r=document.getElementById(n);r&&(history.pushState?history.pushState(null,null,`${t.fullPath}${this.url}`):window.location.hash=this.url,r.scrollIntoView({behavior:"smooth",block:"start"}))}else window.open(this.url,"_blank"),e.preventDefault()}}},uZ=["data-modal-controller-method"],cZ=["href","target"];function fZ(e,t,n,r,o,i){const s=CM;return n.product?(R(),ie(s,{key:0,label:n.label,product:n.product,productPeriod:n.productPeriod,class:Qe([e.$style.button,n.ghost?e.$style.ghost:e.$style.primary,n.onNav?e.$style.navButton:null,n.fullWidth?e.$style.fullWidth:null])},null,8,["label","product","productPeriod","class"])):i.getLegacyModal?(
8R(),ce("a",{key:1,href:"#",class:Qe([e.$style.button,n.ghost?e.$style.ghost:e.$style.primary,n.onNav?e.$style.navButton:null,n.fullWidth?e.$style.fullWidth:null]),"data-modal-size":"normal","data-modal-control":"true","data-modal-controller-method":i.getLegacyModal},L(n.label),11,uZ)):n.url===null?(R(),ce("button",{key:2,type:"button",class:Qe([e.$style.button,n.ghost?e.$style.ghost:e.$style.primary,n.onNav?e.$style.navButton:null,n.fullWidth?e.$style.fullWidth:null]),onClick:t[0]||(t[0]=a=>e.$emit("click",a))},L(n.label),3)):(R(),ce("a",at({key:3,href:n.url,target:n.target||void 0},{[cl(i.clickEventName)]:t[1]||(t[1]=(...a)=>i.handleClick&&i.handleClick(...a))},{class:[e.$style.button,n.ghost?e.$style.ghost:e.$style.primary,n.onNav?e.$style.navButton:null,n.fullWidth?e.$style.fullWidth:null]}),L(n.label),17,cZ))}const dZ={$style:aZ},DM=Object.assign(bt(lZ,[["render",fZ],["__cssModules",dZ]]),{__name:"AppButton"}),pZ={},hZ={"data-v-177a576f":"","data-v-cc673210":"",xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 26 26",class:"icon closeBtn"};function mZ(e,t){return R(),ce("svg",hZ,[...t[0]||(t[0]=[m("g",{"data-v-177a576f":""},[m("path",{fill:"white",d:"M25.7 2 24.2.6l-11 11-11-11L.8 2l11 11-11 11 1.4 1.4 11-11 11 11 1.5-1.4-11-11z"}),m("circle",{fill:"transparent",cx:"13",cy:"13",r:"13"})],-1)])])}const vZ=Object.assign(bt(pZ,[["render",mZ]]),{__name:"IconsModalClose"});function Oc(e){return zi()?(As(e),!0):!1}const Jg=new WeakMap,gZ=(...e)=>{var t;const n=e[0],r=(t=kt())==null?void 0:t.proxy;if(r==null&&!Bl())throw new Error("injectLocal must be called in setup");return r&&Jg.has(r)&&n in Jg.get(r)?Jg.get(r)[n]:Kt(...e)};function yZ(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function _Z(e){if(!lt(e))return on(e);const t=new Proxy({},{get(n,r,o){return S(Reflect.get(e.value,r,o))},set(n,r,o){return lt(e.value[r])&&!lt(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return on(t)}function bZ(e){return _Z(N(e))}function Pde(e,...t){const n=t.flat(),r=n[0];return bZ(()=>Object.fromEntries(typeof r=="function"?Object.entries(Pn(e)).filter(([o,i])=>!r(_e(i),o)):Object.entries(Pn(e)).filter(o=>!n.includes(o[0]))))}const Qd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wZ=e=>typeof e<"u",xM=e=>e!=null,kZ=Object.prototype.toString,EZ=e=>kZ.call(e)==="[object Object]",pr=()=>{},SZ=CZ();function CZ(){var e,t;return Qd&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Dw(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const TM=e=>e();function DZ(e,t={}){let n,r,o=pr;const i=l=>{clearTimeout(l),o(),o=pr};let s;return l=>{const u=_e(e),c=_e(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((f,p)=>{o=t.rejectOnCancel?p:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=null,f(l())},u)})}}function xZ(...e){let t=0,n,r=!0,o=pr,i,s,a,l,u;!lt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=pr)};return p=>{const d=_e(s),h=Date.now()-t,v=()=>i=p();return c(),d<=0?(t=Date.now(),v()):(h>d&&(l||!r)?(t=Date.now(),v()):a&&(i=new Promise((g,b)=>{o=u?b:g,n=setTimeout(()=>{t=Date.now(),r=!0,g(v()),c()},Math.max(0,d-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,d)),r=!1,i)}}function TZ(e=TM,t={}){const{initialState:n="active"}=t,r=MZ(n==="active");function o(){r.value=!1}function i(){r.value=!0}return{isActive:ci(r),pause:o,resume:i,eventFilter:(...a)=>{r.value&&e(...a)}}}function AZ(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const OZ=/-(\w)/g,PZ=AZ(e=>e.replace(OZ,(t,n)=>n?n.toUpperCase():""));function hD(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function RZ(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function IZ(e,t){var n;if(typeof e=="number")return e+t;
8const r=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",o=e.slice(r.length),i=Number.parseFloat(r)+t;return Number.isNaN(i)?e:i+o}function Gf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function $Z(e){return kt()}function Yf(e){return Array.isArray(e)?e:[e]}function MZ(...e){if(e.length!==1)return Rs(...e);const t=e[0];return typeof t=="function"?ci(_c(()=>({get:t,set:pr}))):ne(t)}function FZ(e,t=200,n={}){return Dw(DZ(t,n),e)}function LZ(e,t=200,n=!1,r=!0,o=!1){return Dw(xZ(t,n,r,o),e)}function NZ(e,t,n={}){const{eventFilter:r=TM,...o}=n;return Ie(e,Dw(r,t),o)}function BZ(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=TZ(r,{initialState:o});return{stop:NZ(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Iv(e,t=!0,n){$Z()?_t(e,n):t?e():it(e)}function C0(e,t=!1){function n(f,{flush:p="sync",deep:d=!1,timeout:h,throwOnTimeout:v}={}){let g=null;const y=[new Promise(w=>{g=Ie(e,_=>{f(_)!==t&&(g?g():it(()=>g?.()),w(_))},{flush:p,deep:d,immediate:!0})})];return h!=null&&y.push(hD(h,v).then(()=>_e(e)).finally(()=>g?.())),Promise.race(y)}function r(f,p){if(!lt(f))return n(_=>_===f,p);const{flush:d="sync",deep:h=!1,timeout:v,throwOnTimeout:g}=p??{};let b=null;const w=[new Promise(_=>{b=Ie([e,f],([k,C])=>{t!==(k===C)&&(b?b():it(()=>b?.()),_(k))},{flush:d,deep:h,immediate:!0})})];return v!=null&&w.push(hD(v,g).then(()=>_e(e)).finally(()=>(b?.(),_e(e)))),Promise.race(w)}function o(f){return n(p=>!!p,f)}function i(f){return r(null,f)}function s(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,p){return n(d=>{const h=Array.from(d);return h.includes(f)||h.includes(_e(f))},p)}function u(f){return c(1,f)}function c(f=1,p){let d=-1;return n(()=>(d+=1,d>=f),p)}return Array.isArray(_e(e))?{toMatch:n,toContains:l,changed:u,changedTimes:c,get not(){return C0(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:i,toBeNaN:a,toBeUndefined:s,changed:u,changedTimes:c,get not(){return C0(e,!t)}}}function Rde(e){return C0(e)}function jZ(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=yt(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...c)},_e(t))}return r&&(i.value=!0,Qd&&u()),Oc(l),{isPending:ci(i),start:u,stop:l}}function qZ(e,t,n){return Ie(e,t,{...n,immediate:!0})}function Ide(e={}){const{inheritAttrs:t=!0}=e,n=yt(),r=ge({setup(i,{slots:s}){return()=>{n.value=s.default}}}),o=ge({inheritAttrs:t,props:e.props,setup(i,{attrs:s,slots:a}){return()=>{var l;n.value;const u=(l=n.value)==null?void 0:l.call(n,{...e.props==null?VZ(s):i,$slots:a});return t&&u?.length===1?u[0]:u}}});return yZ({define:r,reuse:o},[r,o])}function VZ(e){const t={};for(const n in e)t[PZ(n)]=e[n];return t}const gi=Qd?window:void 0,UZ=Qd?window.document:void 0,xw=Qd?window.navigator:void 0;function gr(e){var t;const n=_e(e);return(t=n?.$el)!=null?t:n}function nr(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=N(()=>{const a=Yf(_e(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=qZ(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>gr(u)))!=null?l:[gi].filter(u=>u!=null),Yf(_e(o.value?e[1]:e[0])),Yf(S(o.value?e[2]:e[1])),_e(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!a?.length||!l?.length||!u?.length)return;const f=EZ(c)?{...c}:c;t.push(...a.flatMap(p=>l.flatMap(d=>u.map(h=>r(p,d,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Oc(n),s}let mD=!1;function $de(e,t,n={}){const{window:r=gi,ignore:o=[],capture:i=!0,detectIframe:s=!1,controls:a=!1}=n;if(!r)return a?{stop:pr,cancel:pr,trigger:pr}:pr;if(SZ&&!mD){mD=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(b=>nr(b,"click",pr,g)),nr(r.document.documentElement,"click",pr,g)}let l=!0;const u=g=>_e(o).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(y=>y===g.target||g.composedPath().includes(y));{const y=gr(b);return y&&(g.target===y||g.composedPath().includes(y))}});function c(g){const b=_e(g);return b&&b.$.subTree.shapeFlag===16}function f(g,b){const y=_e(g),w=y.$.subTree&&y.$.subTree.children;return w==null||!Array.isArray(w)?!1:w.some(_=>_.el===b.target||b.composedPath().includes(_.el))}const p=g=>{const b=gr(e);if(g.target!=null&&!(!(b instanceof Element)&&c(e)&&f(e,g))&&!(!b||b===g.target||g.composedPath().includes(b))){if("detail"in g&&g.detail===0&&(l=!u(g)),!l){l=!0;return}t(g)}};let d=!1;const h=[nr(r,"click",g=>{d||(d=!0,setTimeout(()=>{d=!1},0),p(g))},{passive:!0,capture:i}),nr(r,"pointerdown",g=>{const b=gr(e);l=!u(g)&&!!(b&&!g.composedPath().includes(b))},{passive:!0}),s&&nr(r,"blur",g=>{setTimeout(()=>{var b;const y=gr(e);((b=r.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(g)},0)},{passive:!0}
8)].filter(Boolean),v=()=>h.forEach(g=>g());return a?{stop:v,cancel:()=>{l=!1},trigger:g=>{l=!0,p(g),l=!1}}:v}function HZ(){const e=yt(!1),t=kt();return t&&_t(()=>{e.value=!0},t),e}function ja(e){const t=HZ();return N(()=>(t.value,!!e()))}function WZ(e,t,n={}){const{window:r=gi,...o}=n;let i;const s=ja(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=N(()=>{const p=_e(e),d=Yf(p).map(gr).filter(xM);return new Set(d)}),u=Ie(()=>l.value,p=>{a(),s.value&&p.size&&(i=new MutationObserver(t),p.forEach(d=>i.observe(d,o)))},{immediate:!0,flush:"post"}),c=()=>i?.takeRecords(),f=()=>{u(),a()};return Oc(f),{isSupported:s,stop:f,takeRecords:c}}function zZ(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function AM(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=gi,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=zZ(t);return nr(o,i,c=>{c.repeat&&_e(a)||l(c)&&n(c)},s)}function Mde(e,t=null){const n=kt();let r=()=>{};const o=_c((i,s)=>(r=s,{get(){var a,l;return i(),(l=(a=n?.proxy)==null?void 0:a.$refs[e])!=null?l:t},set(){}}));return Iv(r),Vd(r),o}const KZ=Symbol("vueuse-ssr-width");function OM(){const e=Bl()?gZ(KZ,null):null;return typeof e=="number"?e:void 0}function Xc(e,t={}){const{window:n=gi,ssrWidth:r=OM()}=t,o=ja(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=yt(typeof r=="number"),s=yt(),a=yt(!1),l=u=>{a.value=u.matches};return Pt(()=>{if(i.value){i.value=!o.value;const u=_e(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),p=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(p||d);return p&&h&&(h=r>=Gf(p[1])),d&&h&&(h=r<=Gf(d[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(_e(e)),a.value=s.value.matches)}),nr(s,"change",l,{passive:!0}),N(()=>a.value)}function Fde(e,t={}){function n(d,h){let v=_e(e[_e(d)]);return h!=null&&(v=IZ(v,h)),typeof v=="number"&&(v=`${v}px`),v}const{window:r=gi,strategy:o="min-width",ssrWidth:i=OM()}=t,s=typeof i=="number",a=s?yt(!1):{value:!0};s&&Iv(()=>a.value=!!r);function l(d,h){return!a.value&&s?d==="min"?i>=Gf(h):i<=Gf(h):r?r.matchMedia(`(${d}-width: ${h})`).matches:!1}const u=d=>Xc(()=>`(min-width: ${n(d)})`,t),c=d=>Xc(()=>`(max-width: ${n(d)})`,t),f=Object.keys(e).reduce((d,h)=>(Object.defineProperty(d,h,{get:()=>o==="min-width"?u(h):c(h),enumerable:!0,configurable:!0}),d),{});function p(){const d=Object.keys(e).map(h=>[h,f[h],Gf(n(h))]).sort((h,v)=>h[2]-v[2]);return N(()=>d.filter(([,h])=>h.value).map(([h])=>h))}return Object.assign(f,{greaterOrEqual:u,smallerOrEqual:c,greater(d){return Xc(()=>`(min-width: ${n(d,.1)})`,t)},smaller(d){return Xc(()=>`(max-width: ${n(d,-.1)})`,t)},between(d,h){return Xc(()=>`(min-width: ${n(d)}) and (max-width: ${n(h,-.1)})`,t)},isGreater(d){return l("min",n(d,.1))},isGreaterOrEqual(d){return l("min",n(d))},isSmaller(d){return l("max",n(d,-.1))},isSmallerOrEqual(d){return l("max",n(d))},isInBetween(d,h){return l("min",n(d))&&l("max",n(h,-.1))},current:p,active(){const d=p();return N(()=>d.value.length===0?"":d.value.at(o==="min-width"?-1:0))}})}function vD(e,t={}){const{controls:n=!1,navigator:r=xw}=t,o=ja(()=>r&&"permissions"in r),i=yt(),s=typeof e=="string"?{name:e}:e,a=yt(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};nr(i,"change",l,{passive:!0});const u=RZ(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return Ot(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function Lde(e={}){const{navigator:t=xw,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=ja(()=>t&&"clipboard"in t),a=vD("clipboard-read"),l=vD("clipboard-write"),u=N(()=>s.value||i),c=yt(""),f=yt(!1),p=jZ(()=>f.value=!1,o,{immediate:!1});async function d(){let y=!(s.value&&b(a.value));if(!y)try{c.value=await t.clipboard.readText()}catch{y=!0}y&&(c.value=g())}u.value&&n&&nr(["copy","cut"],d,{passive:!0});async function h(y=_e(r)){if(u.value&&y!=null){let w=!(s.value&&b(l.value));if(!w)try{await t.clipboard.writeText(y)}catch{w=!0}w&&v(y),c.value=y,f.value=!0,p.start()}}function v(y){const w=document.createElement("textarea");w.value=y??"",w.style.position="absolute",w.style.opacity="0",document.body.appendChild(w),w.select(),document.execCommand("copy"),w.remove()}function g(){var y,w,_;return(_=(w=(y=document?.getSelection)==null?void 0:y.call(document))==null?void 0:w.toString())!=null?_:""}function b(y){return y==="granted"||y==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}function GZ(e){return JSON.parse(JSON.stringify(e))}function YZ(e,t,n={}){const{window:r=gi,...o}=n;let i;const s=ja(()=>r&&"ResizeObserver"in r),a=()=>
8{i&&(i.disconnect(),i=void 0)},l=N(()=>{const f=_e(e);return Array.isArray(f)?f.map(p=>gr(p)):[gr(f)]}),u=Ie(l,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const p of f)p&&i.observe(p,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Oc(c),{isSupported:s,stop:c}}function Nde(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=yt(0),l=yt(0),u=yt(0),c=yt(0),f=yt(0),p=yt(0),d=yt(0),h=yt(0);function v(){const b=gr(e);if(!b){n&&(a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,p.value=0,d.value=0,h.value=0);return}const y=b.getBoundingClientRect();a.value=y.height,l.value=y.bottom,u.value=y.left,c.value=y.right,f.value=y.top,p.value=y.width,d.value=y.x,h.value=y.y}function g(){s==="sync"?v():s==="next-frame"&&requestAnimationFrame(()=>v())}return YZ(e,g),Ie(()=>gr(e),b=>!b&&g()),WZ(e,g,{attributeFilter:["style","class"]}),o&&nr("scroll",g,{capture:!0,passive:!0}),r&&nr("resize",g,{passive:!0}),Iv(()=>{i&&g()}),{height:a,bottom:l,left:u,right:c,top:f,width:p,x:d,y:h,update:g}}function Bde(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=0,window:s=gi,immediate:a=!0}=n,l=ja(()=>s&&"IntersectionObserver"in s),u=N(()=>{const h=_e(e);return Yf(h).map(gr).filter(xM)});let c=pr;const f=yt(a),p=l.value?Ie(()=>[u.value,gr(r),f.value],([h,v])=>{if(c(),!f.value||!h.length)return;const g=new IntersectionObserver(t,{root:gr(v),rootMargin:o,threshold:i});h.forEach(b=>b&&g.observe(b)),c=()=>{g.disconnect(),c=pr}},{immediate:a,flush:"post"}):pr,d=()=>{c(),p(),f.value=!1};return Oc(d),{isSupported:l,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:d}}const gD=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function jde(e,t={}){const{document:n=UZ,autoExit:r=!1}=t,o=N(()=>{var y;return(y=gr(e))!=null?y:n?.documentElement}),i=yt(!1),s=N(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),a=N(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),l=N(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),c=ja(()=>o.value&&n&&s.value!==void 0&&a.value!==void 0&&l.value!==void 0),f=()=>u?n?.[u]===o.value:!1,p=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const y=o.value;if(y?.[l.value]!=null)return!!y[l.value]}}return!1};async function d(){if(!(!c.value||!i.value)){if(a.value)if(n?.[a.value]!=null)await n[a.value]();else{const y=o.value;y?.[a.value]!=null&&await y[a.value]()}i.value=!1}}async function h(){if(!c.value||i.value)return;p()&&await d();const y=o.value;s.value&&y?.[s.value]!=null&&(await y[s.value](),i.value=!0)}async function v(){await(i.value?d():h())}const g=()=>{const y=p();(!y||y&&f())&&(i.value=y)},b={capture:!1,passive:!0};return nr(n,gD,g,b),nr(()=>gr(o),gD,g,b),r&&Oc(d),{isSupported:c,isFullscreen:i,enter:h,exit:d,toggle:v}}const yD=1;function XZ(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=pr,onScroll:i=pr,offset:s={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:l="auto",window:u=gi,onError:c=E=>{console.error(E)}}=t,f=yt(0),p=yt(0),d=N({get(){return f.value},set(E){v(E,void 0)}}),h=N({get(){return p.value},set(E){v(void 0,E)}});function v(E,D){var T,x,O,A;if(!u)return;const V=_e(e);
8if(!V)return;(O=V instanceof Document?u.document.body:V)==null||O.scrollTo({top:(T=_e(D))!=null?T:h.value,left:(x=_e(E))!=null?x:d.value,behavior:_e(l)});const re=((A=V?.document)==null?void 0:A.documentElement)||V?.documentElement||V;d!=null&&(f.value=re.scrollLeft),h!=null&&(p.value=re.scrollTop)}const g=yt(!1),b=on({left:!0,right:!1,top:!0,bottom:!1}),y=on({left:!1,right:!1,top:!1,bottom:!1}),w=E=>{g.value&&(g.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,o(E))},_=FZ(w,n+r),k=E=>{var D;if(!u)return;const T=((D=E?.document)==null?void 0:D.documentElement)||E?.documentElement||gr(E),{display:x,flexDirection:O,direction:A}=getComputedStyle(T),V=A==="rtl"?-1:1,re=T.scrollLeft;y.left=re<f.value,y.right=re>f.value;const pe=Math.abs(re*V)<=(s.left||0),G=Math.abs(re*V)+T.clientWidth>=T.scrollWidth-(s.right||0)-yD;x==="flex"&&O==="row-reverse"?(b.left=G,b.right=pe):(b.left=pe,b.right=G),f.value=re;let K=T.scrollTop;E===u.document&&!K&&(K=u.document.body.scrollTop),y.top=K<p.value,y.bottom=K>p.value;const z=Math.abs(K)<=(s.top||0),be=Math.abs(K)+T.clientHeight>=T.scrollHeight-(s.bottom||0)-yD;x==="flex"&&O==="column-reverse"?(b.top=be,b.bottom=z):(b.top=z,b.bottom=be),p.value=K},C=E=>{var D;if(!u)return;const T=(D=E.target.documentElement)!=null?D:E.target;k(T),g.value=!0,_(E),i(E)};return nr(e,"scroll",n?LZ(C,n,!0,!1):C,a),Iv(()=>{try{const E=_e(e);if(!E)return;k(E)}catch(E){c(E)}}),nr(e,"scrollend",w,a),{x:d,y:h,isScrolling:g,arrivedState:b,directions:y,measure(){const E=_e(e);u&&E&&k(E)}}}function qde(e={},t={}){const{navigator:n=xw}=t,r=n,o=ja(()=>r&&"canShare"in r);return{isSupported:o,share:async(s={})=>{if(o.value){const a={..._e(e),..._e(s)};let l=!0;if(a.files&&r.canShare&&(l=r.canShare({files:a.files})),l)return r.share(a)}}}}function Vde(e="history",t={}){const{initialValue:n={},removeNullishValues:r=!0,removeFalsyValues:o=!1,write:i=!0,writeMode:s="replace",window:a=gi}=t;if(!a)return on(n);const l=on({});function u(){if(e==="history")return a.location.search||"";if(e==="hash"){const w=a.location.hash||"",_=w.indexOf("?");return _>0?w.slice(_):""}else return(a.location.hash||"").replace(/^#/,"")}function c(w){const _=w.toString();if(e==="history")return`${_?`?${_}`:""}${a.location.hash||""}`;if(e==="hash-params")return`${a.location.search||""}${_?`#${_}`:""}`;const k=a.location.hash||"#",C=k.indexOf("?");return C>0?`${a.location.search||""}${k.slice(0,C)}${_?`?${_}`:""}`:`${a.location.search||""}${k}${_?`?${_}`:""}`}function f(){return new URLSearchParams(u())}function p(w){const _=new Set(Object.keys(l));for(const k of w.keys()){const C=w.getAll(k);l[k]=C.length>1?C:w.get(k)||"",_.delete(k)}Array.from(_).forEach(k=>delete l[k])}const{pause:d,resume:h}=BZ(l,()=>{const w=new URLSearchParams("");Object.keys(l).forEach(_=>{const k=l[_];Array.isArray(k)?k.forEach(C=>w.append(_,C)):r&&k==null||o&&!k?w.delete(_):w.set(_,k)}),v(w,!1)},{deep:!0});function v(w,_){d(),_&&p(w),s==="replace"?a.history.replaceState(a.history.state,a.document.title,a.location.pathname+c(w)):a.history.pushState(a.history.state,a.document.title,a.location.pathname+c(w)),h()}function g(){i&&v(f(),!0)}const b={passive:!0};nr(a,"popstate",g,b),e!=="history"&&nr(a,"hashchange",g,b);const y=f();return y.keys().next().value?p(y):Object.assign(l,n),l}function Ude(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:p}=r,d=kt(),h=n||d?.emit||((o=d?.$emit)==null?void 0:o.bind(d))||((s=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(d?.proxy));let v=u;t||(t="modelValue"),v=v||`update:${t.toString()}`;const g=w=>a?typeof a=="function"?a(w):GZ(w):w,b=()=>wZ(e[t])?g(e[t]):f,y=w=>{p?p(w)&&h(v,w):h(v,w)};if(l){const w=b(),_=ne(w);let k=!1;return Ie(()=>e[t],C=>{k||(k=!0,_.value=g(C),it(()=>k=!1))}),Ie(_,C=>{!k&&(C!==e[t]||c)&&y(C)},{deep:c}),_}else return N({get(){return b()},set(w){y(w)}})}function Hde(e={}){const{window:t=gi,...n}=e;return XZ(t,n)}const QZ={class:Qe(["modalContainer"])},ZZ=["src"],JZ=ge({__name:"AppVideoModal",props:{videoURL:{type:String,required:!0}},emits:["closeModal"],setup(e,{emit:t}){const n=t,r=e;return _t(()=>{console.log("modalOpen"),document.body.style.overflow="hidden"}),Lr(()=>{document.body.style.overflow="auto"}),AM("Escape",o=>{n("closeModal")}),(o,i)=>{const s=vZ;return R(),ce("div",QZ,[m("div",{class:Qe(o.$style.modalContent)},[m("div",{class:Qe(o.$style.close),onClick:i[0]||(i[0]=a=>o.$emit("closeModal"))},[W(s)],2),m("iframe",{allowfullscreen:"",allow:"autoplay; fullscreen; picture-in-picture",src:`https://player.vimeo.com/video/${r.videoURL}?autoplay=1`,"data-ot-ignore":"",frameborder:"0",class:Qe(o.$style.videoContainer)},null,10,ZZ)],2)])}}}),eJ="_close_1sq9y_2",tJ="_modalContent_1sq9y_13",nJ="_videoContainer_1sq9y_25",rJ={close:eJ,modalContent:tJ,videoContainer:nJ},oJ={$style:rJ},PM=Object.assign(bt(JZ,[["__cssModules",oJ],["__scopeId","data-v-02491b0b"]]),{__name:"AppVideoModal"}),iJ=ge({__name:"PlayVideoButton",props:{label:{type:String,default:"Play Video"},onHero:{type:Boolean,default:!1},videoId:{type:String,required:!0},buttonType:{type:String,default:"icon"},buttonVariant:{type:String,default:"primary"}},setup(e){const t=ne(!1),n=e,r=ne(!1);return(o,i)=>{const s=QQ,a=tZ,l=DM,u=PM,c=ew;return R(),ce(Je,null,[n.buttonType===null||n.buttonType==="icon"?(R(),ce("button",{key:0,class:Qe([o.$style.button,n.onHero?o.$style.onHero:""]),onMouseenter:i[0]||(i[0]=f=>t.value=!0),onMouseleave:i[1]||(i[1]=f=>t.value=!1),onClick:i[2]||(i[2]=Rr(f=>r.value=!0,["prevent"]))},[S(t)?(R(),ie(s,{key:0})):(R(),ie(a,{key:1})),qe(" "+L(n.label),1)],34)):(R(),ie(l,{key:1,ghost:n.buttonVariant==="secondary",onClick:i[3]||(i[3]=Rr(f=>r.value=!0,["prevent"])),label:n.label},null,8,["ghost","label"])),(R(),ie(jl,{to:"body"},[W(c,{hidden:{opacity:0}
8,duration:.3,appear:""},{default:J(()=>[S(r)?(R(),ce("div",{key:0,class:Qe(["components-scope",o.$style.modalTeleportRoot])},[W(u,{onCloseModal:i[4]||(i[4]=f=>r.value=!1),videoURL:e.videoId,"modal-open":S(r)},null,8,["videoURL","modal-open"])],2)):we("",!0)]),_:1})]))],64)}}}),sJ="_modalTeleportRoot_jztzq_2",aJ="_button_jztzq_8",lJ="_onHero_jztzq_21",uJ={modalTeleportRoot:sJ,button:aJ,onHero:lJ},cJ={$style:uJ},fJ=Object.assign(bt(iJ,[["__cssModules",cJ]]),{__name:"PlayVideoButton"}),dJ={class:"tableContainer"},pJ={class:"title"},hJ={class:"table vw-table"},mJ={class:"thead-dark"},vJ={scope:"col"},gJ={scope:"col"},yJ={scope:"col"},_J={class:"subhead",colspan:"3",scope:"row"},bJ={scope:"row"},wJ={scope:"row"},kJ={scope:"row"},EJ={scope:"row"},SJ={scope:"row"},CJ={class:"subhead",colspan:"3",scope:"row"},DJ={scope:"row"},xJ={scope:"row"},TJ={scope:"row"},AJ={class:"subhead",colspan:"3",scope:"row"},OJ={scope:"row"},PJ={scope:"row"},RJ={scope:"row"},IJ={scope:"row"},$J={scope:"row"},MJ={scope:"row"},FJ={scope:"row"},LJ={scope:"row"},NJ={scope:"row"},BJ={class:"subhead",colspan:"3",scope:"row"},jJ={scope:"row"},qJ={scope:"row"},VJ={scope:"row"},UJ={scope:"row"},HJ={scope:"row"},WJ={scope:"row"},zJ={class:"subhead",colspan:"3",scope:"row"},KJ={scope:"row"},GJ={scope:"row"},YJ={scope:"row"},XJ={scope:"row"},QJ={scope:"row"},ZJ={class:"subhead",colspan:"3",scope:"row"},JJ={scope:"row"},eee={scope:"row"},tee={scope:"row"},nee={scope:"row"},ree={scope:"row"},oee=ge({__name:"FeaturesTableArch",setup(e){const{locale:t,setLocale:n}=Vl(),r=no();return _t(()=>{r.params.locale&&n(r.params.locale)}),(o,i)=>(R(),ce("div",dJ,[m("h3",pJ,L(o.$t("importExport.importExportCapabilities")),1),m("table",hJ,[m("thead",mJ,[m("tr",null,[m("th",vJ,L(o.$t("importExport.tableHeaders.fileType")),1),m("th",gJ,L(o.$t("importExport.tableHeaders.import")),1),m("th",yJ,L(o.$t("importExport.tableHeaders.export")),1)])]),m("tbody",null,[m("tr",null,[m("th",_J,L(o.$t("importExport.categories.collaboration")),1)]),m("tr",null,[m("td",bJ,L(o.$t("importExport.fileTypes.dwgDxfDwf")),1),i[0]||(i[0]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[1]||(i[1]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",wJ,L(o.$t("importExport.fileTypes.pointCloud")),1),i[2]||(i[2]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[3]||(i[3]=m("td",null,null,-1))]),m("tr",null,[m("td",kJ,L(o.$t("importExport.fileTypes.pdf")),1),i[4]||(i[4]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[5]||(i[5]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",EJ,L(o.$t("importExport.fileTypes.pdfA")),1),i[6]||(i[6]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[7]||(i[7]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",SJ,L(o.$t("importExport.fileTypes.3dPdf")),1),i[8]||(i[8]=m("td",null,null,-1)),i[9]||(i[9]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",CJ,L(o.$t("importExport.categories.bimModelExchange")),1)]),m("tr",null,[m("td",DJ,L(o.$t("importExport.fileTypes.ifcIndustryFoundationClasses")),1),i[10]||(i[10]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[11]||(i[11]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",xJ,L(o.$t("importExport.fileTypes.rvtRfa")),1),i[12]||(i[12]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[13]||(i[13]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",TJ,L(o.$t("importExport.fileTypes.bcf")),1),i[14]||(i[14]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[15]||(i[15]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",AJ,L(o.$t("importExport.categories.generalModelExchange")),1)]),m("tr",null,[m("td",OJ,L(o.$t("importExport.fileTypes.parasolidXT")),1),i[16]||(i[16]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[17]||(i[17]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",PJ,L(o.$t("importExport.fileTypes.fbx")),1),i[18]||(i[18]=m("td",null,null,-1)),i[19]||(i[19]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",RJ,L(o.$t("importExport.fileTypes.obj")),1),i[20]||(i[20]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[21]||(i[21]=m("td",null,null,-1))]),m("tr",null,[m("td",IJ,L(o.$t("importExport.fileTypes.3ds")),1),i[22]||(i[22]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[23]||(i[23]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",$J,L(o.$t("importExport.fileTypes.rhino3dm")),1),i[24]||(i[24]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"}
8)],-1)),i[25]||(i[25]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",MJ,L(o.$t("importExport.fileTypes.collada")),1),i[26]||(i[26]=m("td",null,null,-1)),i[27]||(i[27]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",FJ,L(o.$t("importExport.fileTypes.sketchUpSkp")),1),i[28]||(i[28]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[29]||(i[29]=m("td",null,null,-1))]),m("tr",null,[m("td",LJ,L(o.$t("importExport.fileTypes.pythonScript")),1),i[30]||(i[30]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[31]||(i[31]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",NJ,L(o.$t("importExport.fileTypes.universalSceneDescriptionUSD")),1),i[32]||(i[32]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[33]||(i[33]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",BJ,L(o.$t("importExport.categories.renderingPresentation")),1)]),m("tr",null,[m("td",jJ,L(o.$t("importExport.fileTypes.mov")),1),i[34]||(i[34]=m("td",null,null,-1)),i[35]||(i[35]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",qJ,L(o.$t("importExport.fileTypes.imageFilesGifBmpTiffJpgPng")),1),i[36]||(i[36]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[37]||(i[37]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",VJ,L(o.$t("importExport.fileTypes.hdr")),1),i[38]||(i[38]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[39]||(i[39]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",UJ,L(o.$t("importExport.fileTypes.photoshopPsd")),1),i[40]||(i[40]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[41]||(i[41]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",HJ,L(o.$t("importExport.fileTypes.illustratorEps")),1),i[42]||(i[42]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[43]||(i[43]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",WJ,L(o.$t("importExport.fileTypes.cinema4DC4D")),1),i[44]||(i[44]=m("td",null,null,-1)),i[45]||(i[45]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",zJ,L(o.$t("importExport.categories.fabrication")),1)]),m("tr",null,[m("td",KJ,L(o.$t("importExport.fileTypes.iges")),1),i[46]||(i[46]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[47]||(i[47]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",GJ,L(o.$t("importExport.fileTypes.step")),1),i[48]||(i[48]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[49]||(i[49]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",YJ,L(o.$t("importExport.fileTypes.sat")),1),i[50]||(i[50]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[51]||(i[51]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",XJ,L(o.$t("importExport.fileTypes.stl")),1),i[52]||(i[52]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[53]||(i[53]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",QJ,L(o.$t("importExport.fileTypes.dxf")),1),i[54]||(i[54]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[55]||(i[55]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",ZJ,L(o.$t("importExport.categories.dataExchangeAnalysis")),1)]),m("tr",null,[m("td",JJ,L(o.$t("importExport.fileTypes.gisShp")),1),i[56]||(i[56]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[57]||(i[57]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",eee,L(o.$t("importExport.fileTypes.gbXml")),1),i[58]||(i[58]=m("td",null,null,-1)),i[59]||(i[59]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",tee,L(o.$t("importExport.fileTypes.csv")),1),i[60]||(i[60]=m("td",null,null,-1)),i[61]||(i[61]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",nee,L(o.$t("importExport.fileTypes.kml")),1),i[62]||(i[62]=m("td",null,null,-1)),i[63]||(i[63]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ree,L(o.$t("importExport.fileTypes.excelXlsXlsx")),1),i[64]||(i[64]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[65]||(i[65]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))])])])]))}}),iee=Object.assign(bt(oee,[["__scopeId","data-v-2664e1b9"]]),{__name:"PageBlocksBaseBlocksFeaturesTableArch"}),see={class:"tableContainer"},aee={class:"title"},lee={class:"table vw-table"},uee={class:"thead-dark"},cee={scope:"col"},fee={scope:"col"},dee={scope:"col"},pee={class:"subhead",colspan:"3",scope:"row"},hee={scope:"row"},mee={scope:"row"},vee={scope:"row"},gee={scope:"row"},yee={scope:"row"},_ee={class:"subhead",colspan:"3",scope:"row"},bee={scope:"row"},wee={scope:"row"},kee={scope:"row"},Eee={class:"subhead",colspan:"3",scope:"row"},See={scope:"row"},Cee={scope:"row"},Dee={scope:"row"},xee={scope:"row"},Tee={scope:"row"},Aee={scope:"row"},Oee={scope:"row"},Pee={scope:"row"},Ree={scope:"row"},Iee={class:"subhead",colspan:"3",scope:"row"},$ee={scope:"row"},Mee={scope:"row"},Fee={scope:"row"},Lee={scope:"row"},Nee={scope:"row"},Bee={scope:"row"},jee={class:"subhead",colspan:"3",scope:"row"},qee={scope:"row"},Vee={scope:"row"},Uee={scope:"row"},Hee={scope:"row"},Wee={scope:"row"},zee={class:"subhead",colspan:"3",scope:"row"},Kee={scope:"row"},Gee={scope:"row"},Yee={scope:"row"},Xee={scope:"row"},Qee={class:"subhead",colspan:"3",scope:"row"},Zee={scope:"row"},Jee={scope:"row"},ete={scope:"row"},tte={scope:"row"},nte={scope:"row"},rte={scope:"row"},ote={scope:"row"},ite={scope:"row"},ste={scope:"row"},ate={scope:"row"},lte={scope:"row"},ute={scope:"row"},cte={scope:"row"},fte={class:"subhead",colspan:"3",scope:"row"},dte={scope:"row"},pte={scope:"row"},hte={scope:"row"},mte={scope:"row"},vte={class:"subhead",colspan:"3",scope:"row"},gte={scope:"row"},yte={class:"subhead",colspan:"3",scope:"row"},_te={scope:"row"},bte={scope:"row"},wte={scope:"row"},kte={scope:"row"},Ete={scope:"row"},Ste={scope:"row"},Cte=ge({__name:"FeaturesTableEnt",setup(e){const{locale:t,setLocale:n}=Vl(),r=no();return _t(()=>{r.params.locale&&n(r.params.locale)}),(o,i)=>(R(),ce("div",see,[m("h3",aee,L(o.$t("importExport.importExportCapabilities")),1),m("table",lee,[m("thead",uee,[m("tr",null,[m("th",cee,L(o.$t("importExport.tableHeaders.fileType")),1),m("th",fee,
8L(o.$t("importExport.tableHeaders.import")),1),m("th",dee,L(o.$t("importExport.tableHeaders.export")),1)])]),m("tbody",null,[m("tr",null,[m("th",pee,L(o.$t("importExport.categories.collaboration")),1)]),m("tr",null,[m("td",hee,L(o.$t("importExport.fileTypes.dwgDxfDwf")),1),i[0]||(i[0]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[1]||(i[1]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",mee,L(o.$t("importExport.fileTypes.pointCloud")),1),i[2]||(i[2]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[3]||(i[3]=m("td",null,null,-1))]),m("tr",null,[m("td",vee,L(o.$t("importExport.fileTypes.pdf")),1),i[4]||(i[4]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[5]||(i[5]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",gee,L(o.$t("importExport.fileTypes.pdfA")),1),i[6]||(i[6]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[7]||(i[7]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",yee,L(o.$t("importExport.fileTypes.3dPdf")),1),i[8]||(i[8]=m("td",null,null,-1)),i[9]||(i[9]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",_ee,L(o.$t("importExport.categories.bimModelExchange")),1)]),m("tr",null,[m("td",bee,L(o.$t("importExport.fileTypes.ifcIndustryFoundationClasses")),1),i[10]||(i[10]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[11]||(i[11]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",wee,L(o.$t("importExport.fileTypes.rvtRfa")),1),i[12]||(i[12]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[13]||(i[13]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",kee,L(o.$t("importExport.fileTypes.bcf")),1),i[14]||(i[14]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[15]||(i[15]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",Eee,L(o.$t("importExport.categories.generalModelExchange")),1)]),m("tr",null,[m("td",See,L(o.$t("importExport.fileTypes.parasolidXT")),1),i[16]||(i[16]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[17]||(i[17]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Cee,L(o.$t("importExport.fileTypes.fbx")),1),i[18]||(i[18]=m("td",null,null,-1)),i[19]||(i[19]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Dee,L(o.$t("importExport.fileTypes.obj")),1),i[20]||(i[20]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[21]||(i[21]=m("td",null,null,-1))]),m("tr",null,[m("td",xee,L(o.$t("importExport.fileTypes.3ds")),1),i[22]||(i[22]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[23]||(i[23]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Tee,L(o.$t("importExport.fileTypes.rhino3dm")),1),i[24]||(i[24]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[25]||(i[25]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Aee,L(o.$t("importExport.fileTypes.collada")),1),i[26]||(i[26]=m("td",null,null,-1)),i[27]||(i[27]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Oee,L(o.$t("importExport.fileTypes.sketchUpSkp")),1),i[28]||(i[28]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[29]||(i[29]=m("td",null,null,-1))]),m("tr",null,[m("td",Pee,L(o.$t("importExport.fileTypes.pythonScript")),1),i[30]||(i[30]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[31]||(i[31]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Ree,L(o.$t("importExport.fileTypes.universalSceneDescriptionUSD")),1),i[32]||(i[32]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[33]||(i[33]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",Iee,L(o.$t("importExport.categories.renderingPresentation")),1)]),m("tr",null,[m("td",$ee,L(o.$t("importExport.fileTypes.mov")),1),i[34]||(i[34]=m("td",null,null,-1)),i[35]||(i[35]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Mee,L(o.$t("importExport.fileTypes.imageFilesGifBmpTiffJpgPng")),1),i[36]||(i[36]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[37]||(i[37]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Fee,L(o.$t("importExport.fileTypes.hdr")),1),i[38]||(i[38]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[39]||(i[39]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Lee,L(o.$t("importExport.fileTypes.photoshopPsd")),1),i[40]||(i[40]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[41]||(i[41]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Nee,L(o.$t("importExport.fileTypes.illustratorEps")),1),i[42]||(i[42]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[43]||(i[43]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Bee,L(o.$t("importExport.fileTypes.cinema4DC4D")),1),i[44]||(i[44]=m("td",null,null,-1)),i[45]||(i[45]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"}
8)],-1))]),m("tr",null,[m("th",jee,L(o.$t("importExport.categories.fabrication")),1)]),m("tr",null,[m("td",qee,L(o.$t("importExport.fileTypes.iges")),1),i[46]||(i[46]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[47]||(i[47]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Vee,L(o.$t("importExport.fileTypes.step")),1),i[48]||(i[48]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[49]||(i[49]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Uee,L(o.$t("importExport.fileTypes.sat")),1),i[50]||(i[50]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[51]||(i[51]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Hee,L(o.$t("importExport.fileTypes.stl")),1),i[52]||(i[52]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[53]||(i[53]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Wee,L(o.$t("importExport.fileTypes.dxf")),1),i[54]||(i[54]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[55]||(i[55]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",zee,L(o.$t("importExport.categories.dataExchangeAnalysis")),1)]),m("tr",null,[m("td",Kee,L(o.$t("importExport.fileTypes.gisShp")),1),i[56]||(i[56]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[57]||(i[57]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Gee,L(o.$t("importExport.fileTypes.gbXml")),1),i[58]||(i[58]=m("td",null,null,-1)),i[59]||(i[59]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Yee,L(o.$t("importExport.fileTypes.csv")),1),i[60]||(i[60]=m("td",null,null,-1)),i[61]||(i[61]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Xee,L(o.$t("importExport.fileTypes.kml")),1),i[62]||(i[62]=m("td",null,null,-1)),i[63]||(i[63]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",Qee,L(o.$t("importExport.categories.spotlight")),1)]),m("tr",null,[m("td",Zee,L(o.$t("importExport.fileTypes.sendToVisionEsc")),1),i[64]||(i[64]=m("td",null,null,-1)),i[65]||(i[65]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Jee,L(o.$t("importExport.fileTypes.dataExchangeWithLightwrightXml")),1),i[66]||(i[66]=m("td",null,null,-1)),i[67]||(i[67]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ete,L(o.$t("importExport.fileTypes.mvr")),1),i[68]||(i[68]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[69]||(i[69]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",tte,L(o.$t("importExport.fileTypes.movSpotlight")),1),i[70]||(i[70]=m("td",null,null,-1)),i[71]||(i[71]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",nte,L(o.$t("importExport.fileTypes.last5VersionsOfVwx")),1),i[72]||(i[72]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[73]||(i[73]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",rte,L(o.$t("importExport.fileTypes.gdtf")),1),i[74]||(i[74]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[75]||(i[75]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ote,L(o.$t("importExport.fileTypes.asciiPatchData")),1),i[76]||(i[76]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[77]||(i[77]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ite,L(o.$t("importExport.fileTypes.hoistDataCsvTab")),1),i[78]||(i[78]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[79]||(i[79]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ste,L(o.$t("importExport.fileTypes.instrumentDataTxt")),1),i[80]||(i[80]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[81]||(i[81]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ate,L(o.$t("importExport.fileTypes.scriptTxtmPyVssVs")),1),i[82]||(i[82]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[83]||(i[83]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",lte,L(o.$t("importExport.fileTypes.panorama")),1
8),i[84]||(i[84]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[85]||(i[85]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ute,L(o.$t("importExport.fileTypes.webView")),1),i[86]||(i[86]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[87]||(i[87]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",cte,L(o.$t("importExport.fileTypes.vgx")),1),i[88]||(i[88]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[89]||(i[89]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",fte,L(o.$t("importExport.categories.vision")),1)]),m("tr",null,[m("td",dte,L(o.$t("importExport.fileTypes.v3s")),1),i[90]||(i[90]=m("td",null,null,-1)),i[91]||(i[91]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",pte,L(o.$t("importExport.fileTypes.3dsVision")),1),i[92]||(i[92]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[93]||(i[93]=m("td",null,null,-1))]),m("tr",null,[m("td",hte,L(o.$t("importExport.fileTypes.movVision")),1),i[94]||(i[94]=m("td",null,null,-1)),i[95]||(i[95]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",mte,L(o.$t("importExport.fileTypes.dmx")),1),i[96]||(i[96]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[97]||(i[97]=m("td",null,null,-1))]),m("tr",null,[m("th",vte,L(o.$t("importExport.categories.braceworks")),1)]),m("tr",null,[m("td",gte,L(o.$t("importExport.fileTypes.dtsv")),1),i[98]||(i[98]=m("td",null,null,-1)),i[99]||(i[99]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",yte,L(o.$t("importExport.categories.worksheets")),1)]),m("tr",null,[m("td",_te,L(o.$t("importExport.fileTypes.commaCsv")),1),i[100]||(i[100]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[101]||(i[101]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",bte,L(o.$t("importExport.fileTypes.tabDelimited")),1),i[102]||(i[102]=m("td",null,null,-1)),i[103]||(i[103]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",wte,L(o.$t("importExport.fileTypes.merge")),1),i[104]||(i[104]=m("td",null,null,-1)),i[105]||(i[105]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",kte,L(o.$t("importExport.fileTypes.dif")),1),i[106]||(i[106]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[107]||(i[107]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Ete,L(o.$t("importExport.fileTypes.sylk")),1),i[108]||(i[108]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[109]||(i[109]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Ste,L(o.$t("importExport.fileTypes.text")),1),i[110]||(i[110]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[111]||(i[111]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))])])])]))}}),Dte=Object.assign(bt(Cte,[["__scopeId","data-v-8087c8a4"]]),{__name:"PageBlocksBaseBlocksFeaturesTableEnt"}),xte={class:"tableContainer"},Tte={class:"title"},Ate={class:"table vw-table"},Ote={class:"thead-dark"},Pte={scope:"col"},Rte={scope:"col"},Ite={scope:"col"},$te={class:"subhead",colspan:"3",scope:"row"},Mte={scope:"row"},Fte={scope:"row"},Lte={class:"subhead",colspan:"3",scope:"row"},Nte={scope:"row"},Bte={scope:"row"},jte={scope:"row"},qte={scope:"row"},Vte={scope:"row"},Ute={scope:"row"},Hte={scope:"row"},Wte={class:"subhead",colspan:"3",scope:"row"},zte={scope:"row"},Kte={scope:"row"},Gte={scope:"row"},Yte={class:"subhead",colspan:"3",scope:"row"},Xte={scope:"row"},Qte={scope:"row"},Zte={scope:"row"},Jte={scope:"row"},ene={scope:"row"},tne={class:"subhead",colspan:"3",scope:"row"},nne={scope:"row"},rne={scope:"row"},one=ge({__name:"FeaturesTableFund",setup(e){const{locale:t,setLocale:n}=Vl(),r=no();return _t(()=>{r.params.locale&&n(r.params.locale)}),(o,i)=>(R(),ce("div",xte,[m("h3",Tte,L(o.$t("importExport.importExportCapabilities")),1),m("table",Ate,[m("thead",Ote,[m("tr",null,[m("th",Pte,L(o.$t("importExport.tableHeaders.fileType")),1),m("th",Rte,L(o.$t("importExport.tableHeaders.import")),1),m("th",Ite,L(o.$t("importExport.tableHeaders.export")),1)])]),m("tbody",null,[m("tr",null,[m("th",$te,L(o.$t("importExport.categories.collaboration")),1)]),m("tr",null,[m("td",Mte,L(o.$t("importExport.fileTypes.dwgDxfDwf")),1),i[0]||(i[0]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[1]||(i[1]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Fte,L(o.$t("importExport.fileTypes.pdf")),1),i[2]||(i[2]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[3]||(i[3]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",Lte,L(o.$t("importExport.categories.generalModelExchange")),1)]),m("tr",null,[m("td",Nte,L(o.$t("importExport.fileTypes.parasolidXT")),1),i[4]||(i[4]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[5]||(i[5]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Bte,L(o.$t("importExport.fileTypes.fbx")),1),i[6]||(i[6]=m("td",null,null,-1)),i[7]||(i[7]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",jte,L(o.$t("importExport.fileTypes.obj")),1),i[8]||(i[8]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[9]||(i[9]=m("td",null,null,-1))]),m("tr",null,[m("td",qte,L(o.$t("importExport.fileTypes.rhino3dm")),1),i[10]||(i[10]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[11]||(i[11]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"}
8)],-1))]),m("tr",null,[m("td",Vte,L(o.$t("importExport.fileTypes.collada")),1),i[12]||(i[12]=m("td",null,null,-1)),i[13]||(i[13]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Ute,L(o.$t("importExport.fileTypes.pythonScript")),1),i[14]||(i[14]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[15]||(i[15]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Hte,L(o.$t("importExport.fileTypes.universalSceneDescriptionUSD")),1),i[16]||(i[16]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[17]||(i[17]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",Wte,L(o.$t("importExport.categories.renderingPresentation")),1)]),m("tr",null,[m("td",zte,L(o.$t("importExport.fileTypes.imageFilesGifBmpTiffJpgPng")),1),i[18]||(i[18]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[19]||(i[19]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Kte,L(o.$t("importExport.fileTypes.hdrHdri")),1),i[20]||(i[20]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[21]||(i[21]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Gte,L(o.$t("importExport.fileTypes.cinema4DC4DTextures")),1),i[22]||(i[22]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[23]||(i[23]=m("td",null,null,-1))]),m("tr",null,[m("th",Yte,L(o.$t("importExport.categories.fabrication")),1)]),m("tr",null,[m("td",Xte,L(o.$t("importExport.fileTypes.iges")),1),i[24]||(i[24]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[25]||(i[25]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Qte,L(o.$t("importExport.fileTypes.stpStep")),1),i[26]||(i[26]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[27]||(i[27]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Zte,L(o.$t("importExport.fileTypes.sat")),1),i[28]||(i[28]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[29]||(i[29]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",Jte,L(o.$t("importExport.fileTypes.stl")),1),i[30]||(i[30]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[31]||(i[31]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",ene,L(o.$t("importExport.fileTypes.dxf")),1),i[32]||(i[32]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[33]||(i[33]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("th",tne,L(o.$t("importExport.categories.dataExchangeAnalysis")),1)]),m("tr",null,[m("td",nne,L(o.$t("importExport.fileTypes.database")),1),i[34]||(i[34]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[35]||(i[35]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))]),m("tr",null,[m("td",rne,L(o.$t("importExport.fileTypes.worksheet")),1),i[36]||(i[36]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1)),i[37]||(i[37]=m("td",null,[m("span",{class:"ico ico-check-circ-fill"})],-1))])])])]))}}),ine=Object.assign(bt(one,[["__scopeId","data-v-4f635d1f"]]),{__name:"PageBlocksBaseBlocksFeaturesTableFund"}),sne={},ane={"xml:space":"preserve",viewBox:"0 0 32 32"};function lne(e,t){return R(),ce("svg",ane,[...t[0]||(t[0]=[m("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-2.4 23.5-6.3-6.3 1.8-1.8 4.5 4.5 9.8-9.7 1.8 1.8-11.6 11.5z"},null,-1)])])}const une=Object.assign(bt(sne,[["render",lne]]),{__name:"IconsCheckCirc"}),cne={class:"tableContainer"},fne={class:"title"},dne={class:"table vw-table"},pne={class:"thead-dark"},hne={scope:"col"},mne={scope:"col"},vne={scope:"col"},gne=ge({__name:"FeaturesTableCloud",setup(e){const{locale:t,setLocale:n}=Vl(),r=no();return _t(()=>{r.params.locale&&n(r.params.locale)}),(o,i)=>{const s=une;return R(),ce("div",cne,[m("h3",fne,L(o.$t("cloudComparison.CompareCloudPlans")),1),m("table",dne,[m("thead",pne,[m("tr",null,[m("th",hne,L(o.$t("cloudComparison.tableHeaders.feature")),1),m("th",mne,L(o.$t("cloudComparison.tableHeaders.guestAccount")),1),m("th",vne,L(o.$t("cloudComparison.tableHeaders.subscription")),1)])]),m("tbody",null,[m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.storageSpace")),1),m("td",null,L(o.$t("cloudComparison.features.storageGuest")),1),m("td",null,L(o.$t("cloudComparison.features.storageSubscription")),1)]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.integrationsDropboxGoogleDriveOneDrive")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.generatePDFsFromVectorworksFiles")),1),i[0]||(i[0]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.generate3DModelsFromVectorworksFiles")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.view3DModelsInARMode")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.view3DModelsInVRWithVectorworksOdyssey")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.view360ImagesAnimationMoviesAndPDFs")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.generate3DModelsFromPhotosPhotogrammetry")),1),i[1]||(i[1]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.capturePointCloudsWithLiDARiOSOnly")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.createRoomPlansWithLiDARiOSOnly")),1),i[2]||(i[2]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.objectCaptureWithLiDARiOSOnly")),1),i[3]||(i[3]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.upsampleImagesMachineLearning")),1),i[4]||(i[4]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.stylizeImagesMachineLearning")),1),i[5]||(i[5]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.autoProcessing3DModel")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.autoProcessingPDF")),1),i[6]||(i[6]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.autoProcessingExportRevit")),1),i[7]||(i[7]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.publishFilesFromVectorworks")),1),i[8]||(i[8]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.exportRenderedPanoramasFromVectorworks")),1),i[9]||(i[9]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.exportAnimationsFromVectorworks")),1),i[10]||(i[10]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.export3DModelFromVectorworks")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.exportRevit")),1),i[11]||(i[11]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.shareFilesOrFolders")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.vectorworksProjectSharingDesignSuiteProducts")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.collaborateWithVectorworksCloudDocumentReviewer")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.commentOnFiles")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.viewAndRestoreEarlierVersionsOfFiles")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.measureInAR3DPolygonMode")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.measureInARRoomMode")),1),i[12]||(i[12]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.measureObjectsInPDFFiles")),1),i[13]||(i[13]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.markUpPDFFiles")),1),m("td",null,[W(s)]),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.createInteractivePresentations")),1),i[14]||(i[14]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.vectorworksAIVisualizer")),1),i[15]||(i[15]=m("td",null," ",-1)),m("td",null,[W(s)])]),m("tr",null,[m("td",null,L(o.$t("cloudComparison.features.cloudRevitImport")),1),i[16]||(i[16]=m("td",null," ",-1)),m("td",null,[W(s)])])])])])}}}),yne=Object.assign(bt(gne,[["__scopeId","data-v-eeabef1b"]]),{__name:"PageBlocksBaseBlocksFeaturesTableCloud"}),_ne={key:0,id:"vwModal"},bne={class:"modal-content",style:{height:"auto"}},wne={class:"container vw-modal-container",style:{}},kne={style:{visibility:"visible"}},Ene={class:""},Sne={class:"container"},Cne={class:"academic-lab-request-form"},Dne={style:{"text-align":"center"}},xne={class:"row"},Tne={class:"col-12"},Ane={id:"academic_lab_request_form",class:"vw-form","data-form-validate":"true"},One={"data-modal-section":"true","data-step":"1"},Pne={class:"form-row"},Rne={class:"form-group col-12 col-sm-6"},Ine={for:"fname"},$ne={class:"fieldLabel"},Mne={class:"form-group col-12 col-sm-6"},Fne={for:"lname"},Lne={class:"fieldLabel"},Nne={class:"form-row"},Bne={class:"form-group col-12 col-sm-6"},jne={for:"school_name"},qne={class:"fieldLabel"},Vne={class:"form-group col-12 col-sm-6"},Une={for:"course_name"},Hne={class:"fieldLabel"},Wne={class:"form-row"},zne={class:"form-group col-12 fullWidth"},Kne={for:"email"},Gne={class:"fieldLabel"},Yne={class:"form-row"},Xne={class:"form-group col-12 col-sm-6"}
8,Qne={class:"wrap"},Zne={for:"country"},Jne={class:"fieldLabel"},ere={name:"country",class:"form-control",required:"","data-validation":"required"},tre=["value"],nre={class:"form-row"},rre={class:"form-group col-12 col-sm-6"},ore={for:"industry"},ire={class:"fieldLabel"},sre={value:""},are={value:"Architecture & Interiors"},lre={value:"Entertainment"},ure={value:"Landscapes"},cre={value:"General Design"},fre={class:"form-group col-12 col-sm-6",id:"architecture_secondary",style:{display:"none"}},dre={for:"architecture_secondary"},pre={class:"fieldLabel"},hre={name:"architecture_secondary",class:"form-control",required:"","data-validation":"required"},mre={value:""},vre={value:"Environmental Graphic Design"},gre={value:"Facilities Management"},yre={value:"Home Builder/Remodeler/Design-Build"},_re={value:"Interior Design"},bre={value:"MIE/P"},wre={value:"Space Planning"},kre={value:"Structural Engineering"},Ere={value:"Education"},Sre={value:"Other"},Cre={class:"form-group col-12 col-sm-6",id:"landscape_secondary",style:{display:"none"}},Dre={for:"landscape_secondary"},xre={class:"fieldLabel"},Tre={name:"landscape_secondary",class:"form-control",required:"","data-validation":"required"},Are={value:""},Ore={value:"Landscape Architecture"},Pre={value:"Landscape Design"},Rre={value:"Landscape Design/Build"},Ire={value:"Nursery"},$re={value:"Education"},Mre={value:"Other"},Fre={class:"form-group col-12 col-sm-6",id:"entertainment_secondary",style:{display:"none"}},Lre={for:"entertainment_secondary"},Nre={class:"fieldLabel"},Bre={name:"entertainment_secondary",class:"form-control",required:"","data-validation":"required"},jre={value:""},qre={value:"Audio/Visual"},Vre={value:"Event Planning"},Ure={value:"Exhibition Design"},Hre={value:"Lighting Design"},Wre={value:"Education"},zre={value:"Scenic Design"},Kre={value:"TV/Film"},Gre={value:"Other"},Yre={class:"form-group col-12 col-sm-6",id:"general_design_secondary",style:{display:"none"}},Xre={for:"general_design_secondary"},Qre={class:"fieldLabel"},Zre={name:"general_design_secondary",class:"form-control",required:"","data-validation":"required"},Jre={value:""},eoe={value:"Cabinetry"},toe={value:"Fabrication"},noe={value:"Furniture Design"},roe={value:"Industrial Design"},ooe={value:"Machine Design"},ioe={value:"Manufacturing"},soe={value:"Woodworking"},aoe={value:"Education"},loe={value:"Other"},uoe={class:"form-row"},coe={class:"col-12 col-sm-6"},foe={class:"form-row"},doe={class:"form-check form-check-inline col-12 col-sm-6"},poe={for:"new_license",class:"form-check-label"},hoe={class:"form-check form-check-inline col-12 col-sm-6"},moe={for:"upgrade_license",class:"form-check-label"},voe={class:"form-group col-12 col-sm-6"},goe={for:"email"},yoe={class:"fieldLabel"},_oe={class:"form-row"},boe={class:"col-12 col-sm-12",id:"ent_options",style:{display:"none"}},woe={style:{"text-align":"center","margin-bottom":"26px"}},koe={class:"form-row"},Eoe={class:"form-check form-check-inline col-12 fullWidth"},Soe=["innerHTML"],Coe={"data-modal-section":"true","data-step":"2","data-step-btn-text":"Submit",style:{display:"none"}},Doe={class:"form-row"},xoe=["innerHTML"],Toe={style:{"margin-left":"-15px"}},Aoe={class:"form-row"},Ooe={class:"form-check form-check-inline col-12 fullWidth"},Poe=["innerHTML"],Roe={style:{"font-size":"13px","margin-top":"20px",display:"block"}},Ioe={class:"form-thank-you form-thankyou"},$oe={class:"talign-c"},Moe={class:"thankyou-text"},Foe=["innerHTML"],Loe={__name:"PageBlocksPagesEducationFormHtml",setup(e){pO({link:[{rel:"stylesheet",href:"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"},{rel:"stylesheet",href:"https://www.vectorworks.net/assets/VW2021/css/custom-styles.css"},{rel:"stylesheet",href:"https://www.vectorworks.net/assets/VW2021/css/styles.css?id=0205b16a421daa700501"}],script:[{src:"/js/educationModal.js",type:"text/javascript"}]});let t=!1;const n=ne(null),r={formTitle:"Free Software Request for Your School's Lab",formIntro:"Help your students build a foundation for their careers with industry-standard tools — built to encourage critical thinking and endless design  possibilities. Get them started with Vectorworks Design Suite today so they can make their creative visions a reality.*",firstName:"First Name",lastName:"Last Name",schoolName:"School Name",technologyCourseName:"Technology Course Name",chooseIndustry:"Choose Industry",architectureAndInteriors:"Architecture and Interiors",entertainment:"Entertainment",landscape:"Landscapes",generalDesign:"General Design",architectureSpecialty:"Architecture Specialty",pleaseSelect:"Please Select",architecture:"Architecture",environmentalGraphicDesign:"Environmental Graphic Design",facilitiesManagement:"Facilities Management",homeBuilderRemodelerDesignBuild:"Home Builder/Remodeler/Design-Build",interiorDesign:"Interior Design",mieP:"MIE/P",spacePlanning:"Space Planning",structuralEngineering:"Structural Engineering",education:"Education",other:"Other",country:"Country",chooseCountry:"Choose Country",email:"Email",industry:"Industry",landscape
8Specialty:"Landscape Specialty",landPlanning:"Land Planning",landscapeArchitecture:"Landscape Architecture",landscapeDesign:"Landscape Design",landscapeDesignBuild:"Landscape Design/Build",nursery:"Landscape Nursery",entertainmentSpecialty:"Entertainment Specialty",audioVisual:"Audio/Visual",eventPlanning:"Event Planning",exhibitionDesign:"Exhibition Design",lightingDesign:"Lighting Design",scenicDesign:"Scenic Design",tvFilm:"TV/Film",generalDesignSpecialty:"General Design Specialty",cabinetry:"Cabinetry",fabrication:"Fabrication",furnitureDesign:"Furniture Design",industrialDesign:"Industrial Design",machineDesign:"Machine Design",manufacturing:"Manufacturing",woodworking:"Woodworking",requestNewLicense:"Request New License",upgradeExistingLicense:"Upgrade Existing License",provideYourSerial:"Upgrading users, please provide your serial number",chooseProducts:"Choose other products or tools to install in your lab.",privacyDisclaimer:`By submitting this form, you agree that Vectorworks Inc. and its authorized partners may contact you in regards to news, offers, and the use of our software, services, and platforms. Learn more about our privacy practices and your data on our <a href='/legal/privacy' target='_blank' >privacy page</a >.<span class="text-danger">*</span>`,agreementTitle:"Lab Donation Waiver Agreement Copy",commitmentThankYou:'Thank you for your commitment to helping students build valuable workplace skills by implementing Vectorworks as a tool in your curriculum. We are excited to donate to your institution a network license to be used in your classroom. Software and services Vectorworks provides without charge to the educational community may be used solely for purposes directly related to learning, teaching, training, research, or development and shall not be used for commercial, professional, or any other for-profit purposes. To use compatible Vectorworks software at home, students and instructors may request a free, educational license at <a href="https://www.vectorworks.net/education" target="_blank">www.vectorworks.net/education</a>. Please let us know how we may assist you in making the use of Vectorworks in your classroom successful. We would be happy to assist in the installation of your software and to make sure your students receive the training and support they need to make your lab successful. We hope that these resources will help both you and your students grow as designers.',donationTermsTitle:"Please check the box below to provide acknowledgment and understanding of the terms of this donation.",donationTerms:'In return for receiving a donated lab license, I agree to implement and promote Vectorworks as a design solution within the classroom and that the license will be used solely for learning, teaching, training, research and development of my students.<span class="text-danger">*</span>',next:"Next",acreditedIntitutionsDisclaimer:"*Accredited institutions with technology courses are  eligible to apply for a lab donation. Offer not available in every country.",thankYouMessage:`We're excited to deliver Vectorworks Design Suite software to your school. Someone will be in touch with you soon to confirm your <a href="http://www.vectorworks.net/sysreq" target="_blank">system requirements</a> and to help get you started.</p><p>Can’t wait to start learning? Check out the <a href="https://university.vectorworks.net/" target="_blank">Vectorworks University</a>, a great resource for new and experienced users!</p><p>Please feel free to <a href="mailto:[email protected]?subject=Vectorworks%20Lab%20License%20Request" target="_blank">reach out to us</a> with any questions.`,countries:[{key:"select",value:"",label:"Cho
8ose Country"},{key:"afghanistan",value:"Afghanistan",label:"Afghanistan"},{key:"alandIslands",value:"Aland Islands",label:"Aland Islands"},{key:"albania",value:"Albania",label:"Albania"},{key:"algeria",value:"Algeria",label:"Algeria"},{key:"americanSamoa",value:"American Samoa",label:"American Samoa"},{key:"andorra",value:"Andorra",label:"Andorra"},{key:"angola",value:"Angola",label:"Angola"},{key:"anguilla",value:"Anguilla",label:"Anguilla"},{key:"antarctica",value:"Antarctica",label:"Antarctica"},{key:"antiguaAndBarbuda",value:"Antigua and Barbuda",label:"Antigua and Barbuda"},{key:"argentina",value:"Argentina",label:"Argentina"},{key:"armenia",value:"Armenia",label:"Armenia"},{key:"aruba",value:"Aruba",label:"Aruba"},{key:"australia",value:"Australia",label:"Australia"},{key:"austria",value:"Austria",label:"Austria"},{key:"azerbaijan",value:"Azerbaijan",label:"Azerbaijan"},{key:"bahamasThe",value:"Bahamas, The",label:"Bahamas, The"},{key:"bahrain",value:"Bahrain",label:"Bahrain"},{key:"bangladesh",value:"Bangladesh",label:"Bangladesh"},{key:"barbados",value:"Barbados",label:"Barbados"},{key:"belgium",value:"Belgium",label:"Belgium"},{key:"belize",value:"Belize",label:"Belize"},{key:"benin",value:"Benin",label:"Benin"},{key:"bermuda",value:"Bermuda",label:"Bermuda"},{key:"bhutan",value:"Bhutan",label:"Bhutan"},{key:"bolivia",value:"Bolivia",label:"Bolivia"},{key:"bonaire",value:"Bonaire",label:"Bonaire"},{key:"bosniaAndHerzegovina",value:"Bosnia & Herzegovina",label:"Bosnia & Herzegovina"},{key:"botswana",value:"Botswana",label:"Botswana"},{key:"bouvetIsland",value:"Bouvet Island",label:"Bouvet Island"},{key:"brazil",value:"Brazil",label:"Brazil"},{key:"britishIndianOceanTerritory",value:"British Indian Ocean territory",label:"British Indian Ocean territory"},{key:"bruneiDarussalam",value:"Brunei Darussalam",label:"Brunei Darussalam"},{key:"bulgaria",value:"Bulgaria",label:"Bulgaria"},{key:"burkinaFaso",value:"Burkina Faso",label:"Burkina Faso"},{key:"burundi",value:"Burundi",label:"Burundi"},{key:"caboVerde",value:"Cabo Verde",label:"Cabo Verde"},{key:"cambodia",value:"Cambodia",label:"Cambodia"},{key:"cameroon",value:"Cameroon",label:"Cameroon"},{key:"canada",value:"Canada",label:"Canada"},{key:"caymanIslands",value:"Cayman Islands",label:"Cayman Islands"},{key:"centralAfricanRepublic",value:"Central African Republic",label:"Central African Republic"},{key:"chad",value:"Chad",label:"Chad"},{key:"chile",value:"Chile",label:"Chile"},{key:"china",value:"China",label:"China"},{key:"christmasIsland",value:"Christmas Island",label:"Christmas Island"},{key:"cocosKeelingIslands",value:"Cocos (Keeling) Islands",label:"Cocos (Keeling) Islands"},{key:"colombia",value:"Colombia",label:"Colombia"},{key:"comoros",value:"Comoros",label:"Comoros"},{key:"congoRepublicOf",value:"Congo, Republic of",label:"Congo, Republic of"},{key:"cookIslands",value:"Cook Islands",label:"Cook Islands"},{key:"costaRica",value:"Costa Rica",label:"Costa Rica"},{key:"croatia",value:"Croatia",label:"Croatia"},{key:"curaçao",value:"Curaçao",label:"Curaçao"},{key:"cyprus",value:"Cyprus",label:"Cyprus"},{key:"czechia",value:"Czechia",label:"Czechia"},{key:"denmark",value:"Denmark",label:"Denmark"},{key:"djibouti",value:"Djibouti",label:"Djibouti"},{key:"dominica",value:"Dominica",label:"Dominica"},{key:"dominicanRepublic",value:"Dominican Republic",label:"Dominican Republic"},{key:"ecuador",value:"Ecuador",label:"Ecuador"},{key:"egypt",value:"Egypt",label:"Egypt"},{key:"elSalvador",value:"El Salvador",label:"El Salvador"},{key:"equatorialGuinea",value:"Equatorial Guinea",label:"Equatorial Guinea"},{key:"estonia",value:"Estonia",label:"Estonia"},{key:"eswatini",value:"Eswatini",label:"Eswatini"},{key:"ethiopia",value:"Ethiopia",label:"Ethiopia"},{key:"falklandIslandsIslasMalvinas",value:"Falkland Islands (Islas Malvinas)",label:"Falkland Islands (Islas Malvinas)"},{key:"faroeIslands",value:"Faroe Islands",label:"Faroe Islands"},{key:"fiji",value:"Fiji",label:"Fiji"},{key:"finland",value:"Finland",label:"Finland"},{key:"france",value:"France",label:"France"},{key:"frenchGuiana",value:"French Guiana",label:"French Guiana"},{key:"frenchPolynesia",value:"French Polynesia",label:"French Polynesia"},{key:"frenchSouthernTerritories",value:"French Southern Territories",label:"French Southern Territories"},{key:"gabon",value:"Gabon",label:"Gabon"},{key:"gambiaThe",value:"Gambia, The",label:"Gambia, The"},{key:"georgia",value:"Georgia",label:"Georgia"},{key:"germany",value:"Germany",label:"Germany"},{key:"ghana",value:"Ghana",label:"Ghana"},{key:"gibraltar",value:"Gibraltar",label:"Gibraltar"},{key:"greece",value:"Greece",label:"Greece"},{key:"greenland",value:"Greenland",label:"Greenland"},{key:"grenada",value:"Grenada",label:"Grenada"},{key:"guadeloupe",value:"Guadeloupe",label:"Guadeloupe"},{key:"guam",value:"Guam",label:"Guam"},{key:"guatemala",value:"Guatemala",label:"Guatemala"},{key:"guernsey",value:"Guernsey",label:"Guernsey"},{key:"guinea",value:"Guinea",label:"Guinea"},{key:"guineaBissau",value:"Guinea-Bissau",label:"Guinea-Bissau"},{key:"guyana",value:"Guyana",label:"Guyana"},{key:"haiti",value:"Haiti",label:"Haiti"},{key:"holySeeVaticanCity",value:"Holy See (Vatican City)",label:"Holy See (Vatican City)"},{key:"honduras",value:"Honduras",label:"Honduras"},{key:"hongKong",value:"Hong Kong",label:"Hong Kong"},{key:"hungary",value:"Hungary",label:"Hungary"},{key:"iceland",value:"Iceland",label:"Iceland"},{key:"india",value:"India",label:"India"},{key:"indonesia",value:"Indonesia",label:"Indonesia"},{key:"iraq",value:"Iraq",label:"Iraq"},{key:"ireland",value:"Ireland",label:"Ireland"},{key:"isleOfMan",value:"Isle of Man",label:"Isle of Man"},{key:"israel",value:"Israel",label:"Israel"},{key:"italy",value:"Italy",label:"Italy"},{key:"ivoryCoast",value:"Ivory Coast",label:"Ivory Coast"},{key:"jamaica",value:"Jamaica",label:"Jamaica"},{key:"japan",value:"Japan",label:"Japan"},{key:"jersey",value:"Jersey",label:"Jersey"},{key:"jordan",value:"Jordan",label:"Jordan"},{key:"kazakhstan",value:"Kazakhstan",label:"Kazakhstan"},{key:"kenya",value:"Kenya",label:"Kenya"},{key:"kiribati",value:"Kiribati",label:"Kiribati"},{key:"koreaSouth",value:"Korea, South",label:"Korea, South"},{key:"kosovo",value:"Kosovo",label:"Kosovo"},{key:"kuwait",value:"Kuwait",label:"Kuwait"},{key:"kyrgyzstan",value:"Kyrgyzstan",label:"Kyrgyzstan"},{key:"laos",value:"Laos",label:"Laos"},{key:"latvia",value:"Latvia",label:"Latvia"},{key:"lesotho",value:"Lesotho",label:"Lesotho"},{key:"liechtenstein",value:"Liechtenstein",label:"Liechtenstein"},{key:"lithuania",value:"Lithuania",label:"Lithuania"},{key:"luxembourg",value:"Luxembourg",label:"Luxembourg"},{key:"macao",value:"Macao",label:"Macao"}
8,{key:"madagascar",value:"Madagascar",label:"Madagascar"},{key:"malawi",value:"Malawi",label:"Malawi"},{key:"malaysia",value:"Malaysia",label:"Malaysia"},{key:"maldives",value:"Maldives",label:"Maldives"},{key:"mali",value:"Mali",label:"Mali"},{key:"malta",value:"Malta",label:"Malta"},{key:"marshallIslands",value:"Marshall Islands",label:"Marshall Islands"},{key:"martinique",value:"Martinique",label:"Martinique"},{key:"mauritania",value:"Mauritania",label:"Mauritania"},{key:"mauritius",value:"Mauritius",label:"Mauritius"},{key:"mayotte",value:"Mayotte",label:"Mayotte"},{key:"mexico",value:"Mexico",label:"Mexico"},{key:"micronesia",value:"Micronesia",label:"Micronesia"},{key:"moldova",value:"Moldova",label:"Moldova"},{key:"monaco",value:"Monaco",label:"Monaco"},{key:"mongolia",value:"Mongolia",label:"Mongolia"},{key:"montenegro",value:"Montenegro",label:"Montenegro"},{key:"montserrat",value:"Montserrat",label:"Montserrat"},{key:"morocco",value:"Morocco",label:"Morocco"},{key:"mozambique",value:"Mozambique",label:"Mozambique"},{key:"myanmar",value:"Myanmar",label:"Myanmar"},{key:"namibia",value:"Namibia",label:"Namibia"},{key:"nauru",value:"Nauru",label:"Nauru"},{key:"nepal",value:"Nepal",label:"Nepal"},{key:"netherlands",value:"Netherlands",label:"Netherlands"},{key:"newCaledonia",value:"New Caledonia",label:"New Caledonia"},{key:"newZealand",value:"New Zealand",label:"New Zealand"},{key:"nicaragua",value:"Nicaragua",label:"Nicaragua"},{key:"niger",value:"Niger",label:"Niger"},{key:"nigeria",value:"Nigeria",label:"Nigeria"},{key:"niue",value:"Niue",label:"Niue"},{key:"norfolkIsland",value:"Norfolk Island",label:"Norfolk Island"},{key:"northMacedonia",value:"North Macedonia",label:"North Macedonia"},{key:"northMarianaIslands",value:"North Mariana Islands",label:"North Mariana Islands"},{key:"norway",value:"Norway",label:"Norway"},{key:"oman",value:"Oman",label:"Oman"},{key:"pakistan",value:"Pakistan",label:"Pakistan"},{key:"palau",value:"Palau",label:"Palau"},{key:"panama",value:"Panama",label:"Panama"},{key:"papuaNewGuinea",value:"Papua New Guinea",label:"Papua New Guinea"},{key:"paraguay",value:"Paraguay",label:"Paraguay"},{key:"peru",value:"Peru",label:"Peru"},{key:"philippines",value:"Philippines",label:"Philippines"},{key:"pitcairn",value:"Pitcairn",label:"Pitcairn"},{key:"poland",value:"Poland",label:"Poland"},{key:"portugal",value:"Portugal",label:"Portugal"},{key:"puertoRico",value:"Puerto Rico",label:"Puerto Rico"},{key:"qatar",value:"Qatar",label:"Qatar"},{key:"reunion",value:"Reunion",label:"Reunion"},{key:"romania",value:"Romania",label:"Romania"},{key:"rwanda",value:"Rwanda",label:"Rwanda"},{key:"saba",value:"Saba",label:"Saba"},{key:"saintBarthelemy",value:"Saint Barthelemy",label:"Saint Barthelemy"},{key:"saintHelenaAscensionAndTristanDeCunha",value:"Saint Helena, Ascension, & Tristan de Cunha",label:"Saint Helena, Ascension, & Tristan de Cunha"},{key:"saintKittsAndNevis",value:"Saint Kitts and Nevis",label:"Saint Kitts and Nevis"},{key:"saintLucia",value:"Saint Lucia",label:"Saint Lucia"},{key:"saintMartin",value:"Saint Martin",label:"Saint Martin"},{key:"saintPierreAndMiquelon",value:"Saint Pierre and Miquelon",label:"Saint Pierre and Miquelon"},{key:"saintVincentAndTheGrenadines",value:"Saint Vincent and the Grenadines",label:"Saint Vincent and the Grenadines"},{key:"samoa",value:"Samoa",label:"Samoa"},{key:"sanMarino",value:"San Marino",label:"San Marino"},{key:"saoTomeAndPrincipe",value:"Sao Tome and Principe",label:"Sao Tome and Principe"},{key:"saudiArabia",value:"Saudi Arabia",label:"Saudi Arabia"},{key:"senegal",value:"Senegal",label:"Senegal"},{key:"serbia",value:"Serbia",label:"Serbia"},{key:"seychelles",value:"Seychelles",label:"Seychelles"},{key:"sierraLeone",value:"Sierra Leone",label:"Sierra Leone"},{key:"sintEustatius",value:"Sint Eustatius",label:"Sint Eustatius"},{key:"sintMaartenDutch",value:"Sint Maarten (Dutch)",label:"Sint Maarten (Dutch)"},{key:"singapore",value:"Singapore",label:"Singapore"},{key:"slovakia",value:"Slovakia",label:"Slovakia"},{key:"slovenia",value:"Slovenia",label:"Slovenia"},{key:"solomonIslands",value:"Solomon Islands",label:"Solomon Islands"},{key:"southAfrica",value:"South Africa",label:"South Africa"},{key:"southGeorgiaAndTheSouthSandwichIsl",value:"South Georgia and the South Sandwich Isl",label:"South Georgia and the South Sandwich Isl"},{key:"southSudan",value:"South Sudan",label:"South Sudan"},{key:"spain",value:"Spain",label:"Spain"},{key:"sriLanka",value:"Sri Lanka",label:"Sri Lanka"},{key:"suriname",value:"Suriname",label:"Suriname"},{key:"svalbardAndJanMayenIslands",value:"Svalbard and Jan Mayen Islands",label:"Svalbard and Jan Mayen Islands"},{key:"sweden",value:"Sweden",label:"Sweden"},{key:"switzerland",value:"Switzerland",label:"Switzerland"},{key:"taiwan",value:"Taiwan",label:"Taiwan"},{key:"tajikistan",value:"Tajikistan",label:"Tajikistan"},{key:"tanzania",value:"Tanzania",label:"Tanzania"},{key:"thailand",value:"Thailand",label:"Thailand"},{key:"timorLeste",value:"Timor-Leste",label:"Timor-Leste"},{key:"togo",value:"Togo",label:"Togo"},{key:"tokelau",value:"Tokelau",label:"Tokelau"},{key:"tonga",value:"Tonga",label:"Tonga"},{key:"trinidadAndTobago",value:"Trinidad and Tobago",label:"Trinidad and Tobago"},{key:"tunisia",value:"Tunisia",label:"Tunisia"},{key:"turkey",value:"Turkey",label:"Turkey"},{key:"turkmenistan",value:"Turkmenistan",label:"Turkmenistan"},{key:"turksAndCaicosIslands",value:"Turks and Caicos Islands",label:"Turks and Caicos Islands"},{key:"tuvalu",value:"Tuvalu",label:"Tuvalu"},{key:"uganda",value:"Uganda",label:"Uganda"},{key:"ukraine",value:"Ukraine",label:"Ukraine"},{key:"unitedArabEmirates",value:"United Arab Emirates",label:"United Arab Emirates"},{key:"unitedKingdom",value:"United Kingdom",label:"United Kingdom"},{key:"unitedStatesMinorOutlyingIslands",value:"United States Minor Outlying Islands",label:"United States Minor Outlying Islands"},{key:"unitedStates",value:"United States",label:"United States"},{key:"uruguay",value:"Uruguay",label:"Uruguay"},{key:"uzbekistan",value:"Uzbekistan",label:"Uzbekistan"},{key:"vanuatu",value:"Vanuatu",label:"Vanuatu"},{key:"venezuela",value:"Venezuela",label:"Venezuela"},{key:"vietnam",value:"Vietnam",label:"Vietnam"},{key:"virginIslandsBritish",value:"Virgin Islands, British",label:"Virgin Islands, British"},{key:"virginIslandsUs",value:"Virgin Islands, US",label:"Virgin Islands, US"},{key:"wallisAndFutuna",value:"Wallis and Futuna",label:"Wallis and Futuna"},{key:"westernSahara",value:"Western Sahara",label:"Western Sahara"},{key:"yemen",value:"Yemen",label:"Yemen"},{key:"zambia",value:"Zambia",label:"Zambia"},{key:"zimbabwe",value:"Zimbabwe",label:"Zimbabwe"}]},o=N(()=>
8(n.value=document.documentElement.lang||navigator.language,r)),i=()=>{t===!1&&(window.initEducationModal(),t=!0)};return _t(()=>{}),(s,a)=>(R(),ce("div",_ne,[m("div",bne,[m("div",wne,[m("div",kne,[m("div",Ene,[m("div",Sne,[m("div",Cne,[m("h3",Dne,L(S(o).formTitle),1),m("div",xne,[m("div",Tne,[m("form",Ane,[m("section",One,[m("p",null,L(S(o).formIntro),1),m("div",Pne,[m("div",Rne,[m("label",Ine,[m("span",$ne,[qe(L(S(o).firstName),1),a[0]||(a[0]=m("span",{class:"text-danger"},"*",-1))]),a[1]||(a[1]=m("span",{class:"error-msg text-danger"},null,-1))]),a[2]||(a[2]=m("span",{class:"error-msg"},null,-1)),a[3]||(a[3]=m("input",{type:"text",name:"fname",class:"form-control",required:"","data-validation":"required"},null,-1))]),m("div",Mne,[m("label",Fne,[m("span",Lne,[qe(L(S(o).lastName),1),a[4]||(a[4]=m("span",{class:"text-danger"},"*",-1))]),a[5]||(a[5]=m("span",{class:"error-msg text-danger"},null,-1))]),a[6]||(a[6]=m("input",{type:"text",name:"lname",class:"form-control",required:"","data-validation":"required"},null,-1))])]),m("div",Nne,[m("div",Bne,[m("label",jne,[m("span",qne,[qe(L(S(o).schoolName),1),a[7]||(a[7]=m("span",{class:"text-danger"},"*",-1))]),a[8]||(a[8]=m("span",{class:"error-msg text-danger"},null,-1))]),a[9]||(a[9]=m("input",{type:"text",name:"school_name",class:"form-control",required:"","data-validation":"required"},null,-1))]),m("div",Vne,[m("label",Une,[m("span",Hne,[qe(L(S(o).technologyCourseName),1),a[10]||(a[10]=m("span",{class:"text-danger"},"*",-1))]),a[11]||(a[11]=m("span",{class:"error-msg text-danger"},null,-1))]),a[12]||(a[12]=m("input",{type:"text",name:"course_name",class:"form-control",required:"","data-validation":"required"},null,-1))])]),m("div",Wne,[m("div",zne,[m("label",Kne,[m("span",Gne,[qe(L(S(o).email),1),a[13]||(a[13]=m("span",{class:"text-danger"},"*",-1))]),a[14]||(a[14]=m("span",{class:"error-msg text-danger"},null,-1))]),a[15]||(a[15]=m("input",{type:"email",name:"email",class:"form-control",required:"","data-validation":"email"},null,-1))])]),m("div",Yne,[m("div",Xne,[m("label",Qne,[m("label",Zne,[m("span",Jne,[qe(L(S(o).country),1),a[16]||(a[16]=m("span",{class:"text-danger"},"*",-1))]),a[17]||(a[17]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",ere,[(R(!0),ce(Je,null,mn(S(o).countries,l=>(R(),ce("option",{value:l.value},L(l.label),9,tre))),256))])])])]),m("div",nre,[m("div",rre,[m("label",ore,[m("span",ire,[qe(L(S(o).industry),1),a[18]||(a[18]=m("span",{class:"text-danger"},"*",-1))]),a[19]||(a[19]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",{name:"industry",onMousedown:i,class:"form-control",id:"industry",required:"","data-validation":"required"},[m("option",sre,L(S(o).chooseIndustry),1),m("option",are,L(S(o).architectureAndInteriors),1),m("option",lre,L(S(o).entertainment),1),m("option",ure,L(S(o).landscape),1),m("option",cre,L(S(o).generalDesign),1)],32)]),m("div",fre,[m("label",dre,[m("span",pre,[qe(L(S(o).architectureSpecialty)+" ",1),a[20]||(a[20]=m("span",{class:"text-danger"},"*",-1))]),a[21]||(a[21]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",hre,[m("option",mre,L(S(o).pleaseSelect),1),a[22]||(a[22]=m("option",{value:"Architecture"},"Architecture",-1)),m("option",vre,L(S(o).environmentalGraphicDesign),1),m("option",gre,L(S(o).facilitiesManagement),1),m("option",yre,L(S(o).homeBuilderRemodelerDesignBuild),1),m("option",_re,L(S(o).interiorDesign),1),m("option",bre,L(S(o).mieP),1),m("option",wre,L(S(o).spacePlanning),1),m("option",kre,L(S(o).structuralEngineering),1),m("option",Ere,L(S(o).education),1),m("option",Sre,L(S(o).other),1)])]),m("div",Cre,[m("label",Dre,[m("span",xre,[qe(L(S(o).landscapeSpecialty)+" ",1),a[23]||(a[23]=m("span",{class:"text-danger"},"*",-1))]),a[24]||(a[24]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",Tre,[m("option",Are,L(S(o).pleaseSelect),1),a[25]||(a[25]=m("option",{value:"Land Planning"},"Land Planning",-1)),m("option",Ore,L(S(o).landscapeArchitecture),1),m("option",Pre,L(S(o).landscapeDesign),1),m("option",Rre,L(S(o).landscapeDesignBuild),1),m("option",Ire,L(S(o).nursery),1),m("option",$re,L(S(o).education),1),m("option",Mre,L(S(o).other),1)])]),m("div",Fre,[m("label",Lre,[m("span",Nre,[qe(L(S(o).entertainmentSpecialty)+" ",1),a[26]||(a[26]=m("span",{class:"text-danger"},"*",-1))]),a[27]||(a[27]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",Bre,[m("option",jre,L(S(o).pleaseSelect),1),m("option",qre,L(S(o).audioVisual),1),m("option",Vre,L(S(o).eventPlanning),1),m("option",Ure,L(S(o).exhibitionDesign),1),m("option",Hre,L(S(o).lightingDesign),1),m("option",Wre,L(S(o).education),1),m("option",zre,L(S(o).scenicDesign),1),m("option",Kre,L(S(o).tvFilm),1),m("option",Gre,L(S(o).other),1)])]),m("div",Yre,[m("label",Xre,[m("span",Qre,[qe(L(S(o).generalDesignSpecialty)+" ",1),a[28]||(a[28]=m("span",{class:"text-danger"},"*",-1))]),a[29]||(a[29]=m("span",{class:"error-msg text-danger"},null,-1))]),m("select",Zre,[m("option",Jre,L(S(o).pleaseSelect),1),m("option",eoe,L(S(o).cabinetry),1),m("option",toe,L(S(o).fabrication),1),m("option",noe,L(S(o).furnitureDesign),1),m("option",roe,L(S(o).industrialDesign),1),m("option",ooe,L(S(o).machineDesign),1),m("option",ioe,L(S(o).manufacturing),1),m("option",soe,L(S(o).woodworking),1),m("option",aoe,L(S(o).education),1),m("option",loe,L(S(o).other),1)])])]),m("div",uoe,[m("div",coe,[m("div",foe,[m("div",doe,[a[30]||(a[30]=m("input",{type:"checkbox",name:"new_license",class:"required form-control form-check-input license",value:"1"},null,-1)),m("label",poe,L(S(o).requestNewLicense),1)]),m("div",hoe,[a[31]||(a[31]=m("input",{type:"checkbox",name:"upgrade_license",class:"required form-control form-check-input license",value:"1"},null,-1)),m("label",moe,L(S(o).upgradeExistingLicense),1)])])]),m("div",voe,[m("label",goe,[m("span",yoe,L(S(o).provideYourSerial),1)]),a[32]||(a[32]=m("input",{type:"text",name:"upgrade_serial_no",class:"form-control"}
8,null,-1))])]),m("div",_oe,[m("div",boe,[m("h4",woe,L(S(o).chooseProducts),1),a[33]||(a[33]=s2('<div class="form-row-3 row" data-v-8c1120f4><div class="form-check form-check-inline col-12" data-v-8c1120f4><input type="checkbox" name="vision" class="required form-control form-check-input" value="Vision" data-v-8c1120f4><label for="vision" class="form-check-label" data-v-8c1120f4>Vision</label></div><div class="form-check form-check-inline col-12 col-sm-4" data-v-8c1120f4><input type="checkbox" name="braceworks" class="required form-control form-check-input" value="Braceworks" data-v-8c1120f4><label for="braceworks" class="form-check-label" data-v-8c1120f4>Braceworks</label></div><div class="form-check form-check-inline col-12 col-sm-4" data-v-8c1120f4><input type="checkbox" name="connectCAD" class="required form-control form-check-input" value="ConnectCad" data-v-8c1120f4><label for="connectCAD" class="form-check-label" data-v-8c1120f4>ConnectCAD</label></div></div>',1))])]),m("div",koe,[m("div",Eoe,[a[34]||(a[34]=m("input",{type:"checkbox",name:"i_authorize",class:"required form-control form-check-input",value:"1","data-validation":"required"},null,-1)),m("label",{innerHTML:S(o).privacyDisclaimer,for:"i_authorize",class:"form-check-label"},null,8,Soe)])])]),m("section",Coe,[a[36]||(a[36]=m("div",{style:{"margin-left":"-15px"}},[m("strong",null,"Lab Donation Waiver Agreement Copy")],-1)),m("div",Doe,[m("div",{innerHTML:S(o).commitmentThankYou,class:"fullWidth",style:{"text-align":"left"}},null,8,xoe)]),m("div",Toe,[m("strong",null,L(S(o).donationTermsTitle),1)]),m("div",Aoe,[m("div",Ooe,[a[35]||(a[35]=m("input",{type:"checkbox",name:"waiver_consent",class:"required form-control form-check-input",value:"1","data-validation":"required"},null,-1)),m("label",{innerHTML:S(o).donationTerms,for:"waiver_consent",class:"form-check-label"},null,8,Poe)])])]),a[37]||(a[37]=m("div",{class:"submit-wrapper"},[m("button",{type:"submit",class:"vw-btn fill btn-submit","data-control":"ajax","data-ajax-url":"/cs/ajax/academic-lab-request","data-ajax-form-id":"academic_lab_request_form","data-ajax-success-callback":"modal_form_success_thank_you"}," Next ")],-1)),m("em",Roe,L(S(o).acreditedIntitutionsDisclaimer),1)])])]),m("div",Ioe,[m("div",$oe,[a[38]||(a[38]=m("div",{class:"thankyou-icon"},[m("i",{class:"ico ico-check-circ"})],-1)),m("div",Moe,[m("div",{innerHTML:S(o).thankYouMessage},null,8,Foe)])])])])])])])]),a[39]||(a[39]=m("div",{class:"container-fluid bottom-row vw-modal-footer"},null,-1))])]))}},Noe=bt(Loe,[["__scopeId","data-v-8c1120f4"]]);var Gp={exports:{}},ey,_D;function RM(){return _D||(_D=1,ey=function(t,n){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(n,o)}}),ey}var ty,bD;function ro(){if(bD)return ty;bD=1;var e=RM(),t=Object.prototype.toString;function n(D){return Array.isArray(D)}function r(D){return typeof D>"u"}function o(D){return D!==null&&!r(D)&&D.constructor!==null&&!r(D.constructor)&&typeof D.constructor.isBuffer=="function"&&D.constructor.isBuffer(D)}function i(D){return t.call(D)==="[object ArrayBuffer]"}function s(D){return t.call(D)==="[object FormData]"}function a(D){var T;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?T=ArrayBuffer.isView(D):T=D&&D.buffer&&i(D.buffer),T}
8function l(D){return typeof D=="string"}function u(D){return typeof D=="number"}function c(D){return D!==null&&typeof D=="object"}function f(D){if(t.call(D)!=="[object Object]")return!1;var T=Object.getPrototypeOf(D);return T===null||T===Object.prototype}function p(D){return t.call(D)==="[object Date]"}function d(D){return t.call(D)==="[object File]"}function h(D){return t.call(D)==="[object Blob]"}function v(D){return t.call(D)==="[object Function]"}function g(D){return c(D)&&v(D.pipe)}function b(D){return t.call(D)==="[object URLSearchParams]"}function y(D){return D.trim?D.trim():D.replace(/^\s+|\s+$/g,"")}function w(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function _(D,T){if(!(D===null||typeof D>"u"))if(typeof D!="object"&&(D=[D]),n(D))for(var x=0,O=D.length;x<O;x++)T.call(null,D[x],x,D);else for(var A in D)Object.prototype.hasOwnProperty.call(D,A)&&T.call(null,D[A],A,D)}function k(){var D={};function T(A,V){f(D[V])&&f(A)?D[V]=k(D[V],A):f(A)?D[V]=k({},A):n(A)?D[V]=A.slice():D[V]=A}for(var x=0,O=arguments.length;x<O;x++)_(arguments[x],T);return D}function C(D,T,x){return _(T,function(A,V){x&&typeof A=="function"?D[V]=e(A,x):D[V]=A}),D}function E(D){return D.charCodeAt(0)===65279&&(D=D.slice(1)),D}return ty={isArray:n,isArrayBuffer:i,isBuffer:o,isFormData:s,isArrayBufferView:a,isString:l,isNumber:u,isObject:c,isPlainObject:f,isUndefined:r,isDate:p,isFile:d,isBlob:h,isFunction:v,isStream:g,isURLSearchParams:b,isStandardBrowserEnv:w,forEach:_,merge:k,extend:C,trim:y,stripBOM:E},ty}var ny,wD;function IM(){if(wD)return ny;wD=1;var e=ro();function t(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}
8return ny=function(r,o,i){if(!o)return r;var s;if(i)s=i(o);else if(e.isURLSearchParams(o))s=o.toString();else{var a=[];e.forEach(o,function(c,f){c===null||typeof c>"u"||(e.isArray(c)?f=f+"[]":c=[c],e.forEach(c,function(d){e.isDate(d)?d=d.toISOString():e.isObject(d)&&(d=JSON.stringify(d)),a.push(t(f)+"="+t(d))}))}),s=a.join("&")}if(s){var l=r.indexOf("#");l!==-1&&(r=r.slice(0,l)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r},ny}var ry,kD;function Boe(){if(kD)return ry;kD=1;var e=ro();function t(){this.handlers=[]}return t.prototype.use=function(r,o,i){return this.handlers.push({fulfilled:r,rejected:o,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1},t.prototype.eject=function(r){this.handlers[r]&&(this.handlers[r]=null)},t.prototype.forEach=function(r){e.forEach(this.handlers,function(i){i!==null&&r(i)})},ry=t,ry}var oy,ED;function joe(){if(ED)return oy;ED=1;var e=ro();return oy=function(n,r){e.forEach(n,function(i,s){s!==r&&s.toUpperCase()===r.toUpperCase()&&(n[r]=i,delete n[s])})},oy}var iy,SD;function $M(){return SD||(SD=1,iy=function(t,n,r,o,i){return t.config=n,r&&(t.code=r),t.request=o,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}),iy}var sy,CD;function MM(){if(CD)return sy;CD=1;var e=$M();return sy=function(n,r,o,i,s){var a=new Error(n);return e(a,r,o,i,s)},sy}var ay,DD;function qoe(){if(DD)return ay;DD=1;var e=MM();return ay=function(n,r,o){var i=o.config.validateStatus;!o.status||!i||i(o.status)?n(o):r(e("Request failed with status code "+o.status,o.config,null,o.request,o))},ay}var ly,xD;function Voe(){if(xD)return ly;xD=1;var e=ro();return ly=e.isStandardBrowserEnv()?(function(){return{write:function(r,o,i,s,a,l){var u=[];u.push(r+"="+encodeURIComponent(o)),e.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),e.isString(s)&&u.push("path="+s),e.isString(a)&&u.push("domain="+a),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var o=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})(),ly}var uy,TD;function Uoe(){return TD||(TD=1,uy=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}),uy}var cy,AD;function Hoe(){return AD||(AD=1,cy=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}),cy}var fy,OD;function Woe(){if(OD)return fy;OD=1;var e=Uoe(),t=Hoe();return fy=function(r,o){return r&&!e(o)?t(r,o):o},fy}var dy,PD;function zoe(){if(PD)return dy;PD=1;var e=ro(),t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return dy=function(r){var o={},i,s,a;return r&&e.forEach(r.split(`
9`),function(u){if(a=u.indexOf(":"),i=e.trim(u.substr(0,a)).toLowerCase(),s=e.trim(u.substr(a+1)),i){if(o[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?o[i]=(o[i]?o[i]:[]).concat([s]):o[i]=o[i]?o[i]+", "+s:s}}),o},dy}var py,RD;function Koe(){if(RD)return py;RD=1;var e=ro();return py=e.isStandardBrowserEnv()?(function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),o;function i(s){var a=s;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=i(window.location.href),function(a){var l=e.isString(a)?i(a):a;return l.protocol===o.protocol&&l.host===o.host}})():(function(){return function(){return!0}})(),py}var hy,ID;function $v(){if(ID)return hy;ID=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")}
9,e.prototype.__CANCEL__=!0,hy=e,hy}var my,$D;function MD(){if($D)return my;$D=1;var e=ro(),t=qoe(),n=Voe(),r=IM(),o=Woe(),i=zoe(),s=Koe(),a=MM(),l=Mv(),u=$v();return my=function(f){return new Promise(function(d,h){var v=f.data,g=f.headers,b=f.responseType,y;function w(){f.cancelToken&&f.cancelToken.unsubscribe(y),f.signal&&f.signal.removeEventListener("abort",y)}e.isFormData(v)&&delete g["Content-Type"];var _=new XMLHttpRequest;if(f.auth){var k=f.auth.username||"",C=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";g.Authorization="Basic "+btoa(k+":"+C)}var E=o(f.baseURL,f.url);_.open(f.method.toUpperCase(),r(E,f.params,f.paramsSerializer),!0),_.timeout=f.timeout;function D(){if(_){var x="getAllResponseHeaders"in _?i(_.getAllResponseHeaders()):null,O=!b||b==="text"||b==="json"?_.responseText:_.response,A={data:O,status:_.status,statusText:_.statusText,headers:x,config:f,request:_};t(function(re){d(re),w()},function(re){h(re),w()},A),_=null}}if("onloadend"in _?_.onloadend=D:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(D)},_.onabort=function(){_&&(h(a("Request aborted",f,"ECONNABORTED",_)),_=null)},_.onerror=function(){h(a("Network Error",f,null,_)),_=null},_.ontimeout=function(){var O=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",A=f.transitional||l.transitional;f.timeoutErrorMessage&&(O=f.timeoutErrorMessage),h(a(O,f,A.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},e.isStandardBrowserEnv()){var T=(f.withCredentials||s(E))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;T&&(g[f.xsrfHeaderName]=T)}"setRequestHeader"in _&&e.forEach(g,function(O,A){typeof v>"u"&&A.toLowerCase()==="content-type"?delete g[A]:_.setRequestHeader(A,O)}),e.isUndefined(f.withCredentials)||(_.withCredentials=!!f.withCredentials),b&&b!=="json"&&(_.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&_.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(y=function(x){_&&(h(!x||x&&x.type?new u("canceled"):x),_.abort(),_=null)},f.cancelToken&&f.cancelToken.subscribe(y),f.signal&&(f.signal.aborted?y():f.signal.addEventListener("abort",y))),v||(v=null),_.send(v)})},my}var vy,FD;function Mv(){if(FD)return vy;FD=1;var e=ro(),t=joe(),n=$M(),r={"Content-Type":"application/x-www-form-urlencoded"};function o(l,u){!e.isUndefined(l)&&e.isUndefined(l["Content-Type"])&&(l["Content-Type"]=u)}function i(){var l;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(l=MD()),l}function s(l,u,c){if(e.isString(l))try{return(u||JSON.parse)(l),e.trim(l)}catch(f){if(f.name!=="SyntaxError")throw f}return(c||JSON.stringify)(l)}var a={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(u,c){return t(c,"Accept"),t(c,"Content-Type"),e.isFormData(u)||e.isArrayBuffer(u)||e.isBuffer(u)||e.isStream(u)||e.isFile(u)||e.isBlob(u)?u:e.isArrayBufferView(u)?u.buffer:e.isURLSearchParams(u)?(o(c,"application/x-www-form-urlencoded;charset=utf-8"),u.toString()):e.isObject(u)||c&&c["Content-Type"]==="application/json"?(o(c,"application/json"),s(u)):u}],transformResponse:[function(u){var c=this.transitional||a.transitional,f=c&&c.silentJSONParsing,p=c&&c.forcedJSONParsing,d=!f&&this.responseType==="json";if(d||p&&e.isString(u)&&u.length)try{return JSON.parse(u)}catch(h){if(d)throw h.name==="SyntaxError"?n(h,this,"E_JSON_PARSE"):h}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(u){a.headers[u]={}}),e.forEach(["post","put","patch"],function(u){a.headers[u]=e.merge(r)}),vy=a,vy}var gy,LD;function Goe(){if(LD)return gy;LD=1;var e=ro(),t=Mv();return gy=function(r,o,i){var s=this||t;return e.forEach(i,function(l){r=l.call(s,r,o)}),r},gy}var yy,ND;
9function FM(){return ND||(ND=1,yy=function(t){return!!(t&&t.__CANCEL__)}),yy}var _y,BD;function Yoe(){if(BD)return _y;BD=1;var e=ro(),t=Goe(),n=FM(),r=Mv(),o=$v();function i(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new o("canceled")}return _y=function(a){i(a),a.headers=a.headers||{},a.data=t.call(a,a.data,a.headers,a.transformRequest),a.headers=e.merge(a.headers.common||{},a.headers[a.method]||{},a.headers),e.forEach(["delete","get","head","post","put","patch","common"],function(c){delete a.headers[c]});var l=a.adapter||r.adapter;return l(a).then(function(c){return i(a),c.data=t.call(a,c.data,c.headers,a.transformResponse),c},function(c){return n(c)||(i(a),c&&c.response&&(c.response.data=t.call(a,c.response.data,c.response.headers,a.transformResponse))),Promise.reject(c)})},_y}var by,jD;function LM(){if(jD)return by;jD=1;var e=ro();return by=function(n,r){r=r||{};var o={};function i(f,p){return e.isPlainObject(f)&&e.isPlainObject(p)?e.merge(f,p):e.isPlainObject(p)?e.merge({},p):e.isArray(p)?p.slice():p}function s(f){if(e.isUndefined(r[f])){if(!e.isUndefined(n[f]))return i(void 0,n[f])}else return i(n[f],r[f])}function a(f){if(!e.isUndefined(r[f]))return i(void 0,r[f])}function l(f){if(e.isUndefined(r[f])){if(!e.isUndefined(n[f]))return i(void 0,n[f])}else return i(void 0,r[f])}function u(f){if(f in r)return i(n[f],r[f]);if(f in n)return i(void 0,n[f])}var c={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:u};return e.forEach(Object.keys(n).concat(Object.keys(r)),function(p){var d=c[p]||s,h=d(p);e.isUndefined(h)&&d!==u||(o[p]=h)}),o},by}var wy,qD;function NM(){return qD||(qD=1,wy={version:"0.25.0"}),wy}var ky,VD;function Xoe(){if(VD)return ky;VD=1;var e=NM().version,t={};["object","boolean","number","function","string","symbol"].forEach(function(o,i){t[o]=function(a){return typeof a===o||"a"+(i<1?"n ":" ")+o}});var n={};t.transitional=function(i,s,a){function l(u,c){return"[Axios v"+e+"] Transitional option '"+u+"'"+c+(a?". "+a:"")}return function(u,c,f){if(i===!1)throw new Error(l(c," has been removed"+(s?" in "+s:"")));return s&&!n[c]&&(n[c]=!0,console.warn(l(c," has been deprecated since v"+s+" and will be removed in the near future"))),i?i(u,c,f):!0}};function r(o,i,s){if(typeof o!="object")throw new TypeError("options must be an object");for(var a=Object.keys(o),l=a.length;l-- >0;){var u=a[l],c=i[u];if(c){var f=o[u],p=f===void 0||c(f,u,o);if(p!==!0)throw new TypeError("option "+u+" must be "+p);continue}if(s!==!0)throw Error("Unknown option "+u)}}return ky={assertOptions:r,validators:t},ky}var Ey,UD;function Qoe(){if(UD)return Ey;UD=1;var e=ro(),t=IM(),n=Boe(),r=Yoe(),o=LM(),i=Xoe(),s=i.validators;function a(l){this.defaults=l,this.interceptors={request:new n,response:new n}}return a.prototype.request=function(u,c){if(typeof u=="string"?(c=c||{},c.url=u):c=u||{},!c.url)throw new Error("Provided config url is not valid");c=o(this.defaults,c),c.method?c.method=c.method.toLowerCase():this.defaults.method?c.method=this.defaults.method.toLowerCase():c.method="get";var f=c.transitional;f!==void 0&&i.assertOptions(f,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean)},!1);var p=[],d=!0;this.interceptors.request.forEach(function(k){typeof k.runWhen=="function"&&k.runWhen(c)===!1||(d=d&&k.synchronous,p.unshift(k.fulfilled,k.rejected))});var h=[];this.interceptors.response.forEach(function(k){h.push(k.fulfilled,k.rejected)});var v;if(!d){var g=[r,void 0];for(Array.prototype.unshift.apply(g,p),g=g.concat(h),v=Promise.resolve(c);g.length;)v=v.then(g.shift(),g.shift());return v}for(var b=c;p.length;){var y=p.shift(),w=p.shift();try{b=y(b)}catch(_){w(_);break}}try{v=r(b)}catch(_){return Promise.reject(_)}for(;h.length;)v=v.then(h.shift(),h.shift());return v},a.prototype.getUri=function(u){if(!u.url)throw new Error("Provided config url is not val
9id");return u=o(this.defaults,u),t(u.url,u.params,u.paramsSerializer).replace(/^\?/,"")},e.forEach(["delete","get","head","options"],function(u){a.prototype[u]=function(c,f){return this.request(o(f||{},{method:u,url:c,data:(f||{}).data}))}}),e.forEach(["post","put","patch"],function(u){a.prototype[u]=function(c,f,p){return this.request(o(p||{},{method:u,url:c,data:f}))}}),Ey=a,Ey}var Sy,HD;function Zoe(){if(HD)return Sy;HD=1;var e=$v();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(s){r=s});var o=this;this.promise.then(function(i){if(o._listeners){var s,a=o._listeners.length;for(s=0;s<a;s++)o._listeners[s](i);o._listeners=null}}),this.promise.then=function(i){var s,a=new Promise(function(l){o.subscribe(l),s=l}).then(i);return a.cancel=function(){o.unsubscribe(s)},a},n(function(s){o.reason||(o.reason=new e(s),r(o.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}},t.source=function(){var r,o=new t(function(s){r=s});return{token:o,cancel:r}},Sy=t,Sy}var Cy,WD;function Joe(){return WD||(WD=1,Cy=function(t){return function(r){return t.apply(null,r)}}),Cy}var Dy,zD;function eie(){if(zD)return Dy;zD=1;var e=ro();return Dy=function(n){return e.isObject(n)&&n.isAxiosError===!0},Dy}var KD;function tie(){if(KD)return Gp.exports;KD=1;var e=ro(),t=RM(),n=Qoe(),r=LM(),o=Mv();function i(a){var l=new n(a),u=t(n.prototype.request,l);return e.extend(u,n.prototype,l),e.extend(u,l),u.create=function(f){return i(r(a,f))},u}var s=i(o);return s.Axios=n,s.Cancel=$v(),s.CancelToken=Zoe(),s.isCancel=FM(),s.VERSION=NM().version,s.all=function(l){return Promise.all(l)},s.spread=Joe(),s.isAxiosError=eie(),Gp.exports=s,Gp.exports.default=s,Gp.exports}var xy,GD;function nie(){return GD||(GD=1,xy=tie()),xy}var rie=nie();const oie=rw(rie),iie="_btnDisabled_1lh7e_2",sie={btnDisabled:iie},aie={class:Qe(["sd-page-section","surface-light","section","sd-page-section-margin-spacing-short"])},lie={class:"container vw-modal-container",style:{}},uie={style:{visibility:"visible"}},cie={class:""},fie={class:"container"},die={class:"braceworks-demo-form"},pie={key:0,id:"connectcad_demo_request_form",class:"vw-form","data-form-validate":"true"},hie={class:"form-row"},mie={class:"form-group col-12 col-sm-6"},vie={for:"fname"},gie={class:"fieldLabel"},yie={class:"error-msg text-danger"},_ie={class:"form-group col-12 col-sm-6"},bie={for:"lname"},wie={class:"fieldLabel"},kie={class:"error-msg text-danger"},Eie={class:"form-row"},Sie={class:"form-group col-12 col-sm-6"},Cie={for:"email"},Die={class:"fieldLabel"},xie={class:"error-msg text-danger"},Tie={class:"form-group col-12 col-sm-6"},Aie={for:"phone"},Oie={class:"fieldLabel"},Pie={class:"error-msg text-danger"},Rie={class:"form-row"},Iie={class:"form-group col-12 col-sm-6"},$ie={class:"wrap"},Mie={for:"country"},Fie={class:"fieldLabel"},Lie={class:"error-msg text-danger"},Nie=["value"],Bie={id:"braceworksState",class:"form-group col-12 col-sm-6"},jie={for:"state"},qie={class:"fieldLabel"},Vie=["value"],Uie={class:"form-row"},Hie={class:"form-group col-12 col-sm-6"},Wie={for:"company"},zie={class:"fieldLabel"},Kie={class:"error-msg text-danger"},Gie={class:"form-row"},Yie={class:"form-check form-check-inline col-12"},Xie={for:"i_authorize",class:"form-check-label"},Qie=["innerHTML"],Zie={class:"submit-wrapper"},Jie={key:1,class:"form-thank-you form-thankyou"},ese={__name:"PageBlocksFormsInModal",props:{block:{type:Object,required:!0}},setup(e){const t=e,n=ne(!1),r=new RegExp(/^([+]?[\s0-9]+)?(\d{3}|[(]?[0-9]+[)])?([-]?[\s]?[0-9])+$/),o=a$(nw({firstName:Jn().min(1,{message:"This is required"}),lastName:Jn().min(1,{message:"This is required"}),email:Jn().min(1,{message:"This is required"}).email({message:"Must be a valid email"}),phone:Jn().min(6,{message:"This is required"}).regex(r,{message:"Must be a valid phone number"}),country:Jn().min(1,{message:"This is required"}),state:Jn().min(0,{message:"This is required"}),company:Jn().min(1,{message:"This is required"}),i_authorize:c0().refine(_=>_===!0,{message:"You must accept the terms and conditions"})})),{errors:i,values:s,meta:a}=C9({validationSchema:o,initialValues:{state:"none"}}),{value:l}=Ys("email"),{value:u}=Ys("firstName"),{value:c}=Ys("lastName"),{value:f}=Ys("phone"),{value:p}=Ys("country"),{value:d}=Ys("state"),{value:h}=Ys("company"),{value:v}=Ys("i_authorize"),g=_=>_.split(`
10`),b=()=>{y()};function y(){const _=document.cookie.split("; ").find(E=>E.startsWith("hubspotutk=")),k=_?_.split("=")[1]:null,C={headers:{"Content-Type":"application/json"},fields:[{objectId:"email",name:"email",value:s.email},{objectId:"firstname",name:"firstname",value:s.firstName},{objectId:"lastname",name:"lastname",value:s.lastName},{objectId:"phone",name:"phone",value:s.phone},{objectId:"country",name:"country",value:p.value},{objectId:"state",name:"state",value:s.state},{objectId:"company",name:"company",value:s.company}],context:{pageUri:`${window.location.href}`,pageName:`${document.title}`}};k&&(C.context.hutk=k),oie.post(`https://api.hsforms.com/submissions/v3/integration/submit/3018241/${t.block.form.formId}`,C).then(E=>{console.log("success"),console.log(E),n.value=!0}
10).catch(E=>{console.error(E),console.log(E)})}const w=_=>{console.log(_.target.value)};return(_,k)=>(R(),ce("section",aie,[m("div",lie,[m("div",uie,[m("div",cie,[m("div",fie,[m("div",die,[S(n)?(R(),ce("div",Jie,[...k[20]||(k[20]=[m("h3",null,"Thank you for your submission!",-1),m("div",{class:"talign-c"},[m("div",{class:"thankyou-icon"},[m("i",{class:"ico ico-check-circ"})]),m("div",{class:"thankyou-text"},[m("p",null,"You will receive an email shortly with the link to view your demo.")])],-1)])])):(R(),ce("form",pie,[m("h3",null,L(t.block.form.heading),1),m("div",hie,[m("div",mie,[m("label",vie,[m("span",gie,[qe(L(t.block.form.elements[0].label)+" ",1),k[8]||(k[8]=m("span",{class:"text-danger"},"*",-1))]),m("span",yie,L(S(i).firstName),1)]),k[9]||(k[9]=m("span",{class:"error-msg"},null,-1)),Hr(m("input",{"onUpdate:modelValue":k[0]||(k[0]=C=>lt(u)?u.value=C:null),type:"text",name:"fname",class:"form-control",required:"",onBlur:w,"data-validation":"required"},null,544),[[Lo,S(u)]])]),m("div",_ie,[m("label",bie,[m("span",wie,[qe(L(t.block.form.elements[1].label)+" ",1),k[10]||(k[10]=m("span",{class:"text-danger"},"*",-1))]),m("span",kie,L(S(i).lastName),1)]),Hr(m("input",{"onUpdate:modelValue":k[1]||(k[1]=C=>lt(c)?c.value=C:null),type:"text",name:"lname",class:"form-control",required:"","data-validation":"required"},null,512),[[Lo,S(c)]])])]),m("div",Eie,[m("div",Sie,[m("label",Cie,[m("span",Die,[qe(L(t.block.form.elements[2].label)+" ",1),k[11]||(k[11]=m("span",{class:"text-danger"},"*",-1))]),m("span",xie,L(S(i).email),1)]),Hr(m("input",{"onUpdate:modelValue":k[2]||(k[2]=C=>lt(l)?l.value=C:null),type:"email",name:"email",class:"form-control",required:"","data-validation":"email"},null,512),[[Lo,S(l)]])]),m("div",Tie,[m("label",Aie,[m("span",Oie,[qe(L(t.block.form.elements[3].label)+" ",1),k[12]||(k[12]=m("span",{class:"text-danger"},"*",-1))]),m("span",Pie,L(S(i).phone),1)]),Hr(m("input",{"onUpdate:modelValue":k[3]||(k[3]=C=>lt(f)?f.value=C:null),type:"text",name:"phone",class:"form-control",required:"","data-validation":"required"},null,512),[[Lo,S(f)]])])]),m("div",Rie,[m("div",Iie,[m("label",$ie,[m("label",Mie,[m("span",Fie,[qe(L(t.block.form.elements[4].label)+" ",1),k[13]||(k[13]=m("span",{class:"text-danger"},"*",-1))]),m("span",Lie,L(S(i).country),1)]),Hr(m("select",{"onUpdate:modelValue":k[4]||(k[4]=C=>lt(p)?p.value=C:null),name:"country",class:"form-control",required:"","data-validation":"required",onchange:"this.value == 'United States' ? $('#braceworksState').show() : $('#braceworksState').hide()"},[k[14]||(k[14]=m("option",{value:""},"Choose Country",-1)),(R(!0),ce(Je,null,mn(g(e.block.form.elements[4].content),(C,E)=>(R(),ce("option",{key:E,value:C},L(C),9,Nie))),128))],512),[[N_,S(p)]])])]),m("div",Bie,[m("label",jie,[m("span",qie,[qe(L(t.block.form.elements[5].label),1),k[15]||(k[15]=m("span",{class:"text-danger"},"*",-1))]),k[16]||(k[16]=m("span",{class:"error-msg text-danger"},null,-1))]),Hr(m("select",{"onUpdate:modelValue":k[5]||(k[5]=C=>lt(d)?d.value=C:null),name:"state",class:"form-control","data-validation":"required"},[k[17]||(k[17]=m("option",{value:""},"-- Choose State --",-1)),(R(!0),ce(Je,null,mn(g(e.block.form.elements[5].content),(C,E)=>(R(),ce("option",{key:E,value:C},L(C),9,Vie))),128))],512),[[N_,S(d)]])])]),m("div",Uie,[m("div",Hie,[m("label",Wie,[m("span",zie,[qe(L(t.block.form.elements[6].label)+" ",1),k[18]||(k[18]=m("span",{class:"text-danger"},"*",-1))]),m("span",Kie,L(S(i).company),1)]),Hr(m("input",{type:"text","onUpdate:modelValue":k[6]||(k[6]=C=>lt(h)?h.value=C:null),name:"company",class:"form-control","data-validation":"required"},null,512),[[Lo,S(h)]])])]),m("div",Gie,[m("div",Yie,[Hr(m("input",{type:"checkbox",name:"i_authorize",class:"required form-control form-check-input","onUpdate:modelValue":k[7]||(k[7]=C=>lt(v)?v.value=C:null),"data-validation":"required"},null,512),[[FA,S(v)]]),m("label",Xie,[m("span",{innerHTML:e.block.form.elements[7].content},null,8,Qie),k[19]||(k[19]=m("span",{class:"text-danger"},"*",-1))])])]),m("div",Zie,[m("button",{onClick:Rr(b,["prevent"]),type:"submit",class:Qe([{[_.$style.btnDisabled]:!S(a).valid},"vw-btn fill btn-submit"]),"data-control":"ajax","data-ajax-success-callback":"modal_form_success_thank_you"},L(t.block.form.buttons[0].label),3)])]))])])])])])]))}},tse={$style:sie},nse=bt(ese,[["__cssModules",tse],["__scopeId","data-v-f3f27772"]]),rse={},ose={"xml:space":"preserve",style:{"enable-background":"new 0 0 32 32"},viewBox:"0 0 32 32"};function ise(e,t){return R(),ce("svg",ose,[...t[0]||(t[0]=[m("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm7.4 21.6-1.8 1.8-5.6-5.6-5.6 5.6-1.8-1.8 5.6-5.6-5.6-5.6 1.8-1.8 5.6 5.6 5.6-5.6 1.8 1.8-5.6 5.6 5.6 5.6z"},null,-1)])])}const sse=Object.assign(bt(rse,[["render",ise]]),{__name:"IconsCloseCircle"}),ase={class:Qe(["modalContainer"])},lse=ge({__name:"AppModal",props:{videoURL:String,modalOpen:Boolean,smallModal:{type:Boolean,default:!1}},emits:["closeModal"],setup(e,{emit:t}){const n=t;return _t(()=>{document.body.style.overflow="hidden"}),Lr(()=>{document.body.style.overflow="auto"}),AM("Escape",r=>{n("closeModal")}),(r,o)=>{const i=sse;return R(),ce("div",ase,[m("div",{class:Qe(r.$style.close),onClick:o[0]||(o[0]=s=>r.$emit("closeModal"))},[W(i)],2),m("div",{class:Qe([r.$style.modalContent,{[r.$style.smallModal]:e.smallModal}])},[$e(r.$slots,"default",{},void 0,!0)],2)])}}}),use="_close_ai6zo_2",cse="_modalContent_ai6zo_17",fse="_smallModal_ai6zo_37",dse={close:use,modalContent:cse,smallModal:fse},pse={$style:dse},BM=Object.assign(bt(lse,[["__cssModules",pse],["__scopeId","data-v-69f06d85"]]),{__name:"AppModal"}
10),hse=ge({__name:"CtaModal",props:{open:{type:Boolean},modal:{},form:{}},emits:["close"],setup(e){return(t,n)=>{const r=iee,o=Dte,i=ine,s=yne,a=Noe,l=nse,u=BM;return R(),ie(jl,{to:"body"},[W(Ud,{name:"modal"},{default:J(()=>[e.open?(R(),ce("div",{key:0,class:Qe(["components-scope vw-modal",t.$style.modalTeleportRoot])},[W(u,{"modal-open":e.open,onCloseModal:n[0]||(n[0]=c=>t.$emit("close"))},{default:J(()=>[e.modal==="Architect"?(R(),ie(r,{key:0})):e.modal==="Entertainment"?(R(),ie(o,{key:1})):e.modal==="Fundamentals"?(R(),ie(i,{key:2})):e.modal==="Cloud"?(R(),ie(s,{key:3})):e.modal==="EducationForm"?(R(),ie(a,{key:4})):e.modal==="form"&&e.form?(R(),ie(l,{key:5,block:e.form},null,8,["block"])):we("",!0)]),_:1},8,["modal-open"])],2)):we("",!0)]),_:1})])}}}),mse="_modalTeleportRoot_lzghq_2",vse={modalTeleportRoot:mse},gse={$style:vse},yse=Object.assign(bt(hse,[["__cssModules",gse]]),{__name:"CtaModal"});function jM(e){const t=[e?.webform,e?.form?.webform];for(const r of t)if(r){if(r.documentId)return r.documentId;if(Array.isArray(r.connect)&&r.connect[0]?.documentId)return r.connect[0].documentId}const n=e?.form;if(n&&!n.__component&&!("form"in n)){if(n.documentId)return n.documentId;if(Array.isArray(n.connect)&&n.connect[0]?.documentId)return n.connect[0].documentId}return null}function YD(e){return jM(e)!==null}function _se(e){const t=jM(e);return t?e?.webform?.documentId?e:{...e,webform:{documentId:t}}:null}const bse=new Set(["Architect","Entertainment","Fundamentals","Cloud","EducationForm"]);function wse(e){const t=typeof e?.modal=="string"?e.modal:"";return t?t==="form"?e?.form?"form":null:bse.has(t)?t:null:null}const kse=Symbol("webformModalContext");function qM(){const e=Gu("webform-modal-open",()=>!1),t=Gu("webform-modal-block",()=>null);function n(s){t.value={webform:{documentId:s}},e.value=!0}function r(s){t.value={webform:{key:s}},e.value=!0}function o(s){const a=_se(s);a&&(t.value=a,e.value=!0)}function i(){e.value=!1,t.value=null}return{isOpen:e,activeBlock:t,openByDocumentId:n,openByWebformKey:r,openByButton:o,close:i}}function Ese(){const e=Kt(kse,null);if(e)return lt(e)?e:N(()=>e);const t=no();return N(()=>{const n=t.path,r=n.startsWith("/admin/form-builder/")||n.startsWith("/admin/builder/")||n.startsWith("/admin/preview/");return{mode:r?"draft":"published",viaPublicApi:!r}})}const Sse=ge({__name:"CtaButton",props:{button:{type:Object,required:!0},ghost:{type:Boolean,default:!1},onNav:{type:Boolean,default:!1},onHero:{type:Boolean,default:!1},product:{type:Object,default:null},productPeriod:{type:Object,default:null},buttonType:{type:String,default:null},buttonClass:{type:[String,Array,Object],default:null},fullWidth:{type:Boolean,default:!1}},setup(e){const t=e,{openByButton:n}=qM(),r=ne(!1),o=N(()=>!!wse(t.button)&&!t.button.videoId&&!YD(t.button));function i(a){a.preventDefault(),n(t.button)}function s(a){a.preventDefault(),r.value=!0}return(a,l)=>{const u=fJ,c=DM,f=yse;return R(),ce(Je,null,[e.button.videoId?(R(),ie(u,{key:0,label:e.button.label,videoId:e.button.videoId,"on-hero":e.onHero,buttonType:e.buttonType??e.button.buttonType,"button-variant":"secondary",class:Qe(e.buttonClass)},null,8,["label","videoId","on-hero","buttonType","class"])):S(YD)(e.button)?(R(),ie(c,{key:1,ghost:e.ghost||e.button.variant==="secondary","on-nav":e.onNav,product:e.product??e.button.product??null,"product-period":e.productPeriod??e.button.productPeriod??null,"full-width":e.fullWidth,class:Qe(e.buttonClass),label:e.button.label??"",onClick:i},null,8,["ghost","on-nav","product","product-period","full-width","class","label"])):e.button?.modal?.startsWith("legacy-")?(R(),ie(c,{key:2,ghost:e.ghost||e.button.variant==="secondary","on-nav":e.onNav,product:e.product??e.button.product??null,"product-period":e.productPeriod??e.button.productPeriod??null,"full-width":e.fullWidth,class:Qe(e.buttonClass),label:e.button.label??"",modal:e.button.modal},null,8,["ghost","on-nav","product","product-period","full-width","class","label","modal"])):S(o)?(R(),ie(c,{key:3,ghost:e.ghost||e.button.variant==="secondary","on-nav":e.onNav,product:e.product??e.button.product??null,"product-period":e.productPeriod??e.button.productPeriod??null,"full-width":e.fullWidth,class:Qe(e.buttonClass),label:e.button.label??"",onClick:s},null,8,["ghost","on-nav","product","product-period","full-width","class","label"])):(R(),ie(c,{key:4,ghost:e.ghost||e.button.variant==="secondary","on-nav":e.onNav,url:e.button.url??"",label:e.button.label??"",product:e.product??e.button.product??null,"product-period":e.productPeriod??e.button.productPeriod??null,target:e.button.openInNewTab?"_blank":"","full-width":e.fullWidth,class:Qe(e.buttonClass)},null,8,["ghost","on-nav","url","label","product","product-period","target","full-width","class"])),S(o)?(R(),ie(f,{key:5,open:S(r),modal:e.button.modal,form:e.button.form,onClose:l[0]||(l[0]=p=>r.value=!1)},null,8,["open","modal","form"])):we("",!0)],64)}}}),Cse=Object.assign(Sse,{__name:"CtaButton"}),Dse=ge({__name:"PlayVideoLink",props:{videoId:{type:String,required:!0},size:{type:String,default:"large"}},setup(e){const t=Z0(),n=e,r=N(()=>typeof n.videoId=="string"&&n.videoId.length>3),o=N(()=>t[n.size]),i=ne(!1);return(s,a)=>{const l=PM;return R(),ce(Je,null,[S(r)?(R(),ce("a",{key:0,onClick:a[0]||(a[0]=u=>i.value=!0),class:Qe([s.$style.watchVideoLink,S(o)])},"Watch Video",2)):we("",!0),(R(),ie(jl,{to:"body"},[W(Ud,{name:"modal"},{default:J(()=>[S(i)?(R(),ce("div",{key:0,class:Qe(["components-scope",s.$style.modalTeleportRoot])},[W(l,{onCloseModal:a[1]||(a[1]=u=>i.value=!1),videoURL:e.videoId},null,8,["videoURL"])],2)):we("",!0)]),_:1})]))],64)}}}),xse="_modalTeleportRoot_imlxe_2",Tse="_watchVideoLink_imlxe_8",Ase="_normal_imlxe_17",Ose="_large_imlxe_20",Pse={modalTeleportRoot:xse,watchVideoLink:Tse,normal:Ase,large:Ose},Rse={$style:Pse},Ise=Object.assign(bt(Dse,[["__cssModules",Rse]]),{__name:"PlayVideoLink"});function Pc(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[o=>{const i=Kt(r,o);if(i||i===null)return i;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},o=>(Qn(r,o),o)]}
10function VM(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}function $se(e,t){var n;const r=yt();return Pt(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),ci(r)}function Fv(e){return zi()?(As(e),!0):!1}function Mse(){const e=new Set,t=n=>{e.delete(n)};return{on:n=>{e.add(n);const r=()=>t(n);return Fv(r),{off:r}},off:t,trigger:(...n)=>Promise.all(Array.from(e).map(r=>r(...n)))}}function Fse(e){let t=!1,n;const r=Ia(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}function El(e){return typeof e=="function"?e():S(e)}const Zd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Lse=e=>typeof e<"u",Nse=Object.prototype.toString,Bse=e=>Nse.call(e)==="[object Object]",jse=()=>{};function qse(e,t=1e4){return _c((n,r)=>{let o=El(e),i;const s=()=>setTimeout(()=>{o=El(e),r()},El(t));return Fv(()=>{clearTimeout(i)}),{get(){return n(),o},set(a){o=a,r(),clearTimeout(i),i=s()}}})}function UM(e,t,n={}){const{immediate:r=!0}=n,o=ne(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function a(){o.value=!1,s()}function l(...u){s(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},El(t))}return r&&(o.value=!0,Zd&&l()),Fv(a),{isPending:ci(o),start:l,stop:a}}function Lv(e){var t;const n=El(e);return(t=n?.$el)!=null?t:n}const Tw=Zd?window:void 0;function D0(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Tw):[t,n,r,o]=e,!t)return jse;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(c=>c()),i.length=0},a=(c,f,p,d)=>(c.addEventListener(f,p,d),()=>c.removeEventListener(f,p,d)),l=Ie(()=>[Lv(t),El(o)],([c,f])=>{if(s(),!c)return;const p=Bse(f)?{...f}:f;i.push(...n.flatMap(d=>r.map(h=>a(c,d,h,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return Fv(u),u}function Vse(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Use(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Tw,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=Vse(t);return D0(o,i,u=>{u.repeat&&El(a)||l(u)&&n(u)},s)}function Hse(){const e=ne(!1),t=kt();return t&&_t(()=>{e.value=!0},t),e}function Wse(e){return JSON.parse(JSON.stringify(e))}function HM(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:p}=r,d=kt(),h=n||d?.emit||((o=d?.$emit)==null?void 0:o.bind(d))||((s=(i=d?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(d?.proxy));let v=u;t||(t="modelValue"),v=v||`update:${t.toString()}`;const g=w=>a?typeof a=="function"?a(w):Wse(w):w,b=()=>Lse(e[t])?g(e[t]):f,y=w=>{p?p(w)&&h(v,w):h(v,w)};if(l){const w=b(),_=ne(w);let k=!1;return Ie(()=>e[t],C=>{k||(k=!0,_.value=g(C),it(()=>k=!1))}),Ie(_,C=>{!k&&(C!==e[t]||c)&&y(C)},{deep:c}),_}else return N({get(){return b()},set(w){y(w)}})}function Aw(e){return e?e.flatMap(t=>t.type===Je?Aw(t.children):[t]):[]}const[zse]=Pc("ConfigProvider");function Kse(e){const t=kt(),n=t?.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(o=>{r[cl(Nn(o))]=(...i)=>e(o,...i)}),r}function WM(e){const t=kt(),n=Object.keys(t?.type.props??{}).reduce((o,i)=>{const s=(t?.type.props[i]).default;return s!==void 0&&(o[i]=s),o},{}),r=Rs(e);return N(()=>{const o={},i=t?.vnode.props??{};
10return Object.keys(i).forEach(s=>{o[Nn(s)]=i[s]}),Object.keys({...n,...o}).reduce((s,a)=>(r.value[a]!==void 0&&(s[a]=r.value[a]),s),{})})}function Gse(e,t){const n=WM(e),r=t?Kse(t):{};return N(()=>({...n.value,...r}))}function Rn(){const e=kt(),t=ne(),n=N(()=>{var s,a;return["#text","#comment"].includes((s=t.value)==null?void 0:s.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:Lv(t)}),r=Object.assign({},e.exposed),o={};for(const s in e.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(r).length>0)for(const s in r)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>r[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(s){t.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=o)}return{forwardRef:i,currentRef:t,currentElement:n}}function Yse(e,t){const n=qse(!1,300),r=ne(null),o=Mse();function i(){r.value=null,n.value=!1}function s(a,l){const u=a.currentTarget,c={x:a.clientX,y:a.clientY},f=Xse(c,u.getBoundingClientRect()),p=Qse(c,f),d=Zse(l.getBoundingClientRect()),h=eae([...p,...d]);r.value=h,n.value=!0}return Pt(a=>{if(e.value&&t.value){const l=c=>s(c,t.value),u=c=>s(c,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",u),a(()=>{var c,f;(c=e.value)==null||c.removeEventListener("pointerleave",l),(f=t.value)==null||f.removeEventListener("pointerleave",u)})}}),Pt(a=>{var l;if(r.value){const u=c=>{var f,p;if(!r.value)return;const d=c.target,h={x:c.clientX,y:c.clientY},v=((f=e.value)==null?void 0:f.contains(d))||((p=t.value)==null?void 0:p.contains(d)),g=!Jse(h,r.value),b=!!d.closest("[data-grace-area-trigger]");v?i():(g||b)&&(i(),o.trigger())};(l=e.value)==null||l.ownerDocument.addEventListener("pointermove",u),a(()=>{var c;return(c=e.value)==null?void 0:c.ownerDocument.removeEventListener("pointermove",u)})}}),{isPointerInTransit:n,onPointerExit:o.on}}function Xse(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Qse(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Zse(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Jse(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,l=t[i].y,u=t[s].x,c=t[s].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function eae(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),tae(t)}function tae(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}let nae=0;function rae(e,t="radix"){const n=zse({useId:void 0});return x_?`${t}-${x_()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++nae}`}function oae(e){const t=ne(),n=N(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),r=N(()=>{var o;return((o=t.value)==null?void 0:o.height)??0});return _t(()=>{const o=Lv(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let l,u;if("borderBoxSize"in a){const c=a.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,u=f.blockSize}else l=o.offsetWidth,u=o.offsetHeight;t.value={width:l,height:u}});return i.observe(o,{box:"border-box"}),()=>i.unobserve(o)}else t.value=void 0}),{width:n,height:r}}function iae(e,t){const n=ne(e);function r(o){return t[n.value][o]??n.value}return{state:n,dispatch:o=>{n.value=r(o)}}}const sae=ge({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var r,o;
10if(!n.default)return null;const i=Aw(n.default()),s=i.findIndex(c=>c.type!==bn);if(s===-1)return i;const a=i[s];(r=a.props)==null||delete r.ref;const l=a.props?at(t,a.props):t;t.class&&(o=a.props)!=null&&o.class&&delete a.props.class;const u=Ho(a,l);for(const c in l)c.startsWith("on")&&(u.props||(u.props={}),u.props[c]=l[c]);return i.length===1?u:(i[s]=u,i)}}}),oo=ge({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&["area","img","input"].includes(r)?()=>Bt(r,t):r!=="template"?()=>Bt(e.as,t,{default:n.default}):()=>Bt(sae,t,{default:n.default})}});function aae(e,t){var n;const r=ne({}),o=ne("none"),i=ne(e),s=e.value?"mounted":"unmounted";let a;const l=((n=t.value)==null?void 0:n.ownerDocument.defaultView)??Tw,{state:u,dispatch:c}=iae(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),f=g=>{var b;if(Zd){const y=new CustomEvent(g,{bubbles:!1,cancelable:!1});(b=t.value)==null||b.dispatchEvent(y)}};Ie(e,async(g,b)=>{var y;const w=b!==g;if(await it(),w){const _=o.value,k=Yp(t.value);g?(c("MOUNT"),f("enter"),k==="none"&&f("after-enter")):k==="none"||((y=r.value)==null?void 0:y.display)==="none"?(c("UNMOUNT"),f("leave"),f("after-leave")):b&&_!==k?(c("ANIMATION_OUT"),f("leave")):(c("UNMOUNT"),f("after-leave"))}},{immediate:!0});const p=g=>{const b=Yp(t.value),y=b.includes(g.animationName),w=u.value==="mounted"?"enter":"leave";if(g.target===t.value&&y&&(f(`after-${w}`),c("ANIMATION_END"),!i.value)){const _=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=l?.setTimeout(()=>{var k;((k=t.value)==null?void 0:k.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=_)})}g.target===t.value&&b==="none"&&c("ANIMATION_END")},d=g=>{g.target===t.value&&(o.value=Yp(t.value))},h=Ie(t,(g,b)=>{g?(r.value=getComputedStyle(g),g.addEventListener("animationstart",d),g.addEventListener("animationcancel",p),g.addEventListener("animationend",p)):(c("ANIMATION_END"),a!==void 0&&l?.clearTimeout(a),b?.removeEventListener("animationstart",d),b?.removeEventListener("animationcancel",p),b?.removeEventListener("animationend",p))},{immediate:!0}),v=Ie(u,()=>{const g=Yp(t.value);o.value=u.value==="mounted"?g:"none"});return Lr(()=>{h(),v()}),{isPresent:N(()=>["mounted","unmountSuspended"].includes(u.value))}}function Yp(e){return e&&getComputedStyle(e).animationName||"none"}const lae=ge({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r;const{present:o,forceMount:i}=Pn(e),s=ne(),{isPresent:a}=aae(o,s);n({present:a});let l=t.default({present:a});l=Aw(l||[]);const u=kt();if(l&&l?.length>
vendor: 4,144 bytes, lines 10-12
101){const c=(r=u?.parent)!=null&&r.type.name?`<${u.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>`  - ${f}`).join(`
11`)].join(`
12`))}return()=>i.value||o.value||a.value?Bt(t.default({present:a})[0],{ref:c=>{const f=Lv(c);return typeof f?.hasAttribute>"u"||(f!=null&&f.hasAttribute("data-radix-popper-content-wrapper")?s.value=f.firstElementChild:s.value=f),f}}):null}}),uae=ge({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=Hse();return(n,r)=>S(t)||n.forceMount?(R(),ie(jl,{key:0,to:n.to,disabled:n.disabled},[$e(n.$slots,"default")],8,["to","disabled"])):we("",!0)}}),cae="dismissableLayer.pointerDownOutside",fae="dismissableLayer.focusOutside";function zM(e,t){const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&r===n||o.indexOf(r)<o.indexOf(n))}function dae(e,t){var n;const r=((n=t?.value)==null?void 0:n.ownerDocument)??globalThis?.document,o=ne(!1),i=ne(()=>{});return Pt(s=>{if(!Zd)return;const a=async u=>{const c=u.target;if(t!=null&&t.value){if(zM(t.value,c)){o.value=!1;return}if(u.target&&!o.value){let f=function(){VM(cae,e,p)};const p={originalEvent:u};u.pointerType==="touch"?(r.removeEventListener("click",i.value),i.value=f,r.addEventListener("click",i.value,{once:!0})):f()}else r.removeEventListener("click",i.value);o.value=!1}},l=window.setTimeout(()=>{r.addEventListener("pointerdown",a)},0);s(()=>{window.clearTimeout(l),r.removeEventListener("pointerdown",a),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>o.value=!0}}function pae(e,t){var n;const r=((n=t?.value)==null?void 0:n.ownerDocument)??globalThis?.document,o=ne(!1);return Pt(i=>{if(!Zd)return;const s=async a=>{t!=null&&t.value&&(await it(),!(!t.value||zM(t.value,a.target))&&a.target&&!o.value&&VM(fae,e,{originalEvent:a}))};r.addEventListener("focusin",s),i(()=>r.removeEventListener("focusin",s))}),{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}const es=on({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hae=ge({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=Rn(),s=N(()=>{var h;return((h=i.value)==null?void 0:h.ownerDocument)??globalThis.document}),a=N(()=>es.layersRoot),l=N(()=>i.value?Array.from(a.value).indexOf(i.value):-1),u=N(()=>es.layersWithOutsidePointerEventsDisabled.size>0),c=N(()=>{const h=Array.from(a.value),[v]=[...es.layersWithOutsidePointerEventsDisabled].slice(-1),g=h.indexOf(v);return l.value>=g}),f=dae(async h=>{const v=[...es.branches].some(g=>g?.contains(h.target));!c.value||v||(r("pointerDownOutside",h),r("interactOutside",h),await it(),h.defaultPrevented||r("dismiss"))},i),p=pae(h=>{[...es.branches].some(v=>v?.contains(h.target))||(r("focusOutside",h),r("interactOutside",h),h.defaultPrevented||r("dismiss"))},i);Use("Escape",h=>{l.value===a.value.size-1&&(r("escapeKeyDown",h),h.defaultPrevented||r("dismiss"))});let d;return Pt(h=>{i.value&&(n.disableOutsidePointerEvents&&(es.layersWithOutsidePointerEventsDisabled.size===0&&(d=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),es.layersWithOutsidePointerEventsDisabled.add(i.value)),a.value.add(i.value),h(()=>{n.disableOutsidePointerEvents&&es.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=d)}))}),Pt(h=>{h(()=>
12{i.value&&(a.value.delete(i.value),es.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(h,v)=>(R(),ie(S(oo),{ref:S(o),"as-child":h.asChild,as:h.as,"data-dismissable-layer":"",style:Xn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:S(p).onFocusCapture,onBlurCapture:S(p).onBlurCapture,onPointerdownCapture:S(f).onPointerDownCapture},{default:J(()=>[$e(h.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}});Fse(()=>ne([]));const[KM,mae]=Pc("PopperRoot"),vae=ge({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=ne();return mae({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>$e(n.$slots,"default")}}),gae=ge({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:r}=Rn(),o=KM();return Pt(()=>{o.onAnchorChange(t.element??r.value)}),(i,s)=>(R(),ie(S(oo),{ref:S(n),as:i.as,"as-child":i.asChild},{default:J(()=>[$e(i.$slots,"default")]),_:3},8,["as","as-child"]))}});function yae(e){return e!==null}function _ae(e){return{name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:s,middlewareData:a}=t,l=((n=a.arrow)==null?void 0:n.centerOffset)!==0,u=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[f,p]=x0(i),d={start:"0%",center:"50%",end:"100%"}[p],h=(((r=a.arrow)==null?void 0:r.x)??0)+u/2,v=(((o=a.arrow)==null?void 0:o.y)??0)+c/2;let g="",b="";return f==="bottom"?(g=l?d:`${h}px`,b=`${-c}px`):f==="top"?(g=l?d:`${h}px`,b=`${s.floating.height+c}px`):f==="right"?(g=`${-c}px`,b=l?d:`${v}px`):f==="left"&&(g=`${s.floating.width+c}px`,b=l?d:`${v}px`),{data:{x:g,y:b}}}}}function x0(e){const[t,n="center"]=e.split("-");return[t,n]}const bae={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[wae,kae]=Pc("PopperContent"),Eae=ge({inheritAttrs:!1,__name:"PopperContent",props:JT({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...bae}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,o=KM(),{forwardRef:i,currentElement:s}=Rn(),a=ne(),l=ne(),{width:u,height:c}=oae(l),f=N(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=N(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=N(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=N(()=>({padding:p.value,boundary:d.value.filter(yae),altBoundary:d.value.length>0})),v=$se(()=>[L$({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Sm({...h.value}),n.avoidCollisions&&N$({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?q$():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Sm({...h.value}),B$({...h.value,apply:({elements:x,rects:O,availableWidth:A,availableHeight:V})=>{const{width:re,height:pe}=O.reference,G=x.floating.style;G.setProperty("--radix-popper-available-width",`${A}px`),G.setProperty("--radix-popper-available-height",`${V}px`),G.setProperty("--radix-popper-anchor-width",`${re}px`),G.setProperty("--radix-popper-anchor-height",`${pe}px`)}}),l.value&&V$({element:l.value,padding:n.arrowPadding}),_ae({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&j$({strategy:"referenceHidden",...h.value})]),{floatingStyles:g,placement:b,isPositioned:y,middlewareData:w}=H$(o.anchor,a,{strategy:"fixed",placement:f,whileElementsMounted:(...x)=>F$(...x,{animationFrame:n.updatePositionStrategy==="always"}),middleware:v}),_=N(()=>x0(b.value)[0]),k=N(()=>x0(b.value)[1]);V0(()=>{y.value&&r("placed")});const C=N(()=>{var x;return((x=w.value.arrow)==null?void 0:x.centerOffset)!==0}),E=ne("");Pt(()=>{s.value&&(E.value=window.getComputedStyle(s.value).zIndex)});const D=N(()=>{var x;return((x=w.value.arrow)==null?void 0:x.x)??0}),T=N(()=>{var x;return((x=w.value.arrow)==null?void 0:x.y)??0});return kae({placedSide:_,onArrowChange:x=>l.value=x,arrowX:D,arrowY:T,shouldHideArrow:C}),(x,O)=>{var A,V,re;
12return R(),ce("div",{ref_key:"floatingRef",ref:a,"data-radix-popper-content-wrapper":"",style:Xn({...S(g),transform:S(y)?S(g).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:E.value,"--radix-popper-transform-origin":[(A=S(w).transformOrigin)==null?void 0:A.x,(V=S(w).transformOrigin)==null?void 0:V.y].join(" "),...((re=S(w).hide)==null?void 0:re.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[W(S(oo),at({ref:S(i)},x.$attrs,{"as-child":n.asChild,as:x.as,"data-side":_.value,"data-align":k.value,style:{animation:S(y)?void 0:"none"}}),{default:J(()=>[$e(x.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Sae=m("polygon",{points:"0,0 30,0 15,10"},null,-1),Cae=ge({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Rn(),(n,r)=>(R(),ie(S(oo),at(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:J(()=>[$e(n.$slots,"default",{},()=>[Sae])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),Dae={top:"bottom",right:"left",bottom:"top",left:"right"},xae=ge({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=Rn(),n=wae(),r=N(()=>Dae[n.placedSide.value]);return(o,i)=>{var s,a,l,u;return R(),ce("span",{ref:c=>{S(n).onArrowChange(c)},style:Xn({position:"absolute",left:(s=S(n).arrowX)!=null&&s.value?`${(a=S(n).arrowX)==null?void 0:a.value}px`:void 0,top:(l=S(n).arrowY)!=null&&l.value?`${(u=S(n).arrowY)==null?void 0:u.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[S(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[S(n).placedSide.value],visibility:S(n).shouldHideArrow.value?"hidden":void 0})},[W(Cae,at(o.$attrs,{ref:S(t),style:{display:"block"},as:o.as,"as-child":o.asChild,width:o.width,height:o.height}),{default:J(()=>[$e(o.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),Tae=ge({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return Rn(),(t,n)=>(R(),ie(S(oo),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:J(()=>[$e(t.$slots,"default")]),_:3},8,["as","as-child"]))}}),[Rc,Aae]=Pc("PaginationRoot"),Wde=ge({__name:"PaginationRoot",props:{page:{},defaultPage:{default:1},itemsPerPage:{default:10},total:{default:0},siblingCount:{default:2},disabled:{type:Boolean},showEdges:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"nav"}},emits:["update:page"],setup(e,{emit:t}){const n=e,r=t,{siblingCount:o,disabled:i,showEdges:s}=Pn(n);Rn();const a=HM(n,"page",r,{defaultValue:n.defaultPage,passive:n.page===void 0}),l=N(()=>Math.max(1,Math.ceil(n.total/n.itemsPerPage)));return Aae({page:a,onPageChange(u){a.value=u},pageCount:l,siblingCount:o,disabled:i,showEdges:s}),(u,c)=>(R(),ie(S(oo),{as:u.as,"as-child":u.asChild},{default:J(()=>[$e(u.$slots,"default",{page:S(a),pageCount:l.value})]),_:3},8,["as","as-child"]))}}),zde=ge({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return Rn(),(n,r)=>(R(),ie(S(oo),at(t,{"data-type":"ellipsis"}),{default:J(()=>[$e(n.$slots,"default",{},()=>[qe("…")])]),_:3},16))}}),Kde=ge({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Rc();Rn();const r=N(()=>n.page.value===1||n.disabled.value);return(o,i)=>(R(),ie(S(oo),at(t,{"aria-label":"First Page",type:o.as==="button"?"button":void 0,disabled:r.value,onClick:i[0]||(i[0]=s=>!r.value&&S(n).onPageChange(1))}),{default:J(()=>[$e(o.$slots,"default",{},()=>[qe("First page")])]),_:3},16,["type","disabled"]))}}),Gde=ge({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Rc();Rn();const r=N(()=>n.page.value===n.pageCount.value||n.disabled.value);return(o,i)=>(R(),ie(S(oo),at(t,{"aria-label":"Last Page",type:o.as==="button"?"button":void 0,disabled:r.value,onClick:i[0]||(i[0]=s=>!r.value&&S(n).onPageChange(S(n).pageCount.value))}),{default:J(()=>[$e(o.$slots,"default",{},()=>[qe("Last page")])]),_:3},16,["type","disabled"]))}});function Xs(e,t){const n=t-e+1;return Array.from({length:n},(r,o)=>o+e)}function Oae(e){return e.map(t=>typeof t=="number"?{type:"page",value:t}:{type:"ellipsis"})}const Xp="ellipsis";function Pae(e,t,n,r){const o=t,i=Math.max(e-n,1),s=Math.min(e+n,o);if(r){const a=Math.min(2*n+5,t)-2,l=i>3&&Math.abs(o-a-1+1)>2&&Math.abs(i-1)>2,u=s<o-2&&Math.abs(o-a)>2&&Math.abs(o-s)>2;if(!l&&u)return[...Xs(1,a),Xp,o];if(l&&!u){const c=Xs(o-a+1,o);return[1,Xp,...c]}if(l&&u){const c=Xs(i,s);return[1,Xp,...c,Xp,o]}return Xs(1,o)}else{const a=n*2+1;return t<a?Xs(1,o):e<=n+1?Xs(1,a):t-e<=n?Xs(t-a+1,o):Xs(i,s)}}const Yde=ge({__name:"PaginationList",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;Rn();const n=Rc(),r=N(()=>Oae(Pae(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(o,i)=>(R(),ie(S(oo),ui(Ki(t)),{default:J(()=>[$e(o.$slots,"default",{items:r.value})]),_:3},16))}}),Xde=ge({__name:"PaginationListItem",props:{value:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;Rn();const n=Rc(),r=N(()=>n.page.value===t.value),o=N(()=>n.disabled.value);return(i,s)=>(R(),ie(S(oo),at(t,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":r.value?"page":void 0,"data-selected":r.value?"true":void 0,disabled:o.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=a=>!o.value&&S(n).onPageChange(i.value))}),{default:J(()=>[$e(i.$slots,"default",{},()=>[qe(L(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),Qde=ge({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;Rn();const n=Rc(),r=N(()=>n.page.value===n.pageCount.value||n.disabled.value);return(o,i)=>(R(),ie(S(oo),at(t,{"aria-label":"Next Page",type:o.as==="button"?"button":void 0,disabled:r.value,onClick:i[0]||(i[0]=s=>!r.value&&S(n).onPageChange(S(n).page.value+1))}),{default:J(()=>[$e(o.$slots,"default",{},()=>[qe("Next page")])]),_:3},16,["type","disabled"]))}}),Zde=ge({__name:"PaginationPrev",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;Rn();const n=Rc(),r=N(()=>n.page.value===1||n.disabled.value);return(o,i)=>(R(),ie(S(oo),at(t,{"aria-label":"Previous Page",type:o.as==="button"?"button":void 0,disabled:r.value,onClick:i[0]||(i[0]=s=>!r.value&&S(n).onPageChange(S(n).page.value-1))}),{default:J(()=>[$e(o.$slots,"default",{},()=>[qe("Prev page")])]),_:3},16,["type","disabled"]))}});
12function Rae(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Rae();const GM="tooltip.open",[Ow,Iae]=Pc("TooltipProvider"),$ae=ge({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:a}=Pn(t);Rn();const l=ne(!0),u=ne(!1),{start:c,stop:f}=UM(()=>{l.value=!0},r,{immediate:!1});return Iae({isOpenDelayed:l,delayDuration:n,onOpen(){f(),l.value=!1},onClose(){c()},isPointerInTransitRef:u,disableHoverableContent:o,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:s}),(p,d)=>$e(p.$slots,"default")}}),[Nv,Mae]=Pc("TooltipRoot"),Fae=ge({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;Rn();const o=Ow(),i=N(()=>n.disableHoverableContent??o.disableHoverableContent.value),s=N(()=>n.disableClosingTrigger??o.disableClosingTrigger.value),a=N(()=>n.disabled??o.disabled.value),l=N(()=>n.delayDuration??o.delayDuration.value),u=N(()=>
12n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),c=HM(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Ie(c,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(GM))):o.onClose())});const f=ne(!1),p=ne(),d=N(()=>c.value?f.value?"delayed-open":"instant-open":"closed"),{start:h,stop:v}=UM(()=>{f.value=!0,c.value=!0},l,{immediate:!1});function g(){v(),f.value=!1,c.value=!0}function b(){v(),c.value=!1}function y(){h()}return Mae({contentId:"",open:c,stateAttribute:d,trigger:p,onTriggerChange(w){p.value=w},onTriggerEnter(){o.isOpenDelayed.value?y():g()},onTriggerLeave(){i.value?b():v()},onOpen:g,onClose:b,disableHoverableContent:i,disableClosingTrigger:s,disabled:a,ignoreNonKeyboardFocus:u}),(w,_)=>(R(),ie(S(vae),null,{default:J(()=>[$e(w.$slots,"default",{open:S(c)})]),_:3}))}}),Lae=ge({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Nv(),r=Ow();n.contentId||(n.contentId=rae(void 0,"radix-vue-tooltip-content"));const{forwardRef:o,currentElement:i}=Rn(),s=ne(!1),a=ne(!1),l=N(()=>n.disabled.value?{}:{click:v,focus:d,pointermove:f,pointerleave:p,pointerdown:c,blur:h});_t(()=>{n.onTriggerChange(i.value)});function u(){setTimeout(()=>{s.value=!1},1)}function c(){s.value=!0,document.addEventListener("pointerup",u,{once:!0})}function f(g){g.pointerType!=="touch"&&!a.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),a.value=!0)}function p(){n.onTriggerLeave(),a.value=!1}function d(g){var b,y;s.value||n.ignoreNonKeyboardFocus.value&&!((y=(b=g.target).matches)!=null&&y.call(b,":focus-visible"))||n.onOpen()}function h(){n.onClose()}function v(){n.disableClosingTrigger.value||n.onClose()}return(g,b)=>(R(),ie(S(gae),{"as-child":""},{default:J(()=>[W(S(oo),at({ref:S(o),"aria-describedby":S(n).open.value?S(n).contentId:void 0,"data-state":S(n).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},XT(l.value)),{default:J(()=>[$e(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),YM=ge({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Nv(),{forwardRef:i}=Rn(),s=AL(),a=N(()=>{var c;return(c=s.default)==null?void 0:c.call(s)}),l=N(()=>{var c;if(n.ariaLabel)return n.ariaLabel;let f="";function p(d){typeof d.children=="string"&&d.type!==bn?f+=d.children:Array.isArray(d.children)&&d.children.forEach(h=>p(h))}return(c=a.value)==null||c.forEach(d=>p(d)),f}),u=N(()=>{const{ariaLabel:c,...f}=n;return f});return _t(()=>{D0(window,"scroll",c=>{const f=c.target;f!=null&&f.contains(o.trigger.value)&&o.onClose()}),D0(window,GM,o.onClose)}),(c,f)=>(R(),ie(S(hae),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=p=>r("escapeKeyDown",p)),onPointerDownOutside:f[1]||(f[1]=p=>{var d;S(o).disableClosingTrigger.value&&(d=S(o).trigger.value)!=null&&d.contains(p.target)&&p.preventDefault(),r("pointerDownOutside",p)}),onFocusOutside:f[2]||(f[2]=Rr(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=p=>S(o).onClose())},{default:J(()=>[W(S(Eae),at({ref:S(i),"data-state":S(o).stateAttribute.value},{...c.$attrs,...u.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:J(()=>[$e(c.$slots,"default"),W(S(Tae),{id:S(o).contentId,role:"tooltip"},{default:J(()=>[qe(L(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),Nae=ge({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=WM(e),{forwardRef:n,currentElement:r}=Rn(),{trigger:o,onClose:i}=Nv(),s=Ow(),{isPointerInTransit:a,onPointerExit:l}=Yse(o,r);return s.isPointerInTransitRef=a,l(()=>{i()}),(u,c)=>(R(),ie(YM,at({ref:S(n)},S(t)),{default:J(()=>[$e(u.$slots,"default")]),_:3},16))}}),Bae=ge({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,o=Nv(),i=Gse(n,r),{forwardRef:s}=Rn();return(a,l)=>(R(),ie(S(lae),{present:a.forceMount||S(o).open.value},{default:J(()=>[(R(),ie(er(S(o).disableHoverableContent.value?YM:Nae),at({ref:S(s)},S(i)),{default:J(()=>[$e(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),jae=ge({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return Rn(),(n,r)=>(R(),ie(S(xae),ui(Ki(t)),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),qae=ge({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(R(),ie(S(uae),ui(Ki(t)),{default:J(()=>[$e(n.$slots,"default")]),_:3},16))}}),Vae=ge({__name:"ProductIndicatorItem",props:{content:{type:Object,required:!0}},setup(e){return(t,n)=>(R(),ie(S($ae),null,{default:J(()=>
12[W(S(Fae),{delayDuration:"0"},{default:J(()=>[W(S(Lae),null,{default:J(()=>[m("span",{class:Qe(["toolTipLabel",{isActive:e.content.isActive}])},[m("span",{class:Qe(t.$style.abreviation)},L(e.content.abbreviation),3)],2)]),_:1}),W(S(qae),null,{default:J(()=>[W(S(Bae),{class:"tooltipContent"},{default:J(()=>[qe(L(e.content.label)+" ",1),W(S(jae),{height:"20",width:"25",class:"tooltipArrow"})]),_:1})]),_:1})]),_:1})]),_:1}))}}),Uae="_abreviation_16kfj_2",Hae={abreviation:Uae},Wae={$style:Hae},zae=Object.assign(bt(Vae,[["__cssModules",Wae],["__scopeId","data-v-d3010586"]]),{__name:"PageBlocksPagesProductIndicatorItem"}),Kae=ge({__name:"ProductIndicator",props:{selectedProducts:{type:Array,required:!0}},async setup(e){let t,n;const r=no(),o=zo(),i=e,{data:s}=([t,n]=OL(()=>wq(`product-indicators:${r.path}`,()=>{const c=o.prerenderRoutes?.routeToSourceLocale?.[r.path]??r.params.locale;return $fetch(`${o.public.baseUrl}/api/products?filters[locale][$eq]=${c}`)},{server:!0,default:()=>({data:[]})})),t=await t,n(),t),a=N(()=>s.value?.data||[]),l=N(()=>{const u=new Set(i.selectedProducts.map(c=>c.key));return a.value.map(c=>({...c,isActive:u.has(c.key)})).sort((c,f)=>(c.weight??0)-(f.weight??0))});return(u,c)=>{const f=zae;return R(),ce("div",{class:Qe(u.$style.container)},[(R(!0),ce(Je,null,mn(S(l),p=>(R(),ce(Je,{key:p.name},[p.key=="architect"||p.key=="landmark"||p.key=="spotlight"||p.key=="fundamentals"||p.key=="connectcad"||p.key=="braceworks"?(R(),ie(f,{key:0,content:p},null,8,["content"])):we("",!0)],64))),128))],2)}}}),Gae="_container_13gai_2",Yae={container:Gae},Xae={$style:Yae},Qae=Object.assign(bt(Kae,[["__cssModules",Xae]]),{__name:"PageBlocksPagesProductIndicator"}),Zae=["innerHTML"],Jae=ge({__name:"SingleColumnContent",props:{content:{type:Object,required:!0},textAlign:{type:String,default:"center"},verticalAlign:{type:String,default:"center"},headingHeight:{type:Number,default:0},headingTag:{type:String,default:"h2"}},setup(e){k2(u=>({v354f041c:S(r),v5b46f462:S(o)}));const t=Z0(),n=e,r=N(()=>n.verticalAlign),o=N(()=>r.value==="start"||r.value==="flex-start"?`${n.headingHeight+30}px`:"0px"),i=N(()=>t[n.content.contentSize]),s=N(()=>t[n.content.contentWidth]),a=N(()=>t[n.content.height]),l=N(()=>n.textAlign==="left"||n.content.alignment==="left"||n.textAlign==="alignRight"||n.content.alignment==="right"?t.left:t.center);return(u,c)=>{const f=Ise,p=Qae;return R(),ce("div",{class:Qe([u.$style.singleColumn,S(l),S(a)])},[m("div",{class:Qe([u.$style.container])},[$e(u.$slots,"lead"),e.content.heading&&(e.content.headingSize==="small"||e.headingTag==="h3")?(R(),ce("h3",{key:0,class:Qe([u.$style.heading,"indexableHeading"])},L(e.content.heading),3)):e.content.heading?(R(),ce("h2",{key:1,class:Qe([u.$style.heading,"indexableHeading"])},L(e.content.heading),3)):we("",!0),e.content.subheading?(R(),ce("h4",{key:2,class:Qe([u.$style.subheading])},L(e.content.subheading),3)):we("",!0),e.content.content?(R(),ce("div",{key:3,class:Qe([u.$style.copy,S(i),S(s),"sd-content"]),innerHTML:e.content.content},null,10,Zae)):we("",!0),e.content.videoId!=null?(R(),ie(f,{key:4,videoId:e.content.videoId,size:"large"},null,8,["videoId"])):we("",!0),e.content.products?.length>0?(R(),ie(p,{key:5,selectedProducts:e.content.products,class:Qe([u.$style.indicators])},null,8,["selectedProducts","class"])):we("",!0),$e(u.$slots,"controls"),$e(u.$slots,"content"),e.content.button||e.content.buttons?(R(),ce("div",{key:6,class:Qe([u.$style.ctaContainer,{[u.$style.centeredCta]:n.content.alignment==="center"}])},[$e(u.$slots,"default")],2)):we("",!0),$e(u.$slots,"ancillary")],2)],2)}}}),ele="_container_130jx_2",tle="_ctaContainer_130jx_5",nle="_playVideoLink_130jx_12",rle="_singleColumn_130jx_22",ole="_copy_130jx_41",ile="_heading_130jx_107",sle="_left_130jx_130",ale="_centeredCta_130jx_147",lle="_right_130jx_155",ule="_smallCopy_130jx_165",cle="_indicators_130jx_169",fle="_center_130jx_147",dle="_short_130jx_185",ple="_narrow_130jx_192",hle="_large_130jx_197",mle="_small_130jx_165",vle={container:ele,ctaContainer:tle,playVideoLink:nle,singleColumn:rle,copy:ole,heading:ile,left:sle,centeredCta:ale,right:lle,smallCopy:ule,indicators:cle,center:fle,short:dle,narrow:ple,large:hle,small:mle},gle={$style:vle},yle=Object.assign(bt(Jae,[["__cssModules",gle]]),{__name:"PageBlocksBaseBlocksSingleColumnContent"}),_le=ge({inheritAttrs:!1,__name:"SingleColumnContent",setup(e){return(t,n)=>{const r=yle;return R(),ie(r,at({"heading-tag":"h3"},t.$attrs),xL({_:2},[mn(t.$slots,(o,i)=>({name:i,fn:J(s=>[$e(t.$slots,i,ui(Ki(s??{})))])}))]),1040)}}}),ble=Object.assign(_le,{__name:"FormsSingleColumnContent"}),wle=["id"],kle=ge({__name:"MultiLayoutContent",props:{block:{type:Object,required:!0}},setup(e){const t=Z0(),n=e,r=N(()=>t[n.block.height]),o=N(()=>n.block.alignment||"left"),i=N(()=>n.block.settings?.anchorLink||void 0),s=N(()=>{const a=n.block.surface;return a?`sd-surface-${a}`:"sd-surface-transparent"});return(a,l)=>{const u=Cse,c=ble;return R(),ce("article",{id:S(i),class:Qe([S(s),a.$style.formSection])},[m("div",{class:Qe([a.$style.formSectionContainer])}
12,[m("div",{class:Qe(["sd-grid","reversibleGrid",S(o)])},[m("div",{class:Qe(["copyContainer","copyFormContainer",S(r)])},[W(c,{content:e.block},{default:J(()=>[(R(!0),ce(Je,null,mn(e.block.buttons,f=>(R(),ie(u,{key:f.label??f.url??f.modal,button:f},null,8,["button"]))),128))]),_:1},8,["content"])],2)],2)],2)],10,wle)}}}),Ele="_formSection_16v75_2",Sle="_formSectionContainer_16v75_7",Cle="_short_16v75_12",Dle="_mediaExtraSpace_16v75_15",xle="_copyOnly_16v75_18",Tle="_credit_16v75_25",Ale="_creditIcon_16v75_40",Ole="_textRight_16v75_50",Ple="_leftCredit_16v75_54",Rle="_squareMedia_16v75_69",Ile={formSection:Ele,formSectionContainer:Sle,short:Cle,mediaExtraSpace:Dle,copyOnly:xle,credit:Tle,creditIcon:Ale,textRight:Ole,leftCredit:Ple,squareMedia:Rle},$le={$style:Ile},T0=Object.assign(bt(kle,[["__cssModules",$le],["__scopeId","data-v-8f6a997b"]]),{__name:"FormsMultiLayoutContent"});const XD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Mle=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Fle=e=>{const t=Mle(e);return t.charAt(0).toUpperCase()+t.slice(1)},Lle=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();var Qp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Nle=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:r,iconNode:o,name:i,class:s,...a},{slots:l})=>Bt("svg",{...Qp,width:e||Qp.width,height:e||Qp.height,stroke:r||Qp.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:Lle("lucide",...i?[`lucide-${XD(Fle(i))}-icon`,`lucide-${XD(i)}`]:["lucide-icon"]),...a},[...o.map(u=>Bt(...u)),...l.default?[l.default()]:[]]);const qa=(e,t)=>(n,{slots:r})=>Bt(Nle,{...n,iconNode:t,name:e},r);const Ble=qa("check-check",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);const jle=qa("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const qle=qa("message-circle-question",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Vle=qa("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const QD=qa("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const Ule=qa("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const Hle=qa("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Wle=qa("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),zle={class:"content"},Kle={class:"icon"},Gle={key:0,class:"title"},Yle={key:1,class:"description"},Xle={key:2,class:"message"},Qle=ge({__name:"Feedback",props:{type:{},title:{},description:{},message:{}},setup(e){const t=e,n=N(()=>t.type==="success");return(r,o)=>(R(),ce(Je,null,[o[1]||(o[1]=m("div",null,null,-1)),m("div",{class:Qe(["sd-form-control form-feedback",n.value?"success":"error"])},[o[0]||(o[0]=m("h1",null,"Feedback",-1)),m("div",zle,[m("div",Kle,[(R(),ie(er(n.value?S(Ble):S(Wle))))]),e.title?(R(),ce("div",Gle,L(e.title),
121)):we("",!0),e.description?(R(),ce("div",Yle,L(e.description),1)):we("",!0),e.message?(R(),ce("div",Xle,L(e.message),1)):we("",!0)])],2)],64))}});bt(Qle,[["__scopeId","data-v-847e6f33"]]);const Zle={class:"sd-form-control space-y-4"},Jle={class:"flex items-center justify-between"},eue={class:"flex items-center gap-2"},tue={class:"flex items-center gap-2 pt-2"},nue=ge({__name:"BehaviourBuilder",props:{fields:{},behavior:{}},emits:["update:behavior"],setup(e,{emit:t}){const n=e,r=t,o=N(()=>(n.fields||[]).map(p=>({key:p.field.settings?.key,label:p.field.label,type:p.field.settings?.model||"input",options:p.field.settings?.options||[]})).filter(p=>!!p.key)),i=ne([]);function s(){i.value.push({dependent:"",operator:"or",conditions:[{parent:"",value:""}]})}function a(p){i.value.splice(p,1)}function l(p){i.value[p].conditions.push({parent:"",value:""})}function u(p,d){i.value[p].conditions.splice(d,1)}function c(p){return o.value.find(h=>h.key===p)?.options||[]}const f=N(()=>{const p=[];for(const d of i.value){if(!d.dependent)continue;const h=d.conditions.filter(v=>v.parent&&v.value!=="").map(v=>({"==":[{var:v.parent},v.value]}));h.length&&p.push({[d.dependent]:d.operator?{[d.operator]:h}:h[0]})}return Object.assign({},...p)});return Ie(()=>n.behavior,p=>{if(!p||typeof p!="object"||JSON.stringify(p)===JSON.stringify(f.value))return;const d=[];for(const[h,v]of Object.entries(p)){if(v?.["=="]){const[g,b]=v["=="];d.push({dependent:h,operator:"or",conditions:[{parent:g.var,value:b}]})}if(v?.and||v?.or){const g=v.and?"and":"or",b=v[g];d.push({dependent:h,operator:g,conditions:b.map(y=>({parent:y["=="][0].var,value:y["=="][1]}))})}}i.value=d.length?d:i.value},{immediate:!0,deep:!0}),Ie(f,p=>{r("update:behavior",p)},{deep:!0}),(p,d)=>{const h=_r,v=ku("Button"),g=Tv,b=xv,y=Dv,w=Cv,_=ku("Select"),k=ku("Input");return R(),ce("div",Zle,[(R(!0),ce(Je,null,mn(i.value,(C,E)=>(R(),ce("div",{key:E,class:"border rounded-lg p-4 space-y-3"},[m("div",Jle,[W(h,{class:"font-medium"},{default:J(()=>[qe(L(E+1),1)]),_:2},1024),i.value.length?(R(),ie(v,{key:0,variant:"ghost",size:"icon",class:"h-8 w-8 text-destructive",onClick:D=>a(E)},{default:J(()=>[W(S(Ule),{class:"h-4 w-4"})]),_:1},8,["onClick"])):we("",!0)]),(R(!0),ce(Je,null,mn(C.conditions,(D,T)=>(R(),ce("div",{key:T},[m("div",eue,[T===0?(R(),ie(h,{key:0},{default:J(()=>[...d[0]||(d[0]=[qe("IF",-1)])]),_:1})):(R(),ie(_,{key:1,"model-value":C.operator,"onUpdate:modelValue":x=>C.operator=x},{default:J(()=>[W(b,{class:"w-20"},{default:J(()=>[W(g,{placeholder:"OP"})]),_:1}),W(w,null,{default:J(()=>[W(y,{value:"or"},{default:J(()=>[...d[1]||(d[1]=[qe("OR",-1)])]),_:1}),W(y,{value:"and"},{default:J(()=>[...d[2]||(d[2]=[qe("AND",-1)])]),_:1})]),_:1})]),_:1},8,["model-value","onUpdate:modelValue"])),W(_,{"model-value":D.parent,"onUpdate:modelValue":x=>D.parent=x},{default:J(()=>[W(b,{class:"w-48"},{default:J(()=>[W(g,{placeholder:"Field"})]),_:1}),W(w,null,{default:J(()=>[(R(!0),ce(Je,null,mn(o.value,x=>(R(),ie(y,{key:x.key,value:x.key},{default:J(()=>[qe(L(x.label),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["model-value","onUpdate:modelValue"]),W(h,{class:"px-2 py-1 bg-green-100 rounded"},{default:J(()=>[...d[3]||(d[3]=[qe("is",-1)])]),_:1}),c(D.parent).length?(R(),ie(_,{key:3,"model-value":D.value,"onUpdate:modelValue":x=>D.value=x},{default:J(()=>[W(b,{class:"w-48"},{default:J(()=>[W(g,{placeholder:"Field"})]),_:1}),W(w,null,{default:J(()=>[(R(!0),ce(Je,null,mn(c(D.parent),x=>(R(),ie(y,{key:x,value:x},{default:J(()=>[qe(L(x),1)]),_:2},1032,["value"]))),128))]),_:2},1024)]),_:2},1032,["model-value","onUpdate:modelValue"])):(R(),ie(k,{key:2,modelValue:D.value,"onUpdate:modelValue":x=>D.value=x,class:"border rounded px-2 py-1",placeholder:"Value"},null,8,["modelValue","onUpdate:modelValue"])),W(v,{variant:"outline",size:"icon",class:"h-8 w-8",onClick:x=>l(E)},{default:J(()=>[W(S(QD),{class:"h-4 w-4"})]),_:1},8,["onClick"]),C.conditions.length>1?(R(),ie(v,{key:4,variant:"outline",size:"icon",class:"h-8 w-8",onClick:x=>u(E,T)},{default:J(()=>[W(S(Vle),{class:"h-4 w-4"})]),_:1},8,["onClick"])):we("",!0)])]))),128)),m("div",tue,[W(h,{class:"px-2 py-1 bg-green-200 rounded"},{default:J(()=>[...d[4]||(d[4]=[qe("SHOW",-1)])]),_:1}),W(_,{"model-value":C.dependent,"onUpdate:modelValue":D=>C.dependent=D},{default:J(()=>[W(b,{class:"w-48"},{default:J(()=>[W(g,{placeholder:"Field"})]),_:1}),W(w,null,{default:J(()=>[(R(!0),ce(Je,null,mn(o.value,D=>(R(),ie(y,{key:D.key,value:D.key,disabled:i.value.some(T=>
12T.dependent===D.key&&T!==C)},{default:J(()=>[qe(L(D.label),1)]),_:2},1032,["value","disabled"]))),128))]),_:2},1024)]),_:2},1032,["model-value","onUpdate:modelValue"])])]))),128)),W(v,{variant:"default",onClick:s},{default:J(()=>[W(S(QD),{class:"h-4 w-4 mr-2"}),d[5]||(d[5]=qe(" Add Behavior ",-1))]),_:1})])}}});Object.assign(nue,{__name:"FormsBehaviourBuilder"});const rue={class:"sd-form-control space-y-6"},oue={class:"border rounded-lg p-4 space-y-2"},iue={class:"grid grid-cols-2 gap-4"},sue={key:0},aue={key:0,class:"grid grid-cols-2 gap-4"},lue={key:0},uue={key:1,class:"grid grid-cols-2 gap-4"},cue={key:0},fue={class:"grid grid-cols-2 gap-4"},due={key:0},pue={key:2,class:"grid grid-cols-2 gap-4"},hue={key:0},mue={key:1},vue={key:3,class:"grid grid-cols-2 gap-4"},gue={key:4,class:"grid grid-cols-2 gap-4"},yue={key:0},_ue={key:5,class:"grid grid-cols-2 gap-4"},bue={class:"space-y-1"},wue={class:"flex gap-2 items-center"},kue={class:"flex gap-2 items-center"},Eue={class:"flex gap-2 items-center"},Sue=ge({__name:"ValidationBuilder",props:{validation:{}},emits:["update:validation"],setup(e,{emit:t}){const n=e,r=t,o=N({get:()=>n.validation,set:b=>r("update:validation",b)}),i=N(()=>o.value.find(b=>b.type!=null)??{type:"text",errorMessage:""}),s=N(()=>o.value.find(b=>b.required===!0)??{required:!1,errorMessage:""}),a=N(()=>o.value.find(b=>b.patternType!=null)??{patternType:"",patternValue:"",errorMessage:""}),l=N(()=>o.value.find(b=>b.length!=null)??{length:0,errorMessage:""}),u=N(()=>o.value.find(b=>b.maxLength!=null)??{maxLength:0,errorMessage:""}),c=N(()=>o.value.find(b=>b.fileSize!=null)??{fileSize:5,errorMessage:"File size must be less than 5MB"}),f=N(()=>o.value.find(b=>Array.isArray(b.fileTypes))??{fileTypes:[],errorMessage:"Invalid file type"}),p=N(()=>o.value.find(b=>b.regex!=null)??{regex:"",errorMessage:""});function d(b,y){const w=o.value.findIndex(_=>_[b]!=null);w!==-1?o.value[w][b]=y:o.value.push({type:null,length:null,maxLength:null,required:null,patternType:null,patternValue:null,fileTypes:null,fileSize:null,errorMessage:"",[b]:y})}function h(b){const y=o.value.findIndex(w=>w.patternType!=null);if(!b){y!==-1&&o.value.splice(y,1);return}y!==-1?o.value[y].patternType=b:o.value.push({required:null,type:null,patternType:b,patternValue:"",fileTypes:null,fileSize:null,errorMessage:""})}function v(b){const y=o.value.findIndex(w=>Array.isArray(w.fileTypes));if(!b.length){y!==-1&&o.value.splice(y,1);return}y!==-1?o.value[y].fileTypes=b:o.value.push({fileTypes:b,fileSize:null,required:null,type:null,patternType:null,patternValue:null,errorMessage:"Invalid file type"})}function g(b,y){const w=[...f.value.fileTypes];if(y)w.includes(b)||w.push(b);else{const _=w.indexOf(b);_!==-1&&w.splice(_,1)}v(w)}return(b,y)=>{const w=_r,_=ku("Input"),k=ku("Checkbox"),C=Tv,E=xv,D=Dv,T=Cv,x=ku("Select");return R(),ce("div",rue,[W(w,null,{default:J(()=>[...y[19]||(y[19]=[qe("Validations",-1)])]),_:1}),m("div",oue,[m("div",iue,[i.value.type?(R(),ce("div",sue,[W(w,{class:"font-medium"},{default:J(()=>[...y[20]||(y[20]=[qe("Type Error",-1)])]),_:1}),W(_,{modelValue:i.value.errorMessage,"onUpdate:modelValue":y[0]||(y[0]=O=>i.value.errorMessage=O),placeholder:"Type error message",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])):we("",!0)]),["text","password"].includes(i.value.type)?(R(),ce("div",aue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[21]||(y[21]=[qe("Minimum Length",-1)])]),_:1}),W(_,{type:"number","model-value":l.value.length,min:0,onInput:y[1]||(y[1]=O=>d("length",+O.target.value))},null,8,["model-value"])]),l.value.length?(R(),ce("div",lue,[W(w,{class:"font-medium"},{default:J(()=>[...y[22]||(y[22]=[qe("Minimum Length Error",-1)])]),_:1}),W(_,{modelValue:l.value.errorMessage,"onUpdate:modelValue":y[2]||(y[2]=O=>l.value.errorMessage=O),placeholder:"Required error message",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])):we("",!0)])):we("",!0),["text","password"].includes(i.value.type)?(R(),ce("div",uue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[23]||(y[23]=[qe("Maximum Length",-1)])]),_:1}),W(_,{type:"number","model-value":u.value.length,min:0,onInput:y[3]||(y[3]=O=>d("maxLength",+O.target.value))},null,8,["model-value"])]),u.value.length?(R(),ce("div",cue,[W(w,{class:"font-medium"},{default:J(()=>[...y[24]||(y[24]=[qe("Minimum Length Error",-1)])]),_:1}),W(_,{modelValue:u.value.errorMessage,"onUpdate:modelValue":y[4]||(y[4]=O=>u.value.errorMessage=O),placeholder:"Required error message",class:"border rounded px-2 py-1 
12w-full"},null,8,["modelValue"])])):we("",!0)])):we("",!0),m("div",fue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[25]||(y[25]=[qe("Required",-1)])]),_:1}),W(k,{id:"required","model-value":s.value.required,"onUpdate:modelValue":y[5]||(y[5]=O=>d("required",O))},null,8,["model-value"]),y[26]||(y[26]=qe(" Required ",-1))]),s.value.required?(R(),ce("div",due,[W(w,{class:"font-medium"},{default:J(()=>[...y[27]||(y[27]=[qe("Required Error",-1)])]),_:1}),W(_,{modelValue:s.value.errorMessage,"onUpdate:modelValue":y[6]||(y[6]=O=>s.value.errorMessage=O),placeholder:"Required error message",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])):we("",!0)]),["text","email","url","number","tel","password"].includes(i.value.type)?(R(),ce("div",pue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[28]||(y[28]=[qe("Pattern",-1)])]),_:1}),W(x,{"model-value":a.value.patternType??"","onUpdate:modelValue":y[7]||(y[7]=O=>h(O||null))},{default:J(()=>[W(E,{class:"w-full"},{default:J(()=>[W(C,{placeholder:"Select pattern"})]),_:1}),W(T,null,{default:J(()=>[W(D,{value:""},{default:J(()=>[...y[29]||(y[29]=[qe("Null",-1)])]),_:1}),W(D,{value:"contains"},{default:J(()=>[...y[30]||(y[30]=[qe("Contains",-1)])]),_:1}),W(D,{value:"startsWith"},{default:J(()=>[...y[31]||(y[31]=[qe("Starts With",-1)])]),_:1}),W(D,{value:"endsWith"},{default:J(()=>[...y[32]||(y[32]=[qe("Ends With",-1)])]),_:1})]),_:1})]),_:1},8,["model-value"])]),a.value.patternType?(R(),ce("div",hue,[W(w,{class:"font-medium"},{default:J(()=>[...y[33]||(y[33]=[qe("Pattern value",-1)])]),_:1}),a.value.patternType?(R(),ie(_,{key:0,modelValue:a.value.patternValue,"onUpdate:modelValue":y[8]||(y[8]=O=>a.value.patternValue=O),placeholder:"Pattern value",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])):we("",!0)])):we("",!0),a.value.patternType?(R(),ce("div",mue,[W(w,{class:"font-medium"},{default:J(()=>[...y[34]||(y[34]=[qe("Pattern Error",-1)])]),_:1}),a.value.patternType?(R(),ie(_,{key:0,modelValue:a.value.errorMessage,"onUpdate:modelValue":y[9]||(y[9]=O=>a.value.errorMessage=O),placeholder:"Pattern error message",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])):we("",!0)])):we("",!0)])):we("",!0),["text","tel","password"].includes(i.value.type)?(R(),ce("div",vue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[35]||(y[35]=[qe("Regex Pattern",-1)])]),_:1}),W(_,{modelValue:p.value.regex,"onUpdate:modelValue":y[10]||(y[10]=O=>p.value.regex=O),onInput:y[11]||(y[11]=O=>d("regex",O.target.value)),placeholder:"Regex Pattern",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])]),m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[36]||(y[36]=[qe("Regex Error",-1)])]),_:1}),W(_,{modelValue:p.value.errorMessage,"onUpdate:modelValue":y[12]||(y[12]=O=>p.value.errorMessage=O),placeholder:"Regex error message",class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])])):we("",!0),i.value.type==="file"?(R(),ce("div",gue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[37]||(y[37]=[qe("File Size (MB)",-1)])]),_:1}),W(_,{type:"number","model-value":c.value.fileSize,min:0,onInput:y[13]||(y[13]=O=>d("fileSize",+O.target.value))},null,8,["model-value"])]),c.value.fileSize?(R(),ce("div",yue,[W(w,{class:"font-medium"},{default:J(()=>[...y[38]||(y[38]=[qe("File Size Error",-1)])]),_:1}),W(_,{modelValue:c.value.errorMessage,"onUpdate:modelValue":y[14]||(y[14]=O=>c.value.errorMessage=O),class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])):we("",!0)])):we("",!0),i.value.type==="file"?(R(),ce("div",_ue,[m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[39]||(y[39]=[qe("Allowed File Types",-1)])]),_:1}),m("div",bue,[m("div",wue,[W(k,{id:"pdf","model-value":f.value.fileTypes.includes("application/pdf"),"onUpdate:modelValue":y[15]||(y[15]=O=>g("application/pdf",O))},null,8,["model-value"]),y[40]||(y[40]=qe(" PDF ",-1))]),m("div",kue,[W(k,{class:"flex gap-2 items-center",id:"pdf","model-value":f.value.fileTypes.includes("image/png"),"onUpdate:modelValue":y[16]||(y[16]=O=>g("image/png",O))},null,8,["model-value"]),y[41]||(y[41]=qe(" PNG ",-1))]),m("div",Eue,[W(k,{class:"flex gap-2 items-center",id:"pdf","model-value":f.value.fileTypes.includes("image/jpeg"),"onUpdate:modelValue":y[17]||(y[17]=O=>g("image/jpeg",O))},null,8,["model-value"]),y[42]||(y[42]=qe(" JPEG ",-1))])])]),m("div",null,[W(w,{class:"font-medium"},{default:J(()=>[...y[43]||(y[43]=[qe("File Type Error",-1)])]),_:1}),W(_,{modelValue:f.value.errorMessage,"onUpdate:modelValue":y[18]||(y[18]=O=>
12f.value.errorMessage=O),class:"border rounded px-2 py-1 w-full"},null,8,["modelValue"])])])):we("",!0)])])}}});Object.assign(Sue,{__name:"FormsValidationBuilder"});const Cue={class:"IconButton"},Due={class:"TooltipContent"},xue=ge({__name:"Hint",props:{block:{type:Object,required:!0}},setup(e){const t=Cw();return(n,r)=>{const o=BG,i=ZG,s=VG;return R(),ie(s,{class:"sd-form-control"},{default:J(()=>[W(S(WG),null,{default:J(()=>[W(S(eY),{"as-child":""},{default:J(()=>[m("span",Cue,[W(S(qle),{class:"h-4 w-4"})])]),_:1}),W(i,{to:S(t)??void 0},{default:J(()=>[W(S(XG),{"as-child":""},{default:J(()=>[m("div",Due,[qe(L(e.block?.hint)+" ",1),W(o,{class:"TooltipArrow"})])]),_:1})]),_:1},8,["to"])]),_:1})]),_:1})}}}),Br=Object.assign(bt(xue,[["__scopeId","data-v-823f5424"]]),{__name:"FormsHint"}),Tue=ge({__name:"Error",props:{error:{}},setup(e){return(t,n)=>{const r=ew;return R(),ie(r,{hidden:{opacity:0},duration:.3,appear:""},{default:J(()=>[e.error?(R(),ce("p",{key:0,role:"alert","aria-live":"polite",class:Qe(t.$style.error)},L(e.error),3)):we("",!0)]),_:1})}}}),Aue="_error_lvkps_3",Oue={error:Aue},Pue={$style:Oue},jr=Object.assign(bt(Tue,[["__cssModules",Pue]]),{__name:"FormsError"}),Rue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Iue=ge({__name:"IconSuccess",setup(e){return(t,n)=>(R(),ce("svg",Rue,[...n[0]||(n[0]=[m("path",{fill:"currentColor",d:"M16 0C7.18 0 0 7.18 0 16s7.18 16 16 16 16-7.18 16-16S24.82 0 16 0m0 30.12C8.22 30.12 1.88 23.79 1.88 16S8.22 1.88 16 1.88 30.12 8.21 30.12 16 23.79 30.12 16 30.12M13.68 20.1 9.1 15.51l-1.33 1.33 5.91 5.92 11-10.95-1.33-1.33-9.66 9.63Z"},null,-1)])]))}}),$ue=Object.assign(Iue,{__name:"FormsIconSuccess"}),Mue={class:"sd-section-container form-feedback"},Fue={class:"content"},Lue={class:"title"},Nue=["innerHTML"],Bue=ge({name:"FeedbackMessage",__name:"FeedbackMessage",props:{type:{},title:{},description:{},message:{}},setup(e){const t=e,n=N(()=>t.type==="success"),r=N(()=>n.value?jle:Hle);return(o,i)=>(R(),ce("div",{class:Qe(["sd-section-container feedback-message",e.type])}
12,[m("div",Mue,[m("div",Fue,[m("h3",Lue,L(e.title),1),n.value?(R(),ie($ue,{key:0,class:"icon"})):(R(),ie(er(r.value),{key:1,class:"icon"})),e.description?(R(),ce("div",{key:2,class:"description",innerHTML:e.description},null,8,Nue)):we("",!0)])])],2))}}),jue=Object.assign(bt(Bue,[["__scopeId","data-v-d137a931"]]),{__name:"FormsFeedbackMessage"}),ZD="https://cms-release.vectorworks.net/api/submitForm";async function que({values:e,key:t,documentId:n,recaptchaToken:r,recaptchaAction:o,formActions:i,visitorData:s,marketoCookie:a}){const l={action:o,recaptchaToken:r,formActions:i,visitorData:s,marketoCookie:a,data:{submittedAt:new Date().toISOString(),key:t,data:e,webform:{connect:[{documentId:n}],disconnect:[]},visitorData:{visitorData:s,marketoCookie:a}}};return console.log("[form:submitToApi] POST",{url:ZD,key:t,documentId:n,fieldKeys:Object.keys(e||{}),formActions:i,marketoCookiePresent:!!a,visitorDataKeys:Object.keys(s||{})}),await $fetch(ZD,{method:"POST",body:l})}async function Vue(e){if(!e||!e.length)return[];const t=new FormData;return e.forEach(n=>t.append("files",n)),await $fetch("/api/upload",{method:"POST",body:t})}const Zp=e=>{if(typeof e!="string")return e||{};try{const t=JSON.parse(e);return typeof t=="object"&&t!==null?t:{}}catch{return{}}};function Uue(e,t){const n={};for(const[r,o]of Object.entries(e))try{if(t&&t[r]===!1)continue;if(!Array.isArray(o)||!o.length){n[r]=uC();continue}const i=o.find(_=>_?.type)||{type:"text",errorMessage:""},s=o.find(_=>_?.required)||{required:!1,errorMessage:""},a=o.find(_=>_?.patternType)||{patternType:"contains",errorMessage:""},l=o.find(_=>_?.length)||{length:0,errorMessage:""},u=o.find(_=>_?.maxLength)||{maxLength:0,errorMessage:""},c=o.find(_=>_?.regex)||{regex:"",errorMessage:""},f=i.errorMessage,p=s.errorMessage,d=a.errorMessage,h=l.errorMessage,v=u.errorMessage,g=c.errorMessage;let b;const y={required_error:p,invalid_type_error:f},w=_=>ZH(k=>k===""?void 0:k,_);switch(i.type){case"boolean":case"checkbox":b=c0(y);break;case"number":b=w(Bg(y).refine(D=>!isNaN(D),p));break;case"range":b=nw({min:Bg(),max:Bg()},y);break;case"email":b=w(Jn(y).email(f));break;case"url":b=w(Jn(y).url(f));break;case"password":let _=Jn(y);l&&(_=_.min(l.length,h)),u&&(_=_.max(u.length,v)),b=w(_);break;case"tel":b=w(Jn(y).regex(/^[0-9+\-\s()]{8,}$/,f));break;case"color":b=w(Jn(y).regex(/^#([A-Fa-f0-9]{6})$/,f));break;case"datetime":b=w(Jn(y).datetime({message:f}));break;case"date":b=w(Jn(y).date({message:f}));break;case"time":b=w(Jn(y).time({message:f}));break;case"multiCheckbox":b=cC(c0(),y);break;case"multiSelect":b=cC(Jn(),y);break;case"file":const k=o.find(D=>D?.fileSize)||{fileSize:5,errorMessage:"File size must be less than 5MB"},C=o.find(D=>D?.fileTypes)||{fileTypes:[],errorMessage:"Invalid file type"};b=QH(XH(File).superRefine((D,T)=>{const x=k?.fileSize*1024*1024;D.size>x&&T.addIssue({code:Le.custom,message:k.errorMessage}),C?.fileTypes?.length&&!C.fileTypes.includes(D.type)&&T.addIssue({code:Le.custom,message:C.errorMessage})}),y);break;default:let E=Jn(y);l?.length&&l.length>1&&(E=E.min(l.length,{message:h})),u?.length&&u.length>1&&(E=E.max(u.length,{message:v})),b=w(E)}if(a.patternType&&a.patternValue){const _=a.patternType,k=String(a.patternValue).replace(".","\\.");if(_==="endsWith"){const C=new RegExp(`${k}$`);b=b.refine(E=>C.test(String(E)),{message:d})}else if(_==="startsWith"){const C=new RegExp(`^${k}`);b=b.refine(E=>C.test(String(E)),{message:d})}else if(_==="contains"){const C=new RegExp(`${k}`);b=b.refine(E=>C.test(String(E)),{message:d})}}if(c.regex){const _=new RegExp(c.regex);b=b.refine(k=>_.test(String(k??"")),{message:g})}if(s.required)switch(i.type){case"multiCheckbox":b=b.refine(_=>Object.values(_||{}).some(k=>k===!0),{message:p});break;case"multiSelect":b=b.refine(_=>_&&Object.keys(_).length>0,{message:p});break;case"file":b=b.refine(_=>Array.isArray(_)&&_.length>0,{message:p});break;default:b instanceof Fi||b instanceof li?b=b.min(1,p):b instanceof sm&&(b=b.refine(_=>_===!0,{message:p}))}else b=b.optional();n[r]=b}catch(i){console.error(`Validation error in field "${r}":`,i),n[r]=uC()}return n}const Hue="https://cms-release.vectorworks.net/api/visitor-ip",Wue=()=>({fetchIp:async()=>{try{return(await $fetch(Hue,{timeout:5e3})).ip||""}catch{return""}}});let Qc=null;const JD="data-marketo-munchkin",zue="_mkto_trk",ex=()=>{const e=zo(),t=()=>e.public.marketoMunchkinScriptUrl,n=()=>e.public.marketoMunchkinId;return{load:async()=>{const i=n(),s=t();if(!i){console.warn("[Marketo] Missing accountId (marketoMunchkinId)");return}if(!s){console.warn("[Marketo] Missing scriptUrl (marketoMunchkinScriptUrl)");return}if(!window.Munchkin?.initialized){if(Qc)return Qc;Qc=new Promise(a=>{const l=document.querySelector(`script[${JD}]`);if(l){if(window.Munchkin){a();return}l.addEventListener("load",()=>a(),{once:!0}),l.addEventListener("error",()=>
12a(),{once:!0}),a();return}const u=document.createElement("script");u.src=s,u.async=!0,u.defer=!0,u.setAttribute(JD,"true"),u.onload=()=>a(),u.onerror=()=>{console.warn("[Marketo] Failed to load script"),a()},document.head.appendChild(u),queueMicrotask(()=>{window.Munchkin&&a()})}),await Qc;try{const a=window;a.Munchkin&&!a.Munchkin?.initialized&&(a.Munchkin.init(i),console.log("[Marketo] Munchkin initialized",{accountId:i}))}catch(a){console.warn("[Marketo] init failed",a)}finally{Qc=null}}},getCookie:()=>{const i=document.cookie.match(new RegExp(`(?:^|;\\s*)${zue}=([^;]+)`));return i?.[1]?decodeURIComponent(i[1]):""}}},Kue=ge({inheritAttrs:!1,__name:"DynamicForm",props:{formFields:{type:Object,required:!1},formSettings:{type:Object,required:!1},state:{type:String,default:"published"},enableBehavior:{type:Boolean,default:!0},onSubmit:{type:Function,required:!1},embedded:{type:Boolean,default:!1}},emits:["update:fields"],setup(e,{emit:t}){const n=e,r=t,o=ne({}),i=new Map,s=ne([]),a=ne({}),l=on({}),u=ne({}),c=ne(null),f=ne(null),p=N(()=>n.formSettings),d=N(()=>n.state),h=N(()=>c.value?"success":f.value?"error":null),v=N(()=>{if(!h.value)return null;const D=(d.value==="published"?p.value?.publishedSettings:p.value?.draftSettings)?.[h.value];return{title:D?.title,description:D?.description,message:(h.value==="success"?c.value:f.value)??void 0}});function g(E,D){const T=s.value[D];if(T?.isLayoutBlock)return{fieldItem:{field:T.field},isVisible:!0};const x=l[T?.field?.settings?.key];return{fieldItem:T,isVisible:x}}const{handleSubmit:b,errors:y,defineField:w,resetForm:_}=zI({validationSchema:N(()=>a$(nw({...o.value})))});Ie(()=>n.formSettings,E=>{if(!E)return;const D=Zp(n.state==="published"?E?.publishedSettings?.actions:E?.draftSettings?.actions);if(!(Array.isArray(D)?D:[]).some(O=>O?.type==="marketoForm"))return;const{load:x}=ex();x().catch(()=>{})},{immediate:!0}),Ie(()=>n.formFields,E=>{const D=E;if(!D||!Array.isArray(D)){s.value=[],i.clear(),u.value={};return}const T=new Map,x=new Set,O={};s.value=D.map(A=>{if(typeof A?.__component=="string"&&!A.__component.startsWith("webform."))return{field:A,isLayoutBlock:!0};const V=A?.settings?.key;x.add(V);const re=A?.validations?.map(({id:be,...X})=>Object.fromEntries(Object.entries(X).filter(([,Fe])=>Fe!==null))).filter(be=>Object.keys(be).length>0);O[V]=re;const pe=i.get(V);if(pe){const be={...pe,field:A};return T.set(V,be),be}const[G,K]=w(V,{validateOnValueUpdate:!0,initialValue:A.defaultValue??""}),z={value:G,errorMessage:N(()=>K.errorMessage),field:A};return T.set(V,z),z});for(const A of i.keys())x.has(A)||i.delete(A);for(const[A,V]of T)i.set(A,V);u.value=O,r("update:fields",s.value)},{immediate:!0,deep:!0});const k=b(async E=>{console.log("[form:submit] validation passed, dispatching",{state:d.value,valueKeys:Object.keys(E||{}),values:E}),E=Object.fromEntries(Object.entries(E).filter(([D,T])=>l[D]!==!1&&T!==void 0&&T!==null&&T!==""));try{const D=s.value.filter(G=>G.field.__component==="webform.file");for(const G of D){const K=G.value,z=await Vue(K);z.length>0&&(E[G.field.settings?.key]=z)}const T=Zp(d.value==="published"?p.value?.publishedSettings?.actions:p.value?.draftSettings?.actions),x=Array.isArray(T)?T:[],O=x.some(G=>G?.type==="marketoForm");let A={},V="";if(O){const{fetchIp:G}=Wue(),{load:K,getCookie:z}=ex();K().catch(X=>{console.warn("[form:submit] Marketo script load failed; continuing without Munchkin init:",X)});const be=await G();A={pageURL:window.location.href,queryString:window.location.search,leadClientIpAddress:be,userAgentString:navigator.userAgent},V=z(),console.log("[form:submit] marketo context",{requiresVisitorData:O,marketoCookiePresent:!!V,visitorData:A,actions:x})}const re=await que({values:E,key:p.value?.key,documentId:p.value?.documentId,recaptchaToken:"",recaptchaAction:"",formActions:x,visitorData:A,marketoCookie:V});console.log("[form:submit] API response",re);const pe=(Array.isArray(x)?x:[]).find(G=>G?.type==="redirect");pe?.url&&await Qo(pe.url,{redirectCode:302}),c.value=re.message}catch(D){f.value="There was an error submitting the form - "+D,console.error("Error submitting form:",D)}},({errors:E,values:D})=>{console.warn("[form:submit] validation FAILED — submit aborted",{state:d.value,errors:E,currentValues:D,zodSchemaKeys:Object.keys(o.value||{})})});Ie(()=>[u.value,l,s.value],([E,D])=>{const T=Zp(E);o.value=Uue(T,D)},{immediate:!0,deep:!0}),Pt(()=>{p.value?.publishedSettings?.behavior&&d.value==="published"?a.value=p.value.publishedSettings.behavior:p.value?.draftSettings?.behavior&&d.value==="draft"&&(a.value=p.value.draftSettings.behavior)}),Pt(()=>{if(!n.enableBehavior){for(const T in l)l[T]=!0;return}const E=Object.fromEntries(s.value.map(T=>[T.field.settings?.key,T.value])),D=Zp(a.value);
12for(const[T,x]of Object.entries(D)){let O=!0;try{x!==null&&(O=rW.apply(x,E))}catch{O=!0}if(l[T]=O,!O){const A=i.get(T);A?.value?.value&&(A.value.value=A.field.defaultValue??void 0)}}}),Ie(c,E=>{E&&_()}),Ie(y,E=>{E&&(s.value.forEach(D=>{D.field.error=""}),Object.entries(E).forEach(([D,T])=>{const x=s.value.find(O=>O.field.settings?.key===D);x&&(x.field.error=T)}))},{immediate:!0,deep:!0});function C(E,D){const T=i.get(E);T&&(T.value.value=D.value)}return(E,D)=>{const T=ew;return R(),ce("article",{class:Qe(["snowDog-main",{"sd-page-section":!n.embedded},"sd-surface-transparent"])},[W(T,{hidden:{opacity:0},duration:.3,appear:""},{default:J(()=>[S(h)?we("",!0):(R(),ie(S(BW),{key:0,onSubmit:S(k),class:Qe(["sd-form-container"])},{default:J(()=>[$e(E.$slots,"default",{resolveField:g,updateField:C},void 0,!0)]),_:3},8,["onSubmit"]))]),_:3}),W(T,{hidden:{opacity:0,y:20},duration:.3,delay:.3,appear:""},{default:J(()=>[S(h)?(R(),ie(S(jue),{key:0,type:S(h),title:S(v)?.title,description:S(v)?.description,message:S(v)?.message},null,8,["type","title","description","message"])):we("",!0)]),_:1})],2)}}}),Gue={},Yue={$style:Gue},Xue=Object.assign(bt(Kue,[["__cssModules",Yue],["__scopeId","data-v-85c0e0bf"]]),{__name:"FormsDynamicForm"}),tx={"page.multi-layout-content":T0},Ty={FormMultiLayoutContent:T0,MultiLayoutContent:T0};function Ay(e){const t=e?.__component;return typeof t=="string"&&!t.startsWith("webform.")}function Que(e,t){return e?.settings?.key??e?.settings?.uuid??`${e?.__component}-${t}`}function Zue(e){return((e.__component||"").split(".").pop()||"").split("-").map(n=>n.charAt(0).toUpperCase()+n.slice(1)).join("")}function nx(e){const t=e?.settings?.componentName;if(typeof t=="string"&&Ty[t])return Ty[t];const n=e?.__component;if(typeof n=="string"&&tx[n])return tx[n];const r=Zue(e);return Ty[r]??null}var Oy,rx;function Ic(){return rx||(rx=1,Oy=TypeError),Oy}const Jue={},ece=Object.freeze(Object.defineProperty({__proto__:null,default:Jue},Symbol.toStringTag,{value:"Module"})),tce=JH(ece);var Py,ox;function Bv(){if(ox)return Py;ox=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=o&&i&&typeof i.get=="function"?i.get:null,a=o&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,f=c?WeakSet.prototype.has:null,p=typeof WeakRef=="function"&&WeakRef.prototype,d=p?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,y=String.prototype.slice,w=String.prototype.replace,_=String.prototype.toUpperCase,k=String.prototype.toLowerCase,C=RegExp.prototype.test,E=Array.prototype.concat,D=Array.prototype.join,T=Array.prototype.slice,x=Math.floor,O=typeof BigInt=="function"?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,re=typeof Symbol=="function"&&typeof Symbol.iterator=="object",pe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===re||!0)?Symbol.toStringTag:null,G=Object.prototype.propertyIsEnumerable,K=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(H){return H.__proto__}:null);function z(H,U){if(H===1/0||H===-1/0||H!==H||H&&H>-1e3&&H<1e3||C.call(/e/,U))return U;var Me=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof H=="number"){var De=H<0?-x(-H):x(H);if(De!==H){var Ke=String(De),Te=y.call(U,Ke.length+1);return w.call(Ke,Me,"$&_")+"."+w.call(w.call(Te,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(U,Me,"$&_")}var be=tce,X=be.custom,Fe=B(X)?X:null,Ve={__proto__:null,double:'"',single:"'"},tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Py=function H(U,Me,De,Ke){var Te=Me||{};if(q(Te,"quoteStyle")&&!q(Ve,Te.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(Te,"maxStringLength")&&(typeof Te.maxStringLength=="number"?Te.maxStringLength<0&&Te.maxStringLength!==1/0:Te.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var nt=q(Te,"customInspect")?Te.customInspect:!0;if(typeof nt!="boolean"&&nt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 36,981 bytes, lines 12-15
12if(q(Te,"indent")&&Te.indent!==null&&Te.indent!=="	"&&!(parseInt(Te.indent,10)===Te.indent&&Te.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(Te,"numericSeparator")&&typeof Te.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ct=Te.numericSeparator;if(typeof U>"u")return"undefined";if(U===null)return"null";if(typeof U=="boolean")return U?"true":"false";if(typeof U=="string")return Ne(U,Te);if(typeof U=="number"){if(U===0)return 1/0/U>0?"0":"-0";var dt=String(U);return ct?z(U,dt):dt}if(typeof U=="bigint"){var Ue=String(U)+"n";return ct?z(U,Ue):Ue}var te=typeof Te.depth>"u"?5:Te.depth;if(typeof De>"u"&&(De=0),De>=te&&te>0&&typeof U=="object")return F(U)?"[Array]":"[Object]";var Se=Y(Te,De);if(typeof Ke>"u")Ke=[];else if(ee(Ke,U)>=0)return"[Circular]";function oe(zt,kn,jn){if(kn&&(Ke=T.call(Ke),Ke.push(kn)),jn){var qn={depth:Te.depth};return q(Te,"quoteStyle")&&(qn.quoteStyle=Te.quoteStyle),H(zt,qn,De+1,Ke)}return H(zt,Te,De+1,Ke)}if(typeof U=="function"&&!se(U)){var me=j(U),Pe=Ce(U,oe);return"[Function"+(me?": "+me:" (anonymous)")+"]"+(Pe.length>0?" { "+D.call(Pe,", ")+" }":"")}if(B(U)){var ye=re?w.call(String(U),/^(Symbol\(.*\))_[^)]*$/,"$1"):V.call(U);return typeof U=="object"&&!re?st(ye):ye}if(Re(U)){for(var je="<"+k.call(String(U.nodeName)),Ae=U.attributes||[],We=0;We<Ae.length;We++)je+=" "+Ae[We].name+"="+Be(ut(Ae[We].value),"double",Te);return je+=">",U.childNodes&&U.childNodes.length&&(je+="..."),je+="</"+k.call(String(U.nodeName))+">",je}if(F(U)){if(U.length===0)return"[]";var ot=Ce(U,oe);return Se&&!P(ot)?"["+fe(ot,Se)+"]":"[ "+D.call(ot,", ")+" ]"}if(he(U)){var Ge=Ce(U,oe);return!("cause"in Error.prototype)&&"cause"in U&&!G.call(U,"cause")?"{ ["+String(U)+"] "+D.call(E.call("[cause]: "+oe(U.cause),Ge),", ")+" }":Ge.length===0?"["+String(U)+"]":"{ ["+String(U)+"] "+D.call(Ge,", ")+" }"}if(typeof U=="object"&&nt){if(Fe&&typeof U[Fe]=="function"&&be)return be(U,{depth:te-De});if(nt!=="symbol"&&typeof U.inspect=="function")return U.inspect()}if(ae(U)){var mt=[];return r&&r.call(U,function(zt,kn){mt.push(oe(kn,U,!0)+" => "+oe(zt,U))}),I("Map",n.call(U),mt,Se)}if(Z(U)){var It=[];return a&&a.call(U,function(zt){It.push(oe(zt,U))}),I("Set",s.call(U),It,Se)}if(de(U))return ft("WeakMap");if(ue(U))return ft("WeakSet");if(xe(U))return ft("WeakRef");if(Oe(U))return st(oe(Number(U)));if(Q(U))return st(oe(O.call(U)));if(M(U))return st(h.call(U));if(Ee(U))return st(oe(String(U)));if(typeof window<"u"&&U===window)return"{ [object Window] }";if(typeof globalThis<"u"&&U===globalThis||typeof fC<"u"&&U===fC)return"{ [object globalThis] }";if(!le(U)&&!se(U)){var $t=Ce(U,oe),Et=K?K(U)===Object.prototype:U instanceof Object||U.constructor===Object,St=U instanceof Object?"":"null prototype",Ht=!Et&&pe&&Object(U)===U&&pe in U?y.call($(U),8,-1):St?"Object":"",vt=Et||typeof U.constructor!="function"?"":U.constructor.name?U.constructor.name+" ":"",Dn=vt+(Ht||St?"["+D.call(E.call([],Ht||[],St||[]),": ")+"] ":"");return $t.length===0?Dn+"{}":Se?Dn+"{"+fe($t,Se)+"}":Dn+"{ "+D.call($t,", ")+" }"}return String(U)};function Be(H,U,Me){var De=Me.quoteStyle||U,Ke=Ve[De];return Ke+H+Ke}function ut(H){return w.call(String(H),/"/g,"&quot;")}function ke(H){return!pe||!(typeof H=="object"&&(pe in H||typeof H[pe]<"u"))}function F(H){return $(H)==="[object Array]"&&ke(H)}function le(H){return $(H)==="[object Date]"&&ke(H)}function se(H){return $(H)==="[object RegExp]"&&ke(H)}function he(H){return $(H)==="[object Error]"&&ke(H)}function Ee(H){return $(H)==="[object String]"&&ke(H)}function Oe(H){return $(H)==="[object Number]"&&ke(H)}function M(H){return $(H)==="[object Boolean]"&&ke(H)}function B(H){if(re)return H&&typeof H=="object"&&H instanceof Symbol;if(typeof H=="symbol")return!0;if(!H||typeof H!="object"||!V)return!1;try{return V.call(H),!0}catch{}return!1}function Q(H){if(!H||typeof H!="object"||!O)return!1;try{return O.call(H),!0}catch{}return!1}var ve=Object.prototype.hasOwnProperty||function(H){return H in this};function q(H,U){return ve.call(H,U)}function $(H){return v.call(H)}function j(H){if(H.name)return H.name;var U=b.call(g.call(H),/^function\s*([\w$]+)/);return U?U[1]:null}function ee(H,U){if(H.indexOf)return H.indexOf(U);for(var Me=0,De=H.length;Me<De;Me++)if(H[Me]===U)return Me;return-1}function ae(H){if(!n||!H||typeof H!="object")return!1;try{n.call(H);try{s.call(H)}catch{return!0}return H instanceof Map}catch{}return!1}function de(H){if(!u||!H||typeof H!="object")return!1;try{u.call(H,u);try{f.call(H,f)}catch{return!0}return H instanceof WeakMap}catch{}return!1}function xe(H){if(!d||!H||typeof H!="object")return!1;try{return d.call(H),!0}catch{}return!1}function Z(H){if(!s||!H||typeof H!="object")return!1;try{s.call(H);try{n.call(H)}catch{return!0}return H instanceof Set}catch{}return!1}function ue(H){if(!f||!H||typeof H!="object")return!1;try{f.call(H,f);try{u.call(H,u)}catch{return!0}return H instanceof WeakSet}catch{}return!1}function Re(H){return!H||typeof H!="object"?!1:typeof HTMLElement<"u"&&H instanceof HTMLElement?!0:typeof H.nodeName=="string"&&typeof H.getAttribute=="function"}function Ne(H,U){if(H.length>U.maxStringLength){var Me=H.length-U.maxStringLength,De="... "+Me+" more character"+(Me>1?"s":"");return Ne(y.call(H,0,U.maxStringLength),U)+De}var Ke=tt[U.quoteStyle||"single"];Ke.lastIndex=0;var Te=w.call(w.call(H,Ke,"\\$1"),/[\x00-\x1f]/g,rt);return Be(Te,"single",U)}function rt(H){var U=H.charCodeAt(0),Me={8:"b",9:"t",10:"n",12:"f",13:"r"}[U];return Me?"\\"+Me:"\\x"+(U<16?"0":"")+_.call(U.toString(16))}function st(H){return"Object("+H+")"}function ft(H){return H+" { ? }"}function I(H,U,Me,De){var Ke=De?fe(Me,De):D.call(Me,", ");return H+" ("+U+") {"+Ke+"}"}function P(H){for(var U=0;U<H.length;U++)if(ee(H[U],`
13`)>=0)return!1;return!0}function Y(H,U){var Me;if(H.indent==="	")Me="	";else if(typeof H.indent=="number"&&H.indent>0)Me=D.call(Array(H.indent+1)," ");else return null;return{base:Me,prev:D.call(Array(U+1),Me)}}function fe(H,U){if(H.length===0)return"";var Me=`
14`+U.prev+U.base;return Me+D.call(H,","+Me)+`
15`+U.prev}function Ce(H,U){var Me=F(H),De=[];if(Me){De.length=H.length;for(var Ke=0;Ke<H.length;Ke++)De[Ke]=q(H,Ke)?U(H[Ke],H):""}var Te=typeof A=="function"?A(H):[],nt;if(re){nt={};for(var ct=0;ct<Te.length;ct++)nt["$"+Te[ct]]=Te[ct]}for(var dt in H)q(H,dt)&&(Me&&String(Number(dt))===dt&&dt<H.length||re&&nt["$"+dt]instanceof Symbol||(C.call(/[^\w$]/,dt)?De.push(U(dt,H)+": "+U(H[dt],H)):De.push(dt+": "+U(H[dt],H))));if(typeof A=="function")for(var Ue=0;Ue<Te.length;Ue++)G.call(H,Te[Ue])&&De.push("["+U(Te[Ue])+"]: "+U(H[Te[Ue]],H));return De}return Py}var Ry,ix;function nce(){if(ix)return Ry;ix=1;var e=Bv(),t=Ic(),n=function(a,l,u){for(var c=a,f;(f=c.next)!=null;c=f)if(f.key===l)return c.next=f.next,u||(f.next=a.next,a.next=f),f},r=function(a,l){if(a){var u=n(a,l);return u&&u.value}},o=function(a,l,u){var c=n(a,l);c?c.value=u:a.next={key:l,next:a.next,value:u}},i=function(a,l){return a?!!n(a,l):!1},s=function(a,l){if(a)return n(a,l,!0)};return Ry=function(){var l,u={assert:function(c){if(!u.has(c))throw new t("Side channel does not contain "+e(c))},delete:function(c){var f=l&&l.next,p=s(l,c);return p&&f&&f===p&&(l=void 0),!!p},get:function(c){return r(l,c)},has:function(c){return i(l,c)},set:function(c,f){l||(l={next:void 0}),o(l,c,f)}};return u},Ry}var Iy,sx;function XM(){return sx||(sx=1,Iy=Object),Iy}var $y,ax;function rce(){return ax||(ax=1,$y=Error),$y}var My,lx;function oce(){return lx||(lx=1,My=EvalError),My}var Fy,ux;function ice(){return ux||(ux=1,Fy=RangeError),Fy}var Ly,cx;function sce(){return cx||(cx=1,Ly=ReferenceError),Ly}var Ny,fx;function ace(){return fx||(fx=1,Ny=SyntaxError),Ny}var By,dx;function lce(){return dx||(dx=1,By=URIError),By}var jy,px;function uce(){return px||(px=1,jy=Math.abs),jy}var qy,hx;function cce(){return hx||(hx=1,qy=Math.floor),qy}var Vy,mx;function fce(){return mx||(mx=1,Vy=Math.max),Vy}var Uy,vx;function dce(){return vx||(vx=1,Uy=Math.min),Uy}var Hy,gx;function pce(){return gx||(gx=1,Hy=Math.pow),Hy}var Wy,yx;function hce(){return yx||(yx=1,Wy=Math.round),Wy}var zy,_x;function mce(){return _x||(_x=1,zy=Number.isNaN||function(t){return t!==t}),zy}var Ky,bx;function vce(){if(bx)return Ky;bx=1;var e=mce();return Ky=function(n){return e(n)||n===0?n:n<0?-1:1},Ky}var Gy,wx;function gce(){return wx||(wx=1,Gy=Object.getOwnPropertyDescriptor),Gy}var Yy,kx;function QM(){if(kx)return Yy;kx=1;var e=gce();if(e)try{e([],"length")}catch{e=null}return Yy=e,Yy}var Xy,Ex;function yce(){if(Ex)return Xy;Ex=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Xy=e,Xy}var Qy,Sx;function _ce(){return Sx||(Sx=1,Qy=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var o=42;t[n]=o;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,n);if(a.value!==o||a.enumerable!==!0)return!1}return!0}),Qy}var Zy,Cx;function bce(){if(Cx)return Zy;Cx=1;var e=typeof Symbol<"u"&&Symbol,t=_ce();return Zy=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Zy}var Jy,Dx;function ZM(){return Dx||(Dx=1,Jy=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Jy}var e_,xx;function JM(){if(xx)return e_;xx=1;var e=XM();return e_=e.getPrototypeOf||null,e_}var t_,Tx;function wce(){if(Tx)return t_;Tx=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",o=function(l,u){for(var c=[],f=0;f<l.length;f+=1)c[f]=l[f];for(var p=0;p<u.length;p+=1)c[p+l.length]=u[p];return c},i=function(l,u){for(var c=[],f=u,p=0;f<l.length;f+=1,p+=1)c[p]=l[f];return c},s=function(a,l){for(var u="",c=0;c<a.length;c+=1)u+=a[c],c+1<a.length&&(u+=l);return u};return t_=function(l){var u=this;if(typeof u!="function"||t.apply(u)!==r)throw new TypeError(e+u);for(var c=i(arguments,1),f,p=function(){if(this instanceof f){var b=u.apply(this,o(c,arguments));return Object(b)===b?b:this}return u.apply(l,o(c,arguments))},d=n(0,u.length-c.length),h=[],v=0;v<d;v++)h[v]="$"+v;if(f=Function("binder","return function ("+s(h,",")+"){ return binder.apply(this,arguments); }")(p),u.prototype){var g=function(){};g.prototype=u.prototype,f.prototype=new g,g.prototype=null}return f},t_}var n_,Ax;function jv(){if(Ax)return n_;Ax=1;var e=wce();return n_=Function.prototype.bind||e,n_}var r_,Ox;function Pw(){return Ox||(Ox=1,r_=Function.prototype.call),r_}var o_,Px;function eF(){return Px||(Px=1,o_=Function.prototype.apply),o_}var i_,Rx;function kce(){return Rx||(Rx=1,i_=typeof Reflect<"u"&&Reflect&&Reflect.apply),i_}var s_,Ix;function Ece(){if(Ix)return s_;Ix=1;var e=jv(),t=eF(),n=Pw(),r=kce();return s_=r||e.call(n,t),s_}var a_,$x;function tF(){if($x)return a_;$x=1;var e=jv(),t=Ic(),n=Pw(),r=Ece();return a_=function(i){if(i.length<1||typeof i[0]!="function")throw new t("a function is required");return r(e,n,i)},a_}var l_,Mx;function Sce(){if(Mx)return l_;Mx=1;var e=tF(),t=QM(),n;try{n=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var r=!!n&&t&&t(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return l_=r&&typeof r.get=="function"?e([r.get]):typeof i=="function"?function(a){return i(a==null?a:o(a))}:!1,l_}var u_,Fx;function Cce(){if(Fx)return u_;Fx=1;var e=ZM(),t=JM(),n=Sce();return u_=e?function(o){return e(o)}:t?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return t(o)}:n?function(o){return n(o)}:null,u_}var c_,Lx;function Dce(){if(Lx)return c_;Lx=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=jv();return c_=n.call(e,t),c_}var f_,Nx;function Rw(){if(Nx)return f_;Nx=1;var e,t=XM(),n=rce(),r=oce(),o=ice(),i=sce(),s=ace(),a=Ic(),l=lce(),u=uce(),c=cce(),f=fce(),p=dce(),d=pce(),h=hce(),v=vce(),g=Function,b=function(se){try{return g('"use strict"; return ('+se+").constructor;")()}catch{}},y=QM(),w=yce(),_=function(){throw new a},k=y?(function(){try{return arguments.callee,_}catch{try{return y(arguments,"callee").get}catch{return _}}})():_,C=bce()(),E=Cce(),D=JM(),T=ZM(),x=eF(),O=Pw(),A={},V=typeof Uint8Array>"u"||!E?e:E(Uint8Array),re={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":C&&E?E([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&E?E(E([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!E?e:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":y,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":o,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!E?e:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&E?E(""[Symbol.iterator]()):e,"%Symbol%":C?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":k,"%TypedArray%":V,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":x,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":D,"%Math.abs%":u,"%Math.floor%":c,"%Math.max%":f,"%Math.min%":p,"%Math.pow%":d,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":T};if(E)try{null.error}catch(se){var pe=E(E(se));re["%Error.prototype%"]=pe}var G=function se(he){var Ee;if(he==="%AsyncFunction%")Ee=b("async function () {}");else if(he==="%GeneratorFunction%")Ee=b("function* () {}");else if(he==="%AsyncGeneratorFunction%")Ee=b("async function* () {}");else if(he==="%AsyncGenerator%"){var Oe=se("%AsyncGeneratorFunction%");Oe&&(Ee=Oe.prototype)}else if(he==="%AsyncIteratorPrototype%"){var M=se("%AsyncGenerator%");M&&E&&(Ee=E(M.prototype))}return re[he]=Ee,Ee},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},z=jv(),be=Dce(),X=z.call(O,Array.prototype.concat),Fe=z.call(x,Array.prototype.splice),Ve=z.call(O,String.prototype.replace),tt=z.call(O,String.prototype.slice),Be=z.call(O,RegExp.prototype.exec),ut=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ke=/\\(\\)?/g,F=function(he){var Ee=tt(he,0,1),Oe=tt(he,-1);if(Ee==="%"&&Oe!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(Oe==="%"&&Ee!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var M=[];return Ve(he,ut,function(B,Q,ve,q){M[M.length]=ve?Ve(q,ke,"$1"):Q||B}),M},le=function(he,Ee){var Oe=he,M;if(be(K,Oe)&&(M=K[Oe],Oe="%"+M[0]+"%"),be(re,Oe)){var B=re[Oe];if(B===A&&(B=G(Oe)),typeof B>"u"&&!Ee)throw new a("intrinsic "+he+" exists, but is not available. Please file an issue!");return{alias:M,name:Oe,value:B}}throw new s("intrinsic "+he+" does not exist!")};return f_=function(he,Ee){if(typeof he!="string"||he.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ee!="boolean")throw new a('"allowMissing" argument must be a boolean');if(Be(/^%?[^%]*%?$/,he)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Oe=F(he),M=Oe.length>0?Oe[0]:"",B=le("%"+M+"%",Ee),Q=B.name,ve=B.value,q=!1,$=B.alias;$&&(M=$[0],Fe(Oe,X([0,1],$)));for(var j=1,ee=!0;j<Oe.length;j+=1){var ae=Oe[j],de=tt(ae,0,1),xe=tt(ae,-1);if((de==='"'||de==="'"||de==="`"||xe==='"'||xe==="'"||xe==="`")&&de!==xe)throw new s("property names with quotes must have matching quotes");if((ae==="constructor"||!ee)&&(q=!0),M+="."+ae,Q="%"+M+"%",be(re,Q))ve=re[Q];else if(ve!=null){if(!(ae in ve)){if(!Ee)throw new a("base intrinsic for "+he+" exists, but the property is not available.");return}if(y&&j+1>=Oe.length){var Z=y(ve,ae);ee=!!Z,ee&&"get"in Z&&!("originalValue"in Z.get)?ve=Z.get:ve=ve[ae]}else ee=be(ve,ae),ve=ve[ae];ee&&!q&&(re[Q]=ve)}}return ve},f_}var d_,Bx;function nF(){if(Bx)return d_;Bx=1;var e=Rw(),t=tF(),n=t([e("%String.prototype.indexOf%")]);return d_=function(o,i){var s=e(o,!!i);return typeof s=="function"&&n(o,".prototype.")>-1?t([s]):s},d_}var p_,jx;function rF(){if(jx)return p_;jx=1;var e=Rw(),t=nF(),n=Bv(),r=Ic(),o=e("%Map%",!0),i=t("Map.prototype.get",!0),s=t("Map.prototype.set",!0),a=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),u=t("Map.prototype.size",!0);return p_=!!o&&function(){var f,p={assert:function(d){if(!p.has(d))throw new r("Side channel does not contain "+n(d))},delete:function(d){if(f){var h=l(f,d);return u(f)===0&&(f=void 0),h}return!1},get:function(d){if(f)return i(f,d)},has:function(d){return f?a(f,d):!1},set:function(d,h){f||(f=new o),s(f,d,h)}};return p},p_}var h_,qx;function xce(){if(qx)return h_;qx=1;var e=Rw(),t=nF(),n=Bv(),r=rF(),o=Ic(),i=e("%WeakMap%",!0),s=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),u=t("WeakMap.prototype.delete",!0);return h_=i?function(){var f,p,d={assert:function(h){if(!d.has(h))throw new o("Side channel does not contain "+n(h))},delete:function(h){if(i&&h&&(typeof h=="object"||typeof h=="function")){if(f)return u(f,h)}else if(r&&p)return p.delete(h);return!1},get:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?s(f,h):p&&p.get(h)},has:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&f?l(f,h):!!p&&p.has(h)},set:function(h,v){i&&h&&(typeof h=="object"||typeof h=="function")?(f||(f=new i),a(f,h,v)):r&&(p||(p=r()),p.set(h,v))}};return d}:r,h_}var m_,Vx;function oF(){if(Vx)return m_;Vx=1;var e=Ic(),t=Bv(),n=nce(),r=rF(),o=xce(),i=o||r||n;return m_=function(){var a,l={assert:function(u){if(!l.has(u))throw new e("Side channel does not contain "+t(u))},delete:function(u){return!!a&&a.delete(u)},get:function(u){return a&&a.get(u)},has:function(u){return!!a&&a.has(u)},set:function(u,c){a||(a=i()),a.set(u,c)}};return l},m_}var v_,Ux;function Iw(){if(Ux)return v_;Ux=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return v_={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},v_}var g_,Hx;function iF(){if(Hx)return g_;Hx=1;var e=Iw(),t=oF(),n=Object.prototype.hasOwnProperty,r=Array.isArray,o=t(),i=function(E,D){return o.set(E,D),E},s=function(E){return o.has(E)},a=function(E){return o.get(E)},l=function(E,D){o.set(E,D)},u=(function(){for(var C=[],E=0;E<256;++E)C[C.length]="%"+((E<16?"0":"")+E.toString(16)).toUpperCase();return C})(),c=function(E){for(;E.length>1;){var D=E.pop(),T=D.obj[D.prop];if(r(T)){for(var x=[],O=0;O<T.length;++O)typeof T[O]<"u"&&(x[x.length]=T[O]);D.obj[D.prop]=x}}},f=function(E,D){for(var T=D&&D.plainObjects?{__proto__:null}:{},x=0;x<E.length;++x)typeof E[x]<"u"&&(T[x]=E[x]);return T},p=function C(E,D,T){if(!D)return E;if(typeof D!="object"&&typeof D!="function"){if(r(E)){var x=E.length;if(T&&typeof T.arrayLimit=="number"&&x>T.arrayLimit)return i(f(E.concat(D),T),x);E[x]=D}else if(E&&typeof E=="object")if(s(E)){var O=a(E)+1;E[O]=D,l(E,O)}else{if(T&&T.strictMerge)return[E,D];(T&&(T.plainObjects||T.allowPrototypes)||!n.call(Object.prototype,D))&&(E[D]=!0)}else return[E,D];return E}if(!E||typeof E!="object"){if(s(D)){for(var A=Object.keys(D),V=T&&T.plainObjects?{__proto__:null,0:E}:{0:E},re=0;re<A.length;re++){var pe=parseInt(A[re],10);V[pe+1]=D[A[re]]}return i(V,a(D)+1)}var G=[E].concat(D);return T&&typeof T.arrayLimit=="number"&&G.length>T.arrayLimit?i(f(G,T),G.length-1):G}var K=E;return r(E)&&!r(D)&&(K=f(E,T)),r(E)&&r(D)?(D.forEach(function(z,be){if(n.call(E,be)){var X=E[be];X&&typeof X=="object"&&z&&typeof z=="object"?E[be]=C(X,z,T):E[E.length]=z}else E[be]=z}),E):Object.keys(D).reduce(function(z,be){var X=D[be];if(n.call(z,be)?z[be]=C(z[be],X,T):z[be]=X,s(D)&&!s(z)&&i(z,a(D)),s(z)){var Fe=parseInt(be,10);String(Fe)===be&&Fe>=0&&Fe>a(z)&&l(z,Fe)}return z},K)},d=function(E,D){return Object.keys(D).reduce(function(T,x){return T[x]=D[x],T},E)},h=function(C,E,D){var T=C.replace(/\+/g," ");if(D==="iso-8859-1")return T.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(T)}catch{return T}},v=1024,g=function(E,D,T,x,O){if(E.length===0)return E;var A=E;if(typeof E=="symbol"?A=Symbol.prototype.toString.call(E):typeof E!="string"&&(A=String(E)),T==="iso-8859-1")return escape(A).replace(/%u[0-9a-f]{4}/gi,function(be){return"%26%23"+parseInt(be.slice(2),16)+"%3B"});for(var V="",re=0;re<A.length;re+=v){for(var pe=A.length>=v?A.slice(re,re+v):A,G=[],K=0;K<pe.length;++K){var z=pe.charCodeAt(K);if(z===45||z===46||z===95||z===126||z>=48&&z<=57||z>=65&&z<=90||z>=97&&z<=122||O===e.RFC1738&&(z===40||z===41)){G[G.length]=pe.charAt(K);continue}if(z<128){G[G.length]=u[z];continue}if(z<2048){G[G.length]=u[192|z>>6]+u[128|z&63];continue}if(z<55296||z>=57344){G[G.length]=u[224|z>>12]+u[128|z>>6&63]+u[128|z&63];continue}K+=1,z=65536+((z&1023)<<10|pe.charCodeAt(K)&1023),G[G.length]=u[240|z>>18]+u[128|z>>12&63]+u[128|z>>6&63]+u[128|z&63]}V+=G.join("")}return V},b=function(E){for(var D=[{obj:{o:E},prop:"o"}],T=[],x=0;x<D.length;++x)for(var O=D[x],A=O.obj[O.prop],V=Object.keys(A),re=0;re<V.length;++re){var pe=V[re],G=A[pe];typeof G=="object"&&G!==null&&T.indexOf(G)===-1&&(D[D.length]={obj:A,prop:pe},T[T.length]=G)}return c(D),E},y=function(E){return Object.prototype.toString.call(E)==="[object RegExp]"},w=function(E){return!E||typeof E!="object"?!1:!!(E.constructor&&E.constructor.isBuffer&&E.constructor.isBuffer(E))},_=function(E,D,T,x){if(s(E)){var O=a(E)+1;return E[O]=D,l(E,O),E}var A=[].concat(E,D);return A.length>T?i(f(A,{plainObjects:x}),A.length-1):A},k=function(E,D){if(r(E)){for(var T=[],x=0;x<E.length;x+=1)T[T.length]=D(E[x]);return T}return D(E)};return g_={arrayToObject:f,assign:d,combine:_,compact:b,decode:h,encode:g,isBuffer:w,isOverflow:s,isRegExp:y,markOverflow:i,maybeMap:k,merge:p},g_}var y_,Wx;function Tce(){if(Wx)return y_;Wx=1;var e=oF(),t=iF(),n=Iw(),r=Object.prototype.hasOwnProperty,o={brackets:function(g){return g+"[]"},comma:"comma",indices:function(g,b){return g+"["+b+"]"},repeat:function(g){return g}},i=Array.isArray,s=Array.prototype.push,a=function(v,g){s.apply(v,i(g)?g:[g])},l=Date.prototype.toISOString,u=n.default,c={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:u,formatter:n.formatters[u],indices:!1,serializeDate:function(g){return l.call(g)},skipNulls:!1,strictNullHandling:!1},f=function(g){return typeof g=="string"||typeof g=="number"||typeof g=="boolean"||typeof g=="symbol"||typeof g=="bigint"},p={},d=function v(g,b,y,w,_,k,C,E,D,T,x,O,A,V,re,pe,G,K){for(var z=g,be=K,X=0,Fe=!1;(be=be.get(p))!==void 0&&!Fe;){var Ve=be.get(g);if(X+=1,typeof Ve<"u"){if(Ve===X)throw new RangeError("Cyclic object value");Fe=!0}typeof be.get(p)>"u"&&(X=0)}if(typeof T=="function"?z=T(b,z):z instanceof Date?z=A(z):y==="comma"&&i(z)&&(z=t.maybeMap(z,function(Q){return Q instanceof Date?A(Q):Q})),z===null){if(k)return D&&!pe?D(b,c.encoder,G,"key",V):b;z=""}if(f(z)||t.isBuffer(z)){if(D){var tt=pe?b:D(b,c.encoder,G,"key",V);return[re(tt)+"="+re(D(z,c.encoder,G,"value",V))]}return[re(b)+"="+re(String(z))]}var Be=[];if(typeof z>"u")return Be;var ut;if(y==="comma"&&i(z))pe&&D&&(z=t.maybeMap(z,D)),ut=[{value:z.length>0?z.join(",")||null:void 0}];else if(i(T))ut=T;else{var ke=Object.keys(z);ut=x?ke.sort(x):ke}var F=E?String(b).replace(/\./g,"%2E"):String(b),le=w&&i(z)&&z.length===1?F+"[]":F;if(_&&i(z)&&z.length===0)return le+"[]";for(var se=0;se<ut.length;++se){var he=ut[se],Ee=typeof he=="object"&&he&&typeof he.value<"u"?he.value:z[he];if(!(C&&Ee===null)){var Oe=O&&E?String(he).replace(/\./g,"%2E"):String(he),M=i(z)?typeof y=="function"?y(le,Oe):le:le+(O?"."+Oe:"["+Oe+"]");K.set(g,X);var B=e();B.set(p,K),a(Be,v(Ee,M,y,w,_,k,C,E,y==="comma"&&pe&&i(z)?null:D,T,x,O,A,V,re,pe,G,B))}}return Be},h=function(g){if(!g)return c;if(typeof g.allowEmptyArrays<"u"&&typeof g.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof g.encodeDotInKeys<"u"&&typeof g.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(g.encoder!==null&&typeof g.encoder<"u"&&typeof g.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=g.charset||c.charset;if(typeof g.charset<"u"&&g.charset!=="utf-8"&&g.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var y=n.default;if(typeof g.format<"u"){if(!r.call(n.formatters,g.format))throw new TypeError("Unknown format option provided.");y=g.format}var w=n.formatters[y],_=c.filter;(typeof g.filter=="function"||i(g.filter))&&(_=g.filter);var k;if(g.arrayFormat in o?k=g.arrayFormat:"indices"in g?k=g.indices?"indices":"repeat":k=c.arrayFormat,"commaRoundTrip"in g&&typeof g.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C=typeof g.allowDots>"u"?g.encodeDotInKeys===!0?!0:c.allowDots:!!g.allowDots;return{addQueryPrefix:typeof g.addQueryPrefix=="boolean"?g.addQueryPrefix:c.addQueryPrefix,allowDots:C,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:c.allowEmptyArrays,arrayFormat:k,charset:b,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:c.charsetSentinel,commaRoundTrip:!!g.commaRoundTrip,delimiter:typeof g.delimiter>"u"?c.delimiter:g.delimiter,encode:typeof g.encode=="boolean"?g.encode:c.encode,encodeDotInKeys:typeof g.encodeDotInKeys=="boolean"?g.encodeDotInKeys:c.encodeDotInKeys,encoder:typeof g.encoder=="function"?g.encoder:c.encoder,encodeValuesOnly:typeof g.encodeValuesOnly=="boolean"?g.encodeValuesOnly:c.encodeValuesOnly,filter:_,format:y,formatter:w,serializeDate:typeof g.serializeDate=="function"?g.serializeDate:c.serializeDate,skipNulls:typeof g.skipNulls=="boolean"?g.skipNulls:c.skipNulls,sort:typeof g.sort=="function"?g.sort:null,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:c.strictNullHandling}};return y_=function(v,g){var b=v,y=h(g),w,_;typeof y.filter=="function"?(_=y.filter,b=_("",b)):i(y.filter)&&(_=y.filter,w=_);var k=[];if(typeof b!="object"||b===null)return"";var C=o[y.arrayFormat],E=C==="comma"&&y.commaRoundTrip;w||(w=Object.keys(b)),y.sort&&w.sort(y.sort);for(var D=e(),T=0;T<w.length;++T){var x=w[T],O=b[x];y.skipNulls&&O===null||a(k,d(O,x,C,E,y.allowEmptyArrays,y.strictNullHandling,y.skipNulls,y.encodeDotInKeys,y.encode?y.encoder:null,y.filter,y.sort,y.allowDots,y.serializeDate,y.format,y.formatter,y.encodeValuesOnly,y.charset,D))}var A=k.join(y.delimiter),V=y.addQueryPrefix===!0?"?":"";return y.charsetSentinel&&(y.charset==="iso-8859-1"?V+="utf8=%26%2310003%3B&":V+="utf8=%E2%9C%93&"),A.length>0?V+A:""},y_}var __,zx;function Ace(){if(zx)return __;zx=1;var e=iF(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(d){return d.replace(/&#(\d+);/g,function(h,v){return String.fromCharCode(parseInt(v,10))})},i=function(d,h,v){if(d&&typeof d=="string"&&h.comma&&d.indexOf(",")>-1)return d.split(",");if(h.throwOnLimitExceeded&&v>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return d},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(h,v){var g={__proto__:null},b=v.ignoreQueryPrefix?h.replace(/^\?/,""):h;b=b.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var y=v.parameterLimit===1/0?void 0:v.parameterLimit,w=b.split(v.delimiter,v.throwOnLimitExceeded?y+1:y);if(v.throwOnLimitExceeded&&w.length>y)throw new RangeError("Parameter limit exceeded. Only "+y+" parameter"+(y===1?"":"s")+" allowed.");var _=-1,k,C=v.charset;if(v.charsetSentinel)for(k=0;k<w.length;++k)w[k].indexOf("utf8=")===0&&(w[k]===a?C="utf-8":w[k]===s&&(C="iso-8859-1"),_=k,k=w.length);for(k=0;k<w.length;++k)if(k!==_){var E=w[k],D=E.indexOf("]="),T=D===-1?E.indexOf("="):D+1,x,O;if(T===-1?(x=v.decoder(E,r.decoder,C,"key"),O=v.strictNullHandling?null:""):(x=v.decoder(E.slice(0,T),r.decoder,C,"key"),x!==null&&(O=e.maybeMap(i(E.slice(T+1),v,n(g[x])?g[x].length:0),function(V){return v.decoder(V,r.decoder,C,"value")}))),O&&v.interpretNumericEntities&&C==="iso-8859-1"&&(O=o(String(O))),E.indexOf("[]=")>-1&&(O=n(O)?[O]:O),v.comma&&n(O)&&O.length>v.arrayLimit){if(v.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");O=e.combine([],O,v.arrayLimit,v.plainObjects)}if(x!==null){var A=t.call(g,x);A&&(v.duplicates==="combine"||E.indexOf("[]=")>-1)?g[x]=e.combine(g[x],O,v.arrayLimit,v.plainObjects):(!A||v.duplicates==="last")&&(g[x]=O)}}return g},u=function(d,h,v,g){var b=0;if(d.length>0&&d[d.length-1]==="[]"){var y=d.slice(0,-1).join("");b=Array.isArray(h)&&h[y]?h[y].length:0}for(var w=g?h:i(h,v,b),_=d.length-1;_>=0;--_){var k,C=d[_];if(C==="[]"&&v.parseArrays)e.isOverflow(w)?k=w:k=v.allowEmptyArrays&&(w===""||v.strictNullHandling&&w===null)?[]:e.combine([],w,v.arrayLimit,v.plainObjects);else{k=v.plainObjects?{__proto__:null}:{};var E=C.charAt(0)==="["&&C.charAt(C.length-1)==="]"?C.slice(1,-1):C,D=v.decodeDotInKeys?E.replace(/%2E/g,"."):E,T=parseInt(D,10),x=!isNaN(T)&&C!==D&&String(T)===D&&T>=0&&v.parseArrays;if(!v.parseArrays&&D==="")k={0:w};else if(x&&T<v.arrayLimit)k=[],k[T]=w;else{if(x&&v.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+v.arrayLimit+" element"+(v.arrayLimit===1?"":"s")+" allowed in an array.");x?(k[T]=w,e.markOverflow(k,T)):D!=="__proto__"&&(k[D]=w)}}w=k}return w},c=function(h,v){var g=v.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h;if(v.depth<=0)return!v.plainObjects&&t.call(Object.prototype,g)&&!v.allowPrototypes?void 0:[g];var b=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,w=b.exec(g),_=w?g.slice(0,w.index):g,k=[];if(_){if(!v.plainObjects&&t.call(Object.prototype,_)&&!v.allowPrototypes)return;k[k.length]=_}for(var C=0;(w=y.exec(g))!==null&&C<v.depth;){C+=1;var E=w[1].slice(1,-1);if(!v.plainObjects&&t.call(Object.prototype,E)&&!v.allowPrototypes)return;k[k.length]=w[1]}if(w){if(v.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+v.depth+" and strictDepth is true");k[k.length]="["+g.slice(w.index)+"]"}return k},f=function(h,v,g,b){if(h){var y=c(h,g);if(y)return u(y,v,g,b)}},p=function(h){if(!h)return r;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof h.throwOnLimitExceeded<"u"&&typeof h.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var v=typeof h.charset>"u"?r.charset:h.charset,g=typeof h.duplicates>"u"?r.duplicates:h.duplicates;if(g!=="combine"&&g!=="first"&&g!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var b=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:r.allowDots:!!h.allowDots;return{allowDots:b,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:r.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:r.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:r.arrayLimit,charset
15:v,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:r.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:r.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:r.decoder,delimiter:typeof h.delimiter=="string"||e.isRegExp(h.delimiter)?h.delimiter:r.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:r.depth,duplicates:g,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:r.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:r.plainObjects,strictDepth:typeof h.strictDepth=="boolean"?!!h.strictDepth:r.strictDepth,strictMerge:typeof h.strictMerge=="boolean"?!!h.strictMerge:r.strictMerge,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:typeof h.throwOnLimitExceeded=="boolean"?h.throwOnLimitExceeded:!1}};return __=function(d,h){var v=p(h);if(d===""||d===null||typeof d>"u")return v.plainObjects?{__proto__:null}:{};for(var g=typeof d=="string"?l(d,v):d,b=v.plainObjects?{__proto__:null}:{},y=Object.keys(g),w=0;w<y.length;++w){var _=y[w],k=f(_,g[_],v,typeof d=="string");b=e.merge(b,k,v)}return v.allowSparse===!0?b:e.compact(b)},__}var b_,Kx;function Oce(){if(Kx)return b_;Kx=1;var e=Tce(),t=Ace(),n=Iw();return b_={formats:n,parse:t,stringify:e},b_}var Pce=Oce();const ts=rw(Pce);function sF(e){const{id:t,...n}=e;return n}function Rce(e){return e.map(sF)}function Ice(e,t){let n=!1,r=2;const o=new Set,i=new RegExp(`^${e}-(\\d+)$`);for(const s of t){const a=s?.key;if(typeof a!="string")continue;if(a===e){n=!0;continue}const l=i.exec(a);if(!l)continue;const u=Number(l[1]);if(!(!Number.isInteger(u)||u<2)&&(o.add(u),u===r))for(;o.has(r);)r++}return n?`${e}-${r}`:e}const aF="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function vu(e,t,n){const r=n[0];if(t!=null&&e>=t)throw new Error(e+" >= "+t);if(e.slice(-1)===r||t&&t.slice(-1)===r)throw new Error("trailing zero");if(t){let s=0;for(;(e[s]||r)===t[s];)s++;if(s>0)return t.slice(0,s)+vu(e.slice(s),t.slice(s),n)}const o=e?n.indexOf(e[0]):0,i=t!=null?n.indexOf(t[0]):n.length;if(i-o>1){const s=Math.round(.5*(o+i));return n[s]}else return t&&t.length>1?t.slice(0,1):n[o]+vu(e.slice(1),null,n)}function lF(e){if(e.length!==uF(e[0]))throw new Error("invalid integer part of order key: "+e)}function uF(e){if(e>="a"&&e<="z")return e.charCodeAt(0)-97+2;if(e>="A"&&e<="Z")return 90-e.charCodeAt(0)+2;throw new Error("invalid order key head: "+e)}function wf(e){const t=uF(e[0]);if(t>e.length)throw new Error("invalid order key: "+e);return e.slice(0,t)}function Gx(e,t){if(e==="A"+t[0].repeat(26))throw new Error("invalid order key: "+e);const n=wf(e);if(e.slice(n.length).slice(-1)===t[0])throw new Error("invalid order key: "+e)}function Yx(e,t){lF(e);const[n,...r]=e.split("");let o=!0;for(let i=r.length-1;o&&i>=0;i--){const s=t.indexOf(r[i])+1;s===t.length?r[i]=t[0]:(r[i]=t[s],o=!1)}if(o){if(n==="Z")return"a"+t[0];if(n==="z")return null;const i=String.fromCharCode(n.charCodeAt(0)+1);return i>"a"?r.push(t[0]):r.pop(),i+r.join("")}else return n+r.join("")}function $ce(e,t){lF(e);const[n,...r]=e.split("");let o=!0;for(let i=r.length-1;o&&i>=0;i--){const s=t.indexOf(r[i])-1;s===-1?r[i]=t.slice(-1):(r[i]=t[s],o=!1)}if(o){if(n==="a")return"Z"+t.slice(-1);if(n==="A")return null;const i=String.fromCharCode(n.charCodeAt(0)-1);return i<"Z"?r.push(t.slice(-1)):r.pop(),i+r.join("")}else return n+r.join("")}function nu(e,t,n=aF){if(e!=null&&Gx(e,n),t!=null&&Gx(t,n),e!=null&&t!=null&&e>=t)throw new Error(e+" >= "+t);if(e==null){if(t==null)return"a"+n[0];const l=wf(t),u=t.slice(l.length);if(l==="A"+n[0].repeat(26))return l+vu("",u,n);if(l<t)return l;const c=$ce(l,n);if(c==null)throw new Error("cannot decrement any more");return c}if(t==null){const l=wf(e),u=e.slice(l.length),c=Yx(l,n);return c??l+vu(u,null,n)}const r=wf(e),o=e.slice(r.length),i=wf(t),s=t.slice(i.length);if(r===i)return r+vu(o,s,n);const a=Yx(r,n);if(a==null)throw new Error("cannot increment any more");return a<t?a:r+vu(o,null,n)}function Dm(e,t,n,r=aF){if(n===0)return[];if(n===1)return[nu(e,t,r)];if(t==null){let s=nu(e,t,r);const a=[s];for(let l=0;l<n-1;l++)s=nu(s,t,r),a.push(s);return a}if(e==null){let s=nu(e,t,r);const a=[s];for(let l=0;l<n-1;l++)s=nu(e,s,r),a.push(s);return a.reverse(),a}const o=Math.floor(n/2),i=nu(e,t,r);return[...Dm(e,i,o,r),i,...Dm(i,t,n-o-1,r)]}const Ts="__temp_key__";function Jde(e,t){return Dm(e??null,t??null,1)[0]}function $w(e){return e<=0?[]:Dm(null,null,e)}function epe(e){let t=null,n=!0;for(const o of e){const i=js(o)?o[Ts]:void 0;
15if(typeof i!="string"||t!==null&&i<=t){n=!1;break}t=i}if(n)return e;const r=$w(e.length);return e.forEach((o,i)=>{js(o)&&(o[Ts]=r[i])}),e}function cF(e,t){if(!t)return{};const n=e[t];return n?n.attributes??n.schema?.attributes??{}:{}}function js(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Mw(e,t,n){if(!js(e))return e;const r={...e};for(const[o,i]of Object.entries(t)){const s=i,a=r[o];if(a!=null){if(s.type==="component"){const l=cF(n,s.component);if(s.repeatable){if(!Array.isArray(a))continue;r[o]=Mce(a,l,n)}else js(a)&&(r[o]=Mw(a,l,n))}else if(s.type==="dynamiczone"){if(!Array.isArray(a))continue;r[o]=Fce(a,n)}}}return r}function Mce(e,t,n){const r=e.reduce((s,a)=>s+(js(a)&&typeof a[Ts]=="string"?0:1),0),o=r>0?$w(r):[];let i=0;return e.map(s=>{if(!js(s))return s;const a=Mw(s,t,n);return typeof a[Ts]=="string"?a:{...a,[Ts]:o[i++]}})}function Fce(e,t){const n=e.reduce((i,s)=>i+(js(s)&&typeof s[Ts]=="string"?0:1),0),r=n>0?$w(n):[];let o=0;return e.map(i=>{if(!js(i))return i;const s=typeof i.__component=="string"?i.__component:void 0,a=cF(t,s),l=Mw(i,a,t);return typeof l[Ts]=="string"?l:{...l,[Ts]:r[o++]}})}function xm(e){if(Array.isArray(e))return e.map(t=>xm(t));if(js(e)){const t={};for(const[n,r]of Object.entries(e))n!==Ts&&(t[n]=xm(r));return t}return typeof e=="string"?e.trim():e}const Lce=new Set(["oneToMany","manyToMany","morphMany","morphToMany"]);function fF(e,t){if(!e)return null;if(Object.prototype.hasOwnProperty.call(e,"default"))return e.default;switch(e.type){case"component":return e.repeatable?[]:e.component?Nce(e.component,t):null;case"dynamiczone":return[];case"relation":return e.relation&&Lce.has(e.relation)?[]:null;default:return null}}function Nce(e,t){const n=t[e];if(!n?.attributes)return null;const r={};for(const[o,i]of Object.entries(n.attributes))r[o]=fF(i,t);return r}function Bce(e,t,n){for(const[r,o]of Object.entries(t))e[r]==null&&(e[r]=fF(o,n));return e}function A0(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function O0(e,t,n){Bce(e,t,n);for(const[r,o]of Object.entries(t)){const i=e[r];if(o.type==="component"&&o.component){const s=n[o.component]?.attributes??{};if(o.repeatable){const a=Array.isArray(i)?i:[];i==null&&(e[r]=a);for(const l of a)A0(l)&&O0(l,s,n)}else A0(i)&&O0(i,s,n)}else o.type==="dynamiczone"&&Array.isArray(i)&&P0(i,n)}return e}function P0(e,t){if(!Array.isArray(e))return[];for(const n of e){if(!A0(n))continue;const r=typeof n.__component=="string"?n.__component:void 0;if(!r)continue;const o=t[r]?.attributes??{};O0(n,o,t)}return e}function wi(){const e=l1();function t(){return{}}async function n(r,o={}){try{return await $fetch(`/api/admin/strapi/${r}`,{method:o.method||"GET",body:o.body,query:o.query,headers:{...t(),...o.headers??{}}})}catch(i){if(i.statusCode===401){const a=window.location.pathname+window.location.search;e.redirectToSsoLogin(a)}throw i}}return{request:n}}const R0="api::webform.webform",Qs=`content-manager/collection-types/${R0}`,Xx="api/webforms";function w_(e){const t={...e};for(const n of Object.keys(t))(t[n]===""||t[n]===null||t[n]===void 0)&&delete t[n];return t}const jce={"webform.button":{populate:["settings"]},"webform.input":{populate:["validations","settings"]},"webform.hidden-input":{populate:["validations","settings"]},"webform.currency":{populate:["validations","settings"]},"webform.checkbox":{populate:["validations","settings"]},"webform.select":{populate:["validations","settings","options"]},"webform.multi-select":{populate:["validations","settings","options"]},"webform.multi-checkbox":{populate:["validations","settings","options"]},"webform.radio-group":{populate:["validations","settings","options"]},"webform.switch":{populate:["validations","settings"]},"webform.textarea":{populate:["validations","settings"]},"webform.password":{populate:["validations","settings"]},"webform.date-picker":{populate:["validations","settings"]},"webform.time-picker":{populate:["validations","settings"]},"webform.date-time-picker":{populate:["validations","settings"]},"webform.form-slider":{populate:["validations","settings"]},"webform.file":{populate:["validations","settings"]},"page.multi-layout-content":{populate:["settings","buttons"]}};function Qx(e){return{[e]:{on:jce},[`${e}Settings`]:{populate:"*"}}}function qce(){return(zo().public.webformApiUrl||"https://wwwapi-staging.vectorworks.net").replace(/\/$/,"")}function Zx(e){return`${qce()}/${e}`}const Vce=aO("webform",{state:()=>({forms:[],form:{},queryParams:{},configuration:{},contentTypes:{}}),actions:{async list(e={}){const{request:t}=wi();this.queryParams=w_({...this.queryParams,...e});const r={...{page:1,pageSize:10},...this.queryParams},o=ts.stringify(r,{encode:!0});this.forms=await t(`${Qs}?${o}`)},async listAll(e={}){const{request:t}=wi(),n=w_(e),r=100;let o=1,i=1;const s=[];do{const a=ts.stringify({...n,page:o,pageSize:r},{encode:!0}),l=await t(`${Qs}?${a}`),{results:u,pagination:c}=l;s.push(...u),i=c?.pageCount||1,o++}while(o<=i);return s},async get(e,t){const{request:n}=wi(),r=ts.stringify({locale:t},{encode:!0});this.form[e]=await n(`${Qs}/${encodeURIComponent(e)}?${r}`)},async getViaPublicApi(e,t,n="published"){const r={populate:Qx(n)};t&&(r.locale=t);const o=ts.stringify(r,{encodeValuesOnly:!0}),i=`${Xx}/${encodeURIComponent(e)}?${o}`,s=Zx(i);this.form[e]=await $fetch(s)},async getViaPublicApiByKey(e,t,n="published"){const r={filters:{key:{$eq:e}},populate:Qx(n),pagination:{pageSize:1}};t&&(r.locale=t);const o=ts.stringify(r,{encodeValuesOnly:!0}),i=`${Xx}?${o}`,s=Zx(i),a=await $fetch(s),l=a?.data?.[0]??a?.results?.[0]??null;return l?.documentId?(this.form[l.documentId]={data:l},l.documentId):null},async create(e){const{request:t}=wi(),{locale:n}=e,r=ts.stringify({locale:n},{encode:!0}),o=await t(`${Qs}?${r}`,{method:"POST",body:e});return await this.list(this.queryParams),o},async update({id:e,data:t,existingData:n}){const{request:r}=wi(),o=this.configuration?.components??{};Object.prototype.hasOwnProperty.call(t,"draft")&&Array.isArray(t.draft)&&P0(t.draft,o),t.publishedSettings&&delete t.publishedSettings;const i=xm(t),{locale:s}=i,a=ts.stringify({locale:s},{encode:!0});return await r(`${Qs}/${encodeURIComponent(e)}?${a}`,{method:"PUT",body:i})},async updatePublishData({id:e,data:t}){const{request:n}=wi(),r=this.configuration?.components??{};Object.prototype.hasOwnProperty.call(t,"published")&&Array.isArray(t.published)&&(P
150(t.published,r),t.published=Rce(t.published)),Object.prototype.hasOwnProperty.call(t,"draftSettings")&&(t.publishedSettings=sF(t.draftSettings||{}),delete t.draftSettings);const o=xm(t),{locale:i}=o,s=ts.stringify({locale:i},{encode:!0});return await n(`${Qs}/${encodeURIComponent(e)}?${s}`,{method:"PUT",body:o})},async delete(e,t={}){const{request:n}=wi(),r=w_(t),o=ts.stringify(r,{encode:!0});await n(`${Qs}/${encodeURIComponent(e)}?${o}`,{method:"DELETE"}),await this.list(this.queryParams)},async duplicate(e,t){const{request:n}=wi(),r=t.key+"-copy",o=await this.listAll({fields:"key","filters[key][$startsWith]":r}),s={key:Ice(r,o),published:[],publishedSettings:null,state:"Draft"},a=await n(`${Qs}/clone/${encodeURIComponent(e)}`,{method:"POST",body:s});return await this.list(this.queryParams),this.form=a,a},async getContentTypes(){const{request:e}=wi(),t=await e(`content-type-builder/content-types/${R0}`);this.contentTypes=t?.data??t},async getConfiguration(){const{request:e}=wi(),t=await e(`content-manager/content-types/${R0}/configuration`),n=t.data?.contentType||{},r=t.data?.components||{};this.configuration={...n,components:r}},resetQueryParams(){this.queryParams={}}},getters:{getList:e=>e.forms,getForm:e=>e.form,getFormById:e=>t=>e.form[t]||null,getconfiguration:e=>e.configuration,getcontenttypes:e=>e.contentTypes}}),Uce={key:0},Hce=ge({__name:"FormWrapper",props:{block:{type:Object,required:!0},mode:{type:String,default:"published"},embedded:{type:Boolean,default:!1},viaPublicApi:{type:Boolean,default:!1}},emits:["update:block"],setup(e,{emit:t}){const n={Input:iY,Button:F9,Checkbox:cX,DatePicker:yX,FormWrapper:dF,Select:DX,MultiCheckbox:RX,RadioGroup:NX,Switch:UX,Textarea:YX,Password:eQ,TimePicker:sQ,DateTimePicker:gQ,MultiSelect:SQ,FormSlider:AQ,HiddenInput:RQ,File:jQ,Currency:KQ},r=e,o=Vce(),i=Qm(),s=N(()=>{const v=i.params.locale;return Array.isArray(v)?v[0]:v}),a=ne([]),l=ne(!1),u=ne(null),c=N(()=>{const v=r.block?.webform?.key;return typeof v=="string"&&v?v:null}),f=N(()=>{const v=r.block?.webform;return v?v.documentId?v.documentId:v.connect?.[0]?.documentId?v.connect[0].documentId:null:null}),p=N(()=>f.value??u.value);Qn("formDocumentId",p);const d=N(()=>{const v=o.getFormById(p.value);return Array.isArray(v)?v:v?.data??v??{}});async function h(){l.value=!0;try{if(r.viaPublicApi&&c.value&&!f.value){u.value=await o.getViaPublicApiByKey(c.value,s.value,r.mode);return}if(!p.value)return;r.viaPublicApi?await o.getViaPublicApi(p.value,s.value,r.mode):await o.get(p.value,s.value)}finally{l.value=!1}}return Ie([()=>f.value,()=>s.value,()=>c.value,()=>r.mode],()=>{h()},{immediate:!0}),Ie(()=>d.value,v=>{const g=v[r.mode];if(!g||!Array.isArray(g)){a.value=[];return}a.value=g},{immediate:!0,deep:!0}),(v,g)=>{const b=Xue;return R(),ce("div",{class:Qe(v.$style.formHost)},[S(l)&&!S(a).length?(R(),ce("div",{key:0,class:Qe([v.$style.formLoader,{[v.$style.formLoaderEmbedded]:r.embedded}])},[m("span",{class:Qe(v.$style.loadTxt)},[m("img",{src:"https://www.vectorworks.net/cs/assets/images/loading-ring.gif",alt:"",class:Qe(v.$style.loadImg)},null,2)],2)],2)):we("",!0),W(b,{formFields:S(a),formSettings:S(d),state:r.mode,embedded:r.embedded},{default:J(({resolveField:y,updateField:w})=>[(R(!0),ce(Je,null,mn(S(a),(_,k)=>(R(),ce("div",{key:S(Que)(_,k),class:Qe(["form-field",{"form-field--layout":S(Ay)(_)}])},[S(Ay)(_)&&S(nx)(_)?(R(),ie(er(S(nx)(_)),{key:0,block:_,mode:r.mode,embedded:r.embedded,"via-public-api":r.viaPublicApi},null,8,["block","mode","embedded","via-public-api"])):S(Ay)(_)?we("",!0):(R(),ce(Je,{key:1},[({fieldItem:v.fieldItem,isVisible:v.isVisible}=y(_,k))?(R(),ce(Je,{key:0},[v.fieldItem&&v.isVisible!==!1?(R(),ce("div",Uce,[(R(),ie(er(n[v.fieldItem.field.settings.componentName]),{block:v.fieldItem.field,"onUpdate:block":C=>w(_.settings?.key,C)},null,40,["block","onUpdate:block"]))])):we("",!0)],64)):we("",!0)],64))],2))),128))]),_:1},8,["formFields","formSettings","state","embedded"])],2)}}}),Wce="_formHost_1iybg_2",zce="_formLoader_1iybg_12",Kce="_formLoaderEmbedded_1iybg_26",Gce="_loadTxt_1iybg_32",Yce="_loadImg_1iybg_38",Xce={formHost:Wce,formLoader:zce,formLoaderEmbedded:Kce,loadTxt:Gce,loadImg:Yce},Qce={$style:Xce},dF=Object.assign(bt(Hce,[["__cssModules",Qce]]),{__name:"FormsFormWrapper"}),Zce=ge({__name:"WebformModalHost",setup(e){const{isOpen:t,activeBlock:n,openByWebformKey:r,close:o}=qM(),i=Ese(),s=no();return Ie(()=>s.query.showModal,a=>
15{s.path.startsWith("/admin/")||!a||typeof a!="string"||r(a)},{immediate:!0}),(a,l)=>{const u=dF,c=BM;return R(),ie(jl,{to:"body"},[W(Ud,{name:"modal"},{default:J(()=>[S(t)?(R(),ce("div",{key:0,class:Qe(["components-scope vw-modal",a.$style.modalTeleportRoot])},[W(c,{onCloseModal:S(o),modalOpen:S(t)},{default:J(()=>[S(n)?(R(),ce("div",{key:0,class:Qe(a.$style.webformModalBody)},[W(u,{block:S(n),mode:S(i).mode,embedded:"","via-public-api":S(i).viaPublicApi},null,8,["block","mode","via-public-api"])],2)):we("",!0)]),_:1},8,["onCloseModal","modalOpen"])],2)):we("",!0)]),_:1})])}}}),Jce="_modalTeleportRoot_bc86z_2",efe="_webformModalBody_bc86z_8",tfe={modalTeleportRoot:Jce,webformModalBody:efe},nfe={$style:tfe},rfe=Object.assign(bt(Zce,[["__cssModules",nfe]]),{__name:"FormsWebformModalHost"});let I0=1;var ofe=class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{const{message:t,...n}=e,r=typeof e.id=="number"||e.id&&e.id?.length>0?e.id:I0++,o=this.toasts.find(s=>s.id===r),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),o?this.toasts=this.toasts.map(s=>s.id===r?(this.publish({...s,...e,id:r,title:t}),{...s,...e,id:r,dismissible:i,title:t}):s):this.addToast({title:t,...n,dismissible:i,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:"default"});error=(e,t)=>this.create({...t,type:"error",message:e});success=(e,t)=>this.create({...t,type:"success",message:e});info=(e,t)=>this.create({...t,type:"info",message:e});warning=(e,t)=>this.create({...t,type:"warning",message:e});loading=(e,t)=>
15this.create({...t,type:"loading",message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));const r=Promise.resolve(e instanceof Function?e():e);let o=n!==void 0,i;const s=r.then(async l=>{if(i=["resolve",l],Fo(l))o=!1,this.create({id:n,type:"default",message:l});else if(sfe(l)&&!l.ok){o=!1;const c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description,d=typeof c=="object"&&!Fo(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...d})}else if(l instanceof Error){o=!1;const c=typeof t.error=="function"?await t.error(l):t.error,f=typeof t.description=="function"?await t.description(l):t.description,d=typeof c=="object"&&!Fo(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"error",description:f,...d})}else if(t.success!==void 0){o=!1;const c=typeof t.success=="function"?await t.success(l):t.success,f=typeof t.description=="function"?await t.description(l):t.description,d=typeof c=="object"&&!Fo(c)?c:{message:c||"",id:n||""};this.create({id:n,type:"success",description:f,...d})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;const u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description,p=typeof u=="object"&&!Fo(u)?u:{message:u||"",id:n||""};this.create({id:n,type:"error",description:c,...p})}}).finally(()=>{o&&(this.dismiss(n),n=void 0),t.finally?.()}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})};custom=(e,t)=>{const n=t?.id||I0++,r=this.toasts.find(i=>i.id===n),o=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(i=>i.id===n?(this.publish({...i,component:e,dismissible:o,id:n,...t}),{...i,component:e,dismissible:o,id:n,...t}):i):this.addToast({component:e,dismissible:o,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};const Ur=new ofe;function ife(e,t){const n=t?.id||I0++;return Ur.create({message:e,id:n,type:"default",...t}),n}const sfe=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",afe=ife,lfe=()=>Ur.toasts,ufe=()=>Ur.getActiveToasts(),tpe=Object.assign(afe,{success:Ur.success,info:Ur.info,warning:Ur.warning,error:Ur.error,custom:Ur.custom,message:Ur.message,promise:Ur.promise,dismiss:Ur.dismiss,loading:Ur.loading},{getHistory:lfe,getToasts:ufe});function Jp(e){return e.label!==void 0}const cfe=3,pF="24px",hF="16px",Jx=4e3,ffe=356,dfe=14,pfe=45,mF=200;function hfe(){const e=ne(!1);return Pt(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}function Zs(...e){return e.filter(Boolean).join(" ")}function mfe(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}function vfe(e,t){const n={};return[e,t].forEach((r,o)=>{const i=o===1,s=i?"--mobile-offset":"--offset",a=i?hF:pF;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}const gfe=["data-rich-colors","data-styled","data-mounted","data-promise","data-swiped","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-swipe-direction","data-expanded","data-testid"],yfe=["aria-label","data-disabled","data-close-button-position"];var _fe=ge({__name:"Toast",props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:["update:heights","update:height","removeToast"],setup(e,{emit:t}){const n=e,r=t,o=ne(null),i=ne(null),s=ne(!1),a=ne(!1),l=ne(!1),u=ne(!1),c=ne(!1),f=ne(0),p=ne(0),d=ne(n.toast.duration||n.duration||Jx),h=ne(null),v=ne(null),g=N(()=>n.index===0),b=N(()=>n.index+1<=n.visibleToasts),y=N(()=>n.toast.type),w=N(()=>n.toast.dismissible!==!1),_=N(()=>n.toast.class||""),k=N(()=>n.descriptionClass||""),C=N(()=>{const F=n.toast.position||n.position,se=n.heights.filter(he=>he.position===F).findIndex(he=>he.toastId===n.toast.id);return se>=0?se:0}),E=N(()=>{const F=n.toast.position||n.position;return n.heights.filter(se=>se.position===F).reduce((se,he,Ee)=>Ee>=C.value?se:se+he.height,0)}),D=N(()=>C.value*n.gap+E.value||0),T=N(()=>n.toast.closeButton??n.closeButton),x=N(()=>n.toast.duration||n.duration||Jx),O=ne(0),A=ne(0),V=ne(null),re=N(()=>n.position.split("-")),pe=N(()=>re.value[0]),G=N(()=>re.value[1]),K=N(()=>typeof n.toast.title!="string"),z=N(()=>typeof n.toast.description!="string"),{isDocumentHidden:be}=hfe(),X=N(()=>y.value&&y.value==="loading");_t(()=>{s.value=!0,d.value=x.value}),Pt(async()=>
15{if(!s.value||!v.value)return;await it();const F=v.value,le=F.style.height;F.style.height="auto";const se=F.getBoundingClientRect().height;F.style.height=le,p.value=se,r("update:height",{toastId:n.toast.id,height:se,position:n.toast.position||n.position})});function Fe(){a.value=!0,f.value=D.value,setTimeout(()=>{r("removeToast",n.toast)},mF)}function Ve(){if(X.value||!w.value)return{};Fe(),n.toast.onDismiss?.(n.toast)}function tt(F){F.button!==2&&(X.value||!w.value||(h.value=new Date,f.value=D.value,F.target.setPointerCapture(F.pointerId),F.target.tagName!=="BUTTON"&&(l.value=!0,V.value={x:F.clientX,y:F.clientY})))}function Be(){if(u.value||!w.value)return;V.value=null;const F=Number(v.value?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),le=Number(v.value?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),se=new Date().getTime()-(h.value?.getTime()||0),he=o.value==="x"?F:le,Ee=Math.abs(he)/se;if(Math.abs(he)>=pfe||Ee>.11){f.value=D.value,n.toast.onDismiss?.(n.toast),o.value==="x"?i.value=F>0?"right":"left":i.value=le>0?"down":"up",Fe(),u.value=!0;return}else v.value?.style.setProperty("--swipe-amount-x","0px"),v.value?.style.setProperty("--swipe-amount-y","0px");c.value=!1,l.value=!1,o.value=null}function ut(F){if(!V.value||!w.value||(window?.getSelection()?.toString()?.length??!1))return;const se=F.clientY-V.value.y,he=F.clientX-V.value.x,Ee=n.swipeDirections??mfe(n.position);!o.value&&(Math.abs(he)>1||Math.abs(se)>1)&&(o.value=Math.abs(he)>Math.abs(se)?"x":"y");let Oe={x:0,y:0};const M=B=>1/(1.5+Math.abs(B)/20);if(o.value==="y"){if(Ee.includes("top")||Ee.includes("bottom"))if(Ee.includes("top")&&se<0||Ee.includes("bottom")&&se>0)Oe.y=se;else{const B=se*M(se);Oe.y=Math.abs(B)<Math.abs(se)?B:se}}else if(o.value==="x"&&(Ee.includes("left")||Ee.includes("right")))if(Ee.includes("left")&&he<0||Ee.includes("right")&&he>0)Oe.x=he;else{const B=he*M(he);Oe.x=Math.abs(B)<Math.abs(he)?B:he}(Math.abs(Oe.x)>0||Math.abs(Oe.y)>0)&&(c.value=!0),v.value?.style.setProperty("--swipe-amount-x",`${Oe.x}px`),v.value?.style.setProperty("--swipe-amount-y",`${Oe.y}px`)}_t(()=>{if(s.value=!0,!v.value)return;const F=v.value.getBoundingClientRect().height;p.value=F;const le=[{toastId:n.toast.id,height:F,position:n.toast.position},...n.heights];r("update:heights",le)}),$a(()=>{v.value&&r("removeToast",n.toast)}),Pt(F=>{if(n.toast.promise&&y.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let le;const se=()=>{if(A.value<O.value){const Ee=new Date().getTime()-O.value;d.value=d.value-Ee}A.value=new Date().getTime()},he=()=>{d.value!==1/0&&(O.value=new Date().getTime(),le=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),Fe()},d.value))};n.expanded||n.interacting||be.value?se():he(),F(()=>{clearTimeout(le)})}),Ie(()=>n.toast.delete,F=>{F!==void 0&&F&&(Fe(),n.toast.onDismiss?.(n.toast))},{deep:!0});function ke(){l.value=!1,o.value=null,V.value=null}return(F,le)=>(R(),ce("li",{tabindex:"0",ref_key:"toastRef",ref:v,class:Qe(S(Zs)(n.class,_.value,F.classes?.toast,F.toast.classes?.toast,F.classes?.[y.value],F.toast?.classes?.[y.value])),"data-sonner-toast":"","data-rich-colors":F.toast.richColors??F.defaultRichColors,"data-styled":!(F.toast.component||F.toast?.unstyled||F.unstyled),"data-mounted":s.value,"data-promise":!!F.toast.promise,"data-swiped":c.value,"data-removed":a.value,"data-visible":b.value,"data-y-position":pe.value,"data-x-position":G.value,"data-index":F.index,"data-front":g.value,"data-swiping":l.value,"data-dismissible":w.value,"data-type":y.value,"data-invert":F.toast.invert||F.invert,"data-swipe-out":u.value,"data-swipe-direction":i.value,"data-expanded":!!(F.expanded||F.expandByDefault&&s.value),"data-testid":F.toast.testId,style:Xn({"--index":F.index,"--toasts-before":F.index,"--z-index":F.toasts.length-F.index,"--offset":`${a.value?f.value:D.value}px`,"--initial-height":F.expandByDefault?"auto":`${p.value}px`,...F.style,...n.toast.style}),onDragend:ke,onPointerdown:tt,onPointerup:Be,onPointermove:ut},[T.value&&!F.toast.component&&y.value!=="loading"?(R(),ce("button",{key:0,"aria-label":F.closeButtonAriaLabel||"Close toast","data-disabled":X.value,"data-close-button":"true","data-close-button-position":F.closeButtonPosition,class:Qe(S(Zs)(F.classes?.closeButton,F.toast?.classes?.closeButton)),onClick:Ve},[F.icons?.close?(R(),ie(er(F.icons?.close),{key:0})):$e(F.$slots,"close-icon",{key:1})],10,yfe)):we("v-if",!0),F.toast.component?(R(),ie(er(F.toast.component),at({key:1},F.toast.componentProps,{onCloseToast:Ve,isPaused:F.$props.expanded||F.$props.interacting||S(be)}
15),null,16,["isPaused"])):(R(),ce(Je,{key:2},[y.value!=="default"||F.toast.icon||F.toast.promise?(R(),ce("div",{key:0,"data-icon":"",class:Qe(S(Zs)(F.classes?.icon,F.toast?.classes?.icon))},[F.toast.icon?(R(),ie(er(F.toast.icon),{key:0})):(R(),ce(Je,{key:1},[y.value==="loading"?$e(F.$slots,"loading-icon",{key:0}):y.value==="success"?$e(F.$slots,"success-icon",{key:1}):y.value==="error"?$e(F.$slots,"error-icon",{key:2}):y.value==="warning"?$e(F.$slots,"warning-icon",{key:3}):y.value==="info"?$e(F.$slots,"info-icon",{key:4}):we("v-if",!0)],64))],2)):we("v-if",!0),m("div",{"data-content":"",class:Qe(S(Zs)(F.classes?.content,F.toast?.classes?.content))},[m("div",{"data-title":"",class:Qe(S(Zs)(F.classes?.title,F.toast.classes?.title))},[K.value?(R(),ie(er(F.toast.title),ui(at({key:0},F.toast.componentProps)),null,16)):(R(),ce(Je,{key:1},[qe(L(F.toast.title),1)],64))],2),F.toast.description?(R(),ce("div",{key:0,"data-description":"",class:Qe(S(Zs)(F.descriptionClass,k.value,F.classes?.description,F.toast.classes?.description))},[z.value?(R(),ie(er(F.toast.description),ui(at({key:0},F.toast.componentProps)),null,16)):(R(),ce(Je,{key:1},[qe(L(F.toast.description),1)],64))],2)):we("v-if",!0)],2),F.toast.cancel?(R(),ce("button",{key:1,style:Xn(F.toast.cancelButtonStyle||F.cancelButtonStyle),class:Qe(S(Zs)(F.classes?.cancelButton,F.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:le[0]||(le[0]=se=>{S(Jp)(F.toast.cancel)&&w.value&&(F.toast.cancel.onClick?.(se),Fe())})},L(S(Jp)(F.toast.cancel)?F.toast.cancel?.label:F.toast.cancel),7)):we("v-if",!0),F.toast.action?(R(),ce("button",{key:2,style:Xn(F.toast.actionButtonStyle||F.actionButtonStyle),class:Qe(S(Zs)(F.classes?.actionButton,F.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:le[1]||(le[1]=se=>{S(Jp)(F.toast.action)&&(F.toast.action.onClick?.(se),!se.defaultPrevented&&Fe())})},L(S(Jp)(F.toast.action)?F.toast.action?.label:F.toast.action),7)):we("v-if",!0)],64))],46,gfe))}}),bfe=_fe,Jd=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const wfe={},kfe={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function Efe(e,t){return R(),ce("svg",kfe,t[0]||(t[0]=[m("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),m("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}var Sfe=Jd(wfe,[["render",Efe]]);const Cfe=["data-visible"],Dfe={class:"sonner-spinner"};var xfe=ge({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,r)=>(R(),ce("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[m("div",Dfe,[(R(!0),ce(Je,null,mn(S(t),o=>(R(),ce("div",{key:`spinner-bar-${o}`,class:"sonner-loading-bar"}))),128))])],8,Cfe))}}),Tfe=xfe;const Afe={},Ofe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Pfe(e,t){return R(),ce("svg",Ofe,t[0]||(t[0]=[m("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}var Rfe=Jd(Afe,[["render",Pfe]]);const Ife={},$fe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Mfe(e,t){return R(),ce("svg",$fe,t[0]||(t[0]=[m("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}var Ffe=Jd(Ife,[["render",Mfe]]);const Lfe={},Nfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function Bfe(e,t){return R(),ce("svg",Nfe,t[0]||(t[0]=[m("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}var jfe=Jd(Lfe,[["render",Bfe]]);const qfe={},Vfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function Ufe(e,t){return R(),ce("svg",Vfe,t[0]||(t[0]=[m("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}var Hfe=Jd(qfe,[["render",Ufe]]);const Wfe=["aria-label"],zfe=["data-sonner-theme","dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Kfe=typeof window<"u"&&typeof document<"u";function Gfe(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var Yfe=ge({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{id:{},invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},closeButtonPosition:{default:"top-left"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:dfe},visibleToasts:{default:cfe},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{},offset:{default:pF},mobileOffset:{default:hF},dir:{default:"auto"},swipeDirections:{},icons:{},containerAriaLabel:{default:"Notifications"}}
15,setup(e){const t=e,n=QT(),r=ne([]),o=N(()=>t.id?r.value.filter(x=>x.toasterId===t.id):r.value.filter(x=>!x.toasterId));function i(x,O){return o.value.filter(A=>!A.position&&O===0||A.position===x)}const s=N(()=>{const x=o.value.filter(O=>O.position).map(O=>O.position);return x.length>0?Array.from(new Set([t.position].concat(x))):[t.position]}),a=N(()=>{const x={};return s.value.forEach(O=>{x[O]=r.value.filter(A=>A.position===O)}),x}),l=ne([]),u=ne({}),c=ne(!1);Pt(()=>{s.value.forEach(x=>{x in u.value||(u.value[x]=!1)})});const f=ne(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),p=ne(null),d=ne(null),h=ne(!1),v=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function g(x){r.value.find(O=>O.id===x.id)?.delete||Ur.dismiss(x.id),r.value=r.value.filter(({id:O})=>O!==x.id),setTimeout(()=>{r.value.find(O=>O.id===x.id)||(l.value=l.value.filter(O=>O.toastId!==x.id))},mF+50)}function b(x){h.value&&!x.currentTarget?.contains?.(x.relatedTarget)&&(h.value=!1,d.value&&(d.value.focus({preventScroll:!0}),d.value=null))}function y(x){x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||h.value||(h.value=!0,d.value=x.relatedTarget)}function w(x){x.target&&x.target instanceof HTMLElement&&x.target.dataset.dismissible==="false"||(c.value=!0)}Pt(x=>{const O=Ur.subscribe(A=>{if(A.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(V=>V.id===A.id?{...V,delete:!0}:V)});return}it(()=>{const V=r.value.findIndex(re=>re.id===A.id);V!==-1?r.value=[...r.value.slice(0,V),{...r.value[V],...A},...r.value.slice(V+1)]:r.value=[A,...r.value]})});x(O)}),Pt(x=>{if(typeof window>"u")return;if(t.theme!=="system"){f.value=t.theme;return}const O=window.matchMedia("(prefers-color-scheme: dark)"),A=re=>{f.value=re?"dark":"light"};A(O.matches);const V=re=>{A(re.matches)};try{O.addEventListener("change",V)}catch{O.addListener(V)}x(()=>{try{O.removeEventListener("change",V)}catch{O.removeListener(V)}})}),Pt(()=>{p.value&&d.value&&(d.value.focus({preventScroll:!0}),d.value=null,h.value=!1)}),Pt(()=>{r.value.length<=1&&Object.keys(u.value).forEach(x=>{u.value[x]=!1})}),Pt(x=>{function O(A){const V=t.hotkey.every(G=>A[G]||A.code===G),re=Array.isArray(p.value)?p.value[0]:p.value;V&&(s.value.forEach(G=>{u.value[G]=!0}
15),re?.focus());const pe=document.activeElement===p.value||re?.contains(document.activeElement);A.code==="Escape"&&pe&&s.value.forEach(G=>{u.value[G]=!1})}Kfe&&(document.addEventListener("keydown",O),x(()=>{document.removeEventListener("keydown",O)}))});function _(x){const O=x.currentTarget,A=O.getAttribute("data-y-position")+"-"+O.getAttribute("data-x-position");u.value[A]=!0}function k(x){if(!c.value){const O=x.currentTarget,A=O.getAttribute("data-y-position")+"-"+O.getAttribute("data-x-position");u.value[A]=!1}}function C(){Object.keys(u.value).forEach(x=>{u.value[x]=!1})}function E(){c.value=!1}function D(x){l.value=x}function T(x){const O=l.value.findIndex(A=>A.toastId===x.toastId);if(O!==-1)l.value[O]=x;else{const A=l.value.findIndex(V=>V.position===x.position);A!==-1?l.value.splice(A,0,x):l.value.unshift(x)}}return(x,O)=>(R(),ce(Je,null,[we(" Remove item from normal navigation flow, only available via hotkey "),m("section",{"aria-label":`${x.containerAriaLabel} ${S(v)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(R(!0),ce(Je,null,mn(s.value,(A,V)=>(R(),ce("ol",at({key:A,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"","data-sonner-theme":f.value,class:t.class,dir:x.dir==="auto"?Gfe():x.dir,tabIndex:-1,"data-theme":x.theme,"data-rich-colors":x.richColors,"data-y-position":A.split("-")[0],"data-x-position":A.split("-")[1],style:{"--front-toast-height":`${l.value[0]?.height||0}px`,"--width":`${S(ffe)}px`,"--gap":`${x.gap}px`,...x.style,...S(n).style,...S(vfe)(x.offset,x.mobileOffset)}},{ref_for:!0},x.$attrs,{onBlur:b,onFocus:y,onMouseenter:_,onMousemove:_,onMouseleave:k,onDragend:C,onPointerdown:w,onPointerup:E}),[(R(!0),ce(Je,null,mn(i(A,V),(re,pe)=>(R(),ie(bfe,{key:re.id,heights:l.value,icons:x.icons,index:pe,toast:re,defaultRichColors:x.richColors,duration:x.toastOptions?.duration??x.duration,class:Qe(x.toastOptions?.class??""),descriptionClass:x.toastOptions?.descriptionClass,invert:x.invert,visibleToasts:x.visibleToasts,closeButton:x.toastOptions?.closeButton??x.closeButton,interacting:c.value,position:A,closeButtonPosition:x.toastOptions?.closeButtonPosition??x.closeButtonPosition,style:Xn(x.toastOptions?.style),unstyled:x.toastOptions?.unstyled,classes:x.toastOptions?.classes,cancelButtonStyle:x.toastOptions?.cancelButtonStyle,actionButtonStyle:x.toastOptions?.actionButtonStyle,"close-button-aria-label":x.toastOptions?.closeButtonAriaLabel,toasts:a.value[A],expandByDefault:x.expand,gap:x.gap,expanded:u.value[A]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":D,"onUpdate:height":T,onRemoveToast:g},{"close-icon":J(()=>[$e(x.$slots,"close-icon",{},()=>[W(Sfe)])]),"loading-icon":J(()=>[$e(x.$slots,"loading-icon",{},()=>[W(Tfe,{visible:re.type==="loading"},null,8,["visible"])])]),"success-icon":J(()=>[$e(x.$slots,"success-icon",{},()=>[W(Rfe)])]),"error-icon":J(()=>[$e(x.$slots,"error-icon",{},()=>[W(Hfe)])]),"warning-icon":J(()=>[$e(x.$slots,"warning-icon",{},()=>[W(jfe)])]),"info-icon":J(()=>[$e(x.$slots,"info-icon",{},()=>[W(Ffe)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","closeButtonPosition","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","close-button-aria-label","toasts","expandByDefault","gap","expanded","swipeDirections"]))),128))],16,zfe))),128))],8,Wfe)],2112))}}),Xfe=Yfe;const Qfe=ge({__name:"Sonner",props:{id:{},invert:{type:Boolean},theme:{},position:{},closeButtonPosition:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},mobileOffset:{},dir:{},swipeDirections:{},icons:{},containerAriaLabel:{}},setup(e){const t=e;return(n,r)=>(R(),ie(S(Xfe),at(t,{class:"toaster group","toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),Zfe=ge({__name:"app",setup(e){const t=no(),n=/^\/[a-z]{2}-[a-zA-Z]{2}(\/|$)/;return pO(()=>({htmlAttrs:{class:n.test(t.path)?"public-page":"admin"}})),(r,o)=>{const i=gH,s=EH,a=rfe;return R(),ce(Je,null,[W(s,null,{default:J(()=>[W(i)]),_:1}),W(a),W(Qfe,{position:"top-right",duration:5e3})],64)}}}),Jfe={__name:"nuxt-error-page",props:{error:Object}
15,setup(e){const n=e.error,r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,c=o?Sf(()=>Ft(()=>import("./o1b22CQP.js"),__vite__mapDeps([62,1,63]),import.meta.url)):Sf(()=>Ft(()=>import("./BgY1J84H.js"),__vite__mapDeps([64,65]),import.meta.url));return(f,p)=>(R(),ie(S(c),ui(Ki({status:S(r),statusText:S(i),statusCode:S(r),statusMessage:S(i),description:S(s),stack:S(a)})),null,16))}},ede={key:0},eT={__name:"nuxt-root",setup(e){const t=()=>null,n=Zt(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Mr().beforeEach(u)}const o=!1;Qn(Dl,no()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=Km(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;KT((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(nO(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>el(u)),!1});const l=!1;return(u,c)=>(R(),ie(X0,{onResolve:S(r)},{default:J(()=>[S(s)?(R(),ce("div",ede)):S(i)?(R(),ie(S(Jfe),{key:1,error:S(i)},null,8,["error"])):S(l)?(R(),ie(S(t),{key:2,context:S(l)},null,8,["context"])):S(o)?(R(),ie(er(S(o)),{key:3})):(R(),ie(S(Zfe),{key:4}))]),_:1},8,["onResolve"]))}};let tT;{let e;tT=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?J2(eT):Z2(eT),o=fB({vueApp:r});async function i(s){await o.callHook("app:error",s),o.payload.error||=va(s)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&Pk.id&&o.hook("app:suspense:resolve",()=>{document.getElementById(Pk.id)?.remove()});try{await hB(o,mH)}catch(s){i(s)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(lB),await o.hooks.callHook("app:mounted",r),await it()}catch(s){i(s)}return r},e=tT().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{N2 as $,KT as A,CM as B,$e as C,ui as D,at as E,Je as F,yt as G,Zm as H,mn as I,cE as J,on as K,lde as L,_e as M,oT as N,Pt as O,At as P,As as Q,Xn as R,aO as S,Xc as T,Ie as U,_t as V,$de as W,Ud as X,Hr as Y,ide as Z,bt as _,m as a,it as a$,Hde as a0,Vl as a1,nde as a2,ude as a3,Nde as a4,fde as a5,Wde as a6,lt as a7,Yde as a8,Kde as a9,dF as aA,Mr as aB,va as aC,wi as aD,tpe as aE,Bce as aF,DM as aG,WT as aH,ex as aI,Wue as aJ,que as aK,Bde as aL,c0 as aM,k2 as aN,yle as aO,AM as aP,jl as aQ,vZ as aR,Z0 as aS,ts as aT,Cse as aU,BM as aV,ew as aW,jde as aX,sse as aY,PM as aZ,N_ as a_,Zde as aa,Xde as ab,zde as ac,Qde as ad,Gde as ae,mde as af,ku as ag,er as ah,Kt as ai,Lr as aj,kt as ak,Qn as al,Lde as am,qde as an,Qd as ao,tde as ap,Qo as aq,Dl as ar,Lo as as,Fae as at,Lae as au,qae as av,Bae as aw,$ae as ax,H2 as ay,Vce as az,W as b,Dv as b$,$l as b0,$a as b1,xL as b2,fJ as b3,Vde as b4,Ri as b5,Pn as b6,Bt as b7,Vd as b8,x_ as b9,Wi as bA,Wt as bB,bm as bC,dw as bD,dc as bE,XT as bF,C$ as bG,D$ as bH,yv as bI,kde as bJ,a7 as bK,b$ as bL,W$ as bM,L7 as bN,o7 as bO,_7 as bP,Yd as bQ,_v as bR,Xi as bS,Sv as bT,Jr as bU,hG as bV,oM as bW,cM as bX,Cv as bY,fM as bZ,sM as b_,Ho as ba,une as bb,Ise as bc,Qae as bd,Noe as be,kse as bf,Rce as bg,sF as bh,xm as bi,s7 as bj,Mt as bk,Kn as bl,Ki as bm,k$ as bn,m$ as bo,pde as bp,ode as bq,Du as br,rde as bs,Pde as bt,Bm as bu,P0 as bv,zm as bw,cw as bx,wde as by,Gd as bz,ce as c,Rde as c$,lM as c0,uM as c1,xv as c2,Tv as c3,_r as c4,Ft as c5,Ude as c6,Ide as c7,Ot as c8,rw as c9,vde as cA,xde as cB,Yi as cC,K9 as cD,pc as cE,y$ as cF,iK as cG,JT as cH,Gz as cI,N9 as cJ,Tde as cK,Sde as cL,B7 as cM,VC as cN,Ade as cO,qC as cP,Ede as cQ,Dde as cR,Cde as cS,WG as cT,ZG as cU,XG as cV,BG as cW,VG as cX,eY as cY,nr as cZ,UZ as c_,Ts as ca,Mw as cb,FZ as cc,AL as cd,Jde as ce,YK as cf,JK as cg,tG as ch,LG as ci,MG as cj,G$ as ck,Y$ as cl,epe as cm,$K as cn,AK as co,tD as cp,DK as cq,_c as cr,dv as cs,hde as ct,Dd as cu,nH as cv,Or as cw,bde as cx,Za as cy,ci as cz,qe as d,fE as d0,dde as d1,J0 as d2,CB as d3,SB as d4,Lq as d5,lE as d6,Gi as d7,ql as d8,ade as d9,Ih as da,od as db,K5 as dc,j5 as dd,Jb as de,Xo as df,CI as dg,N5 as dh,B5 as di,Zb as dj,wI as dk,J5 as dl,U5 as dm,Bl as dn,iH as dp,yQ as dq,h2 as dr,Fde as ds,xl as dt,MC as du,EH as dv,VT as dw,UT as dx,ge as e,
15ie as f,S as g,l1 as h,no as i,zo as j,we as k,Qm as l,cde as m,Qe as n,R as o,OL as p,wq as q,ne as r,Mde as s,L as t,pO as u,Rr as v,J as w,s2 as x,N as y,Zt 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.