1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,488844,e=>{"use strict";let t=(0,e.i(475254).default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",0,t],488844)},555436,e=>{"use strict";let t=(0,e.i(475254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],555436)},763690,e=>{e.v(t=>Promise.all(["static/chunks/1o6wwi6mulnja.js"].map(t=>e.l(t))).then(()=>t(686155)))},48029,e=>{e.v(t=>Promise.all(["static/chunks/0af4c_stcuqsc.js"].map(t=>e.l(t))).then(()=>t(797053)))},894166,e=>{e.v(t=>Promise.all(["static/chunks/3_o_whbxv7o3z.js"].map(t=>e.l(t))).then(()=>t(666307)))},90970,e=>{e.v(t=>Promise.all(["static/chunks/1-hsg6xzp-pmo.js"].map(t=>e.l(t))).then(()=>t(873928)))},883845,e=>{e.v(t=>Promise.all(["static/chunks/3fcfcvfh_caxe.js"].map(t=>e.l(t))).then(()=>t(558694)))},868332,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(592846),r=e.i(555436),l=e.i(37727),o=e.i(178583),i=e.i(488844),n=e.i(373264),d=e.i(531278),c=e.i(522016);e.s(["SemanticSearch",0,function({type:e,variant:u="default",className:m=""}){let{t:f,currentLanguage:p}=(0,s.useTranslation)(),[x,h]=(0,a.useState)(""),[g,b]=(0,a.useState)([]),[v,y]=(0,a.useState)(!1),[N,j]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),C=function(e){let[t,s]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let t=setTimeout(()=>s(e),350);return()=>clearTimeout(t)},[e,350]),t}(x),T=(0,a.useRef)(null),R=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(C.length<2){b([]),j(!1);return}let t=!1,a=p.toLowerCase();y(!0),k(!1);let s=new URL("/api/search",window.location.origin);return s.searchParams.set("q",C),s.searchParams.set("lang",a),e&&s.searchParams.set("type",e),fetch(s.toString()).then(e=>e.ok?e.json():Promise.reject(e.status)).then(e=>{t||(b(e.results??[]),j(!0))}).catch(()=>{t||k(!0)}).finally(()=>{t||y(!1)}),()=>{t=!0}},[C,p,e]),(0,a.useEffect)(()=>{let e=e=>{T.current&&!T.current.contains(e.target)&&j(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let P=(0,a.useCallback)(()=>{h(""),b([]),j(!1),R.current?.focus()},[]),D=(0,a.useCallback)(()=>{j(!1),h("")},[]),S="minimal"===u;return(0,t.jsxs)("div",{ref:T,className:`relative ${S?"w-full max-w-md":"w-full max-w-xl"} ${m}`,children:[(0,t.jsxs)("div",{className:` 2 flex items-center gap-2 rounded-lg border transition-all 3 ${S?"bg-slate-800 border-slate-600 focus-within:border-blue-400":"bg-slate-900 border-slate-700 shadow-sm focus-within:border-blue-400 focus-within:ring-1 focus-within:ring-blue-500/30"} 4 px-3 py-2 5 `,children:[v?(0,t.jsx)(d.Loader2,{className:"h-4 w-4 shrink-0 animate-spin text-slate-400"}):(0,t.jsx)(r.Search,{className:"h-4 w-4 shrink-0 text-slate-400"}),(0,t.jsx)("input",{ref:R,type:"search",value:x,onChange:e=>h(e.target.value),placeholder:"article"===e?f("search.articlePlaceholder"):f("search.placeholder"),autoComplete:"off",className:` 6 flex-1 bg-transparent text-sm outline-none placeholder:text-slate-400 7 text-slate-100 8 `,role:"combobox","aria-label":"article"===e?f("search.articlePlaceholder"):f("search.placeholder"),"aria-autocomplete":"list","aria-expanded":N,"aria-controls":"search-results","aria-haspopup":"listbox"}),x&&(0,t.jsx)("button",{onClick:P,className:"text-slate-400 hover:text-slate-200 transition-colors","aria-label":f("search.clear"),children:(0,t.jsx)(l.X,{className:"h-3.5 w-3.5"})})]}),N&&(0,t.jsxs)("div",{id:"search-results",role:"listbox",className:` 9 absolute z-50 top-full mt-1 w-full rounded-lg border shadow-lg overflow-hidden 10 ${S?"bg-slate-800 border-slate-600":"bg-slate-900 border-slate-700"} 11 `,children:[w&&(0,t.jsx)("div",{className:"px-4 py-3 text-sm text-red-500 dark:text-red-400",children:f("search.error")}),!w&&0===g.length&&!v&&(0,t.jsx)("div",{className:"px-4 py-3 text-sm text-slate-400",children:f("search.noResults")}),!w&&g.length>0&&(0,t.jsx)("ul",{children:g.map((e,a)=>(0,t.jsx)("li",{role:"option",children:(0,t.jsxs)(c.default,{href:e.url,onClick:D,className:` 12 flex items-start gap-3 px-4 py-3 transition-colors group 13 ${S?"hover:bg-slate-700":"hover:bg-slate-800"} 14 ${a>0?"border-t border-slate-700":""} 15 `,children:[(0,t.jsx)("span",{className:"mt-0.5 shrink-0",children:"article"===e.contentType?(0,t.jsx)(o.FileText,{className:"h-4 w-4 text-blue-500 dark:text-blue-400"}):"page"===e.contentType?(0,t.jsx)(n.LayoutGrid,{className:"h-4 w-4 text-violet-500 dark:text-violet-400"}):(0,t.jsx)(i.Package,{className:"h-4 w-4 text-emerald-500 dark:text-emerald-400"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-2 mb-0.5",children:(0,t.jsx)("span",{className:` 16 text-xs px-1.5 py-0.5 rounded font-medium 17 ${"article"===e.contentType?"bg-blue-100 text-blue-700 dark:bg-blue-900/40 dark:text-blue-300":"page"===e.contentType?"bg-violet-100 text-violet-700 dark:bg-violet-900/40 dark:text-violet-300":"bg-emerald-100 text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300"} 18 `,children:"article"===e.contentType?f("search.articleBadge"):"page"===e.contentType?f("search.pageBadge"):f("search.productBadge")})}),(0,t.jsx)("p",{className:` 19 text-sm font-medium truncate 20 ${S?"text-slate-100":"text-slate-800 dark:text-slate-100"}
21 group-hover:text-blue-600 dark:group-hover:text-blue-400 transition-colors 22 `,children:e.title}),e.excerpt&&(0,t.jsx)("p",{className:"text-xs text-slate-400 dark:text-slate-500 truncate mt-0.5",children:e.excerpt})]})]})},`${e.contentType}-${e.slug}-${a}`))})]})]})}])},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),s=e.i(975157);let r=(0,a.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:a,...l}){return(0,t.jsx)("span",{className:(0,s.cn)(r({variant:a}),e),...l})},"badgeVariants",0,r])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(975157);let r=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,"data-slot":"card",className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...a}));r.displayName="Card";let l=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,"data-slot":"card-header",className:(0,s.cn)("flex flex-col space-y-1.5 p-6",e),...a}));l.displayName="CardHeader";let o=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",e),...a}));o.displayName="CardTitle";let i=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,className:(0,s.cn)("text-sm text-muted-foreground",e),...a}));i.displayName="CardDescription";let n=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,"data-slot":"card-content",className:(0,s.cn)("p-6 pt-0",e),...a}));n.displayName="CardContent";let d=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("div",{ref:r,className:(0,s.cn)("flex items-center p-6 pt-0",e),...a}));d.displayName="CardFooter",e.s(["Card",0,r,"CardContent",0,n,"CardDescription",0,i,"CardFooter",0,d,"CardHeader",0,l,"CardTitle",0,o])},776639,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(326999),r=e.i(37727),l=e.i(975157);let o=s.Root,i=s.Trigger,n=s.Portal;s.Close;let d=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(s.Overlay,{ref:r,className:(0,l.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a}));d.displayName=s.Overlay.displayName;let c=a.forwardRef(({className:e,children:a,...o},i)=>(0,t.jsxs)(n,{children:[(0,t.jsx)(d,{}),(0,t.jsxs)(s.Content,{ref:i,className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...o,children:[a,(0,t.jsxs)(s.Close,{className:"absolute right-4 top-4 roun
22ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(r.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));c.displayName=s.Content.displayName;let u=({className:e,...a})=>(0,t.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...a});u.displayName="DialogHeader";let m=({className:e,...a})=>(0,t.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...a});m.displayName="DialogFooter";let f=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(s.Title,{ref:r,className:(0,l.cn)("text-lg font-semibold leading-none tracking-tight",e),...a}));f.displayName=s.Title.displayName;let p=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)(s.Description,{ref:r,className:(0,l.cn)("text-sm text-muted-foreground",e),...a}));p.displayName=s.Description.displayName,e.s(["Dialog",0,o,"DialogContent",0,c,"DialogDescription",0,p,"DialogFooter",0,m,"DialogHeader",0,u,"DialogTitle",0,f,"DialogTrigger",0,i])},793479,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(975157);let r=a.forwardRef(({className:e,type:a,...r},l)=>(0,t.jsx)("input",{type:a,className:(0,s.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:l,...r}));r.displayName="Input",e.s(["Input",0,r])},110204,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(975157);let r=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("label",{ref:r,className:(0,s.cn)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...a}));r.displayName="Label",e.s(["Label",0,r])}]);
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.