PageSourceSearch

https://chatbotkit.com/www-static/_next/static/immutable/chunks/3s1e71t9zw-o8.js

js chatbotkit.com collected 2026-10-02 04:23:26 UTC 38,806 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23552,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(56206);e.s(["default",0,function({className:e,mainClassName:a,title:o,titleAs:i="h1",titleClassName:s,titlePartsClassName:l,description:c,descriptionClassName:u,compact:d="2xl",children:f,extra:p}){let m=Array.isArray(o)?o:[o];return(0,t.jsxs)("div",{className:(0,n.default)("relative overflow-hidden",e),children:[(0,t.jsx)("div",{className:(0,n.default)("relative main-page",{"main-page-2xl":"2xl"===d,"main-page-3xl":"3xl"===d,"main-page-4xl":"4xl"===d,"main-page-5xl":"5xl"===d},a),children:(0,t.jsxs)("div",{className:(0,n.default)("space-y-3 md:space-y-5",{"text-center":!d,"text-left":d}),children:[(0,t.jsxs)("div",{className:"space-y-3 md:space-y-5",children:[(0,t.jsx)(i,{className:(0,n.default)("text-4xl sm:text-5xl md:text-6xl tracking-tight font-medium text-gray-900 dark:text-gray-100 [text-wrap:balance]",s),children:(0,t.jsx)("div",{className:(0,n.default)("text-4xl sm:text-7xl sm:leading-[0.9em]",l),children:m.map((e,a)=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("span",{className:(0,n.default)({"heading-highlight":a%2==1}),children:e}),a<m.length-1?" ":null]},a))})}),c?(0,t.jsx)("p",{className:(0,n.default)("text-gray-500 dark:text-gray-500","line-clamp-5",{"text-base sm:text-lg md:text-xl":!d,"text-base":d},u||"[text-wrap:pretty]"),children:c}):null]}),f?(0,t.jsx)("div",{className:(0,n.default)("text-base sm:text-lg md:text-xl","flex flex-col sm:flex-row gap-4"),children:f}):null]})}),p]})}])},45983,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["ListItem",0,function({link:e,title:n,body:a,timestamp:o,className:i,icon:s}){let l;return(0,t.jsxs)("li",{className:(0,r.default)("overflow-hidden","relative py-5 px-4","flex flex-row gap-6","rounded-xl","hover:bg-gray-50 dark:hover:bg-gray-950","transition-colors duration-200",i),children:[s?(0,t.jsx)("div",{className:"flex-shrink-0",children:s}):null,(0,t.jsx)("div",{className:"w-full flex-1 flex flex-col gap-4",children:(0,t.jsxs)("div",{className:"flex flex-row justify-between items-start gap-4",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsxs)("a",{className:"block focus:outline-none cursor-pointer",href:e,children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-gray-900 dark:text-gray-100 mt-0 pt-0 break-words line-clamp-2",children:n}),a?(0,t.jsx)("div",{className:"[word-break:break-word] text-sm text-gray-500 dark:text-gray-500 line-clamp-2 max-w-xl",children:a}):null]})}),o?(0,t.jsx)("div",{className:"flex-shrink-0 whitespace-nowrap text-sm text-gray-500 dark:text-gray-500 hidden sm:block cursor-default",children:isNaN((l=new Date(o)).getTime())?null:l.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",timeZone:"UTC"})}):null]})})]})},"default",0,function({className:e,children:n}){return(0,t.jsx)("ul",{className:(0,r.default)("relative","space-y-6","[&>*]:relative","[&>*:last-child]:after:hidden",'[&>*]:after:content-[""]',"[&>*]:after:absolute","[&>*]:after:-bottom-5","[&>*]:after:w-[100%] [&>*]:after:h-px","[&>*]:after:bg-gray-100 dark:[&>*]:after:bg-gray-900","[&>*]:after:left-[0%] [&>*]:after:right-[0%]",e),role:"list",children:n})}])},67536,e=>{"use strict";e.i(50461);var t=e.i(91398),r=e.i(58678),n=e.i(3828),a=e.i(97105),o=e.i(76199);e.s(["default",0,function({title:e,description:i,keywords:s,image:l,rss:c,canonical:u,noindex:d=!1}){let f=((0,n.useRouter)().asPath||"/").split(/[?#]/)[0],p=`${o.SITE_URL}${"/"===f?"":f}`,m=u||p;Array.isArray(s)&&(s=Array.from(new Set(s)).join(",")),s=s?.toLowerCase();let y=new URL(l||"/card",o.SITE_URL).toString();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.default,{children:[(0,t.jsx)("meta",{name:"generator",content:"ChatBotKit"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,t.jsx)("link",{rel:"icon",type:"image/x-icon",href:"/favicon-dark.ico",media:"(prefers-color-scheme: dark)"}),(0,t.jsx)("link",{rel:"icon",type:"image/x-icon",href:"/favicon-light.ico",media:"(prefers-color-scheme: light)"}),(0,t.jsx)("link",{rel:"canonical",href:m}),d?(0,t.jsx)("meta",{name:"robots",content:"noindex,follow"}):(0,t.jsx)("meta",{name:"robots",content:"index,follow"}),e?(0,t.jsx)("title",{children:e}):null,i?(0,t.jsx)("meta",{name:"description",content:i}
1):null,s?(0,t.jsx)("meta",{name:"keywords",content:s}):null,(0,t.jsx)("meta",{property:"image",content:y}),(0,t.jsx)("meta",{itemProp:"image",content:y}),(0,t.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,t.jsx)("meta",{property:"og:site_name",content:new URL(o.SITE_URL).hostname}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:url",content:p}),e?(0,t.jsx)("meta",{property:"og:title",content:e}):null,i?(0,t.jsx)("meta",{property:"og:description",content:i}):null,(0,t.jsx)("meta",{property:"og:image",content:y}),(0,t.jsx)("meta",{name:"twitter:site",content:"@chatbotkit"}),(0,t.jsx)("meta",{name:"twitter:creator",content:"@chatbotkit"}),e?(0,t.jsx)("meta",{name:"twitter:title",content:e}):null,i?(0,t.jsx)("meta",{name:"twitter:description",content:i}):null,(0,t.jsx)("meta",{name:"twitter:image",content:y}),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),c?(0,t.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:c.title,href:c.href}):null]}),(0,t.jsx)(a.default,{data:{"@context":"https://schema.org","@type":"WebPage",name:e,description:i,url:p,image:{"@type":"ImageObject",url:y}}}),(0,t.jsx)(a.default,{data:{"@context":"https://schema.org","@type":"Organization",...o.organization}})]})}])},97105,e=>{"use strict";var t=e.i(91398);e.s(["default",0,function({data:e}){return(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})}])},87740,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let n=function(e,t){let[n,a]=(0,r.useState)(null),[o]=function(e,t,n){let{waitForElements:a=!1,disconnectOnFirstMatch:o=!0,parent:i="u">typeof document?document.documentElement:void 0}=t||{},s=function(e=[]){let[t,n]=(0,r.useState)(0);return(0,r.useEffect)(()=>{n(e=>e+1)},e),t}(n),[l,c]=(0,r.useState)([]);return(0,r.useEffect)(()=>{if(!e||!i)return;let t=i.querySelectorAll(e);if(c(Array.from(t)),!t.length&&a){let t=new MutationObserver(()=>{let r=i.querySelectorAll(e);if(r.length&&(c(Array.from(r)),o))try{t.disconnect()}catch{}});return t.observe(i,{childList:!0,subtree:!0}),()=>{try{t.disconnect()}catch{}}}},[e,a,o,i,s]),l}(e,{waitForElements:!0},t);return(0,r.useEffect)(()=>{if(o){if(o.readyPromise)return void o.readyPromise.then(()=>a(o));{let e=()=>{o.removeEventListener("ready",e),a(o)};return o.addEventListener("ready",e),()=>{o?.removeEventListener?.("ready",e)}}}let e=window.chatbotkitWidget;if(e)return void e.instancePromise.then(e=>a(e));function t(){window.chatbotkitWidget.instancePromise.then(e=>a(e))}return window.addEventListener("chatbotkitWidgetInit",t),()=>{window.removeEventListener("chatbotkitWidgetInit",t)}},[o]),n},a="chatbotkit-widget-host",o="chatbotkit-widget-script";e.s(["default",0,function({className:e,frame:i,fallbackHref:s="/contact",children:l,...c}){let u=n("chatbotkit-widget");return(0,r.useEffect)(()=>{if(!document.getElementById(a)){let e=document.createElement("chatbotkit-widget");e.id=a,e.setAttribute("widget","https://chatbotkit.com/auto/widget/frame?type=website-assistant"),e.setAttribute("layout","default"),e.style.zIndex="2147483647",e.style.position="fixed",e.style.bottom="0",e.style.right="0",document.body.appendChild(e)}if(!document.getElementById(o)){let e=document.createElement("script");e.id=o,e.src="https://static.chatbotkit.com/integrations/widget/v2.js",e.async=!0,document.body.appendChild(e)}},[]),(0,t.jsx)("button",{type:"button",className:e,onClick:function(){let e=document.getElementById(a);if(!u||!e){window.location.href=s;return}e.open=!0,i&&e.render({frame:{src:i}})},...c,children:l})}],87740)},26610,e=>{"use strict";var t=e.i(91398),r=e.i(91788),n=e.i(30404),a=e.i(22779),o=e.i(97645),i=e.i(30943),s=e.i(3828);let l={docs:"Documentation",tutorials:"Tutorial",guides:"Guide"};function c({isOpen:e,onClose:a}){let[o,u]=(0,r.useState)(""),[d,f]=(0,r.useState)([]),[p,m]=(0,r.useState)("idle"),[y,h]=(0,r.useState)(0),g=(0,r.useRef)(null),x=(0,r.useRef)(null),b=(0,s.useRouter)();if((0,r.useEffect)(()=>{if(!e){u(""),f([]),m("idle"),h(0);return}let t=setTimeout(()=>g.current?.focus(),50);return()=>clearTimeout(t)},[e]),(0,r.useEffect)(()=>
1{if(e)return b.events.on("routeChangeStart",a),()=>b.events.off("routeChangeStart",a)},[e,a,b.events]),(0,r.useEffect)(()=>{let t=o.trim().replace(/\s+/g," ");if(!e||t.length<2){f([]),m("idle"),h(0);return}let r=new AbortController,n=setTimeout(async()=>{m("loading");try{let e=await fetch("/api/content/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({search:t,take:8}),signal:r.signal}),n=await e.json();if(!e.ok)throw Error(n.error||"Search failed");f(n.items||[]),m("complete"),h(0)}catch(e){e instanceof Error&&"AbortError"===e.name||(f([]),m("error"))}},250);return()=>{clearTimeout(n),r.abort()}},[e,o]),(0,r.useEffect)(()=>{let e=x.current?.querySelector(`[data-result-index="${y}"]`);e?.scrollIntoView({block:"nearest"})},[y]),!e||"u"<typeof document)return null;let v=o.trim();return(0,i.createPortal)((0,t.jsxs)("div",{className:"fixed inset-0 z-50 flex items-start justify-center px-4 pt-[12vh] sm:pt-[16vh]",children:[(0,t.jsx)("button",{className:"absolute inset-0 cursor-default bg-black/50 backdrop-blur-sm",type:"button","aria-label":"Close knowledge search",onClick:a}),(0,t.jsxs)("div",{className:"relative w-full max-w-2xl overflow-hidden rounded-2xl border border-gray-200 bg-white shadow-2xl dark:border-gray-800 dark:bg-black",role:"dialog","aria-modal":"true","aria-label":"Search knowledge",children:[(0,t.jsxs)("div",{className:"relative border-b border-gray-200 dark:border-gray-800",children:[(0,t.jsx)(n.HiMagnifyingGlass,{className:"absolute left-4 top-1/2 size-5 -translate-y-1/2 text-gray-400 dark:text-gray-600","aria-hidden":"true"}),(0,t.jsx)("input",{ref:g,className:"h-14 w-full bg-transparent pl-12 pr-12 text-base text-gray-900 outline-none placeholder:text-gray-400 dark:text-gray-100 dark:placeholder:text-gray-600",type:"search",value:o,placeholder:"Search documentation, tutorials, and guides...",autoComplete:"off",onChange:e=>u(e.target.value),onKeyDown:function(e){if("Escape"===e.key)a();else if("ArrowDown"===e.key&&d.length)e.preventDefault(),h(e=>Math.min(e+1,d.length-1));else if("ArrowUp"===e.key&&d.length)e.preventDefault(),h(e=>Math.max(e-1,0));else if("Enter"===e.key&&d[y]){var t;e.preventDefault(),t=d[y],b.push(`/${t.id}`),a()}}}),"loading"===p?(0,t.jsx)("span",{className:"absolute right-4 top-1/2 size-5 -translate-y-1/2 animate-spin rounded-full border-2 border-gray-200 border-t-gray-700 dark:border-gray-800 dark:border-t-gray-300","aria-label":"Searching"}):o?(0,t.jsx)("button",{className:"absolute right-3 top-1/2 inline-flex size-8 -translate-y-1/2 items-center justify-center rounded-full text-gray-400 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-900 dark:hover:text-gray-300",type:"button","aria-label":"Clear search",onClick:()=>u(""),children:(0,t.jsx)(n.HiXMark,{className:"size-4","aria-hidden":"true"})}):(0,t.jsx)("kbd",{className:"absolute right-4 top-1/2 -translate-y-1/2 rounded border border-gray-200 bg-gray-50 px-2 py-1 text-[10px] text-gray-500 dark:border-gray-800 dark:bg-gray-950",children:"ESC"})]}),(0,t.jsxs)("div",{ref:x,className:"max-h-[60vh] overflow-y-auto","aria-live":"polite",children:[v.length<2?(0,t.jsxs)("div",{className:"px-8 py-12 text-center text-gray-500",children:[(0,t.jsx)(n.HiMagnifyingGlass,{className:"mx-auto mb-3 size-8 text-gray-300 dark:text-gray-700","aria-hidden":"true"}),(0,t.jsx)("p",{className:"text-sm",children:"Search across ChatBotKit knowledge."}),(0,t.jsx)("p",{className:"mt-1 text-xs text-gray-400 dark:text-gray-600",children:"Type at least two characters to begin."})]}):null,v.length>=2&&"complete"===p&&!d.length?(0,t.jsxs)("div",{className:"px-8 py-12 text-center text-gray-500",children:[(0,t.jsxs)("p",{className:"text-sm",children:["No results found for “",v,"”."]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-gray-400 dark:text-gray-600",children:"Try a different term or a broader phrase."})]}):null,"error"===p?(0,t.jsx)("div",{className:"px-8 py-12 text-center text-gray-500",children:(0,t.jsx)("p",{className:"text-sm",children:"Search is temporarily unavailable."})}):null,d.length?(0,t.jsx)("ul",{className:"py-2",children:d.map((e,r)=>{let n=r===y,o=`/${e.id}`;return(0,t.jsx)("li",{children:(0,t.jsxs)("a",{className:n?"block border-l-2 border-black bg-gray-50 px-4 py-3 dark:border-white dark:bg-gray-950":"block border-l-2 border-transparent px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-950",href:o,"data-result-index":r,onMouseEnter:()=>h(r),onClick:a,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-900 dark:text-gray-100",children:e.title}),(0,t.jsx)("span",{className:"rounded-full bg-gray-100 px-2 py-0.5 text-[10px] font-medium uppercase tracking-wide text-gray-500 dark:bg-gray-900",children:l[e.section]||e.section})]}),(0,t.jsx)("p",{className:"mt-1 line-clamp-2 text-xs leading-5 text-gray-500",children:e.excerpt||e.description})]})},e.id)})}):null]}),(0,t.jsxs)("div",{className:"flex items-center justify-between border-t border-gray-200 bg-gray-50/70 px-4 py-2 text-xs text-gray-500 dark:border-gray-800 dark:bg-gray-950/70",children:[(0,t.jsx)("span",{children:"Documentation, tutorials, and guides"}),(0,t.jsxs)("span",{className:"hidden items-center gap-3 sm:flex",children:[(0,t.jsx)("span",{children:"↑↓ navigate"}),(0,t.jsx)("span",{children:"↵ open"}),(0,t.jsx)("span",{children:"esc close"})]})]})]})]}),document.body)}var u=e.i(25249),d=e.i(87740);let f=[{title:"Documentation",href:"/docs"},{title:"Tutorials",href:"/tutorials"},{title:"Guides",href:"/guides"}],p=[{title:"Ask a Question",as:d.default},...a.navbarButtons];e.s(["default",0,function(e){let[a,i]=(0,r.useState)(!1),s=(0,r.useCallback)(()=>i(!1),[]);(0,r.useEffect)(()=>{function e(e){(e.metaKey||e.ctrlKey)&&"k"===e.key.toLowerCase()&&(e.preventDefault(),i(!0))}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let l=(0,t.jsxs)("button",{className:"flex h-9 w-64 items-center rounded-lg border border-gray-300 bg-white px-3 text-sm text-gray-400 shadow-sm transition-colors hover:border-gray-400 hover:text-gray-600 dark:border-gray-700 dark:bg-black dark:text-gray-600 dark:hover:border-gray-600 dark:hover:text-gray-400",type:"button",onClick:()=>i(!0),children:[(0,t.jsx)(n.HiMagnifyingGlass,{className:"mr-2 size-4","aria-hidden":"true"}),(0,t.jsx)("span",{children:"Search knowledge..."}),(0,t.jsx)("kbd",{className:"ml-auto rounded border border-gray-200 bg-gray-50 px-1.5 py-0.5 text-[10px] text-gray-500 dark:border-gray-800 dark:bg-gray-950",children:"⌘K"})]}),d=(0,t.jsx)("button",{className:"mr-1 inline-flex size-9 items-center justify-center rounded-full text-gray-400 hover:bg-gray-100 hover:text-gray-500 dark:text-gray-600 dark:hover:bg-gray-900 dark:hover:text-gray-500",type:"button","aria-label":"Search knowledge",onClick:()=>i(!0),children:(0,t.jsx)(n.HiMagnifyingGlass,{className:"size-5","aria-hidden":"true"})});return(0,t.jsx)(o.default,{...e,navbar:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{navigation:f,buttons:p,middle:l,mobileMiddle:d}),(0,t.jsx)(c,{isOpen:a,onClose:s})]})})}],26610)},97645,e=>{"use strict";var t=e.i(91398),r=e.i(22779),n=e.i(12381),a=e.i(25249),o=e.i(67536),i=e.i(56206);e.s(["default",0,function({title:e,description:s,keywords:l,image:c,rss:u,canonical:d,noindex:f,navbarButtonsExtra:p,navbar:m,className:y,children:h}){let g=[...p||[],...r.navbarButtons];return(0,t.jsxs)("div",{className:(0,i.default)("min-h-[calc(100vh-4rem)]","bg-white dark:bg-black",y),children:[(0,t.jsx)(o.default,{title:e,description:s,keywords:l,image:c,rss:u,canonical:d,noindex:f}),m||(0,t.jsx)(a.default,{navigation:r.navbarNavigation,buttons:g}),(0,t.jsx)("main",{children:(0,t.jsx)("div",{children:h})}),(0,t.jsx)(n.default,{navigation:r.footerNavigation})]})}])},76199,e=>{"use strict";let t="https://chatbotkit.com",r={"@id":`${t}/#organization`,name:"ChatBotKit",description:"ChatBotKit helps you create conversational AI bots with custom data and abilities that communicate naturally with users in your Ap
1p, Website, Slack, Discord, WhatsApp, Telegram and more.",url:t,logo:`${t}/icon.png`,image:`${t}/card`,foundingDate:"2023",sameAs:["https://www.wikidata.org/wiki/Q140443886","https://x.com/chatbotkit","https://twitter.com/chatbotkit","https://www.linkedin.com/company/chatbotkit","https://www.youtube.com/@chatbotkit","https://github.com/chatbotkit","https://www.facebook.com/chatbotkit","https://go.cbk.ai/discord"]},n={name:"ChatBotKit",description:"ChatBotKit helps you create conversational AI bots with custom data and abilities that communicate naturally with users in your App, Website, Slack, Discord, WhatsApp, Telegram and more.",url:t,aggregateRating:{"@type":"AggregateRating",ratingValue:"4.7",ratingCount:Math.round(Date.now()/864e5*.1)}};e.s(["SITE_URL",0,t,"authors",0,{pdp:{name:"Petko D. Petkov",description:"on a break from CISO duties, building cbk.ai",role:"Founder & CEO",avatar:"https://www.gravatar.com/avatar/5630e55d14b2a55690b25addac95a751?d=identicon&s=256"}},"organization",0,r,"product",0,n])},41705,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},52456,(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a}},3331,e=>{"use strict";var t=e.i(91788),r=(e,t,r,n,a,o,i,s)=>{let l=document.documentElement,c=["light","dark"];function u(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&o?a.map(e=>o[e]||e):a;r?(l.classList.remove(...n),l.classList.add(o&&o[t]?o[t]:t)):l.setAttribute(e,t)}),r=t,s&&c.includes(r)&&(l.style.colorScheme=r)}if(n)u(n);else try{let e=localStorage.getItem(t)||r,n=i&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(n)}catch(e){}},n=["light","dark"],a="(prefers-color-scheme: dark)",o="u"<typeof window,i=t.createContext(void 0),s={setTheme:e=>{},themes:[]},l=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:o=!0,enableColorScheme:s=!0,storageKey:c="theme",themes:m=l,defaultTheme:y=o?"system":"light",attribute:h="data-theme",value:g,children:x,nonce:b,scriptProps:v})=>{let[w,k]=t.useState(()=>d(c,y)),[j,E]=t.useState(()=>"system"===w?p():w),S=g?Object.values(g):m,_=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=p());let a=g?g[t]:t,i=r?f(b):null,l=document.documentElement,c=e=>{"class"===e?(l.classList.remove(...S),a&&l.classList.add(a)):e.startsWith("data-")&&(a?l.setAttribute(e,a):l.removeAttribute(e))};if(Array.isArray(h)?h.forEach(c):c(h),s){let e=n.includes(y)?y:null,r=n.includes(t)?t:e;l.style.colorScheme=r}null==i||i()},[b]),O=t.useCallback(e=>{let t="function"==typeof e?e(w):e;k(t);try{localStorage.setItem(c,t)}catch(e){}},[w]),N=t.useCallback(t=>{E(p(t)),"system"===w&&o&&!e&&_("system")},[w,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(N),N(e),()=>e.removeListener(N)},[N]),t.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?k(e.newValue):O(y))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[O]),t.useEffect(()=>{_(null!=e?e:w)},[e,w]);let C=t.useMemo(()=>({theme:w,setTheme:O,forcedTheme:e,resolvedTheme:"system"===w?j:w,themes:o?[...m,"system"]:m,systemTheme:o?j:void 0}),[w,O,e,j,o,m]);return t.createElement(i.Provider,{value:C},t.createElement(u,{forcedTheme:e,storageKey:c,attribute:h,enableSystem:o,enableColorScheme:s,defaultTheme:y,value:g,themes:m,nonce:b,scriptProps:v}),x)},u=t.memo(({forcedTheme:e,storageKey:n,attribute:a,enableSystem:o,enableColorScheme:i,defaultTheme:s,value:l,themes:c,nonce:u,scriptProps:d})=>{let f=JSON.stringify([a,n,s,e,c,l,o,i]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?u:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${f})`}})}),d=(e,t)=>{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},f=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)}}
1,p=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(i)?t.createElement(t.Fragment,null,e.children):t.createElement(c,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(i))?e:s}])},20955,(e,t,r)=>{var n={156:function(e){var t,r,n,a=e.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],c=!1,u=-1;function d(){c&&n&&(c=!1,n.length?l=n.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(n=l,l=[];++u<t;)n&&n[u].run();u=-1,t=l.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}},i=!0;try{n[e](r,r.exports,o),i=!1}finally{i&&delete a[e]}return r.exports}o.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=o(156)},50461,(e,t,r)=>{"use strict";var n,a;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(a=e.g.process)?void 0:a.env)?e.g.process:e.r(20955)},13584,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=e.r(41705)._(e.r(91788)).default.createContext({})},80963,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},defaultHead:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(41705),i=e.r(52456),s=e.r(91398),l=i._(e.r(91788)),c=o._(e.r(94941)),u=e.r(13584);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,r,n,a;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,a={},e=>{let o=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=a[r]||new Set;("name"!==r||!i)&&n.has(t)?o=!1:(n.add(t),a[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let y=function({children:e}){let t=(0,l.useContext)(u.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94941,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(91788),a="u"<typeof window,o=a?()=>{}:n.useLayoutEffect,i=a?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return a&&(t?.mountedInstances?.add(e.children),s()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},89129,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return b},SP:function(){return y},ST:function(){return h},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return k}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let y="u">typeof performance,h=y&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class x extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(e){return JSON.stringify({message:e.message,stack:e.stack})}},58678,(e,t,r)=>{t.exports=e.r(80963)},3828,(e,t,r)=>{t.exports=e.r(26990)},6845,56206,e=>{"use strict";var t=e.i(91788),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=t.default.createContext&&t.default.createContext(r),a=["attr","size","title"];function o(){return(o=Object.assign.bind()).apply(this,arguments)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var n,a,o;n=e,a=t,o=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e){var i=r=>{var n,{attr:i,size:l,title:c}=e,u=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,a),d=l||r.size||"1em";return r.className&&(n=r.className),e.className&&(n=(n?n+" ":"")+e.className),t.default.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,i,u,{className:n,style:s(s({color:e.color||r.color},r.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),c&&t.default.createElement("title",null,c),e.children)};return void 0!==n?t.default.createElement(n.Consumer,null,e=>i(e)):i(r)}e.s(["GenIcon",0,function(e){return r=>t.default.createElement(l,o({attr:s({},e.attr)},r),function e(r){return r&&r.map((r,n)=>t.default.createElement(r.tag,s({key:n},r.attr),e(r.child)))}(e.child))}],6845),e.s(["default",0,function(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}],56206)},1884,(e,t,r)=>{"use strict";var n=e.r(91788),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,o={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}r.Fragment=o,r.jsx=c,r.jsxs=c},91398,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(1884)},77325,(e,t,r)=>{"use strict";var n=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function x(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||y}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=x.prototype;var w=v.prototype=new b;w.constructor=v,h(w,x.prototype),w.isPureReactComponent=!0;var k=Array.isArray,j=Object.prototype.hasOwnProperty,E={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)j.call(t,a)&&!S.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:E.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function C(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function P(e,t,r){if(null==e)return e;var o=[],i=0;return!function e(t,r,o,i,s){var l,c,u,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case n:case a:f=!0}}if(f)return s=s(f=t),t=""===i?"."+C(f,0):i,k(s)?(o="",null!=t&&(o=t.replace(N,"$&/")+"/"),e(s,r,o,"",function(e){return e})):null!=s&&(O(s)&&(l=s,c=o+(!s.key||f&&f.key===s.key?"":(""+s.key).replace(N,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:c,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(f=0,i=""===i?".":i+":",k(t))for(var p=0;p<t.length;p++){var y=i+C(d=t[p],p);f+=e(d,r,o,y,s)}else if("function"==typeof(y=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=m&&u[m]||u["@@iterator"])?u:null))for(t=y.call(t),p=0;!(d=t.next()).done;)y=i+C(d=d.value,p++),f+=e(d,r,o,y,s);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return f}(e,o,"","",function(e){return t.call(r,e,i++)}),o}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},I={transition:null};function R(){throw Error("act(...) is not supported in production builds of React.")}r.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=x,r.Fragment=o,r.Profiler=s,r.PureComponent=v,r.StrictMode=i,r.Suspense=
vendor: 2,422 bytes, line 1
1d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:I,ReactCurrentOwner:E},r.act=R,r.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=h({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=E.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)j.call(t,c)&&!S.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},r.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=_,r.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:u,render:e}},r.isValidElement=O,r.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:T}},r.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},r.unstable_act=R,r.useCallback=function(e,t){return A.current.useCallback(e,t)},r.useContext=function(e){return A.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return A.current.useDeferredValue(e)},r.useEffect=function(e,t){return A.current.useEffect(e,t)},r.useId=function(){return A.current.useId()},r.useImperativeHandle=function(e,t,r){return A.current.useImperativeHandle(e,t,r)},r.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return A.current.useMemo(e,t)},r.useReducer=function(e,t,r){return A.current.useReducer(e,t,r)},r.useRef=function(e){return A.current.useRef(e)},r.useState=function(e){return A.current.useState(e)},r.useSyncExternalStore=function(e,t,r){return A.current.useSyncExternalStore(e,t,r)},r.useTransition=function(){return A.current.useTransition()},r.version="18.3.1"},91788,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(77325)}]);

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.