1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9040],{2658:(e,t,r)=>{"use strict";r.d(t,{CodeBlock:()=>g,R:()=>h,i:()=>f});var n=r(95155),i=r(12115),o=r(5196),l=r(24357),s=r(97168);let a={plain:"#24292F",comment:"#5F6772",string:"#0A6E4A",url:"#0550AE",flag:"#8250DF",command:"#953800",key:"#0550AE",number:"#0550AE",literal:"#8250DF",punctuation:"#57606A"},c=RegExp("(#[^\\n]*)|(\"(?:[^\"\\\\]|\\\\.)*\")|('(?:[^'\\\\]|\\\\.)*')|(https?://[^\\s\"'\\\\]+)|(^[ \\t]*[A-Za-z][\\w.-]*)|(--?[A-Za-z][\\w-]*)|(\\\\[ \\t]*$)","gm"),d=RegExp('(//[^\\n]*)|("(?:[^"\\\\]|\\\\.)*"[ \\t]*(?=:))|("(?:[^"\\\\]|\\\\.)*")|(\\b-?\\d+(?:\\.\\d+)?\\b)|(\\b(?:true|false|null)\\b)|([{}\\[\\],:])',"gm"),u=["comment","string","string","url","command","flag","punctuation"],m=["comment","key","string","number","literal","punctuation"],p={background:"#FBFAF9",border:"#E7E1DB"};function b(e){let[t,r]=(0,i.useState)(!1),n=(0,i.useRef)(null);return(0,i.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]),{copied:t,copy:(0,i.useCallback)(async()=>{try{await navigator.clipboard.writeText(e)}catch{let t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select();try{document.execCommand("copy")}catch{}document.body.removeChild(t)}r(!0),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>r(!1),2e3)},[e])}}function f({text:e,label:t,copiedLabel:r="Copied",size:i="sm",variant:a="outline",className:c,icon:d,onCopied:u}){let{copied:m,copy:p}=b(e);return(0,n.jsxs)(s.$,{type:"button",size:i,variant:a,className:c,onClick:()=>{p(),u?.()},children:[m?(0,n.jsx)(o.A,{className:"h-4 w-4"}):d??(0,n.jsx)(l.A,{className:"h-4 w-4"}),t?(0,n.jsx)("span",{className:"ml-1.5",children:m?r:t}):null]})}function g({code:e,language:t="bash",className:r,dense:i}){let{copied:s,copy:f}=b(e),g=function(e,t="bash"){let r,n="json"===t?d:c,i="json"===t?m:u,o=[],l=0;for(n.lastIndex=0;null!==(r=n.exec(e));){if(0===r[0].length){n.lastIndex+=1;continue}r.index>l&&o.push({text:e.slice(l,r.index),kind:"plain"});let t=r.findIndex((e,t)=>t>0&&void 0!==e);o.push({text:r[0],kind:i[t-1]??"plain"}),l=r.index+r[0].length}return l<e.length&&o.push({text:e.slice(l),kind:"plain"}),o}(e,t);return(0,n.jsxs)("div",{className:`relative min-w-0 max-w-full rounded-lg border overflow-hidden ${r||""}`,style:{background:p.background,borderColor:p.border},children:[(0,n.jsx)("pre",{tabIndex:0,role:"region","aria-label":`${t} snippet`,className:`overflow-x-auto font-mono focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#C2410C] focus-visible:ring-inset ${i?"p-3 pr-11 text-[12px] leading-[1.7]":"p-4 pr-12 text-[13px] leading-[1.75]"}`,style:{color:a.plain,margin:0},children:(0,n.jsx)("code",{style:{color:a.plain,background:"transparent",padding:0},children:g.map((e,t)=>(0,n.jsx)("span",{style:{color:a[e.kind]},children:e.text},t))})}),(0,n.jsx)("button",{type:"button",onClick:f,"aria-label":s?"Copied to clipboard":"Copy code to clipboard",className:"absolute top-2 right-2 rounded-md border bg-white p-1.5 transition-colors hover:bg-[#F3EFEB] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#C2410C] focus-visible:ring-offset-1",style:{borderColor:p.border},children:s?(0,n.jsx)(o.A,{className:"h-3.5 w-3.5",style:{color:"#0A6E4A"}}):(0,n.jsx)(l.A,{className:"h-3.5 w-3.5",style:{color:"#57606A"}})})]})}let h=g},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},19946:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(12115);let i=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var 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"};let l=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:l,className:s="",children:a,iconNode:c,...d},u)=>(0,n.createElement)("svg",{ref:u,...o,width:t,height:t,stroke:e,strokeWidth:l?24*Number(r)/Number(t):r,className:i("lucide",s),...d},[...c.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(a)?a:[a]])),s=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...o},s)=>(0,n.createElement)(l,{ref:s,iconNode:t,className:i(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...o}));return r.displayName=`${e}`,r}},24357:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});
1let n=(0,r(19946).A)("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"}]])},38065:(e,t,r)=>{Promise.resolve().then(r.bind(r,2658)),Promise.resolve().then(r.t.bind(r,6874,23))},74466:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var n=r(52596);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,l=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:l,defaultVariants:s}=t,a=Object.keys(l).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let o=i(t)||i(n);return l[e][o]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,a,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...c}[t]):({...s,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},97168:(e,t,r)=>{"use strict";r.d(t,{$:()=>c,r:()=>a});var n=r(95155),i=r(12115),o=r(99708),l=r(74466),s=r(24026);let a=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-12 px-4 py-2 min-h-[48px]",sm:"h-12 rounded-md px-3 min-h-[48px]",lg:"h-14 roun
1ded-md px-8 min-h-[56px]",icon:"h-12 w-12 min-h-[48px] min-w-[48px]"}},defaultVariants:{variant:"default",size:"default"}}),c=i.forwardRef(({className:e,variant:t,size:r,asChild:i=!1,...l},c)=>{let d=i?o.DX:"button";return(0,n.jsx)(d,{className:(0,s.cn)(a({variant:t,size:r,className:e})),ref:c,...l})});c.displayName="Button"}},e=>{e.O(0,[4758,6874,4026,5333,7358],()=>e(e.s=38065)),_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.