1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39265],{13110:(e,t,r)=>{r.d(t,{r:()=>l});var a=r(14725);let n={primary:"bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80",outline:"border hover:bg-fd-accent hover:text-fd-accent-foreground",ghost:"hover:bg-fd-accent hover:text-fd-accent-foreground",secondary:"border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"},l=(0,a.F)("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none",{variants:{variant:n,color:n,size:{sm:"gap-1 px-2 py-1.5 text-xs",icon:"p-1.5 [&_svg]:size-5","icon-sm":"p-1.5 [&_svg]:size-4.5","icon-xs":"p-1 [&_svg]:size-4"}}})},14319:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var a=r(80891),n=r(53818),l=r(62898),o=(0,n.forwardRef)(({href:e="#",external:t=e.match(/^\w+:/)||e.startsWith("//"),prefetch:r,...n},o)=>t?(0,l.jsx)("a",{ref:o,href:e,rel:"noreferrer noopener",target:"_blank",...n,children:n.children}):(0,l.jsx)(a.N_,{ref:o,href:e,prefetch:r,...n}));o.displayName="Link",r(84503)},36502:(e,t,r)=>{r.d(t,{Image:()=>a._V,a8:()=>a.a8,q6:()=>a.q6,rd:()=>a.rd});var a=r(80891);r(84503)},40948:(e,t,r)=>{r.d(t,{CodeBlock:()=>v,CodeBlockTab:()=>j,CodeBlockTabs:()=>b,CodeBlockTabsList:()=>w,CodeBlockTabsTrigger:()=>M,Pre:()=>k});var a=r(62898),n=r(49116),l=r(53818),o=r(64061),d=r(14491),s=r(13110),i=r(43469),c=r(44585);let h=new Map,u=(0,l.createContext)(null),y=i.j7,p=i.Xi;function m(e){let{ref:t,groupId:r,persist:n=!1,updateAnchor:o=!1,defaultValue:s,value:y,onValueChange:p,...m}=e,f=(0,l.useRef)(null),[x,k]=void 0===y?(0,l.useState)(s):[y,null!=p?p:()=>void 0],v=(0,d.J)(e=>k(e)),g=(0,l.useMemo)(()=>new Map,[]);return(0,l.useLayoutEffect)(()=>{var e;if(!r)return;let t=n?localStorage.getItem(r):sessionStorage.getItem(r);t&&v(t);let a=null!=(e=h.get(r))?e:[];return a.push(v),h.set(r,a),()=>{var e;let t=null!=(e=h.get(r))?e:[];h.set(r,t.filter(e=>e!==v))}},[r,v,n]),(0,l.useLayoutEffect)(()=>{let e=window.location.hash.slice(1);if(e){for(let[r,a]of g.entries())if(a===e){var t;v(r),null==(t=f.current)||t.scrollIntoView();break}}},[v,g]),(0,a.jsx)(i.tU,{ref:(0,c.P)(t,f),value:x,onValueChange:e=>{if(o){let t=g.get(e);t&&window.history.replaceState(null,"","#".concat(t))}if(r){var t;null==(t=h.get(r))||t.forEach(t=>{t(e)}),n?localStorage.setItem(r,e):sessionStorage.setItem(r,e)}else k(e)},...m,children:(0,a.jsx)(u.Provider,{value:(0,l.useMemo)(()=>({valueToIdMap:g}),[g]),children:m.children})})}function f(e){let{value:t,...r}=e,{valueToIdMap:n}=function(){let e=(0,l.useContext)(u);if(!e)throw Error("You must wrap your component in <Tabs>");return e}();return r.id&&n.set(t,r.id),(0,a.jsx)(i.av,{value:t,...r,children:r.children})}let x=(0,l.createContext)(null);function k(e){return(0,a.jsx)("pre",{...e,className:(0,o.QP)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children})}function v(e){var t;let{ref:r,title:n,allowCopy:d=!0,keepBackground:s=!1,icon:i,viewportProps:c={},children:h,Actions:u=e=>(0,a.jsx)("div",{...e,className:(0,o.QP)("empty:hidden",e.className)}),...y}=e,p=null!==(0,l.useContext)(x),m=(0,l.useRef)(null);return(0,a.jsxs)("figure",{ref:r,dir:"ltr",...y,className:(0,o.QP)(p?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",s&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border shadow-sm outline-none not-prose overflow-hidden text-sm",y.className),children:[n?(0,a.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof i?(0,a.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:i}}):i,(0,a.jsx)("figcaption",{className:"flex-1 truncate",children:n}),u({className:"-me-2",children:d&&(0,a.jsx)(g,{containerRef:m})})]}):u({className:"absolute top-2 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:d&&(0,a.jsx)(g,{containerRef:m})}),(0,a.jsx)("div",{ref:m,...c,className:(0,o.QP)("text-[13px] py-3.5 overflow-auto max-h-[600px] fd-scroll-container",c.className),style:{"--padding-right":n?void 0:"calc(var(--spacing) * 8)",counterSet:y["data-line-numbers"]?"line ".concat(Number(null!=(t=y["data-line-numbers-start"])?t:1)-1):void 0,...c.style},children:h})]})}function g(e){let{className:t,containerRef:r,...i}=e,[c,h]=function(e){let[t,r]=(0,l.useState)(!1),a=(0,l.useRef)(null),n=(0,d.J)(()=>{a.current&&window.clearTimeout(a.current),Promise.resolve(e()).then(()=>{r(!0),a.current=window.setTimeout(()=>{r(!1)},1500)})});return(0,l.useEffect)(()=>()=>{a.current&&window.clearTimeout(a.current)},[]),[t,n]}(()=>{var e,t;let a=null==(e=r.current)?void 0:e.getElementsByTagName("pre").item(0);if(!a)return;let n=a.cloneNode(!0);
1n.querySelectorAll(".nd-copy-ignore").forEach(e=>{e.replaceWith("\n")}),navigator.clipboard.writeText(null!=(t=n.textContent)?t:"")});return(0,a.jsx)("button",{type:"button",className:(0,o.QP)((0,s.r)({className:"hover:text-fd-accent-foreground",size:"icon-xs"}),t),"aria-label":c?"Copied Text":"Copy Text",onClick:h,...i,children:c?(0,a.jsx)(n.Jl,{}):(0,a.jsx)(n.B0,{})})}function b(e){let{ref:t,...r}=e,n=(0,l.useRef)(null),d=null!==(0,l.useContext)(x);return(0,a.jsx)(m,{ref:(0,c.P)(n,t),...r,className:(0,o.QP)("bg-fd-card rounded-xl border",!d&&"my-4",r.className),children:(0,a.jsx)(x.Provider,{value:(0,l.useMemo)(()=>({containerRef:n,nested:d}),[d]),children:r.children})})}function w(e){return(0,a.jsx)(y,{...e,className:(0,o.QP)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children})}function M(e){let{children:t,...r}=e;return(0,a.jsxs)(p,{...r,className:(0,o.QP)("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",r.className),children:[(0,a.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),t]})}function j(e){return(0,a.jsx)(f,{...e})}},49116:(e,t,r)=>{r.d(t,{$3:()=>m,AX:()=>y,B0:()=>b,Bx:()=>i,Gr:()=>u,JG:()=>P,Jl:()=>k,Ml:()=>c,N_:()=>j,R2:()=>g,RT:()=>x,Vw:()=>M,bd:()=>p,c_:()=>N,iU:()=>w,lW:()=>v,rW:()=>f,vj:()=>h,yQ:()=>s});var a=r(62898),n=r(53818),l=r(64061);let o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},d=(e,t)=>{let r=(0,n.forwardRef)(({className:e,size:r=24,color:d="currentColor",children:s,...i},c)=>(0,a.jsxs)("svg",{ref:c,...o,width:r,height:r,stroke:d,className:(0,l.QP)("lucide",e),...i,children:[t.map(([e,t])=>(0,n.createElement)(e,t)),s]}));return r.displayName=e,r},s=d("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);d("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);let i=d("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),c=d("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),h=d("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),u=d("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),y=d("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),p=d("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),m=d("airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]);d("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),d("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),d("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);let f=d("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),x=d("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]),k=d("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),v=d("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),g=d("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);
1d("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);let b=d("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"1"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"2"}]]),w=d("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),M=d("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);d("text",[["path",{d:"M15 18H3",key:"olowqp"}],["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H3",key:"2avoz0"}]]),d("file",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]),d("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),d("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),d("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);let j=d("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);d("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);let N=d("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),P=d("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);d("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),d("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),d("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},80891:(e,t,r)=>{r.d(t,{N_:()=>h,Uy:()=>d,_V:()=>c,a8:()=>s,q6:()=>u,rd:()=>i});var a=r(53818),n=r(62898),l=()=>{throw Error("You need to wrap your application inside `FrameworkProvider`.")},o=u("FrameworkContext",{useParams:l,useRouter:l,usePathname:l});function d({Link:e,useRouter:t,useParams:r,usePathname:l,Image:d,children:s}){let i=a.useMemo(()=>({usePathname:l,useRouter:t,Link:e,Image:d,useParams:r}),[e,l,t,r,d]);return(0,n.jsx)(o.Provider,{value:i,children:s})}function s(){return o.use().usePathname()}function i(){return o.use().useRouter()}function c(e){let{Image:t}=o.use();if(!t){let{src:t,alt:r,priority:a,...l}=e;return(0,n.jsx)("img",{alt:r,src:t,fetchPriority:a?"high":"auto",...l})}return(0,n.jsx)(t,{...e})}function h(e){let{Link:t}=o.use();if(!t){let{href:t,prefetch:r,...a}=e;return(0,n.jsx)("a",{href:t,...a})}return(0,n.jsx)(t,{...e})}function u(e,t){let r=a.createContext(t);return{Provider:e=>(0,n.jsx)(r.Provider,{value:e.value,children:e.children}),use:t=>{let n=a.useContext(r);if(!n)throw Error(t??`Provider of ${e} is required but missing.`);return n}}}}}]);
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.