(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2037],{824:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_c29908",variable:"__variable_c29908"}},3400:(e,t,r)=>{"use strict";r.d(t,{E:()=>h});var n=r(20838),s=r(64711),a=r(42811),i=r(17652),o=class extends i.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){let a=t.queryKey,i=t.queryHash??(0,n.F$)(a,t),o=this.get(i);return o||(o=new s.X({client:e,queryKey:a,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.MK)(e,t)):t}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=r(67730),l=class extends i.Q{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#r=new Map,this.#n=0}#t;#r;#n;build(e,t,r){let n=new u.s({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#t.add(e);let t=c(e);if("string"==typeof t){let r=this.#r.get(t);r?r.push(e):this.#r.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=c(e);if("string"==typeof t){let r=this.#r.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#r.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=c(e);if("string"!=typeof t)return!0;{let r=this.#r.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=c(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#r.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){a.jG.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#r.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.nJ)(e,t))}notify(e){a.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return a.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.lQ))))}};function c(e){return e.options.scope?.id}var d=r(50686),f=r(74373),h=class{#s;#a;#i;#o;#u;#l;#c;#d;constructor(e={}){this.#s=e.queryCache||new o,this.#a=e.mutationCache||new l,this.#i=e.defaultOptions||{},this.#o=new Map,this.#u=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#c=d.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())}),this.#d=f.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#a.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#s.build(this,t),s=r.state.data;return void 0===s?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.d2)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return this.#s.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let s=this.defaultQueryOptions({queryKey:e}),a=this.#s.get(s.queryHash),i=a?.state.data,o=(0,n.Zw)(t,i);if(void 0!==o)return this.#s.build(this,s).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return a.jG.batch(()=>this.#s.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){let t=this.#s;a.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#s;return a.jG.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(a.jG.batch(()=>this.#s.findAll(e).map(e=>e.cancel(r)))).then(n.lQ).catch(n.lQ)}invalidateQueries(e,t={}){return a.jG.batch(()=>(this.#s.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(a.jG.batch(()=>this.#s.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(n.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#s.build(this,t);return r.isStaleByTime((0,n.d2)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.lQ).catch(n.lQ)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return f.t.isOnline()?this.#a.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#a}getDefaultOptions(){return this.#i}setDefaultOptions(e){this.#i=e}setQueryDefaults(e,t){this.#o.set((0,n.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#o.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#u.set((0,n.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#u.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#i.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#i.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#a.clear()}}},8726:(e,t,r)=>{"use strict";r.d(t,{t:()=>g});var n=r(91356),s=r(66682),a=r(20838);function i(e){return e}function o(e){return e.state.isPaused}function u(e){return"success"===e.state.status}function l(e){return!0}var c=["added","removed","updated"];function d(e){return c.includes(e)}async function f({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:o}){try{let u=await t.restoreClient();if(u)if(!u.timestamp)return t.removeClient();else{let l=Date.now()-u.timestamp>r,c=u.buster!==n;if(l||c)return t.removeClient();!function(e,t,r){if("object"!=typeof t||null===t)return;let n=e.getMutationCache(),o=e.getQueryCache(),u=r?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??i,l=t.mutations||[],c=t.queries||[];l.forEach(({state:t,...s})=>{n.build(e,{...e.getDefaultOptions().hydrate?.mutations,...r?.defaultOptions?.mutations,...s},t)}),c.forEach(({queryKey:t,state:n,queryHash:i,meta:l,promise:c,dehydratedAt:d,queryType:f})=>{let h=c?(0,s.b)(c):void 0,m=void 0===n.data?h?.data:n.data,p=void 0===m?m:u(m),y=o.get(i),g=y?.state.status==="pending",v=y?.state.fetchStatus==="fetching";if(y){let e=h&&void 0!==d&&d>y.state.dataUpdatedAt;if(n.dataUpdatedAt>y.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=n;y.setState({...t,data:p,..."pending"===n.status&&void 0!==p&&{status:"success",...!v&&{fetchStatus:"idle"}}})}}else y=o.build(e,{...e.getDefaultOptions().hydrate?.queries,...r?.defaultOptions?.queries,queryKey:t,queryHash:i,meta:l,_type:f},{...n,data:p,fetchStatus:"idle",status:"pending"===n.status&&void 0!==p?"success":n.status});!c||h||g||v||void 0!==d&&!(d>y.state.dataUpdatedAt)||y.fetch(void 0,{initialPromise:Promise.resolve(c).then(u)}).catch(a.lQ)})}(e,u.clientState,o)}}catch(e){throw await t.removeClient(),e}}async function h({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){let s={buster:r,timestamp:Date.now(),clientState:function(e,t={}){let r=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??o,n=e.getMutationCache().getAll().flatMap(e=>r(e)?[{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}]:[]),s=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??u,c=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??l,d=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??i;return{mutations:n,queries:e.getQueryCache().getAll().flatMap(e=>{let t;return s(e)?[{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:d(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(t=e.promise?.then(d).catch(e=>c(e)?Promise.reject(Error("redacted")):Promise.reject(e)),t?.catch(a.lQ),t)},...e.meta&&{meta:e.meta},...e.queryType&&{queryType:e.queryType}}]:[]})}}(e,n)};await t.persistClient(s)}var m=r(39927),p=r(35825),y=r(4208),g=({children:e,persistOptions:t,onSuccess:r,onError:s,...a})=>{let[i,o]=n.useState(!0),u=n.useRef({persistOptions:t,onSuccess:r,onError:s}),l=n.useRef(!1);return n.useEffect(()=>{u.current={persistOptions:t,onSuccess:r,onError:s}}),n.useEffect(()=>{let e,t,r={...u.current.persistOptions,queryClient:a.client};return l.current||(l.current=!0,f(r).then(()=>u.current.onSuccess?.()).catch(()=>u.current.onError?.()).finally(()=>{o(!1)})),i?void 0:(e=r.queryClient.getQueryCache().subscribe(e=>{d(e.type)&&h(r)}),t=r.queryClient.getMutationCache().subscribe(e=>{d(e.type)&&h(r)}),()=>{e(),t()})},[a.client,i]),(0,y.jsx)(m.Ht,{...a,children:(0,y.jsx)(p.d,{value:i,children:e})})}},15234:(e,t,r)=>{"use strict";let n,s,a,i;r.d(t,{P2:()=>m});let o=(e,t)=>t.some(t=>e instanceof t),u=new WeakMap,l=new WeakMap,c=new WeakMap,d={get(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return u.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return f(e[t])},set:(e,t,r)=>(e[t]=r,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function f(e){if(e instanceof IDBRequest){let t;return t=new Promise((t,r)=>{let n=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{t(f(e.result)),n()},a=()=>{r(e.error),n()};e.addEventListener("success",s),e.addEventListener("error",a)}),c.set(t,e),t}if(l.has(e))return l.get(e);let t=function(e){if("function"==typeof e)return(s||(s=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(h(this),t),f(this.request)}:function(...t){return f(e.apply(h(this),t))};return(e instanceof IDBTransaction&&function(e){if(u.has(e))return;let t=new Promise((t,r)=>{let n=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{t(),n()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});u.set(e,t)}(e),o(e,n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(e,d):e}(e);return t!==e&&(l.set(e,t),c.set(t,e)),t}let h=e=>c.get(e);function m(e,t,{blocked:r,upgrade:n,blocking:s,terminated:a}={}){let i=indexedDB.open(e,t),o=f(i);return n&&i.addEventListener("upgradeneeded",e=>{n(f(i.result),e.oldVersion,e.newVersion,f(i.transaction),e)}),r&&i.addEventListener("blocked",e=>r(e.oldVersion,e.newVersion,e)),o.then(e=>{a&&e.addEventListener("close",()=>a()),s&&e.addEventListener("versionchange",e=>s(e.oldVersion,e.newVersion,e))}).catch(()=>{}),o}let p=["get","getKey","getAll","getAllKeys","count"],y=["put","add","delete","clear"],g=new Map;function v(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(g.get(t))return g.get(t);let r=t.replace(/FromIndex$/,""),n=t!==r,s=y.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!(s||p.includes(r)))return;let a=async function(e,...t){let a=this.transaction(e,s?"readwrite":"readonly"),i=a.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[r](...t),s&&a.done]))[0]};return g.set(t,a),a}d={...a=d,get:(e,t,r)=>v(e,t)||a.get(e,t,r),has:(e,t)=>!!v(e,t)||a.has(e,t)};let b=["continue","continuePrimaryKey","advance"],w={},D=new WeakMap,C=new WeakMap,E={get(e,t){if(!b.includes(t))return e[t];let r=w[t];return r||(r=w[t]=function(...e){D.set(this,C.get(this)[t](...e))}),r}};async function*O(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;let r=new Proxy(t,E);for(C.set(r,t),c.set(r,h(t));t;)yield r,t=await (D.get(r)||t.continue()),D.delete(r)}function A(e,t){return t===Symbol.asyncIterator&&o(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&o(e,[IDBIndex,IDBObjectStore])}d={...i=d,get:(e,t,r)=>A(e,t)?O:i.get(e,t,r),has:(e,t)=>A(e,t)||i.has(e,t)}},17996:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,N:()=>d});var n=r(91356),s=(e,t,r,n,s,a,i,o)=>{let u=document.documentElement,l=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&a?s.map(e=>a[e]||e):s;r?(u.classList.remove(...n),u.classList.add(a&&a[t]?a[t]:t)):u.setAttribute(e,t)}),r=t,o&&l.includes(r)&&(u.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},a=["light","dark"],i="(prefers-color-scheme: dark)",o="u"{},themes:[]},c=()=>{var e;return null!=(e=n.useContext(u))?e:l},d=e=>n.useContext(u)?n.createElement(n.Fragment,null,e.children):n.createElement(h,{...e}),f=["light","dark"],h=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:s=!0,storageKey:o="theme",themes:l=f,defaultTheme:c=r?"system":"light",attribute:d="data-theme",value:h,children:v,nonce:b,scriptProps:w})=>{let[D,C]=n.useState(()=>p(o,c)),[E,O]=n.useState(()=>"system"===D?g():D),A=h?Object.values(h):l,I=n.useCallback(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=g());let i=h?h[n]:n,o=t?y(b):null,u=document.documentElement,l=e=>{"class"===e?(u.classList.remove(...A),i&&u.classList.add(i)):e.startsWith("data-")&&(i?u.setAttribute(e,i):u.removeAttribute(e))};if(Array.isArray(d)?d.forEach(l):l(d),s){let e=a.includes(c)?c:null,t=a.includes(n)?n:e;u.style.colorScheme=t}null==o||o()},[b]),P=n.useCallback(e=>{let t="function"==typeof e?e(D):e;C(t);try{localStorage.setItem(o,t)}catch(e){}},[D]),S=n.useCallback(t=>{O(g(t)),"system"===D&&r&&!e&&I("system")},[D,e]);n.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),n.useEffect(()=>{let e=e=>{e.key===o&&(e.newValue?C(e.newValue):P(c))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[P]),n.useEffect(()=>{I(null!=e?e:D)},[e,D]);let j=n.useMemo(()=>({theme:D,setTheme:P,forcedTheme:e,resolvedTheme:"system"===D?E:D,themes:r?[...l,"system"]:l,systemTheme:r?E:void 0}),[D,P,e,E,r,l]);return n.createElement(u.Provider,{value:j},n.createElement(m,{forcedTheme:e,storageKey:o,attribute:d,enableSystem:r,enableColorScheme:s,defaultTheme:c,value:h,themes:l,nonce:b,scriptProps:w}),v)},m=n.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:a,enableColorScheme:i,defaultTheme:o,value:u,themes:l,nonce:c,scriptProps:d})=>{let f=JSON.stringify([r,t,o,e,l,u,a,i]).slice(1,-1);return n.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},y=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},g=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")},19984:(e,t,r)=>{"use strict";var n=r(28704);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},41459:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(91356),s=r(1709),a=r(84844),i=e=>{var t;let r,i,{present:u,children:l}=e,c=function(e){var t,r;let[s,i]=n.useState(),u=n.useRef(null),l=n.useRef(e),c=n.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=o(u.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=u.current,r=l.current;if(r!==e){let n=c.current,s=o(t);e?f("MOUNT"):"none"===s||t?.display==="none"?f("UNMOUNT"):r&&n!==s?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,a.N)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=o(u.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!l.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=o(u.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{u.current=e?getComputedStyle(e):null,i(e)},[])}}(u),d="function"==typeof l?l({present:c.isPresent}):n.Children.only(l),f=(0,s.s)(c.ref,(t=d,(i=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(i=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof l||c.isPresent?n.cloneElement(d,{ref:f}):null};function o(e){return e?.animationName||"none"}i.displayName="Presence"},65838:(e,t,r)=>{"use strict";r.d(t,{UC:()=>M,VY:()=>_,ZD:()=>R,ZL:()=>x,bL:()=>q,hE:()=>Q,hJ:()=>N,rc:()=>T});var n=r(91356),s=r(65537),a=r(1709),i=r(79531),o=r(9321),u=r(64427),l=r(4208),c="AlertDialog",[d,f]=(0,s.A)(c,[i.Hs]),h=(0,i.Hs)(),m=e=>{let{__scopeAlertDialog:t,...r}=e,n=h(t);return(0,l.jsx)(i.bL,{...n,...r,modal:!0})};m.displayName=c,n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,l.jsx)(i.l9,{...s,...n,ref:t})}).displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:t,...r}=e,n=h(t);return(0,l.jsx)(i.ZL,{...n,...r})};p.displayName="AlertDialogPortal";var y=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,l.jsx)(i.hJ,{...s,...n,ref:t})});y.displayName="AlertDialogOverlay";var g="AlertDialogContent",[v,b]=d(g),w=(0,u.Dc)("AlertDialogContent"),D=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:s,...u}=e,c=h(r),d=n.useRef(null),f=(0,a.s)(t,d),m=n.useRef(null);return(0,l.jsx)(i.G$,{contentName:g,titleName:C,docsSlug:"alert-dialog",children:(0,l.jsx)(v,{scope:r,cancelRef:m,children:(0,l.jsxs)(i.UC,{role:"alertdialog",...c,...u,ref:f,onOpenAutoFocus:(0,o.mK)(u.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,l.jsx)(w,{children:s}),(0,l.jsx)(j,{contentRef:d})]})})})});D.displayName=g;var C="AlertDialogTitle",E=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,l.jsx)(i.hE,{...s,...n,ref:t})});E.displayName=C;var O="AlertDialogDescription",A=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,l.jsx)(i.VY,{...s,...n,ref:t})});A.displayName=O;var I=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,l.jsx)(i.bm,{...s,...n,ref:t})});I.displayName="AlertDialogAction";var P="AlertDialogCancel",S=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=b(P,r),o=h(r),u=(0,a.s)(t,s);return(0,l.jsx)(i.bm,{...o,...n,ref:u})});S.displayName=P;var j=({contentRef:e})=>{let t=`\`${g}\` requires a description for the component to be accessible for screen reader users. You can add a description to the \`${g}\` by passing a \`${O}\` component as a child, which also benefits sighted users by adding visible context to the dialog. Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${g}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return n.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},q=m,x=p,N=y,M=D,T=I,R=S,Q=E,_=A},79531:(e,t,r)=>{"use strict";r.d(t,{G$:()=>W,Hs:()=>D,UC:()=>er,VY:()=>es,ZL:()=>ee,bL:()=>z,bm:()=>ea,hE:()=>en,hJ:()=>et,l9:()=>X});var n=r(91356),s=r(9321),a=r(1709),i=r(65537),o=r(10168),u=r(14216),l=r(49872),c=r(14576),d=r(69578),f=r(41459),h=r(83418),m=r(47802),p=r(7078),y=r(49173),g=r(64427),v=r(4208),b="Dialog",[w,D]=(0,i.A)(b),[C,E]=w(b),O=e=>{let{__scopeDialog:t,children:r,open:s,defaultOpen:a,onOpenChange:i,modal:l=!0}=e,c=n.useRef(null),d=n.useRef(null),[f,h]=(0,u.i)({prop:s,defaultProp:a??!1,onChange:i,caller:b});return(0,v.jsx)(C,{scope:t,triggerRef:c,contentRef:d,contentId:(0,o.B)(),titleId:(0,o.B)(),descriptionId:(0,o.B)(),open:f,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),modal:l,children:r})};O.displayName=b;var A="DialogTrigger",I=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=E(A,r),o=(0,a.s)(t,i.triggerRef);return(0,v.jsx)(h.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":U(i.open),...n,ref:o,onClick:(0,s.mK)(e.onClick,i.onOpenToggle)})});I.displayName=A;var P="DialogPortal",[S,j]=w(P,{forceMount:void 0}),q=e=>{let{__scopeDialog:t,forceMount:r,children:s,container:a}=e,i=E(P,t);return(0,v.jsx)(S,{scope:t,forceMount:r,children:n.Children.map(s,e=>(0,v.jsx)(f.C,{present:r||i.open,children:(0,v.jsx)(d.Z,{asChild:!0,container:a,children:e})}))})};q.displayName=P;var x="DialogOverlay",N=n.forwardRef((e,t)=>{let r=j(x,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,a=E(x,e.__scopeDialog);return a.modal?(0,v.jsx)(f.C,{present:n||a.open,children:(0,v.jsx)(T,{...s,ref:t})}):null});N.displayName=x;var M=(0,g.TL)("DialogOverlay.RemoveScroll"),T=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,s=E(x,r);return(0,v.jsx)(p.A,{as:M,allowPinchZoom:!0,shards:[s.contentRef],children:(0,v.jsx)(h.sG.div,{"data-state":U(s.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),R="DialogContent",Q=n.forwardRef((e,t)=>{let r=j(R,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,a=E(R,e.__scopeDialog);return(0,v.jsx)(f.C,{present:n||a.open,children:a.modal?(0,v.jsx)(_,{...s,ref:t}):(0,v.jsx)(k,{...s,ref:t})})});Q.displayName=R;var _=n.forwardRef((e,t)=>{let r=E(R,e.__scopeDialog),i=n.useRef(null),o=(0,a.s)(t,r.contentRef,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,y.Eq)(e)},[]),(0,v.jsx)(L,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,s.mK)(e.onFocusOutside,e=>e.preventDefault())})}),k=n.forwardRef((e,t)=>{let r=E(R,e.__scopeDialog),s=n.useRef(!1),a=n.useRef(!1);return(0,v.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||r.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;r.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),L=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:o,...u}=e,d=E(R,r),f=n.useRef(null),h=(0,a.s)(t,f);return(0,m.Oh)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.n,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,v.jsx)(l.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":U(d.open),...u,ref:h,onDismiss:()=>d.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(J,{titleId:d.titleId}),(0,v.jsx)(Y,{contentRef:f,descriptionId:d.descriptionId})]})]})}),F="DialogTitle",B=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,s=E(F,r);return(0,v.jsx)(h.sG.h2,{id:s.titleId,...n,ref:t})});B.displayName=F;var $="DialogDescription",K=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,s=E($,r);return(0,v.jsx)(h.sG.p,{id:s.descriptionId,...n,ref:t})});K.displayName=$;var G="DialogClose",H=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=E(G,r);return(0,v.jsx)(h.sG.button,{type:"button",...n,ref:t,onClick:(0,s.mK)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}H.displayName=G;var V="DialogTitleWarning",[W,Z]=(0,i.q)(V,{contentName:R,titleName:F,docsSlug:"dialog"}),J=({titleId:e})=>{let t=Z(V),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Y=({contentRef:e,descriptionId:t})=>{let r=Z("DialogDescriptionWarning"),s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},z=O,X=I,ee=q,et=N,er=Q,en=B,es=K,ea=H},87104:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_246ccd",variable:"__variable_246ccd"}},88636:(e,t,r)=>{"use strict";r.d(t,{Analytics:()=>f});var n=r(91356),s=r(19984),a=r(82108);function i(){return"u">typeof window}function o(){return"production"}function u(){return"development"===((i()?window.vam:o())||"production")}function l(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function c(e){return(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,n.useEffect)(()=>{!function(e={debug:!0}){var t;if(!i())return;!function(e="auto"){if("auto"===e){window.vam=o();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let r=e.scriptSrc?e.scriptSrc:u()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return;let n=document.createElement("script");n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.6.1",e.disableAutoTrack&&(n.dataset.disableAutoTrack="1"),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(n.dataset.dsn=e.dsn),n.onerror=()=>{let e=u()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},u()&&!1===e.debug&&(n.dataset.debug="false"),document.head.appendChild(n)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==a&&void 0!==a.env)return a.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,n.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function d(e){let t,r,i,{route:o,path:u}=(t=(0,s.useParams)(),r=(0,s.useSearchParams)(),i=(0,s.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=l(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=l(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch(t){return e}}(i,Object.keys(t).length?t:Object.fromEntries(r.entries())),path:i}:{route:null,path:i});return n.createElement(c,{path:u,route:o,...e,basePath:function(){if(void 0!==a&&void 0!==a.env)return a.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),framework:"next"})}function f(e){return n.createElement(n.Suspense,{fallback:null},n.createElement(d,{...e}))}}}]);