1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72520,e=>{"use strict";let r=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>r],72520)},41071,e=>{"use strict";let r=(0,e.i(75254).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["MoreHorizontal",()=>r],41071)},32006,e=>{"use strict";var r=e.i(71645),a=e.i(81140),n=e.i(75830),t=e.i(20783),o=e.i(30030),i=e.i(86318),s=e.i(26330),l=e.i(3536),c=e.i(65491),d=e.i(10772),u=e.i(53660),p=e.i(74606),x=e.i(96626),m=e.i(48425),g=e.i(42727),f=e.i(91918),h=e.i(30207),v=e.i(86312),b=e.i(85369),w=e.i(43476),y=Object.defineProperty,k=(e,r)=>y(e,"name",{value:r,configurable:!0}),j=["Enter"," "],_=["ArrowUp","PageDown","End"],N=["ArrowDown","PageUp","Home",..._],C={ltr:[...j,"ArrowRight"],rtl:[...j,"ArrowLeft"]},z={ltr:["ArrowLeft"],rtl:["ArrowRight"]},S="Menu",[R,P,I]=(0,n.createCollection)(S),[M,E]=(0,o.createContextScope)(S,[I,u.createPopperScope,g.createRovingFocusGroupScope]),D=(0,u.createPopperScope)(),A=(0,g.createRovingFocusGroupScope)(),[T,L]=M(S),[O,V]=M(S),F=k(e=>{let{__scopeMenu:a,open:n=!1,children:t,dir:o,onOpenChange:s,modal:l=!0}=e,c=D(a),[d,p]=r.useState(null),x=r.useRef(!1),m=(0,h.useCallbackRef)(s),g=(0,i.useDirection)(o);return r.useEffect(()=>{let e=k(()=>{x.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},"handleKeyDown"),r=k(()=>x.current=!1,"handlePointer");return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),r.useEffect(()=>{if(!n)return;let e=k(()=>m(!1),"handleBlur");return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[n,m]),(0,w.jsx)(u.Root,{...c,children:(0,w.jsx)(T,{scope:a,open:n,onOpenChange:m,content:d,onContentChange:p,children:(0,w.jsx)(O,{scope:a,onClose:r.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:x,dir:g,modal:l,children:t})})})},"Menu"),H=r.forwardRef(k(function(e,r){let{__scopeMenu:a,...n}=e,t=D(a);return(0,w.jsx)(u.Anchor,{...t,...n,ref:r})},"MenuAnchor")),B="MenuPortal",[$,K]=M(B,{forceMount:void 0}),G=k(e=>{let{__scopeMenu:r,forceMount:a,children:n,container:t}=e,o=L(B,r);return(0,w.jsx)($,{scope:r,forceMount:a,children:(0,w.jsx)(x.Presence,{present:a||o.open,children:(0,w.jsx)(p.Portal,{asChild:!0,container:t,children:n})})})},"MenuPortal"),q="MenuContent",[U,W]=M(q),X=r.forwardRef(k(function(e,r){let a=K(q,e.__scopeMenu),{forceMount:n=a.forceMount,...t}=e,o=L(q,e.__scopeMenu),i=V(q,e.__scopeMenu);return(0,w.jsx)(R.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(x.Presence,{present:n||o.open,children:(0,w.jsx)(R.Slot,{scope:e.__scopeMenu,children:i.modal?(0,w.jsx)(Z,{...t,ref:r}):(0,w.jsx)(Q,{...t,ref:r})})})})},"MenuContent")),Z=r.forwardRef(k(function(e,n){let o=L(q,e.__scopeMenu),i=r.useRef(null),s=(0,t.useComposedRefs)(n,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,v.hideOthers)(e)},[]),(0,w.jsx)(J,{...e,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})},"MenuRootContentModal")),Q=r.forwardRef(k(function(e,r){let a=L(q,e.__scopeMenu);return(0,w.jsx)(J,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})},"MenuRootContentNonModal")),Y=(0,f.createSlot)("MenuContent.ScrollLock"),J=r.forwardRef(k(function(e,n){let{__scopeMenu:o,loop:i=!1,trapFocus:d,onOpenAutoFocus:p,onCloseAutoFocus:x,disableOutsidePointerEvents:m,onEntryFocus:f,onEscapeKeyDown:h,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:j,onDismiss:C,disableOutsideScroll:z,...S}=e,R=L(q,o),I=V(q,o),M=D(o),E=A(o),T=P(o),[O,F]=r.useState(null),H=r.useRef(null),B=(0,t.useComposedRefs)(n,H,R.onContentChange),$=r.useRef(0),K=r.useRef(""),G=r.useRef(0),W=r.useRef(null),X=r.useRef("right"),Z=r.useRef(0),Q=z?b.RemoveScroll:r.Fragment,J=k(e=>{let r=K.current+e,a=T().filter(e=>!e.disabled),n=document.activeElement,t=a.find(e=>e.ref.current===n)?.textValue,o=eR(a.map(e=>e.textValue),r,t),i=a.find(e=>e.textValue===o)?.ref.current;i&&setTimeout(()=>i.focus())},"handleTypeaheadSearch");r.useEffect(()=>()=>window.clearTimeout($.current),[]),(0,l.useFocusGuards)();let ee=r.useCallback(e=>X.current===W.current?.side&&eI(e,W.current?.area),[]);return(0,w.jsx)(U,{scope:o,searchRef:K,onItemEnter:r.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:r.useCallback(e=>{ee(e)||(H.current?.focus(),F(null))},[ee]),onTriggerLeave:r.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:G,onPointerGraceIntentChange:r.useCallback(e=>{W.current=e},[]),children:(0,w.jsx)(Q,{...z?{as:Y,allowPinchZoom:!0}:void 0,children:(0,w.jsx)(c.FocusScope,{asChild:!0,trapped:d,onMountAutoFocus:(0,a.composeEventHandlers)(p,e=>{e.preventDefault(),H.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:x,children:(0,w.jsx)(s.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:h,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:j,onDismiss:C,children:(0,w.jsx)(g.Root,{asChild:!0,...E,dir:I.dir,orientation:"vertical",loop:i,currentTabStopId:O,onCurrentTabStopIdChange:F,onEntryFocus:(0,a.composeEventHandlers)(f,e=>{I.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,w.jsx)(u.Content,{role:"menu","aria-orientation":"vertical","data-state":e_(R.open),"data-radix-menu-content":"",dir:I.dir,...M,...S,ref:B,style:{outline:"none",...S.style},onKeyDown:(0,a.composeEventHandlers)(S.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,a=e.ctrlKey||e.altKey||e.metaKey,n=1===e.ke
1y.length;r&&("Tab"===e.key&&e.preventDefault(),!a&&n&&J(e.key));let t=H.current;if(e.target!==t||!N.includes(e.key))return;e.preventDefault();let o=T().filter(e=>!e.disabled).map(e=>e.ref.current);_.includes(e.key)&&o.reverse(),ez(o)}),onBlur:(0,a.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout($.current),K.current="")}),onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eM(e=>{let r=e.target,a=Z.current!==e.clientX;e.currentTarget.contains(r)&&a&&(X.current=e.clientX>Z.current?"right":"left",Z.current=e.clientX)}))})})})})})})},"MenuContentImpl")),ee=r.forwardRef(k(function(e,r){let{__scopeMenu:a,...n}=e;return(0,w.jsx)(m.Primitive.div,{role:"group",...n,ref:r})},"MenuGroup")),er=r.forwardRef(k(function(e,r){let{__scopeMenu:a,...n}=e;return(0,w.jsx)(m.Primitive.div,{...n,ref:r})},"MenuLabel")),ea="MenuItem",en="menu.itemSelect",et=r.forwardRef(k(function(e,n){let{disabled:o=!1,onSelect:i,...s}=e,l=r.useRef(null),c=V(ea,e.__scopeMenu),d=W(ea,e.__scopeMenu),u=(0,t.useComposedRefs)(n,l),p=r.useRef(!1),x=k(()=>{let e=l.current;if(!o&&e){let r=new CustomEvent(en,{bubbles:!0,cancelable:!0});e.addEventListener(en,e=>i?.(e),{once:!0}),(0,m.dispatchDiscreteCustomEvent)(e,r),r.defaultPrevented?p.current=!1:c.onClose()}},"handleSelect");return(0,w.jsx)(eo,{...s,ref:u,disabled:o,onClick:(0,a.composeEventHandlers)(e.onClick,x),onPointerDown:r=>{e.onPointerDown?.(r),p.current=!0},onPointerUp:(0,a.composeEventHandlers)(e.onPointerUp,e=>{p.current||e.currentTarget?.click()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{o||e.target!==e.currentTarget||(""===d.searchRef.current||" "!==e.key)&&j.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},"MenuItem")),eo=r.forwardRef(k(function(e,n){let{__scopeMenu:o,disabled:i=!1,textValue:s,...l}=e,c=W(ea,o),d=A(o),u=r.useRef(null),p=(0,t.useComposedRefs)(n,u),[x,f]=r.useState(!1),[h,v]=r.useState("");return r.useEffect(()=>{let e=u.current;e&&v((e.textContent??"").trim())},[l.children]),(0,w.jsx)(R.ItemSlot,{scope:o,disabled:i,textValue:s??h,children:(0,w.jsx)(g.Item,{asChild:!0,...d,focusable:!i,children:(0,w.jsx)(m.Primitive.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...l,ref:p,onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eM(e=>{i?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eM(e=>c.onItemLeave(e))),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>f(!0)),onBlur:(0,a.composeEventHandlers)(e.onBlur,()=>f(!1))})})})},"MenuItemImpl")),ei=r.forwardRef(k(function(e,r){let{checked:n=!1,onCheckedChange:t,...o}=e;return(0,w.jsx)(ep,{scope:e.__scopeMenu,checked:n,children:(0,w.jsx)(et,{role:"menuitemcheckbox","aria-checked":eN(n)?"mixed":n,...o,ref:r,"data-state":eC(n),onSelect:(0,a.composeEventHandlers)(o.onSelect,()=>t?.(!!eN(n)||!n),{checkForDefaultPrevented:!1})})})},"MenuCheckboxItem")),[es,el]=M("MenuRadioGroup",{value:void 0,onValueChange:k(()=>{},"onValueChange")}),ec=r.forwardRef(k(function(e,r){let{value:a,onValueChange:n,...t}=e,o=(0,h.useCallbackRef)(n);return(0,w.jsx)(es,{scope:e.__scopeMenu,value:a,onValueChange:o,children:(0,w.jsx)(ee,{...t,ref:r})})},"MenuRadioGroup")),ed=r.forwardRef(k(function(e,r){let{value:n,...t}=e,o=el("MenuRadioItem",e.__scopeMenu),i=n===o.value;return(0,w.jsx)(ep,{scope:e.__scopeMenu,checked:i,children:(0,w.jsx)(et,{role:"menuitemradio","aria-checked":i,...t,ref:r,"data-state":eC(i),onSelect:(0,a.composeEventHandlers)(t.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),eu="MenuItemIndicator",[ep,ex]=M(eu,{checked:!1}),em=r.forwardRef(k(function(e,r){let{__scopeMenu:a,forceMount:n,...t}=e,o=ex(eu,a);return(0,w.jsx)(x.Presence,{present:n||eN(o.checked)||!0===o.checked,children:(0,w.jsx)(m.Primitive.span,{...t,ref:r,"data-state":eC(o.checked)})})},"MenuItemIndicator")),eg=r.forwardRef(k(function(e,r){let{__scopeMenu:a,...n}=e;return(0,w.jsx)(m.Primitive.div,{role:"separator","aria-orientation":"horizontal",...n,ref:r})},"MenuSeparator")),ef=r.forwardRef(k(function(e,r){let{__scopeMenu:a,...n}=e,t=D(a);return(0,w.jsx)(u.Arrow,{...t,...n,ref:r})},"MenuArrow")),eh="MenuSub",[ev,eb]=M(eh),ew=k(e=>{let{__scopeMenu:a,children:n,open:t=!1,onOpenChange:o}=e,i=L(eh,a),s=D(a),[l,c]=r.useState(null),[p,x]=r.useState(null),m=(0,h.useCallbackRef)(o);return r.useEffect(()=>(!1===i.open&&m(!1),()=>m(!1)),[i.open,m]),(0,w.jsx)(u.Root,{...s,children:(0,w.jsx)(T,{scope:a,open:t,onOpenChange:m,content:p,onContentChange:x,children:(0,w.jsx)(ev,{scope:a,contentId:(0,d.useId)(),triggerId:(0,d.useId)(),trigger:l,onTriggerChange:c,children:n})})})},"MenuSub"),ey="MenuSubTrigger",ek=r.forwardRef(k(function(e,n){let o=L(ey,e.__scopeMenu),i=V(ey,e.__scopeMenu),s=eb(ey,e.__scopeMenu),l=W(ey,e.__scopeMenu),c=r.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:u}=l,p={__scopeMenu:e.__scopeMenu},x=r.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);r.useEffect(()=>x,[x]),r.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),u(null)}},[d,u]);let m=(0,t.useComposedRefs)(n,s.onTriggerChange);return(0,w.jsx)(H,{asChild:!0,...p,children:(0,w.jsx)(eo,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?s.contentId:void 0,"data-state":e_(o.open),...e,ref:m,onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focu
1s(),o.open||o.onOpenChange(!0))},onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eM(r=>{l.onItemEnter(r),!r.defaultPrevented&&(e.disabled||o.open||c.current||(l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{o.onOpenChange(!0),x()},100)))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eM(e=>{x();let r=o.content?.getBoundingClientRect();if(r){let a=o.content?.dataset.side,n="right"===a,t=r[n?"left":"right"],i=r[n?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(n?-5:5),y:e.clientY},{x:t,y:r.top},{x:i,y:r.top},{x:i,y:r.bottom},{x:t,y:r.bottom}],side:a}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,r=>{e.disabled||r.target!==r.currentTarget||(""===l.searchRef.current||" "!==r.key)&&C[i.dir].includes(r.key)&&(o.onOpenChange(!0),o.content?.focus(),r.preventDefault())})})})},"MenuSubTrigger")),ej=r.forwardRef(k(function(e,n){let o=K(q,e.__scopeMenu),{forceMount:i=o.forceMount,align:s="start",...l}=e,c=L(q,e.__scopeMenu),d=V(q,e.__scopeMenu),u=eb("MenuSubContent",e.__scopeMenu),p=r.useRef(null),m=(0,t.useComposedRefs)(n,p);return(0,w.jsx)(R.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(x.Presence,{present:i||c.open,children:(0,w.jsx)(R.Slot,{scope:e.__scopeMenu,children:(0,w.jsx)(J,{id:u.contentId,"aria-labelledby":u.triggerId,...l,ref:m,align:s,side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{d.isUsingKeyboardRef.current&&p.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==u.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,a.composeEventHandlers)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),a=z[d.dir].includes(e.key);r&&a&&(c.onOpenChange(!1),u.trigger?.focus(),e.preventDefault())})})})})})},"MenuSubContent"));function e_(e){return e?"open":"closed"}function eN(e){return"indeterminate"===e}function eC(e){return eN(e)?"indeterminate":e?"checked":"unchecked"}function ez(e){let r=document.activeElement;for(let a of e)if(a===r||(a.focus(),document.activeElement!==r))return}function eS(e,r){return e.map((a,n)=>e[(r+n)%e.length])}function eR(e,r,a){let n=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,t=a?e.indexOf(a):-1,o=eS(e,Math.max(t,0));1===n.length&&(o=o.filter(e=>e!==a));let i=o.find(e=>e.toLowerCase().startsWith(n.toLowerCase()));return i!==a?i:void 0}function eP(e,r){let{x:a,y:n}=e,t=!1;for(let e=0,o=r.length-1;e<r.length;o=e++){let i=r[e],s=r[o],l=i.x,c=i.y,d=s.x,u=s.y;c>n!=u>n&&a<(d-l)*(n-c)/(u-c)+l&&(t=!t)}return t}function eI(e,r){return!!r&&eP({x:e.clientX,y:e.clientY},r)}function eM(e){return r=>"mouse"===r.pointerType?e(r):void 0}k(e_,"getOpenState"),k(eN,"isIndeterminate"),k(eC,"getCheckedState"),k(ez,"focusFirst"),k(eS,"wrapArray"),k(eR,"getNextMatch"),k(eP,"isPointInPolygon"),k(eI,"isPointerInGraceArea"),k(eM,"whenMouse"),e.s(["Anchor",()=>H,"Arrow",()=>ef,"CheckboxItem",()=>ei,"Content",()=>X,"Group",()=>ee,"Item",()=>et,"ItemIndicator",()=>em,"Label",()=>er,"Portal",()=>G,"RadioGroup",()=>ec,"RadioItem",()=>ed,"Root",()=>F,"Separator",()=>eg,"Sub",()=>ew,"SubContent",()=>ej,"SubTrigger",()=>ek,"createMenuScope",()=>E])},67240,e=>{"use strict";let r=(0,e.i(75254).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",()=>r],67240)},75282,e=>{"use strict";var r=e.i(43476),a=e.i(71645),n=e.i(46932),t=e.i(65468),o=e.i(35382),i=e.i(25913),s=e.i(63032),l=e.i(95468),c=e.i(52571),d=e.i(78894),u=e.i(37727),p=e.i(27615),x=e.i(4756);let m=(0,i.cva)("group relative w-full overflow-hidden rounded-none antialiased transition-all duration-500 ease-out hover:shadow-xl border",{variants:{variant:{default:"border-zinc-200 dark:border-white/[0.06] bg-white dark:bg-background/40 text-claron-dark shadow-[0_1px_4px_rgba(0,0,0,0.06)] dark:shadow-sm",glass:"border-zinc-200 dark:border-white/[0.04] bg-white/80 dark:bg-background/30 text-claron-dark backdrop-blur-2xl shadow-[0_2px_16px_rgba(0,0,0,0.07)] dark:shadow-[0_4px_32px_rgba(0,0,0,0.15)]",outline:"border-zinc-300 dark:border-white/[0.08] bg-transparent text-claron-dark",ai:"border-claron-ai-border bg-claron-ai-bg text-claron-ai shadow-[0_0_0_1px_var(--color-claron-ai-glow),0_2px_8px_var(--color-claron-ai-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-ai-glow)]",primary:"border-claron-primary-border bg-claron-primary-bg text-claron-primary shadow-[0_0_0_1px_var(--color-claron-primary-glow),0_2px_8px_var(--color-claron-primary-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-primary-glow)]",node:"border-claron-node-border bg-claron-node-bg text-claron-node shadow-[0_0_0_1px_var(--color-claron-node-glow),0_2px_8px_var(--color-claron-node-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-node-glow)]",rose:"border-claron-rose-border bg-claron-rose-bg text-claron-rose shadow-[0_0_0_1px_var(--color-claron-rose-glow),0_2px_8px_var(--color-claron-rose-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-rose-glow)]",dar
1k:"border-claron-dark-border bg-claron-dark-bg text-claron-dark shadow-[0_0_0_1px_var(--color-claron-dark-glow),0_2px_8px_var(--color-claron-dark-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-dark-glow)]",info:"border-claron-primary-border bg-claron-primary-bg text-claron-primary shadow-[0_0_0_1px_var(--color-claron-primary-glow),0_2px_8px_var(--color-claron-primary-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-primary-glow)]",success:"border-claron-node-border bg-claron-node-bg text-claron-node shadow-[0_0_0_1px_var(--color-claron-node-glow),0_2px_8px_var(--color-claron-node-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-node-glow)]",warning:"border-claron-ai-border bg-claron-ai-bg text-claron-ai shadow-[0_0_0_1px_var(--color-claron-ai-glow),0_2px_8px_var(--color-claron-ai-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-ai-glow)]",error:"border-claron-rose-border bg-claron-rose-bg text-claron-rose shadow-[0_0_0_1px_var(--color-claron-rose-glow),0_2px_8px_var(--color-claron-rose-glow)] dark:shadow-[0_0_0_1px_var(--color-claron-rose-glow)]"}},defaultVariants:{variant:"default"}}),g={sm:"text-ui-sm",default:"text-ui-md",lg:"text-ui-lg"},f={compact:"gap-2 p-3 pl-4",comfortable:"gap-3 p-4 pl-5",spacious:"gap-4 p-5 pl-6"},h={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-3xl"},v={none:{},fade:{initial:{opacity:0}
1,whileInView:{opacity:1}},slide:{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0}},pop:{initial:{opacity:0,scale:.96,y:8},whileInView:{opacity:1,scale:1,y:0}},blur:{initial:{opacity:0,scale:.96,filter:"blur(12px)",y:12},whileInView:{opacity:1,scale:1,filter:"blur(0px)",y:0}}},b={default:{color:"var(--color-claron-dark)",icon:c.Info,glow:"rgba(255,255,255,0.03)"},glass:{color:"var(--color-claron-dark)",icon:c.Info,glow:"rgba(255,255,255,0.05)"},outline:{color:"var(--color-claron-dark)",icon:c.Info,glow:"transparent"},primary:{color:"var(--color-claron-primary)",icon:c.Info,glow:"var(--color-claron-primary-glow)"},node:{color:"var(--color-claron-node)",icon:l.CheckCircle2,glow:"var(--color-claron-node-glow)"},ai:{color:"var(--color-claron-ai)",icon:d.AlertTriangle,glow:"var(--color-claron-ai-glow)"},rose:{color:"var(--color-claron-rose)",icon:s.AlertCircle,glow:"var(--color-claron-rose-glow)"},dark:{color:"var(--color-claron-dark)",icon:c.Info,glow:"var(--color-claron-dark-glow)"},info:{color:"var(--color-claron-primary)",icon:c.Info,glow:"var(--color-claron-primary-glow)"},success:{color:"var(--color-claron-node)",icon:l.CheckCircle2,glow:"var(--color-claron-node-glow)"},warning:{color:"var(--color-claron-ai)",icon:d.AlertTriangle,glow:"var(--color-claron-ai-glow)"},error:{color:"var(--color-claron-rose)",icon:s.AlertCircle,glow:"var(--color-claron-rose-glow)"}},w=a.forwardRef(({className:e,variant:i,tone:s,title:l,description:c,onClose:d,icon:w,children:y,size:k="default",radius:j="none",density:_="comfortable",alertLayout:N="inline",iconPlacement:C="start",closable:z=!1,closeLabel:S="Dismiss alert",open:R,defaultOpen:P=!0,onOpenChange:I,action:M,footer:E,showBorder:D=!0,showAccent:A=!0,glow:T=!0,animated:L=!1,motionPreset:O="blur",reducedMotion:V=!1,classNames:F,...H},B)=>{let[$,K]=a.useState(P),G=(0,o.useMotionValue)(0),q=(0,o.useMotionValue)(0),U=a.useCallback(e=>{let{left:r,top:a}=e.currentTarget.getBoundingClientRect();G.set(e.clientX-r),q.set(e.clientY-a)},[G,q]),W=i??s??"default",{color:X,icon:Z,glow:Q}=b[W]||b.default,Y=w??(0,r.jsx)(Z,{className:"h-4 w-4 shrink-0",style:{color:X}}),J=t.useMotionTemplate`radial-gradient(350px circle at ${G}px ${q}px, ${Q}, transparent 100%)`;if(!(R??$))return null;let ee="stacked"===N,er="none"!==C?(0,r.jsx)("span",{className:(0,p.cn)("shrink-0","top"===C?"mt-0":"mt-1",F?.icon),children:Y}):null,ea=L&&!V&&"none"!==O?{...v[O],viewport:{once:!0,margin:"0px 0px -40px 0px"},transition:{duration:.8,ease:[.16,1,.3,1]}}:{};return(0,r.jsxs)(n.motion.div,{ref:B,role:"alert",onMouseMove:U,...ea,className:(0,p.cn)(m({variant:W}),g[k],h[j],!D&&"border-transparent shadow-none",F?.root,e),...H,children:[T&&(0,r.jsx)(n.motion.div,{className:"absolute inset-0 z-0 pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-700 mix-blend-screen",style:{background:J}}),(0,r.jsx)("div",{className:"absolute inset-0 backdrop-blur-xl pointer-events-none z-0"}),A&&(0,r.jsx)("div",{className:(0,p.cn)("absolute left-0 top-3 bottom-3 w-[2px] rounded-full z-10",F?.accent),style:{background:X,boxShadow:T?`0 0 8px ${X}`:void 0}}),(0,r.jsx)("div",{className:"absolute top-0 left-1/4 right-1/4 h-px bg-linear-to-r from-transparent via-white/20 to-transparent pointer-events-none z-10"}),(0,r.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-[0.04] transition-opacity duration-500 group-hover:opacity-[0.06] z-0",style:{backgroundImage:`linear-gradient(${X} 1px, transparent 1px), linear-gradient(90deg, ${X} 1px, transparent 1px)`,backgroundSize:"4px 4px"}}),(0,r.jsxs)("div",{className:(0,p.cn)("relative z-10 flex min-w-0",ee?"flex-col":"items-start","end"===C&&!ee&&"flex-row-reverse",f[_],F?.body),children:["top"===C&&ee?er:null,"top"!==C?er:null,(0,r.jsxs)("div",{className:(0,p.cn)("min-w-0 flex-1",F?.content),children:[l&&(0,r.jsx)("p",{className:(0,p.cn)("font-semibold leading-none tracking-tight mb-1",F?.title),children:l}),c&&(0,r.jsx)("p",{className:(0,p.cn)("opacity-80 leading-relaxed",F?.description),children:c}),y,E&&(0,r.jsx)("div",{className:(0,p.cn)("mt-3",F?.footer),children:E})]}),M&&(0,r.jsx)("div",{className:(0,p.cn)("shrink-0",ee?"mt-1":"ml-auto",F?.action),children:M}),!!(d||z||I)&&(0,r.jsx)(x.Button,{variant:"ghost",onClick:()=>{d||void 0!==R||K(!1),d?.(),I?.(!1)},"aria-label":S,className:(0,p.cn)("shrink-0 rounded-md p-0.5 opacity-60 hover:opacity-100 transition-opacity",ee?"absolute right-3 top-3":"",F?.close),children:(0,r.jsx)(u.X,{className:"h-3.5 w-3.5"})})]})]})});w.displayName="Alert";let y=a.forwardRef(({className:e,...a},n)=>(0,r.jsx)("h5",{ref:n,className:(0,p.cn)("font-semibold leading-none tracking-tight text-ui-sm",e),...a}));y.displayName="AlertTitle";let k=a.forwardRef(({className:e,...a},n)=>(0,r.jsx)("p",{ref:n,className:(0,p.cn)("text-ui-sm opacity-80 leading-relaxed",e),...a}));k.displayName="AlertDescription",e.s(["Alert",()=>w,"AlertDescription",()=>k,"AlertTitle",()=>y])},37058,e=>{"use strict";var r=e.i(43476),a=e.i(71645),n=e.i(25913),t=e.i(46932),o=e.i(88653),i=e.i(74886),s=e.i(43531),l=e.i(63059),c=e.i(27615);let d=(0,n.cva)("w-full transition-colors duration-200 overflow-hidden",{variants:{variant:{bordered:"rounded-xl border border-zinc-200 dark:border-white/10 bg-white dark:bg-zinc-950 divide-y divide-zinc-100 dark:divide-white/[0.06]",default:"rounded-xl border border-zinc-200 dark:border-white/10 bg-white dark:bg-zinc-950 divide-y divide-zinc-100 dark:divide-white/[0.06]",glass:"rounded-xl border border-white/20 bg-white/60 dark:bg-white/[0.04] backdrop-blur-xl divide-y divide-white/10",subtle:"rounded-xl border border-zinc-100 dark:border-white/[0.06] bg-zinc-50 dark:bg-zinc-900/50 divide-y divide-zinc-100 dark:divide-white/[0.04]",outline:"rounded-xl border-2 border-zinc-200 dark:border-white/20 bg-transparent divide-y divide-zinc-100 dark:divide-white/[0.06]",striped:"rounded-xl border border-zinc-200 dark:border-white/10 bg-white dark:bg-zinc-950 divide-y divide-zinc-100 dark:divide-white/[0.06] [&>*:nth-child(even)]:bg-zinc-50 dark:[&>*:nth-child(even)]:bg-white/[0.03]",primary:"rounded-xl border border-claron-primary/30 bg-claron-primary-bg divide-y divide-claron-primary/15",node:"rounded-xl border border-claron-node/30 bg-claron-node-bg divide-y divide-claron-node/15",ai:"rounded-xl border border-claron-ai/30 bg-claron-ai-bg divide-y divide-claron-ai/15",rose:"rounded-xl border border-claron-rose/30 bg-claron-rose-bg divide-y divide-claron-rose/15",dark:"roun
1ded-xl border border-claron-dark/30 bg-claron-dark-bg divide-y divide-claron-dark/15"}},defaultVariants:{variant:"default"}}),u=new Set(["primary","node","ai","rose","dark"]);function p(e){return u.has(e??"")}function x(e){return p(e)?`text-claron-${e} opacity-80`:"text-zinc-500 dark:text-zinc-400"}function m(e){return p(e)?`text-claron-${e}`:"text-zinc-900 dark:text-zinc-100"}function g({value:e}){let[n,l]=a.useState(!1);return(0,r.jsx)("button",{onClick:r=>{r.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{l(!0),setTimeout(()=>l(!1),1600)})},className:"shrink-0 ml-2 opacity-0 group-hover:opacity-100 transition-opacity rounded p-0.5 hover:bg-zinc-100 dark:hover:bg-white/10",title:"Copy",children:(0,r.jsx)(o.AnimatePresence,{mode:"wait",initial:!1,children:n?(0,r.jsx)(t.motion.span,{initial:{scale:.7},animate:{scale:1},exit:{scale:.7},children:(0,r.jsx)(s.Check,{className:"h-3 w-3 text-green-500"})},"c"):(0,r.jsx)(t.motion.span,{initial:{scale:.7},animate:{scale:1},exit:{scale:.7},children:(0,r.jsx)(i.Copy,{className:"h-3 w-3 text-zinc-400"})},"u")})})}function f({trend:e}){return"up"===e?(0,r.jsx)("span",{className:"inline-block text-[10px] font-bold text-green-500 leading-none",children:"â²"}):"down"===e?(0,r.jsx)("span",{className:"inline-block text-[10px] font-bold text-red-500 leading-none",children:"â¼"}):(0,r.jsx)("span",{className:"inline-block text-[10px] font-bold text-zinc-400 leading-none",children:"â"})}function h({item:e,variant:n,showCopy:i,depth:s=0}){let[d,u]=a.useState(e.defaultOpen??!0),p=!!e.children?.length;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,c.cn)("group flex flex-col items-start gap-1 py-2.5 px-4 transition-colors duration-100 sm:flex-row sm:items-start sm:justify-between sm:gap-4",p&&e.collapsible&&"cursor-pointer hover:bg-zinc-50 dark:hover:bg-white/[0.03]",s>0&&"pl-8 bg-zinc-50/50 dark:bg-white/[0.02]"),onClick:()=>p&&e.collapsible&&u(e=>!e),children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-1.5 shrink-0 min-w-0 text-ui-sm sm:min-w-24",x(n)),children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0",children:e.icon}),e.label,e.badge&&(0,r.jsx)("span",{className:"rounded px-1 py-px text-[9px] font-bold bg-zinc-100 dark:bg-white/10 text-zinc-500 dark:text-zinc-400",children:e.badge}),p&&e.collapsible&&(0,r.jsx)(t.motion.span,{animate:{rotate:90*!!d},transition:{duration:.15},className:"shrink-0",children:(0,r.jsx)(l.ChevronRight,{className:"h-3 w-3 opacity-40"})})]}),(0,r.jsxs)("dd",{className:(0,c.cn)("flex w-full min-w-0 items-center text-ui-sm text-left break-words sm:w-auto sm:text-right",m(n),e.mono&&"font-mono text-[12px] opacity-80"),children:[e.value,i&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})]}),p&&e.collapsible&&(0,r.jsx)(o.AnimatePresence,{initial:!1,children:d&&(0,r.jsx)(t.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:e.children.map((e,a)=>(0,r.jsx)(h,{item:e,variant:n,showCopy:i,depth:s+1},a))},"children")})]})}function v({item:e,variant:a,showCopy:n}){return(0,r.jsxs)("div",{className:"group flex flex-col gap-0.5 py-3 px-4",children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-widest",x(a)),children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0",children:e.icon}),e.label,e.badge&&(0,r.jsx)("span",{className:"rounded px-1 py-px text-[9px] font-bold bg-zinc-100 dark:bg-white/10 text-zinc-500 dark:text-zinc-400",children:e.badge})]}),(0,r.jsxs)("dd",{className:(0,c.cn)("flex items-center gap-1 text-ui-md font-medium",m(a),e.mono&&"font-mono text-[13px]"),children:[e.value,n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})]})}function b({item:e,variant:a,showCopy:n}){return(0,r.jsxs)("div",{className:"group grid grid-cols-2 items-center gap-2 py-2 px-4",children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-1.5 text-ui-sm font-medium",x(a)),children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0",children:e.icon}),e.label]}
1),(0,r.jsxs)("dd",{className:(0,c.cn)("flex items-center justify-end gap-1 text-ui-sm",m(a),e.mono&&"font-mono text-[12px] opacity-80"),children:[e.value,n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})]})}function w({item:e,variant:a,showCopy:n,index:t}){return(0,r.jsxs)("div",{className:"group flex items-center gap-2 py-1 px-3 font-mono text-[12px] leading-relaxed hover:bg-white/[0.03] transition-colors",children:[(0,r.jsx)("span",{className:"shrink-0 text-zinc-600 dark:text-zinc-600 w-5 text-right select-none",children:t+1}),(0,r.jsx)("span",{className:"shrink-0 text-green-400/80",children:String(e.label).toLowerCase().replace(/\s+/g,"_")}),(0,r.jsx)("span",{className:"text-zinc-600 dark:text-zinc-600",children:"="}),(0,r.jsxs)("span",{className:(0,c.cn)("flex-1 truncate",p(a)?`text-claron-${a}`:"text-amber-300/90",e.mono&&"text-sky-300/90"),children:["â",e.value,"â"]}),n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})}function y({item:e,variant:a,showCopy:n,isLast:t}){let o=p(a)?`bg-claron-${a}`:"bg-zinc-400 dark:bg-zinc-500";return(0,r.jsxs)("div",{className:"group flex gap-3 py-1 px-4",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center shrink-0 mt-1",children:[(0,r.jsx)("div",{className:(0,c.cn)("h-2.5 w-2.5 rounded-full shrink-0 ring-2 ring-white dark:ring-zinc-950",o)}),!t&&(0,r.jsx)("div",{className:"w-px flex-1 bg-zinc-200 dark:bg-white/10 mt-1"})]}),(0,r.jsxs)("div",{className:"flex-1 pb-4",children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-widest mb-0.5",x(a)),children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0",children:e.icon}),e.label,e.badge&&(0,r.jsx)("span",{className:"rounded px-1.5 py-px text-[9px] font-bold bg-zinc-100 dark:bg-white/10 text-zinc-500 dark:text-zinc-400",children:e.badge})]}),(0,r.jsxs)("dd",{className:(0,c.cn)("flex items-center gap-1 text-ui-sm",m(a),e.mono&&"font-mono text-[12px] opacity-80"),children:[e.value,n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})]})]})}function k({item:e,variant:a}){let n=p(a)?`text-claron-${a}`:"text-zinc-900 dark:text-zinc-100",t=p(a)?`border-claron-${a}/20`:"border-zinc-100 dark:border-white/[0.08]";return(0,r.jsxs)("div",{className:(0,c.cn)("flex flex-col gap-1 p-3 sm:p-4 rounded-lg border transition-all duration-150 hover:shadow-sm hover:scale-[1.01] min-w-0 overflow-hidden",t,p(a)?`bg-claron-${a}-bg`:"bg-white dark:bg-zinc-900"),children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-1.5 text-[10px] sm:text-[11px] font-semibold uppercase tracking-widest truncate",x(a)),children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0",children:e.icon}),(0,r.jsx)("span",{className:"truncate",children:e.label})]}),(0,r.jsx)("dd",{className:(0,c.cn)("text-xl sm:text-2xl font-bold tabular-nums leading-tight break-words",n),children:(0,r.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap min-w-0",children:[(0,r.jsx)("span",{className:"min-w-0 break-all sm:break-words",children:e.value}),e.trend&&(0,r.jsx)("span",{className:"shrink-0 inline-flex items-center",children:(0,r.jsx)(f,{trend:e.trend})})]})}),e.sub&&(0,r.jsx)("p",{className:(0,c.cn)("text-[10px] sm:text-[11px] truncate mt-1 opacity-70",p(a)?`text-claron-${a}`:"text-zinc-500 dark:text-zinc-500"),children:e.sub})]})}function j({item:e,variant:a,showCopy:n}){return(0,r.jsxs)("div",{className:(0,c.cn)("group flex items-center justify-between gap-4 p-4 rounded-xl border transition-all duration-150 hover:shadow-sm hover:-translate-y-px",p(a)?`border-claron-${a}/25 bg-claron-${a}-bg`:"border-zinc-100 dark:border-white/[0.08] bg-white dark:bg-zinc-900/60"),children:[(0,r.jsxs)("dt",{className:(0,c.cn)("flex items-center gap-2 text-ui-sm font-medium shrink-0",x(a)),children:[e.icon&&(0,r.jsx)("span",{className:(0,c.cn)("flex h-7 w-7 items-center justify-center rounded-lg",p(a)?`bg-claron-${a}/15`:"bg-zinc-100 dark:bg-white/[0.08]"),children:e.icon}),(0,r.jsxs)("div",{children:[e.label,e.badge&&(0,r.jsx)("span",{className:"ml-1 rounded px-1 py-px text-[9px] font-bold bg-zinc-100 dark:bg-white/10 text-zinc-500",children:e.badge})]})]}
1),(0,r.jsxs)("dd",{className:(0,c.cn)("flex items-center gap-1 text-ui-sm font-semibold",m(a),e.mono&&"font-mono text-[12px]"),children:[e.value,n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})]})}function _({item:e,variant:a,showCopy:n}){return(0,r.jsxs)("div",{className:"group flex items-center gap-2 py-1 px-3 hover:bg-zinc-50 dark:hover:bg-white/[0.03] transition-colors",children:[e.icon&&(0,r.jsx)("span",{className:"shrink-0 text-zinc-400",children:e.icon}),(0,r.jsx)("span",{className:(0,c.cn)("text-[11px] shrink-0 w-24 truncate",x(a)),children:e.label}),(0,r.jsx)("span",{className:"flex-1 h-px bg-zinc-100 dark:bg-white/[0.06]"}),(0,r.jsx)("span",{className:(0,c.cn)("text-[11px] font-medium",m(a),e.mono&&"font-mono"),children:e.value}),n&&e.copyValue&&(0,r.jsx)(g,{value:e.copyValue})]})}function N({items:e,rows:a,variant:n="default",listStyle:i="default",showCopy:s=!1,animated:l=!1,className:u}){let p=e||a||[];if("dashboard"===i)return(0,r.jsx)("div",{className:(0,c.cn)("grid grid-cols-[repeat(auto-fit,minmax(120px,1fr))] gap-3",u),children:(0,r.jsx)(o.AnimatePresence,{initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{initial:!!l&&{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.25,delay:l?.04*a:0},children:(0,r.jsx)(k,{item:e,variant:n})},e.id??a))})});if("card"===i)return(0,r.jsx)("div",{className:(0,c.cn)("flex flex-col gap-2",u),children:(0,r.jsx)(o.AnimatePresence,{initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{initial:!!l&&{opacity:0,x:-8},animate:{opacity:1,x:0},exit:{opacity:0,x:8},transition:{duration:.22,delay:l?.05*a:0},children:(0,r.jsx)(j,{item:e,variant:n,showCopy:s})},e.id??a))})});if("terminal"===i)return(0,r.jsxs)("div",{className:(0,c.cn)("w-full overflow-hidden rounded-lg border border-zinc-800 bg-[#0d0d0d] shadow-xl",u),children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 border-b border-zinc-800 bg-[#161616] px-3 py-2",children:[(0,r.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-red-500/70"}),(0,r.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-yellow-500/70"}),(0,r.jsx)("div",{className:"h-2.5 w-2.5 rounded-full bg-green-500/70"}),(0,r.jsx)("span",{className:"ml-2 text-[10px] font-mono text-zinc-600",children:"properties.env"})]}),(0,r.jsx)("div",{className:"py-2",children:(0,r.jsx)(o.AnimatePresence,{initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{initial:!!l&&{opacity:0,x:-4},animate:{opacity:1,x:0},exit:{opacity:0},transition:{duration:.18,delay:l?.04*a:0},children:(0,r.jsx)(w,{item:e,variant:n,showCopy:s,index:a})},e.id??a))})})]});if("timeline"===i)return(0,r.jsx)("div",{className:(0,c.cn)("w-full",u),children:(0,r.jsx)(o.AnimatePresence,{initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{initial:!!l&&{opacity:0,x:-8},animate:{opacity:1,x:0},exit:{opacity:0},transition:{duration:.22,delay:l?.05*a:0},children:(0,r.jsx)(y,{item:e,variant:n,showCopy:s,isLast:a===p.length-1})},e.id??a))})});if("compact"===i)return(0,r.jsx)("div",{className:(0,c.cn)(d({variant:n}),"divide-none rounded-lg py-1",u),children:(0,r.jsx)(o.AnimatePresence,{initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{initial:!!l&&{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15,delay:l?.03*a:0},children:(0,r.jsx)(_,{item:e,variant:n,showCopy:s})},e.id??a))})});let x="stacked"===i?v:"grid"===i?b:h;return(0,r.jsx)(t.motion.dl,{layout:!0,transition:{type:"spring",bounce:0,duration:.4},className:(0,c.cn)(d({variant:n}),u),children:(0,r.jsx)(o.AnimatePresence,{mode:"popLayout",initial:!1,children:p.map((e,a)=>(0,r.jsx)(t.motion.div,{layout:!0,initial:!!l&&{opacity:0,filter:"blur(8px)",scale:.98},animate:{opacity:1,filter:"blur(0px)",scale:1},exit:{opacity:0,filter:"blur(8px)",scale:.98},transition:{duration:.28,delay:l?.04*a:0,layout:{type:"spring",bounce:0,duration:.35}},children:(0,r.jsx)(x,{item:e,variant:n,showCopy:s})},e.id??a))})})}e.s(["DataList",()=>N])},39312,e=>{"use strict";let r=(0,e.i(75254).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",()=>r],39312)},99023,e=>{"use strict";
1let r=(0,e.i(75254).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",()=>r],99023)},39613,e=>{"use strict";var r=e.i(43476),a=e.i(71645),n=e.i(20783),t=e.i(30030),o=e.i(81140),i=e.i(69340),s=e.i(35804),l=e.i(96626),c=e.i(48425),d=Object.defineProperty,u=(e,r)=>d(e,"name",{value:r,configurable:!0}),p="Checkbox",[x,m]=(0,t.createContextScope)(p),[g,f]=x(p);function h(e){let{__scopeCheckbox:n,checked:t,children:o,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:u,required:x,value:m="on",internal_do_not_use_render:f}=e,[h,v]=(0,i.useControllableState)({prop:t,defaultProp:s??!1,onChange:u,caller:p}),[b,w]=a.useState(null),[y,_]=a.useState(null),N=a.useRef(!1),[C,z]=a.useReducer(e=>e+1,0),S=!b||!!c||!!b.closest("form"),R={checked:h,disabled:l,setChecked:v,control:b,setControl:w,name:d,form:c,value:m,hasConsumerStoppedPropagationRef:N,userInteractionCount:C,onUserInteraction:z,required:x,defaultChecked:!j(s)&&s,isFormControl:S,bubbleInput:y,setBubbleInput:_};return(0,r.jsx)(g,{scope:n,...R,children:k(f)?f(R):o})}u(h,"CheckboxProvider");var v=a.forwardRef(u(function({__scopeCheckbox:e,onKeyDown:t,onClick:i,...s},l){let{control:d,value:p,disabled:x,checked:m,required:g,setControl:h,setChecked:v,hasConsumerStoppedPropagationRef:b,onUserInteraction:w,isFormControl:y,bubbleInput:k}=f("CheckboxTrigger",e),N=(0,n.useComposedRefs)(l,h),C=a.useRef(m);return a.useEffect(()=>{let e=d?.form;if(e){let r=u(()=>v(C.current),"reset");return e.addEventListener("reset",r),()=>e.removeEventListener("reset",r)}},[d,v]),(0,r.jsx)(c.Primitive.button,{type:"button",role:"checkbox","aria-checked":j(m)?"mixed":m,"aria-required":g,"data-state":_(m),"data-disabled":x?"":void 0,disabled:x,value:p,...s,ref:N,onKeyDown:(0,o.composeEventHandlers)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,o.composeEventHandlers)(i,e=>{w(),v(e=>!!j(e)||!e),k&&y&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})},"CheckboxTrigger")),b=a.forwardRef(u(function(e,a){let{__scopeCheckbox:n,name:t,checked:o,defaultChecked:i,required:s,disabled:l,value:c,onCheckedChange:d,form:u,...p}=e;return(0,r.jsx)(h,{__scopeCheckbox:n,checked:o,defaultChecked:i,disabled:l,required:s,onCheckedChange:d,name:t,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{...p,ref:a,__scopeCheckbox:n}),e&&(0,r.jsx)(y,{__scopeCheckbox:n})]})})},"Checkbox")),w=a.forwardRef(u(function(e,a){let{__scopeCheckbox:n,forceMount:t,...o}=e,i=f("CheckboxIndicator",n);return(0,r.jsx)(l.Presence,{present:t||j(i.checked)||!0===i.checked,children:(0,r.jsx)(c.Primitive.span,{"data-state":_(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:a,style:{pointerEvents:"none",...e.style}})})},"CheckboxIndicator")),y=a.forwardRef(u(function({__scopeCheckbox:e,onClick:t,...i},l){let{control:d,hasConsumerStoppedPropagationRef:u,userInteractionCount:p,checked:x,defaultChecked:m,required:g,disabled:h,name:v,value:b,form:w,bubbleInput:y,setBubbleInput:k}=f("CheckboxBubbleInput",e),_=(0,n.useComposedRefs)(l,k),N=(0,s.useSize)(d),C=a.useRef(!1),z=a.useRef(x),S=a.useRef(p);a.useEffect(()=>{if(!y)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,r=p!==S.current;S.current=p;let a=z.current!==x;z.current=x;let n=!(r&&u.current);if(a&&e){C.current=!r;let a=new Event("click",{bubbles:n});y.indeterminate=j(x),e.call(y,!j(x)&&x),y.dispatchEvent(a),C.current=!1}},[y,x,u,p]);let R=a.useRef(!j(x)&&x);return(0,r.jsx)(c.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:m??R.current,required:g,disabled:h,name:v,value:b,form:w,...i,tabIndex:-1,ref:_,onClick:(0,o.composeEventHandlers)(t,e=>{C.current&&e.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function k(e){return"function"==typeof e}function j(e){return"indeterminate"===e}function _(e){return j(e)?"indeterminate":e?"checked":"unchecked"}u(k,"isFunction"),u(j,"isIndeterminate"),u(_,"getState");var N=e.i(46932),C=e.i(88653),z=e.i(25913),S=e.i(43531),R=e.i(99023),P=e.i(27615);let I=(0,z.cva)("peer relative shrink-0 overflow-hidden transition-all duration-300 antialiased focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-claron-primary/70 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-zinc-950 disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-dark-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-dark-glow),0_4px_12px_-4px_var(--color-claron-dark-glow),inset_0_1px_rgba(255,255,255,0.1)]",glass:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-dark-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-dark-glow),0_4px_12px_-4px_var(--color-claron-dark-glow),inset_0_1px_rgba(255,255,255,0.1)]",outline:"h-5 w-5 shadow-[0_0_0_1px_rgba(255,255,255,0.08),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1px_rgba(255,255,255,0.2),inset_0_1px_rgba(255,255,255,0.1)]",primary:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-primary-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-primary-glow),0_4px_12px_-4px_var(--color-claron-primary-glow),inset_0_1px_rgba(255,255,255,0.1)]",node:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-node-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-node-glow),0_4px_12px_-4px_var(--color-claron-node-glow),inset_0_1px_rgba(255,255,255,0.1)]",ai:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-ai-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-ai-glow),0_4px_12px_-4px_var(--color-claron-ai-glow),inset_0_1px_rgba(255,255,255,0.1)]",rose:"h-5 w-5 shadow-[0_0_0_1px_var(--color-claron-rose-glow),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1.5px_var(--color-claron-rose-glow),0_4px_12px_-4px_var(--color-claron-rose-glow),inset_0_1px_rgba(255,255,255,0.1)]",dark:"h-5 w-5 shadow-[0_0_0_1px_rgba(255,255,255,0.08),inset_0_1px_rgba(255,255,255,0.05),inset_0_-1px_rgba(0,0,0,0.4)] data-[state=checked]:shadow-[0_0_0_1px_rgba(255,255,255,0.2),inset_0_1px_rgba(255,255,255,0.1)]"},size:{sm:"h-4 w-4",default:"h-5 w-5",lg:"h-6 w-6"},radius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},status:{default:"",error:"shadow-[0_0_0_1.5px_var(--color-claron-rose-glow)] dark:shadow-[0_0_0_1.5px_var(--color-claron-rose-glow)]",success:"shadow-[0_0_0_1.5px_var(--color-claron-node-glow)] dark:shadow-[0_0_0_1.5px_var(--color-claron-node-glow)]"}}
1,defaultVariants:{variant:"primary",size:"default",radius:"sm",status:"default"}}),M={default:"var(--color-claron-dark-glow)",glass:"var(--color-claron-dark-glow)",outline:"var(--color-claron-dark-glow)",primary:"var(--color-claron-primary-glow)",node:"var(--color-claron-node-glow)",ai:"var(--color-claron-ai-glow)",rose:"var(--color-claron-rose-glow)",dark:"var(--color-claron-dark-glow)"},E={default:"var(--color-claron-dark)",glass:"var(--color-claron-dark)",outline:"var(--color-claron-dark)",primary:"var(--color-claron-primary)",node:"var(--color-claron-node)",ai:"var(--color-claron-ai)",rose:"var(--color-claron-rose)",dark:"var(--color-claron-dark)"},D={none:"0px",sm:"2px",md:"4px",lg:"8px",xl:"12px",full:"9999px"},A=a.forwardRef(({className:e,variant:a="primary",size:n,radius:t="sm",status:o="default",disableGrid:i=!1,diminishUnchecked:s=!1,animated:l=!1,icon:c,indeterminate:d=!1,label:u,description:p,labelPosition:x="right",errorText:m,successText:g,hintText:f,id:h,...v},y)=>{let k=a??"primary",j=t??"sm",_=d?"indeterminate":v.checked,z=!0===_||"indeterminate"===_,A=(0,r.jsx)(b,{ref:y,id:h,className:(0,P.cn)(I({variant:a,size:n,radius:t,status:o}),e),checked:_,...v,asChild:!0,children:(0,r.jsxs)(N.motion.button,{initial:l?{opacity:0,scale:.96,filter:"blur(12px)",y:12}:void 0,whileInView:l?{opacity:1,scale:1,filter:"blur(0px)",y:0}:void 0,viewport:{once:!0,margin:"0px 0px -40px 0px"},transition:{duration:.8,ease:[.16,1,.3,1]},children:[(0,r.jsx)("div",{className:(0,P.cn)("absolute inset-0 bg-white/80 backdrop-blur-xl transition-all duration-300 dark:bg-[#0c0c0e]/80 data-[state=checked]:bg-transparent",s&&"opacity-40 data-[state=checked]:opacity-100"),style:{borderRadius:D[j]}}),!i&&(0,r.jsx)("div",{className:"absolute inset-0 opacity-[0.03] pointer-events-none",style:{backgroundImage:"radial-gradient(circle at 1px 1px, currentColor 1px, transparent 0)",backgroundSize:"8px 8px",borderRadius:D[j]}}),(0,r.jsx)(C.AnimatePresence,{mode:"wait",children:z?(0,r.jsx)(N.motion.div,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},transition:{duration:.15,ease:"backOut"},className:"absolute inset-0",style:{background:M[k],borderRadius:D[j]}},"checked-bg"):null}),(0,r.jsx)("div",{className:"pointer-events-none absolute left-1/4 right-1/4 top-0 h-px bg-linear-to-r from-transparent via-white/30 to-transparent dark:via-white/20"}),(0,r.jsx)(w,{className:"relative z-10 flex h-full w-full items-center justify-center",children:(0,r.jsx)(N.motion.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:600,damping:20},children:c?(0,r.jsx)("div",{style:{color:E[k]},children:c}):d?(0,r.jsx)(R.Minus,{className:"h-3 w-3",style:{color:E[k]},strokeWidth:4}):(0,r.jsx)(S.Check,{className:"h-3 w-3",style:{color:E[k]},strokeWidth:4})})})]})});if(!u)return A;let T=m?(0,r.jsx)("p",{className:"text-ui-xs leading-5 text-claron-rose",children:m}):g?(0,r.jsx)("p",{className:"text-ui-xs leading-5 text-claron-node",children:g}):f?(0,r.jsx)("p",{className:"text-ui-xs leading-5 text-text-muted",children:f}):null;return(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsxs)("div",{className:(0,P.cn)("flex items-start gap-3","left"===x&&"flex-row-reverse justify-end"),children:[(0,r.jsx)("div",{className:"pt-0.5",children:A}),(0,r.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,r.jsx)("label",{htmlFor:h,className:"cursor-pointer text-ui-sm font-semibold text-foreground leading-none",children:u}),p&&(0,r.jsx)("p",{className:"text-ui-xs leading-5 text-text-muted",children:p})]})]}),T]})});A.displayName=b.displayName,e.s(["Checkbox",()=>A],39613)},27612,e=>{"use strict";let r=(0,e.i(75254).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["Trash2",()=>r],27612)},78917,e=>{"use strict";let r=(0,e.i(75254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",()=>r],78917)},46446,e=>{"use strict";var r=e.i(43476),a=e.i(71645),n=e.i(46932),t=e.i(25913),o=e.i(27615);let i=(0,t.cva)("relative w-full overflow-hidden",{variants:{size:{xs:"h-1",sm:"h-1.5",default:"h-2",lg:"h-3",xl:"h-4"},variant:{default:"bg-claron-surface-deep dark:bg-zinc-800 text-claron-dark [--progress-glow:var(--color-claron-dark-glow)]",glass:"bg-claron-surface/65 dark:bg-white/[0.04] text-foreground [--progress-glow:var(--color-claron-dark-glow)]",outline:"bg-transparent border border-claron-border dark:border-white/10 text-text-muted [--progress-glow:transparent]",primary:"bg-claron-primary/20 dark:bg-claron-primary-bg text-claron-primary [--progress-glow:var(--color-claron-primary-glow)]",node:"bg-claron-node/20 dark:bg-claron-node-bg text-claron-node [--progress-glow:var(--color-claron-node-glow)]",ai:"bg-claron-ai/20 dark:bg-claron-ai-bg text-claron-ai [--progress-glow:var(--color-claron-ai-glow)]",rose:"bg-claron-rose/20 dark:bg-claron-rose-bg text-claron-rose [--progress-glow:var(--color-claron-rose-glow)]",dar
1k:"bg-claron-dark/20 dark:bg-claron-dark-bg text-claron-dark [--progress-glow:var(--color-claron-dark-glow)]"}},defaultVariants:{size:"default",variant:"primary"}}),s={square:"rounded-none",rounded:"rounded-md",pill:"rounded-full"},l={default:"text-text-secondary dark:text-zinc-300",glass:"text-text-secondary",outline:"text-text-secondary dark:text-zinc-300",primary:"text-claron-primary",node:"text-claron-node",ai:"text-claron-ai",rose:"text-claron-rose",dark:"text-claron-dark"};function c(e,r,a){return Math.min(a,Math.max(r,e))}function d(e,r,a){return a<=r?0:(c(e,r,a)-r)/(a-r)*100}let u=a.forwardRef(({className:e,classNames:a,size:t="default",variant:u="primary",value:p=0,min:x=0,max:m=100,showLabel:g,showValue:f,label:h,labelPlacement:v="top",formatter:b,indeterminate:w,striped:y=!1,shape:k="pill",thickness:j,bufferValue:_,status:N,animated:C=!0,glow:z=!0,style:S,...R},P)=>{let I=d(p,x,m),M=void 0===_?void 0:d(_,x,m),E=b?b(p,I):`${Math.round(I)}%`,D=f??g??!1,A="none"!==v&&"inside"!==v&&(h||N||D),T="string"==typeof j?j:t??"default",L="number"==typeof j?{...S,height:`${j}px`}:S,O=l[u??"primary"]??l.primary,V=A?(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between gap-3 px-0.5",a?.header),children:[(0,r.jsx)("span",{className:(0,o.cn)("text-ui-sm font-semibold",O,a?.label),children:h}),(0,r.jsxs)("span",{className:"ml-auto flex items-center gap-2 text-ui-sm text-text-muted dark:text-zinc-500",children:[N?(0,r.jsx)("span",{className:a?.status,children:N}):null,D&&!w?(0,r.jsx)("span",{className:(0,o.cn)("font-medium",a?.value),children:E}):null]})]}):null,F="inside"===v&&(h||N||D)?(0,r.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-20 flex items-center justify-between gap-2 px-2 text-[10px] font-semibold leading-none text-current",children:[(0,r.jsx)("span",{className:(0,o.cn)("truncate",a?.label),children:h}),(0,r.jsx)("span",{className:(0,o.cn)("shrink-0",a?.value),children:w?N:E})]}):null;return(0,r.jsxs)("div",{className:(0,o.cn)("w-full space-y-1.5",a?.root),children:["top"===v?V:null,(0,r.jsxs)("div",{ref:P,role:"progressbar","aria-valuemin":x,"aria-valuemax":m,"aria-valuenow":w?void 0:c(p,x,m),"aria-valuetext":w||"string"!=typeof E?void 0:E,className:(0,o.cn)(i({size:T,variant:u}),s[k],a?.track,e),style:L,...R,children:[void 0===M||w?null:(0,r.jsx)("div",{className:(0,o.cn)("absolute inset-y-0 left-0 rounded-[inherit] bg-current opacity-25",a?.buffer),style:{width:`${M}%`}}),w?(0,r.jsx)(n.motion.div,{className:(0,o.cn)("absolute inset-y-0 left-0 w-1/3 rounded-[inherit] bg-current opacity-80",a?.indicator),animate:C?{x:["-140%","330%"]}:void 0,transition:C?{duration:1.4,ease:"easeInOut",repeat:1/0}:void 0,style:{boxShadow:z?"0 0 8px var(--progress-glow)":void 0}}):(0,r.jsxs)(n.motion.div,{className:(0,o.cn)("relative h-full overflow-hidden rounded-[inherit] bg-current",a?.indicator),initial:!!C&&{width:0},animate:{width:`${I}%`},transition:C?{duration:.6,ease:[.16,1,.3,1]}:{duration:0},style:{boxShadow:z?"0 0 8px var(--progress-glow)":void 0},children:[y?(0,r.jsx)("div",{className:(0,o.cn)("absolute inset-0 opacity-35",C&&"animate-[shimmer_2s_ease-in-out_infinite]"),style:{backgroundImage:"linear-gradient(45deg, rgba(255,255,255,0.42) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.42) 50%, rgba(255,255,255,0.42) 75%, transparent 75%, transparent)",backgroundSize:"16px 16px"}}):null,!y&&C?(0,r.jsx)("div",{className:"absolute inset-0 h-full w-full -translate-x-full animate-[shimmer_2s_ease-in-out_infinite] bg-linear-to-r from-transparent via-white/30 dark:via-white/20 to-transparent"}):null]}),F]}),"bottom"===v?V:null]})});u.displayName="Progress",e.s(["Progress",()=>u])},26999,e=>{"use strict";var r=e.i(71645),a=e.i(81140),n=e.i(20783),t=e.i(30030),o=e.i(10772),i=e.i(69340),s=e.i(26330),l=e.i(65491),c=e.i(74606),d=e.i(96626),u=e.i(48425),p=e.i(3536),x=e.i(34620),m=e.i(85369),g=e.i(86312),f=e.i(91918),h=e.i(43476),v=Object.defineProperty,b=(e,r)=>v(e,"name",{value:r,configurable:!0}),w="Dialog",[y,k]=(0,t.createContextScope)(w),[j,_]=y(w),N=b(e=>{let{__scopeDialog:a,children:n,open:t,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=r.useRef(null),u=r.useRef(null),[p,x]=(0,i.useControllableState)({prop:t,defaultProp:s??!1,onChange:l,caller:w}),[m,g]=r.useState(0),[f,v]=r.useState(0);return(0,h.jsx)(j,{scope:a,triggerRef:d,contentRef:u,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),titlePresent:m>0,descriptionPresent:f>0,setTitleCount:g,setDescriptionCount:v,open:p,onOpenChange:x,onOpenToggle:r.useCallback(()=>x(e=>!e),[x]),modal:c,children:n})},"Dialog"),C=r.forwardRef(b(function(e,r){let{__scopeDialog:t,...o}=e,i=_("DialogTrigger",t),s=(0,n.useComposedRefs)(r,i.triggerRef);return(0,h.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":$(i.open),...o,ref:s,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"DialogTrigger")),z="DialogPortal",[S,R]=y(z,{forceMount:void 0}),P=b(e=>{let{__scopeDialog:a,forceMount:n,children:t,container:o}=e,i=_(z,a);return(0,h.jsx)(S,{scope:a,forceMount:n,children:r.Children.map(t,e=>(0,h.jsx)(d.Presence,{present:n||i.open,children:(0,h.jsx)(c.Portal,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),I="DialogOverlay",M=r.forwardRef(b(function(e,r){let a=R(I,e.__scopeDialog),{forceMount:n=a.forceMount,...t}=e,o=_(I,e.__scopeDialog);return o.modal?(0,h.jsx)(d.Presence,{present:n||o.open,children:(0,h.jsx)(D,{...t,ref:r})}):null},"DialogOverlay")),E=(0,f.createSlot)("DialogOverlay.RemoveScroll"),D=r.forwardRef(b(function(e,r){let{__scopeDialog:a,...t}=e,o=_(I,a),i=(0,s.useDismissableLayerSurface)(),l=(0,n.useComposedRefs)(r,i);return(0,h.jsx)(m.RemoveScroll,{as:E,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(u.Primitive.div,{"data-state":$(o.open),...t,ref:l,style:{pointerEvents:"auto",...t.style}})})},"DialogOverlayImpl")),A="DialogContent",T=r.forwardRef(b(function(e,r){let a=R(A,e.__scopeDialog),{forceMount:n=a.forceMount,...t}=e,o=_(A,e.__scopeDialog);return(0,h.jsx)(d.Presence,{present:n||o.open,children:o.modal?(0,h.jsx)(L,{...t,ref:r}):(0,h.jsx)(O,{...t,ref:r})})},"DialogContent")),L=r.forwardRef(b(function(e,t){let o=_(A,e.__scopeDialog),i=r.useRef(null),s=(0,n.useComposedRefs)(t,o.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,g.hideOthers)(e)},[]),(0,h.jsx)(V,{...e,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,a=0===r.button&&!0===r.ctrlKey;(2===r.button||a)&&e.preventDefault()}),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),O=r.forwardRef(b(function(e,a){let n=_(A,e.__scopeDialog),t=r.useRef(!1),o=r.useRef(!1);return(0,h.jsx)(V,{...e,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{e.onCloseAutoFocus?.(r),r.defaultPrevented||(t.current||n.triggerRef.current?.focus(),r.preventDefault()),t.current=!1,o.current=!1},onInteractOutside:r=>{e.onInteractOutside?.(r),r.defaultPrevented||(t.current=!0,"pointerdown"===r.detail.originalEvent.type&&(o.current=!0));let a=r.target;n.triggerRef.current?.contains(a)&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&o.current&&r.preventDefault()}})},"DialogContentNonModal")),V=r.forwardRef(b(function(e,r){let{__scopeDialog:a,trapFocus:n,onOpenAutoFocus:t,onCloseAutoFocus:o,...i}=e,c=_(A,a);return(0,p.useFocusGuards)(),(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:t,onUnmountAutoFocus:o,children:(0,h.jsx)(s.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionPresent?c.descriptionId:void 0,"aria-labelledby":c.titlePresent?c.titleId:void 0,"data-state":$(c.open),...i,ref:r,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},"DialogContentImpl")),F=r.forwardRef(b(function(e,r){let{__scopeDialog:a,...n}=e,t=_("DialogTitle",a),{setTitleCount:o}=t;return(0,x.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,h.jsx)(u.Primitive.h2,{id:t.titleId,...n,ref:r})},"DialogTitle")),H=r.forwardRef(b(function(e,r){let{__scopeDialog:a,...n}=e,t=_("DialogDescription",a),{setDescriptionCount:o}=t;return(0,x.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,h.jsx)(u.Primitive.p,{id:t.descriptionId,...n,ref:r})},"DialogDescription")),B=r.forwardRef(b(function(e,r){let{__scopeDialog:n,...t}=e,o=_("DialogClose",n);return(0,h.jsx)(u.Primitive.button,{type:"button",...t,ref:r,onClick:(0,a.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function $(e){return e?"open":"closed"}b($,"getState"),e.s(["Close",()=>B,"Content",()=>T,"Description",()=>H,"Overlay",()=>M,"Portal",()=>P,"Root",()=>N,"Title",()=>F,"Trigger",()=>C])},31049,e=>{"use strict";var r=e.i(43476),a=e.i(71645),n=e.i(5844),t=e.i(30030),o=e.i(30207),i=e.i(34620),s=e.i(48425),l=Object.defineProperty,c=(e,r)=>l(e,"name",{value:r,configurable:!0}),d="Avatar",[u,p]=(0,t.createContextScope)(d),x=[0,()=>void 0],[m,g]=u(d),f=a.forwardRef(c(function(e,n){let{__scopeAvatar:t,...o}=e,[i,l]=a.useState("idle"),[c,d]=y();return(0,r.jsx)(m,{scope:t,imageLoadingStatus:i,setImageLoadingStatus:l,imageCount:c,setImageCount:d,children:(0,r.jsx)(s.Primitive.span,{...o,ref:n})})},"Avatar")),h=a.forwardRef(c(function(e,n){let{__scopeAvatar:t,src:l,onLoadingStatusChange:c,...d}=e,u=g("AvatarImage",t);k(u.setImageCount);let p=b(l,{referrerPolicy:d.referrerPolicy,crossOrigin:d.crossOrigin,loadingStatus:u.imageLoadingStatus,set
1LoadingStatus:u.setImageLoadingStatus}),x=(0,o.useCallbackRef)(e=>{c?.(e)}),m=a.useRef(p);return(0,i.useLayoutEffect)(()=>{let e=m.current;m.current=p,p!==e&&x(p)},[p,x]),"loaded"===p?(0,r.jsx)(s.Primitive.img,{...d,ref:n,src:l}):null},"AvatarImage")),v=a.forwardRef(c(function(e,n){let{__scopeAvatar:t,delayMs:o,...i}=e,l=g("AvatarFallback",t),[c,d]=a.useState(void 0===o);return a.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>d(!0),o);return()=>window.clearTimeout(e)}},[o]),c&&"loaded"!==l.imageLoadingStatus?(0,r.jsx)(s.Primitive.span,{...i,ref:n}):null},"AvatarFallback"));function b(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:n,crossOrigin:t}){return(0,i.useLayoutEffect)(()=>{if(!e)return void a("error");let r=new window.Image,o=c(e=>{a(w(e.currentTarget))},"handleLoad"),i=c(()=>a("error"),"handleError");return r.addEventListener("load",o),r.addEventListener("error",i),n&&(r.referrerPolicy=n),r.crossOrigin=t??null,r.src=e,a(w(r)),()=>{r.removeEventListener("load",o),r.removeEventListener("error",i),a("idle")}},[e,t,n,a]),r}function w(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function y(){let e=x;if(n.IS_DEVELOPMENT){let[r]=e=a.useState(0),n=a.useRef(!1);a.useEffect(()=>{r>1&&!n.current&&(n.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[r])}return e}function k(e){n.IS_DEVELOPMENT&&a.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}c(b,"useImageLoadingStatus"),c(w,"getImageLoadingStatus"),c(y,"useImageCount"),c(k,"useUpdateImageCount");var j=e.i(46932),_=e.i(25913),N=e.i(27615);let C=(0,_.cva)("relative group inline-flex shrink-0 antialiased",{variants:{variant:{default:"",glass:"",outline:"",primary:"",node:"",ai:"",rose:"",dark:""},size:{sm:"h-7 w-7 text-ui-sm",default:"h-10 w-10 text-ui-sm",lg:"h-14 w-14 text-ui-md",xl:"h-20 w-20 text-ui-lg"}},defaultVariants:{variant:"default",size:"default"}}),z={default:{spin:"var(--color-claron-dark)",glow:"var(--color-claron-dark-glow)"},glass:{spin:"var(--color-claron-dark)",glow:"var(--color-claron-dark-glow)"},outline:{spin:"transparent",glow:"transparent"},primary:{spin:"var(--color-claron-primary)",glow:"var(--color-claron-primary-glow)"},node:{spin:"var(--color-claron-node)",glow:"var(--color-claron-node-glow)"},ai:{spin:"var(--color-claron-ai)",glow:"var(--color-claron-ai-glow)"},rose:{spin:"var(--color-claron-rose)",glow:"var(--color-claron-rose-glow)"},dark:{spin:"var(--color-claron-dark)",glow:"var(--color-claron-dark-glow)"}},S=a.forwardRef(({className:e,variant:a="default",size:n,...t},o)=>{let i=z[a??"default"];return(0,r.jsxs)(j.motion.div,{className:(0,N.cn)(C({variant:a,size:n}),e),children:[(0,r.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden rounded-full p-px opacity-0 group-hover:opacity-90 transition-opacity duration-500 mix-blend-screen pointer-events-none",children:(0,r.jsx)("div",{className:"absolute -inset-full animate-[spin_5s_linear_infinite]",style:{background:`conic-gradient(from 90deg, transparent 0%, transparent 60%, ${i.spin} 100%)`}})}),(0,r.jsx)(j.motion.div,{whileHover:{scale:1.04},transition:{type:"spring",stiffness:500,damping:25},className:"relative z-10 w-full h-full",children:(0,r.jsx)(f,{ref:o,className:"flex h-full w-full shrink-0 overflow-hidden rounded-full border border-claron-border dark:border-white/5 bg-claron-surface-deep dark:bg-zinc-950/80 backdrop-blur-xl shadow-sm dark:shadow-[inset_0_1px_rgba(255,255,255,0.1),inset_0_-1px_rgba(0,0,0,0.5),0_4px_12px_-4px_rgba(0,0,0,0.5)]",...t})})]})});S.displayName=f.displayName;let R=a.forwardRef(({className:e,...a},n)=>(0,r.jsx)(h,{ref:n,className:(0,N.cn)("aspect-square h-full w-full object-cover",e),...a}));R.displayName=h.displayName;let P=a.forwardRef(({className:e,...a},n)=>(0,r.jsx)(v,{ref:n,className:(0,N.cn)("flex h-full w-full items-center justify-center rounded-full bg-claron-surface dark:bg-zinc-800/80 text-foreground dark:text-zinc-200 font-semibold",e),...a}));P.displayName=v.displayName,e.s(["Avatar",()=>S,"AvatarFallback",()=>P,"AvatarImage",()=>R],31049)},3116,e=>{"use strict";
1let r=(0,e.i(75254).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",()=>r],3116)},63639,e=>{"use strict";let r=(0,e.i(75254).default)("radio",[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Radio",()=>r],63639)},37974,e=>{"use strict";var r=e.i(43476),a=e.i(22016),n=e.i(46932),t=e.i(72520),o=e.i(68054),i=e.i(52008),s=e.i(61911),l=e.i(39312),c=e.i(55716),d=e.i(48256),u=e.i(63639),p=e.i(78790),x=e.i(4756),m=e.i(40139),g=e.i(63923),f=e.i(92192),h=e.i(75282),v=e.i(79151),b=e.i(24556),w=e.i(37058),y=e.i(46446),k=e.i(31049);let j={initial:{opacity:0,y:12},animate:{opacity:1,y:0}},_={animate:{transition:{staggerChildren:.06}}},N=[{icon:i.Layers,title:"Annotations",href:"/docs/annotations",desc:"Views, filters, detail panels, and annotation management flows.",badge:"Core",badgeVariant:"cyan"},{icon:l.Zap,title:"AI Fix Suggestions",href:"/docs/ai-fixes",desc:"AI investigation states and developer handoff from annotation detail.",badge:"AI",badgeVariant:"amber"},{icon:s.Users,title:"Review Sessions",href:"/docs/review-sessions",desc:"Hosted reviews, collaborative rooms, guest invites, and replay-capable sessions.",badge:"Live",badgeVariant:"emerald"},{icon:c.GitBranch,title:"Integrations",href:"/docs/integrations",desc:"Connect supported providers to sync issues and collaboration workflows.",badge:"Sync",badgeVariant:"cyan"},{icon:o.Terminal,title:"CLI",href:"/docs/cli",desc:"CLI auth, linking, listing, viewing, diffing, and apply workflows.",badge:"Dev",badgeVariant:"amber"},{icon:d.Globe,title:"API & Webhooks",href:"/docs/api-reference",desc:"REST architecture, async jobs, WebSocket events, and webhook contracts.",badge:"REST",badgeVariant:"cyan"}];function C(){return(0,r.jsxs)(n.motion.div,{className:"flex flex-col pb-24",variants:_,initial:"initial",animate:"animate",children:[(0,r.jsxs)(n.motion.div,{variants:j,className:"pt-10 pb-10 border-b border-zinc-100 dark:border-white/6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 mb-5",children:[(0,r.jsx)("span",{className:"font-mono text-cyan-700 dark:text-cyan-500/70 border border-cyan-400/40 px-2 py-1 bg-cyan-50 dark:bg-cyan-500/5",style:{fontSize:"var(--font-size-sm)"},children:"DOCS"}),(0,r.jsx)(p.Badge,{variant:"emerald",dot:!0,pulse:!0,children:"Latest"})]}),(0,r.jsx)("h1",{className:"font-extrabold text-foreground leading-[1.05] mb-4",style:{fontSize:"var(--font-size-display)"},children:"Claron Documentation"}),(0,r.jsx)("p",{className:"text-text-secondary leading-relaxed mb-6",style:{fontSize:"var(--font-size-lg)"},children:"This documentation follows the real product: dashboard, projects, hosted review sessions, annotations, AI investigation, integrations, settings, and CLI handoff."}),(0,r.jsxs)("div",{className:"flex items-center gap-3 flex-wrap",children:[(0,r.jsx)(x.Button,{variant:"primary",size:"default",rightIcon:(0,r.jsx)(t.ArrowRight,{className:"h-4 w-4"}),className:"rounded-none font-bold",children:(0,r.jsx)(a.default,{href:"/docs/quickstart",children:"Get Started"})}),(0,r.jsx)(x.Button,{variant:"dark",size:"default",leftIcon:(0,r.jsx)(o.Terminal,{className:"h-4 w-4"}),className:"rounded-none font-bold",children:(0,r.jsx)(a.default,{href:"/docs/cli",children:"CLI Reference"})})]})]}),(0,r.jsxs)(n.motion.div,{variants:j,className:"py-8 border-b border-zinc-100 dark:border-white/6",children:[(0,r.jsx)("p",{className:"font-extrabold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest mb-4",style:{fontSize:"var(--font-size-sm)"},children:"ROLES"}),(0,r.jsx)(v.Card,{variant:"outline",className:"rounded-none",children:(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-px bg-zinc-100 dark:bg-white/6 border border-zinc-100 dark:border-white/6",children:[{role:"Owner",action:"Full control over project settings, integrations, and member access"},{role:"Developer",action:"Can view and comment across builds, reviews, and annotations"},{role:"Client",action:"Can review and approve annotations in collaborative sessions"},{role:"Guest",action:"View-only access during invited review sessions"}].map(({role:e,action:a})=>(0,r.jsxs)("div",{className:"bg-background p-5 hover:bg-zinc-50 dark:hover:bg-white/2 transition-colors",children:[(0,r.jsx)("p",{className:"font-extrabold text-foreground mb-2",style:{fontSize:"var(--font-size-sm)"},children:e}),(0,r.jsx)("p",{className:"text-text-secondary leading-relaxed",style:{fontSize:"var(--font-size-sm)"},children:a})]},e))})})]}),(0,r.jsxs)(n.motion.div,{variants:j,className:"py-8 border-b border-zinc-100 dark:border-white/6",children:[(0,r.jsx)("p",{className:"font-extrabold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest mb-4",style:{fontSize:"var(--font-size-sm)"},children:"MORE DOCS"}),(0,r.jsx)(v.Card,{variant:"outline",className:"rounded-none p-0",children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-px bg-zinc-100 dark:bg-white/6 border border-zinc-100 dark:border-white/6",children:[{title:"Managing Annotations",href:"/docs/managing-annotations",desc:"Triage views and annotation operations."},{title:"My Work",href:"/docs/my-work",desc:"Cross-project action inbox and durable task categories."},{title:"Workspace Search",href:"/docs/search",desc:"Remote search across accessible projects, issues, and comments."},{title:"Projects",href:"/docs/projects",desc:"Project setup, members, and guest links."},{title:"Builds",href:"/docs/builds",desc:"Build lifecycle, logs, and preview behavior."},{title:"Environment Variables",href:"/docs/env-vars",desc:"Secure variable management for builds."},{title:"Team & Roles",href:"/docs/team",desc:"Role permissions and integration scope."},{title:"Settings",href:"/docs/settings",desc:"Profile, notifications, API, and security."},{title:"API Architecture",href:"/docs/api-reference",desc:"Auth, scopes, queues, and event flow."},{title:"API Keys",href:"/docs/api-keys",desc:"Create and rotate scoped developer credentials."}
1,{title:"Audit Log",href:"/docs/audit-log",desc:"Workspace-level event history."},{title:"FAQ",href:"/docs/faq",desc:"Common product and workflow questions."}].map(e=>(0,r.jsxs)(a.default,{href:e.href,className:"bg-background p-5 hover:bg-zinc-50 dark:hover:bg-white/2 transition-colors",children:[(0,r.jsx)("p",{className:"font-extrabold text-foreground mb-1",style:{fontSize:"var(--font-size-sm)"},children:e.title}),(0,r.jsx)("p",{className:"text-text-secondary",style:{fontSize:"var(--font-size-sm)"},children:e.desc})]},e.href))})})]}),(0,r.jsxs)(n.motion.div,{variants:j,className:"py-8 border-b border-zinc-100 dark:border-white/6",children:[(0,r.jsx)("p",{className:"font-extrabold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest mb-4",style:{fontSize:"var(--font-size-sm)"},children:"SECTIONS"}),(0,r.jsx)(v.Card,{variant:"outline",className:"rounded-none",children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-px bg-zinc-100 dark:bg-white/6 border border-zinc-100 dark:border-white/6",children:N.map(e=>(0,r.jsx)(a.default,{href:e.href,className:"flex-1",children:(0,r.jsxs)("div",{className:"bg-background p-6 group cursor-pointer hover:bg-zinc-50 dark:hover:bg-white/2 transition-colors h-full flex flex-col items-start",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between w-full mb-4",children:[(0,r.jsx)("div",{className:"w-10 h-10 bg-cyan-500/10 border border-cyan-500/20 flex items-center justify-center shrink-0",children:(0,r.jsx)(e.icon,{className:"w-5 h-5 text-cyan-500 dark:text-cyan-400"})}),(0,r.jsx)(p.Badge,{variant:e.badgeVariant,className:"rounded-none font-mono",children:e.badge})]}),(0,r.jsx)("p",{className:"font-extrabold text-foreground group-hover:text-cyan-600 dark:group-hover:text-cyan-400 transition-colors mb-2",style:{fontSize:"var(--font-size-md)"},children:e.title}),(0,r.jsx)("p",{className:"text-text-secondary leading-relaxed flex-1",style:{fontSize:"var(--font-size-sm)"},children:e.desc}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5 mt-4 opacity-0 group-hover:opacity-100 transition-opacity text-cyan-600 dark:text-cyan-500 font-semibold",style:{fontSize:"var(--font-size-sm)"},children:["Read docs ",(0,r.jsx)(t.ArrowRight,{className:"h-4 w-4"})]})]})},e.href))})})]}),(0,r.jsxs)(n.motion.div,{variants:j,className:"py-8 border-b border-zinc-100 dark:border-white/6",children:[(0,r.jsx)("p",{className:"font-extrabold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest mb-4",style:{fontSize:"var(--font-size-sm)"},children:"DASHBOARD OVERVIEW"}),(0,r.jsx)("p",{className:"text-text-secondary mb-6",style:{fontSize:"var(--font-size-sm)"},children:"After logging in you land on the dashboard with workspace stats, recent projects, live sessions, approvals, and analytics."}),(0,r.jsx)(v.Card,{variant:"glass",className:"rounded-none relative mb-6",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 divide-y md:divide-y-0 md:divide-x divide-white/5",children:[(0,r.jsx)(g.StatCard,{label:"Active Projects",value:3,data:[0,1,1,2,2,3],variant:"primary",positive:!0,delta:"+1 this week",className:"rounded-none border-0 bg-transparent dark:bg-transparent shadow-none"}),(0,r.jsx)(g.StatCard,{label:"Open Annotations",value:12,data:[18,14,11,15,10,12],variant:"rose",positive:!1,delta:"Trending down",className:"rounded-none border-0 bg-transparent dark:bg-transparent shadow-none"}),(0,r.jsx)(g.StatCard,{label:"Connected Integrations",value:4,data:[0,0,2,2,4,4],variant:"node",positive:!0,delta:"4 projects linked",className:"rounded-none border-0 bg-transparent dark:bg-transparent shadow-none"}),(0,r.jsx)(g.StatCard,{label:"AI Fixes Generated",value:24,data:[4,7,9,11,14,24],variant:"ai",positive:!0,delta:"High confidence",className:"rounded-none border-0 bg-transparent dark:bg-transparent shadow-none"})]})}),(0,r.jsx)(v.Card,{variant:"outline",className:"rounded-none bg-background",children:(0,r.jsxs)(b.Tabs,{defaultValue:"annotations",children:[(0,r.jsx)("div",{className:"border-b border-zinc-100 dark:border-white/6 px-4 bg-zinc-50 dark:bg-white/2",children:(0,r.jsxs)(b.TabsList,{variant:"default",className:"rounded-none bg-transparent",children:[(0,r.jsx)(b.TabsTrigger,{value:"annotations",className:"rounded-none border-b-2 border-transparent data-[state=active]:border-cyan-500 shadow-none",children:"Annotations"}),(0,r.jsx)(b.TabsTrigger,{value:"builds",className:"rounded-none border-b-2 border-transparent data-[state=active]:border-emerald-500 shadow-none",children:"Builds"}),(0,r.jsx)(b.TabsTrigger,{value:"team",className:"rounded-none border-b-2 border-transparent data-[state=active]:border-amber-500 shadow-none",children:"Team"})]})}),(0,r.jsx)(b.TabsContent,{value:"annotations",className:"p-6",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"font-extrabold mb-4",style:{fontSize:"var(--font-size-md)"},children:"Open by Severity"}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between mb-1",children:[(0,r.jsx)("span",{className:"text-text-secondary",style:{fontSize:"var(--font-size-sm)"},children:"Critical"}),(0,r.jsx)("span",{className:"font-mono text-rose-500",style:{fontSize:"var(--font-size-sm)"},children:"2"})]}),(0,r.jsx)(y.Progress,{value:20,variant:"rose",className:"h-1.5 rounded-none"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between mb-1",children:[(0,r.jsx)("span",{className:"text-text-secondary",style:{fontSize:"var(--font-size-sm)"},children:"High"}),(0,r.jsx)("span",{className:"font-mono text-amber-500",style:{fontSize:"var(--font-size-sm)"},children:"5"})]}),(0,r.jsx)(y.Progress,{value:50,variant:"node",className:"h-1.5 rounded-none"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between mb-1",children:[(0,r.jsx)("span",{className:"text-text-secondary",style:{fontSize:"var(--font-size-sm)"},children:"Normal"}),(0,r.jsx)("span",{className:"font-mono text-cyan-500",style:{fontSize:"var(--font-size-sm)"},children:"5"})]}),(0,r.jsx)(y.Progress,{value:50,variant:"primary",className:"h-1.5 rounded-none"})]})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"font-extrabold mb-4",style:{fontSize:"var(--font-size-md)"},children:"Assignees"}),(0,r.jsx)(w.DataList,{variant:"default",rows:[{label:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(k.Avatar,{className:"w-5 h-5 rounded-none",children:(0,r.jsx)(k.AvatarFallback,{className:"rounded-none text-[10px]",children:"SC"})})," ","Sarah"]}),value:"8 issues"},{label:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(k.Avatar,{className:"w-5 h-5 rounded-none",children:(0,r.jsx)(k.AvatarFallback,{className:"rounded-none bg-emerald-500/10 text-emerald-500 text-[10px]",children:"A"})})," ","Alex"]}),value:"4 issues"}]})]})]})}),(0,r.jsx)(b.TabsContent,{value:"builds",className:"p-6",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsx)(w.DataList,{variant:"default",rows:[{label:"Successful",value:(0,r.jsx)(p.Badge,{variant:"emerald",className:"rounded-none font-mono",children:"18"})},{label:"Failed",value:(0,r.jsx)(p.Badge,{variant:"rose",className:"rounded-none font-mono",children:"3"})},{label:"Building",value:(0,r.jsx)(p.Badge,{variant:"amber",className:"rounded-none font-mono",children:"1"})},{label:"Queued",value:(0,r.jsx)(p.Badge,{variant:"cyan",className:"rounded-none font-mono",children:"2"})}]}),(0,r.jsx)(w.DataList,{variant:"default",rows:[{label:"Total Builds",value:"24"},{label:"Last 7 Days",value:"9"},{label:"Cache Hits",value:"6"},{label:"Avg Duration",value:"92s"}]})]})}),(0,r.jsx)(b.TabsContent,{value:"team",className:"p-6",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,r.jsx)("div",{className:"grid grid-cols-2 gap-3",children:[{label:"Total",value:"14"},{label:"Developers",value:"6"},{label:"Clients",value:"5"},{label:"Guests",value:"3"}].map(e=>(0,r.jsxs)(v.Card,{variant:"outline",className:"rounded-none p-4",children:[(0,r.jsx)("p",{className:"text-zinc-500 font-semibold mb-1",style:{fontSize:"var(--font-size-sm)"},children:e.label}),(0,r.jsx)("p",{className:"font-extrabold text-foreground",style:{fontSize:"var(--font-size-lg)"},children:e.value})]},e.label))}),(0,r.jsx)(w.DataList,{variant:"default",rows:[{label:"Total Comments",value:"112"},{label:"Active Sessions",value:"2"},{label:"Unique Reviewers",value:"9"},{label:"With Replays",value:"7"}]})]})})]})}),(0,r.jsxs)("div",{className:"mt-8",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between h-10 border-b border-zinc-100 dark:border-white/6 mb-0",children:[(0,r.jsx)("p",{className:"font-extrabold text-foreground",style:{fontSize:"var(--font-size-sm)"},children:"RECENT PROJECTS"}),(0,r.jsx)("span",{className:"flex items-center gap-1.5 text-zinc-400",style:{fontSize:"var(--font-size-sm)"},children:(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-1.5 py-0.5 bg-emerald-500/10 border border-emerald-500/20 font-semibold text-emerald-500 tracking-wider",style:{fontSize:"var(--font-size-sm)"},children:[(0,r.jsx)(u.Radio,{className:"w-2.5 h-2.5 animate-pulse"})," LIVE"]})})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 divide-y sm:divide-y-0 sm:divide-x divide-zinc-100 dark:divide-white/6 border border-t-0 border-zinc-100 dark:border-white/6",children:[(0,r.jsx)(f.ProjectCard,{name:"claron-web",status:"live",framework:"next.js",branch:"main",url:"preview.claron.io/abc123",lastDeployed:"Today, 14:32",bugCount:3,className:"rounded-none border-0 bg-background"}),(0,r.jsx)(f.ProjectCard,{name:"mobile-app",status:"building",framework:"vite",branch:"feat/auth",lastDeployed:"Building...",bugCount:0,className:"rounded-none border-0 bg-background"})]})]})]}),(0,r.jsxs)(n.motion.div,{variants:j,className:"py-8",children:[(0,r.jsx)("p",{className:"font-extrabold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest mb-4",style:{fontSize:"var(--font-size-sm)"},children:"QUICK INSTALL"}),(0,r.jsx)(v.Card,{variant:"outline",className:"rounded-none bg-background",children:(0,r.jsx)(m.CodeBlock,{windowStyle:"terminal",language:"bash",filename:"Install Claron CLI",className:"rounded-none",code:`$ npm install -g @claron/cli 2$ claron auth bd_<your-api-key> 3$ claron init 4 5 â Select project: 6 ⯠claron-web (connected) 7 mobile-app`})}),(0,r.jsx)(h.Alert,{variant:"success",className:"rounded-none mt-4",title:"No code changes needed",description:"Use the CLI to authenticate and link local work with Claron's dashboard and review workflows."})]})]})}e.s(["default",()=>C])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.