1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ReelsSection-BxyFZImU.js","assets/markdown--GtaSHee.js","assets/recharts-BeKZuLkv.js","assets/heart-Cyg43O5M.js","assets/eye-C_5ZLeIN.js","assets/supabase-CXOtveJb.js","assets/Auth-DEGL5BPp.js","assets/Logo-CmSzrewh.js","assets/dialog-D1cdDpAI.js","assets/index-CDEGERko.js","assets/loader-circle-E8ifEcGx.js","assets/Dashboard-Nj3snvFH.js","assets/select-DYvesJGt.js","assets/claim-api-Cx9cUfTi.js","assets/button-CvWIh0wA.js","assets/textarea-D2ju_SPA.js","assets/use-support-url-D3VhhVWC.js","assets/badge-Be4qcw1N.js","assets/popover-C8biE7SC.js","assets/plus-DvajB_f2.js","assets/copy-_Mw3LfSg.js","assets/ModelsList-CGI3uO0p.js","assets/card-BpT7KXvn.js","assets/gift-YlWY7YpY.js","assets/users-C7re592J.js","assets/bot-Ckjuc9jk.js","assets/sparkles-BMOYLD50.js","assets/message-circle-C9OyIzFv.js","assets/Admin-DyqaYVhF.js","assets/refresh-cw-4ldpb0-s.js","assets/square-CUyGi08w.js","assets/circle-check-big-C2b98zPA.js","assets/circle-x-DW4hRh-i.js","assets/calendar-lScbt-82.js","assets/arrow-left-DvkoChDz.js","assets/AdminProviders-oSFeDcsR.js","assets/ResetPassword-CoQDO8t9.js","assets/SuccessfulPayment-5e81rgQ4.js","assets/FailedPayment-CJpkZHL4.js","assets/Articles-CfBQO7ZN.js","assets/Article-BJ29zwjK.js","assets/ExtensionPrivacy-w-QCbEgR.js","assets/ForAgents-DPVOzVdt.js","assets/Earn-Boofxh2t.js","assets/FreeHermes-F8o3S5Av.js","assets/Business-BK_oNbzf.js","assets/PublicErrors-COmwDHtF.js","assets/DemoDashboard-Fta4IGSM.js"])))=>i.map(i=>d[i]); 2var Qp=Object.defineProperty;var Wc=n=>{throw TypeError(n)};var Jp=(n,e,t)=>e in n?Qp(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Vc=(n,e,t)=>Jp(n,typeof e!="symbol"?e+"":e,t),Na=(n,e,t)=>e.has(n)||Wc("Cannot "+t);var M=(n,e,t)=>(Na(n,e,"read from private field"),t?t.call(n):e.get(n)),pe=(n,e,t)=>e.has(n)?Wc("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),te=(n,e,t,r)=>(Na(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t),_t=(n,e,t)=>(Na(n,e,"access private method"),t);var fo=(n,e,t,r)=>({set _(s){te(n,e,s,t)},get _(){return M(n,e,r)}});import{j as v}from"./markdown--GtaSHee.js";import{C as fa,r as y,R as zd,E as B,F as $d,G as Bd}from"./recharts-BeKZuLkv.js";import{c as Zp}from"./supabase-CXOtveJb.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=t(s);fetch(s.href,i)}})();var Ud,Hc=fa;Ud=Hc.createRoot,Hc.hydrateRoot;const em="modulepreload",tm=function(n){return"/"+n},Yc={},ft=function(e,t,r){let s=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.allSettled(t.map(l=>{if(l=tm(l),l in Yc)return;Yc[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":em,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((p,d)=>{f.addEventListener("load",p),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})};var ha=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},pa=typeof window>"u"||"Deno"in globalThis;function Tr(){}function rm(n,e){return typeof n=="function"?n(e):n}function nm(n){return typeof n=="number"&&n>=0&&n!==1/0}function sm(n,e){return Math.max(n+(e||0)-Date.now(),0)}function rl(n,e){return typeof n=="function"?n(e):n}function im(n,e){return typeof n=="function"?n(e):n}function qc(n,e){const{type:t="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=n;
2if(o){if(r){if(e.queryHash!==Yl(o,e.options))return!1}else if(!Bi(e.queryKey,o))return!1}if(t!=="all"){const l=e.isActive();if(t==="active"&&!l||t==="inactive"&&l)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||s&&s!==e.state.fetchStatus||i&&!i(e))}function Gc(n,e){const{exact:t,status:r,predicate:s,mutationKey:i}=n;if(i){if(!e.options.mutationKey)return!1;if(t){if($i(e.options.mutationKey)!==$i(i))return!1}else if(!Bi(e.options.mutationKey,i))return!1}return!(r&&e.state.status!==r||s&&!s(e))}function Yl(n,e){return((e==null?void 0:e.queryKeyHashFn)||$i)(n)}function $i(n){return JSON.stringify(n,(e,t)=>nl(t)?Object.keys(t).sort().reduce((r,s)=>(r[s]=t[s],r),{}):t)}function Bi(n,e){return n===e?!0:typeof n!=typeof e?!1:n&&e&&typeof n=="object"&&typeof e=="object"?Object.keys(e).every(t=>Bi(n[t],e[t])):!1}function Wd(n,e){if(n===e)return n;const t=Xc(n)&&Xc(e);if(t||nl(n)&&nl(e)){const r=t?n:Object.keys(n),s=r.length,i=t?e:Object.keys(e),o=i.length,a=t?[]:{},l=new Set(r);let c=0;for(let u=0;u<o;u++){const f=t?u:i[u];(!t&&l.has(f)||t)&&n[f]===void 0&&e[f]===void 0?(a[f]=void 0,c++):(a[f]=Wd(n[f],e[f]),a[f]===n[f]&&n[f]!==void 0&&c++)}return s===o&&c===s?n:a}return e}function Xc(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function nl(n){if(!Kc(n))return!1;const e=n.constructor;if(e===void 0)return!0;const t=e.prototype;return!(!Kc(t)||!t.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Kc(n){return Object.prototype.toString.call(n)==="[object Object]"}function om(n){return new Promise(e=>{setTimeout(e,n)})}function am(n,e,t){return typeof t.structuralSharing=="function"?t.structuralSharing(n,e):t.structuralSharing!==!1?Wd(n,e):e}function lm(n,e,t=0){const r=[...n,e];return t&&r.length>t?r.slice(1):r}function cm(n,e,t=0){const r=[e,...n];return t&&r.length>t?r.slice(0,-1):r}var ql=Symbol();function Vd(n,e){return!n.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!n.queryFn||n.queryFn===ql?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}var ns,Cn,Ws,Od,um=(Od=class extends ha{constructor(){super();pe(this,ns);pe(this,Cn);pe(this,Ws);te(this,Ws,e=>{if(!pa&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){M(this,Cn)||this.setEventListener(M(this,Ws))}onUnsubscribe(){var e;this.hasListeners()||((e=M(this,Cn))==null||e.call(this),te(this,Cn,void 0))}setEventListener(e){var t;te(this,Ws,e),(t=M(this,Cn))==null||t.call(this),te(this,Cn,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){M(this,ns)!==e&&(te(this,ns,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return typeof M(this,ns)=="boolean"?M(this,ns):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},ns=new WeakMap,Cn=new WeakMap,Ws=new WeakMap,Od),Hd=new um,Vs,Sn,Hs,Nd,dm=(Nd=class extends ha{constructor(){super();pe(this,Vs,!0);pe(this,Sn);pe(this,Hs);te(this,Hs,e=>{if(!pa&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}onSubscribe(){M(this,Sn)||this.setEventListener(M(this,Hs))}onUnsubscribe(){var e;this.hasListeners()||((e=M(this,Sn))==null||e.call(this),te(this,Sn,void 0))}setEventListener(e){var t;te(this,Hs,e),(t=M(this,Sn))==null||t.call(this),te(this,Sn,e(this.setOnline.bind(this)))}setOnline(e){M(this,Vs)!==e&&(te(this,Vs,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return M(this,Vs)}},Vs=new WeakMap,Sn=new WeakMap,Hs=new WeakMap,Nd),Yo=new dm;function fm(){let n,e;const t=new Promise((s,i)=>{n=s,e=i});t.status="pending",t.catch(()=>{});function r(s){Object.assign(t,s),delete t.resolve,delete t.reject}return t.resolve=s=>{r({status:"fulfilled",value:s}),n(s)},t.reject=s=>{r({status:"rejected",reason:s}),e(s)},t}function hm(n){return Math.min(1e3*2**n,3e4)}function Yd(n){return(n??"online")==="online"?Yo.isOnline():!0}
2var qd=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Ma(n){return n instanceof qd}function Gd(n){let e=!1,t=0,r=!1,s;const i=fm(),o=h=>{var m;r||(p(new qd(h)),(m=n.abort)==null||m.call(n))},a=()=>{e=!0},l=()=>{e=!1},c=()=>Hd.isFocused()&&(n.networkMode==="always"||Yo.isOnline())&&n.canRun(),u=()=>Yd(n.networkMode)&&n.canRun(),f=h=>{var m;r||(r=!0,(m=n.onSuccess)==null||m.call(n,h),s==null||s(),i.resolve(h))},p=h=>{var m;r||(r=!0,(m=n.onError)==null||m.call(n,h),s==null||s(),i.reject(h))},d=()=>new Promise(h=>{var m;s=_=>{(r||c())&&h(_)},(m=n.onPause)==null||m.call(n)}).then(()=>{var h;s=void 0,r||(h=n.onContinue)==null||h.call(n)}),g=()=>{if(r)return;let h;const m=t===0?n.initialPromise:void 0;try{h=m??n.fn()}catch(_){h=Promise.reject(_)}Promise.resolve(h).then(f).catch(_=>{var T;if(r)return;const x=n.retry??(pa?0:3),b=n.retryDelay??hm,w=typeof b=="function"?b(t,_):b,C=x===!0||typeof x=="number"&&t<x||typeof x=="function"&&x(t,_);if(e||!C){p(_);return}t++,(T=n.onFail)==null||T.call(n,t,_),om(w).then(()=>c()?void 0:d()).then(()=>{e?p(_):g()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?g():d().then(g),i)}}var pm=n=>setTimeout(n,0);function mm(){let n=[],e=0,t=a=>{a()},r=a=>{a()},s=pm;const i=a=>{e?n.push(a):s(()=>{t(a)})},o=()=>{const a=n;n=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{t(l)})})})};return{batch:a=>{let l;e++;try{l=a()}finally{e--,e||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{t=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Lt=mm(),ss,Md,Xd=(Md=class{constructor(){pe(this,ss)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nm(this.gcTime)&&te(this,ss,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(pa?1/0:5*60*1e3))}clearGcTimeout(){M(this,ss)&&(clearTimeout(M(this,ss)),te(this,ss,void 0))}},ss=new WeakMap,Md),Ys,is,gr,os,Ct,no,as,Pr,nn,jd,gm=(jd=class extends Xd{constructor(e){super();pe(this,Pr);pe(this,Ys);pe(this,is);pe(this,gr);pe(this,os);pe(this,Ct);pe(this,no);pe(this,as);te(this,as,!1),te(this,no,e.defaultOptions),this.setOptions(e.options),this.observers=[],te(this,os,e.client),te(this,gr,M(this,os).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,te(this,Ys,ym(this.options)),this.state=e.state??M(this,Ys),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=M(this,Ct))==null?void 0:e.promise}setOptions(e){this.options={...M(this,no),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,gr).remove(this)}setData(e,t){const r=am(this.state.data,e,this.options);return _t(this,Pr,nn).call(this,{data:r,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),r}setState(e,t){_t(this,Pr,nn).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var r,s;const t=(r=M(this,Ct))==null?void 0:r.promise;return(s=M(this,Ct))==null||s.cancel(e),t?t.then(Tr).catch(Tr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,Ys))}isActive(){return this.observers.some(e=>im(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ql||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>rl(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:!sm(this.state.dataUpdatedAt,e)}onFocus(){var t;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(t=M(this,Ct))==null||t.continue()}onOnline(){var t;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(t=M(this,Ct))==null||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),M(this,gr).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(M(this,Ct)&&(M(this,as)?M(this,Ct).cancel({revert:!0}):M(this,Ct).cancelRetry()),this.scheduleGc()),M(this,gr).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_t(this,Pr,nn).call(this,{type:"invalidate"})}fetch(e,t){var c,u,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(t!=null&&t.cancelRefetch))this.cancel({silent:!0});else if(M(this,Ct))return M(this,Ct).continueRetry(),M(this,Ct).promise}if(e&&this.setOptions(e),!this.options.queryFn){const p=this.observers.find(d=>d.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,s=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(te(this,as,!0),r.signal)}
2)},i=()=>{const p=Vd(this.options,t),g=(()=>{const h={client:M(this,os),queryKey:this.queryKey,meta:this.meta};return s(h),h})();return te(this,as,!1),this.options.persister?this.options.persister(p,g,this):p(g)},a=(()=>{const p={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:M(this,os),state:this.state,fetchFn:i};return s(p),p})();(c=this.options.behavior)==null||c.onFetch(a,this),te(this,is,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&_t(this,Pr,nn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=p=>{var d,g,h,m;Ma(p)&&p.silent||_t(this,Pr,nn).call(this,{type:"error",error:p}),Ma(p)||((g=(d=M(this,gr).config).onError)==null||g.call(d,p,this),(m=(h=M(this,gr).config).onSettled)==null||m.call(h,this.state.data,p,this)),this.scheduleGc()};return te(this,Ct,Gd({initialPromise:t==null?void 0:t.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var d,g,h,m;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(_){l(_);return}(g=(d=M(this,gr).config).onSuccess)==null||g.call(d,p,this),(m=(h=M(this,gr).config).onSettled)==null||m.call(h,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,d)=>{_t(this,Pr,nn).call(this,{type:"failed",failureCount:p,error:d})},onPause:()=>{_t(this,Pr,nn).call(this,{type:"pause"})},onContinue:()=>{_t(this,Pr,nn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),M(this,Ct).start()}},Ys=new WeakMap,is=new WeakMap,gr=new WeakMap,os=new WeakMap,Ct=new WeakMap,no=new WeakMap,as=new WeakMap,Pr=new WeakSet,nn=function(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...vm(r.data,this.options),fetchMeta:e.meta??null};case"success":return te(this,is,void 0),{...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=e.error;return Ma(s)&&s.revert&&M(this,is)?{...M(this,is),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),Lt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),M(this,gr).notify({query:this,type:"updated",action:e})})},jd);function vm(n,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Yd(e.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function ym(n){const e=typeof n.initialData=="function"?n.initialData():n.initialData,t=e!==void 0,r=t?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"pending",fetchStatus:"idle"}}var zr,Dd,xm=(Dd=class extends ha{constructor(e={}){super();pe(this,zr);this.config=e,te(this,zr,new Map)}build(e,t,r){const s=t.queryKey,i=t.queryHash??Yl(s,t);let o=this.get(i);return o||(o=new gm({client:e,queryKey:s,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){M(this,zr).has(e.queryHash)||(M(this,zr).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=M(this,zr).get(e.queryHash);t&&(e.destroy(),t===e&&M(this,zr).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Lt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return M(this,zr).get(e)}getAll(){return[...M(this,zr).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(r=>qc(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>qc(e,r)):t}notify(e){Lt.batch(()=>
2{this.listeners.forEach(t=>{t(e)})})}onFocus(){Lt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Lt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zr=new WeakMap,Dd),$r,Mt,ls,Br,bn,Id,_m=(Id=class extends Xd{constructor(e){super();pe(this,Br);pe(this,$r);pe(this,Mt);pe(this,ls);this.mutationId=e.mutationId,te(this,Mt,e.mutationCache),te(this,$r,[]),this.state=e.state||bm(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){M(this,$r).includes(e)||(M(this,$r).push(e),this.clearGcTimeout(),M(this,Mt).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){te(this,$r,M(this,$r).filter(t=>t!==e)),this.scheduleGc(),M(this,Mt).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){M(this,$r).length||(this.state.status==="pending"?this.scheduleGc():M(this,Mt).remove(this))}continue(){var e;return((e=M(this,ls))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,o,a,l,c,u,f,p,d,g,h,m,_,x,b,w,C,T,S,P;const t=()=>{_t(this,Br,bn).call(this,{type:"continue"})};te(this,ls,Gd({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(k,R)=>{_t(this,Br,bn).call(this,{type:"failed",failureCount:k,error:R})},onPause:()=>{_t(this,Br,bn).call(this,{type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,Mt).canRun(this)}));const r=this.state.status==="pending",s=!M(this,ls).canStart();try{if(r)t();else{_t(this,Br,bn).call(this,{type:"pending",variables:e,isPaused:s}),await((o=(i=M(this,Mt).config).onMutate)==null?void 0:o.call(i,e,this));const R=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,e));R!==this.state.context&&_t(this,Br,bn).call(this,{type:"pending",context:R,variables:e,isPaused:s})}const k=await M(this,ls).start();return await((u=(c=M(this,Mt).config).onSuccess)==null?void 0:u.call(c,k,e,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,k,e,this.state.context)),await((g=(d=M(this,Mt).config).onSettled)==null?void 0:g.call(d,k,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,k,null,e,this.state.context)),_t(this,Br,bn).call(this,{type:"success",data:k}),k}catch(k){try{throw await((x=(_=M(this,Mt).config).onError)==null?void 0:x.call(_,k,e,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,k,e,this.state.context)),await((T=(C=M(this,Mt).config).onSettled)==null?void 0:T.call(C,void 0,k,this.state.variables,this.state.context,this)),await((P=(S=this.options).onSettled)==null?void 0:P.call(S,void 0,k,e,this.state.context)),k}finally{_t(this,Br,bn).call(this,{type:"error",error:k})}}finally{M(this,Mt).runNext(this)}}},$r=new WeakMap,Mt=new WeakMap,ls=new WeakMap,Br=new WeakSet,bn=function(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Lt.batch(()=>{M(this,$r).forEach(r=>{r.onMutationUpdate(e)}),M(this,Mt).notify({mutation:this,type:"updated",action:e})})},Id);function bm(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var an,kr,so,Ld,wm=(Ld=class extends ha{constructor(e={}){super();pe(this,an);pe(this,kr);pe(this,so);this.config=e,te(this,an,new Set),te(this,kr,new Map),te(this,so,0)}build(e,t,r){const s=new _m({mutationCache:this,mutationId:++fo(this,so)._,options:e.defaultMutationOptions(t),state:r});return this.add(s),s}add(e){M(this,an).add(e);const t=ho(e);if(typeof t=="string"){const r=M(this,kr).get(t);r?r.push(e):M(this,kr).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(M(this,an).delete(e)){const t=ho(e);if(typeof t=="string"){const r=M(this,kr).get(t);if(r)if(r.length>1){const s=r.indexOf(e);s!==-1&&r.splice(s,1)}else r[0]===e&&M(this,kr).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=ho(e);if(typeof t=="string"){const r=M(this,kr).get(t),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===e}else return!0}runNext(e){var r;const t=ho(e);if(typeof t=="string"){const s=(r=M(this,kr).get(t))==null?void 0:r.find(i=>
2i!==e&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Lt.batch(()=>{M(this,an).forEach(e=>{this.notify({type:"removed",mutation:e})}),M(this,an).clear(),M(this,kr).clear()})}getAll(){return Array.from(M(this,an))}find(e){const t={exact:!0,...e};return this.getAll().find(r=>Gc(t,r))}findAll(e={}){return this.getAll().filter(t=>Gc(e,t))}notify(e){Lt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Lt.batch(()=>Promise.all(e.map(t=>t.continue().catch(Tr))))}},an=new WeakMap,kr=new WeakMap,so=new WeakMap,Ld);function ho(n){var e;return(e=n.options.scope)==null?void 0:e.id}function Qc(n){return{onFetch:(e,t)=>{var u,f,p,d,g;const r=e.options,s=(p=(f=(u=e.fetchOptions)==null?void 0:u.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,i=((d=e.state.data)==null?void 0:d.pages)||[],o=((g=e.state.data)==null?void 0:g.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let h=!1;const m=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(e.signal.aborted?h=!0:e.signal.addEventListener("abort",()=>{h=!0}),e.signal)})},_=Vd(e.options,e.fetchOptions),x=async(b,w,C)=>{if(h)return Promise.reject();if(w==null&&b.pages.length)return Promise.resolve(b);const S=(()=>{const $={client:e.client,queryKey:e.queryKey,pageParam:w,direction:C?"backward":"forward",meta:e.options.meta};return m($),$})(),P=await _(S),{maxPages:k}=e.options,R=C?cm:lm;return{pages:R(b.pages,P,k),pageParams:R(b.pageParams,w,k)}};if(s&&i.length){const b=s==="backward",w=b?Cm:Jc,C={pages:i,pageParams:o},T=w(r,C);a=await x(C,T,b)}else{const b=n??i.length;do{const w=l===0?o[0]??r.initialPageParam:Jc(r,a);if(l>0&&w==null)break;a=await x(a,w),l++}while(l<b)}return a};e.options.persister?e.fetchFn=()=>{var h,m;return(m=(h=e.options).persister)==null?void 0:m.call(h,c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=c}}}function Jc(n,{pages:e,pageParams:t}){const r=e.length-1;return e.length>0?n.getNextPageParam(e[r],e,t[r],t):void 0}function Cm(n,{pages:e,pageParams:t}){var r;return e.length>0?(r=n.getPreviousPageParam)==null?void 0:r.call(n,e[0],e,t[0],t):void 0}var ze,En,Tn,qs,Gs,Pn,Xs,Ks,Fd,Sm=(Fd=class{constructor(n={}){pe(this,ze);pe(this,En);pe(this,Tn);pe(this,qs);pe(this,Gs);pe(this,Pn);pe(this,Xs);pe(this,Ks);te(this,ze,n.queryCache||new xm),te(this,En,n.mutationCache||new wm),te(this,Tn,n.defaultOptions||{}),te(this,qs,new Map),te(this,Gs,new Map),te(this,Pn,0)}mount(){fo(this,Pn)._++,M(this,Pn)===1&&(te(this,Xs,Hd.subscribe(async n=>{n&&(await this.resumePausedMutations(),M(this,ze).onFocus())})),te(this,Ks,Yo.subscribe(async n=>{n&&(await this.resumePausedMutations(),M(this,ze).onOnline())})))}unmount(){var n,e;fo(this,Pn)._--,M(this,Pn)===0&&((n=M(this,Xs))==null||n.call(this),te(this,Xs,void 0),(e=M(this,Ks))==null||e.call(this),te(this,Ks,void 0))}isFetching(n){return M(this,ze).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return M(this,En).findAll({...n,status:"pending"}).length}getQueryData(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=M(this,ze).get(e.queryHash))==null?void 0:t.state.data}ensureQueryData(n){const e=this.defaultQueryOptions(n),t=M(this,ze).build(this,e),r=t.state.data;return r===void 0?this.fetchQuery(n):(n.revalidateIfStale&&t.isStaleByTime(rl(e.staleTime,t))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(n){return M(this,ze).findAll(n).map(({queryKey:e,state:t})=>{const r=t.data;return[e,r]})}setQueryData(n,e,t){const r=this.defaultQueryOptions({queryKey:n}),s=M(this,ze).get(r.queryHash),i=s==null?void 0:s.state.data,o=rm(e,i);if(o!==void 0)return M(this,ze).build(this,r).setData(o,{...t,manual:!0})}setQueriesData(n,e,t){return Lt.batch(()=>M(this,ze).findAll(n).map(({queryKey:r})=>[r,this.setQueryData(r,e,t)]))}getQueryState(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=M(this,ze).get(e.queryHash))==null?void 0:t.state}removeQueries(n){const e=M(this,ze);Lt.batch(()=>
2{e.findAll(n).forEach(t=>{e.remove(t)})})}resetQueries(n,e){const t=M(this,ze);return Lt.batch(()=>(t.findAll(n).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...n},e)))}cancelQueries(n,e={}){const t={revert:!0,...e},r=Lt.batch(()=>M(this,ze).findAll(n).map(s=>s.cancel(t)));return Promise.all(r).then(Tr).catch(Tr)}invalidateQueries(n,e={}){return Lt.batch(()=>(M(this,ze).findAll(n).forEach(t=>{t.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},e)))}refetchQueries(n,e={}){const t={...e,cancelRefetch:e.cancelRefetch??!0},r=Lt.batch(()=>M(this,ze).findAll(n).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,t);return t.throwOnError||(i=i.catch(Tr)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Tr)}fetchQuery(n){const e=this.defaultQueryOptions(n);e.retry===void 0&&(e.retry=!1);const t=M(this,ze).build(this,e);return t.isStaleByTime(rl(e.staleTime,t))?t.fetch(e):Promise.resolve(t.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Tr).catch(Tr)}fetchInfiniteQuery(n){return n.behavior=Qc(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Tr).catch(Tr)}ensureInfiniteQueryData(n){return n.behavior=Qc(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Yo.isOnline()?M(this,En).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,ze)}getMutationCache(){return M(this,En)}getDefaultOptions(){return M(this,Tn)}setDefaultOptions(n){te(this,Tn,n)}setQueryDefaults(n,e){M(this,qs).set($i(n),{queryKey:n,defaultOptions:e})}getQueryDefaults(n){const e=[...M(this,qs).values()],t={};return e.forEach(r=>{Bi(n,r.queryKey)&&Object.assign(t,r.defaultOptions)}),t}setMutationDefaults(n,e){M(this,Gs).set($i(n),{mutationKey:n,defaultOptions:e})}getMutationDefaults(n){const e=[...M(this,Gs).values()],t={};return e.forEach(r=>{Bi(n,r.mutationKey)&&Object.assign(t,r.defaultOptions)}),t}defaultQueryOptions(n){if(n._defaulted)return n;const e={...M(this,Tn).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return e.queryHash||(e.queryHash=Yl(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ql&&(e.enabled=!1),e}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...M(this,Tn).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){M(this,ze).clear(),M(this,En).clear()}},ze=new WeakMap,En=new WeakMap,Tn=new WeakMap,qs=new WeakMap,Gs=new WeakMap,Pn=new WeakMap,Xs=new WeakMap,Ks=new WeakMap,Fd),Em=y.createContext(void 0),Tm=({client:n,children:e})=>(y.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),v.jsx(Em.Provider,{value:n,children:e}));/** 3 * @remix-run/router v1.23.0 4 * 5 * Copyright (c) Remix Software Inc. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE.md file in the root directory of this source tree. 9 * 10 * @license MIT 11 */function Ui(){return Ui=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},Ui.apply(this,arguments)}var kn;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(kn||(kn={}));const Zc="popstate";function Pm(n){n===void 0&&(n={});function e(r,s){let{pathname:i,search:o,hash:a}=r.location;return sl("",{pathname:i,search:o,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function t(r,s){return typeof s=="string"?s:qo(s)}return Am(e,t,null,n)}function He(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function Kd(n,e){if(!n){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function km(){return Math.random().toString(36).substr(2,8)}function eu(n,e){return{usr:n.state,key:n.key,idx:e}}function sl(n,e,t,r){return t===void 0&&(t=null),Ui({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof e=="string"?ii(e):e,{state:t,key:e&&e.key||r||km()})}function qo(n){let{pathname:e="/",search:t="",hash:r=""}=n;return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ii(n){let e={};if(n){let t=n.indexOf("#");t>=0&&(e.hash=n.substr(t),n=n.substr(0,t));let r=n.indexOf("?");r>=0&&(e.search=n.substr(r),n=n.substr(0,r)),n&&(e.pathname=n)}return e}function Am(n,e,t,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,a=kn.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(Ui({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function f(){a=kn.Pop;let m=u(),_=m==null?null:m-c;c=m,l&&l({action:a,location:h.location,delta:_})}function p(m,_){a=kn.Push;let x=sl(h.location,m,_);c=u()+1;let b=eu(x,c),w=h.createHref(x);try{o.pushState(b,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;s.location.assign(w)}i&&l&&l({action:a,location:h.location,delta:1})}function d(m,_){a=kn.Replace;let x=sl(h.location,m,_);c=u();let b=eu(x,c),w=h.createHref(x);o.replaceState(b,"",w),i&&l&&l({action:a,location:h.location,delta:0})}function g(m){let _=s.location.origin!=="null"?s.location.origin:s.location.href,x=typeof m=="string"?m:qo(m);return x=x.replace(/ $/,"%20"),He(_,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,_)}let h={get action(){return a},get location(){return n(s,o)},listen(m){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Zc,f),l=m,()=>{s.removeEventListener(Zc,f),l=null}},createHref(m){return e(s,m)},createURL:g,encodeLocation(m){let _=g(m);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:d,go(m){return o.go(m)}};return h}var tu;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(tu||(tu={}));function Rm(n,e,t){return t===void 0&&(t="/"),Om(n,e,t,!1)}
11function Om(n,e,t,r){let s=typeof e=="string"?ii(e):e,i=Gl(s.pathname||"/",t);if(i==null)return null;let o=Qd(n);Nm(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let c=Wm(i);a=Bm(o[l],c,r)}return a}function Qd(n,e,t,r){e===void 0&&(e=[]),t===void 0&&(t=[]),r===void 0&&(r="");let s=(i,o,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(He(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=jn([r,l.relativePath]),u=t.concat(l);i.children&&i.children.length>0&&(He(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Qd(i.children,e,u,c)),!(i.path==null&&!i.index)&&e.push({path:c,score:zm(c,i.index),routesMeta:u})};return n.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))s(i,o);else for(let l of Jd(i.path))s(i,o,l)}),e}function Jd(n){let e=n.split("/");if(e.length===0)return[];let[t,...r]=e,s=t.endsWith("?"),i=t.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=Jd(r.join("/")),a=[];return a.push(...o.map(l=>l===""?i:[i,l].join("/"))),s&&a.push(...o),a.map(l=>n.startsWith("/")&&l===""?"/":l)}function Nm(n){n.sort((e,t)=>e.score!==t.score?t.score-e.score:$m(e.routesMeta.map(r=>r.childrenIndex),t.routesMeta.map(r=>r.childrenIndex)))}const Mm=/^:[\w-]+$/,jm=3,Dm=2,Im=1,Lm=10,Fm=-2,ru=n=>n==="*";function zm(n,e){let t=n.split("/"),r=t.length;return t.some(ru)&&(r+=Fm),e&&(r+=Dm),t.filter(s=>!ru(s)).reduce((s,i)=>s+(Mm.test(i)?jm:i===""?Im:Lm),r)}function $m(n,e){return n.length===e.length&&n.slice(0,-1).every((r,s)=>r===e[s])?n[n.length-1]-e[e.length-1]:0}function Bm(n,e,t){let{routesMeta:r}=n,s={},i="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?e:e.slice(i.length)||"/",f=nu({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),p=l.route;if(!f&&c&&t&&!r[r.length-1].route.index&&(f=nu({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!f)return null;
11Object.assign(s,f.params),o.push({params:s,pathname:jn([i,f.pathname]),pathnameBase:qm(jn([i,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(i=jn([i,f.pathnameBase]))}return o}function nu(n,e){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[t,r]=Um(n.path,n.caseSensitive,n.end),s=e.match(t);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:r.reduce((c,u,f)=>{let{paramName:p,isOptional:d}=u;if(p==="*"){let h=a[f]||"";o=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const g=a[f];return d&&!g?c[p]=void 0:c[p]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:n}}function Um(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!0),Kd(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let r=[],s="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(r.push({paramName:"*"}),s+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?s+="\\/*$":n!==""&&n!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),r]}function Wm(n){try{return n.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Kd(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),n}}function Gl(n,e){if(e==="/")return n;if(!n.toLowerCase().startsWith(e.toLowerCase()))return null;let t=e.endsWith("/")?e.length-1:e.length,r=n.charAt(t);return r&&r!=="/"?null:n.slice(t)||"/"}function Vm(n,e){e===void 0&&(e="/");let{pathname:t,search:r="",hash:s=""}=typeof n=="string"?ii(n):n;return{pathname:t?t.startsWith("/")?t:Hm(t,e):e,search:Gm(r),hash:Xm(s)}}function Hm(n,e){let t=e.replace(/\/+$/,"").split("/");return n.split("/").forEach(s=>{s===".."?t.length>1&&t.pop():s!=="."&&t.push(s)}),t.length>1?t.join("/"):"/"}function ja(n,e,t,r){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Ym(n){return n.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Xl(n,e){let t=Ym(n);return e?t.map((r,s)=>s===t.length-1?r.pathname:r.pathnameBase):t.map(r=>r.pathnameBase)}function Kl(n,e,t,r){r===void 0&&(r=!1);let s;typeof n=="string"?s=ii(n):(s=Ui({},n),He(!s.pathname||!s.pathname.includes("?"),ja("?","pathname","search",s)),He(!s.pathname||!s.pathname.includes("#"),ja("#","pathname","hash",s)),He(!s.search||!s.search.includes("#"),ja("#","search","hash",s)));let i=n===""||s.pathname==="",o=i?"/":s.pathname,a;if(o==null)a=t;else{let f=e.length-1;if(!r&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}a=f>=0?e[f]:"/"}let l=Vm(s,a),c=o&&o!=="/"&&o.endsWith("/"),u=(i||o===".")&&t.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const jn=n=>n.join("/").replace(/\/\/+/g,"/"),qm=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Gm=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Xm=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function Km(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const Zd=["post","put","patch","delete"];new Set(Zd);const Qm=["get",...Zd];new Set(Qm);/** 12 * React Router v6.30.1 13 * 14 * Copyright (c) Remix Software Inc. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE.md file in the root directory of this source tree. 18 * 19 * @license MIT 20 */function Wi(){return Wi=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},Wi.apply(this,arguments)}const Ql=y.createContext(null),Jm=y.createContext(null),Yn=y.createContext(null),ma=y.createContext(null),mn=y.createContext({outlet:null,matches:[],isDataRoute:!1}),ef=y.createContext(null);function Zm(n,e){let{relative:t}=e===void 0?{}:e;oi()||He(!1);let{basename:r,navigator:s}=y.useContext(Yn),{hash:i,pathname:o,search:a}=nf(n,{relative:t}),l=o;
20return r!=="/"&&(l=o==="/"?r:jn([r,o])),s.createHref({pathname:l,search:a,hash:i})}function oi(){return y.useContext(ma)!=null}function io(){return oi()||He(!1),y.useContext(ma).location}function tf(n){y.useContext(Yn).static||y.useLayoutEffect(n)}function rf(){let{isDataRoute:n}=y.useContext(mn);return n?fg():eg()}function eg(){oi()||He(!1);let n=y.useContext(Ql),{basename:e,future:t,navigator:r}=y.useContext(Yn),{matches:s}=y.useContext(mn),{pathname:i}=io(),o=JSON.stringify(Xl(s,t.v7_relativeSplatPath)),a=y.useRef(!1);return tf(()=>{a.current=!0}),y.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=Kl(c,JSON.parse(o),i,u.relative==="path");n==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:jn([e,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[e,r,o,i,n])}function yw(){let{matches:n}=y.useContext(mn),e=n[n.length-1];return e?e.params:{}}function nf(n,e){let{relative:t}=e===void 0?{}:e,{future:r}=y.useContext(Yn),{matches:s}=y.useContext(mn),{pathname:i}=io(),o=JSON.stringify(Xl(s,r.v7_relativeSplatPath));return y.useMemo(()=>Kl(n,JSON.parse(o),i,t==="path"),[n,o,i,t])}function tg(n,e){return rg(n,e)}function rg(n,e,t,r){oi()||He(!1);let{navigator:s}=y.useContext(Yn),{matches:i}=y.useContext(mn),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=io(),u;if(e){var f;let m=typeof e=="string"?ii(e):e;l==="/"||(f=m.pathname)!=null&&f.startsWith(l)||He(!1),u=m}else u=c;let p=u.pathname||"/",d=p;if(l!=="/"){let m=l.replace(/^\//,"").split("/");d="/"+p.replace(/^\//,"").split("/").slice(m.length).join("/")}let g=Rm(n,{pathname:d}),h=ag(g&&g.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:jn([l,s.encodeLocation?s.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:jn([l,s.encodeLocation?s.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),i,t,r);return e&&h?y.createElement(ma.Provider,{value:{location:Wi({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:kn.Pop}},h):h}function ng(){let n=dg(),e=Km(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),t=n instanceof Error?n.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},e),t?y.createElement("pre",{style:s},t):null,null)}const sg=y.createElement(ng,null);class ig extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?y.createElement(mn.Provider,{value:this.props.routeContext},y.createElement(ef.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function og(n){let{routeContext:e,match:t,children:r}=n,s=y.useContext(Ql);return s&&s.static&&s.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(mn.Provider,{value:e},r)}function ag(n,e,t,r){var s;if(e===void 0&&(e=[]),t===void 0&&(t=null),r===void 0&&(r=null),n==null){var i;if(!t)return null;if(t.errors)n=t.matches;else if((i=r)!=null&&i.v7_partialHydration&&e.length===0&&!t.initialized&&t.matches.length>0)n=t.matches;else return null}let o=n,a=(s=t)==null?void 0:s.errors;if(a!=null){let u=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);u>=0||He(!1),o=o.slice(0,Math.min(o.length,u+1))}let l=!1,c=-1;if(t&&r&&r.v7_partialHydration)for(let u=0;u<o.length;u++){let f=o[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=u),f.route.id){let{loaderData:p,errors:d}=t,g=f.route.loader&&p[f.route.id]===void 0&&(!d||d[f.route.id]===void 0);if(f.route.lazy||g){l=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((u,f,p)=>{let d,g=!1,h=null,m=null;t&&(d=a&&f.route.id?a[f.route.id]:void 0,h=f.route.errorElement||sg,l&&(c<0&&p===0?(g=!0,m=null):c===p&&(g=!0,m=f.route.hydrateFallbackElement||null)));let _=e.concat(o.slice(0,p+1)),x=()=>{let b;return d?b=h:g?b=m:f.route.Component?b=y.createElement(f.route.Component,null):f.route.element?b=f.route.element:b=u,y.createElement(og,{match:f,routeContext:{outlet:u,matches:_,isDataRoute:t!=null},children:b})};return t&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?y.createElement(ig,{location:t.location,revalidation:t.revalidation,component:h,error:d,children:x(),routeC
20ontext:{outlet:null,matches:_,isDataRoute:!0}}):x()},null)}var sf=function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n}(sf||{}),Go=function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n}(Go||{});function lg(n){let e=y.useContext(Ql);return e||He(!1),e}function cg(n){let e=y.useContext(Jm);return e||He(!1),e}function ug(n){let e=y.useContext(mn);return e||He(!1),e}function of(n){let e=ug(),t=e.matches[e.matches.length-1];return t.route.id||He(!1),t.route.id}function dg(){var n;let e=y.useContext(ef),t=cg(Go.UseRouteError),r=of(Go.UseRouteError);return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function fg(){let{router:n}=lg(sf.UseNavigateStable),e=of(Go.UseNavigateStable),t=y.useRef(!1);return tf(()=>{t.current=!0}),y.useCallback(function(s,i){i===void 0&&(i={}),t.current&&(typeof s=="number"?n.navigate(s):n.navigate(s,Wi({fromRouteId:e},i)))},[n,e])}function hg(n,e){n==null||n.v7_startTransition,n==null||n.v7_relativeSplatPath}function pg(n){let{to:e,replace:t,state:r,relative:s}=n;oi()||He(!1);let{future:i,static:o}=y.useContext(Yn),{matches:a}=y.useContext(mn),{pathname:l}=io(),c=rf(),u=Kl(e,Xl(a,i.v7_relativeSplatPath),l,s==="path"),f=JSON.stringify(u);return y.useEffect(()=>c(JSON.parse(f),{replace:t,state:r,relative:s}),[c,f,s,t,r]),null}function Je(n){He(!1)}function mg(n){let{basename:e="/",children:t=null,location:r,navigationType:s=kn.Pop,navigator:i,static:o=!1,future:a}=n;oi()&&He(!1);let l=e.replace(/^\/*/,"/"),c=y.useMemo(()=>({basename:l,navigator:i,static:o,future:Wi({v7_relativeSplatPath:!1},a)}),[l,a,i,o]);typeof r=="string"&&(r=ii(r));let{pathname:u="/",search:f="",hash:p="",state:d=null,key:g="default"}=r,h=y.useMemo(()=>{let m=Gl(u,l);return m==null?null:{location:{pathname:m,search:f,hash:p,state:d,key:g},navigationType:s}},[l,u,f,p,d,g,s]);return h==null?null:y.createElement(Yn.Provider,{value:c},y.createElement(ma.Provider,{children:t,value:h}))}function gg(n){let{children:e,location:t}=n;return tg(il(e),t)}new Promise(()=>{});function il(n,e){e===void 0&&(e=[]);let t=[];return y.Children.forEach(n,(r,s)=>{if(!y.isValidElement(r))return;let i=[...e,s];if(r.type===y.Fragment){t.push.apply(t,il(r.props.children,i));return}r.type!==Je&&He(!1),!r.props.index||!r.props.children||He(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=il(r.props.children,i)),t.push(o)}),t}/** 21 * React Router DOM v6.30.1 22 * 23 * Copyright (c) Remix Software Inc. 24 * 25 * This source code is licensed under the MIT license found in the 26 * LICENSE.md file in the root directory of this source tree. 27 * 28 * @license MIT 29 */function ol(){return ol=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},ol.apply(this,arguments)}function vg(n,e){if(n==null)return{};var t={},r=Object.keys(n),s,i;for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&(t[s]=n[s]);return t}function yg(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function xg(n,e){return n.button===0&&(!e||e==="_self")&&!yg(n)}const _g=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],bg="6";try{window.__reactRouterVersion=bg}catch{}const wg="startTransition",su=zd[wg];function Cg(n){let{basename:e,children:t,future:r,window:s}=n,i=y.useRef();i.current==null&&(i.current=Pm({window:s,v5Compat:!0}));let o=i.current,[a,l]=y.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},u=y.useCallback(f=>{c&&su?su(()=>l(f)):l(f)},[l,c]);return y.useLayoutEffect(()=>o.listen(u),[o,u]),y.useEffect(()=>hg(r),[r]),y.createElement(mg,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o,future:r})}const Sg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Eg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mo=y.forwardRef(function(e,t){let{onClick:r,relative:s,reloadDocument:i,replace:o,state:a,target:l,to:c,preventScrollReset:u,viewTransition:f}=e,p=vg(e,_g),{basename:d}=y.useContext(Yn),g,h=!1;if(typeof c=="string"&&Eg.test(c)&&(g=c,Sg))try{let b=new URL(window.location.href),w=c.startsWith("//")?new URL(b.protocol+c):new URL(c),C=Gl(w.pathname,d);w.origin===b.origin&&C!=null?c=C+w.search+w.hash:h=!0}catch{}let m=Zm(c,{relative:s}),_=Tg(c,{replace:o,state:a,target:l,preventScrollReset:u,relative:s,viewTransition:f});function x(b){r&&r(b),b.defaultPrevented||_(b)}return y.createElement("a",ol({},p,{href:g||m,onClick:h||i?r:x,ref:t,target:l}))});var iu;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(iu||(iu={}));var ou;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(ou||(ou={}));function Tg(n,e){let{target:t,replace:r,state:s,preventScrollReset:i,relative:o,viewTransition:a}=e===void 0?{}:e,l=rf(),c=io(),u=nf(n,{relative:o});return y.useCallback(f=>{if(xg(f,t)){f.preventDefault();let p=r!==void 0?r:qo(c)===qo(u);l(n,{replace:p,state:s,preventScrollReset:i,relative:o,viewTransition:a})}},[c,l,u,r,s,t,n,i,o,a])}var au=["light","dark"],Pg="(prefers-color-scheme: dark)",kg=y.createContext(void 0),Ag={setTheme:n=>{},themes:[]},Rg=()=>{var n;return(n=y.useContext(kg))!=null?n:Ag};y.memo(({forcedTheme:n,storageKey:e,attribute:t,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:a,nonce:l})=>{let c=i==="system",u=t==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(g=>`'${g}'`).join(",")})`};`:`var d=document.documentElement,n='${t}',s='setAttribute';`,f=s?au.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(g,h=!1,m=!0)=>{let _=o?o[g]:g,x=h?g+"|| ''":`'${_}
29'`,b="";return s&&m&&!h&&au.includes(g)&&(b+=`d.style.colorScheme = '${g}';`),t==="class"?h||_?b+=`c.add(${x})`:b+="null":_&&(b+=`d[s](n,${x})`),b},d=n?`!function(){${u}${p(n)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${e}');if('system'===e||(!e&&${c})){var t='${Pg}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${c?"":"else{"+p(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${e}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(i,!1,!1)};}${f}}catch(t){}}();`;return y.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:d}})});var Og=n=>{switch(n){case"success":return jg;case"info":return Ig;case"warning":return Dg;case"error":return Lg;default:return null}},Ng=Array(12).fill(0),Mg=({visible:n,className:e})=>B.createElement("div",{className:["sonner-loading-wrapper",e].filter(Boolean).join(" "),"data-visible":n},B.createElement("div",{className:"sonner-spinner"},Ng.map((t,r)=>B.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),jg=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"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",clipRule:"evenodd"})),Dg=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"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",clipRule:"evenodd"})),Ig=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"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",clipRule:"evenodd"})),Lg=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"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",clipRule:"evenodd"})),Fg=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},B.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),B.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),zg=()=>{let[n,e]=B.useState(document.hidden);return B.useEffect(()=>{let t=()=>{e(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),n},al=1,$g=class{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{let e=this.subscribers.indexOf(n);this.subscribers.splice(e,1)}),this.publish=n=>{this.subscribers.forEach(e=>e(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var e;let{message:t,...r}=n,s=typeof(n==null?void 0:n.id)=="number"||((e=n.id)==null?void 0:e.length)>0?n.id:al++,i=this.toasts.find(a=>a.id===s),o=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...n,id:s,title:t}),{...a,...n,id:s,dismissible:o,title:t}):a):this.addToast({title:t,...r,dismissible:o,id:s}),s},this.dismiss=n=>(this.dismissedToasts.add(n),n||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(e=>e({id:n,dismiss:!0})),n),this.message=(n,e)=>this.create({...e,message:n}),this.error=(n,e)=>this.create({...e,message:n,type:"error"}),this.success=(n,e)=>this.create({...e,type:"success",message:n}),this.info=(n,e)=>this.create({...e,type:"info",message:n}),this.warning=(n,e)=>this.create({...e,type:"warning",message:n}),this.loading=(n,e)=>this.create({...e,type:"loading",message:n}),this.promise=(n,e)=>{if(!e)return;let t;e.loading!==void 0&&(t=this.create({...e,promise:n,type:"loading",message:e.loading,description:typeof e.description!="function"?e.description:void 0}));let r=n instanceof Promise?n:n(),s=t!==void 0,i,o=r.then(async l=>{if(i=["resolve",l],B.isValidElement(l))s=!1,this.create({id:t,type:"default",message:l});else if(Ug(l)&&!l.ok){s=!1;let c=typeof e.error=="function"?await e.error(`HTTP error! status: ${l.status}`):e.error,u=typeof e.description=="function"?await e.description(`HTTP error! status: ${l.status}`):e.description;this.create({id:t,type:"error",message:c,description:u})}else if(e.success!==void 0){s=!1;let c=typeof e.success=="function"?await e.success(l):e.success,u=typeof e.description=="function"?await e.description(l):e.description;this.create({id:t,type:"success",message:c,description:u})}}).catch(async l=>{if(i=["reject",l],e.error!==void 0){s=!1;let c=typeof e.error=="function"?await e.error(l):e.error,u=typeof e.description=="function"?await e.description(l):e.description;this.create({id:t,type:"error",message:c,description:u})}}).finally(()=>{var l;s&&(this.dismiss(t),t=void 0),(l=e.finally)==null||l.call(e)}),a=()=>new Promise((l,c)=>o.then(()=>i[0]==="reject"?c(i[1]):l(i[1])).catch(c));return typeof t!="string"&&typeof t!="number"?{unwrap:a}:Object.assign(t,{unwrap:a})},this.custom=(n,e)=>{let t=(e==null?void 0:e.id)||al++;return this.create({jsx:n(t),id:t,...e}),t},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ut=new $g,Bg=(n,e)=>{let t=(e==null?void 0:e.id)||al++;return Ut.addToast({title:n,...e,id:t}),t},Ug=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",Wg=Bg,Vg=()=>Ut.toasts,Hg=()=>Ut.getActiveToasts(),xw=Object.assign(Wg,{success:Ut.success,info:Ut.info,warning:Ut.warning,error:Ut.error,custom:Ut.custom,message:Ut.message,promise:Ut.promise,dismiss:Ut.dismiss,loading:Ut.loading},{getHistory:Vg,getToasts:Hg});function Yg(n,{insertAt:e}={}){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",e==="top"&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n))}Yg(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
29left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
29:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
29--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 30`);function po(n){return n.label!==void 0}var qg=3,Gg="32px",Xg="16px",lu=4e3,Kg=356,Qg=14,Jg=20,Zg=200;function Sr(...n){return n.filter(Boolean).join(" ")}function e0(n){let[e,t]=n.split("-"),r=[];return e&&r.push(e),t&&r.push(t),r}var t0=n=>{var e,t,r,s,i,o,a,l,c,u,f;let{invert:p,toast:d,unstyled:g,interacting:h,setHeights:m,visibleToasts:_,heights:x,index:b,toasts:w,expanded:C,removeToast:T,defaultRichColors:S,closeButton:P,style:k,cancelButtonStyle:R,actionButtonStyle:$,className:A="",descriptionClassName:I="",duration:N,position:L,gap:F,loadingIcon:D,expandByDefault:z,classNames:j,icons:E,closeButtonAriaLabel:X="Close toast",pauseWhenPageIsHidden:V}
30=n,[Q,q]=B.useState(null),[de,Ee]=B.useState(null),[Z,Ie]=B.useState(!1),[Te,ht]=B.useState(!1),[ke,Le]=B.useState(!1),[re,Se]=B.useState(!1),[rt,nt]=B.useState(!1),[O,Ke]=B.useState(0),[pt,wr]=B.useState(0),xe=B.useRef(d.duration||N||lu),pr=B.useRef(null),mt=B.useRef(null),Jr=b===0,Ye=b+1<=_,Be=d.type,_e=d.dismissible!==!1,Qt=d.className||"",$t=d.descriptionClassName||"",Bt=B.useMemo(()=>x.findIndex(J=>J.toastId===d.id)||0,[x,d.id]),Gn=B.useMemo(()=>{var J;return(J=d.closeButton)!=null?J:P},[d.closeButton,P]),Oe=B.useMemo(()=>d.duration||N||lu,[d.duration,N]),gn=B.useRef(0),gt=B.useRef(0),Zr=B.useRef(0),Jt=B.useRef(null),[Nr,en]=L.split("-"),se=B.useMemo(()=>x.reduce((J,ae,me)=>me>=Bt?J:J+ae.height,0),[x,Bt]),Mr=zg(),Zt=d.invert||p,At=Be==="loading";gt.current=B.useMemo(()=>Bt*F+se,[Bt,se]),B.useEffect(()=>{xe.current=Oe},[Oe]),B.useEffect(()=>{Ie(!0)},[]),B.useEffect(()=>{let J=mt.current;if(J){let ae=J.getBoundingClientRect().height;return wr(ae),m(me=>[{toastId:d.id,height:ae,position:d.position},...me]),()=>m(me=>me.filter(K=>K.toastId!==d.id))}},[m,d.id]),B.useLayoutEffect(()=>{if(!Z)return;let J=mt.current,ae=J.style.height;J.style.height="auto";let me=J.getBoundingClientRect().height;J.style.height=ae,wr(me),m(K=>K.find(H=>H.toastId===d.id)?K.map(H=>H.toastId===d.id?{...H,height:me}:H):[{toastId:d.id,height:me,position:d.position},...K])},[Z,d.title,d.description,m,d.id]);let qe=B.useCallback(()=>{ht(!0),Ke(gt.current),m(J=>J.filter(ae=>ae.toastId!==d.id)),setTimeout(()=>{T(d)},Zg)},[d,T,m,gt]);B.useEffect(()=>{if(d.promise&&Be==="loading"||d.duration===1/0||d.type==="loading")return;let J;return C||h||V&&Mr?(()=>{if(Zr.current<gn.current){let ae=new Date().getTime()-gn.current;xe.current=xe.current-ae}Zr.current=new Date().getTime()})():xe.current!==1/0&&(gn.current=new Date().getTime(),J=setTimeout(()=>{var ae;(ae=d.onAutoClose)==null||ae.call(d,d),qe()},xe.current)),()=>clearTimeout(J)},[C,h,d,Be,V,Mr,qe]),B.useEffect(()=>{d.delete&&qe()},[qe,d.delete]);function tn(){var J,ae,me;return E!=null&&E.loading?B.createElement("div",{className:Sr(j==null?void 0:j.loader,(J=d==null?void 0:d.classNames)==null?void 0:J.loader,"sonner-loader"),"data-visible":Be==="loading"},E.loading):D?B.createElement("div",{className:Sr(j==null?void 0:j.loader,(ae=d==null?void 0:d.classNames)==null?void 0:ae.loader,"sonner-loader"),"data-visible":Be==="loading"},D):B.createElement(Mg,{className:Sr(j==null?void 0:j.loader,(me=d==null?void 0:d.classNames)==null?void 0:me.loader),visible:Be==="loading"})}return B.createElement("li",{tabIndex:0,ref:mt,className:Sr(A,Qt,j==null?void 0:j.toast,(e=d==null?void 0:d.classNames)==null?void 0:e.toast,j==null?void 0:j.default,j==null?void 0:j[Be],(t=d==null?void 0:d.classNames)==null?void 0:t[Be]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:S,"data-styled":!(d.jsx||d.unstyled||g),"data-mounted":Z,"data-promise":!!d.promise,"data-swiped":rt,"data-removed":Te,"data-visible":Ye,"data-y-position":Nr,"data-x-position":en,"data-index":b,"data-front":Jr,"data-swiping":ke,"data-dismissible":_e,"data-type":Be,"data-invert":Zt,"data-swipe-out":re,"data-swipe-direction":de,"data-expanded":!!(C||z&&Z),style:{"--index":b,"--toasts-before":b,"--z-index":w.length-b,"--offset":`${Te?O:gt.current}px`,"--initial-height":z?"auto":`${pt}px`,...k,...d.style},onDragEnd:()=>{Le(!1),q(null),Jt.current=null},onPointerDown:J=>{At||!_e||(pr.current=new Date,Ke(gt.current),J.target.setPointerCapture(J.pointerId),J.target.tagName!=="BUTTON"&&(Le(!0),Jt.current={x:J.clientX,y:J.clientY}))},onPointerUp:()=>{var J,ae,me,K;if(re||!_e)return;Jt.current=null;let H=Number(((J=mt.current)==null?void 0:J.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ie=Number(((ae=mt.current)==null?void 0:ae.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),U=new Date().getTime()-((me=pr.current)==null?void 0:me.getTime()),G=Q==="x"?H:ie,Y=Math.abs(G)/U;if(Math.abs(G)>=Jg||Y>.11){Ke(gt.current),(K=d.onDismiss)==null||K.call(d,d),Ee(Q==="x"?H>0?"right":"left":ie>0?"down":"up"),qe(),Se(!0),nt(!1);return}Le(!1),q(null)},onPointerMove:J=>{var ae,me,K,H;if(!Jt.current||!_e||((ae=window.getSelection())==null?void 0:ae.toString().length)>0)return;let ie=J.clientY-Jt.current.y,U=J.clientX-Jt.current.x,G=(me=n.swipeDirections)!=null?me:e0(L);!Q&&(Math.abs(U)>1||Math.abs(ie)>1)&&q(Math.abs(U)>Math.abs(ie)?"x":"y");let Y={x:0,y:0};Q==="y"?(G.includes("top")||G.includes("bottom"))&&(G.includes("top")&&ie<0||G.includes("bottom")&&ie>0)&&(Y.y=ie):Q==="x"&&(G.includes("left")||G.includes("right"))&&(G.includes("left")&&U<0||G.includes("right")&&U>0)&&(Y.x=U),(Math.abs(Y.x)>0||Math.abs(Y.y)>0)&&nt(!0),(K=mt.current)==null||K.style.setProperty("--swipe-amount-x",`${Y.x}px`),(H=mt.current)==null||H.style.setProperty("--swipe-amount-y",`${Y.y}px`)}},Gn&&!d.jsx?B.createElement("button",{"aria-label":X,"data-disabled":At,"data-close-button":!0,onClick:At||!_e?()=>{}:()=>{var J;qe(),(J=d.onDismiss)==null||J.call(d,d)},className:Sr(j==null?void 0:j.closeButton,(s=d==null?void 0:d.classNames)==null?void 0:s.closeButton)}
30,(i=E==null?void 0:E.close)!=null?i:Fg):null,d.jsx||y.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:B.createElement(B.Fragment,null,Be||d.icon||d.promise?B.createElement("div",{"data-icon":"",className:Sr(j==null?void 0:j.icon,(o=d==null?void 0:d.classNames)==null?void 0:o.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||tn():null,d.type!=="loading"?d.icon||(E==null?void 0:E[Be])||Og(Be):null):null,B.createElement("div",{"data-content":"",className:Sr(j==null?void 0:j.content,(a=d==null?void 0:d.classNames)==null?void 0:a.content)},B.createElement("div",{"data-title":"",className:Sr(j==null?void 0:j.title,(l=d==null?void 0:d.classNames)==null?void 0:l.title)},typeof d.title=="function"?d.title():d.title),d.description?B.createElement("div",{"data-description":"",className:Sr(I,$t,j==null?void 0:j.description,(c=d==null?void 0:d.classNames)==null?void 0:c.description)},typeof d.description=="function"?d.description():d.description):null),y.isValidElement(d.cancel)?d.cancel:d.cancel&&po(d.cancel)?B.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||R,onClick:J=>{var ae,me;po(d.cancel)&&_e&&((me=(ae=d.cancel).onClick)==null||me.call(ae,J),qe())},className:Sr(j==null?void 0:j.cancelButton,(u=d==null?void 0:d.classNames)==null?void 0:u.cancelButton)},d.cancel.label):null,y.isValidElement(d.action)?d.action:d.action&&po(d.action)?B.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||$,onClick:J=>{var ae,me;po(d.action)&&((me=(ae=d.action).onClick)==null||me.call(ae,J),!J.defaultPrevented&&qe())},className:Sr(j==null?void 0:j.actionButton,(f=d==null?void 0:d.classNames)==null?void 0:f.actionButton)},d.action.label):null))};function cu(){if(typeof window>"u"||typeof document>"u")return"ltr";let n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function r0(n,e){let t={};return[n,e].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",a=i?Xg:Gg;function l(c){["top","right","bottom","left"].forEach(u=>{t[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?t[`${o}-${c}`]=a:t[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),t}var n0=y.forwardRef(function(n,e){let{invert:t,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:f,duration:p,style:d,visibleToasts:g=qg,toastOptions:h,dir:m=cu(),gap:_=Qg,loadingIcon:x,icons:b,containerAriaLabel:w="Notifications",pauseWhenPageIsHidden:C}=n,[T,S]=B.useState([]),P=B.useMemo(()=>Array.from(new Set([r].concat(T.filter(V=>V.position).map(V=>V.position)))),[T,r]),[k,R]=B.useState([]),[$,A]=B.useState(!1),[I,N]=B.useState(!1),[L,F]=B.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),D=B.useRef(null),z=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=B.useRef(null),E=B.useRef(!1),X=B.useCallback(V=>{S(Q=>{var q;return(q=Q.find(de=>de.id===V.id))!=null&&q.delete||Ut.dismiss(V.id),Q.filter(({id:de})=>de!==V.id)})},[]);return B.useEffect(()=>Ut.subscribe(V=>{if(V.dismiss){S(Q=>Q.map(q=>q.id===V.id?{...q,delete:!0}:q));return}setTimeout(()=>{$d.flushSync(()=>{S(Q=>{let q=Q.findIndex(de=>de.id===V.id);return q!==-1?[...Q.slice(0,q),{...Q[q],...V},...Q.slice(q+1)]:[V,...Q]})})})}),[]),B.useEffect(()=>{if(u!=="system"){F(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),typeof window>"u")return;let V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:Q})=>{F(Q?"dark":"light")})}catch{V.addListener(({matches:q})=>{try{F(q?"dark":"light")}catch(de){console.error(de)}})}},[u]),B.useEffect(()=>{T.length<=1&&A(!1)},[T]),B.useEffect(()=>{let V=Q=>{var q,de;s.every(Ee=>
30Q[Ee]||Q.code===Ee)&&(A(!0),(q=D.current)==null||q.focus()),Q.code==="Escape"&&(document.activeElement===D.current||(de=D.current)!=null&&de.contains(document.activeElement))&&A(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[s]),B.useEffect(()=>{if(D.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,E.current=!1)}},[D.current]),B.createElement("section",{ref:e,"aria-label":`${w} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((V,Q)=>{var q;let[de,Ee]=V.split("-");return T.length?B.createElement("ol",{key:V,dir:m==="auto"?cu():m,tabIndex:-1,ref:D,className:a,"data-sonner-toaster":!0,"data-theme":L,"data-y-position":de,"data-lifted":$&&T.length>1&&!i,"data-x-position":Ee,style:{"--front-toast-height":`${((q=k[0])==null?void 0:q.height)||0}px`,"--width":`${Kg}px`,"--gap":`${_}px`,...d,...r0(l,c)},onBlur:Z=>{E.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(E.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||E.current||(E.current=!0,j.current=Z.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{I||A(!1)},onDragEnd:()=>A(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||N(!0)},onPointerUp:()=>N(!1)},T.filter(Z=>!Z.position&&Q===0||Z.position===V).map((Z,Ie)=>{var Te,ht;return B.createElement(t0,{key:Z.id,icons:b,index:Ie,toast:Z,defaultRichColors:f,duration:(Te=h==null?void 0:h.duration)!=null?Te:p,className:h==null?void 0:h.className,descriptionClassName:h==null?void 0:h.descriptionClassName,invert:t,visibleToasts:g,closeButton:(ht=h==null?void 0:h.closeButton)!=null?ht:o,interacting:I,position:V,style:h==null?void 0:h.style,unstyled:h==null?void 0:h.unstyled,classNames:h==null?void 0:h.classNames,cancelButtonStyle:h==null?void 0:h.cancelButtonStyle,actionButtonStyle:h==null?void 0:h.actionButtonStyle,removeToast:X,toasts:T.filter(ke=>ke.position==Z.position),heights:k.filter(ke=>ke.position==Z.position),setHeights:R,expandByDefault:i,gap:_,loadingIcon:x,expanded:$,pauseWhenPageIsHidden:C,swipeDirections:n.swipeDirections})})):null}))});const s0=({...n})=>{const{theme:e="system"}=Rg();return v.jsx(n0,{theme:e,className:"toaster group",toastOptions:{classNames:{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"}},...n})},i0=1,o0=1e6;let Da=0;function a0(){return Da=(Da+1)%Number.MAX_SAFE_INTEGER,Da.toString()}const Ia=new Map,uu=n=>{if(Ia.has(n))return;const e=setTimeout(()=>{Ia.delete(n),Pi({type:"REMOVE_TOAST",toastId:n})},o0);Ia.set(n,e)},l0=(n,e)=>{switch(e.type){case"ADD_TOAST":return{...n,toasts:[e.toast,...n.toasts].slice(0,i0)};case"UPDATE_TOAST":return{...n,toasts:n.toasts.map(t=>t.id===e.toast.id?{...t,...e.toast}:t)};case"DISMISS_TOAST":{const{toastId:t}=e;return t?uu(t):n.toasts.forEach(r=>{uu(r.id)}),{...n,toasts:n.toasts.map(r=>r.id===t||t===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return e.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(t=>t.id!==e.toastId)}}},jo=[];let Do={toasts:[]};function Pi(n){Do=l0(Do,n),jo.forEach(e=>{e(Do)})}function c0({...n}){const e=a0(),t=s=>Pi({type:"UPDATE_TOAST",toast:{...s,id:e}}),r=()=>Pi({type:"DISMISS_TOAST",toastId:e});return Pi({type:"ADD_TOAST",toast:{...n,id:e,open:!0,onOpenChange:s=>{s||r()}}}),{id:e,dismiss:r,update:t}}function u0(){const[n,e]=y.useState(Do);return y.useEffect(()=>(jo.push(e),()=>{const t=jo.indexOf(e);t>-1&&jo.splice(t,1)}),[n]),{...n,toast:c0,dismiss:t=>Pi({type:"DISMISS_TOAST",toastId:t})}}function tt(n,e,{checkForDefaultPrevented:t=!0}={}){return function(s){if(n==null||n(s),t===!1||!s.defaultPrevented)return e==null?void 0:e(s)}}function du(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}function af(...n){return e=>{let t=!1;const r=n.map(s=>{const i=du(s,e);return!t&&typeof i=="function"&&(t=!0),i});if(t)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():du(n[s],null)}}}}function Ar(...n){return y.useCallback(af(...n),n)}function _w(n,e){const t=y.createContext(e),r=i=>{const{children:o,...a}=i,l=y.useMemo(()=>a,Object.values(a));return v.jsx(t.Provider,{value:l,children:o})};r.displayName=n+"Provider";function s(i){const o=y.useContext(t);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${n}\``)}return[r,s]}function ga(n,e=[]){let t=[];function r(i,o){const a=y.createContext(o),l=t.length;t=[...t,o];const c=f=>{var _;const{scope:p,children:d,...g}=f,h=((_=p==null?void 0:p[n])==null?void 0:_[l])||a,m=y.useMemo(()=>g,Object.values(g));return v.jsx(h.Provider,{value:m,children:d})};c.displayName=i+"Provider";function u(f,p){var h;const d=((h=p==null?void 0:p[n])==null?void 0:h[l])||a,g=y.useContext(d);if(g)return g;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[c,u]}const s=()=>{const i=t.map(o=>y.createContext(o));return function(a){const l=(a==null?void 0:a[n])||i;return y.useMemo(()=>({[`__scope${n}`]:{...a,[n]:l}}),[a,l])}};return s.scopeName=n,[r,d0(s,...e)]}function d0(...n){const e=n[0];if(n.length===1)return e;const t=()=>{const r=n.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:l,scopeName:c}
30)=>{const f=l(i)[`__scope${c}`];return{...a,...f}},{});return y.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return t.scopeName=e.scopeName,t}function Xo(n){const e=f0(n),t=y.forwardRef((r,s)=>{const{children:i,...o}=r,a=y.Children.toArray(i),l=a.find(p0);if(l){const c=l.props.children,u=a.map(f=>f===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:f);return v.jsx(e,{...o,ref:s,children:y.isValidElement(c)?y.cloneElement(c,void 0,u):null})}return v.jsx(e,{...o,ref:s,children:i})});return t.displayName=`${n}.Slot`,t}var bw=Xo("Slot");function f0(n){const e=y.forwardRef((t,r)=>{const{children:s,...i}=t;if(y.isValidElement(s)){const o=g0(s),a=m0(i,s.props);return s.type!==y.Fragment&&(a.ref=r?af(r,o):o),y.cloneElement(s,a)}return y.Children.count(s)>1?y.Children.only(null):null});return e.displayName=`${n}.SlotClone`,e}var lf=Symbol("radix.slottable");function h0(n){const e=({children:t})=>v.jsx(v.Fragment,{children:t});return e.displayName=`${n}.Slottable`,e.__radixId=lf,e}function p0(n){return y.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===lf}function m0(n,e){const t={...e};for(const r in e){const s=n[r],i=e[r];/^on[A-Z]/.test(r)?s&&i?t[r]=(...a)=>{const l=i(...a);return s(...a),l}:s&&(t[r]=s):r==="style"?t[r]={...s,...i}:r==="className"&&(t[r]=[s,i].filter(Boolean).join(" "))}return{...n,...t}}function g0(n){var r,s;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}function v0(n){const e=n+"CollectionProvider",[t,r]=ga(e),[s,i]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:m,children:_}=h,x=B.useRef(null),b=B.useRef(new Map).current;return v.jsx(s,{scope:m,itemMap:b,collectionRef:x,children:_})};o.displayName=e;const a=n+"CollectionSlot",l=Xo(a),c=B.forwardRef((h,m)=>{const{scope:_,children:x}=h,b=i(a,_),w=Ar(m,b.collectionRef);return v.jsx(l,{ref:w,children:x})});c.displayName=a;const u=n+"CollectionItemSlot",f="data-radix-collection-item",p=Xo(u),d=B.forwardRef((h,m)=>{const{scope:_,children:x,...b}=h,w=B.useRef(null),C=Ar(m,w),T=i(u,_);return B.useEffect(()=>(T.itemMap.set(w,{ref:w,...b}),()=>void T.itemMap.delete(w))),v.jsx(p,{[f]:"",ref:C,children:x})});d.displayName=u;function g(h){const m=i(n+"CollectionConsumer",h);return B.useCallback(()=>{const x=m.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${f}]`));return Array.from(m.itemMap.values()).sort((T,S)=>b.indexOf(T.ref.current)-b.indexOf(S.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:o,Slot:c,ItemSlot:d},g,r]}var y0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Kt=y0.reduce((n,e)=>{const t=Xo(`Primitive.${e}`),r=y.forwardRef((s,i)=>{const{asChild:o,...a}=s,l=o?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${e}`,{...n,[e]:r}},{});function cf(n,e){n&&fa.flushSync(()=>n.dispatchEvent(e))}function Fn(n){const e=y.useRef(n);return y.useEffect(()=>{e.current=n}),y.useMemo(()=>(...t)=>{var r;return(r=e.current)==null?void 0:r.call(e,...t)},[])}function x0(n,e=globalThis==null?void 0:globalThis.document){const t=Fn(n);y.useEffect(()=>{const r=s=>{s.key==="Escape"&&t(s)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}var _0="DismissableLayer",ll="dismissableLayer.update",b0="dismissableLayer.pointerDownOutside",w0="dismissableLayer.focusOutside",fu,uf=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Jl=y.forwardRef((n,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...l}=n,c=y.useContext(uf),[u,f]=y.useState(null),p=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=y.useState({}),g=Ar(e,S=>f(S)),h=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),_=h.indexOf(m),x=u?h.indexOf(u):-1,b=c.layersWithOutsidePointerEventsDisabled.size>0,w=x>=_,C=S0(S=>{const P=S.target,k=[...c.branches].some(R=>R.contains(P));!w||k||(s==null||s(S),o==null||o(S),S.defaultPrevented||a==null||a())},p),T=E0(S=>{const P=S.target;[...c.branches].some(R=>R.contains(P))||(i==null||i(S),o==null||o(S),S.defaultPrevented||a==null||a())},p);return x0(S=>{x===c.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&a&&(S.preventDefault(),a()))},p),y.useEffect(()=>{if(u)return t&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(fu=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),hu(),()=>{t&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=fu)}},[u,p,t,c]),y.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),hu())},[u,c]),y.useEffect(()=>{const S=()=>d({});
30return document.addEventListener(ll,S),()=>document.removeEventListener(ll,S)},[]),v.jsx(Kt.div,{...l,ref:g,style:{pointerEvents:b?w?"auto":"none":void 0,...n.style},onFocusCapture:tt(n.onFocusCapture,T.onFocusCapture),onBlurCapture:tt(n.onBlurCapture,T.onBlurCapture),onPointerDownCapture:tt(n.onPointerDownCapture,C.onPointerDownCapture)})});Jl.displayName=_0;var C0="DismissableLayerBranch",df=y.forwardRef((n,e)=>{const t=y.useContext(uf),r=y.useRef(null),s=Ar(e,r);return y.useEffect(()=>{const i=r.current;if(i)return t.branches.add(i),()=>{t.branches.delete(i)}},[t.branches]),v.jsx(Kt.div,{...n,ref:s})});df.displayName=C0;function S0(n,e=globalThis==null?void 0:globalThis.document){const t=Fn(n),r=y.useRef(!1),s=y.useRef(()=>{});return y.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){ff(b0,t,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(e.removeEventListener("click",s.current),s.current=l,e.addEventListener("click",s.current,{once:!0})):l()}else e.removeEventListener("click",
30s.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",i),e.removeEventListener("click",s.current)}},[e,t]),{onPointerDownCapture:()=>r.current=!0}}function E0(n,e=globalThis==null?void 0:globalThis.document){const t=Fn(n),r=y.useRef(!1);return y.useEffect(()=>{const s=i=>{i.target&&!r.current&&ff(w0,t,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",s),()=>e.removeEventListener("focusin",s)},[e,t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function hu(){const n=new CustomEvent(ll);document.dispatchEvent(n)}function ff(n,e,t,{discrete:r}){const s=t.originalEvent.target,i=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),r?cf(s,i):s.dispatchEvent(i)}var T0=Jl,P0=df,zn=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},k0="Portal",hf=y.forwardRef((n,e)=>{var a;const{container:t,...r}=n,[s,i]=y.useState(!1);zn(()=>i(!0),[]);const o=t||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?$d.createPortal(v.jsx(Kt.div,{...r,ref:e}),o):null});hf.displayName=k0;function A0(n,e){return y.useReducer((t,r)=>e[t][r]??t,n)}var Zl=n=>{const{present:e,children:t}=n,r=R0(e),s=typeof t=="function"?t({present:r.isPresent}):y.Children.only(t),i=Ar(r.ref,O0(s));return typeof t=="function"||r.isPresent?y.cloneElement(s,{ref:i}):null};Zl.displayName="Presence";function R0(n){const[e,t]=y.useState(),r=y.useRef(null),s=y.useRef(n),i=y.useRef("none"),o=n?"mounted":"unmounted",[a,l]=A0(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const c=mo(r.current);i.current=a==="mounted"?c:"none"},[a]),zn(()=>{const c=r.current,u=s.current;if(u!==n){const p=i.current,d=mo(c);n?l("MOUNT"):d==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&p!==d?"ANIMATION_OUT":"UNMOUNT"),s.current=n}},[n,l]),zn(()=>{if(e){let c;const u=e.ownerDocument.defaultView??window,f=d=>{const h=mo(r.current).includes(d.animationName);if(d.target===e&&h&&(l("ANIMATION_END"),!s.current)){const m=e.style.animationFillMode;e.style.animationFillMode="forwards",c=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=m)})}},p=d=>{d.target===e&&(i.current=mo(r.current))};return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{u.clearTimeout(c),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:y.useCallback(c=>{r.current=c?getComputedStyle(c):null,t(c)},[])}}function mo(n){return(n==null?void 0:n.animationName)||"none"}function O0(n){var r,s;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(s=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:s.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}var N0=zd[" useInsertionEffect ".trim().toString()]||zn;function M0({prop:n,defaultProp:e,onChange:t=()=>{},caller:r}){const[s,i,o]=j0({defaultProp:e,onChange:t}),a=n!==void 0,l=a?n:s;{const u=y.useRef(n!==void 0);y.useEffect(()=>{const f=u.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,r])}const c=y.useCallback(u=>{var f;if(a){const p=D0(u)?u(n):u;p!==n&&((f=o.current)==null||f.call(o,p))}else i(u)}
30,[a,n,i,o]);return[l,c]}function j0({defaultProp:n,onChange:e}){const[t,r]=y.useState(n),s=y.useRef(t),i=y.useRef(e);return N0(()=>{i.current=e},[e]),y.useEffect(()=>{var o;s.current!==t&&((o=i.current)==null||o.call(i,t),s.current=t)},[t,s]),[t,r,i]}function D0(n){return typeof n=="function"}var I0=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),L0="VisuallyHidden",va=y.forwardRef((n,e)=>v.jsx(Kt.span,{...n,ref:e,style:{...I0,...n.style}}));va.displayName=L0;var F0=va,ec="ToastProvider",[tc,z0,$0]=v0("Toast"),[pf,ww]=ga("Toast",[$0]),[B0,ya]=pf(ec),mf=n=>{const{__scopeToast:e,label:t="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=n,[a,l]=y.useState(null),[c,u]=y.useState(0),f=y.useRef(!1),p=y.useRef(!1);return t.trim()||console.error(`Invalid prop \`label\` supplied to \`${ec}\`. Expected non-empty \`string\`.`),v.jsx(tc.Provider,{scope:e,children:v.jsx(B0,{scope:e,label:t,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:y.useCallback(()=>u(d=>d+1),[]),onToastRemove:y.useCallback(()=>u(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:o})})};mf.displayName=ec;var gf="ToastViewport",U0=["F8"],cl="toast.viewportPause",ul="toast.viewportResume",vf=y.forwardRef((n,e)=>{const{__scopeToast:t,hotkey:r=U0,label:s="Notifications ({hotkey})",...i}=n,o=ya(gf,t),a=z0(t),l=y.useRef(null),c=y.useRef(null),u=y.useRef(null),f=y.useRef(null),p=Ar(e,f,o.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=o.toastCount>0;y.useEffect(()=>{const m=_=>{var b;r.length!==0&&r.every(w=>_[w]||_.code===w)&&((b=f.current)==null||b.focus())};return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[r]),y.useEffect(()=>{const m=l.current,_=f.current;if(g&&m&&_){const x=()=>{if(!o.isClosePausedRef.current){const T=new CustomEvent(cl);_.dispatchEvent(T),o.isClosePausedRef.current=!0}},b=()=>{if(o.isClosePausedRef.current){const T=new CustomEvent(ul);_.dispatchEvent(T),o.isClosePausedRef.current=!1}},w=T=>{!m.contains(T.relatedTarget)&&b()},C=()=>{m.contains(document.activeElement)||b()};return m.addEventListener("focusin",x),m.addEventListener("focusout",w),m.addEventListener("pointermove",x),m.addEventListener("pointerleave",C),window.addEventListener("blur",x),window.addEventListener("focus",b),()=>{m.removeEventListener("focusin",x),m.removeEventListener("focusout",w),m.removeEventListener("pointermove",x),m.removeEventListener("pointerleave",C),window.removeEventListener("blur",x),window.removeEventListener("focus",b)}}},[g,o.isClosePausedRef]);const h=y.useCallback(({tabbingDirection:m})=>{const x=a().map(b=>{const w=b.ref.current,C=[w,...tv(w)];return m==="forwards"?C:C.reverse()});return(m==="forwards"?x.reverse():x).flat()},[a]);return y.useEffect(()=>{const m=f.current;if(m){const _=x=>{var C,T,S;const b=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!b){const P=document.activeElement,k=x.shiftKey;if(x.target===m&&k){(C=c.current)==null||C.focus();return}const A=h({tabbingDirection:k?"backwards":"forwards"}),I=A.findIndex(N=>N===P);La(A.slice(I+1))?x.preventDefault():k?(T=c.current)==null||T.focus():(S=u.current)==null||S.focus()}};return m.addEventListener("keydown",_),()=>m.removeEventListener("keydown",_)}},[a,h]),v.jsxs(P0,{ref:l,role:"region","aria-label":s.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&v.jsx(dl,{ref:c,onFocusFromOutsideViewport:()=>{const m=h({tabbingDirection:"forwards"});La(m)}}),v.jsx(tc.Slot,{scope:t,children:v.jsx(Kt.ol,{tabIndex:-1,...i,ref:p})}),g&&v.jsx(dl,{ref:u,onFocusFromOutsideViewport:()=>{const m=h({tabbingDirection:"backwards"});La(m)}})]})});vf.displayName=gf;var yf="ToastFocusProxy",dl=y.forwardRef((n,e)=>{const{__scopeToast:t,onFocusFromOutsideViewport:r,...s}=n,i=ya(yf,t);return v.jsx(va,{"aria-hidden":!0,tabIndex:0,...s,ref:e,style:{position:"fixed"},onFocus:o=>{var c;const a=o.relatedTarget;!((c=i.viewport)!=null&&c.contains(a))&&r()}})});dl.displayName=yf;var oo="Toast",W0="toast.swipeStart",V0="toast.swipeMove",H0="toast.swipeCancel",Y0="toast.swipeEnd",xf=y.forwardRef((n,e)=>{const{forceMount:t,open:r,defaultOpen:s,onOpenChange:i,...o}=n,[a,l]=M0({prop:r,defaultProp:s??!0,onChange:i,caller:oo});return v.jsx(Zl,{present:t||a,children:v.jsx(X0,{open:a,...o,ref:e,onClose:()=>l(!1),onPause:Fn(n.onPause),onResume:Fn(n.onResume),onSwipeStart:tt(n.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:tt(n.onSwipeMove,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:tt(n.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:tt(n.onSwipeEnd,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});xf.displayName=oo;var[q0,G0]=pf(oo,{onClose(){}}),X0=y.forwardRef((n,e)=>{const{__scopeToast:t,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:d,...g}=n,h=ya(oo,t),[m,_]=y.useState(null),x=Ar(e,N=>_(N)),b=y.useRef(null),w=y.useRef(null),C=s||h.duration,T=y.useRef(0),S=y.useRef(C),P=y.useRef(0),{onToastAdd:k,onToastRemove:R}=h,$=Fn(()=>{var L;(m==null?void 0:m.contains(document.activeElement))&&((L=h.viewport)==null||L.focus()),o()}),A=y.useCallback(N=>
30{!N||N===1/0||(window.clearTimeout(P.current),T.current=new Date().getTime(),P.current=window.setTimeout($,N))},[$]);y.useEffect(()=>{const N=h.viewport;if(N){const L=()=>{A(S.current),c==null||c()},F=()=>{const D=new Date().getTime()-T.current;S.current=S.current-D,window.clearTimeout(P.current),l==null||l()};return N.addEventListener(cl,F),N.addEventListener(ul,L),()=>{N.removeEventListener(cl,F),N.removeEventListener(ul,L)}}},[h.viewport,C,l,c,A]),y.useEffect(()=>{i&&!h.isClosePausedRef.current&&A(C)},[i,C,h.isClosePausedRef,A]),y.useEffect(()=>(k(),()=>R()),[k,R]);const I=y.useMemo(()=>m?Tf(m):null,[m]);return h.viewport?v.jsxs(v.Fragment,{children:[I&&v.jsx(K0,{__scopeToast:t,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:I}),v.jsx(q0,{scope:t,onClose:$,children:fa.createPortal(v.jsx(tc.ItemSlot,{scope:t,children:v.jsx(T0,{asChild:!0,onEscapeKeyDown:tt(a,()=>{h.isFocusedToastEscapeKeyDownRef.current||$(),h.isFocusedToastEscapeKeyDownRef.current=!1}),children:v.jsx(Kt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":h.swipeDirection,...g,ref:x,style:{userSelect:"none",touchAction:"none",...n.style},onKeyDown:tt(n.onKeyDown,N=>{N.key==="Escape"&&(a==null||a(N.nativeEvent),N.nativeEvent.defaultPrevented||(h.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:tt(n.onPointerDown,N=>{N.button===0&&(b.current={x:N.clientX,y:N.clientY})}),onPointerMove:tt(n.onPointerMove,N=>{if(!b.current)return;const L=N.clientX-b.current.x,F=N.clientY-b.current.y,D=!!w.current,z=["left","right"].includes(h.swipeDirection),j=["left","up"].includes(h.swipeDirection)?Math.min:Math.max,E=z?j(0,L):0,X=z?0:j(0,F),V=N.pointerType==="touch"?10:2,Q={x:E,y:X},q={originalEvent:N,delta:Q};D?(w.current=Q,go(V0,f,q,{discrete:!1})):pu(Q,h.swipeDirection,V)?(w.current=Q,go(W0,u,q,{discrete:!1}),N.target.setPointerCapture(N.pointerId)):(Math.abs(L)>V||Math.abs(F)>V)&&(b.current=null)}),onPointerUp:tt(n.onPointerUp,N=>{const L=w.current,F=N.target;if(F.hasPointerCapture(N.pointerId)&&F.releasePointerCapture(N.pointerId),w.current=null,b.current=null,L){const D=N.currentTarget,z={originalEvent:N,delta:L};pu(L,h.swipeDirection,h.swipeThreshold)?go(Y0,d,z,{discrete:!0}):go(H0,p,z,{discrete:!0}),D.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null}),K0=n=>{const{__scopeToast:e,children:t,...r}=n,s=ya(oo,e),[i,o]=y.useState(!1),[a,l]=y.useState(!1);return Z0(()=>o(!0)),y.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:v.jsx(hf,{asChild:!0,children:v.jsx(va,{...r,children:i&&v.jsxs(v.Fragment,{children:[s.label," ",t]})})})},Q0="ToastTitle",_f=y.forwardRef((n,e)=>{const{__scopeToast:t,...r}=n;return v.jsx(Kt.div,{...r,ref:e})});
30_f.displayName=Q0;var J0="ToastDescription",bf=y.forwardRef((n,e)=>{const{__scopeToast:t,...r}=n;return v.jsx(Kt.div,{...r,ref:e})});bf.displayName=J0;var wf="ToastAction",Cf=y.forwardRef((n,e)=>{const{altText:t,...r}=n;return t.trim()?v.jsx(Ef,{altText:t,asChild:!0,children:v.jsx(rc,{...r,ref:e})}):(console.error(`Invalid prop \`altText\` supplied to \`${wf}\`. Expected non-empty \`string\`.`),null)});Cf.displayName=wf;var Sf="ToastClose",rc=y.forwardRef((n,e)=>{const{__scopeToast:t,...r}=n,s=G0(Sf,t);return v.jsx(Ef,{asChild:!0,children:v.jsx(Kt.button,{type:"button",...r,ref:e,onClick:tt(n.onClick,s.onClose)})})});rc.displayName=Sf;var Ef=y.forwardRef((n,e)=>{const{__scopeToast:t,altText:r,...s}=n;return v.jsx(Kt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:e})});function Tf(n){const e=[];return Array.from(n.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&e.push(r.textContent),ev(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&e.push(o)}else e.push(...Tf(r))}}),e}function go(n,e,t,{discrete:r}){const s=t.originalEvent.currentTarget,i=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:t});e&&s.addEventListener(n,e,{once:!0}),r?cf(s,i):s.dispatchEvent(i)}var pu=(n,e,t=0)=>{const r=Math.abs(n.x),s=Math.abs(n.y),i=r>s;return e==="left"||e==="right"?i&&r>t:!i&&s>t};function Z0(n=()=>{}){const e=Fn(n);zn(()=>{let t=0,r=0;return t=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(t),window.cancelAnimationFrame(r)}},[e])}function ev(n){return n.nodeType===n.ELEMENT_NODE}function tv(n){const e=[],t=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)e.push(t.currentNode);return e}function La(n){const e=document.activeElement;return n.some(t=>t===e?!0:(t.focus(),document.activeElement!==e))}var rv=mf,Pf=vf,kf=xf,Af=_f,Rf=bf,Of=Cf,Nf=rc;const mu=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,gu=Bd,nv=(n,e)=>t=>{var r;if((e==null?void 0:e.variants)==null)return gu(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:s,defaultVariants:i}=e,o=Object.keys(s).map(c=>{const u=t==null?void 0:t[c],f=i==null?void 0:i[c];if(u===null)return null;const p=mu(u)||mu(f);return s[c][p]}),a=t&&Object.entries(t).reduce((c,u)=>{let[f,p]=u;return p===void 0||(c[f]=p),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:f,className:p,...d}=u;return Object.entries(d).every(g=>{let[h,m]=g;return Array.isArray(m)?m.includes({...i,...a}[h]):{...i,...a}[h]===m})?[...c,f,p]:c},[]);return gu(n,o,l,t==null?void 0:t.class,t==null?void 0:t.className)};/** 31 * @license lucide-react v0.462.0 - ISC 32 * 33 * This source code is licensed under the ISC license. 34 * See the LICENSE file in the root directory of this source tree. 35 */const sv=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Mf=(...n)=>n.filter((e,t,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===t).join(" ").trim();/** 36 * @license lucide-react v0.462.0 - ISC 37 * 38 * This source code is licensed under the ISC license. 39 * See the LICENSE file in the root directory of this source tree. 40 */var iv={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const ov=y.forwardRef(({color:n="currentColor",size:e=24,strokeWidth:t=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},l)=>y.createElement("svg",{ref:l,...iv,width:e,height:e,stroke:n,strokeWidth:r?Number(t)*24/Number(e):t,className:Mf("lucide",s),...a},[...o.map(([c,u])=>y.createElement(c,u)),...Array.isArray(i)?i:[i]]));/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */const ai=(n,e)=>{const t=y.forwardRef(({className:r,...s},i)=>y.createElement(ov,{ref:i,iconNode:e,className:Mf(`lucide-${sv(n)}`,r),...s}));return t.displayName=`${n}`,t};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const fl=ai("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const av=ai("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const lv=ai("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const cv=ai("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 6,531 bytes, lines 70-80
70y:"oel41y"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const uv=ai("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const dv=ai("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),nc="-",fv=n=>{const e=pv(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:o=>{const a=o.split(nc);return a[0]===""&&a.length!==1&&a.shift(),jf(a,e)||hv(o)},getConflictingClassGroupIds:(o,a)=>{const l=t[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},jf=(n,e)=>{var o;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),s=r?jf(n.slice(1),r):void 0;if(s)return s;if(e.validators.length===0)return;const i=n.join(nc);return(o=e.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},vu=/^\[(.+)\]$/,hv=n=>{if(vu.test(n)){const e=vu.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},pv=n=>{const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return gv(Object.entries(n.classGroups),t).forEach(([i,o])=>{hl(o,r,i,e)}),r},hl=(n,e,t,r)=>{n.forEach(s=>{if(typeof s=="string"){const i=s===""?e:yu(e,s);i.classGroupId=t;return}if(typeof s=="function"){if(mv(s)){hl(s(r),e,t,r);return}e.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([i,o])=>{hl(o,yu(e,i),t,r)})})},yu=(n,e)=>{let t=n;return e.split(nc).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t},mv=n=>n.isThemeGetter,gv=(n,e)=>e?n.map(([t,r])=>{const s=r.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[e+o,a])):i);return[t,s]}):n,vv=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;const s=(i,o)=>{t.set(i,o),e++,e>n&&(e=0,r=t,t=new Map)};return{get(i){let o=t.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){t.has(i)?t.set(i,o):s(i,o)}}},Df="!",yv=n=>{const{separator:e,experimentalParseClassName:t}=n,r=e.length===1,s=e[0],i=e.length,o=a=>{const l=[];let c=0,u=0,f;for(let m=0;m<a.length;m++){let _=a[m];if(c===0){if(_===s&&(r||a.slice(m,m+i)===e)){l.push(a.slice(u,m)),u=m+i;continue}if(_==="/"){f=m;continue}}_==="["?c++:_==="]"&&c--}const p=l.length===0?a:a.substring(u),d=p.startsWith(Df),g=d?p.substring(1):p,h=f&&f>u?f-u:void 0;return{modifiers:l,hasImportantModifier:d,baseClassName:g,maybePostfixModifierPosition:h}};return t?a=>t({className:a,parseClassName:o}):o},xv=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e},_v=n=>({cache:vv(n.cacheSize),parseClassName:yv(n),...fv(n)}),bv=/\s+/,wv=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:s}=e,i=[],o=n.trim().split(bv);let a="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:u,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:d}=t(c);let g=!!d,h=r(g?p.substring(0,d):p);if(!h){if(!g){a=c+(a.length>0?" "+a:a);continue}if(h=r(p),!h){a=c+(a.length>0?" "+a:a);continue}g=!1}const m=xv(u).join(":"),_=f?m+Df:m,x=_+h;if(i.includes(x))continue;i.push(x);const b=s(h,g);for(let w=0;w<b.length;++w){const C=b[w];i.push(_+C)}a=c+(a.length>0?" "+a:a)}return a};function Cv(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=If(e))&&(r&&(r+=" "),r+=t);return r}const If=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=If(n[r]))&&(t&&(t+=" "),t+=e);return t};function Sv(n,...e){let t,r,s,i=o;function o(l){const c=e.reduce((u,f)=>f(u),n());return t=_v(c),r=t.cache.get,s=t.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=wv(l,t);return s(l,u),u}return function(){return i(Cv.apply(null,arguments))}}const Pe=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},Lf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ev=/^\d+\/\d+$/,Tv=new Set(["px","full","screen"]),Pv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Av=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Rv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ov=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=n=>Ms(n)||Tv.has(n)||Ev.test(n),yn=n=>li(n,"length",zv),Ms=n=>!!n&&!Number.isNaN(Number(n)),Fa=n=>li(n,"number",Ms),hi=n=>!!n&&Number.isInteger(Number(n)),Nv=n=>n.endsWith("%")&&Ms(n.slice(0,-1)),ne=n=>Lf.test(n),xn=n=>Pv.test(n),Mv=new Set(["length","size","percentage"]),jv=n=>li(n,Mv,Ff),Dv=n=>li(n,"position",Ff),Iv=new Set(["image","url"]),Lv=n=>li(n,Iv,Bv),Fv=n=>li(n,"",$v),pi=()=>!0,li=(n,e,t)=>{const r=Lf.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1},zv=n=>kv.test(n)&&!Av.test(n),Ff=()=>!1,$v=n=>Rv.test(n),Bv=n=>Ov.test(n),Uv=()=>{const n=Pe("colors"),e=Pe("spacing"),t=Pe("blur"),r=Pe("brightness"),s=Pe("borderColor"),i=Pe("borderRadius"),o=Pe("borderSpacing"),a=Pe("borderWidth"),l=Pe("contrast"),c=Pe("grayscale"),u=Pe("hueRotate"),f=Pe("invert"),p=Pe("gap"),d=Pe("gradientColorStops"),g=Pe("gradientColorStopPositions"),h=Pe("inset"),m=Pe("margin"),_=Pe("opacity"),x=Pe("padding"),b=Pe("saturate"),w=Pe("scale"),C=Pe("sepia"),T=Pe("skew"),S=Pe("space"),P=Pe("translate"),k=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",ne,e],A=()=>[ne,e],I=()=>["",rn,yn],N=()=>["auto",Ms,ne],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>["start","end","center","between","around","evenly","stretch"],j=()=>["","0",ne],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[Ms,ne];return{cacheSize:500,separator:":",theme:{colors:[pi],spacing:[rn,yn],blur:["none","",xn,ne],brightness:X(),borderColor:[n],borderRadius:["n
80one","","full",xn,ne],borderSpacing:A(),borderWidth:I(),contrast:X(),grayscale:j(),hueRotate:X(),invert:j(),gap:A(),gradientColorStops:[n],gradientColorStopPositions:[Nv,yn],inset:$(),margin:$(),opacity:X(),padding:A(),saturate:X(),scale:X(),sepia:j(),skew:X(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",ne]}],container:["container"],columns:[{columns:[xn]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),ne]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",hi,ne]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ne]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",hi,ne]}],"grid-cols":[{"grid-cols":[pi]}],"col-start-end":[{col:["auto",{span:["full",hi,ne]},ne]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[pi]}],"row-start-end":[{row:["auto",{span:[hi,ne]},ne]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ne]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}
vendor: 8,339 bytes, line 80
80],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ne,e]}],"min-w":[{"min-w":[ne,e,"min","max","fit"]}],"max-w":[{"max-w":[ne,e,"none","full","min","max","fit","prose",{screen:[xn]},xn]}],h:[{h:[ne,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ne,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ne,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ne,e,"auto","min","max","fit"]}],"font-size":[{text:["base",xn,yn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fa]}],"font-family":[{font:[pi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ne]}],"line-clamp":[{"line-clamp":["none",Ms,Fa]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",rn,ne]}],"list-image":[{"list-image":["none",ne]}],"list-style-type":[{list:["none","disc","decimal",ne]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",rn,yn]}],"underline-offset":[{"underline-offset":["auto",rn,ne]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),Dv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lv]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:F()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[rn,ne]}],"outline-w":[{outline:[rn,yn]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[rn,yn]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",xn,Fv]}],"shadow-color":[{shadow:[pi]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",xn,ne]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[b]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ne]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",ne]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",ne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[hi,ne]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ne]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ne]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,647 bytes, line 80
80],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[rn,yn,Fa]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Wv=Sv(Uv);function _s(...n){return Wv(Bd(n))}const Vv=rv,zf=y.forwardRef(({className:n,...e},t)=>v.jsx(Pf,{ref:t,className:_s("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n),...e}));zf.displayName=Pf.displayName;const Hv=nv("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),$f=y.forwardRef(({className:n,variant:e,...t},r)=>v.jsx(kf,{ref:r,className:_s(Hv({variant:e}),n),...t}));$f.displayName=kf.displayName;const Yv=y.forwardRef(({className:n,...e},t)=>v.jsx(Of,{ref:t,className:_s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",n),...e}));Yv.displayName=Of.displayName;const Bf=y.forwardRef(({className:n,...e},t)=>v.jsx(Nf,{ref:t,className:_s("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 7,976 bytes, line 80
80/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...e,children:v.jsx(uv,{className:"h-4 w-4"})}));Bf.displayName=Nf.displayName;const Uf=y.forwardRef(({className:n,...e},t)=>v.jsx(Af,{ref:t,className:_s("text-sm font-semibold",n),...e}));Uf.displayName=Af.displayName;const Wf=y.forwardRef(({className:n,...e},t)=>v.jsx(Rf,{ref:t,className:_s("text-sm opacity-90",n),...e}));Wf.displayName=Rf.displayName;function qv(){const{toasts:n}=u0();return v.jsxs(Vv,{children:[n.map(function({id:e,title:t,description:r,action:s,...i}){return v.jsxs($f,{...i,children:[v.jsxs("div",{className:"grid gap-1",children:[t&&v.jsx(Uf,{children:t}),r&&v.jsx(Wf,{children:r})]}),s,v.jsx(Bf,{})]},e)}),v.jsx(zf,{})]})}const Gv=["top","right","bottom","left"],$n=Math.min,sr=Math.max,Ko=Math.round,vo=Math.floor,qr=n=>({x:n,y:n}),Xv={left:"right",right:"left",bottom:"top",top:"bottom"},Kv={start:"end",end:"start"};function pl(n,e,t){return sr(n,$n(e,t))}function dn(n,e){return typeof n=="function"?n(e):n}function fn(n){return n.split("-")[0]}function ci(n){return n.split("-")[1]}function sc(n){return n==="x"?"y":"x"}function ic(n){return n==="y"?"height":"width"}const Qv=new Set(["top","bottom"]);function Vr(n){return Qv.has(fn(n))?"y":"x"}function oc(n){return sc(Vr(n))}function Jv(n,e,t){t===void 0&&(t=!1);const r=ci(n),s=oc(n),i=ic(s);let o=s==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=Qo(o)),[o,Qo(o)]}function Zv(n){const e=Qo(n);return[ml(n),e,ml(e)]}function ml(n){return n.replace(/start|end/g,e=>Kv[e])}const xu=["left","right"],_u=["right","left"],ey=["top","bottom"],ty=["bottom","top"];function ry(n,e,t){switch(n){case"top":case"bottom":return t?e?_u:xu:e?xu:_u;case"left":case"right":return e?ey:ty;default:return[]}}function ny(n,e,t,r){const s=ci(n);let i=ry(fn(n),t==="start",r);return s&&(i=i.map(o=>o+"-"+s),e&&(i=i.concat(i.map(ml)))),i}function Qo(n){return n.replace(/left|right|bottom|top/g,e=>Xv[e])}function sy(n){return{top:0,right:0,bottom:0,left:0,...n}}function Vf(n){return typeof n!="number"?sy(n):{top:n,right:n,bottom:n,left:n}}function Jo(n){const{x:e,y:t,width:r,height:s}=n;return{width:r,height:s,top:t,left:e,right:e+r,bottom:t+s,x:e,y:t}}function bu(n,e,t){let{reference:r,floating:s}=n;const i=Vr(e),o=oc(e),a=ic(o),l=fn(e),c=i==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,p=r[a]/2-s[a]/2;let d;switch(l){case"top":d={x:u,y:r.y-s.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-s.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ci(e)){case"start":d[o]-=p*(t&&c?-1:1);break;case"end":d[o]+=p*(t&&c?-1:1);break}return d}const iy=async(n,e,t)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=t,a=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:n,floating:e,strategy:s}),{x:u,y:f}=bu(c,r,l),p=r,d={},g=0;for(let h=0;h<a.length;h++){const{name:m,fn:_}=a[h],{x,y:b,data:w,reset:C}=await _({x:u,y:f,initialPlacement:r,placement:p,strategy:s,middlewareData:d,rects:c,platform:o,elements:{reference:n,floating:e}});u=x??u,f=b??f,d={...d,[m]:{...d[m],...w}},C&&g<=50&&(g++,typeof C=="object"&&(C.placement&&(p=C.placement),C.rects&&(c=C.rects===!0?await o.getElementRects({reference:n,floating:e,strategy:s}):C.rects),{x:u,y:f}=bu(c,p,l)),h=-1)}return{x:u,y:f,placement:p,strategy:s,middlewareData:d}};async function Vi(n,e){var t;e===void 0&&(e={});const{x:r,y:s,platform:i,rects:o,elements:a,strategy:l}=n,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=dn(e,n),g=Vf(d),m=a[p?f==="floating"?"reference":"floating":f],_=Jo(await i.getClippingRect({element:(t=await(i.isElement==null?void 0:i.isElement(m)))==null||t?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),x=f==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),w=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},C=Jo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:b,strategy:l}):x);return{top:(_.top-C.top+g.top)/w.y,bottom:(C.bottom-_.bottom+g.bottom)/w.y,left:(_.left-C.left+g.left)/w.x,right:(C.right-_.right+g.right)/w.x}}const oy=n=>({name:"arrow",options:n,async fn(e){const{x:t,y:r,placement:s,rects:i,platform:o,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=dn(n,e)||{};if(c==null)return{};const f=Vf(u),p={x:t,y:r},d=oc(s),g=ic(d),h=await o.getDimensions(c),m=d==="y",_=m?"top":"left",x=m?"bottom":"right",b=m?"clientHeight":"clientWidth",w=i.reference[g]+i.reference[d]-p[d]-i.floating[g],C=p[d]-i.reference[d],T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let S=T?T[b]:0;(!S||!await(o.isElement==null?void 0:o.isElement(T)))&&(S=a.floating[b]||i.floating[g]);const P=w/2-C/2,k=S/2-h[g]/2-1,R=$n(f[_],k),$=$n(f[x],k),A=R,I=S-h[g]-$,N=S/2-h[g]/2+P,L=pl(A,N,I),F=!l.arrow&&ci(s)!=null&&N!==L&&i.reference[g]/2-(N<A?R:$)-h[g]/2<0,D=F?N<A?N-A:N-I:0;return{[d]:p[d]+D,data:{[d]:L,centerOffset:N-L-D,...F&&{alignmentOffset:D}},reset:F}}}),ay=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(e){var t,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...m}=dn(n,e);if((t=i.arrow)!=null&&t.alignmentOffset)return{};const _=fn(s),x=Vr(a),b=fn(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=p||(b||!h?[Qo(a)]:Zv(a)),T=g!=="none";!p&&T&&C.push(...ny(a,h,g,w));const S=[a,...C],P=await Vi(e,m),k=[];let R=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&k.push(P[_]),f){const N=Jv(s,o,w);k.push(P[N[0]],P[N[1]])}if(R=[...R,{placement:s,overflows:k}],!k.every(N=>N<=0)){var $,A;const N=((($=i.flip)==null?void 0:$.index)||0)+1,L=S[N];if(L&&(!(f==="alignment"?x!==Vr(L):!1)||R.every(z=>z.overflows[0]>0&&Vr(z.placement)===x)))return{data:{index:N,overflows:R},reset:{placement:L}};let F=(A=R.filter(D=>D.overflows[0]<=0).sort((D,z)=>D.overflows[1]-z.overflows[1])[0])==null?void 0:A.placement;if(!F)switch(d){case"bestFit":{var I;const D=(I=R.filter(z=>{if(T){const j=Vr(z.placement);return j===x||j==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(j=>j>0).reduce((j,E)=>j+E,0)]).sort((z,j)=>z[1]-j[1])[0])==null?void 0:I[0];D&&(F=D);break}case"initialPlacement":F=a;break}if(s!==F)return{reset:{placement:F}}}return{}}}};function wu(n,e){return{top:n.top-e.height,right:n.right-e.width,bottom:n.bottom-e.height,left:n.left-e.width}}function Cu(n){return Gv.some(e=>n[e]>=0)}const ly=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(e){const{rects:t}=e,{strategy:r="referenceHidden",...s}=dn(n,e);switch(r){case"referenceHidden":{const i=await Vi(e,{...s,elementContext:"reference"}),o=wu(i,t.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Cu(o)}}}case"escaped":{const i=await Vi(e,{...s,altBoundary:!0}),o=wu(i,t.floating);return{data:{escapedOffsets:o,escaped:Cu(o)}}}default:return{}}}}},Hf=new Set(["left","top"]);async function cy(n,e){const{placement:t,platform:r,elements:s}=n,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=fn(t),a=ci(t),l=Vr(t)==="y",c=Hf.has(o)?-1:1,u=i&&l?-1:1,f=dn(e,n);let{mainAxis:p,crossAxis:d,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}
80:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof g=="number"&&(d=a==="end"?g*-1:g),l?{x:d*u,y:p*c}:{x:p*c,y:d*u}}const uy=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(e){var t,r;const{x:s,y:i,placement:o,middlewareData:a}=e,l=await cy(e,n);return o===((t=a.offset)==null?void 0:t.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:i+l.y,data:{...l,placement:o}}}}},dy=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(e){const{x:t,y:r,placement:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:m=>{let{x:_,y:x}=m;return{x:_,y:x}}},...l}=dn(n,e),c={x:t,y:r},u=await Vi(e,l),f=Vr(fn(s)),p=sc(f);let d=c[p],g=c[f];if(i){const m=p==="y"?"top":"left",_=p==="y"?"bottom":"right",x=d+u[m],b=d-u[_];d=pl(x,d,b)}if(o){const m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",x=g+u[m],b=g-u[_];g=pl(x,g,b)}const h=a.fn({...e,[p]:d,[f]:g});return{...h,data:{x:h.x-t,y:h.y-r,enabled:{[p]:i,[f]:o}}}}}},fy=function(n){return n===void 0&&(n={}),{options:n,fn(e){const{x:t,y:r,placement:s,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=dn(n,e),u={x:t,y:r},f=Vr(s),p=sc(f);let d=u[p],g=u[f];const h=dn(a,e),m=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=p==="y"?"height":"width",w=i.reference[p]-i.floating[b]+m.mainAxis,C=i.reference[p]+i.reference[b]-m.mainAxis;d<w?d=w:d>C&&(d=C)}if(c){var _,x;const b=p==="y"?"width":"height",w=Hf.has(fn(s)),C=i.reference[f]-i.floating[b]+(w&&((_=o.offset)==null?void 0:_[f])||0)+(w?0:m.crossAxis),T=i.reference[f]+i.reference[b]+(w?0:((x=o.offset)==null?void 0:x[f])||0)-(w?m.crossAxis:0);g<C?g=C:g>T&&(g=T)}return{[p]:d,[f]:g}}}},hy=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(e){var t,r;const{placement:s,rects:i,platform:o,elements:a}=e,{apply:l=()=>{},...c}=dn(n,e),u=await Vi(e,c),f=fn(s),p=ci(s),d=Vr(s)==="y",{width:g,height:h}=i.floating;let m,_;f==="top"||f==="bottom"?(m=f,_=p===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(_=f,m=p==="end"?"top":"bottom");const x=h-u.top-u.bottom,b=g-u.left-u.right,w=$n(h-u[m],x),C=$n(g-u[_],b),T=!e.middlewareData.shift;let S=w,P=C;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(P=b),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(S=x),T&&!p){const R=sr(u.left,0),$=sr(u.right,0),A=sr(u.top,0),I=sr(u.bottom,0);d?P=g-2*(R!==0||$!==0?R+$:sr(u.left,u.right)):S=h-2*(A!==0||I!==0?A+I:sr(u.top,u.bottom))}await l({...e,availableWidth:P,availableHeight:S});const k=await o.getDimensions(a.floating);return g!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function xa(){return typeof window<"u"}function ui(n){return Yf(n)?(n.nodeName||"").toLowerCase():"#document"}function ur(n){var e;return(n==null||(e=n.ownerDocument)==null?void 0:e.defaultView)||window}function Qr(n){var e;return(e=(Yf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:e.documentElement}function Yf(n){return xa()?n instanceof Node||n instanceof ur(n).Node:!1}function Rr(n){return xa()?n instanceof Element||n instanceof ur(n).Element:!1}function Xr(n){return xa()?n instanceof HTMLElement||n instanceof ur(n).HTMLElement:!1}function Su(n){return!xa()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof ur(n).ShadowRoot}const py=new Set(["inline","contents"]);function ao(n){const{overflow:e,overflowX:t,overflowY:r,display:s}=Or(n);return/auto|scroll|overlay|hidden|clip/.test(e+r+t)&&!py.has(s)}const my=new Set(["table","td","th"]);function gy(n){return my.has(ui(n))}const vy=[":popover-open",":modal"];function _a(n){return vy.some(e=>{try{return n.matches(e)}catch{return!1}})}const yy=["transform","translate","scale","rotate","perspective"],xy=["transform","translate","scale","rotate","perspective","filter"],_y=["paint","layout","strict","content"];function ac(n){const e=lc(),t=Rr(n)?Or(n):n;return yy.some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||xy.some(r=>(t.willChange||"").includes(r))||_y.some(r=>(t.contain||"").includes(r))}function by(n){let e=Bn(n);for(;Xr(e)&&!Qs(e);){if(ac(e))return e;if(_a(e))return null;e=Bn(e)}return null}function lc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const wy=new Set(["html","body","#document"]);function Qs(n){return wy.has(ui(n))}function Or(n){return ur(n).getComputedStyle(n)}function ba(n){return Rr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Bn(n){if(ui(n)==="html")return n;const e=n.assignedSlot||n.parentNode||Su(n)&&n.host||Qr(n);return Su(e)?e.host:e}function qf(n){const e=Bn(n);return Qs(e)?n.ownerDocument?n.ownerDocument.body:n.body:Xr(e)&&ao(e)?e:qf(e)}function Hi(n,e,t){var r;e===void 0&&(e=[]),t===void 0&&(t=!0);const s=qf(n),i=s===((r=n.ownerDocument)==null?void 0:r.body),o=ur(s);if(i){const a=gl(o);
80return e.concat(o,o.visualViewport||[],ao(s)?s:[],a&&t?Hi(a):[])}return e.concat(s,Hi(s,[],t))}function gl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Gf(n){const e=Or(n);let t=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Xr(n),i=s?n.offsetWidth:t,o=s?n.offsetHeight:r,a=Ko(t)!==i||Ko(r)!==o;return a&&(t=i,r=o),{width:t,height:r,$:a}}function cc(n){return Rr(n)?n:n.contextElement}function js(n){const e=cc(n);if(!Xr(e))return qr(1);const t=e.getBoundingClientRect(),{width:r,height:s,$:i}=Gf(e);let o=(i?Ko(t.width):t.width)/r,a=(i?Ko(t.height):t.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const Cy=qr(0);function Xf(n){const e=ur(n);return!lc()||!e.visualViewport?Cy:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Sy(n,e,t){return e===void 0&&(e=!1),!t||e&&t!==ur(n)?!1:e}function gs(n,e,t,r){e===void 0&&(e=!1),t===void 0&&(t=!1);const s=n.getBoundingClientRect(),i=cc(n);let o=qr(1);e&&(r?Rr(r)&&(o=js(r)):o=js(n));const a=Sy(i,t,r)?Xf(i):qr(0);let l=(s.left+a.x)/o.x,c=(s.top+a.y)/o.y,u=s.width/o.x,f=s.height/o.y;if(i){const p=ur(i),d=r&&Rr(r)?ur(r):r;let g=p,h=gl(g);for(;h&&r&&d!==g;){const m=js(h),_=h.getBoundingClientRect(),x=Or(h),b=_.left+(h.clientLeft+parseFloat(x.paddingLeft))*m.x,w=_.top+(h.clientTop+parseFloat(x.paddingTop))*m.y;l*=m.x,c*=m.y,u*=m.x,f*=m.y,l+=b,c+=w,g=ur(h),h=gl(g)}}return Jo({width:u,height:f,x:l,y:c})}function uc(n,e){const t=ba(n).scrollLeft;return e?e.left+t:gs(Qr(n)).left+t}function Kf(n,e,t){t===void 0&&(t=!1);const r=n.getBoundingClientRect(),s=r.left+e.scrollLeft-(t?0:uc(n,r)),i=r.top+e.scrollTop;return{x:s,y:i}}function Ey(n){let{elements:e,rect:t,offsetParent:r,strategy:s}=n;const i=s==="fixed",o=Qr(r),a=e?_a(e.floating):!1;if(r===o||a&&i)return t;let l={scrollLeft:0,scrollTop:0},c=qr(1);const u=qr(0),f=Xr(r);if((f||!f&&!i)&&((ui(r)!=="body"||ao(o))&&(l=ba(r)),Xr(r))){const d=gs(r);c=js(r),u.x=d.x+r.clientLeft,u.y=d.y+r.clientTop}const p=o&&!f&&!i?Kf(o,l,!0):qr(0);return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:t.y*c.y-l.scrollTop*c.y+u.y+p.y}}function Ty(n){return Array.from(n.getClientRects())}function Py(n){const e=Qr(n),t=ba(n),r=n.ownerDocument.body,s=sr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=sr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-t.scrollLeft+uc(n);const a=-t.scrollTop;return Or(r).direction==="rtl"&&(o+=sr(e.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:a}}function ky(n,e){const t=ur(n),r=Qr(n),s=t.visualViewport;let i=r.clientWidth,o=r.clientHeight,a=0,l=0;if(s){i=s.width,o=s.height;const c=lc();(!c||c&&e==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:i,height:o,x:a,y:l}}const Ay=new Set(["absolute","fixed"]);function Ry(n,e){const t=gs(n,!0,e==="fixed"),r=t.top+n.clientTop,s=t.left+n.clientLeft,i=Xr(n)?js(n):qr(1),o=n.clientWidth*i.x,a=n.clientHeight*i.y,l=s*i.x,c=r*i.y;return{width:o,height:a,x:l,y:c}}function Eu(n,e,t){let r;if(e==="viewport")r=ky(n,t);else if(e==="document")r=Py(Qr(n));else if(Rr(e))r=Ry(e,t);else{const s=Xf(n);r={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Jo(r)}function Qf(n,e){const t=Bn(n);return t===e||!Rr(t)||Qs(t)?!1:Or(t).position==="fixed"||Qf(t,e)}function Oy(n,e){const t=e.get(n);if(t)return t;let r=Hi(n,[],!1).filter(a=>Rr(a)&&ui(a)!=="body"),s=null;const i=Or(n).position==="fixed";let o=i?Bn(n):n;for(;Rr(o)&&!Qs(o);){const a=Or(o),l=ac(o);!l&&a.position==="fixed"&&(s=null),(i?!l&&!s:!l&&a.position==="static"&&!!s&&Ay.has(s.position)||ao(o)&&!l&&Qf(n,o))?r=r.filter(u=>u!==o):s=a,o=Bn(o)}return e.set(n,r),r}function Ny(n){let{element:e,boundary:t,rootBoundary:r,strategy:s}=n;const o=[...t==="clippingAncestors"?_a(e)?[]:Oy(e,this._c):[].concat(t),r],a=o[0],l=o.reduce((c,u)=>{const f=Eu(e,u,s);return c.top=sr(f.top,c.top),c.right=$n(f.right,c.right),c.bottom=$n(f.bottom,c.bottom),c.left=sr(f.left,c.left),c},Eu(e,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function My(n){const{width:e,height:t}=Gf(n);return{width:e,height:t}}function jy(n,e,t){const r=Xr(e),s=Qr(e),i=t==="fixed",o=gs(n,!0,i,e);let a={scrollLeft:0,scrollTop:0};const l=qr(0);function c(){l.x=uc(s)}if(r||!r&&!i)if((ui(e)!=="body"||ao(s))&&(a=ba(e)),r){const d=gs(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else s&&c();i&&!r&&s&&c();const u=s&&!r&&!i?Kf(s,a):qr(0),f=o.left+a.scrollLeft-l.x-u.x,p=o.top+a.scrollTop-l.y-u.y;return{x:f,y:p,width:o.width,height:o.height}}function za(n){return Or(n).position==="static"}function Tu(n,e){if(!Xr(n)||Or(n).position==="fixed")return null;if(e)return e(n);let t=n.offsetParent;return Qr(n)===t&&(t=t.ownerDocument.body),t}function Jf(n,e){const t=ur(n);if(_a(n))return t;if(!Xr(n)){let s=Bn(n);for(;s&&!Qs(s);){if(Rr(s)&&!za(s))return s;s=Bn(s)}return t}let r=Tu(n,e);for(;r&&gy(r)&&za(r);)r=Tu(r,e);return r&&Qs(r)&&za(r)&&!ac(r)?t:r||by(n)||t}const Dy=async function(n){const e=this.getOffsetParent||Jf,t=this.getDimensions,r=await t(n.floating);return{reference:jy(n.reference,await e(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Iy(n){return Or(n).direction==="rtl"}const Ly={convertOffsetParentRelativeRectToViewportRelativeRect:Ey,getDocumentElement:Qr,getClippingRect:Ny,getOffsetParent:Jf,getElementRects:Dy,getClientRects:Ty,getDimensions:My,getScale:js,isElement:Rr,isRTL:Iy};function Zf(n,e){return n.x===e.x&&n.y===e.y&&n.width===e.width&&n.height===e.height}function Fy(n,e){let t=null,r;const s=Qr(n);function i(){var a;clearTimeout(r),(a=t)==null||a.disconnect(),t=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=n.getBoundingClientRect(),{left:u,top:f,width:p,height:d}=c;if(a||e(),!p||!d)return;const g=vo(f),h=vo(s.clientWidth-(u+p)),m=vo(s.clientHeight-(f+d)),_=vo(u),b={rootMargin:-g+"px "+-h+"px "+-m+"px "+-_+"px",threshold:sr(0,$n(1,l))||1};let w=!0;function C(T){const S=T[0].intersectionRatio;if(S!==l){if(!w)return o();S?o(!1,S):r=setTimeout(()=>{o(!1,1e-7)},1e3)}S===1&&!Zf(c,n.getBoundingClientRect())&&o(),w=!1}try{t=new IntersectionObserver(C,{...b,root:s.ownerDocument})}catch{t=new IntersectionObserver(C,b)}t.observe(n)}return o(!0),i}function zy(n,e,t,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=cc(n),u=s||i?[...c?Hi(c):[],...Hi(e)]:[];u.forEach(_=>{s&&_.addEventListener("scroll",t,{passive:!0}),i&&_.addEventListener("resize",t)});const f=c&&a?Fy(c,t):null;let p=-1,d=null;o&&(d=new ResizeObserver(_=>{let[x]=_;x&&x.target===c&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),t()}),c&&!l&&d.observe(c),d.observe(e));let g,h=l?gs(n):null;l&&m();function m(){const _=gs(n);h&&!Zf(h,_)&&t(),h=_,g=requestAnimationFrame(m)}return t(),()=>{var _;u.forEach(x=>{s&&x.removeEventListener("scroll",t),i&&x.removeEventListener("resize",t)}),f==null||f(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(g)}}const $y=uy,By=dy,Uy=ay,Wy=hy,Vy=ly,Pu=oy,Hy=fy,Yy=(n,e,t)=>{const r=new Map,s={platform:Ly,...t},i={...s.platform,_c:r};return iy(n,e,{...s,platform:i})};var qy=typeof document<"u",Gy=function(){},Io=qy?y.useLayoutEffect:Gy;function Zo(n,e){if(n===e)return!0;
80if(typeof n!=typeof e)return!1;if(typeof n=="function"&&n.toString()===e.toString())return!0;let t,r,s;if(n&&e&&typeof n=="object"){if(Array.isArray(n)){if(t=n.length,t!==e.length)return!1;for(r=t;r--!==0;)if(!Zo(n[r],e[r]))return!1;return!0}if(s=Object.keys(n),t=s.length,t!==Object.keys(e).length)return!1;for(r=t;r--!==0;)if(!{}.hasOwnProperty.call(e,s[r]))return!1;for(r=t;r--!==0;){const i=s[r];if(!(i==="_owner"&&n.$$typeof)&&!Zo(n[i],e[i]))return!1}return!0}return n!==n&&e!==e}function eh(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function ku(n,e){const t=eh(n);return Math.round(e*t)/t}function $a(n){const e=y.useRef(n);return Io(()=>{e.current=n}),e}function Xy(n){n===void 0&&(n={});const{placement:e="bottom",strategy:t="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:l,open:c}=n,[u,f]=y.useState({x:0,y:0,strategy:t,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=y.useState(r);Zo(p,r)||d(r);const[g,h]=y.useState(null),[m,_]=y.useState(null),x=y.useCallback(z=>{z!==T.current&&(T.current=z,h(z))},[]),b=y.useCallback(z=>{z!==S.current&&(S.current=z,_(z))},[]),w=i||g,C=o||m,T=y.useRef(null),S=y.useRef(null),P=y.useRef(u),k=l!=null,R=$a(l),$=$a(s),A=$a(c),I=y.useCallback(()=>{if(!T.current||!S.current)return;const z={placement:e,strategy:t,middleware:p};$.current&&(z.platform=$.current),Yy(T.current,S.current,z).then(j=>{const E={...j,isPositioned:A.current!==!1};N.current&&!Zo(P.current,E)&&(P.current=E,fa.flushSync(()=>{f(E)}))})},[p,e,t,$,A]);Io(()=>{c===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(z=>({...z,isPositioned:!1})))},[c]);const N=y.useRef(!1);Io(()=>(N.current=!0,()=>{N.current=!1}),[]),Io(()=>{if(w&&(T.current=w),C&&(S.current=C),w&&C){if(R.current)return R.current(w,C,I);I()}},[w,C,I,R,k]);const L=y.useMemo(()=>({reference:T,floating:S,setReference:x,setFloating:b}),[x,b]),F=y.useMemo(()=>({reference:w,floating:C}),[w,C]),D=y.useMemo(()=>{const z={position:t,left:0,top:0};if(!F.floating)return z;const j=ku(F.floating,u.x),E=ku(F.floating,u.y);return a?{...z,transform:"translate("+j+"px, "+E+"px)",...eh(F.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:j,top:E}},[t,a,F.floating,u.x,u.y]);return y.useMemo(()=>({...u,update:I,refs:L,elements:F,floatingStyles:D}),[u,I,L,F,D])}const Ky=n=>{function e(t){return{}.hasOwnProperty.call(t,"current")}return{name:"arrow",options:n,fn(t){const{element:r,padding:s}=typeof n=="function"?n(t):n;return r&&e(r)?r.current!=null?Pu({element:r.current,padding:s}).fn(t):{}:r?Pu({element:r,padding:s}).fn(t):{}}}},Qy=(n,e)=>({...$y(n),options:[n,e]}),Jy=(n,e)=>({...By(n),options:[n,e]}),Zy=(n,e)=>({...Hy(n),options:[n,e]}),ex=(n,e)=>({...Uy(n),options:[n,e]}),tx=(n,e)=>({...Wy(n),options:[n,e]}),rx=(n,e)=>({...Vy(n),options:[n,e]}),nx=(n,e)=>({...Ky(n),options:[n,e]});var sx="Arrow",th=y.forwardRef((n,e)=>{const{children:t,width:r=10,height:s=5,...i}=n;return v.jsx(Kt.svg,{...i,ref:e,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?t:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});th.displayName=sx;var ix=th;function ox(n){const[e,t]=y.useState(void 0);return zn(()=>{if(n){t({width:n.offsetWidth,height:n.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const l=i.borderBoxSize,c=Array.isArray(l)?l[0]:l;o=c.inlineSize,a=c.blockSize}else o=n.offsetWidth,a=n.offsetHeight;t({width:o,height:a})});return r.observe(n,{box:"border-box"}),()=>r.unobserve(n)}else t(void 0)},[n]),e}var dc="Popper",[rh,nh]=ga(dc),[ax,sh]=rh(dc),ih=n=>{const{__scopePopper:e,children:t}=n,[r,s]=y.useState(null);return v.jsx(ax,{scope:e,anchor:r,onAnchorChange:s,children:t})};ih.displayName=dc;var oh="PopperAnchor",ah=y.forwardRef((n,e)=>{const{__scopePopper:t,virtualRef:r,...s}=n,i=sh(oh,t),o=y.useRef(null),a=Ar(e,o);return y.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:v.jsx(Kt.div,{...s,ref:a})});ah.displayName=oh;var fc="PopperContent",[lx,cx]=rh(fc),lh=y.forwardRef((n,e)=>{var Z,Ie,Te,ht,ke,Le;const{__scopePopper:t,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l
80=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:d="optimized",onPlaced:g,...h}=n,m=sh(fc,t),[_,x]=y.useState(null),b=Ar(e,re=>x(re)),[w,C]=y.useState(null),T=ox(w),S=(T==null?void 0:T.width)??0,P=(T==null?void 0:T.height)??0,k=r+(i!=="center"?"-"+i:""),R=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},$=Array.isArray(c)?c:[c],A=$.length>0,I={padding:R,boundary:$.filter(dx),altBoundary:A},{refs:N,floatingStyles:L,placement:F,isPositioned:D,middlewareData:z}=Xy({strategy:"fixed",placement:k,whileElementsMounted:(...re)=>zy(...re,{animationFrame:d==="always"}),elements:{reference:m.anchor},middleware:[Qy({mainAxis:s+P,alignmentAxis:o}),l&&Jy({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Zy():void 0,...I}),l&&ex({...I}),tx({...I,apply:({elements:re,rects:Se,availableWidth:rt,availableHeight:nt})=>{const{width:O,height:Ke}=Se.reference,pt=re.floating.style;pt.setProperty("--radix-popper-available-width",`${rt}px`),pt.setProperty("--radix-popper-available-height",`${nt}px`),pt.setProperty("--radix-popper-anchor-width",`${O}px`),pt.setProperty("--radix-popper-anchor-height",`${Ke}px`)}}),w&&nx({element:w,padding:a}),fx({arrowWidth:S,arrowHeight:P}),p&&rx({strategy:"referenceHidden",...I})]}),[j,E]=dh(F),X=Fn(g);zn(()=>{D&&(X==null||X())},[D,X]);const V=(Z=z.arrow)==null?void 0:Z.x,Q=(Ie=z.arrow)==null?void 0:Ie.y,q=((Te=z.arrow)==null?void 0:Te.centerOffset)!==0,[de,Ee]=y.useState();return zn(()=>{_&&Ee(window.getComputedStyle(_).zIndex)},[_]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...L,transform:D?L.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[(ht=z.transformOrigin)==null?void 0:ht.x,(ke=z.transformOrigin)==null?void 0:ke.y].join(" "),...((Le=z.hide)==null?void 0:Le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:v.jsx(lx,{scope:t,placedSide:j,onArrowChange:C,arrowX:V,arrowY:Q,shouldHideArrow:q,children:v.jsx(Kt.div,{"data-side":j,"data-align":E,...h,ref:b,style:{...h.style,animation:D?void 0:"none"}})})})});lh.displayName=fc;var ch="PopperArrow",ux={top:"bottom",right:"left",bottom:"top",left:"right"},uh=y.forwardRef(function(e,t){const{__scopePopper:r,...s}=e,i=cx(ch,r),o=ux[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(ix,{...s,ref:t,style:{...s.style,display:"block"}})})});uh.displayName=ch;function dx(n){return n!==null}var fx=n=>({name:"transformOrigin",options:n,fn(e){var m,_,x;const{placement:t,rects:r,middlewareData:s}=e,o=((m=s.arrow)==null?void 0:m.centerOffset)!==0,a=o?0:n.arrowWidth,l=o?0:n.arrowHeight,[c,u]=dh(t),f={start:"0%",center:"50%",end:"100%"}[u],p=(((_=s.arrow)==null?void 0:_.x)??0)+a/2,d=(((x=s.arrow)==null?void 0:x.y)??0)+l/2;let g="",h="";return c==="bottom"?(g=o?f:`${p}px`,h=`${-l}px`):c==="top"?(g=o?f:`${p}px`,h=`${r.floating.height+l}px`):c==="right"?(g=`${-l}px`,h=o?f:`${d}px`):c==="left"&&(g=`${r.floating.width+l}px`,h=o?f:`${d}px`),{data:{x:g,y:h}}}});function dh(n){const[e,t="center"]=n.split("-");return[e,t]}var Cw=ih,hx=ah,px=lh,mx=uh,[wa,Sw]=ga("Tooltip",[nh]),hc=nh(),fh="TooltipProvider",gx=700,Au="tooltip.open",[vx,hh]=wa(fh),ph=n=>{const{__scopeTooltip:e,delayDuration:t=gx,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=n,o=y.useRef(!0),a=y.useRef(!1),l=y.useRef(0);return y.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),v.jsx(vx,{scope:e,isOpenDelayedRef:o,delayDuration:t,onOpen:y.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:y.useCallback(c=>{a.current=c},[]),disableHoverableContent:s,children:i})};ph.displayName=fh;var mh="Tooltip",[Ew,Ca]=wa(mh),vl="TooltipTrigger",yx=y.forwardRef((n,e)=>{const{__scopeTooltip:t,...r}=n,s=Ca(vl,t),i=hh(vl,t),o=hc(t),a=y.useRef(null),l=Ar(e,a,s.onTriggerChange),c=y.useRef(!1),u=y.useRef(!1),f=y.useCallback(()=>c.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),v.jsx(hx,{asChild:!0,...o,children:v.jsx(Kt.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:tt(n.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),u.current=!0)}),onPointerLeave:tt(n.onPointerLeave,()=>{s.onTriggerLeave(),u.current=!1}),onPointerDown:tt(n.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:tt(n.onFocus,()=>{c.current||s.onOpen()}),onBlur:tt(n.onBlur,s.onClose),onClick:tt(n.onClick,s.onClose)})})});yx.displayName=vl;var xx="TooltipPortal",[Tw,_x]=wa(xx,{forceMount:void 0}),Js="TooltipContent",gh=y.forwardRef((n,e)=>{const t=_x(Js,n.__scopeTooltip),{forceMount:r=t.forceMount,side:s="top",...i}=n,o=Ca(Js,n.__scopeTooltip);return v.jsx(Zl,{present:r||o.open,children:o.disableHoverableContent?v.jsx(vh,{side:s,...i,ref:e}):v.jsx(bx,{side:s,...i,ref:e})})}),bx=y.forwardRef((n,e)=>{const t=Ca(Js,n.__scopeTooltip),r=hh(Js,n.__scopeTooltip),s=y.useRef(null),i=Ar(e,s),[o,a]=y.useState(null),{trigger:l,onClose:c}=t,u=s.current,{onPointerInTransitChange:f}=r,p=y.useCallback(()=>{a(null),f(!1)},[f]),d=y.useCallback((g,h)=>{const m=g.currentTarget,_={x:g.clientX,y:g.clientY},x=Tx(_,m.getBoundingClientRect()),b=Px(_,x),w=kx(h.getBoundingClientRect()),C=Rx([...b,...w]);a(C),f(!0)},[f]);return y.useEffect(()=>()=>
80p(),[p]),y.useEffect(()=>{if(l&&u){const g=m=>d(m,u),h=m=>d(m,l);return l.addEventListener("pointerleave",g),u.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",h)}}},[l,u,d,p]),y.useEffect(()=>{if(o){const g=h=>{const m=h.target,_={x:h.clientX,y:h.clientY},x=(l==null?void 0:l.contains(m))||(u==null?void 0:u.contains(m)),b=!Ax(_,o);x?p():b&&(p(),c())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,u,o,c,p]),v.jsx(vh,{...n,ref:i})}),[wx,Cx]=wa(mh,{isInside:!1}),Sx=h0("TooltipContent"),vh=y.forwardRef((n,e)=>{const{__scopeTooltip:t,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...a}=n,l=Ca(Js,t),c=hc(t),{onClose:u}=l;return y.useEffect(()=>(document.addEventListener(Au,u),()=>document.removeEventListener(Au,u)),[u]),y.useEffect(()=>{if(l.trigger){const f=p=>{const d=p.target;d!=null&&d.contains(l.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,u]),v.jsx(Jl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:v.jsxs(px,{"data-state":l.stateAttribute,...c,...a,ref:e,style:{...a.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)"},children:[v.jsx(Sx,{children:r}),v.jsx(wx,{scope:t,isInside:!0,children:v.jsx(F0,{id:l.contentId,role:"tooltip",children:s||r})})]})})});gh.displayName=Js;var yh="TooltipArrow",Ex=y.forwardRef((n,e)=>{const{__scopeTooltip:t,...r}=n,s=hc(t);return Cx(yh,t).isInside?null:v.jsx(mx,{...s,...r,ref:e})});Ex.displayName=yh;function Tx(n,e){const t=Math.abs(e.top-n.y),r=Math.abs(e.bottom-n.y),s=Math.abs(e.right-n.x),i=Math.abs(e.left-n.x);switch(Math.min(t,r,s,i)){case i:return"left";case s:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Px(n,e,t=5){const r=[];switch(e){case"top":r.push({x:n.x-t,y:n.y+t},{x:n.x+t,y:n.y+t});break;case"bottom":r.push({x:n.x-t,y:n.y-t},{x:n.x+t,y:n.y-t});break;case"left":r.push({x:n.x+t,y:n.y-t},{x:n.x+t,y:n.y+t});break;case"right":r.push({x:n.x-t,y:n.y-t},{x:n.x-t,y:n.y+t});break}return r}function kx(n){const{top:e,right:t,bottom:r,left:s}=n;return[{x:s,y:e},{x:t,y:e},{x:t,y:r},{x:s,y:r}]}function Ax(n,e){const{x:t,y:r}=n;let s=!1;for(let i=0,o=e.length-1;i<e.length;o=i++){const a=e[i],l=e[o],c=a.x,u=a.y,f=l.x,p=l.y;u>r!=p>r&&t<(f-c)*(r-u)/(p-u)+c&&(s=!s)}return s}function Rx(n){const e=n.slice();return e.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),Ox(e)}function Ox(n){if(n.length<=1)return n.slice();const e=[];for(let r=0;r<n.length;r++){const s=n[r];for(;e.length>=2;){const i=e[e.length-1],o=e[e.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))e.pop();else break}e.push(s)}e.pop();const t=[];for(let r=n.length-1;r>=0;r--){const s=n[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var Nx=ph,xh=gh;const Mx=Nx,jx=y.forwardRef(({className:n,sideOffset:e=4,...t},r)=>v.jsx(xh,{ref:r,sideOffset:e,className:_s("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),...t}));jx.displayName=xh.displayName;function Dx(){var m,_;if(typeof window>"u")return;const n=location.hostname,t=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(x=>n===x||n.endsWith("."+x)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",s=t?((m=n.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:m[1])??((_
80=n.match(new RegExp("^("+r+")(?=[.-])","i")))==null?void 0:_[1]):void 0,i=window.parent&&window.parent!==window;if(!s||!i)return localStorage;const o=n.endsWith(".lovableproject-dev.com")||n.endsWith(".gpt-eng.com"),a=o?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,l=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),c=l&&a.test(l)?[l]:o?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],u="lovable-preview-auth:result",f=2e3,p=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),d=(x,b,w)=>new Promise(C=>{const T=p();let S=!1,P;const k=A=>{S||(S=!0,clearTimeout(P),window.removeEventListener("message",R),C(A))},R=A=>{if(c.indexOf(A.origin)<0)return;const I=A.data;I&&I.type===u&&I.requestId===T&&k(I)};window.addEventListener("message",R);const $={type:x,requestId:T,projectId:s,key:b};w!==void 0&&($.value=w);for(const A of c)window.parent.postMessage($,A);P=setTimeout(()=>k(null),f)});let g=!0;const h=250;return{getItem:async x=>{let b=await d("lovable-preview-auth:get",x);return!b&&g&&(await new Promise(w=>setTimeout(w,h)),b=await d("lovable-preview-auth:get",x)),g=!1,b&&b.ok&&typeof b.value=="string"?b.value===""?(localStorage.removeItem(x),null):b.value:localStorage.getItem(x)},setItem:(x,b)=>(localStorage.setItem(x,b),d("lovable-preview-auth:set",x,b).then(()=>{})),removeItem:x=>(localStorage.removeItem(x),d("lovable-preview-auth:remove",x).then(()=>{}))}}const Ix="https://hskyauefqcgbvgvxkluj.supabase.co",Lx="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imhza3lhdWVmcWNnYnZndnhrbHVqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzM5NDg0NDEsImV4cCI6MjA4OTUyNDQ0MX0.LmuGEk83Rdqg5CGa9E3mHjbuyueZdKMKU-lzScNRZwo",zt=Zp(Ix,Lx,{auth:{storage:Dx(),persistSession:!0,autoRefreshToken:!0}});function Rt(n,e,t){let r=document.head.querySelector(`meta[${n}="${e}"]`);r||(r=document.createElement("meta"),r.setAttribute(n,e),document.head.appendChild(r)),r.setAttribute("content",t)}function Fx(n,e){let t=document.head.querySelector(`link[rel="${n}"]`);t||(t=document.createElement("link"),t.rel=n,document.head.appendChild(t)),t.href=e}function _h(n){const{title:e,description:t,keywords:r,canonical:s,image:i="https://gonka-api.org/og-image.jpg",type:o="website",publishedAt:a,modifiedAt:l,noindex:c,siteName:u=Ds}=n;document.title=e,t&&(Rt("name","description",t.slice(0,160)),Rt("property","og:description",t.slice(0,160)),Rt("name","twitter:description",t.slice(0,160))),r&&Rt("name","keywords",r),Rt("property","og:title",e),Rt("name","twitter:title",e),Rt("property","og:type",o),Rt("property","og:image",i),Rt("name","twitter:image",i),Rt("name","twitter:card","summary_large_image"),Rt("property","og:site_name",u);const f=s||window.location.href.split("?")[0].split("#")[0];Rt("property","og:url",f),Fx("canonical",f),Rt("name","robots",c?"noindex, nofollow":"index, follow"),a&&Rt("property","article:published_time",a),l&&Rt("property","article:modified_time",l)}function As(n,e){const t=document.getElementById(n);t&&t.remove();const r=document.createElement("script");r.type="application/ld+json",r.id=n,r.textContent=JSON.stringify(e),document.head.appendChild(r)}const Ur="https://gonka-api.org",Ds="Easy GonkaAI",zx="/assets/landing-hero-CT_w96xY.png",bh="demo_dashboard_enabled",$x=()=>typeof window>"u"?!1:window.localStorage.getItem(bh)==="true",Bx=()=>{const[n,e]=y.useState($x);return y.useEffect(()=>{(async()=>{const{data:t}=await zt.from("settings").select("value").eq("key","demo_dashboard_enabled").maybeSingle(),r=((t==null?void 0:t.value)??"false")==="true";e(r);try{window.localStorage.setItem(bh,r?"true":"false")}catch{}})()},[]),n},Ru=n=>n?"/dashboard-demo":"/auth",wh=()=>{const n=Bx(),[e,t]=y.useState(Ru(!1));return y.useEffect(()=>{const r=i=>{t(i?"/dashboard":Ru(n))};zt.auth.getSession().then(({data:i})=>r(i.session));const{data:s}=zt.auth.onAuthStateChange((i,o)=>r(o));return()=>s==null?void 0:s.subscription.unsubscribe()},[n]),e};function sn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Ch(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! 81 * GSAP 3.15.0 82 * https://gsap.com 83 * 84 * @license Copyright 2008-2026, GreenSock. All rights reserved. 85 * Subject to the terms at https://gsap.com/standard-license 86 * @author: Jack Doyle, [email protected] 87*/var dr={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Yi={duration:.5,overwrite:!1,delay:0},pc,dt,Re,xr=1e8,Ce=1/xr,yl=Math.PI*2,Ux=yl/4,Wx=0,Sh=Math.sqrt,Vx=Math.cos,Hx=Math.sin,at=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},hn=function(e){return typeof e=="number"},mc=function(e){return typeof e>"u"},Kr=function(e){return typeof e=="object"},Ht=function(e){return e!==!1},gc=function(){return typeof window<"u"},yo=function(e){return $e(e)||at(e)},Eh=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Pt=Array.isArray,Yx=/random\([^)]+\)/g,qx=/,\s*/g,Ou=/(?:-?\.?\d|\.)+/gi,Th=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Rs=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ba=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ph=/[+-]=-?[.\d]+/,Gx=/[^,'"\[\]\s]+/gi,Xx=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,je,Lr,xl,vc,fr={},ea={}
87,kh,Ah=function(e){return(ea=Zs(e,fr))&&Xt},yc=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},qi=function(e,t){return!t&&console.warn(e)},Rh=function(e,t){return e&&(fr[e]=t)&&ea&&(ea[e]=t)||fr},Gi=function(){return 0},Kx={suppressEvents:!0,isStart:!0,kill:!1},Lo={suppressEvents:!0,kill:!1},Qx={suppressEvents:!0},xc={},Dn=[],_l={},Oh,nr={},Ua={},Nu=30,Fo=[],_c="",bc=function(e){var t=e[0],r,s;if(Kr(t)||$e(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(s=Fo.length;s--&&!Fo[s].targetTest(t););r=Fo[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new Zh(e[s],r)))||e.splice(s,1);return e},cs=function(e){return e._gsap||bc(_r(e))[0]._gsap},Nh=function(e,t,r){return(r=e[t])&&$e(r)?e[t]():mc(r)&&e.getAttribute&&e.getAttribute(t)||r},Yt=function(e,t){return(e=e.split(",")).forEach(t)||e},We=function(e){return Math.round(e*1e5)/1e5||0},Me=function(e){return Math.round(e*1e7)/1e7||0},Is=function(e,t){var r=t.charAt(0),s=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},Jx=function(e,t){for(var r=t.length,s=0;e.indexOf(t[s])<0&&++s<r;);return s<r},ta=function(){var e=Dn.length,t=Dn.slice(0),r,s;for(_l={},Dn.length=0,r=0;r<e;r++)s=t[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},wc=function(e){return!!(e._initted||e._startAt||e.add)},Mh=function(e,t,r,s){Dn.length&&!dt&&ta(),e.render(t,r,!!(dt&&t<0&&wc(e))),Dn.length&&!dt&&ta()},jh=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Gx).length<2?t:at(e)?e.trim():e},Dh=function(e){return e},hr=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Zx=function(e){return function(t,r){for(var s in r)s in t||s==="duration"&&e||s==="ease"||(t[s]=r[s])}},Zs=function(e,t){for(var r in t)e[r]=t[r];return e},Mu=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kr(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},ra=function(e,t){var r={},s;for(s in e)s in t||(r[s]=e[s]);return r},ki=function(e){var t=e.parent||je,r=e.keyframes?Zx(Pt(e.keyframes)):hr;if(Ht(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},e_=function(e,t){for(var r=e.length,s=r===t.length;s&&r--&&e[r]===t[r];);return r<0},Ih=function(e,t,r,s,i){var o=e[s],a;if(i)for(a=t[i];o&&o[i]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[s]=t,t._prev=o,t.parent=t._dp=e,t},Sa=function(e,t,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=t._prev,o=t._next;i?i._next=o:e[r]===t&&(e[r]=o),o?o._prev=i:e[s]===t&&(e[s]=i),t._next=t._prev=t.parent=null},Un=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},us=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},t_=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},bl=function(e,t,r,s){return e._startAt&&(dt?e._startAt.revert(Lo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,s))},r_=function n(e){return!e||e._ts&&n(e.parent)},ju=function(e){return e._repeat?ei(e._tTime,e=e.duration()+e._rDelay)*e:0},ei=function(e,t){var r=Math.floor(e=Me(e/t));return e&&r===e?r-1:r},na=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ea=function(e){return e._end=Me(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ce)||0))},Ta=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Me(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ea(e),r._dirty||us(r,e)),e},Lh=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=na(e.rawTime(),t),(!t._dur||lo(0,t.totalDuration(),r)-t._tTime>Ce)&&t.render(r,!0)),us(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-Ce}},Wr=function(e,t,r,s){return t.parent&&Un(t),t._start=Me((hn(r)?r:r||e!==je?mr(e,r,t):e._time)+t._delay),t._end=Me(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ih(e,t,"_first","_last",e._sort?"_start":0),wl(t)||(e._recent=t),s||Lh(e,t),e._ts<0&&Ta(e,e._tTime),e},Fh=function(e,t){return(fr.ScrollTrigger||yc("scrollTrigger",t))&&fr.ScrollTrigger.create(t,e)},zh=function(e,t,r,s,i){if(Sc(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!dt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Oh!==or.frame)return Dn.push(e),e._lazy=[i,s],1},n_=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},wl=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},s_=function(e,t,r,s){var i=e.ratio,o=t<0||!t&&(!e._start&&n_(e)&&!(!e._initted&&wl(e))||(e._ts<0||e._dp._ts<0)&&!wl(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=lo(0,e._tDur,t),u=ei(l,a),e._yoyo&&u&1&&(o=1-o),u!==ei(e._tTime,a)&&(i=1-o,e.vars.repeatRefresh&&e._initted&&e.invali
87date())),o!==i||dt||s||e._zTime===Ce||!t&&e._zTime){if(!e._initted&&zh(e,t,s,r,l))return;for(f=e._zTime,e._zTime=t||(r?Ce:0),r||(r=t&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;t<0&&bl(e,t,r,!0),e._onUpdate&&!r&&lr(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&lr(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&Un(e,1),!r&&!dt&&(lr(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},i_=function(e,t,r){var s;if(r>t)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>t)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<t)return s;s=s._prev}},ti=function(e,t,r,s){var i=e._repeat,o=Me(t)||0,a=e._tTime/e._tDur;return a&&!s&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:Me(o*(i+1)+e._rDelay*i):o,a>0&&!s&&Ta(e,e._tTime=e._tDur*a),e.parent&&Ea(e),r||us(e.parent,e),e},Du=function(e){return e instanceof Vt?us(e):ti(e,e._dur)},o_={_start:0,endTime:Gi,totalDuration:Gi},mr=function n(e,t,r){var s=e.labels,i=e._recent||o_,o=e.duration()>=xr?i.endTime(!1):e._dur,a,l,c;return at(t)&&(isNaN(t)||t in s)?(l=t.charAt(0),c=t.substr(-1)==="%",a=t.indexOf("="),l==="<"||l===">"?(a>=0&&(t=t.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(c?(a<0?i:r).totalDuration()/100:1)):a<0?(t in s||(s[t]=o),s[t]):(l=parseFloat(t.charAt(a-1)+t.substr(a+1)),c&&r&&(l=l/100*(Pt(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+l:o+l)):t==null?o:+t},Ai=function(e,t,r){var s=hn(t[1]),i=(s?2:1)+(e<2?0:1),o=t[i],a,l;if(s&&(o.duration=t[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Ht(l.vars.inherit)&&l.parent;o.immediateRender=Ht(a.immediateRender),e<2?o.runBackwards=1:o.startAt=t[i-1]}return new Xe(t[0],o,t[i+1])},qn=function(e,t){return e||e===0?t(e):t},lo=function(e,t,r){return r<e?e:r>t?t:r},Et=function(e,t){return!at(e)||!(t=Xx.exec(e))?"":t[1]},a_=function(e,t,r){return qn(r,function(s){return lo(e,t,s)})},Cl=[].slice,$h=function(e,t){return e&&Kr(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Kr(e[0]))&&!e.nodeType&&e!==Lr},l_=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return at(s)&&!t||$h(s,1)?(i=r).push.apply(i,_r(s)):r.push(s)})||r},_r=function(e,t,r){return Re&&!t&&Re.selector?Re.selector(e):at(e)&&!r&&(xl||!ri())?Cl.call((t||vc).querySelectorAll(e),0):Pt(e)?l_(e,r):$h(e)?Cl.call(e,0):e?[e]:[]},Sl=function(e){return e=_r(e)[0]||qi("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return _r(t,r.querySelectorAll?r:r===e?qi("Invalid scope")||vc.createElement("div"):e)}},Bh=function(e){return e.sort(function(){return .5-Math.random()})},Uh=function(e){if($e(e))return e;var t=Kr(e)?e:{each:e},r=ds(t.ease),s=t.from||0,i=parseFloat(t.base)||0,o={},a=s>0&&s<1,l=isNaN(s)||a,c=t.axis,u=s,f=s;return at(s)?u=f={center:.5,edges:.5,end:1}[s]||0:!a&&l&&(u=s[0],f=s[1]),function(p,d,g){var h=(g||t).length,m=o[h],_,x,b,w,C,T,S,P,k;if(!m){if(k=t.grid==="auto"?0:(t.grid||[1,xr])[1],!k){for(S=-xr;S<(S=g[k++].getBoundingClientRect().left)&&k<h;);k<h&&k--}for(m=o[h]=[],_=l?Math.min(k,h)*u-.5:s%k,x=k===xr?0:l?h*f/k-.5:s/k|0,S=0,P=xr,T=0;T<h;T++)b=T%k-_,w=x-(T/k|0),m[T]=C=c?Math.abs(c==="y"?w:b):Sh(b*b+w*w),C>S&&(S=C),C<P&&(P=C);s==="random"&&Bh(m),m.max=S-P,m.min=P,m.v=h=(parseFloat(t.amount)||parseFloat(t.each)*(k>h?h-1:c?c==="y"?h/k:k:Math.max(k,h/k))||0)*(s==="edges"?-1:1),m.b=h<0?i-h:i,m.u=Et(t.amount||t.each)||0,r=r&&h<0?b_(r):r}return h=(m[p]-m.min)/m.max||0,Me(m.b+(r?r(h):h)*m.v)+m.u}},El=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Me(Math.round(parseFloat(r)/e)*e*t);return(s-s%1)/t+(hn(r)?0:Et(r))}},Wh=function(e,t){var r=Pt(e),s,i;return!r&&Kr(e)&&(s=r=e.radius||xr,e.values?(e=_r(e.values),(i=!hn(e[0]))&&(s*=s)):e=El(e.increment)),qn(t,r?$e(e)?function(o){return i=e(o),Math.abs(i-o)<=s?i:o}:function(o){for(var a=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),c=xr,u=0,f=e.length,p,d;f--;)i?(p=e[f].x-a,d=e[f].y-l,p=p*p+d*d):p=Math.abs(e[f]-a),p<c&&(c=p,u=f);return u=!s||c<=s?e[u]:o,i||u===o||hn(o)?u:u+Et(o)}:El(e))},Vh=function(e,t,r,s){return qn(Pt(e)?!t:r===!0?!!(r=0):!s,function(){return Pt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*s)/s})},c_=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(s){return t.reduce(function(i,o){return o(i)},s)}},u_=function(e,t){return function(r){return e(parseFloat(r))+(t||Et
87(r))}},d_=function(e,t,r){return Yh(e,t,0,1,r)},Hh=function(e,t,r){return qn(r,function(s){return e[~~t(s)]})},f_=function n(e,t,r){var s=t-e;return Pt(e)?Hh(e,n(0,e.length),t):qn(r,function(i){return(s+(i-e)%s)%s+e})},h_=function n(e,t,r){var s=t-e,i=s*2;return Pt(e)?Hh(e,n(0,e.length-1),t):qn(r,function(o){return o=(i+(o-e)%i)%i||0,e+(o>s?i-o:o)})},Xi=function(e){return e.replace(Yx,function(t){var r=t.indexOf("[")+1,s=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(qx);return Vh(r?s:+s[0],r?0:+s[1],+s[2]||1e-5)})},Yh=function(e,t,r,s,i){var o=t-e,a=s-r;return qn(i,function(l){return r+((l-e)/o*a||0)})},p_=function n(e,t,r,s){var i=isNaN(e+t)?0:function(d){return(1-d)*e+d*t};if(!i){var o=at(e),a={},l,c,u,f,p;if(r===!0&&(s=1)&&(r=null),o)e={p:e},t={p:t};else if(Pt(e)&&!Pt(t)){for(u=[],f=e.length,p=f-2,c=1;c<f;c++)u.push(n(e[c-1],e[c]));f--,i=function(g){g*=f;var h=Math.min(p,~~g);return u[h](g-h)},r=t}else s||(e=Zs(Pt(e)?[]:{},e));if(!u){for(l in t)Cc.call(a,e,l,"get",t[l]);i=function(g){return Pc(g,a)||(o?e.p:e)}}}return qn(r,i)},Iu=function(e,t,r){var s=e.labels,i=xr,o,a,l;for(o in s)a=s[o]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(l=o,i=a);return l},lr=function(e,t,r){var s=e.vars,i=s[t],o=Re,a=e._ctx,l,c,u;if(i)return l=s[t+"Params"],c=s.callbackScope||e,r&&Dn.length&&ta(),a&&(Re=a),u=l?i.apply(c,l):i.call(c),Re=o,u},_i=function(e){return Un(e),e.scrollTrigger&&e.scrollTrigger.kill(!!dt),e.progress()<1&&lr(e,"onInterrupt"),e},Os,qh=[],Gh=function(e){if(e)if(e=!e.name&&e.default||e,gc()||e.headless){var t=e.name,r=$e(e),s=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Gi,render:Pc,add:Cc,kill:O_,modifier:R_,rawVars:0},o={targetTest:0,get:0,getSetter:Tc,aliases:{},register:0};if(ri(),e!==s){if(nr[t])return;hr(s,hr(ra(e,i),o)),Zs(s.prototype,Zs(i,ra(e,o))),nr[s.prop=t]=s,e.targetTest&&(Fo.push(s),xc[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Rh(t,s),e.register&&e.register(Xt,s,qt)}else qh.push(e)},we=255,bi={aqua:[0,we,we],lime:[0,we,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,we],navy:[0,0,128],white:[we,we,we],olive:[128,128,0],yellow:[we,we,0],orange:[we,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[we,0,0],pink:[we,192,203],cyan:[0,we,we],transparent:[we,we,we,0]},Wa=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*we+.5|0},Xh=function(e,t,r){var s=e?hn(e)?[e>>16,e>>8&we,e&we]:0:bi.black,i,o,a,l,c,u,f,p,d,g;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),bi[e])s=bi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+i+i+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&we,s&we,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&we,e&we]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(Ou),!t)l=+s[0]%360/360,c=+s[1]/100,u=+s[2]/100,o=u<=.5?u*(c+1):u+c-u*c,i=u*2-o,s.length>3&&(s[3]*=1),s[0]=Wa(l+1/3,i,o),s[1]=Wa(l,i,o),s[2]=Wa(l-1/3,i,o);else if(~e.indexOf("="))return s=e.match(Th),r&&s.length<4&&(s[3]=1),s}else s=e.match(Ou)||bi.transparent;s=s.map(Number)}return t&&!g&&(i=s[0]/we,o=s[1]/we,a=s[2]/we,f=Math.max(i,o,a),p=Math.min(i,o,a),u=(f+p)/2,f===p?l=c=0:(d=f-p,c=u>.5?d/(2-f-p):d/(f+p),l=f===i?(o-a)/d+(o<a?6:0):f===o?(a-i)/d+2:(i-o)/d+4,l*=60),s[0]=~~(l+.5),s[1]=~~(c*100+.5),s[2]=~~(u*100+.5)),r&&s.length<4&&(s[3]=1),s},Kh=function(e){var t=[],r=[],s=-1;return e.split(In).forEach(function(i){var o=i.match(Rs)||[];t.push.apply(t,o),r.push(s+=o.length+1)}),t.c=r,t},Lu=function(e,t,r){var s="",i=(e+s).match(In),o=t?"hsla(":"rgba(",a=0,l,c,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Xh(p,t,1))&&o+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Kh(e),l=r.c,l.join(s)!==u.c.join(s)))for(c=e.replace(In,"1").split(Rs),f=c.length-1;a<f;a++)s+=c[a]+(~l.indexOf(a)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!c)for(c=e.split(In),f=c.length-1;a<f;a++)s+=c[a]+i[a];return s+c[f]},In=function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in bi)n+="|"+e+"\\b";return new RegExp(n+")","gi")}(),m_=/hsl[a]?\(/,Qh=function(e){var t=e.join(" "),r;if(In.lastIndex=0,In.test(t))return r=m_.test(t),e[1]=Lu(e[1],r),e[0]=Lu(e[0],r,Kh(e[1])),!0},Ki,or=function(){var n=Date.now,e=500,t=33,r=n(),s=r,i=1e3/240,o=i,a=[],l,c,u,f,p,d,g=function h(m){var _=n()-s,x=m===!0,b,w,C,T;if((_>e||_<0)&&(r+=_-t),s+=_,C=s-r,b=C-o,(b>
870||x)&&(T=++f.frame,p=C-f.time*1e3,f.time=C=C/1e3,o+=b+(b>=i?4:i-b),w=1),x||(l=c(h)),w)for(d=0;d<a.length;d++)a[d](C,p,T,m)};return f={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return p/(1e3/(m||60))},wake:function(){kh&&(!xl&&gc()&&(Lr=xl=window,vc=Lr.document||{},fr.gsap=Xt,(Lr.gsapVersions||(Lr.gsapVersions=[])).push(Xt.version),Ah(ea||Lr.GreenSockGlobals||!Lr.gsap&&Lr||{}),qh.forEach(Gh)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(m){return setTimeout(m,o-f.time*1e3+1|0)},Ki=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),Ki=0,c=Gi},lagSmoothing:function(m,_){e=m||1/0,t=Math.min(_||33,e)},fps:function(m){i=1e3/(m||240),o=f.time*1e3+i},add:function(m,_,x){var b=_?function(w,C,T,S){m(w,C,T,S),f.remove(b)}:m;return f.remove(m),a[x?"unshift":"push"](b),ri(),b},remove:function(m,_){~(_=a.indexOf(m))&&a.splice(_,1)&&d>=_&&d--},_listeners:a},f}(),ri=function(){return!Ki&&or.wake()},he={},g_=/^[\d.\-M][\d.\-,\s]/,v_=/["']/g,y_=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),s=r[0],i=1,o=r.length,a,l,c;i<o;i++)l=r[i],a=i!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),t[s]=isNaN(c)?c.replace(v_,"").trim():+c,s=l.substr(a+1).trim();return t},x_=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",t);return e.substring(t,~s&&s<r?e.indexOf(")",r+1):r)},__=function(e){var t=(e+"").split("("),r=he[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[y_(t[1])]:x_(e).split(",").map(jh)):he._CE&&g_.test(e)?he._CE("",e):r},b_=function(e){return function(t){return 1-e(1-t)}},ds=function(e,t){return e&&($e(e)?e:he[e]||__(e))||t},bs=function(e,t,r,s){r===void 0&&(r=function(l){return 1-t(1-l)}),s===void 0&&(s=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:s},o;return Yt(e,function(a){he[a]=fr[a]=i,he[o=a.toLowerCase()]=r;for(var l in i)he[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=he[a+"."+l]=i[l]}),i},Jh=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Va=function n(e,t,r){var s=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),o=i/yl*(Math.asin(1/s)||0),a=function(u){return u===1?1:s*Math.pow(2,-10*u)*Hx((u-o)*i)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:Jh(a);return i=yl/i,l.config=function(c,u){return n(e,c,u)},l},Ha=function n(e,t){t===void 0&&(t=1.70158);var r=function(o){return o?--o*o*((t+1)*o+t)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Jh(r);return s.config=function(i){return n(e,i)},s};Yt("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;bs(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});he.Linear.easeNone=he.none=he.Linear.easeIn;bs("Elastic",Va("in"),Va("out"),Va());(function(n,e){var t=1/e,r=2*t,s=2.5*t,i=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<s?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};bs("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);bs("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});bs("Circ",function(n){return-(Sh(1-n*n)-1)});bs("Sine",function(n){return n===1?1:-Vx(n*Ux)+1});bs("Back",Ha("in"),Ha("out"),Ha());he.SteppedEase=he.steps=fr.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,s=e+(t?0:1),i=t?1:0,o=1-Ce;return function(a){return((s*lo(0,o,a)|0)+i)*r}}};Yi.ease=he["quad.out"];Yt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return _c+=n+","+n+"Params,"});var Zh=function(e,t){this.id=Wx++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Nh,this.set=t?t.getSetter:Tc},Qi=function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ti(this,+t.duration,1,1),this.data=t.data,Re&&(this._ctx=Re,Re.data.push(this)),Ki||or.wake()}var e=n.prototype;return e.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},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,ti(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(ri(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Ta(this,r),!i._dp||i.parent||Lh(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)&&Wr(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===Ce||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Mh(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ju(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ju(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,s):this._repeat?ei(this._tTime,i)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-Ce?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?na(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-Ce?0:this._rts,this.totalTime(lo(-Math.abs(this._delay),this.totalDuration(),i),s!==!1),Ea(this),t_(this)},e.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):(ri(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ce&&(this._tTime-=Ce)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Me(r);var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Wr(s,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Ht(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?na(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Qx);var s=dt;return dt=r,wc(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),dt=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Du(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Du(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(mr(this,r),Ht(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,Ht(s)),this._dur||(this._zTime=-Ce),this},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-Ce:0)),this):this._rts<0}
87,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ce,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=s&&i<this.endTime(!0)-Ce)},e.eventCallback=function(r,s,i){var o=this.vars;return arguments.length>1?(s?(o[r]=s,i&&(o[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=s)):delete o[r],this):o[r]},e.then=function(r){var s=this,i=s._prom;return new Promise(function(o){var a=$e(r)?r:Dh,l=function(){var u=s.then;s.then=null,i&&i(),$e(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=u),o(a),s.then=u};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},e.kill=function(){_i(this)},n}();hr(Qi.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:-Ce,_prom:0,_ps:!1,_rts:1});var Vt=function(n){Ch(e,n);function e(r,s){var i;return r===void 0&&(r={}),i=n.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=Ht(r.sortChildren),je&&Wr(r.parent||je,sn(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Fh(sn(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(s,i,o){return Ai(0,arguments,this),this},t.from=function(s,i,o){return Ai(1,arguments,this),this},t.fromTo=function(s,i,o,a){return Ai(2,arguments,this),this},t.set=function(s,i,o){return i.duration=0,i.parent=this,ki(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Xe(s,i,mr(this,o),1),this},t.call=function(s,i,o){return Wr(this,Xe.delayedCall(0,s,i),o)},t.staggerTo=function(s,i,o,a,l,c,u){return o.duration=i,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Xe(s,o,mr(this,l)),this},t.staggerFrom=function(s,i,o,a,l,c,u){return o.runBackwards=1,ki(o).immediateRender=Ht(o.immediateRender),this.staggerTo(s,i,o,a,l,c,u)},t.staggerFromTo=function(s,i,o,a,l,c,u,f){return a.startAt=o,ki(a).immediateRender=Ht(a.immediateRender),this.staggerTo(s,i,a,l,c,u,f)},t.render=function(s,i,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=s<=0?0:Me(s),f=this._zTime<0!=s<0&&(this._initted||!c),p,d,g,h,m,_,x,b,w,C,T,S;if(this!==je&&u>l&&s>=0&&(u=l),u!==this._tTime||o||f){if(a!==this._time&&c&&(u+=this._time-a,s+=this._time-a),p=u,w=this._start,b=this._ts,_=!b,f&&(c||(a=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(T=this._yoyo,m=c+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(m*100+s,i,o);if(p=Me(u%m),u===l?(h=this._repeat,p=c):(C=Me(u/m),h=~~C,h&&h===C&&(p=c,h--),p>c&&(p=c)),C=ei(this._tTime,m),!a&&this._tTime&&C!==h&&this._tTime-C*m-this._dur<=0&&(C=h),T&&h&1&&(p=c-p,S=1),h!==C&&!this._lock){var P=T&&C&1,k=P===(T&&h&1);
vendor: 8,362 bytes, line 87
87if(h<C&&(P=!P),a=P?0:u%c?c:u,this._lock=1,this.render(a||(S?0:Me(h*m)),i,!c)._lock=0,this._tTime=u,!i&&this.parent&&lr(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,C=h),a&&a!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,k&&(this._lock=2,a=P?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!_)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(x=i_(this,Me(a),Me(p)),x&&(u-=p-(p=x._start))),this._tTime=u,this._time=p,this._act=!!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,a=0),!a&&u&&c&&!i&&!C&&(lr(this,"onStart"),this._tTime!==u))return this;if(p>=a&&s>=0)for(d=this._first;d;){if(g=d._next,(d._act||p>=d._start)&&d._ts&&x!==d){if(d.parent!==this)return this.render(s,i,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,i,o),p!==this._time||!this._ts&&!_){x=0,g&&(u+=this._zTime=-Ce);break}}d=g}else{d=this._last;for(var R=s<0?s:p;d;){if(g=d._prev,(d._act||R<=d._end)&&d._ts&&x!==d){if(d.parent!==this)return this.render(s,i,o);if(d.render(d._ts>0?(R-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(R-d._start)*d._ts,i,o||dt&&wc(d)),p!==this._time||!this._ts&&!_){x=0,g&&(u+=this._zTime=R?-Ce:Ce);break}}d=g}}if(x&&!i&&(this.pause(),x.render(p>=a?0:-Ce)._zTime=p>=a?1:-1,this._ts))return this._start=w,Ea(this),this.render(s,i,o);this._onUpdate&&!i&&lr(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((s||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&Un(this,1),!i&&!(s<0&&!a)&&(u||a||!l)&&(lr(this,u===l&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(s,i){var o=this;if(hn(i)||(i=mr(this,i,s)),!(s instanceof Qi)){if(Pt(s))return s.forEach(function(a){return o.add(a,i)}),this;if(at(s))return this.addLabel(s,i);if($e(s))s=Xe.delayedCall(0,s);else return this}return this!==s?Wr(this,s,i):this},t.getChildren=function(s,i,o,a){s===void 0&&(s=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),a===void 0&&(a=-xr);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Xe?i&&l.push(c):(o&&l.push(c),s&&l.push.apply(l,c.getChildren(!0,i,o)))),c=c._next;return l},t.getById=function(s){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===s)return i[o]},t.remove=function(s){return at(s)?this.removeLabel(s):$e(s)?this.killTweensOf(s):(s.parent===this&&Sa(this,s),s===this._recent&&(this._recent=this._last),us(this))},t.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Me(or.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),n.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},t.addLabel=function(s,i){return this.labels[s]=mr(this,i),this},t.removeLabel=function(s){return delete this.labels[s],this},t.addPause=function(s,i,o){var a=Xe.delayedCall(0,i||Gi,o);return a.data="isPause",this._hasPause=1,Wr(this,a,mr(this,s))},t.removePause=function(s){var i=this._first;for(s=mr(this,s);i;)i._start===s&&i.data==="isPause"&&Un(i),i=i._next},t.killTweensOf=function(s,i,o){for(var a=this.getTweensOf(s,o),l=a.length;l--;)An!==a[l]&&a[l].kill(s,i);return this},t.getTweensOf=function(s,i){for(var o=[],a=_r(s),l=this._first,c=hn(i),u;l;)l instanceof Xe?Jx(l._targets,a)&&(c?(!An||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(u=l.getTweensOf(a,i)).length&&o.push.apply(o,u),l=l._next;return o},t.tweenTo=function(s,i){i=i||{};var o=this,a=mr(o,s),l=i,c=l.startAt,u=l.onStart,f=l.onStartParams,p=l.immediateRender,d,g=Xe.to(o,hr({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||Ce,onStart:function(){if(o.pause(),!d){var m=i.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());g._dur!==m&&ti(g,m,0,1).render(g._time,!0,!0),d=1}u&&u.apply(g,f||[])}},i));return p?g.render(0):g},t.tweenFromTo=function(s,i,o){return this.tweenTo(i,hr({startAt:{time:mr(this,s)}},o))},t.recent=function(){return this._recent},t.nextLabel=function(s){return s===void 0&&(s=this._time),Iu(this,mr(this,s))},t.previousLabel=function(s){return s===void 0&&(s=this._time),Iu(this,mr(this,s),1)},t.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+Ce)},t.shiftChildren=function(s,i,o){o===void 0&&(o=0);var a=this._first,l=this.labels,c;for(s=Me(s);a;)a._start>=o&&(a._start+=s,a._end+=s),a=a._next;if(i)for(c in l)l[c]>=o&&(l[c]+=s);return us(this)},t.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return n.prototype.invalidate.call(this,s)},t.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),us(this)},t.totalDuration=function(s){var i=0,o=this,a=o._last,l=xr,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-s:s));if(o._dirty){for(f=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Wr(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(i-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Me(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>i&&a._ts&&(i=a._end),a=c;ti(o,o===je&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(s){if(je._ts&&(Mh(je,na(s,je)),Oh=or.frame),or.frame>=Nu){Nu+=dr.autoSleep||120;var i=je._first;if((!i||!i._ts)&&dr.autoSleep&&or._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||or.sleep()}}},e}(Qi);hr(Vt.prototype,{_lock:0,_hasPause:0,_forcing:0});var w_=function(e,t,r,s,i,o,a){var l=new qt(this._pt,e,t,0,1,ip,null,i),c=0,u=0,f,p,d,g,h,m,_,x;for(l.b=r,l.e=s,r+="",s+="",(_=~s.indexOf("random("))&&(s=Xi(s)),o&&(x=[r,s],o(x,e,t),r=x[0],s=x[1]),p=r.match(Ba)||[];f=Ba.exec(s);)g=f[0],h=s.substring(c,f.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),g!==p[u++]&&(m=parseFloat(p[u-1])||0,l._pt={_next:l._pt,p:h||u===1?h:",",s:m,c:g.charAt(1)==="="?Is(m,g)-m:parseFloat(g)-m,m:d&&d<4?Math.round:0},c=Ba.lastIndex);return l.c=c<s.length?s.substring(c,s.length):"",l.fp=a,(Ph.test(s)||_)&&(l.e=0),this._pt=l,l},Cc=function(e,t,r,s,i,o,a,l,c,u){$e(s)&&(s=s(i||0,e,o));var f=e[t],p=r!=="get"?r:$e(f)?c?e[t.indexOf("set")||!$e(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():f,d=$e(f)?c?P_:np:Ec,g;if(at(s)&&(~s.indexOf("random(")&&(s=Xi(s)),s.charAt(1)==="="&&(g=Is(p,s)+(Et(p)||0),(g||g===0)&&(s=g))),!u||p!==s||Tl)return!isNaN(p*s)&&s!==""?(g=new qt(this._pt,e,t,+p||0,s-(p||0),typeof f=="boolean"?A_:sp,0,d),c&&(g.fp=c),a&&g.modifier(a,this,e),this._pt=g):(!f&&!(t in e)&&yc(t,s),w_.call(this,e,t,p,s,d,l||dr.stringFilter,c))},C_=function(e,t,r,s,i){if($e(e)&&(e=Ri(e,i,t,r,s)),!Kr(e)||e.style&&e.nodeType||Pt(e)||Eh(e))return at(e)?Ri(e,i,t,r,s):e;var o={},a;for(a in e)o[a]=Ri(e[a],i,t,r,s);return o},ep=function(e,t,r,s,i,o){var a,l,c,u;if(nr[e]&&(a=new nr[e]).init(i,a.rawVars?t[e]:C_(t[e],s,i,o,r),r,s,o)!==!1&&(r._pt=l=new qt(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==Os))for(c=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)c[a._props[u]]=l;return a},An,Tl,Sc=function n(e,t,r){var s=e.vars,i=s.ease,o=s.startAt,a=s.immediateRender,l=s.lazy,c=s.onUpdate,u=s.runBackwards,f=s.yoyoEase,p=s.keyframes,d=s.autoRevert,g=e._dur,h=e._startAt,m=e._targets,_=e.parent,x=_&&_.data==="nested"?_.vars.targets:m,b=e._overwrite==="auto"&&!pc,w=e.timeline,C=s.easeReverse||f,T,S,P,k,R,$,A,I,N,L,F,D,z;if(w&&(!p||!i)&&(i="none"),e._ease=ds(i,Yi.ease),e._rEase=C&&(ds(C)||e._ease),e._from=!w&&!!s.runBackwards,e._from&&(e.ratio=1),!w||p&&!s.stagger){if(I=m[0]?cs(m[0]).harness:0,D=I&&s[I.prop],T=ra(s,xc),h&&(h._zTime<0&&h.progress(1),t<0&&u&&a&&!d?h.render(-1,!0):h.revert(u&&g?Lo:Kx),h._lazy=0),o){if(Un(e._startAt=Xe.set(m,hr({data:"isStart",overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Ht(l),startAt:null,delay:0,onUpdate:c&&function(){return lr(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt||!a&&!d)&&e._startAt.revert(Lo),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}
87else if(u&&g&&!h){if(t&&(a=!1),P=hr({overwrite:!1,data:"isFromStart",lazy:a&&!h&&Ht(l),immediateRender:a,stagger:0,parent:_},T),D&&(P[I.prop]=D),Un(e._startAt=Xe.set(m,P)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(dt?e._startAt.revert(Lo):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,Ce,Ce);else if(!t)return}for(e._pt=e._ptCache=0,l=g&&Ht(l)||l&&!g,S=0;S<m.length;S++){if(R=m[S],A=R._gsap||bc(m)[S]._gsap,e._ptLookup[S]=L={},_l[A.id]&&Dn.length&&ta(),F=x===m?S:x.indexOf(R),I&&(N=new I).init(R,D||T,e,F,x)!==!1&&(e._pt=k=new qt(e._pt,R,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(j){L[j]=k}),N.priority&&($=1)),!I||D)for(P in T)nr[P]&&(N=ep(P,T,e,F,R,x))?N.priority&&($=1):L[P]=k=Cc.call(e,R,P,"get",T[P],F,x,0,s.stringFilter);e._op&&e._op[S]&&e.kill(R,e._op[S]),b&&e._pt&&(An=e,je.killTweensOf(R,L,e.globalTime(t)),z=!e.parent,An=0),e._pt&&l&&(_l[A.id]=1)}$&&op(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!z,p&&t<=0&&w.render(xr,!0,!0)},S_=function(e,t,r,s,i,o,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,d;if(!c)for(c=e._ptCache[t]=[],p=e._ptLookup,d=e._targets.length;d--;){if(u=p[d][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Tl=1,e.vars[t]="+=0",Sc(e,a),Tl=0,l?qi(t+" not eligible for reset. Try splitting into individual properties"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(s||s===0)&&!i?s:u.s+(s||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=We(r)+Et(f.e)),f.b&&(f.b=u.s+Et(f.b))},E_=function(e,t){var r=e[0]?cs(e[0]).harness:0,s=r&&r.aliases,i,o,a,l;if(!s)return t;i=Zs({},t);for(o in s)if(o in i)for(l=s[o].split(","),a=l.length;a--;)i[l[a]]=i[o];return i},T_=function(e,t,r,s){var i=t.ease||s||"power1.inOut",o,a;if(Pt(t))a=r[e]||(r[e]=[]),t.forEach(function(l,c){return a.push({t:c/(t.length-1)*100,v:l,e:i})});else for(o in t)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:t[o],e:i})},Ri=function(e,t,r,s,i){return $e(e)?e.call(t,r,s,i):at(e)&&~e.indexOf("random(")?Xi(e):e},tp=_c+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",rp={};Yt(tp+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return rp[n]=1});var Xe=function(n){Ch(e,n);function e(r,s,i,o){var a;typeof s=="number"&&(i.duration=s,s=i,i=null),a=n.call(this,o?s:ki(s))||this;var l=a.vars,c=l.duration,u=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,g=l.keyframes,h=l.defaults,m=l.scrollTrigger,_=s.parent||je,x=(Pt(r)||Eh(r)?hn(r[0]):"length"in s)?[r]:_r(r),b,w,C,T,S,P,k,R;if(a._targets=x.length?bc(x):qi("GSAP target "+r+" not found. https://gsap.com",!dr.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,g||p||yo(c)||yo(u)){s=a.vars;var $=s.easeReverse||s.yoyoEase;if(b=a.timeline=new Vt({data:"nested",defaults:h||{},targets:_&&_.data==="nested"?_.vars.targets:x}),b.kill(),b.parent=b._dp=sn(a),b._start=0,p||yo(c)||yo(u)){if(T=x.length,k=p&&Uh(p),Kr(p))for(S in p)~tp.indexOf(S)&&(R||(R={}),R[S]=p[S]);for(w=0;w<T;w++)C=ra(s,rp),C.stagger=0,$&&(C.easeReverse=$),R&&Zs(C,R),P=x[w],C.duration=+Ri(c,sn(a),w,P,x),C.delay=(+Ri(u,sn(a),w,P,x)||0)-a._delay,!p&&T===1&&C.delay&&(a._delay=u=C.delay,a._start+=u,C.delay=0),b.to(P,C,k?k(w,P,x):0),b._ease=he.none;b.duration()?c=u=0:a.timeline=0}else if(g){ki(hr(b.vars.defaults,{ease:"none"})),b._ease=ds(g.ease||s.ease||"none");var A=0,I,N,L;if(Pt(g))g.forEach(function(F){return b.to(x,F,">")}),b.duration();else{C={};for(S in g)S==="ease"||S==="easeEach"||T_(S,g[S],C,g.easeEach);for(S in C)for(I=C[S].sort(function(F,D){return F.t-D.t}),A=0,w=0;w<I.length;w++)N=I[w],L={ease:N.e,duration:(N.t-(w?I[w-1].t:0))/100*c},L[S]=N.v,b.to(x,L,A),A+=L.duration;b.duration()<c&&b.to({},{duration:c-b.duration()})}}c||a.duration(c=b.duration())}else a.timeline=0;return d===!0&&!pc&&(An=sn(a),je.killTweensOf(x),An=0),Wr(_,sn(a),i),s.reversed&&a.reverse(),s.paused&&a.paused(!0),(f||!c&&!g&&a._start===Me(_._time)&&Ht(f)&&r_(sn(a))&&_.data!=="nested")&&(a._tTime=-Ce,a.render(Math.max(0,-u)||0)),m&&Fh(sn(a),m),a}var t=e.prototype;return t.render=function(s,i,o){var a=this._time,l=this._tDur,c=this._dur,u=s<0,f=s>l-Ce&&!u?l:s<Ce?0:s,p,d,g,h,m,_,x,b;if(!c)s_(this,s,i,o);else if(f!==this._tTime||!s||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if
87(p=f,b=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+s,i,o);if(p=Me(f%h),f===l?(g=this._repeat,p=c):(m=Me(f/h),g=~~m,g&&g===m?(p=c,g--):p>c&&(p=c)),_=this._yoyo&&g&1,_&&(p=c-p),m=ei(this._tTime,h),p===a&&!o&&this._initted&&g===m)return this._tTime=f,this;g!==m&&this.vars.repeatRefresh&&!_&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(Me(h*g),!0).invalidate()._lock=0)}if(!this._initted){if(zh(this,u?s:p,o,i,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==m))return this;if(c!==this._dur)return this.render(s,i,o)}if(this._rEase){var w=p<a;if(w!==this._inv){var C=w?a:c-a;this._inv=w,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=C?(w?-1:1)/C:0,this._invScale=w?-this.ratio:1-this.ratio,this._invEase=w?this._rEase:this._ease}this.ratio=x=this._invRatio+this._invScale*this._invEase((p-this._invTime)*this._invRecip)}else this.ratio=x=this._ease(p/c);if(this._from&&(this.ratio=x=1-x),this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&f&&!i&&!m&&(lr(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(x,d.d),d=d._next;b&&b.render(s<0?s:b._dur*b._ease(p/this._dur),i,o)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&bl(this,s,i,o),lr(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!i&&this.parent&&lr(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&bl(this,s,!0,!0),(s||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Un(this,1),!i&&!(u&&!a)&&(f||a||_)&&(lr(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),n.prototype.invalidate.call(this,s)},t.resetTo=function(s,i,o,a,l){Ki||or.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Sc(this,c),u=this._ease(c/this._dur),S_(this,s,i,o,a,u,c,l)?this.resetTo(s,i,o,a,1):(Ta(this,0),this.parent||Ih(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?_i(this):this.scrollTrigger&&this.scrollTrigger.kill(!!dt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,An&&An.vars.overwrite!==!0)._first||_i(this),this.parent&&o!==this.timeline.totalDuration()&&ti(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=s?_r(s):a,c=this._ptLookup,u=this._pt,f,p,d,g,h,m,_;if((!i||i==="all")&&e_(a,l))return i==="all"&&(this._pt=0),_i(this);for(f=this._op=this._op||[],i!=="all"&&(at(i)&&(h={},Yt(i,function(x){return h[x]=1}),i=h),i=E_(a,i)),_=a.length;_--;)if(~l.indexOf(a[_])){p=c[_],i==="all"?(f[_]=i,g=p,d={}):(d=f[_]=f[_]||{},g=i);for(h in g)m=p&&p[h],m&&((!("kill"in m.d)||m.d.kill(h)===!0)&&Sa(this,m,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&u&&_i(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return Ai(1,arguments)},e.delayedCall=function(s,i,o,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(s,i,o){return Ai(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,o){return je.killTweensOf(s,i,o)},e}(Qi);hr(Xe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Yt("staggerTo,staggerFrom,staggerFromTo",function(n){Xe[n]=function(){var e=new Vt,t=Cl.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Ec=function(e,t,r){return e[t]=r},np=function(e,t,r){return e[t](r)},P_=function(e,t,r,s){return e[t](s.fp,r)},k_=function(e,t,r){return e.setAttribute(t,r)},Tc=function(e,t){return $e(e[t])?np:mc(e[t])&&e.setAttribute?k_:Ec},sp=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},A_=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ip=function(e,t){var r=t._pt,s="";if(!e&&t.b)s=t.b;else if(e===1&&t.e)s=t.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=t.c}t.set(t.t,t.p,s,t)},Pc=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},R_=function(e,t,r,s){for(var i=this._pt,o;i;)o=i._next,i.p===s&&i.modifier(e,t,r),i=o},O_=function(e){for(var t=this._pt,r,s;t;)s=t._next,t.p===e&&!t.op||t.op===e?Sa(this,t,"_pt"):t.dep||(r=1),t=s;return!r},N_=function(e,t,r,s){s.mSet(e,t,s.m.call(s.tween,r,s.mt),s)},op=function(e){for(var t=e._pt,r,s,i,o;t;
87){for(r=t._next,s=i;s&&s.pr>t.pr;)s=s._next;(t._prev=s?s._prev:o)?t._prev._next=t:i=t,(t._next=s)?s._prev=t:o=t,t=r}e._pt=i},qt=function(){function n(t,r,s,i,o,a,l,c,u){this.t=r,this.s=i,this.c=o,this.p=s,this.r=a||sp,this.d=l||this,this.set=c||Ec,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=N_,this.m=r,this.mt=i,this.tween=s},n}();Yt(_c+"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(n){return xc[n]=1});fr.TweenMax=fr.TweenLite=Xe;fr.TimelineLite=fr.TimelineMax=Vt;je=new Vt({sortChildren:!1,defaults:Yi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});dr.stringFilter=Qh;var fs=[],zo={},M_=[],Fu=0,j_=0,Ya=function(e){return(zo[e]||M_).map(function(t){return t()})},Pl=function(){var e=Date.now(),t=[];e-Fu>2&&(Ya("matchMediaInit"),fs.forEach(function(r){var s=r.queries,i=r.conditions,o,a,l,c;for(a in s)o=Lr.matchMedia(s[a]).matches,o&&(l=1),o!==i[a]&&(i[a]=o,c=1);c&&(r.revert(),l&&t.push(r))}),Ya("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),Fu=e,Ya("matchMedia"))},ap=function(){function n(t,r){this.selector=r&&Sl(r),this.data=[],this._r=[],this.isReverted=!1,this.id=j_++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,s,i){$e(r)&&(i=s,s=r,r=$e);var o=this,a=function(){var c=Re,u=o.selector,f;return c&&c!==o&&c.data.push(o),i&&(o.selector=Sl(i)),Re=o,f=s.apply(o,arguments),$e(f)&&o._r.push(f),Re=c,o.selector=u,o.isReverted=!1,f};return o.last=a,r===$e?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var s=Re;Re=null,r(this),Re=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof n?r.push.apply(r,s.getTweens()):s instanceof Xe&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var a=i.getTweens(),l=i.data.length,c;l--;)c=i.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=i.data.length;l--;)c=i.data[l],c instanceof Vt?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof Xe)&&c.revert&&c.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),s)for(var o=fs.length;o--;)fs[o].id===this.id&&fs.splice(o,1)},e.revert=function(r){this.kill(r||{})},n}(),D_=function(){function n(t){this.contexts=[],this.scope=t,Re&&Re.data.push(this)}var e=n.prototype;return e.add=function(r,s,i){Kr(r)||(r={matches:r});var o=new ap(0,i||this.scope),a=o.conditions={},l,c,u;Re&&!o.selector&&(o.selector=Re.selector),this.contexts.push(o),s=o.add("onMatch",s),o.queries=r;for(c in r)c==="all"?u=1:(l=Lr.matchMedia(r[c]),l&&(fs.indexOf(o)<0&&fs.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(Pl):l.addEventListener("change",Pl)));return u&&s(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})}
87,e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},n}(),sa={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(s){return Gh(s)})},timeline:function(e){return new Vt(e)},getTweensOf:function(e,t){return je.getTweensOf(e,t)},getProperty:function(e,t,r,s){at(e)&&(e=_r(e)[0]);var i=cs(e||{}).get,o=r?Dh:jh;return r==="native"&&(r=""),e&&(t?o((nr[t]&&nr[t].get||i)(e,t,r,s)):function(a,l,c){return o((nr[a]&&nr[a].get||i)(e,a,l,c))})},quickSetter:function(e,t,r){if(e=_r(e),e.length>1){var s=e.map(function(u){return Xt.quickSetter(u,t,r)}),i=s.length;return function(u){for(var f=i;f--;)s[f](u)}}e=e[0]||{};var o=nr[t],a=cs(e),l=a.harness&&(a.harness.aliases||{})[t]||t,c=o?function(u){var f=new o;Os._pt=0,f.init(e,r?u+r:u,Os,0,[e]),f.render(1,f),Os._pt&&Pc(1,Os)}:a.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,t,r){var s,i=Xt.to(e,hr((s={},s[t]="+=0.1",s.paused=!0,s.stagger=0,s),r||{})),o=function(l,c,u){return i.resetTo(t,l,c,u)};return o.tween=i,o},isTweening:function(e){return je.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ds(e.ease,Yi.ease)),Mu(Yi,e||{})},config:function(e){return Mu(dr,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,s=e.plugins,i=e.defaults,o=e.extendTimeline;(s||"").split(",").forEach(function(a){return a&&!nr[a]&&!fr[a]&&qi(t+" effect requires "+a+" plugin.")}),Ua[t]=function(a,l,c){return r(_r(a),hr(l||{},i),c)},o&&(Vt.prototype[t]=function(a,l,c){return this.add(Ua[t](a,Kr(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,t){he[e]=ds(t)},parseEase:function(e,t){return arguments.length?ds(e,t):he},getById:function(e){return je.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new Vt(e),s,i;for(r.smoothChildTiming=Ht(e.smoothChildTiming),je.remove(r),r._dp=0,r._time=r._tTime=je._time,s=je._first;s;)i=s._next,(t||!(!s._dur&&s instanceof Xe&&s.vars.onComplete===s._targets[0]))&&Wr(r,s,s._start-s._delay),s=i;return Wr(je,r,0),r},context:function(e,t){return e?new ap(e,t):Re},matchMedia:function(e){return new D_(e)},matchMediaRefresh:function(){return fs.forEach(function(e){var t=e.conditions,r,s;for(s in t)t[s]&&(t[s]=!1,r=1);r&&e.revert()})||Pl()},addEventListener:function(e,t){var r=zo[e]||(zo[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=zo[e],s=r&&r.indexOf(t);s>=0&&r.splice(s,1)},utils:{wrap:f_,wrapYoyo:h_,distribute:Uh,random:Vh,snap:Wh,normalize:d_,getUnit:Et,clamp:a_,splitColor:Xh,toArray:_r,selector:Sl,mapRange:Yh,pipe:c_,unitize:u_,interpolate:p_,shuffle:Bh},install:Ah,effects:Ua,ticker:or,updateRoot:Vt.updateRoot,plugins:nr,globalTimeline:je,core:{PropTween:qt,globals:Rh,Tween:Xe,Timeline:Vt,Animation:Qi,getCache:cs,_removeLinkedListItem:Sa,reverting:function(){return dt},context:function(e){return e&&Re&&(Re.data.push(e),e._ctx=Re),Re},suppressOverwrites:function(e){return pc=e}}};Yt("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return sa[n]=Xe[n]});or.add(Vt.updateRoot);Os=sa.to({},{duration:0});var I_=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},L_=function(e,t){var r=e._targets,s,i,o;for(s in t)for(i=r.length;i--;)o=e._ptLookup[i][s],o&&(o=o.d)&&(o._pt&&(o=I_(o,s)),o&&o.modifier&&o.modifier(t[s],e,r[i],s))},qa=function(e,t){return{name:e,headless:1,rawVars:1,init:function(s,i,o){o._onInit=function(a){var l,c;if(at(i)&&(l={},Yt(i,function(u){return l[u]=1}),i=l),t){l={};for(c in i)l[c]=t(i[c]);i=l}L_(a,i)}}}},Xt=sa.registerPlugin({name:"attr",init:function(e,t,r,s,i){var o,a,l;this.tween=r;for(o in t)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",t[o],s,i,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,t){for(var r=t._pt;r;)dt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},qa("roundProps",El),qa("modifiers"),qa("snap",Wh))||sa;Xe.version=Vt.version=Xt.version="3.15.0";kh=1;gc()&&ri();he.Power0;he.Power1;he.Power2;he.Power3;he.Power4;he.Linear;he.Quad;he.Cubic;he.Quart;he.Quint;he.Strong;he.Elastic;he.Back;he.SteppedEase;he.Bounce;he.Sine;he.Expo;he.Circ;/*! 88 * CSSPlugin 3.15.0 89 * https://gsap.com 90 * 91 * Copyright 2008-2026, GreenSock. All rights reserved. 92 * Subject to the terms at https://gsap.com/standard-license 93 * @author: Jack Doyle, [email protected] 94*/var zu,Rn,Ls,kc,ts,$u,Ac,F_=function(){return typeof window<"u"},pn={},Jn=180/Math.PI,Fs=Math.PI/180,ws=Math.atan2,Bu=1e8,Rc=/([A-Z])/g,z_=/(left|right|width|margin|padding|x)/i,$_=/[\s,\(]\S/,Hr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},kl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},B_=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},U_=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},W_=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},V_=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},lp=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},cp=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},H_=function(e,t,r){return e.style[t]=r},Y_=function(e,t,r){return e.style.setProperty(t,r)},q_=function(e,t,r){return e._gsap[t]=r},G_=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},X_=function(e,t,r,s,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},K_=function(e,t,r,s,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},De="transform",Gt=De+"Origin",Q_=function n(e,t){var r=this,s=this.target,i=s.style,o=s._gsap;if(e in pn&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Hr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=on(s,a)}):this.tfm[e]=o.x?o[e]:on(s,e),e===Gt&&(this.tfm.zOrigin=o.zOrigin);else return Hr.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(De)>=0)return;o.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Gt,t,"")),e=De}(i||t)&&this.props.push(e,t,i[e])},up=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},J_=function(){var e=this.props,t=this.target,r=t.style,s=t._gsap,i,o;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Rc,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)s[o]=this.tfm[o];s.svg&&(s.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=Ac(),(!i||!i.isStart)&&!r[De]&&(up(r),s.zOrigin&&r[Gt]&&(r[Gt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},dp=function(e,t){var r={target:e,props:[],revert:J_,save:Q_};return e._gsap||Xt.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(s){return r.s
94ave(s)}),r},fp,Al=function(e,t){var r=Rn.createElementNS?Rn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Rn.createElement(e);return r&&r.style?r:Rn.createElement(e)},cr=function n(e,t,r){var s=getComputedStyle(e);return s[t]||s.getPropertyValue(t.replace(Rc,"-$1").toLowerCase())||s.getPropertyValue(t)||!r&&n(e,ni(t)||t,1)||""},Uu="O,Moz,ms,Ms,Webkit".split(","),ni=function(e,t,r){var s=t||ts,i=s.style,o=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Uu[o]+e in i););return o<0?null:(o===3?"ms":o>=0?Uu[o]:"")+e},Rl=function(){F_()&&window.document&&(zu=window,Rn=zu.document,Ls=Rn.documentElement,ts=Al("div")||{style:{}},Al("div"),De=ni(De),Gt=De+"Origin",ts.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fp=!!ni("perspective"),Ac=Xt.core.reverting,kc=1)},Wu=function(e){var t=e.ownerSVGElement,r=Al("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=e.cloneNode(!0),i;s.style.display="block",r.appendChild(s),Ls.appendChild(r);try{i=s.getBBox()}catch{}return r.removeChild(s),Ls.removeChild(r),i},Vu=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},hp=function(e){var t,r;try{t=e.getBBox()}catch{t=Wu(e),r=1}return t&&(t.width||t.height)||r||(t=Wu(e)),t&&!t.width&&!t.x&&!t.y?{x:+Vu(e,["x","cx","x1"])||0,y:+Vu(e,["y","cy","y1"])||0,width:0,height:0}:t},pp=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&hp(e))},Wn=function(e,t){if(t){var r=e.style,s;t in pn&&t!==Gt&&(t=De),r.removeProperty?(s=t.substr(0,2),(s==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(s==="--"?t:t.replace(Rc,"-$1").toLowerCase())):r.removeAttribute(t)}},On=function(e,t,r,s,i,o){var a=new qt(e._pt,t,r,0,1,o?cp:lp);return e._pt=a,a.b=s,a.e=i,e._props.push(r),a},Hu={deg:1,rad:1,turn:1},Z_={grid:1,flex:1},Vn=function n(e,t,r,s){var i=parseFloat(r)||0,o=(r+"").trim().substr((i+"").length)||"px",a=ts.style,l=z_.test(t),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,p=s==="px",d=s==="%",g,h,m,_;if(s===o||!i||Hu[s]||Hu[o])return i;if(o!=="px"&&!p&&(i=n(e,t,r,"px")),_=e.getCTM&&pp(e),(d||o==="%")&&(pn[t]||~t.indexOf("adius")))return g=_?e.getBBox()[l?"width":"height"]:e[u],We(d?i/g*f:i/100*g);if(a[l?"width":"height"]=f+(p?o:s),h=s!=="rem"&&~t.indexOf("adius")||s==="em"&&e.appendChild&&!c?e:e.parentNode,_&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Rn||!h.appendChild)&&(h=Rn.body),m=h._gsap,m&&d&&m.width&&l&&m.time===or.time&&!m.uncache)return We(i/m.width*f);if(d&&(t==="height"||t==="width")){var x=e.style[t];e.style[t]=f+s,g=e[u],x?e.style[t]=x:Wn(e,t)}else(d||o==="%")&&!Z_[cr(h,"display")]&&(a.position=cr(e,"position")),h===e&&(a.position="static"),h.appendChild(ts),g=ts[u],h.removeChild(ts),a.position="absolute";return l&&d&&(m=cs(h),m.time=or.time,m.width=h[u]),We(p?g*i/f:g&&i?f/g*i:0)},on=function(e,t,r,s){var i;return kc||Rl(),t in Hr&&t!=="transform"&&(t=Hr[t],~t.indexOf(",")&&(t=t.split(",")[0])),pn[t]&&t!=="transform"?(i=Zi(e,s),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:oa(cr(e,Gt))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=ia[t]&&ia[t](e,t,r)||cr(e,t)||Nh(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Vn(e,t,i,r)+r:i},eb=function(e,t,r,s){if(!r||r==="none"){var i=ni(t,e,1),o=i&&cr(e,i,1);o&&o!==r?(t=i,r=o):t==="borderColor"&&(r=cr(e,"borderTopColor"))}var a=new qt(this._pt,e.style,t,0,1,ip),l=0,c=0,u,f,p,d,g,h,m,_,x,b,w,C;if(a.b=r,a.e=s,r+="",s+="",s.substring(0,6)==="var(--"&&(s=cr(e,s.substring(4,s.indexOf(")")))),s==="auto"&&(h=e.style[t],e.style[t]=s,s=cr(e,t)||s,h?e.style[t]=h:Wn(e,t)),u=[r,s],Qh(u),r=u[0],s=u[1],p=r.match(Rs)||[],C=s.match(Rs)||[],C.length){for(;f=Rs.exec(s);)m=f[0],x=s.substring(l,f.index),g?g=(g+1)%5:(x.substr(-5)==="rgba("||x.substr(-5)==="hsla(")&&(g=1),m!==(h=p[c++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),m.charAt(1)==="="&&(m=Is(d,m)+w),_=parseFloat(m),b=m.substr((_+"").length),l=Rs.lastIndex-b.length,b||(b=b||dr.units[t]||w,l===s.length&&(s+=b,a.e+=b)),w!==b&&(d=Vn(e,t,h,b)||0),a._pt={_next:a._pt,p:x||c===1?x:",",s:d,c:_-d,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=l<s.length?s.substring(l,s.length):""}else a.r=t==="display"&&s==="none"?cp:lp;return Ph.test(s)&&(a.e=0),this._pt=a,a},Yu={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},tb=function(e){var t=e.split(" "),r=t[0],s=t[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),t[0]=Yu[r]||r,t[1]=Yu[s]||s,t.join(" ")}
94,rb=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,s=r.style,i=t.u,o=r._gsap,a,l,c;if(i==="all"||i===!0)s.cssText="",l=1;else for(i=i.split(","),c=i.length;--c>-1;)a=i[c],pn[a]&&(l=1,a=a==="transformOrigin"?Gt:De),Wn(r,a);l&&(Wn(r,De),o&&(o.svg&&r.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",Zi(r,1),o.uncache=1,up(s)))}},ia={clearProps:function(e,t,r,s,i){if(i.data!=="isFromStart"){var o=e._pt=new qt(e._pt,t,r,0,0,rb);return o.u=s,o.pr=-10,o.tween=i,e._props.push(r),1}}},Ji=[1,0,0,1,0,0],mp={},gp=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},qu=function(e){var t=cr(e,De);return gp(t)?Ji:t.substr(7).match(Th).map(We)},Oc=function(e,t){var r=e._gsap||cs(e),s=e.style,i=qu(e),o,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.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"?Ji:i):(i===Ji&&!e.offsetParent&&e!==Ls&&!r.svg&&(l=s.display,s.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,Ls.appendChild(e)),i=qu(e),l?s.display=l:Wn(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):Ls.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Ol=function(e,t,r,s,i,o){var a=e._gsap,l=i||Oc(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,d=l[0],g=l[1],h=l[2],m=l[3],_=l[4],x=l[5],b=t.split(" "),w=parseFloat(b[0])||0,C=parseFloat(b[1])||0,T,S,P,k;r?l!==Ji&&(S=d*m-g*h)&&(P=w*(m/S)+C*(-h/S)+(h*x-m*_)/S,k=w*(-g/S)+C*(d/S)-(d*x-g*_)/S,w=P,C=k):(T=hp(e),w=T.x+(~b[0].indexOf("%")?w/100*T.width:w),C=T.y+(~(b[1]||b[0]).indexOf("%")?C/100*T.height:C)),s||s!==!1&&a.smooth?(_=w-c,x=C-u,a.xOffset=f+(_*d+x*h)-_,a.yOffset=p+(_*g+x*m)-x):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=C,a.smooth=!!s,a.origin=t,a.originIsAbsolute=!!r,e.style[Gt]="0px 0px",o&&(On(o,a,"xOrigin",c,w),On(o,a,"yOrigin",u,C),On(o,a,"xOffset",f,a.xOffset),On(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+C)},Zi=function(e,t){var r=e._gsap||new Zh(e);if("x"in r&&!t&&!r.uncache)return r;var s=e.style,i=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=cr(e,Gt)||"0",u,f,p,d,g,h,m,_,x,b,w,C,T,S,P,k,R,$,A,I,N,L,F,D,z,j,E,X,V,Q,q,de;return u=f=p=h=m=_=x=b=w=0,d=g=1,r.svg=!!(e.getCTM&&pp(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(s[De]=(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[De]!=="none"?l[De]:"")),s.scale=s.rotate=s.translate="none"),S=Oc(e,r.svg),r.svg&&(r.uncache?(z=e.getBBox(),c=r.xOrigin-z.x+"px "+(r.yOrigin-z.y)+"px",D=""):D=!t&&e.getAttribute("data-svg-origin"),Ol(e,D||c,!!D||r.originIsAbsolute,r.smooth!==!1,S)),C=r.xOrigin||0,T=r.yOrigin||0,S!==Ji&&($=S[0],A=S[1],I=S[2],N=S[3],u=L=S[4],f=F=S[5],S.length===6?(d=Math.sqrt($*$+A*A),g=Math.sqrt(N*N+I*I),h=$||A?ws(A,$)*Jn:0,x=I||N?ws(I,N)*Jn+h:0,x&&(g*=Math.abs(Math.cos(x*Fs))),r.svg&&(u-=C-(C*$+T*I),f-=T-(C*A+T*N))):(de=S[6],Q=S[7],E=S[8],X=S[9],V=S[10],q=S[11],u=S[12],f=S[13],p=S[14],P=ws(de,V),m=P*Jn,P&&(k=Math.cos(-P),R=Math.sin(-P),D=L*k+E*R,z=F*k+X*R,j=de*k+V*R,E=L*-R+E*k,X=F*-R+X*k,V=de*-R+V*k,q=Q*-R+q*k,L=D,F=z,de=j),P=ws(-I,V),_=P*Jn,P&&(k=Math.cos(-P),R=Math.sin(-P),D=$*k-E*R,z=A*k-X*R,j=I*k-V*R,q=N*R+q*k,$=D,A=z,I=j),P=ws(A,$),h=P*Jn,P&&(k=Math.cos(P),R=Math.sin(P),D=$*k+A*R,z=L*k+F*R,A=A*k-$*R,F=F*k-L*R,$=D,L=z),m&&Math.abs(m)+Math.abs(h)>359.9&&(m=h=0,_=180-_),d=We(Math.sqrt($*$+A*A+I*I)),g=We(Math.sqrt(F*F+de*de)),P=ws(L,F),x=Math.abs(P)>2e-4?P*Jn:0,w=q?1/(q<0?-q:q):0),r.svg&&(D=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!gp(cr(e,De)),D&&e.setAttribute("transform",D))),Math.abs(x)>90&&Math.abs(x)<270&&(i?(d*=-1,x+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-1,x+=x<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=p+o,r.scaleX=We(d),r.scaleY=We(g),r.rotation=We(h)+a,r.rotationX=We(m)+a,r.rotationY=We(_)+a,r.skewX=x+a,r.skewY=b+a,r.transformPerspective=w+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!t&&r.zOrigin||0)&&(s[Gt]=oa(c)),r.xOffset=r.yOffset=0,r.force3D=dr.force3D,r.renderTransform=r.svg?sb:fp?vp:nb,r.uncache=0,r},oa=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ga=function(e,t,r){var s=Et(t);return We(parseFloat(t)+parseFloat(Vn(e,"x",r+"px",s)))+s},nb=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,vp(e,t)},Kn="0deg",mi="0px",Qn=") ",vp=function(e,t){var r=t||this,s=r.xPercent,i=r.yPercent,o=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,d=r.skewY,g=r.scaleX,h=r.scaleY,m=r.transformPerspective,_=r.force3D,x=r.target,b=r.zOrigin,w="",C=_==="auto"&&e&&e!==1||_===!0;if(b&&(f!==Kn||u!==Kn)){var T=parseFloat(u)*Fs,S=Math.sin(T),P=Math.cos(T),k;T=parseFloat(f)*Fs,k=Math.cos(T),o=Ga(x,o,S*k*-b),a=Ga(x,a,-Math.sin(T)*-b),l=Ga(x,l,P*k*-b+b)}m!==mi&&(w+="perspective("+m+Qn),(s||i)&&(w+="translate("+s+"%, "+i+"%) "),(C||o!==m
94i||a!==mi||l!==mi)&&(w+=l!==mi||C?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+Qn),c!==Kn&&(w+="rotate("+c+Qn),u!==Kn&&(w+="rotateY("+u+Qn),f!==Kn&&(w+="rotateX("+f+Qn),(p!==Kn||d!==Kn)&&(w+="skew("+p+", "+d+Qn),(g!==1||h!==1)&&(w+="scale("+g+", "+h+Qn),x.style[De]=w||"translate(0, 0)"},sb=function(e,t){var r=t||this,s=r.xPercent,i=r.yPercent,o=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,d=r.target,g=r.xOrigin,h=r.yOrigin,m=r.xOffset,_=r.yOffset,x=r.forceCSS,b=parseFloat(o),w=parseFloat(a),C,T,S,P,k;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Fs,c*=Fs,C=Math.cos(l)*f,T=Math.sin(l)*f,S=Math.sin(l-c)*-p,P=Math.cos(l-c)*p,c&&(u*=Fs,k=Math.tan(c-u),k=Math.sqrt(1+k*k),S*=k,P*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),C*=k,T*=k)),C=We(C),T=We(T),S=We(S),P=We(P)):(C=f,P=p,T=S=0),(b&&!~(o+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(b=Vn(d,"x",o,"px"),w=Vn(d,"y",a,"px")),(g||h||m||_)&&(b=We(b+g-(g*C+h*S)+m),w=We(w+h-(g*T+h*P)+_)),(s||i)&&(k=d.getBBox(),b=We(b+s/100*k.width),w=We(w+i/100*k.height)),k="matrix("+C+","+T+","+S+","+P+","+b+","+w+")",d.setAttribute("transform",k),x&&(d.style[De]=k)},ib=function(e,t,r,s,i){var o=360,a=at(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?Jn:1),c=l-s,u=s+c+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Bu)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Bu)%o-~~(c/o)*o)),e._pt=p=new qt(e._pt,t,r,s,c,B_),p.e=u,p.u="deg",e._props.push(r),p},Gu=function(e,t){for(var r in t)e[r]=t[r];return e},ob=function(e,t,r){var s=Gu({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,c,u,f,p,d,g;s.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[De]=t,a=Zi(r,1),Wn(r,De),r.setAttribute("transform",c)):(c=getComputedStyle(r)[De],o[De]=t,a=Zi(r,1),o[De]=c);for(l in pn)c=s[l],u=a[l],c!==u&&i.indexOf(l)<0&&(d=Et(c),g=Et(u),f=d!==g?Vn(r,l,c,g):parseFloat(c),p=parseFloat(u),e._pt=new qt(e._pt,a,l,f,p-f,kl),e._pt.u=g||0,e._props.push(l));Gu(a,s)};Yt("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",s="Bottom",i="Left",o=(e<3?[t,r,s,i]:[t+i,t+r,s+r,s+i]).map(function(a){return e<2?n+a:"border"+a+n});ia[e>1?"border"+n:n]=function(a,l,c,u,f){var p,d;if(arguments.length<4)return p=o.map(function(g){return on(a,g,c)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(u+"").split(" "),d={},o.forEach(function(g,h){return d[g]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(l,d,f)}});var yp={name:"css",register:Rl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,s,i){var o=this._props,a=e.style,l=r.vars.startAt,c,u,f,p,d,g,h,m,_,x,b,w,C,T,S,P,k;kc||Rl(),this.styles=this.styles||dp(e),P=this.styles.props,this.tween=r;for(h in t)if(h!=="autoRound"&&(u=t[h],!(nr[h]&&ep(h,t,r,s,e,i)))){if(d=typeof u,g=ia[h],d==="function"&&(u=u.call(r,s,e,i),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=Xi(u)),g)g(this,e,h,u,r)&&(S=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(h)+"").trim(),u+="",In.lastIndex=0,In.test(c)||(m=Et(c),_=Et(u),_?m!==_&&(c=Vn(e,h,c,_)+_):m&&(u+=m)),this.add(a,"setProperty",c,u,s,i,0,0,h),o.push(h),P.push(h,0,a[h]);else if(d!=="undefined"){if(l&&h in l?(c=typeof l[h]=="function"?l[h].call(r,s,e,i):l[h],at(c)&&~c.indexOf("random(")&&(c=Xi(c)),Et(c+"")||c==="auto"||(c+=dr.units[h]||Et(on(e,h))||""),(c+"").charAt(1)==="="&&(c=on(e,h))):c=on(e,h),p=parseFloat(c),x=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),x&&(u=u.substr(2)),f=parseFloat(u),h in Hr&&(h==="autoAlpha"&&(p===1&&on(e,"visibility")==="hidden"&&f&&(p=0),P.push("visibility",0,a.visibility),On(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=Hr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in pn,b){if(this.styles.save(h),k=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=cr(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var R=e.style.perspective;e.style.perspective=u,u=cr(e,"perspective"),R?e.style.perspective=R:Wn(e,"perspective")}f=parseFloat(u)}if(w||(C=e._gsap,C.renderTransform&&!t.parseTransform||Zi(e,t.parseTransform),T=t.smoothOrigin!==!1&&C.smooth,w=this._pt=new qt(this._pt,a,De,0,1,C.renderTransform,C,0,-1),w.dep=1),h==="scale")this._pt=new qt(this._pt,C,"scaleY",C.scaleY,(x?Is(C.scaleY,x+f):f)-C.scaleY||0,kl),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){P.push(Gt,0,a[Gt]),u=tb(u),C.svg?Ol(e,u,0,T,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==C.zOrigin&&On(this,C,"zOrigin",C.zOrigin,_),On(this,a,h,oa(c),oa(u)));continue}else if(h==="svgOrigin"){Ol(e,u,1,T,0,this);continue}else if(h in mp){ib(this,C,h,p,x?Is(p,x+u):u);continue}else if(h==="smoothOrigin"){On(this,C,"smooth",C.smooth,u);continue}else if(h==="force3D"){C[h]=u;continue}else if(h==="transform"){ob(this,u,e);continue}}else h in a||(h=ni(h)||h);if(b||(f||f===0)&&(p||p===0)&&!$_.test(u)&&h in a)m=(c+"").substr((p+"").length),f||(f=0),_=Et(u)||(h in dr.units?dr.units[h]:m),m!==_&&(p=Vn(e,h,c,_)),this._pt=new qt(this._pt,b?C:a,h,p,(x?Is(p,x+f):f)-p,!b&&(_==="px"||h==="zIndex")&&t.autoRound!==!1?V_:kl),this._pt.u=_||0,b&&k!==u?(this._pt.b=c,this._pt.e=k,this._pt.r=W_):m!==_&&_!=="%"&&(this._pt.b=c,this._pt.r=U_);else if(h in a)eb.call(this,e,h,c,x?x+u:u);else if(h in e)this.add(e,h,c||e[h],x?x+u:u,s,i);else if(h!=="parseTransform"){yc(h,u);continue}b||(h in a?P.push(h,0,a[h]):typeof e[h]=="function"?P.push(h,2,e[h]()):P.push(h,1,c||e[h])),o.push(h)}}S&&op(this)},render:function(e,t){if(t.tween._time||!Ac())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:on,aliases:Hr,getSetter:function(e,t,r){var s=Hr[t];return s&&s.indexOf(",")<0&&(t=s),t in pn&&t!==Gt&&(e._gsap.x||on(e,"x"))?r&&$u===r?t==="scale"?G_:q_:($u=r||{})&&(t==="scale"?X_:K_):e.style&&!mc(e.style[t])?H_:~t.indexOf("-")?Y_:Tc(e,t)},core:{_removeProperty:Wn,_getMatrix:Oc}};Xt.utils.checkPrefix=ni;Xt.core.getStyleSaver=dp;(function(n,e,t,r){var s=Yt(n+","+e+","+t,function(i){pn[i]=1});Yt(e,function(i){dr.units[i]="deg",mp[i]=1}),Hr[s[13]]=n+","+e,Yt(r,function(i){var o=i.split(":");Hr[o[1]]=s[o[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");Yt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){dr.units[n]="px"});Xt.registerPlugin(yp);var Pa=Xt.registerPlugin(yp)||Xt;Pa.core.Tween;function ab(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function lb(n,e,t){return e&&ab(n.prototype,e),n}/*! 95 * Observer 3.15.0 96 * https://gsap.com 97 * 98 * @license Copyright 2008-2026, GreenSock. All rights reserved. 99 * Subject to the terms at https://gsap.com/standard-license 100 * @author: Jack Doyle, [email protected] 101*/var ut,$o,ar,Nn,Mn,zs,xp,Zn,$s,_p,cn,Er,bp,wp=function(){return ut||typeof window<"u"&&(ut=window.gsap)&&ut.registerPlugin&&ut},Cp=1,Ns=[],ce=[],Gr=[],Oi=Date.now,Nl=function(e,t){return t},cb=function(){var e=$s.core,t=e.bridge||{},r=e._scrollers,s=e._proxies;r.push.apply(r,ce),s.push.apply(s,Gr),ce=r,Gr=s,Nl=function(o,a){return t[o](a)}},Ln=function(e,t){return~Gr.indexOf(e)&&Gr[Gr.indexOf(e)+1][t]},Ni=function(e){return!!~_p.indexOf(e)},Nt=function(e,t,r,s,i){return e.addEventListener(t,r,{passive:s!==!1,capture:!!i})},Ot=function(e,t,r,s){return e.removeEventListener(t,r,!!s)},xo="scrollLeft",_o="scrollTop",Ml=function(){return cn&&cn.isPressed||ce.cac
101he++},aa=function(e,t){var r=function s(i){if(i||i===0){Cp&&(ar.history.scrollRestoration="manual");var o=cn&&cn.isPressed;i=s.v=Math.round(i)||(cn&&cn.iOS?1:0),e(i),s.cacheID=ce.cache,o&&Nl("ss",i)}else(t||ce.cache!==s.cacheID||Nl("ref"))&&(s.cacheID=ce.cache,s.v=e());return s.v+s.offset};return r.offset=0,e&&r},Ft={s:xo,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:aa(function(n){return arguments.length?ar.scrollTo(n,et.sc()):ar.pageXOffset||Nn[xo]||Mn[xo]||zs[xo]||0})},et={s:_o,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Ft,sc:aa(function(n){return arguments.length?ar.scrollTo(Ft.sc(),n):ar.pageYOffset||Nn[_o]||Mn[_o]||zs[_o]||0})},Wt=function(e,t){return(t&&t._ctx&&t._ctx.selector||ut.utils.toArray)(e)[0]||(typeof e=="string"&&ut.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},ub=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},Hn=function(e,t){var r=t.s,s=t.sc;Ni(e)&&(e=Nn.scrollingElement||Mn);var i=ce.indexOf(e),o=s===et.sc?1:2;!~i&&(i=ce.push(e)-1),ce[i+o]||Nt(e,"scroll",Ml);var a=ce[i+o],l=a||(ce[i+o]=aa(Ln(e,r),!0)||(Ni(e)?s:aa(function(c){return arguments.length?e[r]=c:e[r]})));return l.target=e,a||(l.smooth=ut.getProperty(e,"scrollBehavior")==="smooth"),l},jl=function(e,t,r){var s=e,i=e,o=Oi(),a=o,l=t||50,c=Math.max(500,l*3),u=function(g,h){var m=Oi();h||m-o>l?(i=s,s=g,a=o,o=m):r?s+=g:s=i+(g-i)/(m-a)*(o-a)},f=function(){i=s=r?0:s,a=o=0},p=function(g){var h=a,m=i,_=Oi();return(g||g===0)&&g!==s&&u(g),o===a||_-a>c?0:(s+(r?m:-m))/((r?_:o)-h)*1e3};return{update:u,reset:f,getVelocity:p}},gi=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Xu=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},Sp=function(){$s=ut.core.globals().ScrollTrigger,$s&&$s.core&&cb()},Ep=function(e){return ut=e||wp(),!$o&&ut&&typeof document<"u"&&document.body&&(ar=window,Nn=document,Mn=Nn.documentElement,zs=Nn.body,_p=[ar,Nn,Mn,zs],ut.utils.clamp,bp=ut.core.context||function(){},Zn="onpointerenter"in zs?"pointer":"mouse",xp=Ve.isTouch=ar.matchMedia&&ar.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ar||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Er=Ve.eventTypes=("ontouchstart"in Mn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Mn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Cp=0},500),$o=1),$s||Sp(),$o};Ft.op=et;ce.cache=0;var Ve=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(r){$o||Ep(ut)||console.warn("Please gsap.registerPlugin(Observer)"),$s||Sp();var s=r.tolerance,i=r.dragMinimum,o=r.type,a=r.target,l=r.lineHeight,c=r.debounce,u=r.preventDefault,f=r.onStop,p=r.onStopDelay,d=r.ignore,g=r.wheelSpeed,h=r.event,m=r.onDragStart,_=r.onDragEnd,x=r.onDrag,b=r.onPress,w=r.onRelease,C=r.onRight,T=r.onLeft,S=r.onUp,P=r.onDown,k=r.onChangeX,R=r.onChangeY,$=r.onChange,A=r.onToggleX,I=r.onToggleY,N=r.onHover,L=r.onHoverEnd,F=r.onMove,D=r.ignoreCheck,z=r.isNormalizer,j=r.onGestureStart,E=r.onGestureEnd,X=r.onWheel,V=r.onEnable,Q=r.onDisable,q=r.onClick,de=r.scrollSpeed,Ee=r.capture,Z=r.allowClicks,Ie=r.lockAxis,Te=r.onLockAxis;this.target=a=Wt(a)||Mn,this.vars=r,d&&(d=ut.utils.toArray(d)),s=s||1e-9,i=i||0,g=g||1,de=de||1,o=o||"wheel,touch,pointer",c=c!==!1,l||(l=parseFloat(ar.getComputedStyle(zs).lineHeight)||22);var ht,ke,Le,re,Se,rt,nt,O=this,Ke=0,pt=0,wr=r.passive||!u&&r.passive!==!1,xe=Hn(a,Ft),pr=Hn(a,et),mt=xe(),Jr=pr(),Ye=~o.indexOf("touch")&&!~o.indexOf("pointer")&&Er[0]==="pointerdown",Be=Ni(a),_e=a.ownerDocument||Nn,Qt=[0,0,0],$t=[0,0,0],Bt=0,Gn=function(){return Bt=Oi()},Oe=function(H,ie){return(O.event=H)&&d&&ub(H.target,d)||ie&&Ye&&H.pointerType!=="touch"||D&&D(H,ie)},gn=function(){O._vx.reset(),O._vy.reset(),ke.pause(),f&&f(O)},gt=function(){var H=O.deltaX=Xu(Qt),ie=O.deltaY=Xu($t),U=Math.abs(H)>=s,G=Math.abs(ie)>=s;$&&(U||G)&&$(O,H,ie,Qt,$t),U&&(C&&O.deltaX>0&&C(O),T&&O.deltaX<0&&T(O),k&&k(O),A&&O.deltaX<0!=Ke<0&&A(O),Ke=O.deltaX,Qt[0]=Qt[1]=Qt[2]=0),G&&(P&&O.deltaY>0&&P(O),S&&O.deltaY<0&&S(O),R&&R(O),I&&O.deltaY<0!=pt<0&&I(O),pt=O.deltaY,$t[0]=$t[1]=$t[2]=0),(re||Le)&&(F&&F(O),Le&&(m&&Le===1&&m(O),x&&x(O),Le=0),re=!1),rt&&!(rt=!1)&&Te&&Te(O),Se&&(X(O),Se=!1),ht=0},Zr=function(H,ie,U){Qt[U]+=H,$t[U]+=ie,O._vx.update(H),O._vy.update(ie),c?ht||(ht=requestAnimationFrame(gt)):gt()},Jt=function(H,ie){Ie&&!nt&&(O.axis=nt=Math.abs(H)>Math.abs(ie)?"x":"y",rt=!0),nt!=="y"&&(Qt[2]+=H,O._vx.update(H,!0)),nt!=="x"&&($t[2]+=ie,O._vy.update(ie,!0)),c?ht||(ht=requestAnimationFrame(gt)):gt()},Nr=function(H){if(!Oe(H,1)){H=gi(H,u);var ie=H.clientX,U=H.clientY,G=ie-O.x,Y=U-O.y,ee=O.isDragging;O.x=ie,O.y=U,(ee||(G||Y)&&(Math.abs(O.startX-ie)>=i||Math.abs(O.startY-U)>=i))&&(Le||(Le=ee?2:1),ee||(O.isDragging=!0),Jt(G,Y))}},en=O.onPress=function(K){Oe(K,1)||K&&K.button||(O.axis=nt=null,ke.pause(),O.isPressed=!0,K=gi(K),Ke=pt=0,O.startX=O.x=K.clientX,O.startY=O.y=K.clientY,O._vx.reset(),O._vy.reset(),Nt(z?a:_e,Er[1],Nr,wr,!0),O.deltaX=O.deltaY=0,b&&b(O))},se=O.onRelease=function(K){if(!Oe(K,1)){Ot(z?a:_e,Er[1],Nr,!0);var H=!isNaN(O.y-O.startY),ie=O.isDragging,U=ie&&(Math.abs(O.x-O.startX)>3||Math.abs(O.y-O.startY)>3),G=gi(K);!U&&H&&(O._vx.reset(),O._vy.reset(),u&&Z&&ut.delayedCall(.08,function(){if(Oi()-Bt>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(_e.createEvent){var Y=_e.createEvent("MouseEvents");Y.initMouseEvent("click",!0,!0,ar,1,G.screenX,G.screenY,G.clientX,G.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(Y)}}})),O.isDragging=O.isGesturing=O.isPressed=!1,f&&ie&&!z&&ke.restart(!0),Le&>(),_&&ie&&_(O),w&&w(O,U)}},Mr=function(H){return H.touches&&H.touches.length>1&&(O.isGesturing=!0)&&j(H,O.isDragging)},Zt=function(){return(O.isGesturing=!1)||E(O)},At=function(H){if(!Oe(H)){var ie=xe(),U=pr();Zr((ie-mt)*de,(U-Jr)*de,1),mt=ie,Jr=U,f&&ke.restart(!0)}},qe=function(H){if(!Oe(H)){H=gi(H,u),X&&(Se=!0);
101var ie=(H.deltaMode===1?l:H.deltaMode===2?ar.innerHeight:1)*g;Zr(H.deltaX*ie,H.deltaY*ie,0),f&&!z&&ke.restart(!0)}},tn=function(H){if(!Oe(H)){var ie=H.clientX,U=H.clientY,G=ie-O.x,Y=U-O.y;O.x=ie,O.y=U,re=!0,f&&ke.restart(!0),(G||Y)&&Jt(G,Y)}},J=function(H){O.event=H,N(O)},ae=function(H){O.event=H,L(O)},me=function(H){return Oe(H)||gi(H,u)&&q(O)};ke=O._dc=ut.delayedCall(p||.25,gn).pause(),O.deltaX=O.deltaY=0,O._vx=jl(0,50,!0),O._vy=jl(0,50,!0),O.scrollX=xe,O.scrollY=pr,O.isDragging=O.isGesturing=O.isPressed=!1,bp(this),O.enable=function(K){return O.isEnabled||(Nt(Be?_e:a,"scroll",Ml),o.indexOf("scroll")>=0&&Nt(Be?_e:a,"scroll",At,wr,Ee),o.indexOf("wheel")>=0&&Nt(a,"wheel",qe,wr,Ee),(o.indexOf("touch")>=0&&xp||o.indexOf("pointer")>=0)&&(Nt(a,Er[0],en,wr,Ee),Nt(_e,Er[2],se),Nt(_e,Er[3],se),Z&&Nt(a,"click",Gn,!0,!0),q&&Nt(a,"click",me),j&&Nt(_e,"gesturestart",Mr),E&&Nt(_e,"gestureend",Zt),N&&Nt(a,Zn+"enter",J),L&&Nt(a,Zn+"leave",ae),F&&Nt(a,Zn+"move",tn)),O.isEnabled=!0,O.isDragging=O.isGesturing=O.isPressed=re=Le=!1,O._vx.reset(),O._vy.reset(),mt=xe(),Jr=pr(),K&&K.type&&en(K),V&&V(O)),O},O.disable=function(){O.isEnabled&&(Ns.filter(function(K){return K!==O&&Ni(K.target)}).length||Ot(Be?_e:a,"scroll",Ml),O.isPressed&&(O._vx.reset(),O._vy.reset(),Ot(z?a:_e,Er[1],Nr,!0)),Ot(Be?_e:a,"scroll",At,Ee),Ot(a,"wheel",qe,Ee),Ot(a,Er[0],en,Ee),Ot(_e,Er[2],se),Ot(_e,Er[3],se),Ot(a,"click",Gn,!0),Ot(a,"click",me),Ot(_e,"gesturestart",Mr),Ot(_e,"gestureend",Zt),Ot(a,Zn+"enter",J),Ot(a,Zn+"leave",ae),Ot(a,Zn+"move",tn),O.isEnabled=O.isPressed=O.isDragging=!1,Q&&Q(O))},O.kill=O.revert=function(){O.disable();var K=Ns.indexOf(O);K>=0&&Ns.splice(K,1),cn===O&&(cn=0)},Ns.push(O),z&&Ni(a)&&(cn=O),O.enable(h)},lb(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();Ve.version="3.15.0";Ve.create=function(n){return new Ve(n)};Ve.register=Ep;Ve.getAll=function(){return Ns.slice()};Ve.getById=function(n){return Ns.filter(function(e){return e.vars.id===n})[0]};wp()&&ut.registerPlugin(Ve);/*! 102 * ScrollTrigger 3.15.0 103 * https://gsap.com 104 * 105 * @license Copyright 2008-2026, GreenSock. All rights reserved. 106 * Subject to the terms at https://gsap.com/standard-license 107 * @author: Jack Doyle, [email protected] 108*/var W,Ps,le,ve,ir,ge,Nc,la,eo,Mi,wi,bo,wt,ka,Dl,Dt,Ku,Qu,ks,Tp,Xa,Pp,jt,Il,kp,Ap,wn,Ll,Mc,Bs,jc,ji,Fl,Ka,wo=1,St=Date.now,Qa=St(),br=0,Ci=0,Ju=function(e,t,r){var s=rr(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=s,s?e.substr(6,e.length-7):e},Zu=function(e,t){return t&&(!rr(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},db=function n(){return Ci&&requestAnimationFrame(n)},ed=function(){return ka=1},td=function(){return ka=0},Fr=function(e){return e},Si=function(e){return Math.round(e*1e5)/1e5||0},Rp=function(){return typeof window<"u"},Op=function(){return W||Rp()&&(W=window.gsap)&&W.registerPlugin&&W},vs=function(e){return!!~Nc.indexOf(e)},Np=function(e){return(e==="Height"?jc:le["inner"+e])||ir["client"+e]||ge["client"+e]},Mp=function(e){return Ln(e,"getBoundingClientRect")||(vs(e)?function(){return Ho.width=le.innerWidth,Ho.height=jc,Ho}:function(){return ln(e)})},fb=function(e,t,r){var s=r.d,i=r.d2,o=r.a;return(o=Ln(e,"getBoundingClientRect"))?function(){return o()[s]}:function(){return(t?Np(i):e["client"+i])||0}},hb=function(e,t){return!t||~Gr.indexOf(e)?Mp(e):function(){return Ho}},Yr=function(e,t){var r=t.s,s=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+s)&&(o=Ln(e,r))?o()-Mp(e)()[i]:vs(e)?(ir[r]||ge[r])-Np(s):e[r]-e["offset"+s])},Co=function(e,t){for(var r=0;r<ks.length;r+=3)(!t||~t.indexOf(ks[r+1]))&&e(ks[r],ks[r+1],ks[r+2])},rr=function(e){return typeof e=="string"},Tt=function(e){return typeof e=="function"},Ei=function(e){return typeof e=="number"},es=function(e){return typeof e=="object"},vi=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},Cs=function(e,t,r){if(e.enabled){var s=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);s&&s.totalTime&&(e.callbackAnimation=s)}},Ss=Math.abs,jp="left",Dp="top",Dc="right",Ic="bottom",hs="width",ps="height",Di="Right",Ii="Left",Li="Top",Fi="Bottom",Ge="padding",vr="margin",si="Width",Lc="Height",Ze="px",yr=function(e){return le.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},pb=function(e){var t=yr(e).position;e.style.position=t==="absolute"||t==="fixed"?t:"relative"},rd=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ln=function(e,t){var r=t&&yr(e)[Dl]!=="matrix(1, 0, 0, 1, 0, 0)"&&W.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),s=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),s},ca=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Ip=function(e){var t=[],r=e.labels,s=e.duration(),i;for(i in r)t.push(r[i]/s);return t},mb=function(e){return function(t){return W.utils.snap(Ip(e),t)}},Fc=function(e){var t=W.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(s,i){return s-i});return r?function(s,i,o){o===void 0&&(o=.001);var a;if(!i)return t(s);if(i>0){for(s-=o,a=0;a<r.length;a++)if(r[a]>=s)return r[a];return r[a-1]}else for(a=r.length,s+=o;a--;
108)if(r[a]<=s)return r[a];return r[0]}:function(s,i,o){o===void 0&&(o=.001);var a=t(s);return!i||Math.abs(a-s)<o||a-s<0==i<0?a:t(i<0?s-e:s+e)}},gb=function(e){return function(t,r){return Fc(Ip(e))(t,r.direction)}},So=function(e,t,r,s){return r.split(",").forEach(function(i){return e(t,i,s)})},ot=function(e,t,r,s,i){return e.addEventListener(t,r,{passive:!s,capture:!!i})},it=function(e,t,r,s){return e.removeEventListener(t,r,!!s)},Eo=function(e,t,r){r=r&&r.wheelHandler,r&&(e(t,"wheel",r),e(t,"touchmove",r))},nd={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},To={toggleActions:"play",anticipatePin:0},ua={top:0,left:0,center:.5,bottom:1,right:1},Bo=function(e,t){if(rr(e)){var r=e.indexOf("="),s=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(s*=t/100),e=e.substr(0,r-1)),e=s+(e in ua?ua[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Po=function(e,t,r,s,i,o,a,l){var c=i.startColor,u=i.endColor,f=i.fontSize,p=i.indent,d=i.fontWeight,g=ve.createElement("div"),h=vs(r)||Ln(r,"pinType")==="fixed",m=e.indexOf("scroller")!==-1,_=h?ge:r.tagName==="IFRAME"?r.contentDocument.body:r,x=e.indexOf("start")!==-1,b=x?c:u,w="border-color:"+b+";font-size:"+f+";color:"+b+";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 w+="position:"+((m||l)&&h?"fixed;":"absolute;"),(m||l||!h)&&(w+=(s===et?Dc:Ic)+":"+(o+parseFloat(p))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=x,g.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),g.style.cssText=w,g.innerText=t||t===0?e+"-"+t:e,_.children[0]?_.insertBefore(g,_.children[0]):_.appendChild(g),g._offset=g["offset"+s.op.d2],Uo(g,0,s,x),g},Uo=function(e,t,r,s){var i={display:"block"},o=r[s?"os2":"p2"],a=r[s?"p2":"os2"];e._isFlipped=s,i[r.a+"Percent"]=s?-100:0,i[r.a]=s?"1px":0,i["border"+o+si]=1,i["border"+a+si]=0,i[r.p]=t+"px",W.set(e,i)},oe=[],zl={},to,sd=function(){return St()-br>34&&(to||(to=requestAnimationFrame(un)))},Es=function(){(!jt||!jt.isPressed||jt.startX>ge.clientWidth)&&(ce.cache++,jt?to||(to=requestAnimationFrame(un)):un(),br||xs("scrollStart"),br=St())},Ja=function(){Ap=le.innerWidth,kp=le.innerHeight},Ti=function(e){ce.cache++,(e===!0||!wt&&!Pp&&!ve.fullscreenElement&&!ve.webkitFullscreenElement&&(!Il||Ap!==le.innerWidth||Math.abs(le.innerHeight-kp)>le.innerHeight*.25))&&la.restart(!0)},ys={},vb=[],Lp=function n(){return it(ue,"scrollEnd",n)||rs(!0)},xs=function(e){return ys[e]&&ys[e].map(function(t){return t()})||vb},tr=[],Fp=function(e){for(var t=0;t<tr.length;t+=5)(!e||tr[t+4]&&tr[t+4].query===e)&&(tr[t].style.cssText=tr[t+1],tr[t].getBBox&&tr[t].setAttribute("transform",tr[t+2]||""),tr[t+3].uncache=1)},zp=function(){return ce.forEach(function(e){return Tt(e)&&++e.cacheID&&(e.rec=e())})},zc=function(e,t){var r;for(Dt=0;Dt<oe.length;Dt++)r=oe[Dt],r&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ji=!0,t&&Fp(t),t||xs("revert")},$p=function(e,t){ce.cache++,(t||!It)&&ce.forEach(function(r){return Tt(r)&&r.cacheID++&&(r.rec=0)}),rr(e)&&(le.history.scrollRestoration=Mc=e)},It,ms=0,id,yb=function(){if(id!==ms){var e=id=ms;requestAnimationFrame(function(){return e===ms&&rs(!0)})}},Bp=function(){ge.appendChild(Bs),jc=!jt&&Bs.offsetHeight||le.innerHeight,ge.removeChild(Bs)},od=function(e){return eo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},rs=function(e,t){if(ir=ve.documentElement,ge=ve.body,Nc=[le,ve,ir,ge],br&&!e&&!ji){ot(ue,"scrollEnd",Lp);return}Bp(),It=ue.isRefreshing=!0,ji||zp();var r=xs("refreshInit");Tp&&ue.sort(),t||zc(),ce.forEach(function(s){Tt(s)&&(s.smooth&&(s.target.style.scrollBehavior="auto"),s(0))}),oe.slice(0).forEach(function(s){return s.refresh()}),ji=!1,oe.forEach(function(s){if(s._subPinOffset&&s.pin){var i=s.vars.horizontal?"offsetWidth":"offsetHeight",o=s.pin[i];s.revert(!0,1),s.adjustPinSpacing(s.pin[i]-o),s.refresh()}}),Fl=1,od(!0),oe.forEach(function(s){var i=Yr(s.scroller,s._dir),o=s.vars.end==="max"||s._endClamp&&s.end>i,a=s._startClamp&&s.start>=i;(o||a)&&s.setPositions(a?i-1:s.start,o?Math.max(a?i:s.start+1,i):s.end,!0)}),od(!1),Fl=0,r.forEach(function(s){return s&&s.render&&s.render(-1)}),ce.forEach(function(s){Tt(s)&&(s.smooth&&requestAnimationFrame(function(){return s.target.style.scrollBehavior="smooth"}),s.rec&&s(s.rec))}),$p(Mc,1),la.pause(),ms++,It=2,un(2),oe.forEach(function(s){return Tt(s.vars.onRefresh)&&s.vars.onRefresh(s)}),It=ue.isRefreshing=!1,xs("refresh")},$l=0,Wo=1,zi,un=function(e){if(e===2||!It&&!ji){ue.isUpdating=!0,zi&&zi.update(0);var t=oe.length,r=St(),s=r-Qa>=50,i=t&&oe[0].scroll();if(Wo=$l>i?-1:1,It||($l=i),s&&(br&&!ka&&r-br>200&&(br=0,xs("scrollEnd")),wi=Qa,Qa=r),Wo<0){for(Dt=t;Dt-- >0;)oe[Dt]&&oe[Dt].update(0,s);Wo=1}else for(Dt=0;Dt<t;Dt++)oe[Dt]&&oe[Dt].update(0,s);
108ue.isUpdating=!1}to=0},Bl=[jp,Dp,Ic,Dc,vr+Fi,vr+Di,vr+Li,vr+Ii,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Vo=Bl.concat([hs,ps,"boxSizing","max"+si,"max"+Lc,"position",vr,Ge,Ge+Li,Ge+Di,Ge+Fi,Ge+Ii]),xb=function(e,t,r){Us(r);var s=e._gsap;if(s.spacerIsNative)Us(s.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},Za=function(e,t,r,s){if(!e._gsap.swappedIn){for(var i=Bl.length,o=t.style,a=e.style,l;i--;)l=Bl[i],o[l]=r[l];o.position=r.position==="absolute"?"absolute":"relative",r.display==="inline"&&(o.display="inline-block"),a[Ic]=a[Dc]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[hs]=ca(e,Ft)+Ze,o[ps]=ca(e,et)+Ze,o[Ge]=a[vr]=a[Dp]=a[jp]="0",Us(s),a[hs]=a["max"+si]=r[hs],a[ps]=a["max"+Lc]=r[ps],a[Ge]=r[Ge],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},_b=/([A-Z])/g,Us=function(e){if(e){var t=e.t.style,r=e.length,s=0,i,o;for((e.t._gsap||W.core.getCache(e.t)).uncache=1;s<r;s+=2)o=e[s+1],i=e[s],o?t[i]=o:t[i]&&t.removeProperty(i.replace(_b,"-$1").toLowerCase())}},ko=function(e){for(var t=Vo.length,r=e.style,s=[],i=0;i<t;i++)s.push(Vo[i],r[Vo[i]]);return s.t=e,s},bb=function(e,t,r){for(var s=[],i=e.length,o=r?8:0,a;o<i;o+=2)a=e[o],s.push(a,a in t?t[a]:e[o+1]);return s.t=e.t,s},Ho={left:0,top:0},ad=function(e,t,r,s,i,o,a,l,c,u,f,p,d,g){Tt(e)&&(e=e(l)),rr(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?Bo("0"+e.substr(3),r):0));var h=d?d.time():0,m,_,x;if(d&&d.seek(0),isNaN(e)||(e=+e),Ei(e))d&&(e=W.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),a&&Uo(a,r,s,!0);else{Tt(t)&&(t=t(l));var b=(e||"0").split(" "),w,C,T,S;x=Wt(t,l)||ge,w=ln(x)||{},(!w||!w.left&&!w.top)&&yr(x).display==="none"&&(S=x.style.display,x.style.display="block",w=ln(x),S?x.style.display=S:x.style.removeProperty("display")),C=Bo(b[0],w[s.d]),T=Bo(b[1]||"0",r),e=w[s.p]-c[s.p]-u+C+i-T,a&&Uo(a,T,s,r-T<20||a._isStart&&T>20),r-=r-T}if(g&&(l[g]=e||-.001,e<0&&(e=0)),o){var P=e+r,k=o._isStart;m="scroll"+s.d2,Uo(o,P,s,k&&P>20||!k&&(f?Math.max(ge[m],ir[m]):o.parentNode[m])<=P+1),f&&(c=ln(a),f&&(o.style[s.op.p]=c[s.op.p]-s.op.m-o._offset+Ze))}return d&&x&&(m=ln(x),d.seek(p),_=ln(x),d._caScrollDist=m[s.p]-_[s.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},wb=/(webkit|moz|length|cssText|inset)/i,ld=function(e,t,r,s){if(e.parentNode!==t){var i=e.style,o,a;if(t===ge){e._stOrig=i.cssText,a=yr(e);for(o in a)!+o&&!wb.test(o)&&a[o]&&typeof i[o]=="string"&&o!=="0"&&(i[o]=a[o]);i.top=r,i.left=s}else i.cssText=e._stOrig;W.core.getCache(e).uncache=1,t.appendChild(e)}},Up=function(e,t,r){var s=t,i=s;return function(o){var a=Math.round(e());return a!==s&&a!==i&&Math.abs(a-s)>3&&Math.abs(a-i)>3&&(o=a,r&&r()),i=s,s=Math.round(o),s}},Ao=function(e,t,r){var s={};s[t.p]="+="+r,W.set(e,s)},cd=function(e,t){var r=Hn(e,t),s="_scroll"+t.p2,i=function o(a,l,c,u,f){var p=o.tween,d=l.onComplete,g={};c=c||r();var h=Up(r,c,function(){p.kill(),o.tween=0});return f=u&&f||0,u=u||a-c,p&&p.kill(),l[s]=a,l.inherit=!1,l.modifiers=g,g[s]=function(){return h(c+u*p.ratio+f*p.ratio*p.ratio)},l.onUpdate=function(){ce.cache++,o.tween&&un()},l.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=W.to(e,l),p};return e[s]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},ot(e,"wheel",r.wheelHandler),ue.isTouch&&ot(e,"touchmove",r.wheelHandler),i},ue=function(){function n(t,r){Ps||n.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ll(this),this.init(t,r)}var e=n.prototype;return e.init=function(r,s){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Ci){this.update=this.refresh=this.kill=Fr;return}r=rd(rr(r)||Ei(r)||r.nodeType?{trigger:r}:r,To);var i=r,o=i.onUpdate,a=i.toggleClass,l=i.id,c=i.onToggle,u=i.onRefresh,f=i.scrub,p=i.trigger,d=i.pin,g=i.pinSpacing,h=i.invalidateOnRefresh,m=i.anticipatePin,_=i.onScrubComplete,x=i.onSnapComplete,b=i.once,w=i.snap,C=i.pinReparent,T=i.pinSpacer,S=i.containerAnimation,P=i.fastScrollEnd,k=i.preventOverlaps,R=r.horizontal||r.containerAnimation&&r.horizontal!==!1?Ft:et,$=!f&&f!==0,A=Wt(r.scroller||le),I=W.core.getCache(A),N=vs(A),L=("pinType"in r?r.pinType:Ln(A,"pinType")||N&&"fixed")==="fixed",F=[r.onEnter,r.onLeave,r.onEnterBack,r.onLeaveBack],D=$&&r.toggleActions.split(" "),z="markers"in r?r.markers:To.markers,j=N?0:parseFloat(yr(A)["border"+R.p2+si])||0,E=this,X=r.onRefreshInit&&function(){return r.onRefreshInit(E)},V=fb(A,N,R),Q=hb(A,N),q=0,de=0,Ee=0,Z=Hn(A,R),Ie,Te,ht,ke,Le,re,Se,rt,nt,O,Ke,pt,wr,xe,pr,mt,Jr,Ye,Be,_e,Qt,$t,Bt,Gn,Oe,gn,gt,Zr,Jt,Nr,en,se,Mr,Zt,At,qe,tn,J,ae;if(E._startClamp=E._endClamp=!1,E._dir=R,m*=45,E.scroller=A,E.scroll=S?S.time.bind(S):Z,ke=Z(),E.vars=r,s=s||r.animation,"refreshPriority"in r&&(Tp=1,r.refreshPriority===-9999&&(zi=E)),I.tweenScroll=I.tweenScroll||{top:cd(A,et),left:cd(A,Ft)},E.tweenTo=Ie=I.tweenScroll[R.p],E.scrubDuration=function(U){Mr=Ei(U)&&U,Mr?se?se.duration(U):se=W.to(s,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Mr,paused:!0,onComplete:function(){return _&&_(E)}}):(se&&se.progress(1).kill(),se=0)},s&&(s.vars.lazy=!1,s._initted&&!E.isReverted||s.vars.immediateRender!==!1&&r.immediateRender!==!1&&s.duration()&&s.render(0,!0,!0),E.animation=s.pause(),s.scrollTrigger=E,E.scrubDuration(f),Nr=0,l||(l=s.vars.id)),w&&((!es(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in ge.style&&W.set(N?[ge,ir]:A,{scrollBehavior:"auto"}),ce.forEach(function(U){return Tt(U)&&U.target===(N?ve.scrollingElement||ir:A)&&(U.smooth=!1)}),ht=Tt(w.snapTo)?w.snapTo:w.snapTo==="labels"?mb(s):w.snapTo==="labelsDirectional"?gb(s):w.directional!==!1?function(U,G){return Fc(w.snapTo)(U,St()-de<500?0:G.direction)}:W.utils.snap(w.snapTo),Zt=w.duration||{min:.1,max:2},Zt=es(Zt)?Mi(Zt.min,Zt.max):Mi(Zt,Zt),At=W.delayedCall(w.delay||Mr/2||.1,function(){var U=Z(),G=St()-de<500,Y=Ie.tween;
108if((G||Math.abs(E.getVelocity())<10)&&!Y&&!ka&&q!==U){var ee=(U-re)/xe,st=s&&!$?s.totalProgress():ee,fe=G?0:(st-en)/(St()-wi)*1e3||0,Ue=W.utils.clamp(-ee,1-ee,Ss(fe/2)*fe/.185),vt=ee+(w.inertia===!1?0:Ue),Fe,Ae,be=w,Cr=be.onStart,Ne=be.onInterrupt,er=be.onComplete;if(Fe=ht(vt,E),Ei(Fe)||(Fe=vt),Ae=Math.max(0,Math.round(re+Fe*xe)),U<=Se&&U>=re&&Ae!==U){if(Y&&!Y._initted&&Y.data<=Ss(Ae-U))return;w.inertia===!1&&(Ue=Fe-ee),Ie(Ae,{duration:Zt(Ss(Math.max(Ss(vt-st),Ss(Fe-st))*.185/fe/.05||0)),ease:w.ease||"power3",data:Ss(Ae-U),onInterrupt:function(){return At.restart(!0)&&Ne&&Cs(E,Ne)},onComplete:function(){E.update(),q=Z(),s&&!$&&(se?se.resetTo("totalProgress",Fe,s._tTime/s._tDur):s.progress(Fe)),Nr=en=s&&!$?s.totalProgress():E.progress,x&&x(E),er&&Cs(E,er)}},U,Ue*xe,Ae-U-Ue*xe),Cr&&Cs(E,Cr,Ie.tween)}}else E.isActive&&q!==U&&At.restart(!0)}).pause()),l&&(zl[l]=E),p=E.trigger=Wt(p||d!==!0&&d),ae=p&&p._gsap&&p._gsap.stRevert,ae&&(ae=ae(E)),d=d===!0?p:Wt(d),rr(a)&&(a={targets:p,className:a}),d&&(g===!1||g===vr||(g=!g&&d.parentNode&&d.parentNode.style&&yr(d.parentNode).display==="flex"?!1:Ge),E.pin=d,Te=W.core.getCache(d),Te.spacer?pr=Te.pinState:(T&&(T=Wt(T),T&&!T.nodeType&&(T=T.current||T.nativeElement),Te.spacerIsNative=!!T,T&&(Te.spacerState=ko(T))),Te.spacer=Ye=T||ve.createElement("div"),Ye.classList.add("pin-spacer"),l&&Ye.classList.add("pin-spacer-"+l),Te.pinState=pr=ko(d)),r.force3D!==!1&&W.set(d,{force3D:!0}),E.spacer=Ye=Te.spacer,Jt=yr(d),Gn=Jt[g+R.os2],_e=W.getProperty(d),Qt=W.quickSetter(d,R.a,Ze),Za(d,Ye,Jt),Jr=ko(d)),z){pt=es(z)?rd(z,nd):nd,O=Po("scroller-start",l,A,R,pt,0),Ke=Po("scroller-end",l,A,R,pt,0,O),Be=O["offset"+R.op.d2];var me=Wt(Ln(A,"content")||A);rt=this.markerStart=Po("start",l,me,R,pt,Be,0,S),nt=this.markerEnd=Po("end",l,me,R,pt,Be,0,S),S&&(J=W.quickSetter([rt,nt],R.a,Ze)),!L&&!(Gr.length&&Ln(A,"fixedMarkers")===!0)&&(pb(N?ge:A),W.set([O,Ke],{force3D:!0}),gn=W.quickSetter(O,R.a,Ze),Zr=W.quickSetter(Ke,R.a,Ze))}if(S){var K=S.vars.onUpdate,H=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){E.update(0,0,1),K&&K.apply(S,H||[])})}if(E.previous=function(){return oe[oe.indexOf(E)-1]},E.next=function(){return oe[oe.indexOf(E)+1]},E.revert=function(U,G){if(!G)return E.kill(!0);var Y=U!==!1||!E.enabled,ee=wt;Y!==E.isReverted&&(Y&&(qe=Math.max(Z(),E.scroll.rec||0),Ee=E.progress,tn=s&&s.progress()),rt&&[rt,nt,O,Ke].forEach(function(st){return st.style.display=Y?"none":"block"}),Y&&(wt=E,E.update(Y)),d&&(!C||!E.isActive)&&(Y?xb(d,Ye,pr):Za(d,Ye,yr(d),Oe)),Y||E.update(Y),wt=ee,E.isReverted=Y)},E.refresh=function(U,G,Y,ee){if(!((wt||!E.enabled)&&!G)){if(d&&U&&br){ot(n,"scrollEnd",Lp);return}!It&&X&&X(E),wt=E,Ie.tween&&!Y&&(Ie.tween.kill(),Ie.tween=0),se&&se.pause(),h&&s&&(s.revert({kill:!1}).invalidate(),s.getChildren?s.getChildren(!0,!0,!1).forEach(function(vn){return vn.vars.immediateRender&&vn.render(0,!0,!0)}):s.vars.immediateRender&&s.render(0,!0,!0)),E.isReverted||E.revert(!0,!0),E._subPinOffset=!1;var st=V(),fe=Q(),Ue=S?S.duration():Yr(A,R),vt=xe<=.01||!xe,Fe=0,Ae=ee||0,be=es(Y)?Y.end:r.end,Cr=r.endTrigger||p,Ne=es(Y)?Y.start:r.start||(r.start===0||!p?0:d?"0 0":"0 100%"),er=E.pinnedContainer=r.pinnedContainer&&Wt(r.pinnedContainer,E),jr=p&&Math.max(0,oe.indexOf(E))||0,lt=jr,ct,yt,Xn,co,xt,Qe,Dr,Oa,Uc,di,Ir,fi,uo;for(z&&es(Y)&&(fi=W.getProperty(O,R.p),uo=W.getProperty(Ke,R.p));lt-- >0;)Qe=oe[lt],Qe.end||Qe.refresh(0,1)||(wt=E),Dr=Qe.pin,Dr&&(Dr===p||Dr===d||Dr===er)&&!Qe.isReverted&&(di||(di=[]),di.unshift(Qe),Qe.revert(!0,!0)),Qe!==oe[lt]&&(jr--,lt--);for(Tt(Ne)&&(Ne=Ne(E)),Ne=Ju(Ne,"start",E),re=ad(Ne,p,st,R,Z(),rt,O,E,fe,j,L,Ue,S,E._startClamp&&"_startClamp")||(d?-.001:0),Tt(be)&&(be=be(E)),rr(be)&&!be.indexOf("+=")&&(~be.indexOf(" ")?be=(rr(Ne)?Ne.split(" ")[0]:"")+be:(Fe=Bo(be.substr(2),st),be=rr(Ne)?Ne:(S?W.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,re):re)+Fe,Cr=p)),be=Ju(be,"end",E),Se=Math.max(re,ad(be||(Cr?"100% 0":Ue),Cr,st,R,Z()+Fe,nt,Ke,E,fe,j,L,Ue,S,E._endClamp&&"_endClamp"))||-.001,Fe=0,lt=jr;lt--;)Qe=oe[lt]||{},Dr=Qe.pin,Dr&&Qe.start-Qe._pinPush<=re&&!S&&Qe.end>0&&(ct=Qe.end-(E._startClamp?Math.max(0,Qe.start):Qe.start),(Dr===p&&Qe.start-Qe._pinPush<re||Dr===er)&&isNaN(Ne)&&(Fe+=ct*(1-Qe.progress)),Dr===d&&(Ae+=ct));if(re+=Fe,Se+=Fe,E._startClamp&&(E._startClamp+=Fe),E._endClamp&&!It&&(E._endClamp=Se||-.001,Se=Math.min(Se,Yr(A,R))
108),xe=Se-re||(re-=.01)&&.001,vt&&(Ee=W.utils.clamp(0,1,W.utils.normalize(re,Se,qe))),E._pinPush=Ae,rt&&Fe&&(ct={},ct[R.a]="+="+Fe,er&&(ct[R.p]="-="+Z()),W.set([rt,nt],ct)),d&&!(Fl&&E.end>=Yr(A,R)))ct=yr(d),co=R===et,Xn=Z(),$t=parseFloat(_e(R.a))+Ae,!Ue&&Se>1&&(Ir=(N?ve.scrollingElement||ir:A).style,Ir={style:Ir,value:Ir["overflow"+R.a.toUpperCase()]},N&&yr(ge)["overflow"+R.a.toUpperCase()]!=="scroll"&&(Ir.style["overflow"+R.a.toUpperCase()]="scroll")),Za(d,Ye,ct),Jr=ko(d),yt=ln(d,!0),Oa=L&&Hn(A,co?Ft:et)(),g?(Oe=[g+R.os2,xe+Ae+Ze],Oe.t=Ye,lt=g===Ge?ca(d,R)+xe+Ae:0,lt&&(Oe.push(R.d,lt+Ze),Ye.style.flexBasis!=="auto"&&(Ye.style.flexBasis=lt+Ze)),Us(Oe),er&&oe.forEach(function(vn){vn.pin===er&&vn.vars.pinSpacing!==!1&&(vn._subPinOffset=!0)}),L&&Z(qe)):(lt=ca(d,R),lt&&Ye.style.flexBasis!=="auto"&&(Ye.style.flexBasis=lt+Ze)),L&&(xt={top:yt.top+(co?Xn-re:Oa)+Ze,left:yt.left+(co?Oa:Xn-re)+Ze,boxSizing:"border-box",position:"fixed"},xt[hs]=xt["max"+si]=Math.ceil(yt.width)+Ze,xt[ps]=xt["max"+Lc]=Math.ceil(yt.height)+Ze,xt[vr]=xt[vr+Li]=xt[vr+Di]=xt[vr+Fi]=xt[vr+Ii]="0",xt[Ge]=ct[Ge],xt[Ge+Li]=ct[Ge+Li],xt[Ge+Di]=ct[Ge+Di],xt[Ge+Fi]=ct[Ge+Fi],xt[Ge+Ii]=ct[Ge+Ii],mt=bb(pr,xt,C),It&&Z(0)),s?(Uc=s._initted,Xa(1),s.render(s.duration(),!0,!0),Bt=_e(R.a)-$t+xe+Ae,gt=Math.abs(xe-Bt)>1,L&>&&mt.splice(mt.length-2,2),s.render(0,!0,!0),Uc||s.invalidate(!0),s.parent||s.totalTime(s.totalTime()),Xa(0)):Bt=xe,Ir&&(Ir.value?Ir.style["overflow"+R.a.toUpperCase()]=Ir.value:Ir.style.removeProperty("overflow-"+R.a));else if(p&&Z()&&!S)for(yt=p.parentNode;yt&&yt!==ge;)yt._pinOffset&&(re-=yt._pinOffset,Se-=yt._pinOffset),yt=yt.parentNode;di&&di.forEach(function(vn){return vn.revert(!1,!0)}),E.start=re,E.end=Se,ke=Le=It?qe:Z(),!S&&!It&&(ke<qe&&Z(qe),E.scroll.rec=0),E.revert(!1,!0),de=St(),At&&(q=-1,At.restart(!0)),wt=0,s&&$&&(s._initted||tn)&&s.progress()!==tn&&s.progress(tn||0,!0).render(s.time(),!0,!0),(vt||Ee!==E.progress||S||h||s&&!s._initted)&&(s&&!$&&(s._initted||Ee||s.vars.immediateRender!==!1)&&s.totalProgress(S&&re<-.001&&!Ee?W.utils.normalize(re,Se,0):Ee,!0),E.progress=vt||(ke-re)/xe===Ee?0:Ee),d&&g&&(Ye._pinOffset=Math.round(E.progress*Bt)),se&&se.invalidate(),isNaN(fi)||(fi-=W.getProperty(O,R.p),uo-=W.getProperty(Ke,R.p),Ao(O,R,fi),Ao(rt,R,fi-(ee||0)),Ao(Ke,R,uo),Ao(nt,R,uo-(ee||0))),vt&&!It&&E.update(),u&&!It&&!wr&&(wr=!0,u(E),wr=!1)}},E.getVelocity=function(){return(Z()-Le)/(St()-wi)*1e3||0},E.endAnimation=function(){vi(E.callbackAnimation),s&&(se?se.progress(1):s.paused()?$||vi(s,E.direction<0,1):vi(s,s.reversed()))},E.labelToScroll=function(U){return s&&s.labels&&(re||E.refresh()||re)+s.labels[U]/s.duration()*xe||0},E.getTrailing=function(U){var G=oe.indexOf(E),Y=E.direction>0?oe.slice(0,G).reverse():oe.slice(G+1);return(rr(U)?Y.filter(function(ee){return ee.vars.preventOverlaps===U}):Y).filter(function(ee){return E.direction>0?ee.end<=re:ee.start>=Se})},E.update=function(U,G,Y){if(!(S&&!Y&&!U)){var ee=It===!0?qe:E.scroll(),st=U?0:(ee-re)/xe,fe=st<0?0:st>1?1:st||0,Ue=E.progress,vt,Fe,Ae,be,Cr,Ne,er,jr;if(G&&(Le=ke,ke=S?Z():ee,w&&(en=Nr,Nr=s&&!$?s.totalProgress():fe)),m&&d&&!wt&&!wo&&br&&(!fe&&re<ee+(ee-Le)/(St()-wi)*m?fe=1e-4:fe===1&&Se>ee+(ee-Le)/(St()-wi)*m&&(fe=.9999)),fe!==Ue&&E.enabled){if(vt=E.isActive=!!fe&&fe<1,Fe=!!Ue&&Ue<1,Ne=vt!==Fe,Cr=Ne||!!fe!=!!Ue,E.direction=fe>Ue?1:-1,E.progress=fe,Cr&&!wt&&(Ae=fe&&!Ue?0:fe===1?1:Ue===1?2:3,$&&(be=!Ne&&D[Ae+1]!=="none"&&D[Ae+1]||D[Ae],jr=s&&(be==="complete"||be==="reset"||be in s))),k&&(Ne||jr)&&(jr||f||!s)&&(Tt(k)?k(E):E.getTrailing(k).forEac
108h(function(Xn){return Xn.endAnimation()})),$||(se&&!wt&&!wo?(se._dp._time-se._start!==se._time&&se.render(se._dp._time-se._start),se.resetTo?se.resetTo("totalProgress",fe,s._tTime/s._tDur):(se.vars.totalProgress=fe,se.invalidate().restart())):s&&s.totalProgress(fe,!!(wt&&(de||U)))),d){if(U&&g&&(Ye.style[g+R.os2]=Gn),!L)Qt(Si($t+Bt*fe));else if(Cr){if(er=!U&&fe>Ue&&Se+1>ee&&ee+1>=Yr(A,R),C)if(!U&&(vt||er)){var lt=ln(d,!0),ct=ee-re;ld(d,ge,lt.top+(R===et?ct:0)+Ze,lt.left+(R===et?0:ct)+Ze)}else ld(d,Ye);Us(vt||er?mt:Jr),gt&&fe<1&&vt||Qt($t+(fe===1&&!er?Bt:0))}}w&&!Ie.tween&&!wt&&!wo&&At.restart(!0),a&&(Ne||b&&fe&&(fe<1||!Ka))&&eo(a.targets).forEach(function(Xn){return Xn.classList[vt||b?"add":"remove"](a.className)}),o&&!$&&!U&&o(E),Cr&&!wt?($&&(jr&&(be==="complete"?s.pause().totalProgress(1):be==="reset"?s.restart(!0).pause():be==="restart"?s.restart(!0):s[be]()),o&&o(E)),(Ne||!Ka)&&(c&&Ne&&Cs(E,c),F[Ae]&&Cs(E,F[Ae]),b&&(fe===1?E.kill(!1,1):F[Ae]=0),Ne||(Ae=fe===1?1:3,F[Ae]&&Cs(E,F[Ae]))),P&&!vt&&Math.abs(E.getVelocity())>(Ei(P)?P:2500)&&(vi(E.callbackAnimation),se?se.progress(1):vi(s,be==="reverse"?1:!fe,1))):$&&o&&!wt&&o(E)}if(Zr){var yt=S?ee/S.duration()*(S._caScrollDist||0):ee;gn(yt+(O._isFlipped?1:0)),Zr(yt)}J&&J(-ee/S.duration()*(S._caScrollDist||0))}},E.enable=function(U,G){E.enabled||(E.enabled=!0,ot(A,"resize",Ti),N||ot(A,"scroll",Es),X&&ot(n,"refreshInit",X),U!==!1&&(E.progress=Ee=0,ke=Le=q=Z()),G!==!1&&E.refresh())},E.getTween=function(U){return U&&Ie?Ie.tween:se},E.setPositions=function(U,G,Y,ee){if(S){var st=S.scrollTrigger,fe=S.duration(),Ue=st.end-st.start;U=st.start+Ue*U/fe,G=st.start+Ue*G/fe}E.refresh(!1,!1,{start:Zu(U,Y&&!!E._startClamp),end:Zu(G,Y&&!!E._endClamp)},ee),E.update()},E.adjustPinSpacing=function(U){if(Oe&&U){var G=Oe.indexOf(R.d)+1;Oe[G]=parseFloat(Oe[G])+U+Ze,Oe[1]=parseFloat(Oe[1])+U+Ze,Us(Oe)}},E.disable=function(U,G){if(U!==!1&&E.revert(!0,!0),E.enabled&&(E.enabled=E.isActive=!1,G||se&&se.pause(),qe=0,Te&&(Te.uncache=1),X&&it(n,"refreshInit",X),At&&(At.pause(),Ie.tween&&Ie.tween.kill()&&(Ie.tween=0)),!N)){for(var Y=oe.length;Y--;)if(oe[Y].scroller===A&&oe[Y]!==E)return;it(A,"resize",Ti),N||it(A,"scroll",Es)}},E.kill=function(U,G){E.disable(U,G),se&&!G&&se.kill(),l&&delete zl[l];var Y=oe.indexOf(E);Y>=0&&oe.splice(Y,1),Y===Dt&&Wo>0&&Dt--,Y=0,oe.forEach(function(ee){return ee.scroller===E.scroller&&(Y=1)}),Y||It||(E.scroll.rec=0),s&&(s.scrollTrigger=null,U&&s.revert({kill:!1}),G||s.kill()),rt&&[rt,nt,O,Ke].forEach(function(ee){return ee.parentNode&&ee.parentNode.removeChild(ee)}),zi===E&&(zi=0),d&&(Te&&(Te.uncache=1),Y=0,oe.forEach(function(ee){return ee.pin===d&&Y++}),Y||(Te.spacer=0)),r.onKill&&r.onKill(E)},oe.push(E),E.enable(!1,!1),ae&&ae(E),s&&s.add&&!xe){var ie=E.update;E.update=function(){E.update=ie,ce.cache++,re||Se||E.refresh()},W.delayedCall(.01,E.update),xe=.01,re=Se=0}else E.refresh();d&&yb()},n.register=function(r){return Ps||(W=r||Op(),Rp()&&window.document&&n.enable(),Ps=Ci),Ps},n.defaults=function(r){if(r)for(var s in r)To[s]=r[s];return To},n.disable=function(r,s){Ci=0,oe.forEach(function(o){return o[s?"kill":"disable"](r)}),it(le,"wheel",Es),it(ve,"scroll",Es),clearInterval(bo),it(ve,"touchcancel",Fr),it(ge,"touchstart",Fr),So(it,ve,"pointerdown,touchstart,mousedown",ed),So(it,ve,"pointerup,touchend,mouseup",td),la.kill(),Co(it);for(var i=0;i<ce.length;i+=3)Eo(it,ce[i],ce[i+1]),Eo(it,ce[i],ce[i+2])},n.enable=function(){if(le=window,ve=document,ir=ve.documentElement,ge=ve.body,W){if(eo=W.utils.toArray,Mi=W.utils.clamp,Ll=W.core.context||Fr,Xa=W.core.suppressOverwrites||Fr,Mc=le.history.scrollRestoration||"auto",$l=le.pageYOffset||0,W.core.globals("ScrollTrigger",n),ge){Ci=1,Bs=document.createElement("div"),Bs.style.height="100vh",Bs.style.position="absolute",Bp(),db(),Ve.register(W),n.isTouch=Ve.isTouch,wn=Ve.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Il=Ve.isTouch===1,ot(le,"wheel",Es),Nc=[le,ve,ir,ge],W.matchMedia?(n.matchMedia=function(u){var f=W.matchMedia(),p;for(p in u)f.add(p,u[p]);return f},W.addEventListener("matchMediaInit",function(){zp(),zc()}),W.addEventListener("matchMediaRevert",function(){return Fp()}),W.addEventListener("matchMedia",function(){rs(0,1),xs("matchMedia")}),W.matchMedia().add("(orientation: portrait)",function(){return Ja(),Ja})):console.warn("Requires GSAP 3.11.0 or later"),Ja(),ot(ve,"scroll",Es);var r=ge.hasAttribute("style"),s=ge.style,i=s.borderTopStyle,o=W.core.Animation.prototype,a,l;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),s.borderTopStyle="solid",a=ln(ge),et.m=Math.round(a.top+et.sc())||0,Ft.m=Math.round(a.left+Ft.sc())||0,i?s.borderTopStyle=i:s.removeProperty("border-top-style"),r||(ge.setAttribute("style",""),ge.removeAttribute("style")),bo=setInterval(sd,250),W.delayedCall(.5,function(){return wo=0}),ot(ve,"touchcancel",Fr),ot(ge,"touchstart",Fr),So(ot,ve,"pointerdown,touchstart,mousedown",ed),So(ot,ve,"pointerup,touchend,mouseup",td),Dl=W.utils.checkPrefix("transform"),Vo.push(Dl),Ps=St(),la=W.delayedCall(.2,rs).pause(),ks=[ve,"visibilitychange",function(){var u=le.innerWidth,f=le.innerHe
108ight;ve.hidden?(Ku=u,Qu=f):(Ku!==u||Qu!==f)&&Ti()},ve,"DOMContentLoaded",rs,le,"load",rs,le,"resize",Ti],Co(ot),oe.forEach(function(u){return u.enable(0,1)}),l=0;l<ce.length;l+=3)Eo(it,ce[l],ce[l+1]),Eo(it,ce[l],ce[l+2])}else if(ve){var c=function u(){n.enable(),ve.removeEventListener("DOMContentLoaded",u)};ve.addEventListener("DOMContentLoaded",c)}}},n.config=function(r){"limitCallbacks"in r&&(Ka=!!r.limitCallbacks);var s=r.syncInterval;s&&clearInterval(bo)||(bo=s)&&setInterval(sd,s),"ignoreMobileResize"in r&&(Il=n.isTouch===1&&r.ignoreMobileResize),"autoRefreshEvents"in r&&(Co(it)||Co(ot,r.autoRefreshEvents||"none"),Pp=(r.autoRefreshEvents+"").indexOf("resize")===-1)},n.scrollerProxy=function(r,s){var i=Wt(r),o=ce.indexOf(i),a=vs(i);~o&&ce.splice(o,a?6:2),s&&(a?Gr.unshift(le,s,ge,s,ir,s):Gr.unshift(i,s))},n.clearMatchMedia=function(r){oe.forEach(function(s){return s._ctx&&s._ctx.query===r&&s._ctx.kill(!0,!0)})},n.isInViewport=function(r,s,i){var o=(rr(r)?Wt(r):r).getBoundingClientRect(),a=o[i?hs:ps]*s||0;return i?o.right-a>0&&o.left+a<le.innerWidth:o.bottom-a>0&&o.top+a<le.innerHeight},n.positionInViewport=function(r,s,i){rr(r)&&(r=Wt(r));var o=r.getBoundingClientRect(),a=o[i?hs:ps],l=s==null?a/2:s in ua?ua[s]*a:~s.indexOf("%")?parseFloat(s)*a/100:parseFloat(s)||0;return i?(o.left+l)/le.innerWidth:(o.top+l)/le.innerHeight},n.killAll=function(r){if(oe.slice(0).forEach(function(i){return i.vars.id!=="ScrollSmoother"&&i.kill()}),r!==!0){var s=ys.killAll||[];ys={},s.forEach(function(i){return i()})}},n}();ue.version="3.15.0";ue.saveStyles=function(n){return n?eo(n).forEach(function(e){if(e&&e.style){var t=tr.indexOf(e);t>=0&&tr.splice(t,5),tr.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),W.core.getCache(e),Ll())}}):tr};ue.revert=function(n,e){return zc(!n,e)};ue.create=function(n,e){return new ue(n,e)};ue.refresh=function(n){return n?Ti(!0):(Ps||ue.register())&&rs(!0)};ue.update=function(n){return++ce.cache&&un(n===!0?2:0)};ue.clearScrollMemory=$p;ue.maxScroll=function(n,e){return Yr(n,e?Ft:et)};ue.getScrollFunc=function(n,e){return Hn(Wt(n),e?Ft:et)};ue.getById=function(n){return zl[n]};ue.getAll=function(){return oe.filter(function(n){return n.vars.id!=="ScrollSmoother"})};ue.isScrolling=function(){return!!br};ue.snapDirectional=Fc;ue.addEventListener=function(n,e){var t=ys[n]||(ys[n]=[]);~t.indexOf(e)||t.push(e)};ue.removeEventListener=function(n,e){var t=ys[n],r=t&&t.indexOf(e);r>=0&&t.splice(r,1)};ue.batch=function(n,e){var t=[],r={},s=e.interval||.016,i=e.batchMax||1e9,o=function(c,u){var f=[],p=[],d=W.delayedCall(s,function(){u(f,p),f=[],p=[]}).pause();return function(g){f.length||d.restart(!0),f.push(g.trigger),p.push(g),i<=f.length&&d.progress(1)}},a;for(a in e)r[a]=a.substr(0,2)==="on"&&Tt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return Tt(i)&&(i=i(),ot(ue,"refresh",function(){return i=e.batchMax()})),eo(n).forEach(function(l){var c={};for(a in r)c[a]=r[a];c.trigger=l,t.push(ue.create(c))}),t};var ud=function(e,t,r,s){return t>s?e(s):t<0&&e(0),r>s?(s-t)/(r-t):r<0?t/(t-r):1},el=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(Ve.isTouch?" pinch-zoom":""):"none",e===ir&&n(ge,t)},Ro={auto:1,scroll:1},Cb=function(e){var t=e.event,r=e.target,s=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,o=i._gsap||W.core.getCache(i),a=St(),l;if(!o._isScrollT||a-o._isScrollT>2e3){for(;i&&i!==ge&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(Ro[(l=yr(i)).overflowY]||Ro[l.overflowX]));)i=i.parentNode;o._isScroll=i&&i!==r&&!vs(i)&&(Ro[(l=yr(i)).overflowY]||Ro[l.overflowX]),o._isScrollT=a}(o._isScroll||s==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},Wp=function(e,t,r,s){return Ve.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:s=s&&Cb,onPress:s,onDrag:s,onScroll:s,onEnable:function(){return r&&ot(ve,Ve.eventTypes[0],fd,!1,!0)},onDisable:function(){return it(ve,Ve.eventTypes[0],fd,!0)}})},Sb=/(input|label|select|textarea)/i,dd,fd=function(e){var t=Sb.test(e.target.tagName);(t||dd)&&(e._gsapAllow=!0,dd=t)},Eb=function(e){es(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,r=t.normalizeScrollX,s=t.momentum,i=t.allowNestedScroll,o=t.onRelease,a,l,c=Wt(e.target)||ir,u=W.core.globals().ScrollSmoother,f=u&&u.get(),p=wn&&(e.content&&Wt(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),d=Hn(c,et),g=Hn(c,Ft),h=1,m=(Ve.isTouch&&le.visualVie
108wport?le.visualViewport.scale*le.visualViewport.width:le.outerWidth)/le.innerWidth,_=0,x=Tt(s)?function(){return s(a)}:function(){return s||2.8},b,w,C=Wp(c,e.type,!0,i),T=function(){return w=!1},S=Fr,P=Fr,k=function(){l=Yr(c,et),P=Mi(wn?1:0,l),r&&(S=Mi(0,Yr(c,Ft))),b=ms},R=function(){p._gsap.y=Si(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},$=function(){if(w){requestAnimationFrame(T);var z=Si(a.deltaY/2),j=P(d.v-z);if(p&&j!==d.v+d.offset){d.offset=j-d.v;var E=Si((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, "+E+", 0, 1)",p._gsap.y=E+"px",d.cacheID=ce.cache,un()}return!0}d.offset&&R(),w=!0},A,I,N,L,F=function(){k(),A.isActive()&&A.vars.scrollY>l&&(d()>l?A.progress(1)&&d(l):A.resetTo("scrollY",l))};return p&&W.set(p,{y:"+=0"}),e.ignoreCheck=function(D){return wn&&D.type==="touchmove"&&$()||h>1.05&&D.type!=="touchstart"||a.isGesturing||D.touches&&D.touches.length>1},e.onPress=function(){w=!1;var D=h;h=Si((le.visualViewport&&le.visualViewport.scale||1)/m),A.pause(),D!==h&&el(c,h>1.01?!0:r?!1:"x"),I=g(),N=d(),k(),b=ms},e.onRelease=e.onGestureStart=function(D,z){if(d.offset&&R(),!z)L.restart(!0);else{ce.cache++;var j=x(),E,X;r&&(E=g(),X=E+j*.05*-D.velocityX/.227,j*=ud(g,E,X,Yr(c,Ft)),A.vars.scrollX=S(X)),E=d(),X=E+j*.05*-D.velocityY/.227,j*=ud(d,E,X,Yr(c,et)),A.vars.scrollY=P(X),A.invalidate().duration(j).play(.01),(wn&&A.vars.scrollY>=l||E>=l-1)&&W.to({},{onUpdate:F,duration:j})}o&&o(D)},e.onWheel=function(){A._ts&&A.pause(),St()-_>1e3&&(b=0,_=St())},e.onChange=function(D,z,j,E,X){if(ms!==b&&k(),z&&r&&g(S(E[2]===z?I+(D.startX-D.x):g()+z-E[1])),j){d.offset&&R();var V=X[2]===j,Q=V?N+D.startY-D.y:d()+j-X[1],q=P(Q);V&&Q!==q&&(N+=q-Q),d(q)}(j||z)&&un()},e.onEnable=function(){el(c,r?!1:"x"),ue.addEventListener("refresh",F),ot(le,"resize",F),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=g.smooth=!1),C.enable()},e.onDisable=function(){el(c,!0),it(le,"resize",F),ue.removeEventListener("refresh",F),C.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ve(e),a.iOS=wn,wn&&!d()&&d(1),wn&&W.ticker.add(Fr),L=a._dc,A=W.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:r?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Up(d,d(),function(){return A.pause()})},onUpdate:un,onComplete:L.vars.onComplete}),a};ue.sort=function(n){if(Tt(n))return oe.sort(n);var e=le.pageYOffset||0;return ue.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+le.innerHeight}),oe.sort(n||function(t,r){return(t.vars.refreshPriority||0)*-1e6+(t.vars.containerAnimation?1e6:t._sortY)-((r.vars.containerAnimation?1e6:r._sortY)+(r.vars.refreshPriority||0)*-1e6)})};ue.observe=function(n){return new Ve(n)};ue.normalizeScroll=function(n){if(typeof n>"u")return jt;if(n===!0&&jt)return jt.enable();if(n===!1){jt&&jt.kill(),jt=n;return}var e=n instanceof Ve?n:Eb(n);return jt&&jt.target===e.target&&jt.kill(),vs(e.target)&&(jt=e),e};ue.core={_getVelocityProp:jl,_inputObserver:Wp,_scrollers:ce,_proxies:Gr,bridge:{ss:function(){br||xs("scrollStart"),br=St()},ref:function(){return wt}}};Op()&&W.registerPlugin(ue);/*! 109 * SplitText 3.15.0 110 * https://gsap.com 111 * 112 * @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license. 113 * @author: Jack Doyle 114 */let yi,xi,hd=typeof Symbol=="function"?Symbol():"_split",Ul,Tb=()=>Ul||$c.register(window.gsap),pd=typeof Intl<"u"&&"Segmenter"in Intl?new Intl.Segmenter:0,ro=n=>n?typeof n=="string"?ro(document.querySelectorAll(n)):"length"in n?Array.from(n).reduce((e,t)=>(typeof t=="string"?e.push(...ro(t)):e.push(t),e),[]):[n]:[],md=n=>ro(n).filter(e=>e&&e.nodeType===1),Wl=[],tl=function(){},Pb={add:n=>n()},kb=/\s+/g,gd=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),da={left:0,top:0,width:0,height:0},Ab=(n,e)=>{for(;++e<n.length&&n[e]===da;);return n[e]||da},vd=({element:n,html:e,ariaL:t,ariaH:r})=>{n.innerHTML=e,t?n.setAttribute("aria-label",t):n.removeAttribute("aria-label"),r?n.setAttribute("aria-hidden",r):n.removeAttribute("aria-hidden")},yd=(n,e)=>{if(e){let t=new Set(n.join("").match(e)||Wl),r=n.length,s,i,o,a;if(t.size)for(;--r>-1;){i=n[r];
vendor: 4,560 bytes, lines 114-116
114for(o of t)if(o.startsWith(i)&&o.length>i.length){for(s=0,a=i;o.startsWith(a+=n[r+ ++s])&&a.length<o.length;);if(s&&a.length===o.length){n[r]=o,n.splice(r+1,s);break}}}}return n},xd=n=>window.getComputedStyle(n).display==="inline"&&(n.style.display="inline-block"),Ts=(n,e,t)=>e.insertBefore(typeof n=="string"?document.createTextNode(n):n,t),Vl=(n,e,t)=>{let r=e[n+"sClass"]||"",{tag:s="div",aria:i="auto",propIndex:o=!1}=e,a=n==="line"?"block":"inline-block",l=r.indexOf("++")>-1,c=u=>{let f=document.createElement(s),p=t.length+1;return r&&(f.className=r+(l?" "+r+p:"")),o&&f.style.setProperty("--"+n,p+""),i!=="none"&&f.setAttribute("aria-hidden","true"),s!=="span"&&(f.style.position="relative",f.style.display=a),f.textContent=u,t.push(f),f};return l&&(r=r.replace("++","")),c.collection=t,c},Rb=(n,e,t,r)=>{let s=Vl("line",t,r),i=window.getComputedStyle(n).textAlign||"left";return(o,a)=>{let l=s("");for(l.style.textAlign=i,n.insertBefore(l,e[o]);o<a;o++)l.appendChild(e[o]);l.normalize()}},Vp=(n,e,t,r,s,i,o,a,l,c)=>{var u;let f=Array.from(n.childNodes),p=0,{wordDelimiter:d,reduceWhiteSpace:g=!0,prepareText:h}=e,m=n.getBoundingClientRect(),_=m,x=!g&&window.getComputedStyle(n).whiteSpace.substring(0,3)==="pre",b=0,w=t.collection,C,T,S,P,k,R,$,A,I,N,L,F,D,z,j,E,X,V;for(typeof d=="object"?(S=d.delimiter||d,T=d.replaceWith||""):T=d===""?"":d||" ",C=T!==" ";p<f.length;p++)if(P=f[p],P.nodeType===3){for(j=P.textContent||"",g?j=j.replace(kb," "):x&&(j=j.replace(/\n/g,T+` 115`)),h&&(j=h(j,n)),P.textContent=j,k=T||S?j.split(S||T):j.match(a)||Wl,X=k[k.length-1],A=C?X.slice(-1)===" ":!X,X||k.pop(),_=m,$=C?k[0].charAt(0)===" ":!k[0],$&&Ts(" ",n,P),k[0]||k.shift(),yd(k,l),i&&c||(P.textContent=""),I=1;I<=k.length;I++)if(E=k[I-1],!g&&x&&E.charAt(0)===` 116`&&((u=P.previousSibling)==null||u.remove(),Ts(document.createElement("br"),n,P),E=E.slice(1)),!g&&E==="")Ts(T,n,P);else if(E===" ")n.insertBefore(document.createTextNode(" "),P);else{if(C&&E.charAt(0)===" "&&Ts(" ",n,P),b&&I===1&&!$&&w.indexOf(b.parentNode)>-1?(R=w[w.length-1],R.appendChild(document.createTextNode(r?"":E))):(R=t(r?"":E),Ts(R,n,P),b&&I===1&&!$&&R.insertBefore(b,R.firstChild)),r)for(L=pd?yd([...pd.segment(E)].map(Q=>Q.segment),l):E.match(a)||Wl,V=0;V<L.length;V++)R.appendChild(L[V]===" "?document.createTextNode(" "):r(L[V]));if(i&&c){if(j=P.textContent=j.substring(E.length+1,j.length),N=R.getBoundingClientRect(),N.top>_.top&&N.left<=_.left){for(F=n.cloneNode(),D=n.childNodes[0];D&&D!==R;)z=D,D=D.nextSibling,F.appendChild(z);n.parentNode.insertBefore(F,n),s&&xd(F)}_=N}(I<k.length||A)&&Ts(I>=k.length?" ":C&&E.slice(-1)===" "?" "+T:T,n,P)}n.removeChild(P),b=0}else P.nodeType===1&&(o&&o.indexOf(P)>-1?(w.indexOf(P.previousSibling)>-1&&w[w.length-1].appendChild(P),b=P):(Vp(P,e,t,r,s,i,o,a,l,!0),b=0),s&&xd(P))};const Hp=class Yp{constructor(e,t){this.isSplit=!1,Tb(),this.elements=md(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this.elements.forEach(o=>{var a;t.overwrite!==!1&&((a=o[hd])==null||a._data.orig.filter(({element:l})=>l===o).forEach(vd)),o[hd]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let r=[],s,i=()=>{let o=r.length,a;for(;o--;){a=r[o];let l=a.element.offsetWidth;if(l!==a.width){a.width=l,this._split();return}}};this._data={orig:r,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(s),s=setTimeout(i,200)})},tl(this),this.split(t)}split(e){return(this._ctx||Pb).add(()=>{this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let{type:t="chars,words,lines",aria:r="auto",deepSlice:s=!0,smartWrap:i,onSplit:o,autoSplit:a=!1,specialChars:l,mask:c}=this.vars,u=t.indexOf("lines")>-1,f=t.indexOf("chars")>-1,p=t.indexOf("words")>-1,d=f&&!p&&!u,g=l&&("push"in l?new RegExp("(?:"+l.join("|")+")","gu"):l),h=g?new RegExp(g.source+"|"+gd.source,"gu"):gd,m=!!e.ignore&&md(e.ignore),{orig:_,animTime:x,obs:b}=this._data,w;(f||p||u)&&(this.elements.forEach((C,T)=>{_[T]={element:C,html:C.innerHTML,ariaL:C.getAttribute("aria-label"),ariaH:C.getAttribute("aria-hidden")},r==="auto"?C.setAttribute("aria-label",(C.textContent||"").trim()):r==="hidden"&&C.setAttribute("aria-hidden","true");let S=[],P=[],k=[],R=f?Vl("char",e,S):null,$=Vl("word",e,P),A,I,N,L;if(Vp(C,e,$,R,d,s&&(u||d),m,h,g,!1),u){let F=ro(C.childNodes),D=Rb(C,F,e,k),z,j=[],E=0,X=F.map(q=>q.nodeType===1?q.getBoundingClientRect():da),V=da,Q;for(A=0;A<F.length;A++)z=F[A],z.nodeType===1&&(z.nodeName==="BR"?((!A||F[A-1].nodeName!=="BR")&&(j.push(z),D(E,A+1)),E=A+1,V=Ab(X,A)):(Q=X[A],A&&Q.top>V.top&&Q.left<V.left+V.width-1&&(D(E,A),E=A),V=Q));
116E<A&&D(E,A),j.forEach(q=>{var de;return(de=q.parentNode)==null?void 0:de.removeChild(q)})}if(!p){for(A=0;A<P.length;A++)if(I=P[A],f||!I.nextSibling||I.nextSibling.nodeType!==3)if(i&&!u){for(N=document.createElement("span"),N.style.whiteSpace="nowrap";I.firstChild;)N.appendChild(I.firstChild);I.replaceWith(N)}else I.replaceWith(...I.childNodes);else L=I.nextSibling,L&&L.nodeType===3&&(L.textContent=(I.textContent||"")+(L.textContent||""),I.remove());P.length=0,C.normalize()}this.lines.push(...k),this.words.push(...P),this.chars.push(...S)}),c&&this[c]&&this.masks.push(...this[c].map(C=>{let T=C.cloneNode();return C.replaceWith(T),T.appendChild(C),C.className&&(T.className=C.className.trim().split(" ").map(S=>S+"-mask").join(" ")),T.style.overflow="clip",T}))),this.isSplit=!0,xi&&u&&a&&xi.addEventListener("loadingdone",this._split),(w=o&&o(this))&&w.totalTime&&(this._data.anim=x?w.totalTime(x):w),u&&a&&this.elements.forEach((C,T)=>{_[T].width=C.offsetWidth,b&&b.observe(C)})}),this}kill(){let{obs:e}=this._data;e&&e.disconnect(),xi==null||xi.removeEventListener("loadingdone",this._split)}revert(){var e,t;if(this.isSplit){let{orig:r,anim:s}=this._data;this.kill(),r.forEach(vd),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,s&&(this._data.animTime=s.totalTime(),s.revert()),(t=(e=this.vars).onRevert)==null||t.call(e,this)}return this}static create(e,t){return new Yp(e,t)}static register(e){yi=yi||e||window.gsap,yi&&(ro=yi.utils.toArray,tl=yi.core.context||tl),!Ul&&window.innerWidth>0&&(xi=document.fonts,Ul=!0)}};Hp.version="3.15.0";let $c=Hp;/*! 117 * @gsap/react 2.1.2 118 * https://gsap.com 119 * 120 * Copyright 2008-2025, GreenSock. All rights reserved. 121 * Subject to the terms at https://gsap.com/standard-license or for 122 * Club GSAP members, the agreement issued with that membership. 123 * @author: Jack Doyle, [email protected] 124*/let _d=typeof document<"u"?y.useLayoutEffect:y.useEffect,bd=n=>n&&!Array.isArray(n)&&typeof n=="object",Oo=[],Ob={},qp=Pa;const Aa=(n,e=Oo)=>{let t=Ob;bd(n)?(t=n,n=null,e="dependencies"in t?t.dependencies:Oo):bd(e)&&(t=e,e="dependencies"in t?t.dependencies:Oo),n&&typeof n!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:s}=t,i=y.useRef(!1),o=y.useRef(qp.context(()=>{},r)),a=y.useRef(c=>o.current.add(null,c)),l=e&&e.length&&!s;return l&&_d(()=>(i.current=!0,()=>o.current.revert()),Oo),_d(()=>{if(n&&o.current.add(n,r),!l||!i.current)return()=>o.current.revert()},e),{context:o.current,contextSafe:a.current}};Aa.register=n=>{qp=n};Aa.headless=!0;Pa.registerPlugin(ue,$c,Aa);const wd=({text:n,className:e="",delay:t=50,duration:r=1.25,ease:s="power3.out",splitType:i="chars",from:o={opacity:0,y:40},to:a={opacity:1,y:0},threshold:l=.1,rootMargin:c="-100px",textAlign:u="center",tag:f="p",onLetterAnimationComplete:p})=>{const d=y.useRef(null),g=y.useRef(!1),h=y.useRef(p),[m,_]=y.useState(!1);y.useEffect(()=>{h.current=p},[p]),y.useEffect(()=>{var C,T;((C=document.fonts)==null?void 0:C.status)==="loaded"?_(!0):(T=document.fonts)==null||T.ready.then(()=>_(!0))},[]),Aa(()=>{if(!d.current||!n||!m||g.current)return;const C=d.current;if(C._rbsplitInstance){try{C._rbsplitInstance.revert()}catch{}C._rbsplitInstance=null}const T=(1-l)*100,S=/^(-?\d+(?:\.\d+)?)(px|em|rem|%)?$/.exec(c),P=S?parseFloat(S[1]):0,k=S&&S[2]||"px",R=P===0?"":P<0?`-=${Math.abs(P)}${k}`:`+=${P}${k}`,$=`top ${T}%${R}`;let A;const I=L=>{i.includes("chars")&&L.chars.length&&(A=L.chars),!A&&i.includes("words")&&L.words.length&&(A=L.words),!A&&i.includes("lines")&&L.lines.length&&(A=L.lines),A||(A=L.chars||L.words||L.lines)},N=new $c(C,{type:i,smartWrap:!0,autoSplit:i==="lines",linesClass:"split-line",wordsClass:"split-word",charsClass:"split-char",reduceWhiteSpace:!1,onSplit:L=>(I(L),Pa.fromTo(A,{...o},{...a,duration:r,ease:s,stagger:t/1e3,scrollTrigger:{trigger:C,start:$,once:!0,fastScrollEnd:!0,anticipatePin:.4},onComplete:()=>{var F;g.current=!0,(F=h.current)==null||F.call(h)},willChange:"transform, opacity",force3D:!0}))});return C._rbsplitInstance=N,()=>
124{ue.getAll().forEach(L=>{L.trigger===C&&L.kill()});try{N.revert()}catch{}C._rbsplitInstance=null}},{dependencies:[n,t,r,s,i,JSON.stringify(o),JSON.stringify(a),l,c,m],scope:d});const x={textAlign:u,overflow:"hidden",display:"inline-block",whiteSpace:"normal",wordWrap:"break-word",willChange:"transform, opacity"},b=`split-parent ${e}`,w=f||"p";return v.jsx(w,{ref:d,style:x,className:b,children:n})},Cd={neutral:"bg-muted text-muted-foreground border-border/60",success:"bg-green-500/15 text-green-600 dark:text-green-400 border-green-500/30",info:"bg-blue-500/15 text-blue-600 dark:text-blue-400 border-blue-500/30",warning:"bg-yellow-500/15 text-yellow-700 dark:text-yellow-400 border-yellow-500/30",danger:"bg-red-500/15 text-red-600 dark:text-red-400 border-red-500/30"},Gp="landing_models_cache_v3",Nb=24*60*60*1e3,Mb=n=>{const e=n.split("/").pop()||n,t=e.split("-");if(t.length<=2)return e;const r=`${t[0]}-${t[1]}`;return t.slice(2).some(s=>s.toLowerCase()==="flash")?`${r}-Flash`:r},jb=()=>{try{const n=localStorage.getItem(Gp);if(!n)return null;const e=JSON.parse(n);return!e||typeof e.ts!="number"||Date.now()-e.ts>Nb?null:{models:e.models||[],pricing:e.pricing||null}}catch{return null}},Db=()=>{const e=typeof window<"u"&&new URLSearchParams(window.location.search).get("lang")==="ru"?{seoTitle:"Easy GonkaAI API â ÐÑÑмой доÑÑÑп к DeAI",seoDesc:"ÐÑÑмой доÑÑÑп к деÑенÑÑÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ð½Ð¾Ð¼Ñ ÐÐ. OpenAI-ÑовмеÑÑимÑй endpoint к ÑоповÑм open-source LLM. ÐплаÑа кÑипÑой. 10M Ñокенов в подаÑок.",seoKeywords:"деÑенÑÑализованнÑй ÐÐ, DeAI, алÑÑеÑнаÑива OpenAI, Qwen API, Kimi API, gonka, оплаÑа кÑипÑой LLM",headlineA:"ÐÑÑмой доÑÑÑп",headlineB:"к DeAI.",subPre:"OpenAI-ÑовмеÑÑимÑй endpoint к ÑеÑи ",subLink:"Gonka",subPost:".",subLine2:"ÐплаÑа кÑипÑой, без подпиÑок.",priceLabel:"Ðа 1M вÑÑ
однÑÑ
Ñокенов",modelsLabel:"ÐеÑенÑÑализованнÑе модели",inOut:"вÑ
/вÑÑ
",ctaText:"ÐаÑаÑÑ + 10M Ñокенов в подаÑок",ctaNote:"Ðез каÑÑÑ",descLearn:"УзнаÑÑ Ð±Ð¾Ð»ÑÑе на GitHub",descCommunity:"пÑиÑоединиÑÑÑÑ Ðº ÑообÑеÑÑвÑ",descCases:"ÑиÑаÑÑ Ð½Ð°Ñи кейÑÑ",descYoutube:"СмоÑÑеÑÑ Ð½Ð° YouTube",descMid:", ",descOr:", или ",descDot:". ",footerBusiness:"ÐизнеÑÑ",footerAgents:"ÐÐ»Ñ Ð°Ð³ÐµÐ½Ñов â ÑегиÑÑÑаÑиÑ, API-клÑÑ Ð¸ ÑенÑ"}:{seoTitle:"Easy GonkaAI API â Direct Access to DeAI",seoDesc:"Direct access to decentralized AI. OpenAI-compatible endpoint for top open-source LLMs. Pay-as-you-go with crypto. 10M free tokens.",seoKeywords:"decentralized AI, DeAI, OpenAI alternative, Qwen API, Kimi API, gonka, pay with crypto LLM",headlineA:"Direct access",headlineB:"to DeAI.",subPre:"OpenAI-compatible endpoint to the ",subLink:"Gonka network",subPost:".",subLine2:"Pay with crypto, no subscriptions.",priceLabel:"Per 1M output tokens",modelsLabel:"Decentralized Models",inOut:"in/out",ctaText:"Get Started + 10M tokens free",ctaNote:"No card required",descLearn:"Learn more on GitHub",descCommunity:"join the Community",descCases:"read our case studies",descYoutube:"Watch us on YouTube",descMid:", ",descOr:", or ",descDot:". ",footerBusiness:"Business",footerAgents:"For Agents â Register, Get API Key & Pricing"},[t,r]=y.useState(1.2),s=wh(),[i,o]=y.useState(!1),a=typeof window<"u"?jb():null,[l,c]=y.useState((a==null?void 0:a.models)??[]),[u,f]=y.useState((a==null?void 0:a.pricing)??null),[p,d]=y.useState(()=>{if(typeof window>"u")return null;const g=window.localStorage.getItem("landing_v1_hero_enabled");return g==="true"?!0:g==="false"?!1:null});return y.useEffect(()=>{try{const g=new URLSearchParams(window.location.search).get("friend");if(g){const h=g.trim().toUpperCase();/^[A-Z0-9]{4,20}$/.test(h)&&(window.localStorage.setItem("ref_code",h),zt.from("referral_codes").select("user_id").eq("code",h).maybeSingle().then(({data:m})=>{m!=null&&m.user_id&&zt.from("referral_clicks").insert({code:h,referrer_id:m.user_id,referer:document.referrer||null,user_agent:navigator.userAgent}).then(()=>{})}))}}catch{}},[]),y.useEffect(()=>
124{_h({title:e.seoTitle,description:e.seoDesc,keywords:e.seoKeywords,canonical:`${Ur}/`,type:"website"}),As("ld-organization",{"@context":"https://schema.org","@type":"Organization",name:Ds,url:Ur,logo:`${Ur}/og-image.jpg`,sameAs:["https://github.com/gonka-ai/gonka/","https://discord.com/invite/RADwCT2U6R"]}),As("ld-product",{"@context":"https://schema.org","@type":"Product",name:"Easy GonkaAI API",description:"Direct access to decentralized AI inference â OpenAI-compatible endpoint at a fraction of the price.",brand:{"@type":"Brand",name:Ds},offers:{"@type":"Offer",price:"0.005",priceCurrency:"USD",availability:"https://schema.org/InStock",url:`${Ur}/auth`}})},[]),y.useEffect(()=>{const _=performance.now();let x=0;const b=C=>{const T=C-_,S=Math.min(T/3500,1),P=1-Math.pow(1-S,3);r(1.2-(1.2-.01)*P),S<1?x=requestAnimationFrame(b):(o(!0),setTimeout(()=>o(!1),1200))},w=window.setTimeout(()=>{x=requestAnimationFrame(b)},600);return()=>{clearTimeout(w),cancelAnimationFrame(x)}},[]),y.useEffect(()=>{let g=!1;return(async()=>{const[h,m]=await Promise.all([zt.from("dashboard_models").select("name, price_per_million_input_cents, price_per_million_output_cents, is_online, badges").order("sort_order"),zt.from("settings").select("key, value").in("key",["price_per_million_input_tokens","price_per_million_output_tokens","landing_v1_hero_enabled"])]);if(g)return;let _=null,x=null;if(h.data&&h.data.length>0&&(_=h.data.map(b=>{const C=(Array.isArray(b.badges)?b.badges.filter(T=>{var S;return(S=T==null?void 0:T.label)==null?void 0:S.trim()}):[])[0];return{name:Mb(b.name),priceIn:b.price_per_million_input_cents==null?null:Number(b.price_per_million_input_cents)/100,priceOut:b.price_per_million_output_cents==null?null:Number(b.price_per_million_output_cents)/100,isOnline:b.is_online!==!1,badge:C?{label:C.label,tone:C.tone||"neutral"}:null}}),c(_)),m.data){const b=Object.fromEntries(m.data.map(P=>[P.key,P.value])),w=parseFloat(b.price_per_million_input_tokens),C=parseFloat(b.price_per_million_output_tokens);!isNaN(w)&&!isNaN(C)&&(x={in:w,out:C},f(x));const T=b.landing_v1_hero_enabled,S=T===void 0?!0:T!=="false";d(S);try{window.localStorage.setItem("landing_v1_hero_enabled",S?"true":"false")}catch{}}try{(_||x)&&localStorage.setItem(Gp,JSON.stringify({ts:Date.now(),models:_??l,pricing:x??u}))}catch{}})(),()=>{g=!0}},[]),v.jsxs("div",{className:"min-h-screen flex flex-col relative overflow-x-hidden",children:[v.jsx("div",{className:"absolute inset-0 pointer-events-none z-0",style:{backgroundImage:` 125 url('/images/paper-texture.jpg'), 126 linear-gradient(hsl(var(--border) / 0.3) 1px, transparent 1px), 127 linear-gradient(90deg, hsl(var(--border) / 0.3) 1px, transparent 1px) 128 `,backgroundSize:"cover, 60px 60px, 60px 60px",backgroundPosition:"center"}}),v.jsx("div",{className:"absolute inset-0 pointer-events-none z-0",style:{backgroundColor:"hsl(var(--background) / 0.88)"}}),p===!0&&v.jsx("img",{src:zx,alt:"","aria-hidden":"true",className:"hidden md:block absolute bottom-0 right-0 z-0 pointer-events-none select-none translate-x-[20%] w-[45vw] max-w-[680px] opacity-90"}),v.jsx("main",{className:"relative z-10 flex-1 flex items-center justify-center px-5 sm:px-6 py-12 lg:py-16",children:v.jsxs("div",{className:"w-full max-w-3xl mx-auto text-center animate-fade-in",children:[v.jsxs("h1",{className:"text-5xl sm:text-7xl lg:text-8xl font-bold tracking-tight leading-[0.95] mb-6",children:[v.jsx(wd,{tag:"span",text:e.headlineA,className:"block text-foreground",textAlign:"center",delay:40,duration:.8,ease:"power3.out",splitType:"chars",from:{opacity:0,y:40},to:{opacity:1,y:0},threshold:.1,rootMargin:"0px"}),v.jsx(wd,{tag:"span",text:e.headlineB,className:"block text-foreground/25",textAlign:"center",delay:40,duration:.8,ease:"power3.out",splitType:"chars",from:{opacity:0,y:40},to:{opacity:1,y:0},threshold:.1,rootMargin:"0px"})]}),v.jsx("div",{className:"w-12 h-0.5 bg-foreground mx-auto mb-6"}),v.jsxs("p",{className:"text-base sm:text-lg text-muted-foreground max-w-xl mx-auto leading-relaxed mb-10",children:[e.subPre,v.jsx("a",{href:"https://github.com/gonka-ai/gonka/",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground transition-colors",children:e.subLink}),e.subPost,v.jsx("br",{}),e.subLine2]}),v.jsxs("div",{className:"mb-10",children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.25em] uppercase mb-3",children:e.priceLabel}),v.jsx("div",{className:"flex items-baseline justify-center",children:v.jsxs("span",{className:`text-6xl sm:text-7xl font-bold tabular-nums transition-all duration-700 ${i?"text-green-500 scale-105 drop-shadow-[0_0_24px_rgba(34,197,94,0.45)]":"text-foreground"}`,children:["$",t.toFixed(2)]})})]}),v.jsx("div",{className:"mb-10 min-h-[110px]",children:l.length>0&&v.jsxs(v.Fragment,{children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.25em] uppercase mb-4",children:e.modelsLabel}),v.jsx("div",{className:"flex items-center justify-center gap-2 sm:gap-3 flex-wrap",children:l.map(g=>{const h=g.priceIn??(u==null?void 0:u.in)??null,m=g.priceOut??(u==null?void 0:u.out)??null,_=x=>x.toFixed(3).replace(/0+$/,"").replace(/\.$/,"");return v.jsxs("span",{className:"relative inline-flex flex-col items-start border border-border bg-card/60 backdrop-blur-sm px-3 py-2 text-xs font-medium",children:[g.badge&&v.jsxs("span",{className:"absolute -top-2 -right-2 z-10",children:[v.jsx("span",{className:"absolute inset-0 rounded bg-card/95"}),v.jsx("span",{className:`relative text-[8px] sm:text-[9px] font-mono px-1.5 py-[1px] rounded border whitespace-nowrap uppercase tracking-wider leading-tight backdrop-blur-2xl ${Cd[g.badge.tone||"neutral"]||Cd.neutral}`,children:g.badge.label})]}),v.jsxs("span",{className:"flex items-center gap-2",children:[v.jsx("span",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${g.isOnline?"bg-green-500":"bg-muted-foreground
128/40"}`}),v.jsx("span",{className:g.isOnline?"":"text-muted-foreground",children:g.name})]}),h!==null&&m!==null&&v.jsxs("span",{className:"font-mono text-[10px] text-muted-foreground pl-3.5 mt-0.5 leading-tight",children:[e.inOut," $",_(h),"/$",_(m)]})]},g.name)})})]})}),v.jsxs("div",{className:"flex flex-col items-center gap-2 mb-10",children:[v.jsxs("a",{href:s,className:"group inline-flex items-center justify-center gap-2 border border-foreground bg-foreground text-background px-7 py-3.5 text-sm font-medium transition-all hover:bg-transparent hover:text-foreground",children:[v.jsx("span",{children:e.ctaText}),v.jsx(fl,{size:16,className:"transition-transform group-hover:translate-x-1"})]}),v.jsx("p",{className:"text-[10px] text-muted-foreground",children:e.ctaNote})]}),v.jsx("div",{className:"max-w-2xl mx-auto mb-10",children:v.jsxs("div",{className:"rounded-2xl border border-border bg-card overflow-hidden",children:[v.jsxs("div",{className:"flex items-center justify-between px-4 py-2.5 border-b border-border bg-muted/40",children:[v.jsx("span",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground",children:"How the GonkaAI protocol works"}),v.jsx("span",{className:"font-mono text-[10px] text-muted-foreground",children:"â¶ video"})]}),v.jsx("div",{className:"relative w-full aspect-video bg-black",children:v.jsx("iframe",{className:"absolute inset-0 w-full h-full",src:"https://www.youtube.com/embed/PkZn_7QD99E",title:"Easy GonkaAI API â overview",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,loading:"lazy"})})]})}),v.jsxs("p",{className:"text-sm sm:text-base text-muted-foreground max-w-sm mx-auto leading-relaxed",children:[v.jsx("a",{href:"https://github.com/gonka-ai/gonka/",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground transition-colors",children:e.descLearn}),e.descMid,v.jsx("a",{href:"https://discord.com/invite/RADwCT2U6R",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground transition-colors",children:e.descCommunity}),e.descOr,v.jsx(Mo,{to:"/articles",className:"underline underline-offset-2 hover:text-foreground transition-colors",children:e.descCases}),e.descDot,v.jsx("a",{href:"https://www.youtube.com/@GonkaAPI",target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-foreground transition-colors",children:e.descYoutube}),"."]})]})}),v.jsxs("footer",{className:"relative z-10 py-3 text-center",children:[v.jsxs("p",{className:"text-[10px] font-mono text-muted-foreground tracking-widest",children:["© ",new Date().getFullYear()," Easy GonkaAI API"]}),v.jsxs("div",{className:"flex items-center justify-center gap-3 mt-1",children:[v.jsx(Mo,{to:"/business",className:"text-[10px] font-mono text-muted-foreground/70 hover:text-foreground transition-colors",children:e.footerBusiness}),v.jsx(Mo,{to:"/for-agents",className:"text-[10px] font-mono text-muted-foreground/40 hover:text-muted-foreground/70 transition-colors",children:e.footerAgents})]})]})]})},Ib=y.lazy(()=>ft(()=>import("./ReelsSection-BxyFZImU.js"),__vite__mapDeps([0,1,2,3,4,5])).catch(()=>({default:()=>null})));class Lb extends y.Component{constructor(){super(...arguments);Vc(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(){}render(){return this.state.hasError?null:this.props.children}}const Fb=()=>{const n=y.useRef(null),[e,t]=y.useState(!1);return y.useEffect(()=>{if(!n.current||e)return;const r=new IntersectionObserver(([s])=>{s.isIntersecting&&(t(!0),r.disconnect())},{rootMargin:"200px"});return r.observe(n.current),()=>r.disconnect()},[e]),v.jsx("div",{ref:n,className:"w-full flex items-center justify-center min-h-[460px] sm:min-h-[500px]",children:e&&v.jsx(Lb,{children:v.jsx(y.Suspense,{fallback:v.jsx("div",{className:"w-[240px] h-[460px] sm:w-[260px] sm:h-[500px] rounded-2xl bg-black/90 ring-1 ring-border/20"}),children:v.jsx(Ib,{})})})})},No="/assets/fan-1-BCbsO8vD.svg",Sd="/images/hero-illustration.svg",zb=[{icon:dv,text:"15Ãâ75à cheaper than direct providers"},{icon:lv,text:"OpenAI-compatible API endpoint"},{icon:cv,text:"99.7% uptime"}],$b=()=>{const[n,e]=y.useState(1.2),t=wh(),[r,s]=y.useState(!1),[i,o]=y.useState(!1),[a,l]=y.useState(()=>{if(typeof window>"u")return null;const g=window.localStorage.getItem("hero_illustration_enabled");return g==="true"?!0:g==="false"?!1:null}),c=y.useRef(!1),u=y.useRef(null),f=y.useRef(null),p=y.useRef(null),d=y.useRef(null);return y.useEffect(()=>{try{const g=new URLSearchParams(window.location.search).get("friend");if(g){const h=g.trim().toUpperCase();/^[A-Z0-9]{4,20}$/.test(h)&&(window.localStorage.setItem("ref_code",h),zt.from("referral_codes").select("user_id").eq("code",h).maybeSingle().then(({data:m})=>{m!=null&&m.user_id&&zt.from("referral_clicks").insert({code:h,referrer_id:m.user_id,referer:document.referrer||null,user_agent:navigator.userAgent}).then(()=>{})}))}}catch{}},[]),y.useEffect(()=>{zt.from("settings").select("value").eq("key","hero_illustration_enabled").maybeSingle().then(({data:g})=>{const h=(g==null?void 0:g.value)==="true";l(h);try{window.localStorage.setItem("hero_illustration_enabled",h?"true":"false")}catch{}})},[]),y.useEffect(()=>{_h({title:"Easy GonkaAI API â Cheap AI, Simple API, Pay with Crypto",description:"OpenAI-compatible API for top open-source LLMs (Qwen, Kimi). Pay-as-you-go with crypto. 10M free tokens to start. No subscriptions, 15Ãâ75à cheaper.",keywords:"cheap AI API, OpenAI alternative, Qwen API, Kimi API, decentralized inference, pay with crypto LLM, gonka, OpenAI compatible endpoint",canonical:`${Ur}/`,type:"website"}),As("ld-organization",{"@context":"https://schema.org","@type":"Organization",name:Ds,url:Ur,logo:`${Ur}/og-image.jpg`,sameAs:["https://github.com/gonka-ai/gonka/","https://discord.com/invite/RADwCT2U6R"]}),As("ld-website",{"@context":"https://schema.org","@type":"WebSite",name:Ds,url:Ur,potentialAction:{"@type":"SearchAction",target:`${Ur}/articles?q={search_term_string}`,"query-input":"required name=search_term_string"}}),As("ld-product",{"@context":"https://schema.org","@type":"Product",name:"Easy GonkaAI API",description:"OpenAI-compatible API for open-source LLMs, routed through decentralized compute for 15Ãâ75à lower prices.",brand:{"@type":"Brand",name:Ds},offers:{"@type":"Offer",price:"0.005",priceCurrency:"USD",priceSpecification:{"@type":"UnitPriceSpecification",price:"0.005",priceCurrency:"USD",unitText:"per 1M tokens"},availability:"https://schema.org/InStock",url:`${Ur}/auth`}}),As("ld-faq",{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"How is Easy GonkaAI cheaper than OpenAI or Anthropic?",acceptedA
128nswer:{"@type":"Answer",text:"We route requests through the Gonka decentralized inference network, where independent providers compete on price. This delivers 15Ã to 75Ã lower per-token costs than direct provider pricing."}},{"@type":"Question",name:"Is the API compatible with OpenAI SDKs?",acceptedAnswer:{"@type":"Answer",text:"Yes. Point any OpenAI-compatible client at https://hskyauefqcgbvgvxkluj.supabase.co/functions/v1/gonka and use your Easy GonkaAI key. No code changes beyond the base URL and key."}},{"@type":"Question",name:"How do I pay?",acceptedAnswer:{"@type":"Answer",text:"Pay-as-you-go with stablecoins via CryptoCloud. No subscriptions, no monthly fees. New users get 10M free tokens at signup."}}]})},[]),y.useEffect(()=>{if(!a)return;let g=0;const h=()=>{g++,g>=2&&o(!0)},m=new Image,_=new Image;m.onload=h,_.onload=h,m.src=Sd,_.src=No},[a]),y.useEffect(()=>{if(!i)return;const g=[u.current,f.current,p.current].filter(Boolean),h=5,m=.04,_=400,x=[],b=[];return g.forEach((w,C)=>{let T=0,S=0;const P=()=>{S<h?S+=m:S=h,T+=S,w.style.transform=`rotate(${T}deg)`,x[C]=requestAnimationFrame(P)},k=window.setTimeout(()=>{x[C]=requestAnimationFrame(P)},1200+C*_);b.push(k)}),()=>{b.forEach(clearTimeout),x.forEach(cancelAnimationFrame)}},[i]),y.useEffect(()=>{if(c.current)return;c.current=!0;const g=.01,h=4e3,m=1.2;setTimeout(()=>{const x=performance.now(),b=w=>{const C=w-x,T=Math.min(C/h,1),S=1-Math.pow(1-T,3),P=m-(m-g)*S;e(P),T<1?requestAnimationFrame(b):(s(!0),setTimeout(()=>s(!1),1200))};requestAnimationFrame(b)},1200)},[]),v.jsxs("div",{className:"min-h-screen flex flex-col relative",children:[v.jsx("div",{className:"absolute inset-0 pointer-events-none z-0",style:{backgroundImage:` 129 url('/images/paper-texture.jpg'), 130 linear-gradient(hsl(var(--border) / 0.3) 1px, transparent 1px), 131 linear-gradient(90deg, hsl(var(--border) / 0.3) 1px, transparent 1px) 132 `,backgroundSize:"cover, 60px 60px, 60px 60px",backgroundPosition:"center"}}),v.jsx("div",{className:"absolute inset-0 pointer-events-none z-0",style:{backgroundColor:"hsl(var(--background) / 0.82)"}}),v.jsxs("div",{className:"relative z-10 flex flex-col min-h-screen overflow-x-hidden",children:[a&&v.jsxs("div",{"aria-hidden":"true",className:`absolute top-0 right-0 w-[55%] max-w-[800px] translate-x-[18%] -translate-y-[5%] pointer-events-none z-0 hidden lg:block ${i?"animate-[slideInRight_1.2s_ease-out_both]":"opacity-0"}`,children:[v.jsx("img",{ref:d,src:Sd,alt:"Decentralized AI inference network illustration",loading:"lazy",decoding:"async",className:"w-full h-auto"}),v.jsx("img",{ref:u,src:No,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-auto",style:{transformOrigin:"26.9% 50.7%"}}),v.jsx("img",{ref:f,src:No,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-auto",style:{transformOrigin:"26.9% 50.7%",left:"27.1%"}}),v.jsx("img",{ref:p,src:No,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-auto",style:{transformOrigin:"26.9% 50.7%",left:"54.2%"}})]}),v.jsx("main",{className:"flex-1 relative z-10",children:v.jsxs("section",{className:"container max-w-6xl mx-auto px-5 sm:px-6 py-10 lg:py-16",children:[v.jsxs("div",{className:"mb-10 lg:mb-14 animate-fade-in",children:[v.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[v.jsx("div",{className:"w-2 h-2 rounded-full bg-green-500 animate-pulse"}),v.jsx("span",{className:"text-[10px] sm:text-xs font-mono text-muted-foreground tracking-[0.2em] uppercase",children:"Live â Decentralized AI Infrastructure"})]}),v.jsxs("h1",{className:"text-4xl sm:text-6xl lg:text-8xl font-bold tracking-tight leading-[1.1] sm:leading-[0.9] mb-4",children:[v.jsx("span",{className:"text-foreground",children:"Cheap AI,"}),v.jsx("br",{}),v.jsx("span",{className:"text-foreground/20",children:"simple API."})]}),v.jsx("div",{className:"w-16 h-0.5 bg-foreground mt-4 mb-6"}),v.jsx("p",{className:"text-sm sm:text-base text-muted-foreground max-w-lg leading-relaxed",children:"Access powerful language models through an OpenAI-compatible endpoint. We route your requests to decentralized AI compute networks â the cheapest providers available. Pay with crypto. No monthly fees."}),v.jsxs("div",{className:"mt-5 sm:mt-6 max-w-2xl",children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase mb-2 sm:mb-3",children:"Perfect for"}),v.jsx("div",{className:"flex flex-wrap gap-1 sm:gap-2",children:["AI Startups","OpenClaw","Cursor","Hermes Agent","Claude Code","Backend"].map(g=>v.jsx("span",{className:"inline-flex items-center border border-border bg-card/60 backdrop-blur-sm px-1.5 py-0.5 sm:px-2.5 sm:py-1 text-[9px] sm:text-[11px] font-mono text-foreground hover:border-foreground transition-colors",children:g},g))})]})]}),v.jsxs("div",{className:"grid lg:grid-cols-3 gap-6 lg:gap-8 animate-fade-in",style:{animationDelay:"0.15s"},children:[v.jsxs("div",{className:"border border-border rounded-none p-6 sm:p-8 bg-card/60 backdrop-blur-sm relative overflow-hidden",children:[v.jsx("div",{className:"absolute top-0 left-0 w-full h-0.5 bg-foreground"}),v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase mb-6",children:"Price per 1M tokens"}),v.jsx("div",{className:"flex items-baseline gap-1 mb-2",children:v.jsxs("span",{className:`text-4xl sm:text-5xl font-bold tabular-nums transition-all duration-700 ${r?"text-green-500 scale-105 drop-shadow-[0_0_20px_rgba(34,197,94,0.4)]":"text-foreground"}`,children:["$",n.toFixed(2)]})}),v.jsxs("div",{className:"flex items-center gap-2 mb-8 flex-wrap",children:[v.jsx("span",{className:`inline-flex items-center rounded-sm bg-foreground text-background px-2 py-0.5 text-[10px] font-bold tracking-wider up
132percase transition-all duration-700 ${r?"scale-110":""}`,children:"75Ã cheaper"}),v.jsx("span",{className:"text-[10px] font-mono text-muted-foreground italic",children:"yes, we got the zeros right"})]}),v.jsxs("div",{className:"space-y-3 border-t border-border pt-6",children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase mb-3",children:"Decentralized Models"}),v.jsxs("div",{className:"flex items-center justify-between text-sm",children:[v.jsx("span",{className:"font-medium text-foreground",children:"MiniMax-M2.7"}),v.jsx("span",{className:"w-2 h-2 rounded-full bg-green-500"})]}),v.jsxs("div",{className:"flex items-center justify-between text-sm",children:[v.jsx("span",{className:"font-medium text-foreground",children:"Kimi K2.6"}),v.jsx("span",{className:"w-2 h-2 rounded-full bg-green-500"})]}),v.jsxs("div",{className:"flex items-center justify-between text-sm",children:[v.jsx("span",{className:"font-medium text-foreground",children:"Qwen3-235B"}),v.jsx("span",{className:"w-2 h-2 rounded-full bg-green-500"})]})]}),v.jsxs("div",{className:"mt-4 border-t border-border pt-4",children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase mb-2",children:"Just change the base URL"}),v.jsxs("dl",{className:"text-[11px] font-mono space-y-1",children:[v.jsxs("div",{className:"flex items-baseline gap-2",children:[v.jsx("dt",{className:"text-muted-foreground w-14 shrink-0",children:"base_url"}),v.jsx("dd",{className:"font-semibold break-all",style:{backgroundImage:"linear-gradient(to right, #22c55e, hsl(var(--muted-foreground)))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"https://hskyauefqcgbvgvxkluj.supabase.co/functions/v1/gonka"})]}),v.jsxs("div",{className:"flex items-baseline gap-2",children:[v.jsx("dt",{className:"text-muted-foreground w-14 shrink-0",children:"api_key"}),v.jsx("dd",{className:"font-semibold break-all",style:{backgroundImage:"linear-gradient(to right, #22c55e, hsl(var(--muted-foreground)))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"sk-7f3a9b2e1d4c..."})]}),v.jsxs("div",{className:"flex items-baseline gap-2",children:[v.jsx("dt",{className:"text-muted-foreground w-14 shrink-0",children:"model"}),v.jsx("dd",{className:"font-semibold break-all",style:{backgroundImage:"linear-gradient(to right, #22c55e, hsl(var(--muted-foreground)))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"moonshotai/kimi-k2.6"})]})]})]})]}),v.jsx("div",{className:"flex flex-col items-center justify-center",children:v.jsx(Fb,{})}),v.jsx("div",{className:"flex flex-col justify-between",children:v.jsxs("div",{children:[v.jsx("p",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase mb-6",children:"Why GonkaAI"}),v.jsx("ul",{className:"space-y-5 mb-8",children:zb.map(g=>v.jsxs("li",{className:"flex items-start gap-3",children:[v.jsx(g.icon,{size:16,className:"text-foreground mt-0.5 shrink-0"}),v.jsx("span",{className:"text-sm text-foreground leading-relaxed",children:g.text})]},g.text))}),v.jsx("ul",{className:"space-y-2 mb-8",children:["Pay-as-you-go with stablecoins","No hidden fees","10M free tokens to start"].map(g=>v.jsxs("li",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[v.jsx(av,{size:12,className:"text-foreground shrink-0"}),g]},g))}),v.jsxs("div",{children:[v.jsxs("a",{href:t,className:"group flex items-center justify-between w-full border border-foreground px-5 py-3.5 text-sm font-medium text-foreground transition-all hover:bg-foreground hover:text-background",children:[v.jsx("span",{children:"Get Started + 10M tokens free"}),v.jsx(fl,{size:16,className:"transition-transform group-hover:translate-x-1"})]}),v.jsx("p",{className:"text-[10px] text-muted-foreground mt-2 text-center",children:"No card required"})]}),v.jsx("div",{className:"border-t border-border pt-4 mt-8",children:v.jsxs("p",{className:"text-xs text-muted-foreground leading-relaxed",children:["Easy GonkaAI is a simple gateway to the"," ",v.jsx("a",{href:"https://github.com/gonka-ai/gonka/",target:"_blank",rel:"noopener noreferrer",className:"text-foreground underline underline-offset-2 hover:text-foreground
132/70 transition-colors",children:"Gonka network"}),". Learn more on"," ",v.jsx("a",{href:"https://github.com/gonka-ai/gonka/",target:"_blank",rel:"noopener noreferrer",className:"text-foreground underline underline-offset-2 hover:text-foreground/70 transition-colors",children:"GitHub"})," ","or join the"," ",v.jsx("a",{href:"https://discord.com/invite/RADwCT2U6R",target:"_blank",rel:"noopener noreferrer",className:"text-foreground underline underline-offset-2 hover:text-foreground/70 transition-colors",children:"Community"})," ","â or"," ",v.jsx("a",{href:"/articles",className:"text-foreground underline underline-offset-2 hover:text-foreground/70 transition-colors",children:"read our case studies"}),"."]})})]})})]}),v.jsxs("section",{className:"mt-10 lg:mt-14 animate-fade-in",style:{animationDelay:"0.4s"},"aria-labelledby":"guides-heading",children:[v.jsxs("div",{className:"flex items-baseline justify-between mb-5",children:[v.jsx("h2",{id:"guides-heading",className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase",children:"Guides"}),v.jsx("a",{href:"/articles",className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase hover:text-foreground transition-colors",children:"All â"})]}),v.jsx("ul",{className:"border-t border-border",children:[{slug:"hermes-agent-cost-why-so-expensive",title:"Hermes Agent: local, smart, surprisingly pricey"},{slug:"claude-code-monthly-bill-breakdown",title:"Claude Code monthly bill â real breakdown"},{slug:"cursor-pro-request-limit-what-to-do",title:"Cursor Pro request limit on day 8"},{slug:"cline-burned-through-dollars-why",title:"Cline burned $50 in one afternoon"},{slug:"openclaw-token-cost-why-so-expensive",title:"OpenClaw is eating your budget"}].map(g=>v.jsx("li",{className:"border-b border-border",children:v.jsxs("a",{href:`/articles/${g.slug}`,className:"group flex items-center justify-between py-3 text-sm text-foreground hover:text-muted-foreground transition-colors",children:[v.jsx("span",{children:g.title}),v.jsx(fl,{size:14,className:"opacity-40 transition-all group-hover:opacity-100 group-hover:translate-x-1"})]})},g.slug))})]})]})}),v.jsxs("footer",{className:"border-t border-border/60 py-5 text-center",children:[v.jsxs("p",{className:"text-[10px] font-mono text-muted-foreground tracking-widest",children:["© ",new Date().getFullYear()," Easy GonkaAI API"]}),v.jsx(Mo,{to:"/for-agents",className:"text-[10px] font-mono text-muted-foreground/40 hover:text-muted-foreground/70 transition-colors mt-1 inline-block",children:"For Agents â Register, Get API Key & Pricing"})]})]})]})},Ed="active_landing_version",Td=["v1","v2","v3"],Bb=()=>{const[n,e]=y.useState(()=>{if(typeof window>"u")return null;const t=window.localStorage.getItem(Ed);return Td.includes(t||"")?t:null});return y.useEffect(()=>{let t=!1;return(async()=>{const{data:r}=await zt.from("settings").select("value").eq("key","active_landing_version").maybeSingle(),s=r==null?void 0:r.value;if(t)return;const i=s&&Td.includes(s)?s:"v1";e(i);try{window.localStorage.setItem(Ed,i)}catch{}})(),()=>{t=!0}},[]),n===null?v.jsx("div",{className:"min-h-screen bg-background"}):n==="v2"?v.jsx($b,{}):v.jsx(Db,{})},Pw=n=>n?n.utm_source?`utm:${n.utm_source}`:n.gclid?"google-ads":n.fbclid?"facebook-ads":n.ref_code?`referral:${n.ref_code}`:n.referrer_domain?n.referrer_domain:"direct":"direct",Hl="signup_attribution_v1",Xp="signup_attribution_recorded:",Pd=new Set(["gonka-api.org","www.gonka-api.org","cheap-ai-hub.lovable.app","localhost","127.0.0.1"]),Ub=n=>{if(!n)return null;try{return new URL(n).hostname.replace(/^www\./,"")}catch{return null}},Wb=()=>{if(!(typeof window>"u"))try{if(window.localStorage.getItem(Hl))return;const n=new URLSearchParams(window.location.search),e=document.referrer||null,t=Ub(e),r=t&&Pd.has(t)?null:e,s=t&&Pd.has(t)?null:t,i={referrer:r,referrer_domain:s,landing_url:window.location.href,landing_path:window.location.pathname+window.location.search,landing_version:window.localStorage.getItem("active_landing_version"),utm_source:n.get("utm_source"),utm_medium:n.get("utm_medium"),utm_campaign:n.get("utm_campaign"),utm_term:n.get("utm_term"),utm_content:n.get("utm_content"),gclid:n.get("gclid"),fbclid:n.get("fbclid"),ref_code:n.get("friend"),captured_at:new Date().toISOString()};window.localStorage.setItem(Hl,JSON.stringify(i))}catch{}},Vb=()=>{if(typeof window>"u")return null;try{const n=window.localStorage.getItem(Hl);return n?JSON.parse(n):null}catch{return null}},Hb=n=>{try{window.localStorage.setItem(Xp+n,"1")}catch{}},Yb=n=>{try{return window.localStorage.getItem(Xp+n)==="1"}catch{return!1}},qb=()=>(y.useEffect(()=>{let n=!1;const e=async r=>{var i;if(Yb(r))return;const s=Vb();try{const{data:o}=await zt.auth.getSession();if(!((i=o.session)==null?void 0:i.access_token))return;await zt.functions.invoke("record-attribution",{body:s??{}}),n||Hb(r)}catch{}};zt.auth.getSession().then(({data:r})=>{var s,i;(i=(s=r.session)==null?void 0:s.user)!=null&&i.id&&e(r.session.user.id)});const{data:t}=zt.auth.onAuthStateChange((r,s)=>{var i;(i=s==null?void 0:s.user)!=null&&i.id&&e(s.user.id)});return()=>{n=!0,t.subscription.unsubscribe()}},[]),null),ye=({className:n=""})=>v.jsx("div",{className:`bg-secondary animate-pulse ${n}`}),Ra=({children:n})=>v.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[v.jsx("nav",{className:"border-b border-border",children:v.jsxs("div",{className:"container max-w-5xl mx-auto px-4 sm:px-6 h-14 flex items-center justify-between",children:[v.jsx(ye,{className:"h-5 w-32"}),v.jsx(ye,{className:"h-4 w-20"})]})}),v.jsx("main",{className:"container max-w-5xl mx-auto px-4 sm:px-6 py-8 sm:py-14 flex-1 w-full",children:n})]}),Bc=({label:n,title:e})=>v.jsxs("div",{className:"mb-8 sm:mb-12",children:[v.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[v.jsx("div",{className:"w-2 h-2 rounded-full bg-muted-foreground
132/40 animate-pulse"}),v.jsx("span",{className:"text-[10px] sm:text-xs font-mono text-muted-foreground tracking-[0.2em] uppercase",children:n})]}),v.jsx(ye,{className:"h-10 sm:h-14 w-3/4 max-w-md"}),v.jsx("div",{className:"w-12 h-0.5 bg-foreground/20 mt-3 mb-4"}),v.jsx(ye,{className:"h-4 w-48"})]}),kd=()=>v.jsxs(Ra,{children:[v.jsx(Bc,{label:"Dashboard",title:"Your API"}),v.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-6",children:[v.jsxs("div",{className:"border border-border p-6 space-y-4",children:[v.jsx(ye,{className:"h-3 w-20"}),v.jsx(ye,{className:"h-10 w-32"}),v.jsx(ye,{className:"h-3 w-40"})]}),v.jsxs("div",{className:"border border-border p-6 space-y-4",children:[v.jsx(ye,{className:"h-3 w-20"}),v.jsx(ye,{className:"h-10 w-full"}),v.jsx(ye,{className:"h-3 w-40"})]})]}),v.jsxs("div",{className:"border border-border p-6 space-y-4",children:[v.jsx(ye,{className:"h-3 w-24"}),v.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-4",children:Array.from({length:4}).map((n,e)=>v.jsxs("div",{className:"space-y-2",children:[v.jsx(ye,{className:"h-3 w-16"}),v.jsx(ye,{className:"h-6 w-20"})]},e))})]})]}),Gb=()=>v.jsxs(Ra,{children:[v.jsx(Bc,{label:"Articles",title:"Articles"}),v.jsx("div",{className:"space-y-6",children:Array.from({length:4}).map((n,e)=>v.jsxs("div",{className:"border-b border-border pb-6 space-y-3",children:[v.jsx(ye,{className:"h-6 w-2/3"}),v.jsx(ye,{className:"h-4 w-full"}),v.jsx(ye,{className:"h-4 w-5/6"})]},e))})]}),Xb=()=>v.jsxs(Ra,{children:[v.jsxs("div",{className:"mb-8",children:[v.jsx(ye,{className:"h-3 w-24 mb-6"}),v.jsx(ye,{className:"h-10 sm:h-12 w-5/6 mb-3"}),v.jsx(ye,{className:"h-10 sm:h-12 w-3/5 mb-6"}),v.jsx(ye,{className:"h-4 w-40"})]}),v.jsx("div",{className:"space-y-3",children:Array.from({length:8}).map((n,e)=>v.jsx(ye,{className:`h-4 ${e%4===3?"w-2/3":"w-full"}`},e))})]}),Ad=()=>v.jsxs(Ra,{children:[v.jsx(Bc,{label:"Admin",title:"Admin Panel"}),v.jsx("div",{className:"flex gap-2 mb-6 border-b border-border",children:Array.from({length:5}).map((n,e)=>v.jsx(ye,{className:"h-8 w-20"},e))}),v.jsxs("div",{className:"border border-border p-6 space-y-4",children:[v.jsx(ye,{className:"h-4 w-1/3"}),v.jsx(ye,{className:"h-32 w-full"})]})]}),Rd=()=>v.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center px-4",children:v.jsxs("div",{className:"w-full max-w-sm border border-border p-8 space-y-5",children:[v.jsx(ye,{className:"h-7 w-32"}),v.jsx(ye,{className:"h-3 w-48"}),v.jsxs("div",{className:"space-y-3 pt-2",children:[v.jsx(ye,{className:"h-10 w-full"}),v.jsx(ye,{className:"h-10 w-full"}),v.jsx(ye,{className:"h-10 w-full"})]})]})}),_n=()=>v.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:v.jsx("span",{className:"text-[10px] font-mono text-muted-foreground tracking-[0.2em] uppercase animate-pulse",children:"Loading"})}),kt=n=>y.lazy(()=>n().catch(e=>{const t=String((e==null?void 0:e.message)??e??""),r=t.includes("error loading dynamically imported module")||t.includes("Failed to fetch dynamically imported module")||t.includes("Importing a module script failed"),s="__chunk_reload_at",i=Number(sessionStorage.getItem(s)||0);if(r&&Date.now()-i>1e4)return sessionStorage.setItem(s,String(Date.now())),window.location.reload(),new Promise(()=>{});throw e})),Kb=kt(()=>ft(()=>import("./Auth-DEGL5BPp.js"),__vite__mapDeps([6,1,2,7,8,9,5,10]))),Qb=kt(()=>ft(()=>import("./Dashboard-Nj3snvFH.js"),__vite__mapDeps([11,1,2,12,9,5,13,8,14,15,10,16,17,18,19,20,4,21,22,23,24,25,26,7,27]))),Jb=kt(()=>ft(()=>import("./Admin-DyqaYVhF.js").then(n=>n.aX),__vite__mapDeps([28,1,2,12,9,5,7,14,13,22,18,17,15,10,29,20,24,25,30,19,4,26,8,31,32,33,3,34]))),Zb=kt(()=>ft(()=>import("./AdminProviders-oSFeDcsR.js"),__vite__mapDeps([35,1,2,12,9,5,7,22,14,15,17,8,26,10,30,34,19,4,29]))),ew=kt(()=>ft(()=>import("./ResetPassword-CoQDO8t9.js"),__vite__mapDeps([36,1,2,7,5]))),tw=kt(()=>ft(()=>import("./SuccessfulPayment-5e81rgQ4.js"),__vite__mapDeps([37,1,2,31,5]))),rw=kt(()=>ft(()=>import("./FailedPayment-CJpkZHL4.js"),__vite__mapDeps([38,1,2,32,5]))),nw=kt(()=>ft(()=>
132import("./Articles-CfBQO7ZN.js"),__vite__mapDeps([39,1,2,7,34,10,5]))),sw=kt(()=>ft(()=>import("./Article-BJ29zwjK.js"),__vite__mapDeps([40,1,2,7,34,10,5]))),iw=kt(()=>ft(()=>import("./ExtensionPrivacy-w-QCbEgR.js"),__vite__mapDeps([41,1,2,7,34,5]))),ow=kt(()=>ft(()=>import("./ForAgents-DPVOzVdt.js"),__vite__mapDeps([42,1,2,7,34,25,27,20,5]))),aw=kt(()=>ft(()=>import("./Earn-Boofxh2t.js"),__vite__mapDeps([43,1,2,7,34,5]))),lw=kt(()=>ft(()=>import("./FreeHermes-F8o3S5Av.js"),__vite__mapDeps([44,1,2,14,22,17,7,10,20,33,24,26,23,5]))),cw=kt(()=>ft(()=>import("./Business-BK_oNbzf.js"),__vite__mapDeps([45,1,2,14,15,8,9,5,16,27,33,26,10]))),uw=kt(()=>ft(()=>import("./PublicErrors-COmwDHtF.js"),__vite__mapDeps([46,1,2,14,17,7,34,10,29,5]))),dw=kt(()=>ft(()=>import("./DemoDashboard-Fta4IGSM.js"),__vite__mapDeps([47,1,2,18,9,5,7,21,20,16,27,19]))),fw=new Sm,bt=({fallback:n,children:e})=>v.jsx(y.Suspense,{fallback:n,children:e}),hw=()=>v.jsx(Tm,{client:fw,children:v.jsxs(Mx,{children:[v.jsx(qv,{}),v.jsx(s0,{}),v.jsxs(Cg,{children:[v.jsx(qb,{}),v.jsxs(gg,{children:[v.jsx(Je,{path:"/",element:v.jsx(Bb,{})}),v.jsx(Je,{path:"/auth",element:v.jsx(bt,{fallback:v.jsx(Rd,{}),children:v.jsx(Kb,{})})}),v.jsx(Je,{path:"/reset-password",element:v.jsx(bt,{fallback:v.jsx(Rd,{}),children:v.jsx(ew,{})})}),v.jsx(Je,{path:"/dashboard",element:v.jsx(bt,{fallback:v.jsx(kd,{}),children:v.jsx(Qb,{})})}),v.jsx(Je,{path:"/admin",element:v.jsx(bt,{fallback:v.jsx(Ad,{}),children:v.jsx(Jb,{})})}),v.jsx(Je,{path:"/admin/providers",element:v.jsx(bt,{fallback:v.jsx(Ad,{}),children:v.jsx(Zb,{})})}),v.jsx(Je,{path:"/successful-payment",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(tw,{})})}),v.jsx(Je,{path:"/failed-payment",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(rw,{})})}),v.jsx(Je,{path:"/articles",element:v.jsx(bt,{fallback:v.jsx(Gb,{}),children:v.jsx(nw,{})})}),v.jsx(Je,{path:"/articles/:slug",element:v.jsx(bt,{fallback:v.jsx(Xb,{}),children:v.jsx(sw,{})})}),v.jsx(Je,{path:"/extension-privacy",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(iw,{})})}),v.jsx(Je,{path:"/for-agents",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(ow,{})})}),v.jsx(Je,{path:"/earn",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(aw,{})})}),v.jsx(Je,{path:"/free-hermes",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(lw,{})})}),v.jsx(Je,{path:"/business",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(cw,{})})}),v.jsx(Je,{path:"/status",element:v.jsx(bt,{fallback:v.jsx(_n,{}),children:v.jsx(uw,{})})}),v.jsx(Je,{path:"/dashboard-demo",element:v.jsx(bt,{fallback:v.jsx(kd,{}),children:v.jsx(dw,{})})}),v.jsx(Je,{path:"*",element:v.jsx(pg,{to:"/",replace:!0})})]})]})]})});Wb();const Kp=n=>{const e=typeof n=="string"?n:(n==null?void 0:n.message)??"";if(e&&(e.includes("error loading dynamically imported module")||e.includes("Failed to fetch dynamically imported module")||e.includes("Importing a module script failed"))){const t="__chunk_reload_at",r=Number(sessionStorage.getItem(t)||0);Date.now()-r>1e4&&(sessionStorage.setItem(t,String(Date.now())),window.location.reload())}};window.addEventListener("error",n=>Kp(n.message));window.addEventListener("unhandledrejection",n=>Kp(n.reason));Ud(document.getElementById("root")).render(v.jsx(hw,{}));export{fl as A,zn as B,av as C,Jl as D,Fn as E,af as F,cf as G,c0 as H,lv as I,cv as J,Pw as K,Mo as L,u0 as M,Rg as N,Kt as P,Cw as R,Ur as S,I0 as V,uv as X,dv as Z,ft as _,xw as a,_h as b,ai as c,As as d,_s as e,nv as f,bw as g,ga as h,Ar as i,tt as j,Zl as k,_w as l,M0 as m,hf as n,Xo as o,nh as p,hx as q,px as r,zt as s,mx as t,rf as u,io as v,yw as w,Ds as x,ox as y,v0 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.