1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2194],{2424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4207:(e,t,n)=>{n.d(t,{N:()=>c});var o=n(9454),r=["light","dark"],a="(prefers-color-scheme: dark)",i="undefined"==typeof window,l=o.createContext(void 0),c=e=>o.useContext(l)?e.children:o.createElement(u,{...e}),s=["light","dark"],u=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:c=!0,storageKey:u="theme",themes:h=s,defaultTheme:y=i?"system":"light",attribute:v="data-theme",value:g,children:b,nonce:_}=e,[w,S]=o.useState(()=>f(u,y)),[E,k]=o.useState(()=>f(u)),C=g?Object.values(g):h,P=o.useCallback(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=m());let o=g?g[t]:t,a=n?p():null,l=document.documentElement;if("class"===v?(l.classList.remove(...C),o&&l.classList.add(o)):o?l.setAttribute(v,o):l.removeAttribute(v),c){let e=r.includes(y)?y:null,n=r.includes(t)?t:e;l.style.colorScheme=n}null==a||a()},[]),O=o.useCallback(e=>{let t="function"==typeof e?e(e):e;S(t);try{localStorage.setItem(u,t)}catch(e){}},[t]),I=o.useCallback(e=>{k(m(e)),"system"===w&&i&&!t&&P("system")},[w,t]);o.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(I),I(e),()=>e.removeListener(I)},[I]),o.useEffect(()=>{let e=e=>{e.key===u&&O(e.newValue||y)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[O]),o.useEffect(()=>{P(null!=t?t:w)},[t,w]);let x=o.useMemo(()=>({theme:w,setTheme:O,forcedTheme:t,resolvedTheme:"system"===w?E:w,themes:i?[...h,"system"]:h,systemTheme:i?E:void 0}),[w,O,t,E,i,h]);return o.createElement(l.Provider,{value:x},o.createElement(d,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:i,enableColorScheme:c,storageKey:u,themes:h,defaultTheme:y,attribute:v,value:g,children:b,attrs:C,nonce:_}),b)},d=o.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:i,enableSystem:l,enableColorScheme:c,defaultTheme:s,value:u,attrs:d,nonce:f}=e,p="system"===s,m="class"===i?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),")"),";"):"var d=document.documentElement,n='".concat(i,"',s='setAttribute';"),h=c?(r.includes(s)?s:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(s,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=u?u[e]:e,a=t?e+"|| ''":"'".concat(o,"'"),l="";return c&&n&&!t&&r.includes(e)&&(l+="d.style.colorScheme = '".concat(e,"';")),"class"===i?t||o?l+="c.add(".concat(a,")"):l+="null":o&&(l+="d[s](n,".concat(a,")")),l},v=t?"!function(){".concat(m).concat(y(t),"}()"):l?"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(p,")){var t='").concat(a,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(y("dark"),"}else{").concat(y("light"),"}}else if(e){").concat(u?"var x=".concat(JSON.stringify(u),";"):"").concat(y(u?"x[e]":"e",!0),"}").concat(p?"":"else{"+y(s,!1,!1)+"}").concat(h,"}catch(e){}}()"):"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(u?"var x=".concat(JSON.stringify(u),";"):"").concat(y(u?"x[e]":"e",!0),"}else{").concat(y(s,!1,!1),";}").concat(h,"}catch(t){}}();");return o.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:v}})}),f=(e,t)=>{let n;if(!i){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},m=e=>
1(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},6272:(e,t,n)=>{n.d(t,{default:()=>r.a});var o=n(9114),r=n.n(o)},8805:(e,t,n)=>{var o=n(9617);n.o(o,"usePathname")&&n.d(t,{usePathname:function(){return o.usePathname}}),n.o(o,"useSearchParams")&&n.d(t,{useSearchParams:function(){return o.useSearchParams}})},9114:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return h}});let o=n(2e3),r=n(4773),a=n(7486),i=o._(n(7531)),l=r._(n(9454)),c=n(1108),s=n(3772),u=n(2424),d=new Map,f=new Set,p=e=>{let{src:t,id:n,onLoad:o=()=>{},onReady:r=null,dangerouslySetInnerHTML:a,children:l="",strategy:c="afterInteractive",onError:u,stylesheets:p}=e,m=n||t;if(m&&f.has(m))return;if(d.has(t)){f.add(m),d.get(t).then(o,u);return}let h=()=>{r&&r(),f.add(m)},y=document.createElement("script"),v=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),o&&o.call(this,t),h()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});a?(y.innerHTML=a.__html||"",h()):l?(y.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",h()):t&&(y.src=t,d.set(t,v)),(0,s.setAttributesFromProps)(y,e),"worker"===c&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",c),p&&(e=>{if(i.default.preinit)return e.forEach(e=>{i.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(p),document.body.appendChild(y)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>p(e))}):p(e)}function h(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function y(e){let{id:t,src:n="",onLoad:o=()=>{},onReady:r=null,strategy:s="afterInteractive",onError:d,stylesheets:m,...h}=e,{updateScripts:y,scripts:v,getIsSsr:g,appDir:b,nonce:_}=(0,l.useContext)(c.HeadManagerContext);_=h.nonce||_;let w=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=t||n;w.current||(r&&e&&f.has(e)&&r(),w.current=!0)},[r,t,n]);let S=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{if(!S.current){if("afterInteractive"===s)p(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>p(e))}));S.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(y?(v[s]=(v[s]||[]).concat([{id:t,src:n,onLoad:o,onReady:r,onError:d,...h,nonce:_}]),y(v)):g&&g()?f.add(t||n):g&&!g()&&p({...e,nonce:_})),b){if(m&&m.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!n)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}});else return i.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:_,crossOrigin:h.crossOrigin}:{as:"script",nonce:_,crossOrigin:h.crossOrigin}),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...h,id:t}])+")"}});"afterInteractive"===s&&n&&i.default.preload(n,h.integrity?{as:"script",integrity:h.integrity,nonce:_,crossOrigin:h.crossOrigin}:{as:"script",nonce:_,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let v=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9253:(e,t,n)=>{n.d(t,{so:()=>i});var o=n(3543),r=n(9454),a=(0,r.createContext)({client:o.Ay,bootstrap:void 0});function i(e){var t,n,i=e.children,l=e.client,c=e.apiKey,s=e.options,u=(0,r.useRef)(null),d=(0,r.useMemo)(function(){return l?(c&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),s&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),l):(c||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),o.Ay)},[l,c,JSON.stringify(s)]);return(0,r.useEffect)(function(){if(!l){var e=u.current;e?(c!==e.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),s&&!function e(t,n,o){if(void 0===o&&(o=new WeakMap),t===n)return!0;
1if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;if(o.has(t)&&o.get(t)===n)return!0;o.set(t,n);var r=Object.keys(t),a=Object.keys(n);if(r.length!==a.length)return!1;for(var i=0;i<r.length;i++){var l=r[i];if(!a.includes(l)||!e(t[l],n[l],o))return!1}return!0}(s,e.options)&&o.Ay.set_config(s)):(o.Ay.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),o.Ay.init(c,s)),u.current={apiKey:c,options:null!=s?s:{}}}},[l,c,JSON.stringify(s)]),r.createElement(a.Provider,{value:{client:d,bootstrap:null!=(t=null==s?void 0:s.bootstrap)?t:null==(n=null==l?void 0:l.config)?void 0:n.bootstrap}},i)}var l=function(e){return"function"==typeof e},c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var s={componentStack:null,exceptionEvent:null,error:null},u={INVALID_FALLBACK:"[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=n}function n(t){var n=e.call(this,t)||this;return n.state=s,n}c(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n.prototype.componentDidCatch=function(e,t){var n,o=this.props.additionalProperties;l(o)?n=o(e):"object"==typeof o&&(n=o);var r=this.context.client.captureException(e,n),a=t.componentStack;this.setState({error:e,componentStack:null!=a?a:null,exceptionEvent:r})},n.prototype.render=function(){var e=this.props,t=e.children,n=e.fallback,o=this.state;if(null==o.componentStack)return l(t)?t():t;var a=l(n)?r.createElement(n,{error:o.error,componentStack:o.componentStack,exceptionEvent:o.exceptionEvent}):n;return r.isValidElement(a)?a:(console.warn(u.INVALID_FALLBACK),r.createElement(r.Fragment,null))},n.contextType=a}(r.Component)}}]);
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.