PageSourceSearch

https://cnrg.ai/_next/static/chunks/16z4av0fn9j0a.js

js cnrg.ai collected 2026-10-05 12:34:14 UTC 3,559 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21957,e=>{"use strict";var t=e.i(35917),r=(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){}},n=["light","dark"],s="(prefers-color-scheme: dark)",a="u"<typeof window,o=t.createContext(void 0),l={setTheme:e=>{},themes:[]},i=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:a=!0,enableColorScheme:l=!0,storageKey:m="theme",themes:y=i,defaultTheme:f=a?"system":"light",attribute:p="data-theme",value:v,children:g,nonce:b,scriptProps:T})=>{let[w,S]=t.useState(()=>d(m,f)),[C,E]=t.useState(()=>"system"===w?h():w),k=v?Object.values(v):y,A=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&a&&(t=h());let s=v?v[t]:t,o=r?u(b):null,i=document.documentElement,m=e=>{"class"===e?(i.classList.remove(...k),s&&i.classList.add(s)):e.startsWith("data-")&&(s?i.setAttribute(e,s):i.removeAttribute(e))};if(Array.isArray(p)?p.forEach(m):m(p),l){let e=n.includes(f)?f:null,r=n.includes(t)?t:e;i.style.colorScheme=r}null==o||o()},[b]),L=t.useCallback(e=>{let t="function"==typeof e?e(w):e;S(t);try{localStorage.setItem(m,t)}catch(e){}},[w]),P=t.useCallback(t=>{E(h(t)),"system"===w&&a&&!e&&A("system")},[w,e]);t.useEffect(()=>{let e=window.matchMedia(s);return e.addListener(P),P(e),()=>e.removeListener(P)},[P]),t.useEffect(()=>{let e=e=>{e.key===m&&(e.newValue?S(e.newValue):L(f))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[L]),t.useEffect(()=>{A(null!=e?e:w)},[e,w]);let x=t.useMemo(()=>({theme:w,setTheme:L,forcedTheme:e,resolvedTheme:"system"===w?C:w,themes:a?[...y,"system"]:y,systemTheme:a?C:void 0}),[w,L,e,C,a,y]);return t.createElement(o.Provider,{value:x},t.createElement(c,{forcedTheme:e,storageKey:m,attribute:p,enableSystem:a,enableColorScheme:l,defaultTheme:f,value:v,themes:y,nonce:b,scriptProps:T}),g)},c=t.memo(({forcedTheme:e,storageKey:n,attribute:s,enableSystem:a,enableColorScheme:o,defaultTheme:l,value:i,themes:m,nonce:c,scriptProps:d})=>{let u=JSON.stringify([s,n,l,e,m,i,a,o]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?c:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${u})`}})}),d=(e,t)=>{let r;if(!a){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},u=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)}},h=e=>(e||(e=window.matchMedia(s)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(o)?t.createElement(t.Fragment,null,e.children):t.createElement(m,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(o))?e:l}])},89554,e=>{"use strict";var t=e.i(59954),r=e.i(21957);e.s(["ThemeProvider",0,function({children:e,...n}){return(0,t.jsx)(r.ThemeProvider,{...n,children:e})}])}]);

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.