diff --git a/assets/About-BQwefMhx.js b/assets/About-BbOXPysR.js similarity index 97% rename from assets/About-BQwefMhx.js rename to assets/About-BbOXPysR.js index bb27966f..86ac0886 100644 --- a/assets/About-BQwefMhx.js +++ b/assets/About-BbOXPysR.js @@ -1,4 +1,4 @@ -import{c as a,j as e}from"./index-B4BwWmC3.js";import{m as s}from"./proxy-CHulYgJl.js";import{U as n}from"./users-BOW1lTIL.js";/** +import{c as a,j as e}from"./index-0uNRiDMy.js";import{m as s}from"./proxy-D0ivXq8k.js";import{U as n}from"./users-Czn5_mKE.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/Developers-DxHmw69S.js b/assets/Developers-CPCC0tb7.js similarity index 98% rename from assets/Developers-DxHmw69S.js rename to assets/Developers-CPCC0tb7.js index c8da6300..4e1a29fd 100644 --- a/assets/Developers-DxHmw69S.js +++ b/assets/Developers-CPCC0tb7.js @@ -1,4 +1,4 @@ -var Te=t=>{throw TypeError(t)};var he=(t,e,s)=>e.has(t)||Te("Cannot "+s);var r=(t,e,s)=>(he(t,e,"read from private field"),s?s.call(t):e.get(t)),p=(t,e,s)=>e.has(t)?Te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),h=(t,e,s,i)=>(he(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),u=(t,e,s)=>(he(t,e,"access private method"),s);import{S as $e,p as Me,b as M,s as ue,d as ie,n as et,i as de,e as _e,t as tt,g as st,h as rt,k as Fe,l as Y,m as it,r as S,u as Ae,c as qe,j as n,B as at,o as nt,a as ot}from"./index-B4BwWmC3.js";import{m as X}from"./proxy-CHulYgJl.js";import{M as ct}from"./map-pin-DneReaiS.js";import{U as ht}from"./users-BOW1lTIL.js";import{S as lt}from"./star-DzIyx3kc.js";var E,l,Z,C,U,B,_,T,ee,z,G,D,P,F,V,d,J,fe,pe,me,ge,ye,be,xe,Be,Pe,Se=(Pe=class extends $e{constructor(e,s){super();p(this,d);p(this,E);p(this,l);p(this,Z);p(this,C);p(this,U);p(this,B);p(this,_);p(this,T);p(this,ee);p(this,z);p(this,G);p(this,D);p(this,P);p(this,F);p(this,V,new Set);this.options=s,h(this,E,e),h(this,T,null),h(this,_,Me()),this.options.experimental_prefetchInRender||r(this,_).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,l).addObserver(this),Le(r(this,l),this.options)?u(this,d,J).call(this):this.updateResult(),u(this,d,ge).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ve(r(this,l),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ve(r(this,l),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,u(this,d,ye).call(this),u(this,d,be).call(this),r(this,l).removeObserver(this)}setOptions(e,s){const i=this.options,c=r(this,l);if(this.options=r(this,E).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof M(this.options.enabled,r(this,l))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");u(this,d,xe).call(this),r(this,l).setOptions(this.options),i._defaulted&&!ue(this.options,i)&&r(this,E).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,l),observer:this});const o=this.hasListeners();o&&Ue(r(this,l),c,this.options,i)&&u(this,d,J).call(this),this.updateResult(s),o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||ie(this.options.staleTime,r(this,l))!==ie(i.staleTime,r(this,l)))&&u(this,d,fe).call(this);const a=u(this,d,pe).call(this);o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||a!==r(this,F))&&u(this,d,me).call(this,a)}getOptimisticResult(e){const s=r(this,E).getQueryCache().build(r(this,E),e),i=this.createResult(s,e);return dt(this,i)&&(h(this,C,i),h(this,B,this.options),h(this,U,r(this,l).state)),i}getCurrentResult(){return r(this,C)}trackResult(e,s){const i={};return Object.keys(e).forEach(c=>{Object.defineProperty(i,c,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(c),s==null||s(c),e[c])})}),i}trackProp(e){r(this,V).add(e)}getCurrentQuery(){return r(this,l)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=r(this,E).defaultQueryOptions(e),i=r(this,E).getQueryCache().build(r(this,E),s);return i.fetch().then(()=>this.createResult(i,s))}fetch(e){return u(this,d,J).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,C)))}createResult(e,s){var Ie;const i=r(this,l),c=this.options,o=r(this,C),a=r(this,U),m=r(this,B),f=e!==i?e.state:r(this,Z),{state:w}=e;let y={...w},k=!1,b;if(s._optimisticResults){const O=this.hasListeners(),A=!O&&Le(e,s),q=O&&Ue(e,i,s,c);(A||q)&&(y={...y,...rt(w.data,e.options)}),s._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:x,errorUpdatedAt:j,status:v}=y;if(s.select&&y.data!==void 0)if(o&&y.data===(a==null?void 0:a.data)&&s.select===r(this,ee))b=r(this,z);else try{h(this,ee,s.select),b=s.select(y.data),b=Fe(o==null?void 0:o.data,b,s),h(this,z,b),h(this,T,null)}catch(O){h(this,T,O)}else b=y.data;if(s.placeholderData!==void 0&&b===void 0&&v==="pending"){let O;if(o!=null&&o.isPlaceholderData&&s.placeholderData===(m==null?void 0:m.placeholderData))O=o.data;else if(O=typeof s.placeholderData=="function"?s.placeholderData((Ie=r(this,G))==null?void 0:Ie.state.data,r(this,G)):s.placeholderData,s.select&&O!==void 0)try{O=s.select(O),h(this,T,null)}catch(A){h(this,T,A)}O!==void 0&&(v="success",b=Fe(o==null?void 0:o.data,O,s),k=!0)}r(this,T)&&(x=r(this,T),b=r(this,z),j=Date.now(),v="error");const $=y.fetchStatus==="fetching",oe=v==="pending",ce=v==="error",Qe=oe&&$,ke=b!==void 0,I={status:v,fetchStatus:y.fetchStatus,isPending:oe,isSuccess:v==="success",isError:ce,isInitialLoading:Qe,isLoading:Qe,data:b,dataUpdatedAt:y.dataUpdatedAt,error:x,errorUpdatedAt:j,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:$,isRefetching:$&&!oe,isLoadingError:ce&&!ke,isPaused:y.fetchStatus==="paused",isPlaceholderData:k,isRefetchError:ce&&ke,isStale:Ne(e,s),refetch:this.refetch,promise:r(this,_)};if(this.options.experimental_prefetchInRender){const O=re=>{I.status==="error"?re.reject(I.error):I.data!==void 0&&re.resolve(I.data)},A=()=>{const re=h(this,_,I.promise=Me());O(re)},q=r(this,_);switch(q.status){case"pending":e.queryHash===i.queryHash&&O(q);break;case"fulfilled":(I.status==="error"||I.data!==q.value)&&A();break;case"rejected":(I.status!=="error"||I.error!==q.reason)&&A();break}}return I}updateResult(e){const s=r(this,C),i=this.createResult(r(this,l),this.options);if(h(this,U,r(this,l).state),h(this,B,this.options),r(this,U).data!==void 0&&h(this,G,r(this,l)),ue(i,s))return;h(this,C,i);const c={},o=()=>{if(!s)return!0;const{notifyOnChangeProps:a}=this.options,m=typeof a=="function"?a():a;if(m==="all"||!m&&!r(this,V).size)return!0;const g=new Set(m??r(this,V));return this.options.throwOnError&&g.add("error"),Object.keys(r(this,C)).some(f=>{const w=f;return r(this,C)[w]!==s[w]&&g.has(w)})};(e==null?void 0:e.listeners)!==!1&&o()&&(c.listeners=!0),u(this,d,Be).call(this,{...c,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&u(this,d,ge).call(this)}},E=new WeakMap,l=new WeakMap,Z=new WeakMap,C=new WeakMap,U=new WeakMap,B=new WeakMap,_=new WeakMap,T=new WeakMap,ee=new WeakMap,z=new WeakMap,G=new WeakMap,D=new WeakMap,P=new WeakMap,F=new WeakMap,V=new WeakMap,d=new WeakSet,J=function(e){u(this,d,xe).call(this);let s=r(this,l).fetch(this.options,e);return e!=null&&e.throwOnError||(s=s.catch(et)),s},fe=function(){u(this,d,ye).call(this);const e=ie(this.options.staleTime,r(this,l));if(de||r(this,C).isStale||!_e(e))return;const i=tt(r(this,C).dataUpdatedAt,e)+1;h(this,D,setTimeout(()=>{r(this,C).isStale||this.updateResult()},i))},pe=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,l)):this.options.refetchInterval)??!1},me=function(e){u(this,d,be).call(this),h(this,F,e),!(de||M(this.options.enabled,r(this,l))===!1||!_e(r(this,F))||r(this,F)===0)&&h(this,P,setInterval(()=>{(this.options.refetchIntervalInBackground||st.isFocused())&&u(this,d,J).call(this)},r(this,F)))},ge=function(){u(this,d,fe).call(this),u(this,d,me).call(this,u(this,d,pe).call(this))},ye=function(){r(this,D)&&(clearTimeout(r(this,D)),h(this,D,void 0))},be=function(){r(this,P)&&(clearInterval(r(this,P)),h(this,P,void 0))},xe=function(){const e=r(this,E).getQueryCache().build(r(this,E),this.options);if(e===r(this,l))return;const s=r(this,l);h(this,l,e),h(this,Z,e.state),this.hasListeners()&&(s==null||s.removeObserver(this),e.addObserver(this))},Be=function(e){Y.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(r(this,C))}),r(this,E).getQueryCache().notify({query:r(this,l),type:"observerResultsUpdated"})})},Pe);function ut(t,e){return M(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Le(t,e){return ut(t,e)||t.state.data!==void 0&&ve(t,e,e.refetchOnMount)}function ve(t,e,s){if(M(e.enabled,t)!==!1){const i=typeof s=="function"?s(t):s;return i==="always"||i!==!1&&Ne(t,e)}return!1}function Ue(t,e,s,i){return(t!==e||M(i.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Ne(t,s)}function Ne(t,e){return M(e.enabled,t)!==!1&&t.isStaleByTime(ie(e.staleTime,t))}function dt(t,e){return!ue(t.getCurrentResult(),e)}function De(t,e){return t.filter(s=>!e.includes(s))}function ft(t,e,s){const i=t.slice(0);return i[e]=s,i}var K,N,H,W,Q,L,te,se,R,Re,we,ae,je,Oe,He,pt=(He=class extends $e{constructor(e,s,i){super();p(this,R);p(this,K);p(this,N);p(this,H);p(this,W);p(this,Q);p(this,L);p(this,te);p(this,se);h(this,K,e),h(this,W,i),h(this,H,[]),h(this,Q,[]),h(this,N,[]),this.setQueries(s)}onSubscribe(){this.listeners.size===1&&r(this,Q).forEach(e=>{e.subscribe(s=>{u(this,R,je).call(this,e,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,r(this,Q).forEach(e=>{e.destroy()})}setQueries(e,s,i){h(this,H,e),h(this,W,s),Y.batch(()=>{const c=r(this,Q),o=u(this,R,ae).call(this,r(this,H));o.forEach(f=>f.observer.setOptions(f.defaultedQueryOptions,i));const a=o.map(f=>f.observer),m=a.map(f=>f.getCurrentResult()),g=a.some((f,w)=>f!==c[w]);c.length===a.length&&!g||(h(this,Q,a),h(this,N,m),this.hasListeners()&&(De(c,a).forEach(f=>{f.destroy()}),De(a,c).forEach(f=>{f.subscribe(w=>{u(this,R,je).call(this,f,w)})}),u(this,R,Oe).call(this)))})}getCurrentResult(){return r(this,N)}getQueries(){return r(this,Q).map(e=>e.getCurrentQuery())}getObservers(){return r(this,Q)}getOptimisticResult(e,s){const c=u(this,R,ae).call(this,e).map(o=>o.observer.getOptimisticResult(o.defaultedQueryOptions));return[c,o=>u(this,R,we).call(this,o??c,s),()=>u(this,R,Re).call(this,c,e)]}},K=new WeakMap,N=new WeakMap,H=new WeakMap,W=new WeakMap,Q=new WeakMap,L=new WeakMap,te=new WeakMap,se=new WeakMap,R=new WeakSet,Re=function(e,s){const i=u(this,R,ae).call(this,s);return i.map((c,o)=>{const a=e[o];return c.defaultedQueryOptions.notifyOnChangeProps?a:c.observer.trackResult(a,m=>{i.forEach(g=>{g.observer.trackProp(m)})})})},we=function(e,s){return s?((!r(this,L)||r(this,N)!==r(this,se)||s!==r(this,te))&&(h(this,te,s),h(this,se,r(this,N)),h(this,L,it(r(this,L),s(e)))),r(this,L)):e},ae=function(e){const s=new Map(r(this,Q).map(c=>[c.options.queryHash,c])),i=[];return e.forEach(c=>{const o=r(this,K).defaultQueryOptions(c),a=s.get(o.queryHash);a?i.push({defaultedQueryOptions:o,observer:a}):i.push({defaultedQueryOptions:o,observer:new Se(r(this,K),o)})}),i},je=function(e,s){const i=r(this,Q).indexOf(e);i!==-1&&(h(this,N,ft(r(this,N),i,s)),u(this,R,Oe).call(this))},Oe=function(){var e;if(this.hasListeners()){const s=r(this,L),i=u(this,R,we).call(this,u(this,R,Re).call(this,r(this,N),r(this,H)),(e=r(this,W))==null?void 0:e.combine);s!==i&&Y.batch(()=>{this.listeners.forEach(c=>{c(r(this,N))})})}},He),ze=S.createContext(!1),Ge=()=>S.useContext(ze);ze.Provider;function mt(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var gt=S.createContext(mt()),Ve=()=>S.useContext(gt);function yt(t,e){return typeof t=="function"?t(...e):!!t}function Ce(){}var Ke=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},We=t=>{S.useEffect(()=>{t.clearReset()},[t])},Je=({result:t,errorResetBoundary:e,throwOnError:s,query:i})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&yt(s,[t.error,i]),Xe=t=>{t.suspense&&(t.staleTime===void 0&&(t.staleTime=1e3),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3)))},Ye=(t,e)=>t.isLoading&&t.isFetching&&!e,Ee=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,ne=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function bt({queries:t,...e},s){const i=Ae(),c=Ge(),o=Ve(),a=S.useMemo(()=>t.map(x=>{const j=i.defaultQueryOptions(x);return j._optimisticResults=c?"isRestoring":"optimistic",j}),[t,i,c]);a.forEach(x=>{Xe(x),Ke(x,o)}),We(o);const[m]=S.useState(()=>new pt(i,a,e)),[g,f,w]=m.getOptimisticResult(a,e.combine);S.useSyncExternalStore(S.useCallback(x=>c?Ce:m.subscribe(Y.batchCalls(x)),[m,c]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),S.useEffect(()=>{m.setQueries(a,e,{listeners:!1})},[a,e,m]);const k=g.some((x,j)=>Ee(a[j],x))?g.flatMap((x,j)=>{const v=a[j];if(v){const $=new Se(i,v);if(Ee(v,x))return ne(v,$,o);Ye(x,c)&&ne(v,$,o)}return[]}):[];if(k.length>0)throw Promise.all(k);const b=g.find((x,j)=>{const v=a[j];return v&&Je({result:x,errorResetBoundary:o,throwOnError:v.throwOnError,query:i.getQueryCache().get(v.queryHash)})});if(b!=null&&b.error)throw b.error;return f(w())}function xt(t,e,s){var w,y,k,b,x;const i=Ae(),c=Ge(),o=Ve(),a=i.defaultQueryOptions(t);(y=(w=i.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||y.call(w,a),a._optimisticResults=c?"isRestoring":"optimistic",Xe(a),Ke(a,o),We(o);const m=!i.getQueryCache().get(a.queryHash),[g]=S.useState(()=>new e(i,a)),f=g.getOptimisticResult(a);if(S.useSyncExternalStore(S.useCallback(j=>{const v=c?Ce:g.subscribe(Y.batchCalls(j));return g.updateResult(),v},[g,c]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),S.useEffect(()=>{g.setOptions(a,{listeners:!1})},[a,g]),Ee(a,f))throw ne(a,g,o);if(Je({result:f,errorResetBoundary:o,throwOnError:a.throwOnError,query:i.getQueryCache().get(a.queryHash)}))throw f.error;if((b=(k=i.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||b.call(k,a,f),a.experimental_prefetchInRender&&!de&&Ye(f,c)){const j=m?ne(a,g,o):(x=i.getQueryCache().get(a.queryHash))==null?void 0:x.promise;j==null||j.catch(Ce).finally(()=>{g.updateResult()})}return a.notifyOnChangeProps?f:g.trackResult(f)}function vt(t,e){return xt(t,Se)}/** +var Te=t=>{throw TypeError(t)};var he=(t,e,s)=>e.has(t)||Te("Cannot "+s);var r=(t,e,s)=>(he(t,e,"read from private field"),s?s.call(t):e.get(t)),p=(t,e,s)=>e.has(t)?Te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),h=(t,e,s,i)=>(he(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),u=(t,e,s)=>(he(t,e,"access private method"),s);import{S as $e,p as Me,b as M,s as ue,d as ie,n as et,i as de,e as _e,t as tt,g as st,h as rt,k as Fe,l as Y,m as it,r as S,u as Ae,c as qe,j as n,B as at,o as nt,a as ot}from"./index-0uNRiDMy.js";import{m as X}from"./proxy-D0ivXq8k.js";import{M as ct}from"./map-pin--jL2P_zt.js";import{U as ht}from"./users-Czn5_mKE.js";import{S as lt}from"./star-CDh0KFuL.js";var E,l,Z,C,U,B,_,T,ee,z,G,D,P,F,V,d,J,fe,pe,me,ge,ye,be,xe,Be,Pe,Se=(Pe=class extends $e{constructor(e,s){super();p(this,d);p(this,E);p(this,l);p(this,Z);p(this,C);p(this,U);p(this,B);p(this,_);p(this,T);p(this,ee);p(this,z);p(this,G);p(this,D);p(this,P);p(this,F);p(this,V,new Set);this.options=s,h(this,E,e),h(this,T,null),h(this,_,Me()),this.options.experimental_prefetchInRender||r(this,_).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,l).addObserver(this),Le(r(this,l),this.options)?u(this,d,J).call(this):this.updateResult(),u(this,d,ge).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ve(r(this,l),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ve(r(this,l),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,u(this,d,ye).call(this),u(this,d,be).call(this),r(this,l).removeObserver(this)}setOptions(e,s){const i=this.options,c=r(this,l);if(this.options=r(this,E).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof M(this.options.enabled,r(this,l))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");u(this,d,xe).call(this),r(this,l).setOptions(this.options),i._defaulted&&!ue(this.options,i)&&r(this,E).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,l),observer:this});const o=this.hasListeners();o&&Ue(r(this,l),c,this.options,i)&&u(this,d,J).call(this),this.updateResult(s),o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||ie(this.options.staleTime,r(this,l))!==ie(i.staleTime,r(this,l)))&&u(this,d,fe).call(this);const a=u(this,d,pe).call(this);o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||a!==r(this,F))&&u(this,d,me).call(this,a)}getOptimisticResult(e){const s=r(this,E).getQueryCache().build(r(this,E),e),i=this.createResult(s,e);return dt(this,i)&&(h(this,C,i),h(this,B,this.options),h(this,U,r(this,l).state)),i}getCurrentResult(){return r(this,C)}trackResult(e,s){const i={};return Object.keys(e).forEach(c=>{Object.defineProperty(i,c,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(c),s==null||s(c),e[c])})}),i}trackProp(e){r(this,V).add(e)}getCurrentQuery(){return r(this,l)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=r(this,E).defaultQueryOptions(e),i=r(this,E).getQueryCache().build(r(this,E),s);return i.fetch().then(()=>this.createResult(i,s))}fetch(e){return u(this,d,J).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,C)))}createResult(e,s){var Ie;const i=r(this,l),c=this.options,o=r(this,C),a=r(this,U),m=r(this,B),f=e!==i?e.state:r(this,Z),{state:w}=e;let y={...w},k=!1,b;if(s._optimisticResults){const O=this.hasListeners(),A=!O&&Le(e,s),q=O&&Ue(e,i,s,c);(A||q)&&(y={...y,...rt(w.data,e.options)}),s._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:x,errorUpdatedAt:j,status:v}=y;if(s.select&&y.data!==void 0)if(o&&y.data===(a==null?void 0:a.data)&&s.select===r(this,ee))b=r(this,z);else try{h(this,ee,s.select),b=s.select(y.data),b=Fe(o==null?void 0:o.data,b,s),h(this,z,b),h(this,T,null)}catch(O){h(this,T,O)}else b=y.data;if(s.placeholderData!==void 0&&b===void 0&&v==="pending"){let O;if(o!=null&&o.isPlaceholderData&&s.placeholderData===(m==null?void 0:m.placeholderData))O=o.data;else if(O=typeof s.placeholderData=="function"?s.placeholderData((Ie=r(this,G))==null?void 0:Ie.state.data,r(this,G)):s.placeholderData,s.select&&O!==void 0)try{O=s.select(O),h(this,T,null)}catch(A){h(this,T,A)}O!==void 0&&(v="success",b=Fe(o==null?void 0:o.data,O,s),k=!0)}r(this,T)&&(x=r(this,T),b=r(this,z),j=Date.now(),v="error");const $=y.fetchStatus==="fetching",oe=v==="pending",ce=v==="error",Qe=oe&&$,ke=b!==void 0,I={status:v,fetchStatus:y.fetchStatus,isPending:oe,isSuccess:v==="success",isError:ce,isInitialLoading:Qe,isLoading:Qe,data:b,dataUpdatedAt:y.dataUpdatedAt,error:x,errorUpdatedAt:j,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:$,isRefetching:$&&!oe,isLoadingError:ce&&!ke,isPaused:y.fetchStatus==="paused",isPlaceholderData:k,isRefetchError:ce&&ke,isStale:Ne(e,s),refetch:this.refetch,promise:r(this,_)};if(this.options.experimental_prefetchInRender){const O=re=>{I.status==="error"?re.reject(I.error):I.data!==void 0&&re.resolve(I.data)},A=()=>{const re=h(this,_,I.promise=Me());O(re)},q=r(this,_);switch(q.status){case"pending":e.queryHash===i.queryHash&&O(q);break;case"fulfilled":(I.status==="error"||I.data!==q.value)&&A();break;case"rejected":(I.status!=="error"||I.error!==q.reason)&&A();break}}return I}updateResult(e){const s=r(this,C),i=this.createResult(r(this,l),this.options);if(h(this,U,r(this,l).state),h(this,B,this.options),r(this,U).data!==void 0&&h(this,G,r(this,l)),ue(i,s))return;h(this,C,i);const c={},o=()=>{if(!s)return!0;const{notifyOnChangeProps:a}=this.options,m=typeof a=="function"?a():a;if(m==="all"||!m&&!r(this,V).size)return!0;const g=new Set(m??r(this,V));return this.options.throwOnError&&g.add("error"),Object.keys(r(this,C)).some(f=>{const w=f;return r(this,C)[w]!==s[w]&&g.has(w)})};(e==null?void 0:e.listeners)!==!1&&o()&&(c.listeners=!0),u(this,d,Be).call(this,{...c,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&u(this,d,ge).call(this)}},E=new WeakMap,l=new WeakMap,Z=new WeakMap,C=new WeakMap,U=new WeakMap,B=new WeakMap,_=new WeakMap,T=new WeakMap,ee=new WeakMap,z=new WeakMap,G=new WeakMap,D=new WeakMap,P=new WeakMap,F=new WeakMap,V=new WeakMap,d=new WeakSet,J=function(e){u(this,d,xe).call(this);let s=r(this,l).fetch(this.options,e);return e!=null&&e.throwOnError||(s=s.catch(et)),s},fe=function(){u(this,d,ye).call(this);const e=ie(this.options.staleTime,r(this,l));if(de||r(this,C).isStale||!_e(e))return;const i=tt(r(this,C).dataUpdatedAt,e)+1;h(this,D,setTimeout(()=>{r(this,C).isStale||this.updateResult()},i))},pe=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,l)):this.options.refetchInterval)??!1},me=function(e){u(this,d,be).call(this),h(this,F,e),!(de||M(this.options.enabled,r(this,l))===!1||!_e(r(this,F))||r(this,F)===0)&&h(this,P,setInterval(()=>{(this.options.refetchIntervalInBackground||st.isFocused())&&u(this,d,J).call(this)},r(this,F)))},ge=function(){u(this,d,fe).call(this),u(this,d,me).call(this,u(this,d,pe).call(this))},ye=function(){r(this,D)&&(clearTimeout(r(this,D)),h(this,D,void 0))},be=function(){r(this,P)&&(clearInterval(r(this,P)),h(this,P,void 0))},xe=function(){const e=r(this,E).getQueryCache().build(r(this,E),this.options);if(e===r(this,l))return;const s=r(this,l);h(this,l,e),h(this,Z,e.state),this.hasListeners()&&(s==null||s.removeObserver(this),e.addObserver(this))},Be=function(e){Y.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(r(this,C))}),r(this,E).getQueryCache().notify({query:r(this,l),type:"observerResultsUpdated"})})},Pe);function ut(t,e){return M(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Le(t,e){return ut(t,e)||t.state.data!==void 0&&ve(t,e,e.refetchOnMount)}function ve(t,e,s){if(M(e.enabled,t)!==!1){const i=typeof s=="function"?s(t):s;return i==="always"||i!==!1&&Ne(t,e)}return!1}function Ue(t,e,s,i){return(t!==e||M(i.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Ne(t,s)}function Ne(t,e){return M(e.enabled,t)!==!1&&t.isStaleByTime(ie(e.staleTime,t))}function dt(t,e){return!ue(t.getCurrentResult(),e)}function De(t,e){return t.filter(s=>!e.includes(s))}function ft(t,e,s){const i=t.slice(0);return i[e]=s,i}var K,N,H,W,Q,L,te,se,R,Re,we,ae,je,Oe,He,pt=(He=class extends $e{constructor(e,s,i){super();p(this,R);p(this,K);p(this,N);p(this,H);p(this,W);p(this,Q);p(this,L);p(this,te);p(this,se);h(this,K,e),h(this,W,i),h(this,H,[]),h(this,Q,[]),h(this,N,[]),this.setQueries(s)}onSubscribe(){this.listeners.size===1&&r(this,Q).forEach(e=>{e.subscribe(s=>{u(this,R,je).call(this,e,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,r(this,Q).forEach(e=>{e.destroy()})}setQueries(e,s,i){h(this,H,e),h(this,W,s),Y.batch(()=>{const c=r(this,Q),o=u(this,R,ae).call(this,r(this,H));o.forEach(f=>f.observer.setOptions(f.defaultedQueryOptions,i));const a=o.map(f=>f.observer),m=a.map(f=>f.getCurrentResult()),g=a.some((f,w)=>f!==c[w]);c.length===a.length&&!g||(h(this,Q,a),h(this,N,m),this.hasListeners()&&(De(c,a).forEach(f=>{f.destroy()}),De(a,c).forEach(f=>{f.subscribe(w=>{u(this,R,je).call(this,f,w)})}),u(this,R,Oe).call(this)))})}getCurrentResult(){return r(this,N)}getQueries(){return r(this,Q).map(e=>e.getCurrentQuery())}getObservers(){return r(this,Q)}getOptimisticResult(e,s){const c=u(this,R,ae).call(this,e).map(o=>o.observer.getOptimisticResult(o.defaultedQueryOptions));return[c,o=>u(this,R,we).call(this,o??c,s),()=>u(this,R,Re).call(this,c,e)]}},K=new WeakMap,N=new WeakMap,H=new WeakMap,W=new WeakMap,Q=new WeakMap,L=new WeakMap,te=new WeakMap,se=new WeakMap,R=new WeakSet,Re=function(e,s){const i=u(this,R,ae).call(this,s);return i.map((c,o)=>{const a=e[o];return c.defaultedQueryOptions.notifyOnChangeProps?a:c.observer.trackResult(a,m=>{i.forEach(g=>{g.observer.trackProp(m)})})})},we=function(e,s){return s?((!r(this,L)||r(this,N)!==r(this,se)||s!==r(this,te))&&(h(this,te,s),h(this,se,r(this,N)),h(this,L,it(r(this,L),s(e)))),r(this,L)):e},ae=function(e){const s=new Map(r(this,Q).map(c=>[c.options.queryHash,c])),i=[];return e.forEach(c=>{const o=r(this,K).defaultQueryOptions(c),a=s.get(o.queryHash);a?i.push({defaultedQueryOptions:o,observer:a}):i.push({defaultedQueryOptions:o,observer:new Se(r(this,K),o)})}),i},je=function(e,s){const i=r(this,Q).indexOf(e);i!==-1&&(h(this,N,ft(r(this,N),i,s)),u(this,R,Oe).call(this))},Oe=function(){var e;if(this.hasListeners()){const s=r(this,L),i=u(this,R,we).call(this,u(this,R,Re).call(this,r(this,N),r(this,H)),(e=r(this,W))==null?void 0:e.combine);s!==i&&Y.batch(()=>{this.listeners.forEach(c=>{c(r(this,N))})})}},He),ze=S.createContext(!1),Ge=()=>S.useContext(ze);ze.Provider;function mt(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var gt=S.createContext(mt()),Ve=()=>S.useContext(gt);function yt(t,e){return typeof t=="function"?t(...e):!!t}function Ce(){}var Ke=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},We=t=>{S.useEffect(()=>{t.clearReset()},[t])},Je=({result:t,errorResetBoundary:e,throwOnError:s,query:i})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&yt(s,[t.error,i]),Xe=t=>{t.suspense&&(t.staleTime===void 0&&(t.staleTime=1e3),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3)))},Ye=(t,e)=>t.isLoading&&t.isFetching&&!e,Ee=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,ne=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function bt({queries:t,...e},s){const i=Ae(),c=Ge(),o=Ve(),a=S.useMemo(()=>t.map(x=>{const j=i.defaultQueryOptions(x);return j._optimisticResults=c?"isRestoring":"optimistic",j}),[t,i,c]);a.forEach(x=>{Xe(x),Ke(x,o)}),We(o);const[m]=S.useState(()=>new pt(i,a,e)),[g,f,w]=m.getOptimisticResult(a,e.combine);S.useSyncExternalStore(S.useCallback(x=>c?Ce:m.subscribe(Y.batchCalls(x)),[m,c]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),S.useEffect(()=>{m.setQueries(a,e,{listeners:!1})},[a,e,m]);const k=g.some((x,j)=>Ee(a[j],x))?g.flatMap((x,j)=>{const v=a[j];if(v){const $=new Se(i,v);if(Ee(v,x))return ne(v,$,o);Ye(x,c)&&ne(v,$,o)}return[]}):[];if(k.length>0)throw Promise.all(k);const b=g.find((x,j)=>{const v=a[j];return v&&Je({result:x,errorResetBoundary:o,throwOnError:v.throwOnError,query:i.getQueryCache().get(v.queryHash)})});if(b!=null&&b.error)throw b.error;return f(w())}function xt(t,e,s){var w,y,k,b,x;const i=Ae(),c=Ge(),o=Ve(),a=i.defaultQueryOptions(t);(y=(w=i.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||y.call(w,a),a._optimisticResults=c?"isRestoring":"optimistic",Xe(a),Ke(a,o),We(o);const m=!i.getQueryCache().get(a.queryHash),[g]=S.useState(()=>new e(i,a)),f=g.getOptimisticResult(a);if(S.useSyncExternalStore(S.useCallback(j=>{const v=c?Ce:g.subscribe(Y.batchCalls(j));return g.updateResult(),v},[g,c]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),S.useEffect(()=>{g.setOptions(a,{listeners:!1})},[a,g]),Ee(a,f))throw ne(a,g,o);if(Je({result:f,errorResetBoundary:o,throwOnError:a.throwOnError,query:i.getQueryCache().get(a.queryHash)}))throw f.error;if((b=(k=i.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||b.call(k,a,f),a.experimental_prefetchInRender&&!de&&Ye(f,c)){const j=m?ne(a,g,o):(x=i.getQueryCache().get(a.queryHash))==null?void 0:x.promise;j==null||j.catch(Ce).finally(()=>{g.updateResult()})}return a.notifyOnChangeProps?f:g.trackResult(f)}function vt(t,e){return xt(t,Se)}/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/Donate-CpWzDHRz.js b/assets/Donate-07cw8SQI.js similarity index 97% rename from assets/Donate-CpWzDHRz.js rename to assets/Donate-07cw8SQI.js index 6a181764..dbdc30a9 100644 --- a/assets/Donate-CpWzDHRz.js +++ b/assets/Donate-07cw8SQI.js @@ -1 +1 @@ -import{j as e,G as g,H as u,r as l}from"./index-B4BwWmC3.js";import{m as n}from"./proxy-CHulYgJl.js";import{C as b}from"./check-B_FwKd5J.js";import{U as f}from"./users-BOW1lTIL.js";import{S as y}from"./star-DzIyx3kc.js";function j(){return e.jsxs(n.a,{href:"https://github.com/sponsors/eshanized",target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.05,boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)"},whileTap:{scale:.95},className:"inline-flex items-center gap-3 px-6 py-3 bg-[#2ea44f] text-white rounded-lg shadow-md hover:bg-[#2c974b] transition-all duration-300 ease-out",children:[e.jsx(g,{className:"h-5 w-5"}),e.jsx("span",{className:"font-semibold",children:"Sponsor on GitHub"})]})}function x(s){return new Intl.NumberFormat("en-IN",{style:"currency",currency:"INR",minimumFractionDigits:0,maximumFractionDigits:0}).format(s)}const N=.012,v=[{name:"Community Hero",amount:999,description:"Support the ongoing development of Snigdha OS",benefits:["Special recognition on our GitHub repository","Access to sponsor-only updates","Vote on feature priorities"]},{name:"Security Champion",amount:2999,description:"Help shape the future of security testing",benefits:["All Community Hero benefits","Early access to new features","Priority support on GitHub","Exclusive security tips newsletter"],featured:!0},{name:"Enterprise Partner",amount:5999,description:"Perfect for organizations using Snigdha OS",benefits:["All Security Champion benefits","Custom support channel","Training materials access","Team collaboration features","Priority feature requests"]}],d=s=>(s*N).toFixed(2);function w(){return e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:v.map(s=>e.jsxs(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},className:`relative rounded-2xl ${s.featured?"bg-gradient-to-b from-cornflower-blue/10 to-cornflower-blue/5 border-2 border-cornflower-blue":"bg-white/80 border border-gray-200"} backdrop-blur-sm p-6 shadow-lg`,children:[s.featured&&e.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2",children:e.jsx("span",{className:"px-4 py-1 bg-cornflower-blue text-white text-sm rounded-full",children:"Most Popular"})}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:s.name}),e.jsxs("div",{className:"mt-2",children:[e.jsx("span",{className:"text-3xl font-bold text-gray-900",children:x(s.amount)}),e.jsx("span",{className:"text-gray-600",children:" / ₹"}),e.jsxs("span",{className:"text-3xl font-bold text-gray-900 ml-2",children:["$",d(s.amount)]}),e.jsx("span",{className:"text-gray-600",children:" / USD"})]}),e.jsx("p",{className:"mt-2 text-gray-600",children:s.description})]}),e.jsx("ul",{className:"space-y-3 mb-6",children:s.benefits.map(a=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(b,{className:"h-5 w-5 text-green-500 flex-shrink-0 mt-0.5"}),e.jsx("span",{className:"text-gray-600",children:a})]},a))}),e.jsx("a",{href:`https://github.com/sponsors/eshanized?frequency=one-time&amount=${d(s.amount)}`,target:"_blank",rel:"noopener noreferrer",className:`block w-full text-center py-2 px-4 rounded-lg transition-colors ${s.featured?"bg-cornflower-blue text-white hover:bg-blue-600":"bg-gray-100 text-gray-900 hover:bg-gray-200"}`,children:"Make a One-Time Donation"})]},s.name))})}const S=[{label:"Total Sponsors",value:"6+",icon:f,color:"text-blue-500"},{label:"Total Support",value:x(164563.08),icon:u,color:"text-red-500"},{label:"GitHub Stars",value:"200+",icon:y,color:"text-yellow-500"}];function D(){return e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:S.map((s,a)=>e.jsxs(n.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:a*.1},className:"bg-white/80 backdrop-blur-sm p-6 rounded-xl border border-gray-200",children:[e.jsx(s.icon,{className:`h-8 w-8 ${s.color} mb-2`}),e.jsx("p",{className:"text-2xl font-bold text-gray-900",children:s.value}),e.jsx("p",{className:"text-gray-600",children:s.label})]},s.label))})}const k=[{username:"TIAsCode",description:"Enterprise Partner & Server Provider",amount:"₹82,025.36"},{username:"ixintl",description:"Strategic Development Partner",amount:"₹54,399.36"},{username:"SkullSync",description:"Strategic Development Partner",amount:"₹12,181.36"}],I=[{username:"d3v1l0n",amount:"₹4,183.00"},{username:"myself-meghna",amount:"₹8,554"},{username:"lawrencecracker",amount:"₹3,220"}];async function m(s){return await(await fetch(`https://api.github.com/users/${s}`)).json()}function T(){const[s,a]=l.useState([]),[c,p]=l.useState([]);return l.useEffect(()=>{(async()=>{const o=await Promise.all(k.map(async r=>{const i=await m(r.username);return{...r,name:i.name||r.username,avatar_url:i.avatar_url}}));a(o);const h=await Promise.all(I.map(async r=>{const i=await m(r.username);return{...r,name:i.name||r.username,avatar_url:i.avatar_url}}));p(h)})()},[]),e.jsxs("div",{className:"space-y-16",children:[e.jsxs("div",{className:"bg-gradient-to-r from-cornflower-blue/5 to-blue-50/50 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-3xl font-semibold text-gray-900 text-center mb-8",children:"Key Sponsors"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:s.map((t,o)=>e.jsx(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:o*.1},className:"bg-white/90 backdrop-blur-sm rounded-xl p-6 border border-cornflower-blue/20 shadow-xl hover:shadow-2xl transition-shadow",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("div",{className:"p-4 bg-cornflower-blue/10 rounded-lg shadow-sm",children:e.jsx("img",{src:t.avatar_url,alt:t.name,className:"h-10 w-10 rounded-full object-cover"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:t.name}),e.jsx("p",{className:"text-sm text-gray-600",children:t.description}),e.jsxs("p",{className:"text-lg text-gray-800 mt-3 font-semibold",children:["Amount: ",e.jsx("span",{className:"text-green-600",children:t.amount})]})]})]})},t.username))})]}),e.jsxs("div",{className:"bg-gradient-to-r from-indigo-100/10 to-blue-50/50 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-3xl font-semibold text-gray-900 text-center mb-8",children:"Individual Donors"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:c.map((t,o)=>e.jsx(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:o*.1},className:"bg-white/90 backdrop-blur-sm rounded-xl p-6 border border-indigo-200/50 shadow-md hover:shadow-lg transition-shadow",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("div",{className:"p-4 bg-indigo-200/10 rounded-lg shadow-sm",children:e.jsx("img",{src:t.avatar_url,alt:t.name,className:"h-10 w-10 rounded-full object-cover"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:t.name}),e.jsx("p",{className:"text-sm text-gray-600",children:"Generous Individual Donor"}),e.jsxs("p",{className:"text-lg text-gray-800 mt-3 font-semibold",children:["Amount: ",e.jsx("span",{className:"text-green-600",children:t.amount})]})]})]})},t.username))})]})]})}function A(){return e.jsx("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(n.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-12",children:[e.jsx(u,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),e.jsx("h1",{className:"text-4xl font-bold text-gray-900",children:"Support Snigdha OS"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600 max-w-2xl mx-auto",children:"Your support helps us maintain and improve Snigdha OS, keeping it free and open source for the security community."}),e.jsx("div",{className:"mt-8",children:e.jsx(j,{})})]}),e.jsxs("div",{className:"space-y-16",children:[e.jsx("section",{children:e.jsx(T,{})}),e.jsx("section",{children:e.jsx(D,{})}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-8",children:"Choose Your Sponsorship Tier"}),e.jsx(w,{})]}),e.jsxs("section",{className:"max-w-3xl mx-auto text-center bg-cornflower-blue/5 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Why Sponsor Snigdha OS?"}),e.jsx("p",{className:"text-gray-600",children:"Your sponsorship directly supports the development of cutting-edge security tools, maintenance of our infrastructure, and helps us keep Snigdha OS at the forefront of security testing. Join our community of sponsors and help shape the future of security testing."})]})]})]})})}export{A as default}; +import{j as e,G as g,H as u,r as l}from"./index-0uNRiDMy.js";import{m as n}from"./proxy-D0ivXq8k.js";import{C as b}from"./check-M2IzZHvj.js";import{U as f}from"./users-Czn5_mKE.js";import{S as y}from"./star-CDh0KFuL.js";function j(){return e.jsxs(n.a,{href:"https://github.com/sponsors/eshanized",target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.05,boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)"},whileTap:{scale:.95},className:"inline-flex items-center gap-3 px-6 py-3 bg-[#2ea44f] text-white rounded-lg shadow-md hover:bg-[#2c974b] transition-all duration-300 ease-out",children:[e.jsx(g,{className:"h-5 w-5"}),e.jsx("span",{className:"font-semibold",children:"Sponsor on GitHub"})]})}function x(s){return new Intl.NumberFormat("en-IN",{style:"currency",currency:"INR",minimumFractionDigits:0,maximumFractionDigits:0}).format(s)}const N=.012,v=[{name:"Community Hero",amount:999,description:"Support the ongoing development of Snigdha OS",benefits:["Special recognition on our GitHub repository","Access to sponsor-only updates","Vote on feature priorities"]},{name:"Security Champion",amount:2999,description:"Help shape the future of security testing",benefits:["All Community Hero benefits","Early access to new features","Priority support on GitHub","Exclusive security tips newsletter"],featured:!0},{name:"Enterprise Partner",amount:5999,description:"Perfect for organizations using Snigdha OS",benefits:["All Security Champion benefits","Custom support channel","Training materials access","Team collaboration features","Priority feature requests"]}],d=s=>(s*N).toFixed(2);function w(){return e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:v.map(s=>e.jsxs(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},className:`relative rounded-2xl ${s.featured?"bg-gradient-to-b from-cornflower-blue/10 to-cornflower-blue/5 border-2 border-cornflower-blue":"bg-white/80 border border-gray-200"} backdrop-blur-sm p-6 shadow-lg`,children:[s.featured&&e.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2",children:e.jsx("span",{className:"px-4 py-1 bg-cornflower-blue text-white text-sm rounded-full",children:"Most Popular"})}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:s.name}),e.jsxs("div",{className:"mt-2",children:[e.jsx("span",{className:"text-3xl font-bold text-gray-900",children:x(s.amount)}),e.jsx("span",{className:"text-gray-600",children:" / ₹"}),e.jsxs("span",{className:"text-3xl font-bold text-gray-900 ml-2",children:["$",d(s.amount)]}),e.jsx("span",{className:"text-gray-600",children:" / USD"})]}),e.jsx("p",{className:"mt-2 text-gray-600",children:s.description})]}),e.jsx("ul",{className:"space-y-3 mb-6",children:s.benefits.map(a=>e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(b,{className:"h-5 w-5 text-green-500 flex-shrink-0 mt-0.5"}),e.jsx("span",{className:"text-gray-600",children:a})]},a))}),e.jsx("a",{href:`https://github.com/sponsors/eshanized?frequency=one-time&amount=${d(s.amount)}`,target:"_blank",rel:"noopener noreferrer",className:`block w-full text-center py-2 px-4 rounded-lg transition-colors ${s.featured?"bg-cornflower-blue text-white hover:bg-blue-600":"bg-gray-100 text-gray-900 hover:bg-gray-200"}`,children:"Make a One-Time Donation"})]},s.name))})}const S=[{label:"Total Sponsors",value:"6+",icon:f,color:"text-blue-500"},{label:"Total Support",value:x(164563.08),icon:u,color:"text-red-500"},{label:"GitHub Stars",value:"200+",icon:y,color:"text-yellow-500"}];function D(){return e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:S.map((s,a)=>e.jsxs(n.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:a*.1},className:"bg-white/80 backdrop-blur-sm p-6 rounded-xl border border-gray-200",children:[e.jsx(s.icon,{className:`h-8 w-8 ${s.color} mb-2`}),e.jsx("p",{className:"text-2xl font-bold text-gray-900",children:s.value}),e.jsx("p",{className:"text-gray-600",children:s.label})]},s.label))})}const k=[{username:"TIAsCode",description:"Enterprise Partner & Server Provider",amount:"₹82,025.36"},{username:"ixintl",description:"Strategic Development Partner",amount:"₹54,399.36"},{username:"SkullSync",description:"Strategic Development Partner",amount:"₹12,181.36"}],I=[{username:"d3v1l0n",amount:"₹4,183.00"},{username:"myself-meghna",amount:"₹8,554"},{username:"lawrencecracker",amount:"₹3,220"}];async function m(s){return await(await fetch(`https://api.github.com/users/${s}`)).json()}function T(){const[s,a]=l.useState([]),[c,p]=l.useState([]);return l.useEffect(()=>{(async()=>{const o=await Promise.all(k.map(async r=>{const i=await m(r.username);return{...r,name:i.name||r.username,avatar_url:i.avatar_url}}));a(o);const h=await Promise.all(I.map(async r=>{const i=await m(r.username);return{...r,name:i.name||r.username,avatar_url:i.avatar_url}}));p(h)})()},[]),e.jsxs("div",{className:"space-y-16",children:[e.jsxs("div",{className:"bg-gradient-to-r from-cornflower-blue/5 to-blue-50/50 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-3xl font-semibold text-gray-900 text-center mb-8",children:"Key Sponsors"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:s.map((t,o)=>e.jsx(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:o*.1},className:"bg-white/90 backdrop-blur-sm rounded-xl p-6 border border-cornflower-blue/20 shadow-xl hover:shadow-2xl transition-shadow",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("div",{className:"p-4 bg-cornflower-blue/10 rounded-lg shadow-sm",children:e.jsx("img",{src:t.avatar_url,alt:t.name,className:"h-10 w-10 rounded-full object-cover"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:t.name}),e.jsx("p",{className:"text-sm text-gray-600",children:t.description}),e.jsxs("p",{className:"text-lg text-gray-800 mt-3 font-semibold",children:["Amount: ",e.jsx("span",{className:"text-green-600",children:t.amount})]})]})]})},t.username))})]}),e.jsxs("div",{className:"bg-gradient-to-r from-indigo-100/10 to-blue-50/50 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-3xl font-semibold text-gray-900 text-center mb-8",children:"Individual Donors"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:c.map((t,o)=>e.jsx(n.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:o*.1},className:"bg-white/90 backdrop-blur-sm rounded-xl p-6 border border-indigo-200/50 shadow-md hover:shadow-lg transition-shadow",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx("div",{className:"p-4 bg-indigo-200/10 rounded-lg shadow-sm",children:e.jsx("img",{src:t.avatar_url,alt:t.name,className:"h-10 w-10 rounded-full object-cover"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:t.name}),e.jsx("p",{className:"text-sm text-gray-600",children:"Generous Individual Donor"}),e.jsxs("p",{className:"text-lg text-gray-800 mt-3 font-semibold",children:["Amount: ",e.jsx("span",{className:"text-green-600",children:t.amount})]})]})]})},t.username))})]})]})}function A(){return e.jsx("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(n.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-12",children:[e.jsx(u,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),e.jsx("h1",{className:"text-4xl font-bold text-gray-900",children:"Support Snigdha OS"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600 max-w-2xl mx-auto",children:"Your support helps us maintain and improve Snigdha OS, keeping it free and open source for the security community."}),e.jsx("div",{className:"mt-8",children:e.jsx(j,{})})]}),e.jsxs("div",{className:"space-y-16",children:[e.jsx("section",{children:e.jsx(T,{})}),e.jsx("section",{children:e.jsx(D,{})}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-8",children:"Choose Your Sponsorship Tier"}),e.jsx(w,{})]}),e.jsxs("section",{className:"max-w-3xl mx-auto text-center bg-cornflower-blue/5 rounded-2xl p-8",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Why Sponsor Snigdha OS?"}),e.jsx("p",{className:"text-gray-600",children:"Your sponsorship directly supports the development of cutting-edge security tools, maintenance of our infrastructure, and helps us keep Snigdha OS at the forefront of security testing. Join our community of sponsors and help shape the future of security testing."})]})]})]})})}export{A as default}; diff --git a/assets/Download-toYmCdKl.js b/assets/Download-Dq3W82kL.js similarity index 95% rename from assets/Download-toYmCdKl.js rename to assets/Download-Dq3W82kL.js index 6758afb3..9e7cc02b 100644 --- a/assets/Download-toYmCdKl.js +++ b/assets/Download-Dq3W82kL.js @@ -1,8 +1,8 @@ -import{c as y,j as e,D as g,r as l,f as j,a as N}from"./index-B4BwWmC3.js";import{m}from"./proxy-CHulYgJl.js";import{C as S}from"./check-B_FwKd5J.js";import{S as v,G as k,W as p}from"./wifi-C9VN6tsR.js";import{M}from"./map-pin-DneReaiS.js";/** +import{c as y,j as e,D as g,r as l,f as j,a as N}from"./index-0uNRiDMy.js";import{m}from"./proxy-D0ivXq8k.js";import{C as S}from"./check-M2IzZHvj.js";import{S as v,G as k,W as p}from"./wifi-CpID0WP5.js";import{M}from"./map-pin--jL2P_zt.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const h=y("Clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);function C({version:s,size:r,url:a}){return e.jsxs(m.a,{href:a,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.05},whileTap:{scale:.98},className:"flex items-center justify-between w-full p-4 bg-gradient-to-r from-cornflower-blue/10 to-white rounded-lg border border-gray-200 hover:border-cornflower-blue transition-all duration-300 ease-in-out transform hover:scale-105 focus:ring-2 focus:ring-cornflower-blue focus:outline-none","aria-label":`Download Snigdha OS ${s} - ${r}`,children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsxs("h3",{className:"text-lg font-semibold text-gray-900",children:["Snigdha OS ",s]}),e.jsx("p",{className:"text-sm text-gray-500",children:r})]}),e.jsx(g,{className:"h-6 w-6 text-cornflower-blue"})]})}const E=["Minimum 2GB RAM (4GB recommended)","20GB disk space","CPU with virtualization support","DVD drive / USB boot support","Internet connectivity for updates"];function G(){return e.jsxs("div",{className:"bg-white/80 backdrop-blur-sm p-6 rounded-lg",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"System Requirements"}),e.jsx("ul",{className:"space-y-3",children:E.map(s=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-5 w-5 text-green-500 flex-shrink-0"}),e.jsx("span",{className:"text-gray-600",children:s})]},s))})]})}function L({sha256:s,gpg:r}){const[a,t]=l.useState(null),n=(i,c)=>{navigator.clipboard.writeText(i).then(()=>{t(c),setTimeout(()=>t(null),2e3)})};return e.jsxs("div",{className:"bg-white/90 backdrop-blur-sm p-8 rounded-lg shadow-lg max-w-3xl mx-auto",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(v,{className:"h-6 w-6 text-cornflower-blue"}),e.jsx("h2",{className:"text-2xl font-extrabold text-gray-900",children:"Verify Download"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"SHA256 Checksum"}),e.jsx("code",{className:"block p-3 bg-gray-50 rounded-lg text-sm break-all text-gray-800 border border-gray-200",children:s})]}),e.jsxs("button",{onClick:()=>n(s,"sha256"),className:"ml-3 p-2 text-cornflower-blue hover:bg-gray-100 rounded-lg transition","aria-label":"Copy SHA256 checksum",children:[e.jsx(h,{className:"h-5 w-5"}),a==="sha256"&&e.jsx("span",{className:"text-xs text-green-500 ml-2",children:"Copied!"})]})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"GPG Signature"}),e.jsx("code",{className:"block p-3 bg-gray-50 rounded-lg text-sm break-all text-gray-800 border border-gray-200",children:r})]}),e.jsxs("button",{onClick:()=>n(r,"gpg"),className:"ml-3 p-2 text-cornflower-blue hover:bg-gray-100 rounded-lg transition","aria-label":"Copy GPG signature",children:[e.jsx(h,{className:"h-5 w-5"}),a==="gpg"&&e.jsx("span",{className:"text-xs text-green-500 ml-2",children:"Copied!"})]})]})]})]})}function T({mirrors:s,onSelect:r}){return e.jsx("div",{className:"space-y-4",children:s.map((a,t)=>e.jsx(m.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:t*.1},className:"bg-white/80 backdrop-blur-sm p-4 rounded-lg border border-gray-200 hover:border-cornflower-blue transition-colors",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(k,{className:"h-5 w-5 text-cornflower-blue"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium text-gray-900",children:a.name}),e.jsx("p",{className:"text-sm text-gray-500",children:a.location})]})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-1 text-sm text-gray-600",children:[e.jsx(p,{className:"h-4 w-4"}),j(a.speed)]}),e.jsxs("button",{onClick:()=>r(a),className:"flex items-center gap-2 px-4 py-2 bg-cornflower-blue text-white rounded-lg hover:bg-blue-600 transition-colors",children:[e.jsx(g,{className:"h-4 w-4"}),"Select"]})]})]})},a.id))})}function B({speed:s}){const r=t=>t>=100?"Excellent for fast downloads":t>=50?"Good for normal downloads":t>=20?"Moderate speed, downloads may take longer":"Slow connection, consider using a different mirror",a=t=>t>=100?"text-green-500":t>=50?"text-blue-500":t>=20?"text-yellow-500":"text-red-500";return e.jsxs("div",{className:"bg-white/90 backdrop-blur-lg p-8 rounded-xl shadow-lg hover:scale-105 transform transition-all",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx(p,{className:"h-7 w-7 text-cornflower-blue"}),e.jsx("h2",{className:"text-2xl font-extrabold text-gray-900",children:"Network Speed"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"flex items-center gap-4",children:e.jsxs("span",{className:`text-4xl font-bold ${a(s)}`,children:[s," Mbps"]})}),e.jsx("p",{className:"text-lg text-gray-700",children:r(s)})]}),e.jsx("div",{className:"mt-6 flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:`font-medium ${a(s)}`,children:"Speed Quality:"}),e.jsx("span",{className:`${a(s)} font-semibold`,children:s>=100?"Excellent":s>=50?"Good":s>=20?"Moderate":"Poor"})]})})]})}function D({mirror:s,userLocation:r,onSelect:a}){return e.jsxs("div",{className:"bg-white/90 backdrop-blur-lg p-6 rounded-lg shadow-lg border-2 border-cornflower-blue hover:shadow-xl transition-shadow",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx(M,{className:"h-6 w-6 text-cornflower-blue"}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-semibold text-gray-900",children:"Suggested Mirror"}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Based on your location: ",r.city,", ",r.country]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"font-semibold text-gray-900 text-lg",children:s.name}),e.jsx("p",{className:"text-sm text-gray-600",children:s.location}),e.jsx("button",{onClick:()=>a(s),className:"w-full mt-4 px-5 py-3 bg-cornflower-blue text-white rounded-lg hover:bg-blue-600 transition-colors ease-in-out",children:"Use This Mirror"})]})]})}const A=[{version:"2024.1",size:"4.2 GB",url:"https://snigdhaos.org/downloads/snigdhaos-2024.1-installer-amd64.iso",sha256:"e4654e5633f4e1f8f57a9fb3dca02f9db06e9acb5e346f0fae9d9f5c3a9c0e9",gpg:`-----BEGIN PGP SIGNATURE----- + */const h=y("Clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);function C({version:s,size:r,url:a}){return e.jsxs(m.a,{href:a,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.05},whileTap:{scale:.98},className:"flex items-center justify-between w-full p-4 bg-gradient-to-r from-cornflower-blue/10 to-white rounded-lg border border-gray-200 hover:border-cornflower-blue transition-all duration-300 ease-in-out transform hover:scale-105 focus:ring-2 focus:ring-cornflower-blue focus:outline-none","aria-label":`Download Snigdha OS ${s} - ${r}`,children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsxs("h3",{className:"text-lg font-semibold text-gray-900",children:["Snigdha OS ",s]}),e.jsx("p",{className:"text-sm text-gray-500",children:r})]}),e.jsx(g,{className:"h-6 w-6 text-cornflower-blue"})]})}const E=["Minimum 2GB RAM (4GB recommended)","20GB disk space","CPU with virtualization support","DVD drive / USB boot support","Internet connectivity for updates"];function G(){return e.jsxs("div",{className:"bg-white/80 backdrop-blur-sm p-6 rounded-lg",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"System Requirements"}),e.jsx("ul",{className:"space-y-3",children:E.map(s=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-5 w-5 text-green-500 flex-shrink-0"}),e.jsx("span",{className:"text-gray-600",children:s})]},s))})]})}function L({sha256:s,gpg:r}){const[a,t]=l.useState(null),n=(i,c)=>{navigator.clipboard.writeText(i).then(()=>{t(c),setTimeout(()=>t(null),2e3)})};return e.jsxs("div",{className:"bg-white/90 backdrop-blur-sm p-8 rounded-lg shadow-lg max-w-3xl mx-auto",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx(v,{className:"h-6 w-6 text-cornflower-blue"}),e.jsx("h2",{className:"text-2xl font-extrabold text-gray-900",children:"Verify Download"})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"SHA256 Checksum"}),e.jsx("code",{className:"block p-3 bg-gray-50 rounded-lg text-sm break-all text-gray-800 border border-gray-200",children:s})]}),e.jsxs("button",{onClick:()=>n(s,"sha256"),className:"ml-3 p-2 text-cornflower-blue hover:bg-gray-100 rounded-lg transition","aria-label":"Copy SHA256 checksum",children:[e.jsx(h,{className:"h-5 w-5"}),a==="sha256"&&e.jsx("span",{className:"text-xs text-green-500 ml-2",children:"Copied!"})]})]}),e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-gray-700 mb-2",children:"GPG Signature"}),e.jsx("code",{className:"block p-3 bg-gray-50 rounded-lg text-sm break-all text-gray-800 border border-gray-200",children:r})]}),e.jsxs("button",{onClick:()=>n(r,"gpg"),className:"ml-3 p-2 text-cornflower-blue hover:bg-gray-100 rounded-lg transition","aria-label":"Copy GPG signature",children:[e.jsx(h,{className:"h-5 w-5"}),a==="gpg"&&e.jsx("span",{className:"text-xs text-green-500 ml-2",children:"Copied!"})]})]})]})]})}function T({mirrors:s,onSelect:r}){return e.jsx("div",{className:"space-y-4",children:s.map((a,t)=>e.jsx(m.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:t*.1},className:"bg-white/80 backdrop-blur-sm p-4 rounded-lg border border-gray-200 hover:border-cornflower-blue transition-colors",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(k,{className:"h-5 w-5 text-cornflower-blue"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium text-gray-900",children:a.name}),e.jsx("p",{className:"text-sm text-gray-500",children:a.location})]})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-1 text-sm text-gray-600",children:[e.jsx(p,{className:"h-4 w-4"}),j(a.speed)]}),e.jsxs("button",{onClick:()=>r(a),className:"flex items-center gap-2 px-4 py-2 bg-cornflower-blue text-white rounded-lg hover:bg-blue-600 transition-colors",children:[e.jsx(g,{className:"h-4 w-4"}),"Select"]})]})]})},a.id))})}function B({speed:s}){const r=t=>t>=100?"Excellent for fast downloads":t>=50?"Good for normal downloads":t>=20?"Moderate speed, downloads may take longer":"Slow connection, consider using a different mirror",a=t=>t>=100?"text-green-500":t>=50?"text-blue-500":t>=20?"text-yellow-500":"text-red-500";return e.jsxs("div",{className:"bg-white/90 backdrop-blur-lg p-8 rounded-xl shadow-lg hover:scale-105 transform transition-all",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx(p,{className:"h-7 w-7 text-cornflower-blue"}),e.jsx("h2",{className:"text-2xl font-extrabold text-gray-900",children:"Network Speed"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"flex items-center gap-4",children:e.jsxs("span",{className:`text-4xl font-bold ${a(s)}`,children:[s," Mbps"]})}),e.jsx("p",{className:"text-lg text-gray-700",children:r(s)})]}),e.jsx("div",{className:"mt-6 flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:`font-medium ${a(s)}`,children:"Speed Quality:"}),e.jsx("span",{className:`${a(s)} font-semibold`,children:s>=100?"Excellent":s>=50?"Good":s>=20?"Moderate":"Poor"})]})})]})}function D({mirror:s,userLocation:r,onSelect:a}){return e.jsxs("div",{className:"bg-white/90 backdrop-blur-lg p-6 rounded-lg shadow-lg border-2 border-cornflower-blue hover:shadow-xl transition-shadow",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx(M,{className:"h-6 w-6 text-cornflower-blue"}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-semibold text-gray-900",children:"Suggested Mirror"}),e.jsxs("p",{className:"text-sm text-gray-600",children:["Based on your location: ",r.city,", ",r.country]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"font-semibold text-gray-900 text-lg",children:s.name}),e.jsx("p",{className:"text-sm text-gray-600",children:s.location}),e.jsx("button",{onClick:()=>a(s),className:"w-full mt-4 px-5 py-3 bg-cornflower-blue text-white rounded-lg hover:bg-blue-600 transition-colors ease-in-out",children:"Use This Mirror"})]})]})}const A=[{version:"Arctic V",size:"1.4 GB",url:"https://snigdhaos.org/downloads/snigdhaos-2024.1-installer-amd64.iso",sha256:"e4654e5633f4e1f8f57a9fb3dca02f9db06e9acb5e346f0fae9d9f5c3a9c0e9",gpg:`-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 ...`}],P=[{id:"us-east",name:"US East Mirror",location:"New York, USA 🇺🇸",url:"https://mirror-east.snigdhaos.org",speed:120},{id:"eu-central",name:"EU Central Mirror",location:"Frankfurt, Germany 🇩🇪",url:"https://mirror-eu.snigdhaos.org",speed:100},{id:"asia-east",name:"Asia East Mirror",location:"Singapore 🇸🇬",url:"https://mirror-asia.snigdhaos.org",speed:80},{id:"uk-london",name:"UK London Mirror",location:"London, United Kingdom 🇬🇧",url:"https://mirror-uk.snigdhaos.org",speed:95},{id:"india-bangalore",name:"India Bangalore Mirror",location:"Bangalore, India 🇮🇳",url:"https://mirror-india.snigdhaos.org",speed:75},{id:"australia-sydney",name:"Australia Sydney Mirror",location:"Sydney, Australia 🇦🇺",url:"https://mirror-aus.snigdhaos.org",speed:85},{id:"canada-toronto",name:"Canada Toronto Mirror",location:"Toronto, Canada 🇨🇦",url:"https://mirror-canada.snigdhaos.org",speed:110},{id:"brazil-sao-paulo",name:"Brazil São Paulo Mirror",location:"São Paulo, Brazil 🇧🇷",url:"https://mirror-brazil.snigdhaos.org",speed:60},{id:"japan-tokyo",name:"Japan Tokyo Mirror",location:"Tokyo, Japan 🇯🇵",url:"https://mirror-japan.snigdhaos.org",speed:90},{id:"south-korea-seoul",name:"South Korea Seoul Mirror",location:"Seoul, South Korea 🇰🇷",url:"https://mirror-korea.snigdhaos.org",speed:95},{id:"south-africa-cape-town",name:"South Africa Cape Town Mirror",location:"Cape Town, South Africa 🇿🇦",url:"https://mirror-sa.snigdhaos.org",speed:50}];async function U(){const s=performance.now(),r=await fetch("https://www.cloudflare.com/cdn-cgi/trace",{cache:"no-store"}),t=performance.now()-s;if(!r.ok)throw new Error("Failed to measure network speed");const n=await r.text(),c=new Blob([n]).size*8/(t/1e3)/1e6;return Math.round(c*100)/100}function z(){const[s,r]=l.useState(null),[a,t]=l.useState(!0),[n,i]=l.useState(null);return l.useEffect(()=>{async function c(){try{const o=await U();r(o)}catch(o){i(o instanceof Error?o:new Error("Failed to measure network speed"))}finally{t(!1)}}c()},[]),{speed:s,isLoading:a,error:n}}async function I(){const s=await fetch("https://ipapi.co/json/");if(!s.ok)throw new Error("Failed to fetch location");const r=await s.json();return{country:r.country_name,city:r.city,continent:r.continent_code}}function R(){const[s,r]=l.useState(null),[a,t]=l.useState(!0),[n,i]=l.useState(null);return l.useEffect(()=>{async function c(){try{const o=await I();r(o)}catch(o){i(o instanceof Error?o:new Error("Failed to get location"))}finally{t(!1)}}c()},[]),{location:s,isLoading:a,error:n}}function O(){const s=A[0],[r,a]=l.useState(null),{speed:t,isLoading:n}=z(),{location:i,isLoading:c}=R(),o=d=>{a(d)},x=[...P].sort((d,f)=>{if(!t)return 0;const b=Math.abs(d.speed-t),w=Math.abs(f.speed-t);return b-w}),u=i?x[0]:null;return n||c?e.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:e.jsx(N,{className:"h-8 w-8 animate-spin text-cornflower-blue"})}):e.jsx("div",{className:"py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-12",children:[e.jsx("h1",{className:"text-4xl font-bold text-gray-900",children:"Download Snigdha OS"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600",children:"Get the latest version of the most advanced penetration testing distribution"})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[e.jsx(C,{...s}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Download Mirrors"}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Mirrors are sorted by compatibility with your connection speed for optimal download performance"}),e.jsx(T,{mirrors:x,onSelect:o})]}),e.jsx(L,{sha256:s.sha256,gpg:s.gpg})]}),e.jsxs("div",{className:"space-y-6",children:[t!==null&&e.jsx(B,{speed:t}),i&&u&&e.jsx(D,{mirror:u,userLocation:i,onSelect:o}),e.jsx(G,{})]})]})]})})}export{O as default}; diff --git a/assets/Features-BRGLcvTL.js b/assets/Features-y1g6XDv8.js similarity index 98% rename from assets/Features-BRGLcvTL.js rename to assets/Features-y1g6XDv8.js index a5bcd63a..baaa66e7 100644 --- a/assets/Features-BRGLcvTL.js +++ b/assets/Features-y1g6XDv8.js @@ -1,4 +1,4 @@ -import{c as m,j as e,r}from"./index-B4BwWmC3.js";import{m as s}from"./proxy-CHulYgJl.js";import{T as p}from"./terminal-DTwyG7sl.js";/** +import{c as m,j as e,r}from"./index-0uNRiDMy.js";import{m as s}from"./proxy-D0ivXq8k.js";import{T as p}from"./terminal-BnBHbYYt.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/Gallery-C36aDy0V.js b/assets/Gallery-gbDQluKU.js similarity index 96% rename from assets/Gallery-C36aDy0V.js rename to assets/Gallery-gbDQluKU.js index e19348a3..c3e09cc6 100644 --- a/assets/Gallery-C36aDy0V.js +++ b/assets/Gallery-gbDQluKU.js @@ -1,4 +1,4 @@ -import{c as i,j as e,r as l}from"./index-B4BwWmC3.js";import{m as o}from"./proxy-CHulYgJl.js";/** +import{c as i,j as e,r as l}from"./index-0uNRiDMy.js";import{m as o}from"./proxy-D0ivXq8k.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/Home-ChZjRxmS.js b/assets/Home-PN7sgWRx.js similarity index 97% rename from assets/Home-ChZjRxmS.js rename to assets/Home-PN7sgWRx.js index 1b923a39..ec0230a2 100644 --- a/assets/Home-ChZjRxmS.js +++ b/assets/Home-PN7sgWRx.js @@ -1,4 +1,4 @@ -import{c as o,j as e,L as l,D as v,r as x}from"./index-B4BwWmC3.js";import{m as r}from"./proxy-CHulYgJl.js";import{U as m}from"./users-BOW1lTIL.js";import{S as h}from"./star-DzIyx3kc.js";import{G as j,S as g,W as N}from"./wifi-C9VN6tsR.js";import{T as y}from"./terminal-DTwyG7sl.js";/** +import{c as o,j as e,L as l,D as v,r as x}from"./index-0uNRiDMy.js";import{m as r}from"./proxy-D0ivXq8k.js";import{U as m}from"./users-Czn5_mKE.js";import{S as h}from"./star-CDh0KFuL.js";import{G as j,S as g,W as N}from"./wifi-CpID0WP5.js";import{T as y}from"./terminal-BnBHbYYt.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/check-B_FwKd5J.js b/assets/check-M2IzZHvj.js similarity index 86% rename from assets/check-B_FwKd5J.js rename to assets/check-M2IzZHvj.js index a3944d90..f620163b 100644 --- a/assets/check-B_FwKd5J.js +++ b/assets/check-M2IzZHvj.js @@ -1,4 +1,4 @@ -import{c}from"./index-B4BwWmC3.js";/** +import{c}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/index-0uNRiDMy.js b/assets/index-0uNRiDMy.js new file mode 100644 index 00000000..8ec3372b --- /dev/null +++ b/assets/index-0uNRiDMy.js @@ -0,0 +1,168 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-PN7sgWRx.js","assets/proxy-D0ivXq8k.js","assets/users-Czn5_mKE.js","assets/star-CDh0KFuL.js","assets/wifi-CpID0WP5.js","assets/terminal-BnBHbYYt.js","assets/About-BbOXPysR.js","assets/Features-y1g6XDv8.js","assets/Download-Dq3W82kL.js","assets/check-M2IzZHvj.js","assets/map-pin--jL2P_zt.js","assets/Developers-CPCC0tb7.js","assets/Donate-07cw8SQI.js","assets/Gallery-gbDQluKU.js"])))=>i.map(i=>d[i]); +var fu=e=>{throw TypeError(e)};var Uo=(e,t,n)=>t.has(e)||fu("Cannot "+n);var S=(e,t,n)=>(Uo(e,t,"read from private field"),n?n.call(e):t.get(e)),$=(e,t,n)=>t.has(e)?fu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),M=(e,t,n,r)=>(Uo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),de=(e,t,n)=>(Uo(e,t,"access private method"),n);var pl=(e,t,n,r)=>({set _(l){M(e,t,l,n)},get _(){return S(e,t,r)}});function Df(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Af(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Za={exports:{}},wo={},Ja={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rl=Symbol.for("react.element"),Uf=Symbol.for("react.portal"),Bf=Symbol.for("react.fragment"),$f=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),Vf=Symbol.for("react.provider"),Hf=Symbol.for("react.context"),Wf=Symbol.for("react.forward_ref"),Kf=Symbol.for("react.suspense"),Gf=Symbol.for("react.memo"),bf=Symbol.for("react.lazy"),pu=Symbol.iterator;function qf(e){return e===null||typeof e!="object"?null:(e=pu&&e[pu]||e["@@iterator"],typeof e=="function"?e:null)}var ec={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tc=Object.assign,nc={};function or(e,t,n){this.props=e,this.context=t,this.refs=nc,this.updater=n||ec}or.prototype.isReactComponent={};or.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rc(){}rc.prototype=or.prototype;function ps(e,t,n){this.props=e,this.context=t,this.refs=nc,this.updater=n||ec}var hs=ps.prototype=new rc;hs.constructor=ps;tc(hs,or.prototype);hs.isPureReactComponent=!0;var hu=Array.isArray,lc=Object.prototype.hasOwnProperty,ms={current:null},oc={key:!0,ref:!0,__self:!0,__source:!0};function ic(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)lc.call(t,r)&&!oc.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,le=R[U];if(0>>1;Ul(Ao,O))Jtl(fl,Ao)?(R[U]=fl,R[Jt]=O,U=Jt):(R[U]=Ao,R[Zt]=O,U=Zt);else if(Jtl(fl,O))R[U]=fl,R[Jt]=O,U=Jt;else break e}}return T}function l(R,T){var O=R.sortIndex-T.sortIndex;return O!==0?O:R.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],h=1,d=null,m=3,g=!1,w=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=R)r(a),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(a)}}function y(R){if(v=!1,p(R),!w)if(n(u)!==null)w=!0,wt(C);else{var T=n(a);T!==null&&kn(y,T.startTime-R)}}function C(R,T){w=!1,v&&(v=!1,f(_),_=-1),g=!0;var O=m;try{for(p(T),d=n(u);d!==null&&(!(d.expirationTime>T)||R&&!ye());){var U=d.callback;if(typeof U=="function"){d.callback=null,m=d.priorityLevel;var le=U(d.expirationTime<=T);T=e.unstable_now(),typeof le=="function"?d.callback=le:d===n(u)&&r(u),p(T)}else r(u);d=n(u)}if(d!==null)var dl=!0;else{var Zt=n(a);Zt!==null&&kn(y,Zt.startTime-T),dl=!1}return dl}finally{d=null,m=O,g=!1}}var N=!1,j=null,_=-1,D=5,F=-1;function ye(){return!(e.unstable_now()-FR||125U?(R.sortIndex=O,t(a,R),n(u)===null&&R===n(a)&&(v?(f(_),_=-1):v=!0,kn(y,O-U))):(R.sortIndex=le,t(u,R),w||g||(w=!0,wt(C))),R},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(R){var T=m;return function(){var O=m;m=T;try{return R.apply(this,arguments)}finally{m=O}}}})(dc);cc.exports=dc;var up=cc.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ap=P,Le=up;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,cp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vu={},yu={};function dp(e){return vi.call(yu,e)?!0:vi.call(vu,e)?!1:cp.test(e)?yu[e]=!0:(vu[e]=!0,!1)}function fp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pp(e,t,n,r){if(t===null||typeof t>"u"||fp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ce[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function gs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ys,gs);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function ws(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` +`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function hp(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Vo(e.type,!1),e;case 11:return e=Vo(e.type.render,!1),e;case 1:return e=Vo(e.type,!0),e;default:return""}}function xi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pn:return"Fragment";case Cn:return"Portal";case yi:return"Profiler";case xs:return"StrictMode";case gi:return"Suspense";case wi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hc:return(e.displayName||"Context")+".Consumer";case pc:return(e._context.displayName||"Context")+".Provider";case Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:xi(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return xi(e(t))}catch{}}return null}function mp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xi(t);case 8:return t===xs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vp(e){var t=vc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vl(e){e._valueTracker||(e._valueTracker=vp(e))}function yc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=vc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Si(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function gc(e,t){t=t.checked,t!=null&&ws(e,"checked",t,!1)}function ki(e,t){gc(e,t);var n=Kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ei(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ei(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function xu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ei(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sr=Array.isArray;function In(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=yl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yp=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){yp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function kc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function Ec(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=kc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var gp=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _i(e,t){if(t){if(gp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Ni(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ri=null;function Es(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zi=null,Dn=null,An=null;function Eu(e){if(e=il(e)){if(typeof zi!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Co(t),zi(e.stateNode,e.type,t))}}function Cc(e){Dn?An?An.push(e):An=[e]:Dn=e}function Pc(){if(Dn){var e=Dn,t=An;if(An=Dn=null,Eu(e),t)for(e=0;e>>=0,e===0?32:31-(zp(e)/jp|0)|0}var gl=64,wl=4194304;function kr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ql(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=kr(s):(o&=i,o!==0&&(r=kr(o)))}else i=n&~l,i!==0?r=kr(i):o!==0&&(r=kr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ll(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Mp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_r),Ou=" ",Lu=!1;function Wc(e,t){switch(e){case"keyup":return uh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _n=!1;function ch(e,t){switch(e){case"compositionend":return Kc(t);case"keypress":return t.which!==32?null:(Lu=!0,Ou);case"textInput":return e=t.data,e===Ou&&Lu?null:e;default:return null}}function dh(e,t){if(_n)return e==="compositionend"||!Ts&&Wc(e,t)?(e=Vc(),Il=Rs=Mt=null,_n=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Du(n)}}function Yc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function Os(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function xh(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yc(n.ownerDocument.documentElement,n)){if(r!==null&&Os(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Au(n,o);var i=Au(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Nn=null,Fi=null,Rr=null,Ii=!1;function Uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ii||Nn==null||Nn!==Wl(r)||(r=Nn,"selectionStart"in r&&Os(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&$r(Rr,r)||(Rr=r,r=Zl(Fi,"onSelect"),0jn||(e.current=Qi[jn],Qi[jn]=null,jn--)}function V(e,t){jn++,Qi[jn]=e.current,e.current=t}var Gt={},ve=qt(Gt),_e=qt(!1),fn=Gt;function Jn(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ne(e){return e=e.childContextTypes,e!=null}function eo(){K(_e),K(ve)}function Ku(e,t,n){if(ve.current!==Gt)throw Error(k(168));V(ve,t),V(_e,n)}function id(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,mp(e)||"Unknown",l));return Y({},n,r)}function to(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,fn=ve.current,V(ve,e),V(_e,_e.current),!0}function Gu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=id(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,K(_e),K(ve),V(ve,e)):K(_e),V(_e,n)}var at=null,Po=!1,ri=!1;function sd(e){at===null?at=[e]:at.push(e)}function Oh(e){Po=!0,sd(e)}function Yt(){if(!ri&&at!==null){ri=!0;var e=0,t=Q;try{var n=at;for(Q=1;e>=i,l-=i,ct=1<<32-qe(t)+l|n<_?(D=j,j=null):D=j.sibling;var F=m(f,j,p[_],y);if(F===null){j===null&&(j=D);break}e&&j&&F.alternate===null&&t(f,j),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F,j=D}if(_===p.length)return n(f,j),G&&en(f,_),C;if(j===null){for(;__?(D=j,j=null):D=j.sibling;var ye=m(f,j,F.value,y);if(ye===null){j===null&&(j=D);break}e&&j&&ye.alternate===null&&t(f,j),c=o(ye,c,_),N===null?C=ye:N.sibling=ye,N=ye,j=D}if(F.done)return n(f,j),G&&en(f,_),C;if(j===null){for(;!F.done;_++,F=p.next())F=d(f,F.value,y),F!==null&&(c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return G&&en(f,_),C}for(j=r(f,j);!F.done;_++,F=p.next())F=g(j,f,_,F.value,y),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?_:F.key),c=o(F,c,_),N===null?C=F:N.sibling=F,N=F);return e&&j.forEach(function(B){return t(f,B)}),G&&en(f,_),C}function x(f,c,p,y){if(typeof p=="object"&&p!==null&&p.type===Pn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case ml:e:{for(var C=p.key,N=c;N!==null;){if(N.key===C){if(C=p.type,C===Pn){if(N.tag===7){n(f,N.sibling),c=l(N,p.props.children),c.return=f,f=c;break e}}else if(N.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Pt&&Yu(C)===N.type){n(f,N.sibling),c=l(N,p.props),c.ref=mr(f,N,p),c.return=f,f=c;break e}n(f,N);break}else t(f,N);N=N.sibling}p.type===Pn?(c=dn(p.props.children,f.mode,y,p.key),c.return=f,f=c):(y=Hl(p.type,p.key,p.props,null,f.mode,y),y.ref=mr(f,c,p),y.return=f,f=y)}return i(f);case Cn:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=di(p,f.mode,y),c.return=f,f=c}return i(f);case Pt:return N=p._init,x(f,c,N(p._payload),y)}if(Sr(p))return w(f,c,p,y);if(cr(p))return v(f,c,p,y);_l(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=ci(p,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return x}var tr=dd(!0),fd=dd(!1),lo=qt(null),oo=null,Ln=null,Is=null;function Ds(){Is=Ln=oo=null}function As(e){var t=lo.current;K(lo),e._currentValue=t}function Wi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Bn(e,t){oo=e,Is=Ln=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(Is!==e)if(e={context:e,memoizedValue:t,next:null},Ln===null){if(oo===null)throw Error(k(308));Ln=e,oo.dependencies={lanes:0,firstContext:e}}else Ln=Ln.next=e;return t}var rn=null;function Us(e){rn===null?rn=[e]:rn.push(e)}function pd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Us(t)):(n.next=l.next,l.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _t=!1;function Bs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,mt(e,n)}return l=r.interleaved,l===null?(t.next=t,Us(r)):(t.next=l.next,l.next=t),r.interleaved=t,mt(e,n)}function Al(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}function Xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function io(e,t,n,r){var l=e.updateQueue;_t=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?o=a:i.next=a,i=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==i&&(s===null?h.firstBaseUpdate=a:s.next=a,h.lastBaseUpdate=u))}if(o!==null){var d=l.baseState;i=0,h=a=u=null,s=o;do{var m=s.lane,g=s.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(m=t,g=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){d=w.call(g,d,m);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,m=typeof w=="function"?w.call(g,d,m):w,m==null)break e;d=Y({},d,m);break e;case 2:_t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else g={eventTime:g,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(a=h=g,u=d):h=h.next=g,i|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(u=d),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);mn|=i,e.lanes=i,e.memoizedState=d}}function Zu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{Q=n,oi.transition=r}}function Td(){return Qe().memoizedState}function Ih(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Od(e))Ld(t,n);else if(n=pd(e,t,n,r),n!==null){var l=Se();Ye(n,e,r,l),Md(n,t,r)}}function Dh(e,t,n){var r=Vt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Od(e))Ld(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Xe(s,i)){var u=t.interleaved;u===null?(l.next=l,Us(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=pd(e,t,l,r),n!==null&&(l=Se(),Ye(n,e,r,l),Md(n,t,r))}}function Od(e){var t=e.alternate;return e===q||t!==null&&t===q}function Ld(e,t){zr=uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Md(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var ao={readContext:$e,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},Ah={readContext:$e,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:ea,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bl(4194308,4,_d.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ih.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:Ju,useDebugValue:bs,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=Ju(!1),t=e[0];return e=Fh.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=Je();if(G){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ie===null)throw Error(k(349));hn&30||gd(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ea(xd.bind(null,r,o,e),[e]),r.flags|=2048,qr(9,wd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Je(),t=ie.identifierPrefix;if(G){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rt]=t,e[Hr]=r,Hd(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ni(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;llr&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=so(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!G)return pe(t),null}else 2*J()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=b.current,V(b,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return eu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function Kh(e,t){switch(Ms(t),t.tag){case 1:return Ne(t.type)&&eo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(_e),K(ve),Vs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(K(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(b),null;case 4:return nr(),null;case 10:return As(t.type._context),null;case 22:case 23:return eu(),null;case 24:return null;default:return null}}var Rl=!1,me=!1,Gh=typeof WeakSet=="function"?WeakSet:Set,z=null;function Mn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function es(e,t,n){try{n()}catch(r){Z(e,t,r)}}var da=!1;function bh(e,t){if(Di=Yl,e=Xc(),Os(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,h=0,d=e,m=null;t:for(;;){for(var g;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)m=d,d=g;for(;;){if(d===e)break t;if(m===n&&++a===l&&(s=i),m===o&&++h===r&&(u=i),(g=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},Yl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,x=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:He(t.type,v),x);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){Z(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=da,da=!1,w}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&es(t,n,o)}l=l.next}while(l!==r)}}function Ro(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ts(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gd(e){var t=e.alternate;t!==null&&(e.alternate=null,Gd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Hr],delete t[$i],delete t[jh],delete t[Th])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function bd(e){return e.tag===5||e.tag===3||e.tag===4}function fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ns(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jl));else if(r!==4&&(e=e.child,e!==null))for(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}function rs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}var ue=null,Ge=!1;function xt(e,t,n){for(n=n.child;n!==null;)qd(e,t,n),n=n.sibling}function qd(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(xo,n)}catch{}switch(n.tag){case 5:me||Mn(n,t);case 6:var r=ue,l=Ge;ue=null,xt(e,t,n),ue=r,Ge=l,ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?ni(e.parentNode,n):e.nodeType===1&&ni(e,n),Ur(e)):ni(ue,n.stateNode));break;case 4:r=ue,l=Ge,ue=n.stateNode.containerInfo,Ge=!0,xt(e,t,n),ue=r,Ge=l;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&es(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!me&&(Mn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Z(n,t,s)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,xt(e,t,n),me=r):xt(e,t,n);break;default:xt(e,t,n)}}function pa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gh),t.forEach(function(r){var l=rm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Yh(r/1960))-r,10e?16:e,Ft===null)var r=!1;else{if(e=Ft,Ft=null,po=0,A&6)throw Error(k(331));var l=A;for(A|=4,z=e.current;z!==null;){var o=z,i=o.child;if(z.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uJ()-Zs?cn(e,0):Xs|=n),Re(e,t)}function rf(e,t){t===0&&(e.mode&1?(t=wl,wl<<=1,!(wl&130023424)&&(wl=4194304)):t=1);var n=Se();e=mt(e,t),e!==null&&(ll(e,t,n),Re(e,n))}function nm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rf(e,n)}function rm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),rf(e,n)}var lf;lf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Hh(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,G&&t.flags&1048576&&ud(t,ro,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$l(e,t),e=t.pendingProps;var l=Jn(t,ve.current);Bn(t,n),l=Ws(null,t,r,e,l,n);var o=Ks();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ne(r)?(o=!0,to(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Bs(t),l.updater=No,t.stateNode=l,l._reactInternals=t,Gi(t,r,e,n),t=Yi(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Ls(t),we(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch($l(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=om(r),e=He(r,e),l){case 0:t=qi(null,t,r,e,n);break e;case 1:t=ua(null,t,r,e,n);break e;case 11:t=ia(null,t,r,e,n);break e;case 14:t=sa(null,t,r,He(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),qi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ua(e,t,r,l,n);case 3:e:{if($d(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,hd(e,t),io(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=rr(Error(k(423)),t),t=aa(e,t,r,n,l);break e}else if(r!==l){l=rr(Error(k(424)),t),t=aa(e,t,r,n,l);break e}else for(Te=Bt(t.stateNode.containerInfo.firstChild),Oe=t,G=!0,be=null,n=fd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===l){t=vt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return md(t),e===null&&Hi(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Ui(r,l)?i=null:o!==null&&Ui(r,o)&&(t.flags|=32),Bd(e,t),we(e,t,i,n),t.child;case 6:return e===null&&Hi(t),null;case 13:return Qd(e,t,n);case 4:return $s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ia(e,t,r,l,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,V(lo,r._currentValue),r._currentValue=i,o!==null)if(Xe(o.value,i)){if(o.children===l.children&&!_e.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=ft(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?u.next=u:(u.next=h.next,h.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Wi(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Wi(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}we(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Bn(t,n),l=$e(l),r=r(l),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,l=He(r,t.pendingProps),l=He(r.type,l),sa(e,t,r,l,n);case 15:return Ad(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),$l(e,t),t.tag=1,Ne(r)?(e=!0,to(t)):e=!1,Bn(t,n),Fd(t,r,l),Gi(t,r,l,n),Yi(null,t,r,!0,e,n);case 19:return Vd(e,t,n);case 22:return Ud(e,t,n)}throw Error(k(156,t.tag))};function of(e,t){return Oc(e,t)}function lm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new lm(e,t,n,r)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function om(e){if(typeof e=="function")return nu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===ks)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")nu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Pn:return dn(n.children,l,o,t);case xs:i=8,l|=8;break;case yi:return e=Ue(12,n,t,l|2),e.elementType=yi,e.lanes=o,e;case gi:return e=Ue(13,n,t,l),e.elementType=gi,e.lanes=o,e;case wi:return e=Ue(19,n,t,l),e.elementType=wi,e.lanes=o,e;case mc:return jo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pc:i=10;break e;case hc:i=9;break e;case Ss:i=11;break e;case ks:i=14;break e;case Pt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ue(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function jo(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=mc,e.lanes=n,e.stateNode={isHidden:!1},e}function ci(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function di(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function im(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wo(0),this.expirationTimes=Wo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,l,o,i,s,u){return e=new im(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(o),e}function sm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cf)}catch(e){console.error(e)}}cf(),ac.exports=Me;var fm=ac.exports,df,Sa=fm;df=Sa.createRoot,Sa.hydrateRoot;/** + * @remix-run/router v1.21.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ff(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hm(){return Math.random().toString(36).substr(2,8)}function Ea(e,t){return{usr:e.state,key:e.key,idx:t}}function us(e,t,n,r){return n===void 0&&(n=null),Xr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ur(t):t,{state:n,key:t&&t.key||r||hm()})}function vo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ur(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function mm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=It.Pop,u=null,a=h();a==null&&(a=0,i.replaceState(Xr({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function d(){s=It.Pop;let x=h(),f=x==null?null:x-a;a=x,u&&u({action:s,location:v.location,delta:f})}function m(x,f){s=It.Push;let c=us(v.location,x,f);a=h()+1;let p=Ea(c,a),y=v.createHref(c);try{i.pushState(p,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;l.location.assign(y)}o&&u&&u({action:s,location:v.location,delta:1})}function g(x,f){s=It.Replace;let c=us(v.location,x,f);a=h();let p=Ea(c,a),y=v.createHref(c);i.replaceState(p,"",y),o&&u&&u({action:s,location:v.location,delta:0})}function w(x){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof x=="string"?x:vo(x);return c=c.replace(/ $/,"%20"),te(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let v={get action(){return s},get location(){return e(l,i)},listen(x){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(ka,d),u=x,()=>{l.removeEventListener(ka,d),u=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let f=w(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:g,go(x){return i.go(x)}};return v}var Ca;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ca||(Ca={}));function vm(e,t,n){return n===void 0&&(n="/"),ym(e,t,n,!1)}function ym(e,t,n,r){let l=typeof t=="string"?ur(t):t,o=su(l.pathname||"/",n);if(o==null)return null;let i=pf(e);gm(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(te(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let a=Wt([r,u.relativePath]),h=n.concat(u);o.children&&o.children.length>0&&(te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),pf(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Pm(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let u of hf(o.path))l(o,i,u)}),t}function hf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=hf(r.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function gm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:_m(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const wm=/^:[\w-]+$/,xm=3,Sm=2,km=1,Em=10,Cm=-2,Pa=e=>e==="*";function Pm(e,t){let n=e.split("/"),r=n.length;return n.some(Pa)&&(r+=Cm),t&&(r+=Sm),n.filter(l=>!Pa(l)).reduce((l,o)=>l+(wm.test(o)?xm:o===""?km:Em),r)}function _m(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Nm(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:m,isOptional:g}=h;if(m==="*"){let v=s[d]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=s[d];return g&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Rm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ff(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function zm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ff(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function su(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function jm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?ur(e):e;return{pathname:n?n.startsWith("/")?n:Tm(n,t):t,search:Mm(r),hash:Fm(l)}}function Tm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function fi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function mf(e,t){let n=Om(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function vf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=ur(e):(l=Xr({},e),te(!l.pathname||!l.pathname.includes("?"),fi("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),fi("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),fi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,s;if(i==null)s=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;l.pathname=m.join("/")}s=d>=0?t[d]:"/"}let u=jm(l,s),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(a||h)&&(u.pathname+="/"),u}const Wt=e=>e.join("/").replace(/\/\/+/g,"/"),Lm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Mm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Fm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Im(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const yf=["post","put","patch","delete"];new Set(yf);const Dm=["get",...yf];new Set(Dm);/** + * React Router v6.28.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(a,h){if(h===void 0&&(h={}),!s.current)return;if(typeof a=="number"){r.go(a);return}let d=vf(a,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Wt([t,d.pathname])),(h.replace?r.replace:r.push)(d,h.state,h)},[t,r,i,o,e])}function xf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(wn),{matches:l}=P.useContext(xn),{pathname:o}=al(),i=JSON.stringify(mf(l,r.v7_relativeSplatPath));return P.useMemo(()=>vf(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Qm(e,t){return Vm(e,t)}function Vm(e,t,n,r){ul()||te(!1);let{navigator:l}=P.useContext(wn),{matches:o}=P.useContext(xn),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let a=al(),h;if(t){var d;let x=typeof t=="string"?ur(t):t;u==="/"||(d=x.pathname)!=null&&d.startsWith(u)||te(!1),h=x}else h=a;let m=h.pathname||"/",g=m;if(u!=="/"){let x=u.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=vm(e,{pathname:g}),v=bm(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Wt([u,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:Wt([u,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&v?P.createElement(Fo.Provider,{value:{location:Zr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:It.Pop}},v):v}function Hm(){let e=Zm(),t=Im(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:l},n):null,null)}const Wm=P.createElement(Hm,null);class Km extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(xn.Provider,{value:this.props.routeContext},P.createElement(gf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gm(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(uu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(xn.Provider,{value:t},r)}function bm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=i.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);h>=0||te(!1),i=i.slice(0,Math.min(i.length,h+1))}let u=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((h,d,m)=>{let g,w=!1,v=null,x=null;n&&(g=s&&d.route.id?s[d.route.id]:void 0,v=d.route.errorElement||Wm,u&&(a<0&&m===0?(w=!0,x=null):a===m&&(w=!0,x=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let p;return g?p=v:w?p=x:d.route.Component?p=P.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=h,P.createElement(Gm,{match:d,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?P.createElement(Km,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var Sf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Sf||{}),yo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yo||{});function qm(e){let t=P.useContext(uu);return t||te(!1),t}function Ym(e){let t=P.useContext(Am);return t||te(!1),t}function Xm(e){let t=P.useContext(xn);return t||te(!1),t}function kf(e){let t=Xm(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function Zm(){var e;let t=P.useContext(gf),n=Ym(yo.UseRouteError),r=kf(yo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Jm(){let{router:e}=qm(Sf.UseNavigateStable),t=kf(yo.UseNavigateStable),n=P.useRef(!1);return wf(()=>{n.current=!0}),P.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Zr({fromRouteId:t},o)))},[e,t])}const Na={};function ev(e,t){Na[t]||(Na[t]=!0,console.warn(t))}const Ra=(e,t,n)=>ev(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function tv(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Ra("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&!t&&Ra("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Et(e){te(!1)}function nv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=It.Pop,navigator:o,static:i=!1,future:s}=e;ul()&&te(!1);let u=t.replace(/^\/*/,"/"),a=P.useMemo(()=>({basename:u,navigator:o,static:i,future:Zr({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof r=="string"&&(r=ur(r));let{pathname:h="/",search:d="",hash:m="",state:g=null,key:w="default"}=r,v=P.useMemo(()=>{let x=su(h,u);return x==null?null:{location:{pathname:x,search:d,hash:m,state:g,key:w},navigationType:l}},[u,h,d,m,g,w,l]);return v==null?null:P.createElement(wn.Provider,{value:a},P.createElement(Fo.Provider,{children:n,value:v}))}function rv(e){let{children:t,location:n}=e;return Qm(as(t),n)}new Promise(()=>{});function as(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let o=[...t,l];if(r.type===P.Fragment){n.push.apply(n,as(r.props.children,o));return}r.type!==Et&&te(!1),!r.props.index||!r.props.children||te(!1);let i={id:r.props.id||o.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&&(i.children=as(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.28.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function ov(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function iv(e,t){return e.button===0&&(!t||t==="_self")&&!ov(e)}const sv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],uv="6";try{window.__reactRouterVersion=uv}catch{}const av="startTransition",za=tp[av];function cv(e){let{basename:t,children:n,future:r,window:l}=e,o=P.useRef();o.current==null&&(o.current=pm({window:l,v5Compat:!0}));let i=o.current,[s,u]=P.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=P.useCallback(d=>{a&&za?za(()=>u(d)):u(d)},[u,a]);return P.useLayoutEffect(()=>i.listen(h),[i,h]),P.useEffect(()=>tv(r),[r]),P.createElement(nv,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const dv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",fv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lr=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:s,target:u,to:a,preventScrollReset:h,viewTransition:d}=t,m=lv(t,sv),{basename:g}=P.useContext(wn),w,v=!1;if(typeof a=="string"&&fv.test(a)&&(w=a,dv))try{let p=new URL(window.location.href),y=a.startsWith("//")?new URL(p.protocol+a):new URL(a),C=su(y.pathname,g);y.origin===p.origin&&C!=null?a=C+y.search+y.hash:v=!0}catch{}let x=Um(a,{relative:l}),f=pv(a,{replace:i,state:s,target:u,preventScrollReset:h,relative:l,viewTransition:d});function c(p){r&&r(p),p.defaultPrevented||f(p)}return P.createElement("a",cs({},m,{href:w||x,onClick:v||o?r:c,ref:n,target:u}))});var ja;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ja||(ja={}));var Ta;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ta||(Ta={}));function pv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,u=Bm(),a=al(),h=xf(e,{relative:i});return P.useCallback(d=>{if(iv(d,n)){d.preventDefault();let m=r!==void 0?r:vo(a)===vo(h);u(e,{replace:m,state:l,preventScrollReset:o,relative:i,viewTransition:s})}},[a,u,h,r,l,n,e,o,i,s])}var Io=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Do=typeof window>"u"||"Deno"in globalThis;function We(){}function hv(e,t){return typeof e=="function"?e(t):e}function mv(e){return typeof e=="number"&&e>=0&&e!==1/0}function vv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Oa(e,t){return typeof e=="function"?e(t):e}function yv(e,t){return typeof e=="function"?e(t):e}function La(e,t){const{type:n="all",exact:r,fetchStatus:l,predicate:o,queryKey:i,stale:s}=e;if(i){if(r){if(t.queryHash!==au(i,t.options))return!1}else if(!el(t.queryKey,i))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||l&&l!==t.state.fetchStatus||o&&!o(t))}function Ma(e,t){const{exact:n,status:r,predicate:l,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Jr(t.options.mutationKey)!==Jr(o))return!1}else if(!el(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function au(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jr)(e)}function Jr(e){return JSON.stringify(e,(t,n)=>ds(n)?Object.keys(n).sort().reduce((r,l)=>(r[l]=n[l],r),{}):n)}function el(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!el(e[n],t[n])):!1}function Ef(e,t){if(e===t)return e;const n=Fa(e)&&Fa(t);if(n||ds(e)&&ds(t)){const r=n?e:Object.keys(e),l=r.length,o=n?t:Object.keys(t),i=o.length,s=n?[]:{};let u=0;for(let a=0;a{setTimeout(t,e)})}function wv(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ef(e,t):t}function xv(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Sv(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var cu=Symbol();function Cf(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var on,zt,Vn,Ha,kv=(Ha=class extends Io{constructor(){super();$(this,on);$(this,zt);$(this,Vn);M(this,Vn,t=>{if(!Do&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,zt)||this.setEventListener(S(this,Vn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,zt))==null||t.call(this),M(this,zt,void 0))}setEventListener(t){var n;M(this,Vn,t),(n=S(this,zt))==null||n.call(this),M(this,zt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,on)!==t&&(M(this,on,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,on)=="boolean"?S(this,on):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},on=new WeakMap,zt=new WeakMap,Vn=new WeakMap,Ha),Pf=new kv,Hn,jt,Wn,Wa,Ev=(Wa=class extends Io{constructor(){super();$(this,Hn,!0);$(this,jt);$(this,Wn);M(this,Wn,t=>{if(!Do&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,jt)||this.setEventListener(S(this,Wn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,jt))==null||t.call(this),M(this,jt,void 0))}setEventListener(t){var n;M(this,Wn,t),(n=S(this,jt))==null||n.call(this),M(this,jt,t(this.setOnline.bind(this)))}setOnline(t){S(this,Hn)!==t&&(M(this,Hn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Hn)}},Hn=new WeakMap,jt=new WeakMap,Wn=new WeakMap,Wa),go=new Ev;function Cv(){let e,t;const n=new Promise((l,o)=>{e=l,t=o});n.status="pending",n.catch(()=>{});function r(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},n.reject=l=>{r({status:"rejected",reason:l}),t(l)},n}function Pv(e){return Math.min(1e3*2**e,3e4)}function _f(e){return(e??"online")==="online"?go.isOnline():!0}var Nf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pi(e){return e instanceof Nf}function Rf(e){let t=!1,n=0,r=!1,l;const o=Cv(),i=v=>{var x;r||(m(new Nf(v)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},u=()=>{t=!1},a=()=>Pf.isFocused()&&(e.networkMode==="always"||go.isOnline())&&e.canRun(),h=()=>_f(e.networkMode)&&e.canRun(),d=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),l==null||l(),o.resolve(v))},m=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),l==null||l(),o.reject(v))},g=()=>new Promise(v=>{var x;l=f=>{(r||a())&&v(f)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;l=void 0,r||(v=e.onContinue)==null||v.call(e)}),w=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(f){v=Promise.reject(f)}Promise.resolve(v).then(d).catch(f=>{var N;if(r)return;const c=e.retry??(Do?0:3),p=e.retryDelay??Pv,y=typeof p=="function"?p(n,f):p,C=c===!0||typeof c=="number"&&na()?void 0:g()).then(()=>{t?m(f):w()})})};return{promise:o,cancel:i,continue:()=>(l==null||l(),o),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?w():g().then(w),o)}}function _v(){let e=[],t=0,n=s=>{s()},r=s=>{s()},l=s=>setTimeout(s,0);const o=s=>{t?e.push(s):l(()=>{n(s)})},i=()=>{const s=e;e=[],s.length&&l(()=>{r(()=>{s.forEach(u=>{n(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||i()}return u},batchCalls:s=>(...u)=>{o(()=>{s(...u)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{l=s}}}var xe=_v(),sn,Ka,zf=(Ka=class{constructor(){$(this,sn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mv(this.gcTime)&&M(this,sn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Do?1/0:5*60*1e3))}clearGcTimeout(){S(this,sn)&&(clearTimeout(S(this,sn)),M(this,sn,void 0))}},sn=new WeakMap,Ka),Kn,Gn,Ie,he,tl,un,Ke,st,Ga,Nv=(Ga=class extends zf{constructor(t){super();$(this,Ke);$(this,Kn);$(this,Gn);$(this,Ie);$(this,he);$(this,tl);$(this,un);M(this,un,!1),M(this,tl,t.defaultOptions),this.setOptions(t.options),this.observers=[],M(this,Ie,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,M(this,Kn,zv(this.options)),this.state=t.state??S(this,Kn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,he))==null?void 0:t.promise}setOptions(t){this.options={...S(this,tl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Ie).remove(this)}setData(t,n){const r=wv(this.state.data,t,this.options);return de(this,Ke,st).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){de(this,Ke,st).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,l;const n=(r=S(this,he))==null?void 0:r.promise;return(l=S(this,he))==null||l.cancel(t),n?n.then(We).catch(We):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,Kn))}isActive(){return this.observers.some(t=>yv(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!vv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,Ie).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,he)&&(S(this,un)?S(this,he).cancel({revert:!0}):S(this,he).cancelRetry()),this.scheduleGc()),S(this,Ie).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||de(this,Ke,st).call(this,{type:"invalidate"})}fetch(t,n){var u,a,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,he))return S(this,he).continueRetry(),S(this,he).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,l=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(M(this,un,!0),r.signal)})},o=()=>{const d=Cf(this.options,n),m={queryKey:this.queryKey,meta:this.meta};return l(m),M(this,un,!1),this.options.persister?this.options.persister(d,m,this):d(m)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};l(i),(u=this.options.behavior)==null||u.onFetch(i,this),M(this,Gn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=i.fetchOptions)==null?void 0:a.meta))&&de(this,Ke,st).call(this,{type:"fetch",meta:(h=i.fetchOptions)==null?void 0:h.meta});const s=d=>{var m,g,w,v;pi(d)&&d.silent||de(this,Ke,st).call(this,{type:"error",error:d}),pi(d)||((g=(m=S(this,Ie).config).onError)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,this.state.data,d,this)),this.scheduleGc()};return M(this,he,Rf({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var m,g,w,v;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(x){s(x);return}(g=(m=S(this,Ie).config).onSuccess)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,m)=>{de(this,Ke,st).call(this,{type:"failed",failureCount:d,error:m})},onPause:()=>{de(this,Ke,st).call(this,{type:"pause"})},onContinue:()=>{de(this,Ke,st).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),S(this,he).start()}},Kn=new WeakMap,Gn=new WeakMap,Ie=new WeakMap,he=new WeakMap,tl=new WeakMap,un=new WeakMap,Ke=new WeakSet,st=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Rv(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return pi(l)&&l.revert&&S(this,Gn)?{...S(this,Gn),fetchStatus:"idle"}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,Ie).notify({query:this,type:"updated",action:t})})},Ga);function Rv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_f(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et,ba,jv=(ba=class extends Io{constructor(t={}){super();$(this,et);this.config=t,M(this,et,new Map)}build(t,n,r){const l=n.queryKey,o=n.queryHash??au(l,n);let i=this.get(o);return i||(i=new Nv({cache:this,queryKey:l,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(l)}),this.add(i)),i}add(t){S(this,et).has(t.queryHash)||(S(this,et).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,et).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,et).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,et).get(t)}getAll(){return[...S(this,et).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>La(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>La(t,r)):n}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},et=new WeakMap,ba),tt,ge,an,nt,Ct,qa,Tv=(qa=class extends zf{constructor(t){super();$(this,nt);$(this,tt);$(this,ge);$(this,an);this.mutationId=t.mutationId,M(this,ge,t.mutationCache),M(this,tt,[]),this.state=t.state||Ov(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,tt).includes(t)||(S(this,tt).push(t),this.clearGcTimeout(),S(this,ge).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){M(this,tt,S(this,tt).filter(n=>n!==t)),this.scheduleGc(),S(this,ge).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,tt).length||(this.state.status==="pending"?this.scheduleGc():S(this,ge).remove(this))}continue(){var t;return((t=S(this,an))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,o,i,s,u,a,h,d,m,g,w,v,x,f,c,p,y,C,N,j;M(this,an,Rf({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,D)=>{de(this,nt,Ct).call(this,{type:"failed",failureCount:_,error:D})},onPause:()=>{de(this,nt,Ct).call(this,{type:"pause"})},onContinue:()=>{de(this,nt,Ct).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,ge).canRun(this)}));const n=this.state.status==="pending",r=!S(this,an).canStart();try{if(!n){de(this,nt,Ct).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(l=S(this,ge).config).onMutate)==null?void 0:o.call(l,t,this));const D=await((s=(i=this.options).onMutate)==null?void 0:s.call(i,t));D!==this.state.context&&de(this,nt,Ct).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const _=await S(this,an).start();return await((a=(u=S(this,ge).config).onSuccess)==null?void 0:a.call(u,_,t,this.state.context,this)),await((d=(h=this.options).onSuccess)==null?void 0:d.call(h,_,t,this.state.context)),await((g=(m=S(this,ge).config).onSettled)==null?void 0:g.call(m,_,null,this.state.variables,this.state.context,this)),await((v=(w=this.options).onSettled)==null?void 0:v.call(w,_,null,t,this.state.context)),de(this,nt,Ct).call(this,{type:"success",data:_}),_}catch(_){try{throw await((f=(x=S(this,ge).config).onError)==null?void 0:f.call(x,_,t,this.state.context,this)),await((p=(c=this.options).onError)==null?void 0:p.call(c,_,t,this.state.context)),await((C=(y=S(this,ge).config).onSettled)==null?void 0:C.call(y,void 0,_,this.state.variables,this.state.context,this)),await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,_,t,this.state.context)),_}finally{de(this,nt,Ct).call(this,{type:"error",error:_})}}finally{S(this,ge).runNext(this)}}},tt=new WeakMap,ge=new WeakMap,an=new WeakMap,nt=new WeakSet,Ct=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xe.batch(()=>{S(this,tt).forEach(r=>{r.onMutationUpdate(t)}),S(this,ge).notify({mutation:this,type:"updated",action:t})})},qa);function Ov(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ze,nl,Ya,Lv=(Ya=class extends Io{constructor(t={}){super();$(this,ze);$(this,nl);this.config=t,M(this,ze,new Map),M(this,nl,Date.now())}build(t,n,r){const l=new Tv({mutationCache:this,mutationId:++pl(this,nl)._,options:t.defaultMutationOptions(n),state:r});return this.add(l),l}add(t){const n=Tl(t),r=S(this,ze).get(n)??[];r.push(t),S(this,ze).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Tl(t);if(S(this,ze).has(n)){const l=(r=S(this,ze).get(n))==null?void 0:r.filter(o=>o!==t);l&&(l.length===0?S(this,ze).delete(n):S(this,ze).set(n,l))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=S(this,ze).get(Tl(t)))==null?void 0:r.find(l=>l.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=S(this,ze).get(Tl(t)))==null?void 0:r.find(l=>l!==t&&l.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...S(this,ze).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ma(n,r))}findAll(t={}){return this.getAll().filter(n=>Ma(t,n))}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(We))))}},ze=new WeakMap,nl=new WeakMap,Ya);function Tl(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Da(e){return{onFetch:(t,n)=>{var h,d,m,g,w;const r=t.options,l=(m=(d=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const a=async()=>{let v=!1;const x=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},f=Cf(t.options,t.fetchOptions),c=async(p,y,C)=>{if(v)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const N={queryKey:t.queryKey,pageParam:y,direction:C?"backward":"forward",meta:t.options.meta};x(N);const j=await f(N),{maxPages:_}=t.options,D=C?Sv:xv;return{pages:D(p.pages,j,_),pageParams:D(p.pageParams,y,_)}};if(l&&o.length){const p=l==="backward",y=p?Mv:Aa,C={pages:o,pageParams:i},N=y(r,C);s=await c(C,N,p)}else{const p=e??o.length;do{const y=u===0?i[0]??r.initialPageParam:Aa(r,s);if(u>0&&y==null)break;s=await c(s,y),u++}while(u{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,a,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=a}}}function Aa(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Mv(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var X,Tt,Ot,bn,qn,Lt,Yn,Xn,Xa,Fv=(Xa=class{constructor(e={}){$(this,X);$(this,Tt);$(this,Ot);$(this,bn);$(this,qn);$(this,Lt);$(this,Yn);$(this,Xn);M(this,X,e.queryCache||new jv),M(this,Tt,e.mutationCache||new Lv),M(this,Ot,e.defaultOptions||{}),M(this,bn,new Map),M(this,qn,new Map),M(this,Lt,0)}mount(){pl(this,Lt)._++,S(this,Lt)===1&&(M(this,Yn,Pf.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onFocus())})),M(this,Xn,go.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onOnline())})))}unmount(){var e,t;pl(this,Lt)._--,S(this,Lt)===0&&((e=S(this,Yn))==null||e.call(this),M(this,Yn,void 0),(t=S(this,Xn))==null||t.call(this),M(this,Xn,void 0))}isFetching(e){return S(this,X).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Tt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,X).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Oa(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,X).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),l=S(this,X).get(r.queryHash),o=l==null?void 0:l.state.data,i=hv(t,o);if(i!==void 0)return S(this,X).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>S(this,X).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,X);xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,X),r={type:"active",...e};return xe.batch(()=>(n.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=xe.batch(()=>S(this,X).findAll(e).map(l=>l.cancel(n)));return Promise.all(r).then(We).catch(We)}invalidateQueries(e,t={}){return xe.batch(()=>{if(S(this,X).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>S(this,X).findAll(e).filter(l=>!l.isDisabled()).map(l=>{let o=l.fetch(void 0,n);return n.throwOnError||(o=o.catch(We)),l.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(We)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,X).build(this,t);return n.isStaleByTime(Oa(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(We).catch(We)}fetchInfiniteQuery(e){return e.behavior=Da(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(We).catch(We)}ensureInfiniteQueryData(e){return e.behavior=Da(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return go.isOnline()?S(this,Tt).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,X)}getMutationCache(){return S(this,Tt)}getDefaultOptions(){return S(this,Ot)}setDefaultOptions(e){M(this,Ot,e)}setQueryDefaults(e,t){S(this,bn).set(Jr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,bn).values()],n={};return t.forEach(r=>{el(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,qn).set(Jr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,qn).values()];let n={};return t.forEach(r=>{el(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,Ot).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=au(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===cu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,Ot).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,X).clear(),S(this,Tt).clear()}},X=new WeakMap,Tt=new WeakMap,Ot=new WeakMap,bn=new WeakMap,qn=new WeakMap,Lt=new WeakMap,Yn=new WeakMap,Xn=new WeakMap,Xa),jf=P.createContext(void 0),og=e=>{const t=P.useContext(jf);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Iv=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(jf.Provider,{value:e,children:t}));const Dv=P.createContext(null),hi={didCatch:!1,error:null};let Av=class extends P.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=hi}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,o=new Array(l),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Bv={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"};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $v=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),se=(e,t)=>{const n=P.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:u,...a},h)=>P.createElement("svg",{ref:h,...Bv,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${$v(e)}`,s].join(" "),...a},[...t.map(([d,m])=>P.createElement(d,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qv=se("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Vv=se("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hv=se("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Wv=se("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Kv=se("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Gv=se("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bv=se("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qv=se("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Yv=se("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Xv=se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Zv=se("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Jv=se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ey=se("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ty=se("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ny=se("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ry=se("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ly=se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oy=se("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function iy({error:e}){return E.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:E.jsxs("div",{className:"max-w-md w-full p-6 bg-white/80 backdrop-blur-lg rounded-lg shadow-lg",children:[E.jsx("div",{className:"flex items-center justify-center text-red-500 mb-4",children:E.jsx(Qv,{size:48})}),E.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-4",children:"Something went wrong"}),E.jsx("pre",{className:"text-sm bg-gray-100 p-4 rounded overflow-auto",children:e.message}),E.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 w-full bg-cornflower-blue text-white py-2 px-4 rounded hover:bg-blue-600 transition-colors",children:"Try again"})]})})}function sy({children:e}){return E.jsx(Av,{FallbackComponent:iy,children:e})}function Tf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=dy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const s=i.split(du);return s[0]===""&&s.length!==1&&s.shift(),Of(s,t)||cy(i)},getConflictingClassGroupIds:(i,s)=>{const u=n[i]||[];return s&&r[i]?[...u,...r[i]]:u}}},Of=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Of(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const o=e.join(du);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ua=/^\[(.+)\]$/,cy=e=>{if(Ua.test(e)){const t=Ua.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},dy=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return py(Object.entries(e.classGroups),n).forEach(([o,i])=>{fs(i,r,o,t)}),r},fs=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:Ba(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(fy(l)){fs(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{fs(i,Ba(t,o),n,r)})})},Ba=(e,t)=>{let n=e;return t.split(du).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},fy=e=>e.isThemeGetter,py=(e,t)=>t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[n,l]}):e,hy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}},Lf="!",my=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length,i=s=>{const u=[];let a=0,h=0,d;for(let x=0;xh?d-h:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:i}):i},vy=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},yy=e=>({cache:hy(e.cacheSize),parseClassName:my(e),...ay(e)}),gy=/\s+/,wy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=[],i=e.trim().split(gy);let s="";for(let u=i.length-1;u>=0;u-=1){const a=i[u],{modifiers:h,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:g}=n(a);let w=!!g,v=r(w?m.substring(0,g):m);if(!v){if(!w){s=a+(s.length>0?" "+s:s);continue}if(v=r(m),!v){s=a+(s.length>0?" "+s:s);continue}w=!1}const x=vy(h).join(":"),f=d?x+Lf:x,c=f+v;if(o.includes(c))continue;o.push(c);const p=l(v,w);for(let y=0;y0?" "+s:s)}return s};function xy(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(h),e());return n=yy(a),r=n.cache.get,l=n.cache.set,o=s,s(u)}function s(u){const a=r(u);if(a)return a;const h=wy(u,n);return l(u,h),h}return function(){return o(xy.apply(null,arguments))}}const H=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ff=/^\[(?:([a-z-]+):)?(.+)\]$/i,ky=/^\d+\/\d+$/,Ey=new Set(["px","full","screen"]),Cy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Py=/\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$/,_y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ny=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ry=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,it=e=>Qn(e)||Ey.has(e)||ky.test(e),St=e=>ar(e,"length",Iy),Qn=e=>!!e&&!Number.isNaN(Number(e)),mi=e=>ar(e,"number",Qn),gr=e=>!!e&&Number.isInteger(Number(e)),zy=e=>e.endsWith("%")&&Qn(e.slice(0,-1)),L=e=>Ff.test(e),kt=e=>Cy.test(e),jy=new Set(["length","size","percentage"]),Ty=e=>ar(e,jy,If),Oy=e=>ar(e,"position",If),Ly=new Set(["image","url"]),My=e=>ar(e,Ly,Ay),Fy=e=>ar(e,"",Dy),wr=()=>!0,ar=(e,t,n)=>{const r=Ff.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Iy=e=>Py.test(e)&&!_y.test(e),If=()=>!1,Dy=e=>Ny.test(e),Ay=e=>Ry.test(e),Uy=()=>{const e=H("colors"),t=H("spacing"),n=H("blur"),r=H("brightness"),l=H("borderColor"),o=H("borderRadius"),i=H("borderSpacing"),s=H("borderWidth"),u=H("contrast"),a=H("grayscale"),h=H("hueRotate"),d=H("invert"),m=H("gap"),g=H("gradientColorStops"),w=H("gradientColorStopPositions"),v=H("inset"),x=H("margin"),f=H("opacity"),c=H("padding"),p=H("saturate"),y=H("scale"),C=H("sepia"),N=H("skew"),j=H("space"),_=H("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",L,t],B=()=>[L,t],gt=()=>["",it,St],Xt=()=>["auto",Qn,L],cl=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],wt=()=>["solid","dashed","dotted","double","none"],kn=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",L],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Qn,L];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[it,St],blur:["none","",kt,L],brightness:U(),borderColor:[e],borderRadius:["none","","full",kt,L],borderSpacing:B(),borderWidth:gt(),contrast:U(),grayscale:T(),hueRotate:U(),invert:T(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[zy,St],inset:ye(),margin:ye(),opacity:U(),padding:B(),saturate:U(),scale:U(),sepia:T(),skew:U(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[kt]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...cl(),L]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gr,L]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",gr,L]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",gr,L]},L]}],"col-start":[{"col-start":Xt()}],"col-end":[{"col-end":Xt()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[gr,L]},L]}],"row-start":[{"row-start":Xt()}],"row-end":[{"row-end":Xt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[kt]},kt]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",mi]}],"font-family":[{font:[wr]}],"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",L]}],"line-clamp":[{"line-clamp":["none",Qn,mi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",it,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...wt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",it,St]}],"underline-offset":[{"underline-offset":["auto",it,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],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",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...cl(),Oy]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ty]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},My]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...wt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:wt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...wt()]}],"outline-offset":[{"outline-offset":[it,L]}],"outline-w":[{outline:[it,St]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[it,St]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kt,Fy]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...kn(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":kn()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",kt,L]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[d]}],saturate:[{saturate:[p]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[gr,L]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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"]}],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",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[it,St,mi]}],stroke:[{stroke:[e,"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"]}}},By=Sy(Uy);function $a(...e){return By(uy(e))}function sg(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function ug(e){return`${e} Mbps`}const Qa=[{name:"Home",href:"/",icon:qv},{name:"About",href:"/about",icon:Xv},{name:"Features",href:"/features",icon:ny},{name:"Gallery",href:"/gallery",icon:Yv},{name:"Download",href:"/download",icon:Wv},{name:"Developers",href:"/developers",icon:Hv},{name:"Donate",href:"/donate",icon:Gv}];function $y(){return E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:"32",height:"32",children:[E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}function Qy(){const[e,t]=P.useState(!1),n=al();return E.jsxs("nav",{className:"fixed w-full z-50 bg-white/80 backdrop-blur-lg border-b border-gray-200",children:[E.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:E.jsxs("div",{className:"flex justify-between h-16",children:[E.jsx("div",{className:"flex",children:E.jsxs(Lr,{to:"/",className:"flex-shrink-0 flex items-center",children:[E.jsx($y,{}),E.jsx("span",{className:"ml-2 text-xl font-bold text-cornflower-blue",children:"Snigdha OS"})]})}),E.jsx("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:Qa.map(r=>E.jsxs(Lr,{to:r.href,className:$a("px-3 py-2 rounded-md text-sm font-medium transition-colors flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue":"text-gray-600 hover:text-cornflower-blue"),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))}),E.jsx("div",{className:"flex items-center sm:hidden",children:E.jsx("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100",children:e?E.jsx(ly,{className:"h-6 w-6"}):E.jsx(Jv,{className:"h-6 w-6"})})})]})}),e&&E.jsx("div",{className:"sm:hidden bg-white/90 backdrop-blur-lg",children:E.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:Qa.map(r=>E.jsxs(Lr,{to:r.href,className:$a("block px-3 py-2 rounded-md text-base font-medium flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue bg-blue-50":"text-gray-600 hover:text-cornflower-blue hover:bg-blue-50"),onClick:()=>t(!1),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))})})]})}const Ol={main:[{name:"Gallery",href:"/gallery"},{name:"Developers",href:"/developers"},{name:"Donate",href:"/donate"}],resources:[{name:"Documentation",href:"/docs",icon:Vv},{name:"Blog",href:"/blog",icon:ty},{name:"Support",href:"/support",icon:bv}],community:[{name:"Community",href:"/community",icon:ey},{name:"GitHub",href:"https://github.com/Snigdha-OS",icon:Kv},{name:"Twitter",href:"https://twitter.com/SnigdhaOS",icon:ry},{name:"YouTube",href:"https://youtube.com",icon:oy}]};function Vy(){const e=new Date().getFullYear();return E.jsx("footer",{className:"bg-gray-900 text-gray-300",children:E.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[E.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[E.jsxs("div",{className:"space-y-4",children:[E.jsx("h3",{className:"text-lg font-semibold text-white",children:"Snigdha OS"}),E.jsx("p",{className:"text-sm",children:"The most advanced penetration testing distribution, designed for security professionals and enthusiasts."}),E.jsx("div",{className:"flex space-x-4",children:Ol.community.map(t=>E.jsx("a",{href:t.href,className:"hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:E.jsx(t.icon,{className:"h-5 w-5"})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Navigation"}),E.jsx("ul",{className:"space-y-3",children:Ol.main.map(t=>E.jsx("li",{children:E.jsx(Lr,{to:t.href,className:"hover:text-white transition-colors",children:t.name})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Resources"}),E.jsx("ul",{className:"space-y-3",children:Ol.resources.map(t=>E.jsx("li",{children:E.jsxs(Lr,{to:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Community"}),E.jsx("ul",{className:"space-y-3",children:Ol.community.map(t=>E.jsx("li",{children:E.jsxs("a",{href:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]})]}),E.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-800 text-sm text-center",children:[E.jsxs("p",{children:["© ",e," Snigdha OS - All rights reserved. Powered by ",E.jsx("b",{className:"text-cornflower-blue",children:"Tonmoy Infrastructure™"})]}),E.jsxs("p",{children:["Developed with ❤️ by ",E.jsx("b",{className:"text-cornflower-blue",children:E.jsx("u",{children:"Snigdha OS Open Source Team."})})]})]})]})})}const Hy="modulepreload",Wy=function(e){return"/"+e},Va={},Sn=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(u=>{if(u=Wy(u),u in Va)return;Va[u]=!0;const a=u.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Hy,a||(d.as="script"),d.crossOrigin="",d.href=u,s&&d.setAttribute("nonce",s),document.head.appendChild(d),a)return new Promise((m,g)=>{d.addEventListener("load",m),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return l.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},Ky=P.lazy(()=>Sn(()=>import("./Home-PN7sgWRx.js"),__vite__mapDeps([0,1,2,3,4,5]))),Gy=P.lazy(()=>Sn(()=>import("./About-BbOXPysR.js"),__vite__mapDeps([6,1,2]))),by=P.lazy(()=>Sn(()=>import("./Features-y1g6XDv8.js"),__vite__mapDeps([7,1,5]))),qy=P.lazy(()=>Sn(()=>import("./Download-Dq3W82kL.js"),__vite__mapDeps([8,1,9,4,10]))),Yy=P.lazy(()=>Sn(()=>import("./Developers-CPCC0tb7.js"),__vite__mapDeps([11,1,10,2,3]))),Xy=P.lazy(()=>Sn(()=>import("./Donate-07cw8SQI.js"),__vite__mapDeps([12,1,9,2,3]))),Zy=P.lazy(()=>Sn(()=>import("./Gallery-gbDQluKU.js"),__vite__mapDeps([13,1])));function Jy(){return E.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:E.jsx(Zv,{className:"h-8 w-8 animate-spin text-cornflower-blue"})})}function eg(){return E.jsx(P.Suspense,{fallback:E.jsx(Jy,{}),children:E.jsxs(rv,{children:[E.jsx(Et,{path:"/",element:E.jsx(Ky,{})}),E.jsx(Et,{path:"/about",element:E.jsx(Gy,{})}),E.jsx(Et,{path:"/features",element:E.jsx(by,{})}),E.jsx(Et,{path:"/download",element:E.jsx(qy,{})}),E.jsx(Et,{path:"/developers",element:E.jsx(Yy,{})}),E.jsx(Et,{path:"/donate",element:E.jsx(Xy,{})}),E.jsx(Et,{path:"/gallery",element:E.jsx(Zy,{})})]})})}const tg=new Fv({defaultOptions:{queries:{staleTime:1e3*60*5,retry:1}}});function ng(){return E.jsx(sy,{children:E.jsx(Iv,{client:tg,children:E.jsx(cv,{children:E.jsxs("div",{className:"min-h-screen bg-gray-50 font-fira-sans flex flex-col",children:[E.jsx(Qy,{}),E.jsx("main",{className:"flex-grow pt-16",children:E.jsx(eg,{})}),E.jsx(Vy,{})]})})})})}df(document.getElementById("root")).render(E.jsx(P.StrictMode,{children:E.jsx(ng,{})}));export{Vv as B,Wv as D,Kv as G,Gv as H,Lr as L,Io as S,Zv as a,yv as b,se as c,Oa as d,mv as e,ug as f,Pf as g,Rv as h,Do as i,E as j,wv as k,xe as l,Ef as m,We as n,sg as o,Cv as p,P as r,lg as s,vv as t,og as u}; diff --git a/assets/index-B4BwWmC3.js b/assets/index-B4BwWmC3.js deleted file mode 100644 index 1da5ff0e..00000000 --- a/assets/index-B4BwWmC3.js +++ /dev/null @@ -1,168 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-ChZjRxmS.js","assets/proxy-CHulYgJl.js","assets/users-BOW1lTIL.js","assets/star-DzIyx3kc.js","assets/wifi-C9VN6tsR.js","assets/terminal-DTwyG7sl.js","assets/About-BQwefMhx.js","assets/Features-BRGLcvTL.js","assets/Download-toYmCdKl.js","assets/check-B_FwKd5J.js","assets/map-pin-DneReaiS.js","assets/Developers-DxHmw69S.js","assets/Donate-CpWzDHRz.js","assets/Gallery-C36aDy0V.js"])))=>i.map(i=>d[i]); -var hu=e=>{throw TypeError(e)};var $o=(e,t,n)=>t.has(e)||hu("Cannot "+n);var S=(e,t,n)=>($o(e,t,"read from private field"),n?n.call(e):t.get(e)),$=(e,t,n)=>t.has(e)?hu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),M=(e,t,n,r)=>($o(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),de=(e,t,n)=>($o(e,t,"access private method"),n);var hl=(e,t,n,r)=>({set _(l){M(e,t,l,n)},get _(){return S(e,t,r)}});function Bf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function $f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ja={exports:{}},So={},ec={exports:{}},I={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ll=Symbol.for("react.element"),Qf=Symbol.for("react.portal"),Vf=Symbol.for("react.fragment"),Hf=Symbol.for("react.strict_mode"),Wf=Symbol.for("react.profiler"),Kf=Symbol.for("react.provider"),Gf=Symbol.for("react.context"),bf=Symbol.for("react.forward_ref"),qf=Symbol.for("react.suspense"),Yf=Symbol.for("react.memo"),Xf=Symbol.for("react.lazy"),mu=Symbol.iterator;function Zf(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var tc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nc=Object.assign,rc={};function ir(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lc(){}lc.prototype=ir.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}var ms=hs.prototype=new lc;ms.constructor=hs;nc(ms,ir.prototype);ms.isPureReactComponent=!0;var vu=Array.isArray,oc=Object.prototype.hasOwnProperty,vs={current:null},ic={key:!0,ref:!0,__self:!0,__source:!0};function sc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)oc.call(t,r)&&!ic.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,le=R[U];if(0>>1;Ul(Bo,O))Jtl(pl,Bo)?(R[U]=pl,R[Jt]=O,U=Jt):(R[U]=Bo,R[Zt]=O,U=Zt);else if(Jtl(pl,O))R[U]=pl,R[Jt]=O,U=Jt;else break e}}return T}function l(R,T){var O=R.sortIndex-T.sortIndex;return O!==0?O:R.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],a=[],h=1,d=null,m=3,g=!1,w=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(R){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=R)r(a),T.sortIndex=T.expirationTime,t(u,T);else break;T=n(a)}}function y(R){if(v=!1,p(R),!w)if(n(u)!==null)w=!0,wt(P);else{var T=n(a);T!==null&&En(y,T.startTime-R)}}function P(R,T){w=!1,v&&(v=!1,f(_),_=-1),g=!0;var O=m;try{for(p(T),d=n(u);d!==null&&(!(d.expirationTime>T)||R&&!ye());){var U=d.callback;if(typeof U=="function"){d.callback=null,m=d.priorityLevel;var le=U(d.expirationTime<=T);T=e.unstable_now(),typeof le=="function"?d.callback=le:d===n(u)&&r(u),p(T)}else r(u);d=n(u)}if(d!==null)var fl=!0;else{var Zt=n(a);Zt!==null&&En(y,Zt.startTime-T),fl=!1}return fl}finally{d=null,m=O,g=!1}}var N=!1,j=null,_=-1,D=5,F=-1;function ye(){return!(e.unstable_now()-FR||125U?(R.sortIndex=O,t(a,R),n(u)===null&&R===n(a)&&(v?(f(_),_=-1):v=!0,En(y,O-U))):(R.sortIndex=le,t(u,R),w||g||(w=!0,wt(P))),R},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(R){var T=m;return function(){var O=m;m=T;try{return R.apply(this,arguments)}finally{m=O}}}})(fc);dc.exports=fc;var dp=dc.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fp=C,Le=dp;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gi=Object.prototype.hasOwnProperty,pp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,gu={},wu={};function hp(e){return gi.call(wu,e)?!0:gi.call(gu,e)?!1:pp.test(e)?wu[e]=!0:(gu[e]=!0,!1)}function mp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function vp(e,t,n,r){if(t===null||typeof t>"u"||mp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ce[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var gs=/[\-:]([a-z])/g;function ws(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(gs,ws);ce[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(gs,ws);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(gs,ws);ce[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function xs(e,t,n,r){var l=ce.hasOwnProperty(t)?ce[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` -`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Ho=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function yp(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Wo(e.type,!1),e;case 11:return e=Wo(e.type.render,!1),e;case 1:return e=Wo(e.type,!0),e;default:return""}}function ki(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _n:return"Fragment";case Pn:return"Portal";case wi:return"Profiler";case Ss:return"StrictMode";case xi:return"Suspense";case Si:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mc:return(e.displayName||"Context")+".Consumer";case hc:return(e._context.displayName||"Context")+".Provider";case ks:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:ki(e.type)||"Memo";case Pt:t=e._payload,e=e._init;try{return ki(e(t))}catch{}}return null}function gp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ki(t);case 8:return t===Ss?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wp(e){var t=yc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yl(e){e._valueTracker||(e._valueTracker=wp(e))}function gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ei(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Su(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function wc(e,t){t=t.checked,t!=null&&xs(e,"checked",t,!1)}function Ci(e,t){wc(e,t);var n=Kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pi(e,t.type,Kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ku(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Pi(e,t,n){(t!=="number"||Kl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sr=Array.isArray;function Dn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=gl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Cr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xp=["Webkit","ms","Moz","O"];Object.keys(Cr).forEach(function(e){xp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Cr[t]=Cr[e]})});function Ec(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Cr.hasOwnProperty(e)&&Cr[e]?(""+t).trim():t+"px"}function Cc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ec(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Sp=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ri(e,t){if(t){if(Sp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function zi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ji=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ti=null,An=null,Un=null;function Pu(e){if(e=sl(e)){if(typeof Ti!="function")throw Error(k(280));var t=e.stateNode;t&&(t=_o(t),Ti(e.stateNode,e.type,t))}}function Pc(e){An?Un?Un.push(e):Un=[e]:An=e}function _c(){if(An){var e=An,t=Un;if(Un=An=null,Pu(e),t)for(e=0;e>>=0,e===0?32:31-(Op(e)/Lp|0)|0}var wl=64,xl=4194304;function kr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=kr(s):(o&=i,o!==0&&(r=kr(o)))}else i=n&~l,i!==0?r=kr(i):o!==0&&(r=kr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ol(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Dp(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_r),Mu=" ",Fu=!1;function Kc(e,t){switch(e){case"keyup":return dh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function ph(e,t){switch(e){case"compositionend":return Gc(t);case"keypress":return t.which!==32?null:(Fu=!0,Mu);case"textInput":return e=t.data,e===Mu&&Fu?null:e;default:return null}}function hh(e,t){if(Nn)return e==="compositionend"||!Os&&Kc(e,t)?(e=Hc(),Dl=zs=Mt=null,Nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Uu(n)}}function Xc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Zc(){for(var e=window,t=Kl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kl(e.document)}return t}function Ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Eh(e){var t=Zc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xc(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Bu(n,o);var i=Bu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Rn=null,Di=null,Rr=null,Ai=!1;function $u(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ai||Rn==null||Rn!==Kl(r)||(r=Rn,"selectionStart"in r&&Ls(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&$r(Rr,r)||(Rr=r,r=Jl(Di,"onSelect"),0Tn||(e.current=Hi[Tn],Hi[Tn]=null,Tn--)}function V(e,t){Tn++,Hi[Tn]=e.current,e.current=t}var Gt={},ve=qt(Gt),_e=qt(!1),fn=Gt;function er(e,t){var n=e.type.contextTypes;if(!n)return Gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ne(e){return e=e.childContextTypes,e!=null}function to(){K(_e),K(ve)}function bu(e,t,n){if(ve.current!==Gt)throw Error(k(168));V(ve,t),V(_e,n)}function sd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(k(108,gp(e)||"Unknown",l));return Y({},n,r)}function no(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,fn=ve.current,V(ve,e),V(_e,_e.current),!0}function qu(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=sd(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,K(_e),K(ve),V(ve,e)):K(_e),V(_e,n)}var at=null,No=!1,oi=!1;function ud(e){at===null?at=[e]:at.push(e)}function Fh(e){No=!0,ud(e)}function Yt(){if(!oi&&at!==null){oi=!0;var e=0,t=Q;try{var n=at;for(Q=1;e>=i,l-=i,ct=1<<32-qe(t)+l|n<_?(D=j,j=null):D=j.sibling;var F=m(f,j,p[_],y);if(F===null){j===null&&(j=D);break}e&&j&&F.alternate===null&&t(f,j),c=o(F,c,_),N===null?P=F:N.sibling=F,N=F,j=D}if(_===p.length)return n(f,j),G&&en(f,_),P;if(j===null){for(;__?(D=j,j=null):D=j.sibling;var ye=m(f,j,F.value,y);if(ye===null){j===null&&(j=D);break}e&&j&&ye.alternate===null&&t(f,j),c=o(ye,c,_),N===null?P=ye:N.sibling=ye,N=ye,j=D}if(F.done)return n(f,j),G&&en(f,_),P;if(j===null){for(;!F.done;_++,F=p.next())F=d(f,F.value,y),F!==null&&(c=o(F,c,_),N===null?P=F:N.sibling=F,N=F);return G&&en(f,_),P}for(j=r(f,j);!F.done;_++,F=p.next())F=g(j,f,_,F.value,y),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?_:F.key),c=o(F,c,_),N===null?P=F:N.sibling=F,N=F);return e&&j.forEach(function(B){return t(f,B)}),G&&en(f,_),P}function x(f,c,p,y){if(typeof p=="object"&&p!==null&&p.type===_n&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case vl:e:{for(var P=p.key,N=c;N!==null;){if(N.key===P){if(P=p.type,P===_n){if(N.tag===7){n(f,N.sibling),c=l(N,p.props.children),c.return=f,f=c;break e}}else if(N.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Pt&&Zu(P)===N.type){n(f,N.sibling),c=l(N,p.props),c.ref=mr(f,N,p),c.return=f,f=c;break e}n(f,N);break}else t(f,N);N=N.sibling}p.type===_n?(c=dn(p.props.children,f.mode,y,p.key),c.return=f,f=c):(y=Wl(p.type,p.key,p.props,null,f.mode,y),y.ref=mr(f,c,p),y.return=f,f=y)}return i(f);case Pn:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=pi(p,f.mode,y),c.return=f,f=c}return i(f);case Pt:return N=p._init,x(f,c,N(p._payload),y)}if(Sr(p))return w(f,c,p,y);if(cr(p))return v(f,c,p,y);Nl(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=fi(p,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return x}var nr=fd(!0),pd=fd(!1),oo=qt(null),io=null,Mn=null,Ds=null;function As(){Ds=Mn=io=null}function Us(e){var t=oo.current;K(oo),e._currentValue=t}function Gi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){io=e,Ds=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(Ds!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(io===null)throw Error(k(308));Mn=e,io.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var rn=null;function Bs(e){rn===null?rn=[e]:rn.push(e)}function hd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Bs(t)):(n.next=l.next,l.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _t=!1;function $s(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function md(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,mt(e,n)}return l=r.interleaved,l===null?(t.next=t,Bs(r)):(t.next=l.next,l.next=t),r.interleaved=t,mt(e,n)}function Ul(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_s(e,n)}}function Ju(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function so(e,t,n,r){var l=e.updateQueue;_t=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,a=u.next;u.next=null,i===null?o=a:i.next=a,i=u;var h=e.alternate;h!==null&&(h=h.updateQueue,s=h.lastBaseUpdate,s!==i&&(s===null?h.firstBaseUpdate=a:s.next=a,h.lastBaseUpdate=u))}if(o!==null){var d=l.baseState;i=0,h=a=u=null,s=o;do{var m=s.lane,g=s.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(m=t,g=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){d=w.call(g,d,m);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,m=typeof w=="function"?w.call(g,d,m):w,m==null)break e;d=Y({},d,m);break e;case 2:_t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else g={eventTime:g,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},h===null?(a=h=g,u=d):h=h.next=g,i|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(u=d),l.baseState=u,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);mn|=i,e.lanes=i,e.memoizedState=d}}function ea(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=si.transition;si.transition={};try{e(!1),t()}finally{Q=n,si.transition=r}}function Od(){return Qe().memoizedState}function Uh(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ld(e))Md(t,n);else if(n=hd(e,t,n,r),n!==null){var l=Se();Ye(n,e,r,l),Fd(n,t,r)}}function Bh(e,t,n){var r=Vt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ld(e))Md(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Xe(s,i)){var u=t.interleaved;u===null?(l.next=l,Bs(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=hd(e,t,l,r),n!==null&&(l=Se(),Ye(n,e,r,l),Fd(n,t,r))}}function Ld(e){var t=e.alternate;return e===q||t!==null&&t===q}function Md(e,t){zr=ao=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_s(e,n)}}var co={readContext:$e,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},$h={readContext:$e,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$l(4194308,4,Nd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $l(4194308,4,e,t)},useInsertionEffect:function(e,t){return $l(4,2,e,t)},useMemo:function(e,t){var n=Je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Je();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Uh.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:ta,useDebugValue:qs,useDeferredValue:function(e){return Je().memoizedState=e},useTransition:function(){var e=ta(!1),t=e[0];return e=Ah.bind(null,e[1]),Je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,l=Je();if(G){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ie===null)throw Error(k(349));hn&30||wd(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,na(Sd.bind(null,r,o,e),[e]),r.flags|=2048,qr(9,xd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Je(),t=ie.identifierPrefix;if(G){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rt]=t,e[Hr]=r,Wd(e,t,!1,!1),t.stateNode=e;e:{switch(i=zi(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;lor&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=uo(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!G)return pe(t),null}else 2*J()-o.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=J(),t.sibling=null,n=b.current,V(b,r?n&1|2:n&1),t):(pe(t),null);case 22:case 23:return tu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function qh(e,t){switch(Fs(t),t.tag){case 1:return Ne(t.type)&&to(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rr(),K(_e),K(ve),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vs(t),null;case 13:if(K(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(b),null;case 4:return rr(),null;case 10:return Us(t.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var zl=!1,me=!1,Yh=typeof WeakSet=="function"?WeakSet:Set,z=null;function Fn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Z(e,t,r)}else n.current=null}function ns(e,t,n){try{n()}catch(r){Z(e,t,r)}}var pa=!1;function Xh(e,t){if(Ui=Xl,e=Zc(),Ls(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,a=0,h=0,d=e,m=null;t:for(;;){for(var g;d!==n||l!==0&&d.nodeType!==3||(s=i+l),d!==o||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)m=d,d=g;for(;;){if(d===e)break t;if(m===n&&++a===l&&(s=i),m===o&&++h===r&&(u=i),(g=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bi={focusedElem:e,selectionRange:n},Xl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,x=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:He(t.type,v),x);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){Z(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return w=pa,pa=!1,w}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ns(t,n,o)}l=l.next}while(l!==r)}}function jo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function rs(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function bd(e){var t=e.alternate;t!==null&&(e.alternate=null,bd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Hr],delete t[Vi],delete t[Lh],delete t[Mh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qd(e){return e.tag===5||e.tag===3||e.tag===4}function ha(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=eo));else if(r!==4&&(e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function os(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(os(e,t,n),e=e.sibling;e!==null;)os(e,t,n),e=e.sibling}var ue=null,Ge=!1;function xt(e,t,n){for(n=n.child;n!==null;)Yd(e,t,n),n=n.sibling}function Yd(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(ko,n)}catch{}switch(n.tag){case 5:me||Fn(n,t);case 6:var r=ue,l=Ge;ue=null,xt(e,t,n),ue=r,Ge=l,ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(Ge?(e=ue,n=n.stateNode,e.nodeType===8?li(e.parentNode,n):e.nodeType===1&&li(e,n),Ur(e)):li(ue,n.stateNode));break;case 4:r=ue,l=Ge,ue=n.stateNode.containerInfo,Ge=!0,xt(e,t,n),ue=r,Ge=l;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ns(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!me&&(Fn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Z(n,t,s)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,xt(e,t,n),me=r):xt(e,t,n);break;default:xt(e,t,n)}}function ma(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yh),t.forEach(function(r){var l=im.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ve(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jh(r/1960))-r,10e?16:e,Ft===null)var r=!1;else{if(e=Ft,Ft=null,ho=0,A&6)throw Error(k(331));var l=A;for(A|=4,z=e.current;z!==null;){var o=z,i=o.child;if(z.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uJ()-Js?cn(e,0):Zs|=n),Re(e,t)}function lf(e,t){t===0&&(e.mode&1?(t=xl,xl<<=1,!(xl&130023424)&&(xl=4194304)):t=1);var n=Se();e=mt(e,t),e!==null&&(ol(e,t,n),Re(e,n))}function om(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lf(e,n)}function im(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),lf(e,n)}var of;of=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,Gh(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,G&&t.flags&1048576&&ad(t,lo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ql(e,t),e=t.pendingProps;var l=er(t,ve.current);$n(t,n),l=Ks(null,t,r,e,l,n);var o=Gs();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ne(r)?(o=!0,no(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,$s(t),l.updater=zo,t.stateNode=l,l._reactInternals=t,qi(t,r,e,n),t=Zi(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Ms(t),we(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ql(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=um(r),e=He(r,e),l){case 0:t=Xi(null,t,r,e,n);break e;case 1:t=ca(null,t,r,e,n);break e;case 11:t=ua(null,t,r,e,n);break e;case 14:t=aa(null,t,r,He(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),Xi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ca(e,t,r,l,n);case 3:e:{if(Qd(t),e===null)throw Error(k(387));r=t.pendingProps,o=t.memoizedState,l=o.element,md(e,t),so(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=lr(Error(k(423)),t),t=da(e,t,r,n,l);break e}else if(r!==l){l=lr(Error(k(424)),t),t=da(e,t,r,n,l);break e}else for(Te=Bt(t.stateNode.containerInfo.firstChild),Oe=t,G=!0,be=null,n=pd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tr(),r===l){t=vt(e,t,n);break e}we(e,t,r,n)}t=t.child}return t;case 5:return vd(t),e===null&&Ki(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,$i(r,l)?i=null:o!==null&&$i(r,o)&&(t.flags|=32),$d(e,t),we(e,t,i,n),t.child;case 6:return e===null&&Ki(t),null;case 13:return Vd(e,t,n);case 4:return Qs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nr(t,null,r,n):we(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),ua(e,t,r,l,n);case 7:return we(e,t,t.pendingProps,n),t.child;case 8:return we(e,t,t.pendingProps.children,n),t.child;case 12:return we(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,V(oo,r._currentValue),r._currentValue=i,o!==null)if(Xe(o.value,i)){if(o.children===l.children&&!_e.current){t=vt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=ft(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?u.next=u:(u.next=h.next,h.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Gi(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(k(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Gi(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}we(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,$n(t,n),l=$e(l),r=r(l),t.flags|=1,we(e,t,r,n),t.child;case 14:return r=t.type,l=He(r,t.pendingProps),l=He(r.type,l),aa(e,t,r,l,n);case 15:return Ud(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:He(r,l),Ql(e,t),t.tag=1,Ne(r)?(e=!0,no(t)):e=!1,$n(t,n),Id(t,r,l),qi(t,r,l,n),Zi(null,t,r,!0,e,n);case 19:return Hd(e,t,n);case 22:return Bd(e,t,n)}throw Error(k(156,t.tag))};function sf(e,t){return Lc(e,t)}function sm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new sm(e,t,n,r)}function ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function um(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ks)return 11;if(e===Es)return 14}return 2}function Ht(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")ru(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case _n:return dn(n.children,l,o,t);case Ss:i=8,l|=8;break;case wi:return e=Ue(12,n,t,l|2),e.elementType=wi,e.lanes=o,e;case xi:return e=Ue(13,n,t,l),e.elementType=xi,e.lanes=o,e;case Si:return e=Ue(19,n,t,l),e.elementType=Si,e.lanes=o,e;case vc:return Oo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hc:i=10;break e;case mc:i=9;break e;case ks:i=11;break e;case Es:i=14;break e;case Pt:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Ue(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function dn(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function Oo(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=vc,e.lanes=n,e.stateNode={isHidden:!1},e}function fi(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function pi(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function am(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Go(0),this.expirationTimes=Go(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Go(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function lu(e,t,n,r,l,o,i,s,u){return e=new am(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$s(o),e}function cm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(df)}catch(e){console.error(e)}}df(),cc.exports=Me;var mm=cc.exports,ff,Ea=mm;ff=Ea.createRoot,Ea.hydrateRoot;/** - * @remix-run/router v1.21.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function uu(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gm(){return Math.random().toString(36).substr(2,8)}function Pa(e,t){return{usr:e.state,key:e.key,idx:t}}function yo(e,t,n,r){return n===void 0&&(n=null),Xr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wn(t):t,{state:n,key:t&&t.key||r||gm()})}function Zr(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function pf(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=It.Pop,u=null,a=h();a==null&&(a=0,i.replaceState(Xr({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function d(){s=It.Pop;let x=h(),f=x==null?null:x-a;a=x,u&&u({action:s,location:v.location,delta:f})}function m(x,f){s=It.Push;let c=yo(v.location,x,f);n&&n(c,x),a=h()+1;let p=Pa(c,a),y=v.createHref(c);try{i.pushState(p,"",y)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;l.location.assign(y)}o&&u&&u({action:s,location:v.location,delta:1})}function g(x,f){s=It.Replace;let c=yo(v.location,x,f);n&&n(c,x),a=h();let p=Pa(c,a),y=v.createHref(c);i.replaceState(p,"",y),o&&u&&u({action:s,location:v.location,delta:0})}function w(x){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof x=="string"?x:Zr(x);return c=c.replace(/ $/,"%20"),te(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let v={get action(){return s},get location(){return e(l,i)},listen(x){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Ca,d),u=x,()=>{l.removeEventListener(Ca,d),u=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let f=w(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:g,go(x){return i.go(x)}};return v}var _a;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_a||(_a={}));function wm(e,t,n){return n===void 0&&(n="/"),xm(e,t,n,!1)}function xm(e,t,n,r){let l=typeof t=="string"?wn(t):t,o=au(l.pathname||"/",n);if(o==null)return null;let i=hf(e);Sm(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(te(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let a=Wt([r,u.relativePath]),h=n.concat(u);o.children&&o.children.length>0&&(te(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),hf(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Rm(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let u of mf(o.path))l(o,i,u)}),t}function mf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=mf(r.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Sm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:zm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const km=/^:[\w-]+$/,Em=3,Cm=2,Pm=1,_m=10,Nm=-2,Na=e=>e==="*";function Rm(e,t){let n=e.split("/"),r=n.length;return n.some(Na)&&(r+=Nm),t&&(r+=Cm),n.filter(l=>!Na(l)).reduce((l,o)=>l+(km.test(o)?Em:o===""?Pm:_m),r)}function zm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function jm(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:m,isOptional:g}=h;if(m==="*"){let v=s[d]||"";i=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const w=s[d];return g&&!w?a[m]=void 0:a[m]=(w||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Tm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),uu(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Om(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return uu(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function au(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Lm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?wn(e):e;return{pathname:n?n.startsWith("/")?n:Mm(n,t):t,search:Dm(r),hash:Am(l)}}function Mm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function hi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Fm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function vf(e,t){let n=Fm(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function yf(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=wn(e):(l=Xr({},e),te(!l.pathname||!l.pathname.includes("?"),hi("?","pathname","search",l)),te(!l.pathname||!l.pathname.includes("#"),hi("#","pathname","hash",l)),te(!l.search||!l.search.includes("#"),hi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,s;if(i==null)s=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;l.pathname=m.join("/")}s=d>=0?t[d]:"/"}let u=Lm(l,s),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(a||h)&&(u.pathname+="/"),u}const Wt=e=>e.join("/").replace(/\/\/+/g,"/"),Im=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Dm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Am=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Um(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gf=["post","put","patch","delete"];new Set(gf);const Bm=["get",...gf];new Set(Bm);/** - * React Router v6.28.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),C.useCallback(function(a,h){if(h===void 0&&(h={}),!s.current)return;if(typeof a=="number"){r.go(a);return}let d=yf(a,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Wt([t,d.pathname])),(h.replace?r.replace:r.push)(d,h.state,h)},[t,r,i,o,e])}function Sf(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=C.useContext(xn),{matches:l}=C.useContext(Sn),{pathname:o}=cl(),i=JSON.stringify(vf(l,r.v7_relativeSplatPath));return C.useMemo(()=>yf(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Wm(e,t){return Km(e,t)}function Km(e,t,n,r){al()||te(!1);let{navigator:l}=C.useContext(xn),{matches:o}=C.useContext(Sn),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let a=cl(),h;if(t){var d;let x=typeof t=="string"?wn(t):t;u==="/"||(d=x.pathname)!=null&&d.startsWith(u)||te(!1),h=x}else h=a;let m=h.pathname||"/",g=m;if(u!=="/"){let x=u.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=wm(e,{pathname:g}),v=Xm(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:Wt([u,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:Wt([u,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&v?C.createElement(Do.Provider,{value:{location:Jr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:It.Pop}},v):v}function Gm(){let e=tv(),t=Um(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:l},n):null,null)}const bm=C.createElement(Gm,null);class qm extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?C.createElement(Sn.Provider,{value:this.props.routeContext},C.createElement(wf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ym(e){let{routeContext:t,match:n,children:r}=e,l=C.useContext(cu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Sn.Provider,{value:t},r)}function Xm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let h=i.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);h>=0||te(!1),i=i.slice(0,Math.min(i.length,h+1))}let u=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((h,d,m)=>{let g,w=!1,v=null,x=null;n&&(g=s&&d.route.id?s[d.route.id]:void 0,v=d.route.errorElement||bm,u&&(a<0&&m===0?(w=!0,x=null):a===m&&(w=!0,x=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let p;return g?p=v:w?p=x:d.route.Component?p=C.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=h,C.createElement(Ym,{match:d,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?C.createElement(qm,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var kf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kf||{}),go=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(go||{});function Zm(e){let t=C.useContext(cu);return t||te(!1),t}function Jm(e){let t=C.useContext($m);return t||te(!1),t}function ev(e){let t=C.useContext(Sn);return t||te(!1),t}function Ef(e){let t=ev(),n=t.matches[t.matches.length-1];return n.route.id||te(!1),n.route.id}function tv(){var e;let t=C.useContext(wf),n=Jm(go.UseRouteError),r=Ef(go.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nv(){let{router:e}=Zm(kf.UseNavigateStable),t=Ef(go.UseNavigateStable),n=C.useRef(!1);return xf(()=>{n.current=!0}),C.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Jr({fromRouteId:t},o)))},[e,t])}const za={};function rv(e,t){za[t]||(za[t]=!0,console.warn(t))}const ja=(e,t,n)=>rv(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function Cf(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&ja("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&!t&&ja("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Et(e){te(!1)}function Pf(e){let{basename:t="/",children:n=null,location:r,navigationType:l=It.Pop,navigator:o,static:i=!1,future:s}=e;al()&&te(!1);let u=t.replace(/^\/*/,"/"),a=C.useMemo(()=>({basename:u,navigator:o,static:i,future:Jr({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof r=="string"&&(r=wn(r));let{pathname:h="/",search:d="",hash:m="",state:g=null,key:w="default"}=r,v=C.useMemo(()=>{let x=au(h,u);return x==null?null:{location:{pathname:x,search:d,hash:m,state:g,key:w},navigationType:l}},[u,h,d,m,g,w,l]);return v==null?null:C.createElement(xn.Provider,{value:a},C.createElement(Do.Provider,{children:n,value:v}))}function lv(e){let{children:t,location:n}=e;return Wm(cs(t),n)}new Promise(()=>{});function cs(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,l)=>{if(!C.isValidElement(r))return;let o=[...t,l];if(r.type===C.Fragment){n.push.apply(n,cs(r.props.children,o));return}r.type!==Et&&te(!1),!r.props.index||!r.props.children||te(!1);let i={id:r.props.id||o.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&&(i.children=cs(r.props.children,o)),n.push(i)}),n}/** - * React Router DOM v6.28.1 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ds(){return ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function iv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function sv(e,t){return e.button===0&&(!t||t==="_self")&&!iv(e)}const uv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],av="6";try{window.__reactRouterVersion=av}catch{}const cv="startTransition",wo=lp[cv];function dv(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=vm({window:l,v5Compat:!0}));let i=o.current,[s,u]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=C.useCallback(d=>{a&&wo?wo(()=>u(d)):u(d)},[u,a]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.useEffect(()=>Cf(r),[r]),C.createElement(Pf,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}function fv(e){let{basename:t,children:n,future:r,window:l}=e,o=C.useRef();o.current==null&&(o.current=ym({window:l,v5Compat:!0}));let i=o.current,[s,u]=C.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=C.useCallback(d=>{a&&wo?wo(()=>u(d)):u(d)},[u,a]);return C.useLayoutEffect(()=>i.listen(h),[i,h]),C.useEffect(()=>Cf(r),[r]),C.createElement(Pf,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const pv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lr=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:s,target:u,to:a,preventScrollReset:h,viewTransition:d}=t,m=ov(t,uv),{basename:g}=C.useContext(xn),w,v=!1;if(typeof a=="string"&&hv.test(a)&&(w=a,pv))try{let p=new URL(window.location.href),y=a.startsWith("//")?new URL(p.protocol+a):new URL(a),P=au(y.pathname,g);y.origin===p.origin&&P!=null?a=P+y.search+y.hash:v=!0}catch{}let x=Qm(a,{relative:l}),f=mv(a,{replace:i,state:s,target:u,preventScrollReset:h,relative:l,viewTransition:d});function c(p){r&&r(p),p.defaultPrevented||f(p)}return C.createElement("a",ds({},m,{href:w||x,onClick:v||o?r:c,ref:n,target:u}))});var Ta;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ta||(Ta={}));var Oa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Oa||(Oa={}));function mv(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,viewTransition:s}=t===void 0?{}:t,u=Vm(),a=cl(),h=Sf(e,{relative:i});return C.useCallback(d=>{if(sv(d,n)){d.preventDefault();let m=r!==void 0?r:Zr(a)===Zr(h);u(e,{replace:m,state:l,preventScrollReset:o,relative:i,viewTransition:s})}},[a,u,h,r,l,n,e,o,i,s])}var Ao=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Uo=typeof window>"u"||"Deno"in globalThis;function We(){}function vv(e,t){return typeof e=="function"?e(t):e}function yv(e){return typeof e=="number"&&e>=0&&e!==1/0}function gv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function La(e,t){return typeof e=="function"?e(t):e}function wv(e,t){return typeof e=="function"?e(t):e}function Ma(e,t){const{type:n="all",exact:r,fetchStatus:l,predicate:o,queryKey:i,stale:s}=e;if(i){if(r){if(t.queryHash!==du(i,t.options))return!1}else if(!tl(t.queryKey,i))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||l&&l!==t.state.fetchStatus||o&&!o(t))}function Fa(e,t){const{exact:n,status:r,predicate:l,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(el(t.options.mutationKey)!==el(o))return!1}else if(!tl(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function du(e,t){return((t==null?void 0:t.queryKeyHashFn)||el)(e)}function el(e){return JSON.stringify(e,(t,n)=>fs(n)?Object.keys(n).sort().reduce((r,l)=>(r[l]=n[l],r),{}):n)}function tl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!tl(e[n],t[n])):!1}function _f(e,t){if(e===t)return e;const n=Ia(e)&&Ia(t);if(n||fs(e)&&fs(t)){const r=n?e:Object.keys(e),l=r.length,o=n?t:Object.keys(t),i=o.length,s=n?[]:{};let u=0;for(let a=0;a{setTimeout(t,e)})}function Sv(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_f(e,t):t}function kv(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ev(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var fu=Symbol();function Nf(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===fu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var on,zt,Hn,Wa,Cv=(Wa=class extends Ao{constructor(){super();$(this,on);$(this,zt);$(this,Hn);M(this,Hn,t=>{if(!Uo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){S(this,zt)||this.setEventListener(S(this,Hn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,zt))==null||t.call(this),M(this,zt,void 0))}setEventListener(t){var n;M(this,Hn,t),(n=S(this,zt))==null||n.call(this),M(this,zt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){S(this,on)!==t&&(M(this,on,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof S(this,on)=="boolean"?S(this,on):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},on=new WeakMap,zt=new WeakMap,Hn=new WeakMap,Wa),Rf=new Cv,Wn,jt,Kn,Ka,Pv=(Ka=class extends Ao{constructor(){super();$(this,Wn,!0);$(this,jt);$(this,Kn);M(this,Kn,t=>{if(!Uo&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){S(this,jt)||this.setEventListener(S(this,Kn))}onUnsubscribe(){var t;this.hasListeners()||((t=S(this,jt))==null||t.call(this),M(this,jt,void 0))}setEventListener(t){var n;M(this,Kn,t),(n=S(this,jt))==null||n.call(this),M(this,jt,t(this.setOnline.bind(this)))}setOnline(t){S(this,Wn)!==t&&(M(this,Wn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return S(this,Wn)}},Wn=new WeakMap,jt=new WeakMap,Kn=new WeakMap,Ka),xo=new Pv;function _v(){let e,t;const n=new Promise((l,o)=>{e=l,t=o});n.status="pending",n.catch(()=>{});function r(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},n.reject=l=>{r({status:"rejected",reason:l}),t(l)},n}function Nv(e){return Math.min(1e3*2**e,3e4)}function zf(e){return(e??"online")==="online"?xo.isOnline():!0}var jf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function mi(e){return e instanceof jf}function Tf(e){let t=!1,n=0,r=!1,l;const o=_v(),i=v=>{var x;r||(m(new jf(v)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},u=()=>{t=!1},a=()=>Rf.isFocused()&&(e.networkMode==="always"||xo.isOnline())&&e.canRun(),h=()=>zf(e.networkMode)&&e.canRun(),d=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),l==null||l(),o.resolve(v))},m=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),l==null||l(),o.reject(v))},g=()=>new Promise(v=>{var x;l=f=>{(r||a())&&v(f)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;l=void 0,r||(v=e.onContinue)==null||v.call(e)}),w=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(f){v=Promise.reject(f)}Promise.resolve(v).then(d).catch(f=>{var N;if(r)return;const c=e.retry??(Uo?0:3),p=e.retryDelay??Nv,y=typeof p=="function"?p(n,f):p,P=c===!0||typeof c=="number"&&na()?void 0:g()).then(()=>{t?m(f):w()})})};return{promise:o,cancel:i,continue:()=>(l==null||l(),o),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?w():g().then(w),o)}}function Rv(){let e=[],t=0,n=s=>{s()},r=s=>{s()},l=s=>setTimeout(s,0);const o=s=>{t?e.push(s):l(()=>{n(s)})},i=()=>{const s=e;e=[],s.length&&l(()=>{r(()=>{s.forEach(u=>{n(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||i()}return u},batchCalls:s=>(...u)=>{o(()=>{s(...u)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{l=s}}}var xe=Rv(),sn,Ga,Of=(Ga=class{constructor(){$(this,sn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yv(this.gcTime)&&M(this,sn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Uo?1/0:5*60*1e3))}clearGcTimeout(){S(this,sn)&&(clearTimeout(S(this,sn)),M(this,sn,void 0))}},sn=new WeakMap,Ga),Gn,bn,Ie,he,nl,un,Ke,st,ba,zv=(ba=class extends Of{constructor(t){super();$(this,Ke);$(this,Gn);$(this,bn);$(this,Ie);$(this,he);$(this,nl);$(this,un);M(this,un,!1),M(this,nl,t.defaultOptions),this.setOptions(t.options),this.observers=[],M(this,Ie,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,M(this,Gn,Tv(this.options)),this.state=t.state??S(this,Gn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=S(this,he))==null?void 0:t.promise}setOptions(t){this.options={...S(this,nl),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,Ie).remove(this)}setData(t,n){const r=Sv(this.state.data,t,this.options);return de(this,Ke,st).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){de(this,Ke,st).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,l;const n=(r=S(this,he))==null?void 0:r.promise;return(l=S(this,he))==null||l.cancel(t),n?n.then(We).catch(We):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(S(this,Gn))}isActive(){return this.observers.some(t=>wv(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===fu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!gv(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=S(this,he))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),S(this,Ie).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(S(this,he)&&(S(this,un)?S(this,he).cancel({revert:!0}):S(this,he).cancelRetry()),this.scheduleGc()),S(this,Ie).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||de(this,Ke,st).call(this,{type:"invalidate"})}fetch(t,n){var u,a,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(S(this,he))return S(this,he).continueRetry(),S(this,he).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,l=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(M(this,un,!0),r.signal)})},o=()=>{const d=Nf(this.options,n),m={queryKey:this.queryKey,meta:this.meta};return l(m),M(this,un,!1),this.options.persister?this.options.persister(d,m,this):d(m)},i={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};l(i),(u=this.options.behavior)==null||u.onFetch(i,this),M(this,bn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((a=i.fetchOptions)==null?void 0:a.meta))&&de(this,Ke,st).call(this,{type:"fetch",meta:(h=i.fetchOptions)==null?void 0:h.meta});const s=d=>{var m,g,w,v;mi(d)&&d.silent||de(this,Ke,st).call(this,{type:"error",error:d}),mi(d)||((g=(m=S(this,Ie).config).onError)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,this.state.data,d,this)),this.scheduleGc()};return M(this,he,Tf({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var m,g,w,v;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(x){s(x);return}(g=(m=S(this,Ie).config).onSuccess)==null||g.call(m,d,this),(v=(w=S(this,Ie).config).onSettled)==null||v.call(w,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,m)=>{de(this,Ke,st).call(this,{type:"failed",failureCount:d,error:m})},onPause:()=>{de(this,Ke,st).call(this,{type:"pause"})},onContinue:()=>{de(this,Ke,st).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),S(this,he).start()}},Gn=new WeakMap,bn=new WeakMap,Ie=new WeakMap,he=new WeakMap,nl=new WeakMap,un=new WeakMap,Ke=new WeakSet,st=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...jv(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=t.error;return mi(l)&&l.revert&&S(this,bn)?{...S(this,bn),fetchStatus:"idle"}:{...r,error:l,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),S(this,Ie).notify({query:this,type:"updated",action:t})})},ba);function jv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:zf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Tv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var et,qa,Ov=(qa=class extends Ao{constructor(t={}){super();$(this,et);this.config=t,M(this,et,new Map)}build(t,n,r){const l=n.queryKey,o=n.queryHash??du(l,n);let i=this.get(o);return i||(i=new zv({cache:this,queryKey:l,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(l)}),this.add(i)),i}add(t){S(this,et).has(t.queryHash)||(S(this,et).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=S(this,et).get(t.queryHash);n&&(t.destroy(),n===t&&S(this,et).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return S(this,et).get(t)}getAll(){return[...S(this,et).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ma(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ma(t,r)):n}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},et=new WeakMap,qa),tt,ge,an,nt,Ct,Ya,Lv=(Ya=class extends Of{constructor(t){super();$(this,nt);$(this,tt);$(this,ge);$(this,an);this.mutationId=t.mutationId,M(this,ge,t.mutationCache),M(this,tt,[]),this.state=t.state||Mv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){S(this,tt).includes(t)||(S(this,tt).push(t),this.clearGcTimeout(),S(this,ge).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){M(this,tt,S(this,tt).filter(n=>n!==t)),this.scheduleGc(),S(this,ge).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){S(this,tt).length||(this.state.status==="pending"?this.scheduleGc():S(this,ge).remove(this))}continue(){var t;return((t=S(this,an))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,o,i,s,u,a,h,d,m,g,w,v,x,f,c,p,y,P,N,j;M(this,an,Tf({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,D)=>{de(this,nt,Ct).call(this,{type:"failed",failureCount:_,error:D})},onPause:()=>{de(this,nt,Ct).call(this,{type:"pause"})},onContinue:()=>{de(this,nt,Ct).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,ge).canRun(this)}));const n=this.state.status==="pending",r=!S(this,an).canStart();try{if(!n){de(this,nt,Ct).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(l=S(this,ge).config).onMutate)==null?void 0:o.call(l,t,this));const D=await((s=(i=this.options).onMutate)==null?void 0:s.call(i,t));D!==this.state.context&&de(this,nt,Ct).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const _=await S(this,an).start();return await((a=(u=S(this,ge).config).onSuccess)==null?void 0:a.call(u,_,t,this.state.context,this)),await((d=(h=this.options).onSuccess)==null?void 0:d.call(h,_,t,this.state.context)),await((g=(m=S(this,ge).config).onSettled)==null?void 0:g.call(m,_,null,this.state.variables,this.state.context,this)),await((v=(w=this.options).onSettled)==null?void 0:v.call(w,_,null,t,this.state.context)),de(this,nt,Ct).call(this,{type:"success",data:_}),_}catch(_){try{throw await((f=(x=S(this,ge).config).onError)==null?void 0:f.call(x,_,t,this.state.context,this)),await((p=(c=this.options).onError)==null?void 0:p.call(c,_,t,this.state.context)),await((P=(y=S(this,ge).config).onSettled)==null?void 0:P.call(y,void 0,_,this.state.variables,this.state.context,this)),await((j=(N=this.options).onSettled)==null?void 0:j.call(N,void 0,_,t,this.state.context)),_}finally{de(this,nt,Ct).call(this,{type:"error",error:_})}}finally{S(this,ge).runNext(this)}}},tt=new WeakMap,ge=new WeakMap,an=new WeakMap,nt=new WeakSet,Ct=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xe.batch(()=>{S(this,tt).forEach(r=>{r.onMutationUpdate(t)}),S(this,ge).notify({mutation:this,type:"updated",action:t})})},Ya);function Mv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ze,rl,Xa,Fv=(Xa=class extends Ao{constructor(t={}){super();$(this,ze);$(this,rl);this.config=t,M(this,ze,new Map),M(this,rl,Date.now())}build(t,n,r){const l=new Lv({mutationCache:this,mutationId:++hl(this,rl)._,options:t.defaultMutationOptions(n),state:r});return this.add(l),l}add(t){const n=Ol(t),r=S(this,ze).get(n)??[];r.push(t),S(this,ze).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Ol(t);if(S(this,ze).has(n)){const l=(r=S(this,ze).get(n))==null?void 0:r.filter(o=>o!==t);l&&(l.length===0?S(this,ze).delete(n):S(this,ze).set(n,l))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=S(this,ze).get(Ol(t)))==null?void 0:r.find(l=>l.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=S(this,ze).get(Ol(t)))==null?void 0:r.find(l=>l!==t&&l.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){xe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...S(this,ze).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Fa(n,r))}findAll(t={}){return this.getAll().filter(n=>Fa(t,n))}notify(t){xe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return xe.batch(()=>Promise.all(t.map(n=>n.continue().catch(We))))}},ze=new WeakMap,rl=new WeakMap,Xa);function Ol(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Aa(e){return{onFetch:(t,n)=>{var h,d,m,g,w;const r=t.options,l=(m=(d=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},u=0;const a=async()=>{let v=!1;const x=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},f=Nf(t.options,t.fetchOptions),c=async(p,y,P)=>{if(v)return Promise.reject();if(y==null&&p.pages.length)return Promise.resolve(p);const N={queryKey:t.queryKey,pageParam:y,direction:P?"backward":"forward",meta:t.options.meta};x(N);const j=await f(N),{maxPages:_}=t.options,D=P?Ev:kv;return{pages:D(p.pages,j,_),pageParams:D(p.pageParams,y,_)}};if(l&&o.length){const p=l==="backward",y=p?Iv:Ua,P={pages:o,pageParams:i},N=y(r,P);s=await c(P,N,p)}else{const p=e??o.length;do{const y=u===0?i[0]??r.initialPageParam:Ua(r,s);if(u>0&&y==null)break;s=await c(s,y),u++}while(u{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,a,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=a}}}function Ua(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Iv(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var X,Tt,Ot,qn,Yn,Lt,Xn,Zn,Za,Dv=(Za=class{constructor(e={}){$(this,X);$(this,Tt);$(this,Ot);$(this,qn);$(this,Yn);$(this,Lt);$(this,Xn);$(this,Zn);M(this,X,e.queryCache||new Ov),M(this,Tt,e.mutationCache||new Fv),M(this,Ot,e.defaultOptions||{}),M(this,qn,new Map),M(this,Yn,new Map),M(this,Lt,0)}mount(){hl(this,Lt)._++,S(this,Lt)===1&&(M(this,Xn,Rf.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onFocus())})),M(this,Zn,xo.subscribe(async e=>{e&&(await this.resumePausedMutations(),S(this,X).onOnline())})))}unmount(){var e,t;hl(this,Lt)._--,S(this,Lt)===0&&((e=S(this,Xn))==null||e.call(this),M(this,Xn,void 0),(t=S(this,Zn))==null||t.call(this),M(this,Zn,void 0))}isFetching(e){return S(this,X).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return S(this,Tt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=S(this,X).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(La(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return S(this,X).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),l=S(this,X).get(r.queryHash),o=l==null?void 0:l.state.data,i=vv(t,o);if(i!==void 0)return S(this,X).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return xe.batch(()=>S(this,X).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=S(this,X).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=S(this,X);xe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=S(this,X),r={type:"active",...e};return xe.batch(()=>(n.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=xe.batch(()=>S(this,X).findAll(e).map(l=>l.cancel(n)));return Promise.all(r).then(We).catch(We)}invalidateQueries(e,t={}){return xe.batch(()=>{if(S(this,X).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=xe.batch(()=>S(this,X).findAll(e).filter(l=>!l.isDisabled()).map(l=>{let o=l.fetch(void 0,n);return n.throwOnError||(o=o.catch(We)),l.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(We)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=S(this,X).build(this,t);return n.isStaleByTime(La(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(We).catch(We)}fetchInfiniteQuery(e){return e.behavior=Aa(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(We).catch(We)}ensureInfiniteQueryData(e){return e.behavior=Aa(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return xo.isOnline()?S(this,Tt).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,X)}getMutationCache(){return S(this,Tt)}getDefaultOptions(){return S(this,Ot)}setDefaultOptions(e){M(this,Ot,e)}setQueryDefaults(e,t){S(this,qn).set(el(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...S(this,qn).values()],n={};return t.forEach(r=>{tl(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){S(this,Yn).set(el(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...S(this,Yn).values()];let n={};return t.forEach(r=>{tl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...S(this,Ot).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=du(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===fu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...S(this,Ot).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){S(this,X).clear(),S(this,Tt).clear()}},X=new WeakMap,Tt=new WeakMap,Ot=new WeakMap,qn=new WeakMap,Yn=new WeakMap,Lt=new WeakMap,Xn=new WeakMap,Zn=new WeakMap,Za),Lf=C.createContext(void 0),sg=e=>{const t=C.useContext(Lf);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Av=({client:e,children:t})=>(C.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(Lf.Provider,{value:e,children:t}));const Uv=C.createContext(null),vi={didCatch:!1,error:null};let Bv=class extends C.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=vi}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var n,r,l=arguments.length,o=new Array(l),i=0;i0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var Qv={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"};/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Vv=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),se=(e,t)=>{const n=C.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:u,...a},h)=>C.createElement("svg",{ref:h,...Qv,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${Vv(e)}`,s].join(" "),...a},[...t.map(([d,m])=>C.createElement(d,m)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Hv=se("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Wv=se("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Kv=se("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Gv=se("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bv=se("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qv=se("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Yv=se("HelpCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Xv=se("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Zv=se("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Jv=se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ey=se("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ty=se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ny=se("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ry=se("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const ly=se("PanelsTopLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const oy=se("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const iy=se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** - * @license lucide-react v0.344.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sy=se("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function uy({error:e}){return E.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:E.jsxs("div",{className:"max-w-md w-full p-6 bg-white/80 backdrop-blur-lg rounded-lg shadow-lg",children:[E.jsx("div",{className:"flex items-center justify-center text-red-500 mb-4",children:E.jsx(Hv,{size:48})}),E.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-center mb-4",children:"Something went wrong"}),E.jsx("pre",{className:"text-sm bg-gray-100 p-4 rounded overflow-auto",children:e.message}),E.jsx("button",{onClick:()=>window.location.reload(),className:"mt-4 w-full bg-cornflower-blue text-white py-2 px-4 rounded hover:bg-blue-600 transition-colors",children:"Try again"})]})})}function ay({children:e}){return E.jsx(Bv,{FallbackComponent:uy,children:e})}function Mf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t{const t=py(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const s=i.split(pu);return s[0]===""&&s.length!==1&&s.shift(),Ff(s,t)||fy(i)},getConflictingClassGroupIds:(i,s)=>{const u=n[i]||[];return s&&r[i]?[...u,...r[i]]:u}}},Ff=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),l=r?Ff(e.slice(1),r):void 0;if(l)return l;if(t.validators.length===0)return;const o=e.join(pu);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},Ba=/^\[(.+)\]$/,fy=e=>{if(Ba.test(e)){const t=Ba.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},py=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return my(Object.entries(e.classGroups),n).forEach(([o,i])=>{ps(i,r,o,t)}),r},ps=(e,t,n,r)=>{e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:$a(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(hy(l)){ps(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{ps(i,$a(t,o),n,r)})})},$a=(e,t)=>{let n=e;return t.split(pu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},hy=e=>e.isThemeGetter,my=(e,t)=>t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[n,l]}):e,vy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const l=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}},If="!",yy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length,i=s=>{const u=[];let a=0,h=0,d;for(let x=0;xh?d-h:void 0;return{modifiers:u,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:i}):i},gy=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},wy=e=>({cache:vy(e.cacheSize),parseClassName:yy(e),...dy(e)}),xy=/\s+/,Sy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=[],i=e.trim().split(xy);let s="";for(let u=i.length-1;u>=0;u-=1){const a=i[u],{modifiers:h,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:g}=n(a);let w=!!g,v=r(w?m.substring(0,g):m);if(!v){if(!w){s=a+(s.length>0?" "+s:s);continue}if(v=r(m),!v){s=a+(s.length>0?" "+s:s);continue}w=!1}const x=gy(h).join(":"),f=d?x+If:x,c=f+v;if(o.includes(c))continue;o.push(c);const p=l(v,w);for(let y=0;y0?" "+s:s)}return s};function ky(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(h),e());return n=wy(a),r=n.cache.get,l=n.cache.set,o=s,s(u)}function s(u){const a=r(u);if(a)return a;const h=Sy(u,n);return l(u,h),h}return function(){return o(ky.apply(null,arguments))}}const H=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Af=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cy=/^\d+\/\d+$/,Py=new Set(["px","full","screen"]),_y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ny=/\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$/,Ry=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,it=e=>Vn(e)||Py.has(e)||Cy.test(e),St=e=>ar(e,"length",Ay),Vn=e=>!!e&&!Number.isNaN(Number(e)),yi=e=>ar(e,"number",Vn),gr=e=>!!e&&Number.isInteger(Number(e)),Ty=e=>e.endsWith("%")&&Vn(e.slice(0,-1)),L=e=>Af.test(e),kt=e=>_y.test(e),Oy=new Set(["length","size","percentage"]),Ly=e=>ar(e,Oy,Uf),My=e=>ar(e,"position",Uf),Fy=new Set(["image","url"]),Iy=e=>ar(e,Fy,By),Dy=e=>ar(e,"",Uy),wr=()=>!0,ar=(e,t,n)=>{const r=Af.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Ay=e=>Ny.test(e)&&!Ry.test(e),Uf=()=>!1,Uy=e=>zy.test(e),By=e=>jy.test(e),$y=()=>{const e=H("colors"),t=H("spacing"),n=H("blur"),r=H("brightness"),l=H("borderColor"),o=H("borderRadius"),i=H("borderSpacing"),s=H("borderWidth"),u=H("contrast"),a=H("grayscale"),h=H("hueRotate"),d=H("invert"),m=H("gap"),g=H("gradientColorStops"),w=H("gradientColorStopPositions"),v=H("inset"),x=H("margin"),f=H("opacity"),c=H("padding"),p=H("saturate"),y=H("scale"),P=H("sepia"),N=H("skew"),j=H("space"),_=H("translate"),D=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",L,t],B=()=>[L,t],gt=()=>["",it,St],Xt=()=>["auto",Vn,L],dl=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],wt=()=>["solid","dashed","dotted","double","none"],En=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",L],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Vn,L];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[it,St],blur:["none","",kt,L],brightness:U(),borderColor:[e],borderRadius:["none","","full",kt,L],borderSpacing:B(),borderWidth:gt(),contrast:U(),grayscale:T(),hueRotate:U(),invert:T(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[Ty,St],inset:ye(),margin:ye(),opacity:U(),padding:B(),saturate:U(),scale:U(),sepia:T(),skew:U(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",L]}],container:["container"],columns:[{columns:[kt]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...dl(),L]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gr,L]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",gr,L]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",gr,L]},L]}],"col-start":[{"col-start":Xt()}],"col-end":[{"col-end":Xt()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[gr,L]},L]}],"row-start":[{"row-start":Xt()}],"row-end":[{"row-end":Xt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[kt]},kt]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yi]}],"font-family":[{font:[wr]}],"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",L]}],"line-clamp":[{"line-clamp":["none",Vn,yi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",it,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...wt(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",it,St]}],"underline-offset":[{"underline-offset":["auto",it,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],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",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...dl(),My]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ly]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Iy]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...wt(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:wt()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...wt()]}],"outline-offset":[{"outline-offset":[it,L]}],"outline-w":[{outline:[it,St]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:gt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[it,St]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kt,Dy]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...En(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":En()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",kt,L]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[d]}],saturate:[{saturate:[p]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[p]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[gr,L]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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"]}],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",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[it,St,yi]}],stroke:[{stroke:[e,"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"]}}},Qy=Ey($y);function Qa(...e){return Qy(cy(e))}function ag(e){return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function cg(e){return`${e} Mbps`}const Va=[{name:"Home",href:"/",icon:Xv},{name:"About",href:"/about",icon:Jv},{name:"Features",href:"/features",icon:ly},{name:"Gallery",href:"/gallery",icon:Zv},{name:"Download",href:"/download",icon:Gv},{name:"Developers",href:"/developers",icon:Kv},{name:"Donate",href:"/donate",icon:qv}];function Vy(){return E.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:"32",height:"32",children:[E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),E.jsx("path",{fill:"#6495ed","fill-rule":"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}function Hy(){const[e,t]=C.useState(!1),n=cl();return E.jsxs("nav",{className:"fixed w-full z-50 bg-white/80 backdrop-blur-lg border-b border-gray-200",children:[E.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:E.jsxs("div",{className:"flex justify-between h-16",children:[E.jsx("div",{className:"flex",children:E.jsxs(Lr,{to:"/",className:"flex-shrink-0 flex items-center",children:[E.jsx(Vy,{}),E.jsx("span",{className:"ml-2 text-xl font-bold text-cornflower-blue",children:"Snigdha OS"})]})}),E.jsx("div",{className:"hidden sm:flex sm:items-center sm:space-x-8",children:Va.map(r=>E.jsxs(Lr,{to:r.href,className:Qa("px-3 py-2 rounded-md text-sm font-medium transition-colors flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue":"text-gray-600 hover:text-cornflower-blue"),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))}),E.jsx("div",{className:"flex items-center sm:hidden",children:E.jsx("button",{onClick:()=>t(!e),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100",children:e?E.jsx(iy,{className:"h-6 w-6"}):E.jsx(ty,{className:"h-6 w-6"})})})]})}),e&&E.jsx("div",{className:"sm:hidden bg-white/90 backdrop-blur-lg",children:E.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:Va.map(r=>E.jsxs(Lr,{to:r.href,className:Qa("block px-3 py-2 rounded-md text-base font-medium flex items-center gap-2",n.pathname===r.href?"text-cornflower-blue bg-blue-50":"text-gray-600 hover:text-cornflower-blue hover:bg-blue-50"),onClick:()=>t(!1),children:[E.jsx(r.icon,{className:"h-4 w-4"}),r.name]},r.name))})})]})}const Ll={main:[{name:"Gallery",href:"/gallery"},{name:"Developers",href:"/developers"},{name:"Donate",href:"/donate"}],resources:[{name:"Documentation",href:"/docs",icon:Wv},{name:"Blog",href:"/blog",icon:ry},{name:"Support",href:"/support",icon:Yv}],community:[{name:"Community",href:"/community",icon:ny},{name:"GitHub",href:"https://github.com/Snigdha-OS",icon:bv},{name:"Twitter",href:"https://twitter.com/SnigdhaOS",icon:oy},{name:"YouTube",href:"https://youtube.com",icon:sy}]};function Wy(){const e=new Date().getFullYear();return E.jsx("footer",{className:"bg-gray-900 text-gray-300",children:E.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[E.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[E.jsxs("div",{className:"space-y-4",children:[E.jsx("h3",{className:"text-lg font-semibold text-white",children:"Snigdha OS"}),E.jsx("p",{className:"text-sm",children:"The most advanced penetration testing distribution, designed for security professionals and enthusiasts."}),E.jsx("div",{className:"flex space-x-4",children:Ll.community.map(t=>E.jsx("a",{href:t.href,className:"hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:E.jsx(t.icon,{className:"h-5 w-5"})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Navigation"}),E.jsx("ul",{className:"space-y-3",children:Ll.main.map(t=>E.jsx("li",{children:E.jsx(Lr,{to:t.href,className:"hover:text-white transition-colors",children:t.name})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Resources"}),E.jsx("ul",{className:"space-y-3",children:Ll.resources.map(t=>E.jsx("li",{children:E.jsxs(Lr,{to:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"text-sm font-semibold text-white uppercase tracking-wider mb-4",children:"Community"}),E.jsx("ul",{className:"space-y-3",children:Ll.community.map(t=>E.jsx("li",{children:E.jsxs("a",{href:t.href,className:"flex items-center gap-2 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:[E.jsx(t.icon,{className:"h-4 w-4"}),t.name]})},t.name))})]})]}),E.jsxs("div",{className:"mt-12 pt-8 border-t border-gray-800 text-sm text-center",children:[E.jsxs("p",{children:["© ",e," Snigdha OS - All rights reserved. Powered by ",E.jsx("b",{className:"text-cornflower-blue",children:"Tonmoy Infrastructure™"})]}),E.jsxs("p",{children:["Developed with ❤️ by ",E.jsx("b",{className:"text-cornflower-blue",children:E.jsx("u",{children:"Snigdha OS Open Source Team."})})]})]})]})})}const Ky="modulepreload",Gy=function(e){return"/"+e},Ha={},kn=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(u=>{if(u=Gy(u),u in Ha)return;Ha[u]=!0;const a=u.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${h}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Ky,a||(d.as="script"),d.crossOrigin="",d.href=u,s&&d.setAttribute("nonce",s),document.head.appendChild(d),a)return new Promise((m,g)=>{d.addEventListener("load",m),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return l.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},by=C.lazy(()=>kn(()=>import("./Home-ChZjRxmS.js"),__vite__mapDeps([0,1,2,3,4,5]))),qy=C.lazy(()=>kn(()=>import("./About-BQwefMhx.js"),__vite__mapDeps([6,1,2]))),Yy=C.lazy(()=>kn(()=>import("./Features-BRGLcvTL.js"),__vite__mapDeps([7,1,5]))),Xy=C.lazy(()=>kn(()=>import("./Download-toYmCdKl.js"),__vite__mapDeps([8,1,9,4,10]))),Zy=C.lazy(()=>kn(()=>import("./Developers-DxHmw69S.js"),__vite__mapDeps([11,1,10,2,3]))),Jy=C.lazy(()=>kn(()=>import("./Donate-CpWzDHRz.js"),__vite__mapDeps([12,1,9,2,3]))),eg=C.lazy(()=>kn(()=>import("./Gallery-C36aDy0V.js"),__vite__mapDeps([13,1])));function tg(){return E.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:E.jsx(ey,{className:"h-8 w-8 animate-spin text-cornflower-blue"})})}function ng(){return E.jsx(fv,{children:E.jsx(C.Suspense,{fallback:E.jsx(tg,{}),children:E.jsxs(lv,{children:[E.jsx(Et,{path:"/",element:E.jsx(by,{})}),E.jsx(Et,{path:"/about",element:E.jsx(qy,{})}),E.jsx(Et,{path:"/features",element:E.jsx(Yy,{})}),E.jsx(Et,{path:"/download",element:E.jsx(Xy,{})}),E.jsx(Et,{path:"/developers",element:E.jsx(Zy,{})}),E.jsx(Et,{path:"/donate",element:E.jsx(Jy,{})}),E.jsx(Et,{path:"/gallery",element:E.jsx(eg,{})})]})})})}const rg=new Dv({defaultOptions:{queries:{staleTime:1e3*60*5,retry:1}}});function lg(){return E.jsx(ay,{children:E.jsx(Av,{client:rg,children:E.jsx(dv,{children:E.jsxs("div",{className:"min-h-screen bg-gray-50 font-fira-sans flex flex-col",children:[E.jsx(Hy,{}),E.jsx("main",{className:"flex-grow pt-16",children:E.jsx(ng,{})}),E.jsx(Wy,{})]})})})})}ff(document.getElementById("root")).render(E.jsx(C.StrictMode,{children:E.jsx(lg,{})}));export{Wv as B,Gv as D,bv as G,qv as H,Lr as L,Ao as S,ey as a,wv as b,se as c,La as d,yv as e,cg as f,Rf as g,jv as h,Uo as i,E as j,Sv as k,xe as l,_f as m,We as n,ag as o,_v as p,C as r,ig as s,gv as t,sg as u}; diff --git a/assets/map-pin-DneReaiS.js b/assets/map-pin--jL2P_zt.js similarity index 89% rename from assets/map-pin-DneReaiS.js rename to assets/map-pin--jL2P_zt.js index c1b9ace1..0e5bff82 100644 --- a/assets/map-pin-DneReaiS.js +++ b/assets/map-pin--jL2P_zt.js @@ -1,4 +1,4 @@ -import{c}from"./index-B4BwWmC3.js";/** +import{c}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/proxy-CHulYgJl.js b/assets/proxy-D0ivXq8k.js similarity index 99% rename from assets/proxy-CHulYgJl.js rename to assets/proxy-D0ivXq8k.js index debb036f..f4842e49 100644 --- a/assets/proxy-CHulYgJl.js +++ b/assets/proxy-D0ivXq8k.js @@ -1 +1 @@ -import{r as S,j as he}from"./index-B4BwWmC3.js";function Ji(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function $t(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const fe=t=>Array.isArray(t);function bs(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Me(t,e,n,s){if(typeof e=="function"){const[i,r]=cn(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=cn(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function zt(t,e,n){const s=t.getProps();return Me(s,e,n!==void 0?n:s.custom,t)}const Re=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ee=["initial",...Re],Ct=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],st=new Set(Ct),$=t=>t*1e3,z=t=>t/1e3,Qi={type:"spring",stiffness:500,damping:25,restSpeed:10},to=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),eo={type:"keyframes",duration:.8},no={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},so=(t,{keyframes:e})=>e.length>2?eo:st.has(t)?t.startsWith("scale")?to(e[1]):Qi:no;function Le(t,e){return t?t[e]||t.default||t:void 0}const io={skipAnimations:!1,useManualTiming:!1},oo=t=>t!==null;function Ht(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(oo),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return!r||s===void 0?i[r]:s}const j=t=>t;let de=j;function ro(t){let e=new Set,n=new Set,s=!1,i=!1;const r=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){r.has(u)&&(l.schedule(u),t()),u(o)}const l={schedule:(u,c=!1,h=!1)=>{const d=h&&s?e:n;return c&&r.add(u),d.has(u)||d.add(u),u},cancel:u=>{n.delete(u),r.delete(u)},process:u=>{if(o=u,s){i=!0;return}s=!0,[e,n]=[n,e],e.forEach(a),e.clear(),s=!1,i&&(i=!1,l.process(u))}};return l}const Lt=["read","resolveKeyframes","update","preRender","render","postRender"],ao=40;function ws(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=Lt.reduce((m,v)=>(m[v]=ro(r),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:f}=o,d=()=>{const m=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(m-i.timestamp,ao),1),i.timestamp=m,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(d))},p=()=>{n=!0,s=!0,i.isProcessing||t(d)};return{schedule:Lt.reduce((m,v)=>{const T=o[v];return m[v]=(b,P=!1,w=!1)=>(n||p(),T.schedule(b,P,w)),m},{}),cancel:m=>{for(let v=0;v(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,lo=1e-7,uo=12;function co(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=Vs(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>lo&&++aco(r,0,1,t,n);return r=>r===0||r===1?r:Vs(i(r),e,s)}const Cs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ds=t=>e=>1-t(1-e),Ms=Dt(.33,1.53,.69,.99),Fe=Ds(Ms),Rs=Cs(Fe),Es=t=>(t*=2)<1?.5*Fe(t):.5*(2-Math.pow(2,-10*(t-1))),Be=t=>1-Math.sin(Math.acos(t)),Ls=Ds(Be),Fs=Cs(Be),Bs=t=>/^0[^.\s]+$/u.test(t);function ho(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Bs(t):!0}const ks=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),js=t=>e=>typeof e=="string"&&e.startsWith(t),Is=js("--"),fo=js("var(--"),ke=t=>fo(t)?mo.test(t.split("/*")[0].trim()):!1,mo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,po=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function go(t){const e=po.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Os(t,e,n=1){const[s,i]=go(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return ks(o)?parseFloat(o):o}return ke(i)?Os(i,e,n+1):i}const H=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},At={...dt,transform:t=>H(0,1,t)},Ft={...dt,default:1},Mt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),X=Mt("deg"),K=Mt("%"),x=Mt("px"),yo=Mt("vh"),vo=Mt("vw"),hn={...K,parse:t=>K.parse(t)/100,transform:t=>K.transform(t*100)},xo=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),fn=t=>t===dt||t===x,dn=(t,e)=>parseFloat(t.split(", ")[e]),mn=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return dn(i[1],e);{const r=s.match(/^matrix\((.+)\)$/u);return r?dn(r[1],t):0}},To=new Set(["x","y","z"]),Po=Ct.filter(t=>!To.has(t));function So(t){const e=[];return Po.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ct={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:mn(4,13),y:mn(5,14)};ct.translateX=ct.x;ct.translateY=ct.y;const Ns=t=>e=>e.test(t),Ao={test:t=>t==="auto",parse:t=>t},Us=[dt,x,K,X,vo,yo,Ao],pn=t=>Us.find(Ns(t)),nt=new Set;let me=!1,pe=!1;function _s(){if(pe){const t=Array.from(nt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=So(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{var a;(a=s.getValue(r))===null||a===void 0||a.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}pe=!1,me=!1,nt.forEach(t=>t.complete()),nt.clear()}function Ks(){nt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(pe=!0)})}function bo(){Ks(),_s()}class je{constructor(e,n,s,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(nt.add(this),me||(me=!0,V.read(Ks),V.resolveKeyframes(_s))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let r=0;rMath.round(t*1e5)/1e5,Ie=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wo(t){return t==null}const Vo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Oe=(t,e)=>n=>!!(typeof n=="string"&&Vo.test(n)&&n.startsWith(t)||e&&!wo(n)&&Object.prototype.hasOwnProperty.call(n,e)),Ws=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Ie);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Co=t=>H(0,255,t),Qt={...dt,transform:t=>Math.round(Co(t))},et={test:Oe("rgb","red"),parse:Ws("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Qt.transform(t)+", "+Qt.transform(e)+", "+Qt.transform(n)+", "+vt(At.transform(s))+")"};function Do(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const ge={test:Oe("#"),parse:Do,transform:et.transform},ot={test:Oe("hsl","hue"),parse:Ws("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+K.transform(vt(e))+", "+K.transform(vt(n))+", "+vt(At.transform(s))+")"},L={test:t=>et.test(t)||ge.test(t)||ot.test(t),parse:t=>et.test(t)?et.parse(t):ot.test(t)?ot.parse(t):ge.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?et.transform(t):ot.transform(t)},Mo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ro(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Ie))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Mo))===null||n===void 0?void 0:n.length)||0)>0}const Gs="number",$s="color",Eo="var",Lo="var(",gn="${}",Fo=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function bt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(Fo,l=>(L.test(l)?(s.color.push(r),i.push($s),n.push(L.parse(l))):l.startsWith(Lo)?(s.var.push(r),i.push(Eo),n.push(l)):(s.number.push(r),i.push(Gs),n.push(parseFloat(l))),++r,gn)).split(gn);return{values:n,split:a,indexes:s,types:i}}function zs(t){return bt(t).values}function Hs(t){const{split:e,types:n}=bt(t),s=e.length;return i=>{let r="";for(let o=0;otypeof t=="number"?0:t;function ko(t){const e=zs(t);return Hs(t)(e.map(Bo))}const q={test:Ro,parse:zs,createTransformer:Hs,getAnimatableNone:ko},jo=new Set(["brightness","contrast","saturate","opacity"]);function Io(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Ie)||[];if(!s)return t;const i=n.replace(s,"");let r=jo.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Oo=/\b([a-z-]*)\(.*?\)/gu,ye={...q,getAnimatableNone:t=>{const e=t.match(Oo);return e?e.map(Io).join(" "):t}},No={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,backgroundPositionX:x,backgroundPositionY:x},Uo={rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:Ft,scaleX:Ft,scaleY:Ft,scaleZ:Ft,skew:X,skewX:X,skewY:X,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:At,originX:hn,originY:hn,originZ:x},yn={...dt,transform:Math.round},Ne={...No,...Uo,zIndex:yn,size:x,fillOpacity:At,strokeOpacity:At,numOctaves:yn},_o={...Ne,color:L,backgroundColor:L,outlineColor:L,fill:L,stroke:L,borderColor:L,borderTopColor:L,borderRightColor:L,borderBottomColor:L,borderLeftColor:L,filter:ye,WebkitFilter:ye},Ue=t=>_o[t];function Xs(t,e){let n=Ue(t);return n!==ye&&(n=q),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Ko=new Set(["auto","none","0"]);function Wo(t,e,n){let s=0,i;for(;s{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function _e(t){return typeof t=="function"}let kt;function Go(){kt=void 0}const W={now:()=>(kt===void 0&&W.set(E.isProcessing||io.useManualTiming?E.timestamp:performance.now()),kt),set:t=>{kt=t,queueMicrotask(Go)}},vn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(q.test(t)||t==="0")&&!t.startsWith("url("));function $o(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nHo?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&bo(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=W.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:r,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!zo(e,s,i,r))if(o)this.options.duration=0;else{l==null||l(Ht(e,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const ht=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Zs=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r{const c=u*o,h=c*t,f=c-n,d=ve(u,o),p=Math.exp(-h);return te-f/d*p},r=u=>{const h=u*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(u,2)*t,p=Math.exp(-h),g=ve(Math.pow(u,2),o);return(-i(u)+te>0?-1:1)*((f-d)*p)/g}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-te+c*h},r=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=Zo(i,r,a);if(t=$(t),isNaN(l))return{stiffness:D.stiffness,damping:D.damping,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const qo=12;function Zo(t,e,n){let s=n;for(let i=1;i=xe?1/0:e}const Jo=["duration","bounce"],Qo=["stiffness","damping","mass"];function xn(t,e){return e.some(n=>t[n]!==void 0)}function tr(t){let e={velocity:D.velocity,stiffness:D.stiffness,damping:D.damping,mass:D.mass,isResolvedFromDuration:!1,...t};if(!xn(t,Qo)&&xn(t,Jo))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*H(.05,1,1-t.bounce)*Math.sqrt(i);e={...e,mass:D.mass,stiffness:i,damping:r}}else{const n=Yo(t);e={...e,...n,mass:D.mass},e.isResolvedFromDuration=!0}return e}function ei(t=D.visualDuration,e=D.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:u,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=tr({...n,velocity:-z(n.velocity||0)}),p=f||0,g=u/(2*Math.sqrt(l*c)),y=o-r,m=z(Math.sqrt(l/c)),v=Math.abs(y)<5;s||(s=v?D.restSpeed.granular:D.restSpeed.default),i||(i=v?D.restDelta.granular:D.restDelta.default);let T;if(g<1){const P=ve(m,g);T=w=>{const R=Math.exp(-g*m*w);return o-R*((p+g*m*y)/P*Math.sin(P*w)+y*Math.cos(P*w))}}else if(g===1)T=P=>o-Math.exp(-m*P)*(y+(p+m*y)*P);else{const P=m*Math.sqrt(g*g-1);T=w=>{const R=Math.exp(-g*m*w),A=Math.min(P*w,300);return o-R*((p+g*m*y)*Math.sinh(A)+P*y*Math.cosh(A))/P}}const b={calculatedDuration:d&&h||null,next:P=>{const w=T(P);if(d)a.done=P>=h;else{let R=0;g<1&&(R=P===0?$(p):Qs(T,P,w));const A=Math.abs(R)<=s,k=Math.abs(o-w)<=i;a.done=A&&k}return a.value=a.done?o:w,a},toString:()=>{const P=Math.min(ti(b),xe),w=Zs(R=>b.next(P*R).value,P,30);return P+"ms "+w}};return b}function Tn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=A=>a!==void 0&&Al,p=A=>a===void 0?l:l===void 0||Math.abs(a-A)-g*Math.exp(-A/s),T=A=>m+v(A),b=A=>{const k=v(A),O=T(A);f.done=Math.abs(k)<=u,f.value=f.done?m:O};let P,w;const R=A=>{d(f.value)&&(P=A,w=ei({keyframes:[f.value,p(f.value)],velocity:Qs(T,A,f.value),damping:i,stiffness:r,restDelta:u,restSpeed:c}))};return R(0),{calculatedDuration:null,next:A=>{let k=!1;return!w&&P===void 0&&(k=!0,b(A),R(A)),P!==void 0&&A>=P?w.next(A-P):(!k&&b(A),f)}}}const er=Dt(.42,0,1,1),nr=Dt(0,0,.58,1),ni=Dt(.42,0,.58,1),sr=t=>Array.isArray(t)&&typeof t[0]!="number",Ke=t=>Array.isArray(t)&&typeof t[0]=="number",Pn={linear:j,easeIn:er,easeInOut:ni,easeOut:nr,circIn:Be,circInOut:Fs,circOut:Ls,backIn:Fe,backInOut:Rs,backOut:Ms,anticipate:Es},Sn=t=>{if(Ke(t)){de(t.length===4);const[e,n,s,i]=t;return Dt(e,n,s,i)}else if(typeof t=="string")return de(Pn[t]!==void 0),Pn[t];return t},ir=(t,e)=>n=>e(t(n)),Rt=(...t)=>t.reduce(ir),C=(t,e,n)=>t+(e-t)*n;function ee(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function or({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=ee(l,a,t+1/3),r=ee(l,a,t),o=ee(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function Ot(t,e){return n=>n>0?e:t}const ne=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},rr=[ge,et,ot],ar=t=>rr.find(e=>e.test(t));function An(t){const e=ar(t);if(!e)return!1;let n=e.parse(t);return e===ot&&(n=or(n)),n}const bn=(t,e)=>{const n=An(t),s=An(e);if(!n||!s)return Ot(t,e);const i={...n};return r=>(i.red=ne(n.red,s.red,r),i.green=ne(n.green,s.green,r),i.blue=ne(n.blue,s.blue,r),i.alpha=C(n.alpha,s.alpha,r),et.transform(i))},Te=new Set(["none","hidden"]);function lr(t,e){return Te.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ur(t,e){return n=>C(t,e,n)}function We(t){return typeof t=="number"?ur:typeof t=="string"?ke(t)?Ot:L.test(t)?bn:fr:Array.isArray(t)?si:typeof t=="object"?L.test(t)?bn:cr:Ot}function si(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>We(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function hr(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let r=0;r{const n=q.createTransformer(e),s=bt(t),i=bt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Te.has(t)&&!i.values.length||Te.has(e)&&!s.values.length?lr(t,e):Rt(si(hr(s,i),i.values),n):Ot(t,e)};function ii(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?C(t,e,n):We(t)(t,e)}function dr(t,e,n){const s=[],i=n||ii,r=t.length-1;for(let o=0;oe[0];if(r===2&&t[0]===t[1])return()=>e[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=dr(e,s,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(H(t[0],t[r-1],u)):l}function pr(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=ht(0,e,s);t.push(C(n,1,i))}}function gr(t){const e=[0];return pr(e,t.length-1),e}function yr(t,e){return t.map(n=>n*e)}function vr(t,e){return t.map(()=>e||ni).splice(0,t.length-1)}function Nt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=sr(s)?s.map(Sn):Sn(s),r={done:!1,value:e[0]},o=yr(n&&n.length===e.length?n:gr(e),t),a=mr(o,e,{ease:Array.isArray(i)?i:vr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const xr=t=>{const e=({timestamp:n})=>t(n);return{start:()=>V.update(e,!0),stop:()=>Y(e),now:()=>E.isProcessing?E.timestamp:W.now()}},Tr={decay:Tn,inertia:Tn,tween:Nt,keyframes:Nt,spring:ei},Pr=t=>t/100;class Ge extends qs{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:s,element:i,keyframes:r}=this.options,o=(i==null?void 0:i.KeyframeResolver)||je,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(r,a,n,s,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=this.options,a=_e(n)?n:Tr[n]||Nt;let l,u;a!==Nt&&typeof e[0]!="number"&&(l=Rt(Pr,ii(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=ti(c));const{calculatedDuration:h}=c,f=h+i,d=f*(s+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:f,totalDuration:d}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:h}=s;if(this.startTime===null)return r.next(0);const{delay:f,repeat:d,repeatType:p,repeatDelay:g,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const m=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let T=this.currentTime,b=r;if(d){const A=Math.min(this.currentTime,c)/h;let k=Math.floor(A),O=A%1;!O&&A>=1&&(O=1),O===1&&k--,k=Math.min(k,d+1),!!(k%2)&&(p==="reverse"?(O=1-O,g&&(O-=g/h)):p==="mirror"&&(b=o)),T=H(0,1,O)*h}const P=v?{done:!1,value:l[0]}:b.next(T);a&&(P.value=a(P.value));let{done:w}=P;!v&&u!==null&&(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return R&&i!==void 0&&(P.value=Ht(l,this.options,i)),y&&y(P.value),R&&this.finish(),P}get duration(){const{resolved:e}=this;return e?z(e.calculatedDuration):0}get time(){return z(this.currentTime)}set time(e){e=$(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=z(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=xr,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Sr=new Set(["opacity","clipPath","filter","transform"]);function $e(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ar={linearEasing:void 0};function br(t,e){const n=$e(t);return()=>{var s;return(s=Ar[e])!==null&&s!==void 0?s:n()}}const Ut=br(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function oi(t){return!!(typeof t=="function"&&Ut()||!t||typeof t=="string"&&(t in Pe||Ut())||Ke(t)||Array.isArray(t)&&t.every(oi))}const pt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Pe={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pt([0,.65,.55,1]),circOut:pt([.55,0,1,.45]),backIn:pt([.31,.01,.66,-.59]),backOut:pt([.33,1.53,.69,.99])};function ri(t,e){if(t)return typeof t=="function"&&Ut()?Zs(t,e):Ke(t)?pt(t):Array.isArray(t)?t.map(n=>ri(n,e)||Pe.easeOut):Pe[t]}function wr(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=ri(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}function wn(t,e){t.timeline=e,t.onfinish=null}const Vr=$e(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),_t=10,Cr=2e4;function Dr(t){return _e(t.type)||t.type==="spring"||!oi(t.ease)}function Mr(t,e){const n=new Ge({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let r=0;for(;!s.done&&rthis.onKeyframesResolved(o,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){var s;let{duration:i=300,times:r,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(typeof o=="string"&&Ut()&&Rr(o)&&(o=ai[o]),Dr(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:g,...y}=this.options,m=Mr(e,y);e=m.keyframes,e.length===1&&(e[1]=e[0]),i=m.duration,r=m.times,o=m.ease,a="keyframes"}const h=wr(l.owner.current,u,e,{...this.options,duration:i,times:r,ease:o});return h.startTime=c??this.calcStartTime(),this.pendingTimeline?(wn(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:f}=this.options;l.set(Ht(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:r,type:a,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return z(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return z(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=$(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return j;const{animation:s}=n;wn(s,e)}return j}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:r,ease:o,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:h,element:f,...d}=this.options,p=new Ge({...d,keyframes:s,duration:i,type:r,ease:o,times:a,isGenerator:!0}),g=$(this.time);u.setWithVelocity(p.sample(g-_t).value,p.sample(g).value,_t)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:r,damping:o,type:a}=e;return Vr()&&s&&Sr.has(s)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}}const Er=$e(()=>window.ScrollTimeline!==void 0);class Lr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;sEr()&&i.attachTimeline?i.attachTimeline(e):n(i));return()=>{s.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;nn[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Fr({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const ze=(t,e,n,s={},i,r)=>o=>{const a=Le(s,t)||{},l=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-$(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Fr(a)||(c={...c,...so(t,c)}),c.duration&&(c.duration=$(c.duration)),c.repeatDelay&&(c.repeatDelay=$(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(h=!0)),h&&!r&&e.get()!==void 0){const f=Ht(c.keyframes,a);if(f!==void 0)return V.update(()=>{c.onUpdate(f),c.onComplete()}),new Lr([])}return!r&&Vn.supports(c)?new Vn(c):new Ge(c)},Br=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),kr=t=>fe(t)?t[t.length-1]||0:t;function He(t,e){t.indexOf(e)===-1&&t.push(e)}function Xe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ye{constructor(){this.subscriptions=[]}add(e){return He(this.subscriptions,e),()=>Xe(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r!isNaN(parseFloat(t));class Ir{constructor(e,n={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const r=W.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Ye);const s=this.events[e].add(n);return e==="change"?()=>{s(),V.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Cn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Cn);return Js(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wt(t,e){return new Ir(t,e)}function Or(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,wt(n))}function Nr(t,e){const n=zt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=kr(r[o]);Or(t,o,a)}}const qe=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ur="framerAppearId",li="data-"+qe(Ur);function ui(t){return t.props[li]}const F=t=>!!(t&&t.getVelocity);function _r(t){return!!(F(t)&&t.add)}function Se(t,e){const n=t.getValue("willChange");if(_r(n))return n.add(e)}function Kr({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function ci(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(o=s);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const h in l){const f=t.getValue(h,(r=t.latestValues[h])!==null&&r!==void 0?r:null),d=l[h];if(d===void 0||c&&Kr(c,h))continue;const p={delay:n,...Le(o||{},h)};let g=!1;if(window.MotionHandoffAnimation){const m=ui(t);if(m){const v=window.MotionHandoffAnimation(m,h,V);v!==null&&(p.startTime=v,g=!0)}}Se(t,h),f.start(ze(h,f,d,t.shouldReduceMotion&&st.has(h)?{type:!1}:p,t,g));const y=f.animation;y&&u.push(y)}return a&&Promise.all(u).then(()=>{V.update(()=>{a&&Nr(t,a)})}),u}function Ae(t,e,n={}){var s;const i=zt(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(ci(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:h,staggerDirection:f}=r;return Wr(t,e,c+u,h,f,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Wr(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,l=i===1?(u=0)=>u*s:(u=0)=>a-u*s;return Array.from(t.variantChildren).sort(Gr).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Ae(u,e,{...r,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function Gr(t,e){return t.sortNodePosition(e)}function $r(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Ae(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Ae(t,e,n);else{const i=typeof e=="function"?zt(t,e,n.custom):e;s=Promise.all(ci(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const zr=Ee.length;function hi(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?hi(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>$r(t,n,s)))}function qr(t){let e=Yr(t),n=Dn(),s=!0;const i=l=>(u,c)=>{var h;const f=zt(t,c,l==="exit"?(h=t.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(f){const{transition:d,transitionEnd:p,...g}=f;u={...u,...g,...p}}return u};function r(l){e=l(t)}function o(l){const{props:u}=t,c=hi(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let y=0;yp&&b,k=!1;const O=Array.isArray(T)?T:[T];let it=O.reduce(i(m),{});P===!1&&(it={});const{prevResolvedValues:ln={}}=v,Zi={...ln,...it},un=B=>{A=!0,f.has(B)&&(k=!0,f.delete(B)),v.needsAnimating[B]=!0;const G=t.getValue(B);G&&(G.liveStyle=!1)};for(const B in Zi){const G=it[B],qt=ln[B];if(d.hasOwnProperty(B))continue;let Zt=!1;fe(G)&&fe(qt)?Zt=!bs(G,qt):Zt=G!==qt,Zt?G!=null?un(B):f.add(B):G!==void 0&&f.has(B)?un(B):v.protectedKeys[B]=!0}v.prevProp=T,v.prevResolvedValues=it,v.isActive&&(d={...d,...it}),s&&t.blockInitialAnimation&&(A=!1),A&&(!(w&&R)||k)&&h.push(...O.map(B=>({animation:B,options:{type:m}})))}if(f.size){const y={};f.forEach(m=>{const v=t.getBaseTarget(m),T=t.getValue(m);T&&(T.liveStyle=!0),y[m]=v??null}),h.push({animation:y})}let g=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(g=!1),s=!1,g?e(h):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,u)}),n[l].isActive=u;const h=o(l);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=Dn(),s=!0}}}function Zr(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!bs(e,t):!1}function J(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Dn(){return{animate:J(!0),whileInView:J(),whileHover:J(),whileTap:J(),whileDrag:J(),whileFocus:J(),exit:J()}}class Z{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Jr extends Z{constructor(e){super(e),e.animationState||(e.animationState=qr(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();$t(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Qr=0;class ta extends Z{constructor(){super(...arguments),this.id=Qr++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const ea={animation:{Feature:Jr},exit:{Feature:ta}},_={x:!1,y:!1};function fi(){return _.x||_.y}function na(t,e,n){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let i=document;const r=(s=void 0)!==null&&s!==void 0?s:i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}function di(t,e){const n=na(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Mn(t){return e=>{e.pointerType==="touch"||fi()||t(e)}}function sa(t,e,n={}){const[s,i,r]=di(t,n),o=Mn(a=>{const{target:l}=a,u=e(a);if(!u||!l)return;const c=Mn(h=>{u(h),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,i)});return s.forEach(a=>{a.addEventListener("pointerenter",o,i)}),r}const Ze=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,gt=new WeakSet;function Rn(t){return e=>{e.key==="Enter"&&t(e)}}function se(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const ia=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Rn(()=>{if(gt.has(n))return;se(n,"down");const i=Rn(()=>{se(n,"up")}),r=()=>se(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)},oa=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ra(t){return oa.has(t.tagName)||t.tabIndex!==-1}const mi=(t,e)=>e?t===e?!0:mi(t,e.parentElement):!1;function En(t){return Ze(t)&&!fi()}function aa(t,e,n={}){const[s,i,r]=di(t,n),o=a=>{const l=a.currentTarget;if(!En(a)||gt.has(l))return;gt.add(l);const u=e(a),c=(d,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),!(!En(d)||!gt.has(l))&&(gt.delete(l),u&&u(d,{success:p}))},h=d=>{c(d,n.useGlobalTarget||mi(l,d.target))},f=d=>{c(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{ra(a)||(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),a.addEventListener("focus",u=>ia(u,i),i)}),r}function la(t){return t==="x"||t==="y"?_[t]?null:(_[t]=!0,()=>{_[t]=!1}):_.x||_.y?null:(_.x=_.y=!0,()=>{_.x=_.y=!1})}function Et(t){return{point:{x:t.pageX,y:t.pageY}}}const ua=t=>e=>Ze(e)&&t(e,Et(e));function Vt(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function xt(t,e,n,s){return Vt(t,e,ua(n),s)}const Ln=(t,e)=>Math.abs(t-e);function ca(t,e){const n=Ln(t.x,e.x),s=Ln(t.y,e.y);return Math.sqrt(n**2+s**2)}class pi{constructor(e,n,{transformPagePoint:s,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=oe(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=ca(h.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:p}=h,{timestamp:g}=E;this.history.push({...p,timestamp:g});const{onStart:y,onMove:m}=this.handlers;f||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,h)},this.handlePointerMove=(h,f)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=ie(f,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(h,f)=>{this.end();const{onEnd:d,onSessionEnd:p,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=oe(h.type==="pointercancel"?this.lastMoveEventInfo:ie(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(h,y),p&&p(h,y)},!Ze(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const o=Et(e),a=ie(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=E;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,oe(a,this.history)),this.removeListeners=Rt(xt(this.contextWindow,"pointermove",this.handlePointerMove),xt(this.contextWindow,"pointerup",this.handlePointerUp),xt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Y(this.updatePoint)}}function ie(t,e){return e?{point:e(t.point)}:t}function Fn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function oe({point:t},e){return{point:t,delta:Fn(t,gi(e)),offset:Fn(t,ha(e)),velocity:fa(e,.1)}}function ha(t){return t[0]}function gi(t){return t[t.length-1]}function fa(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=gi(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>$(e)));)n--;if(!s)return{x:0,y:0};const r=z(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function rt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const yi=1e-4,da=1-yi,ma=1+yi,vi=.01,pa=0-vi,ga=0+vi;function I(t){return t.max-t.min}function ya(t,e,n){return Math.abs(t-e)<=n}function Bn(t,e,n,s=.5){t.origin=s,t.originPoint=C(e.min,e.max,t.origin),t.scale=I(n)/I(e),t.translate=C(n.min,n.max,t.origin)-t.originPoint,(t.scale>=da&&t.scale<=ma||isNaN(t.scale))&&(t.scale=1),(t.translate>=pa&&t.translate<=ga||isNaN(t.translate))&&(t.translate=0)}function Tt(t,e,n,s){Bn(t.x,e.x,n.x,s?s.originX:void 0),Bn(t.y,e.y,n.y,s?s.originY:void 0)}function kn(t,e,n){t.min=n.min+e.min,t.max=t.min+I(e)}function va(t,e,n){kn(t.x,e.x,n.x),kn(t.y,e.y,n.y)}function jn(t,e,n){t.min=e.min-n.min,t.max=t.min+I(e)}function Pt(t,e,n){jn(t.x,e.x,n.x),jn(t.y,e.y,n.y)}function xa(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?C(n,t,s.max):Math.min(t,n)),t}function In(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Ta(t,{top:e,left:n,bottom:s,right:i}){return{x:In(t.x,n,i),y:In(t.y,e,s)}}function On(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ht(e.min,e.max-s,t.min):s>i&&(n=ht(t.min,t.max-i,e.min)),H(0,1,n)}function Aa(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const be=.35;function ba(t=be){return t===!1?t=0:t===!0&&(t=be),{x:Nn(t,"left","right"),y:Nn(t,"top","bottom")}}function Nn(t,e,n){return{min:Un(t,e),max:Un(t,n)}}function Un(t,e){return typeof t=="number"?t:t[e]||0}const _n=()=>({translate:0,scale:1,origin:0,originPoint:0}),at=()=>({x:_n(),y:_n()}),Kn=()=>({min:0,max:0}),M=()=>({x:Kn(),y:Kn()});function U(t){return[t("x"),t("y")]}function xi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function wa({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Va(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function re(t){return t===void 0||t===1}function we({scale:t,scaleX:e,scaleY:n}){return!re(t)||!re(e)||!re(n)}function Q(t){return we(t)||Ti(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ti(t){return Wn(t.x)||Wn(t.y)}function Wn(t){return t&&t!=="0%"}function Kt(t,e,n){const s=t-n,i=e*s;return n+i}function Gn(t,e,n,s,i){return i!==void 0&&(t=Kt(t,i,s)),Kt(t,n,s)+e}function Ve(t,e=0,n=1,s,i){t.min=Gn(t.min,e,n,s,i),t.max=Gn(t.max,e,n,s,i)}function Pi(t,{x:e,y:n}){Ve(t.x,e.translate,e.scale,e.originPoint),Ve(t.y,n.translate,n.scale,n.originPoint)}const $n=.999999999999,zn=1.0000000000001;function Ca(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;a$n&&(e.x=1),e.y$n&&(e.y=1)}function lt(t,e){t.min=t.min+e,t.max=t.max+e}function Hn(t,e,n,s,i=.5){const r=C(t.min,t.max,i);Ve(t,e,n,r,s)}function ut(t,e){Hn(t.x,e.x,e.scaleX,e.scale,e.originX),Hn(t.y,e.y,e.scaleY,e.scale,e.originY)}function Si(t,e){return xi(Va(t.getBoundingClientRect(),e))}function Da(t,e,n){const s=Si(t,n),{scroll:i}=e;return i&&(lt(s.x,i.offset.x),lt(s.y,i.offset.y)),s}const Ai=({current:t})=>t?t.ownerDocument.defaultView:null,Ma=new WeakMap;class Ra{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=M(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Et(c).point)},r=(c,h)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=la(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),U(y=>{let m=this.getAxisMotionValue(y).get()||0;if(K.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const T=v.layout.layoutBox[y];T&&(m=I(T)*(parseFloat(m)/100))}}this.originPoint[y]=m}),p&&V.postRender(()=>p(c,h)),Se(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,h)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:g}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:y}=h;if(d&&this.currentDirection===null){this.currentDirection=Ea(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),g&&g(c,h)},a=(c,h)=>this.stop(c,h),l=()=>U(c=>{var h;return this.getAnimationState(c)==="paused"&&((h=this.getAxisMotionValue(c).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new pi(e,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Ai(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&V.postRender(()=>r(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Bt(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=xa(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,r=this.constraints;n&&rt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Ta(i.layoutBox,n):this.constraints=!1,this.elastic=ba(s),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&U(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Aa(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!rt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Da(s,i.root,this.visualElement.getTransformPagePoint());let o=Pa(i.layout.layoutBox,r);if(n){const a=n(wa(o));this.hasMutatedConstraints=!!a,a&&(o=xi(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=U(c=>{if(!Bt(c,n,this.currentDirection))return;let h=l&&l[c]||{};o&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Se(this.visualElement,e),s.start(ze(e,s,0,n,this.visualElement,!1))}stopAnimation(){U(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){U(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){U(n=>{const{drag:s}=this.getProps();if(!Bt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-C(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!rt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};U(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=Sa({min:l,max:l},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),U(o=>{if(!Bt(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(C(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Ma.set(this.visualElement,this);const e=this.visualElement.current,n=xt(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();rt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.read(s);const o=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(U(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=be,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Bt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Ea(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class La extends Z{constructor(e){super(e),this.removeGroupControls=j,this.removeListeners=j,this.controls=new Ra(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||j}unmount(){this.removeGroupControls(),this.removeListeners()}}const Xn=t=>(e,n)=>{t&&V.postRender(()=>t(e,n))};class Fa extends Z{constructor(){super(...arguments),this.removePointerDownListener=j}onPointerDown(e){this.session=new pi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ai(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Xn(e),onStart:Xn(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&V.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=xt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Je=S.createContext(null);function Ba(){const t=S.useContext(Je);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=S.useId();S.useEffect(()=>s(i),[]);const r=S.useCallback(()=>n&&n(i),[i,n]);return!e&&n?[!1,r]:[!0]}const bi=S.createContext({}),wi=S.createContext({}),jt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Yn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const mt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(x.test(t))t=parseFloat(t);else return t;const n=Yn(t,e.target.x),s=Yn(t,e.target.y);return`${n}% ${s}%`}},ka={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=q.parse(t);if(i.length>5)return s;const r=q.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const u=C(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},Wt={};function ja(t){Object.assign(Wt,t)}const{schedule:Qe,cancel:wu}=ws(queueMicrotask,!1);class Ia extends S.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;ja(Oa),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),jt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||V.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Qe.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Vi(t){const[e,n]=Ba(),s=S.useContext(bi);return he.jsx(Ia,{...t,layoutGroup:s,switchLayoutGroup:S.useContext(wi),isPresent:e,safeToRemove:n})}const Oa={borderRadius:{...mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomLeftRadius:mt,borderBottomRightRadius:mt,boxShadow:ka},Ci=["TopLeft","TopRight","BottomLeft","BottomRight"],Na=Ci.length,qn=t=>typeof t=="string"?parseFloat(t):t,Zn=t=>typeof t=="number"||x.test(t);function Ua(t,e,n,s,i,r){i?(t.opacity=C(0,n.opacity!==void 0?n.opacity:1,_a(s)),t.opacityExit=C(e.opacity!==void 0?e.opacity:1,0,Ka(s))):r&&(t.opacity=C(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ose?1:n(ht(t,e,s))}function Qn(t,e){t.min=e.min,t.max=e.max}function N(t,e){Qn(t.x,e.x),Qn(t.y,e.y)}function ts(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function es(t,e,n,s,i){return t-=e,t=Kt(t,1/n,s),i!==void 0&&(t=Kt(t,1/i,s)),t}function Wa(t,e=0,n=1,s=.5,i,r=t,o=t){if(K.test(e)&&(e=parseFloat(e),e=C(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=C(r.min,r.max,s);t===r&&(a-=e),t.min=es(t.min,e,n,a,i),t.max=es(t.max,e,n,a,i)}function ns(t,e,[n,s,i],r,o){Wa(t,e[n],e[s],e[i],e.scale,r,o)}const Ga=["x","scaleX","originX"],$a=["y","scaleY","originY"];function ss(t,e,n,s){ns(t.x,e,Ga,n?n.x:void 0,s?s.x:void 0),ns(t.y,e,$a,n?n.y:void 0,s?s.y:void 0)}function is(t){return t.translate===0&&t.scale===1}function Mi(t){return is(t.x)&&is(t.y)}function os(t,e){return t.min===e.min&&t.max===e.max}function za(t,e){return os(t.x,e.x)&&os(t.y,e.y)}function rs(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ri(t,e){return rs(t.x,e.x)&&rs(t.y,e.y)}function as(t){return I(t.x)/I(t.y)}function ls(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Ha{constructor(){this.members=[]}add(e){He(this.members,e),e.scheduleRender()}remove(e){if(Xe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Xa(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;u&&(s=`perspective(${u}px) ${s}`),c&&(s+=`rotate(${c}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const Ya=(t,e)=>t.depth-e.depth;class qa{constructor(){this.children=[],this.isDirty=!1}add(e){He(this.children,e),this.isDirty=!0}remove(e){Xe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ya),this.isDirty=!1,this.children.forEach(e)}}function It(t){const e=F(t)?t.get():t;return Br(e)?e.toValue():e}function Za(t,e){const n=W.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(Y(s),t(r-e))};return V.read(s,!0),()=>Y(s)}function Ja(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Qa(t,e,n){const s=F(t)?t:wt(t);return s.start(ze("",s,e,n)),s.animation}const tt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},yt=typeof window<"u"&&window.MotionDebug!==void 0,ae=["","X","Y","Z"],tl={visibility:"hidden"},us=1e3;let el=0;function le(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Ei(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=ui(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Ei(s)}function Li({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e==null?void 0:e()){this.id=el++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yt&&(tt.totalNodes=tt.resolvedTargetDeltas=tt.recalculatedProjection=0),this.nodes.forEach(il),this.nodes.forEach(ul),this.nodes.forEach(cl),this.nodes.forEach(ol),yt&&window.MotionDebug.record(tt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=Za(f,250),jt.hasAnimatedSinceResize&&(jt.hasAnimatedSinceResize=!1,this.nodes.forEach(hs))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||pl,{onLayoutAnimationStart:y,onLayoutAnimationComplete:m}=c.getProps(),v=!this.targetLayout||!Ri(this.targetLayout,p)||d,T=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,T);const b={...Le(g,"layout"),onPlay:y,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||hs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Y(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hl),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ei(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const P=b/1e3;fs(h.x,o.x,P),fs(h.y,o.y,P),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),dl(this.relativeTarget,this.relativeTargetOrigin,f,P),T&&za(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=M()),N(T,this.relativeTarget)),g&&(this.animationValues=c,Ua(c,u,this.latestValues,P,v,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{jt.hasAnimatedSinceResize=!0,this.currentAnimation=Qa(0,us,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(us),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&Fi(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||M();const h=I(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=I(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}N(a,l),ut(a,c),Tt(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Ha),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&le("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(cs),this.root.sharedNodes.clear()}}}function nl(t){t.updateLayout()}function sl(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;r==="size"?U(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=I(f);f.min=s[h].min,f.max=f.min+d}):Fi(r,n.layoutBox,s)&&U(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=I(s[h]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+d)});const a=at();Tt(a,s,n.layoutBox);const l=at();o?Tt(l,t.applyTransform(i,!0),n.measuredBox):Tt(l,s,n.layoutBox);const u=!Mi(a);let c=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:d}=h;if(f&&d){const p=M();Pt(p,n.layoutBox,f.layoutBox);const g=M();Pt(g,s,d.layoutBox),Ri(p,g)||(c=!0),h.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=p,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function il(t){yt&&tt.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ol(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rl(t){t.clearSnapshot()}function cs(t){t.clearMeasurements()}function al(t){t.isLayoutDirty=!1}function ll(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function hs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ul(t){t.resolveTargetDelta()}function cl(t){t.calcProjection()}function hl(t){t.resetSkewAndRotation()}function fl(t){t.removeLeadSnapshot()}function fs(t,e,n){t.translate=C(e.translate,0,n),t.scale=C(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ds(t,e,n,s){t.min=C(e.min,n.min,s),t.max=C(e.max,n.max,s)}function dl(t,e,n,s){ds(t.x,e.x,n.x,s),ds(t.y,e.y,n.y,s)}function ml(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const pl={duration:.45,ease:[.4,0,.1,1]},ms=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ps=ms("applewebkit/")&&!ms("chrome/")?Math.round:j;function gs(t){t.min=ps(t.min),t.max=ps(t.max)}function gl(t){gs(t.x),gs(t.y)}function Fi(t,e,n){return t==="position"||t==="preserve-aspect"&&!ya(as(e),as(n),.2)}function yl(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const vl=Li({attachResizeListener:(t,e)=>Vt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ue={current:void 0},Bi=Li({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ue.current){const t=new vl({});t.mount(window),t.setOptions({layoutScroll:!0}),ue.current=t}return ue.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),xl={pan:{Feature:Fa},drag:{Feature:La,ProjectionNode:Bi,MeasureLayout:Vi}};function ys(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&V.postRender(()=>r(e,Et(e)))}class Tl extends Z{mount(){const{current:e}=this.node;e&&(this.unmount=sa(e,n=>(ys(this.node,n,"Start"),s=>ys(this.node,s,"End"))))}unmount(){}}class Pl extends Z{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rt(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function vs(t,e,n){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&V.postRender(()=>r(e,Et(e)))}class Sl extends Z{mount(){const{current:e}=this.node;e&&(this.unmount=aa(e,n=>(vs(this.node,n,"Start"),(s,{success:i})=>vs(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ce=new WeakMap,ce=new WeakMap,Al=t=>{const e=Ce.get(t.target);e&&e(t)},bl=t=>{t.forEach(Al)};function wl({root:t,...e}){const n=t||document;ce.has(n)||ce.set(n,{});const s=ce.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(bl,{root:t,...e})),s[i]}function Vl(t,e,n){const s=wl(e);return Ce.set(t,n),s.observe(t),()=>{Ce.delete(t),s.unobserve(t)}}const Cl={some:0,all:1};class Dl extends Z{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Cl[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=u?c:h;f&&f(l)};return Vl(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(Ml(e,n))&&this.startObserver()}unmount(){}}function Ml({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Rl={inView:{Feature:Dl},tap:{Feature:Sl},focus:{Feature:Pl},hover:{Feature:Tl}},El={layout:{ProjectionNode:Bi,MeasureLayout:Vi}},ki=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Xt=S.createContext({}),tn=typeof window<"u",Ll=tn?S.useLayoutEffect:S.useEffect,ji=S.createContext({strict:!1});function Fl(t,e,n,s,i){var r,o;const{visualElement:a}=S.useContext(Xt),l=S.useContext(ji),u=S.useContext(Je),c=S.useContext(ki).reducedMotion,h=S.useRef(null);s=s||l.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=h.current,d=S.useContext(wi);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&Bl(h.current,n,i,d);const p=S.useRef(!1);S.useInsertionEffect(()=>{f&&p.current&&f.update(n,u)});const g=n[li],y=S.useRef(!!g&&!(!((r=window.MotionHandoffIsComplete)===null||r===void 0)&&r.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return Ll(()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),Qe.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),S.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,g)}),y.current=!1))}),f}function Bl(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ii(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&rt(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}function Ii(t){if(t)return t.options.allowProjection!==!1?t.projection:Ii(t.parent)}function kl(t,e,n){return S.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):rt(n)&&(n.current=s))},[e])}function Yt(t){return $t(t.animate)||Ee.some(e=>St(t[e]))}function Oi(t){return!!(Yt(t)||t.variants)}function jl(t,e){if(Yt(t)){const{initial:n,animate:s}=t;return{initial:n===!1||St(n)?n:void 0,animate:St(s)?s:void 0}}return t.inherit!==!1?e:{}}function Il(t){const{initial:e,animate:n}=jl(t,S.useContext(Xt));return S.useMemo(()=>({initial:e,animate:n}),[xs(e),xs(n)])}function xs(t){return Array.isArray(t)?t.join(" "):t}const Ts={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ft={};for(const t in Ts)ft[t]={isEnabled:e=>Ts[t].some(n=>!!e[n])};function Ol(t){for(const e in t)ft[e]={...ft[e],...t[e]}}const Nl=Symbol.for("motionComponentSymbol");function Ul({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&Ol(t);function r(a,l){let u;const c={...S.useContext(ki),...a,layoutId:_l(a)},{isStatic:h}=c,f=Il(a),d=s(a,h);if(!h&&tn){Kl();const p=Wl(c);u=p.MeasureLayout,f.visualElement=Fl(i,d,c,e,p.ProjectionNode)}return he.jsxs(Xt.Provider,{value:f,children:[u&&f.visualElement?he.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,kl(d,f.visualElement,l),d,h,f.visualElement)]})}const o=S.forwardRef(r);return o[Nl]=i,o}function _l({layoutId:t}){const e=S.useContext(bi).id;return e&&t!==void 0?e+"-"+t:t}function Kl(t,e){S.useContext(ji).strict}function Wl(t){const{drag:e,layout:n}=ft;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Gl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function en(t){return typeof t!="string"||t.includes("-")?!1:!!(Gl.indexOf(t)>-1||/[A-Z]/u.test(t))}function Ni(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const Ui=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _i(t,e,n,s){Ni(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(Ui.has(i)?i:qe(i),e.attrs[i])}function Ki(t,{layout:e,layoutId:n}){return st.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Wt[t]||t==="opacity")}function nn(t,e,n){var s;const{style:i}=t,r={};for(const o in i)(F(i[o])||e.style&&F(e.style[o])||Ki(o,t)||((s=n==null?void 0:n.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(r[o]=i[o]);return r}function Wi(t,e,n){const s=nn(t,e,n);for(const i in t)if(F(t[i])||F(e[i])){const r=Ct.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}function $l(t){const e=S.useRef(null);return e.current===null&&(e.current=t()),e.current}function zl({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:Hl(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const Gi=t=>(e,n)=>{const s=S.useContext(Xt),i=S.useContext(Je),r=()=>zl(t,e,s,i);return n?r():$l(r)};function Hl(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=It(r[f]);let{initial:o,animate:a}=t;const l=Yt(t),u=Oi(t);e&&u&&!l&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const h=c?a:o;if(h&&typeof h!="boolean"&&!$t(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d({style:{},transform:{},transformOrigin:{},vars:{}}),$i=()=>({...sn(),attrs:{}}),zi=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Xl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yl=Ct.length;function ql(t,e,n){let s="",i=!0;for(let r=0;rtypeof t=="string"&&t.toLowerCase()==="svg",eu={useVisualState:Gi({scrapeMotionValuesFromProps:Wi,createRenderState:$i,onMount:(t,e,{renderState:n,latestValues:s})=>{V.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{rn(n,s,an(e.tagName),t.transformTemplate),_i(e,n)})}})},nu={useVisualState:Gi({scrapeMotionValuesFromProps:nn,createRenderState:sn})};function Hi(t,e,n){for(const s in e)!F(e[s])&&!Ki(s,n)&&(t[s]=e[s])}function su({transformTemplate:t},e){return S.useMemo(()=>{const n=sn();return on(n,e,t),Object.assign({},n.vars,n.style)},[e])}function iu(t,e){const n=t.style||{},s={};return Hi(s,n,t),Object.assign(s,su(t,e)),s}function ou(t,e){const n={},s=iu(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const ru=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Gt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ru.has(t)}let Xi=t=>!Gt(t);function au(t){t&&(Xi=e=>e.startsWith("on")?!Gt(e):t(e))}try{au(require("@emotion/is-prop-valid").default)}catch{}function lu(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Xi(i)||n===!0&&Gt(i)||!e&&!Gt(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function uu(t,e,n,s){const i=S.useMemo(()=>{const r=$i();return rn(r,e,an(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};Hi(r,t.style,t),i.style={...r,...i.style}}return i}function cu(t=!1){return(n,s,i,{latestValues:r},o)=>{const l=(en(n)?uu:ou)(s,r,o,n),u=lu(s,typeof n=="string",t),c=n!==S.Fragment?{...u,...l,ref:i}:{},{children:h}=s,f=S.useMemo(()=>F(h)?h.get():h,[h]);return S.createElement(n,{...c,children:f})}}function hu(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...en(s)?eu:nu,preloadedFeatures:t,useRender:cu(i),createVisualElement:e,Component:s};return Ul(o)}}const De={current:null},Yi={current:!1};function fu(){if(Yi.current=!0,!!tn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>De.current=t.matches;t.addListener(e),e()}else De.current=!1}function du(t,e,n){for(const s in e){const i=e[s],r=n[s];if(F(i))t.addValue(s,i);else if(F(r))t.addValue(s,wt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,wt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Ss=new WeakMap,mu=[...Us,L,q],pu=t=>mu.find(Ns(t)),As=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class gu{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=je,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=W.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Yi.current||fu(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:De.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ss.delete(this.current),this.projection&&this.projection.unmount(),Y(this.notifyUpdate),Y(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=st.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&V.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ft){const n=ft[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):M()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=wt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(ks(i)||Bs(i))?i=parseFloat(i):!pu(i)&&q.test(n)&&(i=Xs(e,n)),this.setBaseTarget(e,F(i)?i.get():i)),F(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const o=Me(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[e])}if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!F(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Ye),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class qi extends gu{constructor(){super(...arguments),this.KeyframeResolver=Ys}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;F(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yu(t){return window.getComputedStyle(t)}class vu extends qi{constructor(){super(...arguments),this.type="html",this.renderInstance=Ni}readValueFromInstance(e,n){if(st.has(n)){const s=Ue(n);return s&&s.default||0}else{const s=yu(e),i=(Is(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Si(e,n)}build(e,n,s){on(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return nn(e,n,s)}}class xu extends qi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=M}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(st.has(n)){const s=Ue(n);return s&&s.default||0}return n=Ui.has(n)?n:qe(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return Wi(e,n,s)}build(e,n,s){rn(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){_i(e,n,s,i)}mount(e){this.isSVGTag=an(e.tagName),super.mount(e)}}const Tu=(t,e)=>en(t)?new xu(e):new vu(e,{allowProjection:t!==S.Fragment}),Pu=hu({...ea,...Rl,...xl,...El},Tu),Cu=Ji(Pu);export{Cu as m}; +import{r as S,j as he}from"./index-0uNRiDMy.js";function Ji(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function $t(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const fe=t=>Array.isArray(t);function bs(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Me(t,e,n,s){if(typeof e=="function"){const[i,r]=cn(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=cn(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function zt(t,e,n){const s=t.getProps();return Me(s,e,n!==void 0?n:s.custom,t)}const Re=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ee=["initial",...Re],Ct=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],st=new Set(Ct),$=t=>t*1e3,z=t=>t/1e3,Qi={type:"spring",stiffness:500,damping:25,restSpeed:10},to=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),eo={type:"keyframes",duration:.8},no={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},so=(t,{keyframes:e})=>e.length>2?eo:st.has(t)?t.startsWith("scale")?to(e[1]):Qi:no;function Le(t,e){return t?t[e]||t.default||t:void 0}const io={skipAnimations:!1,useManualTiming:!1},oo=t=>t!==null;function Ht(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(oo),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return!r||s===void 0?i[r]:s}const j=t=>t;let de=j;function ro(t){let e=new Set,n=new Set,s=!1,i=!1;const r=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){r.has(u)&&(l.schedule(u),t()),u(o)}const l={schedule:(u,c=!1,h=!1)=>{const d=h&&s?e:n;return c&&r.add(u),d.has(u)||d.add(u),u},cancel:u=>{n.delete(u),r.delete(u)},process:u=>{if(o=u,s){i=!0;return}s=!0,[e,n]=[n,e],e.forEach(a),e.clear(),s=!1,i&&(i=!1,l.process(u))}};return l}const Lt=["read","resolveKeyframes","update","preRender","render","postRender"],ao=40;function ws(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=Lt.reduce((m,v)=>(m[v]=ro(r),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:f}=o,d=()=>{const m=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(m-i.timestamp,ao),1),i.timestamp=m,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(d))},p=()=>{n=!0,s=!0,i.isProcessing||t(d)};return{schedule:Lt.reduce((m,v)=>{const T=o[v];return m[v]=(b,P=!1,w=!1)=>(n||p(),T.schedule(b,P,w)),m},{}),cancel:m=>{for(let v=0;v(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,lo=1e-7,uo=12;function co(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=Vs(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>lo&&++aco(r,0,1,t,n);return r=>r===0||r===1?r:Vs(i(r),e,s)}const Cs=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ds=t=>e=>1-t(1-e),Ms=Dt(.33,1.53,.69,.99),Fe=Ds(Ms),Rs=Cs(Fe),Es=t=>(t*=2)<1?.5*Fe(t):.5*(2-Math.pow(2,-10*(t-1))),Be=t=>1-Math.sin(Math.acos(t)),Ls=Ds(Be),Fs=Cs(Be),Bs=t=>/^0[^.\s]+$/u.test(t);function ho(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Bs(t):!0}const ks=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),js=t=>e=>typeof e=="string"&&e.startsWith(t),Is=js("--"),fo=js("var(--"),ke=t=>fo(t)?mo.test(t.split("/*")[0].trim()):!1,mo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,po=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function go(t){const e=po.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Os(t,e,n=1){const[s,i]=go(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return ks(o)?parseFloat(o):o}return ke(i)?Os(i,e,n+1):i}const H=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},At={...dt,transform:t=>H(0,1,t)},Ft={...dt,default:1},Mt=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),X=Mt("deg"),K=Mt("%"),x=Mt("px"),yo=Mt("vh"),vo=Mt("vw"),hn={...K,parse:t=>K.parse(t)/100,transform:t=>K.transform(t*100)},xo=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),fn=t=>t===dt||t===x,dn=(t,e)=>parseFloat(t.split(", ")[e]),mn=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return dn(i[1],e);{const r=s.match(/^matrix\((.+)\)$/u);return r?dn(r[1],t):0}},To=new Set(["x","y","z"]),Po=Ct.filter(t=>!To.has(t));function So(t){const e=[];return Po.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ct={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:mn(4,13),y:mn(5,14)};ct.translateX=ct.x;ct.translateY=ct.y;const Ns=t=>e=>e.test(t),Ao={test:t=>t==="auto",parse:t=>t},Us=[dt,x,K,X,vo,yo,Ao],pn=t=>Us.find(Ns(t)),nt=new Set;let me=!1,pe=!1;function _s(){if(pe){const t=Array.from(nt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=So(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{var a;(a=s.getValue(r))===null||a===void 0||a.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}pe=!1,me=!1,nt.forEach(t=>t.complete()),nt.clear()}function Ks(){nt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(pe=!0)})}function bo(){Ks(),_s()}class je{constructor(e,n,s,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(nt.add(this),me||(me=!0,V.read(Ks),V.resolveKeyframes(_s))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let r=0;rMath.round(t*1e5)/1e5,Ie=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wo(t){return t==null}const Vo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Oe=(t,e)=>n=>!!(typeof n=="string"&&Vo.test(n)&&n.startsWith(t)||e&&!wo(n)&&Object.prototype.hasOwnProperty.call(n,e)),Ws=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Ie);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Co=t=>H(0,255,t),Qt={...dt,transform:t=>Math.round(Co(t))},et={test:Oe("rgb","red"),parse:Ws("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Qt.transform(t)+", "+Qt.transform(e)+", "+Qt.transform(n)+", "+vt(At.transform(s))+")"};function Do(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const ge={test:Oe("#"),parse:Do,transform:et.transform},ot={test:Oe("hsl","hue"),parse:Ws("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+K.transform(vt(e))+", "+K.transform(vt(n))+", "+vt(At.transform(s))+")"},L={test:t=>et.test(t)||ge.test(t)||ot.test(t),parse:t=>et.test(t)?et.parse(t):ot.test(t)?ot.parse(t):ge.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?et.transform(t):ot.transform(t)},Mo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ro(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Ie))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Mo))===null||n===void 0?void 0:n.length)||0)>0}const Gs="number",$s="color",Eo="var",Lo="var(",gn="${}",Fo=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function bt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(Fo,l=>(L.test(l)?(s.color.push(r),i.push($s),n.push(L.parse(l))):l.startsWith(Lo)?(s.var.push(r),i.push(Eo),n.push(l)):(s.number.push(r),i.push(Gs),n.push(parseFloat(l))),++r,gn)).split(gn);return{values:n,split:a,indexes:s,types:i}}function zs(t){return bt(t).values}function Hs(t){const{split:e,types:n}=bt(t),s=e.length;return i=>{let r="";for(let o=0;otypeof t=="number"?0:t;function ko(t){const e=zs(t);return Hs(t)(e.map(Bo))}const q={test:Ro,parse:zs,createTransformer:Hs,getAnimatableNone:ko},jo=new Set(["brightness","contrast","saturate","opacity"]);function Io(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Ie)||[];if(!s)return t;const i=n.replace(s,"");let r=jo.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Oo=/\b([a-z-]*)\(.*?\)/gu,ye={...q,getAnimatableNone:t=>{const e=t.match(Oo);return e?e.map(Io).join(" "):t}},No={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,backgroundPositionX:x,backgroundPositionY:x},Uo={rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:Ft,scaleX:Ft,scaleY:Ft,scaleZ:Ft,skew:X,skewX:X,skewY:X,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:At,originX:hn,originY:hn,originZ:x},yn={...dt,transform:Math.round},Ne={...No,...Uo,zIndex:yn,size:x,fillOpacity:At,strokeOpacity:At,numOctaves:yn},_o={...Ne,color:L,backgroundColor:L,outlineColor:L,fill:L,stroke:L,borderColor:L,borderTopColor:L,borderRightColor:L,borderBottomColor:L,borderLeftColor:L,filter:ye,WebkitFilter:ye},Ue=t=>_o[t];function Xs(t,e){let n=Ue(t);return n!==ye&&(n=q),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Ko=new Set(["auto","none","0"]);function Wo(t,e,n){let s=0,i;for(;s{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function _e(t){return typeof t=="function"}let kt;function Go(){kt=void 0}const W={now:()=>(kt===void 0&&W.set(E.isProcessing||io.useManualTiming?E.timestamp:performance.now()),kt),set:t=>{kt=t,queueMicrotask(Go)}},vn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(q.test(t)||t==="0")&&!t.startsWith("url("));function $o(t){const e=t[0];if(t.length===1)return!0;for(let n=0;nHo?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&bo(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=W.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:r,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!zo(e,s,i,r))if(o)this.options.duration=0;else{l==null||l(Ht(e,this.options,n)),a==null||a(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const ht=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Zs=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r{const c=u*o,h=c*t,f=c-n,d=ve(u,o),p=Math.exp(-h);return te-f/d*p},r=u=>{const h=u*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(u,2)*t,p=Math.exp(-h),g=ve(Math.pow(u,2),o);return(-i(u)+te>0?-1:1)*((f-d)*p)/g}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-te+c*h},r=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=Zo(i,r,a);if(t=$(t),isNaN(l))return{stiffness:D.stiffness,damping:D.damping,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const qo=12;function Zo(t,e,n){let s=n;for(let i=1;i=xe?1/0:e}const Jo=["duration","bounce"],Qo=["stiffness","damping","mass"];function xn(t,e){return e.some(n=>t[n]!==void 0)}function tr(t){let e={velocity:D.velocity,stiffness:D.stiffness,damping:D.damping,mass:D.mass,isResolvedFromDuration:!1,...t};if(!xn(t,Qo)&&xn(t,Jo))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*H(.05,1,1-t.bounce)*Math.sqrt(i);e={...e,mass:D.mass,stiffness:i,damping:r}}else{const n=Yo(t);e={...e,...n,mass:D.mass},e.isResolvedFromDuration=!0}return e}function ei(t=D.visualDuration,e=D.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:l,damping:u,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=tr({...n,velocity:-z(n.velocity||0)}),p=f||0,g=u/(2*Math.sqrt(l*c)),y=o-r,m=z(Math.sqrt(l/c)),v=Math.abs(y)<5;s||(s=v?D.restSpeed.granular:D.restSpeed.default),i||(i=v?D.restDelta.granular:D.restDelta.default);let T;if(g<1){const P=ve(m,g);T=w=>{const R=Math.exp(-g*m*w);return o-R*((p+g*m*y)/P*Math.sin(P*w)+y*Math.cos(P*w))}}else if(g===1)T=P=>o-Math.exp(-m*P)*(y+(p+m*y)*P);else{const P=m*Math.sqrt(g*g-1);T=w=>{const R=Math.exp(-g*m*w),A=Math.min(P*w,300);return o-R*((p+g*m*y)*Math.sinh(A)+P*y*Math.cosh(A))/P}}const b={calculatedDuration:d&&h||null,next:P=>{const w=T(P);if(d)a.done=P>=h;else{let R=0;g<1&&(R=P===0?$(p):Qs(T,P,w));const A=Math.abs(R)<=s,k=Math.abs(o-w)<=i;a.done=A&&k}return a.value=a.done?o:w,a},toString:()=>{const P=Math.min(ti(b),xe),w=Zs(R=>b.next(P*R).value,P,30);return P+"ms "+w}};return b}function Tn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=A=>a!==void 0&&Al,p=A=>a===void 0?l:l===void 0||Math.abs(a-A)-g*Math.exp(-A/s),T=A=>m+v(A),b=A=>{const k=v(A),O=T(A);f.done=Math.abs(k)<=u,f.value=f.done?m:O};let P,w;const R=A=>{d(f.value)&&(P=A,w=ei({keyframes:[f.value,p(f.value)],velocity:Qs(T,A,f.value),damping:i,stiffness:r,restDelta:u,restSpeed:c}))};return R(0),{calculatedDuration:null,next:A=>{let k=!1;return!w&&P===void 0&&(k=!0,b(A),R(A)),P!==void 0&&A>=P?w.next(A-P):(!k&&b(A),f)}}}const er=Dt(.42,0,1,1),nr=Dt(0,0,.58,1),ni=Dt(.42,0,.58,1),sr=t=>Array.isArray(t)&&typeof t[0]!="number",Ke=t=>Array.isArray(t)&&typeof t[0]=="number",Pn={linear:j,easeIn:er,easeInOut:ni,easeOut:nr,circIn:Be,circInOut:Fs,circOut:Ls,backIn:Fe,backInOut:Rs,backOut:Ms,anticipate:Es},Sn=t=>{if(Ke(t)){de(t.length===4);const[e,n,s,i]=t;return Dt(e,n,s,i)}else if(typeof t=="string")return de(Pn[t]!==void 0),Pn[t];return t},ir=(t,e)=>n=>e(t(n)),Rt=(...t)=>t.reduce(ir),C=(t,e,n)=>t+(e-t)*n;function ee(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function or({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=ee(l,a,t+1/3),r=ee(l,a,t),o=ee(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function Ot(t,e){return n=>n>0?e:t}const ne=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},rr=[ge,et,ot],ar=t=>rr.find(e=>e.test(t));function An(t){const e=ar(t);if(!e)return!1;let n=e.parse(t);return e===ot&&(n=or(n)),n}const bn=(t,e)=>{const n=An(t),s=An(e);if(!n||!s)return Ot(t,e);const i={...n};return r=>(i.red=ne(n.red,s.red,r),i.green=ne(n.green,s.green,r),i.blue=ne(n.blue,s.blue,r),i.alpha=C(n.alpha,s.alpha,r),et.transform(i))},Te=new Set(["none","hidden"]);function lr(t,e){return Te.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ur(t,e){return n=>C(t,e,n)}function We(t){return typeof t=="number"?ur:typeof t=="string"?ke(t)?Ot:L.test(t)?bn:fr:Array.isArray(t)?si:typeof t=="object"?L.test(t)?bn:cr:Ot}function si(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>We(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function hr(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let r=0;r{const n=q.createTransformer(e),s=bt(t),i=bt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Te.has(t)&&!i.values.length||Te.has(e)&&!s.values.length?lr(t,e):Rt(si(hr(s,i),i.values),n):Ot(t,e)};function ii(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?C(t,e,n):We(t)(t,e)}function dr(t,e,n){const s=[],i=n||ii,r=t.length-1;for(let o=0;oe[0];if(r===2&&t[0]===t[1])return()=>e[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=dr(e,s,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(H(t[0],t[r-1],u)):l}function pr(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=ht(0,e,s);t.push(C(n,1,i))}}function gr(t){const e=[0];return pr(e,t.length-1),e}function yr(t,e){return t.map(n=>n*e)}function vr(t,e){return t.map(()=>e||ni).splice(0,t.length-1)}function Nt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=sr(s)?s.map(Sn):Sn(s),r={done:!1,value:e[0]},o=yr(n&&n.length===e.length?n:gr(e),t),a=mr(o,e,{ease:Array.isArray(i)?i:vr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const xr=t=>{const e=({timestamp:n})=>t(n);return{start:()=>V.update(e,!0),stop:()=>Y(e),now:()=>E.isProcessing?E.timestamp:W.now()}},Tr={decay:Tn,inertia:Tn,tween:Nt,keyframes:Nt,spring:ei},Pr=t=>t/100;class Ge extends qs{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:s,element:i,keyframes:r}=this.options,o=(i==null?void 0:i.KeyframeResolver)||je,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(r,a,n,s,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=this.options,a=_e(n)?n:Tr[n]||Nt;let l,u;a!==Nt&&typeof e[0]!="number"&&(l=Rt(Pr,ii(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=ti(c));const{calculatedDuration:h}=c,f=h+i,d=f*(s+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:f,totalDuration:d}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:h}=s;if(this.startTime===null)return r.next(0);const{delay:f,repeat:d,repeatType:p,repeatDelay:g,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const m=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let T=this.currentTime,b=r;if(d){const A=Math.min(this.currentTime,c)/h;let k=Math.floor(A),O=A%1;!O&&A>=1&&(O=1),O===1&&k--,k=Math.min(k,d+1),!!(k%2)&&(p==="reverse"?(O=1-O,g&&(O-=g/h)):p==="mirror"&&(b=o)),T=H(0,1,O)*h}const P=v?{done:!1,value:l[0]}:b.next(T);a&&(P.value=a(P.value));let{done:w}=P;!v&&u!==null&&(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&w);return R&&i!==void 0&&(P.value=Ht(l,this.options,i)),y&&y(P.value),R&&this.finish(),P}get duration(){const{resolved:e}=this;return e?z(e.calculatedDuration):0}get time(){return z(this.currentTime)}set time(e){e=$(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=z(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=xr,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Sr=new Set(["opacity","clipPath","filter","transform"]);function $e(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ar={linearEasing:void 0};function br(t,e){const n=$e(t);return()=>{var s;return(s=Ar[e])!==null&&s!==void 0?s:n()}}const Ut=br(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function oi(t){return!!(typeof t=="function"&&Ut()||!t||typeof t=="string"&&(t in Pe||Ut())||Ke(t)||Array.isArray(t)&&t.every(oi))}const pt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Pe={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pt([0,.65,.55,1]),circOut:pt([.55,0,1,.45]),backIn:pt([.31,.01,.66,-.59]),backOut:pt([.33,1.53,.69,.99])};function ri(t,e){if(t)return typeof t=="function"&&Ut()?Zs(t,e):Ke(t)?pt(t):Array.isArray(t)?t.map(n=>ri(n,e)||Pe.easeOut):Pe[t]}function wr(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=ri(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}function wn(t,e){t.timeline=e,t.onfinish=null}const Vr=$e(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),_t=10,Cr=2e4;function Dr(t){return _e(t.type)||t.type==="spring"||!oi(t.ease)}function Mr(t,e){const n=new Ge({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let r=0;for(;!s.done&&rthis.onKeyframesResolved(o,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){var s;let{duration:i=300,times:r,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(typeof o=="string"&&Ut()&&Rr(o)&&(o=ai[o]),Dr(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:g,...y}=this.options,m=Mr(e,y);e=m.keyframes,e.length===1&&(e[1]=e[0]),i=m.duration,r=m.times,o=m.ease,a="keyframes"}const h=wr(l.owner.current,u,e,{...this.options,duration:i,times:r,ease:o});return h.startTime=c??this.calcStartTime(),this.pendingTimeline?(wn(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:f}=this.options;l.set(Ht(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:r,type:a,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return z(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return z(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=$(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return j;const{animation:s}=n;wn(s,e)}return j}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:r,ease:o,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:h,element:f,...d}=this.options,p=new Ge({...d,keyframes:s,duration:i,type:r,ease:o,times:a,isGenerator:!0}),g=$(this.time);u.setWithVelocity(p.sample(g-_t).value,p.sample(g).value,_t)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:r,damping:o,type:a}=e;return Vr()&&s&&Sr.has(s)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}}const Er=$e(()=>window.ScrollTimeline!==void 0);class Lr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;sEr()&&i.attachTimeline?i.attachTimeline(e):n(i));return()=>{s.forEach((i,r)=>{i&&i(),this.animations[r].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;nn[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Fr({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const ze=(t,e,n,s={},i,r)=>o=>{const a=Le(s,t)||{},l=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-$(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Fr(a)||(c={...c,...so(t,c)}),c.duration&&(c.duration=$(c.duration)),c.repeatDelay&&(c.repeatDelay=$(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(h=!0)),h&&!r&&e.get()!==void 0){const f=Ht(c.keyframes,a);if(f!==void 0)return V.update(()=>{c.onUpdate(f),c.onComplete()}),new Lr([])}return!r&&Vn.supports(c)?new Vn(c):new Ge(c)},Br=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),kr=t=>fe(t)?t[t.length-1]||0:t;function He(t,e){t.indexOf(e)===-1&&t.push(e)}function Xe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Ye{constructor(){this.subscriptions=[]}add(e){return He(this.subscriptions,e),()=>Xe(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r!isNaN(parseFloat(t));class Ir{constructor(e,n={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const r=W.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=W.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new Ye);const s=this.events[e].add(n);return e==="change"?()=>{s(),V.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=W.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Cn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Cn);return Js(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wt(t,e){return new Ir(t,e)}function Or(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,wt(n))}function Nr(t,e){const n=zt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=kr(r[o]);Or(t,o,a)}}const qe=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ur="framerAppearId",li="data-"+qe(Ur);function ui(t){return t.props[li]}const F=t=>!!(t&&t.getVelocity);function _r(t){return!!(F(t)&&t.add)}function Se(t,e){const n=t.getValue("willChange");if(_r(n))return n.add(e)}function Kr({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function ci(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(o=s);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const h in l){const f=t.getValue(h,(r=t.latestValues[h])!==null&&r!==void 0?r:null),d=l[h];if(d===void 0||c&&Kr(c,h))continue;const p={delay:n,...Le(o||{},h)};let g=!1;if(window.MotionHandoffAnimation){const m=ui(t);if(m){const v=window.MotionHandoffAnimation(m,h,V);v!==null&&(p.startTime=v,g=!0)}}Se(t,h),f.start(ze(h,f,d,t.shouldReduceMotion&&st.has(h)?{type:!1}:p,t,g));const y=f.animation;y&&u.push(y)}return a&&Promise.all(u).then(()=>{V.update(()=>{a&&Nr(t,a)})}),u}function Ae(t,e,n={}){var s;const i=zt(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(ci(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:h,staggerDirection:f}=r;return Wr(t,e,c+u,h,f,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Wr(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,l=i===1?(u=0)=>u*s:(u=0)=>a-u*s;return Array.from(t.variantChildren).sort(Gr).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Ae(u,e,{...r,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function Gr(t,e){return t.sortNodePosition(e)}function $r(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Ae(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Ae(t,e,n);else{const i=typeof e=="function"?zt(t,e,n.custom):e;s=Promise.all(ci(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const zr=Ee.length;function hi(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?hi(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>$r(t,n,s)))}function qr(t){let e=Yr(t),n=Dn(),s=!0;const i=l=>(u,c)=>{var h;const f=zt(t,c,l==="exit"?(h=t.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(f){const{transition:d,transitionEnd:p,...g}=f;u={...u,...g,...p}}return u};function r(l){e=l(t)}function o(l){const{props:u}=t,c=hi(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let y=0;yp&&b,k=!1;const O=Array.isArray(T)?T:[T];let it=O.reduce(i(m),{});P===!1&&(it={});const{prevResolvedValues:ln={}}=v,Zi={...ln,...it},un=B=>{A=!0,f.has(B)&&(k=!0,f.delete(B)),v.needsAnimating[B]=!0;const G=t.getValue(B);G&&(G.liveStyle=!1)};for(const B in Zi){const G=it[B],qt=ln[B];if(d.hasOwnProperty(B))continue;let Zt=!1;fe(G)&&fe(qt)?Zt=!bs(G,qt):Zt=G!==qt,Zt?G!=null?un(B):f.add(B):G!==void 0&&f.has(B)?un(B):v.protectedKeys[B]=!0}v.prevProp=T,v.prevResolvedValues=it,v.isActive&&(d={...d,...it}),s&&t.blockInitialAnimation&&(A=!1),A&&(!(w&&R)||k)&&h.push(...O.map(B=>({animation:B,options:{type:m}})))}if(f.size){const y={};f.forEach(m=>{const v=t.getBaseTarget(m),T=t.getValue(m);T&&(T.liveStyle=!0),y[m]=v??null}),h.push({animation:y})}let g=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(g=!1),s=!1,g?e(h):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,u)}),n[l].isActive=u;const h=o(l);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=Dn(),s=!0}}}function Zr(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!bs(e,t):!1}function J(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Dn(){return{animate:J(!0),whileInView:J(),whileHover:J(),whileTap:J(),whileDrag:J(),whileFocus:J(),exit:J()}}class Z{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Jr extends Z{constructor(e){super(e),e.animationState||(e.animationState=qr(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();$t(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let Qr=0;class ta extends Z{constructor(){super(...arguments),this.id=Qr++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const ea={animation:{Feature:Jr},exit:{Feature:ta}},_={x:!1,y:!1};function fi(){return _.x||_.y}function na(t,e,n){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let i=document;const r=(s=void 0)!==null&&s!==void 0?s:i.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}function di(t,e){const n=na(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Mn(t){return e=>{e.pointerType==="touch"||fi()||t(e)}}function sa(t,e,n={}){const[s,i,r]=di(t,n),o=Mn(a=>{const{target:l}=a,u=e(a);if(!u||!l)return;const c=Mn(h=>{u(h),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,i)});return s.forEach(a=>{a.addEventListener("pointerenter",o,i)}),r}const Ze=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,gt=new WeakSet;function Rn(t){return e=>{e.key==="Enter"&&t(e)}}function se(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const ia=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Rn(()=>{if(gt.has(n))return;se(n,"down");const i=Rn(()=>{se(n,"up")}),r=()=>se(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)},oa=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ra(t){return oa.has(t.tagName)||t.tabIndex!==-1}const mi=(t,e)=>e?t===e?!0:mi(t,e.parentElement):!1;function En(t){return Ze(t)&&!fi()}function aa(t,e,n={}){const[s,i,r]=di(t,n),o=a=>{const l=a.currentTarget;if(!En(a)||gt.has(l))return;gt.add(l);const u=e(a),c=(d,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),!(!En(d)||!gt.has(l))&&(gt.delete(l),u&&u(d,{success:p}))},h=d=>{c(d,n.useGlobalTarget||mi(l,d.target))},f=d=>{c(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{ra(a)||(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),a.addEventListener("focus",u=>ia(u,i),i)}),r}function la(t){return t==="x"||t==="y"?_[t]?null:(_[t]=!0,()=>{_[t]=!1}):_.x||_.y?null:(_.x=_.y=!0,()=>{_.x=_.y=!1})}function Et(t){return{point:{x:t.pageX,y:t.pageY}}}const ua=t=>e=>Ze(e)&&t(e,Et(e));function Vt(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function xt(t,e,n,s){return Vt(t,e,ua(n),s)}const Ln=(t,e)=>Math.abs(t-e);function ca(t,e){const n=Ln(t.x,e.x),s=Ln(t.y,e.y);return Math.sqrt(n**2+s**2)}class pi{constructor(e,n,{transformPagePoint:s,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=oe(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=ca(h.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:p}=h,{timestamp:g}=E;this.history.push({...p,timestamp:g});const{onStart:y,onMove:m}=this.handlers;f||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,h)},this.handlePointerMove=(h,f)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=ie(f,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(h,f)=>{this.end();const{onEnd:d,onSessionEnd:p,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=oe(h.type==="pointercancel"?this.lastMoveEventInfo:ie(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(h,y),p&&p(h,y)},!Ze(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const o=Et(e),a=ie(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=E;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,oe(a,this.history)),this.removeListeners=Rt(xt(this.contextWindow,"pointermove",this.handlePointerMove),xt(this.contextWindow,"pointerup",this.handlePointerUp),xt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Y(this.updatePoint)}}function ie(t,e){return e?{point:e(t.point)}:t}function Fn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function oe({point:t},e){return{point:t,delta:Fn(t,gi(e)),offset:Fn(t,ha(e)),velocity:fa(e,.1)}}function ha(t){return t[0]}function gi(t){return t[t.length-1]}function fa(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=gi(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>$(e)));)n--;if(!s)return{x:0,y:0};const r=z(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function rt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const yi=1e-4,da=1-yi,ma=1+yi,vi=.01,pa=0-vi,ga=0+vi;function I(t){return t.max-t.min}function ya(t,e,n){return Math.abs(t-e)<=n}function Bn(t,e,n,s=.5){t.origin=s,t.originPoint=C(e.min,e.max,t.origin),t.scale=I(n)/I(e),t.translate=C(n.min,n.max,t.origin)-t.originPoint,(t.scale>=da&&t.scale<=ma||isNaN(t.scale))&&(t.scale=1),(t.translate>=pa&&t.translate<=ga||isNaN(t.translate))&&(t.translate=0)}function Tt(t,e,n,s){Bn(t.x,e.x,n.x,s?s.originX:void 0),Bn(t.y,e.y,n.y,s?s.originY:void 0)}function kn(t,e,n){t.min=n.min+e.min,t.max=t.min+I(e)}function va(t,e,n){kn(t.x,e.x,n.x),kn(t.y,e.y,n.y)}function jn(t,e,n){t.min=e.min-n.min,t.max=t.min+I(e)}function Pt(t,e,n){jn(t.x,e.x,n.x),jn(t.y,e.y,n.y)}function xa(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?C(n,t,s.max):Math.min(t,n)),t}function In(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Ta(t,{top:e,left:n,bottom:s,right:i}){return{x:In(t.x,n,i),y:In(t.y,e,s)}}function On(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ht(e.min,e.max-s,t.min):s>i&&(n=ht(t.min,t.max-i,e.min)),H(0,1,n)}function Aa(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const be=.35;function ba(t=be){return t===!1?t=0:t===!0&&(t=be),{x:Nn(t,"left","right"),y:Nn(t,"top","bottom")}}function Nn(t,e,n){return{min:Un(t,e),max:Un(t,n)}}function Un(t,e){return typeof t=="number"?t:t[e]||0}const _n=()=>({translate:0,scale:1,origin:0,originPoint:0}),at=()=>({x:_n(),y:_n()}),Kn=()=>({min:0,max:0}),M=()=>({x:Kn(),y:Kn()});function U(t){return[t("x"),t("y")]}function xi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function wa({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Va(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function re(t){return t===void 0||t===1}function we({scale:t,scaleX:e,scaleY:n}){return!re(t)||!re(e)||!re(n)}function Q(t){return we(t)||Ti(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Ti(t){return Wn(t.x)||Wn(t.y)}function Wn(t){return t&&t!=="0%"}function Kt(t,e,n){const s=t-n,i=e*s;return n+i}function Gn(t,e,n,s,i){return i!==void 0&&(t=Kt(t,i,s)),Kt(t,n,s)+e}function Ve(t,e=0,n=1,s,i){t.min=Gn(t.min,e,n,s,i),t.max=Gn(t.max,e,n,s,i)}function Pi(t,{x:e,y:n}){Ve(t.x,e.translate,e.scale,e.originPoint),Ve(t.y,n.translate,n.scale,n.originPoint)}const $n=.999999999999,zn=1.0000000000001;function Ca(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;a$n&&(e.x=1),e.y$n&&(e.y=1)}function lt(t,e){t.min=t.min+e,t.max=t.max+e}function Hn(t,e,n,s,i=.5){const r=C(t.min,t.max,i);Ve(t,e,n,r,s)}function ut(t,e){Hn(t.x,e.x,e.scaleX,e.scale,e.originX),Hn(t.y,e.y,e.scaleY,e.scale,e.originY)}function Si(t,e){return xi(Va(t.getBoundingClientRect(),e))}function Da(t,e,n){const s=Si(t,n),{scroll:i}=e;return i&&(lt(s.x,i.offset.x),lt(s.y,i.offset.y)),s}const Ai=({current:t})=>t?t.ownerDocument.defaultView:null,Ma=new WeakMap;class Ra{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=M(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Et(c).point)},r=(c,h)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=la(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),U(y=>{let m=this.getAxisMotionValue(y).get()||0;if(K.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const T=v.layout.layoutBox[y];T&&(m=I(T)*(parseFloat(m)/100))}}this.originPoint[y]=m}),p&&V.postRender(()=>p(c,h)),Se(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,h)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:g}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:y}=h;if(d&&this.currentDirection===null){this.currentDirection=Ea(y),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),g&&g(c,h)},a=(c,h)=>this.stop(c,h),l=()=>U(c=>{var h;return this.getAnimationState(c)==="paused"&&((h=this.getAxisMotionValue(c).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new pi(e,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Ai(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&V.postRender(()=>r(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Bt(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=xa(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,r=this.constraints;n&&rt(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=Ta(i.layoutBox,n):this.constraints=!1,this.elastic=ba(s),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&U(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Aa(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!rt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Da(s,i.root,this.visualElement.getTransformPagePoint());let o=Pa(i.layout.layoutBox,r);if(n){const a=n(wa(o));this.hasMutatedConstraints=!!a,a&&(o=xi(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=U(c=>{if(!Bt(c,n,this.currentDirection))return;let h=l&&l[c]||{};o&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Se(this.visualElement,e),s.start(ze(e,s,0,n,this.visualElement,!1))}stopAnimation(){U(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){U(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){U(n=>{const{drag:s}=this.getProps();if(!Bt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-C(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!rt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};U(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=Sa({min:l,max:l},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),U(o=>{if(!Bt(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(C(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Ma.set(this.visualElement,this);const e=this.visualElement.current,n=xt(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();rt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.read(s);const o=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(U(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=be,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Bt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Ea(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class La extends Z{constructor(e){super(e),this.removeGroupControls=j,this.removeListeners=j,this.controls=new Ra(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||j}unmount(){this.removeGroupControls(),this.removeListeners()}}const Xn=t=>(e,n)=>{t&&V.postRender(()=>t(e,n))};class Fa extends Z{constructor(){super(...arguments),this.removePointerDownListener=j}onPointerDown(e){this.session=new pi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ai(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Xn(e),onStart:Xn(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&V.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=xt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Je=S.createContext(null);function Ba(){const t=S.useContext(Je);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=S.useId();S.useEffect(()=>s(i),[]);const r=S.useCallback(()=>n&&n(i),[i,n]);return!e&&n?[!1,r]:[!0]}const bi=S.createContext({}),wi=S.createContext({}),jt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Yn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const mt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(x.test(t))t=parseFloat(t);else return t;const n=Yn(t,e.target.x),s=Yn(t,e.target.y);return`${n}% ${s}%`}},ka={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=q.parse(t);if(i.length>5)return s;const r=q.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const u=C(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},Wt={};function ja(t){Object.assign(Wt,t)}const{schedule:Qe,cancel:wu}=ws(queueMicrotask,!1);class Ia extends S.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;ja(Oa),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),jt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||V.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Qe.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Vi(t){const[e,n]=Ba(),s=S.useContext(bi);return he.jsx(Ia,{...t,layoutGroup:s,switchLayoutGroup:S.useContext(wi),isPresent:e,safeToRemove:n})}const Oa={borderRadius:{...mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomLeftRadius:mt,borderBottomRightRadius:mt,boxShadow:ka},Ci=["TopLeft","TopRight","BottomLeft","BottomRight"],Na=Ci.length,qn=t=>typeof t=="string"?parseFloat(t):t,Zn=t=>typeof t=="number"||x.test(t);function Ua(t,e,n,s,i,r){i?(t.opacity=C(0,n.opacity!==void 0?n.opacity:1,_a(s)),t.opacityExit=C(e.opacity!==void 0?e.opacity:1,0,Ka(s))):r&&(t.opacity=C(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ose?1:n(ht(t,e,s))}function Qn(t,e){t.min=e.min,t.max=e.max}function N(t,e){Qn(t.x,e.x),Qn(t.y,e.y)}function ts(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function es(t,e,n,s,i){return t-=e,t=Kt(t,1/n,s),i!==void 0&&(t=Kt(t,1/i,s)),t}function Wa(t,e=0,n=1,s=.5,i,r=t,o=t){if(K.test(e)&&(e=parseFloat(e),e=C(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=C(r.min,r.max,s);t===r&&(a-=e),t.min=es(t.min,e,n,a,i),t.max=es(t.max,e,n,a,i)}function ns(t,e,[n,s,i],r,o){Wa(t,e[n],e[s],e[i],e.scale,r,o)}const Ga=["x","scaleX","originX"],$a=["y","scaleY","originY"];function ss(t,e,n,s){ns(t.x,e,Ga,n?n.x:void 0,s?s.x:void 0),ns(t.y,e,$a,n?n.y:void 0,s?s.y:void 0)}function is(t){return t.translate===0&&t.scale===1}function Mi(t){return is(t.x)&&is(t.y)}function os(t,e){return t.min===e.min&&t.max===e.max}function za(t,e){return os(t.x,e.x)&&os(t.y,e.y)}function rs(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ri(t,e){return rs(t.x,e.x)&&rs(t.y,e.y)}function as(t){return I(t.x)/I(t.y)}function ls(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Ha{constructor(){this.members=[]}add(e){He(this.members,e),e.scheduleRender()}remove(e){if(Xe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Xa(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;u&&(s=`perspective(${u}px) ${s}`),c&&(s+=`rotate(${c}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const Ya=(t,e)=>t.depth-e.depth;class qa{constructor(){this.children=[],this.isDirty=!1}add(e){He(this.children,e),this.isDirty=!0}remove(e){Xe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ya),this.isDirty=!1,this.children.forEach(e)}}function It(t){const e=F(t)?t.get():t;return Br(e)?e.toValue():e}function Za(t,e){const n=W.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(Y(s),t(r-e))};return V.read(s,!0),()=>Y(s)}function Ja(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Qa(t,e,n){const s=F(t)?t:wt(t);return s.start(ze("",s,e,n)),s.animation}const tt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},yt=typeof window<"u"&&window.MotionDebug!==void 0,ae=["","X","Y","Z"],tl={visibility:"hidden"},us=1e3;let el=0;function le(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Ei(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=ui(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Ei(s)}function Li({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e==null?void 0:e()){this.id=el++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yt&&(tt.totalNodes=tt.resolvedTargetDeltas=tt.recalculatedProjection=0),this.nodes.forEach(il),this.nodes.forEach(ul),this.nodes.forEach(cl),this.nodes.forEach(ol),yt&&window.MotionDebug.record(tt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=Za(f,250),jt.hasAnimatedSinceResize&&(jt.hasAnimatedSinceResize=!1,this.nodes.forEach(hs))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||pl,{onLayoutAnimationStart:y,onLayoutAnimationComplete:m}=c.getProps(),v=!this.targetLayout||!Ri(this.targetLayout,p)||d,T=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,T);const b={...Le(g,"layout"),onPlay:y,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||hs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Y(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hl),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ei(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const P=b/1e3;fs(h.x,o.x,P),fs(h.y,o.y,P),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Pt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),dl(this.relativeTarget,this.relativeTargetOrigin,f,P),T&&za(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=M()),N(T,this.relativeTarget)),g&&(this.animationValues=c,Ua(c,u,this.latestValues,P,v,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{jt.hasAnimatedSinceResize=!0,this.currentAnimation=Qa(0,us,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(us),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&Fi(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||M();const h=I(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=I(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}N(a,l),ut(a,c),Tt(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Ha),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&le("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(cs),this.root.sharedNodes.clear()}}}function nl(t){t.updateLayout()}function sl(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;r==="size"?U(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=I(f);f.min=s[h].min,f.max=f.min+d}):Fi(r,n.layoutBox,s)&&U(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=I(s[h]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+d)});const a=at();Tt(a,s,n.layoutBox);const l=at();o?Tt(l,t.applyTransform(i,!0),n.measuredBox):Tt(l,s,n.layoutBox);const u=!Mi(a);let c=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:d}=h;if(f&&d){const p=M();Pt(p,n.layoutBox,f.layoutBox);const g=M();Pt(g,s,d.layoutBox),Ri(p,g)||(c=!0),h.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=p,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function il(t){yt&&tt.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function ol(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rl(t){t.clearSnapshot()}function cs(t){t.clearMeasurements()}function al(t){t.isLayoutDirty=!1}function ll(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function hs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ul(t){t.resolveTargetDelta()}function cl(t){t.calcProjection()}function hl(t){t.resetSkewAndRotation()}function fl(t){t.removeLeadSnapshot()}function fs(t,e,n){t.translate=C(e.translate,0,n),t.scale=C(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ds(t,e,n,s){t.min=C(e.min,n.min,s),t.max=C(e.max,n.max,s)}function dl(t,e,n,s){ds(t.x,e.x,n.x,s),ds(t.y,e.y,n.y,s)}function ml(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const pl={duration:.45,ease:[.4,0,.1,1]},ms=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ps=ms("applewebkit/")&&!ms("chrome/")?Math.round:j;function gs(t){t.min=ps(t.min),t.max=ps(t.max)}function gl(t){gs(t.x),gs(t.y)}function Fi(t,e,n){return t==="position"||t==="preserve-aspect"&&!ya(as(e),as(n),.2)}function yl(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const vl=Li({attachResizeListener:(t,e)=>Vt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ue={current:void 0},Bi=Li({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ue.current){const t=new vl({});t.mount(window),t.setOptions({layoutScroll:!0}),ue.current=t}return ue.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),xl={pan:{Feature:Fa},drag:{Feature:La,ProjectionNode:Bi,MeasureLayout:Vi}};function ys(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&V.postRender(()=>r(e,Et(e)))}class Tl extends Z{mount(){const{current:e}=this.node;e&&(this.unmount=sa(e,n=>(ys(this.node,n,"Start"),s=>ys(this.node,s,"End"))))}unmount(){}}class Pl extends Z{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Rt(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function vs(t,e,n){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&V.postRender(()=>r(e,Et(e)))}class Sl extends Z{mount(){const{current:e}=this.node;e&&(this.unmount=aa(e,n=>(vs(this.node,n,"Start"),(s,{success:i})=>vs(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ce=new WeakMap,ce=new WeakMap,Al=t=>{const e=Ce.get(t.target);e&&e(t)},bl=t=>{t.forEach(Al)};function wl({root:t,...e}){const n=t||document;ce.has(n)||ce.set(n,{});const s=ce.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(bl,{root:t,...e})),s[i]}function Vl(t,e,n){const s=wl(e);return Ce.set(t,n),s.observe(t),()=>{Ce.delete(t),s.unobserve(t)}}const Cl={some:0,all:1};class Dl extends Z{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Cl[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=u?c:h;f&&f(l)};return Vl(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(Ml(e,n))&&this.startObserver()}unmount(){}}function Ml({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Rl={inView:{Feature:Dl},tap:{Feature:Sl},focus:{Feature:Pl},hover:{Feature:Tl}},El={layout:{ProjectionNode:Bi,MeasureLayout:Vi}},ki=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Xt=S.createContext({}),tn=typeof window<"u",Ll=tn?S.useLayoutEffect:S.useEffect,ji=S.createContext({strict:!1});function Fl(t,e,n,s,i){var r,o;const{visualElement:a}=S.useContext(Xt),l=S.useContext(ji),u=S.useContext(Je),c=S.useContext(ki).reducedMotion,h=S.useRef(null);s=s||l.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=h.current,d=S.useContext(wi);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&Bl(h.current,n,i,d);const p=S.useRef(!1);S.useInsertionEffect(()=>{f&&p.current&&f.update(n,u)});const g=n[li],y=S.useRef(!!g&&!(!((r=window.MotionHandoffIsComplete)===null||r===void 0)&&r.call(window,g))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,g)));return Ll(()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),Qe.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),S.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,g)}),y.current=!1))}),f}function Bl(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ii(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&rt(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}function Ii(t){if(t)return t.options.allowProjection!==!1?t.projection:Ii(t.parent)}function kl(t,e,n){return S.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):rt(n)&&(n.current=s))},[e])}function Yt(t){return $t(t.animate)||Ee.some(e=>St(t[e]))}function Oi(t){return!!(Yt(t)||t.variants)}function jl(t,e){if(Yt(t)){const{initial:n,animate:s}=t;return{initial:n===!1||St(n)?n:void 0,animate:St(s)?s:void 0}}return t.inherit!==!1?e:{}}function Il(t){const{initial:e,animate:n}=jl(t,S.useContext(Xt));return S.useMemo(()=>({initial:e,animate:n}),[xs(e),xs(n)])}function xs(t){return Array.isArray(t)?t.join(" "):t}const Ts={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ft={};for(const t in Ts)ft[t]={isEnabled:e=>Ts[t].some(n=>!!e[n])};function Ol(t){for(const e in t)ft[e]={...ft[e],...t[e]}}const Nl=Symbol.for("motionComponentSymbol");function Ul({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&Ol(t);function r(a,l){let u;const c={...S.useContext(ki),...a,layoutId:_l(a)},{isStatic:h}=c,f=Il(a),d=s(a,h);if(!h&&tn){Kl();const p=Wl(c);u=p.MeasureLayout,f.visualElement=Fl(i,d,c,e,p.ProjectionNode)}return he.jsxs(Xt.Provider,{value:f,children:[u&&f.visualElement?he.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,kl(d,f.visualElement,l),d,h,f.visualElement)]})}const o=S.forwardRef(r);return o[Nl]=i,o}function _l({layoutId:t}){const e=S.useContext(bi).id;return e&&t!==void 0?e+"-"+t:t}function Kl(t,e){S.useContext(ji).strict}function Wl(t){const{drag:e,layout:n}=ft;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Gl=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function en(t){return typeof t!="string"||t.includes("-")?!1:!!(Gl.indexOf(t)>-1||/[A-Z]/u.test(t))}function Ni(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const Ui=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _i(t,e,n,s){Ni(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(Ui.has(i)?i:qe(i),e.attrs[i])}function Ki(t,{layout:e,layoutId:n}){return st.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Wt[t]||t==="opacity")}function nn(t,e,n){var s;const{style:i}=t,r={};for(const o in i)(F(i[o])||e.style&&F(e.style[o])||Ki(o,t)||((s=n==null?void 0:n.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(r[o]=i[o]);return r}function Wi(t,e,n){const s=nn(t,e,n);for(const i in t)if(F(t[i])||F(e[i])){const r=Ct.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}function $l(t){const e=S.useRef(null);return e.current===null&&(e.current=t()),e.current}function zl({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:Hl(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const Gi=t=>(e,n)=>{const s=S.useContext(Xt),i=S.useContext(Je),r=()=>zl(t,e,s,i);return n?r():$l(r)};function Hl(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=It(r[f]);let{initial:o,animate:a}=t;const l=Yt(t),u=Oi(t);e&&u&&!l&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const h=c?a:o;if(h&&typeof h!="boolean"&&!$t(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d({style:{},transform:{},transformOrigin:{},vars:{}}),$i=()=>({...sn(),attrs:{}}),zi=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Xl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yl=Ct.length;function ql(t,e,n){let s="",i=!0;for(let r=0;rtypeof t=="string"&&t.toLowerCase()==="svg",eu={useVisualState:Gi({scrapeMotionValuesFromProps:Wi,createRenderState:$i,onMount:(t,e,{renderState:n,latestValues:s})=>{V.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{rn(n,s,an(e.tagName),t.transformTemplate),_i(e,n)})}})},nu={useVisualState:Gi({scrapeMotionValuesFromProps:nn,createRenderState:sn})};function Hi(t,e,n){for(const s in e)!F(e[s])&&!Ki(s,n)&&(t[s]=e[s])}function su({transformTemplate:t},e){return S.useMemo(()=>{const n=sn();return on(n,e,t),Object.assign({},n.vars,n.style)},[e])}function iu(t,e){const n=t.style||{},s={};return Hi(s,n,t),Object.assign(s,su(t,e)),s}function ou(t,e){const n={},s=iu(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const ru=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Gt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ru.has(t)}let Xi=t=>!Gt(t);function au(t){t&&(Xi=e=>e.startsWith("on")?!Gt(e):t(e))}try{au(require("@emotion/is-prop-valid").default)}catch{}function lu(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Xi(i)||n===!0&&Gt(i)||!e&&!Gt(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function uu(t,e,n,s){const i=S.useMemo(()=>{const r=$i();return rn(r,e,an(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};Hi(r,t.style,t),i.style={...r,...i.style}}return i}function cu(t=!1){return(n,s,i,{latestValues:r},o)=>{const l=(en(n)?uu:ou)(s,r,o,n),u=lu(s,typeof n=="string",t),c=n!==S.Fragment?{...u,...l,ref:i}:{},{children:h}=s,f=S.useMemo(()=>F(h)?h.get():h,[h]);return S.createElement(n,{...c,children:f})}}function hu(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...en(s)?eu:nu,preloadedFeatures:t,useRender:cu(i),createVisualElement:e,Component:s};return Ul(o)}}const De={current:null},Yi={current:!1};function fu(){if(Yi.current=!0,!!tn)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>De.current=t.matches;t.addListener(e),e()}else De.current=!1}function du(t,e,n){for(const s in e){const i=e[s],r=n[s];if(F(i))t.addValue(s,i);else if(F(r))t.addValue(s,wt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,wt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const Ss=new WeakMap,mu=[...Us,L,q],pu=t=>mu.find(Ns(t)),As=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class gu{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=je,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=W.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Yi.current||fu(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:De.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ss.delete(this.current),this.projection&&this.projection.unmount(),Y(this.notifyUpdate),Y(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=st.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&V.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in ft){const n=ft[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):M()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=wt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(ks(i)||Bs(i))?i=parseFloat(i):!pu(i)&&q.test(n)&&(i=Xs(e,n)),this.setBaseTarget(e,F(i)?i.get():i)),F(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const o=Me(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[e])}if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!F(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new Ye),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class qi extends gu{constructor(){super(...arguments),this.KeyframeResolver=Ys}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;F(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yu(t){return window.getComputedStyle(t)}class vu extends qi{constructor(){super(...arguments),this.type="html",this.renderInstance=Ni}readValueFromInstance(e,n){if(st.has(n)){const s=Ue(n);return s&&s.default||0}else{const s=yu(e),i=(Is(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return Si(e,n)}build(e,n,s){on(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return nn(e,n,s)}}class xu extends qi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=M}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(st.has(n)){const s=Ue(n);return s&&s.default||0}return n=Ui.has(n)?n:qe(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return Wi(e,n,s)}build(e,n,s){rn(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){_i(e,n,s,i)}mount(e){this.isSVGTag=an(e.tagName),super.mount(e)}}const Tu=(t,e)=>en(t)?new xu(e):new vu(e,{allowProjection:t!==S.Fragment}),Pu=hu({...ea,...Rl,...xl,...El},Tu),Cu=Ji(Pu);export{Cu as m}; diff --git a/assets/star-DzIyx3kc.js b/assets/star-CDh0KFuL.js similarity index 88% rename from assets/star-DzIyx3kc.js rename to assets/star-CDh0KFuL.js index 08731147..d034cd0e 100644 --- a/assets/star-DzIyx3kc.js +++ b/assets/star-CDh0KFuL.js @@ -1,4 +1,4 @@ -import{c as o}from"./index-B4BwWmC3.js";/** +import{c as o}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/terminal-DTwyG7sl.js b/assets/terminal-BnBHbYYt.js similarity index 87% rename from assets/terminal-DTwyG7sl.js rename to assets/terminal-BnBHbYYt.js index 7f8cf100..6ce7edc6 100644 --- a/assets/terminal-DTwyG7sl.js +++ b/assets/terminal-BnBHbYYt.js @@ -1,4 +1,4 @@ -import{c as e}from"./index-B4BwWmC3.js";/** +import{c as e}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/users-BOW1lTIL.js b/assets/users-Czn5_mKE.js similarity index 90% rename from assets/users-BOW1lTIL.js rename to assets/users-Czn5_mKE.js index 97d63212..e2e20d8b 100644 --- a/assets/users-BOW1lTIL.js +++ b/assets/users-Czn5_mKE.js @@ -1,4 +1,4 @@ -import{c as e}from"./index-B4BwWmC3.js";/** +import{c as e}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/assets/wifi-C9VN6tsR.js b/assets/wifi-CpID0WP5.js similarity index 96% rename from assets/wifi-C9VN6tsR.js rename to assets/wifi-CpID0WP5.js index d418a68c..326bfce5 100644 --- a/assets/wifi-C9VN6tsR.js +++ b/assets/wifi-CpID0WP5.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-B4BwWmC3.js";/** +import{c as a}from"./index-0uNRiDMy.js";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. diff --git a/index.html b/index.html index 86410a24..e821b141 100644 --- a/index.html +++ b/index.html @@ -50,7 +50,7 @@ Snigdha OS - Advanced Penetration Testing Distribution - +