(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,150649,668641,856465,e=>{"use strict";e.s(["f",0,""],150649);var t=e.i(16043),r=e.i(177147),n=e.i(531893);let i=()=>()=>{},a=()=>!0,l=()=>!1,o=(0,n.f)(18)?function(){return(0,r.useSyncExternalStore)(i,a,l)}:function(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e};function s(){return!o()}e.s(["f",0,s],668641);var c=e.i(365235),u=e.i(659350);e.s(["f",0,function(e){let{script:t}=e,{nonce:r}=(0,c.f)();return s()?(0,u.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}],856465)},828342,e=>{"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e){for(var r=1;re(r(r({},t),n)),n;function n(e,...r){let i="string"==typeof e?[e]:e.raw,{alignValues:a=!1,escapeSpecialCharacters:l=Array.isArray(e),trimWhitespace:o=!0}=t,s="";for(let e=0;e" "===t[0]||" "===t[0]?t.slice(e):t).join("\n")}return o&&(s=s.trim()),l&&(s=s.replace(/\\n/g,"\n").replace(/\\t/g," ").replace(/\\r/g,"\r").replace(/\\v/g,"\v").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\0/g,"\0").replace(/\\x([\da-fA-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/\\u\{([\da-fA-F]{1,6})\}/g,(e,t)=>String.fromCodePoint(parseInt(t,16))).replace(/\\u([\da-fA-F]{4})/g,(e,t)=>String.fromCharCode(parseInt(t,16)))),"u">typeof Bun&&(s=s.replace(/\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g,(e,t,r)=>{var n;return String.fromCodePoint(parseInt(null!=(n=null!=t?t:r)?n:"",16))})),s}}({});e.s(["f",0,n])},291738,e=>{"use strict";var t=e.i(651681);let r={name:"circle-dollar-sign",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],291738)},10460,e=>{"use strict";var t=e.i(651681);let r={name:"copy",size:24,node:[["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"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],10460)},782775,e=>{"use strict";var t=e.i(651681);let r={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],aliases:["layers-3"]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},913743,9634,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(647204),i=e.i(16043),a=e.i(136562),l=e.i(535072);let o=()=>{if("u"0?e:void 0};var s=e.i(866969),c=e.i(67089);let u=null,f=new Map,d=null,p=0,h=(e,t)=>{let r=f.get(e);r&&(f.delete(e),clearTimeout(r.timeoutId),r.resolve(t))},g=()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={highlight:m},t[0]=e):e=t[0],e};function m(t,r,i){return(({code:t,lang:r,theme:i})=>new Promise(a=>{let l=(()=>{if(d)return null;if(u)return u;let t=(0,n.$)(()=>e.r(405266)(Worker));return(0,n.V)(t)?((0,c.L)("Failed to initialize highlight worker",{message:"Failed to initialize highlight worker",error:t.error,metadata:{location:"highlight.singleton.ts"}}),d=t.error instanceof Error?t.error:Error(String(t.error)),u=null,null):((u=t.data).onmessage=e=>{let{id:t,lines:r,preStyle:n,error:i}=e.data;if(i){(0,c.L)("highlight worker processing error",{message:"highlight worker processing error",error:i,metadata:{location:"highlight.singleton.ts"}}),h(t,null);return}p=0,h(t,{lines:r??[],preStyle:n??""})},u.onerror=e=>{for(let t of((0,c.L)("highlight worker script error",{message:"highlight worker script error",error:e,metadata:{location:"highlight.singleton.ts"}}),(p+=1)>2&&(d=Error(e.message||"highlight worker script error")),u?.terminate(),u=null,f.keys()))h(t,null)},u)})();if(!l)return void a(null);let o=crypto.randomUUID(),s=setTimeout(()=>h(o,null),1e4);f.set(o,{resolve:a,timeoutId:s});let g=(0,n.$)(()=>l.postMessage({id:o,code:t,lang:r,theme:i}));(0,n.V)(g)&&h(o,null)}))({code:t,lang:r,theme:i})}e.s(["f",0,g],9634);let b=(0,i.memo)(e=>{let n,i=(0,r.c)(2),{html:a}=e;return i[0]!==a?(n=(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}),i[0]=a,i[1]=n):n=i[1],n}),v=(0,i.memo)(e=>{let n,i=(0,r.c)(2),{text:a}=e,l=a||" ";return i[0]!==l?(n=(0,t.jsx)("div",{children:l}),i[0]=l,i[1]=n):n=i[1],n});e.s(["f",0,({code:e,lang:c,theme:u,roundedCorners:f=!0,border:d=!0,codeBackgroundClassName:p="bg-doc-surface",lineNumbers:h=!1,wrap:m=!1})=>{let[x,y]=(0,i.useState)([]),[w,j]=(0,i.useState)({}),[C,k]=(0,i.useState)(""),S=(0,i.useRef)(!1),N=(0,i.useRef)(null),A=(0,i.useRef)(0),{highlight:L}=g(),R=((e=500)=>{let t=(0,i.useMemo)(o,[]),r=(0,l.o)("(min-width: 768px)");return(0,i.useMemo)(()=>void 0!==t?t<2?4e3:t<4?2e3:e:r?e:2e3,[t,r,e])})(500),E=(0,i.useCallback)(e=>{var t;let r,n=(t=e.preStyle,r={},t&&t.split(";").forEach(e=>{let[t,n]=e.split(/:(.*)/s);t&&n&&(r[t.trim().replaceAll(/-(\w)/g,(e,t)=>t.toUpperCase())]=n.trim())}),r);n.backgroundColor="transparent",n.whiteSpace="pre",j(n)},[]);(0,i.useEffect)(()=>{let e=!1;return(0,n.$)(()=>L("",c,u)).then(t=>{e||!(0,n.V)(t)&&t.data&&E(t.data)}),()=>{e=!0}},[c,u,L,E]),(0,i.useEffect)(()=>{N.current={code:e,lang:c,theme:u},A.current=0},[e,c,u]);let T=(0,i.useCallback)(async()=>{if(S.current||!N.current)return;S.current=!0;let e=N.current;N.current=null;let t=await (0,n.$)(()=>L(e.code,e.lang,e.theme));(0,n.V)(t)||!t.data?(A.current+=1,A.current<=5&&(N.current??=e)):(A.current=0,E(t.data),y(t.data.lines),k(e.code)),S.current=!1},[L,E]);!function(e){let t,n,a=(0,r.c)(5),{run:l,intervalMs:o,jobKey:c}=e;a[0]!==l?(t=()=>{l()},a[0]=l,a[1]=t):t=a[1],a[2]!==c||a[3]!==l?(n=[c,l],a[2]=c,a[3]=l,a[4]=n):n=a[4],(0,i.useEffect)(t,n),(0,s.f)(l,o)}({run:(0,i.useCallback)(()=>{T()},[T]),intervalMs:R,jobKey:`${c}|${u}|${e}`});let M=(0,i.useMemo)(()=>C&&e.startsWith(C)?e.substring(C.length):e,[e,C]);(0,i.useEffect)(()=>{C&&!e.startsWith(C)&&y([])},[e,C]);let I=(0,i.useMemo)(()=>M.split("\n"),[M]);return(0,t.jsx)("pre",{className:(0,a.f)("highlights overflow-x-auto min-w-0",d&&"border border-border",f&&"rounded-lg"),style:w,children:(0,t.jsxs)("code",{className:(0,a.f)("p-4",m?"block whitespace-pre-wrap break-words":"inline-block min-w-full whitespace-pre",!h&&!m&&"md:whitespace-pre-wrap",h&&"[counter-reset:line] [&>div]:before:[counter-increment:line] [&>div]:before:content-[counter(line)] [&>div]:before:mr-3 [&>div]:before:inline-block [&>div]:before:w-7 [&>div]:before:text-right [&>div]:before:tabular-nums [&>div]:before:select-none [&>div]:before:text-faint",h&&m&&"[&>div]:pl-10 [&>div]:-indent-10",p),children:[x.map((e,r)=>(0,t.jsx)(b,{html:e},`h-${r}`)),I.slice(+!!C).map((e,r)=>(0,t.jsx)(v,{text:e},`r-${r}`))]})})}],913743)},273517,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(820223),i=e.i(473028);e.i(16043);var a=e.i(199630),l=e.i(288265);let o=e=>{let n,i,a=(0,r.c)(5),{src:o}=e,s=(0,l.f)();return a[0]!==s?(n=s("AI Generated SVG"),a[0]=s,a[1]=n):n=a[1],a[2]!==o||a[3]!==n?(i=(0,t.jsx)("img",{className:"max-w-lg rounded-lg border border-current",alt:n,src:o}),a[2]=o,a[3]=n,a[4]=i):i=a[4],i},s="image/svg+xml";e.s(["MarkdownSvgFence",0,function(e){let l,c,u=(0,r.c)(5),{source:f,fallback:d}=e,p=(0,a.f)();u[0]!==p||u[1]!==f?(l=p?function(e){let t=new DOMParser;try{let r=t.parseFromString(e,s);if(r.querySelector("parsererror")||"http://www.w3.org/2000/svg"!==r.documentElement.namespaceURI)return null}catch{return null}return(0,i.d)({mimeType:s,base64:(0,n.Y)(e)})}(f):null,u[0]=p,u[1]=f,u[2]=l):l=u[2];let h=l;return h?(u[3]!==h?(c=(0,t.jsx)("div",{className:"flex-row justify-items-center w-full my-6",children:(0,t.jsx)(o,{src:h})}),u[3]=h,u[4]=c):c=u[4],c):d}],273517)},567520,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(288265);e.s(["MarkdownYouTubeEmbed",0,e=>{let i,a,l=(0,r.c)(5),{youtubeId:o}=e,s=(0,n.f)(),c=`https://www.youtube.com/embed/${o}`;return l[0]!==s?(i=s("YouTube video"),l[0]=s,l[1]=i):i=l[1],l[2]!==c||l[3]!==i?(a=(0,t.jsx)("span",{className:"relative block w-full aspect-video my-4",children:(0,t.jsx)("iframe",{src:c,title:i,sandbox:"allow-scripts allow-same-origin allow-presentation allow-popups allow-popups-to-escape-sandbox",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full rounded-lg"})}),l[2]=c,l[3]=i,l[4]=a):a=l[4],a}])},246705,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(207298),i=e.i(288265),a=e.i(872635),l=e.i(354896),o=e.i(10460),s=e.i(961160),c=e.i(16043),u=e.i(136562),f=e.i(192668),d=e.i(199630),p=e.i(913743),h=e.i(139697),g=e.i(988590),m=e.i(828342);let b={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"shell",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},v={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"bash",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},x="code",y=new Map([["javascript","JavaScript"],["typescript","TypeScript"],["tsx","TSX"],["python","Python"],["shell","Shell"],["rust","Rust"],["go","Go"],["json","JSON"],["html","HTML"],["ruby","Ruby"]]);function w(e){let t=e.toLowerCase();return(0,g.q)(t,b)?t:void 0}var j=e.i(609623);let C={Block:"block",Line:"line"};function k(e){return"string"==typeof e.value}let S=(0,n.f)("overflow-auto bg-doc-surface font-mono text-body leading-relaxed text-foreground",{variants:{maxHeight:{sm:"max-h-80",md:"max-h-96",lg:"max-h-128",xl:"max-h-none"}},defaultVariants:{maxHeight:"md"}});e.s(["CodeBlock",0,e=>{var n,g;let b,N,A,L,R,E,T,M,I,z,O,_,F,D,$,B,P,W,U,V=(0,r.c)(69),H=(0,i.f)();V[0]!==H?(b=e=>{let t;return e===x?H("Code"):(void 0===(t=w(e))?void 0:y.get(t))??e},V[0]=H,V[1]=b):b=V[1];let q=b,{resolvedTheme:Y}=(0,s.i)(),Z=!(0,d.f)(),{isCopied:J,copyToClipboard:K}=(0,f.f)(1200),[X,G]=(0,c.useState)(0),Q=!0===e.collapsible,[ee,et]=(0,c.useState)(Q&&!0===e.defaultCollapsed),er=(0,c.useId)(),en=(W=(0,r.c)(2),U=(0,c.useRef)(null),W[0]===Symbol.for("react.memo_cache_sentinel")?(B=()=>{let e=U.current;if(!e)return;let t=function(){var t;let r,n;if(!e)return;let i=(r=(t=e).scrollLeft>2,n=t.scrollLeft+t.clientWidth{e.removeEventListener("scroll",t),r.disconnect()}},P=[],W[0]=B,W[1]=P):(B=W[0],P=W[1]),(0,c.useEffect)(B,P),U),{value:ei}=e,ea=k(e)?e.title:void 0,el=k(e)?e.language:void 0,eo=k(e)?e.rawLanguage:void 0;V[2]!==el||V[3]!==eo||V[4]!==ea||V[5]!==ei?(n={title:ea,language:el,rawLanguage:eo},N="string"==typeof ei?[{code:ei,title:n.title??n.language??n.rawLanguage??x,language:n.language,rawLanguage:n.rawLanguage}]:Array.isArray(ei)?ei:Object.entries(ei).map(([e,t])=>({rawLanguage:e,title:e,code:t??"",language:w(e)})),V[2]=el,V[3]=eo,V[4]=ea,V[5]=ei,V[6]=N):N=V[6];let es=N,ec="light"===Y?e.lightTheme??"github-light":e.darkTheme??"github-dark",eu=void 0!==es[X]?X:0,ef=es[eu]??es[0];V[7]!==ef.code||V[8]!==e.dedent?(g=ef.code,A=e.dedent?(0,m.f)(g):g,V[7]=ef.code,V[8]=e.dedent,V[9]=A):A=V[9];let ed=A;V[10]!==ef?(L=function(e){if(e.language)return v[e.language];if(!e.rawLanguage)return"text";let t=w(e.rawLanguage);return t?v[t]:e.rawLanguage}(ef),V[10]=ef,V[11]=L):L=V[11];let ep=L;V[12]!==ed||V[13]!==K||V[14]!==e?(R=()=>{K(ed,{shouldWaitForReset:!1}).then(t=>{t&&e.onCopy?.()})},V[12]=ed,V[13]=K,V[14]=e,V[15]=R):R=V[15];let eh=R;V[16]!==eh||V[17]!==J||V[18]!==H||V[19]!==e.hideCopy?(E=e.hideCopy?null:(0,t.jsx)(h.Button,{type:"button",variant:"ghost",size:"icon-sm",touchTarget:"below-sm","aria-label":J?H("Copied code"):H("Copy code"),onClick:eh,className:"shrink-0",children:(0,t.jsx)(j.f,{active:J,from:(0,t.jsx)(o.f,{className:"size-4"}),to:(0,t.jsx)(a.f,{className:"size-4"})})}),V[16]=eh,V[17]=J,V[18]=H,V[19]=e.hideCopy,V[20]=E):E=V[20];let eg=E;if(e.variant===C.Line){let r,n,i;return V[21]!==e.className?(r=(0,u.f)("flex items-center gap-2 rounded-lg border border-border bg-doc-surface pr-1 pl-4",e.className),V[21]=e.className,V[22]=r):r=V[22],V[23]!==ed||V[24]!==en?(n=(0,t.jsx)("code",{ref:en,"data-testid":"code-block",className:"min-w-0 flex-1 overflow-x-auto overscroll-x-contain bg-transparent py-3 font-mono text-body whitespace-pre text-foreground scrollbar-hide",children:ed}),V[23]=ed,V[24]=en,V[25]=n):n=V[25],V[26]!==eg||V[27]!==r||V[28]!==n?(i=(0,t.jsxs)("div",{className:r,children:[n,eg]}),V[26]=eg,V[27]=r,V[28]=n,V[29]=i):i=V[29],i}let em=es.length>1;V[30]!==e.bodyClassName||V[31]!==e.maxHeight?(T=(0,u.f)(S({maxHeight:e.maxHeight}),e.bodyClassName),V[30]=e.bodyClassName,V[31]=e.maxHeight,V[32]=T):T=V[32];let eb=T;V[33]!==ed||V[34]!==ep||V[35]!==eb||V[36]!==er||V[37]!==ec||V[38]!==Z?(M=Z?(0,t.jsx)("pre",{"data-testid":"code-block",id:er,className:eb,children:(0,t.jsx)("code",{className:"inline-block min-w-full whitespace-pre bg-transparent p-4 md:whitespace-pre-wrap",children:ed})}):(0,t.jsx)("div",{"data-testid":"code-block",id:er,className:eb,children:(0,t.jsx)(p.f,{code:ed,lang:ep,theme:ec,roundedCorners:!1,border:!1,codeBackgroundClassName:"bg-transparent"})}),V[33]=ed,V[34]=ep,V[35]=eb,V[36]=er,V[37]=ec,V[38]=Z,V[39]=M):M=V[39];let ev=M;V[40]!==e.className?(I=(0,u.f)("overflow-hidden rounded-lg border border-border bg-card",e.className),V[40]=e.className,V[41]=I):I=V[41];let ex=!ee&&"border-b border-border";V[42]!==e.tabClassName||V[43]!==ex?(z=(0,u.f)("flex h-9 items-center justify-between gap-2 px-3",ex,e.tabClassName),V[42]=e.tabClassName,V[43]=ex,V[44]=z):z=V[44],V[45]!==ef.title||V[46]!==er||V[47]!==H||V[48]!==ee||V[49]!==Q?(O=Q?(0,t.jsx)(h.Button,{type:"button",variant:"ghost",size:"icon-sm","aria-controls":er,"aria-expanded":!ee,"aria-label":ee?H("Show {title}",{title:ef.title}):H("Hide {title}",{title:ef.title}),onClick:()=>et(!ee),className:"shrink-0",children:(0,t.jsx)(l.f,{className:(0,u.f)("size-4 transition-transform",ee&&"-rotate-90")})}):null,V[45]=ef.title,V[46]=er,V[47]=H,V[48]=ee,V[49]=Q,V[50]=O):O=V[50],V[51]!==ef.title||V[52]!==em||V[53]!==e||V[54]!==eu||V[55]!==es||V[56]!==q?(_=em?(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 overflow-x-auto",children:es.map((r,n)=>(0,t.jsx)(h.Button,{type:"button",variant:"ghost",size:"xs","aria-pressed":eu===n,onClick:()=>{G(n),e.onTabChange?.(n)},tone:eu===n?void 0:"subdued",className:eu===n?"bg-accent text-accent-foreground":void 0,children:q(r.title)},r.title))}):(0,t.jsx)("span",{className:"truncate text-caption text-muted-foreground",children:q(ef.title)}),V[51]=ef.title,V[52]=em,V[53]=e,V[54]=eu,V[55]=es,V[56]=q,V[57]=_):_=V[57],V[58]!==O||V[59]!==_?(F=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1",children:[O,_]}),V[58]=O,V[59]=_,V[60]=F):F=V[60],V[61]!==eg||V[62]!==z||V[63]!==F?(D=(0,t.jsxs)("div",{className:z,children:[F,eg]}),V[61]=eg,V[62]=z,V[63]=F,V[64]=D):D=V[64];let ey=ee?null:ev;return V[65]!==D||V[66]!==ey||V[67]!==I?($=(0,t.jsxs)("div",{className:I,children:[D,ey]}),V[65]=D,V[66]=ey,V[67]=I,V[68]=$):$=V[68],$},"CodeBlockVariant",0,C],246705)},647402,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);let i=(0,e.i(207298).f)("inline-block size-[0.215em] shrink-0 rounded-full bg-current align-middle",{variants:{tone:{inherit:"",faint:"text-faint"}},defaultVariants:{tone:"inherit"}});e.s(["f",0,function(e){let a,l,o=(0,r.c)(6),{className:s,tone:c,"data-testid":u}=e;return o[0]!==s||o[1]!==c?(a=(0,n.f)(i({tone:c}),s),o[0]=s,o[1]=c,o[2]=a):a=o[2],o[3]!==u||o[4]!==a?(l=(0,t.jsx)("span",{"aria-hidden":"true",className:a,"data-testid":u}),o[3]=u,o[4]=a,o[5]=l):l=o[5],l}],647402)},771743,e=>{"use strict";var t,r=e.i(659350),n=e.i(663456),i=e.i(16043),a=e.i(389475),l=e.i(533124),o=e.i(815922),s=e.i(93836),c=e.i(700788),u=e.i(107397);let f=i.createContext(void 0);function d(){let e=i.useContext(f);if(void 0===e)throw Error((0,u.f)(64));return e}let p={tabActivationDirection:e=>({"data-activation-direction":e})};var h=e.i(132887),g=e.i(24220),g=g,m=g,b=e.i(907621);let v=i.forwardRef(function(e,t){let{className:n,defaultValue:u=0,onValueChange:d,orientation:v="horizontal",render:w,value:j,style:C,...k}=e,S=void 0!==e.defaultValue,N=i.useRef([]),[A,L]=i.useState(()=>new Map),[R,E]=(0,a.f)({controlled:j,default:u,name:"Tabs",state:"value"}),T=void 0!==j,[M,I]=i.useState(()=>new Map),z=i.useRef(void 0),O=i.useCallback(e=>x(M,e),[M]),[_,F]=i.useState(()=>({previousValue:R,tabActivationDirection:"none"})),{previousValue:D,tabActivationDirection:$}=_,B=$,P=!1;D!==R&&(B=y(D,R,v,M),P=null!=D&&null!=R&&null==O(R));let W=P?D:R,U=D!==W||$!==B;(0,l.f)(()=>{U&&F({previousValue:W,tabActivationDirection:B})},[W,U,B]);let V=(0,o.f)((e,t)=>{t.activationDirection=y(R,e,v,M),d?.(e,t),t.isCanceled||E(()=>e)}),H=(0,o.f)((e,t)=>{d?.(e,(0,h.j)(t,void 0,void 0,{activationDirection:"none"}))}),q=(0,o.f)((e,t)=>(L(r=>{let n=new Map(r);return n.set(e,t),n}),()=>{L(r=>{if(r.get(e)!==t)return r;let n=new Map(r);return n.delete(e),n})})),Y=i.useCallback(e=>A.get(e),[A]),Z=i.useCallback(e=>{for(let t of M.values())if(e===t.value)return t.id},[M]),J=i.useMemo(()=>({getTabElementBySelectedValue:O,getTabIdByPanelValue:Z,getTabPanelIdByValue:Y,onValueChange:V,orientation:v,registerMountedTabPanel:q,setTabMap:I,tabActivationDirection:B,value:R}),[O,Z,Y,V,v,q,I,B,R]),K=i.useMemo(()=>{for(let e of M.values())if(e.value===R)return e},[M,R]),X=i.useMemo(()=>{for(let e of M.values())if(!e.disabled)return e.value},[M]),G=i.useRef(!S),Q=i.useRef(u),ee=i.useRef(S),et=i.useRef(!1);(0,l.f)(()=>{if(T)return;function e(e,t){E(()=>e),F({previousValue:e,tabActivationDirection:"none"}),H(e,t),G.current=!1}if(0===M.size){et.current&&null!==R&&!z.current?.isConnected&&e(null,m.missing);return}et.current=!0,z.current=M.keys().next().value;let t=K?.disabled,r=null==K&&null!==R;if(t||R!==Q.current||(ee.current=!1),ee.current&&t&&R===Q.current)return;let n=G.current;if(t||r){let r=X??null;if(R===r){G.current=!1;return}let i=m.missing;n?i=g.initial:t&&(i=b.f.disabled),e(r,i);return}n&&null!=K&&(H(R,g.initial),G.current=!1)},[X,T,H,K,E,M,R]);let er={orientation:v,tabActivationDirection:B},en=(0,s.a)("div",e,{state:er,ref:t,props:k,stateAttributesMapping:p});return(0,r.jsx)(f.Provider,{value:J,children:(0,r.jsx)(c.f,{elementsRef:N,children:en})})});function x(e,t){for(let[r,n]of e.entries())if(t===n.value)return r;return null}function y(e,t,r,n){if(null==e||null==t)return"none";let[i,a,l]="horizontal"===r?["left","left","right"]:["top","up","down"],o=x(n,e),s=x(n,t);if(null==o||null==s)return o!==s&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?l:a:"none";let c=o.getBoundingClientRect()[i],u=s.getBoundingClientRect()[i];return uc?l:"none"}var w=e.i(997932),j=e.i(811673),C=e.i(225421),k=e.i(509208),S=e.i(5573),N=e.i(57140);let A=i.createContext(void 0);function L(){let e=i.useContext(A);if(void 0===e)throw Error((0,u.f)(65));return e}var R=e.i(111407),E=e.i(393298);let T=i.forwardRef(function(e,t){let{className:r,disabled:n=!1,render:a,value:c,id:u,nativeButton:f=!0,style:g,...m}=e,{value:b,getTabPanelIdByValue:v,onValueChange:x,orientation:y,tabActivationDirection:A}=d(),{activateOnFocus:T,registerTabResizeObserverElement:M,tabsListElement:I}=L(),{highlightedIndex:z,onHighlightedIndexChange:O}=(0,N.o)(),_=(0,j.f)(u),F=i.useMemo(()=>({disabled:n,id:_,value:c}),[n,_,c]),{compositeProps:D,compositeRef:$,index:B}=(0,S.f)({metadata:F}),P=c===b,W=i.useRef(!1),U=i.useRef(null),V=(0,o.f)(e=>{U.current?.(),U.current=e?M(e):null});(0,l.f)(()=>{if(W.current){W.current=!1;return}if(P&&B>-1&&z!==B){if(null!=I){let e=(0,E.T)((0,w.f)(I));if(e&&(0,E.I)(I,e))return}n||O(B)}},[P,B,z,O,n,I]);let{getButtonProps:H,buttonRef:q}=(0,C.f)({disabled:n,native:f,focusableWhenDisabled:!0}),Y=v(c),Z=i.useRef(!1),J=i.useRef(!1);function K(e){x(c,(0,h.j)(R.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,s.a)("button",e,{state:{disabled:n,active:P,orientation:y,tabActivationDirection:A},ref:[t,q,$,V],props:[D,{role:"tab","aria-controls":Y,"aria-selected":P,id:_,onClick:function(e){P||n||K(e)},onFocus:function(e){P||n||T&&(!Z.current||J.current)&&K(e)},onPointerDown:function(e){if(P||n)return;Z.current=!0,J.current=0===e.button;let t=(0,w.f)(e.currentTarget);function r(){Z.current=!1,J.current=!1,t.removeEventListener("pointerup",r),t.removeEventListener("pointercancel",r)}t.addEventListener("pointerup",r),t.addEventListener("pointercancel",r)},[k.f]:P?"":void 0,onKeyDownCapture(){W.current=!0}},m,H],stateAttributesMapping:p})});var M=e.i(807257),I=e.i(445036),z=e.i(223732),O=e.i(150649),_=e.i(856465),F=e.i(365041),D=e.i(726628);let $={...p,activeTabPosition:()=>null,activeTabSize:()=>null},B=i.forwardRef(function(e,n){let{className:a,render:l,renderBeforeHydration:o=!1,style:c,...u}=e,{getTabElementBySelectedValue:f,orientation:p,tabActivationDirection:h,value:g}=d(),{tabsListElement:m,registerIndicatorUpdateListener:b}=L(),v=(0,I.f)();i.useEffect(()=>b(v),[b,v]);let x=0,y=0,w=0,j=0,C=0,k=0,S=!1;if(null!=g&&null!=m){let e=f(g);if(null!=e){S=!0;let{width:t,height:r}=(0,F.f)(e),{width:n,height:i}=(0,F.f)(m),a=e.getBoundingClientRect(),l=m.getBoundingClientRect(),o=n>0?l.width/n:1,s=i>0?l.height/i:1,c=function(e,t){let r=P(e),n=P(t),i=r.left-n.left-t.clientLeft,a=r.top-n.top-t.clientTop,l=(0,M.J)(e);for(;(0,M.E)(l)&&l!==t&&!(0,M.Z)(l);)i-=l.scrollLeft,a-=l.scrollTop,l=(0,M.J)(l);return{left:i,top:a}}(e,m);x=c.left,w=c.top;let u=(a.left-l.left)/o+m.scrollLeft-m.clientLeft,f=(a.top-l.top)/s+m.scrollTop-m.clientTop,d=function(e){let t=(0,z.f)(e).getComputedStyle(e),{x:r,y:n}=(0,D.f)(e,t),i=r,a=n,{translate:l}=t;if(l&&"none"!==l){let t=l.split(" ");i+=W(t[0],e.offsetWidth),a+=W(t[1],e.offsetHeight)}return{x:i,y:a}}(e);2>=Math.abs(u-d.x-x)&&2>=Math.abs(f-d.y-w)&&(x=u,w=f),C=t,k=r,y=m.scrollWidth-x-C,j=m.scrollHeight-w-k}}let N=S?{left:x,right:y,top:w,bottom:j}:null,A=S?{width:C,height:k}:null,R=S?{"--active-tab-left":`${x}px`,"--active-tab-right":`${y}px`,"--active-tab-top":`${w}px`,"--active-tab-bottom":`${j}px`,"--active-tab-width":`${C}px`,"--active-tab-height":`${k}px`}:void 0,E=S&&C>0&&k>0,T=(0,s.a)("span",e,{state:{orientation:p,activeTabPosition:N,activeTabSize:A,tabActivationDirection:h},ref:n,props:[{role:"presentation",style:R,hidden:!E},u,{suppressHydrationWarning:!0}],stateAttributesMapping:$});return null==g?null:(0,r.jsxs)(i.Fragment,{children:[T,o&&(t||(t=(0,r.jsx)(_.f,{script:O.f})))]})});function P(e){let t=0,r=0,n=e;for(;null!=n;){t+=n.offsetLeft,r+=n.offsetTop;let e=n.offsetParent;null!=e&&(t+=e.clientLeft,r+=e.clientTop),n=e}return{left:t,top:r}}function W(e,t){if(!e)return 0;let r=parseFloat(e);return Number.isFinite(r)?e.endsWith("%")?r/100*t:r:0}var U=e.i(245966),V=e.i(240070),H=e.i(692933),q=e.i(288646),Y=e.i(485997),Z=e.i(691739),J=e.i(773183);Z.f.startingStyle,J.f.endingStyle;let K={...p,...V.f},X=i.forwardRef(function(e,t){let{className:r,value:n,render:a,keepMounted:o=!1,style:c,...u}=e,{value:f,getTabIdByPanelValue:p,orientation:h,tabActivationDirection:g,registerMountedTabPanel:m}=d(),b=(0,j.f)(),{ref:v,index:x}=(0,Y.f)(),y=n===f,{mounted:w,transitionStatus:C,setMounted:k}=(0,q.f)(y),S=!w,N=p(n),A=i.useRef(null),L=(0,s.a)("div",e,{state:{hidden:S,orientation:h,tabActivationDirection:g,transitionStatus:C},ref:[t,v,A],props:[{"aria-labelledby":N,hidden:S,id:b,role:"tabpanel",tabIndex:y?0:-1,inert:(0,U.f)(!y),"data-index":x},u],stateAttributesMapping:K});return((0,H.f)({open:y,ref:A,onComplete(){y||k(!1)}}),(0,l.f)(()=>{if(null!=b&&(!S||o))return m(n,b)},[S,o,n,b,m]),o||w)?L:null});var G=e.i(115370),Q=e.i(587135);let ee=i.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:a,loopFocus:s=!0,render:c,style:u,...f}=e,{orientation:h,setTabMap:g,tabActivationDirection:m}=d(),[b,v]=i.useState(0),[x,y]=i.useState(null),w=i.useRef(new Set),j=i.useRef(new Set),C=i.useRef(null);(0,l.f)(()=>{if("u"{w.current.forEach(e=>{e()})});return C.current=e,x&&e.observe(x),j.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),C.current=null}},[x]);let k=(0,o.f)(e=>(w.current.add(e),()=>{w.current.delete(e)})),S=(0,o.f)(e=>(j.current.add(e),C.current?.observe(e),()=>{j.current.delete(e),C.current?.unobserve(e)})),N=i.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:k,registerTabResizeObserverElement:S,tabsListElement:x}),[n,k,S,x]);return(0,r.jsx)(A.Provider,{value:N,children:(0,r.jsx)(Q.f,{render:c,className:a,style:u,state:{orientation:h,tabActivationDirection:m},refs:[t,y],props:[{"aria-orientation":"vertical"===h?"vertical":void 0,role:"tablist"},f],stateAttributesMapping:p,highlightedIndex:b,enableHomeAndEndKeys:!0,loopFocus:s,orientation:h,onHighlightedIndexChange:v,onMapChange:g,disabledIndices:G.v})})});e.s(["Indicator",0,B,"List",0,ee,"Panel",0,X,"Root",0,v,"Tab",0,T],308864);var et=e.i(308864),et=et,er=et,en=et,ei=et,ea=et,el=e.i(207298),eo=e.i(136562);let es=(0,el.f)("relative inline-flex items-center justify-center text-muted-foreground",{variants:{variant:{primary:"h-10 max-md:h-8 rounded-md border border-border bg-muted p-0.5",secondary:"border-b border-border bg-background"}},defaultVariants:{variant:"primary"}}),ec=(0,el.f)((0,eo.f)("pointer-events-none absolute left-0 w-(--active-tab-width) translate-x-(--active-tab-left)","transition-[translate,width] duration-fast ease-in-out-strong motion-reduce:transition-none"),{variants:{variant:{primary:"top-(--active-tab-top) h-(--active-tab-height) rounded-sm bg-background shadow-sm",secondary:"bottom-0 h-0.5 bg-primary"}},defaultVariants:{variant:"primary"}}),eu=(0,el.f)((0,eo.f)("inline-flex items-center justify-center whitespace-nowrap","text-xs font-medium cursor-pointer","ring-offset-background transition-colors duration-quick ease-smooth-out","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:(0,eo.f)("relative w-full rounded-sm px-3 py-1.5 max-md:py-0.5","hover:text-accent-foreground","data-[active]:bg-background data-[active]:text-accent-foreground data-[active]:shadow-sm","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:bg-transparent","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:shadow-none"),secondary:(0,eo.f)("relative w-fit px-3 py-1.5","text-muted-foreground hover:text-foreground","after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-0.5","after:bg-transparent after:transition-colors after:duration-200","data-[active]:text-primary","data-[active]:after:bg-primary","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:after:bg-transparent")},size:{default:"",sm:"gap-1.5 rounded-sm px-2.5 py-1 hover:text-accent-foreground"}},defaultVariants:{variant:"primary",size:"default"}}),ef=(0,i.createContext)("primary"),ed=(0,i.createContext)("default"),ep=(0,i.createContext)(!1);e.s(["i",0,function(e){let t,i,a,l,o,s=(0,n.c)(10);s[0]!==e?({variant:a,children:t,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=a):(t=s[1],i=s[2],a=s[3]);let c=void 0===a?"primary":a;return s[4]!==t||s[5]!==i?(l=(0,r.jsx)(et.Root,{...i,children:t}),s[4]=t,s[5]=i,s[6]=l):l=s[6],s[7]!==l||s[8]!==c?(o=(0,r.jsx)(ef,{value:c,children:l}),s[7]=l,s[8]=c,s[9]=o):o=s[9],o},"S",0,function(e){let t,i,a,l,o,s=(0,n.c)(10);return s[0]!==e?({className:t,ref:a,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=a):(t=s[1],i=s[2],a=s[3]),s[4]!==t?(l=(0,eo.f)("mt-2 ring-offset-background","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",t),s[4]=t,s[5]=l):l=s[5],s[6]!==i||s[7]!==a||s[8]!==l?(o=(0,r.jsx)(ea.Panel,{ref:a,className:l,...i}),s[6]=i,s[7]=a,s[8]=l,s[9]=o):o=s[9],o},"U",0,function(e){let t,a,l,o,s,c,u,f,d,p,h,g,m=(0,n.c)(27);m[0]!==e?({className:a,children:t,ref:o,size:s,shouldWrap:c,...l}=e,m[0]=e,m[1]=t,m[2]=a,m[3]=l,m[4]=o,m[5]=s,m[6]=c):(t=m[1],a=m[2],l=m[3],o=m[4],s=m[5],c=m[6]);let b=void 0===s?"default":s,v=void 0!==c&&c,x=(0,i.use)(ef);return m[7]!==a||m[8]!==v||m[9]!==x?(u=(0,eo.f)(es({variant:x}),v&&"h-auto max-md:h-auto flex-wrap",a),m[7]=a,m[8]=v,m[9]=x,m[10]=u):u=m[10],m[11]!==x?(f=(0,eo.f)(ec({variant:x})),m[11]=x,m[12]=f):f=m[12],m[13]!==f?(d=(0,r.jsx)(er.Indicator,{"data-tabs-indicator":"",className:f}),m[13]=f,m[14]=d):d=m[14],m[15]!==t||m[16]!==v?(p=(0,r.jsx)(ep,{value:v,children:t}),m[15]=t,m[16]=v,m[17]=p):p=m[17],m[18]!==b||m[19]!==p?(h=(0,r.jsx)(ed,{value:b,children:p}),m[18]=b,m[19]=p,m[20]=h):h=m[20],m[21]!==l||m[22]!==o||m[23]!==u||m[24]!==d||m[25]!==h?(g=(0,r.jsxs)(en.List,{ref:o,className:u,...l,children:[d,h]}),m[21]=l,m[22]=o,m[23]=u,m[24]=d,m[25]=h,m[26]=g):g=m[26],g},"k",0,function(e){let t,a,l,o,s,c=(0,n.c)(13);c[0]!==e?({className:t,ref:l,...a}=e,c[0]=e,c[1]=t,c[2]=a,c[3]=l):(t=c[1],a=c[2],l=c[3]);let u=(0,i.use)(ef),f=(0,i.use)(ed),d=(0,i.use)(ep);return c[4]!==t||c[5]!==d||c[6]!==f||c[7]!==u?(o=(0,eo.f)(eu({variant:u,size:f}),d&&"w-auto",t),c[4]=t,c[5]=d,c[6]=f,c[7]=u,c[8]=o):o=c[8],c[9]!==a||c[10]!==l||c[11]!==o?(s=(0,r.jsx)(ei.Tab,{ref:l,className:o,...a}),c[9]=a,c[10]=l,c[11]=o,c[12]=s):s=c[12],s}],771743)},737980,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(288265),i=e.i(354896),a=e.i(16043),l=e.i(136562),o=e.i(105433);let s="data-overflow-tab";function c(e){return e.offsetWidth}var u=e.i(978242),f=e.i(967605);let d="rgb(0 0 0 / 0.2)",p="shrink-0 border-b-2 px-4 py-2 text-xs font-medium cursor-pointer outline-none focus-visible:bg-foreground/5",h="border-primary text-primary [[data-tabs-indicator]:not([hidden])~&]:border-transparent",g="border-transparent text-muted-foreground hover:text-accent-foreground",m="invisible absolute";function b(e){return e.id}function v(e){let a,o,s,c,d,b,v,x,y=(0,r.c)(33),{triggerRef:w,tabs:j,activeTab:C,onTabChange:k,prefetch:S,className:N}=e,A=(0,n.f)(),L=0===j.length;if(y[0]!==C||y[1]!==j){let e;y[3]!==C?(e=e=>e.id===C,y[3]=C,y[4]=e):e=y[4],a=j.some(e),y[0]=C,y[1]=j,y[2]=a}else a=y[2];let R=a,E=L||void 0,T=L?-1:void 0,M=R?h:g,I=L&&m;if(y[5]!==N||y[6]!==M||y[7]!==I?(o=(0,l.f)(p,"inline-flex items-center gap-1 transition-colors",N,M,I),y[5]=N,y[6]=M,y[7]=I,y[8]=o):o=y[8],y[9]!==A?(s=A("More"),y[9]=A,y[10]=s):s=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(i.f,{className:"size-3.5"}),y[11]=c):c=y[11],y[12]!==R||y[13]!==E||y[14]!==T||y[15]!==o||y[16]!==s||y[17]!==w?(d=(0,t.jsxs)(u.X,{ref:w,role:"tab","aria-selected":R,"aria-hidden":E,tabIndex:T,className:o,children:[s,c]}),y[12]=R,y[13]=E,y[14]=T,y[15]=o,y[16]=s,y[17]=w,y[18]=d):d=y[18],y[19]!==C||y[20]!==k||y[21]!==S||y[22]!==j){let e;y[24]!==C||y[25]!==k||y[26]!==S?(e=e=>(0,t.jsx)(u.r,{className:(0,l.f)(e.id===C&&"text-primary",e.className),onClick:()=>k?.(e.id),render:void 0===e.href?void 0:(0,t.jsx)(f.Link,{href:e.href,replace:e.replace,prefetch:S}),children:e.label},e.id),y[24]=C,y[25]=k,y[26]=S,y[27]=e):e=y[27],b=j.map(e),y[19]=C,y[20]=k,y[21]=S,y[22]=j,y[23]=b}else b=y[23];return y[28]!==b?(v=(0,t.jsx)(u.L,{align:"end",children:b}),y[28]=b,y[29]=v):v=y[29],y[30]!==v||y[31]!==d?(x=(0,t.jsxs)(u.G,{children:[d,v]}),y[30]=v,y[31]=d,y[32]=x):x=y[32],x}function x(e){return e<=2?0:Math.min(e,32)}e.s(["f",0,function(e){let n,i,u,y,w,j,C,k,S,N,A,L,R,E,T,M,I,z=(0,r.c)(56),{tabs:O,activeTab:_,onTabChange:F,className:D,ariaLabel:$,prefetch:B,overflow:P,tabClassName:W}=e,U=void 0===B?"viewport":B,V=(M=(0,r.c)(2),I=(0,a.useRef)(null),M[0]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{let e=I.current;if(!e)return;let t=function(){if(!e)return;let t=e.scrollWidth-e.clientWidth,r=x(e.scrollLeft),n=x(t-e.scrollLeft),i=t<=2?"":`linear-gradient(to right, ${d} 0, #000 ${r}px, #000 calc(100% - ${n}px), ${d} 100%)`;e.style.maskImage=i,e.style.webkitMaskImage=i};t(),e.addEventListener("scroll",t,{passive:!0});let r=new ResizeObserver(t);return r.observe(e),()=>{e.removeEventListener("scroll",t),r.disconnect()}},T=[],M[0]=E,M[1]=T):(E=M[0],T=M[1]),(0,a.useEffect)(E,T),I),H="menu"===(void 0===P?"scroll":P);z[0]!==O?(n=O.map(b),z[0]=O,z[1]=n):n=z[1];let{listRef:q,menuTriggerRef:Y,visibleCount:Z}=function(e,t){let n,i,l,o,u=(0,r.c)(11),f=(0,a.useRef)(null),d=(0,a.useRef)(null),p=t.length;u[0]!==t?(n=t.join("\0"),u[0]=t,u[1]=n):n=u[1];let h=n,[g,m]=(0,a.useState)(p);return u[2]!==e||u[3]!==p?(i=()=>{let t=f.current,r=d.current;if(!e||!t||!r)return void m(p);let n=Array.from(t.querySelectorAll(`[${s}]`)),i=()=>{m(function({widths:e,availableWidth:t,triggerWidth:r}){if(e.reduce((e,t)=>e+t,0)<=t)return e.length;let n=0,i=0;for(let a of e){if(n+a+r>t)break;n+=a,i+=1}return i}({widths:n.map(c),availableWidth:t.clientWidth,triggerWidth:r.offsetWidth}))};i();let a=new ResizeObserver(i);for(let e of(a.observe(t),n))a.observe(e);return()=>{a.disconnect()}},u[2]=e,u[3]=p,u[4]=i):i=u[4],u[5]!==e||u[6]!==p||u[7]!==h?(l=[e,p,h],u[5]=e,u[6]=p,u[7]=h,u[8]=l):l=u[8],(0,a.useLayoutEffect)(i,l),u[9]!==g?(o={listRef:f,menuTriggerRef:d,visibleCount:g},u[9]=g,u[10]=o):o=u[10],o}(H,n);if(z[2]!==_||z[3]!==H||z[4]!==O||z[5]!==Z){let e;i=H?O.slice(Z):[],z[8]!==_?(e=e=>e.id===_,z[8]=_,z[9]=e):e=z[9],u=i.some(e),z[2]=_,z[3]=H,z[4]=O,z[5]=Z,z[6]=i,z[7]=u}else i=z[6],u=z[7];let J=u?"__overflow-menu__":_;z[10]!==J||z[11]!==O?(y={activeKey:J,items:O},z[10]=J,z[11]=O,z[12]=y):y=z[12];let K=(0,o.f)('[role="tab"][aria-selected="true"]:not([aria-hidden="true"])',y);z[13]!==D?(w=(0,l.f)("border-b border-border",D),z[13]=D,z[14]=w):w=z[14],z[15]!==q||z[16]!==V?(j=e=>{V.current=e,q.current=e},z[15]=q,z[16]=V,z[17]=j):j=z[17];let X=H?"overflow-hidden":"overflow-x-auto scrollbar-hide";if(z[18]!==X?(C=(0,l.f)("relative flex -mb-px",X),z[18]=X,z[19]=C):C=z[19],z[20]===Symbol.for("react.memo_cache_sentinel")?(k=(0,l.f)("pointer-events-none absolute bottom-0 left-0 h-0.5 bg-primary","w-(--active-tab-width) translate-x-(--active-tab-left)","transition-[translate,width] duration-fast ease-in-out-strong motion-reduce:transition-none"),z[20]=k):k=z[20],z[21]!==K?(S=(0,t.jsx)("span",{ref:K,"data-tabs-indicator":"",hidden:!0,"aria-hidden":!0,className:k}),z[21]=K,z[22]=S):S=z[22],z[23]!==_||z[24]!==H||z[25]!==F||z[26]!==U||z[27]!==W||z[28]!==O||z[29]!==Z){let e;z[31]!==_||z[32]!==H||z[33]!==F||z[34]!==U||z[35]!==W||z[36]!==Z?(e=(e,r)=>{let n=_===e.id,i=H&&r>=Z,a={role:"tab",id:e.buttonId,"aria-selected":n,"aria-controls":e.ariaControls,"aria-hidden":i||void 0,tabIndex:i?-1:void 0,[s]:H?"":void 0,onClick:()=>F?.(e.id),className:(0,l.f)(p,W,n?h:g,e.className,i&&m)};return void 0!==e.href?(0,t.jsx)(f.Link,{href:e.href,replace:e.replace,prefetch:U,...a,children:e.label},e.id):(0,t.jsx)("button",{type:"button",...a,className:(0,l.f)(a.className,"transition-colors"),children:e.label},e.id)},z[31]=_,z[32]=H,z[33]=F,z[34]=U,z[35]=W,z[36]=Z,z[37]=e):e=z[37],N=O.map(e),z[23]=_,z[24]=H,z[25]=F,z[26]=U,z[27]=W,z[28]=O,z[29]=Z,z[30]=N}else N=z[30];return z[38]!==_||z[39]!==H||z[40]!==Y||z[41]!==F||z[42]!==i||z[43]!==U||z[44]!==W?(A=H&&(0,t.jsx)(v,{triggerRef:Y,tabs:i,activeTab:_,onTabChange:F,prefetch:U,className:W}),z[38]=_,z[39]=H,z[40]=Y,z[41]=F,z[42]=i,z[43]=U,z[44]=W,z[45]=A):A=z[45],z[46]!==$||z[47]!==C||z[48]!==S||z[49]!==N||z[50]!==A||z[51]!==j?(L=(0,t.jsxs)("div",{ref:j,role:"tablist","aria-label":$,className:C,children:[S,N,A]}),z[46]=$,z[47]=C,z[48]=S,z[49]=N,z[50]=A,z[51]=j,z[52]=L):L=z[52],z[53]!==L||z[54]!==w?(R=(0,t.jsx)("div",{className:w,children:L}),z[53]=L,z[54]=w,z[55]=R):R=z[55],R}],737980)},511667,e=>{"use strict";var t=e.i(336810);let r="Other",n=t.F.Slate400;function i(e){return e===r||"Others"===e}function a(e){let t=0x811c9dc5;for(let r=0;r>>0;return t}e.s(["w",0,n,"d",0,r,"C",0,"__other__","z",0,function(e,r){let l=new Map,o=new Set;for(let s of[...new Set(e)].toSorted()){if(i(s)){l.set(s,n);continue}if(0===r.length){l.set(s,t.a);continue}let e=a(s)%r.length,c=function({preferredSlot:e,paletteLength:t,claimedSlots:r}){for(let n=0;n{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e){let n,i,a,l,o,s,c,u=(0,t.c)(25);u[0]!==e?(n=void 0===e?{}:e,u[0]=e,u[1]=n):n=u[1];let{threshold:f,root:d,rootMargin:p,freezeOnceVisible:h,initialIsIntersecting:g,onChange:m}=n,b=void 0===f?0:f,v=void 0===d?null:d,x=void 0===p?"0%":p,y=void 0!==h&&h,[w,j]=(0,r.useState)(null),[C,k]=(0,r.useState)(void 0!==g&&g),[S,N]=(0,r.useState)(void 0);u[2]!==m?(i=(e,t)=>{m?.(e,t)},u[2]=m,u[3]=i):i=u[3];let A=(0,r.useEffectEvent)(i),L=!!S&&C&&y;u[4]!==w||u[5]!==y||u[6]!==L||u[7]!==A||u[8]!==v||u[9]!==x||u[10]!==b?(a=()=>{if(!w||!("IntersectionObserver"in window)||L)return;let e=new IntersectionObserver(t=>{for(let r of t)k(r.isIntersecting),N(r),A(r.isIntersecting,r),r.isIntersecting&&y&&e.disconnect()},{threshold:b,root:v,rootMargin:x});return e.observe(w),()=>{e.disconnect()}},u[4]=w,u[5]=y,u[6]=L,u[7]=A,u[8]=v,u[9]=x,u[10]=b,u[11]=a):a=u[11],u[12]!==b?(l=JSON.stringify(b),u[12]=b,u[13]=l):l=u[13],u[14]!==w||u[15]!==y||u[16]!==L||u[17]!==v||u[18]!==x||u[19]!==l?(o=[w,l,v,x,L,y],u[14]=w,u[15]=y,u[16]=L,u[17]=v,u[18]=x,u[19]=l,u[20]=o):o=u[20],(0,r.useEffect)(a,o),u[21]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{j(e??null)},u[21]=s):s=u[21];let R=s;return u[22]!==S||u[23]!==C?(c={ref:R,isIntersecting:C,entry:S},u[22]=S,u[23]=C,u[24]=c):c=u[24],c}])},866969,e=>{"use strict";var t=e.i(663456),r=e.i(16043),n=e.i(143253);e.s(["f",0,function(e,i){let a,l,o,s,c=(0,t.c)(6),u=(0,r.useRef)(e);c[0]!==e?(a=()=>{u.current=e},l=[e],c[0]=e,c[1]=a,c[2]=l):(a=c[1],l=c[2]),(0,n.f)(a,l),c[3]!==i?(o=()=>{if(null===i)return;let e=setInterval(()=>{u.current()},i);return()=>{clearInterval(e)}},s=[i],c[3]=i,c[4]=o,c[5]=s):(o=c[4],s=c[5]),(0,r.useEffect)(o,s)}])},932061,e=>{"use strict";var t=e.i(339814),r=e.i(385190);e.s(["f",0,function(e,n){return(0,t.o)(e,n,{locale:r.L})}])},769715,e=>{e.q("/_next/static/immutable/media/highlight.worker.3-ioem5915ckg.ts")},405266,e=>{e.v(e.r(510914).f("static/immutable/chunks/turbopack-worker-38eq_8frvyaul.js",["static/immutable/chunks/0t_n-r81acfo9.js","static/immutable/chunks/418fptazfd3br.js","static/immutable/chunks/turbopack-0bzpzepyyv54r.js","static/immutable/chunks/turbopack-35u-62ruoxs7i.js"]))},473028,e=>{"use strict";var t=e.i(647204);let r=/^[A-Za-z0-9+/\-_=\s]*$/,n=/^$/,i="data:",a=";base64,";function l(e){let t=r.test(e);return n.test(""),t}e.s(["k",0,function(e){let r=e.indexOf(";");if(e.startsWith(i)&&r>i.length&&e.startsWith(a,r)){let n=e.slice(i.length,r),o=e.slice(r+a.length);if(n&&o&&!n.includes(":")&&l(o))return(0,t.N)({mimeType:n,base64:o})}return function(e){let[r,n]=e.split(";");if(!r||!n)return(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: missing data prefix or base64 payload"});let i=r.split(":")[1],a=n.split(",")[1];return i&&a?l(a)?(0,t.N)({mimeType:i,base64:a}):(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: payload is not base64-encoded data"}):(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: missing mime type or base64 content"})}(e)},"d",0,function({mimeType:e,base64:t}){return`data:${e};base64,${t}`},"i",0,function(e){return e.startsWith("data:")&&e.includes(";base64,",5)&&!e.includes("\n")&&!e.includes("\r")&&!e.includes("\u2028")&&!e.includes("\u2029")}])},820223,e=>{"use strict";let t;var r=e.i(647204),n=e.i(167182);let i="function"==typeof n.Buffer,a="function"==typeof TextDecoder?new TextDecoder:void 0,l="function"==typeof TextEncoder?new TextEncoder:void 0,o=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),s=(t={},o.forEach((e,r)=>t[e]=r),t),c=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),f="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),d=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),p="function"==typeof btoa?e=>btoa(e):i?e=>n.Buffer.from(e,"binary").toString("base64"):e=>{let t,r,n,i,a="",l=e.length%3;for(let l=0;l255||(n=e.charCodeAt(l++))>255||(i=e.charCodeAt(l++))>255)throw TypeError("invalid character found");a+=o[(t=r<<16|n<<8|i)>>18&63]+o[t>>12&63]+o[t>>6&63]+o[63&t]}return l?a.slice(0,l-3)+"===".substring(l):a},h=i?e=>n.Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;rt?d(h(e)):h(e),m=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},b=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,v=i?e=>n.Buffer.from(e,"utf8").toString("base64"):l?e=>h(l.encode(e)):e=>p(e.replace(b,m)),x=(e,t=!1)=>t?d(v(e)):v(e),y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u((t>>>10)+55296)+u((1023&t)+56320);case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},j="function"==typeof atob?e=>atob(e.replace(/[^A-Za-z0-9\+\/]/g,"")):i?e=>n.Buffer.from(e,"base64").toString("binary"):e=>{let t,r,n;if(e=e.replace(/\s+/g,""),!c.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let i=[];for(let a=0;a>16&255)):64===n?i.push(u(t>>16&255,t>>8&255)):i.push(u(t>>16&255,t>>8&255,255&t));return i.join("")},C=i?e=>f(n.Buffer.from(e,"base64")):e=>f(j(e).split("").map(e=>e.charCodeAt(0))),k=e=>C(N(e)),S=i?e=>n.Buffer.from(e,"base64").toString("utf8"):a?e=>a.decode(C(e)):e=>j(e).replace(y,w),N=e=>e.replace(/[-_]/g,e=>"-"==e?"+":"/").replace(/[^A-Za-z0-9\+\/]/g,"");function A(e){let t=0,r=0,n=!1,i=!1;for(let a=0;a=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){if(r>0)return!1;t+=1}else if(43===l||47===l){if(r>0)return!1;n=!0,t+=1}else if(45===l||95===l){if(r>0)return!1;i=!0,t+=1}else if(61===l){if((r+=1)>2)return!1}else if(!(32===l||l>=9&&l<=13||160===l||5760===l||l>=8192&&l<=8202||8232===l||8233===l||8239===l||8287===l||12288===l||65279===l))return!1}let a=0===r||(t+r)%4==0;return t>0&&!(n&&i)&&t%4!=1&&a}let L=/^data:[^,]{0,255};base64,/i;e.s(["T",0,function(e){try{if(!A(e))return;let t=e.replaceAll(/\s/g,""),n=(0,r.$)(()=>new Uint8Array(k(t)));return(0,r.C)(n)?n.data:void 0}finally{/(?:)/.test("")}},"L",0,function(e){return g(e)},"Y",0,function(e){return x(e)},"D",0,function(e){return"data:"===e.slice(0,5).toLowerCase()},"o",0,function(e){try{return A(e.replace(L,""))}finally{/(?:)/.test("")}}],820223)},510914,e=>{"use strict";e.s(["f",0,function(t,r){return(n,i)=>(function(t,r,n,i){let a="SharedWorker"===t.name,l=e.b,o=[n.map(t=>e.h("string"==typeof t?t:t.path,l)).reverse(),e.X,l],s=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];for(let e=0;e