1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5160],{21261:(e,t,r)=>{"use strict";r.d(t,{QueryProvider:()=>l});var n=r(95155),s=r(31461),i=r(99776),a=r(12115);let o=new s.E({defaultOptions:{queries:{staleTime:6e5,gcTime:18e5,refetchOnWindowFocus:!1,refetchOnReconnect:!1,refetchOnMount:!1,retry:1},mutations:{retry:1}}}),l=e=>{let{children:t}=e;return(0,a.useEffect)(()=>{try{var e;let t=performance.getEntriesByType("navigation");if((null==t||null==(e=t[0])?void 0:e.type)!=="reload"||window.__fetchWrapped)return;let r=window.fetch.bind(window);window.__fetchWrapped=!0;let n=Date.now()+3e3;window.fetch=(e,t)=>{try{let s="string"==typeof e?new URL(e,window.location.origin):e instanceof URL?e:new URL(e.url);if(s.origin===window.location.origin&&s.pathname.startsWith("/api/")&&Date.now()<n){s.searchParams.set("fresh","1");let n="string"==typeof e||e instanceof URL?s.toString():new Request(s.toString(),e);return r(n,t)}}catch(e){}return r(e,t)};let s=setTimeout(()=>{window.fetch=r,window.__fetchWrapped=!1},3e3);return()=>{clearTimeout(s),window.fetch=r,window.__fetchWrapped=!1}}catch(e){}},[]),(0,n.jsx)(i.Ht,{client:o,children:t})}},25016:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i,z:()=>a});var n=r(2821),s=r(75889);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,n.$)(t))}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 Bytes";let r=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,r)).toFixed(t<0?0:t))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}},26268:(e,t,r)=>{"use strict";r.d(t,{FullscreenLoader:()=>o});var n=r(95155),s=r(12115),i=r(55850),a=r(35299);function o(e){let{message:t="Loading...",duration:r=2e3}=e,[o,l]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=()=>{{let e=document.readyState;if("loading"===e)l(20);else if("interactive"===e)l(60);else if("complete"===e)return void l(100)}};e();let t=()=>e();document.addEventListener("readystatechange",t);let n=()=>l(100);window.addEventListener("load",n);let s=setInterval(()=>{l(e=>e>=95?e:Math.min(e+5,95))},r/20);return()=>{document.removeEventListener("readystatechange",t),window.removeEventListener("load",n),clearInterval(s)}},[r]),(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-background ",children:(0,n.jsxs)("div",{className:"flex flex-col items-center space-y-4 p-8",children:[(0,n.jsx)(a.A,{className:"h-8 w-8 animate-spin text-foreground"}),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("p",{className:"text-md font-medium text-foreground",children:t}),(0,n.jsx)("div",{className:"mt-4 w-64",children:(0,n.jsx)(i.k,{value:o,className:"h-2"})})]})]})})}},27356:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,41290,23)),Promise.resolve().then(r.bind(r,40970)),Promise.resolve().then(r.bind(r,73928)),Promise.resolve().then(r.bind(r,98124)),Promise.resolve().then(r.bind(r,99802)),Promise.resolve().then(r.bind(r,74248)),Promise.resolve().then(r.bind(r,21261)),Promise.resolve().then(r.t.bind(r,41402,23)),Promise.resolve().then(r.t.bind(r,97608,23)),Promise.resolve().then(r.t.bind(r,5738,23)),Promise.resolve().then(r.t.bind(r,25221,23)),Promise.resolve().then(r.t.bind(r,56944,23)),Promise.resolve().then(r.bind(r,18720))},40970:(e,t,r)=>{"use strict";r.d(t,{ErrorBoundary:()=>l});var n=r(95155),s=r(12115),i=r(97003),a=r(52056),o=r(89559);class l extends s.Component{componentDidMount(){window.addEventListener("popstate",this.handleNavigationChange)}componentWillUnmount(){window.removeEventListener("popstate",this.handleNavigationChange)}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("ErrorBoundary caught an error:",e,t)}render(){if(this.state.hasError){if(this.props.fallback){let e=this.props.fallback;return(0,n.jsx)(e,{error:this.state.error,resetError:this.resetError})}return(0,n.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:(0,n.jsxs)("div",{className:"max-w-md w-full bg-white rounded-lg shadow-lg p-6 text-center",children:[(0,n.jsx)("div",{className:"flex justify-center mb-4",children:(0,n.jsx)(a.A,{className:"h-12 w-12 text-red-500"})}),(0,n.jsx)("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Something went wrong"}),(0,n.jsx)("p",{className:"text-gray-600 mb-6",children:"We encountered an unexpected error. Please try refreshing the page."}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)(i.$,{onClick:this.resetError,className:"w-full",children:[(0,n.jsx)(o.A,{className:"h-4 w-4 mr-2"}),"Try Again"]}),(0,n.jsx)(i.$,{variant:"outline",onClick:()=>window.location.reload(),className:"w-full",children:"Refresh Page"})]}),!1]})})}return this.props.children}constructor(e){super(e),this.handleNavigationChange=()=>{this.state.hasError&&this.setState({hasError:!1,error:void 0})},this.resetError=()=>{this.setState({hasError:!1,error:void 0})},this.state={hasError:!1}}}},41290:()=>{},55850:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(95155);r(12115);var s=r(9484),i=r(25016);function a(e){let{className:t,value:r,...a}=e;return(0,n.jsx)(s.bL,{"data-slot":"progress",className:(0,i.cn)("bg-muted relative h-2 w-full overflow-hidden rounded-full",t),...a,children:(0,n.jsx)(s.C1,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:"translateX(-".concat(100-(r||0),"%)")}})})}},73928:(e,t,r)=>{"use strict";r.d(t,{LoaderProvider:()=>o});var n=r(95155),s=r(12115),i=r(26268);let a=(0,s.createContext)(void 0);function o(e){let{children:t}
1=e,[r,o]=(0,s.useState)(!1),[l,c]=(0,s.useState)("Loading...");return(0,n.jsxs)(a.Provider,{value:{showLoader:e=>{c(e||"Loading..."),o(!0)},hideLoader:()=>{o(!1)},isLoading:r},children:[t,r&&(0,n.jsx)(i.FullscreenLoader,{message:l})]})}},74248:(e,t,r)=>{"use strict";r.d(t,{TopProgressBar:()=>a});var n=r(95155),s=r(12115),i=r(20063);function a(){let e=(0,i.usePathname)(),[t,r]=(0,s.useState)(!1),[a,o]=(0,s.useState)(0),l=(0,s.useRef)(null),c=(0,s.useRef)(null),u=(0,s.useRef)(null),d=(0,s.useRef)(0),h=(0,s.useRef)(null),m=(0,s.useRef)(!1),v=()=>{o(100),setTimeout(()=>r(!1),200),setTimeout(()=>o(0),400),l.current&&clearInterval(l.current),c.current&&clearTimeout(c.current),u.current&&clearTimeout(u.current),d.current=Date.now()+600,m.current=!1};return((0,s.useEffect)(()=>{if(null===h.current){h.current=e;return}if(e!==h.current){if(h.current=e,t){c.current&&clearTimeout(c.current),c.current=setTimeout(v,120);return}if(Date.now()<d.current)return void v();r(!0),o(12),l.current&&clearInterval(l.current),l.current=setInterval(()=>{o(e=>{let t=e+Math.max(1,(90-e)*.08);return t>=90?90:t})},120),c.current&&clearTimeout(c.current),c.current=setTimeout(v,300)}},[e,t]),(0,s.useEffect)(()=>{let e=e=>{let t=(e=>{let t=e;for(;t;){if("A"===t.tagName)return t;t=t.parentElement}return null})(e.target);if(!t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||0!==e.button||"_blank"===t.target)return;let n=t.getAttribute("href")||"";if(!n||!n.startsWith("/"))return;let s=null;try{s=new URL(n,window.location.origin)}catch(e){}s&&(s.pathname!==window.location.pathname||s.search!==window.location.search)&&(m.current=!0,r(!0),o(12),l.current&&clearInterval(l.current),l.current=setInterval(()=>{o(e=>{let t=e+Math.max(1,(90-e)*.08);return t>=90?90:t})},120),u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{h.current===window.location.pathname&&v()},1200))},t=()=>{r(!0),o(12),l.current&&clearInterval(l.current),l.current=setInterval(()=>{o(e=>{let t=e+Math.max(1,(90-e)*.08);return t>=90?90:t})},120),u.current&&clearTimeout(u.current),u.current=setTimeout(v,600)};return document.addEventListener("click",e,!0),window.addEventListener("popstate",t),()=>{document.removeEventListener("click",e,!0),window.removeEventListener("popstate",t)}},[]),t||0!==a)?(0,n.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,height:2,background:"transparent",zIndex:9999,pointerEvents:"none"},children:(0,n.jsx)("div",{style:{width:"".concat(a,"%"),height:"100%",background:e&&e.includes("/chatbot")?"var(--primary)":"linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.65) 100%)",boxShadow:e&&e.includes("/chatbot")?"0 0 8px color-mix(in oklab, var(--primary), #ffffff 50%)":"0 0 8px rgba(255,255,255,0.4)",transition:"width 150ms ease-out, opacity 200ms ease-out",opacity:+!!t}})}):null}},97003:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,r:()=>o});var n=r(95155);r(12115);var s=r(32467),i=r(83101),a=r(25016);let o=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-10",more:"h-9 px-2 py-2 has-[>svg]:px-0"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:r,size:i,asChild:l=!1,...c}=e,u=l?s.DX:"button";return(0,n.jsx)(u,{"data-slot":"button",className:(0,a.cn)(o({variant:r,size:i,className:t})),...c})}},98124:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>i});var n=r(95155);r(12115);var s=r(5379);function i(e){let{children:t,...r}=e;return(0,n.jsx)(s.N,{...r,children:t})}},99802:(e,t,r)=>{"use strict";r.d(t,{ScrollManager:()=>i});var n=r(12115),s=r(20063);
1function i(){let e=(0,s.usePathname)(),t=(0,s.useSearchParams)(),r=(0,n.useRef)("");return(0,n.useEffect)(()=>{let n="".concat(e,"?").concat((null==t?void 0:t.toString())||"");if(!r.current){r.current=n;return}let[s]=r.current.split("#"),[i]=n.split("#");if(s===i&&r.current!==n){r.current=n;return}requestAnimationFrame(()=>{window.scrollTo({top:0,left:0,behavior:"instant"}),document.documentElement.scrollTop=0,document.body.scrollTop=0,document.querySelectorAll("[data-scroll-root]").forEach(e=>{e.scrollTop=0,e.scrollLeft=0})}),r.current=n},[e,t]),null}}},e=>{e.O(0,[1741,8777,5209,3106,2156,474,8441,1255,7358],()=>e(e.s=27356)),_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.