1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,119635,927646,e=>{"use strict";var t=e.i(440053),r=e.i(884702),n=e.i(466471),i=(0,r.forwardRef)(({href:e="#",external:r=e.match(/^\w+:/)||e.startsWith("//"),prefetch:i,...o},s)=>r?(0,n.jsx)("a",{ref:s,href:e,rel:"noreferrer noopener",target:"_blank",...o,children:o.children}):(0,n.jsx)(t.Link,{ref:s,href:e,prefetch:i,...o}));i.displayName="Link",e.s(["Link",()=>i],927646),e.i(368035),e.s([],119635)},315754,e=>{"use strict";function t(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}}e.s(["mergeRefs",()=>t])},878237,e=>{"use strict";var t=e.i(466471),r=e.i(72805),n=e.i(884702);e.i(857073);var i=e.i(266438),o=e.i(739188),s=e.i(121978),a=e.i(411960),l=e.i(315754);let u=new Map,c=(0,n.createContext)(null),d=a.TabsList,f=a.TabsTrigger;function h({ref:e,groupId:r,persist:i=!1,updateAnchor:s=!1,defaultValue:d,value:f,onValueChange:h,...p}){let m=(0,n.useRef)(null),[y,v]=void 0===f?(0,n.useState)(d):[f,h??(()=>void 0)],x=(0,o.useEffectEvent)(e=>v(e)),g=(0,n.useMemo)(()=>new Map,[]);return(0,n.useLayoutEffect)(()=>{let e;if(!r)return;let t=i?localStorage.getItem(r):sessionStorage.getItem(r);return t&&x(t),(e=u.get(r)??[]).push(x),u.set(r,e),()=>{let e;e=u.get(r)??[],u.set(r,e.filter(e=>e!==x))}},[r,x,i]),(0,n.useLayoutEffect)(()=>{let e=window.location.hash.slice(1);if(e){for(let[t,r]of g.entries())if(r===e){x(t),m.current?.scrollIntoView();break}}},[x,g]),(0,t.jsx)(a.Tabs,{ref:(0,l.mergeRefs)(e,m),value:y,onValueChange:e=>{if(s){let t=g.get(e);t&&window.history.replaceState(null,"",`#${t}`)}r?(u.get(r)?.forEach(t=>{t(e)}),i?localStorage.setItem(r,e):sessionStorage.setItem(r,e)):v(e)},...p,children:(0,t.jsx)(c.Provider,{value:(0,n.useMemo)(()=>({valueToIdMap:g}),[g]),children:p.children})})}function p({value:e,...r}){let{valueToIdMap:i}=function(){let e=(0,n.useContext)(c);if(!e)throw Error("You must wrap your component in <Tabs>");return e}();return r.id&&i.set(e,r.id),(0,t.jsx)(a.TabsContent,{value:e,...r,children:r.children})}let m=(0,n.createContext)(null);function y(e){return(0,t.jsx)("pre",{...e,className:(0,i.cn)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children})}function v({ref:e,title:r,allowCopy:o=!0,keepBackground:s=!1,icon:a,viewportProps:l={},children:u,Actions:c=e=>(0,t.jsx)("div",{...e,className:(0,i.cn)("empty:hidden",e.className)}),...d}){let f=null!==(0,n.useContext)(m),h=(0,n.useRef)(null);return(0,t.jsxs)("figure",{ref:e,dir:"ltr",...d,className:(0,i.cn)(f?"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",d.className),children:[r?(0,t.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof a?(0,t.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:a}}):a,(0,t.jsx)("figcaption",{className:"flex-1 truncate",children:r}),c({className:"-me-2",children:o&&(0,t.jsx)(x,{containerRef:h})})]}):c({className:"absolute top-2 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:o&&(0,t.jsx)(x,{containerRef:h})}),(0,t.jsx)("div",{ref:h,...l,className:(0,i.cn)("text-[13px] py-3.5 overflow-auto max-h-[600px] fd-scroll-container",l.className),style:{"--padding-right":r?void 0:"calc(var(--spacing) * 8)",counterSet:d["data-line-numbers"]?`line ${Number(d["data-line-numbers-start"]??1)-1}`:void 0,...l.style},children:u})]})}function x({className:e,containerRef:a,...l}){let[u,c]=function(e){let[t,r]=(0,n.useState)(!1),i=(0,n.useRef)(null),s=(0,o.useEffectEvent)(()=>{i.current&&window.clearTimeout(i.current),Promise.resolve(e()).then(()=>{r(!0),i.current=window.setTimeout(()=>{r(!1)},1500)})});return(0,n.useEffect)(()=>()=>{i.current&&window.clearTimeout(i.current)},[]),[t,s]}(()=>{let e=a.current?.getElementsByTagName("pre").item(0);if(!e)return;let t=e.cloneNode(!0);
1t.querySelectorAll(".nd-copy-ignore").forEach(e=>{e.replaceWith("\n")}),navigator.clipboard.writeText(t.textContent??"")});return(0,t.jsx)("button",{type:"button",className:(0,i.cn)((0,s.buttonVariants)({className:"hover:text-fd-accent-foreground",size:"icon-xs"}),e),"aria-label":u?"Copied Text":"Copy Text",onClick:c,...l,children:u?(0,t.jsx)(r.Check,{}):(0,t.jsx)(r.Clipboard,{})})}function g({ref:e,...r}){let o=(0,n.useRef)(null),s=null!==(0,n.useContext)(m);return(0,t.jsx)(h,{ref:(0,l.mergeRefs)(o,e),...r,className:(0,i.cn)("bg-fd-card rounded-xl border",!s&&"my-4",r.className),children:(0,t.jsx)(m.Provider,{value:(0,n.useMemo)(()=>({containerRef:o,nested:s}),[s]),children:r.children})})}function k(e){return(0,t.jsx)(d,{...e,className:(0,i.cn)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children})}function b({children:e,...r}){return(0,t.jsxs)(f,{...r,className:(0,i.cn)("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,t.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),e]})}function w(e){return(0,t.jsx)(p,{...e})}e.s(["CodeBlock",()=>v,"CodeBlockTab",()=>w,"CodeBlockTabs",()=>g,"CodeBlockTabsList",()=>k,"CodeBlockTabsTrigger",()=>b,"Pre",()=>y],878237)},368035,e=>{"use strict";var t=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,a=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},l=(e,a,l)=>(l=null!=e?t(o(e)):{},((e,t,o,a)=>
1{if(t&&"object"==typeof t||"function"==typeof t)for(let o of i(t))s.call(e,o)||void 0===o||r(e,o,{get:()=>t[o],enumerable:!(a=n(t,o))||a.enumerable});return e})(!a&&e&&e.__esModule?l:r(l,"default",{value:e,enumerable:!0}),e));e.s(["__commonJS",()=>a,"__toESM",()=>l])},440053,e=>{"use strict";var t=e.i(884702),r=e.i(466471),n=()=>{throw Error("You need to wrap your application inside `FrameworkProvider`.")},i=d("FrameworkContext",{useParams:n,useRouter:n,usePathname:n});function o({Link:e,useRouter:n,useParams:o,usePathname:s,Image:a,children:l}){let u=t.default.useMemo(()=>({usePathname:s,useRouter:n,Link:e,Image:a,useParams:o}),[e,s,n,o,a]);return(0,r.jsx)(i.Provider,{value:u,children:l})}function s(){return i.use().usePathname()}function a(){return i.use().useRouter()}function l(){return i.use().useParams()}function u(e){let{Image:t}=i.use();if(!t){let{src:t,alt:n,priority:i,...o}=e;return(0,r.jsx)("img",{alt:n,src:t,fetchPriority:i?"high":"auto",...o})}return(0,r.jsx)(t,{...e})}function c(e){let{Link:t}=i.use();if(!t){let{href:t,prefetch:n,...i}=e;return(0,r.jsx)("a",{href:t,...i})}return(0,r.jsx)(t,{...e})}function d(e,n){let i=t.default.createContext(n);return{Provider:e=>(0,r.jsx)(i.Provider,{value:e.value,children:e.children}),use:r=>{let n=t.default.useContext(i);if(!n)throw Error(r??`Provider of ${e} is required but missing.`);return n}}}e.s(["FrameworkProvider",()=>o,"Image",()=>u,"Link",()=>c,"createContext",()=>d,"useParams",()=>l,"usePathname",()=>s,"useRouter",()=>a])},910416,e=>{"use strict";e.i(440053),e.i(368035),e.s([])},857073,266438,e=>{"use strict";e.s([],857073);var t=e.i(249398);e.s(["cn",()=>t.twMerge],266438)},72805,e=>{"use strict";var t=e.i(466471),r=e.i(884702);e.i(857073);var n=e.i(266438);let i={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"},o=(e,o)=>{let s=(0,r.forwardRef)(({className:e,size:s=24,color:a="currentColor",children:l,...u},c)=>(0,t.jsxs)("svg",{ref:c,...i,width:s,height:s,stroke:a,className:(0,n.cn)("lucide",e),...u,children:[o.map(([e,t])=>(0,r.createElement)(e,t)),l]}));return s.displayName=e,s},s=o("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);o("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 a=o("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]),l=o("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),u=o("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),c=o("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"}]]),d=o("moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),f=o("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"}]]),h=o("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"}]]);o("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"}]]),o("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),o("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);let p=o("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),m=o("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"}]]),y=o("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),v=o("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"}]]),x=o("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);
1o("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 g=o("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"}]]),k=o("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"}]]),b=o("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"}]]);o("text",[["path",{d:"M15 18H3",key:"olowqp"}],["path",{d:"M17 6H3",key:"16j9eg"}],["path",{d:"M21 12H3",key:"2avoz0"}]]),o("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"}]]),o("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"}]]),o("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"}]]),o("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 w=o("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"}]]);o("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 M=o("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),C=o("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);o("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),o("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"}]]),o("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),e.s(["Airplay",0,h,"Check",0,y,"ChevronDown",0,s,"ChevronLeft",0,C,"ChevronRight",0,M,"ChevronsUpDown",0,l,"CircleCheck",0,p,"CircleX",0,m,"Clipboard",0,g,"ExternalLink",0,c,"FileText",0,k,"Hash",0,b,"Info",0,x,"Link",0,w,"Moon",0,d,"Search",0,u,"Sidebar",0,a,"Sun",0,f,"TriangleAlert",0,v])},739188,e=>{"use strict";e.i(368035);var t=e.i(884702);function r(e){let r=(0,t.useRef)(e);return r.current=e,(0,t.useCallback)((...e)=>r.current(...e),[])}e.s(["useEffectEvent",()=>r])},121978,e=>{"use strict";var t=e.i(294237);let r={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"},n=(0,t.cva)("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:r,color:r,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"}}});e.s(["buttonVariants",0,n])},82838,e=>{"use strict";var t=e.i(884702),r=e.i(291967),n=e.i(408896),i=e.i(188625),o=e.i(352162),s=e.i(987438),a=e.i(6140),l=e.i(935125),u=e.i(575301),c=e.i(950074),d=e.i(466471),f="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},p="RovingFocusGroup",[m,y,v]=(0,n.createCollection)(p),[x,g]=(0,o.createContextScope)(p,[v]),[k,b]=x(p),w=t.forwardRef((e,t)=>
1(0,d.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(M,{...e,ref:t})})}));w.displayName=p;var M=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:m=!1,dir:v,currentTabStopId:x,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:w,preventScrollOnEntryFocus:M=!1,...C}=e,R=t.useRef(null),j=(0,i.useComposedRefs)(n,R),E=(0,c.useDirection)(v),[S,T]=(0,u.useControllableState)({prop:x,defaultProp:g??null,onChange:b,caller:p}),[P,A]=t.useState(!1),I=(0,l.useCallbackRef)(w),O=y(o),L=t.useRef(!1),[z,D]=t.useState(0);return t.useEffect(()=>{let e=R.current;if(e)return e.addEventListener(f,I),()=>e.removeEventListener(f,I)},[I]),(0,d.jsx)(k,{scope:o,orientation:s,dir:E,loop:m,currentTabStopId:S,onItemFocus:t.useCallback(e=>T(e),[T]),onItemShiftTab:t.useCallback(()=>A(!0),[]),onFocusableItemAdd:t.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>D(e=>e-1),[]),children:(0,d.jsx)(a.Primitive.div,{tabIndex:P||0===z?-1:0,"data-orientation":s,...C,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(f,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),M)}}L.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>A(!1))})})}),C="RovingFocusGroupItem",R=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,focusable:o=!0,active:l=!1,tabStopId:u,children:c,...f}=e,h=(0,s.useId)(),p=u||h,v=b(C,i),x=v.currentTabStopId===p,g=y(i),{onFocusableItemAdd:k,onFocusableItemRemove:w,currentTabStopId:M}=v;return t.useEffect(()=>{if(o)return k(),()=>w()},[o,k,w]),(0,d.jsx)(m.ItemSlot,{scope:i,id:p,focusable:o,active:l,children:(0,d.jsx)(a.Primitive.span,{tabIndex:x?0:-1,"data-orientation":v.orientation,...f,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o?v.onItemFocus(p):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return j[i]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=v.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>N(i))}}),children:"function"==typeof c?c({isCurrentTabStop:x,hasTabStop:null!=M}):c})})});R.displayName=C;var j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>R,"Root",()=>w,"createRovingFocusGroupScope",()=>g])},6140,e=>{"use strict";var t=e.i(884702),r=e.i(847257),n=e.i(819232),i=e.i(466471),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let o=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>{let{asChild:n,...s}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?o:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});function s(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>o,"dispatchDiscreteCustomEvent",()=>s])},291967,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"undefined"!=typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t])},352162,e=>{"use strict";var t=e.i(884702),r=e.i(466471);function n(e,n){let i=t.createContext(n),o=e=>{let{children:n,...o}=e,s=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:s,children:n})};return o.displayName=e+"Provider",[o,function(r){let o=t.useContext(i);if(o)return o;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function i(e,n=[]){let o=[],s=()=>{let r=o.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(n,i){let s=t.createContext(i),a=o.length;o=[...o,i];let l=n=>{let{scope:i,children:o,...l}=n,u=i?.[e]?.[a]||s,c=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:o})};return l.displayName=n+"Provider",[l,function(r,o){let l=o?.[e]?.[a]||s,u=t.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}
1(s,...n)]}e.s(["createContext",()=>n,"createContextScope",()=>i])},385064,e=>{"use strict";var t=e.i(884702),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},575301,e=>{"use strict";var t=e.i(884702),r=e.i(385064);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function i({prop:e,defaultProp:r,onChange:i=()=>{},caller:o}){let[s,a,l]=function({defaultProp:e,onChange:r}){let[i,o]=t.useState(e),s=t.useRef(i),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{s.current!==i&&(a.current?.(i),s.current=i)},[i,s]),[i,o,a]}({defaultProp:r,onChange:i}),u=void 0!==e,c=u?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,o])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[u,e,a,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>i],575301)},987438,e=>{"use strict";var t=e.i(884702),r=e.i(385064),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function o(e){let[o,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}e.s(["useId",()=>o])},775827,e=>{"use strict";var t=e.i(884702),r=e.i(188625),n=e.i(385064),i=e=>{var i;let s,a,{present:l,children:u}=e,c=function(e){var r,i;let[s,a]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=o(l.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=o(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=o(l.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=o(l.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(i=d,(a=(s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.ref:(a=(s=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function o(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",()=>i])},935125,e=>{"use strict";var t=e.i(884702);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",()=>r])},408896,e=>{"use strict";var t=e.i(884702),r=e.i(352162),n=e.i(188625),i=e.i(819232),o=e.i(466471);function s(e){let s=e+"CollectionProvider",[a,l]=(0,r.createContextScope)(s),[u,c]=a(s,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:s,collectionRef:i,children:n})};d.displayName=s;let f=e+"CollectionSlot",h=(0,i.createSlot)(f),p=t.default.forwardRef((e,t)=>
1{let{scope:r,children:i}=e,s=c(f,r),a=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(h,{ref:a,children:i})});p.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",v=(0,i.createSlot)(m),x=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...a}=e,l=t.default.useRef(null),u=(0,n.useComposedRefs)(r,l),d=c(m,i);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...a}),()=>void d.itemMap.delete(l))),(0,o.jsx)(v,{...{[y]:""},ref:u,children:s})});return x.displayName=m,[{Provider:d,Slot:p,ItemSlot:x},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}var a=new WeakMap;function l(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(s=(o=u(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===a?void 0:e[a]}function u(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=u(e),a=s>=0?s:o+s,l=a<0||a>=o?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let c=this.size+ +!i;s<0&&a++;let d=[...this.#e],f=!1;for(let e=a;e<c;e++)if(a===e){let o=d[e];d[e]===t&&(o=d[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>s])},950074,e=>{"use strict";var t=e.i(884702),r=e.i(466471),n=t.createContext(void 0),i=e=>{let{dir:t,children:i}=e;return(0,r.jsx)(n.Provider,{value:t,children:i})};function o(e){let r=t.useContext(n);return e||r||"ltr"}e.s(["DirectionProvider",()=>i,"useDirection",()=>o])},411960,e=>{"use strict";var t=e.i(884702),r=e.i(291967),n=e.i(352162),i=e.i(82838),o=e.i(775827),s=e.i(6140),a=e.i(950074),l=e.i(575301),u=e.i(987438),c=e.i(466471),d="Tabs",[f,h]=(0,n.createContextScope)(d,[i.createRovingFocusGroupScope]),p=(0,i.createRovingFocusGroupScope)(),[m,y]=f(d),v=t.forwardRef((e,t)=>
1{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:f="horizontal",dir:h,activationMode:p="automatic",...y}=e,v=(0,a.useDirection)(h),[x,g]=(0,l.useControllableState)({prop:n,onChange:i,defaultProp:o??"",caller:d});return(0,c.jsx)(m,{scope:r,baseId:(0,u.useId)(),value:x,onValueChange:g,orientation:f,dir:v,activationMode:p,children:(0,c.jsx)(s.Primitive.div,{dir:v,"data-orientation":f,...y,ref:t})})});v.displayName=d;var x="TabsList",g=t.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=y(x,r),l=p(r);return(0,c.jsx)(i.Root,{asChild:!0,...l,orientation:a.orientation,dir:a.dir,loop:n,children:(0,c.jsx)(s.Primitive.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:t})})});g.displayName=x;var k="TabsTrigger",b=t.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,disabled:a=!1,...l}=e,u=y(k,n),d=p(n),f=C(u.baseId,o),h=R(u.baseId,o),m=o===u.value;return(0,c.jsx)(i.Item,{asChild:!0,...d,focusable:!a,active:m,children:(0,c.jsx)(s.Primitive.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":h,"data-state":m?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:f,...l,ref:t,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(o)}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(o)}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==u.activationMode;m||a||!e||u.onValueChange(o)})})})});b.displayName=k;var w="TabsContent",M=t.forwardRef((e,r)=>{let{__scopeTabs:n,value:i,forceMount:a,children:l,...u}=e,d=y(w,n),f=C(d.baseId,i),h=R(d.baseId,i),p=i===d.value,m=t.useRef(p);return t.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.jsx)(o.Presence,{present:a||p,children:({present:t})=>(0,c.jsx)(s.Primitive.div,{"data-state":p?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!t,id:h,tabIndex:0,...u,ref:r,style:{...e.style,animationDuration:m.current?"0s":void 0},children:t&&l})})});function C(e,t){return`${e}-trigger-${t}`}function R(e,t){return`${e}-content-${t}`}M.displayName=w,e.s(["Content",()=>M,"List",()=>g,"Root",()=>v,"Tabs",()=>v,"TabsContent",()=>M,"TabsList",()=>g,"TabsTrigger",()=>b,"Trigger",()=>b])}]);
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.