(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{22069:(e,t,r)=>{Promise.resolve().then(r.bind(r,82885)),Promise.resolve().then(r.bind(r,35931)),Promise.resolve().then(r.t.bind(r,45492,23)),Promise.resolve().then(r.t.bind(r,64676,23)),Promise.resolve().then(r.t.bind(r,98388,23)),Promise.resolve().then(r.bind(r,19052))},35931:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,ThemeProvider:()=>d});var s=r(71352),n=(e,t,r,s,n,a,o,l)=>{let i=document.documentElement,m=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,s=r&&a?n.map(e=>a[e]||e):n;r?(i.classList.remove(...s),i.classList.add(a&&a[t]?a[t]:t)):i.setAttribute(e,t)}),r=t,l&&m.includes(r)&&(i.style.colorScheme=r)}if(s)c(s);else try{let e=localStorage.getItem(t)||r,s=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(s)}catch(e){}},a=["light","dark"],o="(prefers-color-scheme: dark)",l="u"<typeof window,i=s.createContext(void 0),m={setTheme:e=>{},themes:[]},c=()=>{var e;return null!=(e=s.useContext(i))?e:m},d=e=>s.useContext(i)?s.createElement(s.Fragment,null,e.children):s.createElement(h,{...e}),u=["light","dark"],h=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:n=!0,storageKey:l="theme",themes:m=u,defaultTheme:c=r?"system":"light",attribute:d="data-theme",value:h,children:p,nonce:g,scriptProps:w})=>{let[S,_]=s.useState(()=>f(l,c)),[E,k]=s.useState(()=>"system"===S?v():S),T=h?Object.values(h):m,C=s.useCallback(e=>{let s=e;if(!s)return;"system"===e&&r&&(s=v());let o=h?h[s]:s,l=t?b(g):null,i=document.documentElement,m=e=>{"class"===e?(i.classList.remove(...T),o&&i.classList.add(o)):e.startsWith("data-")&&(o?i.setAttribute(e,o):i.removeAttribute(e))};if(Array.isArray(d)?d.forEach(m):m(d),n){let e=a.includes(c)?c:null,t=a.includes(s)?s:e;i.style.colorScheme=t}null==l||l()},[g]),P=s.useCallback(e=>{let t="function"==typeof e?e(S):e;_(t);try{localStorage.setItem(l,t)}catch(e){}},[S]),L=s.useCallback(t=>{k(v(t)),"system"===S&&r&&!e&&C("system")},[S,e]);s.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(L),L(e),()=>e.removeListener(L)},[L]),s.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?_(e.newValue):P(c))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[P]),s.useEffect(()=>{C(null!=e?e:S)},[e,S]);let N=s.useMemo(()=>({theme:S,setTheme:P,forcedTheme:e,resolvedTheme:"system"===S?E:S,themes:r?[...m,"system"]:m,systemTheme:r?E:void 0}),[S,P,e,E,r,m]);return s.createElement(i.Provider,{value:N},s.createElement(y,{forcedTheme:e,storageKey:l,attribute:d,enableSystem:r,enableColorScheme:n,defaultTheme:c,value:h,themes:m,nonce:g,scriptProps:w}),p)},y=s.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:a,enableColorScheme:o,defaultTheme:l,value:i,themes:m,nonce:c,scriptProps:d})=>{let u=JSON.stringify([r,t,l,e,m,i,a,o]).slice(1,-1);return s.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${n.toString()})(${u})`}})}),f=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},b=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)}},v=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light")},45492:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_ee07b0",variable:"__variable_ee07b0"}},64676:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_696660",variable:"__variable_696660"}},82885:(e,t,r)=>{"use strict";let s;r.d(t,{QueryProvider:()=>m,S:()=>i});var n=r(94644),a=r(31221),o=r(67341),l=r(71352);function i(){return s??=new a.E({defaultOptions:{queries:{staleTime:3e5,retry:1,refetchOnWindowFocus:!1}}})}function m({children:e}){let[t]=(0,l.useState)(i);return(0,n.jsx)(o.Ht,{client:t,children:e})}},98388:()=>{}},e=>{e.O(0,[1341,469,9052,4873,1792,3972,7358],()=>e(e.s=22069)),_N_E=e.O()}]);