1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1647:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,N:()=>d});var n=r(3619),s=(e,t,r,n,s,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,n=r&&a?s.map(e=>a[e]||e):s;r?(i.classList.remove(...n),i.classList.add(a&&a[t]?a[t]:t)):i.setAttribute(e,t)}),r=t,l&&m.includes(r)&&(i.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=o&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},a=["light","dark"],o="(prefers-color-scheme: dark)",l="undefined"==typeof window,i=n.createContext(void 0),m={setTheme:e=>{},themes:[]},c=()=>{var e;return null!=(e=n.useContext(i))?e:m},d=e=>n.useContext(i)?n.createElement(n.Fragment,null,e.children):n.createElement(h,{...e}),u=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:s=!0,enableColorScheme:l=!0,storageKey:m="theme",themes:c=u,defaultTheme:d=s?"system":"light",attribute:h="data-theme",value:b,children:g,nonce:w,scriptProps:E}=e,[S,k]=n.useState(()=>y(m,d)),[C,T]=n.useState(()=>"system"===S?v():S),_=b?Object.values(b):c,L=n.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=v());let n=b?b[t]:t,o=r?p(w):null,i=document.documentElement,m=e=>{"class"===e?(i.classList.remove(..._),n&&i.classList.add(n)):e.startsWith("data-")&&(n?i.setAttribute(e,n):i.removeAttribute(e))};if(Array.isArray(h)?h.forEach(m):m(h),l){let e=a.includes(d)?d:null,r=a.includes(t)?t:e;i.style.colorScheme=r}null==o||o()},[w]),N=n.useCallback(e=>{let t="function"==typeof e?e(S):e;k(t);try{localStorage.setItem(m,t)}catch(e){}},[S]),A=n.useCallback(e=>{T(v(e)),"system"===S&&s&&!t&&L("system")},[S,t]);n.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),n.useEffect(()=>{let e=e=>{e.key===m&&(e.newValue?k(e.newValue):N(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[N]),n.useEffect(()=>{L(null!=t?t:S)},[t,S]);let P=n.useMemo(()=>({theme:S,setTheme:N,forcedTheme:t,resolvedTheme:"system"===S?C:S,themes:s?[...c,"system"]:c,systemTheme:s?C:void 0}),[S,N,t,C,s,c]);return n.createElement(i.Provider,{value:P},n.createElement(f,{forcedTheme:t,storageKey:m,attribute:h,enableSystem:s,enableColorScheme:l,defaultTheme:d,value:b,themes:c,nonce:w,scriptProps:E}),g)},f=n.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:a,enableSystem:o,enableColorScheme:l,defaultTheme:i,value:m,themes:c,nonce:d,scriptProps:u}=e,h=JSON.stringify([a,r,i,t,c,m,o,l]).slice(1,-1);return n.createElement("script",{...u,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?d:"",dangerouslySetInnerHTML:{__html:"(".concat(s.toString(),")(").concat(h,")")}})}),y=(e,t)=>{let r;if(!l){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},p=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")},2333:(e,t,r)=>{Promise.resolve().then(r.bind(r,6540)),Promise.resolve().then(r.t.bind(r,5077,23)),Promise.resolve().then(r.t.bind(r,2746,23))},2746:()=>{},5077:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3"}},6540:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>a});var n=r(9747);r(3619);var s=r(1647);function a(e){let{children:t,...r}=e;return(0,n.jsx)(s.N,{...r,children:t})}}},e=>{var t=t=>e(e.s=t);e.O(0,[54,148,464,358],()=>t(2333)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.