(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73867,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))});e.s(["f",0,r],73867)},246601,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))});e.s(["f",0,r],246601)},612223,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},i){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["f",0,r],612223)},828342,e=>{"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function r(e){for(var r=1;re(r(r({},t),a)),a;function a(e,...r){let i="string"==typeof e?[e]:e.raw,{alignValues:n=!1,escapeSpecialCharacters:l=Array.isArray(e),trimWhitespace:s=!0}=t,o="";for(let e=0;e" "===t[0]||" "===t[0]?t.slice(e):t).join("\n")}return s&&(o=o.trim()),l&&(o=o.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&&(o=o.replace(/\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g,(e,t,r)=>{var a;return String.fromCodePoint(parseInt(null!=(a=null!=t?t:r)?a:"",16))})),o}}({});e.s(["f",0,a])},783326,e=>{"use strict";var t=e.i(651681);e.s(["f",()=>t.f])},917023,e=>{"use strict";var t=e.i(651681);let r={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],917023)},697149,e=>{"use strict";var t=e.i(651681);let r={name:"chart-no-axes-column-increasing",size:24,node:[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V9",key:"uvy0l4"}],["path",{d:"M19 21V3",key:"11j9sm"}]],aliases:["bar-chart"]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],697149)},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 a=(0,t.f)(r);e.s(["f",0,a],10460)},706999,e=>{"use strict";var t=e.i(651681);let r={name:"gavel",size:24,node:[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],706999)},257723,734824,e=>{"use strict";var t=e.i(651681);let r={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],734824),e.s(["f",0,a],257723)},472089,e=>{"use strict";var t=e.i(651681);let r={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],472089)},58991,e=>{"use strict";var t=e.i(651681);let r={name:"minus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],58991)},14982,e=>{"use strict";var t=e.i(651681);let r={name:"shield-alert",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],14982)},529809,e=>{"use strict";var t=e.i(651681);let r={name:"speech",size:24,node:[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],529809)},357321,e=>{"use strict";var t=e.i(651681);let r={name:"triangle-alert",size:24,node:[["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"}]],aliases:["alert-triangle"]};r.node;let a=(0,t.f)(r);e.s(["f",0,a])},99938,e=>{"use strict";var t=e.i(651681);let r={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],99938)},288087,e=>{"use strict";var t=e.i(651681);let r={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],288087)},913743,9634,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(647204),i=e.i(16043),n=e.i(136562),l=e.i(535072);let s=()=>{if("u"0?e:void 0};var o=e.i(866969),c=e.i(67089);let d=null,u=new Map,f=null,h=0,m=(e,t)=>{let r=u.get(e);r&&(u.delete(e),clearTimeout(r.timeoutId),r.resolve(t))},p=()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={highlight:g},t[0]=e):e=t[0],e};function g(t,r,i){return(({code:t,lang:r,theme:i})=>new Promise(n=>{let l=(()=>{if(f)return null;if(d)return d;let t=(0,a.$)(()=>e.r(405266)(Worker));return(0,a.V)(t)?((0,c.L)("Failed to initialize highlight worker",{message:"Failed to initialize highlight worker",error:t.error,metadata:{location:"highlight.singleton.ts"}}),f=t.error instanceof Error?t.error:Error(String(t.error)),d=null,null):((d=t.data).onmessage=e=>{let{id:t,lines:r,preStyle:a,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"}}),m(t,null);return}h=0,m(t,{lines:r??[],preStyle:a??""})},d.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"}}),(h+=1)>2&&(f=Error(e.message||"highlight worker script error")),d?.terminate(),d=null,u.keys()))m(t,null)},d)})();if(!l)return void n(null);let s=crypto.randomUUID(),o=setTimeout(()=>m(s,null),1e4);u.set(s,{resolve:n,timeoutId:o});let p=(0,a.$)(()=>l.postMessage({id:s,code:t,lang:r,theme:i}));(0,a.V)(p)&&m(s,null)}))({code:t,lang:r,theme:i})}e.s(["f",0,p],9634);let v=(0,i.memo)(e=>{let a,i=(0,r.c)(2),{html:n}=e;return i[0]!==n?(a=(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),i[0]=n,i[1]=a):a=i[1],a}),x=(0,i.memo)(e=>{let a,i=(0,r.c)(2),{text:n}=e,l=n||" ";return i[0]!==l?(a=(0,t.jsx)("div",{children:l}),i[0]=l,i[1]=a):a=i[1],a});e.s(["f",0,({code:e,lang:c,theme:d,roundedCorners:u=!0,border:f=!0,codeBackgroundClassName:h="bg-doc-surface",lineNumbers:m=!1,wrap:g=!1})=>{let[b,y]=(0,i.useState)([]),[k,w]=(0,i.useState)({}),[j,N]=(0,i.useState)(""),C=(0,i.useRef)(!1),E=(0,i.useRef)(null),M=(0,i.useRef)(0),{highlight:A}=p(),S=((e=500)=>{let t=(0,i.useMemo)(s,[]),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),L=(0,i.useCallback)(e=>{var t;let r,a=(t=e.preStyle,r={},t&&t.split(";").forEach(e=>{let[t,a]=e.split(/:(.*)/s);t&&a&&(r[t.trim().replaceAll(/-(\w)/g,(e,t)=>t.toUpperCase())]=a.trim())}),r);a.backgroundColor="transparent",a.whiteSpace="pre",w(a)},[]);(0,i.useEffect)(()=>{let e=!1;return(0,a.$)(()=>A("",c,d)).then(t=>{e||!(0,a.V)(t)&&t.data&&L(t.data)}),()=>{e=!0}},[c,d,A,L]),(0,i.useEffect)(()=>{E.current={code:e,lang:c,theme:d},M.current=0},[e,c,d]);let z=(0,i.useCallback)(async()=>{if(C.current||!E.current)return;C.current=!0;let e=E.current;E.current=null;let t=await (0,a.$)(()=>A(e.code,e.lang,e.theme));(0,a.V)(t)||!t.data?(M.current+=1,M.current<=5&&(E.current??=e)):(M.current=0,L(t.data),y(t.data.lines),N(e.code)),C.current=!1},[A,L]);!function(e){let t,a,n=(0,r.c)(5),{run:l,intervalMs:s,jobKey:c}=e;n[0]!==l?(t=()=>{l()},n[0]=l,n[1]=t):t=n[1],n[2]!==c||n[3]!==l?(a=[c,l],n[2]=c,n[3]=l,n[4]=a):a=n[4],(0,i.useEffect)(t,a),(0,o.f)(l,s)}({run:(0,i.useCallback)(()=>{z()},[z]),intervalMs:S,jobKey:`${c}|${d}|${e}`});let T=(0,i.useMemo)(()=>j&&e.startsWith(j)?e.substring(j.length):e,[e,j]);(0,i.useEffect)(()=>{j&&!e.startsWith(j)&&y([])},[e,j]);let R=(0,i.useMemo)(()=>T.split("\n"),[T]);return(0,t.jsx)("pre",{className:(0,n.f)("highlights overflow-x-auto min-w-0",f&&"border border-border",u&&"rounded-lg"),style:k,children:(0,t.jsxs)("code",{className:(0,n.f)("p-4",g?"block whitespace-pre-wrap break-words":"inline-block min-w-full whitespace-pre",!m&&!g&&"md:whitespace-pre-wrap",m&&"[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",m&&g&&"[&>div]:pl-10 [&>div]:-indent-10",h),children:[b.map((e,r)=>(0,t.jsx)(v,{html:e},`h-${r}`)),R.slice(+!!j).map((e,r)=>(0,t.jsx)(x,{text:e},`r-${r}`))]})})}],913743)},273517,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(820223),i=e.i(473028);e.i(16043);var n=e.i(199630),l=e.i(288265);let s=e=>{let a,i,n=(0,r.c)(5),{src:s}=e,o=(0,l.f)();return n[0]!==o?(a=o("AI Generated SVG"),n[0]=o,n[1]=a):a=n[1],n[2]!==s||n[3]!==a?(i=(0,t.jsx)("img",{className:"max-w-lg rounded-lg border border-current",alt:a,src:s}),n[2]=s,n[3]=a,n[4]=i):i=n[4],i},o="image/svg+xml";e.s(["MarkdownSvgFence",0,function(e){let l,c,d=(0,r.c)(5),{source:u,fallback:f}=e,h=(0,n.f)();d[0]!==h||d[1]!==u?(l=h?function(e){let t=new DOMParser;try{let r=t.parseFromString(e,o);if(r.querySelector("parsererror")||"http://www.w3.org/2000/svg"!==r.documentElement.namespaceURI)return null}catch{return null}return(0,i.d)({mimeType:o,base64:(0,a.Y)(e)})}(u):null,d[0]=h,d[1]=u,d[2]=l):l=d[2];let m=l;return m?(d[3]!==m?(c=(0,t.jsx)("div",{className:"flex-row justify-items-center w-full my-6",children:(0,t.jsx)(s,{src:m})}),d[3]=m,d[4]=c):c=d[4],c):f}],273517)},567520,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(288265);e.s(["MarkdownYouTubeEmbed",0,e=>{let i,n,l=(0,r.c)(5),{youtubeId:s}=e,o=(0,a.f)(),c=`https://www.youtube.com/embed/${s}`;return l[0]!==o?(i=o("YouTube video"),l[0]=o,l[1]=i):i=l[1],l[2]!==c||l[3]!==i?(n=(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]=n):n=l[4],n}])},918331,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043),i=e.i(115370),n=e.i(389475),l=e.i(533124),s=e.i(82153),o=e.i(367898),c=e.i(223732),d=e.i(825086);function u(e){return{checked:t=>e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""},...d.s}}var f=e.i(729253),h=e.i(93836),m=e.i(811673),p=e.i(195618),g=e.i(225421),v=e.i(141436),x=e.i(176322),b=e.i(967090),y=e.i(446443),k=e.i(621441),w=e.i(76129),j=e.i(599096),N=e.i(461430);let C=a.createContext(void 0);var E=e.i(107397);let M=a.createContext(void 0);var A=e.i(132887),S=e.i(111407),L=e.i(957854);let z=a.forwardRef(function(e,r){let{checked:d,className:E,defaultChecked:z=!1,"aria-labelledby":T,disabled:R=!1,form:B,id:O,indeterminate:P=!1,inputRef:I,name:_,onCheckedChange:D,parent:V=!1,readOnly:F=!1,render:U,required:W=!1,uncheckedValue:H,value:$,nativeButton:Z=!1,style:q,...X}=e,{clearErrors:Y}=(0,k.f)(),{disabled:K,name:J,setDirty:G,setFilled:Q,setTouched:ee,state:et,validationMode:er,validityData:ea,validation:ei}=(0,v.f)(),en=(0,y.f)(),{labelId:el,registerControlId:es,getDescriptionProps:eo}=(0,w.f)(),ec=a.useContext(C),ed=ec?.allValues===void 0?void 0:ec.parent,eu=void 0!==ed,ef=K||en.disabled||ec?.disabled||R,eh=J??_,em=$??eh,ep=(0,m.f)(),eg=ec?.registerControlId!==es,ev=(0,N.f)({id:O||void 0,enabled:eg}),ex=Z?ev:ep,eb={};eu&&(V?eb=ed.getParentProps():void 0!==em&&(eb=ed.getChildProps(em)));let{checked:ey=d,indeterminate:ek=P,onCheckedChange:ew,...ej}=eb,eN=ec?.value,eC=a.useRef(null),eE=(0,x.f)(ef,eC),{getButtonProps:eM,buttonRef:eA}=(0,g.f)({disabled:ef,native:Z}),eS=ec?.validation??ei,[eL,ez]=(0,n.f)({controlled:void 0===em||void 0===eN||V?ey:eN.includes(em),default:z,name:"Checkbox",state:"checked"}),eT=eu?!!ey:eL,eR=eu&&ek||P;(0,b.f)(eC,ep,eL,void 0,!ec&&!ef,_);let eB=ed?.registerChildId,eO=a.useRef(null),eP=eS.registerInput,eI=ec?em:void 0,e_=a.useCallback(e=>eP(e,{controlRef:eC,value:eI}),[eP,eI]),eD=(0,s.A)(I,eO,V?void 0:e_),eV=(0,j.f)(T,el,eO,!Z,ev,X["aria-label"]);(0,l.f)(()=>{eO.current&&(eO.current.indeterminate=eR),ec||Q(eL)},[eL,eR,ec,Q]),(0,L.f)(eL,()=>{ec||(Y(eh),G(eL!==ea.initialValue),eS.change(eL))});let eF=(0,p.w)({checked:eL,disabled:ef,form:B,name:V?void 0:eh,id:Z?void 0:ev,required:W,ref:eD,style:eh?o.L:o.p,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(F)return void e.preventDefault();let t=e.currentTarget.checked,r=(0,A.j)(S.f.none,e.nativeEvent);if((D?.(t,r),!r.isCanceled)&&(ew?.(t,r),!r.isCanceled&&(ez(t),void 0!==em&&void 0!==ec&&!V&&!eu))){let e=t?[...ec.value,em]:ec.value.filter(e=>e!==em);ec.setValue(e,r)}},onClick(e){e.stopPropagation()},onFocus(){eC.current?.focus()}},void 0!==$?{value:(ec?eL&&$:$)||""}:i.w,eo,e=>eS.getValidationProps(ef,e));a.useEffect(()=>{if(!ed||void 0===em)return;let e=ed.disabledStatesRef.current;return e.set(em,ef),()=>{e.delete(em)}},[ed,ef,em]);let eU=a.useMemo(()=>({...et,checked:eT,disabled:ef,readOnly:F,required:W,indeterminate:eR}),[et,eT,ef,F,W,eR]),eW=u(eU),eH=(0,h.a)("span",e,{state:eU,ref:[eA,eC,r],props:[{id:ex,role:"checkbox","aria-checked":eR?"mixed":eT,"aria-readonly":F||void 0,"aria-required":W||void 0,"aria-labelledby":eV,"data-parent":V?"":void 0,onFocus(){eE(!0)},onBlur(){let e=eO.current;e&&(ee(!0),eE(!1),"onBlur"===er&&eS.commit(ec?eN:e.checked))},onKeyDown(e){if("Enter"!==e.key||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=eO.current?.form??null,r=e.currentTarget,a=e.nativeEvent,i=e.preventDefault,n=a.preventDefault,l=!1;e.preventDefault=()=>{l=!0,i.call(e)},a.preventDefault=()=>{l=!0,n.call(a)},n.call(a),(0,c.f)(r).queueMicrotask(()=>{e.preventDefault=i,a.preventDefault=n,l||(function(e){if(!e)return null;for(let t of e.elements){let e=t.tagName;if(("BUTTON"===e||"INPUT"===e)&&"submit"===t.type)return t}return null})(t)?.click()})},onClick(e){if(F||ef)return;e.preventDefault();let t=eO.current;t&&(0,f.f)(t,e)}},X,ej,eM,eo,e=>eS.getValidationProps(ef,e)],stateAttributesMapping:eW}),e$=eH.props.id;return(0,l.f)(()=>{if(eB&&!V&&void 0!==em&&void 0!==e$)return eB(em,e$)},[eB,V,em,e$]),(0,t.jsxs)(M.Provider,{value:eU,children:[eH,!eL&&!ec&&eh&&!V&&void 0!==H&&(0,t.jsx)("input",{type:"hidden",form:B,name:eh,value:H,disabled:ef}),(0,t.jsx)("input",{...eF,suppressHydrationWarning:!0})]})});var T=e.i(692933),R=e.i(288646),B=e.i(240070);let O=a.forwardRef(function(e,t){let{render:r,className:i,style:n,keepMounted:l=!1,...s}=e,o=function(){let e=a.useContext(M);if(void 0===e)throw Error((0,E.f)(14));return e}(),c=o.checked||o.indeterminate,{mounted:d,transitionStatus:f,setMounted:m}=(0,R.f)(c),p=a.useRef(null),g={...o,transitionStatus:f};(0,T.f)({batch:!0,enabled:!c,open:c,ref:p,onComplete(){c||m(!1)}});let v={...u(o),...B.f},x=(0,h.a)("span",e,{ref:[t,p],state:g,stateAttributesMapping:v,props:s});return l||d?x:null});e.s(["Indicator",0,O,"Root",0,z],756224);var P=e.i(756224),P=P,I=P,_=e.i(872635),D=e.i(58991),V=e.i(136562);let F="transition-[stroke-dashoffset] duration-quick ease-smooth-out motion-reduce:transition-none";e.s(["f",0,function(e){let a,i,n,l,s,o,c,d,u,f,h=(0,r.c)(20);h[0]!==e?({className:i,checked:a,onCheckedChange:n,ref:s,...l}=e,h[0]=e,h[1]=a,h[2]=i,h[3]=n,h[4]=l,h[5]=s):(a=h[1],i=h[2],n=h[3],l=h[4],s=h[5]);let m="indeterminate"===a,p=!!m||a;return h[6]!==i?(o=(0,V.f)("group/checkbox grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-foreground/30 bg-muted text-primary-foreground cursor-pointer ring-offset-background hover:border-foreground/50 focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[checked]:border-primary data-[checked]:bg-primary data-[indeterminate]:border-primary data-[indeterminate]:bg-primary","transition-[background-color,border-color] duration-quick ease-smooth-out",i),h[6]=i,h[7]=o):o=h[7],h[8]!==m||h[9]!==n?(c=n?e=>{m?n(!0):n(e)}:void 0,h[8]=m,h[9]=n,h[10]=c):c=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(_.f,{className:(0,V.f)("col-start-1 row-start-1 h-4 w-4 group-data-[indeterminate]/checkbox:hidden",F,"[stroke-dasharray:23] [stroke-dashoffset:-23] group-data-[checked]/checkbox:duration-medium group-data-[checked]/checkbox:[stroke-dashoffset:0] group-data-[checked]/checkbox:starting:[stroke-dashoffset:-23]")}),h[11]=d):d=h[11],h[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)(P.Indicator,{keepMounted:!0,className:"grid place-items-center text-current",children:[d,(0,t.jsx)(D.f,{className:(0,V.f)("col-start-1 row-start-1 h-4 w-4 group-data-[checked]/checkbox:hidden",F,"[stroke-dasharray:14] [stroke-dashoffset:14] group-data-[indeterminate]/checkbox:duration-medium group-data-[indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[indeterminate]/checkbox:starting:[stroke-dashoffset:14]")})]}),h[12]=u):u=h[12],h[13]!==p||h[14]!==m||h[15]!==l||h[16]!==s||h[17]!==o||h[18]!==c?(f=(0,t.jsx)(I.Root,{ref:s,className:o,checked:p,indeterminate:m,onCheckedChange:c,...l,children:u}),h[13]=p,h[14]=m,h[15]=l,h[16]=s,h[17]=o,h[18]=c,h[19]=f):f=h[19],f}],918331)},487624,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(207298),i=e.i(16043),n=e.i(136562);let l={kind:"collapsed"},s={kind:"expanded"},o={kind:"collapsing"};function c(e,t){switch(t.type){case"toggled":var r,a;return r=e,a=t.prefersReducedMotion,"expanded"!==r.kind?s:a?l:o;case"collapse_transition_ended":return"collapsing"===e.kind?l:e;default:return t}}function d(e){return c(e,{type:"collapse_transition_ended"})}function u(e){return e.startsWith("line-clamp-")}let f=(0,a.f)("",{variants:{lines:{2:"line-clamp-2",3:"line-clamp-3",5:"line-clamp-5"}}}),h=(0,i.createContext)(null);function m(e,t){return(0,n.f)(e,"ease-smooth-out motion-reduce:transition-none",t?"duration-slow":"duration-medium")}function p(){let e=(0,i.use)(h);if(!e)throw Error("ClampedText parts must be rendered inside ");return e}e.s(["J",0,function(e){let a,n,s=(0,r.c)(6),{text:o,className:f,children:m}=e,p=function(e){var t;let a,n,s,o,f,h,m,p,g=(0,r.c)(19),v=(0,i.useRef)(null),x=(0,i.useId)(),[b,y]=(0,i.useState)(l);g[0]!==b?(a="expanded"===b.kind,g[0]=b,g[1]=a):a=g[1];let k=a;g[2]!==b?(n="collapsed"===b.kind,g[2]=b,g[3]=n):n=g[3];let w=n,[j,N]=(0,i.useState)(!1),[C,E]=(0,i.useState)(),[M,A]=(0,i.useState)();g[4]!==w?(s=()=>{let e=v.current;if(!e)return;let t=()=>{var t;let r,a;if(!w)return void A(e.scrollHeight);let i=e.clientHeight,n=(r=Array.from((t=e).classList).filter(u),t.classList.remove(...r),a=t.scrollHeight,t.classList.add(...r),a);E(i),A(n),N(n>i)};t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},g[4]=w,g[5]=s):s=g[5],g[6]!==e||g[7]!==w?(o=[e,w],g[6]=e,g[7]=w,g[8]=o):o=g[8],(0,i.useEffect)(s,o),g[9]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;y(t=>c(t,{type:"toggled",prefersReducedMotion:e}))},g[9]=f):f=g[9];let S=f;g[10]===Symbol.for("react.memo_cache_sentinel")?(h=e=>{e.target===e.currentTarget&&"max-height"===e.propertyName&&y(d)},g[10]=h):h=g[10];let L=h,z=k?M:C;return g[11]!==z?(m=void 0===(t=z)?void 0:`${t}px`,g[11]=z,g[12]=m):m=g[12],g[13]!==x||g[14]!==w||g[15]!==k||g[16]!==j||g[17]!==m?(p={ref:v,contentId:x,isExpanded:k,isOverflowing:j,isClamped:w,disclosureHeight:m,toggle:S,handleTransitionEnd:L},g[13]=x,g[14]=w,g[15]=k,g[16]=j,g[17]=m,g[18]=p):p=g[18],p}(o);return s[0]!==m||s[1]!==f?(a=(0,t.jsx)("div",{"data-slot":"clamped-text",className:f,children:m}),s[0]=m,s[1]=f,s[2]=a):a=s[2],s[3]!==p||s[4]!==a?(n=(0,t.jsx)(h,{value:p,children:a}),s[3]=p,s[4]=a,s[5]=n):n=s[5],n},"i",0,function(e){let a,i,l,s,o,c,d,u,h,g,v,x=(0,r.c)(30);x[0]!==e?({lines:l,className:i,children:a,...s}=e,x[0]=e,x[1]=a,x[2]=i,x[3]=l,x[4]=s):(a=x[1],i=x[2],l=x[3],s=x[4]);let{ref:b,contentId:y,isExpanded:k,isClamped:w,isOverflowing:j,disclosureHeight:N,handleTransitionEnd:C}=p();return x[5]!==k?(o=(0,n.f)("relative overflow-hidden max-h-(--disclosure-height)",m("transition-[max-height]",k)),x[5]=k,x[6]=o):o=x[6],x[7]!==N?(c={"--disclosure-height":N},x[7]=N,x[8]=c):c=x[8],x[9]!==w||x[10]!==l?(d=w&&f({lines:l}),x[9]=w,x[10]=l,x[11]=d):d=x[11],x[12]!==i||x[13]!==d?(u=(0,n.f)(i,d),x[12]=i,x[13]=d,x[14]=u):u=x[14],x[15]!==a||x[16]!==s||x[17]!==b||x[18]!==u?(h=(0,t.jsx)("div",{ref:b,className:u,...s,children:a}),x[15]=a,x[16]=s,x[17]=b,x[18]=u,x[19]=h):h=x[19],x[20]!==k||x[21]!==j?(g=j&&(0,t.jsx)("div",{"aria-hidden":!0,"data-slot":"clamped-text-fade",className:(0,n.f)("pointer-events-none absolute inset-x-0 bottom-0 h-4","bg-gradient-to-t from-background to-transparent",k?"opacity-0":"opacity-100",m("transition-opacity",k))}),x[20]=k,x[21]=j,x[22]=g):g=x[22],x[23]!==y||x[24]!==C||x[25]!==o||x[26]!==c||x[27]!==h||x[28]!==g?(v=(0,t.jsxs)("div",{id:y,"data-slot":"clamped-text-content",className:o,style:c,"data-allow-inline-style":!0,onTransitionEnd:C,children:[h,g]}),x[23]=y,x[24]=C,x[25]=o,x[26]=c,x[27]=h,x[28]=g,x[29]=v):v=x[29],v},"s",0,function(e){let a,i,n,l,s=(0,r.c)(12);s[0]!==e?({children:a,...i}=e,s[0]=e,s[1]=a,s[2]=i):(a=s[1],i=s[2]);let{contentId:o,isExpanded:c,isOverflowing:d,toggle:u}=p();return d?(s[3]!==a||s[4]!==c?(n=a(c),s[3]=a,s[4]=c,s[5]=n):n=s[5],s[6]!==o||s[7]!==c||s[8]!==i||s[9]!==n||s[10]!==u?(l=(0,t.jsx)("button",{...i,type:"button","data-slot":"clamped-text-toggle","aria-expanded":c,"aria-controls":o,onClick:u,children:n}),s[6]=o,s[7]=c,s[8]=i,s[9]=n,s[10]=u,s[11]=l):l=s[11],l):null}],487624)},246705,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(207298),i=e.i(288265),n=e.i(872635),l=e.i(354896),s=e.i(10460),o=e.i(961160),c=e.i(16043),d=e.i(136562),u=e.i(192668),f=e.i(199630),h=e.i(913743),m=e.i(139697),p=e.i(988590),g=e.i(828342);let v={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"shell",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},x={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"bash",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},b="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 k(e){let t=e.toLowerCase();return(0,p.q)(t,v)?t:void 0}var w=e.i(609623);let j={Block:"block",Line:"line"};function N(e){return"string"==typeof e.value}let C=(0,a.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 a,p;let v,E,M,A,S,L,z,T,R,B,O,P,I,_,D,V,F,U,W,H=(0,r.c)(69),$=(0,i.f)();H[0]!==$?(v=e=>{let t;return e===b?$("Code"):(void 0===(t=k(e))?void 0:y.get(t))??e},H[0]=$,H[1]=v):v=H[1];let Z=v,{resolvedTheme:q}=(0,o.i)(),X=!(0,f.f)(),{isCopied:Y,copyToClipboard:K}=(0,u.f)(1200),[J,G]=(0,c.useState)(0),Q=!0===e.collapsible,[ee,et]=(0,c.useState)(Q&&!0===e.defaultCollapsed),er=(0,c.useId)(),ea=(U=(0,r.c)(2),W=(0,c.useRef)(null),U[0]===Symbol.for("react.memo_cache_sentinel")?(V=()=>{let e=W.current;if(!e)return;let t=function(){var t;let r,a;if(!e)return;let i=(r=(t=e).scrollLeft>2,a=t.scrollLeft+t.clientWidth{e.removeEventListener("scroll",t),r.disconnect()}},F=[],U[0]=V,U[1]=F):(V=U[0],F=U[1]),(0,c.useEffect)(V,F),W),{value:ei}=e,en=N(e)?e.title:void 0,el=N(e)?e.language:void 0,es=N(e)?e.rawLanguage:void 0;H[2]!==el||H[3]!==es||H[4]!==en||H[5]!==ei?(a={title:en,language:el,rawLanguage:es},E="string"==typeof ei?[{code:ei,title:a.title??a.language??a.rawLanguage??b,language:a.language,rawLanguage:a.rawLanguage}]:Array.isArray(ei)?ei:Object.entries(ei).map(([e,t])=>({rawLanguage:e,title:e,code:t??"",language:k(e)})),H[2]=el,H[3]=es,H[4]=en,H[5]=ei,H[6]=E):E=H[6];let eo=E,ec="light"===q?e.lightTheme??"github-light":e.darkTheme??"github-dark",ed=void 0!==eo[J]?J:0,eu=eo[ed]??eo[0];H[7]!==eu.code||H[8]!==e.dedent?(p=eu.code,M=e.dedent?(0,g.f)(p):p,H[7]=eu.code,H[8]=e.dedent,H[9]=M):M=H[9];let ef=M;H[10]!==eu?(A=function(e){if(e.language)return x[e.language];if(!e.rawLanguage)return"text";let t=k(e.rawLanguage);return t?x[t]:e.rawLanguage}(eu),H[10]=eu,H[11]=A):A=H[11];let eh=A;H[12]!==ef||H[13]!==K||H[14]!==e?(S=()=>{K(ef,{shouldWaitForReset:!1}).then(t=>{t&&e.onCopy?.()})},H[12]=ef,H[13]=K,H[14]=e,H[15]=S):S=H[15];let em=S;H[16]!==em||H[17]!==Y||H[18]!==$||H[19]!==e.hideCopy?(L=e.hideCopy?null:(0,t.jsx)(m.Button,{type:"button",variant:"ghost",size:"icon-sm",touchTarget:"below-sm","aria-label":Y?$("Copied code"):$("Copy code"),onClick:em,className:"shrink-0",children:(0,t.jsx)(w.f,{active:Y,from:(0,t.jsx)(s.f,{className:"size-4"}),to:(0,t.jsx)(n.f,{className:"size-4"})})}),H[16]=em,H[17]=Y,H[18]=$,H[19]=e.hideCopy,H[20]=L):L=H[20];let ep=L;if(e.variant===j.Line){let r,a,i;return H[21]!==e.className?(r=(0,d.f)("flex items-center gap-2 rounded-lg border border-border bg-doc-surface pr-1 pl-4",e.className),H[21]=e.className,H[22]=r):r=H[22],H[23]!==ef||H[24]!==ea?(a=(0,t.jsx)("code",{ref:ea,"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:ef}),H[23]=ef,H[24]=ea,H[25]=a):a=H[25],H[26]!==ep||H[27]!==r||H[28]!==a?(i=(0,t.jsxs)("div",{className:r,children:[a,ep]}),H[26]=ep,H[27]=r,H[28]=a,H[29]=i):i=H[29],i}let eg=eo.length>1;H[30]!==e.bodyClassName||H[31]!==e.maxHeight?(z=(0,d.f)(C({maxHeight:e.maxHeight}),e.bodyClassName),H[30]=e.bodyClassName,H[31]=e.maxHeight,H[32]=z):z=H[32];let ev=z;H[33]!==ef||H[34]!==eh||H[35]!==ev||H[36]!==er||H[37]!==ec||H[38]!==X?(T=X?(0,t.jsx)("pre",{"data-testid":"code-block",id:er,className:ev,children:(0,t.jsx)("code",{className:"inline-block min-w-full whitespace-pre bg-transparent p-4 md:whitespace-pre-wrap",children:ef})}):(0,t.jsx)("div",{"data-testid":"code-block",id:er,className:ev,children:(0,t.jsx)(h.f,{code:ef,lang:eh,theme:ec,roundedCorners:!1,border:!1,codeBackgroundClassName:"bg-transparent"})}),H[33]=ef,H[34]=eh,H[35]=ev,H[36]=er,H[37]=ec,H[38]=X,H[39]=T):T=H[39];let ex=T;H[40]!==e.className?(R=(0,d.f)("overflow-hidden rounded-lg border border-border bg-card",e.className),H[40]=e.className,H[41]=R):R=H[41];let eb=!ee&&"border-b border-border";H[42]!==e.tabClassName||H[43]!==eb?(B=(0,d.f)("flex h-9 items-center justify-between gap-2 px-3",eb,e.tabClassName),H[42]=e.tabClassName,H[43]=eb,H[44]=B):B=H[44],H[45]!==eu.title||H[46]!==er||H[47]!==$||H[48]!==ee||H[49]!==Q?(O=Q?(0,t.jsx)(m.Button,{type:"button",variant:"ghost",size:"icon-sm","aria-controls":er,"aria-expanded":!ee,"aria-label":ee?$("Show {title}",{title:eu.title}):$("Hide {title}",{title:eu.title}),onClick:()=>et(!ee),className:"shrink-0",children:(0,t.jsx)(l.f,{className:(0,d.f)("size-4 transition-transform",ee&&"-rotate-90")})}):null,H[45]=eu.title,H[46]=er,H[47]=$,H[48]=ee,H[49]=Q,H[50]=O):O=H[50],H[51]!==eu.title||H[52]!==eg||H[53]!==e||H[54]!==ed||H[55]!==eo||H[56]!==Z?(P=eg?(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 overflow-x-auto",children:eo.map((r,a)=>(0,t.jsx)(m.Button,{type:"button",variant:"ghost",size:"xs","aria-pressed":ed===a,onClick:()=>{G(a),e.onTabChange?.(a)},tone:ed===a?void 0:"subdued",className:ed===a?"bg-accent text-accent-foreground":void 0,children:Z(r.title)},r.title))}):(0,t.jsx)("span",{className:"truncate text-caption text-muted-foreground",children:Z(eu.title)}),H[51]=eu.title,H[52]=eg,H[53]=e,H[54]=ed,H[55]=eo,H[56]=Z,H[57]=P):P=H[57],H[58]!==O||H[59]!==P?(I=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1",children:[O,P]}),H[58]=O,H[59]=P,H[60]=I):I=H[60],H[61]!==ep||H[62]!==B||H[63]!==I?(_=(0,t.jsxs)("div",{className:B,children:[I,ep]}),H[61]=ep,H[62]=B,H[63]=I,H[64]=_):_=H[64];let ey=ee?null:ex;return H[65]!==_||H[66]!==ey||H[67]!==R?(D=(0,t.jsxs)("div",{className:R,children:[_,ey]}),H[65]=_,H[66]=ey,H[67]=R,H[68]=D):D=H[68],D},"CodeBlockVariant",0,j],246705)},912147,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(788843),i=e.i(136562),n=e.i(490112);e.s(["f",0,function(e){let l,s,o,c,d,u,f,h,m,p,g,v,x,b=(0,r.c)(28);b[0]!==e?({children:l,className:s,size:d,weight:h,icon:o,iconPosition:u,showExternalIcon:f,...c}=e,b[0]=e,b[1]=l,b[2]=s,b[3]=o,b[4]=c,b[5]=d,b[6]=u,b[7]=f,b[8]=h):(l=b[1],s=b[2],o=b[3],c=b[4],d=b[5],u=b[6],f=b[7],h=b[8]);let y=void 0===u?"end":u,k=void 0!==f&&f;b[9]!==o||b[10]!==k?(m=o??(k?(0,t.jsx)(a.f,{className:"inline size-3 align-[-1px]"}):null),b[9]=o,b[10]=k,b[11]=m):m=b[11];let w=m;return b[12]!==s||b[13]!==d||b[14]!==h?(p=(0,i.f)((0,n.X)({size:d,weight:h}),s),b[12]=s,b[13]=d,b[14]=h,b[15]=p):p=b[15],b[16]!==y||b[17]!==w?(g="start"===y&&w&&(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:w}),b[16]=y,b[17]=w,b[18]=g):g=b[18],b[19]!==y||b[20]!==w?(v="end"===y&&w&&(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:w}),b[19]=y,b[20]=w,b[21]=v):v=b[21],b[22]!==l||b[23]!==c||b[24]!==p||b[25]!==g||b[26]!==v?(x=(0,t.jsxs)("a",{className:p,...c,children:[g,l,v]}),b[22]=l,b[23]=c,b[24]=p,b[25]=g,b[26]=v,b[27]=x):x=b[27],x}])},3699,e=>{"use strict";function t(e,t){let r=e.cache.get(t);if(void 0!==r)return r;let a=function(e){if("u"e};e.s(["X",0,function(e){return t(r,e)},"A",0,function(e){return t(a,e)}])},778915,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043),i=e.i(761821),n=e.i(895966);let l=(0,a.createContext)(null);e.s(["C",0,function(e){let a,i=(0,r.c)(3),{lookup:n,children:s}=e;return i[0]!==s||i[1]!==n?(a=(0,t.jsx)(l.Provider,{value:n,children:s}),i[0]=s,i[1]=n,i[2]=a):a=i[2],a},"M",0,function(e){let a,i=(0,r.c)(3),{slugs:s,children:o}=e,c=(0,n.f)(s);return i[0]!==o||i[1]!==c?(a=(0,t.jsx)(l.Provider,{value:c,children:o}),i[0]=o,i[1]=c,i[2]=a):a=i[2],a},"D",0,function(){let e=(0,a.useContext)(l),t=(0,i.S)();return e??t},"N",0,function(){return(0,a.useContext)(l)}])},866969,e=>{"use strict";var t=e.i(663456),r=e.i(16043),a=e.i(143253);e.s(["f",0,function(e,i){let n,l,s,o,c=(0,t.c)(6),d=(0,r.useRef)(e);c[0]!==e?(n=()=>{d.current=e},l=[e],c[0]=e,c[1]=n,c[2]=l):(n=c[1],l=c[2]),(0,a.f)(n,l),c[3]!==i?(s=()=>{if(null===i)return;let e=setInterval(()=>{d.current()},i);return()=>{clearInterval(e)}},o=[i],c[3]=i,c[4]=s,c[5]=o):(s=c[4],o=c[5]),(0,r.useEffect)(s,o)}])},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]*$/,a=/^$/,i="data:",n=";base64,";function l(e){let t=r.test(e);return a.test(""),t}e.s(["k",0,function(e){let r=e.indexOf(";");if(e.startsWith(i)&&r>i.length&&e.startsWith(n,r)){let a=e.slice(i.length,r),s=e.slice(r+n.length);if(a&&s&&!a.includes(":")&&l(s))return(0,t.N)({mimeType:a,base64:s})}return function(e){let[r,a]=e.split(";");if(!r||!a)return(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: missing data prefix or base64 payload"});let i=r.split(":")[1],n=a.split(",")[1];return i&&n?l(n)?(0,t.N)({mimeType:i,base64:n}):(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),a=e.i(167182);let i="function"==typeof a.Buffer,n="function"==typeof TextDecoder?new TextDecoder:void 0,l="function"==typeof TextEncoder?new TextEncoder:void 0,s=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),o=(t={},s.forEach((e,r)=>t[e]=r),t),c=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,d=String.fromCharCode.bind(String),u="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),f=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),h="function"==typeof btoa?e=>btoa(e):i?e=>a.Buffer.from(e,"binary").toString("base64"):e=>{let t,r,a,i,n="",l=e.length%3;for(let l=0;l255||(a=e.charCodeAt(l++))>255||(i=e.charCodeAt(l++))>255)throw TypeError("invalid character found");n+=s[(t=r<<16|a<<8|i)>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}return l?n.slice(0,l-3)+"===".substring(l):n},m=i?e=>a.Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,a=e.length;rt?f(m(e)):m(e),g=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?d(192|t>>>6)+d(128|63&t):d(224|t>>>12&15)+d(128|t>>>6&63)+d(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return d(240|t>>>18&7)+d(128|t>>>12&63)+d(128|t>>>6&63)+d(128|63&t)},v=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,x=i?e=>a.Buffer.from(e,"utf8").toString("base64"):l?e=>m(l.encode(e)):e=>h(e.replace(v,g)),b=(e,t=!1)=>t?f(x(e)):x(e),y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,k=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 d((t>>>10)+55296)+d((1023&t)+56320);case 3:return d((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return d((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w="function"==typeof atob?e=>atob(e.replace(/[^A-Za-z0-9\+\/]/g,"")):i?e=>a.Buffer.from(e,"base64").toString("binary"):e=>{let t,r,a;if(e=e.replace(/\s+/g,""),!c.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let i=[];for(let n=0;n>16&255)):64===a?i.push(d(t>>16&255,t>>8&255)):i.push(d(t>>16&255,t>>8&255,255&t));return i.join("")},j=i?e=>u(a.Buffer.from(e,"base64")):e=>u(w(e).split("").map(e=>e.charCodeAt(0))),N=e=>j(E(e)),C=i?e=>a.Buffer.from(e,"base64").toString("utf8"):n?e=>n.decode(j(e)):e=>w(e).replace(y,k),E=e=>e.replace(/[-_]/g,e=>"-"==e?"+":"/").replace(/[^A-Za-z0-9\+\/]/g,"");function M(e){let t=0,r=0,a=!1,i=!1;for(let n=0;n=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;a=!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 n=0===r||(t+r)%4==0;return t>0&&!(a&&i)&&t%4!=1&&n}let A=/^data:[^,]{0,255};base64,/i;e.s(["T",0,function(e){try{if(!M(e))return;let t=e.replaceAll(/\s/g,""),a=(0,r.$)(()=>new Uint8Array(N(t)));return(0,r.C)(a)?a.data:void 0}finally{/(?:)/.test("")}},"L",0,function(e){return p(e)},"Y",0,function(e){return b(e)},"D",0,function(e){return"data:"===e.slice(0,5).toLowerCase()},"o",0,function(e){try{return M(e.replace(A,""))}finally{/(?:)/.test("")}}],820223)},401248,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(626305),i=e.i(136562),n=e.i(758427);e.i(707060);var l=e.i(288265);function s(e){return e.stopPropagation()}e.s(["f",0,function(e){let o,c,d,u,f,h,m=(0,r.c)(18),{text:p,truncate:g,wrap:v,buttonClassName:x,className:b,ariaLabel:y}=e,k=(0,l.f)(),w="break-words"===(void 0===v?"break-all":v)?"break-words":"break-all";m[0]!==y||m[1]!==k?(o=y??k("Copy to clipboard"),m[0]=y,m[1]=k,m[2]=o):o=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(a.f,{className:"!size-3 shrink-0 md:invisible md:group-hover/copy:visible"}),m[3]=c):c=m[3],m[4]!==x?(d=(0,i.f)("group/copy h-auto min-w-0 max-w-full whitespace-normal p-0 font-mono text-sm hover:bg-transparent",x),m[4]=x,m[5]=d):d=m[5];let j=g&&"sm:max-w-64 sm:truncate";return m[6]!==b||m[7]!==j||m[8]!==w?(u=(0,i.f)("min-w-0",w,j,b),m[6]=b,m[7]=j,m[8]=w,m[9]=u):u=m[9],m[10]!==u||m[11]!==p?(f=(0,t.jsx)("span",{className:u,children:p}),m[10]=u,m[11]=p,m[12]=f):f=m[12],m[13]!==o||m[14]!==d||m[15]!==f||m[16]!==p?(h=(0,t.jsx)(n.f,{text:p,hideCopyText:!0,iconPosition:"end",variant:"ghost",onClick:s,"aria-label":o,icon:c,align:"start",weight:"regular",tone:"strong",className:d,children:f}),m[13]=o,m[14]=d,m[15]=f,m[16]=p,m[17]=h):h=m[17],h}])},153206,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(73867),i=e.i(246601),n=e.i(612223),l=e.i(136562),s=e.i(139697),o=e.i(867025),c=e.i(217411),d=e.i(535072);e.i(707060);var u=e.i(288265),f=e.i(19773),h=e.i(16043),m=e.i(767553);function p(e){let t,a,i,n=(0,r.c)(6),{paramKey:l,value:s,isOpen:o}=e;n[0]===Symbol.for("react.memo_cache_sentinel")?(t=f.d.withOptions({history:"replace",scroll:!1}),n[0]=t):t=n[0];let[,c]=(0,f.o)(l,t);return n[1]!==o||n[2]!==c||n[3]!==s?(a=()=>(c(o?s:null),()=>{c(null)}),i=[o,s,c],n[1]=o,n[2]=c,n[3]=s,n[4]=a,n[5]=i):(a=n[4],i=n[5]),(0,h.useEffect)(a,i),null}e.s(["f",0,function(e){let f,g,v,x,b,y,k,w,j,N,C,E,M,A,S,L,z,T,R,B,O,P,I,_,D,V,F=(0,r.c)(92),{isOpen:U,setIsOpen:W,title:H,subtitle:$,badge:Z,leading:q,headerActions:X,headerActionsClassName:Y,hideHeaderDivider:K,headerFooter:J,headerBottom:G,contentKey:Q,children:ee,footer:et,onPrev:er,onNext:ea,hasPrev:ei,hasNext:en,prevAriaLabel:el,nextAriaLabel:es,disableKeyboardNav:eo,overlay:ec,viewportClassName:ed,closeButtonClassName:eu,mobileSide:ef,dismissOnOutsideClick:eh,outsideClickIgnoreRef:em,nested:ep,backLabel:eg,animateEntrance:ev,deepLink:ex}=e,eb=void 0!==ei&&ei,ey=void 0!==en&&en,ek=void 0!==eo&&eo,ew=void 0!==ep&&ep,ej=void 0!==er||void 0!==ea,eN=void 0!==et||ej,eC=(0,d.o)("(max-width: 639px)"),eE=(0,h.useRef)(null),eM="bottom"===(void 0===ef?"right":ef)&&eC,eA=eM?"bottom":"right",eS=(0,u.f)(),eL=(0,h.useContext)(m.f),[ez,eT]=(0,h.useState)(!(void 0===ev||ev));F[0]===Symbol.for("react.memo_cache_sentinel")?(g=()=>eT(!0),f=[],F[0]=f,F[1]=g):(f=F[0],g=F[1]),(0,h.useEffect)(g,f),F[2]!==ek||F[3]!==ey||F[4]!==eb||F[5]!==U||F[6]!==ea||F[7]!==er?(v=()=>{if(!U||ek)return;let e=e=>{let{target:t}=e;t instanceof HTMLElement&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)||(("j"===e.key||"ArrowDown"===e.key||"ArrowRight"===e.key)&&ey&&ea&&(e.preventDefault(),ea()),("k"===e.key||"ArrowUp"===e.key||"ArrowLeft"===e.key)&&eb&&er&&(e.preventDefault(),er()))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},x=[U,ek,eb,ey,er,ea],F[2]=ek,F[3]=ey,F[4]=eb,F[5]=U,F[6]=ea,F[7]=er,F[8]=v,F[9]=x):(v=F[8],x=F[9]),(0,h.useEffect)(v,x);let eR=U&&(void 0===eh||eh);F[10]!==W?(b=()=>W(!1),F[10]=W,F[11]=b):b=F[11],F[12]!==em||F[13]!==eR||F[14]!==b?(y={contentRef:eE,ignoreRef:em,isEnabled:eR,onDismiss:b},F[12]=em,F[13]=eR,F[14]=b,F[15]=y):y=F[15],function(e){let t,a,i,n,l=(0,r.c)(11),{contentRef:s,ignoreRef:o,isEnabled:c,onDismiss:d}=e;l[0]!==s||l[1]!==o?(t=e=>!(!(e instanceof Node)||s.current?.contains(e)||e instanceof Element&&e.closest('[role="tooltip"], [role="dialog"], [role="alertdialog"], [role="listbox"], [role="menu"], [data-slot="alert-dialog-overlay"], [data-slot="dialog-overlay"], [data-slot="dialog-viewport"]'))&&!(Array.isArray(o)?o:[o]).some(t=>t?.current?.contains(e)),l[0]=s,l[1]=o,l[2]=t):t=l[2];let u=(0,h.useEffectEvent)(t);l[3]!==d?(a=()=>d(),l[3]=d,l[4]=a):a=l[4];let f=(0,h.useEffectEvent)(a);l[5]!==f||l[6]!==c||l[7]!==u?(i=()=>{if(!c)return;let e=!1,t=t=>{e=u(t.target)},r=t=>{let r=e;e=!1,r&&u(t.target)&&f()};return document.addEventListener("pointerdown",t,{capture:!0}),document.addEventListener("click",r,{capture:!0}),()=>{document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("click",r,{capture:!0})}},l[5]=f,l[6]=c,l[7]=u,l[8]=i):i=l[8],l[9]!==c?(n=[c],l[9]=c,l[10]=n):n=l[10],(0,h.useEffect)(i,n)}(y),F[16]!==ex||F[17]!==U?(k=ex?(0,t.jsx)(p,{paramKey:ex.key,value:ex.value,isOpen:U}):null,F[16]=ex,F[17]=U,F[18]=k):k=F[18];let eB=U&&ez,eO=eL??void 0,eP=ew?"sm:w-188 sm:max-w-[calc(100vw-4rem)]":"sm:w-192 sm:max-w-[calc(100vw-3rem)]",eI=eM?"top-[calc(var(--navbar-height)+var(--navbar-top,0px))] h-[calc(100dvh-var(--navbar-height)-var(--navbar-top,0px))] max-h-none":"top-[calc(var(--navbar-height)+var(--navbar-top,0px))] h-[calc(100dvh-var(--navbar-height)-var(--navbar-top,0px))]";F[19]!==eP||F[20]!==eI||F[21]!==ed?(w=(0,l.f)("flex w-full flex-col overflow-hidden overscroll-contain p-0","focus:outline-hidden",eP,eI,"border-t",ed),F[19]=eP,F[20]=eI,F[21]=ed,F[22]=w):w=F[22];let e_=!(void 0!==K&&K)&&"border-b";return F[23]!==e_?(j=(0,l.f)("shrink-0",e_),F[23]=e_,F[24]=j):j=F[24],F[25]!==eg||F[26]!==eS||F[27]!==ew?(N=ew&&(0,t.jsx)(c.O,{render:(0,t.jsx)(s.Button,{variant:"ghost",size:"icon-sm","aria-label":eg??eS("Back"),className:"-ml-1 shrink-0",children:(0,t.jsx)(a.f,{className:"size-4"})})}),F[25]=eg,F[26]=eS,F[27]=ew,F[28]=N):N=F[28],F[29]!==H?(C=(0,t.jsx)(c.L,{className:"min-w-0 truncate","data-detail-sheet-title":"",children:H}),F[29]=H,F[30]=C):C=F[30],F[31]!==Z||F[32]!==C?(E=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[C,Z]}),F[31]=Z,F[32]=C,F[33]=E):E=F[33],F[34]!==$?(M=$&&(0,t.jsx)("div",{className:"min-w-0 text-sm text-muted-foreground","data-detail-sheet-subtitle":"",children:$}),F[34]=$,F[35]=M):M=F[35],F[36]!==E||F[37]!==M?(A=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 text-left",children:[E,M]}),F[36]=E,F[37]=M,F[38]=A):A=F[38],F[39]!==Y?(S=(0,l.f)("flex shrink-0 items-center gap-2",Y),F[39]=Y,F[40]=S):S=F[40],F[41]!==eu||F[42]!==eS||F[43]!==ew?(L=!ew&&(0,t.jsx)(c.O,{render:(0,t.jsx)(s.Button,{variant:"ghost",size:"xs","aria-label":eS("Close"),className:eu,"data-detail-sheet-close":"",children:(0,t.jsx)(n.f,{className:"size-4"})})}),F[41]=eu,F[42]=eS,F[43]=ew,F[44]=L):L=F[44],F[45]!==X||F[46]!==S||F[47]!==L?(z=(0,t.jsxs)("div",{className:S,children:[X,L]}),F[45]=X,F[46]=S,F[47]=L,F[48]=z):z=F[48],F[49]!==q||F[50]!==N||F[51]!==A||F[52]!==z?(T=(0,t.jsxs)("div",{className:"relative flex min-h-16.25 flex-row items-center justify-between gap-3 px-6 py-3","data-detail-sheet-head":"",children:[N,q,A,z]}),F[49]=q,F[50]=N,F[51]=A,F[52]=z,F[53]=T):T=F[53],F[54]!==J?(R=J&&(0,t.jsx)("div",{className:"px-6 pb-3",children:J}),F[54]=J,F[55]=R):R=F[55],F[56]!==j||F[57]!==T||F[58]!==R?(B=(0,t.jsxs)("div",{className:j,children:[T,R]}),F[56]=j,F[57]=T,F[58]=R,F[59]=B):B=F[59],F[60]!==G?(O=G&&(0,t.jsx)("div",{className:"shrink-0 px-5",children:G}),F[60]=G,F[61]=O):O=F[61],F[62]!==ee||F[63]!==Q?(P=(0,t.jsx)("div",{className:"flex-1 overflow-x-hidden overflow-y-auto overscroll-contain px-5 py-4","data-detail-sheet-body":"",children:ee},Q),F[62]=ee,F[63]=Q,F[64]=P):P=F[64],F[65]!==et||F[66]!==eS||F[67]!==ey||F[68]!==eb||F[69]!==es||F[70]!==ea||F[71]!==er||F[72]!==el||F[73]!==eN||F[74]!==ej?(I=eN&&(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t px-5 py-3","data-detail-sheet-foot":"",children:[et?(0,t.jsx)("div",{className:"min-w-0 flex-1",children:et}):(0,t.jsx)("span",{}),ej&&(0,t.jsxs)(o.f,{children:[(0,t.jsx)(s.Button,{variant:"outline",size:"sm",onClick:er,disabled:!eb,"aria-label":el??eS("Previous"),children:(0,t.jsx)(a.f,{className:"size-3"})}),(0,t.jsx)(s.Button,{variant:"outline",size:"sm",onClick:ea,disabled:!ey,"aria-label":es??eS("Next"),children:(0,t.jsx)(i.f,{className:"size-3"})})]})]}),F[65]=et,F[66]=eS,F[67]=ey,F[68]=eb,F[69]=es,F[70]=ea,F[71]=er,F[72]=el,F[73]=eN,F[74]=ej,F[75]=I):I=F[75],F[76]!==eA||F[77]!==ec||F[78]!==eO||F[79]!==w||F[80]!==B||F[81]!==O||F[82]!==P||F[83]!==I?(_=(0,t.jsxs)(c.U,{ref:eE,container:eO,"data-detail-sheet":"",side:eA,showCloseButton:!1,nonModal:!0,"aria-describedby":void 0,className:w,children:[ec,B,O,P,I]}),F[76]=eA,F[77]=ec,F[78]=eO,F[79]=w,F[80]=B,F[81]=O,F[82]=P,F[83]=I,F[84]=_):_=F[84],F[85]!==W||F[86]!==eB||F[87]!==_?(D=(0,t.jsx)(c.j,{open:eB,onOpenChange:W,modal:!1,disablePointerDismissal:!0,children:_}),F[85]=W,F[86]=eB,F[87]=_,F[88]=D):D=F[88],F[89]!==k||F[90]!==D?(V=(0,t.jsxs)(t.Fragment,{children:[k,D]}),F[89]=k,F[90]=D,F[91]=V):V=F[91],V}],153206)},767553,e=>{"use strict";let t=(0,e.i(16043).createContext)(null);e.s(["f",0,t])},727086,e=>{"use strict";var t=e.i(232458),r=e.i(214530),a=e.i(19773),i=e.i(16043);e.s(["f",0,function({paramName:e,history:n="replace",shallow:l=!0,pinUrlHash:s=!1,clearOnUnmount:o=!0}){let[c,d]=(0,a.o)(e,a.d.withOptions({history:n,scroll:!1,shallow:l})),u=""===c?null:c,f=(0,i.useRef)(u);f.current=u,(0,i.useEffect)(()=>{let e=f.current;if(null!==e&&d(e),o)return()=>{d(null)}},[d,o]);let h=null!==u,m=(0,i.useRef)(!1);(0,i.useEffect)(()=>{s&&(h&&!m.current?((0,t.I)(),m.current=!0):!h&&m.current&&((0,t.e)(),m.current=!1,setTimeout(()=>{(0,t.E)(),(0,r.z)()},0)))},[h,s]),(0,i.useEffect)(()=>{if(s)return()=>{m.current&&((0,t.e)(),m.current=!1)}},[s]);let p=(0,i.useRef)(null),g=(0,i.useCallback)(()=>{let e=f.current,t=window.event;null!==e&&void 0!==t&&(p.current={id:e,event:t})},[]),v=(0,i.useCallback)(e=>{d(e)},[d]),x=(0,i.useCallback)(()=>{g(),d(null)},[g,d]);return{selectedId:u,isOpen:h,open:v,close:x,toggle:(0,i.useCallback)(e=>{let t=p.current;if(null!==t&&t.event===window.event&&t.id===e)return!1;let r=e===f.current?null:e;return d(r),null!==r},[d]),setIsOpen:(0,i.useCallback)(e=>{e||(g(),d(null))},[g,d])}}])},926148,453281,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043);let i=a.forwardRef(function({title:e,titleId:t,...r},i){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z",clipRule:"evenodd"}))});e.s(["f",0,i],453281);var n=e.i(136562),l=e.i(139697);e.i(406201);var s=e.i(967605);e.s(["f",0,function(e){let a,o,c,d,u,f,h,m,p,g,v=(0,r.c)(26),{icon:x,title:b,subtitle:y,description:k,meta:w,cta:j}=e,N=y?"items-start":"items-center";return v[0]!==N?(a=(0,n.f)("flex gap-3",N),v[0]=N,v[1]=a):a=v[1],v[2]!==x?(o=x&&(0,t.jsx)("div",{className:"shrink-0",children:x}),v[2]=x,v[3]=o):o=v[3],v[4]!==b?(c=(0,t.jsx)("div",{className:"truncate text-base font-semibold text-foreground",children:b}),v[4]=b,v[5]=c):c=v[5],v[6]!==y?(d=y&&(0,t.jsx)("div",{className:"truncate text-xs text-muted-foreground",children:y}),v[6]=y,v[7]=d):d=v[7],v[8]!==c||v[9]!==d?(u=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[c,d]}),v[8]=c,v[9]=d,v[10]=u):u=v[10],v[11]!==a||v[12]!==o||v[13]!==u?(f=(0,t.jsxs)("div",{className:a,children:[o,u]}),v[11]=a,v[12]=o,v[13]=u,v[14]=f):f=v[14],v[15]!==k?(h=k&&(0,t.jsx)("p",{className:(0,n.f)("text-xs leading-relaxed text-muted-foreground","line-clamp-3"),children:k}),v[15]=k,v[16]=h):h=v[16],v[17]!==w?(m=w&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-1.5",children:w}),v[17]=w,v[18]=m):m=v[18],v[19]!==j?(p=j&&(0,t.jsx)(s.Link,{href:j.href,target:j.external?"_blank":void 0,rel:j.external?"noreferrer":void 0,className:"no-underline",children:(0,t.jsxs)(l.Button,{variant:"outline",size:"sm",className:"w-full",children:[j.label,(0,t.jsx)(i,{className:"!size-3.5"})]})}),v[19]=j,v[20]=p):p=v[20],v[21]!==p||v[22]!==f||v[23]!==h||v[24]!==m?(g=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[f,h,m,p]}),v[21]=p,v[22]=f,v[23]=h,v[24]=m,v[25]=g):g=v[25],g}],926148)},856548,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(136562),i=e.i(939025);e.i(406201);var n=e.i(967605),l=e.i(808811);e.s(["f",0,function(e){let s,o,c,d=(0,r.c)(11),{variant:u,className:f,openDelay:h,href:m,ariaLabel:p,children:g}=e;return d[0]!==p||d[1]!==m?(s=void 0!==m?(0,t.jsx)(n.Link,{href:m,"aria-label":p}):(0,t.jsx)("span",{}),d[0]=p,d[1]=m,d[2]=s):s=d[2],d[3]!==f||d[4]!==u?(o=(0,a.f)((0,l.f)(u),f),d[3]=f,d[4]=u,d[5]=o):o=d[5],d[6]!==g||d[7]!==h||d[8]!==s||d[9]!==o?(c=(0,t.jsx)(i.b,{render:s,delay:h,className:o,children:g}),d[6]=g,d[7]=h,d[8]=s,d[9]=o,d[10]=c):c=d[10],c}])},636072,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(782143),i=e.i(134611),n=e.i(136562),l=e.i(939025),s=e.i(894868),o=e.i(778915),c=e.i(199630),d=e.i(895966),u=e.i(138257),f=e.i(761821);e.i(707060);var h=e.i(288265);e.i(16043);var m=e.i(926148),p=e.i(856548);function g(e){return!!e}e.s(["f",0,function(e){let v,x,b,y,k,w,j,N,C,E,M,A,S,L,z,T,R,B,O=(0,r.c)(56),{slug:P,href:I,label:_,className:D,openDelay:V,variant:F,iconClassName:U}=e,W=void 0===F?"pill":F,H=(0,h.f)(),$=(0,u.useLocale)(),Z=(0,c.f)(),q=(0,o.N)(),X=(0,f.X)();O[0]!==P?(v=[P],O[0]=P,O[1]=v):v=O[1];let Y=v,K=null===q&&!X?.isAvailableModelsEnabled;O[2]!==K?(x={enabled:K},O[2]=K,O[3]=x):x=O[3];let J=(0,d.f)(Y,x);O[4]!==X||O[5]!==H||O[6]!==Z||O[7]!==_||O[8]!==$||O[9]!==J||O[10]!==q||O[11]!==P?(k=Z?q?.getModelInfoByVariantPermaslug(P)??q?.getModelInfoByVariantSlug(P)??X?.getModelInfoByVariantPermaslug(P)??X?.getModelInfoByVariantSlug(P)??J.getModelInfoByVariantPermaslug(P)??J.getModelInfoByVariantSlug(P)??null:null,b=k?.author??P.split("/")[0]??"",y=_??k?.short_name??(P.split("/").slice(1).join("/")||P),N=k?(0,i.i)(k):P,w=b,j=k?H("{context} context",{context:(0,a.f)(k.context_length,{locale:$,preset:"rounded-context"})??"—"}):null,O[4]=X,O[5]=H,O[6]=Z,O[7]=_,O[8]=$,O[9]=J,O[10]=q,O[11]=P,O[12]=b,O[13]=y,O[14]=k,O[15]=w,O[16]=j,O[17]=N):(b=O[12],y=O[13],k=O[14],w=O[15],j=O[16],N=O[17]),O[18]!==w||O[19]!==j?(C=[w,j].filter(g),O[18]=w,O[19]=j,O[20]=C):C=O[20];let G=C,Q=k?.permaslug??P,ee=k?.author_icon_uri;O[21]!==U?(E=(0,n.f)("size-3.5 shrink-0",U),O[21]=U,O[22]=E):E=O[22],O[23]!==b||O[24]!==E||O[25]!==Q||O[26]!==ee?(M=(0,t.jsx)(s.f,{author:b,permaslug:Q,iconUri:ee,frame:!0,className:E}),O[23]=b,O[24]=E,O[25]=Q,O[26]=ee,O[27]=M):M=O[27],O[28]!==y?(A=(0,t.jsx)("span",{className:"truncate",children:y}),O[28]=y,O[29]=A):A=O[29],O[30]!==D||O[31]!==y||O[32]!==I||O[33]!==V||O[34]!==M||O[35]!==A||O[36]!==W?(S=(0,t.jsxs)(p.f,{variant:W,className:D,openDelay:V,href:I,ariaLabel:y,children:[M,A]}),O[30]=D,O[31]=y,O[32]=I,O[33]=V,O[34]=M,O[35]=A,O[36]=W,O[37]=S):S=O[37];let et=k?.permaslug??P,er=k?.author_icon_uri;O[38]!==b||O[39]!==et||O[40]!==er?(L=(0,t.jsx)(s.f,{author:b,permaslug:et,iconUri:er,frame:!0,className:"size-8 shrink-0 p-1"}),O[38]=b,O[39]=et,O[40]=er,O[41]=L):L=O[41];let ea=k?.short_name??y,ei=G.join(" • ")||void 0,en=k?.description??void 0,el=`/${N}`;return O[42]!==H?(z=H("View model"),O[42]=H,O[43]=z):z=O[43],O[44]!==el||O[45]!==z?(T={href:el,label:z,external:!0},O[44]=el,O[45]=z,O[46]=T):T=O[46],O[47]!==L||O[48]!==ea||O[49]!==ei||O[50]!==en||O[51]!==T?(R=(0,t.jsx)(l.P,{children:(0,t.jsx)(m.f,{icon:L,title:ea,subtitle:ei,description:en,cta:T})}),O[47]=L,O[48]=ea,O[49]=ei,O[50]=en,O[51]=T,O[52]=R):R=O[52],O[53]!==S||O[54]!==R?(B=(0,t.jsxs)(l.c,{children:[S,R]}),O[53]=S,O[54]=R,O[55]=B):B=O[55],B}])},808811,e=>{"use strict";e.s(["f",0,function(e){return"inline"===e?"inline-flex max-w-full items-center gap-1 text-xs text-foreground underline-offset-2 decoration-dotted decoration-1 hover:underline data-[popup-open]:underline":"inline-flex max-w-full cursor-pointer items-center gap-1 rounded-full border border-border bg-muted px-2 py-0.5 text-xs font-medium text-foreground no-underline hover:bg-slate-3 data-[popup-open]:bg-slate-3"}])},943926,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(667417),i=e.i(773151),n=e.i(917023),l=e.i(706999),s=e.i(257723),o=e.i(472089),c=e.i(529809),d=e.i(99938),u=e.i(288087);let f=(0,e.i(783326).f)("boxes-single-path",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z M7 16.5l-4.74-2.85 M7 16.5l5-3 M7 16.5v5.17 M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z M17 16.5l-5-3 M17 16.5l4.74-2.85 M17 16.5v5.17 M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z M12 8 7.26 5.15 M12 8l4.74-2.85 M12 13.5V8",key:"boxes-single-path"}]]);e.s(["f",0,function(e){let h=(0,r.c)(27),{className:m,modality:p,strokeWidth:g}=e,v=void 0===m?"w-4 h-4":m;switch(p){case a.j.Text:{let e;return h[0]!==v||h[1]!==g?(e=(0,t.jsx)(d.f,{className:v,strokeWidth:g}),h[0]=v,h[1]=g,h[2]=e):e=h[2],e}case a.j.Image:{let e;return h[3]!==v||h[4]!==g?(e=(0,t.jsx)(s.f,{className:v,strokeWidth:g}),h[3]=v,h[4]=g,h[5]=e):e=h[5],e}case a.j.Video:{let e;return h[6]!==v||h[7]!==g?(e=(0,t.jsx)(u.f,{className:v,strokeWidth:g}),h[6]=v,h[7]=g,h[8]=e):e=h[8],e}case a.j.Audio:{let e;return h[9]!==v||h[10]!==g?(e=(0,t.jsx)(n.f,{className:v,strokeWidth:g}),h[9]=v,h[10]=g,h[11]=e):e=h[11],e}case a.j.Embeddings:{let e;return h[12]!==v||h[13]!==g?(e=(0,t.jsx)(f,{className:v,strokeWidth:g}),h[12]=v,h[13]=g,h[14]=e):e=h[14],e}case a.j.Decisions:{let e;return h[15]!==v||h[16]!==g?(e=(0,t.jsx)(l.f,{className:v,strokeWidth:g}),h[15]=v,h[16]=g,h[17]=e):e=h[17],e}case a.j.Rerank:{let e;return h[18]!==v||h[19]!==g?(e=(0,t.jsx)(i.f,{className:v,strokeWidth:g}),h[18]=v,h[19]=g,h[20]=e):e=h[20],e}case a.j.TTS:{let e;return h[21]!==v||h[22]!==g?(e=(0,t.jsx)(c.f,{className:v,strokeWidth:g}),h[21]=v,h[22]=g,h[23]=e):e=h[23],e}case a.j.Transcription:{let e;return h[24]!==v||h[25]!==g?(e=(0,t.jsx)(o.f,{className:v,strokeWidth:g}),h[24]=v,h[25]=g,h[26]=e):e=h[26],e}default:return null}}],943926)},510914,e=>{"use strict";e.s(["f",0,function(t,r){return(a,i)=>(function(t,r,a,i){let n="SharedWorker"===t.name,l=e.b,s=[a.map(t=>e.h("string"==typeof t?t:t.path,l)).reverse(),e.X,l],o=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];for(let e=0;e