1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[589,2052,2651,3339,9764],{7558:(e,r,t)=>{"use strict";t.d(r,{MarkdownCodeBlock:()=>d});var n=t(72464),i=t(23324),l=t(25872);let o=(0,t(67283).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"}]]);var a=t(21509),s=t(19106);function d(e){let{code:r,language:t}=e,[d,c]=(0,i.useState)(!1),u=r.replace(/\n$/,""),p=!u.includes("\n"),f=async()=>{try{await navigator.clipboard.writeText(u),c(!0),window.setTimeout(()=>c(!1),1600)}catch(e){c(!1)}};return(0,n.jsxs)("div",{className:"my-6 overflow-hidden rounded-2xl border border-border/50 bg-[linear-gradient(180deg,rgba(255,255,255,0.96),rgba(246,240,232,0.92))] shadow-[0_14px_40px_-30px_rgba(57,44,31,0.45)]",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-border/40 px-3 py-2 sm:px-4",children:[(0,n.jsx)("div",{className:"min-w-0 text-[11px] font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:null!=t?t:"Code"}),(0,n.jsxs)(a.$,{type:"button",variant:"ghost",size:"sm",onClick:f,className:(0,s.cn)("h-8 rounded-full border border-border/50 bg-white/70 text-xs text-muted-foreground hover:bg-white hover:text-foreground",p?"px-2.5":"w-8 px-0"),"aria-label":d?"Copied code":"Copy code",title:d?"Copied":"Copy",children:[d?(0,n.jsx)(l.A,{className:"h-3.5 w-3.5"}):(0,n.jsx)(o,{className:"h-3.5 w-3.5"}),p?(0,n.jsx)("span",{children:d?"Copied":"Copy"}):null]})]}),(0,n.jsx)("pre",{className:(0,s.cn)("overflow-x-auto px-3 text-sm leading-6 sm:px-4",p?"py-2.5 sm:py-3":"py-3 sm:py-4"),children:(0,n.jsx)("code",{className:"block whitespace-pre font-mono text-[13px] text-foreground sm:text-sm",children:u})})]})}},14302:(e,r,t)=>{"use strict";t.d(r,{s:()=>o,t:()=>l});var n=t(23324);function i(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function l(...e){return r=>{let t=!1,n=e.map(e=>{let n=i(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():i(e[r],null)}}}}function o(...e){return n.useCallback(l(...e),e)}},18724:(e,r,t)=>{"use strict";t.d(r,{F:()=>o});var n=t(722);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.$,o=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return l(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:o,defaultVariants:a}=r,s=Object.keys(o).map(e=>{let r=null==t?void 0:t[e],n=null==a?void 0:a[e];if(null===r)return null;let l=i(r)||i(n);return o[e][l]}),d=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return l(e,s,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,r)=>{let{class:t,className:n,...i}=r;return Object.entries(i).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...d}[r]):({...a,...d})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},19106:(e,r,t)=>{"use strict";t.d(r,{cn:()=>l});var n=t(722),i=t(6630);function l(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,i.QP)((0,n.$)(r))}},19624:(e,r,t)=>{Promise.resolve().then(t.bind(t,42494)),Promise.resolve().then(t.bind(t,7558))},21509:(e,r,t)=>{"use strict";t.d(r,{$:()=>s,r:()=>a});var n=t(72464);t(23324);var i=t(45226),l=t(18724),o=t(19106);let a=(0,l.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",{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-9"}},defaultVariants:{variant:"default",size:"default"}});function s(e){let{className:r,variant:t,size:l,asChild:s=!1,loading:d=!1,...c}=e,u=s?i.DX:"button";return(0,n.jsx)(u,{"data-slot":"button",className:(0,o.cn)(a({variant:t,size:l,className:r}),d&&"cursor-not-allowed"),...c})}},25872:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});let n=(0,t(67283).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},45226:(e,r,t)=>{"use strict";t.d(r,{DX:()=>a,Dc:()=>d,TL:()=>o});var n=t(23324),i=t(14302),l=t(72464);function o(e){let r=function(e){let r=n.forwardRef((e,r)=>{let{children:t,...l}=e;if(n.isValidElement(t)){var o;let e,a,s=(o=t,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),d=function(e,r){let t={...r};for(let n in r){let i=e[n],l=r[n];/^on[A-Z]/.test(n)?i&&l?t[n]=(...e)=>{let r=l(...e);return i(...e),r}:i&&(t[n]=i):"style"===n?t[n]={...i,...l}:"className"===n&&(t[n]=[i,l].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props);return t.type!==n.Fragment&&(d.ref=r?(0,i.t)(r,s):s),n.cloneElement(t,d)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=n.forwardRef((e,t)=>{let{children:i,...o}=e,a=n.Children.toArray(i),s=a.find(c);if(s){let e=s.props.children,i=a.map(r=>r!==s?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(r,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,l.jsx)(r,{...o,ref:t,children:i})});return t.displayName=`${e}.Slot`,t}var a=o("Slot"),s=Symbol("radix.slottable");function d(e){let r=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});return r.displayName=`${e}.Slottable`,r.__radixId=s,r}function c(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},67283:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var n=t(23324);let i=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},l=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).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 a=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:d="",children:c,iconNode:u,...p}=e;return(0,n.createElement)("svg",{ref:r,...o,width:i,height:i,stroke:t,strokeWidth:s?24*Number(a)/Number(i):a,className:l("lucide",d),...!c&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(p)&&{"aria-hidden":"true"},...p},[...u.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(c)?c:[c]])}),s=(e,r)=>{let t=(0,n.forwardRef)((t,o)=>{let{className:s,...d}=t;return(0,n.createElement)(a,{ref:o,iconNode:r,className:l("lucide-".concat(i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),s),...d})});return t.displayName=i(e),t}}},e=>{e.O(0,[2494,9039,4591,1246,7358],()=>e(e.s=19624)),_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.